From 1a0b1004069d14c17a25ee130ad8e4e3e8b825d6 Mon Sep 17 00:00:00 2001 From: Jared King Date: Wed, 23 Oct 2024 10:48:13 -0400 Subject: [PATCH] Updated/Added simply-static-1-1729691314 --- about-us/index.html | 4 +- about-us/nrcan/index.html | 4 +- .../index.html | 8 +- .../first-nation-location/index.html | 8 +- administration/index.html | 14 +- .../index.html | 8 +- behind-the-scenes/index.html | 4 +- communities/index.html | 4 +- communities/permafrost/index.html | 4 +- .../permafrost-by-province/index.html | 4 +- .../permafrost-by-territory/index.html | 4 +- contributors/index.html | 4 +- economy/index.html | 14 +- .../index.html | 8 +- .../index.html | 8 +- .../index.html | 8 +- .../index.html | 8 +- .../disaster-events-since-1900/index.html | 8 +- emergency/floods-in-canada-archive/index.html | 8 +- emergency/index.html | 14 +- .../index.html | 8 +- .../index.html | 8 +- environment/index.html | 14 +- environment/maximum-temperature/index.html | 8 +- .../index.html | 8 +- .../canada-flood-map-inventory/index.html | 8 +- .../flood-susceptibility-index/index.html | 8 +- .../floods-in-canada-current-year/index.html | 8 +- .../historical-flood-events/index.html | 8 +- flood-mapping/flood-map-gallery/index.html | 4 +- flood-mapping/government-canada/index.html | 4 +- flood-mapping/index.html | 4 +- flood-mapping/learn-about/index.html | 4 +- flood-mapping/province-territory/index.html | 4 +- foundation-data/index.html | 4 +- fr/a-propos-de-nous/index.html | 4 +- .../ressources-naturelles-canada/index.html | 4 +- fr/accueil/index.html | 4 +- fr/administration-fr/index.html | 14 +- .../index.html | 8 +- .../index.html | 8 +- .../index.html | 8 +- fr/avis/index.html | 4 +- .../index.html | 8 +- .../galerie-cartes-inondations/index.html | 4 +- .../index.html | 8 +- .../index.html | 8 +- .../inventaire-inondables-canada/index.html | 8 +- .../gouvernement-canada/index.html | 4 +- fr/cartographie-inondations/index.html | 4 +- .../province-territoire/index.html | 4 +- .../savoir-plus/index.html | 4 +- fr/communautes/index.html | 4 +- fr/communautes/pergelisol/index.html | 4 +- .../le-pergelisol-par-province/index.html | 4 +- .../le-pergelisol-par-territoire/index.html | 4 +- fr/contributeurs/index.html | 4 +- fr/dans-les-coulisses/index.html | 4 +- fr/donnees-de-base-du-canada/index.html | 4 +- .../index.html | 8 +- .../index.html | 8 +- fr/economie/index.html | 14 +- .../index.html | 8 +- .../index.html | 8 +- .../index.html | 8 +- fr/environnement/index.html | 14 +- .../index.html | 8 +- .../index.html | 8 +- .../temperature-maximale/index.html | 8 +- fr/galerie-de-cartes/index.html | 4 +- fr/geo-dans-actualite/fr-covid-19/index.html | 4 +- fr/geo-dans-actualite/index.html | 4 +- fr/geo-dans-actualite/inondations/index.html | 6 +- .../index.html | 4 +- fr/gouvernement-du-canada/index.html | 8 +- .../couverture-terrestre-du-canada/index.html | 8 +- fr/imagerie/index.html | 14 +- .../inventaire-annuel-des-cultures/index.html | 8 +- .../index.html | 8 +- .../index.html | 8 +- fr/index.html | 4 +- fr/infrastructure-fr/index.html | 14 +- .../lenergie-en-amerique-du-nord/index.html | 8 +- .../index.html | 8 +- .../geoia/carte-index-des-donnees/index.html | 8 +- .../index.html | 6 +- fr/initiatives-fr/geobase/geoia/index.html | 4 +- fr/initiatives-fr/geobase/index.html | 4 +- .../index.html | 6 +- .../reseau-hydrospatial-canadien/index.html | 14 +- fr/initiatives-fr/index.html | 4 +- .../index.html | 4 +- .../index.html | 4 +- .../index.html | 4 +- .../mineraux-critiques/index.html | 4 +- fr/pour-commencer/index.html | 4 +- fr/provinces-et-territoires/index.html | 4 +- .../aires-protegees-canada/index.html | 8 +- fr/renseignements-juridiques/index.html | 14 +- .../index.html | 8 +- .../index.html | 8 +- fr/science-fr/index.html | 14 +- .../index.html | 8 +- .../pergelisol-par-lecoprovince/index.html | 8 +- fr/science-fr/qualite-de-lair/index.html | 8 +- .../index.html | 12 +- fr/societe/actiongrippe/index.html | 8 +- fr/societe/index.html | 722 ------------------ .../index.html | 8 +- .../index.html | 8 +- .../index.html | 8 +- fr/urgences/index.html | 14 +- .../inondations-au-canada-archive/index.html | 8 +- geo-in-the-news/covid-19/index.html | 4 +- geo-in-the-news/floods/index.html | 6 +- geo-in-the-news/index.html | 4 +- .../index.html | 4 +- getting-started/index.html | 4 +- government-of-canada/index.html | 4 +- home/index.html | 4 +- imagery/annual-crop-inventory/index.html | 8 +- .../index.html | 8 +- .../index.html | 8 +- imagery/index.html | 14 +- imagery/land-cover-canada/index.html | 8 +- infrastructure/index.html | 14 +- .../north-american-energy/index.html | 8 +- .../index.html | 8 +- .../index.html | 4 +- .../index.html | 4 +- .../mapml/index.html | 4 +- initiatives/critical-minerals/index.html | 4 +- .../index.html | 8 +- .../canadian-hydrospatial-network/index.html | 4 +- .../geobase/geoai/data-index-map/index.html | 8 +- initiatives/geobase/geoai/index.html | 4 +- .../urban-development-use-case/index.html | 6 +- initiatives/geobase/index.html | 4 +- initiatives/index.html | 4 +- legal/index.html | 14 +- legal/indigenous-justice-program/index.html | 8 +- .../index.html | 8 +- legal/protected-areas-canada/index.html | 8 +- main-sitemap.xsl | 2 +- map-gallery/index.html | 4 +- page-sitemap.xml | 2 +- provinces-and-territories/index.html | 4 +- science/air-quality/index.html | 12 +- .../index.html | 12 +- science/index.html | 14 +- science/permafrost-by-ecoprovince/index.html | 8 +- .../index.html | 12 +- society/fluwatchers/index.html | 8 +- society/index.html | 14 +- .../index.html | 8 +- .../index.html | 8 +- terms-and-conditions/index.html | 4 +- wp-content/geoview/cgpv-main.js | 160 ++-- .../geoview/configs/environment/2-static.json | 6 +- wp-content/geoview/configs/environment/2.json | 6 +- .../corePackages/geoview-basemap-panel.js | 4 +- .../geoview/corePackages/geoview-geochart.js | 18 +- .../geoview/corePackages/geoview-swiper.js | 4 +- .../corePackages/geoview-time-slider.js | 4 +- wp-content/uploads/2024/03/chn-data.jpg | Bin 98431 -> 116558 bytes 165 files changed, 662 insertions(+), 1368 deletions(-) diff --git a/about-us/index.html b/about-us/index.html index 5f7e06376..061b13712 100644 --- a/about-us/index.html +++ b/about-us/index.html @@ -571,7 +571,7 @@

Contact Us

- + @@ -587,7 +587,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/about-us/nrcan/index.html b/about-us/nrcan/index.html index 111f466b0..2a5e02162 100644 --- a/about-us/nrcan/index.html +++ b/about-us/nrcan/index.html @@ -620,7 +620,7 @@

Contact Us

- + @@ -636,7 +636,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/administration/administrative-and-electoral-boundaries-of-canada-2019/index.html b/administration/administrative-and-electoral-boundaries-of-canada-2019/index.html index 0eb635f98..76e62beeb 100644 --- a/administration/administrative-and-electoral-boundaries-of-canada-2019/index.html +++ b/administration/administrative-and-electoral-boundaries-of-canada-2019/index.html @@ -196,7 +196,7 @@

Administrative and El
-
+
@@ -376,7 +376,7 @@

Contact Us

- + @@ -386,7 +386,7 @@

Contact Us

- + - + diff --git a/administration/first-nation-location/index.html b/administration/first-nation-location/index.html index bde96bd0c..519721876 100644 --- a/administration/first-nation-location/index.html +++ b/administration/first-nation-location/index.html @@ -196,7 +196,7 @@

First Nation Location
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/administration/index.html b/administration/index.html index 7c717603f..f63d892d4 100644 --- a/administration/index.html +++ b/administration/index.html @@ -341,7 +341,7 @@

Featured layers in th
-
+

@@ -366,7 +366,7 @@

-
+

@@ -395,7 +395,7 @@

-
+

@@ -420,7 +420,7 @@

-
+

@@ -687,7 +687,7 @@

Contact Us

- + @@ -698,7 +698,7 @@

Contact Us

- + - + diff --git a/administration/national-parks-and-national-park-reserves-of-canada-legislative-boundaries/index.html b/administration/national-parks-and-national-park-reserves-of-canada-legislative-boundaries/index.html index 614527087..fb48a45ef 100644 --- a/administration/national-parks-and-national-park-reserves-of-canada-legislative-boundaries/index.html +++ b/administration/national-parks-and-national-park-reserves-of-canada-legislative-boundaries/index.html @@ -196,7 +196,7 @@

National Parks and Na
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/behind-the-scenes/index.html b/behind-the-scenes/index.html index 48f7125ab..a64443794 100644 --- a/behind-the-scenes/index.html +++ b/behind-the-scenes/index.html @@ -547,7 +547,7 @@

Contact Us

- + @@ -565,7 +565,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/communities/index.html b/communities/index.html index 6fff1dd98..5a3af9e84 100644 --- a/communities/index.html +++ b/communities/index.html @@ -481,7 +481,7 @@

Contact Us

- + @@ -497,7 +497,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/communities/permafrost/index.html b/communities/permafrost/index.html index cbb6d8b77..65738d872 100644 --- a/communities/permafrost/index.html +++ b/communities/permafrost/index.html @@ -1274,7 +1274,7 @@

Contact Us

- + @@ -1291,7 +1291,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/communities/permafrost/permafrost-by-province/index.html b/communities/permafrost/permafrost-by-province/index.html index 18063a82c..2e7cbbd1f 100644 --- a/communities/permafrost/permafrost-by-province/index.html +++ b/communities/permafrost/permafrost-by-province/index.html @@ -525,7 +525,7 @@

Contact Us

- + @@ -541,7 +541,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/communities/permafrost/permafrost-by-territory/index.html b/communities/permafrost/permafrost-by-territory/index.html index faa285d46..5c7538a76 100644 --- a/communities/permafrost/permafrost-by-territory/index.html +++ b/communities/permafrost/permafrost-by-territory/index.html @@ -479,7 +479,7 @@

Contact Us

- + @@ -495,7 +495,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/contributors/index.html b/contributors/index.html index 0238bd326..a695cc4b5 100644 --- a/contributors/index.html +++ b/contributors/index.html @@ -480,7 +480,7 @@

Contact Us

- + @@ -496,7 +496,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/economy/index.html b/economy/index.html index 7d8b488a6..d66f40e50 100644 --- a/economy/index.html +++ b/economy/index.html @@ -341,7 +341,7 @@

Featured layers in th
-
+

@@ -366,7 +366,7 @@

-
+

@@ -395,7 +395,7 @@

-
+

@@ -420,7 +420,7 @@

-
+

@@ -687,7 +687,7 @@

Contact Us

- + @@ -698,7 +698,7 @@

Contact Us

- + - + diff --git a/economy/indigenous-mining-agreements-active/index.html b/economy/indigenous-mining-agreements-active/index.html index efa854a2f..eb55ae3c4 100644 --- a/economy/indigenous-mining-agreements-active/index.html +++ b/economy/indigenous-mining-agreements-active/index.html @@ -196,7 +196,7 @@

Indigenous Mining Agr
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/economy/major-natural-resource-projects-in-canada/index.html b/economy/major-natural-resource-projects-in-canada/index.html index 97003ce20..1ef26899f 100644 --- a/economy/major-natural-resource-projects-in-canada/index.html +++ b/economy/major-natural-resource-projects-in-canada/index.html @@ -196,7 +196,7 @@

Major Natural Resourc
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/economy/median-total-income-of-households-in-2015-dollars-by-census-subdivision-2016/index.html b/economy/median-total-income-of-households-in-2015-dollars-by-census-subdivision-2016/index.html index 34bb01ef5..7ec7bcb9d 100644 --- a/economy/median-total-income-of-households-in-2015-dollars-by-census-subdivision-2016/index.html +++ b/economy/median-total-income-of-households-in-2015-dollars-by-census-subdivision-2016/index.html @@ -196,7 +196,7 @@

Median total income o
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/economy/targeted-investments-in-first-nations-community-infrastructure/index.html b/economy/targeted-investments-in-first-nations-community-infrastructure/index.html index ac6ce9990..54872718d 100644 --- a/economy/targeted-investments-in-first-nations-community-infrastructure/index.html +++ b/economy/targeted-investments-in-first-nations-community-infrastructure/index.html @@ -196,7 +196,7 @@

Targeted Investments
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/emergency/disaster-events-since-1900/index.html b/emergency/disaster-events-since-1900/index.html index 55376d29a..706a1972a 100644 --- a/emergency/disaster-events-since-1900/index.html +++ b/emergency/disaster-events-since-1900/index.html @@ -196,7 +196,7 @@

Disaster Events Since
-
+
@@ -376,7 +376,7 @@

Contact Us

- + @@ -386,7 +386,7 @@

Contact Us

- + - + diff --git a/emergency/floods-in-canada-archive/index.html b/emergency/floods-in-canada-archive/index.html index 8b73a0b01..7f61e0e0e 100644 --- a/emergency/floods-in-canada-archive/index.html +++ b/emergency/floods-in-canada-archive/index.html @@ -196,7 +196,7 @@

Floods in Canada R
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/emergency/index.html b/emergency/index.html index 97adf0900..000371c7a 100644 --- a/emergency/index.html +++ b/emergency/index.html @@ -341,7 +341,7 @@

Featured layers in th
-
+

@@ -366,7 +366,7 @@

-
+

@@ -395,7 +395,7 @@

-
+

@@ -420,7 +420,7 @@

-
+

@@ -687,7 +687,7 @@

Contact Us

- + @@ -698,7 +698,7 @@

Contact Us

- + - + diff --git a/environment/canadian-impact-assessment-registry-assessment-inventory/index.html b/environment/canadian-impact-assessment-registry-assessment-inventory/index.html index 675905fc2..e127225be 100644 --- a/environment/canadian-impact-assessment-registry-assessment-inventory/index.html +++ b/environment/canadian-impact-assessment-registry-assessment-inventory/index.html @@ -196,7 +196,7 @@

Canadian Impact Asses
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/environment/critical-habitat-species-at-risk-canada/index.html b/environment/critical-habitat-species-at-risk-canada/index.html index c3eb9269a..8318f2ef9 100644 --- a/environment/critical-habitat-species-at-risk-canada/index.html +++ b/environment/critical-habitat-species-at-risk-canada/index.html @@ -196,7 +196,7 @@

Critical Habitat —
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/environment/index.html b/environment/index.html index d14d23932..40d7b716e 100644 --- a/environment/index.html +++ b/environment/index.html @@ -341,7 +341,7 @@

Featured layers in th
-
+

@@ -366,7 +366,7 @@

-
+

@@ -395,7 +395,7 @@

-
+

@@ -420,7 +420,7 @@

-
+

@@ -687,7 +687,7 @@

Contact Us

- + @@ -698,7 +698,7 @@

Contact Us

- + - + diff --git a/environment/maximum-temperature/index.html b/environment/maximum-temperature/index.html index 0197313ad..9cf3dd731 100644 --- a/environment/maximum-temperature/index.html +++ b/environment/maximum-temperature/index.html @@ -196,7 +196,7 @@

Maximum Temperature
-
+

@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/environment/priority-species-at-risk-ranges/index.html b/environment/priority-species-at-risk-ranges/index.html index 45cc8be34..d307997ed 100644 --- a/environment/priority-species-at-risk-ranges/index.html +++ b/environment/priority-species-at-risk-ranges/index.html @@ -196,7 +196,7 @@

Priority Species at R
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/flood-mapping/flood-map-gallery/canada-flood-map-inventory/index.html b/flood-mapping/flood-map-gallery/canada-flood-map-inventory/index.html index 2a9dcf758..85d2b45c7 100644 --- a/flood-mapping/flood-map-gallery/canada-flood-map-inventory/index.html +++ b/flood-mapping/flood-map-gallery/canada-flood-map-inventory/index.html @@ -293,7 +293,7 @@

Canada Flood Map Inve
-
+
@@ -513,7 +513,7 @@

Contact Us

- + @@ -523,7 +523,7 @@

Contact Us

- + - + diff --git a/flood-mapping/flood-map-gallery/flood-susceptibility-index/index.html b/flood-mapping/flood-map-gallery/flood-susceptibility-index/index.html index 6e96626ba..bc7794473 100644 --- a/flood-mapping/flood-map-gallery/flood-susceptibility-index/index.html +++ b/flood-mapping/flood-map-gallery/flood-susceptibility-index/index.html @@ -324,7 +324,7 @@

Flood Susceptibility
-
+
@@ -542,7 +542,7 @@

Contact Us

- + @@ -552,7 +552,7 @@

Contact Us

- + - + diff --git a/flood-mapping/flood-map-gallery/floods-in-canada-current-year/index.html b/flood-mapping/flood-map-gallery/floods-in-canada-current-year/index.html index c96d0041b..85e1cdf19 100644 --- a/flood-mapping/flood-map-gallery/floods-in-canada-current-year/index.html +++ b/flood-mapping/flood-map-gallery/floods-in-canada-current-year/index.html @@ -331,7 +331,7 @@

Floods in Canada - Cu
-
+
@@ -549,7 +549,7 @@

Contact Us

- + @@ -559,7 +559,7 @@

Contact Us

- + - + diff --git a/flood-mapping/flood-map-gallery/historical-flood-events/index.html b/flood-mapping/flood-map-gallery/historical-flood-events/index.html index b65ba239c..f32d3f4ff 100644 --- a/flood-mapping/flood-map-gallery/historical-flood-events/index.html +++ b/flood-mapping/flood-map-gallery/historical-flood-events/index.html @@ -328,7 +328,7 @@

Related Data

-
+
@@ -546,7 +546,7 @@

Contact Us

- + @@ -556,7 +556,7 @@

Contact Us

- + - + diff --git a/flood-mapping/flood-map-gallery/index.html b/flood-mapping/flood-map-gallery/index.html index 2e99082d9..117f89acf 100644 --- a/flood-mapping/flood-map-gallery/index.html +++ b/flood-mapping/flood-map-gallery/index.html @@ -669,7 +669,7 @@

Contact Us

- + @@ -685,7 +685,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/flood-mapping/government-canada/index.html b/flood-mapping/government-canada/index.html index d9560f3b1..35af2c1f1 100644 --- a/flood-mapping/government-canada/index.html +++ b/flood-mapping/government-canada/index.html @@ -537,7 +537,7 @@

Contact Us

- + @@ -553,7 +553,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/flood-mapping/index.html b/flood-mapping/index.html index 03d94928b..9634bbb66 100644 --- a/flood-mapping/index.html +++ b/flood-mapping/index.html @@ -622,7 +622,7 @@

Contact Us

- + @@ -638,7 +638,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/flood-mapping/learn-about/index.html b/flood-mapping/learn-about/index.html index 135176ae4..d6d562e27 100644 --- a/flood-mapping/learn-about/index.html +++ b/flood-mapping/learn-about/index.html @@ -507,7 +507,7 @@

Contact Us

- + @@ -523,7 +523,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/flood-mapping/province-territory/index.html b/flood-mapping/province-territory/index.html index 7751e4af9..25d4aef0c 100644 --- a/flood-mapping/province-territory/index.html +++ b/flood-mapping/province-territory/index.html @@ -2170,7 +2170,7 @@

Contact Us

- + @@ -2186,7 +2186,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/foundation-data/index.html b/foundation-data/index.html index aa4b3470e..9c97174dd 100644 --- a/foundation-data/index.html +++ b/foundation-data/index.html @@ -471,7 +471,7 @@

Contact Us

- + @@ -489,7 +489,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/fr/a-propos-de-nous/index.html b/fr/a-propos-de-nous/index.html index 5e88592a7..eb01837c2 100644 --- a/fr/a-propos-de-nous/index.html +++ b/fr/a-propos-de-nous/index.html @@ -571,7 +571,7 @@

Contactez-nous

- + @@ -587,7 +587,7 @@

Contactez-nous

- + diff --git a/fr/a-propos-de-nous/ressources-naturelles-canada/index.html b/fr/a-propos-de-nous/ressources-naturelles-canada/index.html index 6fafd2864..a8b2f5dc1 100644 --- a/fr/a-propos-de-nous/ressources-naturelles-canada/index.html +++ b/fr/a-propos-de-nous/ressources-naturelles-canada/index.html @@ -620,7 +620,7 @@

Contactez-nous

- + @@ -636,7 +636,7 @@

Contactez-nous

- + diff --git a/fr/accueil/index.html b/fr/accueil/index.html index 4b6de6a38..f626f3888 100644 --- a/fr/accueil/index.html +++ b/fr/accueil/index.html @@ -801,7 +801,7 @@

Contactez-nous

- + @@ -818,7 +818,7 @@

Contactez-nous

- + diff --git a/fr/administration-fr/index.html b/fr/administration-fr/index.html index e416ec9cb..37094a1fc 100644 --- a/fr/administration-fr/index.html +++ b/fr/administration-fr/index.html @@ -341,7 +341,7 @@

Couches d’informati
-
+

@@ -366,7 +366,7 @@

-
+

@@ -395,7 +395,7 @@

-
+

@@ -420,7 +420,7 @@

-
+

@@ -687,7 +687,7 @@

Contactez-nous

- + @@ -698,7 +698,7 @@

Contactez-nous

- + - + diff --git a/fr/administration-fr/limites-administratives-et-electorales-du-canada-2019/index.html b/fr/administration-fr/limites-administratives-et-electorales-du-canada-2019/index.html index 48386529f..e3a4e6653 100644 --- a/fr/administration-fr/limites-administratives-et-electorales-du-canada-2019/index.html +++ b/fr/administration-fr/limites-administratives-et-electorales-du-canada-2019/index.html @@ -196,7 +196,7 @@

Limites administrativ
-
+
@@ -376,7 +376,7 @@

Contactez-nous

- + @@ -386,7 +386,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":44198,"title":"Limites%20administratives%20et%20%C3%A9lectorales%20du%20Canada%2C%202019%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/administration-fr/limites-legislatives-des-parcs-nationaux-et-des-reserves-a-vocation-de-parc-national-du-canada/index.html b/fr/administration-fr/limites-legislatives-des-parcs-nationaux-et-des-reserves-a-vocation-de-parc-national-du-canada/index.html index 7b9e4dd75..3d226c150 100644 --- a/fr/administration-fr/limites-legislatives-des-parcs-nationaux-et-des-reserves-a-vocation-de-parc-national-du-canada/index.html +++ b/fr/administration-fr/limites-legislatives-des-parcs-nationaux-et-des-reserves-a-vocation-de-parc-national-du-canada/index.html @@ -196,7 +196,7 @@

Limites législatives
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43258,"title":"Limites%20l%C3%A9gislatives%20des%20parcs%20nationaux%20et%20des%20r%C3%A9serves%20%C3%A0%20vocation%20de%20parc%20national%20du%20Canada%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/administration-fr/localisation-des-premieres-nations/index.html b/fr/administration-fr/localisation-des-premieres-nations/index.html index 8fb12ded2..f3be5796f 100644 --- a/fr/administration-fr/localisation-des-premieres-nations/index.html +++ b/fr/administration-fr/localisation-des-premieres-nations/index.html @@ -196,7 +196,7 @@

Localisation des Prem
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43253,"title":"Localisation%20des%20Premi%C3%A8res%20Nations%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/avis/index.html b/fr/avis/index.html index 9bc8ca940..5da8c63a0 100644 --- a/fr/avis/index.html +++ b/fr/avis/index.html @@ -600,7 +600,7 @@

Contactez-nous

- + @@ -616,7 +616,7 @@

Contactez-nous

- + diff --git a/fr/cartographie-inondations/galerie-cartes-inondations/evenements-historiques-inondations/index.html b/fr/cartographie-inondations/galerie-cartes-inondations/evenements-historiques-inondations/index.html index 525057e9f..0084927e8 100644 --- a/fr/cartographie-inondations/galerie-cartes-inondations/evenements-historiques-inondations/index.html +++ b/fr/cartographie-inondations/galerie-cartes-inondations/evenements-historiques-inondations/index.html @@ -327,7 +327,7 @@

Données connexes

-
+
@@ -545,7 +545,7 @@

Contactez-nous

- + @@ -555,7 +555,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":34829,"title":"%C3%89v%C3%A9nements%20historiques%20d%27inondation%20-%20GEO.CA","excerpt":"","featuredImage":"https:\/\/dev.geo.ca\/wp-content\/uploads\/2023\/03\/BOR-006b-1024x286.jpg"}}; - + - + diff --git a/fr/cartographie-inondations/galerie-cartes-inondations/index.html b/fr/cartographie-inondations/galerie-cartes-inondations/index.html index 43ae25447..0f28ebfa7 100644 --- a/fr/cartographie-inondations/galerie-cartes-inondations/index.html +++ b/fr/cartographie-inondations/galerie-cartes-inondations/index.html @@ -670,7 +670,7 @@

Contactez-nous

- + @@ -686,7 +686,7 @@

Contactez-nous

- + diff --git a/fr/cartographie-inondations/galerie-cartes-inondations/indice-vulnerabilite-inondations/index.html b/fr/cartographie-inondations/galerie-cartes-inondations/indice-vulnerabilite-inondations/index.html index ddeccf541..966fa3b05 100644 --- a/fr/cartographie-inondations/galerie-cartes-inondations/indice-vulnerabilite-inondations/index.html +++ b/fr/cartographie-inondations/galerie-cartes-inondations/indice-vulnerabilite-inondations/index.html @@ -315,7 +315,7 @@

Indice de vulnérabil
-
+
@@ -533,7 +533,7 @@

Contactez-nous

- + @@ -543,7 +543,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":34857,"title":"Indice%20de%20vuln%C3%A9rabilit%C3%A9%20aux%20inondations%20-%20GEO.CA","excerpt":"","featuredImage":"https:\/\/dev.geo.ca\/wp-content\/uploads\/2023\/03\/COA-010c-1024x286.jpg"}}; - + - + diff --git a/fr/cartographie-inondations/galerie-cartes-inondations/inondations-au-canada-annee-courante/index.html b/fr/cartographie-inondations/galerie-cartes-inondations/inondations-au-canada-annee-courante/index.html index 358b5f62d..39fdcadc6 100644 --- a/fr/cartographie-inondations/galerie-cartes-inondations/inondations-au-canada-annee-courante/index.html +++ b/fr/cartographie-inondations/galerie-cartes-inondations/inondations-au-canada-annee-courante/index.html @@ -331,7 +331,7 @@

Inondations au Canada
-
+
@@ -549,7 +549,7 @@

Contactez-nous

- + @@ -559,7 +559,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":41236,"title":"Inondations%20au%20Canada%20%E2%80%93%20Ann%C3%A9e%20courante%20-%20GEO.CA","excerpt":"","featuredImage":"https:\/\/dev.geo.ca\/wp-content\/uploads\/2023\/03\/COA-161d-1024x286.jpg"}}; - + - + diff --git a/fr/cartographie-inondations/galerie-cartes-inondations/inventaire-inondables-canada/index.html b/fr/cartographie-inondations/galerie-cartes-inondations/inventaire-inondables-canada/index.html index 541fbebec..f27f8c34c 100644 --- a/fr/cartographie-inondations/galerie-cartes-inondations/inventaire-inondables-canada/index.html +++ b/fr/cartographie-inondations/galerie-cartes-inondations/inventaire-inondables-canada/index.html @@ -290,7 +290,7 @@

Inventaire des cartes
-
+
@@ -511,7 +511,7 @@

Contactez-nous

- + @@ -521,7 +521,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":39052,"title":"Inventaire%20des%20cartes%20de%20zones%20inondables%20du%20Canada%20-%20GEO.CA","excerpt":"","featuredImage":"https:\/\/dev.geo.ca\/wp-content\/uploads\/2023\/06\/GRE-007c-1024x286.jpg"}}; - + - + diff --git a/fr/cartographie-inondations/gouvernement-canada/index.html b/fr/cartographie-inondations/gouvernement-canada/index.html index 0bd81f4d6..6d1701a38 100644 --- a/fr/cartographie-inondations/gouvernement-canada/index.html +++ b/fr/cartographie-inondations/gouvernement-canada/index.html @@ -538,7 +538,7 @@

Contactez-nous

- + @@ -554,7 +554,7 @@

Contactez-nous

- + diff --git a/fr/cartographie-inondations/index.html b/fr/cartographie-inondations/index.html index d1645b9f3..adf996fa7 100644 --- a/fr/cartographie-inondations/index.html +++ b/fr/cartographie-inondations/index.html @@ -620,7 +620,7 @@

Contactez-nous

- + @@ -636,7 +636,7 @@

Contactez-nous

- + diff --git a/fr/cartographie-inondations/province-territoire/index.html b/fr/cartographie-inondations/province-territoire/index.html index 032ec0b66..9001bd2ee 100644 --- a/fr/cartographie-inondations/province-territoire/index.html +++ b/fr/cartographie-inondations/province-territoire/index.html @@ -2171,7 +2171,7 @@

Contactez-nous

- + @@ -2187,7 +2187,7 @@

Contactez-nous

- + diff --git a/fr/cartographie-inondations/savoir-plus/index.html b/fr/cartographie-inondations/savoir-plus/index.html index 105aeb373..c0f673a62 100644 --- a/fr/cartographie-inondations/savoir-plus/index.html +++ b/fr/cartographie-inondations/savoir-plus/index.html @@ -509,7 +509,7 @@

Contactez-nous

- + @@ -525,7 +525,7 @@

Contactez-nous

- + diff --git a/fr/communautes/index.html b/fr/communautes/index.html index bcb063479..cf0d5e3fe 100644 --- a/fr/communautes/index.html +++ b/fr/communautes/index.html @@ -481,7 +481,7 @@

Contactez-nous

- + @@ -497,7 +497,7 @@

Contactez-nous

- + diff --git a/fr/communautes/pergelisol/index.html b/fr/communautes/pergelisol/index.html index 02fbef4c5..af661a52c 100644 --- a/fr/communautes/pergelisol/index.html +++ b/fr/communautes/pergelisol/index.html @@ -1274,7 +1274,7 @@

Contactez-nous

- + @@ -1291,7 +1291,7 @@

Contactez-nous

- + diff --git a/fr/communautes/pergelisol/le-pergelisol-par-province/index.html b/fr/communautes/pergelisol/le-pergelisol-par-province/index.html index 3cad045d7..b7fc7ca37 100644 --- a/fr/communautes/pergelisol/le-pergelisol-par-province/index.html +++ b/fr/communautes/pergelisol/le-pergelisol-par-province/index.html @@ -528,7 +528,7 @@

Contactez-nous

- + @@ -544,7 +544,7 @@

Contactez-nous

- + diff --git a/fr/communautes/pergelisol/le-pergelisol-par-territoire/index.html b/fr/communautes/pergelisol/le-pergelisol-par-territoire/index.html index 1c1b802e3..7535e5bbb 100644 --- a/fr/communautes/pergelisol/le-pergelisol-par-territoire/index.html +++ b/fr/communautes/pergelisol/le-pergelisol-par-territoire/index.html @@ -479,7 +479,7 @@

Contactez-nous

- + @@ -495,7 +495,7 @@

Contactez-nous

- + diff --git a/fr/contributeurs/index.html b/fr/contributeurs/index.html index a0b386919..a60383aa7 100644 --- a/fr/contributeurs/index.html +++ b/fr/contributeurs/index.html @@ -488,7 +488,7 @@

Contactez-nous

- + @@ -504,7 +504,7 @@

Contactez-nous

- + diff --git a/fr/dans-les-coulisses/index.html b/fr/dans-les-coulisses/index.html index 0ca6496ec..8ea39c1db 100644 --- a/fr/dans-les-coulisses/index.html +++ b/fr/dans-les-coulisses/index.html @@ -547,7 +547,7 @@

Contactez-nous

- + @@ -565,7 +565,7 @@

Contactez-nous

- + diff --git a/fr/donnees-de-base-du-canada/index.html b/fr/donnees-de-base-du-canada/index.html index 3e8dfdb4e..424453787 100644 --- a/fr/donnees-de-base-du-canada/index.html +++ b/fr/donnees-de-base-du-canada/index.html @@ -471,7 +471,7 @@

Contactez-nous

- + @@ -489,7 +489,7 @@

Contactez-nous

- + diff --git a/fr/economie/ententes-minieres-avec-les-autochtones-actives/index.html b/fr/economie/ententes-minieres-avec-les-autochtones-actives/index.html index f7b675a05..0001537c5 100644 --- a/fr/economie/ententes-minieres-avec-les-autochtones-actives/index.html +++ b/fr/economie/ententes-minieres-avec-les-autochtones-actives/index.html @@ -196,7 +196,7 @@

Ententes minières av
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43311,"title":"Ententes%20mini%C3%A8res%20avec%20les%20Autochtones%20%28actives%29%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/economie/grands-projets-de-ressources-naturelles-au-canada/index.html b/fr/economie/grands-projets-de-ressources-naturelles-au-canada/index.html index e0b24bd94..7fc5a5295 100644 --- a/fr/economie/grands-projets-de-ressources-naturelles-au-canada/index.html +++ b/fr/economie/grands-projets-de-ressources-naturelles-au-canada/index.html @@ -196,7 +196,7 @@

Grands projets de res
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43310,"title":"Grands%20projets%20de%20ressources%20naturelles%20au%20Canada%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/economie/index.html b/fr/economie/index.html index f1c2e9c75..9e5a58c48 100644 --- a/fr/economie/index.html +++ b/fr/economie/index.html @@ -341,7 +341,7 @@

Couches d’informati
-
+

@@ -366,7 +366,7 @@

-
+

@@ -395,7 +395,7 @@

-
+

@@ -420,7 +420,7 @@

-
+

@@ -687,7 +687,7 @@

Contactez-nous

- + @@ -698,7 +698,7 @@

Contactez-nous

- + - + diff --git a/fr/economie/investissements-cibles-dans-linfrastructure-des-collectivites-des-premieres-nations/index.html b/fr/economie/investissements-cibles-dans-linfrastructure-des-collectivites-des-premieres-nations/index.html index dc7793558..f3b19b345 100644 --- a/fr/economie/investissements-cibles-dans-linfrastructure-des-collectivites-des-premieres-nations/index.html +++ b/fr/economie/investissements-cibles-dans-linfrastructure-des-collectivites-des-premieres-nations/index.html @@ -196,7 +196,7 @@

Investissements cibl
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43309,"title":"Investissements%20cibl%C3%A9s%20dans%20l%E2%80%99infrastructure%20des%20collectivit%C3%A9s%20des%20Premi%C3%A8res%20Nations%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/economie/revenu-total-median-des-menages-en-2015-dollars-par-subdivision-de-recensement-2016/index.html b/fr/economie/revenu-total-median-des-menages-en-2015-dollars-par-subdivision-de-recensement-2016/index.html index 485611f20..116c7a74d 100644 --- a/fr/economie/revenu-total-median-des-menages-en-2015-dollars-par-subdivision-de-recensement-2016/index.html +++ b/fr/economie/revenu-total-median-des-menages-en-2015-dollars-par-subdivision-de-recensement-2016/index.html @@ -196,7 +196,7 @@

Revenu total médian
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43308,"title":"Revenu%20total%20m%C3%A9dian%20des%20m%C3%A9nages%20en%202015%20%28dollars%29%20par%20subdivision%20de%20recensement%2C%202016%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/environnement/habitat-essentiel-especes-en-peril-canada/index.html b/fr/environnement/habitat-essentiel-especes-en-peril-canada/index.html index dbcdb33d9..977776fe6 100644 --- a/fr/environnement/habitat-essentiel-especes-en-peril-canada/index.html +++ b/fr/environnement/habitat-essentiel-especes-en-peril-canada/index.html @@ -196,7 +196,7 @@

Habitat essentiel 
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43388,"title":"Habitat%20essentiel%20-%20Esp%C3%A8ces%20en%20p%C3%A9ril%20%E2%80%93%20Canada%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/environnement/index.html b/fr/environnement/index.html index 588b18fd4..f39576b2d 100644 --- a/fr/environnement/index.html +++ b/fr/environnement/index.html @@ -341,7 +341,7 @@

Couches d’informati
-
+

@@ -366,7 +366,7 @@

-
+

@@ -395,7 +395,7 @@

-
+

@@ -420,7 +420,7 @@

-
+

@@ -687,7 +687,7 @@

Contactez-nous

- + @@ -698,7 +698,7 @@

Contactez-nous

- + - + diff --git a/fr/environnement/registre-canadien-devaluation-dimpact-inventaire-des-evaluations/index.html b/fr/environnement/registre-canadien-devaluation-dimpact-inventaire-des-evaluations/index.html index d41f14086..f25baba2e 100644 --- a/fr/environnement/registre-canadien-devaluation-dimpact-inventaire-des-evaluations/index.html +++ b/fr/environnement/registre-canadien-devaluation-dimpact-inventaire-des-evaluations/index.html @@ -196,7 +196,7 @@

Registre canadien d
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":44243,"title":"Registre%20canadien%20d%E2%80%99%C3%A9valuation%20d%E2%80%99impact%20%E2%80%93%20Inventaire%20des%20%C3%A9valuations%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/environnement/repartitions-des-especes-prioritaires-en-peril/index.html b/fr/environnement/repartitions-des-especes-prioritaires-en-peril/index.html index f86cae589..241c75f33 100644 --- a/fr/environnement/repartitions-des-especes-prioritaires-en-peril/index.html +++ b/fr/environnement/repartitions-des-especes-prioritaires-en-peril/index.html @@ -196,7 +196,7 @@

Répartitions des esp
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43390,"title":"R%C3%A9partitions%20des%20esp%C3%A8ces%20prioritaires%20en%20p%C3%A9ril%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/environnement/temperature-maximale/index.html b/fr/environnement/temperature-maximale/index.html index e72c5c7fe..a870cf48f 100644 --- a/fr/environnement/temperature-maximale/index.html +++ b/fr/environnement/temperature-maximale/index.html @@ -196,7 +196,7 @@

Température maximale
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43389,"title":"Temp%C3%A9rature%20maximale%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/galerie-de-cartes/index.html b/fr/galerie-de-cartes/index.html index da591b5e0..4a03767ea 100644 --- a/fr/galerie-de-cartes/index.html +++ b/fr/galerie-de-cartes/index.html @@ -612,7 +612,7 @@

Contactez-nous

- + @@ -628,7 +628,7 @@

Contactez-nous

- + diff --git a/fr/geo-dans-actualite/fr-covid-19/index.html b/fr/geo-dans-actualite/fr-covid-19/index.html index 28257f4e9..fbdf43f45 100644 --- a/fr/geo-dans-actualite/fr-covid-19/index.html +++ b/fr/geo-dans-actualite/fr-covid-19/index.html @@ -790,7 +790,7 @@

Contactez-nous

- + @@ -807,7 +807,7 @@

Contactez-nous

- + diff --git a/fr/geo-dans-actualite/index.html b/fr/geo-dans-actualite/index.html index 032e6ef34..9377b7224 100644 --- a/fr/geo-dans-actualite/index.html +++ b/fr/geo-dans-actualite/index.html @@ -533,7 +533,7 @@

Contactez-nous

- + @@ -549,7 +549,7 @@

Contactez-nous

- + diff --git a/fr/geo-dans-actualite/inondations/index.html b/fr/geo-dans-actualite/inondations/index.html index 4cf32027a..bd5d62da9 100644 --- a/fr/geo-dans-actualite/inondations/index.html +++ b/fr/geo-dans-actualite/inondations/index.html @@ -236,7 +236,7 @@

Inondations au Canada
-
+
@@ -428,7 +428,7 @@

Contactez-nous

- + @@ -444,7 +444,7 @@

Contactez-nous

- + diff --git a/fr/geo-dans-actualite/la-toponymie-du-canada-rend-hommage-aux-femmes/index.html b/fr/geo-dans-actualite/la-toponymie-du-canada-rend-hommage-aux-femmes/index.html index 6ec71c5da..1064a2a35 100644 --- a/fr/geo-dans-actualite/la-toponymie-du-canada-rend-hommage-aux-femmes/index.html +++ b/fr/geo-dans-actualite/la-toponymie-du-canada-rend-hommage-aux-femmes/index.html @@ -389,7 +389,7 @@

Contactez-nous

- + @@ -405,7 +405,7 @@

Contactez-nous

- + diff --git a/fr/gouvernement-du-canada/index.html b/fr/gouvernement-du-canada/index.html index d0027f465..18ff5ebb8 100644 --- a/fr/gouvernement-du-canada/index.html +++ b/fr/gouvernement-du-canada/index.html @@ -696,7 +696,7 @@

Contactez-nous

- + @@ -709,10 +709,8 @@

Contactez-nous

- - + + diff --git a/fr/imagerie/couverture-terrestre-du-canada/index.html b/fr/imagerie/couverture-terrestre-du-canada/index.html index eae5a8cd4..bf27b3067 100644 --- a/fr/imagerie/couverture-terrestre-du-canada/index.html +++ b/fr/imagerie/couverture-terrestre-du-canada/index.html @@ -196,7 +196,7 @@

Couverture terrestre
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43459,"title":"Couverture%20terrestre%20du%20Canada%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/imagerie/index.html b/fr/imagerie/index.html index 6c940d988..920ce8dc8 100644 --- a/fr/imagerie/index.html +++ b/fr/imagerie/index.html @@ -341,7 +341,7 @@

Couches d’informati
-
+

@@ -366,7 +366,7 @@

-
+

@@ -395,7 +395,7 @@

-
+

@@ -420,7 +420,7 @@

-
+

@@ -687,7 +687,7 @@

Contactez-nous

- + @@ -698,7 +698,7 @@

Contactez-nous

- + - + diff --git a/fr/imagerie/inventaire-annuel-des-cultures/index.html b/fr/imagerie/inventaire-annuel-des-cultures/index.html index cb1046130..518c1e1d6 100644 --- a/fr/imagerie/inventaire-annuel-des-cultures/index.html +++ b/fr/imagerie/inventaire-annuel-des-cultures/index.html @@ -196,7 +196,7 @@

Inventaire annuel des
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43458,"title":"Inventaire%20annuel%20des%20cultures%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/imagerie/modele-numerique-delevation-de-haute-resolution-mnehr-serie-canelevation/index.html b/fr/imagerie/modele-numerique-delevation-de-haute-resolution-mnehr-serie-canelevation/index.html index 14c58537c..114226f0c 100644 --- a/fr/imagerie/modele-numerique-delevation-de-haute-resolution-mnehr-serie-canelevation/index.html +++ b/fr/imagerie/modele-numerique-delevation-de-haute-resolution-mnehr-serie-canelevation/index.html @@ -196,7 +196,7 @@

Modèle numérique d
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43460,"title":"Mod%C3%A8le%20num%C3%A9rique%20d%E2%80%99%C3%A9l%C3%A9vation%20de%20haute%20r%C3%A9solution%20%28MNEHR%29%20%E2%80%93%20S%C3%A9rie%20Can%C3%89l%C3%A9vation%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/imagerie/mosaique-du-modele-numerique-delevation-de-haute-resolution-mosaique-mnehr-serie-canelevation-affichant-les-mns-et-mnt/index.html b/fr/imagerie/mosaique-du-modele-numerique-delevation-de-haute-resolution-mosaique-mnehr-serie-canelevation-affichant-les-mns-et-mnt/index.html index 90dd601bd..40aaaa4c7 100644 --- a/fr/imagerie/mosaique-du-modele-numerique-delevation-de-haute-resolution-mosaique-mnehr-serie-canelevation-affichant-les-mns-et-mnt/index.html +++ b/fr/imagerie/mosaique-du-modele-numerique-delevation-de-haute-resolution-mosaique-mnehr-serie-canelevation-affichant-les-mns-et-mnt/index.html @@ -196,7 +196,7 @@

Mosaïque du Modèle
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43457,"title":"Mosa%C3%AFque%20du%20Mod%C3%A8le%20num%C3%A9rique%20d%E2%80%99%C3%A9l%C3%A9vation%20de%20haute%20r%C3%A9solution%20%28mosa%C3%AFque%20MNEHR%29%20%E2%80%93%20S%C3%A9rie%20Can%C3%89levation%20affichant%20les%20MNS%20et%20MNT%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/index.html b/fr/index.html index 48cd4f115..60b4fe557 100644 --- a/fr/index.html +++ b/fr/index.html @@ -332,7 +332,7 @@

Contactez-nous

- + @@ -348,7 +348,7 @@

Contactez-nous

- + diff --git a/fr/infrastructure-fr/index.html b/fr/infrastructure-fr/index.html index 00585c72d..61e03007f 100644 --- a/fr/infrastructure-fr/index.html +++ b/fr/infrastructure-fr/index.html @@ -341,7 +341,7 @@

Couches d’informati
-
+

@@ -366,7 +366,7 @@

-
+

@@ -395,7 +395,7 @@

-
+

@@ -420,7 +420,7 @@

-
+

@@ -687,7 +687,7 @@

Contactez-nous

- + @@ -698,7 +698,7 @@

Contactez-nous

- + - + diff --git a/fr/infrastructure-fr/lenergie-en-amerique-du-nord/index.html b/fr/infrastructure-fr/lenergie-en-amerique-du-nord/index.html index 52e70490c..62dc2c864 100644 --- a/fr/infrastructure-fr/lenergie-en-amerique-du-nord/index.html +++ b/fr/infrastructure-fr/lenergie-en-amerique-du-nord/index.html @@ -196,7 +196,7 @@

L’énergie en Amér
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43755,"title":"L%E2%80%99%C3%A9nergie%20en%20Am%C3%A9rique%20du%20Nord%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/infrastructure-fr/proportion-de-navetteurs-utilisant-le-transport-durable-par-subdivision-de-recensement-2016/index.html b/fr/infrastructure-fr/proportion-de-navetteurs-utilisant-le-transport-durable-par-subdivision-de-recensement-2016/index.html index 83b3086fc..7d9dd02b5 100644 --- a/fr/infrastructure-fr/proportion-de-navetteurs-utilisant-le-transport-durable-par-subdivision-de-recensement-2016/index.html +++ b/fr/infrastructure-fr/proportion-de-navetteurs-utilisant-le-transport-durable-par-subdivision-de-recensement-2016/index.html @@ -196,7 +196,7 @@

Proportion de navette
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43754,"title":"Proportion%20de%20navetteurs%20utilisant%20le%20transport%20durable%2C%20par%20subdivision%20de%20recensement%2C%202016%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/initiatives-fr/geobase/geoia/carte-index-des-donnees/index.html b/fr/initiatives-fr/geobase/geoia/carte-index-des-donnees/index.html index ce8e98cf7..05a6923fc 100644 --- a/fr/initiatives-fr/geobase/geoia/carte-index-des-donnees/index.html +++ b/fr/initiatives-fr/geobase/geoia/carte-index-des-donnees/index.html @@ -220,7 +220,7 @@

Carte-index des donn
-
+
@@ -411,7 +411,7 @@

Contactez-nous

- + @@ -421,7 +421,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":40523,"title":"Carte-index%20des%20donn%C3%A9es%20G%C3%A9oIA%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/initiatives-fr/geobase/geoia/cas-dutilisation-du-developpement-urbain/index.html b/fr/initiatives-fr/geobase/geoia/cas-dutilisation-du-developpement-urbain/index.html index 37c150933..21d029906 100644 --- a/fr/initiatives-fr/geobase/geoia/cas-dutilisation-du-developpement-urbain/index.html +++ b/fr/initiatives-fr/geobase/geoia/cas-dutilisation-du-developpement-urbain/index.html @@ -398,7 +398,7 @@

Développement urbain
-
+
@@ -595,7 +595,7 @@

Contactez-nous

- + @@ -614,7 +614,7 @@

Contactez-nous

- + diff --git a/fr/initiatives-fr/geobase/geoia/index.html b/fr/initiatives-fr/geobase/geoia/index.html index d9f8209ea..a5aaedd29 100644 --- a/fr/initiatives-fr/geobase/geoia/index.html +++ b/fr/initiatives-fr/geobase/geoia/index.html @@ -582,7 +582,7 @@

Contactez-nous

- + @@ -598,7 +598,7 @@

Contactez-nous

- + diff --git a/fr/initiatives-fr/geobase/index.html b/fr/initiatives-fr/geobase/index.html index 72897dd7e..4def0ac95 100644 --- a/fr/initiatives-fr/geobase/index.html +++ b/fr/initiatives-fr/geobase/index.html @@ -696,7 +696,7 @@

Contactez-nous

- + @@ -715,7 +715,7 @@

Contactez-nous

- + diff --git a/fr/initiatives-fr/geobase/reseau-hydrospatial-canadien/carte-du-reseau-hydrospatial-canadien/index.html b/fr/initiatives-fr/geobase/reseau-hydrospatial-canadien/carte-du-reseau-hydrospatial-canadien/index.html index 8ace1e008..abb6214fa 100644 --- a/fr/initiatives-fr/geobase/reseau-hydrospatial-canadien/carte-du-reseau-hydrospatial-canadien/index.html +++ b/fr/initiatives-fr/geobase/reseau-hydrospatial-canadien/carte-du-reseau-hydrospatial-canadien/index.html @@ -220,7 +220,7 @@

Carte du Réseau hydr
-
+
@@ -411,7 +411,7 @@

Contactez-nous

- + @@ -436,7 +436,7 @@

Contactez-nous

- + diff --git a/fr/initiatives-fr/geobase/reseau-hydrospatial-canadien/index.html b/fr/initiatives-fr/geobase/reseau-hydrospatial-canadien/index.html index 412d7576f..83745dd05 100644 --- a/fr/initiatives-fr/geobase/reseau-hydrospatial-canadien/index.html +++ b/fr/initiatives-fr/geobase/reseau-hydrospatial-canadien/index.html @@ -17,12 +17,12 @@ - + - + @@ -33,7 +33,7 @@ - + @@ -229,7 +229,7 @@

Sur cette page

-

À propos du réseau hydrographique canadien

+

À propos du réseau hydrospatial canadien

@@ -504,7 +504,7 @@

Contactez-nous

- + @@ -520,7 +520,7 @@

Contactez-nous

- + diff --git a/fr/initiatives-fr/index.html b/fr/initiatives-fr/index.html index 6dd85a880..ba440a7f4 100644 --- a/fr/initiatives-fr/index.html +++ b/fr/initiatives-fr/index.html @@ -544,7 +544,7 @@

Contactez-nous

- + @@ -560,7 +560,7 @@

Contactez-nous

- + diff --git a/fr/initiatives-fr/infrastructure-canadienne-de-donnees-geospatiales-icdg/index.html b/fr/initiatives-fr/infrastructure-canadienne-de-donnees-geospatiales-icdg/index.html index f6ba0be8d..777fdf49b 100644 --- a/fr/initiatives-fr/infrastructure-canadienne-de-donnees-geospatiales-icdg/index.html +++ b/fr/initiatives-fr/infrastructure-canadienne-de-donnees-geospatiales-icdg/index.html @@ -450,7 +450,7 @@

Contactez-nous

- + @@ -469,7 +469,7 @@

Contactez-nous

- + diff --git a/fr/initiatives-fr/infrastructure-canadienne-de-donnees-geospatiales-icdg/mapml-langage-de-balisage-de-carte/index.html b/fr/initiatives-fr/infrastructure-canadienne-de-donnees-geospatiales-icdg/mapml-langage-de-balisage-de-carte/index.html index b75ef6ee0..dc81cd9af 100644 --- a/fr/initiatives-fr/infrastructure-canadienne-de-donnees-geospatiales-icdg/mapml-langage-de-balisage-de-carte/index.html +++ b/fr/initiatives-fr/infrastructure-canadienne-de-donnees-geospatiales-icdg/mapml-langage-de-balisage-de-carte/index.html @@ -722,7 +722,7 @@

Contactez-nous

- + @@ -741,7 +741,7 @@

Contactez-nous

- + diff --git a/fr/initiatives-fr/linfrastructure-de-donnees-spatiales-pour-larctique-ids-arctique/index.html b/fr/initiatives-fr/linfrastructure-de-donnees-spatiales-pour-larctique-ids-arctique/index.html index dce7a0434..022dd5e62 100644 --- a/fr/initiatives-fr/linfrastructure-de-donnees-spatiales-pour-larctique-ids-arctique/index.html +++ b/fr/initiatives-fr/linfrastructure-de-donnees-spatiales-pour-larctique-ids-arctique/index.html @@ -760,7 +760,7 @@

Contactez-nous

- + @@ -776,7 +776,7 @@

Contactez-nous

- + diff --git a/fr/initiatives-fr/mineraux-critiques/index.html b/fr/initiatives-fr/mineraux-critiques/index.html index 4017a00ba..9776df909 100644 --- a/fr/initiatives-fr/mineraux-critiques/index.html +++ b/fr/initiatives-fr/mineraux-critiques/index.html @@ -555,7 +555,7 @@

Contactez-nous

- + @@ -571,7 +571,7 @@

Contactez-nous

- + diff --git a/fr/pour-commencer/index.html b/fr/pour-commencer/index.html index 75d66b88d..baabfa39d 100644 --- a/fr/pour-commencer/index.html +++ b/fr/pour-commencer/index.html @@ -679,7 +679,7 @@

Contactez-nous

- + @@ -695,7 +695,7 @@

Contactez-nous

- + diff --git a/fr/provinces-et-territoires/index.html b/fr/provinces-et-territoires/index.html index 3c2bb5477..f98cc7848 100644 --- a/fr/provinces-et-territoires/index.html +++ b/fr/provinces-et-territoires/index.html @@ -545,7 +545,7 @@

Contactez-nous

- + @@ -561,7 +561,7 @@

Contactez-nous

- + diff --git a/fr/renseignements-juridiques/aires-protegees-canada/index.html b/fr/renseignements-juridiques/aires-protegees-canada/index.html index 8b2c0b3a9..7b76db955 100644 --- a/fr/renseignements-juridiques/aires-protegees-canada/index.html +++ b/fr/renseignements-juridiques/aires-protegees-canada/index.html @@ -196,7 +196,7 @@

Aires protégées 
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43514,"title":"Aires%20prot%C3%A9g%C3%A9es%20-%20Canada%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/renseignements-juridiques/index.html b/fr/renseignements-juridiques/index.html index d75325ba3..4f3a13bea 100644 --- a/fr/renseignements-juridiques/index.html +++ b/fr/renseignements-juridiques/index.html @@ -342,7 +342,7 @@

Couches d’informati
-
+

@@ -367,7 +367,7 @@

-
+

@@ -396,7 +396,7 @@

-
+

@@ -421,7 +421,7 @@

-
+

@@ -688,7 +688,7 @@

Contactez-nous

- + @@ -699,7 +699,7 @@

Contactez-nous

- + - + diff --git a/fr/renseignements-juridiques/parcs-nationaux-et-aires-protegees/index.html b/fr/renseignements-juridiques/parcs-nationaux-et-aires-protegees/index.html index 82933863c..0afaffe79 100644 --- a/fr/renseignements-juridiques/parcs-nationaux-et-aires-protegees/index.html +++ b/fr/renseignements-juridiques/parcs-nationaux-et-aires-protegees/index.html @@ -196,7 +196,7 @@

Parcs nationaux et ai
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43512,"title":"Parcs%20nationaux%20et%20aires%20prot%C3%A9g%C3%A9es%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/renseignements-juridiques/programme-de-justice-autochtone/index.html b/fr/renseignements-juridiques/programme-de-justice-autochtone/index.html index 8ab77c222..9a3c1147d 100644 --- a/fr/renseignements-juridiques/programme-de-justice-autochtone/index.html +++ b/fr/renseignements-juridiques/programme-de-justice-autochtone/index.html @@ -196,7 +196,7 @@

Programme de justice
-
+
@@ -376,7 +376,7 @@

Contactez-nous

- + @@ -386,7 +386,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43513,"title":"Programme%20de%20justice%20autochtone%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/science-fr/index.html b/fr/science-fr/index.html index a21646bf9..1690a83d2 100644 --- a/fr/science-fr/index.html +++ b/fr/science-fr/index.html @@ -341,7 +341,7 @@

Couches d’informati
-
+

@@ -366,7 +366,7 @@

-
+

@@ -395,7 +395,7 @@

-
+

@@ -420,7 +420,7 @@

-
+

@@ -687,7 +687,7 @@

Contactez-nous

- + @@ -698,7 +698,7 @@

Contactez-nous

- + - + diff --git a/fr/science-fr/le-reseau-canadien-de-surveillance-radiologique/index.html b/fr/science-fr/le-reseau-canadien-de-surveillance-radiologique/index.html index be9a888f2..39c039a40 100644 --- a/fr/science-fr/le-reseau-canadien-de-surveillance-radiologique/index.html +++ b/fr/science-fr/le-reseau-canadien-de-surveillance-radiologique/index.html @@ -196,7 +196,7 @@

Le Réseau canadien d
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43570,"title":"Le%20R%C3%A9seau%20canadien%20de%20surveillance%20radiologique%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/science-fr/pergelisol-par-lecoprovince/index.html b/fr/science-fr/pergelisol-par-lecoprovince/index.html index 9014db8fc..7ad9702cb 100644 --- a/fr/science-fr/pergelisol-par-lecoprovince/index.html +++ b/fr/science-fr/pergelisol-par-lecoprovince/index.html @@ -196,7 +196,7 @@

Pergélisol par l’
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":44217,"title":"Perg%C3%A9lisol%20par%20l%E2%80%99%C3%A9coprovince%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/science-fr/qualite-de-lair/index.html b/fr/science-fr/qualite-de-lair/index.html index 44a62bcae..04577b644 100644 --- a/fr/science-fr/qualite-de-lair/index.html +++ b/fr/science-fr/qualite-de-lair/index.html @@ -196,7 +196,7 @@

Qualité de l’a
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43571,"title":"Qualit%C3%A9%20de%20l%27air%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/science-fr/zones-dimportance-ecologique-et-biologique/index.html b/fr/science-fr/zones-dimportance-ecologique-et-biologique/index.html index aa5c1be32..e49cfcf22 100644 --- a/fr/science-fr/zones-dimportance-ecologique-et-biologique/index.html +++ b/fr/science-fr/zones-dimportance-ecologique-et-biologique/index.html @@ -196,7 +196,7 @@

Zones d’importa
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43572,"title":"Zones%20d%27importance%20%C3%A9cologique%20et%20biologique%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - - + + diff --git a/fr/societe/actiongrippe/index.html b/fr/societe/actiongrippe/index.html index 8bb0a7b0a..34674305d 100644 --- a/fr/societe/actiongrippe/index.html +++ b/fr/societe/actiongrippe/index.html @@ -196,7 +196,7 @@

ActionGrippe

-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43622,"title":"ActionGrippe%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/societe/index.html b/fr/societe/index.html index 9dddc4349..e69de29bb 100644 --- a/fr/societe/index.html +++ b/fr/societe/index.html @@ -1,722 +0,0 @@ - - - - - - - - - - Société - GEO.CA - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
-
-
-
-
-
-
- -
-
-
-
- -

Société

-
-
-
-

Découvrez des données socio-économiques géospatiales et de l’information sur la population et la culture canadiennes, notamment les statistiques de recensement, les rapports sur la santé et la situation géographique des Premières Nations.

-
-
-
-
- - 534+ - Jeux de données - - - - 21+ - Contributeurs - - -
-
-
- -
-
-
-
-
-
-

Parcourez les thèmes

-
-
-
-
-
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

Couches d’informations sur ce thème

-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
- -

- Ratio des nouveaux arrivages d’immigrants (de 2001 à 2016) par rapport aux anciens arrivages d’immigrants (avant 2001), par subdivision de recensement, 2016 -

- -
Comparez le ratio des nouveaux arrivages d’immigrants par rapport aux anciens arrivages d’immigrants grâce à cette carte.
- - - -
-
-
-
-
-
-
-
-
- -
-
-
-
- -

- Population autochtone du Canada -

- -
Vous vous intéressez aux populations autochtones du Canada? Explorez la carte thématique sur la population autochtone du Canada. Plus le symbole est grand, plus le pourcentage de population autochtone est élevé dans cette zone. Plus la couleur est foncée, plus la population générale est dense.
- - - -
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
- -

- Population majoritaire (%) de langue maternelle par division de recensement, 2016 -

- -
Découvrez la langue prédominante parlée dans votre division de recensement grâce à l’ensemble de données thématique de Population majoritaire (%) de langue maternelle par division de recensement. Cet ensemble de données est basé sur l’anglais, le français ou une langue non officielle, et comprend l’écoumène de la population de 2016 par couche de division de recensement.
- - - -
-
-
-
-
-
-
-
-
- -
-
-
-
- -

- ActionGrippe -

- -
Préparez-vous à l’hiver grâce à l’ensemble de données d’ActionGrippe, un système de surveillance sanitaire en ligne qui permet de suivre la propagation des maladies de type grippal au Canada.
- - - -
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-

Données relatives à la société les plus consultées

-
- - - -
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/fr/societe/population-majoritaire-de-langue-maternelle-par-division-de-recensement-2016/index.html b/fr/societe/population-majoritaire-de-langue-maternelle-par-division-de-recensement-2016/index.html index 4db7f1f36..160feddb1 100644 --- a/fr/societe/population-majoritaire-de-langue-maternelle-par-division-de-recensement-2016/index.html +++ b/fr/societe/population-majoritaire-de-langue-maternelle-par-division-de-recensement-2016/index.html @@ -196,7 +196,7 @@

Population majoritair
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43621,"title":"Population%20majoritaire%20%28%25%29%20de%20langue%20maternelle%20par%20division%20de%20recensement%2C%202016%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/societe/ratio-des-nouveaux-arrivages-dimmigrants-de-2001-a-2016-par-rapport-aux-anciens-arrivages-dimmigrants-avant-2001-par-subdivision-de-recensement-2016/index.html b/fr/societe/ratio-des-nouveaux-arrivages-dimmigrants-de-2001-a-2016-par-rapport-aux-anciens-arrivages-dimmigrants-avant-2001-par-subdivision-de-recensement-2016/index.html index f7376e48b..f4a64abb5 100644 --- a/fr/societe/ratio-des-nouveaux-arrivages-dimmigrants-de-2001-a-2016-par-rapport-aux-anciens-arrivages-dimmigrants-avant-2001-par-subdivision-de-recensement-2016/index.html +++ b/fr/societe/ratio-des-nouveaux-arrivages-dimmigrants-de-2001-a-2016-par-rapport-aux-anciens-arrivages-dimmigrants-avant-2001-par-subdivision-de-recensement-2016/index.html @@ -196,7 +196,7 @@

Ratio des nouveaux ar
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43619,"title":"Ratio%20des%20nouveaux%20arrivages%20d%E2%80%99immigrants%20%28de%202001%20%C3%A0%202016%29%20par%20rapport%20aux%20anciens%20arrivages%20d%E2%80%99immigrants%20%28avant%202001%29%2C%20par%20subdivision%20de%20recensement%2C%202016%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/urgences/evenement-catastrophes-depuis-1900/index.html b/fr/urgences/evenement-catastrophes-depuis-1900/index.html index dcf8d064f..e43aaa857 100644 --- a/fr/urgences/evenement-catastrophes-depuis-1900/index.html +++ b/fr/urgences/evenement-catastrophes-depuis-1900/index.html @@ -196,7 +196,7 @@

Évènement catastrop
-
+
@@ -376,7 +376,7 @@

Contactez-nous

- + @@ -386,7 +386,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43715,"title":"%C3%89v%C3%A8nement%20catastrophes%20depuis%201900%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/fr/urgences/index.html b/fr/urgences/index.html index 7a3f73026..36bdc73cd 100644 --- a/fr/urgences/index.html +++ b/fr/urgences/index.html @@ -341,7 +341,7 @@

Couches d’informati
-
+

@@ -366,7 +366,7 @@

-
+

@@ -395,7 +395,7 @@

-
+

@@ -420,7 +420,7 @@

-
+

@@ -687,7 +687,7 @@

Contactez-nous

- + @@ -698,7 +698,7 @@

Contactez-nous

- + - + diff --git a/fr/urgences/inondations-au-canada-archive/index.html b/fr/urgences/inondations-au-canada-archive/index.html index d64d22340..e343e2ddc 100644 --- a/fr/urgences/inondations-au-canada-archive/index.html +++ b/fr/urgences/inondations-au-canada-archive/index.html @@ -196,7 +196,7 @@

Inondations au Canada
-
+
@@ -387,7 +387,7 @@

Contactez-nous

- + @@ -397,7 +397,7 @@

Contactez-nous

var elementorFrontendConfig = {"environmentMode":{"edit":false,"wpPreview":false,"isScriptDebug":false},"i18n":{"shareOnFacebook":"Partager sur Facebook","shareOnTwitter":"Partager sur Twitter","pinIt":"Pin it","download":"Download","downloadImage":"Télécharger une image","fullscreen":"Fullscreen","zoom":"Zoom","share":"Share","playVideo":"Lire la vidéo","previous":"Précédent","next":"Suivant","close":"Fermer","a11yCarouselWrapperAriaLabel":"Carousel | Horizontal scrolling: Arrow Left & Right","a11yCarouselPrevSlideMessage":"Previous slide","a11yCarouselNextSlideMessage":"Next slide","a11yCarouselFirstSlideMessage":"This is the first slide","a11yCarouselLastSlideMessage":"This is the last slide","a11yCarouselPaginationBulletMessage":"Go to slide"},"is_rtl":false,"breakpoints":{"xs":0,"sm":480,"md":768,"lg":1025,"xl":1440,"xxl":1600},"responsive":{"breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":true},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":false},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":true},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":false},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":false},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":false}}},"version":"3.21.4","is_static":false,"experimentalFeatures":{"e_optimized_assets_loading":true,"e_optimized_css_loading":true,"additional_custom_breakpoints":true,"e_swiper_latest":true,"theme_builder_v2":true,"home_screen":true,"landing-pages":true,"form-submissions":true},"urls":{"assets":"https:\/\/dev.geo.ca\/wp-content\/plugins\/elementor\/assets\/"},"swiperClass":"swiper","settings":{"page":[],"editorPreferences":[]},"kit":{"active_breakpoints":["viewport_mobile","viewport_tablet"],"lightbox_enable_zoom":"yes","lightbox_title_src":"title","lightbox_description_src":"description"},"post":{"id":43358,"title":"Inondations%20au%20Canada%20%E2%80%93%20Archive%20-%20GEO.CA","excerpt":"","featuredImage":false}}; - + - + diff --git a/geo-in-the-news/covid-19/index.html b/geo-in-the-news/covid-19/index.html index 2aef6f47d..4efe36531 100644 --- a/geo-in-the-news/covid-19/index.html +++ b/geo-in-the-news/covid-19/index.html @@ -788,7 +788,7 @@

Contact Us

- + @@ -805,7 +805,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/geo-in-the-news/floods/index.html b/geo-in-the-news/floods/index.html index 40fc6693e..2c901e45c 100644 --- a/geo-in-the-news/floods/index.html +++ b/geo-in-the-news/floods/index.html @@ -236,7 +236,7 @@

Flooding in Canada
-
+
@@ -428,7 +428,7 @@

Contact Us

- + @@ -444,7 +444,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/geo-in-the-news/index.html b/geo-in-the-news/index.html index 3baba4ddb..37e33929f 100644 --- a/geo-in-the-news/index.html +++ b/geo-in-the-news/index.html @@ -533,7 +533,7 @@

Contact Us

- + @@ -549,7 +549,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/geo-in-the-news/recognizing-women-with-canadian-place-names/index.html b/geo-in-the-news/recognizing-women-with-canadian-place-names/index.html index ad483d88f..fd721fe9d 100644 --- a/geo-in-the-news/recognizing-women-with-canadian-place-names/index.html +++ b/geo-in-the-news/recognizing-women-with-canadian-place-names/index.html @@ -389,7 +389,7 @@

Contact Us

- + @@ -405,7 +405,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/getting-started/index.html b/getting-started/index.html index 69d449424..abbd960e5 100644 --- a/getting-started/index.html +++ b/getting-started/index.html @@ -687,7 +687,7 @@

Contact Us

- + @@ -703,7 +703,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/government-of-canada/index.html b/government-of-canada/index.html index 93399a128..b39a72e2f 100644 --- a/government-of-canada/index.html +++ b/government-of-canada/index.html @@ -696,7 +696,7 @@

Contact Us

- + @@ -712,7 +712,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/home/index.html b/home/index.html index a59c460ce..03c6164b7 100644 --- a/home/index.html +++ b/home/index.html @@ -801,7 +801,7 @@

Contact Us

- + @@ -818,7 +818,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/imagery/annual-crop-inventory/index.html b/imagery/annual-crop-inventory/index.html index e3684f9e2..01f9d6b00 100644 --- a/imagery/annual-crop-inventory/index.html +++ b/imagery/annual-crop-inventory/index.html @@ -196,7 +196,7 @@

Annual Crop Inventory
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/imagery/high-resolution-digital-elevation-model-hrdem-canelevation-series/index.html b/imagery/high-resolution-digital-elevation-model-hrdem-canelevation-series/index.html index 1cf71e058..69c5354cd 100644 --- a/imagery/high-resolution-digital-elevation-model-hrdem-canelevation-series/index.html +++ b/imagery/high-resolution-digital-elevation-model-hrdem-canelevation-series/index.html @@ -196,7 +196,7 @@

High Resolution Digit
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/imagery/high-resolution-digital-elevation-model-mosaic-hrdem-mosaic-canelevation-series-to-display-dsm-and-dtm/index.html b/imagery/high-resolution-digital-elevation-model-mosaic-hrdem-mosaic-canelevation-series-to-display-dsm-and-dtm/index.html index 619c615c2..8b25401f0 100644 --- a/imagery/high-resolution-digital-elevation-model-mosaic-hrdem-mosaic-canelevation-series-to-display-dsm-and-dtm/index.html +++ b/imagery/high-resolution-digital-elevation-model-mosaic-hrdem-mosaic-canelevation-series-to-display-dsm-and-dtm/index.html @@ -196,7 +196,7 @@

High Resolution Digit
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/imagery/index.html b/imagery/index.html index 084538059..e781f5098 100644 --- a/imagery/index.html +++ b/imagery/index.html @@ -341,7 +341,7 @@

Featured layers in th
-
+

@@ -366,7 +366,7 @@

-
+

@@ -395,7 +395,7 @@

-
+

@@ -420,7 +420,7 @@

-
+

@@ -687,7 +687,7 @@

Contact Us

- + @@ -698,7 +698,7 @@

Contact Us

- + - + diff --git a/imagery/land-cover-canada/index.html b/imagery/land-cover-canada/index.html index b6f116947..01197b55f 100644 --- a/imagery/land-cover-canada/index.html +++ b/imagery/land-cover-canada/index.html @@ -196,7 +196,7 @@

Land Cover Canada

-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/infrastructure/index.html b/infrastructure/index.html index 3bc700e07..5ce4f1d56 100644 --- a/infrastructure/index.html +++ b/infrastructure/index.html @@ -341,7 +341,7 @@

Featured layers in th
-
+

@@ -366,7 +366,7 @@

-
+

@@ -395,7 +395,7 @@

-
+

@@ -420,7 +420,7 @@

-
+

@@ -687,7 +687,7 @@

Contact Us

- + @@ -698,7 +698,7 @@

Contact Us

- + - + diff --git a/infrastructure/north-american-energy/index.html b/infrastructure/north-american-energy/index.html index b3361b0c9..3c19a0414 100644 --- a/infrastructure/north-american-energy/index.html +++ b/infrastructure/north-american-energy/index.html @@ -196,7 +196,7 @@

North American Energy
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/infrastructure/proportion-of-commuters-using-sustainable-transportation-by-census-subdivision-2016/index.html b/infrastructure/proportion-of-commuters-using-sustainable-transportation-by-census-subdivision-2016/index.html index 3d30b0a92..c216fb426 100644 --- a/infrastructure/proportion-of-commuters-using-sustainable-transportation-by-census-subdivision-2016/index.html +++ b/infrastructure/proportion-of-commuters-using-sustainable-transportation-by-census-subdivision-2016/index.html @@ -196,7 +196,7 @@

Proportion of commute
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/initiatives/arctic-spatial-data-infrastructure/index.html b/initiatives/arctic-spatial-data-infrastructure/index.html index 5b6554d57..58aa988f3 100644 --- a/initiatives/arctic-spatial-data-infrastructure/index.html +++ b/initiatives/arctic-spatial-data-infrastructure/index.html @@ -760,7 +760,7 @@

Contact Us

- + @@ -776,7 +776,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/initiatives/canadian-geospatial-data-infrastructure/index.html b/initiatives/canadian-geospatial-data-infrastructure/index.html index 5ed90783f..1f57a71f4 100644 --- a/initiatives/canadian-geospatial-data-infrastructure/index.html +++ b/initiatives/canadian-geospatial-data-infrastructure/index.html @@ -450,7 +450,7 @@

Contact Us

- + @@ -469,7 +469,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/initiatives/canadian-geospatial-data-infrastructure/mapml/index.html b/initiatives/canadian-geospatial-data-infrastructure/mapml/index.html index d6ecfc2e1..8244f0a35 100644 --- a/initiatives/canadian-geospatial-data-infrastructure/mapml/index.html +++ b/initiatives/canadian-geospatial-data-infrastructure/mapml/index.html @@ -718,7 +718,7 @@

Contact Us

- + @@ -737,7 +737,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/initiatives/critical-minerals/index.html b/initiatives/critical-minerals/index.html index 9da9fa874..21182a784 100644 --- a/initiatives/critical-minerals/index.html +++ b/initiatives/critical-minerals/index.html @@ -555,7 +555,7 @@

Contact Us

- + @@ -571,7 +571,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/initiatives/geobase/canadian-hydrospatial-network/canadian-hydrospatial-network-map/index.html b/initiatives/geobase/canadian-hydrospatial-network/canadian-hydrospatial-network-map/index.html index d8f74f5a8..9204ee955 100644 --- a/initiatives/geobase/canadian-hydrospatial-network/canadian-hydrospatial-network-map/index.html +++ b/initiatives/geobase/canadian-hydrospatial-network/canadian-hydrospatial-network-map/index.html @@ -220,7 +220,7 @@

Canadian Hydrospatial
-
+
@@ -411,7 +411,7 @@

Contact Us

- + @@ -421,7 +421,7 @@

Contact Us

- + - + diff --git a/initiatives/geobase/canadian-hydrospatial-network/index.html b/initiatives/geobase/canadian-hydrospatial-network/index.html index 4904ce9fa..6e0833a36 100644 --- a/initiatives/geobase/canadian-hydrospatial-network/index.html +++ b/initiatives/geobase/canadian-hydrospatial-network/index.html @@ -504,7 +504,7 @@

Contact Us

- + @@ -520,7 +520,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/initiatives/geobase/geoai/data-index-map/index.html b/initiatives/geobase/geoai/data-index-map/index.html index 23fc91170..78070a6d2 100644 --- a/initiatives/geobase/geoai/data-index-map/index.html +++ b/initiatives/geobase/geoai/data-index-map/index.html @@ -220,7 +220,7 @@

GeoAI Data Index Map<
-
+
@@ -411,7 +411,7 @@

Contact Us

- + @@ -421,7 +421,7 @@

Contact Us

- + - + diff --git a/initiatives/geobase/geoai/index.html b/initiatives/geobase/geoai/index.html index 3cf84444b..08bf63399 100644 --- a/initiatives/geobase/geoai/index.html +++ b/initiatives/geobase/geoai/index.html @@ -583,7 +583,7 @@

Contact Us

- + @@ -599,7 +599,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/initiatives/geobase/geoai/urban-development-use-case/index.html b/initiatives/geobase/geoai/urban-development-use-case/index.html index 48bec3c25..50d78423f 100644 --- a/initiatives/geobase/geoai/urban-development-use-case/index.html +++ b/initiatives/geobase/geoai/urban-development-use-case/index.html @@ -398,7 +398,7 @@

Urban Development in
-
+
@@ -595,7 +595,7 @@

Contact Us

- + @@ -614,7 +614,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/initiatives/geobase/index.html b/initiatives/geobase/index.html index de12b8e3b..5a6e5bf6a 100644 --- a/initiatives/geobase/index.html +++ b/initiatives/geobase/index.html @@ -704,7 +704,7 @@

Contact Us

- + @@ -723,7 +723,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/initiatives/index.html b/initiatives/index.html index 61713a7dc..e14eb0d86 100644 --- a/initiatives/index.html +++ b/initiatives/index.html @@ -544,7 +544,7 @@

Contact Us

- + @@ -560,7 +560,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/legal/index.html b/legal/index.html index 87cebfd08..dab9c7617 100644 --- a/legal/index.html +++ b/legal/index.html @@ -341,7 +341,7 @@

Featured layers in th
-
+

@@ -366,7 +366,7 @@

-
+

@@ -395,7 +395,7 @@

-
+

@@ -420,7 +420,7 @@

-
+

@@ -687,7 +687,7 @@

Contact Us

- + @@ -698,7 +698,7 @@

Contact Us

- + - + diff --git a/legal/indigenous-justice-program/index.html b/legal/indigenous-justice-program/index.html index c2618beb0..94ebf7dc2 100644 --- a/legal/indigenous-justice-program/index.html +++ b/legal/indigenous-justice-program/index.html @@ -196,7 +196,7 @@

Indigenous Justice Pr
-
+
@@ -376,7 +376,7 @@

Contact Us

- + @@ -386,7 +386,7 @@

Contact Us

- + - + diff --git a/legal/national-parks-and-protected-areas/index.html b/legal/national-parks-and-protected-areas/index.html index e0ae16f0c..7b081d829 100644 --- a/legal/national-parks-and-protected-areas/index.html +++ b/legal/national-parks-and-protected-areas/index.html @@ -196,7 +196,7 @@

National Parks and Pr
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/legal/protected-areas-canada/index.html b/legal/protected-areas-canada/index.html index 4921f0b05..3183f2d3b 100644 --- a/legal/protected-areas-canada/index.html +++ b/legal/protected-areas-canada/index.html @@ -196,7 +196,7 @@

Protected Areas – C
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/main-sitemap.xsl b/main-sitemap.xsl index b6e0ad17b..182807b90 100644 --- a/main-sitemap.xsl +++ b/main-sitemap.xsl @@ -72,7 +72,7 @@

XML Sitemap

Generated by Yoast SEO, this is an XML Sitemap, meant for consumption by search engines.
- You can find more information about XML sitemaps on sitemaps.org. + You can find more information about XML sitemaps on sitemaps.org.

diff --git a/map-gallery/index.html b/map-gallery/index.html index 8b10d0150..f7f586ab9 100644 --- a/map-gallery/index.html +++ b/map-gallery/index.html @@ -612,7 +612,7 @@

Contact Us

- + @@ -628,7 +628,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/page-sitemap.xml b/page-sitemap.xml index 739a6c58f..2909b4da9 100644 --- a/page-sitemap.xml +++ b/page-sitemap.xml @@ -1524,7 +1524,7 @@ https://dev.geo.ca/fr/initiatives-fr/geobase/reseau-hydrospatial-canadien/ - 2024-10-22T15:53:38+00:00 + 2024-10-22T19:47:37+00:00 https://dev.geo.ca/wp-content/uploads/2024/03/chn-data.jpg diff --git a/provinces-and-territories/index.html b/provinces-and-territories/index.html index 27ed992d9..ff10fe65c 100644 --- a/provinces-and-territories/index.html +++ b/provinces-and-territories/index.html @@ -537,7 +537,7 @@

Contact Us

- + @@ -553,7 +553,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/science/air-quality/index.html b/science/air-quality/index.html index 698552b29..b0541916a 100644 --- a/science/air-quality/index.html +++ b/science/air-quality/index.html @@ -196,7 +196,7 @@

Air Quality

-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - - + + diff --git a/science/ecologically-and-biologically-significant-areas/index.html b/science/ecologically-and-biologically-significant-areas/index.html index 953b45b35..cb88d1f91 100644 --- a/science/ecologically-and-biologically-significant-areas/index.html +++ b/science/ecologically-and-biologically-significant-areas/index.html @@ -196,7 +196,7 @@

Ecologically and Biol
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - - + + diff --git a/science/index.html b/science/index.html index c8e457b59..def087e9e 100644 --- a/science/index.html +++ b/science/index.html @@ -341,7 +341,7 @@

Featured layers in th
-
+

@@ -366,7 +366,7 @@

-
+

@@ -395,7 +395,7 @@

-
+

@@ -420,7 +420,7 @@

-
+

@@ -687,7 +687,7 @@

Contact Us

- + @@ -698,7 +698,7 @@

Contact Us

- + - + diff --git a/science/permafrost-by-ecoprovince/index.html b/science/permafrost-by-ecoprovince/index.html index c0d4723b6..0ae898bc4 100644 --- a/science/permafrost-by-ecoprovince/index.html +++ b/science/permafrost-by-ecoprovince/index.html @@ -196,7 +196,7 @@

Permafrost by Ecoprov
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/science/the-canadian-radiological-monitoring-network/index.html b/science/the-canadian-radiological-monitoring-network/index.html index 678537c58..b521741ab 100644 --- a/science/the-canadian-radiological-monitoring-network/index.html +++ b/science/the-canadian-radiological-monitoring-network/index.html @@ -196,7 +196,7 @@

The Canadian Radiolog
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - - + + diff --git a/society/fluwatchers/index.html b/society/fluwatchers/index.html index 470eb39b1..e194c213d 100644 --- a/society/fluwatchers/index.html +++ b/society/fluwatchers/index.html @@ -196,7 +196,7 @@

FluWatchers

-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/society/index.html b/society/index.html index 88b0d16da..a70821749 100644 --- a/society/index.html +++ b/society/index.html @@ -341,7 +341,7 @@

Featured layers in th
-
+

@@ -366,7 +366,7 @@

-
+

@@ -395,7 +395,7 @@

-
+

@@ -420,7 +420,7 @@

-
+

@@ -687,7 +687,7 @@

Contact Us

- + @@ -698,7 +698,7 @@

Contact Us

- + - + diff --git a/society/majority-mother-tongue-population-by-census-division-2016/index.html b/society/majority-mother-tongue-population-by-census-division-2016/index.html index 4a506db1d..789c27bc3 100644 --- a/society/majority-mother-tongue-population-by-census-division-2016/index.html +++ b/society/majority-mother-tongue-population-by-census-division-2016/index.html @@ -196,7 +196,7 @@

Majority (%) Mother T
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/society/ratio-of-new-immigrant-arrivals-2001-2016-to-older-immigrant-arrivals-before-2001-by-census-division-2016/index.html b/society/ratio-of-new-immigrant-arrivals-2001-2016-to-older-immigrant-arrivals-before-2001-by-census-division-2016/index.html index b2e4f760f..439c2565c 100644 --- a/society/ratio-of-new-immigrant-arrivals-2001-2016-to-older-immigrant-arrivals-before-2001-by-census-division-2016/index.html +++ b/society/ratio-of-new-immigrant-arrivals-2001-2016-to-older-immigrant-arrivals-before-2001-by-census-division-2016/index.html @@ -196,7 +196,7 @@

Ratio of new immigran
-
+
@@ -387,7 +387,7 @@

Contact Us

- + @@ -397,7 +397,7 @@

Contact Us

- + - + diff --git a/terms-and-conditions/index.html b/terms-and-conditions/index.html index da7a855b7..f29ea501a 100644 --- a/terms-and-conditions/index.html +++ b/terms-and-conditions/index.html @@ -595,7 +595,7 @@

Contact Us

- + @@ -611,7 +611,7 @@

Contact Us

wp.i18n.setLocaleData( { 'text directionltr': [ 'ltr' ] } ); - + diff --git a/wp-content/geoview/cgpv-main.js b/wp-content/geoview/cgpv-main.js index 8cbeae284..75e7ea6d9 100644 --- a/wp-content/geoview/cgpv-main.js +++ b/wp-content/geoview/cgpv-main.js @@ -1,4 +1,4 @@ -/*! Package:cgpv-main: 1.0.0 - "f13e26485dbe7c35c59a778420360f279bae3d59" - 2024-09-09T15:47:46.941Z */(()=>{var e,t,n,r={38889:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(67849),i=n(78126),o=n(24367),a=n(70686),s=n(12315),l=n(69591),c=n(9596),u=function(e,t,n){for(var r=0,o=0;r=o,o=(0,i.se)(),38===r&&12===o&&(t[n]=1),!(0,i.Sh)(o);)(0,i.K2)();return(0,i.di)(e,i.G1)},d=function(e,t){return(0,i.VF)(function(e,t){var n=-1,r=44;do{switch((0,i.Sh)(r)){case 0:38===r&&12===(0,i.se)()&&(t[n]=1),e[n]+=u(i.G1-1,t,n);break;case 2:e[n]+=(0,i.Tb)(r);break;case 4:if(44===r){e[++n]=58===(0,i.se)()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=(0,o.HT)(r)}}while(r=(0,i.K2)());return e}((0,i.c4)(e),t))},h=new WeakMap,p=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||h.get(n))&&!r){h.set(e,!0);for(var i=[],o=d(t,i),a=n.props,s=0,l=0;s6)switch((0,o.wN)(e,t+1)){case 109:if(45!==(0,o.wN)(e,t+4))break;case 102:return(0,o.HC)(e,/(.+:)(.+)-([^]+)/,"$1"+a.j+"$2-$3$1"+a.vd+(108==(0,o.wN)(e,t+3)?"$3":"$2-$3"))+e;case 115:return~(0,o.K5)(e,"stretch")?g((0,o.HC)(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==(0,o.wN)(e,t+1))break;case 6444:switch((0,o.wN)(e,(0,o.b2)(e)-3-(~(0,o.K5)(e,"!important")&&10))){case 107:return(0,o.HC)(e,":",":"+a.j)+e;case 101:return(0,o.HC)(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a.j+(45===(0,o.wN)(e,14)?"inline-":"")+"box$3$1"+a.j+"$2$3$1"+a.MS+"$2box$3")+e}break;case 5936:switch((0,o.wN)(e,t+11)){case 114:return a.j+e+a.MS+(0,o.HC)(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a.j+e+a.MS+(0,o.HC)(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a.j+e+a.MS+(0,o.HC)(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return a.j+e+a.MS+e+e}return e}var m=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case a.LU:e.return=g(e.value,e.length);break;case a.Sv:return(0,s.l)([(0,i.C)(e,{value:(0,o.HC)(e.value,"@","@"+a.j)})],r);case a.XZ:if(e.length)return(0,o.kg)(e.props,(function(t){switch((0,o.YW)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,s.l)([(0,i.C)(e,{props:[(0,o.HC)(t,/:(read-\w+)/,":"+a.vd+"$1")]})],r);case"::placeholder":return(0,s.l)([(0,i.C)(e,{props:[(0,o.HC)(t,/:(plac\w+)/,":"+a.j+"input-$1")]}),(0,i.C)(e,{props:[(0,o.HC)(t,/:(plac\w+)/,":"+a.vd+"$1")]}),(0,i.C)(e,{props:[(0,o.HC)(t,/:(plac\w+)/,a.MS+"input-$1")]})],r)}return""}))}}],y=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i,o,a=e.stylisPlugins||m,u={},d=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n{"use strict";function r(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}n.d(t,{A:()=>r})},50098:(e,t,n)=>{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>r})},27938:(e,t,n)=>{"use strict";n.d(t,{C:()=>a,T:()=>l,w:()=>s});var r=n(30538),i=n(38889),o=(n(42466),n(14950),r.createContext("undefined"!=typeof HTMLElement?(0,i.A)({key:"css"}):null)),a=o.Provider,s=function(e){return(0,r.forwardRef)((function(t,n){var i=(0,r.useContext)(o);return e(t,i,n)}))},l=r.createContext({})},89881:(e,t,n)=>{"use strict";n.d(t,{AH:()=>c,i7:()=>u,mL:()=>l});var r=n(27938),i=n(30538),o=n(37125),a=n(14950),s=n(42466),l=(n(38889),n(78535),(0,r.w)((function(e,t){var n=e.styles,l=(0,s.J)([n],void 0,i.useContext(r.T)),c=i.useRef();return(0,a.i)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),c.current=[n,r],function(){n.flush()}}),[t]),(0,a.i)((function(){var e=c.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,o.sk)(t,l.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",l,n,!1)}}),[t,l.name]),null})));function c(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.d(t,{J:()=>y});var r=n(88922),i={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},o=n(50098),a=!1,s=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,c=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!=typeof e},d=(0,o.A)((function(e){return c(e)?e:e.replace(s,"-$&").toLowerCase()})),h=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(l,(function(e,t,n){return g={name:t,styles:n,next:g},t}))}return 1===i[e]||c(e)||"number"!=typeof t||0===t?t:t+"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 f(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return g={name:i.name,styles:i.styles,next:g},i.name;var o=n;if(void 0!==o.styles){var s=o.next;if(void 0!==s)for(;void 0!==s;)g={name:s.name,styles:s.styles,next:g},s=s.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i{"use strict";n.d(t,{v:()=>r});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t{"use strict";var r;n.d(t,{i:()=>s,s:()=>a});var i=n(30538),o=!!(r||(r=n.t(i,2))).useInsertionEffect&&(r||(r=n.t(i,2))).useInsertionEffect,a=o||function(e){return e()},s=o||i.useLayoutEffect},37125:(e,t,n)=>{"use strict";n.d(t,{Rk:()=>r,SF:()=>i,sk:()=>o});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var i=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},o=function(e,t,n){i(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}},72951:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var r=n(30538);function i(e){return e&&e.ownerDocument||document}var o=n(97282);const a=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function s(e){const t=[],n=[];return Array.from(e.querySelectorAll(a)).forEach(((e,r)=>{const i=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==i&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===i?t.push(e):n.push({documentOrder:r,tabIndex:i,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function l(){return!0}function c(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:a=!1,disableRestoreFocus:c=!1,getTabbable:u=s,isEnabled:d=l,open:h}=e,p=r.useRef(!1),f=r.useRef(null),g=r.useRef(null),m=r.useRef(null),y=r.useRef(null),v=r.useRef(!1),b=r.useRef(null),w=function(...e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(e,t)}))}),e)}(t.ref,b),x=r.useRef(null);r.useEffect((()=>{h&&b.current&&(v.current=!n)}),[n,h]),r.useEffect((()=>{if(!h||!b.current)return;const e=i(b.current);return b.current.contains(e.activeElement)||(b.current.hasAttribute("tabIndex")||b.current.setAttribute("tabIndex","-1"),v.current&&b.current.focus()),()=>{c||(m.current&&m.current.focus&&(p.current=!0,m.current.focus()),m.current=null)}}),[h]),r.useEffect((()=>{if(!h||!b.current)return;const e=i(b.current),t=t=>{x.current=t,!a&&d()&&"Tab"===t.key&&e.activeElement===b.current&&t.shiftKey&&(p.current=!0,g.current&&g.current.focus())},n=()=>{const t=b.current;if(null===t)return;if(!e.hasFocus()||!d()||p.current)return void(p.current=!1);if(t.contains(e.activeElement))return;if(a&&e.activeElement!==f.current&&e.activeElement!==g.current)return;if(e.activeElement!==y.current)y.current=null;else if(null!==y.current)return;if(!v.current)return;let n=[];if(e.activeElement!==f.current&&e.activeElement!==g.current||(n=u(b.current)),n.length>0){var r,i;const e=Boolean((null==(r=x.current)?void 0:r.shiftKey)&&"Tab"===(null==(i=x.current)?void 0:i.key)),t=n[0],o=n[n.length-1];"string"!=typeof t&&"string"!=typeof o&&(e?o.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,a,c,d,h,u]);const A=e=>{null===m.current&&(m.current=e.relatedTarget),v.current=!0};return(0,o.jsxs)(r.Fragment,{children:[(0,o.jsx)("div",{tabIndex:h?0:-1,onFocus:A,ref:f,"data-testid":"sentinelStart"}),r.cloneElement(t,{ref:w,onFocus:e=>{null===m.current&&(m.current=e.relatedTarget),v.current=!0,y.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,o.jsx)("div",{tabIndex:h?0:-1,onFocus:A,ref:g,"data-testid":"sentinelEnd"})]})}},10476:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward")},20138:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"m10 17 5-5-5-5z"}),"ArrowRight")},42053:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 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 12z"}),"Cancel")},76821:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft")},46740:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight")},82931:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M5 13h14v-2H5zm-2 4h14v-2H3zM7 7v2h14V7z"}),"ClearAll")},72651:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.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")},90395:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy")},41636:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M3 3h18v2H3zm0 16h18v2H3z"}),"DensityLarge")},97404:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M3 3h18v2H3zm0 16h18v2H3zm0-8h18v2H3z"}),"DensityMedium")},43036:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M3 2h18v2H3zm0 18h18v2H3zm0-6h18v2H3zm0-6h18v2H3z"}),"DensitySmall")},13955:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M20 9H4v2h16zM4 15h16v-2H4z"}),"DragHandle")},68650:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)([(0,o.jsx)("path",{d:"M8 8H6v7c0 1.1.9 2 2 2h9v-2H8z"},"0"),(0,o.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")},5299:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.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.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Edit")},89634:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},36738:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39c.51-.66.04-1.61-.79-1.61H5.04c-.83 0-1.3.95-.79 1.61"}),"FilterAlt")},63593:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"}),"FilterList")},96352:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M10.83 8H21V6H8.83zm5 5H18v-2h-4.17zM14 16.83V18h-4v-2h3.17l-3-3H6v-2h2.17l-3-3H3V6h.17L1.39 4.22 2.8 2.81l18.38 18.38-1.41 1.41z"}),"FilterListOff")},93422:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage")},49682:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z"}),"Fullscreen")},30386:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"}),"FullscreenExit")},82762:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)([(0,o.jsx)("path",{d:"M18 6.41 16.59 5 12 9.58 7.41 5 6 6.41l6 6z"},"0"),(0,o.jsx)("path",{d:"m18 13-1.41-1.41L12 16.17l-4.59-4.58L6 13l6 6z"},"1")],"KeyboardDoubleArrowDown")},99104:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage")},74442:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.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")},75393:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.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")},30336:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.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")},6473:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M12 5V2L8 6l4 4V7c3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93 0-4.42-3.58-8-8-8m-6 8c0-1.65.67-3.15 1.76-4.24L6.34 7.34C4.9 8.79 4 10.79 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91"}),"RestartAlt")},54958:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save")},46315:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.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")},18082:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.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 3 6.08 3 3.28 5.64 3.03 9h2.02C5.3 6.75 7.18 5 9.5 5 11.99 5 14 7.01 14 9.5S11.99 14 9.5 14c-.17 0-.33-.03-.5-.05v2.02c.17.02.33.03.5.03 1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19z"},"0"),(0,o.jsx)("path",{d:"M6.47 10.82 4 13.29l-2.47-2.47-.71.71L3.29 14 .82 16.47l.71.71L4 14.71l2.47 2.47.71-.71L4.71 14l2.47-2.47z"},"1")],"SearchOff")},84915:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M3 18h6v-2H3zM3 6v2h18V6zm0 7h12v-2H3z"}),"Sort")},6465:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"m18 12 4-4-4-4v3H3v2h15zM6 12l-4 4 4 4v-3h15v-2H6z"}),"SyncAlt")},5856:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.jsx)("path",{d:"M14.67 5v14H9.33V5zm1 14H21V5h-5.33zm-7.34 0V5H3v14z"}),"ViewColumn")},49330:(e,t,n)=>{"use strict";var r=n(67975);t.A=void 0;var i=r(n(8786)),o=n(97282);t.A=(0,i.default)((0,o.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")},81981:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack")},3856:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.jsx)("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward")},58541:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward")},45709:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.jsx)("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward")},65158:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.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")},24199:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.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")},69826:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.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-2m0 16H5V5h14zm-5.04-6.71-2.75 3.54-1.96-2.36L6.5 17h11z"}),"CropOriginal")},70200:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(30538);var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.jsx)("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub")},34730:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.jsx)("path",{d:"M21 6.5c-1.66 0-3 1.34-3 3 0 .07 0 .14.01.21l-2.03.68c-.64-1.21-1.82-2.09-3.22-2.32V5.91C14.04 5.57 15 4.4 15 3c0-1.66-1.34-3-3-3S9 1.34 9 3c0 1.4.96 2.57 2.25 2.91v2.16c-1.4.23-2.58 1.11-3.22 2.32l-2.04-.68C6 9.64 6 9.57 6 9.5c0-1.66-1.34-3-3-3s-3 1.34-3 3 1.34 3 3 3c1.06 0 1.98-.55 2.52-1.37l2.03.68c-.2 1.29.17 2.66 1.09 3.69l-1.41 1.77Q6.66 17 6 17c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3c0-.68-.22-1.3-.6-1.8l1.41-1.77c1.36.76 3.02.75 4.37 0l1.41 1.77c-.37.5-.59 1.12-.59 1.8 0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3c-.44 0-.85.09-1.23.26l-1.41-1.77c.93-1.04 1.29-2.4 1.09-3.69l2.03-.68c.53.82 1.46 1.37 2.52 1.37 1.66 0 3-1.34 3-3S22.66 6.5 21 6.5m-18 4c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1M6 21c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m5-18c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1m1 12c-1.38 0-2.5-1.12-2.5-2.5S10.62 10 12 10s2.5 1.12 2.5 2.5S13.38 15 12 15m6 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m3-8.5c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1"}),"HubOutlined")},1145:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.jsx)("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"InfoOutlined")},61555:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.jsx)("path",{d:"m11.99 18.54-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27zm0-11.47L17.74 9 12 13.47 6.26 9z"}),"LayersOutlined")},65981:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.jsx)("path",{d:"m20.5 3-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5M15 19l-6-2.11V5l6 2.11z"}),"Map")},16774:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.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")},33544:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.jsx)("path",{d:"M19.88 18.47c.44-.7.7-1.51.7-2.39 0-2.49-2.01-4.5-4.5-4.5s-4.5 2.01-4.5 4.5 2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21.58 23 23 21.58zm-3.8.11c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5m-.36-8.5c-.74.02-1.45.18-2.1.45l-.55-.83-3.8 6.18-3.01-3.52-3.63 5.81L1 17l5-8 3 3.5L13 6zm2.59.5c-.64-.28-1.33-.45-2.05-.49L21.38 2 23 3.18z"}),"QueryStats")},46066:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.jsx)("path",{d:"M11.07 12.85c.77-1.39 2.25-2.21 3.11-3.44.91-1.29.4-3.7-2.18-3.7-1.69 0-2.52 1.28-2.87 2.34L6.54 6.96C7.25 4.83 9.18 3 11.99 3c2.35 0 3.96 1.07 4.78 2.41.7 1.15 1.11 3.3.03 4.9-1.2 1.77-2.35 2.31-2.97 3.45-.25.46-.35.76-.35 2.24h-2.89c-.01-.78-.13-2.05.48-3.15M14 20c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2"}),"QuestionMark")},4998:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.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-2M5 4.99h3C8 6.65 6.66 8 5 8zM5 12v-2c2.76 0 5-2.25 5-5.01h2C12 8.86 8.87 12 5 12m0 6 3.5-4.5 2.5 3.01L14.5 12l4.5 6z"}),"Satellite")},13396:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.jsx)("path",{d:"M13 10h5l3-3-3-3h-5V2h-2v2H4v6h7v2H6l-3 3 3 3h5v4h2v-4h7v-6h-7z"}),"Signpost")},1078:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.jsx)("path",{d:"M2 20h20v-4H2zm2-3h2v2H4zM2 4v4h20V4zm4 3H4V5h2zm-4 7h20v-4H2zm2-3h2v2H4z"}),"Storage")},57114:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.jsx)("path",{d:"M19 7H9c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2m0 2v2H9V9zm-6 6v-2h2v2zm2 2v2h-2v-2zm-4-2H9v-2h2zm6-2h2v2h-2zm-8 4h2v2H9zm8 2v-2h2v2zM6 17H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2v1h-2V5H5v10h1z"}),"TableView")},8786:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(98677)},84681:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(30538),i=n(87286),o=n(61226),a=n(74183),s=n(60531),l=n(35905),c=n(97282);var u=n(8292),d=n(25971),h=n(82452);const p=(0,n(50190).A)("MuiBox",["root"]),f=(0,d.A)(),g=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:u="MuiBox-root",generateClassName:d}=e,h=(0,o.Ay)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(a.A);return r.forwardRef((function(e,r){const o=(0,l.A)(n),{className:a,component:p="div",...f}=(0,s.A)(e);return(0,c.jsx)(h,{as:p,ref:r,className:(0,i.A)(a,d?d(u):u),theme:t&&o[t]||o,...f})}))}({themeId:h.A,defaultTheme:f,defaultClassName:p.root,generateClassName:u.A.generate}),m=g},90233:(e,t,n)=>{"use strict";n.d(t,{A:()=>P});var r=n(30538),i=n(87286),o=n(47636),a=n(35540),s=n(96756),l=n(10649),c=n(51704),u=n(5974),d=n(70296);class h{static create(){return new h}static use(){const e=(0,d.A)(h.create).current,[t,n]=r.useState(!1);return e.shouldMount=t,e.setShouldMount=n,r.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return n.resolve=e,n.reject=t,n}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then((()=>this.ref.current?.start(...e)))}stop(...e){this.mount().then((()=>this.ref.current?.stop(...e)))}pulsate(...e){this.mount().then((()=>this.ref.current?.pulsate(...e)))}}var p=n(37091),f=n(58494),g=n(89881),m=n(97282);const y=function(e){const{className:t,classes:n,pulsate:o=!1,rippleX:a,rippleY:s,rippleSize:l,in:c,onExited:u,timeout:d}=e,[h,p]=r.useState(!1),f=(0,i.A)(t,n.ripple,n.rippleVisible,o&&n.ripplePulsate),g={width:l,height:l,top:-l/2+s,left:-l/2+a},y=(0,i.A)(n.child,h&&n.childLeaving,o&&n.childPulsate);return c||h||p(!0),r.useEffect((()=>{if(!c&&null!=u){const e=setTimeout(u,d);return()=>{clearTimeout(e)}}}),[u,c,d]),(0,m.jsx)("span",{className:f,style:g,children:(0,m.jsx)("span",{className:y})})};var v=n(50190);const b=(0,v.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),w=g.i7` +/*! Package:cgpv-main: 0.1.0 - "76146377418f2e66b143db03893f703846e7dbc8" - 2024-06-27T17:51:24.349Z */(()=>{var e,t,n,r={12347:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?u(w,--v):0,m--,10===b&&(m=1,g--),b}function C(){return b=v2||_(b)>3?"":" "}function L(e,t){for(;--t&&C()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return T(e,k()+(t<6&&32==E()&&32==C()))}function R(e){for(;C();)switch(b){case e:return v;case 34:case 39:34!==e&&39!==e&&R(b);break;case 40:41===e&&R(e);break;case 92:C()}return v}function j(e,t){for(;C()&&e+b!==57&&(e+b!==84||47!==E()););return"/*"+T(t,v-1)+"*"+i(47===e?e:C())}function F(e){for(;!_(E());)C();return T(e,v)}var D="-ms-",N="-moz-",z="-webkit-",B="comm",V="rule",$="decl",G="@keyframes";function U(e,t){for(var n="",r=p(e),o=0;o0&&h(N)-y&&f(b>32?X(N+";",r,n,y-1):X(l(N," ","")+";",r,n,y-2),p);break;case 59:N+=";";default:if(f(D=Y(N,t,n,g,m,o,d,O,P=[],R=[],y),a),123===_)if(0===m)H(N,t,D,D,P,a,y,d,R);else switch(99===v&&110===u(N,3)?100:v){case 100:case 108:case 109:case 115:H(e,D,D,r&&f(Y(e,D,D,0,0,o,d,O,o,P=[],y),R),o,R,y,d,r?P:R);break;default:H(N,D,D,D,[""],R,0,d,R)}}g=m=b=0,A=T=1,O=N="",y=s;break;case 58:y=1+h(N),b=w;default:if(A<1)if(123==_)--A;else if(125==_&&0==A++&&125==S())continue;switch(N+=i(_),_*A){case 38:T=m>0?1:(N+="\f",-1);break;case 44:d[g++]=(h(N)-1)*T,T=1;break;case 64:45===E()&&(N+=I(C())),v=E(),m=y=h(O=N+=F(k())),_++;break;case 45:45===w&&2==h(N)&&(A=0)}}return a}function Y(e,t,n,r,i,a,c,u,h,f,g){for(var m=i-1,y=0===i?a:[""],v=p(y),b=0,w=0,x=0;b0?y[S]+" "+C:l(C,/&\f/g,y[S])))&&(h[x++]=E);return A(e,t,n,0===i?V:u,h,f,g)}function K(e,t,n){return A(e,t,n,B,i(b),d(e,2,-2),0)}function X(e,t,n,r){return A(e,t,n,$,d(e,0,r),d(e,r+1,-1),r)}var Z=function(e,t,n){for(var r=0,o=0;r=o,o=E(),38===r&&12===o&&(t[n]=1),!_(o);)C();return T(e,v)},J=function(e,t){return P(function(e,t){var n=-1,r=44;do{switch(_(r)){case 0:38===r&&12===E()&&(t[n]=1),e[n]+=Z(v-1,t,n);break;case 2:e[n]+=I(r);break;case 4:if(44===r){e[++n]=58===E()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=C());return e}(O(e),t))},Q=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Q.get(n))&&!r){Q.set(e,!0);for(var o=[],i=J(t,o),a=n.props,s=0,l=0;s6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+N+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?ne(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,h(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+z)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(45===u(e,14)?"inline-":"")+"box$3$1"+z+"$2$3$1"+D+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return z+e+D+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return z+e+D+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return z+e+D+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return z+e+D+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case $:e.return=ne(e.value,e.length);break;case G:return U([x(e,{value:l(e.value,"@","@"+z)})],r);case V:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return U([x(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return U([x(e,{props:[l(t,/:(plac\w+)/,":"+z+"input-$1")]}),x(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),x(e,{props:[l(t,/:(plac\w+)/,D+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||re;var i,a,s={},l=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n{"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{A:()=>r})},36600:(e,t,n)=>{"use strict";n.d(t,{C:()=>s,T:()=>c,i:()=>i,w:()=>l});var r=n(30538),o=n(12347),i=(n(93372),n(88946),!0),a=r.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null);var s=a.Provider,l=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(a);return e(t,o,n)}))};i||(l=function(e){return function(t){var n=(0,r.useContext)(a);return null===n?(n=(0,o.A)({key:"css"}),r.createElement(a.Provider,{value:n},e(t,n))):e(t,n)}});var c=r.createContext({})},78766:(e,t,n)=>{"use strict";n.d(t,{AH:()=>c,i7:()=>u,mL:()=>l});var r=n(36600),o=n(30538),i=n(40106),a=n(88946),s=n(93372),l=(n(12347),n(78535),(0,r.w)((function(e,t){var n=e.styles,l=(0,s.J)([n],void 0,o.useContext(r.T));if(!r.i){for(var c,u=l.name,d=l.styles,h=l.next;void 0!==h;)u+=" "+h.name,d+=h.styles,h=h.next;var p=!0===t.compat,f=t.insert("",{name:u,styles:d},t.sheet,p);return p?null:o.createElement("style",((c={})["data-emotion"]=t.key+"-global "+u,c.dangerouslySetInnerHTML={__html:f},c.nonce=t.sheet.nonce,c))}var g=o.useRef();return(0,a.i)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),g.current=[n,r],function(){n.flush()}}),[t]),(0,a.i)((function(){var e=g.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==l.next&&(0,i.sk)(t,l.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",l,n,!1)}}),[t,l.name]),null})));function c(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";n.d(t,{J:()=>f});var r={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},o=n(48998),i=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},c=(0,o.A)((function(e){return s(e)?e:e.replace(i,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(a,(function(e,t,n){return h={name:t,styles:n,next:h},t}))}return 1===r[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return h={name:n.name,styles:n.styles,next:h},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)h={name:r.name,styles:r.styles,next:h},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:h}}},88946:(e,t,n)=>{"use strict";var r;n.d(t,{i:()=>s,s:()=>a});var o=n(30538),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(e){return e()},s=i||o.useLayoutEffect},40106:(e,t,n)=>{"use strict";n.d(t,{Rk:()=>r,SF:()=>o,sk:()=>i});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},82758:(e,t,n)=>{"use strict";n.d(t,{s:()=>u});var r=n(30538),o=n(4169),i=n(27443),a=n(97282);const s=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function l(e){const t=[],n=[];return Array.from(e.querySelectorAll(s)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function c(){return!0}function u(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:s=!1,disableRestoreFocus:u=!1,getTabbable:d=l,isEnabled:h=c,open:p}=e,f=r.useRef(!1),g=r.useRef(null),m=r.useRef(null),y=r.useRef(null),v=r.useRef(null),b=r.useRef(!1),w=r.useRef(null),A=(0,o.A)(t.ref,w),x=r.useRef(null);r.useEffect((()=>{p&&w.current&&(b.current=!n)}),[n,p]),r.useEffect((()=>{if(!p||!w.current)return;const e=(0,i.A)(w.current);return w.current.contains(e.activeElement)||(w.current.hasAttribute("tabIndex")||w.current.setAttribute("tabIndex","-1"),b.current&&w.current.focus()),()=>{u||(y.current&&y.current.focus&&(f.current=!0,y.current.focus()),y.current=null)}}),[p]),r.useEffect((()=>{if(!p||!w.current)return;const e=(0,i.A)(w.current),t=t=>{x.current=t,!s&&h()&&"Tab"===t.key&&e.activeElement===w.current&&t.shiftKey&&(f.current=!0,m.current&&m.current.focus())},n=()=>{const t=w.current;if(null===t)return;if(!e.hasFocus()||!h()||f.current)return void(f.current=!1);if(t.contains(e.activeElement))return;if(s&&e.activeElement!==g.current&&e.activeElement!==m.current)return;if(e.activeElement!==v.current)v.current=null;else if(null!==v.current)return;if(!b.current)return;let n=[];if(e.activeElement!==g.current&&e.activeElement!==m.current||(n=d(w.current)),n.length>0){var r,o;const e=Boolean((null==(r=x.current)?void 0:r.shiftKey)&&"Tab"===(null==(o=x.current)?void 0:o.key)),t=n[0],i=n[n.length-1];"string"!=typeof t&&"string"!=typeof i&&(e?i.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,s,u,h,p,d]);const S=e=>{null===y.current&&(y.current=e.relatedTarget),b.current=!0};return(0,a.jsxs)(r.Fragment,{children:[(0,a.jsx)("div",{tabIndex:p?0:-1,onFocus:S,ref:g,"data-testid":"sentinelStart"}),r.cloneElement(t,{ref:A,onFocus:e=>{null===y.current&&(y.current=e.relatedTarget),b.current=!0,v.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,a.jsx)("div",{tabIndex:p?0:-1,onFocus:S,ref:m,"data-testid":"sentinelEnd"})]})}},11956:(e,t,n)=>{"use strict";n.d(t,{x:()=>c});var r=n(30538),o=n(4169),i=n(34665),a=n(27443),s=n(97282);function l(e){return e.substring(2).toLowerCase()}function c(e){const{children:t,disableReactTree:n=!1,mouseEvent:c="onClick",onClickAway:u,touchEvent:d="onTouchEnd"}=e,h=r.useRef(!1),p=r.useRef(null),f=r.useRef(!1),g=r.useRef(!1);r.useEffect((()=>(setTimeout((()=>{f.current=!0}),0),()=>{f.current=!1})),[]);const m=(0,o.A)(t.ref,p),y=(0,i.A)((e=>{const t=g.current;g.current=!1;const r=(0,a.A)(p.current);if(!f.current||!p.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth-1:!r.documentElement.contains(e.target)||p.current.contains(e.target),o||!n&&t||u(e)})),v=e=>n=>{g.current=!0;const r=t.props[e];r&&r(n)},b={ref:m};return!1!==d&&(b[d]=v(d)),r.useEffect((()=>{if(!1!==d){const e=l(d),t=(0,a.A)(p.current),n=()=>{h.current=!0};return t.addEventListener(e,y),t.addEventListener("touchmove",n),()=>{t.removeEventListener(e,y),t.removeEventListener("touchmove",n)}}}),[y,d]),!1!==c&&(b[c]=v(c)),r.useEffect((()=>{if(!1!==c){const e=l(c),t=(0,a.A)(p.current);return t.addEventListener(e,y),()=>{t.removeEventListener(e,y)}}}),[y,c]),(0,s.jsx)(r.Fragment,{children:r.cloneElement(t,b)})}},52725:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});var r=n(64033),o=n(70692);function i(e,t,n){return void 0===e||(0,o.g)(e)?t:(0,r.A)({},t,{ownerState:(0,r.A)({},t.ownerState,n)})}},13015:(e,t,n)=>{"use strict";function r(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}n.d(t,{h:()=>r})},70692:(e,t,n)=>{"use strict";function r(e){return"string"==typeof e}n.d(t,{g:()=>r})},160:(e,t,n)=>{"use strict";n.d(t,{p:()=>s});var r=n(64033),o=n(87286),i=n(13015);function a(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}function s(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:s,externalForwardedProps:l,className:c}=e;if(!t){const e=(0,o.A)(null==n?void 0:n.className,c,null==l?void 0:l.className,null==s?void 0:s.className),t=(0,r.A)({},null==n?void 0:n.style,null==l?void 0:l.style,null==s?void 0:s.style),i=(0,r.A)({},n,l,s);return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const u=(0,i.h)((0,r.A)({},l,s)),d=a(s),h=a(l),p=t(u),f=(0,o.A)(null==p?void 0:p.className,null==n?void 0:n.className,c,null==l?void 0:l.className,null==s?void 0:s.className),g=(0,r.A)({},null==p?void 0:p.style,null==n?void 0:n.style,null==l?void 0:l.style,null==s?void 0:s.style),m=(0,r.A)({},p,n,h,d);return f.length>0&&(m.className=f),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:p.ref}}},21670:(e,t,n)=>{"use strict";function r(e,t,n){return"function"==typeof e?e(t,n):e}n.d(t,{Y:()=>r})},11894:(e,t,n)=>{"use strict";n.d(t,{Q:()=>u});var r=n(64033),o=n(74112),i=n(4169),a=n(52725),s=n(160),l=n(21670);const c=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function u(e){var t;const{elementType:n,externalSlotProps:u,ownerState:d,skipResolvingSlotProps:h=!1}=e,p=(0,o.A)(e,c),f=h?{}:(0,l.Y)(u,d),{props:g,internalRef:m}=(0,s.p)((0,r.A)({},p,{externalSlotProps:f})),y=(0,i.A)(m,null==f?void 0:f.ref,null==(t=e.additionalProps)?void 0:t.ref);return(0,a.X)(n,(0,r.A)({},g,{ref:y}),d)}},96764:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward")},79674:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"m10 17 5-5-5-5z"}),"ArrowRight")},88853:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 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 12z"}),"Cancel")},43653:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft")},63012:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight")},82307:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M5 13h14v-2H5zm-2 4h14v-2H3zM7 7v2h14V7z"}),"ClearAll")},25915:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.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")},45483:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"}),"ContentCopy")},64532:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M3 3h18v2H3zm0 16h18v2H3z"}),"DensityLarge")},44780:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M3 3h18v2H3zm0 16h18v2H3zm0-8h18v2H3z"}),"DensityMedium")},79084:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M3 2h18v2H3zm0 18h18v2H3zm0-6h18v2H3zm0-6h18v2H3z"}),"DensitySmall")},23859:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M20 9H4v2h16zM4 15h16v-2H4z"}),"DragHandle")},22938:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)([(0,i.jsx)("path",{d:"M8 8H6v7c0 1.1.9 2 2 2h9v-2H8z"},"0"),(0,i.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")},33219:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.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")},64690:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},51378:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39c.51-.66.04-1.61-.79-1.61H5.04c-.83 0-1.3.95-.79 1.61"}),"FilterAlt")},63097:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"}),"FilterList")},71216:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M10.83 8H21V6H8.83zm5 5H18v-2h-4.17zM14 16.83V18h-4v-2h3.17l-3-3H6v-2h2.17l-3-3H3V6h.17L1.39 4.22 2.8 2.81l18.38 18.38-1.41 1.41z"}),"FilterListOff")},93470:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M18.41 16.59 13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage")},32482:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z"}),"Fullscreen")},37634:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"}),"FullscreenExit")},2682:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)([(0,i.jsx)("path",{d:"M18 6.41 16.59 5 12 9.58 7.41 5 6 6.41l6 6z"},"0"),(0,i.jsx)("path",{d:"m18 13-1.41-1.41L12 16.17l-4.59-4.58L6 13l6 6z"},"1")],"KeyboardDoubleArrowDown")},94224:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M5.59 7.41 10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage")},81434:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.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")},64913:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.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")},53456:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.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")},32985:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M12 5V2L8 6l4 4V7c3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93 0-4.42-3.58-8-8-8m-6 8c0-1.65.67-3.15 1.76-4.24L6.34 7.34C4.9 8.79 4 10.79 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91"}),"RestartAlt")},74430:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save")},56091:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.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")},85042:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)([(0,i.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 3 6.08 3 3.28 5.64 3.03 9h2.02C5.3 6.75 7.18 5 9.5 5 11.99 5 14 7.01 14 9.5S11.99 14 9.5 14c-.17 0-.33-.03-.5-.05v2.02c.17.02.33.03.5.03 1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19z"},"0"),(0,i.jsx)("path",{d:"M6.47 10.82 4 13.29l-2.47-2.47-.71.71L3.29 14 .82 16.47l.71.71L4 14.71l2.47 2.47.71-.71L4.71 14l2.47-2.47z"},"1")],"SearchOff")},38371:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M3 18h6v-2H3zM3 6v2h18V6zm0 7h12v-2H3z"}),"Sort")},77521:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"m18 12 4-4-4-4v3H3v2h15zM6 12l-4 4 4 4v-3h15v-2H6z"}),"SyncAlt")},28912:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.jsx)("path",{d:"M14.67 5v14H9.33V5zm1 14H21V5h-5.33zm-7.34 0V5H3v14z"}),"ViewColumn")},54946:(e,t,n)=>{"use strict";var r=n(82155);t.A=void 0;var o=r(n(95938)),i=n(97282);t.A=(0,o.default)((0,i.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")},48333:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(91224),o=n(97282);const i=(0,r.A)((0,o.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"}),"ArrowBack")},2912:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(91224),o=n(97282);const i=(0,r.A)((0,o.jsx)("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"}),"ArrowDownward")},62621:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(91224),o=n(97282);const i=(0,r.A)((0,o.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward")},69309:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(91224),o=n(97282);const i=(0,r.A)((0,o.jsx)("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"}),"ArrowUpward")},84919:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(91224),o=n(97282);const i=(0,r.A)((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")},71944:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});n(30538);var r=n(91224),o=n(97282);const i=(0,r.A)((0,o.jsx)("path",{d:"M12 1.27a11 11 0 00-3.48 21.46c.55.09.73-.28.73-.55v-1.84c-3.03.64-3.67-1.46-3.67-1.46-.55-1.29-1.28-1.65-1.28-1.65-.92-.65.1-.65.1-.65 1.1 0 1.73 1.1 1.73 1.1.92 1.65 2.57 1.2 3.21.92a2 2 0 01.64-1.47c-2.47-.27-5.04-1.19-5.04-5.5 0-1.1.46-2.1 1.2-2.84a3.76 3.76 0 010-2.93s.91-.28 3.11 1.1c1.8-.49 3.7-.49 5.5 0 2.1-1.38 3.02-1.1 3.02-1.1a3.76 3.76 0 010 2.93c.83.74 1.2 1.74 1.2 2.94 0 4.21-2.57 5.13-5.04 5.4.45.37.82.92.82 2.02v3.03c0 .27.1.64.73.55A11 11 0 0012 1.27"}),"GitHub")},57338:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(91224),o=n(97282);const i=(0,r.A)((0,o.jsx)("path",{d:"M21 6.5c-1.66 0-3 1.34-3 3 0 .07 0 .14.01.21l-2.03.68c-.64-1.21-1.82-2.09-3.22-2.32V5.91C14.04 5.57 15 4.4 15 3c0-1.66-1.34-3-3-3S9 1.34 9 3c0 1.4.96 2.57 2.25 2.91v2.16c-1.4.23-2.58 1.11-3.22 2.32l-2.04-.68C6 9.64 6 9.57 6 9.5c0-1.66-1.34-3-3-3s-3 1.34-3 3 1.34 3 3 3c1.06 0 1.98-.55 2.52-1.37l2.03.68c-.2 1.29.17 2.66 1.09 3.69l-1.41 1.77C6.85 17.09 6.44 17 6 17c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3c0-.68-.22-1.3-.6-1.8l1.41-1.77c1.36.76 3.02.75 4.37 0l1.41 1.77c-.37.5-.59 1.12-.59 1.8 0 1.66 1.34 3 3 3s3-1.34 3-3-1.34-3-3-3c-.44 0-.85.09-1.23.26l-1.41-1.77c.93-1.04 1.29-2.4 1.09-3.69l2.03-.68c.53.82 1.46 1.37 2.52 1.37 1.66 0 3-1.34 3-3S22.66 6.5 21 6.5m-18 4c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1M6 21c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1m5-18c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1m1 12c-1.38 0-2.5-1.12-2.5-2.5S10.62 10 12 10s2.5 1.12 2.5 2.5S13.38 15 12 15m6 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m3-8.5c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1"}),"HubOutlined")},57769:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(91224),o=n(97282);const i=(0,r.A)((0,o.jsx)("path",{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"InfoOutlined")},8835:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(91224),o=n(97282);const i=(0,r.A)((0,o.jsx)("path",{d:"m11.99 18.54-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27zm0-11.47L17.74 9 12 13.47 6.26 9z"}),"LayersOutlined")},94445:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(91224),o=n(97282);const i=(0,r.A)((0,o.jsx)("path",{d:"m20.5 3-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5M15 19l-6-2.11V5l6 2.11z"}),"Map")},27896:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(91224),o=n(97282);const i=(0,r.A)((0,o.jsx)("path",{d:"M19.88 18.47c.44-.7.7-1.51.7-2.39 0-2.49-2.01-4.5-4.5-4.5s-4.5 2.01-4.5 4.5 2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21.58 23 23 21.58zm-3.8.11c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5m-.36-8.5c-.74.02-1.45.18-2.1.45l-.55-.83-3.8 6.18-3.01-3.52-3.63 5.81L1 17l5-8 3 3.5L13 6zm2.59.5c-.64-.28-1.33-.45-2.05-.49L21.38 2 23 3.18z"}),"QueryStats")},15938:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(91224),o=n(97282);const i=(0,r.A)((0,o.jsx)("path",{d:"M11.07 12.85c.77-1.39 2.25-2.21 3.11-3.44.91-1.29.4-3.7-2.18-3.7-1.69 0-2.52 1.28-2.87 2.34L6.54 6.96C7.25 4.83 9.18 3 11.99 3c2.35 0 3.96 1.07 4.78 2.41.7 1.15 1.11 3.3.03 4.9-1.2 1.77-2.35 2.31-2.97 3.45-.25.46-.35.76-.35 2.24h-2.89c-.01-.78-.13-2.05.48-3.15M14 20c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2"}),"QuestionMark")},37126:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(91224),o=n(97282);const i=(0,r.A)((0,o.jsx)("path",{d:"M2 20h20v-4H2zm2-3h2v2H4zM2 4v4h20V4zm4 3H4V5h2zm-4 7h20v-4H2zm2-3h2v2H4z"}),"Storage")},17130:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(91224),o=n(97282);const i=(0,r.A)((0,o.jsx)("path",{d:"M19 7H9c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2m0 2v2H9V9zm-6 6v-2h2v2zm2 2v2h-2v-2zm-4-2H9v-2h2zm6-2h2v2h-2zm-8 4h2v2H9zm8 2v-2h2v2zM6 17H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2v1h-2V5H5v10h1z"}),"TableView")},95938:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(40129)},66540:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(64033),o=n(74112),i=n(30538),a=n(87286),s=n(91661),l=n(21940),c=n(18114),u=n(58319),d=n(97282);const h=["className","component"];var p=n(78349),f=n(72061),g=n(17833);const m=(0,n(70715).A)("MuiBox",["root"]),y=(0,f.A)(),v=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:p="MuiBox-root",generateClassName:f}=e,g=(0,s.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(l.A);return i.forwardRef((function(e,i){const s=(0,u.A)(n),l=(0,c.A)(e),{className:m,component:y="div"}=l,v=(0,o.A)(l,h);return(0,d.jsx)(g,(0,r.A)({as:y,ref:i,className:(0,a.A)(m,f?f(p):p),theme:t&&s[t]||s},v))}))}({themeId:g.A,defaultTheme:y,defaultClassName:m.root,generateClassName:p.A.generate}),b=v},81645:(e,t,n)=>{"use strict";n.d(t,{A:()=>D});var r=n(64033),o=n(74112),i=n(30538),a=n(87286),s=n(67529),l=n(4433),c=n(96574),u=n(63371),d=n(42425),h=n(65930),p=n(37091),f=n(78766),g=n(55306),m=n(97282);const y=function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:s,rippleSize:l,in:c,onExited:u,timeout:d}=e,[h,p]=i.useState(!1),f=(0,a.A)(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),g={width:l,height:l,top:-l/2+s,left:-l/2+o},y=(0,a.A)(n.child,h&&n.childLeaving,r&&n.childPulsate);return c||h||p(!0),i.useEffect((()=>{if(!c&&null!=u){const e=setTimeout(u,d);return()=>{clearTimeout(e)}}}),[u,c,d]),(0,m.jsx)("span",{className:f,style:g,children:(0,m.jsx)("span",{className:y})})};var v=n(70715);const b=(0,v.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),w=["center","classes","className"];let A,x,S,C,E=e=>e;const k=(0,f.i7)(A||(A=E` 0% { transform: scale(0); opacity: 0.1; @@ -8,7 +8,7 @@ transform: scale(1); opacity: 0.3; } -`,x=g.i7` +`)),T=(0,f.i7)(x||(x=E` 0% { opacity: 1; } @@ -16,7 +16,7 @@ 100% { opacity: 0; } -`,A=g.i7` +`)),_=(0,f.i7)(S||(S=E` 0% { transform: scale(1); } @@ -28,23 +28,23 @@ 100% { transform: scale(1); } -`,S=(0,s.Ay)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),C=(0,s.Ay)(y,{name:"MuiTouchRipple",slot:"Ripple"})` +`)),O=(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"}),P=(0,l.Ay)(y,{name:"MuiTouchRipple",slot:"Ripple"})(C||(C=E` opacity: 0; position: absolute; - &.${b.rippleVisible} { + &.${0} { opacity: 0.3; transform: scale(1); - animation-name: ${w}; - animation-duration: ${550}ms; - animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; } - &.${b.ripplePulsate} { - animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms; + &.${0} { + animation-duration: ${0}ms; } - & .${b.child} { + & .${0} { opacity: 1; display: block; width: 100%; @@ -53,39 +53,31 @@ background-color: currentColor; } - & .${b.childLeaving} { + & .${0} { opacity: 0; - animation-name: ${x}; - animation-duration: ${550}ms; - animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; } - & .${b.childPulsate} { + & .${0} { position: absolute; /* @noflip */ left: 0px; top: 0; - animation-name: ${A}; + animation-name: ${0}; animation-duration: 2500ms; - animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; + animation-timing-function: ${0}; animation-iteration-count: infinite; animation-delay: 200ms; } -`,E=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:a={},className:s,...c}=n,[u,d]=r.useState([]),h=r.useRef(0),g=r.useRef(null);r.useEffect((()=>{g.current&&(g.current(),g.current=null)}),[u]);const y=r.useRef(!1),v=(0,f.A)(),w=r.useRef(null),x=r.useRef(null),A=r.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:s}=e;d((e=>[...e,(0,m.jsx)(C,{classes:{ripple:(0,i.A)(a.ripple,b.ripple),rippleVisible:(0,i.A)(a.rippleVisible,b.rippleVisible),ripplePulsate:(0,i.A)(a.ripplePulsate,b.ripplePulsate),child:(0,i.A)(a.child,b.child),childLeaving:(0,i.A)(a.childLeaving,b.childLeaving),childPulsate:(0,i.A)(a.childPulsate,b.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},h.current)])),h.current+=1,g.current=s}),[a]),E=r.useCallback(((e={},t={},n=()=>{})=>{const{pulsate:r=!1,center:i=o||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===e?.type&&y.current)return void(y.current=!1);"touchstart"===e?.type&&(y.current=!0);const s=a?null:x.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(n-l.top)}if(i)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}e?.touches?null===w.current&&(w.current=()=>{A({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})},v.start(80,(()=>{w.current&&(w.current(),w.current=null)}))):A({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})}),[o,A,v]),k=r.useCallback((()=>{E({},{pulsate:!0})}),[E]),T=r.useCallback(((e,t)=>{if(v.clear(),"touchend"===e?.type&&w.current)return w.current(),w.current=null,void v.start(0,(()=>{T(e,t)}));w.current=null,d((e=>e.length>0?e.slice(1):e)),g.current=t}),[v]);return r.useImperativeHandle(t,(()=>({pulsate:k,start:E,stop:T})),[k,E,T]),(0,m.jsx)(S,{className:(0,i.A)(b.root,a.root,s),ref:x,...c,children:(0,m.jsx)(p.A,{component:null,exit:!0,children:u})})}));var k=n(57638);function T(e){return(0,k.Ay)("MuiButtonBase",e)}const _=(0,v.A)("MuiButtonBase",["root","disabled","focusVisible"]),O=(0,s.Ay)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${_.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),P=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiButtonBase"}),{action:s,centerRipple:d=!1,children:p,className:f,component:g="button",disabled:y=!1,disableRipple:v=!1,disableTouchRipple:b=!1,focusRipple:w=!1,focusVisibleClassName:x,LinkComponent:A="a",onBlur:S,onClick:C,onContextMenu:k,onDragLeave:_,onFocus:P,onFocusVisible:I,onKeyDown:M,onKeyUp:L,onMouseDown:R,onMouseLeave:j,onMouseUp:F,onTouchEnd:D,onTouchMove:N,onTouchStart:B,tabIndex:z=0,TouchRippleProps:V,touchRippleRef:$,type:G,...U}=n,W=r.useRef(null),q=h.use(),H=(0,c.A)(q.ref,$),[Y,K]=r.useState(!1);y&&Y&&K(!1),r.useImperativeHandle(s,(()=>({focusVisible:()=>{K(!0),W.current.focus()}})),[]);const X=q.shouldMount&&!v&&!y;function Z(e,t,n=b){return(0,u.A)((r=>{t&&t(r);return n||q[e](r),!0}))}r.useEffect((()=>{Y&&w&&!v&&q.pulsate()}),[v,w,Y,q]);const J=Z("start",R),Q=Z("stop",k),ee=Z("stop",_),te=Z("stop",F),ne=Z("stop",(e=>{Y&&e.preventDefault(),j&&j(e)})),re=Z("start",B),ie=Z("stop",D),oe=Z("stop",N),ae=Z("stop",(e=>{(0,a.A)(e.target)||K(!1),S&&S(e)}),!1),se=(0,u.A)((e=>{W.current||(W.current=e.currentTarget),(0,a.A)(e.target)&&(K(!0),I&&I(e)),P&&P(e)})),le=()=>{const e=W.current;return g&&"button"!==g&&!("A"===e.tagName&&e.href)},ce=(0,u.A)((e=>{w&&!e.repeat&&Y&&" "===e.key&&q.stop(e,(()=>{q.start(e)})),e.target===e.currentTarget&&le()&&" "===e.key&&e.preventDefault(),M&&M(e),e.target===e.currentTarget&&le()&&"Enter"===e.key&&!y&&(e.preventDefault(),C&&C(e))})),ue=(0,u.A)((e=>{w&&" "===e.key&&Y&&!e.defaultPrevented&&q.stop(e,(()=>{q.pulsate(e)})),L&&L(e),C&&e.target===e.currentTarget&&le()&&" "===e.key&&!e.defaultPrevented&&C(e)}));let de=g;"button"===de&&(U.href||U.to)&&(de=A);const he={};"button"===de?(he.type=void 0===G?"button":G,he.disabled=y):(U.href||U.to||(he.role="button"),y&&(he["aria-disabled"]=y));const pe=(0,c.A)(t,W),fe={...n,centerRipple:d,component:g,disabled:y,disableRipple:v,disableTouchRipple:b,focusRipple:w,tabIndex:z,focusVisible:Y},ge=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,a={root:["root",t&&"disabled",n&&"focusVisible"]},s=(0,o.A)(a,T,i);return n&&r&&(s.root+=` ${r}`),s})(fe);return(0,m.jsxs)(O,{as:de,className:(0,i.A)(ge.root,f),ownerState:fe,onBlur:ae,onClick:C,onContextMenu:Q,onFocus:se,onKeyDown:ce,onKeyUp:ue,onMouseDown:J,onMouseLeave:ne,onMouseUp:te,onDragLeave:ee,onTouchEnd:ie,onTouchMove:oe,onTouchStart:re,ref:pe,tabIndex:y?-1:z,type:G,...he,...U,children:[p,X?(0,m.jsx)(E,{ref:H,center:d,...V}):null]})}))},37919:(e,t,n)=>{"use strict";n.d(t,{x:()=>u});var r=n(30538),i=n(78664),o=n(52728),a=n(15046),s=n(79938),l=n(97282);function c(e){return e.substring(2).toLowerCase()}function u(e){const{children:t,disableReactTree:n=!1,mouseEvent:u="onClick",onClickAway:d,touchEvent:h="onTouchEnd"}=e,p=r.useRef(!1),f=r.useRef(null),g=r.useRef(!1),m=r.useRef(!1);r.useEffect((()=>(setTimeout((()=>{g.current=!0}),0),()=>{g.current=!1})),[]);const y=(0,i.A)((0,s.A)(t),f),v=(0,o.A)((e=>{const t=m.current;m.current=!1;const r=(0,a.A)(f.current);if(!g.current||!f.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth-1:!r.documentElement.contains(e.target)||f.current.contains(e.target),i||!n&&t||d(e)})),b=e=>n=>{m.current=!0;const r=t.props[e];r&&r(n)},w={ref:y};return!1!==h&&(w[h]=b(h)),r.useEffect((()=>{if(!1!==h){const e=c(h),t=(0,a.A)(f.current),n=()=>{p.current=!0};return t.addEventListener(e,v),t.addEventListener("touchmove",n),()=>{t.removeEventListener(e,v),t.removeEventListener("touchmove",n)}}}),[v,h]),!1!==u&&(w[u]=b(u)),r.useEffect((()=>{if(!1!==u){const e=c(u),t=(0,a.A)(f.current);return t.addEventListener(e,v),()=>{t.removeEventListener(e,v)}}}),[v,u]),(0,l.jsx)(r.Fragment,{children:r.cloneElement(t,w)})}},82732:(e,t,n)=>{"use strict";n.d(t,{A:()=>S});var r=n(30538),i=n(87286),o=n(89272),a=n(58494),s=n(47636),l=n(96756),c=n(13679),u=n(51097),d=n(10649),h=n(95831),p=n(96406),f=n(51704),g=n(50190),m=n(57638);function y(e){return(0,m.Ay)("MuiCollapse",e)}(0,g.A)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var v=n(97282);const b=(0,l.Ay)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((0,u.A)((({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:e})=>"exited"===e.state&&!e.in&&"0px"===e.collapsedSize,style:{visibility:"hidden"}}]})))),w=(0,l.Ay)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),x=(0,l.Ay)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),A=r.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiCollapse"}),{addEndListener:l,children:u,className:g,collapsedSize:m="0px",component:A,easing:S,in:C,onEnter:E,onEntered:k,onEntering:T,onExit:_,onExited:O,onExiting:P,orientation:I="vertical",style:M,timeout:L=h.p0.standard,TransitionComponent:R=o.Ay,...j}=n,F={...n,orientation:I,collapsedSize:m},D=(e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return(0,s.A)(r,y,n)})(F),N=(0,c.A)(),B=(0,a.A)(),z=r.useRef(null),V=r.useRef(),$="number"==typeof m?`${m}px`:m,G="horizontal"===I,U=G?"width":"height",W=r.useRef(null),q=(0,f.A)(t,W),H=e=>t=>{if(e){const n=W.current;void 0===t?e(n):e(n,t)}},Y=()=>z.current?z.current[G?"clientWidth":"clientHeight"]:0,K=H(((e,t)=>{z.current&&G&&(z.current.style.position="absolute"),e.style[U]=$,E&&E(e,t)})),X=H(((e,t)=>{const n=Y();z.current&&G&&(z.current.style.position="");const{duration:r,easing:i}=(0,p.c)({style:M,timeout:L,easing:S},{mode:"enter"});if("auto"===L){const t=N.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,V.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[U]=`${n}px`,e.style.transitionTimingFunction=i,T&&T(e,t)})),Z=H(((e,t)=>{e.style[U]="auto",k&&k(e,t)})),J=H((e=>{e.style[U]=`${Y()}px`,_&&_(e)})),Q=H(O),ee=H((e=>{const t=Y(),{duration:n,easing:r}=(0,p.c)({style:M,timeout:L,easing:S},{mode:"exit"});if("auto"===L){const n=N.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,V.current=n}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[U]=$,e.style.transitionTimingFunction=r,P&&P(e)}));return(0,v.jsx)(R,{in:C,onEnter:K,onEntered:Z,onEntering:X,onExit:J,onExited:Q,onExiting:ee,addEndListener:e=>{"auto"===L&&B.start(V.current||0,e),l&&l(W.current,e)},nodeRef:W,timeout:"auto"===L?null:L,...j,children:(e,t)=>(0,v.jsx)(b,{as:A,className:(0,i.A)(D.root,g,{entered:D.entered,exited:!C&&"0px"===$&&D.hidden}[e]),style:{[G?"minWidth":"minHeight"]:$,...M},ref:q,...t,ownerState:{...F,state:e},children:(0,v.jsx)(w,{ownerState:{...F,state:e},className:D.wrapper,ref:z,children:(0,v.jsx)(x,{ownerState:{...F,state:e},className:D.wrapperInner,children:u})})})})}));A&&(A.muiSupportAuto=!0);const S=A},10649:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});n(30538);var r=n(88977);n(97282);function i(e){return(0,r.b)(e)}},5963:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(30538),i=n(87286),o=n(47636),a=n(55803),s=n(96756),l=n(51097),c=n(10649),u=n(62047),d=n(97282);const h=(0,s.Ay)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((0,l.A)((({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,a.X4)(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:e})=>!!e.children,style:{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:e})=>e.children&&"vertical"!==e.orientation,style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:e})=>"vertical"===e.orientation&&e.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:e})=>"right"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:e})=>"left"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]})))),p=(0,s.Ay)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((0,l.A)((({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]})))),f=r.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiDivider"}),{absolute:r=!1,children:a,className:s,orientation:l="horizontal",component:f=(a||"vertical"===l?"div":"hr"),flexItem:g=!1,light:m=!1,role:y=("hr"!==f?"separator":void 0),textAlign:v="center",variant:b="fullWidth",...w}=n,x={...n,absolute:r,component:f,flexItem:g,light:m,orientation:l,role:y,textAlign:v,variant:b},A=(e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:a,orientation:s,textAlign:l,variant:c}=e,d={root:["root",t&&"absolute",c,a&&"light","vertical"===s&&"vertical",i&&"flexItem",n&&"withChildren",n&&"vertical"===s&&"withChildrenVertical","right"===l&&"vertical"!==s&&"textAlignRight","left"===l&&"vertical"!==s&&"textAlignLeft"],wrapper:["wrapper","vertical"===s&&"wrapperVertical"]};return(0,o.A)(d,u.K,r)})(x);return(0,d.jsx)(h,{as:f,className:(0,i.A)(A.root,s),role:y,ref:t,ownerState:x,"aria-orientation":"separator"!==y||"hr"===f&&"vertical"!==l?void 0:l,...w,children:a?(0,d.jsx)(p,{className:A.wrapper,ownerState:x,children:a}):null})}));f&&(f.muiSkipListHighlight=!0);const g=f},62047:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,K:()=>o});var r=n(50190),i=n(57638);function o(e){return(0,i.Ay)("MuiDivider",e)}const a=(0,r.A)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"])},20785:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(30538),i=n(89272),o=n(79938),a=n(13679),s=n(96406),l=n(51704),c=n(97282);const u={entering:{opacity:1},entered:{opacity:1}},d=r.forwardRef((function(e,t){const n=(0,a.A)(),d={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:h,appear:p=!0,children:f,easing:g,in:m,onEnter:y,onEntered:v,onEntering:b,onExit:w,onExited:x,onExiting:A,style:S,timeout:C=d,TransitionComponent:E=i.Ay,...k}=e,T=r.useRef(null),_=(0,l.A)(T,(0,o.A)(f),t),O=e=>t=>{if(e){const n=T.current;void 0===t?e(n):e(n,t)}},P=O(b),I=O(((e,t)=>{(0,s.q)(e);const r=(0,s.c)({style:S,timeout:C,easing:g},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),y&&y(e,t)})),M=O(v),L=O(A),R=O((e=>{const t=(0,s.c)({style:S,timeout:C,easing:g},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),w&&w(e)})),j=O(x);return(0,c.jsx)(E,{appear:p,in:m,nodeRef:T,onEnter:I,onEntered:M,onEntering:P,onExit:R,onExited:j,onExiting:L,addEndListener:e=>{h&&h(T.current,e)},timeout:C,...k,children:(e,t)=>r.cloneElement(f,{style:{opacity:0,visibility:"exited"!==e||m?void 0:"hidden",...u[e],...S,...f.props.style},ref:_,...t})})}))},35199:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(30538),i=n(87286),o=n(47636),a=n(96756),s=n(10649),l=n(51767),c=n(84766),u=n(18747),d=n(31596),h=n(50190),p=n(57638);function f(e){return(0,p.Ay)("MuiFormControl",e)}(0,h.A)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var g=n(97282);const m=(0,a.Ay)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,...t[`margin${(0,c.A)(e.margin)}`],...e.fullWidth&&t.fullWidth})})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),y=r.forwardRef((function(e,t){const n=(0,s.b)({props:e,name:"MuiFormControl"}),{children:a,className:h,color:p="primary",component:y="div",disabled:v=!1,error:b=!1,focused:w,fullWidth:x=!1,hiddenLabel:A=!1,margin:S="none",required:C=!1,size:E="medium",variant:k="outlined",...T}=n,_={...n,color:p,component:y,disabled:v,error:b,fullWidth:x,hiddenLabel:A,margin:S,required:C,size:E,variant:k},O=(e=>{const{classes:t,margin:n,fullWidth:r}=e,i={root:["root","none"!==n&&`margin${(0,c.A)(n)}`,r&&"fullWidth"]};return(0,o.A)(i,f,t)})(_),[P,I]=r.useState((()=>{let e=!1;return a&&r.Children.forEach(a,(t=>{if(!(0,u.A)(t,["Input","Select"]))return;const n=(0,u.A)(t,["Select"])?t.props.input:t;n&&(0,l.gr)(n.props)&&(e=!0)})),e})),[M,L]=r.useState((()=>{let e=!1;return a&&r.Children.forEach(a,(t=>{(0,u.A)(t,["Input","Select"])&&((0,l.lq)(t.props,!0)||(0,l.lq)(t.props.inputProps,!0))&&(e=!0)})),e})),[R,j]=r.useState(!1);v&&R&&j(!1);const F=void 0===w||v?R:w;let D;const N=r.useMemo((()=>({adornedStart:P,setAdornedStart:I,color:p,disabled:v,error:b,filled:M,focused:F,fullWidth:x,hiddenLabel:A,size:E,onBlur:()=>{j(!1)},onEmpty:()=>{L(!1)},onFilled:()=>{L(!0)},onFocus:()=>{j(!0)},registerEffect:D,required:C,variant:k})),[P,p,v,b,M,F,x,A,D,C,E,k]);return(0,g.jsx)(d.A.Provider,{value:N,children:(0,g.jsx)(m,{as:y,ownerState:_,className:(0,i.A)(O.root,h),ref:t,...T,children:a})})}))},31596:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(30538).createContext(void 0)},40074:(e,t,n)=>{"use strict";function r({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}n.d(t,{A:()=>r})},18816:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(30538),i=n(31596);function o(){return r.useContext(i.A)}},64447:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(30538),i=n(58494),o=n(79938),a=n(89272),s=n(13679),l=n(96406),c=n(51704),u=n(97282);function d(e){return`scale(${e}, ${e**2})`}const h={entering:{opacity:1,transform:d(1)},entered:{opacity:1,transform:"none"}},p="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),f=r.forwardRef((function(e,t){const{addEndListener:n,appear:f=!0,children:g,easing:m,in:y,onEnter:v,onEntered:b,onEntering:w,onExit:x,onExited:A,onExiting:S,style:C,timeout:E="auto",TransitionComponent:k=a.Ay,...T}=e,_=(0,i.A)(),O=r.useRef(),P=(0,s.A)(),I=r.useRef(null),M=(0,c.A)(I,(0,o.A)(g),t),L=e=>t=>{if(e){const n=I.current;void 0===t?e(n):e(n,t)}},R=L(w),j=L(((e,t)=>{(0,l.q)(e);const{duration:n,delay:r,easing:i}=(0,l.c)({style:C,timeout:E,easing:m},{mode:"enter"});let o;"auto"===E?(o=P.transitions.getAutoHeightDuration(e.clientHeight),O.current=o):o=n,e.style.transition=[P.transitions.create("opacity",{duration:o,delay:r}),P.transitions.create("transform",{duration:p?o:.666*o,delay:r,easing:i})].join(","),v&&v(e,t)})),F=L(b),D=L(S),N=L((e=>{const{duration:t,delay:n,easing:r}=(0,l.c)({style:C,timeout:E,easing:m},{mode:"exit"});let i;"auto"===E?(i=P.transitions.getAutoHeightDuration(e.clientHeight),O.current=i):i=t,e.style.transition=[P.transitions.create("opacity",{duration:i,delay:n}),P.transitions.create("transform",{duration:p?i:.666*i,delay:p?n:n||.333*i,easing:r})].join(","),e.style.opacity=0,e.style.transform=d(.75),x&&x(e)})),B=L(A);return(0,u.jsx)(k,{appear:f,in:y,nodeRef:I,onEnter:j,onEntered:F,onEntering:R,onExit:N,onExited:B,onExiting:D,addEndListener:e=>{"auto"===E&&_.start(O.current||0,e),n&&n(I.current,e)},timeout:"auto"===E?null:E,...T,children:(e,t)=>r.cloneElement(g,{style:{opacity:0,transform:d(.75),visibility:"exited"!==e||y?void 0:"hidden",...h[e],...C,...g.props.style},ref:M,...t})})}));f&&(f.muiSupportAuto=!0);const g=f},76437:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(30538),i=n(87286),o=n(47636),a=n(55803),s=n(96756),l=n(51097),c=n(10649),u=n(90233),d=n(84766),h=n(50190),p=n(57638);function f(e){return(0,p.Ay)("MuiIconButton",e)}const g=(0,h.A)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]);var m=n(97282);const y=(0,s.Ay)(u.A,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,d.A)(n.color)}`],n.edge&&t[`edge${(0,d.A)(n.edge)}`],t[`size${(0,d.A)(n.size)}`]]}})((0,l.A)((({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:{disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,a.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]}))),(0,l.A)((({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))),...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,a.X4)((e.vars||e).palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}}}))),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${g.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})))),v=r.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiIconButton"}),{edge:r=!1,children:a,className:s,color:l="default",disabled:u=!1,disableFocusRipple:h=!1,disableRipple:p=!1,size:g="medium",...v}=n,b={...n,edge:r,color:l,disabled:u,disableFocusRipple:h,disableRipple:p,size:g},w=(e=>{const{classes:t,disabled:n,color:r,edge:i,size:a}=e,s={root:["root",n&&"disabled","default"!==r&&`color${(0,d.A)(r)}`,i&&`edge${(0,d.A)(i)}`,`size${(0,d.A)(a)}`]};return(0,o.A)(s,f,t)})(b);return(0,m.jsx)(y,{className:(0,i.A)(w.root,s),centerRipple:!0,focusRipple:!h,disabled:u,disableRipple:p,ref:t,...v,ownerState:b,children:a})}))},79955:(e,t,n)=>{"use strict";n.d(t,{ck:()=>M,Sh:()=>I,Ay:()=>R,Oj:()=>P,WC:()=>O});var r=n(23662),i=n(30538),o=n(87286),a=n(47636),s=n(78664),l=n(85790),c=n(56050),u=n(85774),d=n(97282);function h(e){return parseInt(e,10)||0}const p={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};const f=i.forwardRef((function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:a,value:f,...g}=e,{current:m}=i.useRef(null!=f),y=i.useRef(null),v=(0,s.A)(t,y),b=i.useRef(null),w=i.useRef(null),x=i.useCallback((()=>{const t=y.current,n=(0,l.A)(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0,overflowing:!1};const i=w.current;i.style.width=n.width,i.value=t.value||e.placeholder||"x","\n"===i.value.slice(-1)&&(i.value+=" ");const a=n.boxSizing,s=h(n.paddingBottom)+h(n.paddingTop),c=h(n.borderBottomWidth)+h(n.borderTopWidth),u=i.scrollHeight;i.value="x";const d=i.scrollHeight;let p=u;o&&(p=Math.max(Number(o)*d,p)),r&&(p=Math.min(Number(r)*d,p)),p=Math.max(p,d);return{outerHeightStyle:p+("border-box"===a?s+c:0),overflowing:Math.abs(p-u)<=1}}),[r,o,e.placeholder]),A=i.useCallback((()=>{const e=x();if(null==(t=e)||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflowing)return;var t;const n=e.outerHeightStyle,r=y.current;b.current!==n&&(b.current=n,r.style.height=`${n}px`),r.style.overflow=e.overflowing?"hidden":""}),[x]);(0,c.A)((()=>{const e=()=>{A()};let t;const n=(0,u.A)(e),r=y.current,i=(0,l.A)(r);let o;return i.addEventListener("resize",n),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(r)),()=>{n.clear(),cancelAnimationFrame(t),i.removeEventListener("resize",n),o&&o.disconnect()}}),[x,A]),(0,c.A)((()=>{A()}));return(0,d.jsxs)(i.Fragment,{children:[(0,d.jsx)("textarea",{value:f,onChange:e=>{m||A(),n&&n(e)},ref:v,rows:o,style:a,...g}),(0,d.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:w,tabIndex:-1,style:{...p,...a,paddingTop:0,paddingBottom:0}})]})}));var g,m=n(69839),y=n(40074),v=n(31596),b=n(18816),w=n(96756),x=n(75206),A=n(51097),S=n(10649),C=n(84766),E=n(51704),k=n(30294),T=n(51767),_=n(36947);const O=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${(0,C.A)(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},P=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},I=(0,w.Ay)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:O})((0,A.A)((({theme:e})=>({...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",[`&.${_.A.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]})))),M=(0,w.Ay)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:P})((0,A.A)((({theme:e})=>{const t="light"===e.palette.mode,n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{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%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${_.A.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${_.A.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}}))),L=(0,x.Dp)({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),R=i.forwardRef((function(e,t){const n=(0,S.b)({props:e,name:"MuiInputBase"}),{"aria-describedby":s,autoComplete:l,autoFocus:c,className:u,color:h,components:p={},componentsProps:w={},defaultValue:x,disabled:A,disableInjectingGlobalStyles:O,endAdornment:P,error:R,fullWidth:j=!1,id:F,inputComponent:D="input",inputProps:N={},inputRef:B,margin:z,maxRows:V,minRows:$,multiline:G=!1,name:U,onBlur:W,onChange:q,onClick:H,onFocus:Y,onKeyDown:K,onKeyUp:X,placeholder:Z,readOnly:J,renderSuffix:Q,rows:ee,size:te,slotProps:ne={},slots:re={},startAdornment:ie,type:oe="text",value:ae,...se}=n,le=null!=N.value?N.value:ae,{current:ce}=i.useRef(null!=le),ue=i.useRef(),de=i.useCallback((e=>{0}),[]),he=(0,E.A)(ue,B,N.ref,de),[pe,fe]=i.useState(!1),ge=(0,b.A)();const me=(0,y.A)({props:n,muiFormControl:ge,states:["color","disabled","error","hiddenLabel","size","required","filled"]});me.focused=ge?ge.focused:pe,i.useEffect((()=>{!ge&&A&&pe&&(fe(!1),W&&W())}),[ge,A,pe,W]);const ye=ge&&ge.onFilled,ve=ge&&ge.onEmpty,be=i.useCallback((e=>{(0,T.lq)(e)?ye&&ye():ve&&ve()}),[ye,ve]);(0,k.A)((()=>{ce&&be({value:le})}),[le,be,ce]);i.useEffect((()=>{be(ue.current)}),[]);let we=D,xe=N;G&&"input"===we&&(xe=ee?{type:void 0,minRows:ee,maxRows:ee,...xe}:{type:void 0,maxRows:V,minRows:$,...xe},we=f);i.useEffect((()=>{ge&&ge.setAdornedStart(Boolean(ie))}),[ge,ie]);const Ae={...n,color:me.color||"primary",disabled:me.disabled,endAdornment:P,error:me.error,focused:me.focused,formControl:ge,fullWidth:j,hiddenLabel:me.hiddenLabel,multiline:G,size:me.size,startAdornment:ie,type:oe},Se=(e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:o,focused:s,formControl:l,fullWidth:c,hiddenLabel:u,multiline:d,readOnly:h,size:p,startAdornment:f,type:g}=e,m={root:["root",`color${(0,C.A)(n)}`,r&&"disabled",i&&"error",c&&"fullWidth",s&&"focused",l&&"formControl",p&&"medium"!==p&&`size${(0,C.A)(p)}`,d&&"multiline",f&&"adornedStart",o&&"adornedEnd",u&&"hiddenLabel",h&&"readOnly"],input:["input",r&&"disabled","search"===g&&"inputTypeSearch",d&&"inputMultiline","small"===p&&"inputSizeSmall",u&&"inputHiddenLabel",f&&"inputAdornedStart",o&&"inputAdornedEnd",h&&"readOnly"]};return(0,a.A)(m,_.g,t)})(Ae),Ce=re.root||p.Root||I,Ee=ne.root||w.root||{},ke=re.input||p.Input||M;return xe={...xe,...ne.input??w.input},(0,d.jsxs)(i.Fragment,{children:[!O&&"function"==typeof L&&(g||(g=(0,d.jsx)(L,{}))),(0,d.jsxs)(Ce,{...Ee,ref:t,onClick:e=>{ue.current&&e.currentTarget===e.target&&ue.current.focus(),H&&H(e)},...se,...!(0,m.A)(Ce)&&{ownerState:{...Ae,...Ee.ownerState}},className:(0,o.A)(Se.root,Ee.className,u,J&&"MuiInputBase-readOnly"),children:[ie,(0,d.jsx)(v.A.Provider,{value:null,children:(0,d.jsx)(ke,{"aria-invalid":me.error,"aria-describedby":s,autoComplete:l,autoFocus:c,defaultValue:x,disabled:me.disabled,id:F,onAnimationStart:e=>{be("mui-auto-fill-cancel"===e.animationName?ue.current:{value:"x"})},name:U,placeholder:Z,readOnly:J,required:me.required,rows:ee,value:le,onKeyDown:K,onKeyUp:X,type:oe,...xe,...!(0,m.A)(ke)&&{as:we,ownerState:{...Ae,...xe.ownerState}},ref:he,className:(0,o.A)(Se.input,xe.className,J&&"MuiInputBase-readOnly"),onBlur:e=>{W&&W(e),N.onBlur&&N.onBlur(e),ge&&ge.onBlur?ge.onBlur(e):fe(!1)},onChange:(e,...t)=>{if(!ce){const t=e.target||ue.current;if(null==t)throw new Error((0,r.A)(1));be({value:t.value})}N.onChange&&N.onChange(e,...t),q&&q(e,...t)},onFocus:e=>{Y&&Y(e),N.onFocus&&N.onFocus(e),ge&&ge.onFocus?ge.onFocus(e):fe(!0)}})}),P,Q?Q({...me,startAdornment:ie}):null]})]})}))},36947:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,g:()=>o});var r=n(50190),i=n(57638);function o(e){return(0,i.Ay)("MuiInputBase",e)}const a=(0,r.A)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"])},51767:(e,t,n)=>{"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function i(e,t=!1){return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function o(e){return e.startAdornment}n.d(t,{gr:()=>o,lq:()=>i})},41413:(e,t,n)=>{"use strict";n.d(t,{A:()=>S});var r=n(30538),i=n(47636),o=n(87286),a=n(40074),s=n(18816),l=n(84766),c=n(96756),u=n(51097),d=n(10649),h=n(50190),p=n(57638);function f(e){return(0,p.Ay)("MuiFormLabel",e)}const g=(0,h.A)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);var m=n(97282);const y=(0,c.Ay)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>({...t.root,..."secondary"===e.color&&t.colorSecondary,...e.filled&&t.filled})})((0,u.A)((({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{[`&.${g.focused}`]:{color:(e.vars||e).palette[t].main}}}))),{props:{},style:{[`&.${g.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${g.error}`]:{color:(e.vars||e).palette.error.main}}}]})))),v=(0,c.Ay)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((0,u.A)((({theme:e})=>({[`&.${g.error}`]:{color:(e.vars||e).palette.error.main}})))),b=r.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiFormLabel"}),{children:r,className:c,color:u,component:h="label",disabled:p,error:g,filled:b,focused:w,required:x,...A}=n,S=(0,s.A)(),C=(0,a.A)({props:n,muiFormControl:S,states:["color","required","focused","disabled","error","filled"]}),E={...n,color:C.color||"primary",component:h,disabled:C.disabled,error:C.error,filled:C.filled,focused:C.focused,required:C.required},k=(e=>{const{classes:t,color:n,focused:r,disabled:o,error:a,filled:s,required:c}=e,u={root:["root",`color${(0,l.A)(n)}`,o&&"disabled",a&&"error",s&&"filled",r&&"focused",c&&"required"],asterisk:["asterisk",a&&"error"]};return(0,i.A)(u,f,t)})(E);return(0,m.jsxs)(y,{as:h,ownerState:E,className:(0,o.A)(k.root,c),ref:t,...A,children:[r,C.required&&(0,m.jsxs)(v,{ownerState:E,"aria-hidden":!0,className:k.asterisk,children:[" ","*"]})]})}));var w=n(63374);function x(e){return(0,p.Ay)("MuiInputLabel",e)}(0,h.A)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const A=(0,c.Ay)(b,{shouldForwardProp:e=>(0,w.A)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${g.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})((0,u.A)((({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:e})=>e.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:e})=>e.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:e,ownerState:t})=>"filled"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:e,ownerState:t,size:n})=>"filled"===e&&t.shrink&&"small"===n,style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:e,ownerState:t})=>"outlined"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]})))),S=r.forwardRef((function(e,t){const n=(0,d.b)({name:"MuiInputLabel",props:e}),{disableAnimation:r=!1,margin:c,shrink:u,variant:h,className:p,...f}=n,g=(0,s.A)();let y=u;void 0===y&&g&&(y=g.filled||g.focused||g.adornedStart);const v=(0,a.A)({props:n,muiFormControl:g,states:["size","variant","required","focused"]}),b={...n,disableAnimation:r,formControl:g,shrink:y,size:v.size,variant:v.variant,required:v.required,focused:v.focused},w=(e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:a,variant:s,required:c}=e,u={root:["root",n&&"formControl",!a&&"animated",o&&"shrink",r&&"normal"!==r&&`size${(0,l.A)(r)}`,s],asterisk:[c&&"asterisk"]},d=(0,i.A)(u,x,t);return{...t,...d}})(b);return(0,m.jsx)(A,{"data-shrink":y,ref:t,className:(0,o.A)(w.root,p),...f,ownerState:b,classes:w})}))},90139:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(30538),i=n(47636),o=n(37958),a=n(79955),s=n(63374),l=n(96756),c=n(51097),u=n(10649),d=n(94287),h=n(97282);const p=(0,l.Ay)(a.Sh,{shouldForwardProp:e=>(0,s.A)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...(0,a.WC)(e,t),!n.disableUnderline&&t.underline]}})((0,c.A)((({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:e})=>e.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{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"},[`&.${d.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${d.A.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${d.A.disabled}, .${d.A.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${d.A.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}})))]}}))),f=(0,l.Ay)(a.ck,{name:"MuiInput",slot:"Input",overridesResolver:a.Oj})({}),g=r.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiInput"}),{disableUnderline:r=!1,components:s={},componentsProps:l,fullWidth:c=!1,inputComponent:g="input",multiline:m=!1,slotProps:y,slots:v={},type:b="text",...w}=n,x=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},o=(0,i.A)(r,d.B,t);return{...t,...o}})(n),A={root:{ownerState:{disableUnderline:r}}},S=y??l?(0,o.A)(y??l,A):A,C=v.root??s.Root??p,E=v.input??s.Input??f;return(0,h.jsx)(a.Ay,{slots:{root:C,input:E},slotProps:S,fullWidth:c,inputComponent:g,multiline:m,ref:t,type:b,...w,classes:x})}));g&&(g.muiName="Input");const m=g},94287:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,B:()=>o});var r=n(50190),i=n(57638);function o(e){return(0,i.Ay)("MuiInput",e)}const a={...n(36947).A,...(0,r.A)("MuiInput",["root","underline","input"])}},92837:(e,t,n)=>{"use strict";n.d(t,{A:()=>S});var r=n(30538),i=n(87286),o=n(55803),a=n(47636),s=n(35540),l=n(84766),c=n(96756),u=n(13679),d=n(51097),h=n(10649),p=n(71731),f=n(50190),g=n(57638);function m(e){return(0,g.Ay)("MuiLink",e)}const y=(0,f.A)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var v=n(73847);const b=({theme:e,ownerState:t})=>{const n=t.color,r=(0,v.Yn)(e,`palette.${n}`,!1)||t.color,i=(0,v.Yn)(e,`palette.${n}Channel`);return"vars"in e&&i?`rgba(${i} / 0.4)`:(0,o.X4)(r,.4)};var w=n(97282);const x={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},A=(0,c.Ay)(p.A,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${(0,l.A)(n.underline)}`],"button"===n.component&&t.button]}})((0,d.A)((({theme:e})=>({variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:({underline:e,ownerState:t})=>"always"===e&&"inherit"!==t.color,style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{underline:"always",color:t},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.4)`:(0,o.X4)(e.palette[t].main,.4)}}))),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,o.X4)(e.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":e.vars?`rgba(${e.vars.palette.text.secondaryChannel} / 0.4)`:(0,o.X4)(e.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(e.vars||e).palette.text.disabled}},{props:{component:"button"},style:{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"},[`&.${y.focusVisible}`]:{outline:"auto"}}}]})))),S=r.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiLink"}),o=(0,u.A)(),{className:c,color:d="primary",component:p="a",onBlur:f,onFocus:g,TypographyClasses:y,underline:v="always",variant:S="inherit",sx:C,...E}=n,[k,T]=r.useState(!1),_={...n,color:d,component:p,focusVisible:k,underline:v,variant:S},O=(e=>{const{classes:t,component:n,focusVisible:r,underline:i}=e,o={root:["root",`underline${(0,l.A)(i)}`,"button"===n&&"button",r&&"focusVisible"]};return(0,a.A)(o,m,t)})(_);return(0,w.jsx)(A,{color:d,className:(0,i.A)(O.root,c),classes:y,component:p,onBlur:e=>{(0,s.A)(e.target)||T(!1),f&&f(e)},onFocus:e=>{(0,s.A)(e.target)&&T(!0),g&&g(e)},ref:t,ownerState:_,variant:S,...E,sx:[...void 0===x[d]?[{color:d}]:[],...Array.isArray(C)?C:[C]],style:{...E.style,..."always"===v&&"inherit"!==d&&!x[d]&&{"--Link-underlineColor":b({theme:o,ownerState:_})}}})}))},34107:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,Y:()=>o});var r=n(50190),i=n(57638);function o(e){return(0,i.Ay)("MuiListItemButton",e)}const a=(0,r.A)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"])},36309:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(30538),i=n(87286),o=n(47636),a=n(96756),s=n(51097),l=n(10649),c=n(73805),u=n(80902),d=n(97282);const h=(0,a.Ay)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((0,s.A)((({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]})))),p=r.forwardRef((function(e,t){const n=(0,l.b)({props:e,name:"MuiListItemIcon"}),{className:a,...s}=n,p=r.useContext(u.A),f={...n,alignItems:p.alignItems},g=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,o.A)(r,c.f,n)})(f);return(0,d.jsx)(h,{className:(0,i.A)(g.root,a),ownerState:f,ref:t,...s})}))},73805:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,f:()=>o});var r=n(50190),i=n(57638);function o(e){return(0,i.Ay)("MuiListItemIcon",e)}const a=(0,r.A)("MuiListItemIcon",["root","alignItemsFlexStart"])},42157:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,b:()=>o});var r=n(50190),i=n(57638);function o(e){return(0,i.Ay)("MuiListItemText",e)}const a=(0,r.A)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"])},21766:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>C});var r=n(30538),i=n(87286),o=n(47636),a=n(69839),s=n(96756),l=n(51097),c=n(10649),u=n(18747),d=n(51704),h=n(80902),p=n(50190),f=n(57638);function g(e){return(0,f.Ay)("MuiListItem",e)}(0,p.A)("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);var m=n(34107);function y(e){return(0,f.Ay)("MuiListItemSecondaryAction",e)}(0,p.A)("MuiListItemSecondaryAction",["root","disableGutters"]);var v=n(97282);const b=(0,s.Ay)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),w=r.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiListItemSecondaryAction"}),{className:a,...s}=n,l=r.useContext(h.A),u={...n,disableGutters:l.disableGutters},d=(e=>{const{disableGutters:t,classes:n}=e,r={root:["root",t&&"disableGutters"]};return(0,o.A)(r,y,n)})(u);return(0,v.jsx)(b,{className:(0,i.A)(d.root,a),ownerState:u,ref:t,...s})}));w.muiName="ListItemSecondaryAction";const x=w,A=(0,s.Ay)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]}})((0,l.A)((({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>!e.disablePadding&&e.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:e})=>!e.disablePadding&&!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>!e.disablePadding&&!!e.secondaryAction,style:{paddingRight:48}},{props:({ownerState:e})=>!!e.secondaryAction,style:{[`& > .${m.A.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>e.button,style:{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"}}}},{props:({ownerState:e})=>e.hasSecondaryAction,style:{paddingRight:48}}]})))),S=(0,s.Ay)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),C=r.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiListItem"}),{alignItems:s="center",children:l,className:p,component:f,components:m={},componentsProps:y={},ContainerComponent:b="li",ContainerProps:{className:w,...C}={},dense:E=!1,disableGutters:k=!1,disablePadding:T=!1,divider:_=!1,secondaryAction:O,slotProps:P={},slots:I={},...M}=n,L=r.useContext(h.A),R=r.useMemo((()=>({dense:E||L.dense||!1,alignItems:s,disableGutters:k})),[s,L.dense,E,k]),j=r.useRef(null),F=r.Children.toArray(l),D=F.length&&(0,u.A)(F[F.length-1],["ListItemSecondaryAction"]),N={...n,alignItems:s,dense:R.dense,disableGutters:k,disablePadding:T,divider:_,hasSecondaryAction:D},B=(e=>{const{alignItems:t,classes:n,dense:r,disableGutters:i,disablePadding:a,divider:s,hasSecondaryAction:l}=e,c={root:["root",r&&"dense",!i&&"gutters",!a&&"padding",s&&"divider","flex-start"===t&&"alignItemsFlexStart",l&&"secondaryAction"],container:["container"]};return(0,o.A)(c,g,n)})(N),z=(0,d.A)(j,t),V=I.root||m.Root||A,$=P.root||y.root||{},G={className:(0,i.A)(B.root,$.className,p),...M};let U=f||"li";return D?(U=G.component||f?U:"div","li"===b&&("li"===U?U="div":"li"===G.component&&(G.component="div")),(0,v.jsx)(h.A.Provider,{value:R,children:(0,v.jsxs)(S,{as:b,className:(0,i.A)(B.container,w),ref:z,ownerState:N,...C,children:[(0,v.jsx)(V,{...$,...!(0,a.A)(V)&&{as:U,ownerState:{...N,...$.ownerState}},...G,children:F}),F.pop()]})})):(0,v.jsx)(h.A.Provider,{value:R,children:(0,v.jsxs)(V,{...$,as:U,ref:z,...!(0,a.A)(V)&&{ownerState:{...N,...$.ownerState}},...G,children:[F,O&&(0,v.jsx)(x,{children:O})]})})}))},59483:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(30538),i=n(87286),o=n(47636),a=n(96756),s=n(10649),l=n(80902),c=n(50190),u=n(57638);function d(e){return(0,u.Ay)("MuiList",e)}(0,c.A)("MuiList",["root","padding","dense","subheader"]);var h=n(97282);const p=(0,a.Ay)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),f=r.forwardRef((function(e,t){const n=(0,s.b)({props:e,name:"MuiList"}),{children:a,className:c,component:u="ul",dense:f=!1,disablePadding:g=!1,subheader:m,...y}=n,v=r.useMemo((()=>({dense:f})),[f]),b={...n,component:u,dense:f,disablePadding:g},w=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:i}=e,a={root:["root",!n&&"padding",r&&"dense",i&&"subheader"]};return(0,o.A)(a,d,t)})(b);return(0,h.jsx)(l.A.Provider,{value:v,children:(0,h.jsxs)(p,{as:u,className:(0,i.A)(w.root,c),ref:t,ownerState:b,...y,children:[m,a]})})}))},80902:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(30538).createContext({})},14475:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>g,nE:()=>p,y3:()=>d});var r=n(30538),i=n(87286),o=n(47636),a=n(84766),s=n(20123),l=n(96756),c=n(63374),u=n(97282);const d=(0,l.Ay)("select")((({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${s.A.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:e})=>"filled"!==e.variant&&"outlined"!==e.variant,style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]}))),h=(0,l.Ay)(d,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:c.A,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${s.A.multiple}`]:t.multiple}]}})({}),p=(0,l.Ay)("svg")((({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${s.A.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]}))),f=(0,l.Ay)(p,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${(0,a.A)(n.variant)}`],n.open&&t.iconOpen]}})({}),g=r.forwardRef((function(e,t){const{className:n,disabled:l,error:c,IconComponent:d,inputRef:p,variant:g="standard",...m}=e,y={...e,disabled:l,variant:g,error:c},v=(e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:l,error:c}=e,u={select:["select",n,r&&"disabled",i&&"multiple",c&&"error"],icon:["icon",`icon${(0,a.A)(n)}`,l&&"iconOpen",r&&"disabled"]};return(0,o.A)(u,s.w,t)})(y);return(0,u.jsxs)(r.Fragment,{children:[(0,u.jsx)(h,{ownerState:y,className:(0,i.A)(v.select,n),disabled:l,ref:p||t,...m}),e.multiple?null:(0,u.jsx)(f,{as:d,ownerState:y,className:v.icon})]})}))},20123:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,w:()=>o});var r=n(50190),i=n(57638);function o(e){return(0,i.Ay)("MuiNativeSelect",e)}const a=(0,r.A)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"])},82335:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(30538),i=n(87286),o=n(47636),a=n(55803),s=n(96756),l=n(13679),c=n(51097),u=n(10649),d=n(21011),h=n(50190),p=n(57638);function f(e){return(0,p.Ay)("MuiPaper",e)}(0,h.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=n(97282);const m=(0,s.Ay)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((0,c.A)((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]})))),y=r.forwardRef((function(e,t){const n=(0,u.b)({props:e,name:"MuiPaper"}),r=(0,l.A)(),{className:s,component:c="div",elevation:h=1,square:p=!1,variant:y="elevation",...v}=n,b={...n,component:c,elevation:h,square:p,variant:y},w=(e=>{const{square:t,elevation:n,variant:r,classes:i}=e,a={root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]};return(0,o.A)(a,f,i)})(b);return(0,g.jsx)(m,{as:c,ownerState:b,className:(0,i.A)(w.root,s),ref:t,...v,style:{..."elevation"===y&&{"--Paper-shadow":(r.vars||r).shadows[h],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[h]},...!r.vars&&"dark"===r.palette.mode&&{"--Paper-overlay":`linear-gradient(${(0,a.X4)("#fff",(0,d.A)(h))}, ${(0,a.X4)("#fff",(0,d.A)(h))})`}},...v.style}})}))},36832:(e,t,n)=>{"use strict";n.d(t,{A:()=>De});var r=n(56),i=n(30538),o=n(78664),a=n(56050),s=n(15046);function l(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function c(e){return e instanceof l(e).Element||e instanceof Element}function u(e){return e instanceof l(e).HTMLElement||e instanceof HTMLElement}function d(e){return"undefined"!=typeof ShadowRoot&&(e instanceof l(e).ShadowRoot||e instanceof ShadowRoot)}var h=Math.max,p=Math.min,f=Math.round;function g(){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 m(){return!/^((?!chrome|android).)*safari/i.test(g())}function y(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&u(e)&&(i=e.offsetWidth>0&&f(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&f(r.height)/e.offsetHeight||1);var a=(c(e)?l(e):window).visualViewport,s=!m()&&n,d=(r.left+(s&&a?a.offsetLeft:0))/i,h=(r.top+(s&&a?a.offsetTop:0))/o,p=r.width/i,g=r.height/o;return{width:p,height:g,top:h,right:d+p,bottom:h+g,left:d,x:d,y:h}}function v(e){var t=l(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function b(e){return e?(e.nodeName||"").toLowerCase():null}function w(e){return((c(e)?e.ownerDocument:e.document)||window.document).documentElement}function x(e){return y(w(e)).left+v(e).scrollLeft}function A(e){return l(e).getComputedStyle(e)}function S(e){var t=A(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function C(e,t,n){void 0===n&&(n=!1);var r,i,o=u(t),a=u(t)&&function(e){var t=e.getBoundingClientRect(),n=f(t.width)/e.offsetWidth||1,r=f(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=w(t),c=y(e,a,n),d={scrollLeft:0,scrollTop:0},h={x:0,y:0};return(o||!o&&!n)&&(("body"!==b(t)||S(s))&&(d=(r=t)!==l(r)&&u(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:v(r)),u(t)?((h=y(t,!0)).x+=t.clientLeft,h.y+=t.clientTop):s&&(h.x=x(s))),{x:c.left+d.scrollLeft-h.x,y:c.top+d.scrollTop-h.y,width:c.width,height:c.height}}function E(e){var t=y(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function k(e){return"html"===b(e)?e:e.assignedSlot||e.parentNode||(d(e)?e.host:null)||w(e)}function T(e){return["html","body","#document"].indexOf(b(e))>=0?e.ownerDocument.body:u(e)&&S(e)?e:T(k(e))}function _(e,t){var n;void 0===t&&(t=[]);var r=T(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=l(r),a=i?[o].concat(o.visualViewport||[],S(r)?r:[]):r,s=t.concat(a);return i?s:s.concat(_(k(a)))}function O(e){return["table","td","th"].indexOf(b(e))>=0}function P(e){return u(e)&&"fixed"!==A(e).position?e.offsetParent:null}function I(e){for(var t=l(e),n=P(e);n&&O(n)&&"static"===A(n).position;)n=P(n);return n&&("html"===b(n)||"body"===b(n)&&"static"===A(n).position)?t:n||function(e){var t=/firefox/i.test(g());if(/Trident/i.test(g())&&u(e)&&"fixed"===A(e).position)return null;var n=k(e);for(d(n)&&(n=n.host);u(n)&&["html","body"].indexOf(b(n))<0;){var r=A(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var M="top",L="bottom",R="right",j="left",F="auto",D=[M,L,R,j],N="start",B="end",z="clippingParents",V="viewport",$="popper",G="reference",U=D.reduce((function(e,t){return e.concat([t+"-"+N,t+"-"+B])}),[]),W=[].concat(D,[F]).reduce((function(e,t){return e.concat([t,t+"-"+N,t+"-"+B])}),[]),q=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function H(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}var Y={placement:"bottom",modifiers:[],strategy:"absolute"};function K(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function te(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?J(i):null,a=i?Q(i):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case M:t={x:s,y:n.y-r.height};break;case L:t={x:s,y:n.y+n.height};break;case R:t={x:n.x+n.width,y:l};break;case j:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?ee(o):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case N:t[c]=t[c]-(n[u]/2-r[u]/2);break;case B:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var ne={top:"auto",right:"auto",bottom:"auto",left:"auto"};function re(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,a=e.offsets,s=e.position,c=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,h=e.isFixed,p=a.x,g=void 0===p?0:p,m=a.y,y=void 0===m?0:m,v="function"==typeof d?d({x:g,y}):{x:g,y};g=v.x,y=v.y;var b=a.hasOwnProperty("x"),x=a.hasOwnProperty("y"),S=j,C=M,E=window;if(u){var k=I(n),T="clientHeight",_="clientWidth";if(k===l(n)&&"static"!==A(k=w(n)).position&&"absolute"===s&&(T="scrollHeight",_="scrollWidth"),i===M||(i===j||i===R)&&o===B)C=L,y-=(h&&k===E&&E.visualViewport?E.visualViewport.height:k[T])-r.height,y*=c?1:-1;if(i===j||(i===M||i===L)&&o===B)S=R,g-=(h&&k===E&&E.visualViewport?E.visualViewport.width:k[_])-r.width,g*=c?1:-1}var O,P=Object.assign({position:s},u&&ne),F=!0===d?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:f(n*i)/i||0,y:f(r*i)/i||0}}({x:g,y},l(n)):{x:g,y};return g=F.x,y=F.y,c?Object.assign({},P,((O={})[C]=x?"0":"",O[S]=b?"0":"",O.transform=(E.devicePixelRatio||1)<=1?"translate("+g+"px, "+y+"px)":"translate3d("+g+"px, "+y+"px, 0)",O)):Object.assign({},P,((t={})[C]=x?y+"px":"",t[S]=b?g+"px":"",t.transform="",t))}const ie={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=W.reduce((function(e,n){return e[n]=function(e,t,n){var r=J(e),i=[j,M].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[j,R].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var oe={left:"right",right:"left",bottom:"top",top:"bottom"};function ae(e){return e.replace(/left|right|bottom|top/g,(function(e){return oe[e]}))}var se={start:"end",end:"start"};function le(e){return e.replace(/start|end/g,(function(e){return se[e]}))}function ce(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&d(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ue(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function de(e,t,n){return t===V?ue(function(e,t){var n=l(e),r=w(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,c=0;if(i){o=i.width,a=i.height;var u=m();(u||!u&&"fixed"===t)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:o,height:a,x:s+x(e),y:c}}(e,n)):c(t)?function(e,t){var n=y(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ue(function(e){var t,n=w(e),r=v(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=h(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=h(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+x(e),l=-r.scrollTop;return"rtl"===A(i||n).direction&&(s+=h(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:s,y:l}}(w(e)))}function he(e,t,n,r){var i="clippingParents"===t?function(e){var t=_(k(e)),n=["absolute","fixed"].indexOf(A(e).position)>=0&&u(e)?I(e):e;return c(n)?t.filter((function(e){return c(e)&&ce(e,n)&&"body"!==b(e)})):[]}(e):[].concat(t),o=[].concat(i,[n]),a=o[0],s=o.reduce((function(t,n){var i=de(e,n,r);return t.top=h(i.top,t.top),t.right=p(i.right,t.right),t.bottom=p(i.bottom,t.bottom),t.left=h(i.left,t.left),t}),de(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function pe(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function fe(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function ge(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.strategy,a=void 0===o?e.strategy:o,s=n.boundary,l=void 0===s?z:s,u=n.rootBoundary,d=void 0===u?V:u,h=n.elementContext,p=void 0===h?$:h,f=n.altBoundary,g=void 0!==f&&f,m=n.padding,v=void 0===m?0:m,b=pe("number"!=typeof v?v:fe(v,D)),x=p===$?G:$,A=e.rects.popper,S=e.elements[g?x:p],C=he(c(S)?S:S.contextElement||w(e.elements.popper),l,d,a),E=y(e.elements.reference),k=te({reference:E,element:A,strategy:"absolute",placement:i}),T=ue(Object.assign({},A,k)),_=p===$?T:E,O={top:C.top-_.top+b.top,bottom:_.bottom-C.bottom+b.bottom,left:C.left-_.left+b.left,right:_.right-C.right+b.right},P=e.modifiersData.offset;if(p===$&&P){var I=P[i];Object.keys(O).forEach((function(e){var t=[R,L].indexOf(e)>=0?1:-1,n=[M,L].indexOf(e)>=0?"y":"x";O[e]+=I[n]*t}))}return O}function me(e,t,n){return h(e,p(t,n))}const ye={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,f=n.tether,g=void 0===f||f,m=n.tetherOffset,y=void 0===m?0:m,v=ge(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=J(t.placement),w=Q(t.placement),x=!w,A=ee(b),S="x"===A?"y":"x",C=t.modifiersData.popperOffsets,k=t.rects.reference,T=t.rects.popper,_="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,O="number"==typeof _?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(C){if(o){var D,B="y"===A?M:j,z="y"===A?L:R,V="y"===A?"height":"width",$=C[A],G=$+v[B],U=$-v[z],W=g?-T[V]/2:0,q=w===N?k[V]:T[V],H=w===N?-T[V]:-k[V],Y=t.elements.arrow,K=g&&Y?E(Y):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Z=X[B],te=X[z],ne=me(0,k[V],K[V]),re=x?k[V]/2-W-ne-Z-O.mainAxis:q-ne-Z-O.mainAxis,ie=x?-k[V]/2+W+ne+te+O.mainAxis:H+ne+te+O.mainAxis,oe=t.elements.arrow&&I(t.elements.arrow),ae=oe?"y"===A?oe.clientTop||0:oe.clientLeft||0:0,se=null!=(D=null==P?void 0:P[A])?D:0,le=$+ie-se,ce=me(g?p(G,$+re-se-ae):G,$,g?h(U,le):U);C[A]=ce,F[A]=ce-$}if(s){var ue,de="x"===A?M:j,he="x"===A?L:R,pe=C[S],fe="y"===S?"height":"width",ye=pe+v[de],ve=pe-v[he],be=-1!==[M,j].indexOf(b),we=null!=(ue=null==P?void 0:P[S])?ue:0,xe=be?ye:pe-k[fe]-T[fe]-we+O.altAxis,Ae=be?pe+k[fe]+T[fe]-we-O.altAxis:ve,Se=g&&be?function(e,t,n){var r=me(e,t,n);return r>n?n:r}(xe,pe,Ae):me(g?xe:ye,pe,g?Ae:ve);C[S]=Se,F[S]=Se-pe}t.modifiersData[r]=F}},requiresIfExists:["offset"]};const ve={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,a=n.modifiersData.popperOffsets,s=J(n.placement),l=ee(s),c=[j,R].indexOf(s)>=0?"height":"width";if(o&&a){var u=function(e,t){return pe("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:fe(e,D))}(i.padding,n),d=E(o),h="y"===l?M:j,p="y"===l?L:R,f=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],g=a[l]-n.rects.reference[l],m=I(o),y=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,v=f/2-g/2,b=u[h],w=y-d[c]-u[p],x=y/2-d[c]/2+v,A=me(b,x,w),S=l;n.modifiersData[r]=((t={})[S]=A,t.centerOffset=A-x,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&ce(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function be(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function we(e){return[M,R,L,j].some((function(t){return e[t]>=0}))}var xe=X({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,c=l(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach((function(e){e.addEventListener("scroll",n.update,Z)})),s&&c.addEventListener("resize",n.update,Z),function(){o&&u.forEach((function(e){e.removeEventListener("scroll",n.update,Z)})),s&&c.removeEventListener("resize",n.update,Z)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=te({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:J(t.placement),variation:Q(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,re(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,re(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];u(i)&&b(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});u(r)&&b(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},ie,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,p=n.flipVariations,f=void 0===p||p,g=n.allowedAutoPlacements,m=t.options.placement,y=J(m),v=l||(y===m||!f?[ae(m)]:function(e){if(J(e)===F)return[];var t=ae(e);return[le(e),t,le(t)]}(m)),b=[m].concat(v).reduce((function(e,n){return e.concat(J(n)===F?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?W:l,u=Q(r),d=u?s?U:U.filter((function(e){return Q(e)===u})):D,h=d.filter((function(e){return c.indexOf(e)>=0}));0===h.length&&(h=d);var p=h.reduce((function(t,n){return t[n]=ge(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[J(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:g}):n)}),[]),w=t.rects.reference,x=t.rects.popper,A=new Map,S=!0,C=b[0],E=0;E=0,P=O?"width":"height",I=ge(t,{placement:k,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),B=O?_?R:j:_?L:M;w[P]>x[P]&&(B=ae(B));var z=ae(B),V=[];if(o&&V.push(I[T]<=0),s&&V.push(I[B]<=0,I[z]<=0),V.every((function(e){return e}))){C=k,S=!1;break}A.set(k,V)}if(S)for(var $=function(e){var t=b.find((function(t){var n=A.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},G=f?3:1;G>0;G--){if("break"===$(G))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},ye,ve,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=ge(t,{elementContext:"reference"}),s=ge(t,{altBoundary:!0}),l=be(a,r),c=be(s,i,o),u=we(l),d=we(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),Ae=n(47636),Se=n(4686),Ce=n(39225),Ee=n(50190),ke=n(57638);function Te(e){return(0,ke.Ay)("MuiPopper",e)}(0,Ee.A)("MuiPopper",["root"]);var _e=n(97282);function Oe(e){return"function"==typeof e?e():e}function Pe(e){return void 0!==e.nodeType}const Ie={},Me=i.forwardRef((function(e,t){const{anchorEl:n,children:r,direction:s,disablePortal:l,modifiers:c,open:u,placement:d,popperOptions:h,popperRef:p,slotProps:f={},slots:g={},TransitionProps:m,ownerState:y,...v}=e,b=i.useRef(null),w=(0,o.A)(b,t),x=i.useRef(null),A=(0,o.A)(x,p),S=i.useRef(A);(0,a.A)((()=>{S.current=A}),[A]),i.useImperativeHandle(p,(()=>x.current),[]);const C=function(e,t){if("ltr"===t)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}}(d,s),[E,k]=i.useState(C),[T,_]=i.useState(Oe(n));i.useEffect((()=>{x.current&&x.current.forceUpdate()})),i.useEffect((()=>{n&&_(Oe(n))}),[n]),(0,a.A)((()=>{if(!T||!u)return;let e=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{k(e.placement)}}];null!=c&&(e=e.concat(c)),h&&null!=h.modifiers&&(e=e.concat(h.modifiers));const t=xe(T,b.current,{placement:C,...h,modifiers:e});return S.current(t),()=>{t.destroy(),S.current(null)}}),[T,l,c,u,h,C]);const O={placement:E};null!==m&&(O.TransitionProps=m);const P=(e=>{const{classes:t}=e;return(0,Ae.A)({root:["root"]},Te,t)})(e),I=g.root??"div",M=(0,Se.A)({elementType:I,externalSlotProps:f.root,externalForwardedProps:v,additionalProps:{role:"tooltip",ref:w},ownerState:e,className:P.root});return(0,_e.jsx)(I,{...M,children:"function"==typeof r?r(O):r})})),Le=i.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:a="ltr",disablePortal:l=!1,keepMounted:c=!1,modifiers:u,open:d,placement:h="bottom",popperOptions:p=Ie,popperRef:f,style:g,transition:m=!1,slotProps:y={},slots:v={},...b}=e,[w,x]=i.useState(!0);if(!c&&!d&&(!m||w))return null;let A;if(o)A=o;else if(n){const e=Oe(n);A=e&&Pe(e)?(0,s.A)(e).body:(0,s.A)(null).body}const S=d||!c||m&&!w?void 0:"none",C=m?{in:d,onEnter:()=>{x(!1)},onExited:()=>{x(!0)}}:void 0;return(0,_e.jsx)(Ce.A,{disablePortal:l,container:A,children:(0,_e.jsx)(Me,{anchorEl:n,direction:a,disablePortal:l,modifiers:u,ref:t,open:m?!w:d,placement:h,popperOptions:p,popperRef:f,slotProps:y,slots:v,...b,style:{position:"fixed",top:0,left:0,display:S,...g},TransitionProps:C,children:r})})}));var Re=n(96756),je=n(10649);const Fe=(0,Re.Ay)(Le,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),De=i.forwardRef((function(e,t){const n=(0,r.I)(),i=(0,je.b)({props:e,name:"MuiPopper"}),{anchorEl:o,component:a,components:s,componentsProps:l,container:c,disablePortal:u,keepMounted:d,modifiers:h,open:p,placement:f,popperOptions:g,popperRef:m,transition:y,slots:v,slotProps:b,...w}=i,x=v?.root??s?.Root,A={anchorEl:o,container:c,disablePortal:u,keepMounted:d,modifiers:h,open:p,placement:f,popperOptions:g,popperRef:m,transition:y,...w};return(0,_e.jsx)(Fe,{as:a,direction:n?"rtl":"ltr",slots:{root:x},slotProps:b??l,...A,ref:t})}))},39225:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(30538),i=n(95491),o=n(78664),a=n(79938),s=n(56050),l=n(47654),c=n(97282);const u=r.forwardRef((function(e,t){const{children:n,container:u,disablePortal:d=!1}=e,[h,p]=r.useState(null),f=(0,o.A)((0,a.A)(n),t);if((0,s.A)((()=>{d||p(function(e){return"function"==typeof e?e():e}(u)||document.body)}),[u,d]),(0,s.A)((()=>{if(h&&!d)return(0,l.A)(t,h),()=>{(0,l.A)(t,null)}}),[t,h,d]),d){if(r.isValidElement(n)){const e={ref:f};return r.cloneElement(n,e)}return(0,c.jsx)(r.Fragment,{children:n})}return(0,c.jsx)(r.Fragment,{children:h?i.createPortal(n,h):h})}))},18863:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>ee});var r=n(30538),i=n(87286),o=n(47636),a=n(55803),s=n(56),l=n(4686),c=n(15046),u=n(93678),d=n(10710),h=n(78664),p=n(35540),f=n(56050),g=n(52728);const m={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};var y=n(18244);const v=function(e,t,n=(e,t)=>e===t){return e.length===t.length&&e.every(((e,r)=>n(e,t[r])))};function b(e,t){return e-t}function w(e,t){const{index:n}=e.reduce(((e,n,r)=>{const i=Math.abs(t-n);return null===e||i({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}%`})}},_=e=>e;let O;function P(){return void 0===O&&(O="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),O}function I(e){const{"aria-labelledby":t,defaultValue:n,disabled:i=!1,disableSwap:o=!1,isRtl:a=!1,marks:s=!1,max:l=100,min:v=0,name:O,onChange:I,onChangeCommitted:M,orientation:L="horizontal",rootRef:R,scale:j=_,step:F=1,shiftStep:D=10,tabIndex:N,value:B}=e,z=r.useRef(void 0),[V,$]=r.useState(-1),[G,U]=r.useState(-1),[W,q]=r.useState(!1),H=r.useRef(0),[Y,K]=(0,u.A)({controlled:B,default:n??v,name:"Slider"}),X=I&&((e,t,n)=>{const r=e.nativeEvent||e,i=new r.constructor(r.type,r);Object.defineProperty(i,"target",{writable:!0,value:{value:t,name:O}}),I(i,t,n)}),Z=Array.isArray(Y);let J=Z?Y.slice().sort(b):[Y];J=J.map((e=>null==e?v:(0,d.A)(e,v,l)));const Q=!0===s&&null!==F?[...Array(Math.floor((l-v)/F)+1)].map(((e,t)=>({value:v+F*t}))):s||[],ee=Q.map((e=>e.value)),[te,ne]=r.useState(-1),re=r.useRef(null),ie=(0,h.A)(R,re),oe=e=>t=>{const n=Number(t.currentTarget.getAttribute("data-index"));(0,p.A)(t.target)&&ne(n),U(n),e?.onFocus?.(t)},ae=e=>t=>{(0,p.A)(t.target)||ne(-1),U(-1),e?.onBlur?.(t)},se=(e,t)=>{const n=Number(e.currentTarget.getAttribute("data-index")),r=J[n],i=ee.indexOf(r);let a=t;if(Q&&null==F){const e=ee[ee.length-1];a=a>e?e:at=>{if(null!==F){const e=Number(t.currentTarget.getAttribute("data-index")),n=J[e];let r=null;("ArrowLeft"===t.key||"ArrowDown"===t.key)&&t.shiftKey||"PageDown"===t.key?r=Math.max(n-D,v):(("ArrowRight"===t.key||"ArrowUp"===t.key)&&t.shiftKey||"PageUp"===t.key)&&(r=Math.min(n+D,l)),null!==r&&(se(t,r),t.preventDefault())}e?.onKeyDown?.(t)};(0,f.A)((()=>{i&&re.current.contains(document.activeElement)&&document.activeElement?.blur()}),[i]),i&&-1!==V&&$(-1),i&&-1!==te&&ne(-1);const ce=r.useRef(void 0);let ue=L;a&&"horizontal"===L&&(ue+="-reverse");const de=({finger:e,move:t=!1})=>{const{current:n}=re,{width:r,height:i,bottom:a,left:s}=n.getBoundingClientRect();let c,u;if(c=0===ue.indexOf("vertical")?(a-e.y)/i:(e.x-s)/r,-1!==ue.indexOf("-reverse")&&(c=1-c),u=function(e,t,n){return(n-t)*e+t}(c,v,l),F)u=S(u,F,v);else{const e=w(ee,u);u=ee[e]}u=(0,d.A)(u,v,l);let h=0;if(Z){h=t?ce.current:w(J,u),o&&(u=(0,d.A)(u,J[h-1]||-1/0,J[h+1]||1/0));const e=u;u=C({values:J,newValue:u,index:h}),o&&t||(h=u.indexOf(e),ce.current=h)}return{newValue:u,activeIndex:h}},he=(0,g.A)((e=>{const t=x(e,z);if(!t)return;if(H.current+=1,"mousemove"===e.type&&0===e.buttons)return void pe(e);const{newValue:n,activeIndex:r}=de({finger:t,move:!0});E({sliderRef:re,activeIndex:r,setActive:$}),K(n),!W&&H.current>2&&q(!0),X&&!k(n,Y)&&X(e,n,r)})),pe=(0,g.A)((e=>{const t=x(e,z);if(q(!1),!t)return;const{newValue:n}=de({finger:t,move:!0});$(-1),"touchend"===e.type&&U(-1),M&&M(e,n),z.current=void 0,ge()})),fe=(0,g.A)((e=>{if(i)return;P()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(z.current=t.identifier);const n=x(e,z);if(!1!==n){const{newValue:t,activeIndex:r}=de({finger:n});E({sliderRef:re,activeIndex:r,setActive:$}),K(t),X&&!k(t,Y)&&X(e,t,r)}H.current=0;const r=(0,c.A)(re.current);r.addEventListener("touchmove",he,{passive:!0}),r.addEventListener("touchend",pe,{passive:!0})})),ge=r.useCallback((()=>{const e=(0,c.A)(re.current);e.removeEventListener("mousemove",he),e.removeEventListener("mouseup",pe),e.removeEventListener("touchmove",he),e.removeEventListener("touchend",pe)}),[pe,he]);r.useEffect((()=>{const{current:e}=re;return e.addEventListener("touchstart",fe,{passive:P()}),()=>{e.removeEventListener("touchstart",fe),ge()}}),[ge,fe]),r.useEffect((()=>{i&&ge()}),[i,ge]);const me=A(Z?J[0]:v,v,l),ye=A(J[J.length-1],v,l)-me,ve=e=>t=>{e.onMouseLeave?.(t),U(-1)};return{active:V,axis:ue,axisProps:T,dragging:W,focusedThumbIndex:te,getHiddenInputProps:(n={})=>{const r=(0,y.A)(n),o={onChange:(s=r||{},e=>{s.onChange?.(e),se(e,e.target.valueAsNumber)}),onFocus:oe(r||{}),onBlur:ae(r||{}),onKeyDown:le(r||{})};var s;const c={...r,...o};return{tabIndex:N,"aria-labelledby":t,"aria-orientation":L,"aria-valuemax":j(l),"aria-valuemin":j(v),name:O,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":e.step??void 0,disabled:i,...n,...c,style:{...m,direction:a?"rtl":"ltr",width:"100%",height:"100%"}}},getRootProps:(e={})=>{const t=(0,y.A)(e),n={onMouseDown:(r=t||{},e=>{if(r.onMouseDown?.(e),i)return;if(e.defaultPrevented)return;if(0!==e.button)return;e.preventDefault();const t=x(e,z);if(!1!==t){const{newValue:n,activeIndex:r}=de({finger:t});E({sliderRef:re,activeIndex:r,setActive:$}),K(n),X&&!k(n,Y)&&X(e,n,r)}H.current=0;const n=(0,c.A)(re.current);n.addEventListener("mousemove",he,{passive:!0}),n.addEventListener("mouseup",pe)})};var r;const o={...t,...n};return{...e,ref:ie,...o}},getThumbProps:(e={})=>{const t=(0,y.A)(e),n={onMouseOver:(r=t||{},e=>{r.onMouseOver?.(e);const t=Number(e.currentTarget.getAttribute("data-index"));U(t)}),onMouseLeave:ve(t||{})};var r;return{...e,...t,...n}},marks:Q,open:G,range:Z,rootRef:ie,trackLeap:ye,trackOffset:me,values:J,getThumbStyle:e=>({pointerEvents:-1!==V&&V!==e?"none":void 0})}}var M=n(69839),L=n(96756),R=n(51097),j=n(10649),F=n(25578);const D=e=>!e||!(0,M.A)(e);var N=n(84766),B=n(50190),z=n(57638);function V(e){return(0,z.Ay)("MuiSlider",e)}const $=(0,B.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"]);var G=n(97282);function U(e){return e}const W=(0,L.Ay)("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,N.A)(n.color)}`],"medium"!==n.size&&t[`size${(0,N.A)(n.size)}`],n.marked&&t.marked,"vertical"===n.orientation&&t.vertical,"inverted"===n.track&&t.trackInverted,!1===n.track&&t.trackFalse]}})((0,R.A)((({theme:e})=>({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${$.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${$.dragging}`]:{[`& .${$.thumb}, & .${$.track}`]:{transition:"none"}},variants:[...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].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}}]})))),q=(0,L.Ay)("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.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}}]}),H=(0,L.Ay)("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})((0,R.A)((({theme:e})=>({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.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t,track:"inverted"},style:{...e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:{backgroundColor:(0,a.a)(e.palette[t].main,.62),borderColor:(0,a.a)(e.palette[t].main,.62),...e.applyStyles("dark",{backgroundColor:(0,a.e$)(e.palette[t].main,.5)}),...e.applyStyles("dark",{borderColor:(0,a.e$)(e.palette[t].main,.5)})}}})))]})))),Y=(0,L.Ay)("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${(0,N.A)(n.color)}`],"medium"!==n.size&&t[`thumbSize${(0,N.A)(n.size)}`]]}})((0,R.A)((({theme:e})=>({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%)"},[`&.${$.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.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{[`&:hover, &.${$.focusVisible}`]:{...e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${(0,a.X4)(e.palette[t].main,.16)}`},"@media (hover: none)":{boxShadow:"none"}},[`&.${$.active}`]:{...e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${(0,a.X4)(e.palette[t].main,.16)}`}}}})))]})))),K=(0,L.Ay)((function(e){const{children:t,className:n,value:o}=e,a=(e=>{const{open:t}=e;return{offset:(0,i.A)(t&&$.valueLabelOpen),circle:$.valueLabelCircle,label:$.valueLabelLabel}})(e);return t?r.cloneElement(t,{className:(0,i.A)(t.props.className)},(0,G.jsxs)(r.Fragment,{children:[t.props.children,(0,G.jsx)("span",{className:(0,i.A)(a.offset,n),"aria-hidden":!0,children:(0,G.jsx)("span",{className:a.circle,children:(0,G.jsx)("span",{className:a.label,children:o})})})]})):null}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})((0,R.A)((({theme:e})=>({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%"},[`&.${$.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%"},[`&.${$.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"}}]})))),X=(0,L.Ay)("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>(0,F.A)(e)&&"markActive"!==e,overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})((0,R.A)((({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}}]})))),Z=(0,L.Ay)("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>(0,F.A)(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})((0,R.A)((({theme:e})=>({...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}}]})))),J=({children:e})=>e,Q=r.forwardRef((function(e,t){const n=(0,j.b)({props:e,name:"MuiSlider"}),a=(0,s.I)(),{"aria-label":c,"aria-valuetext":u,"aria-labelledby":d,component:h="span",components:p={},componentsProps:f={},color:g="primary",classes:m,className:y,disableSwap:v=!1,disabled:b=!1,getAriaLabel:w,getAriaValueText:x,marks:S=!1,max:C=100,min:E=0,name:k,onChange:T,onChangeCommitted:_,orientation:O="horizontal",shiftStep:P=10,size:L="medium",step:R=1,scale:F=U,slotProps:B,slots:z,tabIndex:$,track:Q="normal",value:ee,valueLabelDisplay:te="off",valueLabelFormat:ne=U,...re}=n,ie={...n,isRtl:a,max:C,min:E,classes:m,disabled:b,disableSwap:v,orientation:O,marks:S,color:g,size:L,step:R,shiftStep:P,scale:F,track:Q,valueLabelDisplay:te,valueLabelFormat:ne},{axisProps:oe,getRootProps:ae,getHiddenInputProps:se,getThumbProps:le,open:ce,active:ue,axis:de,focusedThumbIndex:he,range:pe,dragging:fe,marks:ge,values:me,trackOffset:ye,trackLeap:ve,getThumbStyle:be}=I({...ie,rootRef:t});ie.marked=ge.length>0&&ge.some((e=>e.label)),ie.dragging=fe,ie.focusedThumbIndex=he;const we=(e=>{const{disabled:t,dragging:n,marked:r,orientation:i,track:a,classes:s,color:l,size:c}=e,u={root:["root",t&&"disabled",n&&"dragging",r&&"marked","vertical"===i&&"vertical","inverted"===a&&"trackInverted",!1===a&&"trackFalse",l&&`color${(0,N.A)(l)}`,c&&`size${(0,N.A)(c)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",c&&`thumbSize${(0,N.A)(c)}`,l&&`thumbColor${(0,N.A)(l)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return(0,o.A)(u,V,s)})(ie),xe=z?.root??p.Root??W,Ae=z?.rail??p.Rail??q,Se=z?.track??p.Track??H,Ce=z?.thumb??p.Thumb??Y,Ee=z?.valueLabel??p.ValueLabel??K,ke=z?.mark??p.Mark??X,Te=z?.markLabel??p.MarkLabel??Z,_e=z?.input??p.Input??"input",Oe=B?.root??f.root,Pe=B?.rail??f.rail,Ie=B?.track??f.track,Me=B?.thumb??f.thumb,Le=B?.valueLabel??f.valueLabel,Re=B?.mark??f.mark,je=B?.markLabel??f.markLabel,Fe=B?.input??f.input,De=(0,l.A)({elementType:xe,getSlotProps:ae,externalSlotProps:Oe,externalForwardedProps:re,additionalProps:{...D(xe)&&{as:h}},ownerState:{...ie,...Oe?.ownerState},className:[we.root,y]}),Ne=(0,l.A)({elementType:Ae,externalSlotProps:Pe,ownerState:ie,className:we.rail}),Be=(0,l.A)({elementType:Se,externalSlotProps:Ie,additionalProps:{style:{...oe[de].offset(ye),...oe[de].leap(ve)}},ownerState:{...ie,...Ie?.ownerState},className:we.track}),ze=(0,l.A)({elementType:Ce,getSlotProps:le,externalSlotProps:Me,ownerState:{...ie,...Me?.ownerState},className:we.thumb}),Ve=(0,l.A)({elementType:Ee,externalSlotProps:Le,ownerState:{...ie,...Le?.ownerState},className:we.valueLabel}),$e=(0,l.A)({elementType:ke,externalSlotProps:Re,ownerState:ie,className:we.mark}),Ge=(0,l.A)({elementType:Te,externalSlotProps:je,ownerState:ie,className:we.markLabel}),Ue=(0,l.A)({elementType:_e,getSlotProps:se,externalSlotProps:Fe,ownerState:ie});return(0,G.jsxs)(xe,{...De,children:[(0,G.jsx)(Ae,{...Ne}),(0,G.jsx)(Se,{...Be}),ge.filter((e=>e.value>=E&&e.value<=C)).map(((e,t)=>{const n=A(e.value,E,C),o=oe[de].offset(n);let a;return a=!1===Q?me.includes(e.value):"normal"===Q&&(pe?e.value>=me[0]&&e.value<=me[me.length-1]:e.value<=me[0])||"inverted"===Q&&(pe?e.value<=me[0]||e.value>=me[me.length-1]:e.value>=me[0]),(0,G.jsxs)(r.Fragment,{children:[(0,G.jsx)(ke,{"data-index":t,...$e,...!(0,M.A)(ke)&&{markActive:a},style:{...o,...$e.style},className:(0,i.A)($e.className,a&&we.markActive)}),null!=e.label?(0,G.jsx)(Te,{"aria-hidden":!0,"data-index":t,...Ge,...!(0,M.A)(Te)&&{markLabelActive:a},style:{...o,...Ge.style},className:(0,i.A)(we.markLabel,Ge.className,a&&we.markLabelActive),children:e.label}):null]},t)})),me.map(((e,t)=>{const n=A(e,E,C),r=oe[de].offset(n),o="off"===te?J:Ee;return(0,G.jsx)(o,{...!(0,M.A)(o)&&{valueLabelFormat:ne,valueLabelDisplay:te,value:"function"==typeof ne?ne(F(e),t):ne,index:t,open:ce===t||ue===t||"on"===te,disabled:b},...Ve,children:(0,G.jsx)(Ce,{"data-index":t,...ze,className:(0,i.A)(we.thumb,ze.className,ue===t&&we.active,he===t&&we.focusVisible),style:{...r,...be(t),...ze.style},children:(0,G.jsx)(_e,{"data-index":t,"aria-label":w?w(t):c,"aria-valuenow":F(e),"aria-labelledby":d,"aria-valuetext":x?x(F(e),t):u,value:me[t],...Ue})})},t)}))]})})),ee=Q},58025:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var r=n(30538),i=n(87286),o=n(47636),a=n(84766),s=n(96756),l=n(51097),c=n(10649),u=n(50190),d=n(57638);function h(e){return(0,d.Ay)("MuiSvgIcon",e)}(0,u.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var p=n(97282);const f=(0,s.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,a.A)(n.color)}`],t[`fontSize${(0,a.A)(n.fontSize)}`]]}})((0,l.A)((({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}}))),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]})))),g=r.forwardRef((function(e,t){const n=(0,c.b)({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:d="svg",fontSize:g="medium",htmlColor:m,inheritViewBox:y=!1,titleAccess:v,viewBox:b="0 0 24 24",...w}=n,x=r.isValidElement(s)&&"svg"===s.type,A={...n,color:u,component:d,fontSize:g,instanceFontSize:e.fontSize,inheritViewBox:y,viewBox:b,hasSvgAsChild:x},S={};y||(S.viewBox=b);const C=(e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root","inherit"!==t&&`color${(0,a.A)(t)}`,`fontSize${(0,a.A)(n)}`]};return(0,o.A)(i,h,r)})(A);return(0,p.jsxs)(f,{as:d,className:(0,i.A)(C.root,l),focusable:"false",color:m,"aria-hidden":!v||void 0,role:v?"img":void 0,ref:t,...S,...w,...x&&s.props,ownerState:A,children:[x?s.props.children:s,v?(0,p.jsx)("title",{children:v}):null]})}));g&&(g.muiName="SvgIcon");const m=g},24417:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(30538),i=n(87286),o=n(47636),a=n(55803),s=n(84766),l=n(20576),c=n(96756),u=n(51097),d=n(10649),h=n(50190),p=n(57638);function f(e){return(0,p.Ay)("MuiSwitch",e)}const g=(0,h.A)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);var m=n(97282);const y=(0,c.Ay)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${(0,s.A)(n.edge)}`],t[`size${(0,s.A)(n.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,[`& .${g.thumb}`]:{width:16,height:16},[`& .${g.switchBase}`]:{padding:4,[`&.${g.checked}`]:{transform:"translateX(16px)"}}}}]}),v=(0,c.Ay)(l.A,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${g.input}`]:t.input},"default"!==n.color&&t[`color${(0,s.A)(n.color)}`]]}})((0,u.A)((({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}),[`&.${g.checked}`]:{transform:"translateX(20px)"},[`&.${g.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${g.checked} + .${g.track}`]:{opacity:.5},[`&.${g.disabled} + .${g.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${g.input}`]:{left:"-100%",width:"300%"}}))),(0,u.A)((({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,a.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter((([,e])=>e&&e.main&&e.light)).map((([t])=>({props:{color:t},style:{[`&.${g.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,a.X4)(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${g.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${"light"===e.palette.mode?(0,a.a)(e.palette[t].main,.62):(0,a.e$)(e.palette[t].main,.55)}`}},[`&.${g.checked} + .${g.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}})))]})))),b=(0,c.Ay)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})((0,u.A)((({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,c.Ay)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((0,u.A)((({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})))),x=r.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiSwitch"}),{className:r,color:a="primary",edge:l=!1,size:c="medium",sx:u,...h}=n,p={...n,color:a,edge:l,size:c},g=(e=>{const{classes:t,edge:n,size:r,color:i,checked:a,disabled:l}=e,c={root:["root",n&&`edge${(0,s.A)(n)}`,`size${(0,s.A)(r)}`],switchBase:["switchBase",`color${(0,s.A)(i)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},u=(0,o.A)(c,f,t);return{...t,...u}})(p),x=(0,m.jsx)(w,{className:g.thumb,ownerState:p});return(0,m.jsxs)(y,{className:(0,i.A)(g.root,r),sx:u,ownerState:p,children:[(0,m.jsx)(v,{type:"checkbox",icon:x,checkedIcon:x,ref:t,ownerState:p,...h,classes:{...g,root:g.switchBase}}),(0,m.jsx)(b,{className:g.track,ownerState:p})]})}))},96299:(e,t,n)=>{"use strict";n.d(t,{A:()=>j});var r=n(30538),i=n(87286),o=n(58494),a=n(47636),s=n(55803),l=n(56),c=n(35540),u=n(98278),d=n(79938),h=n(96756),p=n(13679),f=n(51097),g=n(10649),m=n(84766),y=n(64447),v=n(36832),b=n(5974),w=n(51704),x=n(74056),A=n(44451),S=n(50190),C=n(57638);function E(e){return(0,C.Ay)("MuiTooltip",e)}const k=(0,S.A)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);var T=n(97282);const _=(0,h.Ay)(v.A,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((0,f.A)((({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${k.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${k.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${k.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${k.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${k.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${k.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${k.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${k.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]})))),O=(0,h.Ay)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${(0,m.A)(n.placement.split("-")[0])}`]]}})((0,f.A)((({theme:e})=>{return{backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,s.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,[`.${k.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${k.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${k.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${k.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(t=16/14,Math.round(1e5*t)/1e5)+"em",fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:e})=>!e.isRtl,style:{[`.${k.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${k.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${k.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${k.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${k.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${k.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${k.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${k.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${k.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${k.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]};var t}))),P=(0,h.Ay)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((0,f.A)((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,s.X4)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}))));let I=!1;const M=new o.E;let L={x:0,y:0};function R(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const j=r.forwardRef((function(e,t){const n=(0,g.b)({props:e,name:"MuiTooltip"}),{arrow:s=!1,children:h,classes:f,components:S={},componentsProps:C={},describeChild:k=!1,disableFocusListener:j=!1,disableHoverListener:F=!1,disableInteractive:D=!1,disableTouchListener:N=!1,enterDelay:B=100,enterNextDelay:z=0,enterTouchDelay:V=700,followCursor:$=!1,id:G,leaveDelay:U=0,leaveTouchDelay:W=1500,onClose:q,onOpen:H,open:Y,placement:K="bottom",PopperComponent:X,PopperProps:Z={},slotProps:J={},slots:Q={},title:ee,TransitionComponent:te=y.A,TransitionProps:ne,...re}=n,ie=r.isValidElement(h)?h:(0,T.jsx)("span",{children:h}),oe=(0,p.A)(),ae=(0,l.I)(),[se,le]=r.useState(),[ce,ue]=r.useState(null),de=r.useRef(!1),he=D||$,pe=(0,o.A)(),fe=(0,o.A)(),ge=(0,o.A)(),me=(0,o.A)(),[ye,ve]=(0,A.A)({controlled:Y,default:!1,name:"Tooltip",state:"open"});let be=ye;const we=(0,x.A)(G),xe=r.useRef(),Ae=(0,b.A)((()=>{void 0!==xe.current&&(document.body.style.WebkitUserSelect=xe.current,xe.current=void 0),me.clear()}));r.useEffect((()=>Ae),[Ae]);const Se=e=>{M.clear(),I=!0,ve(!0),H&&!be&&H(e)},Ce=(0,b.A)((e=>{M.start(800+U,(()=>{I=!1})),ve(!1),q&&be&&q(e),pe.start(oe.transitions.duration.shortest,(()=>{de.current=!1}))})),Ee=e=>{de.current&&"touchstart"!==e.type||(se&&se.removeAttribute("title"),fe.clear(),ge.clear(),B||I&&z?fe.start(I?z:B,(()=>{Se(e)})):Se(e))},ke=e=>{fe.clear(),ge.start(U,(()=>{Ce(e)}))},[,Te]=r.useState(!1),_e=e=>{(0,c.A)(e.target)||(Te(!1),ke(e))},Oe=e=>{se||le(e.currentTarget),(0,c.A)(e.target)&&(Te(!0),Ee(e))},Pe=e=>{de.current=!0;const t=ie.props;t.onTouchStart&&t.onTouchStart(e)},Ie=e=>{Pe(e),ge.clear(),pe.clear(),Ae(),xe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",me.start(V,(()=>{document.body.style.WebkitUserSelect=xe.current,Ee(e)}))},Me=e=>{ie.props.onTouchEnd&&ie.props.onTouchEnd(e),Ae(),ge.start(W,(()=>{Ce(e)}))};r.useEffect((()=>{if(be)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"===e.key&&Ce(e)}}),[Ce,be]);const Le=(0,w.A)((0,d.A)(ie),le,t);ee||0===ee||(be=!1);const Re=r.useRef(),je={},Fe="string"==typeof ee;k?(je.title=be||!Fe||F?null:ee,je["aria-describedby"]=be?we:null):(je["aria-label"]=Fe?ee:null,je["aria-labelledby"]=be&&!Fe?we:null);const De={...je,...re,...ie.props,className:(0,i.A)(re.className,ie.props.className),onTouchStart:Pe,ref:Le,...$?{onMouseMove:e=>{const t=ie.props;t.onMouseMove&&t.onMouseMove(e),L={x:e.clientX,y:e.clientY},Re.current&&Re.current.update()}}:{}};const Ne={};N||(De.onTouchStart=Ie,De.onTouchEnd=Me),F||(De.onMouseOver=R(Ee,De.onMouseOver),De.onMouseLeave=R(ke,De.onMouseLeave),he||(Ne.onMouseOver=Ee,Ne.onMouseLeave=ke)),j||(De.onFocus=R(Oe,De.onFocus),De.onBlur=R(_e,De.onBlur),he||(Ne.onFocus=Oe,Ne.onBlur=_e));const Be=r.useMemo((()=>{let e=[{name:"arrow",enabled:Boolean(ce),options:{element:ce,padding:4}}];return Z.popperOptions?.modifiers&&(e=e.concat(Z.popperOptions.modifiers)),{...Z.popperOptions,modifiers:e}}),[ce,Z]),ze={...n,isRtl:ae,arrow:s,disableInteractive:he,placement:K,PopperComponentProp:X,touch:de.current},Ve=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:i,placement:o}=e,s={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${(0,m.A)(o.split("-")[0])}`],arrow:["arrow"]};return(0,a.A)(s,E,t)})(ze),$e=Q.popper??S.Popper??_,Ge=Q.transition??S.Transition??te??y.A,Ue=Q.tooltip??S.Tooltip??O,We=Q.arrow??S.Arrow??P,qe=(0,u.A)($e,{...Z,...J.popper??C.popper,className:(0,i.A)(Ve.popper,Z?.className,(J.popper??C.popper)?.className)},ze),He=(0,u.A)(Ge,{...ne,...J.transition??C.transition},ze),Ye=(0,u.A)(Ue,{...J.tooltip??C.tooltip,className:(0,i.A)(Ve.tooltip,(J.tooltip??C.tooltip)?.className)},ze),Ke=(0,u.A)(We,{...J.arrow??C.arrow,className:(0,i.A)(Ve.arrow,(J.arrow??C.arrow)?.className)},ze);return(0,T.jsxs)(r.Fragment,{children:[r.cloneElement(ie,De),(0,T.jsx)($e,{as:X??v.A,placement:K,anchorEl:$?{getBoundingClientRect:()=>({top:L.y,left:L.x,right:L.x,bottom:L.y,width:0,height:0})}:se,popperRef:Re,open:!!se&&be,id:we,transition:!0,...Ne,...qe,popperOptions:Be,children:({TransitionProps:e})=>(0,T.jsx)(Ge,{timeout:oe.transitions.duration.shorter,...e,...He,children:(0,T.jsxs)(Ue,{...Ye,children:[ee,s?(0,T.jsx)(We,{...Ke,ref:ue}):null]})})})]})}))},71731:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(30538),i=n(87286),o=n(47636),a=n(75206),s=n(96756),l=n(51097),c=n(10649),u=n(84766),d=n(4775),h=n(97282);const p={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},f=(0,a.Dg)(),g=(0,s.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${(0,u.A)(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((0,l.A)((({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter((([e,t])=>"inherit"!==e&&t&&"object"==typeof t)).map((([e,t])=>({props:{variant:e},style:t}))),...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))),...Object.entries(e.palette?.text||{}).filter((([,e])=>"string"==typeof e)).map((([t])=>({props:{color:`text${(0,u.A)(t)}`},style:{color:(e.vars||e).palette.text[t]}}))),{props:({ownerState:e})=>"inherit"!==e.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]})))),m={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},y=r.forwardRef((function(e,t){const{color:n,...r}=(0,c.b)({props:e,name:"MuiTypography"}),a=f({...r,...!p[n]&&{color:n}}),{align:s="inherit",className:l,component:y,gutterBottom:v=!1,noWrap:b=!1,paragraph:w=!1,variant:x="body1",variantMapping:A=m,...S}=a,C={...a,align:s,color:n,className:l,component:y,gutterBottom:v,noWrap:b,paragraph:w,variant:x,variantMapping:A},E=y||(w?"p":A[x]||m[x])||"span",k=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:a,classes:s}=e,l={root:["root",a,"inherit"!==e.align&&`align${(0,u.A)(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return(0,o.A)(l,d.y,s)})(C);return(0,h.jsx)(g,{as:E,ref:t,className:(0,i.A)(k.root,l),...S,ownerState:C,style:{..."inherit"!==s&&{"--Typography-textAlign":s},...S.style}})}))},4775:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,y:()=>o});var r=n(50190),i=n(57638);function o(e){return(0,i.Ay)("MuiTypography",e)}const a=(0,r.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"])},20576:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(30538),i=n(87286),o=n(47636),a=n(84766),s=n(63374),l=n(96756),c=n(44451),u=n(18816),d=n(90233),h=n(50190),p=n(57638);function f(e){return(0,p.Ay)("PrivateSwitchBase",e)}(0,h.A)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var g=n(97282);const m=(0,l.Ay)(d.A)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{marginRight:-12}}]}),y=(0,l.Ay)("input",{shouldForwardProp:s.A})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),v=r.forwardRef((function(e,t){const{autoFocus:n,checked:r,checkedIcon:s,className:l,defaultChecked:d,disabled:h,disableFocusRipple:p=!1,edge:v=!1,icon:b,id:w,inputProps:x,inputRef:A,name:S,onBlur:C,onChange:E,onFocus:k,readOnly:T,required:_=!1,tabIndex:O,type:P,value:I,...M}=e,[L,R]=(0,c.A)({controlled:r,default:Boolean(d),name:"SwitchBase",state:"checked"}),j=(0,u.A)();let F=h;j&&void 0===F&&(F=j.disabled);const D="checkbox"===P||"radio"===P,N={...e,checked:L,disabled:F,disableFocusRipple:p,edge:v},B=(e=>{const{classes:t,checked:n,disabled:r,edge:i}=e,s={root:["root",n&&"checked",r&&"disabled",i&&`edge${(0,a.A)(i)}`],input:["input"]};return(0,o.A)(s,f,t)})(N);return(0,g.jsxs)(m,{component:"span",className:(0,i.A)(B.root,l),centerRipple:!0,focusRipple:!p,disabled:F,tabIndex:null,role:void 0,onFocus:e=>{k&&k(e),j&&j.onFocus&&j.onFocus(e)},onBlur:e=>{C&&C(e),j&&j.onBlur&&j.onBlur(e)},ownerState:N,ref:t,...M,children:[(0,g.jsx)(y,{autoFocus:n,checked:r,defaultChecked:d,className:B.input,disabled:F,id:D?w:void 0,name:S,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;R(t),E&&E(e,t)},readOnly:T,ref:A,required:_,ownerState:N,tabIndex:O,type:P,..."checkbox"===P&&void 0===I?{}:{value:I},...x}),L?s:b]})}))},96382:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(30538);var r=n(68805),i=n(97282);const o=(0,r.A)((0,i.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},21834:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var r=n(30538),i=n(94354),o=n(63262),a=n(89469),s=n(97282);const l=function(e){const{children:t,theme:n}=e,l=(0,i.A)(),c=r.useMemo((()=>{const e=null===l?{...n}:function(e,t){if("function"==typeof t)return t(e);return{...e,...t}}(l,n);return null!=e&&(e[a.A]=null!==l),e}),[n,l]);return(0,s.jsx)(o.A.Provider,{value:c,children:t})};var c=n(27938),u=n(64011),d=n(56),h=n(88977);const p={};function f(e,t,n,i=!1){return r.useMemo((()=>{const r=e&&t[e]||t;if("function"==typeof n){const o=n(r),a=e?{...t,[e]:o}:o;return i?()=>a:a}return e?{...t,[e]:n}:{...t,...n}}),[e,t,n,i])}const g=function(e){const{children:t,theme:n,themeId:r}=e,o=(0,u.A)(p),a=(0,i.A)()||p,g=f(r,o,n),m=f(r,a,n,!0),y="rtl"===g.direction;return(0,s.jsx)(l,{theme:m,children:(0,s.jsx)(c.T.Provider,{value:g,children:(0,s.jsx)(d.A,{value:y,children:(0,s.jsx)(h.A,{value:g?.components,children:t})})})})};var m=n(82452);function y({theme:e,...t}){const n=m.A in e?e[m.A]:void 0;return(0,s.jsx)(g,{...t,themeId:n?m.A:void 0,theme:n||e})}var v=n(74183),b=n(17972);const w="mode",x="color-scheme",A="data-color-scheme";function S(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}}function C(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function E(e,t){if("undefined"==typeof window)return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch(e){}return n||t}function k(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:i,supportedColorSchemes:o=[],modeStorageKey:a=w,colorSchemeStorageKey:s=x,storageWindow:l=("undefined"==typeof window?void 0:window)}=e,c=o.join(","),u=o.length>1,[d,h]=r.useState((()=>{const e=E(a,t),r=E(`${s}-light`,n),o=E(`${s}-dark`,i);return{mode:e,systemMode:S(e),lightColorScheme:r,darkColorScheme:o}})),[,p]=r.useState(!1),f=r.useRef(!1);r.useEffect((()=>{u&&p(!0),f.current=!0}),[u]);const g=function(e){return C(e,(t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0))}(d),m=r.useCallback((e=>{h((n=>{if(e===n.mode)return n;const r=e??t;try{localStorage.setItem(a,r)}catch(e){}return{...n,mode:r,systemMode:S(r)}}))}),[a,t]),y=r.useCallback((e=>{e?"string"==typeof e?e&&!c.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):h((t=>{const n={...t};return C(t,(t=>{try{localStorage.setItem(`${s}-${t}`,e)}catch(e){}"light"===t&&(n.lightColorScheme=e),"dark"===t&&(n.darkColorScheme=e)})),n})):h((t=>{const r={...t},o=null===e.light?n:e.light,a=null===e.dark?i:e.dark;if(o)if(c.includes(o)){r.lightColorScheme=o;try{localStorage.setItem(`${s}-light`,o)}catch(e){}}else console.error(`\`${o}\` does not exist in \`theme.colorSchemes\`.`);if(a)if(c.includes(a)){r.darkColorScheme=a;try{localStorage.setItem(`${s}-dark`,a)}catch(e){}}else console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`);return r})):h((e=>{try{localStorage.setItem(`${s}-light`,n),localStorage.setItem(`${s}-dark`,i)}catch(e){}return{...e,lightColorScheme:n,darkColorScheme:i}}))}),[c,s,n,i]),v=r.useCallback((e=>{"system"===d.mode&&h((t=>{const n=e?.matches?"dark":"light";return t.systemMode===n?t:{...t,systemMode:n}}))}),[d.mode]),b=r.useRef(v);return b.current=v,r.useEffect((()=>{if("function"!=typeof window.matchMedia||!u)return;const e=(...e)=>b.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}}),[u]),r.useEffect((()=>{if(l&&u){const e=e=>{const n=e.newValue;"string"!=typeof e.key||!e.key.startsWith(s)||n&&!c.match(n)||(e.key.endsWith("light")&&y({light:n}),e.key.endsWith("dark")&&y({dark:n})),e.key!==a||n&&!["light","dark","system"].includes(n)||m(n||t)};return l.addEventListener("storage",e),()=>{l.removeEventListener("storage",e)}}}),[y,m,a,s,c,t,l,u]),{...d,mode:f.current||!u?d.mode:void 0,systemMode:f.current||!u?d.systemMode:void 0,colorScheme:f.current||!u?g:void 0,setMode:m,setColorScheme:y}}var T=n(25971),_=n(28422);const O={attribute:"data-mui-color-scheme",colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:P,useColorScheme:I,getInitColorSchemeScript:M}=function(e){const{themeId:t,theme:n={},modeStorageKey:o=w,colorSchemeStorageKey:a=x,disableTransitionOnChange:l=!1,defaultColorScheme:c,resolveTheme:u}=e,d={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},h=r.createContext(void 0),p="string"==typeof c?c:c.light,f="string"==typeof c?c:c.dark;return{CssVarsProvider:function(e){const{children:d,theme:p,modeStorageKey:f=o,colorSchemeStorageKey:m=a,disableTransitionOnChange:y=l,storageWindow:v=("undefined"==typeof window?void 0:window),documentNode:w=("undefined"==typeof document?void 0:document),colorSchemeNode:x=("undefined"==typeof document?void 0:document.documentElement),disableNestedContext:A=!1,disableStyleSheetGeneration:S=!1}=e,C=r.useRef(!1),E=(0,i.A)(),T=r.useContext(h),_=!!T&&!A,O=r.useMemo((()=>p||("function"==typeof n?n():n)),[p]),P=O[t],{colorSchemes:I={},components:M={},cssVarPrefix:L,...R}=P||O,j=Object.keys(I).filter((e=>!!I[e])).join(","),F=r.useMemo((()=>j.split(",")),[j]),D="string"==typeof c?c:c.light,N="string"==typeof c?c:c.dark,B=I[D]&&I[N]?"system":I[R.defaultColorScheme]?.palette?.mode||R.palette?.mode,{mode:z,setMode:V,systemMode:$,lightColorScheme:G,darkColorScheme:U,colorScheme:W,setColorScheme:q}=k({supportedColorSchemes:F,defaultLightColorScheme:D,defaultDarkColorScheme:N,modeStorageKey:f,colorSchemeStorageKey:m,defaultMode:B,storageWindow:v});let H=z,Y=W;_&&(H=T.mode,Y=T.colorScheme);const K=Y||R.defaultColorScheme,X=R.generateThemeVars?.()||R.vars,Z={...R,components:M,colorSchemes:I,cssVarPrefix:L,vars:X};if("function"==typeof Z.generateSpacing&&(Z.spacing=Z.generateSpacing()),K){const e=I[K];e&&"object"==typeof e&&Object.keys(e).forEach((t=>{e[t]&&"object"==typeof e[t]?Z[t]={...Z[t],...e[t]}:Z[t]=e[t]}))}const J=R.colorSchemeSelector;r.useEffect((()=>{if(Y&&x&&J&&"media"!==J){const e=J;let t=J;if("class"===e&&(t=".%s"),"data"===e&&(t="[data-%s]"),e?.startsWith("data-")&&!e.includes("%s")&&(t=`[${e}="%s"]`),t.startsWith("."))x.classList.remove(...F.map((e=>t.substring(1).replace("%s",e)))),x.classList.add(t.substring(1).replace("%s",Y));else{const e=t.replace("%s",Y).match(/\[([^\]]+)\]/);if(e){const[t,n]=e[1].split("=");n||F.forEach((e=>{x.removeAttribute(t.replace(Y,e))})),x.setAttribute(t,n?n.replace(/"|'/g,""):"")}else x.setAttribute(t,Y)}}}),[Y,J,x,F]),r.useEffect((()=>{let e;if(y&&C.current&&w){const t=w.createElement("style");t.appendChild(w.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),w.head.appendChild(t),window.getComputedStyle(w.body),e=setTimeout((()=>{w.head.removeChild(t)}),1)}return()=>{clearTimeout(e)}}),[Y,y,w]),r.useEffect((()=>(C.current=!0,()=>{C.current=!1})),[]);const Q=r.useMemo((()=>({allColorSchemes:F,colorScheme:Y,darkColorScheme:U,lightColorScheme:G,mode:H,setColorScheme:q,setMode:V,systemMode:$})),[F,Y,U,G,H,q,V,$]);let ee=!0;(S||!1===R.cssVariables||_&&E?.cssVarPrefix===L)&&(ee=!1);const te=(0,s.jsxs)(r.Fragment,{children:[ee&&(0,s.jsx)(r.Fragment,{children:(Z.generateStyleSheets?.()||[]).map(((e,t)=>(0,s.jsx)(b.A,{styles:e},t)))}),(0,s.jsx)(g,{themeId:P?t:void 0,theme:u?u(Z):Z,children:d})]});return _?te:(0,s.jsx)(h.Provider,{value:Q,children:te})},useColorScheme:()=>r.useContext(h)||d,getInitColorSchemeScript:e=>function(e){const{defaultLightColorScheme:t="light",defaultDarkColorScheme:n="dark",modeStorageKey:r=w,colorSchemeStorageKey:i=x,attribute:o=A,colorSchemeNode:a="document.documentElement",nonce:l}=e||{};let c="",u=o;if("class"===o&&(u=".%s"),"data"===o&&(u="[data-%s]"),u.startsWith(".")){const e=u.substring(1);c+=`${a}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));\n ${a}.classList.add('${e}'.replace('%s', colorScheme));`}const d=u.match(/\[([^\]]+)\]/);if(d){const[e,t]=d[1].split("=");t||(c+=`${a}.removeAttribute('${e}'.replace('%s', light));\n ${a}.removeAttribute('${e}'.replace('%s', dark));`),c+=`\n ${a}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else c+=`${a}.setAttribute('${u}', colorScheme);`;return(0,s.jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?l:"",dangerouslySetInnerHTML:{__html:`(function() {\ntry {\n let colorScheme = '';\n const mode = localStorage.getItem('${r}') || 'system';\n const dark = localStorage.getItem('${i}-dark') || '${n}';\n const light = localStorage.getItem('${i}-light') || '${t}';\n if (mode === 'system') {\n // handle system mode\n const mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = dark\n } else {\n colorScheme = light\n }\n }\n if (mode === 'light') {\n colorScheme = light;\n }\n if (mode === 'dark') {\n colorScheme = dark;\n }\n if (colorScheme) {\n ${c}\n }\n} catch(e){}})();`}},"mui-color-scheme-init")}({colorSchemeStorageKey:a,defaultLightColorScheme:p,defaultDarkColorScheme:f,modeStorageKey:o,...e})}}({themeId:m.A,theme:()=>(0,T.A)({cssVariables:!0}),colorSchemeStorageKey:O.colorSchemeStorageKey,modeStorageKey:O.modeStorageKey,defaultColorScheme:{light:O.defaultLightColorScheme,dark:O.defaultDarkColorScheme},resolveTheme:e=>{const t={...e,typography:(0,_.A)(e.palette,e.typography)};return t.unstable_sx=function(e){return(0,v.A)({sx:e,theme:this})},t}});const L=P;function R({theme:e,...t}){if("function"==typeof e)return(0,s.jsx)(y,{theme:e,...t});return"colorSchemes"in(m.A in e?e[m.A]:e)?(0,s.jsx)(L,{theme:e,...t}):(0,s.jsx)(y,{theme:e,...t})}},25971:(e,t,n)=>{"use strict";n.d(t,{A:()=>J});var r=n(23662),i=n(37958),o=n(55803);const a={black:"#000",white:"#fff"},s={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"},l={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"},c={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"},u={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"},d={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"},h={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"},p={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={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:a.white,default:a.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}},g={text:{primary:a.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:a.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 m(e,t,n,r){const i=r.light||r,a=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,o.a)(e.main,i):"dark"===t&&(e.dark=(0,o.e$)(e.main,a)))}function y(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:y=.2,...v}=e,b=e.primary||function(e="light"){return"dark"===e?{main:d[200],light:d[50],dark:d[400]}:{main:d[700],light:d[400],dark:d[800]}}(t),w=e.secondary||function(e="light"){return"dark"===e?{main:l[200],light:l[50],dark:l[400]}:{main:l[500],light:l[300],dark:l[700]}}(t),x=e.error||function(e="light"){return"dark"===e?{main:c[500],light:c[300],dark:c[700]}:{main:c[700],light:c[400],dark:c[800]}}(t),A=e.info||function(e="light"){return"dark"===e?{main:h[400],light:h[300],dark:h[700]}:{main:h[700],light:h[500],dark:h[900]}}(t),S=e.success||function(e="light"){return"dark"===e?{main:p[400],light:p[300],dark:p[700]}:{main:p[800],light:p[500],dark:p[900]}}(t),C=e.warning||function(e="light"){return"dark"===e?{main:u[400],light:u[300],dark:u[700]}:{main:"#ed6c02",light:u[500],dark:u[900]}}(t);function E(e){return(0,o.eM)(e,g.text.primary)>=n?g.text.primary:f.text.primary}const k=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e={...e}).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error((0,r.A)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error((0,r.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return m(e,"light",i,y),m(e,"dark",o,y),e.contrastText||(e.contrastText=E(e.main)),e},T={dark:g,light:f};return(0,i.A)({common:{...a},mode:t,primary:k({color:b,name:"primary"}),secondary:k({color:w,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:k({color:x,name:"error"}),warning:k({color:C,name:"warning"}),info:k({color:A,name:"info"}),success:k({color:S,name:"success"}),grey:s,contrastThreshold:n,getContrastText:E,augmentColor:k,tonalOffset:y,...T[t]},v)}function v(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}var b=n(24271),w=n(5928);function x(e){const t={};return Object.entries(e).forEach((e=>{const[n,r]=e;"object"==typeof r&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)})),t}const A=(e,t,n,r=[])=>{let i=e;t.forEach(((e,o)=>{o===t.length-1?Array.isArray(i)?i[Number(e)]=n:i&&"object"==typeof i&&(i[e]=n):i&&"object"==typeof i&&(i[e]||(i[e]=r.includes(e)?[]:{}),i=i[e])}))},S=(e,t,n)=>{!function e(r,i=[],o=[]){Object.entries(r).forEach((([r,a])=>{(!n||n&&!n([...i,r]))&&null!=a&&("object"==typeof a&&Object.keys(a).length>0?e(a,[...i,r],Array.isArray(a)?[...o,r]:o):t([...i,r],a,o))}))}(e)},C=(e,t)=>{if("number"==typeof t){if(["lineHeight","fontWeight","opacity","zIndex"].some((t=>e.includes(t))))return t;return e[e.length-1].toLowerCase().indexOf("opacity")>=0?t:`${t}px`}return t};function E(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},i={},o={},a={};return S(e,((e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`,l=C(e,t);Object.assign(i,{[r]:l}),A(o,e,`var(${r})`,s),A(a,e,`var(${r}, ${l})`,s)}}),(e=>"vars"===e[0])),{css:i,vars:o,varsWithDefaults:a}}const k=function(e,t={}){const{getSelector:n=y,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:a={},components:s,defaultColorScheme:l="light",...c}=e,{vars:u,css:d,varsWithDefaults:h}=E(c,t);let p=h;const f={},{[l]:g,...m}=a;if(Object.entries(m||{}).forEach((([e,n])=>{const{vars:r,css:o,varsWithDefaults:a}=E(n,t);p=(0,i.A)(p,a),f[e]={css:o,vars:r}})),g){const{css:e,vars:n,varsWithDefaults:r}=E(g,t);p=(0,i.A)(p,r),f[l]={css:e,vars:n}}function y(t,n){let r=o;if("class"===o&&(r=".%s"),"data"===o&&(r="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(r=`[${o}="%s"]`),t){if("media"===r){if(e.defaultColorScheme===t)return":root";const r=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${r})`]:{":root":n}}}if(r)return e.defaultColorScheme===t?`:root, ${r.replace("%s",String(t))}`:r.replace("%s",String(t))}return":root"}return{vars:p,generateThemeVars:()=>{let e={...u};return Object.entries(f).forEach((([,{vars:t}])=>{e=(0,i.A)(e,t)})),e},generateStyleSheets:()=>{const t=[],i=e.defaultColorScheme||"light";function o(e,n){Object.keys(n).length&&t.push("string"==typeof e?{[e]:{...n}}:e)}o(n(void 0,{...d}),d);const{[i]:s,...l}=f;if(s){const{css:e}=s,t=a[i]?.palette?.mode,l=!r&&t?{colorScheme:t,...e}:{...e};o(n(i,{...l}),l)}return Object.entries(l).forEach((([e,{css:t}])=>{const i=a[e]?.palette?.mode,s=!r&&i?{colorScheme:i,...t}:{...t};o(n(e,{...s}),s)})),t}}};var T=n(80376),_=n(74183),O=n(15309);var P=n(28422);function I(...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 M=["none",I(0,2,1,-1,0,1,1,0,0,1,3,0),I(0,3,1,-2,0,2,2,0,0,1,5,0),I(0,3,3,-2,0,3,4,0,0,1,8,0),I(0,2,4,-1,0,4,5,0,0,1,10,0),I(0,3,5,-1,0,5,8,0,0,1,14,0),I(0,3,5,-1,0,6,10,0,0,1,18,0),I(0,4,5,-2,0,7,10,1,0,2,16,1),I(0,5,5,-3,0,8,10,1,0,3,14,2),I(0,5,6,-3,0,9,12,1,0,3,16,2),I(0,6,6,-3,0,10,14,1,0,4,18,3),I(0,6,7,-4,0,11,15,1,0,4,20,3),I(0,7,8,-4,0,12,17,2,0,5,22,4),I(0,7,8,-4,0,13,19,2,0,5,24,4),I(0,7,9,-4,0,14,21,2,0,5,26,4),I(0,8,9,-5,0,15,22,2,0,6,28,5),I(0,8,10,-5,0,16,24,2,0,6,30,5),I(0,8,11,-5,0,17,26,2,0,6,32,5),I(0,9,11,-5,0,18,28,2,0,7,34,6),I(0,9,12,-6,0,19,29,2,0,7,36,6),I(0,10,13,-6,0,20,31,3,0,8,38,7),I(0,10,13,-6,0,21,33,3,0,8,40,7),I(0,10,14,-6,0,22,35,3,0,8,42,7),I(0,11,14,-7,0,23,36,3,0,9,44,8),I(0,11,15,-7,0,24,38,3,0,9,46,8)];var L=n(95831);const R={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function j(e={},...t){const{breakpoints:n,mixins:o={},spacing:a,palette:s={},transitions:l={},typography:c={},shape:u,...d}=e;if(e.vars)throw new Error((0,r.A)(20));const h=y(s),p=(0,O.A)(e);let f=(0,i.A)(p,{mixins:(g=p.breakpoints,m=o,{toolbar:{minHeight:56,[g.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[g.up("sm")]:{minHeight:64}},...m}),palette:h,shadows:M.slice(),typography:(0,P.A)(h,c),transitions:(0,L.Ay)(l),zIndex:{...R}});var g,m;return f=(0,i.A)(f,d),f=t.reduce(((e,t)=>(0,i.A)(e,t)),f),f.unstable_sxConfig={...T.A,...d?.unstable_sxConfig},f.unstable_sx=function(e){return(0,_.A)({sx:e,theme:this})},f}const F=j;var D=n(21011);const N=[...Array(25)].map(((e,t)=>{if(0===t)return;const n=(0,D.A)(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`}));function B(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function z(e){return"dark"===e?N:[]}function V(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const $=e=>[...[...Array(24)].map(((t,n)=>`--${e?`${e}-`:""}overlays-${n+1}`)),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],G=e=>(t,n)=>{const r=e.colorSchemeSelector;let i=r;if("class"===r&&(i=".%s"),"data"===r&&(i="[data-%s]"),r?.startsWith("data-")&&!r.includes("%s")&&(i=`[${r}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const r={};return $(e.cssVarPrefix).forEach((e=>{r[e]=n[e],delete n[e]})),"media"===i?{":root":n,"@media (prefers-color-scheme: dark)":{":root":r}}:i?{[i.replace("%s",t)]:r,[`:root, ${i.replace("%s",t)}`]:n}:{":root":{...n,...r}}}if(i&&"media"!==i)return`:root, ${i.replace("%s",String(t))}`}else if(t){if("media"===i)return{[`@media (prefers-color-scheme: ${String(t)})`]:{":root":n}};if(i)return i.replace("%s",String(t))}return":root"};function U(e={}){const t={...e};return function e(t){const n=Object.entries(t);for(let o=0;o{try{return e()}catch(e){}},K=(e="mui")=>v(e);function X(e,t,n,r){if(!t)return;t=!0===t?{}:t;const i="dark"===r?"dark":"light";if(!n)return void(e[r]=function(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...i}=e,o=y(t);return{palette:o,opacity:{...B(o.mode),...n},overlays:r||z(o.mode),...i}}({...t,palette:{mode:i,...t?.palette}}));const{palette:o,...a}=F({...n,palette:{mode:i,...t?.palette}});return e[r]={...t,palette:o,opacity:{...B(i),...t?.opacity},overlays:t?.overlays||z(i)},a}function Z(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...!0!==n&&n,palette:y({...!0===n?{}:n.palette,mode:t})})}function J(e={},...t){const{palette:n,cssVariables:a=!1,colorSchemes:s=(n?void 0:{light:!0}),defaultColorScheme:l=n?.mode,...c}=e,u=l||"light",d=s?.[u],h={...s,...n?{[u]:{..."boolean"!=typeof d&&d,palette:n}}:void 0};if(!1===a){if(!("colorSchemes"in e))return F(e,...t);let r=n;"palette"in e||h[u]&&(!0!==h[u]?r=h[u].palette:"dark"===u&&(r={mode:"dark"}));const i=F({...e,palette:r},...t);return i.defaultColorScheme=u,i.colorSchemes=h,"light"===i.palette.mode&&(i.colorSchemes.light={...!0!==h.light&&h.light,palette:i.palette},Z(i,"dark",h.dark)),"dark"===i.palette.mode&&(i.colorSchemes.dark={...!0!==h.dark&&h.dark,palette:i.palette},Z(i,"light",h.light)),i}return n||"light"in h||"light"!==u||(h.light=!0),function(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:a,disableCssColorScheme:s=!1,cssVarPrefix:l="mui",shouldSkipGeneratingVar:c=V,colorSchemeSelector:u=(n.light&&n.dark?"media":void 0),...d}=e,h=Object.keys(n)[0],p=a||(n.light&&"light"!==h?"light":h),f=K(l),{[p]:g,light:m,dark:y,...v}=n,A={...v};let S=g;if(("dark"===p&&!("dark"in n)||"light"===p&&!("light"in n))&&(S=!0),!S)throw new Error((0,r.A)(21,p));const C=X(A,S,d,p);m&&!A.light&&X(A,m,void 0,"light"),y&&!A.dark&&X(A,y,void 0,"dark");let E={defaultColorScheme:p,...C,cssVarPrefix:l,colorSchemeSelector:u,getCssVar:f,colorSchemes:A,font:{...x(C.typography),...C.font},spacing:(O=d.spacing,"number"==typeof O?`${O}px`:"string"==typeof O||"function"==typeof O||Array.isArray(O)?O:"8px")};var O;Object.keys(E.colorSchemes).forEach((e=>{const t=E.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],i=n[2];return f(e,t[r][i])};var r;if("light"===t.mode&&(W(t.common,"background","#fff"),W(t.common,"onBackground","#000")),"dark"===t.mode&&(W(t.common,"background","#000"),W(t.common,"onBackground","#fff")),r=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach((e=>{r[e]||(r[e]={})})),"light"===t.mode){W(t.Alert,"errorColor",(0,o.Nd)(t.error.light,.6)),W(t.Alert,"infoColor",(0,o.Nd)(t.info.light,.6)),W(t.Alert,"successColor",(0,o.Nd)(t.success.light,.6)),W(t.Alert,"warningColor",(0,o.Nd)(t.warning.light,.6)),W(t.Alert,"errorFilledBg",n("palette-error-main")),W(t.Alert,"infoFilledBg",n("palette-info-main")),W(t.Alert,"successFilledBg",n("palette-success-main")),W(t.Alert,"warningFilledBg",n("palette-warning-main")),W(t.Alert,"errorFilledColor",Y((()=>t.getContrastText(t.error.main)))),W(t.Alert,"infoFilledColor",Y((()=>t.getContrastText(t.info.main)))),W(t.Alert,"successFilledColor",Y((()=>t.getContrastText(t.success.main)))),W(t.Alert,"warningFilledColor",Y((()=>t.getContrastText(t.warning.main)))),W(t.Alert,"errorStandardBg",(0,o.j4)(t.error.light,.9)),W(t.Alert,"infoStandardBg",(0,o.j4)(t.info.light,.9)),W(t.Alert,"successStandardBg",(0,o.j4)(t.success.light,.9)),W(t.Alert,"warningStandardBg",(0,o.j4)(t.warning.light,.9)),W(t.Alert,"errorIconColor",n("palette-error-main")),W(t.Alert,"infoIconColor",n("palette-info-main")),W(t.Alert,"successIconColor",n("palette-success-main")),W(t.Alert,"warningIconColor",n("palette-warning-main")),W(t.AppBar,"defaultBg",n("palette-grey-100")),W(t.Avatar,"defaultBg",n("palette-grey-400")),W(t.Button,"inheritContainedBg",n("palette-grey-300")),W(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),W(t.Chip,"defaultBorder",n("palette-grey-400")),W(t.Chip,"defaultAvatarColor",n("palette-grey-700")),W(t.Chip,"defaultIconColor",n("palette-grey-700")),W(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),W(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),W(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),W(t.LinearProgress,"primaryBg",(0,o.j4)(t.primary.main,.62)),W(t.LinearProgress,"secondaryBg",(0,o.j4)(t.secondary.main,.62)),W(t.LinearProgress,"errorBg",(0,o.j4)(t.error.main,.62)),W(t.LinearProgress,"infoBg",(0,o.j4)(t.info.main,.62)),W(t.LinearProgress,"successBg",(0,o.j4)(t.success.main,.62)),W(t.LinearProgress,"warningBg",(0,o.j4)(t.warning.main,.62)),W(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.11)`),W(t.Slider,"primaryTrack",(0,o.j4)(t.primary.main,.62)),W(t.Slider,"secondaryTrack",(0,o.j4)(t.secondary.main,.62)),W(t.Slider,"errorTrack",(0,o.j4)(t.error.main,.62)),W(t.Slider,"infoTrack",(0,o.j4)(t.info.main,.62)),W(t.Slider,"successTrack",(0,o.j4)(t.success.main,.62)),W(t.Slider,"warningTrack",(0,o.j4)(t.warning.main,.62));const e=(0,o.Y9)(t.background.default,.8);W(t.SnackbarContent,"bg",e),W(t.SnackbarContent,"color",Y((()=>t.getContrastText(e)))),W(t.SpeedDialAction,"fabHoverBg",(0,o.Y9)(t.background.paper,.15)),W(t.StepConnector,"border",n("palette-grey-400")),W(t.StepContent,"border",n("palette-grey-400")),W(t.Switch,"defaultColor",n("palette-common-white")),W(t.Switch,"defaultDisabledColor",n("palette-grey-100")),W(t.Switch,"primaryDisabledColor",(0,o.j4)(t.primary.main,.62)),W(t.Switch,"secondaryDisabledColor",(0,o.j4)(t.secondary.main,.62)),W(t.Switch,"errorDisabledColor",(0,o.j4)(t.error.main,.62)),W(t.Switch,"infoDisabledColor",(0,o.j4)(t.info.main,.62)),W(t.Switch,"successDisabledColor",(0,o.j4)(t.success.main,.62)),W(t.Switch,"warningDisabledColor",(0,o.j4)(t.warning.main,.62)),W(t.TableCell,"border",(0,o.j4)((0,o.Cg)(t.divider,1),.88)),W(t.Tooltip,"bg",(0,o.Cg)(t.grey[700],.92))}if("dark"===t.mode){W(t.Alert,"errorColor",(0,o.j4)(t.error.light,.6)),W(t.Alert,"infoColor",(0,o.j4)(t.info.light,.6)),W(t.Alert,"successColor",(0,o.j4)(t.success.light,.6)),W(t.Alert,"warningColor",(0,o.j4)(t.warning.light,.6)),W(t.Alert,"errorFilledBg",n("palette-error-dark")),W(t.Alert,"infoFilledBg",n("palette-info-dark")),W(t.Alert,"successFilledBg",n("palette-success-dark")),W(t.Alert,"warningFilledBg",n("palette-warning-dark")),W(t.Alert,"errorFilledColor",Y((()=>t.getContrastText(t.error.dark)))),W(t.Alert,"infoFilledColor",Y((()=>t.getContrastText(t.info.dark)))),W(t.Alert,"successFilledColor",Y((()=>t.getContrastText(t.success.dark)))),W(t.Alert,"warningFilledColor",Y((()=>t.getContrastText(t.warning.dark)))),W(t.Alert,"errorStandardBg",(0,o.Nd)(t.error.light,.9)),W(t.Alert,"infoStandardBg",(0,o.Nd)(t.info.light,.9)),W(t.Alert,"successStandardBg",(0,o.Nd)(t.success.light,.9)),W(t.Alert,"warningStandardBg",(0,o.Nd)(t.warning.light,.9)),W(t.Alert,"errorIconColor",n("palette-error-main")),W(t.Alert,"infoIconColor",n("palette-info-main")),W(t.Alert,"successIconColor",n("palette-success-main")),W(t.Alert,"warningIconColor",n("palette-warning-main")),W(t.AppBar,"defaultBg",n("palette-grey-900")),W(t.AppBar,"darkBg",n("palette-background-paper")),W(t.AppBar,"darkColor",n("palette-text-primary")),W(t.Avatar,"defaultBg",n("palette-grey-600")),W(t.Button,"inheritContainedBg",n("palette-grey-800")),W(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),W(t.Chip,"defaultBorder",n("palette-grey-700")),W(t.Chip,"defaultAvatarColor",n("palette-grey-300")),W(t.Chip,"defaultIconColor",n("palette-grey-300")),W(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),W(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),W(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),W(t.LinearProgress,"primaryBg",(0,o.Nd)(t.primary.main,.5)),W(t.LinearProgress,"secondaryBg",(0,o.Nd)(t.secondary.main,.5)),W(t.LinearProgress,"errorBg",(0,o.Nd)(t.error.main,.5)),W(t.LinearProgress,"infoBg",(0,o.Nd)(t.info.main,.5)),W(t.LinearProgress,"successBg",(0,o.Nd)(t.success.main,.5)),W(t.LinearProgress,"warningBg",(0,o.Nd)(t.warning.main,.5)),W(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.13)`),W(t.Slider,"primaryTrack",(0,o.Nd)(t.primary.main,.5)),W(t.Slider,"secondaryTrack",(0,o.Nd)(t.secondary.main,.5)),W(t.Slider,"errorTrack",(0,o.Nd)(t.error.main,.5)),W(t.Slider,"infoTrack",(0,o.Nd)(t.info.main,.5)),W(t.Slider,"successTrack",(0,o.Nd)(t.success.main,.5)),W(t.Slider,"warningTrack",(0,o.Nd)(t.warning.main,.5));const e=(0,o.Y9)(t.background.default,.98);W(t.SnackbarContent,"bg",e),W(t.SnackbarContent,"color",Y((()=>t.getContrastText(e)))),W(t.SpeedDialAction,"fabHoverBg",(0,o.Y9)(t.background.paper,.15)),W(t.StepConnector,"border",n("palette-grey-600")),W(t.StepContent,"border",n("palette-grey-600")),W(t.Switch,"defaultColor",n("palette-grey-300")),W(t.Switch,"defaultDisabledColor",n("palette-grey-600")),W(t.Switch,"primaryDisabledColor",(0,o.Nd)(t.primary.main,.55)),W(t.Switch,"secondaryDisabledColor",(0,o.Nd)(t.secondary.main,.55)),W(t.Switch,"errorDisabledColor",(0,o.Nd)(t.error.main,.55)),W(t.Switch,"infoDisabledColor",(0,o.Nd)(t.info.main,.55)),W(t.Switch,"successDisabledColor",(0,o.Nd)(t.success.main,.55)),W(t.Switch,"warningDisabledColor",(0,o.Nd)(t.warning.main,.55)),W(t.TableCell,"border",(0,o.Nd)((0,o.Cg)(t.divider,1),.68)),W(t.Tooltip,"bg",(0,o.Cg)(t.grey[700],.92))}H(t.background,"default"),H(t.background,"paper"),H(t.common,"background"),H(t.common,"onBackground"),H(t,"divider"),Object.keys(t).forEach((e=>{const n=t[e];n&&"object"==typeof n&&(n.main&&W(t[e],"mainChannel",(0,o.Me)(q(n.main))),n.light&&W(t[e],"lightChannel",(0,o.Me)(q(n.light))),n.dark&&W(t[e],"darkChannel",(0,o.Me)(q(n.dark))),n.contrastText&&W(t[e],"contrastTextChannel",(0,o.Me)(q(n.contrastText))),"text"===e&&(H(t[e],"primary"),H(t[e],"secondary")),"action"===e&&(n.active&&H(t[e],"active"),n.selected&&H(t[e],"selected")))}))})),E=t.reduce(((e,t)=>(0,i.A)(e,t)),E);const P={prefix:l,disableCssColorScheme:s,shouldSkipGeneratingVar:c,getSelector:G(E)},{vars:I,generateThemeVars:M,generateStyleSheets:L}=k(E,P);return E.vars=I,Object.entries(E.colorSchemes[E.defaultColorScheme]).forEach((([e,t])=>{E[e]=t})),E.generateThemeVars=M,E.generateStyleSheets=L,E.generateSpacing=function(){return(0,b.A)(d.spacing,(0,w.LX)(this))},E.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(u),E.spacing=E.generateSpacing(),E.shouldSkipGeneratingVar=c,E.unstable_sxConfig={...T.A,...d?.unstable_sxConfig},E.unstable_sx=function(e){return(0,_.A)({sx:e,theme:this})},E.toRuntimeSource=U,E}({...c,colorSchemes:h,defaultColorScheme:u,..."boolean"!=typeof a&&a},...t)}},95831:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,p0:()=>i});const 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)"},i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function o(e){return`${Math.round(e)}ms`}function a(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function s(e){const t={...r,...e.easing},n={...i,...e.duration};return{getAutoHeightDuration:a,create:(e=["all"],r={})=>{const{duration:i=n.standard,easing:a=t.easeInOut,delay:s=0,...l}=r;return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof i?i:o(i)} ${a} ${"string"==typeof s?s:o(s)}`)).join(",")},...e,easing:t,duration:n}}},28422:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(37958);const i={textTransform:"uppercase"},o='"Roboto", "Helvetica", "Arial", sans-serif';function a(e,t){const{fontFamily:n=o,fontSize:a=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:d=16,allVariants:h,pxToRem:p,...f}="function"==typeof t?t(e):t;const g=a/14,m=p||(e=>e/d*g+"rem"),y=(e,t,r,i,a)=>{return{fontFamily:n,fontWeight:e,fontSize:m(t),lineHeight:r,...n===o?{letterSpacing:(s=i/t,Math.round(1e5*s)/1e5)+"em"}:{},...a,...h};var s},v={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,i),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,i),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,r.A)({htmlFontSize:d,pxToRem:m,fontFamily:n,fontSize:a,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u,...v},f,{clone:!1})}},92553:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(25971).A)()},21011:(e,t,n)=>{"use strict";function r(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}n.d(t,{A:()=>r})},82452:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="$$material"},63374:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(25578);const i=e=>(0,r.A)(e)&&"classes"!==e},25578:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}},96756:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s});var r=n(8979),i=n(92553),o=n(82452),a=n(63374);const s=(0,r.Ay)({themeId:o.A,defaultTheme:i.A,rootShouldForwardProp:a.A})},13679:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(30538);var r=n(35905),i=n(92553),o=n(82452);function a(){const e=(0,r.A)(i.A);return e[o.A]||e}},72305:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(36039),i=n(92553),o=n(82452);function a({props:e,name:t}){return(0,r.A)({props:e,name:t,defaultTheme:i.A,themeId:o.A})}},96406:(e,t,n)=>{"use strict";n.d(t,{c:()=>i,q:()=>r});const r=e=>e.scrollTop;function i(e,t){const{timeout:n,easing:r,style:i={}}=e;return{duration:i.transitionDuration??("number"==typeof n?n:n[t.mode]||0),easing:i.transitionTimingFunction??("object"==typeof r?r[t.mode]:r),delay:i.transitionDelay}}},84766:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(49840).A},89194:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(9690).A},68805:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(30538),i=n(58025),o=n(97282);function a(e,t){function n(n,r){return(0,o.jsx)(i.A,{"data-testid":`${t}Icon`,ref:r,...n,children:e})}return n.muiName=i.A.muiName,r.memo(r.forwardRef(n))}},94035:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(85774).A},98677:(e,t,n)=>{"use strict";n.r(t),n.d(t,{capitalize:()=>i.A,createChainedFunction:()=>o.A,createSvgIcon:()=>a.A,debounce:()=>s.A,deprecatedPropType:()=>l,isMuiElement:()=>c.A,ownerDocument:()=>d.A,ownerWindow:()=>h.A,requirePropFactory:()=>p,setRef:()=>f,unstable_ClassNameGenerator:()=>x,unstable_memoTheme:()=>u.A,unstable_useEnhancedEffect:()=>g.A,unstable_useId:()=>m.A,unsupportedProp:()=>y,useControlled:()=>v.A,useEventCallback:()=>b.A,useForkRef:()=>w.A});var r=n(8292),i=n(84766),o=n(89194),a=n(68805),s=n(94035);const l=function(e,t){return()=>null};var c=n(18747),u=n(51097),d=n(63436),h=n(58233);const p=function(e,t){return()=>null};const f=n(47654).A;var g=n(30294),m=n(74056);const y=function(e,t,n,r,i){return null};var v=n(44451),b=n(5974),w=n(51704);const x={configure:e=>{r.A.configure(e)}}},69839:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return"string"==typeof e}},18747:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(51622).A},51097:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const r={theme:void 0};function i(e){let t,n;return i=>{let o=t;return void 0!==o&&i.theme===n||(r.theme=i.theme,o=e(r),t=o,n=i.theme),o}}},63436:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(15046).A},58233:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(85790).A},44451:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(93678).A},30294:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(56050).A},5974:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(52728).A},51704:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(78664).A},74056:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(42558).A},75206:(e,t,n)=>{"use strict";n.d(t,{Dp:()=>d,Dg:()=>h});n(30538);var r=n(60531),i=n(17972),o=n(35905),a=n(97282);const s=function({styles:e,themeId:t,defaultTheme:n={}}){const r=(0,o.A)(n),s="function"==typeof e?e(t&&r[t]||r):e;return(0,a.jsx)(i.A,{styles:s})};var l=n(92553),c=n(82452);const u=function(e){return(0,a.jsx)(s,{...e,defaultTheme:l.A,themeId:c.A})};function d(e){return function(t){return(0,a.jsx)(u,{styles:"function"==typeof e?n=>e({theme:n,...t}):e})}}function h(){return r.A}},89469:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__"},63262:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(30538).createContext(null)},94354:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(30538),i=n(63262);function o(){return r.useContext(i.A)}},17972:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(30538);var r=n(89881),i=n(97282);function o(e){const{styles:t,defaultTheme:n={}}=e,o="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,i.jsx)(r.mL,{styles:o})}},61226:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tP,q_:()=>I});var i=n(30538),o=n(50098),a=/^((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 a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=n(27938),c=n(37125),u=n(88922),d={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},h=!1,p=/[A-Z]|^ms/g,f=/_EMO_([^_]+?)_([^]*?)_EMO_/g,g=function(e){return 45===e.charCodeAt(1)},m=function(e){return null!=e&&"boolean"!=typeof e},y=(0,o.A)((function(e){return g(e)?e:e.replace(p,"-$&").toLowerCase()})),v=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(f,(function(e,t,n){return x={name:t,styles:n,next:x},t}))}return 1===d[e]||g(e)||"number"!=typeof t||0===t?t:t+"px"},b="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function w(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return x={name:i.name,styles:i.styles,next:x},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)x={name:a.name,styles:a.styles,next:x},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i96?C:E},T=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},_=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,c.SF)(t,n,r),(0,S.s)((function(){return(0,c.sk)(t,n,r)})),null},O=function e(t,n){var o,a,s=t.__emotion_real===t,d=s&&t.__emotion_base||t;void 0!==n&&(o=n.label,a=n.target);var h=T(t,n,s),p=h||k(d),f=!p("as");return function(){var g=arguments,m=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&m.push("label:"+o+";"),null==g[0]||void 0===g[0].raw)m.push.apply(m,g);else{m.push(g[0][0]);for(var y=g.length,v=1;v{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},88977:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,b:()=>s});var r=n(30538),i=n(66920),o=n(97282);const a=r.createContext(void 0);function s({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?(0,i.A)(o.defaultProps,r):o.styleOverrides||o.variants?r:(0,i.A)(o,r)}({props:e,name:t,theme:{components:r.useContext(a)}})}const l=function({value:e,children:t}){return(0,o.jsx)(a.Provider,{value:e,children:t})}},56:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,I:()=>a});var r=n(30538),i=n(97282);const o=r.createContext();const a=()=>r.useContext(o)??!1,s=function({value:e,...t}){return(0,i.jsx)(o.Provider,{value:e??!0,...t})}},63983:(e,t,n)=>{"use strict";n.d(t,{EU:()=>c,NI:()=>l,iZ:()=>d,kW:()=>h,vf:()=>u,zu:()=>o});var r=n(37958),i=n(12623);const o={xs:0,sm:600,md:900,lg:1200,xl:1536},a={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${o[e]}px)`},s={containerQueries:e=>({up:t=>{let n="number"==typeof t?t:o[t]||t;return"number"==typeof n&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function l(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||a;return t.reduce(((r,i,o)=>(r[e.up(e.keys[o])]=n(t[o]),r)),{})}if("object"==typeof t){const e=r.breakpoints||a;return Object.keys(t).reduce(((a,l)=>{if((0,i.ob)(e.keys,l)){const e=(0,i.CT)(r.containerQueries?r:s,l);e&&(a[e]=n(t[l],l))}else if(Object.keys(e.values||o).includes(l)){a[e.up(l)]=n(t[l],l)}else{const e=l;a[e]=t[e]}return a}),{})}return n(t)}function c(e={}){const t=e.keys?.reduce(((t,n)=>(t[e.up(n)]={},t)),{});return t||{}}function u(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function d(e,...t){const n=c(e),i=[n,...t].reduce(((e,t)=>(0,r.A)(e,t)),{});return u(Object.keys(n),i)}function h({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r{null!=e[t]&&(n[t]=!0)})),n}(e,t),i=Object.keys(r);if(0===i.length)return e;let o;return i.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[o],o=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[o],o=n):t[n]=e,t)),{})}},55803:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>p,Me:()=>s,Nd:()=>g,X4:()=>h,Y9:()=>b,YL:()=>c,a:()=>m,e$:()=>f,eM:()=>d,j4:()=>y,tL:()=>v});var r=n(23662),i=n(10710);function o(e,t=0,n=1){return(0,i.A)(e,t,n)}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error((0,r.A)(9,e));let i,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),i=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(i))throw new Error((0,r.A)(10,i))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:n,values:o,colorSpace:i}}const s=(e,t)=>{try{return(e=>{const t=a(e);return t.values.slice(0,3).map(((e,n)=>t.type.includes("hsl")&&0!==n?`${e}%`:e)).join(" ")})(e)}catch(t){return e}};function l(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function c(e){e=a(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,o=r*Math.min(i,1-i),s=(e,t=(e+n/30)%12)=>i-o*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const u=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}function u(e){let t="hsl"===(e=a(e)).type||"hsla"===e.type?a(c(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function d(e,t){const n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function h(e,t){return e=a(e),t=o(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)}function p(e,t,n){try{return h(e,t)}catch(t){return e}}function f(e,t){if(e=a(e),t=o(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)}function g(e,t,n){try{return f(e,t)}catch(t){return e}}function m(e,t){if(e=a(e),t=o(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)}function y(e,t,n){try{return m(e,t)}catch(t){return e}}function v(e,t=.15){return u(e)>.5?f(e,t):m(e,t)}function b(e,t,n){try{return v(e,t)}catch(t){return e}}},8979:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>f,MC:()=>l});var r=n(61226),i=n(37958),o=n(15309),a=n(74183);const s=(0,o.A)();function l(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function c(e,t,n){return function(e){for(const t in e)return!1;return!0}(t)?n:t[e]||t}const u=Symbol("mui.processed_props");function d(e,t,n){if(u in e)return e[u];const r={...e,theme:c(t,e.theme,n)};return e[u]=r,r[u]=r,r}function h(e){return e?(t,n)=>n[e]:null}function p(e,t){const n="function"==typeof e?e(t):e;if(Array.isArray(n))return n.flatMap((e=>p(e,t)));if(Array.isArray(n?.variants)){const{variants:e,...r}=n;let i,o=r;e:for(let n=0;n(0,a.A)(d(e,t,n));f.__mui_systemSx=!0;return(e,a={})=>{(0,r.q_)(e,(e=>e.filter((e=>!e?.__mui_systemSx))));const{name:s,slot:m,skipVariantsResolver:y,skipSx:v,overridesResolver:b=h(g(m)),...w}=a,x=void 0!==y?y:m&&"Root"!==m&&"root"!==m||!1,A=v||!1;let S=l;"Root"===m||"root"===m?S=o:m?S=u:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(S=void 0);const C=(0,r.Ay)(e,{shouldForwardProp:S,label:undefined,...w}),E=e=>"function"==typeof e&&e.__emotion_real!==e||(0,i.Q)(e)?r=>p(e,d(r,t,n)):e,k=(r,...i)=>{let o=E(r);const a=i?i.map(E):[];s&&b&&a.push((e=>{const r=c(t,e.theme,n);if(!r.components||!r.components[s]||!r.components[s].styleOverrides)return null;const i=r.components[s].styleOverrides,o={},a=d(e,t,n);for(const e in i)o[e]=p(i[e],a);return b(e,o)})),s&&!x&&a.push((e=>{const r=c(t,e.theme,n),i=r?.components?.[s]?.variants;return i?p({variants:i},d(e,t,n)):null})),A||a.push(f);const l=a.length-i.length;if(Array.isArray(r)&&l>0){const e=new Array(l).fill("");o=[...r,...e],o.raw=[...r.raw,...e]}const u=C(o,...a);return e.muiName&&(u.muiName=e.muiName),u};return C.withConfig&&(k.withConfig=C.withConfig),k}}function g(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}},24271:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5928);function i(e=8,t=(0,r.LX)({spacing:e})){if(e.mui)return e;const n=(...e)=>{return(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ")};return n.mui=!0,n}},15309:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(37958);const i=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>({...e,[t.key]:t.val})),{})};var o=n(12623);const a={borderRadius:4};var s=n(24271),l=n(74183),c=n(80376);function u(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||"function"!=typeof n.getColorSchemeSelector)return{};let r=n.getColorSchemeSelector(e);return(r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t}}return n.palette.mode===e?t:{}}const d=function(e={},...t){const{breakpoints:n={},palette:d={},spacing:h,shape:p={},...f}=e,g=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,a=i(t),s=Object.keys(a);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function c(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function u(e,i){const o=s.indexOf(i);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"==typeof t[s[o]]?t[s[o]]:i)-r/100}${n})`}return{keys:s,values:a,up:l,down:c,between:u,only:function(e){return s.indexOf(e)+1(0,r.A)(e,t)),y),y.unstable_sxConfig={...c.A,...f?.unstable_sxConfig},y.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},y}},12623:(e,t,n)=>{"use strict";function r(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter((e=>e.startsWith("@container"))).sort(((e,t)=>{const n=/min-width:\s*([0-9.]+)/;return+(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)}));return n.length?n.reduce(((e,n)=>{const r=t[n];return delete e[n],e[n]=r,e}),{...t}):t}function i(e,t){return"@"===t||t.startsWith("@")&&(e.some((e=>t.startsWith(`@${e}`)))||!!t.match(/^@\d/))}function o(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,i]=n,o=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(o)}function a(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{const i=t(e.breakpoints.not(...n),r);return i.includes("not all and")?i.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):i}}const r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}n.d(t,{Ay:()=>a,CT:()=>o,_S:()=>r,ob:()=>i})},2927:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(37958);const i=function(e,t){return t?(0,r.A)(e,t,{clone:!1}):e}},5928:(e,t,n)=>{"use strict";n.d(t,{LX:()=>f,MA:()=>p,_W:()=>g,Lc:()=>v,Ms:()=>b});var r=n(63983),i=n(73847),o=n(2927);const a={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"},c=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,n]=e.split(""),r=a[t],i=s[n]||"";return Array.isArray(i)?i.map((e=>r+e)):[r+i]})),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],h=[...u,...d];function p(e,t,n,r){const o=(0,i.Yn)(e,t,!0)??n;return"number"==typeof o||"string"==typeof o?e=>"string"==typeof e?e:"string"==typeof o?`calc(${e} * ${o})`:o*e:Array.isArray(o)?e=>{if("string"==typeof e)return e;const t=Math.abs(e);const n=o[t];return e>=0?n:"number"==typeof n?-n:`-${n}`}:"function"==typeof o?o:()=>{}}function f(e){return p(e,"spacing",8)}function g(e,t){return"string"==typeof t||null==t?t:e(t)}function m(e,t,n,i){if(!t.includes(n))return null;const o=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=g(t,n),e)),{})}(c(n),i),a=e[n];return(0,r.NI)(e,a,o)}function y(e,t){const n=f(e.theme);return Object.keys(e).map((r=>m(e,t,r,n))).reduce(o.A,{})}function v(e){return y(e,u)}function b(e){return y(e,d)}function w(e){return y(e,h)}v.propTypes={},v.filterProps=u,b.propTypes={},b.filterProps=d,w.propTypes={},w.filterProps=h},80376:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var r=n(5928),i=n(73847),o=n(2927);const a=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?(0,o.A)(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n};var s=n(63983);function l(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,i.Ay)({prop:e,themeKey:"borders",transform:t})}const u=c("border",l),d=c("borderTop",l),h=c("borderRight",l),p=c("borderBottom",l),f=c("borderLeft",l),g=c("borderColor"),m=c("borderTopColor"),y=c("borderRightColor"),v=c("borderBottomColor"),b=c("borderLeftColor"),w=c("outline",l),x=c("outlineColor"),A=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,r.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,r._W)(t,e)});return(0,s.NI)(e,e.borderRadius,n)}return null};A.propTypes={},A.filterProps=["borderRadius"];a(u,d,h,p,f,g,m,y,v,b,A,w,x);const S=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,r.MA)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,r._W)(t,e)});return(0,s.NI)(e,e.gap,n)}return null};S.propTypes={},S.filterProps=["gap"];const C=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,r.MA)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,r._W)(t,e)});return(0,s.NI)(e,e.columnGap,n)}return null};C.propTypes={},C.filterProps=["columnGap"];const E=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,r.MA)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,r._W)(t,e)});return(0,s.NI)(e,e.rowGap,n)}return null};E.propTypes={},E.filterProps=["rowGap"];a(S,C,E,(0,i.Ay)({prop:"gridColumn"}),(0,i.Ay)({prop:"gridRow"}),(0,i.Ay)({prop:"gridAutoFlow"}),(0,i.Ay)({prop:"gridAutoColumns"}),(0,i.Ay)({prop:"gridAutoRows"}),(0,i.Ay)({prop:"gridTemplateColumns"}),(0,i.Ay)({prop:"gridTemplateRows"}),(0,i.Ay)({prop:"gridTemplateAreas"}),(0,i.Ay)({prop:"gridArea"}));function k(e,t){return"grey"===t?t:e}a((0,i.Ay)({prop:"color",themeKey:"palette",transform:k}),(0,i.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:k}),(0,i.Ay)({prop:"backgroundColor",themeKey:"palette",transform:k}));function T(e){return e<=1&&0!==e?100*e+"%":e}const _=(0,i.Ay)({prop:"width",transform:T}),O=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const n=e.theme?.breakpoints?.values?.[t]||s.zu[t];return n?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:T(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};O.filterProps=["maxWidth"];const P=(0,i.Ay)({prop:"minWidth",transform:T}),I=(0,i.Ay)({prop:"height",transform:T}),M=(0,i.Ay)({prop:"maxHeight",transform:T}),L=(0,i.Ay)({prop:"minHeight",transform:T}),R=((0,i.Ay)({prop:"size",cssProperty:"width",transform:T}),(0,i.Ay)({prop:"size",cssProperty:"height",transform:T}),a(_,O,P,I,M,L,(0,i.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:A},color:{themeKey:"palette",transform:k},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:k},backgroundColor:{themeKey:"palette",transform:k},p:{style:r.Ms},pt:{style:r.Ms},pr:{style:r.Ms},pb:{style:r.Ms},pl:{style:r.Ms},px:{style:r.Ms},py:{style:r.Ms},padding:{style:r.Ms},paddingTop:{style:r.Ms},paddingRight:{style:r.Ms},paddingBottom:{style:r.Ms},paddingLeft:{style:r.Ms},paddingX:{style:r.Ms},paddingY:{style:r.Ms},paddingInline:{style:r.Ms},paddingInlineStart:{style:r.Ms},paddingInlineEnd:{style:r.Ms},paddingBlock:{style:r.Ms},paddingBlockStart:{style:r.Ms},paddingBlockEnd:{style:r.Ms},m:{style:r.Lc},mt:{style:r.Lc},mr:{style:r.Lc},mb:{style:r.Lc},ml:{style:r.Lc},mx:{style:r.Lc},my:{style:r.Lc},margin:{style:r.Lc},marginTop:{style:r.Lc},marginRight:{style:r.Lc},marginBottom:{style:r.Lc},marginLeft:{style:r.Lc},marginX:{style:r.Lc},marginY:{style:r.Lc},marginInline:{style:r.Lc},marginInlineStart:{style:r.Lc},marginInlineEnd:{style:r.Lc},marginBlock:{style:r.Lc},marginBlockStart:{style:r.Lc},marginBlockEnd:{style:r.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:S},rowGap:{style:E},columnGap:{style:C},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:T},maxWidth:{style:O},minWidth:{transform:T},height:{transform:T},maxHeight:{transform:T},minHeight:{transform:T},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},60531:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(37958),i=n(80376);const o=e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??i.A;return Object.keys(e).forEach((r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]})),t};function a(e){const{sx:t,...n}=e,{systemProps:i,otherProps:a}=o(n);let s;return s=Array.isArray(t)?[i,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return(0,r.Q)(n)?{...i,...n}:i}:{...i,...t},{...a,sx:s}}},74183:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(49840),i=n(2927),o=n(73847),a=n(63983),s=n(12623),l=n(80376);const c=function(){function e(e,t,n,i){const s={[e]:t,theme:n},l=i[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:d,style:h}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const p=(0,o.Yn)(n,u)||{};if(h)return h(s);return(0,a.NI)(s,t,(t=>{let n=(0,o.BO)(p,d,t);return t===n&&"string"==typeof t&&(n=(0,o.BO)(p,d,`${e}${"default"===t?"":(0,r.A)(t)}`,t)),!1===c?n:{[c]:n}}))}return function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const c=o.unstable_sxConfig??l.A;function u(n){let r=n;if("function"==typeof n)r=n(o);else if("object"!=typeof n)return n;if(!r)return null;const l=(0,a.EU)(o.breakpoints),u=Object.keys(l);let d=l;return Object.keys(r).forEach((n=>{const s=(l=r[n],u=o,"function"==typeof l?l(u):l);var l,u;if(null!=s)if("object"==typeof s)if(c[n])d=(0,i.A)(d,e(n,s,o,c));else{const e=(0,a.NI)({theme:o},s,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,s)?d=(0,i.A)(d,e):d[n]=t({sx:s,theme:o})}else d=(0,i.A)(d,e(n,s,o,c))})),(0,s._S)(o,(0,a.vf)(u,d))}return Array.isArray(r)?r.map(u):u(r)}}();c.filterProps=["sx"];const u=c},73847:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,BO:()=>a,Yn:()=>o});var r=n(49840),i=n(63983);function o(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,n,r=n){let i;return i="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:o(e,n)||r,t&&(i=t(i,r,e)),i}const s=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=o(e.theme,s)||{};return(0,i.NI)(e,c,(e=>{let i=a(u,l,e);return e===i&&"string"==typeof e&&(i=a(u,l,`${t}${"default"===e?"":(0,r.A)(e)}`,e)),!1===n?i:{[n]:i}}))};return c.propTypes={},c.filterProps=[t],c}},49731:(e,t,n)=>{"use strict";var r;n.d(t,{A:()=>d});var i=n(30538),o=n(56050),a=n(60376),s=n(64011);function l(e,t,n,r,a){const[s,l]=i.useState((()=>a&&n?n(e).matches:r?r(e).matches:t));return(0,o.A)((()=>{if(!n)return;const t=n(e),r=()=>{l(t.matches)};return r(),t.addEventListener("change",r),()=>{t.removeEventListener("change",r)}}),[e,n]),s}const c=(r||(r=n.t(i,2))).useSyncExternalStore;function u(e,t,n,r,o){const a=i.useCallback((()=>t),[t]),s=i.useMemo((()=>{if(o&&n)return()=>n(e).matches;if(null!==r){const{matches:t}=r(e);return()=>t}return a}),[a,e,r,o,n]),[l,u]=i.useMemo((()=>{if(null===n)return[a,()=>()=>{}];const t=n(e);return[()=>t.matches,e=>(t.addEventListener("change",e),()=>{t.removeEventListener("change",e)})]}),[a,n,e]);return c(u,l,s)}function d(e,t={}){const n=(0,s.A)(),r="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:i=!1,matchMedia:o=(r?window.matchMedia:null),ssrMatchMedia:d=null,noSsr:h=!1}=(0,a.A)({name:"MuiUseMediaQuery",props:t,theme:n});let p="function"==typeof e?e(n):e;p=p.replace(/^@media( ?)/m,"");return(void 0!==c?u:l)(p,i,o,d,h)}},60376:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(66920);function i(e){const{theme:t,name:n,props:i}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.A)(t.components[n].defaultProps,i):i}},36039:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(60376),i=n(35905);function o({props:e,name:t,defaultTheme:n,themeId:o}){let a=(0,i.A)(n);return o&&(a=a[o]||a),(0,r.A)({theme:a,name:t,props:e})}},64011:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(30538),i=n(27938);const o=function(e=null){const t=r.useContext(i.T);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}},35905:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(15309),i=n(64011);const o=(0,r.A)();const a=function(e=o){return(0,i.A)(e)}},8292:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const r=e=>e,i=(()=>{let e=r;return{configure(t){e=t},generate:t=>e(t),reset(){e=r}}})()},98278:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const r=function(e){return"string"==typeof e};const i=function(e,t,n){return void 0===e||r(e)?t:{...t,ownerState:{...t.ownerState,...n}}}},49840:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(23662);function i(e){if("string"!=typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},10710:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},47636:(e,t,n)=>{"use strict";function r(e,t,n=void 0){const r={};for(const i in e){const o=e[i];let a="",s=!0;for(let e=0;er})},9690:(e,t,n)=>{"use strict";function r(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}n.d(t,{A:()=>r})},85774:(e,t,n)=>{"use strict";function r(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}n.d(t,{A:()=>r})},37958:(e,t,n)=>{"use strict";function r(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function i(e){if(!r(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=i(e[n])})),t}function o(e,t,n={clone:!0}){const a=n.clone?{...e}:e;return r(e)&&r(t)&&Object.keys(t).forEach((s=>{r(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&r(e[s])?a[s]=o(e[s],t[s],n):n.clone?a[s]=r(t[s])?i(t[s]):t[s]:a[s]=t[s]})),a}n.d(t,{A:()=>o,Q:()=>r})},18244:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}},23662:(e,t,n)=>{"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;er})},57638:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o});var r=n(8292);const i={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,t,n="Mui"){const o=i[t];return o?`${n}-${o}`:`${r.A.generate(e)}-${t}`}},50190:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(57638);function i(e,t,n="Mui"){const i={};return t.forEach((t=>{i[t]=(0,r.Ay)(e,t,n)})),i}},79938:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(30538);function i(e){return e&&r.isValidElement(e)?e.props.propertyIsEnumerable("ref")?e.props.ref:e.ref:null}},35540:(e,t,n)=>{"use strict";function r(e){try{return e.matches(":focus-visible")}catch(e){0}return!1}n.d(t,{A:()=>r})},51622:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(30538);function i(e,t){return r.isValidElement(e)&&-1!==t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)}},19172:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(87286),i=n(18244);const o=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t};const a=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:a,externalForwardedProps:s,className:l}=e;if(!t){const e=(0,r.A)(n?.className,l,s?.className,a?.className),t={...n?.style,...s?.style,...a?.style},i={...n,...s,...a};return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const c=(0,i.A)({...s,...a}),u=o(a),d=o(s),h=t(c),p=(0,r.A)(h?.className,n?.className,l,s?.className,a?.className),f={...h?.style,...n?.style,...s?.style,...a?.style},g={...h,...n,...d,...u};return p.length>0&&(g.className=p),Object.keys(f).length>0&&(g.style=f),{props:g,internalRef:h.ref}}},15046:(e,t,n)=>{"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{A:()=>r})},85790:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(15046);function i(e){return(0,r.A)(e).defaultView||window}},91838:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t,n){return"function"==typeof e?e(t,n):e}},66920:(e,t,n)=>{"use strict";function r(e,t){const n={...t};for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const o=i;if("components"===o||"slots"===o)n[o]={...e[o],...n[o]};else if("componentsProps"===o||"slotProps"===o){const i=e[o],a=t[o];if(a)if(i){n[o]={...a};for(const e in i)if(Object.prototype.hasOwnProperty.call(i,e)){const t=e;n[o][t]=r(i[t],a[t])}}else n[o]=a;else n[o]=i||{}}else void 0===n[o]&&(n[o]=e[o])}return n}n.d(t,{A:()=>r})},47654:(e,t,n)=>{"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{A:()=>r})},93678:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(30538);function i({controlled:e,default:t,name:n,state:i="value"}){const{current:o}=r.useRef(void 0!==e),[a,s]=r.useState(t);return[o?e:a,r.useCallback((e=>{o||s(e)}),[])]}},56050:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(30538);const i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},52728:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(30538),i=n(56050);const o=function(e){const t=r.useRef(e);return(0,i.A)((()=>{t.current=e})),r.useRef(((...e)=>(0,t.current)(...e))).current}},78664:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(30538),i=n(47654);function o(...e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{(0,i.A)(e,t)}))}),e)}},42558:(e,t,n)=>{"use strict";var r;n.d(t,{A:()=>s});var i=n(30538);let o=0;const a=(r||(r=n.t(i,2)))["useId".toString()];function s(e){if(void 0!==a){const t=a();return e??t}return function(e){const[t,n]=i.useState(e),r=e||t;return i.useEffect((()=>{null==t&&(o+=1,n(`mui-${o}`))}),[t]),r}(e)}},70296:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(30538);const i={};function o(e,t){const n=r.useRef(i);return n.current===i&&(n.current=e(t)),n}},4686:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(78664),i=n(98278),o=n(19172),a=n(91838);const s=function(e){const{elementType:t,externalSlotProps:n,ownerState:s,skipResolvingSlotProps:l=!1,...c}=e,u=l?{}:(0,a.A)(n,s),{props:d,internalRef:h}=(0,o.A)({...c,externalSlotProps:u}),p=(0,r.A)(h,u?.ref,e.additionalProps?.ref);return(0,i.A)(t,{...d,ref:p},s)}},58494:(e,t,n)=>{"use strict";n.d(t,{E:()=>a,A:()=>s});var r=n(70296),i=n(30538);const o=[];class a{static create(){return new a}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function s(){const e=(0,r.A)(a.create).current;var t;return t=e.disposeEffect,i.useEffect(t,o),e}},21945:(e,t,n)=>{"use strict";n.d(t,{$:()=>u,F:()=>c});var r=n(53813),i=n(29156),o=n(30538),a=n(72305),s=n(97282);const l=["localeText"],c=o.createContext(null);const u=function(e){const{localeText:t}=e,n=(0,i.A)(e,l),{utils:u,localeText:d}=o.useContext(c)??{utils:void 0,localeText:void 0},h=(0,a.A)({props:n,name:"MuiLocalizationProvider"}),{children:p,dateAdapter:f,dateFormats:g,dateLibInstance:m,adapterLocale:y,localeText:v}=h,b=o.useMemo((()=>(0,r.A)({},v,d,t)),[v,d,t]),w=o.useMemo((()=>{if(!f)return u||null;const e=new f({locale:y,formats:g,instance:m});if(!e.isMUIAdapter)throw new Error(["MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join("\n"));return e}),[f,y,g,m,u]),x=o.useMemo((()=>w?{minDate:w.date("1900-01-01T00:00:00.000"),maxDate:w.date("2099-12-31T00:00:00.000")}:null),[w]),A=o.useMemo((()=>({utils:w,defaultDates:x,localeText:b})),[x,w,b]);return(0,s.jsx)(c.Provider,{value:A,children:p})}},57223:function(e,t,n){!function(e,t,n,r,i,o){"use strict";var a="comparison",s=["PropertyIsEqualTo","PropertyIsNotEqualTo","PropertyIsLessThan","PropertyIsLessThanOrEqualTo","PropertyIsGreaterThan","PropertyIsGreaterThanOrEqualTo"],l=s.concat(["PropertyIsLike","PropertyIsNull","PropertyIsBetween"]);function c(e,t){var n=e.getElementsByTagNameNS(e.namespaceURI,t).item(0);if(!n)return null;if(n.parentNode!==e)throw new Error("Expected direct descant");return n?n.textContent.trim():null}function u(e){return l.includes(e.localName)}function d(e){return["or","and"].includes(e.localName.toLowerCase())}function h(e){if(s.includes(e.localName))return p(e);if("PropertyIsBetween"===e.localName)return m(e);if("PropertyIsNull"===e.localName)return g(e);if("PropertyIsLike"===e.localName)return f(e);throw new Error("Unknown comparison element "+e.localName)}function p(e){var t=c(e,"PropertyName"),n=c(e,"Literal");return{type:a,operator:e.localName.toLowerCase(),propertyname:t,literal:n,matchcase:"false"!==e.getAttribute("matchCase")}}function f(e){var t=c(e,"PropertyName"),n=c(e,"Literal");return{type:a,operator:e.localName.toLowerCase(),propertyname:t,literal:n,wildcard:e.getAttribute("wildCard"),singlechar:e.getAttribute("singleChar"),escapechar:e.getAttribute("escapeChar"),matchcase:"false"!==e.getAttribute("matchCase")}}function g(e){var t=c(e,"PropertyName");return{type:a,operator:e.localName.toLowerCase(),propertyname:t}}function m(e){var t=c(e,"PropertyName"),n=c(e,"LowerBoundary"),r=c(e,"UpperBoundary");return{type:a,operator:e.localName.toLowerCase(),lowerboundary:n,upperboundary:r,propertyname:t,matchcase:"false"!==e.getAttribute("matchCase")}}function y(e){for(var t=[],n=e.firstElementChild;n;n=n.nextElementSibling)u(n)&&t.push(h(n));return{type:e.localName.toLowerCase(),predicates:t}}function v(e){var t=null,n=e.firstElementChild;return n&&u(n)&&(t=h(n)),n&&d(n)&&(t=y(n)),{type:e.localName.toLowerCase(),predicate:t}}function b(e){for(var t={},n=e.firstElementChild;n;n=n.nextElementSibling)u(n)&&(t=h(n)),d(n)&&(t=y(n)),"not"===n.localName.toLowerCase()&&(t=v(n)),"featureid"===n.localName.toLowerCase()&&(t.type="featureid",t.fids=t.fids||[],t.fids.push(n.getAttribute("fid")));return t}var w=new Set(["strokeWidth","strokeOpacity","strokeDashoffset","fillOpacity","fontSize"]);function x(e,t,n){var r=n.toLowerCase();t[r]=t[r]||[];var i={};L(e,i),t[r].push(i)}function A(e,t,n){var r=n.toLowerCase();t[r]={},L(e,t[r])}function S(e,t,n,r){void 0===r&&(r=!1);var i=n.toLowerCase();t[i]=r?e.textContent.trim():e.textContent}function C(e,t,n){var r=n.toLowerCase(),i=parseFloat(e.textContent.trim());t[r]=i}function E(e,t){if(!Array.isArray(e))return e;var n=e.map((function(e){return"literal"===e.type?e.value:e})).filter((function(e){return""!==e}));return n.every((function(e){return"object"!=typeof e||null===e}))?n.join(""):1===n.length?n[0]:{type:"expression",typeHint:t,children:n}}function k(e,t,n,r){void 0===r&&(r={});for(var i={skipEmptyNodes:!0,forceLowerCase:!0,typeHint:"string"},o=Object.assign({},i,r),a=[],s=0;s0}function V(e,t){if(j(t))return!1;var n=e.lowerboundary;if(j(n))return!1;var r=e.upperboundary;return!j(r)&&N(n,t)<=0&&N(r,t)>=0}function $(e,t){return!j(t)&&!j(e.literal)&&(e.matchcase?t==e.literal:0===N(e.literal,t,!1))}function G(e,t){return!j(t)&&!$(e,t)}function U(e,t){var n=e.literal;if(j(t))return!1;var r=e.wildcard,i=e.singlechar,o=e.escapechar,a=e.matchcase,s=n.replace(new RegExp("["+r+"]","g"),".*");return s=s.replace(new RegExp("["+i+"]","g"),"."),"\\"!==o&&(s=s.replace(new RegExp("["+o+"]","g"),"\\")),s="^"+s+"$",(!1===a?new RegExp(s,"i"):new RegExp(s)).test(t)}function W(e,t,n){var r=n(t,e.propertyname);switch(e.operator){case"propertyislessthan":return B(e,r);case"propertyisequalto":return $(e,r);case"propertyislessthanorequalto":return $(e,r)||B(e,r);case"propertyisnotequalto":return G(e,r);case"propertyisgreaterthan":return z(e,r);case"propertyisgreaterthanorequalto":return $(e,r)||z(e,r);case"propertyisbetween":return V(e,r);case"propertyisnull":return j(r);case"propertyislike":return U(e,r);default:throw new Error("Unkown comparison operator "+e.operator)}}function q(e,t){for(var n=0;ne.minscaledenominator:void 0!==e.maxscaledenominator?t/28e-5e.minscaledenominator}function Z(e){return e.layers.map((function(e){return e.name}))}function J(e,t){return t?e.layers.find((function(e){return e.name===t})):e.layers[0]}function Q(e){return e.styles.map((function(e){return e.name}))}function ee(e,t){if(t)return e.styles.find((function(e){return e.name===t}));var n=e.styles.find((function(e){return e.default}));return n||e.styles[0]}function te(e,t,n,r){void 0===r&&(r={});for(var i=[],o=0,a=0;a-1&&(e.stroke.graphicstroke.__invalidated=!0))}}function Ce(e,t){if(e)if(Array.isArray(e))for(var n=0;n=2&&0!==a[0]&&(o=a[1]/a[0]+1)}return o*t}function ze(e){return e.stroke.graphicstroke.initialgap||0}function Ve(e,n,r,i,o){void 0===o&&(o=0);var a,s=n/2,l=Math.PI*o/180;switch(i&&i.getColor()&&(a=i.getColor()),e){case"circle":return new t.Circle({fill:i,radius:s,stroke:r});case"triangle":return new t.RegularShape({fill:i,points:3,radius:s,stroke:r,rotation:l});case"star":return new t.RegularShape({fill:i,points:5,radius1:s,radius2:s/2.5,stroke:r,rotation:l});case"cross":return new t.RegularShape({fill:i,points:4,radius1:s,radius2:0,stroke:r||new t.Stroke({color:a,width:s/2}),rotation:l});case"hexagon":return new t.RegularShape({fill:i,points:6,radius:s,stroke:r||new t.Stroke({color:a,width:s/2}),rotation:l});case"octagon":return new t.RegularShape({angle:Math.PI/8,fill:i,points:8,radius:s/Math.cos(Math.PI/8),stroke:r||new t.Stroke({color:a,width:s/2}),rotation:l});case"cross2":case"x":return new t.RegularShape({angle:Math.PI/4,fill:i,points:4,radius1:Math.sqrt(2)*s,radius2:0,stroke:r||new t.Stroke({color:a,width:s/2}),rotation:l});case"diamond":return new t.RegularShape({fill:i,points:4,radius1:s,stroke:r,rotation:l});case"horline":return new t.RegularShape({fill:i,points:2,radius:s,angle:Math.PI/2,stroke:r,rotation:l});case"line":return new t.RegularShape({fill:i,points:2,radius:s,angle:0,stroke:r,rotation:l});case"backslash":return new t.RegularShape({fill:i,points:2,radius:s*Math.sqrt(2),angle:-Math.PI/4,stroke:r,rotation:l});case"slash":return new t.RegularShape({fill:i,points:2,radius:s*Math.sqrt(2),angle:Math.PI/4,stroke:r,rotation:l});default:return new t.RegularShape({angle:Math.PI/4,fill:i,points:4,radius1:s*Math.sqrt(2),stroke:r,rotation:l})}}function $e(e){switch((e||{}).type){case"expression":case"propertyname":case"function":return!0;default:return!1}}function Ge(e,t,n,r){void 0===r&&(r=null);var i=null,o=typeof e;if("string"===o||"number"===o||"undefined"===o||null===e)i=e;else if("literal"===e.type)i=e.value;else if("propertyname"===e.type)i=t?n(t,e.value):r;else if("expression"===e.type)if(1===e.children.length)i=Ge(e.children[0],t,n,r);else{for(var a=[],s=0;s1&&(o.stroke.styling.strokeWidth=t*a)}return n}function Et(e){var i=e.fill.graphicfill,a=i.graphic,s=a.mark,l=(s||{}).wellknownname;if(l&&0===l.indexOf("brush://")){var c="#000000";return s.fill&&s.fill.styling&&s.fill.styling.fill&&(c=s.fill.styling.fill),xt(l,c)}var u=Number(a.size)||le,d=u*o.DEVICE_PIXEL_RATIO,h=null,p=2;try{var f=document.createElement("canvas");f.width=d*p,f.height=d*p;var g=f.getContext("2d"),m=Qe(Ct(i,p)),y=n.toContext(g,{size:[u*p,u*p]});g.imageSmoothingEnabled=!1,y.setStyle(m);var v=p*(u/2),b=p*(u/2);y.drawGeometry(new r.Point([v,b])),l&&l.indexOf("slash")>-1&&(y.drawGeometry(new r.Point([v-p*u,b])),y.drawGeometry(new r.Point([v+p*u,b])),y.drawGeometry(new r.Point([v,b-p*u])),y.drawGeometry(new r.Point([v,b+p*u])));var w=document.createElement("canvas");w.width=d,w.height=d;var x=w.getContext("2d");x.drawImage(f,0,0,d*p,d*p,0,0,d,d);var A=x.createPattern(w,"repeat");h=new t.Fill({color:A})}catch(e){h=new t.Fill({color:"#000000"})}return h}function kt(e){var i=e.fill&&e.fill.graphicfill&&e.fill.graphicfill.graphic&&e.fill.graphicfill.graphic.externalgraphic&&e.fill.graphicfill.graphic.externalgraphic.onlineresource,o=e.fill&&e.fill.graphicfill&&e.fill.graphicfill.graphic&&e.fill.graphicfill.graphic.mark,a=null;if(a=i?St(e):o?Et(e):We(e.fill),e.stroke&&e.stroke.graphicstroke){var s=st(e);return new t.Style({renderer:function(e,t){if(a){var i=t.feature,o=t.context,l=n.toContext(o);l.setFillStrokeStyle(a,void 0);var c=i.getGeometry().getType();"Polygon"===c?l.drawPolygon(new r.Polygon(e)):"MultiPolygon"===c&&l.drawMultiPolygon(new r.MultiPolygon(e))}s(e,t)}})}var l=Ue(e.stroke);return new t.Style({fill:a,stroke:l})}var Tt=Fe(kt);function _t(e,t,n){var r=Tt(e);return qe(r,e,t,n),He(r,e,t,n),r}function Ot(e){if(!e||!e.label)return Pe;var n=Ge(e.label,null,null,""),r=e.font&&e.font.styling||{},i=Ge(r.fontFamily,null,null,"sans-serif"),o=Ge(r.fontSize,null,null,10),a=Ge(r.fontStyle,null,null,"")+" "+Ge(r.fontWeight,null,null,"")+" "+o+"px "+i,s=e&&e.labelplacement&&e.labelplacement.pointplacement?e.labelplacement.pointplacement:{},l=Ge(s.rotation,null,null,0),c=s&&s.displacement?s.displacement:{},u=Ge(c.displacementx,null,null,0),d=Ge(c.displacementy,null,null,0),h=s&&s.anchorpoint||{},p="center",f=Ge(h.anchorpointx,null,null,NaN);f<.25?p="left":f>.75&&(p="right");var g="middle",m=Ge(h.anchorpointy,null,null,NaN);m<.25?g="bottom":m>.75&&(g="top");var y=e.fill?e.fill.styling:{},v=Ge(y.fill,null,null,"#000000"),b=Ge(y.fillOpacity,null,null,1),w={text:n,font:a,offsetX:u,offsetY:d,rotation:Math.PI*l/180,textAlign:p,textBaseline:g,fill:new t.Fill({color:Ne(v,b)})};if(e.halo){var x=e.halo&&e.halo.fill?e.halo.fill.styling:{},A=Ge(x.fill,null,null,"#FFFFFF"),S=Ge(x.fillOpacity,null,null,1),C=Ge(e.halo.radius,null,null,1);w.stroke=new t.Stroke({color:Ne(A,S),width:2*(2===C||4===C?C-1e-5:C)})}return new t.Style({text:new t.Text(w)})}var Pt=Fe(Ot);function It(e,t,n){var r=Pt(e),i=r.getText();if(!i)return r;var o=e.label,a=e.labelplacement;if($e(o)){var s=Ge(o,t,n,"");i.setText(s.toString())}if(a){var l=a.pointplacement&&a.pointplacement.rotation||0;if($e(l)){var c=Ge(l,t,n,0);i.setRotation(Math.PI*c/180)}}var u=t.getGeometry?t.getGeometry():t.geometry,d=u.getType?u.getType():u.type,h=e&&e.labelplacement&&e.labelplacement.lineplacement?e.labelplacement.lineplacement:null,p="point"!==d&&h?"line":"point";if(i.setPlacement(p),Ye(r,e,t,n),e.font&&e.font.styling){var f=e.font.styling||{};if($e(f.fontFamily)||$e(f.fontStyle)||$e(f.fontWeight)||$e(f.fontSize)){var g=Ge(f.fontFamily,t,n,"sans-serif"),m=Ge(f.fontStyle,t,n,"")+" "+Ge(f.fontWeight,t,n,"")+" "+Ge(f.fontSize,t,n,10)+"px "+g;i.setFont(m)}}return r}function Mt(e){var t=rt(e,e.getLength()/2)[1];return[t[0],t[1]]}function Lt(e,t){if("function"!=typeof t.getGeometry)return null;var n=t.getGeometry();if(!n)return null;var i=null,o=n.getType();if("LineString"===o)(i=Qe(e,t)).setGeometry(new r.Point(Mt(n)));else if("MultiLineString"===o){var a=n.getLineStrings().map(Mt);(i=Qe(e,t)).setGeometry(new r.MultiPoint(a))}return i}function Rt(e){var t=e.getInteriorPoint().getCoordinates();return[t[0],t[1]]}function jt(e,t){if("function"!=typeof t.getGeometry)return null;var n=t.getGeometry();if(!n)return null;var i=null,o=n.getType();if("Polygon"===o)(i=Qe(e,t)).setGeometry(new r.Point(Rt(n)));else if("MultiPolygon"===o){var a=n.getPolygons().map(Rt);(i=Qe(e,t)).setGeometry(new r.MultiPoint(a))}return i}var Ft=[Ie];function Dt(e,t,n,r,i){(t||[]).forEach((function(t){var o=r(t,n,i);o&&e.push(o)}))}function Nt(e,t,n,r){void 0===r&&(r={});var i=e.polygonSymbolizers,o=e.lineSymbolizers,a=e.pointSymbolizers,s=e.textSymbolizers,l={strictGeometryMatch:!1,useFallbackStyles:!0},c=Object.assign({},l,r),u=t.getGeometry?t.getGeometry():t.geometry,d=[];switch(u.getType?u.getType():u.type){case"Point":case"MultiPoint":Dt(d,a,t,Qe,n),Dt(d,s,t,It,n);break;case"LineString":case"MultiLineString":Dt(d,o,t,dt,n),c.strictGeometryMatch||Dt(d,a,t,Lt,n),Dt(d,s,t,It,n);break;case"Polygon":case"MultiPolygon":Dt(d,i,t,_t,n),c.strictGeometryMatch||Dt(d,o,t,dt,n),Dt(d,a,t,jt,n),Dt(d,s,t,It,n);break;default:c.useFallbackStyles&&(d=Ft)}return d.forEach((function(e,t){return e.setZIndex(t)})),d}function Bt(e){return e.getId()}function zt(e,t){return e.get(t)}function Vt(e,t){void 0===t&&(t={});var n=t.imageLoadedCallback||function(){},r={};return function(i,o){var a="function"==typeof t.convertResolution?t.convertResolution(o):o,s="function"==typeof t.getProperty?t.getProperty:zt,l=te(e,i,a,{getProperty:s,getFeatureId:Bt});return _e(l,e,n,r),Nt(ie(l),i,s)}}function $t(e,t){return Nt(ie([e]),{geometry:{type:t}},(function(){return null}),{strictGeometryMatch:!0,useFallbackStyles:!1}).filter((function(e){return null!==e}))}e.OlStyler=Nt,e.Reader=R,e.categorizeSymbolizers=ie,e.createOlStyle=$t,e.createOlStyleFunction=Vt,e.getByPath=re,e.getLayer=J,e.getLayerNames=Z,e.getRuleSymbolizers=ne,e.getRules=te,e.getStyle=ee,e.getStyleNames=Q}(t,n(85676),n(17849),n(24165),n(66569),n(8925))},51042:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(87120),i=n(29775),o=n(43394),a=n(91716),s=n(49846),l=n(36009),c="errorMessage",u=new r.Name("emUsed"),d={required:"missingProperty",dependencies:"property",dependentRequired:"property"},h=/\$\{[^}]+\}/,p=/\$\{([^}]+)\}/g,f=/^""\s*\+\s*|\s*\+\s*""$/g;function g(e){return{keyword:c,schemaType:["string","object"],post:!0,code(t){const{gen:n,data:g,schema:m,schemaValue:y,it:v}=t;if(!1===v.createErrors)return;const b=m,w=i.strConcat(l.default.instancePath,v.errorPath);function x(e,t){return i.and(r._`${e}.keyword !== ${c}`,r._`!${e}.${u}`,r._`${e}.instancePath === ${w}`,r._`${e}.keyword in ${t}`,r._`${e}.schemaPath.indexOf(${v.errSchemaPath}) === 0`,r._`/^\\/[^\\/]*$/.test(${e}.schemaPath.slice(${v.errSchemaPath.length}))`)}function A(e,t){const r=[];for(const n in e){const e=t[n];h.test(e)&&r.push([n,C(e)])}return n.object(...r)}function S(e){return h.test(e)?new o._Code(o.safeStringify(e).replace(p,((e,t)=>`" + JSON.stringify(${a.getData(t,v)}) + "`)).replace(f,"")):r.stringify(e)}function C(e){return r._`function(){return ${S(e)}}`}n.if(r._`${l.default.errors} > 0`,(()=>{if("object"==typeof b){const[o,a]=function(e){let t,n;for(const r in e){if("properties"===r||"items"===r)continue;const i=e[r];if("object"==typeof i){t||(t={});const e=t[r]={};for(const t in i)e[t]=[]}else n||(n={}),n[r]=[]}return[t,n]}(b);a&&function(i){const o=n.const("emErrors",r.stringify(i)),a=n.const("templates",A(i,m));n.forOf("err",l.default.vErrors,(e=>n.if(x(e,o),(()=>n.code(r._`${o}[${e}.keyword].push(${e})`).assign(r._`${e}.${u}`,!0)))));const{singleError:c}=e;if(c){const e=n.let("message",r._`""`),i=n.let("paramsErrors",r._`[]`);d((t=>{n.if(e,(()=>n.code(r._`${e} += ${"string"==typeof c?c:";"}`))),n.code(r._`${e} += ${h(t)}`),n.assign(i,r._`${i}.concat(${o}[${t}])`)})),s.reportError(t,{message:e,params:r._`{errors: ${i}}`})}else d((e=>s.reportError(t,{message:h(e),params:r._`{errors: ${o}[${e}]}`})));function d(e){n.forIn("key",o,(t=>n.if(r._`${o}[${t}].length`,(()=>e(t)))))}function h(e){return r._`${e} in ${a} ? ${a}[${e}]() : ${y}[${e}]`}}(a),o&&function(e){const i=n.const("emErrors",r.stringify(e)),o=[];for(const t in e)o.push([t,A(e[t],m[t])]);const a=n.const("templates",n.object(...o)),c=n.scopeValue("obj",{ref:d,code:r.stringify(d)}),h=n.let("emPropParams"),p=n.let("emParamsErrors");n.forOf("err",l.default.vErrors,(e=>n.if(x(e,i),(()=>{n.assign(h,r._`${c}[${e}.keyword]`),n.assign(p,r._`${i}[${e}.keyword][${e}.params[${h}]]`),n.if(p,(()=>n.code(r._`${p}.push(${e})`).assign(r._`${e}.${u}`,!0)))})))),n.forIn("key",i,(e=>n.forIn("keyProp",r._`${i}[${e}]`,(o=>{n.assign(p,r._`${i}[${e}][${o}]`),n.if(r._`${p}.length`,(()=>{const i=n.const("tmpl",r._`${a}[${e}] && ${a}[${e}][${o}]`);s.reportError(t,{message:r._`${i} ? ${i}() : ${y}[${e}][${o}]`,params:r._`{errors: ${p}}`})}))}))))}(o),function(e){const{props:o,items:a}=e;if(!o&&!a)return;const d=r._`typeof ${g} == "object"`,h=r._`Array.isArray(${g})`,p=n.let("emErrors");let f,v;const b=n.let("templates");o&&a?(f=n.let("emChildKwd"),n.if(d),n.if(h,(()=>{x(a,m.items),n.assign(f,r.str`items`)}),(()=>{x(o,m.properties),n.assign(f,r.str`properties`)})),v=r._`[${f}]`):a?(n.if(h),x(a,m.items),v=r._`.items`):o&&(n.if(i.and(d,i.not(h))),x(o,m.properties),v=r._`.properties`);function x(e,t){n.assign(p,r.stringify(e)),n.assign(b,A(e,t))}n.forOf("err",l.default.vErrors,(e=>function(e,t,o){n.if(i.and(r._`${e}.keyword !== ${c}`,r._`!${e}.${u}`,r._`${e}.instancePath.indexOf(${w}) === 0`),(()=>{const i=n.scopeValue("pattern",{ref:/^\/([^/]*)(?:\/|$)/,code:r._`new RegExp("^\\\/([^/]*)(?:\\\/|$)")`}),a=n.const("emMatches",r._`${i}.exec(${e}.instancePath.slice(${w}.length))`),s=n.const("emChild",r._`${a} && ${a}[1].replace(/~1/g, "/").replace(/~0/g, "~")`);n.if(r._`${s} !== undefined && ${s} in ${t}`,(()=>o(s)))}))}(e,p,(t=>n.code(r._`${p}[${t}].push(${e})`).assign(r._`${e}.${u}`,!0))))),n.forIn("key",p,(e=>n.if(r._`${p}[${e}].length`,(()=>{s.reportError(t,{message:r._`${e} in ${b} ? ${b}[${e}]() : ${y}${v}[${e}]`,params:r._`{errors: ${p}[${e}]}`}),n.assign(r._`${l.default.vErrors}[${l.default.errors}-1].instancePath`,r._`${w} + "/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`)})))),n.endIf()}(function({properties:e,items:t}){const n={};if(e){n.props={};for(const t in e)n.props[t]=[]}if(t){n.items={};for(let e=0;en.if(function(e){return i.and(r._`${e}.keyword !== ${c}`,r._`!${e}.${u}`,i.or(r._`${e}.instancePath === ${w}`,i.and(r._`${e}.instancePath.indexOf(${w}) === 0`,r._`${e}.instancePath[${w}.length] === "/"`)),r._`${e}.schemaPath.indexOf(${v.errSchemaPath}) === 0`,r._`${e}.schemaPath[${v.errSchemaPath}.length] === "/"`)}(e),(()=>n.code(r._`${o}.push(${e})`).assign(r._`${e}.${u}`,!0))))),n.if(r._`${o}.length`,(()=>s.reportError(t,{message:S(e),params:r._`{errors: ${o}}`})))}(o),e.keepErrors||function(){const e=n.const("emErrs",r._`[]`);n.forOf("err",l.default.vErrors,(t=>n.if(r._`!${t}.${u}`,(()=>n.code(r._`${e}.push(${t})`))))),n.assign(l.default.vErrors,e).assign(l.default.errors,r._`${e}.length`)}()}))},metaSchema:{anyOf:[{type:"string"},{type:"object",properties:{properties:{$ref:"#/$defs/stringMap"},items:{$ref:"#/$defs/stringList"},required:{$ref:"#/$defs/stringOrMap"},dependencies:{$ref:"#/$defs/stringOrMap"}},additionalProperties:{type:"string"}}],$defs:{stringMap:{type:"object",additionalProperties:{type:"string"}},stringOrMap:{anyOf:[{type:"string"},{$ref:"#/$defs/stringMap"}]},stringList:{type:"array",items:{type:"string"}}}}}}const m=(e,t={})=>{if(!e.opts.allErrors)throw new Error("ajv-errors: Ajv option allErrors must be true");if(e.opts.jsPropertySyntax)throw new Error("ajv-errors: ajv option jsPropertySyntax is not supported");return e.addKeyword(g(t))};t.default=m,e.exports=m,e.exports.default=m},87120:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const r=n(85160),i=n(36590),o=n(74235),a=n(93033),s=["/properties"],l="http://json-schema.org/draft-07/schema";class c extends r.default{_addVocabularies(){super._addVocabularies(),i.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(a,s):a;this.addMetaSchema(e,l,!1),this.refs["http://json-schema.org/schema"]=l}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(l)?l:void 0)}}t.Ajv=c,e.exports=t=c,e.exports.Ajv=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var u=n(91716);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var d=n(29775);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return d.CodeGen}});var h=n(21220);Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return h.default}});var p=n(79741);Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return p.default}})},43394:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class n{}t._CodeOrName=n,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends n{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=r;class i extends n{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof r&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function o(e,...t){const n=[e[0]];let r=0;for(;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const r=n(43394),i=n(88503);var o=n(43394);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return o.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return o.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return o.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return o.Name}});var a=n(88503);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return a.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return a.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return a.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return a.varKinds}}),t.operators={GT:new r._Code(">"),GTE:new r._Code(">="),LT:new r._Code("<"),LTE:new r._Code("<="),EQ:new r._Code("==="),NEQ:new r._Code("!=="),NOT:new r._Code("!"),OR:new r._Code("||"),AND:new r._Code("&&"),ADD:new r._Code("+")};class s{optimizeNodes(){return this}optimizeNames(e,t){return this}}class l extends s{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){const n=e?i.varKinds.var:this.varKind,r=void 0===this.rhs?"":` = ${this.rhs}`;return`${n} ${this.name}${r};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=I(this.rhs,e,t)),this}get names(){return this.rhs instanceof r._CodeOrName?this.rhs.names:{}}}class c extends s{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof r.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=I(this.rhs,e,t),this}get names(){return P(this.lhs instanceof r.Name?{}:{...this.lhs.names},this.rhs)}}class u extends c{constructor(e,t,n,r){super(e,n,r),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class d extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class h extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class p extends s{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class f extends s{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=I(this.code,e,t),this}get names(){return this.code instanceof r._CodeOrName?this.code.names:{}}}class g extends s{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,n)=>t+n.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:n}=this;let r=n.length;for(;r--;){const i=n[r];i.optimizeNames(e,t)||(M(e,i.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>O(e,t.names)),{})}}class m extends g{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class y extends g{}class v extends m{}v.kind="else";class b extends m{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new v(e):e}return t?!1===e?t instanceof b?t:t.nodes:this.nodes.length?this:new b(L(e),t instanceof b?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var n;if(this.else=null===(n=this.else)||void 0===n?void 0:n.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=I(this.condition,e,t),this}get names(){const e=super.names;return P(e,this.condition),this.else&&O(e,this.else.names),e}}b.kind="if";class w extends m{}w.kind="for";class x extends w{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=I(this.iteration,e,t),this}get names(){return O(super.names,this.iteration.names)}}class A extends w{constructor(e,t,n,r){super(),this.varKind=e,this.name=t,this.from=n,this.to=r}render(e){const t=e.es5?i.varKinds.var:this.varKind,{name:n,from:r,to:o}=this;return`for(${t} ${n}=${r}; ${n}<${o}; ${n}++)`+super.render(e)}get names(){const e=P(super.names,this.from);return P(e,this.to)}}class S extends w{constructor(e,t,n,r){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=r}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=I(this.iterable,e,t),this}get names(){return O(super.names,this.iterable.names)}}class C extends m{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}C.kind="func";class E extends g{render(e){return"return "+super.render(e)}}E.kind="return";class k extends m{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var n,r;return super.optimizeNames(e,t),null===(n=this.catch)||void 0===n||n.optimizeNames(e,t),null===(r=this.finally)||void 0===r||r.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&O(e,this.catch.names),this.finally&&O(e,this.finally.names),e}}class T extends m{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}T.kind="catch";class _ extends m{render(e){return"finally"+super.render(e)}}_.kind="finally";function O(e,t){for(const n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function P(e,t){return t instanceof r._CodeOrName?O(e,t.names):e}function I(e,t,n){return e instanceof r.Name?o(e):(i=e)instanceof r._Code&&i._items.some((e=>e instanceof r.Name&&1===t[e.str]&&void 0!==n[e.str]))?new r._Code(e._items.reduce(((e,t)=>(t instanceof r.Name&&(t=o(t)),t instanceof r._Code?e.push(...t._items):e.push(t),e)),[])):e;var i;function o(e){const r=n[e.str];return void 0===r||1!==t[e.str]?e:(delete t[e.str],r)}}function M(e,t){for(const n in t)e[n]=(e[n]||0)-(t[n]||0)}function L(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:r._`!${D(e)}`}t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new i.Scope({parent:e}),this._nodes=[new y]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,r){const i=this._scope.toName(t);return void 0!==n&&r&&(this._constants[i.str]=n),this._leafNode(new l(e,i,n)),i}const(e,t,n){return this._def(i.varKinds.const,e,t,n)}let(e,t,n){return this._def(i.varKinds.let,e,t,n)}var(e,t,n){return this._def(i.varKinds.var,e,t,n)}assign(e,t,n){return this._leafNode(new c(e,t,n))}add(e,n){return this._leafNode(new u(e,t.operators.ADD,n))}code(e){return"function"==typeof e?e():e!==r.nil&&this._leafNode(new f(e)),this}object(...e){const t=["{"];for(const[n,i]of e)t.length>1&&t.push(","),t.push(n),(n!==i||this.opts.es5)&&(t.push(":"),(0,r.addCodeArg)(t,i));return t.push("}"),new r._Code(t)}if(e,t,n){if(this._blockNode(new b(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new b(e))}else(){return this._elseNode(new v)}endIf(){return this._endBlockNode(b,v)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new x(e),t)}forRange(e,t,n,r,o=(this.opts.es5?i.varKinds.var:i.varKinds.let)){const a=this._scope.toName(e);return this._for(new A(o,a,t,n),(()=>r(a)))}forOf(e,t,n,o=i.varKinds.const){const a=this._scope.toName(e);if(this.opts.es5){const e=t instanceof r.Name?t:this.var("_arr",t);return this.forRange("_i",0,r._`${e}.length`,(t=>{this.var(a,r._`${e}[${t}]`),n(a)}))}return this._for(new S("of",o,a,t),(()=>n(a)))}forIn(e,t,n,o=(this.opts.es5?i.varKinds.var:i.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,r._`Object.keys(${t})`,n);const a=this._scope.toName(e);return this._for(new S("in",o,a,t),(()=>n(a)))}endFor(){return this._endBlockNode(w)}label(e){return this._leafNode(new d(e))}break(e){return this._leafNode(new h(e))}return(e){const t=new E;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(E)}try(e,t,n){if(!t&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');const r=new k;if(this._blockNode(r),this.code(e),t){const e=this.name("e");this._currNode=r.catch=new T(e),t(e)}return n&&(this._currNode=r.finally=new _,this.code(n)),this._endBlockNode(T,_)}throw(e){return this._leafNode(new p(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const n=this._nodes.length-t;if(n<0||void 0!==e&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=r.nil,n,i){return this._blockNode(new C(e,t,n)),i&&this.code(i).endFunc(),this}endFunc(){return this._endBlockNode(C)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof b))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=L;const R=F(t.operators.AND);t.and=function(...e){return e.reduce(R)};const j=F(t.operators.OR);function F(e){return(t,n)=>t===r.nil?n:n===r.nil?t:r._`${D(t)} ${e} ${D(n)}`}function D(e){return e instanceof r.Name?e:r._`(${e})`}t.or=function(...e){return e.reduce(j)}},88503:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const r=n(43394);class i extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var o;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(o||(t.UsedValueState=o={})),t.varKinds={const:new r.Name("const"),let:new r.Name("let"),var:new r.Name("var")};class a{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof r.Name?e:this.name(e)}name(e){return new r.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,n;if((null===(n=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===n?void 0:n.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=a;class s extends r.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:n}){this.value=e,this.scopePath=r._`.${new r.Name(t)}[${n}]`}}t.ValueScopeName=s;const l=r._`\n`;t.ValueScope=class extends a{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?l:r.nil}}get(){return this._scope}name(e){return new s(e,this._newName(e))}value(e,t){var n;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const r=this.toName(e),{prefix:i}=r,o=null!==(n=t.key)&&void 0!==n?n:t.ref;let a=this._values[i];if(a){const e=a.get(o);if(e)return e}else a=this._values[i]=new Map;a.set(o,r);const s=this._scope[i]||(this._scope[i]=[]),l=s.length;return s[l]=t.ref,r.setValue(t,{property:i,itemIndex:l}),r}getValue(e,t){const n=this._values[e];if(n)return n.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return r._`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,n){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,n)}_reduceValues(e,n,a={},s){let l=r.nil;for(const c in e){const u=e[c];if(!u)continue;const d=a[c]=a[c]||new Map;u.forEach((e=>{if(d.has(e))return;d.set(e,o.Started);let a=n(e);if(a){const n=this.opts.es5?t.varKinds.var:t.varKinds.const;l=r._`${l}${n} ${e} = ${a};${this.opts._n}`}else{if(!(a=null==s?void 0:s(e)))throw new i(e);l=r._`${l}${a}${this.opts._n}`}d.set(e,o.Completed)}))}return l}}},49846:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const r=n(29775),i=n(98057),o=n(36009);function a(e,t){const n=e.const("err",t);e.if(r._`${o.default.vErrors} === null`,(()=>e.assign(o.default.vErrors,r._`[${n}]`)),r._`${o.default.vErrors}.push(${n})`),e.code(r._`${o.default.errors}++`)}function s(e,t){const{gen:n,validateName:i,schemaEnv:o}=e;o.$async?n.throw(r._`new ${e.ValidationError}(${t})`):(n.assign(r._`${i}.errors`,t),n.return(!1))}t.keywordError={message:({keyword:e})=>r.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?r.str`"${e}" keyword must be ${t} ($data)`:r.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,n=t.keywordError,i,o){const{it:l}=e,{gen:u,compositeRule:d,allErrors:h}=l,p=c(e,n,i);(null!=o?o:d||h)?a(u,p):s(l,r._`[${p}]`)},t.reportExtraError=function(e,n=t.keywordError,r){const{it:i}=e,{gen:l,compositeRule:u,allErrors:d}=i;a(l,c(e,n,r)),u||d||s(i,o.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(o.default.errors,t),e.if(r._`${o.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign(r._`${o.default.vErrors}.length`,t)),(()=>e.assign(o.default.vErrors,null)))))},t.extendErrors=function({gen:e,keyword:t,schemaValue:n,data:i,errsCount:a,it:s}){if(void 0===a)throw new Error("ajv implementation error");const l=e.name("err");e.forRange("i",a,o.default.errors,(a=>{e.const(l,r._`${o.default.vErrors}[${a}]`),e.if(r._`${l}.instancePath === undefined`,(()=>e.assign(r._`${l}.instancePath`,(0,r.strConcat)(o.default.instancePath,s.errorPath)))),e.assign(r._`${l}.schemaPath`,r.str`${s.errSchemaPath}/${t}`),s.opts.verbose&&(e.assign(r._`${l}.schema`,n),e.assign(r._`${l}.data`,i))}))};const l={keyword:new r.Name("keyword"),schemaPath:new r.Name("schemaPath"),params:new r.Name("params"),propertyName:new r.Name("propertyName"),message:new r.Name("message"),schema:new r.Name("schema"),parentSchema:new r.Name("parentSchema")};function c(e,t,n){const{createErrors:i}=e.it;return!1===i?r._`{}`:function(e,t,n={}){const{gen:i,it:a}=e,s=[u(a,n),d(e,n)];return function(e,{params:t,message:n},i){const{keyword:a,data:s,schemaValue:c,it:u}=e,{opts:d,propertyName:h,topSchemaRef:p,schemaPath:f}=u;i.push([l.keyword,a],[l.params,"function"==typeof t?t(e):t||r._`{}`]),d.messages&&i.push([l.message,"function"==typeof n?n(e):n]);d.verbose&&i.push([l.schema,c],[l.parentSchema,r._`${p}${f}`],[o.default.data,s]);h&&i.push([l.propertyName,h])}(e,t,s),i.object(...s)}(e,t,n)}function u({errorPath:e},{instancePath:t}){const n=t?r.str`${e}${(0,i.getErrorPath)(t,i.Type.Str)}`:e;return[o.default.instancePath,(0,r.strConcat)(o.default.instancePath,n)]}function d({keyword:e,it:{errSchemaPath:t}},{schemaPath:n,parentSchema:o}){let a=o?t:r.str`${t}/${e}`;return n&&(a=r.str`${a}${(0,i.getErrorPath)(n,i.Type.Str)}`),[l.schemaPath,a]}},14881:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const r=n(29775),i=n(21220),o=n(36009),a=n(54533),s=n(98057),l=n(91716);class c{constructor(e){var t;let n;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(n=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,a.normalizeId)(null==n?void 0:n[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==n?void 0:n.$async,this.refs={}}}function u(e){const t=h.call(this,e);if(t)return t;const n=(0,a.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:s,lines:c}=this.opts.code,{ownProperties:u}=this.opts,d=new r.CodeGen(this.scope,{es5:s,lines:c,ownProperties:u});let p;e.$async&&(p=d.scopeValue("Error",{ref:i.default,code:r._`require("ajv/dist/runtime/validation_error").default`}));const f=d.scopeName("validate");e.validateName=f;const g={gen:d,allErrors:this.opts.allErrors,data:o.default.data,parentData:o.default.parentData,parentDataProperty:o.default.parentDataProperty,dataNames:[o.default.data],dataPathArr:[r.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:d.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,r.stringify)(e.schema)}:{ref:e.schema}),validateName:f,ValidationError:p,schema:e.schema,schemaEnv:e,rootId:n,baseId:e.baseId||n,schemaPath:r.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:r._`""`,opts:this.opts,self:this};let m;try{this._compilations.add(e),(0,l.validateFunctionCode)(g),d.optimize(this.opts.code.optimize);const t=d.toString();m=`${d.scopeRefs(o.default.scope)}return ${t}`,this.opts.code.process&&(m=this.opts.code.process(m,e));const n=new Function(`${o.default.self}`,`${o.default.scope}`,m)(this,this.scope.get());if(this.scope.value(f,{ref:n}),n.errors=null,n.schema=e.schema,n.schemaEnv=e,e.$async&&(n.$async=!0),!0===this.opts.code.source&&(n.source={validateName:f,validateCode:t,scopeValues:d._values}),this.opts.unevaluated){const{props:e,items:t}=g;n.evaluated={props:e instanceof r.Name?void 0:e,items:t instanceof r.Name?void 0:t,dynamicProps:e instanceof r.Name,dynamicItems:t instanceof r.Name},n.source&&(n.source.evaluated=(0,r.stringify)(n.evaluated))}return e.validate=n,e}catch(t){throw delete e.validate,delete e.validateName,m&&this.logger.error("Error compiling schema, function code:",m),t}finally{this._compilations.delete(e)}}function d(e){return(0,a.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:u.call(this,e)}function h(e){for(const r of this._compilations)if(n=e,(t=r).schema===n.schema&&t.root===n.root&&t.baseId===n.baseId)return r;var t,n}function p(e,t){let n;for(;"string"==typeof(n=this.refs[t]);)t=n;return n||this.schemas[t]||f.call(this,e,t)}function f(e,t){const n=this.opts.uriResolver.parse(t),r=(0,a._getFullPath)(this.opts.uriResolver,n);let i=(0,a.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&r===i)return m.call(this,n,e);const o=(0,a.normalizeId)(r),s=this.refs[o]||this.schemas[o];if("string"==typeof s){const t=f.call(this,e,s);if("object"!=typeof(null==t?void 0:t.schema))return;return m.call(this,n,t)}if("object"==typeof(null==s?void 0:s.schema)){if(s.validate||u.call(this,s),o===(0,a.normalizeId)(t)){const{schema:t}=s,{schemaId:n}=this.opts,r=t[n];return r&&(i=(0,a.resolveUrl)(this.opts.uriResolver,i,r)),new c({schema:t,schemaId:n,root:e,baseId:i})}return m.call(this,n,s)}}t.SchemaEnv=c,t.compileSchema=u,t.resolveRef=function(e,t,n){var r;n=(0,a.resolveUrl)(this.opts.uriResolver,t,n);const i=e.refs[n];if(i)return i;let o=p.call(this,e,n);if(void 0===o){const i=null===(r=e.localRefs)||void 0===r?void 0:r[n],{schemaId:a}=this.opts;i&&(o=new c({schema:i,schemaId:a,root:e,baseId:t}))}return void 0!==o?e.refs[n]=d.call(this,o):void 0},t.getCompilingSchema=h,t.resolveSchema=f;const g=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function m(e,{baseId:t,schema:n,root:r}){var i;if("/"!==(null===(i=e.fragment)||void 0===i?void 0:i[0]))return;for(const r of e.fragment.slice(1).split("/")){if("boolean"==typeof n)return;const e=n[(0,s.unescapeFragment)(r)];if(void 0===e)return;const i="object"==typeof(n=e)&&n[this.opts.schemaId];!g.has(r)&&i&&(t=(0,a.resolveUrl)(this.opts.uriResolver,t,i))}let o;if("boolean"!=typeof n&&n.$ref&&!(0,s.schemaHasRulesButRef)(n,this.RULES)){const e=(0,a.resolveUrl)(this.opts.uriResolver,t,n.$ref);o=f.call(this,r,e)}const{schemaId:l}=this.opts;return o=o||new c({schema:n,schemaId:l,root:r,baseId:t}),o.schema!==o.root.schema?o:void 0}},36009:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(29775),i={data:new r.Name("data"),valCxt:new r.Name("valCxt"),instancePath:new r.Name("instancePath"),parentData:new r.Name("parentData"),parentDataProperty:new r.Name("parentDataProperty"),rootData:new r.Name("rootData"),dynamicAnchors:new r.Name("dynamicAnchors"),vErrors:new r.Name("vErrors"),errors:new r.Name("errors"),this:new r.Name("this"),self:new r.Name("self"),scope:new r.Name("scope"),json:new r.Name("json"),jsonPos:new r.Name("jsonPos"),jsonLen:new r.Name("jsonLen"),jsonPart:new r.Name("jsonPart")};t.default=i},79741:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(54533);class i extends Error{constructor(e,t,n,i){super(i||`can't resolve reference ${n} from id ${t}`),this.missingRef=(0,r.resolveUrl)(e,t,n),this.missingSchema=(0,r.normalizeId)((0,r.getFullPath)(e,this.missingRef))}}t.default=i},54533:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const r=n(98057),i=n(92792),o=n(23018),a=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!l(e):!!t&&c(e)<=t)};const s=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function l(e){for(const t in e){if(s.has(t))return!0;const n=e[t];if(Array.isArray(n)&&n.some(l))return!0;if("object"==typeof n&&l(n))return!0}return!1}function c(e){let t=0;for(const n in e){if("$ref"===n)return 1/0;if(t++,!a.has(n)&&("object"==typeof e[n]&&(0,r.eachItem)(e[n],(e=>t+=c(e))),t===1/0))return 1/0}return t}function u(e,t="",n){!1!==n&&(t=p(t));const r=e.parse(t);return d(e,r)}function d(e,t){return e.serialize(t).split("#")[0]+"#"}t.getFullPath=u,t._getFullPath=d;const h=/#\/?$/;function p(e){return e?e.replace(h,""):""}t.normalizeId=p,t.resolveUrl=function(e,t,n){return n=p(n),e.resolve(t,n)};const f=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:n,uriResolver:r}=this.opts,a=p(e[n]||t),s={"":a},l=u(r,a,!1),c={},d=new Set;return o(e,{allKeys:!0},((e,t,r,i)=>{if(void 0===i)return;const o=l+t;let a=s[i];function u(t){const n=this.opts.uriResolver.resolve;if(t=p(a?n(a,t):t),d.has(t))throw g(t);d.add(t);let r=this.refs[t];return"string"==typeof r&&(r=this.refs[r]),"object"==typeof r?h(e,r.schema,t):t!==p(o)&&("#"===t[0]?(h(e,c[t],t),c[t]=e):this.refs[t]=o),t}function m(e){if("string"==typeof e){if(!f.test(e))throw new Error(`invalid anchor "${e}"`);u.call(this,`#${e}`)}}"string"==typeof e[n]&&(a=u.call(this,e[n])),m.call(this,e.$anchor),m.call(this,e.$dynamicAnchor),s[t]=a})),c;function h(e,t,n){if(void 0!==t&&!i(e,t))throw g(n)}function g(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},14934:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const n=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&n.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},98057:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const r=n(29775),i=n(43394);function o(e,t=e.schema){const{opts:n,self:r}=e;if(!n.strictSchema)return;if("boolean"==typeof t)return;const i=r.RULES.keywords;for(const n in t)i[n]||f(e,`unknown keyword: "${n}"`)}function a(e,t){if("boolean"==typeof e)return!e;for(const n in e)if(t[n])return!0;return!1}function s(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function l(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function c({mergeNames:e,mergeToName:t,mergeValues:n,resultToName:i}){return(o,a,s,l)=>{const c=void 0===s?a:s instanceof r.Name?(a instanceof r.Name?e(o,a,s):t(o,a,s),s):a instanceof r.Name?(t(o,s,a),a):n(a,s);return l!==r.Name||c instanceof r.Name?c:i(o,c)}}function u(e,t){if(!0===t)return e.var("props",!0);const n=e.var("props",r._`{}`);return void 0!==t&&d(e,n,t),n}function d(e,t,n){Object.keys(n).forEach((n=>e.assign(r._`${t}${(0,r.getProperty)(n)}`,!0)))}t.toHash=function(e){const t={};for(const n of e)t[n]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(o(e,t),!a(t,e.self.RULES.all))},t.checkUnknownRules=o,t.schemaHasRules=a,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const n in e)if("$ref"!==n&&t.all[n])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},n,i,o){if(!o){if("number"==typeof n||"boolean"==typeof n)return n;if("string"==typeof n)return r._`${n}`}return r._`${e}${t}${(0,r.getProperty)(i)}`},t.unescapeFragment=function(e){return l(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(s(e))},t.escapeJsonPointer=s,t.unescapeJsonPointer=l,t.eachItem=function(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)},t.mergeEvaluated={props:c({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,(()=>{e.if(r._`${t} === true`,(()=>e.assign(n,!0)),(()=>e.assign(n,r._`${n} || {}`).code(r._`Object.assign(${n}, ${t})`)))})),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,(()=>{!0===t?e.assign(n,!0):(e.assign(n,r._`${n} || {}`),d(e,n,t))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:u}),items:c({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,(()=>e.assign(n,r._`${t} === true ? true : ${n} > ${t} ? ${n} : ${t}`))),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,(()=>e.assign(n,!0===t||r._`${n} > ${t} ? ${n} : ${t}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=u,t.setEvaluated=d;const h={};var p;function f(e,t,n=e.opts.strictSchema){if(n){if(t=`strict mode: ${t}`,!0===n)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:h[t.code]||(h[t.code]=new i._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(p||(t.Type=p={})),t.getErrorPath=function(e,t,n){if(e instanceof r.Name){const i=t===p.Num;return n?i?r._`"[" + ${e} + "]"`:r._`"['" + ${e} + "']"`:i?r._`"/" + ${e}`:r._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,r.getProperty)(e).toString():"/"+s(e)},t.checkStrictMode=f},33197:(e,t)=>{"use strict";function n(e,t){return t.rules.some((t=>r(e,t)))}function r(e,t){var n;return void 0!==e[t.keyword]||(null===(n=t.definition.implements)||void 0===n?void 0:n.some((t=>void 0!==e[t])))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},r){const i=t.RULES.types[r];return i&&!0!==i&&n(e,i)},t.shouldUseGroup=n,t.shouldUseRule=r},26093:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const r=n(49846),i=n(29775),o=n(36009),a={message:"boolean schema is false"};function s(e,t){const{gen:n,data:i}=e,o={gen:n,keyword:"false schema",data:i,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,r.reportError)(o,a,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:n,validateName:r}=e;!1===n?s(e,!1):"object"==typeof n&&!0===n.$async?t.return(o.default.data):(t.assign(i._`${r}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:n,schema:r}=e;!1===r?(n.var(t,!1),s(e)):n.var(t,!0)}},42242:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const r=n(14934),i=n(33197),o=n(49846),a=n(29775),s=n(98057);var l;function c(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(r.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(l||(t.DataType=l={})),t.getSchemaTypes=function(e){const t=c(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=c,t.coerceAndCheckDataType=function(e,t){const{gen:n,data:r,opts:o}=e,s=function(e,t){return t?e.filter((e=>u.has(e)||"array"===t&&"array"===e)):[]}(t,o.coerceTypes),c=t.length>0&&!(0===s.length&&1===t.length&&(0,i.schemaHasRulesForType)(e,t[0]));if(c){const i=h(t,r,o.strictNumbers,l.Wrong);n.if(i,(()=>{s.length?function(e,t,n){const{gen:r,data:i,opts:o}=e,s=r.let("dataType",a._`typeof ${i}`),l=r.let("coerced",a._`undefined`);"array"===o.coerceTypes&&r.if(a._`${s} == 'object' && Array.isArray(${i}) && ${i}.length == 1`,(()=>r.assign(i,a._`${i}[0]`).assign(s,a._`typeof ${i}`).if(h(t,i,o.strictNumbers),(()=>r.assign(l,i)))));r.if(a._`${l} !== undefined`);for(const e of n)(u.has(e)||"array"===e&&"array"===o.coerceTypes)&&c(e);function c(e){switch(e){case"string":return void r.elseIf(a._`${s} == "number" || ${s} == "boolean"`).assign(l,a._`"" + ${i}`).elseIf(a._`${i} === null`).assign(l,a._`""`);case"number":return void r.elseIf(a._`${s} == "boolean" || ${i} === null - || (${s} == "string" && ${i} && ${i} == +${i})`).assign(l,a._`+${i}`);case"integer":return void r.elseIf(a._`${s} === "boolean" || ${i} === null - || (${s} === "string" && ${i} && ${i} == +${i} && !(${i} % 1))`).assign(l,a._`+${i}`);case"boolean":return void r.elseIf(a._`${i} === "false" || ${i} === 0 || ${i} === null`).assign(l,!1).elseIf(a._`${i} === "true" || ${i} === 1`).assign(l,!0);case"null":return r.elseIf(a._`${i} === "" || ${i} === 0 || ${i} === false`),void r.assign(l,null);case"array":r.elseIf(a._`${s} === "string" || ${s} === "number" - || ${s} === "boolean" || ${i} === null`).assign(l,a._`[${i}]`)}}r.else(),f(e),r.endIf(),r.if(a._`${l} !== undefined`,(()=>{r.assign(i,l),function({gen:e,parentData:t,parentDataProperty:n},r){e.if(a._`${t} !== undefined`,(()=>e.assign(a._`${t}[${n}]`,r)))}(e,l)}))}(e,t,s):f(e)}))}return c};const u=new Set(["string","number","integer","boolean","null"]);function d(e,t,n,r=l.Correct){const i=r===l.Correct?a.operators.EQ:a.operators.NEQ;let o;switch(e){case"null":return a._`${t} ${i} null`;case"array":o=a._`Array.isArray(${t})`;break;case"object":o=a._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":o=s(a._`!(${t} % 1) && !isNaN(${t})`);break;case"number":o=s();break;default:return a._`typeof ${t} ${i} ${e}`}return r===l.Correct?o:(0,a.not)(o);function s(e=a.nil){return(0,a.and)(a._`typeof ${t} == "number"`,e,n?a._`isFinite(${t})`:a.nil)}}function h(e,t,n,r){if(1===e.length)return d(e[0],t,n,r);let i;const o=(0,s.toHash)(e);if(o.array&&o.object){const e=a._`typeof ${t} != "object"`;i=o.null?e:a._`!${t} || ${e}`,delete o.null,delete o.array,delete o.object}else i=a.nil;o.number&&delete o.integer;for(const e in o)i=(0,a.and)(i,d(e,t,n,r));return i}t.checkDataType=d,t.checkDataTypes=h;const p={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?a._`{type: ${e}}`:a._`{type: ${t}}`};function f(e){const t=function(e){const{gen:t,data:n,schema:r}=e,i=(0,s.schemaRefOrVal)(e,r,"type");return{gen:t,keyword:"type",data:n,schema:r.type,schemaCode:i,schemaValue:i,parentSchema:r,params:{},it:e}}(e);(0,o.reportError)(t,p)}t.reportTypeError=f},20072:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const r=n(29775),i=n(98057);function o(e,t,n){const{gen:o,compositeRule:a,data:s,opts:l}=e;if(void 0===n)return;const c=r._`${s}${(0,r.getProperty)(t)}`;if(a)return void(0,i.checkStrictMode)(e,`default is ignored for: ${c}`);let u=r._`${c} === undefined`;"empty"===l.useDefaults&&(u=r._`${u} || ${c} === null || ${c} === ""`),o.if(u,r._`${c} = ${(0,r.stringify)(n)}`)}t.assignDefaults=function(e,t){const{properties:n,items:r}=e.schema;if("object"===t&&n)for(const t in n)o(e,t,n[t].default);else"array"===t&&Array.isArray(r)&&r.forEach(((t,n)=>o(e,n,t.default)))}},91716:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const r=n(26093),i=n(42242),o=n(33197),a=n(42242),s=n(20072),l=n(78671),c=n(14821),u=n(29775),d=n(36009),h=n(54533),p=n(98057),f=n(49846);function g({gen:e,validateName:t,schema:n,schemaEnv:r,opts:i},o){i.code.es5?e.func(t,u._`${d.default.data}, ${d.default.valCxt}`,r.$async,(()=>{e.code(u._`"use strict"; ${m(n,i)}`),function(e,t){e.if(d.default.valCxt,(()=>{e.var(d.default.instancePath,u._`${d.default.valCxt}.${d.default.instancePath}`),e.var(d.default.parentData,u._`${d.default.valCxt}.${d.default.parentData}`),e.var(d.default.parentDataProperty,u._`${d.default.valCxt}.${d.default.parentDataProperty}`),e.var(d.default.rootData,u._`${d.default.valCxt}.${d.default.rootData}`),t.dynamicRef&&e.var(d.default.dynamicAnchors,u._`${d.default.valCxt}.${d.default.dynamicAnchors}`)}),(()=>{e.var(d.default.instancePath,u._`""`),e.var(d.default.parentData,u._`undefined`),e.var(d.default.parentDataProperty,u._`undefined`),e.var(d.default.rootData,d.default.data),t.dynamicRef&&e.var(d.default.dynamicAnchors,u._`{}`)}))}(e,i),e.code(o)})):e.func(t,u._`${d.default.data}, ${function(e){return u._`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${e.dynamicRef?u._`, ${d.default.dynamicAnchors}={}`:u.nil}}={}`}(i)}`,r.$async,(()=>e.code(m(n,i)).code(o)))}function m(e,t){const n="object"==typeof e&&e[t.schemaId];return n&&(t.code.source||t.code.process)?u._`/*# sourceURL=${n} */`:u.nil}function y(e,t){b(e)&&(w(e),v(e))?function(e,t){const{schema:n,gen:r,opts:i}=e;i.$comment&&n.$comment&&A(e);(function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,h.resolveUrl)(e.opts.uriResolver,e.baseId,t))})(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const o=r.const("_errs",d.default.errors);x(e,o),r.var(t,u._`${o} === ${d.default.errors}`)}(e,t):(0,r.boolOrEmptySchema)(e,t)}function v({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const n in e)if(t.RULES.all[n])return!0;return!1}function b(e){return"boolean"!=typeof e.schema}function w(e){(0,p.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:n,opts:r,self:i}=e;t.$ref&&r.ignoreKeywordsWithRef&&(0,p.schemaHasRulesButRef)(t,i.RULES)&&i.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}(e)}function x(e,t){if(e.opts.jtd)return S(e,[],!1,t);const n=(0,i.getSchemaTypes)(e.schema);S(e,n,!(0,i.coerceAndCheckDataType)(e,n),t)}function A({gen:e,schemaEnv:t,schema:n,errSchemaPath:r,opts:i}){const o=n.$comment;if(!0===i.$comment)e.code(u._`${d.default.self}.logger.log(${o})`);else if("function"==typeof i.$comment){const n=u.str`${r}/$comment`,i=e.scopeValue("root",{ref:t.root});e.code(u._`${d.default.self}.opts.$comment(${o}, ${n}, ${i}.schema)`)}}function S(e,t,n,r){const{gen:i,schema:s,data:l,allErrors:c,opts:h,self:f}=e,{RULES:g}=f;function m(p){(0,o.shouldUseGroup)(s,p)&&(p.type?(i.if((0,a.checkDataType)(p.type,l,h.strictNumbers)),C(e,p),1===t.length&&t[0]===p.type&&n&&(i.else(),(0,a.reportTypeError)(e)),i.endIf()):C(e,p),c||i.if(u._`${d.default.errors} === ${r||0}`))}!s.$ref||!h.ignoreKeywordsWithRef&&(0,p.schemaHasRulesButRef)(s,g)?(h.jtd||function(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;(function(e,t){if(!t.length)return;if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach((t=>{k(e.dataTypes,t)||T(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),function(e,t){const n=[];for(const r of e.dataTypes)k(t,r)?n.push(r):t.includes("integer")&&"number"===r&&n.push("integer");e.dataTypes=n}(e,t)})(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&T(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){const n=e.self.RULES.all;for(const r in n){const i=n[r];if("object"==typeof i&&(0,o.shouldUseRule)(e.schema,i)){const{type:n}=i.definition;n.length&&!n.some((e=>E(t,e)))&&T(e,`missing type "${n.join(",")}" for keyword "${r}"`)}}}(e,e.dataTypes)}(e,t),i.block((()=>{for(const e of g.rules)m(e);m(g.post)}))):i.block((()=>O(e,"$ref",g.all.$ref.definition)))}function C(e,t){const{gen:n,schema:r,opts:{useDefaults:i}}=e;i&&(0,s.assignDefaults)(e,t.type),n.block((()=>{for(const n of t.rules)(0,o.shouldUseRule)(r,n)&&O(e,n.keyword,n.definition,t.type)}))}function E(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function k(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function T(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,p.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){b(e)&&(w(e),v(e))?function(e){const{schema:t,opts:n,gen:r}=e;g(e,(()=>{n.$comment&&t.$comment&&A(e),function(e){const{schema:t,opts:n}=e;void 0!==t.default&&n.useDefaults&&n.strictSchema&&(0,p.checkStrictMode)(e,"default is ignored in the schema root")}(e),r.let(d.default.vErrors,null),r.let(d.default.errors,0),n.unevaluated&&function(e){const{gen:t,validateName:n}=e;e.evaluated=t.const("evaluated",u._`${n}.evaluated`),t.if(u._`${e.evaluated}.dynamicProps`,(()=>t.assign(u._`${e.evaluated}.props`,u._`undefined`))),t.if(u._`${e.evaluated}.dynamicItems`,(()=>t.assign(u._`${e.evaluated}.items`,u._`undefined`)))}(e),x(e),function(e){const{gen:t,schemaEnv:n,validateName:r,ValidationError:i,opts:o}=e;n.$async?t.if(u._`${d.default.errors} === 0`,(()=>t.return(d.default.data)),(()=>t.throw(u._`new ${i}(${d.default.vErrors})`))):(t.assign(u._`${r}.errors`,d.default.vErrors),o.unevaluated&&function({gen:e,evaluated:t,props:n,items:r}){n instanceof u.Name&&e.assign(u._`${t}.props`,n);r instanceof u.Name&&e.assign(u._`${t}.items`,r)}(e),t.return(u._`${d.default.errors} === 0`))}(e)}))}(e):g(e,(()=>(0,r.topBoolOrEmptySchema)(e)))};class _{constructor(e,t,n){if((0,l.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,p.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",M(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,l.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",d.default.errors))}result(e,t,n){this.failResult((0,u.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,u.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(u._`${t} !== undefined && (${(0,u.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t)return this.setParams(t),this._error(e,n),void this.setParams({});this._error(e,n)}_error(e,t){(e?f.reportExtraError:f.reportError)(this,this.def.error,t)}$dataError(){(0,f.reportError)(this,this.def.$dataError||f.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,f.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=u.nil){this.gen.block((()=>{this.check$data(e,n),t()}))}check$data(e=u.nil,t=u.nil){if(!this.$data)return;const{gen:n,schemaCode:r,schemaType:i,def:o}=this;n.if((0,u.or)(u._`${r} === undefined`,t)),e!==u.nil&&n.assign(e,!0),(i.length||o.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==u.nil&&n.assign(e,!1)),n.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:n,def:r,it:i}=this;return(0,u.or)(function(){if(n.length){if(!(t instanceof u.Name))throw new Error("ajv implementation error");const e=Array.isArray(n)?n:[n];return u._`${(0,a.checkDataTypes)(e,t,i.opts.strictNumbers,a.DataType.Wrong)}`}return u.nil}(),function(){if(r.validateSchema){const n=e.scopeValue("validate$data",{ref:r.validateSchema});return u._`!${n}(${t})`}return u.nil}())}subschema(e,t){const n=(0,c.getSubschema)(this.it,e);(0,c.extendSubschemaData)(n,this.it,e),(0,c.extendSubschemaMode)(n,e);const r={...this.it,...n,items:void 0,props:void 0};return y(r,t),r}mergeEvaluated(e,t){const{it:n,gen:r}=this;n.opts.unevaluated&&(!0!==n.props&&void 0!==e.props&&(n.props=p.mergeEvaluated.props(r,e.props,n.props,t)),!0!==n.items&&void 0!==e.items&&(n.items=p.mergeEvaluated.items(r,e.items,n.items,t)))}mergeValidEvaluated(e,t){const{it:n,gen:r}=this;if(n.opts.unevaluated&&(!0!==n.props||!0!==n.items))return r.if(t,(()=>this.mergeEvaluated(e,u.Name))),!0}}function O(e,t,n,r){const i=new _(e,n,t);"code"in n?n.code(i,r):i.$data&&n.validate?(0,l.funcKeywordCode)(i,n):"macro"in n?(0,l.macroKeywordCode)(i,n):(n.compile||n.validate)&&(0,l.funcKeywordCode)(i,n)}t.KeywordCxt=_;const P=/^\/(?:[^~]|~0|~1)*$/,I=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function M(e,{dataLevel:t,dataNames:n,dataPathArr:r}){let i,o;if(""===e)return d.default.rootData;if("/"===e[0]){if(!P.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);i=e,o=d.default.rootData}else{const a=I.exec(e);if(!a)throw new Error(`Invalid JSON-pointer: ${e}`);const s=+a[1];if(i=a[2],"#"===i){if(s>=t)throw new Error(l("property/index",s));return r[t-s]}if(s>t)throw new Error(l("data",s));if(o=n[t-s],!i)return o}let a=o;const s=i.split("/");for(const e of s)e&&(o=u._`${o}${(0,u.getProperty)((0,p.unescapeJsonPointer)(e))}`,a=u._`${a} && ${o}`);return a;function l(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}t.getData=M},78671:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const r=n(29775),i=n(36009),o=n(75871),a=n(49846);function s(e){const{gen:t,data:n,it:i}=e;t.if(i.parentData,(()=>t.assign(n,r._`${i.parentData}[${i.parentDataProperty}]`)))}function l(e,t,n){if(void 0===n)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof n?{ref:n}:{ref:n,code:(0,r.stringify)(n)})}t.macroKeywordCode=function(e,t){const{gen:n,keyword:i,schema:o,parentSchema:a,it:s}=e,c=t.macro.call(s.self,o,a,s),u=l(n,i,c);!1!==s.opts.validateSchema&&s.self.validateSchema(c,!0);const d=n.name("valid");e.subschema({schema:c,schemaPath:r.nil,errSchemaPath:`${s.errSchemaPath}/${i}`,topSchemaRef:u,compositeRule:!0},d),e.pass(d,(()=>e.error(!0)))},t.funcKeywordCode=function(e,t){var n;const{gen:c,keyword:u,schema:d,parentSchema:h,$data:p,it:f}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(f,t);const g=!p&&t.compile?t.compile.call(f.self,d,h,f):t.validate,m=l(c,u,g),y=c.let("valid");function v(n=(t.async?r._`await `:r.nil)){const a=f.opts.passContext?i.default.this:i.default.self,s=!("compile"in t&&!p||!1===t.schema);c.assign(y,r._`${n}${(0,o.callValidateCode)(e,m,a,s)}`,t.modifying)}function b(e){var n;c.if((0,r.not)(null!==(n=t.valid)&&void 0!==n?n:y),e)}e.block$data(y,(function(){if(!1===t.errors)v(),t.modifying&&s(e),b((()=>e.error()));else{const n=t.async?function(){const e=c.let("ruleErrs",null);return c.try((()=>v(r._`await `)),(t=>c.assign(y,!1).if(r._`${t} instanceof ${f.ValidationError}`,(()=>c.assign(e,r._`${t}.errors`)),(()=>c.throw(t))))),e}():function(){const e=r._`${m}.errors`;return c.assign(e,null),v(r.nil),e}();t.modifying&&s(e),b((()=>function(e,t){const{gen:n}=e;n.if(r._`Array.isArray(${t})`,(()=>{n.assign(i.default.vErrors,r._`${i.default.vErrors} === null ? ${t} : ${i.default.vErrors}.concat(${t})`).assign(i.default.errors,r._`${i.default.vErrors}.length`),(0,a.extendErrors)(e)}),(()=>e.error()))}(e,n)))}})),e.ok(null!==(n=t.valid)&&void 0!==n?n:y)},t.validSchemaType=function(e,t,n=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||n&&void 0===e))},t.validateKeywordUsage=function({schema:e,opts:t,self:n,errSchemaPath:r},i,o){if(Array.isArray(i.keyword)?!i.keyword.includes(o):i.keyword!==o)throw new Error("ajv implementation error");const a=i.dependencies;if(null==a?void 0:a.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${o}: ${a.join(",")}`);if(i.validateSchema){if(!i.validateSchema(e[o])){const e=`keyword "${o}" value is invalid at path "${r}": `+n.errorsText(i.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);n.logger.error(e)}}}},14821:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const r=n(29775),i=n(98057);t.getSubschema=function(e,{keyword:t,schemaProp:n,schema:o,schemaPath:a,errSchemaPath:s,topSchemaRef:l}){if(void 0!==t&&void 0!==o)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const o=e.schema[t];return void 0===n?{schema:o,schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:o[n],schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}${(0,r.getProperty)(n)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,i.escapeFragment)(n)}`}}if(void 0!==o){if(void 0===a||void 0===s||void 0===l)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:o,schemaPath:a,topSchemaRef:l,errSchemaPath:s}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:n,dataPropType:o,data:a,dataTypes:s,propertyName:l}){if(void 0!==a&&void 0!==n)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:c}=t;if(void 0!==n){const{errorPath:a,dataPathArr:s,opts:l}=t;u(c.let("data",r._`${t.data}${(0,r.getProperty)(n)}`,!0)),e.errorPath=r.str`${a}${(0,i.getErrorPath)(n,o,l.jsPropertySyntax)}`,e.parentDataProperty=r._`${n}`,e.dataPathArr=[...s,e.parentDataProperty]}if(void 0!==a){u(a instanceof r.Name?a:c.let("data",a,!0)),void 0!==l&&(e.propertyName=l)}function u(n){e.data=n,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,n]}s&&(e.dataTypes=s)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:r,createErrors:i,allErrors:o}){void 0!==r&&(e.compositeRule=r),void 0!==i&&(e.createErrors=i),void 0!==o&&(e.allErrors=o),e.jtdDiscriminator=t,e.jtdMetadata=n}},85160:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var r=n(91716);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return r.KeywordCxt}});var i=n(29775);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return i.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return i.CodeGen}});const o=n(21220),a=n(79741),s=n(14934),l=n(14881),c=n(29775),u=n(54533),d=n(42242),h=n(98057),p=n(11971),f=n(84398),g=(e,t)=>new RegExp(e,t);g.code="new RegExp";const m=["removeAdditional","useDefaults","coerceTypes"],y=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),v={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},b={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function w(e){var t,n,r,i,o,a,s,l,c,u,d,h,p,m,y,v,b,w,x,A,S,C,E,k,T;const _=e.strict,O=null===(t=e.code)||void 0===t?void 0:t.optimize,P=!0===O||void 0===O?1:O||0,I=null!==(r=null===(n=e.code)||void 0===n?void 0:n.regExp)&&void 0!==r?r:g,M=null!==(i=e.uriResolver)&&void 0!==i?i:f.default;return{strictSchema:null===(a=null!==(o=e.strictSchema)&&void 0!==o?o:_)||void 0===a||a,strictNumbers:null===(l=null!==(s=e.strictNumbers)&&void 0!==s?s:_)||void 0===l||l,strictTypes:null!==(u=null!==(c=e.strictTypes)&&void 0!==c?c:_)&&void 0!==u?u:"log",strictTuples:null!==(h=null!==(d=e.strictTuples)&&void 0!==d?d:_)&&void 0!==h?h:"log",strictRequired:null!==(m=null!==(p=e.strictRequired)&&void 0!==p?p:_)&&void 0!==m&&m,code:e.code?{...e.code,optimize:P,regExp:I}:{optimize:P,regExp:I},loopRequired:null!==(y=e.loopRequired)&&void 0!==y?y:200,loopEnum:null!==(v=e.loopEnum)&&void 0!==v?v:200,meta:null===(b=e.meta)||void 0===b||b,messages:null===(w=e.messages)||void 0===w||w,inlineRefs:null===(x=e.inlineRefs)||void 0===x||x,schemaId:null!==(A=e.schemaId)&&void 0!==A?A:"$id",addUsedSchema:null===(S=e.addUsedSchema)||void 0===S||S,validateSchema:null===(C=e.validateSchema)||void 0===C||C,validateFormats:null===(E=e.validateFormats)||void 0===E||E,unicodeRegExp:null===(k=e.unicodeRegExp)||void 0===k||k,int32range:null===(T=e.int32range)||void 0===T||T,uriResolver:M}}class x{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...w(e)};const{es5:t,lines:n}=this.opts.code;this.scope=new c.ValueScope({scope:{},prefixes:y,es5:t,lines:n}),this.logger=function(e){if(!1===e)return _;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const r=e.validateFormats;e.validateFormats=!1,this.RULES=(0,s.getRules)(),A.call(this,v,e,"NOT SUPPORTED"),A.call(this,b,e,"DEPRECATED","warn"),this._metaOpts=T.call(this),e.formats&&E.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&k.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),C.call(this),e.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:n}=this.opts;let r=p;"id"===n&&(r={...p},r.id=r.$id,delete r.$id),t&&e&&this.addMetaSchema(r,r[n],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let n;if("string"==typeof e){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);const r=n(t);return"$async"in n||(this.errors=n.errors),r}compile(e,t){const n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:n}=this.opts;return r.call(this,e,t);async function r(e,t){await i.call(this,e.$schema);const n=this._addSchema(e,t);return n.validate||o.call(this,n)}async function i(e){e&&!this.getSchema(e)&&await r.call(this,{$ref:e},!0)}async function o(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof a.default))throw t;return s.call(this,t),await l.call(this,t.missingSchema),o.call(this,e)}}function s({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function l(e){const n=await c.call(this,e);this.refs[e]||await i.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function c(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,r=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,n,r);return this}let i;if("object"==typeof e){const{schemaId:t}=this.opts;if(i=e[t],void 0!==i&&"string"!=typeof i)throw new Error(`schema ${t} must be string`)}return t=(0,u.normalizeId)(t||i),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,r,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let n;if(n=e.$schema,void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const r=this.validate(n,e);if(!r&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return r}getSchema(e){let t;for(;"string"==typeof(t=S.call(this,e));)e=t;if(void 0===t){const{schemaId:n}=this.opts,r=new l.SchemaEnv({schema:{},schemaId:n});if(t=l.resolveSchema.call(this,r,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=S.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,u.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if("string"==typeof e)n=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(n=(t=e).keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(P.call(this,n,t),!t)return(0,h.eachItem)(n,(e=>I.call(this,e))),this;L.call(this,t);const r={...t,type:(0,d.getJSONTypes)(t.type),schemaType:(0,d.getJSONTypes)(t.schemaType)};return(0,h.eachItem)(n,0===r.type.length?e=>I.call(this,e,r):e=>r.type.forEach((t=>I.call(this,e,r,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const n of t.rules){const t=n.rules.findIndex((t=>t.keyword===e));t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return e&&0!==e.length?e.map((e=>`${n}${e.instancePath} ${e.message}`)).reduce(((e,n)=>e+t+n)):"No errors"}$dataMetaSchema(e,t){const n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const r of t){const t=r.split("/").slice(1);let i=e;for(const e of t)i=i[e];for(const e in n){const t=n[e];if("object"!=typeof t)continue;const{$data:r}=t.definition,o=i[e];r&&o&&(i[e]=j(o))}}return e}_removeAllSchemas(e,t){for(const n in e){const r=e[n];t&&!t.test(n)||("string"==typeof r?delete e[n]:r&&!r.meta&&(this._cache.delete(r.schema),delete e[n]))}}_addSchema(e,t,n,r=this.opts.validateSchema,i=this.opts.addUsedSchema){let o;const{schemaId:a}=this.opts;if("object"==typeof e)o=e[a];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let s=this._cache.get(e);if(void 0!==s)return s;n=(0,u.normalizeId)(o||n);const c=u.getSchemaRefs.call(this,e,n);return s=new l.SchemaEnv({schema:e,schemaId:a,meta:t,baseId:n,localRefs:c}),this._cache.set(s.schema,s),i&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=s),r&&this.validateSchema(e,!0),s}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):l.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{l.compileSchema.call(this,e)}finally{this.opts=t}}}function A(e,t,n,r="error"){for(const i in e){const o=i;o in t&&this.logger[r](`${n}: option ${i}. ${e[o]}`)}}function S(e){return e=(0,u.normalizeId)(e),this.schemas[e]||this.refs[e]}function C(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function E(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function k(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const n=e[t];n.keyword||(n.keyword=t),this.addKeyword(n)}}}function T(){const e={...this.opts};for(const t of m)delete e[t];return e}x.ValidationError=o.default,x.MissingRefError=a.default,t.default=x;const _={log(){},warn(){},error(){}};const O=/^[a-z_$][a-z0-9_$:-]*$/i;function P(e,t){const{RULES:n}=this;if((0,h.eachItem)(e,(e=>{if(n.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!O.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function I(e,t,n){var r;const i=null==t?void 0:t.post;if(n&&i)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:o}=this;let a=i?o.post:o.rules.find((({type:e})=>e===n));if(a||(a={type:n,rules:[]},o.rules.push(a)),o.keywords[e]=!0,!t)return;const s={keyword:e,definition:{...t,type:(0,d.getJSONTypes)(t.type),schemaType:(0,d.getJSONTypes)(t.schemaType)}};t.before?M.call(this,a,s,t.before):a.rules.push(s),o.all[e]=s,null===(r=t.implements)||void 0===r||r.forEach((e=>this.addKeyword(e)))}function M(e,t,n){const r=e.rules.findIndex((e=>e.keyword===n));r>=0?e.rules.splice(r,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function L(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=j(t)),e.validateSchema=this.compile(t,!0))}const R={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function j(e){return{anyOf:[e,R]}}},3948:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(92792);r.code='require("ajv/dist/runtime/equal").default',t.default=r},32615:(e,t)=>{"use strict";function n(e){const t=e.length;let n,r=0,i=0;for(;i=55296&&n<=56319&&i{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(37416);r.code='require("ajv/dist/runtime/uri").default',t.default=r},21220:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=n},48207:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const r=n(29775),i=n(98057),o={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{parentSchema:t,it:n}=e,{items:r}=t;Array.isArray(r)?a(e,r):(0,i.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas')}};function a(e,t){const{gen:n,schema:o,data:a,keyword:s,it:l}=e;l.items=!0;const c=n.const("len",r._`${a}.length`);if(!1===o)e.setParams({len:t.length}),e.pass(r._`${c} <= ${t.length}`);else if("object"==typeof o&&!(0,i.alwaysValidSchema)(l,o)){const o=n.var("valid",r._`${c} <= ${t.length}`);n.if((0,r.not)(o),(()=>function(o){n.forRange("i",t.length,c,(t=>{e.subschema({keyword:s,dataProp:t,dataPropType:i.Type.Num},o),l.allErrors||n.if((0,r.not)(o),(()=>n.break()))}))}(o))),e.ok(o)}}t.validateAdditionalItems=a,t.default=o},45674:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(75871),i=n(29775),o=n(36009),a=n(98057),s={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>i._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:n,parentSchema:s,data:l,errsCount:c,it:u}=e;if(!c)throw new Error("ajv implementation error");const{allErrors:d,opts:h}=u;if(u.props=!0,"all"!==h.removeAdditional&&(0,a.alwaysValidSchema)(u,n))return;const p=(0,r.allSchemaProperties)(s.properties),f=(0,r.allSchemaProperties)(s.patternProperties);function g(e){t.code(i._`delete ${l}[${e}]`)}function m(r){if("all"===h.removeAdditional||h.removeAdditional&&!1===n)g(r);else{if(!1===n)return e.setParams({additionalProperty:r}),e.error(),void(d||t.break());if("object"==typeof n&&!(0,a.alwaysValidSchema)(u,n)){const n=t.name("valid");"failing"===h.removeAdditional?(y(r,n,!1),t.if((0,i.not)(n),(()=>{e.reset(),g(r)}))):(y(r,n),d||t.if((0,i.not)(n),(()=>t.break())))}}}function y(t,n,r){const i={keyword:"additionalProperties",dataProp:t,dataPropType:a.Type.Str};!1===r&&Object.assign(i,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(i,n)}t.forIn("key",l,(n=>{p.length||f.length?t.if(function(n){let o;if(p.length>8){const e=(0,a.schemaRefOrVal)(u,s.properties,"properties");o=(0,r.isOwnProperty)(t,e,n)}else o=p.length?(0,i.or)(...p.map((e=>i._`${n} === ${e}`))):i.nil;return f.length&&(o=(0,i.or)(o,...f.map((t=>i._`${(0,r.usePattern)(e,t)}.test(${n})`)))),(0,i.not)(o)}(n),(()=>m(n))):m(n)})),e.ok(i._`${c} === ${o.default.errors}`)}};t.default=s},26238:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(98057),i={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:n,it:i}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");const o=t.name("valid");n.forEach(((t,n)=>{if((0,r.alwaysValidSchema)(i,t))return;const a=e.subschema({keyword:"allOf",schemaProp:n},o);e.ok(o),e.mergeEvaluated(a)}))}};t.default=i},69727:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:n(75871).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=r},51063:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(29775),i=n(98057),o={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?r.str`must contain at least ${e} valid item(s)`:r.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?r._`{minContains: ${e}}`:r._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:n,parentSchema:o,data:a,it:s}=e;let l,c;const{minContains:u,maxContains:d}=o;s.opts.next?(l=void 0===u?1:u,c=d):l=1;const h=t.const("len",r._`${a}.length`);if(e.setParams({min:l,max:c}),void 0===c&&0===l)return void(0,i.checkStrictMode)(s,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==c&&l>c)return(0,i.checkStrictMode)(s,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,i.alwaysValidSchema)(s,n)){let t=r._`${h} >= ${l}`;return void 0!==c&&(t=r._`${t} && ${h} <= ${c}`),void e.pass(t)}s.items=!0;const p=t.name("valid");function f(){const e=t.name("_valid"),n=t.let("count",0);g(e,(()=>t.if(e,(()=>function(e){t.code(r._`${e}++`),void 0===c?t.if(r._`${e} >= ${l}`,(()=>t.assign(p,!0).break())):(t.if(r._`${e} > ${c}`,(()=>t.assign(p,!1).break())),1===l?t.assign(p,!0):t.if(r._`${e} >= ${l}`,(()=>t.assign(p,!0))))}(n)))))}function g(n,r){t.forRange("i",0,h,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:i.Type.Num,compositeRule:!0},n),r()}))}void 0===c&&1===l?g(p,(()=>t.if(p,(()=>t.break())))):0===l?(t.let(p,!0),void 0!==c&&t.if(r._`${a}.length > 0`,f)):(t.let(p,!1),f()),e.result(p,(()=>e.reset()))}};t.default=o},93919:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const r=n(29775),i=n(98057),o=n(75871);t.error={message:({params:{property:e,depsCount:t,deps:n}})=>{const i=1===t?"property":"properties";return r.str`must have ${i} ${n} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:n,missingProperty:i}})=>r._`{property: ${e}, - missingProperty: ${i}, +`),b.rippleVisible,k,550,(({theme:e})=>e.transitions.easing.easeInOut),b.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),b.child,b.childLeaving,T,550,(({theme:e})=>e.transitions.easing.easeInOut),b.childPulsate,_,(({theme:e})=>e.transitions.easing.easeInOut)),I=i.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiTouchRipple"}),{center:s=!1,classes:l={},className:u}=n,d=(0,o.A)(n,w),[h,f]=i.useState([]),y=i.useRef(0),v=i.useRef(null);i.useEffect((()=>{v.current&&(v.current(),v.current=null)}),[h]);const A=i.useRef(!1),x=(0,g.A)(),S=i.useRef(null),C=i.useRef(null),E=i.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;f((e=>[...e,(0,m.jsx)(P,{classes:{ripple:(0,a.A)(l.ripple,b.ripple),rippleVisible:(0,a.A)(l.rippleVisible,b.rippleVisible),ripplePulsate:(0,a.A)(l.ripplePulsate,b.ripplePulsate),child:(0,a.A)(l.child,b.child),childLeaving:(0,a.A)(l.childLeaving,b.childLeaving),childPulsate:(0,a.A)(l.childPulsate,b.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},y.current)])),y.current+=1,v.current=i}),[l]),k=i.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:r=!1,center:o=s||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&A.current)return void(A.current=!1);"touchstart"===(null==e?void 0:e.type)&&(A.current=!0);const a=i?null:C.current,l=a?a.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(o||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(n-l.top)}if(o)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((a?a.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((a?a.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===S.current&&(S.current=()=>{E({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})},x.start(80,(()=>{S.current&&(S.current(),S.current=null)}))):E({pulsate:r,rippleX:c,rippleY:u,rippleSize:d,cb:n})}),[s,E,x]),T=i.useCallback((()=>{k({},{pulsate:!0})}),[k]),_=i.useCallback(((e,t)=>{if(x.clear(),"touchend"===(null==e?void 0:e.type)&&S.current)return S.current(),S.current=null,void x.start(0,(()=>{_(e,t)}));S.current=null,f((e=>e.length>0?e.slice(1):e)),v.current=t}),[x]);return i.useImperativeHandle(t,(()=>({pulsate:T,start:k,stop:_})),[T,k,_]),(0,m.jsx)(O,(0,r.A)({className:(0,a.A)(b.root,l.root,u),ref:C},d,{children:(0,m.jsx)(p.A,{component:null,exit:!0,children:h})}))}));var M=n(62047);function L(e){return(0,M.Ay)("MuiButtonBase",e)}const R=(0,v.A)("MuiButtonBase",["root","disabled","focusVisible"]),j=["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"],F=(0,l.Ay)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${R.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),D=i.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiButtonBase"}),{action:l,centerRipple:p=!1,children:f,className:g,component:y="button",disabled:v=!1,disableRipple:b=!1,disableTouchRipple:w=!1,focusRipple:A=!1,LinkComponent:x="a",onBlur:S,onClick:C,onContextMenu:E,onDragLeave:k,onFocus:T,onFocusVisible:_,onKeyDown:O,onKeyUp:P,onMouseDown:M,onMouseLeave:R,onMouseUp:D,onTouchEnd:N,onTouchMove:z,onTouchStart:B,tabIndex:V=0,TouchRippleProps:$,touchRippleRef:G,type:U}=n,W=(0,o.A)(n,j),q=i.useRef(null),H=i.useRef(null),Y=(0,u.A)(H,G),{isFocusVisibleRef:K,onFocus:X,onBlur:Z,ref:J}=(0,h.A)(),[Q,ee]=i.useState(!1);v&&Q&&ee(!1),i.useImperativeHandle(l,(()=>({focusVisible:()=>{ee(!0),q.current.focus()}})),[]);const[te,ne]=i.useState(!1);i.useEffect((()=>{ne(!0)}),[]);const re=te&&!b&&!v;function oe(e,t,n=w){return(0,d.A)((r=>{t&&t(r);return!n&&H.current&&H.current[e](r),!0}))}i.useEffect((()=>{Q&&A&&!b&&te&&H.current.pulsate()}),[b,A,Q,te]);const ie=oe("start",M),ae=oe("stop",E),se=oe("stop",k),le=oe("stop",D),ce=oe("stop",(e=>{Q&&e.preventDefault(),R&&R(e)})),ue=oe("start",B),de=oe("stop",N),he=oe("stop",z),pe=oe("stop",(e=>{Z(e),!1===K.current&&ee(!1),S&&S(e)}),!1),fe=(0,d.A)((e=>{q.current||(q.current=e.currentTarget),X(e),!0===K.current&&(ee(!0),_&&_(e)),T&&T(e)})),ge=()=>{const e=q.current;return y&&"button"!==y&&!("A"===e.tagName&&e.href)},me=i.useRef(!1),ye=(0,d.A)((e=>{A&&!me.current&&Q&&H.current&&" "===e.key&&(me.current=!0,H.current.stop(e,(()=>{H.current.start(e)}))),e.target===e.currentTarget&&ge()&&" "===e.key&&e.preventDefault(),O&&O(e),e.target===e.currentTarget&&ge()&&"Enter"===e.key&&!v&&(e.preventDefault(),C&&C(e))})),ve=(0,d.A)((e=>{A&&" "===e.key&&H.current&&Q&&!e.defaultPrevented&&(me.current=!1,H.current.stop(e,(()=>{H.current.pulsate(e)}))),P&&P(e),C&&e.target===e.currentTarget&&ge()&&" "===e.key&&!e.defaultPrevented&&C(e)}));let be=y;"button"===be&&(W.href||W.to)&&(be=x);const we={};"button"===be?(we.type=void 0===U?"button":U,we.disabled=v):(W.href||W.to||(we.role="button"),v&&(we["aria-disabled"]=v));const Ae=(0,u.A)(t,J,q);const xe=(0,r.A)({},n,{centerRipple:p,component:y,disabled:v,disableRipple:b,disableTouchRipple:w,focusRipple:A,tabIndex:V,focusVisible:Q}),Se=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i={root:["root",t&&"disabled",n&&"focusVisible"]},a=(0,s.A)(i,L,o);return n&&r&&(a.root+=` ${r}`),a})(xe);return(0,m.jsxs)(F,(0,r.A)({as:be,className:(0,a.A)(Se.root,g),ownerState:xe,onBlur:pe,onClick:C,onContextMenu:ae,onFocus:fe,onKeyDown:ye,onKeyUp:ve,onMouseDown:ie,onMouseLeave:ce,onMouseUp:le,onDragLeave:se,onTouchEnd:de,onTouchMove:he,onTouchStart:ue,ref:Ae,tabIndex:v?-1:V,type:U},we,W,{children:[f,re?(0,m.jsx)(I,(0,r.A)({ref:Y,center:p},$)):null]}))}))},27878:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var r=n(74112),o=n(64033),i=n(30538),a=n(87286),s=n(67529),l=n(33498),c=n(4433),u=n(96574),d=n(89148),h=n(97282);const p=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],f=(0,c.Ay)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>(0,o.A)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,l.X4)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>(0,o.A)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>(0,o.A)({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>(0,o.A)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>(0,o.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,c.Ay)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>(0,o.A)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),m=i.forwardRef((function(e,t){const n=(0,u.A)({props:e,name:"MuiDivider"}),{absolute:i=!1,children:l,className:c,component:m=(l?"div":"hr"),flexItem:y=!1,light:v=!1,orientation:b="horizontal",role:w=("hr"!==m?"separator":void 0),textAlign:A="center",variant:x="fullWidth"}=n,S=(0,r.A)(n,p),C=(0,o.A)({},n,{absolute:i,component:m,flexItem:y,light:v,orientation:b,role:w,textAlign:A,variant:x}),E=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:a,textAlign:l,variant:c}=e,u={root:["root",t&&"absolute",c,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]};return(0,s.A)(u,d.K,r)})(C);return(0,h.jsx)(f,(0,o.A)({as:m,className:(0,a.A)(E.root,c),role:w,ref:t,ownerState:C},S,{children:l?(0,h.jsx)(g,{className:E.wrapper,ownerState:C,children:l}):null}))}));m.muiSkipListHighlight=!0;const y=m},89148:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,K:()=>i});var r=n(70715),o=n(62047);function i(e){return(0,o.Ay)("MuiDivider",e)}const a=(0,r.A)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"])},65712:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(74112),o=n(64033),i=n(30538),a=n(87286),s=n(67529),l=n(96574),c=n(4433),u=n(10054),d=n(18489),h=n(46973),p=n(20995),f=n(70715),g=n(62047);function m(e){return(0,g.Ay)("MuiFormControl",e)}(0,f.A)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var y=n(97282);const v=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],b=(0,c.Ay)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,o.A)({},t.root,t[`margin${(0,d.A)(e.margin)}`],e.fullWidth&&t.fullWidth)})((({ownerState:e})=>(0,o.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%"}))),w=i.forwardRef((function(e,t){const n=(0,l.A)({props:e,name:"MuiFormControl"}),{children:c,className:f,color:g="primary",component:w="div",disabled:A=!1,error:x=!1,focused:S,fullWidth:C=!1,hiddenLabel:E=!1,margin:k="none",required:T=!1,size:_="medium",variant:O="outlined"}=n,P=(0,r.A)(n,v),I=(0,o.A)({},n,{color:g,component:w,disabled:A,error:x,fullWidth:C,hiddenLabel:E,margin:k,required:T,size:_,variant:O}),M=(e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root","none"!==n&&`margin${(0,d.A)(n)}`,r&&"fullWidth"]};return(0,s.A)(o,m,t)})(I),[L,R]=i.useState((()=>{let e=!1;return c&&i.Children.forEach(c,(t=>{if(!(0,h.A)(t,["Input","Select"]))return;const n=(0,h.A)(t,["Select"])?t.props.input:t;n&&(0,u.gr)(n.props)&&(e=!0)})),e})),[j,F]=i.useState((()=>{let e=!1;return c&&i.Children.forEach(c,(t=>{(0,h.A)(t,["Input","Select"])&&((0,u.lq)(t.props,!0)||(0,u.lq)(t.props.inputProps,!0))&&(e=!0)})),e})),[D,N]=i.useState(!1);A&&D&&N(!1);const z=void 0===S||A?D:S;let B;const V=i.useMemo((()=>({adornedStart:L,setAdornedStart:R,color:g,disabled:A,error:x,filled:j,focused:z,fullWidth:C,hiddenLabel:E,size:_,onBlur:()=>{N(!1)},onEmpty:()=>{F(!1)},onFilled:()=>{F(!0)},onFocus:()=>{N(!0)},registerEffect:B,required:T,variant:O})),[L,g,A,x,j,z,C,E,B,T,_,O]);return(0,y.jsx)(p.A.Provider,{value:V,children:(0,y.jsx)(b,(0,o.A)({as:w,ownerState:I,className:(0,a.A)(M.root,f),ref:t},P,{children:c}))})}))},20995:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(30538).createContext(void 0)},88961:(e,t,n)=>{"use strict";function r({props:e,states:t,muiFormControl:n}){return t.reduce(((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t)),{})}n.d(t,{A:()=>r})},13755:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(30538),o=n(20995);function i(){return r.useContext(o.A)}},17303:(e,t,n)=>{"use strict";n.d(t,{f3:()=>z,Sh:()=>N,Ay:()=>V,Oj:()=>D,WC:()=>F});var r=n(74112),o=n(64033),i=n(1291),a=n(30538),s=n(87286),l=n(4169),c=n(4435),u=n(207),d=n(72767),h=n(97282);const p=["onChange","maxRows","minRows","style","value"];function f(e){return parseInt(e,10)||0}const g={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};const m=a.forwardRef((function(e,t){const{onChange:n,maxRows:i,minRows:s=1,style:m,value:y}=e,v=(0,r.A)(e,p),{current:b}=a.useRef(null!=y),w=a.useRef(null),A=(0,l.A)(t,w),x=a.useRef(null),S=a.useCallback((()=>{const t=w.current,n=(0,c.A)(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0,overflowing:!1};const r=x.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const o=n.boxSizing,a=f(n.paddingBottom)+f(n.paddingTop),l=f(n.borderBottomWidth)+f(n.borderTopWidth),u=r.scrollHeight;r.value="x";const d=r.scrollHeight;let h=u;s&&(h=Math.max(Number(s)*d,h)),i&&(h=Math.min(Number(i)*d,h)),h=Math.max(h,d);return{outerHeightStyle:h+("border-box"===o?a+l:0),overflowing:Math.abs(h-u)<=1}}),[i,s,e.placeholder]),C=a.useCallback((()=>{const e=S();if(null==(t=e)||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflowing)return;var t;const n=w.current;n.style.height=`${e.outerHeightStyle}px`,n.style.overflow=e.overflowing?"hidden":""}),[S]);(0,u.A)((()=>{const e=()=>{C()};let t;const n=(0,d.A)(e),r=w.current,o=(0,c.A)(r);let i;return o.addEventListener("resize",n),"undefined"!=typeof ResizeObserver&&(i=new ResizeObserver(e),i.observe(r)),()=>{n.clear(),cancelAnimationFrame(t),o.removeEventListener("resize",n),i&&i.disconnect()}}),[S,C]),(0,u.A)((()=>{C()}));return(0,h.jsxs)(a.Fragment,{children:[(0,h.jsx)("textarea",(0,o.A)({value:y,onChange:e=>{b||C(),n&&n(e)},ref:A,rows:s,style:m},v)),(0,h.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:x,tabIndex:-1,style:(0,o.A)({},g,m,{paddingTop:0,paddingBottom:0})})]})}));var y=n(70692),v=n(67529),b=n(88961),w=n(20995),A=n(13755),x=n(4433),S=n(96574),C=n(18489),E=n(63371),k=n(64443),T=n(78790),_=n(58319);const O=function({styles:e,themeId:t,defaultTheme:n={}}){const r=(0,_.A)(n),o="function"==typeof e?e(t&&r[t]||r):e;return(0,h.jsx)(T.A,{styles:o})};var P=n(85620),I=n(17833);const M=function(e){return(0,h.jsx)(O,(0,o.A)({},e,{defaultTheme:P.A,themeId:I.A}))};var L=n(10054),R=n(38680);const j=["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"],F=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${(0,C.A)(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},D=(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},N=(0,x.Ay)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:F})((({theme:e,ownerState:t})=>(0,o.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",[`&.${R.A.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&(0,o.A)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),z=(0,x.Ay)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:D})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,r=(0,o.A)({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return(0,o.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":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${R.A.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${R.A.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),B=(0,h.jsx)(M,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),V=a.forwardRef((function(e,t){var n;const l=(0,S.A)({props:e,name:"MuiInputBase"}),{"aria-describedby":c,autoComplete:u,autoFocus:d,className:p,components:f={},componentsProps:g={},defaultValue:x,disabled:T,disableInjectingGlobalStyles:_,endAdornment:O,fullWidth:P=!1,id:I,inputComponent:M="input",inputProps:F={},inputRef:D,maxRows:V,minRows:$,multiline:G=!1,name:U,onBlur:W,onChange:q,onClick:H,onFocus:Y,onKeyDown:K,onKeyUp:X,placeholder:Z,readOnly:J,renderSuffix:Q,rows:ee,slotProps:te={},slots:ne={},startAdornment:re,type:oe="text",value:ie}=l,ae=(0,r.A)(l,j),se=null!=F.value?F.value:ie,{current:le}=a.useRef(null!=se),ce=a.useRef(),ue=a.useCallback((e=>{0}),[]),de=(0,E.A)(ce,D,F.ref,ue),[he,pe]=a.useState(!1),fe=(0,A.A)();const ge=(0,b.A)({props:l,muiFormControl:fe,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ge.focused=fe?fe.focused:he,a.useEffect((()=>{!fe&&T&&he&&(pe(!1),W&&W())}),[fe,T,he,W]);const me=fe&&fe.onFilled,ye=fe&&fe.onEmpty,ve=a.useCallback((e=>{(0,L.lq)(e)?me&&me():ye&&ye()}),[me,ye]);(0,k.A)((()=>{le&&ve({value:se})}),[se,ve,le]);a.useEffect((()=>{ve(ce.current)}),[]);let be=M,we=F;G&&"input"===be&&(we=ee?(0,o.A)({type:void 0,minRows:ee,maxRows:ee},we):(0,o.A)({type:void 0,maxRows:V,minRows:$},we),be=m);a.useEffect((()=>{fe&&fe.setAdornedStart(Boolean(re))}),[fe,re]);const Ae=(0,o.A)({},l,{color:ge.color||"primary",disabled:ge.disabled,endAdornment:O,error:ge.error,focused:ge.focused,formControl:fe,fullWidth:P,hiddenLabel:ge.hiddenLabel,multiline:G,size:ge.size,startAdornment:re,type:oe}),xe=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:d,size:h,startAdornment:p,type:f}=e,g={root:["root",`color${(0,C.A)(n)}`,r&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",h&&"medium"!==h&&`size${(0,C.A)(h)}`,u&&"multiline",p&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===f&&"inputTypeSearch",u&&"inputMultiline","small"===h&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]};return(0,v.A)(g,R.g,t)})(Ae),Se=ne.root||f.Root||N,Ce=te.root||g.root||{},Ee=ne.input||f.Input||z;return we=(0,o.A)({},we,null!=(n=te.input)?n:g.input),(0,h.jsxs)(a.Fragment,{children:[!_&&B,(0,h.jsxs)(Se,(0,o.A)({},Ce,!(0,y.g)(Se)&&{ownerState:(0,o.A)({},Ae,Ce.ownerState)},{ref:t,onClick:e=>{ce.current&&e.currentTarget===e.target&&ce.current.focus(),H&&H(e)}},ae,{className:(0,s.A)(xe.root,Ce.className,p,J&&"MuiInputBase-readOnly"),children:[re,(0,h.jsx)(w.A.Provider,{value:null,children:(0,h.jsx)(Ee,(0,o.A)({ownerState:Ae,"aria-invalid":ge.error,"aria-describedby":c,autoComplete:u,autoFocus:d,defaultValue:x,disabled:ge.disabled,id:I,onAnimationStart:e=>{ve("mui-auto-fill-cancel"===e.animationName?ce.current:{value:"x"})},name:U,placeholder:Z,readOnly:J,required:ge.required,rows:ee,value:se,onKeyDown:K,onKeyUp:X,type:oe},we,!(0,y.g)(Ee)&&{as:be,ownerState:(0,o.A)({},Ae,we.ownerState)},{ref:de,className:(0,s.A)(xe.input,we.className,J&&"MuiInputBase-readOnly"),onBlur:e=>{W&&W(e),F.onBlur&&F.onBlur(e),fe&&fe.onBlur?fe.onBlur(e):pe(!1)},onChange:(e,...t)=>{if(!le){const t=e.target||ce.current;if(null==t)throw new Error((0,i.A)(1));ve({value:t.value})}F.onChange&&F.onChange(e,...t),q&&q(e,...t)},onFocus:e=>{ge.disabled?e.stopPropagation():(Y&&Y(e),F.onFocus&&F.onFocus(e),fe&&fe.onFocus?fe.onFocus(e):pe(!0))}}))}),O,Q?Q((0,o.A)({},ge,{startAdornment:re})):null]}))]})}))},38680:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,g:()=>i});var r=n(70715),o=n(62047);function i(e){return(0,o.Ay)("MuiInputBase",e)}const a=(0,r.A)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"])},10054:(e,t,n)=>{"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function o(e,t=!1){return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function i(e){return e.startAdornment}n.d(t,{gr:()=>i,lq:()=>o})},17658:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var r=n(74112),o=n(64033),i=n(30538),a=n(67529),s=n(87286),l=n(88961),c=n(13755),u=n(18489),d=n(96574),h=n(4433),p=n(70715),f=n(62047);function g(e){return(0,f.Ay)("MuiFormLabel",e)}const m=(0,p.A)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);var y=n(97282);const v=["children","className","color","component","disabled","error","filled","focused","required"],b=(0,h.Ay)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,o.A)({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})((({theme:e,ownerState:t})=>(0,o.A)({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${m.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${m.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${m.error}`]:{color:(e.vars||e).palette.error.main}}))),w=(0,h.Ay)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${m.error}`]:{color:(e.vars||e).palette.error.main}}))),A=i.forwardRef((function(e,t){const n=(0,d.A)({props:e,name:"MuiFormLabel"}),{children:i,className:h,component:p="label"}=n,f=(0,r.A)(n,v),m=(0,c.A)(),A=(0,l.A)({props:n,muiFormControl:m,states:["color","required","focused","disabled","error","filled"]}),x=(0,o.A)({},n,{color:A.color||"primary",component:p,disabled:A.disabled,error:A.error,filled:A.filled,focused:A.focused,required:A.required}),S=(e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:s,required:l}=e,c={root:["root",`color${(0,u.A)(n)}`,o&&"disabled",i&&"error",s&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return(0,a.A)(c,g,t)})(x);return(0,y.jsxs)(b,(0,o.A)({as:p,ownerState:x,className:(0,s.A)(S.root,h),ref:t},f,{children:[i,A.required&&(0,y.jsxs)(w,{ownerState:x,"aria-hidden":!0,className:S.asterisk,children:[" ","*"]})]}))}));var x=n(34773);function S(e){return(0,f.Ay)("MuiInputLabel",e)}(0,p.A)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const C=["disableAnimation","margin","shrink","variant","className"],E=(0,h.Ay)(A,{shouldForwardProp:e=>(0,x.A)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${m.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,o.A)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&(0,o.A)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&(0,o.A)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&(0,o.A)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"})))),k=i.forwardRef((function(e,t){const n=(0,d.A)({name:"MuiInputLabel",props:e}),{disableAnimation:i=!1,shrink:h,className:p}=n,f=(0,r.A)(n,C),g=(0,c.A)();let m=h;void 0===m&&g&&(m=g.filled||g.focused||g.adornedStart);const v=(0,l.A)({props:n,muiFormControl:g,states:["size","variant","required","focused"]}),b=(0,o.A)({},n,{disableAnimation:i,formControl:g,shrink:m,size:v.size,variant:v.variant,required:v.required,focused:v.focused}),w=(e=>{const{classes:t,formControl:n,size:r,shrink:i,disableAnimation:s,variant:l,required:c}=e,d={root:["root",n&&"formControl",!s&&"animated",i&&"shrink",r&&"normal"!==r&&`size${(0,u.A)(r)}`,l],asterisk:[c&&"asterisk"]},h=(0,a.A)(d,S,t);return(0,o.A)({},t,h)})(b);return(0,y.jsx)(E,(0,o.A)({"data-shrink":m,ownerState:b,ref:t,className:(0,s.A)(w.root,p)},f,{classes:w}))}))},21350:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(74112),o=n(64033),i=n(30538),a=n(67529),s=n(6739),l=n(17303),c=n(4433),u=n(34773),d=n(96574),h=n(76924),p=n(97282);const f=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],g=(0,c.Ay)(l.Sh,{shouldForwardProp:e=>(0,u.A)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...(0,l.WC)(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{let n="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(n=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),(0,o.A)({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.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"},[`&.${h.A.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${h.A.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${h.A.disabled}, .${h.A.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${n}`}},[`&.${h.A.disabled}:before`]:{borderBottomStyle:"dotted"}})})),m=(0,c.Ay)(l.f3,{name:"MuiInput",slot:"Input",overridesResolver:l.Oj})({}),y=i.forwardRef((function(e,t){var n,i,c,u;const y=(0,d.A)({props:e,name:"MuiInput"}),{disableUnderline:v,components:b={},componentsProps:w,fullWidth:A=!1,inputComponent:x="input",multiline:S=!1,slotProps:C,slots:E={},type:k="text"}=y,T=(0,r.A)(y,f),_=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},i=(0,a.A)(r,h.B,t);return(0,o.A)({},t,i)})(y),O={root:{ownerState:{disableUnderline:v}}},P=(null!=C?C:w)?(0,s.A)(null!=C?C:w,O):O,I=null!=(n=null!=(i=E.root)?i:b.Root)?n:g,M=null!=(c=null!=(u=E.input)?u:b.Input)?c:m;return(0,p.jsx)(l.Ay,(0,o.A)({slots:{root:I,input:M},slotProps:P,fullWidth:A,inputComponent:x,multiline:S,ref:t,type:k},T,{classes:_}))}));y.muiName="Input";const v=y},76924:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,B:()=>s});var r=n(64033),o=n(70715),i=n(62047),a=n(38680);function s(e){return(0,i.Ay)("MuiInput",e)}const l=(0,r.A)({},a.A,(0,o.A)("MuiInput",["root","underline","input"]))},25454:(e,t,n)=>{"use strict";n.d(t,{A:()=>E});var r=n(74112),o=n(64033),i=n(30538),a=n(87286),s=n(67529),l=n(18489),c=n(4433),u=n(96574),d=n(65930),h=n(63371),p=n(76194),f=n(70715),g=n(62047);function m(e){return(0,g.Ay)("MuiLink",e)}const y=(0,f.A)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var v=n(28210),b=n(33498);const w={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},A=({theme:e,ownerState:t})=>{const n=(e=>w[e]||e)(t.color),r=(0,v.Yn)(e,`palette.${n}`,!1)||t.color,o=(0,v.Yn)(e,`palette.${n}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:(0,b.X4)(r,.4)};var x=n(97282);const S=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],C=(0,c.Ay)(p.A,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`underline${(0,l.A)(n.underline)}`],"button"===n.component&&t.button]}})((({theme:e,ownerState:t})=>(0,o.A)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&(0,o.A)({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:A({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.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"},[`&.${y.focusVisible}`]:{outline:"auto"}}))),E=i.forwardRef((function(e,t){const n=(0,u.A)({props:e,name:"MuiLink"}),{className:c,color:p="primary",component:f="a",onBlur:g,onFocus:y,TypographyClasses:v,underline:b="always",variant:A="inherit",sx:E}=n,k=(0,r.A)(n,S),{isFocusVisibleRef:T,onBlur:_,onFocus:O,ref:P}=(0,d.A)(),[I,M]=i.useState(!1),L=(0,h.A)(t,P),R=(0,o.A)({},n,{color:p,component:f,focusVisible:I,underline:b,variant:A}),j=(e=>{const{classes:t,component:n,focusVisible:r,underline:o}=e,i={root:["root",`underline${(0,l.A)(o)}`,"button"===n&&"button",r&&"focusVisible"]};return(0,s.A)(i,m,t)})(R);return(0,x.jsx)(C,(0,o.A)({color:p,className:(0,a.A)(j.root,c),classes:v,component:f,onBlur:e=>{_(e),!1===T.current&&M(!1),g&&g(e)},onFocus:e=>{O(e),!0===T.current&&M(!0),y&&y(e)},ref:L,ownerState:R,variant:A,sx:[...Object.keys(w).includes(p)?[]:[{color:p}],...Array.isArray(E)?E:[E]]},k))}))},76024:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>v,Ku:()=>f,XV:()=>m});var r=n(74112),o=n(64033),i=n(30538),a=n(87286),s=n(67529),l=n(18489),c=n(94980),u=n(4433),d=n(34773),h=n(97282);const p=["className","disabled","error","IconComponent","inputRef","variant"],f=({ownerState:e,theme:t})=>(0,o.A)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,o.A)({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${c.A.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),g=(0,u.Ay)("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:d.A,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${c.A.multiple}`]:t.multiple}]}})(f),m=({ownerState:e,theme:t})=>(0,o.A)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${c.A.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),y=(0,u.Ay)("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${(0,l.A)(n.variant)}`],n.open&&t.iconOpen]}})(m),v=i.forwardRef((function(e,t){const{className:n,disabled:u,error:d,IconComponent:f,inputRef:m,variant:v="standard"}=e,b=(0,r.A)(e,p),w=(0,o.A)({},e,{disabled:u,variant:v,error:d}),A=(e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,u={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${(0,l.A)(n)}`,i&&"iconOpen",r&&"disabled"]};return(0,s.A)(u,c.w,t)})(w);return(0,h.jsxs)(i.Fragment,{children:[(0,h.jsx)(g,(0,o.A)({ownerState:w,className:(0,a.A)(A.select,n),disabled:u,ref:m||t},b)),e.multiple?null:(0,h.jsx)(y,{as:f,ownerState:w,className:A.icon})]})}))},94980:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,w:()=>i});var r=n(70715),o=n(62047);function i(e){return(0,o.Ay)("MuiNativeSelect",e)}const a=(0,r.A)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"])},18565:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(74112),o=n(64033),i=n(30538),a=n(87286),s=n(67529),l=n(33498),c=n(4433);const u=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};var d=n(96574),h=n(70715),p=n(62047);function f(e){return(0,p.Ay)("MuiPaper",e)}(0,h.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=n(97282);const m=["className","component","elevation","square","variant"],y=(0,c.Ay)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return(0,o.A)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&(0,o.A)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,l.X4)("#fff",u(t.elevation))}, ${(0,l.X4)("#fff",u(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))})),v=i.forwardRef((function(e,t){const n=(0,d.A)({props:e,name:"MuiPaper"}),{className:i,component:l="div",elevation:c=1,square:u=!1,variant:h="elevation"}=n,p=(0,r.A)(n,m),v=(0,o.A)({},n,{component:l,elevation:c,square:u,variant:h}),b=(e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]};return(0,s.A)(i,f,o)})(v);return(0,g.jsx)(y,(0,o.A)({as:l,ownerState:v,className:(0,a.A)(b.root,i),ref:t},p))}))},9360:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>ne});var r=n(74112),o=n(64033),i=n(30538),a=n(87286),s=n(11894),l=n(70692),c=n(67529),u=n(27443),d=n(94419),h=n(25331),p=n(22087),f=n(4169),g=n(207),m=n(34665),y=n(97387);var v=n(13015);function b(e,t){return e-t}function w(e,t){var n;const{index:r}=null!=(n=e.reduce(((e,n,r)=>{const o=Math.abs(t-n);return null===e||oe===t)){return e.length===t.length&&e.every(((e,r)=>n(e,t[r])))}(e,t)}const T={horizontal:{offset:e=>({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}%`})}},_=e=>e;let O;function P(){return void 0===O&&(O="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),O}function I(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:a=!1,isRtl:s=!1,marks:l=!1,max:c=100,min:O=0,name:I,onChange:M,onChangeCommitted:L,orientation:R="horizontal",rootRef:j,scale:F=_,step:D=1,shiftStep:N=10,tabIndex:z,value:B}=e,V=i.useRef(),[$,G]=i.useState(-1),[U,W]=i.useState(-1),[q,H]=i.useState(!1),Y=i.useRef(0),[K,X]=(0,d.A)({controlled:B,default:null!=n?n:O,name:"Slider"}),Z=M&&((e,t,n)=>{const r=e.nativeEvent||e,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:t,name:I}}),M(o,t,n)}),J=Array.isArray(K);let Q=J?K.slice().sort(b):[K];Q=Q.map((e=>null==e?O:(0,h.A)(e,O,c)));const ee=!0===l&&null!==D?[...Array(Math.floor((c-O)/D)+1)].map(((e,t)=>({value:O+D*t}))):l||[],te=ee.map((e=>e.value)),{isFocusVisibleRef:ne,onBlur:re,onFocus:oe,ref:ie}=(0,p.A)(),[ae,se]=i.useState(-1),le=i.useRef(),ce=(0,f.A)(ie,le),ue=(0,f.A)(j,ce),de=e=>t=>{var n;const r=Number(t.currentTarget.getAttribute("data-index"));oe(t),!0===ne.current&&se(r),W(r),null==e||null==(n=e.onFocus)||n.call(e,t)},he=e=>t=>{var n;re(t),!1===ne.current&&se(-1),W(-1),null==e||null==(n=e.onBlur)||n.call(e,t)},pe=(e,t)=>{const n=Number(e.currentTarget.getAttribute("data-index")),r=Q[n],o=te.indexOf(r);let i=t;if(ee&&null==D){const e=te[te.length-1];i=i>e?e:it=>{var n;if(null!==D){const e=Number(t.currentTarget.getAttribute("data-index")),n=Q[e];let r=null;("ArrowLeft"===t.key||"ArrowDown"===t.key)&&t.shiftKey||"PageDown"===t.key?r=Math.max(n-N,O):(("ArrowRight"===t.key||"ArrowUp"===t.key)&&t.shiftKey||"PageUp"===t.key)&&(r=Math.min(n+N,c)),null!==r&&(pe(t,r),t.preventDefault())}null==e||null==(n=e.onKeyDown)||n.call(e,t)};(0,g.A)((()=>{var e;r&&le.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())}),[r]),r&&-1!==$&&G(-1),r&&-1!==ae&&se(-1);const ge=i.useRef();let me=R;s&&"horizontal"===R&&(me+="-reverse");const ye=({finger:e,move:t=!1})=>{const{current:n}=le,{width:r,height:o,bottom:i,left:s}=n.getBoundingClientRect();let l,u;if(l=0===me.indexOf("vertical")?(i-e.y)/o:(e.x-s)/r,-1!==me.indexOf("-reverse")&&(l=1-l),u=function(e,t,n){return(n-t)*e+t}(l,O,c),D)u=S(u,D,O);else{const e=w(te,u);u=te[e]}u=(0,h.A)(u,O,c);let d=0;if(J){d=t?ge.current:w(Q,u),a&&(u=(0,h.A)(u,Q[d-1]||-1/0,Q[d+1]||1/0));const e=u;u=C({values:Q,newValue:u,index:d}),a&&t||(d=u.indexOf(e),ge.current=d)}return{newValue:u,activeIndex:d}},ve=(0,m.A)((e=>{const t=A(e,V);if(!t)return;if(Y.current+=1,"mousemove"===e.type&&0===e.buttons)return void be(e);const{newValue:n,activeIndex:r}=ye({finger:t,move:!0});E({sliderRef:le,activeIndex:r,setActive:G}),X(n),!q&&Y.current>2&&H(!0),Z&&!k(n,K)&&Z(e,n,r)})),be=(0,m.A)((e=>{const t=A(e,V);if(H(!1),!t)return;const{newValue:n}=ye({finger:t,move:!0});G(-1),"touchend"===e.type&&W(-1),L&&L(e,n),V.current=void 0,Ae()})),we=(0,m.A)((e=>{if(r)return;P()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(V.current=t.identifier);const n=A(e,V);if(!1!==n){const{newValue:t,activeIndex:r}=ye({finger:n});E({sliderRef:le,activeIndex:r,setActive:G}),X(t),Z&&!k(t,K)&&Z(e,t,r)}Y.current=0;const o=(0,u.A)(le.current);o.addEventListener("touchmove",ve,{passive:!0}),o.addEventListener("touchend",be,{passive:!0})})),Ae=i.useCallback((()=>{const e=(0,u.A)(le.current);e.removeEventListener("mousemove",ve),e.removeEventListener("mouseup",be),e.removeEventListener("touchmove",ve),e.removeEventListener("touchend",be)}),[be,ve]);i.useEffect((()=>{const{current:e}=le;return e.addEventListener("touchstart",we,{passive:P()}),()=>{e.removeEventListener("touchstart",we),Ae()}}),[Ae,we]),i.useEffect((()=>{r&&Ae()}),[r,Ae]);const xe=x(J?Q[0]:O,O,c),Se=x(Q[Q.length-1],O,c)-xe,Ce=e=>t=>{var n;null==(n=e.onMouseLeave)||n.call(e,t),W(-1)};return{active:$,axis:me,axisProps:T,dragging:q,focusedThumbIndex:ae,getHiddenInputProps:(n={})=>{var i;const a=(0,v.h)(n),l={onChange:(u=a||{},e=>{var t;null==(t=u.onChange)||t.call(u,e),pe(e,e.target.valueAsNumber)}),onFocus:de(a||{}),onBlur:he(a||{}),onKeyDown:fe(a||{})};var u;const d=(0,o.A)({},a,l);return(0,o.A)({tabIndex:z,"aria-labelledby":t,"aria-orientation":R,"aria-valuemax":F(c),"aria-valuemin":F(O),name:I,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":null!=(i=e.step)?i:void 0,disabled:r},n,d,{style:(0,o.A)({},y.A,{direction:s?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:(e={})=>{const t=(0,v.h)(e),n={onMouseDown:(i=t||{},e=>{var t;if(null==(t=i.onMouseDown)||t.call(i,e),r)return;if(e.defaultPrevented)return;if(0!==e.button)return;e.preventDefault();const n=A(e,V);if(!1!==n){const{newValue:t,activeIndex:r}=ye({finger:n});E({sliderRef:le,activeIndex:r,setActive:G}),X(t),Z&&!k(t,K)&&Z(e,t,r)}Y.current=0;const o=(0,u.A)(le.current);o.addEventListener("mousemove",ve,{passive:!0}),o.addEventListener("mouseup",be)})};var i;const a=(0,o.A)({},t,n);return(0,o.A)({},e,{ref:ue},a)},getThumbProps:(e={})=>{const t=(0,v.h)(e),n={onMouseOver:(r=t||{},e=>{var t;null==(t=r.onMouseOver)||t.call(r,e);const n=Number(e.currentTarget.getAttribute("data-index"));W(n)}),onMouseLeave:Ce(t||{})};var r;return(0,o.A)({},e,t,n)},marks:ee,open:U,range:J,rootRef:ue,trackLeap:Se,trackOffset:xe,values:Q,getThumbStyle:e=>({pointerEvents:-1!==$&&$!==e?"none":void 0})}}var M=n(33498),L=n(23507),R=n(88168),j=n(4433),F=n(86537);const D=e=>!e||!(0,l.g)(e);var N=n(18489),z=n(70715),B=n(62047);function V(e){return(0,B.Ay)("MuiSlider",e)}const $=(0,z.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"]);var G=n(97282);const U=["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"],W=(0,R.h)("MuiSlider");function q(e){return e}const H=(0,j.Ay)("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,N.A)(n.color)}`],"medium"!==n.size&&t[`size${(0,N.A)(n.size)}`],n.marked&&t.marked,"vertical"===n.orientation&&t.vertical,"inverted"===n.track&&t.trackInverted,!1===n.track&&t.trackFalse]}})((({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${$.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${$.dragging}`]:{[`& .${$.thumb}, & .${$.track}`]:{transition:"none"}},variants:[...Object.keys((null!=(t=e.vars)?t:e).palette).filter((t=>{var n;return(null!=(n=e.vars)?n:e).palette[t].main})).map((t=>({props:{color:t},style:{color:(e.vars||e).palette[t].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}}]}})),Y=(0,j.Ay)("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.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}}]}),K=(0,j.Ay)("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})((({theme:e})=>{var t;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!=(t=e.vars)?t:e).palette).filter((t=>{var n;return(null!=(n=e.vars)?n:e).palette[t].main})).map((t=>({props:{color:t,track:"inverted"},style:(0,o.A)({},e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:(0,o.A)({backgroundColor:(0,M.a)(e.palette[t].main,.62),borderColor:(0,M.a)(e.palette[t].main,.62)},e.applyStyles("dark",{backgroundColor:(0,M.e$)(e.palette[t].main,.5)}),e.applyStyles("dark",{borderColor:(0,M.e$)(e.palette[t].main,.5)})))})))]}})),X=(0,j.Ay)("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${(0,N.A)(n.color)}`],"medium"!==n.size&&t[`thumbSize${(0,N.A)(n.size)}`]]}})((({theme:e})=>{var t;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%)"},[`&.${$.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!=(t=e.vars)?t:e).palette).filter((t=>{var n;return(null!=(n=e.vars)?n:e).palette[t].main})).map((t=>({props:{color:t},style:{[`&:hover, &.${$.focusVisible}`]:(0,o.A)({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${(0,M.X4)(e.palette[t].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${$.active}`]:(0,o.A)({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${(0,M.X4)(e.palette[t].main,.16)}`})}})))]}})),Z=(0,j.Ay)((function(e){const{children:t,className:n,value:r}=e,o=(e=>{const{open:t}=e;return{offset:(0,a.A)(t&&$.valueLabelOpen),circle:$.valueLabelCircle,label:$.valueLabelLabel}})(e);return t?i.cloneElement(t,{className:(0,a.A)(t.props.className)},(0,G.jsxs)(i.Fragment,{children:[t.props.children,(0,G.jsx)("span",{className:(0,a.A)(o.offset,n),"aria-hidden":!0,children:(0,G.jsx)("span",{className:o.circle,children:(0,G.jsx)("span",{className:o.label,children:r})})})]})):null}),{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})((({theme:e})=>(0,o.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%"},[`&.${$.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%"},[`&.${$.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,j.Ay)("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>(0,F.A)(e)&&"markActive"!==e,overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.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}}]}))),Q=(0,j.Ay)("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>(0,F.A)(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})((({theme:e})=>(0,o.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}}]}))),ee=({children:e})=>e,te=i.forwardRef((function(e,t){var n,u,d,h,p,f,g,m,y,v,b,w,A,S,C,E,k,T,_,O,P,M,R,j;const F=W({props:e,name:"MuiSlider"}),z=(0,L.I)(),{"aria-label":B,"aria-valuetext":$,"aria-labelledby":te,component:ne="span",components:re={},componentsProps:oe={},color:ie="primary",classes:ae,className:se,disableSwap:le=!1,disabled:ce=!1,getAriaLabel:ue,getAriaValueText:de,marks:he=!1,max:pe=100,min:fe=0,orientation:ge="horizontal",shiftStep:me=10,size:ye="medium",step:ve=1,scale:be=q,slotProps:we,slots:Ae,track:xe="normal",valueLabelDisplay:Se="off",valueLabelFormat:Ce=q}=F,Ee=(0,r.A)(F,U),ke=(0,o.A)({},F,{isRtl:z,max:pe,min:fe,classes:ae,disabled:ce,disableSwap:le,orientation:ge,marks:he,color:ie,size:ye,step:ve,shiftStep:me,scale:be,track:xe,valueLabelDisplay:Se,valueLabelFormat:Ce}),{axisProps:Te,getRootProps:_e,getHiddenInputProps:Oe,getThumbProps:Pe,open:Ie,active:Me,axis:Le,focusedThumbIndex:Re,range:je,dragging:Fe,marks:De,values:Ne,trackOffset:ze,trackLeap:Be,getThumbStyle:Ve}=I((0,o.A)({},ke,{rootRef:t}));ke.marked=De.length>0&&De.some((e=>e.label)),ke.dragging=Fe,ke.focusedThumbIndex=Re;const $e=(e=>{const{disabled:t,dragging:n,marked:r,orientation:o,track:i,classes:a,color:s,size:l}=e,u={root:["root",t&&"disabled",n&&"dragging",r&&"marked","vertical"===o&&"vertical","inverted"===i&&"trackInverted",!1===i&&"trackFalse",s&&`color${(0,N.A)(s)}`,l&&`size${(0,N.A)(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${(0,N.A)(l)}`,s&&`thumbColor${(0,N.A)(s)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]};return(0,c.A)(u,V,a)})(ke),Ge=null!=(n=null!=(u=null==Ae?void 0:Ae.root)?u:re.Root)?n:H,Ue=null!=(d=null!=(h=null==Ae?void 0:Ae.rail)?h:re.Rail)?d:Y,We=null!=(p=null!=(f=null==Ae?void 0:Ae.track)?f:re.Track)?p:K,qe=null!=(g=null!=(m=null==Ae?void 0:Ae.thumb)?m:re.Thumb)?g:X,He=null!=(y=null!=(v=null==Ae?void 0:Ae.valueLabel)?v:re.ValueLabel)?y:Z,Ye=null!=(b=null!=(w=null==Ae?void 0:Ae.mark)?w:re.Mark)?b:J,Ke=null!=(A=null!=(S=null==Ae?void 0:Ae.markLabel)?S:re.MarkLabel)?A:Q,Xe=null!=(C=null!=(E=null==Ae?void 0:Ae.input)?E:re.Input)?C:"input",Ze=null!=(k=null==we?void 0:we.root)?k:oe.root,Je=null!=(T=null==we?void 0:we.rail)?T:oe.rail,Qe=null!=(_=null==we?void 0:we.track)?_:oe.track,et=null!=(O=null==we?void 0:we.thumb)?O:oe.thumb,tt=null!=(P=null==we?void 0:we.valueLabel)?P:oe.valueLabel,nt=null!=(M=null==we?void 0:we.mark)?M:oe.mark,rt=null!=(R=null==we?void 0:we.markLabel)?R:oe.markLabel,ot=null!=(j=null==we?void 0:we.input)?j:oe.input,it=(0,s.Q)({elementType:Ge,getSlotProps:_e,externalSlotProps:Ze,externalForwardedProps:Ee,additionalProps:(0,o.A)({},D(Ge)&&{as:ne}),ownerState:(0,o.A)({},ke,null==Ze?void 0:Ze.ownerState),className:[$e.root,se]}),at=(0,s.Q)({elementType:Ue,externalSlotProps:Je,ownerState:ke,className:$e.rail}),st=(0,s.Q)({elementType:We,externalSlotProps:Qe,additionalProps:{style:(0,o.A)({},Te[Le].offset(ze),Te[Le].leap(Be))},ownerState:(0,o.A)({},ke,null==Qe?void 0:Qe.ownerState),className:$e.track}),lt=(0,s.Q)({elementType:qe,getSlotProps:Pe,externalSlotProps:et,ownerState:(0,o.A)({},ke,null==et?void 0:et.ownerState),className:$e.thumb}),ct=(0,s.Q)({elementType:He,externalSlotProps:tt,ownerState:(0,o.A)({},ke,null==tt?void 0:tt.ownerState),className:$e.valueLabel}),ut=(0,s.Q)({elementType:Ye,externalSlotProps:nt,ownerState:ke,className:$e.mark}),dt=(0,s.Q)({elementType:Ke,externalSlotProps:rt,ownerState:ke,className:$e.markLabel}),ht=(0,s.Q)({elementType:Xe,getSlotProps:Oe,externalSlotProps:ot,ownerState:ke});return(0,G.jsxs)(Ge,(0,o.A)({},it,{children:[(0,G.jsx)(Ue,(0,o.A)({},at)),(0,G.jsx)(We,(0,o.A)({},st)),De.filter((e=>e.value>=fe&&e.value<=pe)).map(((e,t)=>{const n=x(e.value,fe,pe),r=Te[Le].offset(n);let s;return s=!1===xe?-1!==Ne.indexOf(e.value):"normal"===xe&&(je?e.value>=Ne[0]&&e.value<=Ne[Ne.length-1]:e.value<=Ne[0])||"inverted"===xe&&(je?e.value<=Ne[0]||e.value>=Ne[Ne.length-1]:e.value>=Ne[0]),(0,G.jsxs)(i.Fragment,{children:[(0,G.jsx)(Ye,(0,o.A)({"data-index":t},ut,!(0,l.g)(Ye)&&{markActive:s},{style:(0,o.A)({},r,ut.style),className:(0,a.A)(ut.className,s&&$e.markActive)})),null!=e.label?(0,G.jsx)(Ke,(0,o.A)({"aria-hidden":!0,"data-index":t},dt,!(0,l.g)(Ke)&&{markLabelActive:s},{style:(0,o.A)({},r,dt.style),className:(0,a.A)($e.markLabel,dt.className,s&&$e.markLabelActive),children:e.label})):null]},t)})),Ne.map(((e,t)=>{const n=x(e,fe,pe),r=Te[Le].offset(n),i="off"===Se?ee:He;return(0,G.jsx)(i,(0,o.A)({},!(0,l.g)(i)&&{valueLabelFormat:Ce,valueLabelDisplay:Se,value:"function"==typeof Ce?Ce(be(e),t):Ce,index:t,open:Ie===t||Me===t||"on"===Se,disabled:ce},ct,{children:(0,G.jsx)(qe,(0,o.A)({"data-index":t},lt,{className:(0,a.A)($e.thumb,lt.className,Me===t&&$e.active,Re===t&&$e.focusVisible),style:(0,o.A)({},r,Ve(t),lt.style),children:(0,G.jsx)(Xe,(0,o.A)({"data-index":t,"aria-label":ue?ue(t):B,"aria-valuenow":be(e),"aria-labelledby":te,"aria-valuetext":de?de(be(e),t):$,value:Ne[t]},ht))}))}),t)}))]}))})),ne=te},20114:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(64033),o=n(74112),i=n(30538),a=n(87286),s=n(67529),l=n(18489),c=n(96574),u=n(4433),d=n(70715),h=n(62047);function p(e){return(0,h.Ay)("MuiSvgIcon",e)}(0,d.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var f=n(97282);const g=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],m=(0,u.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${(0,l.A)(n.color)}`],t[`fontSize${(0,l.A)(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,r,o,i,a,s,l,c,u,d,h,p,f;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(h=(e.vars||e).palette)||null==(h=h[t.color])?void 0:h.main)?d:{action:null==(p=(e.vars||e).palette)||null==(p=p.action)?void 0:p.active,disabled:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.disabled,inherit:void 0}[t.color]}})),y=i.forwardRef((function(e,t){const n=(0,c.A)({props:e,name:"MuiSvgIcon"}),{children:u,className:d,color:h="inherit",component:y="svg",fontSize:v="medium",htmlColor:b,inheritViewBox:w=!1,titleAccess:A,viewBox:x="0 0 24 24"}=n,S=(0,o.A)(n,g),C=i.isValidElement(u)&&"svg"===u.type,E=(0,r.A)({},n,{color:h,component:y,fontSize:v,instanceFontSize:e.fontSize,inheritViewBox:w,viewBox:x,hasSvgAsChild:C}),k={};w||(k.viewBox=x);const T=(e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root","inherit"!==t&&`color${(0,l.A)(t)}`,`fontSize${(0,l.A)(n)}`]};return(0,s.A)(o,p,r)})(E);return(0,f.jsxs)(m,(0,r.A)({as:y,className:(0,a.A)(T.root,d),focusable:"false",color:b,"aria-hidden":!A||void 0,role:A?"img":void 0,ref:t},k,S,C&&u.props,{ownerState:E,children:[C?u.props.children:u,A?(0,f.jsx)("title",{children:A}):null]}))}));y.muiName="SvgIcon";const v=y},39126:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var r=n(74112),o=n(64033),i=n(30538),a=n(87286),s=n(67529),l=n(33498),c=n(18489),u=n(11219),d=n(88168),h=n(4433),p=n(70715),f=n(62047);function g(e){return(0,f.Ay)("MuiSwitch",e)}const m=(0,p.A)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]);var y=n(97282);const v=["className","color","edge","size","sx"],b=(0,d.h)("MuiSwitch"),w=(0,h.Ay)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${(0,c.A)(n.edge)}`],t[`size${(0,c.A)(n.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,[`& .${m.thumb}`]:{width:16,height:16},[`& .${m.switchBase}`]:{padding:4,[`&.${m.checked}`]:{transform:"translateX(16px)"}}}}]}),A=(0,h.Ay)(u.A,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${m.input}`]:t.input},"default"!==n.color&&t[`color${(0,c.A)(n.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}),[`&.${m.checked}`]:{transform:"translateX(20px)"},[`&.${m.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${m.checked} + .${m.track}`]:{opacity:.5},[`&.${m.disabled} + .${m.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${m.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((([t])=>({props:{color:t},style:{[`&.${m.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,l.X4)(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${m.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${"light"===e.palette.mode?(0,l.a)(e.palette[t].main,.62):(0,l.e$)(e.palette[t].main,.55)}`}},[`&.${m.checked} + .${m.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}})))]}))),x=(0,h.Ay)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.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,h.Ay)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),C=i.forwardRef((function(e,t){const n=b({props:e,name:"MuiSwitch"}),{className:i,color:l="primary",edge:u=!1,size:d="medium",sx:h}=n,p=(0,r.A)(n,v),f=(0,o.A)({},n,{color:l,edge:u,size:d}),m=(e=>{const{classes:t,edge:n,size:r,color:i,checked:a,disabled:l}=e,u={root:["root",n&&`edge${(0,c.A)(n)}`,`size${(0,c.A)(r)}`],switchBase:["switchBase",`color${(0,c.A)(i)}`,a&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=(0,s.A)(u,g,t);return(0,o.A)({},t,d)})(f),C=(0,y.jsx)(S,{className:m.thumb,ownerState:f});return(0,y.jsxs)(w,{className:(0,a.A)(m.root,i),sx:h,ownerState:f,children:[(0,y.jsx)(A,(0,o.A)({type:"checkbox",icon:C,checkedIcon:C,ref:t,ownerState:f},p,{classes:(0,o.A)({},m,{root:m.switchBase})})),(0,y.jsx)(x,{className:m.track,ownerState:f})]})}))},76194:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var r=n(74112),o=n(64033),i=n(30538),a=n(87286),s=n(18114),l=n(67529),c=n(4433),u=n(96574),d=n(18489),h=n(70715),p=n(62047);function f(e){return(0,p.Ay)("MuiTypography",e)}(0,h.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=n(97282);const m=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],y=(0,c.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${(0,d.A)(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>(0,o.A)({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),v={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},b={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},w=i.forwardRef((function(e,t){const n=(0,u.A)({props:e,name:"MuiTypography"}),i=(e=>b[e]||e)(n.color),c=(0,s.A)((0,o.A)({},n,{color:i})),{align:h="inherit",className:p,component:w,gutterBottom:A=!1,noWrap:x=!1,paragraph:S=!1,variant:C="body1",variantMapping:E=v}=c,k=(0,r.A)(c,m),T=(0,o.A)({},c,{align:h,color:i,className:p,component:w,gutterBottom:A,noWrap:x,paragraph:S,variant:C,variantMapping:E}),_=w||(S?"p":E[C]||v[C])||"span",O=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e,s={root:["root",i,"inherit"!==e.align&&`align${(0,d.A)(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return(0,l.A)(s,f,a)})(T);return(0,g.jsx)(y,(0,o.A)({as:_,ref:t,ownerState:T,className:(0,a.A)(O.root,p)},k))}))},11219:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var r=n(74112),o=n(64033),i=n(30538),a=n(87286),s=n(67529),l=n(18489),c=n(4433),u=n(34773),d=n(36150),h=n(13755),p=n(81645),f=n(70715),g=n(62047);function m(e){return(0,g.Ay)("PrivateSwitchBase",e)}(0,f.A)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var y=n(97282);const v=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],b=(0,c.Ay)(p.A)((({ownerState:e})=>(0,o.A)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12}))),w=(0,c.Ay)("input",{shouldForwardProp:u.A})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),A=i.forwardRef((function(e,t){const{autoFocus:n,checked:i,checkedIcon:c,className:u,defaultChecked:p,disabled:f,disableFocusRipple:g=!1,edge:A=!1,icon:x,id:S,inputProps:C,inputRef:E,name:k,onBlur:T,onChange:_,onFocus:O,readOnly:P,required:I=!1,tabIndex:M,type:L,value:R}=e,j=(0,r.A)(e,v),[F,D]=(0,d.A)({controlled:i,default:Boolean(p),name:"SwitchBase",state:"checked"}),N=(0,h.A)();let z=f;N&&void 0===z&&(z=N.disabled);const B="checkbox"===L||"radio"===L,V=(0,o.A)({},e,{checked:F,disabled:z,disableFocusRipple:g,edge:A}),$=(e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${(0,l.A)(o)}`],input:["input"]};return(0,s.A)(i,m,t)})(V);return(0,y.jsxs)(b,(0,o.A)({component:"span",className:(0,a.A)($.root,u),centerRipple:!0,focusRipple:!g,disabled:z,tabIndex:null,role:void 0,onFocus:e=>{O&&O(e),N&&N.onFocus&&N.onFocus(e)},onBlur:e=>{T&&T(e),N&&N.onBlur&&N.onBlur(e)},ownerState:V,ref:t},j,{children:[(0,y.jsx)(w,(0,o.A)({autoFocus:n,checked:i,defaultChecked:p,className:$.input,disabled:z,id:B?S:void 0,name:k,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;D(t),_&&_(e,t)},readOnly:P,ref:E,required:I,ownerState:V,tabIndex:M,type:L},"checkbox"===L&&void 0===R?{}:{value:R},C)),F?c:x]}))}))},36633:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});n(30538);var r=n(91224),o=n(97282);const i=(0,r.A)((0,o.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},98201:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(64033),o=n(74112),i=n(30538),a=n(73579),s=n(64323),l=n(98522),c=n(97282);const u=function(e){const{children:t,theme:n}=e,o=(0,a.A)(),u=i.useMemo((()=>{const e=null===o?n:function(e,t){if("function"==typeof t)return t(e);return(0,r.A)({},e,t)}(o,n);return null!=e&&(e[l.A]=null!==o),e}),[n,o]);return(0,c.jsx)(s.A.Provider,{value:u,children:t})};var d=n(36600),h=n(91682),p=n(23507);const f={};function g(e,t,n,o=!1){return i.useMemo((()=>{const i=e&&t[e]||t;if("function"==typeof n){const a=n(i),s=e?(0,r.A)({},t,{[e]:a}):a;return o?()=>s:s}return e?(0,r.A)({},t,{[e]:n}):(0,r.A)({},t,n)}),[e,t,n,o])}const m=function(e){const{children:t,theme:n,themeId:r}=e,o=(0,h.A)(f),i=(0,a.A)()||f,s=g(r,o,n),l=g(r,i,n,!0),m="rtl"===s.direction;return(0,c.jsx)(u,{theme:l,children:(0,c.jsx)(d.T.Provider,{value:s,children:(0,c.jsx)(p.A,{value:m,children:t})})})};var y=n(17833);const v=["theme"];function b(e){let{theme:t}=e,n=(0,o.A)(e,v);const i=t[y.A];return(0,c.jsx)(m,(0,r.A)({},n,{themeId:i?y.A:void 0,theme:i||t}))}},72061:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var r=n(64033),o=n(74112),i=n(1291),a=n(6739),s=n(3361),l=n(21940),c=n(69276);var u=n(33498);const d={black:"#000",white:"#fff"},h={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"},p={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"},f={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"},m={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"},y={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"},b=["mode","contrastThreshold","tonalOffset"],w={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:d.white,default:d.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}},A={text:{primary:d.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:d.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 x(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,u.a)(e.main,o):"dark"===t&&(e.dark=(0,u.e$)(e.main,i)))}function S(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:s=.2}=e,l=(0,o.A)(e,b),c=e.primary||function(e="light"){return"dark"===e?{main:m[200],light:m[50],dark:m[400]}:{main:m[700],light:m[400],dark:m[800]}}(t),S=e.secondary||function(e="light"){return"dark"===e?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(t),C=e.error||function(e="light"){return"dark"===e?{main:f[500],light:f[300],dark:f[700]}:{main:f[700],light:f[400],dark:f[800]}}(t),E=e.info||function(e="light"){return"dark"===e?{main:y[400],light:y[300],dark:y[700]}:{main:y[700],light:y[500],dark:y[900]}}(t),k=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]}}(t),T=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]}}(t);function _(e){return(0,u.eM)(e,A.text.primary)>=n?A.text.primary:w.text.primary}const O=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:a=700})=>{if(!(e=(0,r.A)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error((0,i.A)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error((0,i.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return x(e,"light",o,s),x(e,"dark",a,s),e.contrastText||(e.contrastText=_(e.main)),e},P={dark:A,light:w};return(0,a.A)((0,r.A)({common:(0,r.A)({},d),mode:t,primary:O({color:c,name:"primary"}),secondary:O({color:S,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:O({color:C,name:"error"}),warning:O({color:T,name:"warning"}),info:O({color:E,name:"info"}),success:O({color:k,name:"success"}),grey:h,contrastThreshold:n,getContrastText:_,augmentColor:O,tonalOffset:s},P[t]),l)}const C=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const E={textTransform:"uppercase"},k='"Roboto", "Helvetica", "Arial", sans-serif';function T(e,t){const n="function"==typeof t?t(e):t,{fontFamily:i=k,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:c=400,fontWeightMedium:u=500,fontWeightBold:d=700,htmlFontSize:h=16,allVariants:p,pxToRem:f}=n,g=(0,o.A)(n,C);const m=s/14,y=f||(e=>e/h*m+"rem"),v=(e,t,n,o,a)=>{return(0,r.A)({fontFamily:i,fontWeight:e,fontSize:y(t),lineHeight:n},i===k?{letterSpacing:(s=o/t,Math.round(1e5*s)/1e5)+"em"}:{},a,p);var s},b={h1:v(l,96,1.167,-1.5),h2:v(l,60,1.2,-.5),h3:v(c,48,1.167,0),h4:v(c,34,1.235,.25),h5:v(c,24,1.334,0),h6:v(u,20,1.6,.15),subtitle1:v(c,16,1.75,.15),subtitle2:v(u,14,1.57,.1),body1:v(c,16,1.5,.15),body2:v(c,14,1.43,.15),button:v(u,14,1.75,.4,E),caption:v(c,12,1.66,.4),overline:v(c,12,2.66,1,E),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,a.A)((0,r.A)({htmlFontSize:h,pxToRem:y,fontFamily:i,fontSize:s,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:u,fontWeightBold:d},b),g,{clone:!1})}function _(...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 O=["none",_(0,2,1,-1,0,1,1,0,0,1,3,0),_(0,3,1,-2,0,2,2,0,0,1,5,0),_(0,3,3,-2,0,3,4,0,0,1,8,0),_(0,2,4,-1,0,4,5,0,0,1,10,0),_(0,3,5,-1,0,5,8,0,0,1,14,0),_(0,3,5,-1,0,6,10,0,0,1,18,0),_(0,4,5,-2,0,7,10,1,0,2,16,1),_(0,5,5,-3,0,8,10,1,0,3,14,2),_(0,5,6,-3,0,9,12,1,0,3,16,2),_(0,6,6,-3,0,10,14,1,0,4,18,3),_(0,6,7,-4,0,11,15,1,0,4,20,3),_(0,7,8,-4,0,12,17,2,0,5,22,4),_(0,7,8,-4,0,13,19,2,0,5,24,4),_(0,7,9,-4,0,14,21,2,0,5,26,4),_(0,8,9,-5,0,15,22,2,0,6,28,5),_(0,8,10,-5,0,16,24,2,0,6,30,5),_(0,8,11,-5,0,17,26,2,0,6,32,5),_(0,9,11,-5,0,18,28,2,0,7,34,6),_(0,9,12,-6,0,19,29,2,0,7,36,6),_(0,10,13,-6,0,20,31,3,0,8,38,7),_(0,10,13,-6,0,21,33,3,0,8,40,7),_(0,10,14,-6,0,22,35,3,0,8,42,7),_(0,11,14,-7,0,23,36,3,0,9,44,8),_(0,11,15,-7,0,24,38,3,0,9,46,8)];var P=n(2600);const I={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 L(e={},...t){const{mixins:n={},palette:u={},transitions:d={},typography:h={}}=e,p=(0,o.A)(e,M);if(e.vars)throw new Error((0,i.A)(18));const f=S(u),g=(0,c.A)(e);let m=(0,a.A)(g,{mixins:(y=g.breakpoints,v=n,(0,r.A)({toolbar:{minHeight:56,[y.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[y.up("sm")]:{minHeight:64}}},v)),palette:f,shadows:O.slice(),typography:T(f,h),transitions:(0,P.Ay)(d),zIndex:(0,r.A)({},I)});var y,v;return m=(0,a.A)(m,p),m=t.reduce(((e,t)=>(0,a.A)(e,t)),m),m.unstable_sxConfig=(0,r.A)({},s.A,null==p?void 0:p.unstable_sxConfig),m.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},m}const R=L},2600:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u,p0:()=>s});var r=n(74112),o=n(64033);const i=["duration","easing","delay"],a={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 c(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function u(e){const t=(0,o.A)({},a,e.easing),n=(0,o.A)({},s,e.duration);return(0,o.A)({getAutoHeightDuration:c,create:(e=["all"],o={})=>{const{duration:a=n.standard,easing:s=t.easeInOut,delay:c=0}=o;(0,r.A)(o,i);return(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof a?a:l(a)} ${s} ${"string"==typeof c?c:l(c)}`)).join(",")}},e,{easing:t,duration:n})}},85620:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=(0,n(72061).A)()},17833:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="$$material"},34773:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(86537);const o=e=>(0,r.A)(e)&&"classes"!==e},86537:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}},4433:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s});var r=n(53724),o=n(85620),i=n(17833),a=n(34773);const s=(0,r.Ay)({themeId:i.A,defaultTheme:o.A,rootShouldForwardProp:a.A})},72666:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});n(30538);var r=n(58319),o=n(85620),i=n(17833);function a(){const e=(0,r.A)(o.A);return e[i.A]||e}},96574:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(22012),o=n(85620),i=n(17833);function a({props:e,name:t}){return(0,r.A)({props:e,name:t,defaultTheme:o.A,themeId:i.A})}},18489:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(13413).A},24839:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(60863).A},91224:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(64033),o=n(30538),i=n(20114),a=n(97282);function s(e,t){function n(n,o){return(0,a.jsx)(i.A,(0,r.A)({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return n.muiName=i.A.muiName,o.memo(o.forwardRef(n))}},59596:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(72767).A},40129:(e,t,n)=>{"use strict";n.r(t),n.d(t,{capitalize:()=>o.A,createChainedFunction:()=>i.A,createSvgIcon:()=>a.A,debounce:()=>s.A,deprecatedPropType:()=>l,isMuiElement:()=>c.A,ownerDocument:()=>u.A,ownerWindow:()=>d.A,requirePropFactory:()=>h,setRef:()=>p,unstable_ClassNameGenerator:()=>A,unstable_useEnhancedEffect:()=>f.A,unstable_useId:()=>g.A,unsupportedProp:()=>m,useControlled:()=>y.A,useEventCallback:()=>v.A,useForkRef:()=>b.A,useIsFocusVisible:()=>w.A});var r=n(78349),o=n(18489),i=n(24839),a=n(91224),s=n(59596);const l=function(e,t){return()=>null};var c=n(46973),u=n(25225),d=n(30456);n(64033);const h=function(e,t){return()=>null};const p=n(44219).A;var f=n(64443),g=n(36157);const m=function(e,t,n,r,o){return null};var y=n(36150),v=n(42425),b=n(63371),w=n(65930);const A={configure:e=>{r.A.configure(e)}}},46973:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(30538);const o=function(e,t){var n,o;return r.isValidElement(e)&&-1!==t.indexOf(null!=(n=e.type.muiName)?n:null==(o=e.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)}},25225:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(27443).A},30456:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(4435).A},36150:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(94419).A},64443:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(207).A},42425:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(34665).A},63371:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(4169).A},36157:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(731).A},65930:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(22087).A},88168:(e,t,n)=>{"use strict";n.d(t,{h:()=>o});var r=n(96574);function o(e){return r.A}},98522:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__"},64323:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(30538).createContext(null)},73579:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(30538),o=n(64323);function i(){return r.useContext(o.A)}},78790:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});n(30538);var r=n(78766),o=n(97282);function i(e){const{styles:t,defaultTheme:n={}}=e,i="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return(0,o.jsx)(r.mL,{styles:i})}},29224:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});n(30538);var r=n(36600),o=n(12347),i=n(97282);let a;function s(e){const{injectFirst:t,children:n}=e;return t&&a?(0,i.jsx)(r.C,{value:a,children:n}):n}"object"==typeof document&&(a=(0,o.A)({key:"css",prepend:!0}))},91661:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalStyles:()=>w.A,StyledEngineProvider:()=>b.A,ThemeContext:()=>l.T,css:()=>v.AH,default:()=>A,internal_processStyles:()=>x,keyframes:()=>v.i7});var r=n(64033),o=n(30538),i=n(48998),a=/^((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,i.A)((function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=n(36600),c=n(40106),u=n(93372),d=n(88946),h=s,p=function(e){return"theme"!==e},f=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?h:p},g=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},m=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,c.SF)(t,n,r),(0,d.s)((function(){return(0,c.sk)(t,n,r)})),null},y=function e(t,n){var i,a,s=t.__emotion_real===t,d=s&&t.__emotion_base||t;void 0!==n&&(i=n.label,a=n.target);var h=g(t,n,s),p=h||f(d),y=!p("as");return function(){var v=arguments,b=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==v[0]||void 0===v[0].raw)b.push.apply(b,v);else{0,b.push(v[0][0]);for(var w=v.length,A=1;A{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}},33498:(e,t,n)=>{"use strict";var r=n(82155);t.X4=p,t.e$=f,t.tL=m,t.eM=function(e,t){const n=h(e),r=h(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.a=g;var o=r(n(63994)),i=r(n(20344));function a(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function l(e){if(e.type)return e;if("#"===e.charAt(0))return l(s(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,o.default)(9,e));let r,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),r=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error((0,o.default)(10,r))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:r}}const c=e=>{const t=l(e);return t.values.slice(0,3).map(((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e)).join(" ")};function u(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function d(e){e=l(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=(e,t=(e+n/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const c=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",c.push(t[3])),u({type:s,values:c})}function h(e){let t="hsl"===(e=l(e)).type||"hsla"===e.type?l(d(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function p(e,t){return e=l(e),t=a(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,u(e)}function f(e,t){if(e=l(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return u(e)}function g(e,t){if(e=l(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return u(e)}function m(e,t=.15){return h(e)>.5?f(e,t):g(e,t)}},53724:(e,t,n)=>{"use strict";var r=n(82155);t.Ay=function(e={}){const{themeId:t,defaultTheme:n=g,rootShouldForwardProp:r=f,slotShouldForwardProp:l=f}=e,u=e=>(0,c.default)((0,o.default)({},e,{theme:y((0,o.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{(0,a.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:d,slot:p,skipVariantsResolver:g,skipSx:w,overridesResolver:A=v(m(p))}=c,x=(0,i.default)(c,h),S=void 0!==g?g:p&&"Root"!==p&&"root"!==p||!1,C=w||!1;let E=f;"Root"===p||"root"===p?E=r:p?E=l:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(E=void 0);const k=(0,a.default)(e,(0,o.default)({shouldForwardProp:E,label:undefined},x)),T=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>b(e,(0,o.default)({},r,{theme:y({theme:r.theme,defaultTheme:n,themeId:t})})):e,_=(r,...i)=>{let a=T(r);const s=i?i.map(T):[];d&&A&&s.push((e=>{const r=y((0,o.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[d]||!r.components[d].styleOverrides)return null;const i=r.components[d].styleOverrides,a={};return Object.entries(i).forEach((([t,n])=>{a[t]=b(n,(0,o.default)({},e,{theme:r}))})),A(e,a)})),d&&!S&&s.push((e=>{var r;const i=y((0,o.default)({},e,{defaultTheme:n,themeId:t}));return b({variants:null==i||null==(r=i.components)||null==(r=r[d])?void 0:r.variants},(0,o.default)({},e,{theme:i}))})),C||s.push(u);const l=s.length-i.length;if(Array.isArray(r)&&l>0){const e=new Array(l).fill("");a=[...r,...e],a.raw=[...r.raw,...e]}const c=k(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return k.withConfig&&(_.withConfig=k.withConfig),_}};var o=r(n(93999)),i=r(n(31510)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(91661)),s=n(54657),l=(r(n(68267)),r(n(66794)),r(n(97509))),c=r(n(42794));const u=["ownerState"],d=["variants"],h=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function f(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const g=(0,l.default)(),m=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function y({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function v(e){return e?(t,n)=>n[e]:null}function b(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u);const a="function"==typeof e?e((0,o.default)({ownerState:n},r)):e;if(Array.isArray(a))return a.flatMap((e=>b(e,(0,o.default)({ownerState:n},r))));if(a&&"object"==typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,i.default)(a,d);return e.forEach((e=>{let i=!0;"function"==typeof e.props?i=e.props((0,o.default)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(i=!1)})),i&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,o.default)({ownerState:n},r,n)):e.style))})),t}return a}},23507:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,I:()=>c});var r=n(64033),o=n(74112),i=n(30538),a=n(97282);const s=["value"],l=i.createContext();const c=()=>{const e=i.useContext(l);return null!=e&&e},u=function(e){let{value:t}=e,n=(0,o.A)(e,s);return(0,a.jsx)(l.Provider,(0,r.A)({value:null==t||t},n))}},12127:(e,t,n)=>{"use strict";n.d(t,{EU:()=>s,NI:()=>a,iZ:()=>c,kW:()=>u,vf:()=>l,zu:()=>o});var r=n(6739);const o={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${o[e]}px)`};function a(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||i;return t.reduce(((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r)),{})}if("object"==typeof t){const e=r.breakpoints||i;return Object.keys(t).reduce(((r,i)=>{if(-1!==Object.keys(e.values||o).indexOf(i)){r[e.up(i)]=n(t[i],i)}else{const e=i;r[e]=t[e]}return r}),{})}return n(t)}function s(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}function l(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}function c(e,...t){const n=s(e),o=[n,...t].reduce(((e,t)=>(0,r.A)(e,t)),{});return l(Object.keys(n),o)}function u({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach(((t,r)=>{r{null!=e[t]&&(n[t]=!0)})),n}(e,t),o=Object.keys(r);if(0===o.length)return e;let i;return o.reduce(((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[i],i=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[i],i=n):t[n]=e,t)),{})}},27806:(e,t,n)=>{"use strict";n.d(t,{X4:()=>l,a:()=>u,e$:()=>c});var r=n(1291),o=n(25331);function i(e,t=0,n=1){return(0,o.A)(e,t,n)}function a(e){if(e.type)return e;if("#"===e.charAt(0))return a(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,r.A)(9,e));let o,i=e.substring(t+1,e.length-1);if("color"===n){if(i=i.split(" "),o=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error((0,r.A)(10,o))}else i=i.split(",");return i=i.map((e=>parseFloat(e))),{type:n,values:i,colorSpace:o}}function s(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function l(e,t){return e=a(e),t=i(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,s(e)}function c(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return s(e)}function u(e,t){if(e=a(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return s(e)}},60415:(e,t,n)=>{"use strict";function r(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}n.d(t,{A:()=>r})},26909:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(74112),o=n(64033);const i=["values","unit","step"],a=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>(0,o.A)({},e,{[t.key]:t.val})),{})};function s(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:s=5}=e,l=(0,r.A)(e,i),c=a(t),u=Object.keys(c);function d(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function h(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-s/100}${n})`}function p(e,r){const o=u.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:r)-s/100}${n})`}return(0,o.A)({keys:u,values:c,up:d,down:h,between:p,only:function(e){return u.indexOf(e)+1{"use strict";n.d(t,{A:()=>p});var r=n(64033),o=n(74112),i=n(6739),a=n(26909);const s={borderRadius:4};var l=n(52865);var c=n(21940),u=n(3361),d=n(60415);const h=["breakpoints","palette","spacing","shape"];const p=function(e={},...t){const{breakpoints:n={},palette:p={},spacing:f,shape:g={}}=e,m=(0,o.A)(e,h),y=(0,a.A)(n),v=function(e=8){if(e.mui)return e;const t=(0,l.LX)({spacing:e}),n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}(f);let b=(0,i.A)({breakpoints:y,direction:"ltr",components:{},palette:(0,r.A)({mode:"light"},p),spacing:v,shape:(0,r.A)({},s,g)},m);return b.applyStyles=d.A,b=t.reduce(((e,t)=>(0,i.A)(e,t)),b),b.unstable_sxConfig=(0,r.A)({},u.A,null==m?void 0:m.unstable_sxConfig),b.unstable_sx=function(e){return(0,c.A)({sx:e,theme:this})},b}},97509:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,private_createBreakpoints:()=>o.A,unstable_applyStyles:()=>i.A});var r=n(69276),o=n(26909),i=n(60415)},47343:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6739);const o=function(e,t){return t?(0,r.A)(e,t,{clone:!1}):e}},52865:(e,t,n)=>{"use strict";n.d(t,{LX:()=>f,MA:()=>p,_W:()=>g,Lc:()=>v,Ms:()=>b});var r=n(12127),o=n(28210),i=n(47343);const a={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"},c=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,n]=e.split(""),r=a[t],o=s[n]||"";return Array.isArray(o)?o.map((e=>r+e)):[r+o]})),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],h=[...u,...d];function p(e,t,n,r){var i;const a=null!=(i=(0,o.Yn)(e,t,!1))?i:n;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function f(e){return p(e,"spacing",8)}function g(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function m(e,t,n,o){if(-1===t.indexOf(n))return null;const i=function(e,t){return n=>e.reduce(((e,r)=>(e[r]=g(t,n),e)),{})}(c(n),o),a=e[n];return(0,r.NI)(e,a,i)}function y(e,t){const n=f(e.theme);return Object.keys(e).map((r=>m(e,t,r,n))).reduce(i.A,{})}function v(e){return y(e,u)}function b(e){return y(e,d)}function w(e){return y(e,h)}v.propTypes={},v.filterProps=u,b.propTypes={},b.filterProps=d,w.propTypes={},w.filterProps=h},28210:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s,BO:()=>a,Yn:()=>i});var r=n(13413),o=n(12127);function i(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function a(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:i(e,n)||r,t&&(o=t(o,r,e)),o}const s=function(e){const{prop:t,cssProperty:n=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=i(e.theme,s)||{};return(0,o.NI)(e,c,(e=>{let o=a(u,l,e);return e===o&&"string"==typeof e&&(o=a(u,l,`${t}${"default"===e?"":(0,r.A)(e)}`,e)),!1===n?o:{[n]:o}}))};return c.propTypes={},c.filterProps=[t],c}},3361:(e,t,n)=>{"use strict";n.d(t,{A:()=>R});var r=n(52865),o=n(28210),i=n(47343);const a=function(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,r)=>t[r]?(0,i.A)(n,t[r](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n};var s=n(12127);function l(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,o.Ay)({prop:e,themeKey:"borders",transform:t})}const u=c("border",l),d=c("borderTop",l),h=c("borderRight",l),p=c("borderBottom",l),f=c("borderLeft",l),g=c("borderColor"),m=c("borderTopColor"),y=c("borderRightColor"),v=c("borderBottomColor"),b=c("borderLeftColor"),w=c("outline",l),A=c("outlineColor"),x=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,r.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),n=e=>({borderRadius:(0,r._W)(t,e)});return(0,s.NI)(e,e.borderRadius,n)}return null};x.propTypes={},x.filterProps=["borderRadius"];a(u,d,h,p,f,g,m,y,v,b,x,w,A);const S=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,r.MA)(e.theme,"spacing",8,"gap"),n=e=>({gap:(0,r._W)(t,e)});return(0,s.NI)(e,e.gap,n)}return null};S.propTypes={},S.filterProps=["gap"];const C=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,r.MA)(e.theme,"spacing",8,"columnGap"),n=e=>({columnGap:(0,r._W)(t,e)});return(0,s.NI)(e,e.columnGap,n)}return null};C.propTypes={},C.filterProps=["columnGap"];const E=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,r.MA)(e.theme,"spacing",8,"rowGap"),n=e=>({rowGap:(0,r._W)(t,e)});return(0,s.NI)(e,e.rowGap,n)}return null};E.propTypes={},E.filterProps=["rowGap"];a(S,C,E,(0,o.Ay)({prop:"gridColumn"}),(0,o.Ay)({prop:"gridRow"}),(0,o.Ay)({prop:"gridAutoFlow"}),(0,o.Ay)({prop:"gridAutoColumns"}),(0,o.Ay)({prop:"gridAutoRows"}),(0,o.Ay)({prop:"gridTemplateColumns"}),(0,o.Ay)({prop:"gridTemplateRows"}),(0,o.Ay)({prop:"gridTemplateAreas"}),(0,o.Ay)({prop:"gridArea"}));function k(e,t){return"grey"===t?t:e}a((0,o.Ay)({prop:"color",themeKey:"palette",transform:k}),(0,o.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:k}),(0,o.Ay)({prop:"backgroundColor",themeKey:"palette",transform:k}));function T(e){return e<=1&&0!==e?100*e+"%":e}const _=(0,o.Ay)({prop:"width",transform:T}),O=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||s.zu[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:T(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};O.filterProps=["maxWidth"];const P=(0,o.Ay)({prop:"minWidth",transform:T}),I=(0,o.Ay)({prop:"height",transform:T}),M=(0,o.Ay)({prop:"maxHeight",transform:T}),L=(0,o.Ay)({prop:"minHeight",transform:T}),R=((0,o.Ay)({prop:"size",cssProperty:"width",transform:T}),(0,o.Ay)({prop:"size",cssProperty:"height",transform:T}),a(_,O,P,I,M,L,(0,o.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:x},color:{themeKey:"palette",transform:k},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:k},backgroundColor:{themeKey:"palette",transform:k},p:{style:r.Ms},pt:{style:r.Ms},pr:{style:r.Ms},pb:{style:r.Ms},pl:{style:r.Ms},px:{style:r.Ms},py:{style:r.Ms},padding:{style:r.Ms},paddingTop:{style:r.Ms},paddingRight:{style:r.Ms},paddingBottom:{style:r.Ms},paddingLeft:{style:r.Ms},paddingX:{style:r.Ms},paddingY:{style:r.Ms},paddingInline:{style:r.Ms},paddingInlineStart:{style:r.Ms},paddingInlineEnd:{style:r.Ms},paddingBlock:{style:r.Ms},paddingBlockStart:{style:r.Ms},paddingBlockEnd:{style:r.Ms},m:{style:r.Lc},mt:{style:r.Lc},mr:{style:r.Lc},mb:{style:r.Lc},ml:{style:r.Lc},mx:{style:r.Lc},my:{style:r.Lc},margin:{style:r.Lc},marginTop:{style:r.Lc},marginRight:{style:r.Lc},marginBottom:{style:r.Lc},marginLeft:{style:r.Lc},marginX:{style:r.Lc},marginY:{style:r.Lc},marginInline:{style:r.Lc},marginInlineStart:{style:r.Lc},marginInlineEnd:{style:r.Lc},marginBlock:{style:r.Lc},marginBlockStart:{style:r.Lc},marginBlockEnd:{style:r.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:S},rowGap:{style:E},columnGap:{style:C},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:T},maxWidth:{style:O},minWidth:{transform:T},height:{transform:T},maxHeight:{transform:T},minHeight:{transform:T},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},18114:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(64033),o=n(74112),i=n(6739),a=n(3361);const s=["sx"],l=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:a.A;return Object.keys(e).forEach((t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]})),r};function c(e){const{sx:t}=e,n=(0,o.A)(e,s),{systemProps:a,otherProps:c}=l(n);let u;return u=Array.isArray(t)?[a,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return(0,i.Q)(n)?(0,r.A)({},a,n):a}:(0,r.A)({},a,t),(0,r.A)({},c,{sx:u})}},42794:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,extendSxProp:()=>o.A,unstable_createStyleFunctionSx:()=>r.k,unstable_defaultSxConfig:()=>i.A});var r=n(21940),o=n(18114),i=n(3361)},21940:(e,t,n)=>{"use strict";n.d(t,{A:()=>u,k:()=>l});var r=n(13413),o=n(47343),i=n(28210),a=n(12127),s=n(3361);function l(){function e(e,t,n,o){const s={[e]:t,theme:n},l=o[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:d,style:h}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const p=(0,i.Yn)(n,u)||{};if(h)return h(s);return(0,a.NI)(s,t,(t=>{let n=(0,i.BO)(p,d,t);return t===n&&"string"==typeof t&&(n=(0,i.BO)(p,d,`${e}${"default"===t?"":(0,r.A)(t)}`,t)),!1===c?n:{[c]:n}}))}return function t(n){var r;const{sx:i,theme:l={}}=n||{};if(!i)return null;const c=null!=(r=l.unstable_sxConfig)?r:s.A;function u(n){let r=n;if("function"==typeof n)r=n(l);else if("object"!=typeof n)return n;if(!r)return null;const i=(0,a.EU)(l.breakpoints),s=Object.keys(i);let u=i;return Object.keys(r).forEach((n=>{const i=(s=r[n],d=l,"function"==typeof s?s(d):s);var s,d;if(null!=i)if("object"==typeof i)if(c[n])u=(0,o.A)(u,e(n,i,l,c));else{const e=(0,a.NI)({theme:l},i,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,i)?u=(0,o.A)(u,e):u[n]=t({sx:i,theme:l})}else u=(0,o.A)(u,e(n,i,l,c))})),(0,a.vf)(s,u)}return Array.isArray(i)?i.map(u):u(i)}}const c=l();c.filterProps=["sx"];const u=c},83232:(e,t,n)=>{"use strict";var r;n.d(t,{A:()=>d});var o=n(30538),i=n(207),a=n(92799),s=n(91682);function l(e,t,n,r,a){const[s,l]=o.useState((()=>a&&n?n(e).matches:r?r(e).matches:t));return(0,i.A)((()=>{let t=!0;if(!n)return;const r=n(e),o=()=>{t&&l(r.matches)};return o(),r.addListener(o),()=>{t=!1,r.removeListener(o)}}),[e,n]),s}const c=(r||(r=n.t(o,2))).useSyncExternalStore;function u(e,t,n,r,i){const a=o.useCallback((()=>t),[t]),s=o.useMemo((()=>{if(i&&n)return()=>n(e).matches;if(null!==r){const{matches:t}=r(e);return()=>t}return a}),[a,e,r,i,n]),[l,u]=o.useMemo((()=>{if(null===n)return[a,()=>()=>{}];const t=n(e);return[()=>t.matches,e=>(t.addListener(e),()=>{t.removeListener(e)})]}),[a,n,e]);return c(u,l,s)}function d(e,t={}){const n=(0,s.A)(),r="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:o=!1,matchMedia:i=(r?window.matchMedia:null),ssrMatchMedia:d=null,noSsr:h=!1}=(0,a.A)({name:"MuiUseMediaQuery",props:t,theme:n});let p="function"==typeof e?e(n):e;p=p.replace(/^@media( ?)/m,"");return(void 0!==c?u:l)(p,o,i,d,h)}},58319:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(69276),o=n(91682);const i=(0,r.A)();const a=function(e=i){return(0,o.A)(e)}},92799:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(46777);function o(e){const{theme:t,name:n,props:o}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?(0,r.A)(t.components[n].defaultProps,o):o}},22012:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(92799),o=n(58319);function i({props:e,name:t,defaultTheme:n,themeId:i}){let a=(0,o.A)(n);i&&(a=a[i]||a);return(0,r.A)({theme:a,name:t,props:e})}},91682:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(30538),o=n(36600);const i=function(e=null){const t=r.useContext(o.T);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}},19950:(e,t,n)=>{"use strict";t.A=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(30538)),o=n(91661);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}t.A=function(e=null){const t=r.useContext(o.ThemeContext);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}},78349:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=e=>e,o=(()=>{let e=r;return{configure(t){e=t},generate:t=>e(t),reset(){e=r}}})()},13413:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1291);function o(e){if("string"!=typeof e)throw new Error((0,r.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},68267:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(13413)},25331:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},20344:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(25331)},67529:(e,t,n)=>{"use strict";function r(e,t,n=void 0){const r={};return Object.keys(e).forEach((o=>{r[o]=e[o].reduce(((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}n.d(t,{A:()=>r})},60863:(e,t,n)=>{"use strict";function r(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}n.d(t,{A:()=>r})},72767:(e,t,n)=>{"use strict";function r(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout((()=>{e.apply(this,r)}),t)}return r.clear=()=>{clearTimeout(n)},r}n.d(t,{A:()=>r})},6739:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,Q:()=>o});var r=n(64033);function o(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function i(e){if(!o(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=i(e[n])})),t}function a(e,t,n={clone:!0}){const s=n.clone?(0,r.A)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((r=>{o(t[r])&&Object.prototype.hasOwnProperty.call(e,r)&&o(e[r])?s[r]=a(e[r],t[r],n):n.clone?s[r]=o(t[r])?i(t[r]):t[r]:s[r]=t[r]})),s}},54657:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A,isPlainObject:()=>r.Q});var r=n(6739)},1291:(e,t,n)=>{"use strict";function r(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;er})},63994:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(1291)},62047:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>i,li:()=>o});var r=n(78349);const o={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function i(e,t,n="Mui"){const i=o[t];return i?`${n}-${i}`:`${r.A.generate(e)}-${t}`}},70715:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(62047);function o(e,t,n="Mui"){const o={};return t.forEach((t=>{o[t]=(0,r.Ay)(e,t,n)})),o}},66794:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l,getFunctionName:()=>i});var r=n(91272);const o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){const t=`${e}`.match(o);return t&&t[1]||""}function a(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){const r=a(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return a(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo");default:return}}}},27443:(e,t,n)=>{"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{A:()=>r})},4435:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(27443);function o(e){return(0,r.A)(e).defaultView||window}},46777:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(64033);function o(e,t){const n=(0,r.A)({},t);return Object.keys(e).forEach((i=>{if(i.toString().match(/^(components|slots)$/))n[i]=(0,r.A)({},e[i],n[i]);else if(i.toString().match(/^(componentsProps|slotProps)$/)){const a=e[i]||{},s=t[i];n[i]={},s&&Object.keys(s)?a&&Object.keys(a)?(n[i]=(0,r.A)({},s),Object.keys(a).forEach((e=>{n[i][e]=o(a[e],s[e])}))):n[i]=s:n[i]=a}else void 0===n[i]&&(n[i]=e[i])})),n}},44219:(e,t,n)=>{"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{A:()=>r})},94419:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(30538);function o({controlled:e,default:t,name:n,state:o="value"}){const{current:i}=r.useRef(void 0!==e),[a,s]=r.useState(t);return[i?e:a,r.useCallback((e=>{i||s(e)}),[])]}},207:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(30538);const o="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},34665:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(30538),o=n(207);const i=function(e){const t=r.useRef(e);return(0,o.A)((()=>{t.current=e})),r.useRef(((...e)=>(0,t.current)(...e))).current}},4169:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(30538),o=n(44219);function i(...e){return r.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{(0,o.A)(e,t)}))}),e)}},731:(e,t,n)=>{"use strict";var r;n.d(t,{A:()=>s});var o=n(30538);let i=0;const a=(r||(r=n.t(o,2)))["useId".toString()];function s(e){if(void 0!==a){const t=a();return null!=e?e:t}return function(e){const[t,n]=o.useState(e),r=e||t;return o.useEffect((()=>{null==t&&(i+=1,n(`mui-${i}`))}),[t]),r}(e)}},22087:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(30538),o=n(55306);let i=!0,a=!1;const s=new o.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 c(e){e.metaKey||e.altKey||e.ctrlKey||(i=!0)}function u(){i=!1}function d(){"hidden"===this.visibilityState&&a&&(i=!0)}function h(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return i||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!l[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function p(){const e=r.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",c,!0),t.addEventListener("mousedown",u,!0),t.addEventListener("pointerdown",u,!0),t.addEventListener("touchstart",u,!0),t.addEventListener("visibilitychange",d,!0))}),[]),t=r.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!h(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(a=!0,s.start(100,(()=>{a=!1})),t.current=!1,!0)},ref:e}}},55306:(e,t,n)=>{"use strict";n.d(t,{E:()=>a,A:()=>s});var r=n(30538);const o={};const i=[];class a{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new a}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function s(){const e=function(e,t){const n=r.useRef(o);return n.current===o&&(n.current=e(t)),n}(a.create).current;var t;return t=e.disposeEffect,r.useEffect(t,i),e}},97387:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"}},80118:(e,t,n)=>{"use strict";n.d(t,{$:()=>u,F:()=>c});var r=n(64033),o=n(74112),i=n(30538),a=n(96574),s=n(97282);const l=["localeText"],c=i.createContext(null);const u=function(e){const{localeText:t}=e,n=(0,o.A)(e,l),{utils:u,localeText:d}=i.useContext(c)??{utils:void 0,localeText:void 0},h=(0,a.A)({props:n,name:"MuiLocalizationProvider"}),{children:p,dateAdapter:f,dateFormats:g,dateLibInstance:m,adapterLocale:y,localeText:v}=h,b=i.useMemo((()=>(0,r.A)({},v,d,t)),[v,d,t]),w=i.useMemo((()=>{if(!f)return u||null;const e=new f({locale:y,formats:g,instance:m});if(!e.isMUIAdapter)throw new Error(["MUI X: The date adapter should be imported from `@mui/x-date-pickers` or `@mui/x-date-pickers-pro`, not from `@date-io`","For example, `import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs'` instead of `import AdapterDayjs from '@date-io/dayjs'`","More information on the installation documentation: https://mui.com/x/react-date-pickers/getting-started/#installation"].join("\n"));return e}),[f,y,g,m,u]),A=i.useMemo((()=>w?{minDate:w.date("1900-01-01T00:00:00.000"),maxDate:w.date("2099-12-31T00:00:00.000")}:null),[w]),x=i.useMemo((()=>({utils:w,defaultDates:A,localeText:b})),[A,w,b]);return(0,s.jsx)(c.Provider,{value:x,children:p})}},89192:(e,t,n)=>{"use strict";n.d(t,{f:()=>r});const r=(e,t="warning")=>{let n=!1;const r=Array.isArray(e)?e.join("\n"):e;return()=>{n||(n=!0,"error"===t?console.error(r):console.warn(r))}}},59790:function(e,t,n){!function(e,t,n,r,o,i){"use strict";var a="comparison",s=["PropertyIsEqualTo","PropertyIsNotEqualTo","PropertyIsLessThan","PropertyIsLessThanOrEqualTo","PropertyIsGreaterThan","PropertyIsGreaterThanOrEqualTo"],l=s.concat(["PropertyIsLike","PropertyIsNull","PropertyIsBetween"]);function c(e,t){var n=e.getElementsByTagNameNS(e.namespaceURI,t).item(0);if(!n)return null;if(n.parentNode!==e)throw new Error("Expected direct descant");return n?n.textContent.trim():null}function u(e){return l.includes(e.localName)}function d(e){return["or","and"].includes(e.localName.toLowerCase())}function h(e){if(s.includes(e.localName))return p(e);if("PropertyIsBetween"===e.localName)return m(e);if("PropertyIsNull"===e.localName)return g(e);if("PropertyIsLike"===e.localName)return f(e);throw new Error("Unknown comparison element "+e.localName)}function p(e){var t=c(e,"PropertyName"),n=c(e,"Literal");return{type:a,operator:e.localName.toLowerCase(),propertyname:t,literal:n,matchcase:"false"!==e.getAttribute("matchCase")}}function f(e){var t=c(e,"PropertyName"),n=c(e,"Literal");return{type:a,operator:e.localName.toLowerCase(),propertyname:t,literal:n,wildcard:e.getAttribute("wildCard"),singlechar:e.getAttribute("singleChar"),escapechar:e.getAttribute("escapeChar"),matchcase:"false"!==e.getAttribute("matchCase")}}function g(e){var t=c(e,"PropertyName");return{type:a,operator:e.localName.toLowerCase(),propertyname:t}}function m(e){var t=c(e,"PropertyName"),n=c(e,"LowerBoundary"),r=c(e,"UpperBoundary");return{type:a,operator:e.localName.toLowerCase(),lowerboundary:n,upperboundary:r,propertyname:t,matchcase:"false"!==e.getAttribute("matchCase")}}function y(e){for(var t=[],n=e.firstElementChild;n;n=n.nextElementSibling)u(n)&&t.push(h(n));return{type:e.localName.toLowerCase(),predicates:t}}function v(e){var t=null,n=e.firstElementChild;return n&&u(n)&&(t=h(n)),n&&d(n)&&(t=y(n)),{type:e.localName.toLowerCase(),predicate:t}}function b(e){for(var t={},n=e.firstElementChild;n;n=n.nextElementSibling)u(n)&&(t=h(n)),d(n)&&(t=y(n)),"not"===n.localName.toLowerCase()&&(t=v(n)),"featureid"===n.localName.toLowerCase()&&(t.type="featureid",t.fids=t.fids||[],t.fids.push(n.getAttribute("fid")));return t}var w=new Set(["strokeWidth","strokeOpacity","strokeDashoffset","fillOpacity","fontSize"]);function A(e,t,n){var r=n.toLowerCase();t[r]=t[r]||[];var o={};L(e,o),t[r].push(o)}function x(e,t,n){var r=n.toLowerCase();t[r]={},L(e,t[r])}function S(e,t,n,r){void 0===r&&(r=!1);var o=n.toLowerCase();t[o]=r?e.textContent.trim():e.textContent}function C(e,t,n){var r=n.toLowerCase(),o=parseFloat(e.textContent.trim());t[r]=o}function E(e,t){if(!Array.isArray(e))return e;var n=e.map((function(e){return"literal"===e.type?e.value:e})).filter((function(e){return""!==e}));return n.every((function(e){return"object"!=typeof e||null===e}))?n.join(""):1===n.length?n[0]:{type:"expression",typeHint:t,children:n}}function k(e,t,n,r){void 0===r&&(r={});for(var o={skipEmptyNodes:!0,forceLowerCase:!0,typeHint:"string"},i=Object.assign({},o,r),a=[],s=0;s0}function V(e,t){if(j(t))return!1;var n=e.lowerboundary;if(j(n))return!1;var r=e.upperboundary;return!j(r)&&N(n,t)<=0&&N(r,t)>=0}function $(e,t){return!j(t)&&!j(e.literal)&&(e.matchcase?t==e.literal:0===N(e.literal,t,!1))}function G(e,t){return!j(t)&&!$(e,t)}function U(e,t){var n=e.literal;if(j(t))return!1;var r=e.wildcard,o=e.singlechar,i=e.escapechar,a=e.matchcase,s=n.replace(new RegExp("["+r+"]","g"),".*");return s=s.replace(new RegExp("["+o+"]","g"),"."),"\\"!==i&&(s=s.replace(new RegExp("["+i+"]","g"),"\\")),s="^"+s+"$",(!1===a?new RegExp(s,"i"):new RegExp(s)).test(t)}function W(e,t,n){var r=n(t,e.propertyname);switch(e.operator){case"propertyislessthan":return z(e,r);case"propertyisequalto":return $(e,r);case"propertyislessthanorequalto":return $(e,r)||z(e,r);case"propertyisnotequalto":return G(e,r);case"propertyisgreaterthan":return B(e,r);case"propertyisgreaterthanorequalto":return $(e,r)||B(e,r);case"propertyisbetween":return V(e,r);case"propertyisnull":return j(r);case"propertyislike":return U(e,r);default:throw new Error("Unkown comparison operator "+e.operator)}}function q(e,t){for(var n=0;ne.minscaledenominator:void 0!==e.maxscaledenominator?t/28e-5e.minscaledenominator}function Z(e){return e.layers.map((function(e){return e.name}))}function J(e,t){return t?e.layers.find((function(e){return e.name===t})):e.layers[0]}function Q(e){return e.styles.map((function(e){return e.name}))}function ee(e,t){if(t)return e.styles.find((function(e){return e.name===t}));var n=e.styles.find((function(e){return e.default}));return n||e.styles[0]}function te(e,t,n,r){void 0===r&&(r={});for(var o=[],i=0,a=0;a-1&&(e.stroke.graphicstroke.__invalidated=!0))}}function Ce(e,t){if(e)if(Array.isArray(e))for(var n=0;n=2&&0!==a[0]&&(i=a[1]/a[0]+1)}return i*t}function Be(e){return e.stroke.graphicstroke.initialgap||0}function Ve(e,n,r,o,i){void 0===i&&(i=0);var a,s=n/2,l=Math.PI*i/180;switch(o&&o.getColor()&&(a=o.getColor()),e){case"circle":return new t.Circle({fill:o,radius:s,stroke:r});case"triangle":return new t.RegularShape({fill:o,points:3,radius:s,stroke:r,rotation:l});case"star":return new t.RegularShape({fill:o,points:5,radius1:s,radius2:s/2.5,stroke:r,rotation:l});case"cross":return new t.RegularShape({fill:o,points:4,radius1:s,radius2:0,stroke:r||new t.Stroke({color:a,width:s/2}),rotation:l});case"hexagon":return new t.RegularShape({fill:o,points:6,radius:s,stroke:r||new t.Stroke({color:a,width:s/2}),rotation:l});case"octagon":return new t.RegularShape({angle:Math.PI/8,fill:o,points:8,radius:s/Math.cos(Math.PI/8),stroke:r||new t.Stroke({color:a,width:s/2}),rotation:l});case"cross2":case"x":return new t.RegularShape({angle:Math.PI/4,fill:o,points:4,radius1:Math.sqrt(2)*s,radius2:0,stroke:r||new t.Stroke({color:a,width:s/2}),rotation:l});case"diamond":return new t.RegularShape({fill:o,points:4,radius1:s,stroke:r,rotation:l});case"horline":return new t.RegularShape({fill:o,points:2,radius:s,angle:Math.PI/2,stroke:r,rotation:l});case"line":return new t.RegularShape({fill:o,points:2,radius:s,angle:0,stroke:r,rotation:l});case"backslash":return new t.RegularShape({fill:o,points:2,radius:s*Math.sqrt(2),angle:-Math.PI/4,stroke:r,rotation:l});case"slash":return new t.RegularShape({fill:o,points:2,radius:s*Math.sqrt(2),angle:Math.PI/4,stroke:r,rotation:l});default:return new t.RegularShape({angle:Math.PI/4,fill:o,points:4,radius1:s*Math.sqrt(2),stroke:r,rotation:l})}}function $e(e){switch((e||{}).type){case"expression":case"propertyname":case"function":return!0;default:return!1}}function Ge(e,t,n,r){void 0===r&&(r=null);var o=null,i=typeof e;if("string"===i||"number"===i||"undefined"===i||null===e)o=e;else if("literal"===e.type)o=e.value;else if("propertyname"===e.type)o=t?n(t,e.value):r;else if("expression"===e.type)if(1===e.children.length)o=Ge(e.children[0],t,n,r);else{for(var a=[],s=0;s1&&(i.stroke.styling.strokeWidth=t*a)}return n}function Et(e){var o=e.fill.graphicfill,a=o.graphic,s=a.mark,l=(s||{}).wellknownname;if(l&&0===l.indexOf("brush://")){var c="#000000";return s.fill&&s.fill.styling&&s.fill.styling.fill&&(c=s.fill.styling.fill),At(l,c)}var u=Number(a.size)||le,d=u*i.DEVICE_PIXEL_RATIO,h=null,p=2;try{var f=document.createElement("canvas");f.width=d*p,f.height=d*p;var g=f.getContext("2d"),m=Qe(Ct(o,p)),y=n.toContext(g,{size:[u*p,u*p]});g.imageSmoothingEnabled=!1,y.setStyle(m);var v=p*(u/2),b=p*(u/2);y.drawGeometry(new r.Point([v,b])),l&&l.indexOf("slash")>-1&&(y.drawGeometry(new r.Point([v-p*u,b])),y.drawGeometry(new r.Point([v+p*u,b])),y.drawGeometry(new r.Point([v,b-p*u])),y.drawGeometry(new r.Point([v,b+p*u])));var w=document.createElement("canvas");w.width=d,w.height=d;var A=w.getContext("2d");A.drawImage(f,0,0,d*p,d*p,0,0,d,d);var x=A.createPattern(w,"repeat");h=new t.Fill({color:x})}catch(e){h=new t.Fill({color:"#000000"})}return h}function kt(e){var o=e.fill&&e.fill.graphicfill&&e.fill.graphicfill.graphic&&e.fill.graphicfill.graphic.externalgraphic&&e.fill.graphicfill.graphic.externalgraphic.onlineresource,i=e.fill&&e.fill.graphicfill&&e.fill.graphicfill.graphic&&e.fill.graphicfill.graphic.mark,a=null;if(a=o?St(e):i?Et(e):We(e.fill),e.stroke&&e.stroke.graphicstroke){var s=st(e);return new t.Style({renderer:function(e,t){if(a){var o=t.feature,i=t.context,l=n.toContext(i);l.setFillStrokeStyle(a,void 0);var c=o.getGeometry().getType();"Polygon"===c?l.drawPolygon(new r.Polygon(e)):"MultiPolygon"===c&&l.drawMultiPolygon(new r.MultiPolygon(e))}s(e,t)}})}var l=Ue(e.stroke);return new t.Style({fill:a,stroke:l})}var Tt=Fe(kt);function _t(e,t,n){var r=Tt(e);return qe(r,e,t,n),He(r,e,t,n),r}function Ot(e){if(!e||!e.label)return Pe;var n=Ge(e.label,null,null,""),r=e.font&&e.font.styling||{},o=Ge(r.fontFamily,null,null,"sans-serif"),i=Ge(r.fontSize,null,null,10),a=Ge(r.fontStyle,null,null,"")+" "+Ge(r.fontWeight,null,null,"")+" "+i+"px "+o,s=e&&e.labelplacement&&e.labelplacement.pointplacement?e.labelplacement.pointplacement:{},l=Ge(s.rotation,null,null,0),c=s&&s.displacement?s.displacement:{},u=Ge(c.displacementx,null,null,0),d=Ge(c.displacementy,null,null,0),h=s&&s.anchorpoint||{},p="center",f=Ge(h.anchorpointx,null,null,NaN);f<.25?p="left":f>.75&&(p="right");var g="middle",m=Ge(h.anchorpointy,null,null,NaN);m<.25?g="bottom":m>.75&&(g="top");var y=e.fill?e.fill.styling:{},v=Ge(y.fill,null,null,"#000000"),b=Ge(y.fillOpacity,null,null,1),w={text:n,font:a,offsetX:u,offsetY:d,rotation:Math.PI*l/180,textAlign:p,textBaseline:g,fill:new t.Fill({color:Ne(v,b)})};if(e.halo){var A=e.halo&&e.halo.fill?e.halo.fill.styling:{},x=Ge(A.fill,null,null,"#FFFFFF"),S=Ge(A.fillOpacity,null,null,1),C=Ge(e.halo.radius,null,null,1);w.stroke=new t.Stroke({color:Ne(x,S),width:2*(2===C||4===C?C-1e-5:C)})}return new t.Style({text:new t.Text(w)})}var Pt=Fe(Ot);function It(e,t,n){var r=Pt(e),o=r.getText();if(!o)return r;var i=e.label,a=e.labelplacement;if($e(i)){var s=Ge(i,t,n,"");o.setText(s.toString())}if(a){var l=a.pointplacement&&a.pointplacement.rotation||0;if($e(l)){var c=Ge(l,t,n,0);o.setRotation(Math.PI*c/180)}}var u=t.getGeometry?t.getGeometry():t.geometry,d=u.getType?u.getType():u.type,h=e&&e.labelplacement&&e.labelplacement.lineplacement?e.labelplacement.lineplacement:null,p="point"!==d&&h?"line":"point";if(o.setPlacement(p),Ye(r,e,t,n),e.font&&e.font.styling){var f=e.font.styling||{};if($e(f.fontFamily)||$e(f.fontStyle)||$e(f.fontWeight)||$e(f.fontSize)){var g=Ge(f.fontFamily,t,n,"sans-serif"),m=Ge(f.fontStyle,t,n,"")+" "+Ge(f.fontWeight,t,n,"")+" "+Ge(f.fontSize,t,n,10)+"px "+g;o.setFont(m)}}return r}function Mt(e){var t=rt(e,e.getLength()/2)[1];return[t[0],t[1]]}function Lt(e,t){if("function"!=typeof t.getGeometry)return null;var n=t.getGeometry();if(!n)return null;var o=null,i=n.getType();if("LineString"===i)(o=Qe(e,t)).setGeometry(new r.Point(Mt(n)));else if("MultiLineString"===i){var a=n.getLineStrings().map(Mt);(o=Qe(e,t)).setGeometry(new r.MultiPoint(a))}return o}function Rt(e){var t=e.getInteriorPoint().getCoordinates();return[t[0],t[1]]}function jt(e,t){if("function"!=typeof t.getGeometry)return null;var n=t.getGeometry();if(!n)return null;var o=null,i=n.getType();if("Polygon"===i)(o=Qe(e,t)).setGeometry(new r.Point(Rt(n)));else if("MultiPolygon"===i){var a=n.getPolygons().map(Rt);(o=Qe(e,t)).setGeometry(new r.MultiPoint(a))}return o}var Ft=[Ie];function Dt(e,t,n,r,o){(t||[]).forEach((function(t){var i=r(t,n,o);i&&e.push(i)}))}function Nt(e,t,n,r){void 0===r&&(r={});var o=e.polygonSymbolizers,i=e.lineSymbolizers,a=e.pointSymbolizers,s=e.textSymbolizers,l={strictGeometryMatch:!1,useFallbackStyles:!0},c=Object.assign({},l,r),u=t.getGeometry?t.getGeometry():t.geometry,d=[];switch(u.getType?u.getType():u.type){case"Point":case"MultiPoint":Dt(d,a,t,Qe,n),Dt(d,s,t,It,n);break;case"LineString":case"MultiLineString":Dt(d,i,t,dt,n),c.strictGeometryMatch||Dt(d,a,t,Lt,n),Dt(d,s,t,It,n);break;case"Polygon":case"MultiPolygon":Dt(d,o,t,_t,n),c.strictGeometryMatch||Dt(d,i,t,dt,n),Dt(d,a,t,jt,n),Dt(d,s,t,It,n);break;default:c.useFallbackStyles&&(d=Ft)}return d.forEach((function(e,t){return e.setZIndex(t)})),d}function zt(e){return e.getId()}function Bt(e,t){return e.get(t)}function Vt(e,t){void 0===t&&(t={});var n=t.imageLoadedCallback||function(){},r={};return function(o,i){var a="function"==typeof t.convertResolution?t.convertResolution(i):i,s="function"==typeof t.getProperty?t.getProperty:Bt,l=te(e,o,a,{getProperty:s,getFeatureId:zt});return _e(l,e,n,r),Nt(oe(l),o,s)}}function $t(e,t){return Nt(oe([e]),{geometry:{type:t}},(function(){return null}),{strictGeometryMatch:!0,useFallbackStyles:!1}).filter((function(e){return null!==e}))}e.OlStyler=Nt,e.Reader=R,e.categorizeSymbolizers=oe,e.createOlStyle=$t,e.createOlStyleFunction=Vt,e.getByPath=re,e.getLayer=J,e.getLayerNames=Z,e.getRuleSymbolizers=ne,e.getRules=te,e.getStyle=ee,e.getStyleNames=Q}(t,n(6473),n(11574),n(78278),n(41218),n(27144))},56052:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const r=n(70396),o=n(83194),i=n(52759),a=n(27765),s=["/properties"],l="http://json-schema.org/draft-07/schema";class c extends r.default{_addVocabularies(){super._addVocabularies(),o.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(i.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(a,s):a;this.addMetaSchema(e,l,!1),this.refs["http://json-schema.org/schema"]=l}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(l)?l:void 0)}}t.Ajv=c,e.exports=t=c,e.exports.Ajv=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var u=n(59816);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var d=n(3939);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return d.CodeGen}});var h=n(53488);Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return h.default}});var p=n(53977);Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return p.default}})},30350:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class n{}t._CodeOrName=n,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends n{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=r;class o extends n{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof r&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function i(e,...t){const n=[e[0]];let r=0;for(;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const r=n(30350),o=n(69795);var i=n(30350);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return i.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return i.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return i.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return i.Name}});var a=n(69795);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return a.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return a.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return a.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return a.varKinds}}),t.operators={GT:new r._Code(">"),GTE:new r._Code(">="),LT:new r._Code("<"),LTE:new r._Code("<="),EQ:new r._Code("==="),NEQ:new r._Code("!=="),NOT:new r._Code("!"),OR:new r._Code("||"),AND:new r._Code("&&"),ADD:new r._Code("+")};class s{optimizeNodes(){return this}optimizeNames(e,t){return this}}class l extends s{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){const n=e?o.varKinds.var:this.varKind,r=void 0===this.rhs?"":` = ${this.rhs}`;return`${n} ${this.name}${r};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=I(this.rhs,e,t)),this}get names(){return this.rhs instanceof r._CodeOrName?this.rhs.names:{}}}class c extends s{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof r.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=I(this.rhs,e,t),this}get names(){return P(this.lhs instanceof r.Name?{}:{...this.lhs.names},this.rhs)}}class u extends c{constructor(e,t,n,r){super(e,n,r),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class d extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class h extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class p extends s{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class f extends s{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=I(this.code,e,t),this}get names(){return this.code instanceof r._CodeOrName?this.code.names:{}}}class g extends s{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,n)=>t+n.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:n}=this;let r=n.length;for(;r--;){const o=n[r];o.optimizeNames(e,t)||(M(e,o.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>O(e,t.names)),{})}}class m extends g{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class y extends g{}class v extends m{}v.kind="else";class b extends m{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new v(e):e}return t?!1===e?t instanceof b?t:t.nodes:this.nodes.length?this:new b(L(e),t instanceof b?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var n;if(this.else=null===(n=this.else)||void 0===n?void 0:n.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=I(this.condition,e,t),this}get names(){const e=super.names;return P(e,this.condition),this.else&&O(e,this.else.names),e}}b.kind="if";class w extends m{}w.kind="for";class A extends w{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=I(this.iteration,e,t),this}get names(){return O(super.names,this.iteration.names)}}class x extends w{constructor(e,t,n,r){super(),this.varKind=e,this.name=t,this.from=n,this.to=r}render(e){const t=e.es5?o.varKinds.var:this.varKind,{name:n,from:r,to:i}=this;return`for(${t} ${n}=${r}; ${n}<${i}; ${n}++)`+super.render(e)}get names(){const e=P(super.names,this.from);return P(e,this.to)}}class S extends w{constructor(e,t,n,r){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=r}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=I(this.iterable,e,t),this}get names(){return O(super.names,this.iterable.names)}}class C extends m{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}C.kind="func";class E extends g{render(e){return"return "+super.render(e)}}E.kind="return";class k extends m{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var n,r;return super.optimizeNames(e,t),null===(n=this.catch)||void 0===n||n.optimizeNames(e,t),null===(r=this.finally)||void 0===r||r.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&O(e,this.catch.names),this.finally&&O(e,this.finally.names),e}}class T extends m{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}T.kind="catch";class _ extends m{render(e){return"finally"+super.render(e)}}_.kind="finally";function O(e,t){for(const n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function P(e,t){return t instanceof r._CodeOrName?O(e,t.names):e}function I(e,t,n){return e instanceof r.Name?i(e):(o=e)instanceof r._Code&&o._items.some((e=>e instanceof r.Name&&1===t[e.str]&&void 0!==n[e.str]))?new r._Code(e._items.reduce(((e,t)=>(t instanceof r.Name&&(t=i(t)),t instanceof r._Code?e.push(...t._items):e.push(t),e)),[])):e;var o;function i(e){const r=n[e.str];return void 0===r||1!==t[e.str]?e:(delete t[e.str],r)}}function M(e,t){for(const n in t)e[n]=(e[n]||0)-(t[n]||0)}function L(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:r._`!${D(e)}`}t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new o.Scope({parent:e}),this._nodes=[new y]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,r){const o=this._scope.toName(t);return void 0!==n&&r&&(this._constants[o.str]=n),this._leafNode(new l(e,o,n)),o}const(e,t,n){return this._def(o.varKinds.const,e,t,n)}let(e,t,n){return this._def(o.varKinds.let,e,t,n)}var(e,t,n){return this._def(o.varKinds.var,e,t,n)}assign(e,t,n){return this._leafNode(new c(e,t,n))}add(e,n){return this._leafNode(new u(e,t.operators.ADD,n))}code(e){return"function"==typeof e?e():e!==r.nil&&this._leafNode(new f(e)),this}object(...e){const t=["{"];for(const[n,o]of e)t.length>1&&t.push(","),t.push(n),(n!==o||this.opts.es5)&&(t.push(":"),(0,r.addCodeArg)(t,o));return t.push("}"),new r._Code(t)}if(e,t,n){if(this._blockNode(new b(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new b(e))}else(){return this._elseNode(new v)}endIf(){return this._endBlockNode(b,v)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new A(e),t)}forRange(e,t,n,r,i=(this.opts.es5?o.varKinds.var:o.varKinds.let)){const a=this._scope.toName(e);return this._for(new x(i,a,t,n),(()=>r(a)))}forOf(e,t,n,i=o.varKinds.const){const a=this._scope.toName(e);if(this.opts.es5){const e=t instanceof r.Name?t:this.var("_arr",t);return this.forRange("_i",0,r._`${e}.length`,(t=>{this.var(a,r._`${e}[${t}]`),n(a)}))}return this._for(new S("of",i,a,t),(()=>n(a)))}forIn(e,t,n,i=(this.opts.es5?o.varKinds.var:o.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,r._`Object.keys(${t})`,n);const a=this._scope.toName(e);return this._for(new S("in",i,a,t),(()=>n(a)))}endFor(){return this._endBlockNode(w)}label(e){return this._leafNode(new d(e))}break(e){return this._leafNode(new h(e))}return(e){const t=new E;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(E)}try(e,t,n){if(!t&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');const r=new k;if(this._blockNode(r),this.code(e),t){const e=this.name("e");this._currNode=r.catch=new T(e),t(e)}return n&&(this._currNode=r.finally=new _,this.code(n)),this._endBlockNode(T,_)}throw(e){return this._leafNode(new p(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const n=this._nodes.length-t;if(n<0||void 0!==e&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=r.nil,n,o){return this._blockNode(new C(e,t,n)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(C)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof b))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=L;const R=F(t.operators.AND);t.and=function(...e){return e.reduce(R)};const j=F(t.operators.OR);function F(e){return(t,n)=>t===r.nil?n:n===r.nil?t:r._`${D(t)} ${e} ${D(n)}`}function D(e){return e instanceof r.Name?e:r._`(${e})`}t.or=function(...e){return e.reduce(j)}},69795:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const r=n(30350);class o extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var i;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(i||(t.UsedValueState=i={})),t.varKinds={const:new r.Name("const"),let:new r.Name("let"),var:new r.Name("var")};class a{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof r.Name?e:this.name(e)}name(e){return new r.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,n;if((null===(n=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===n?void 0:n.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=a;class s extends r.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:n}){this.value=e,this.scopePath=r._`.${new r.Name(t)}[${n}]`}}t.ValueScopeName=s;const l=r._`\n`;t.ValueScope=class extends a{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?l:r.nil}}get(){return this._scope}name(e){return new s(e,this._newName(e))}value(e,t){var n;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const r=this.toName(e),{prefix:o}=r,i=null!==(n=t.key)&&void 0!==n?n:t.ref;let a=this._values[o];if(a){const e=a.get(i);if(e)return e}else a=this._values[o]=new Map;a.set(i,r);const s=this._scope[o]||(this._scope[o]=[]),l=s.length;return s[l]=t.ref,r.setValue(t,{property:o,itemIndex:l}),r}getValue(e,t){const n=this._values[e];if(n)return n.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return r._`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,n){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,n)}_reduceValues(e,n,a={},s){let l=r.nil;for(const c in e){const u=e[c];if(!u)continue;const d=a[c]=a[c]||new Map;u.forEach((e=>{if(d.has(e))return;d.set(e,i.Started);let a=n(e);if(a){const n=this.opts.es5?t.varKinds.var:t.varKinds.const;l=r._`${l}${n} ${e} = ${a};${this.opts._n}`}else{if(!(a=null==s?void 0:s(e)))throw new o(e);l=r._`${l}${a}${this.opts._n}`}d.set(e,i.Completed)}))}return l}}},95330:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const r=n(3939),o=n(125),i=n(26597);function a(e,t){const n=e.const("err",t);e.if(r._`${i.default.vErrors} === null`,(()=>e.assign(i.default.vErrors,r._`[${n}]`)),r._`${i.default.vErrors}.push(${n})`),e.code(r._`${i.default.errors}++`)}function s(e,t){const{gen:n,validateName:o,schemaEnv:i}=e;i.$async?n.throw(r._`new ${e.ValidationError}(${t})`):(n.assign(r._`${o}.errors`,t),n.return(!1))}t.keywordError={message:({keyword:e})=>r.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?r.str`"${e}" keyword must be ${t} ($data)`:r.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,n=t.keywordError,o,i){const{it:l}=e,{gen:u,compositeRule:d,allErrors:h}=l,p=c(e,n,o);(null!=i?i:d||h)?a(u,p):s(l,r._`[${p}]`)},t.reportExtraError=function(e,n=t.keywordError,r){const{it:o}=e,{gen:l,compositeRule:u,allErrors:d}=o;a(l,c(e,n,r)),u||d||s(o,i.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(i.default.errors,t),e.if(r._`${i.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign(r._`${i.default.vErrors}.length`,t)),(()=>e.assign(i.default.vErrors,null)))))},t.extendErrors=function({gen:e,keyword:t,schemaValue:n,data:o,errsCount:a,it:s}){if(void 0===a)throw new Error("ajv implementation error");const l=e.name("err");e.forRange("i",a,i.default.errors,(a=>{e.const(l,r._`${i.default.vErrors}[${a}]`),e.if(r._`${l}.instancePath === undefined`,(()=>e.assign(r._`${l}.instancePath`,(0,r.strConcat)(i.default.instancePath,s.errorPath)))),e.assign(r._`${l}.schemaPath`,r.str`${s.errSchemaPath}/${t}`),s.opts.verbose&&(e.assign(r._`${l}.schema`,n),e.assign(r._`${l}.data`,o))}))};const l={keyword:new r.Name("keyword"),schemaPath:new r.Name("schemaPath"),params:new r.Name("params"),propertyName:new r.Name("propertyName"),message:new r.Name("message"),schema:new r.Name("schema"),parentSchema:new r.Name("parentSchema")};function c(e,t,n){const{createErrors:o}=e.it;return!1===o?r._`{}`:function(e,t,n={}){const{gen:o,it:a}=e,s=[u(a,n),d(e,n)];return function(e,{params:t,message:n},o){const{keyword:a,data:s,schemaValue:c,it:u}=e,{opts:d,propertyName:h,topSchemaRef:p,schemaPath:f}=u;o.push([l.keyword,a],[l.params,"function"==typeof t?t(e):t||r._`{}`]),d.messages&&o.push([l.message,"function"==typeof n?n(e):n]);d.verbose&&o.push([l.schema,c],[l.parentSchema,r._`${p}${f}`],[i.default.data,s]);h&&o.push([l.propertyName,h])}(e,t,s),o.object(...s)}(e,t,n)}function u({errorPath:e},{instancePath:t}){const n=t?r.str`${e}${(0,o.getErrorPath)(t,o.Type.Str)}`:e;return[i.default.instancePath,(0,r.strConcat)(i.default.instancePath,n)]}function d({keyword:e,it:{errSchemaPath:t}},{schemaPath:n,parentSchema:i}){let a=i?t:r.str`${t}/${e}`;return n&&(a=r.str`${a}${(0,o.getErrorPath)(n,o.Type.Str)}`),[l.schemaPath,a]}},1069:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const r=n(3939),o=n(53488),i=n(26597),a=n(68145),s=n(125),l=n(59816);class c{constructor(e){var t;let n;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(n=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,a.normalizeId)(null==n?void 0:n[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==n?void 0:n.$async,this.refs={}}}function u(e){const t=h.call(this,e);if(t)return t;const n=(0,a.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:s,lines:c}=this.opts.code,{ownProperties:u}=this.opts,d=new r.CodeGen(this.scope,{es5:s,lines:c,ownProperties:u});let p;e.$async&&(p=d.scopeValue("Error",{ref:o.default,code:r._`require("ajv/dist/runtime/validation_error").default`}));const f=d.scopeName("validate");e.validateName=f;const g={gen:d,allErrors:this.opts.allErrors,data:i.default.data,parentData:i.default.parentData,parentDataProperty:i.default.parentDataProperty,dataNames:[i.default.data],dataPathArr:[r.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:d.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,r.stringify)(e.schema)}:{ref:e.schema}),validateName:f,ValidationError:p,schema:e.schema,schemaEnv:e,rootId:n,baseId:e.baseId||n,schemaPath:r.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:r._`""`,opts:this.opts,self:this};let m;try{this._compilations.add(e),(0,l.validateFunctionCode)(g),d.optimize(this.opts.code.optimize);const t=d.toString();m=`${d.scopeRefs(i.default.scope)}return ${t}`,this.opts.code.process&&(m=this.opts.code.process(m,e));const n=new Function(`${i.default.self}`,`${i.default.scope}`,m)(this,this.scope.get());if(this.scope.value(f,{ref:n}),n.errors=null,n.schema=e.schema,n.schemaEnv=e,e.$async&&(n.$async=!0),!0===this.opts.code.source&&(n.source={validateName:f,validateCode:t,scopeValues:d._values}),this.opts.unevaluated){const{props:e,items:t}=g;n.evaluated={props:e instanceof r.Name?void 0:e,items:t instanceof r.Name?void 0:t,dynamicProps:e instanceof r.Name,dynamicItems:t instanceof r.Name},n.source&&(n.source.evaluated=(0,r.stringify)(n.evaluated))}return e.validate=n,e}catch(t){throw delete e.validate,delete e.validateName,m&&this.logger.error("Error compiling schema, function code:",m),t}finally{this._compilations.delete(e)}}function d(e){return(0,a.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:u.call(this,e)}function h(e){for(const r of this._compilations)if(n=e,(t=r).schema===n.schema&&t.root===n.root&&t.baseId===n.baseId)return r;var t,n}function p(e,t){let n;for(;"string"==typeof(n=this.refs[t]);)t=n;return n||this.schemas[t]||f.call(this,e,t)}function f(e,t){const n=this.opts.uriResolver.parse(t),r=(0,a._getFullPath)(this.opts.uriResolver,n);let o=(0,a.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&r===o)return m.call(this,n,e);const i=(0,a.normalizeId)(r),s=this.refs[i]||this.schemas[i];if("string"==typeof s){const t=f.call(this,e,s);if("object"!=typeof(null==t?void 0:t.schema))return;return m.call(this,n,t)}if("object"==typeof(null==s?void 0:s.schema)){if(s.validate||u.call(this,s),i===(0,a.normalizeId)(t)){const{schema:t}=s,{schemaId:n}=this.opts,r=t[n];return r&&(o=(0,a.resolveUrl)(this.opts.uriResolver,o,r)),new c({schema:t,schemaId:n,root:e,baseId:o})}return m.call(this,n,s)}}t.SchemaEnv=c,t.compileSchema=u,t.resolveRef=function(e,t,n){var r;n=(0,a.resolveUrl)(this.opts.uriResolver,t,n);const o=e.refs[n];if(o)return o;let i=p.call(this,e,n);if(void 0===i){const o=null===(r=e.localRefs)||void 0===r?void 0:r[n],{schemaId:a}=this.opts;o&&(i=new c({schema:o,schemaId:a,root:e,baseId:t}))}return void 0!==i?e.refs[n]=d.call(this,i):void 0},t.getCompilingSchema=h,t.resolveSchema=f;const g=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function m(e,{baseId:t,schema:n,root:r}){var o;if("/"!==(null===(o=e.fragment)||void 0===o?void 0:o[0]))return;for(const r of e.fragment.slice(1).split("/")){if("boolean"==typeof n)return;const e=n[(0,s.unescapeFragment)(r)];if(void 0===e)return;const o="object"==typeof(n=e)&&n[this.opts.schemaId];!g.has(r)&&o&&(t=(0,a.resolveUrl)(this.opts.uriResolver,t,o))}let i;if("boolean"!=typeof n&&n.$ref&&!(0,s.schemaHasRulesButRef)(n,this.RULES)){const e=(0,a.resolveUrl)(this.opts.uriResolver,t,n.$ref);i=f.call(this,r,e)}const{schemaId:l}=this.opts;return i=i||new c({schema:n,schemaId:l,root:r,baseId:t}),i.schema!==i.root.schema?i:void 0}},26597:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3939),o={data:new r.Name("data"),valCxt:new r.Name("valCxt"),instancePath:new r.Name("instancePath"),parentData:new r.Name("parentData"),parentDataProperty:new r.Name("parentDataProperty"),rootData:new r.Name("rootData"),dynamicAnchors:new r.Name("dynamicAnchors"),vErrors:new r.Name("vErrors"),errors:new r.Name("errors"),this:new r.Name("this"),self:new r.Name("self"),scope:new r.Name("scope"),json:new r.Name("json"),jsonPos:new r.Name("jsonPos"),jsonLen:new r.Name("jsonLen"),jsonPart:new r.Name("jsonPart")};t.default=o},53977:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(68145);class o extends Error{constructor(e,t,n,o){super(o||`can't resolve reference ${n} from id ${t}`),this.missingRef=(0,r.resolveUrl)(e,t,n),this.missingSchema=(0,r.normalizeId)((0,r.getFullPath)(e,this.missingRef))}}t.default=o},68145:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const r=n(125),o=n(92792),i=n(23018),a=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!l(e):!!t&&c(e)<=t)};const s=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function l(e){for(const t in e){if(s.has(t))return!0;const n=e[t];if(Array.isArray(n)&&n.some(l))return!0;if("object"==typeof n&&l(n))return!0}return!1}function c(e){let t=0;for(const n in e){if("$ref"===n)return 1/0;if(t++,!a.has(n)&&("object"==typeof e[n]&&(0,r.eachItem)(e[n],(e=>t+=c(e))),t===1/0))return 1/0}return t}function u(e,t="",n){!1!==n&&(t=p(t));const r=e.parse(t);return d(e,r)}function d(e,t){return e.serialize(t).split("#")[0]+"#"}t.getFullPath=u,t._getFullPath=d;const h=/#\/?$/;function p(e){return e?e.replace(h,""):""}t.normalizeId=p,t.resolveUrl=function(e,t,n){return n=p(n),e.resolve(t,n)};const f=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:n,uriResolver:r}=this.opts,a=p(e[n]||t),s={"":a},l=u(r,a,!1),c={},d=new Set;return i(e,{allKeys:!0},((e,t,r,o)=>{if(void 0===o)return;const i=l+t;let a=s[o];function u(t){const n=this.opts.uriResolver.resolve;if(t=p(a?n(a,t):t),d.has(t))throw g(t);d.add(t);let r=this.refs[t];return"string"==typeof r&&(r=this.refs[r]),"object"==typeof r?h(e,r.schema,t):t!==p(i)&&("#"===t[0]?(h(e,c[t],t),c[t]=e):this.refs[t]=i),t}function m(e){if("string"==typeof e){if(!f.test(e))throw new Error(`invalid anchor "${e}"`);u.call(this,`#${e}`)}}"string"==typeof e[n]&&(a=u.call(this,e[n])),m.call(this,e.$anchor),m.call(this,e.$dynamicAnchor),s[t]=a})),c;function h(e,t,n){if(void 0!==t&&!o(e,t))throw g(n)}function g(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},5858:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const n=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&n.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},125:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const r=n(3939),o=n(30350);function i(e,t=e.schema){const{opts:n,self:r}=e;if(!n.strictSchema)return;if("boolean"==typeof t)return;const o=r.RULES.keywords;for(const n in t)o[n]||f(e,`unknown keyword: "${n}"`)}function a(e,t){if("boolean"==typeof e)return!e;for(const n in e)if(t[n])return!0;return!1}function s(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function l(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function c({mergeNames:e,mergeToName:t,mergeValues:n,resultToName:o}){return(i,a,s,l)=>{const c=void 0===s?a:s instanceof r.Name?(a instanceof r.Name?e(i,a,s):t(i,a,s),s):a instanceof r.Name?(t(i,s,a),a):n(a,s);return l!==r.Name||c instanceof r.Name?c:o(i,c)}}function u(e,t){if(!0===t)return e.var("props",!0);const n=e.var("props",r._`{}`);return void 0!==t&&d(e,n,t),n}function d(e,t,n){Object.keys(n).forEach((n=>e.assign(r._`${t}${(0,r.getProperty)(n)}`,!0)))}t.toHash=function(e){const t={};for(const n of e)t[n]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(i(e,t),!a(t,e.self.RULES.all))},t.checkUnknownRules=i,t.schemaHasRules=a,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const n in e)if("$ref"!==n&&t.all[n])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},n,o,i){if(!i){if("number"==typeof n||"boolean"==typeof n)return n;if("string"==typeof n)return r._`${n}`}return r._`${e}${t}${(0,r.getProperty)(o)}`},t.unescapeFragment=function(e){return l(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(s(e))},t.escapeJsonPointer=s,t.unescapeJsonPointer=l,t.eachItem=function(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)},t.mergeEvaluated={props:c({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,(()=>{e.if(r._`${t} === true`,(()=>e.assign(n,!0)),(()=>e.assign(n,r._`${n} || {}`).code(r._`Object.assign(${n}, ${t})`)))})),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,(()=>{!0===t?e.assign(n,!0):(e.assign(n,r._`${n} || {}`),d(e,n,t))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:u}),items:c({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,(()=>e.assign(n,r._`${t} === true ? true : ${n} > ${t} ? ${n} : ${t}`))),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,(()=>e.assign(n,!0===t||r._`${n} > ${t} ? ${n} : ${t}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=u,t.setEvaluated=d;const h={};var p;function f(e,t,n=e.opts.strictSchema){if(n){if(t=`strict mode: ${t}`,!0===n)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:h[t.code]||(h[t.code]=new o._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(p||(t.Type=p={})),t.getErrorPath=function(e,t,n){if(e instanceof r.Name){const o=t===p.Num;return n?o?r._`"[" + ${e} + "]"`:r._`"['" + ${e} + "']"`:o?r._`"/" + ${e}`:r._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,r.getProperty)(e).toString():"/"+s(e)},t.checkStrictMode=f},11217:(e,t)=>{"use strict";function n(e,t){return t.rules.some((t=>r(e,t)))}function r(e,t){var n;return void 0!==e[t.keyword]||(null===(n=t.definition.implements)||void 0===n?void 0:n.some((t=>void 0!==e[t])))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},r){const o=t.RULES.types[r];return o&&!0!==o&&n(e,o)},t.shouldUseGroup=n,t.shouldUseRule=r},25513:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const r=n(95330),o=n(3939),i=n(26597),a={message:"boolean schema is false"};function s(e,t){const{gen:n,data:o}=e,i={gen:n,keyword:"false schema",data:o,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,r.reportError)(i,a,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:n,validateName:r}=e;!1===n?s(e,!1):"object"==typeof n&&!0===n.$async?t.return(i.default.data):(t.assign(o._`${r}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:n,schema:r}=e;!1===r?(n.var(t,!1),s(e)):n.var(t,!0)}},26550:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const r=n(5858),o=n(11217),i=n(95330),a=n(3939),s=n(125);var l;function c(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(r.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(l||(t.DataType=l={})),t.getSchemaTypes=function(e){const t=c(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=c,t.coerceAndCheckDataType=function(e,t){const{gen:n,data:r,opts:i}=e,s=function(e,t){return t?e.filter((e=>u.has(e)||"array"===t&&"array"===e)):[]}(t,i.coerceTypes),c=t.length>0&&!(0===s.length&&1===t.length&&(0,o.schemaHasRulesForType)(e,t[0]));if(c){const o=h(t,r,i.strictNumbers,l.Wrong);n.if(o,(()=>{s.length?function(e,t,n){const{gen:r,data:o,opts:i}=e,s=r.let("dataType",a._`typeof ${o}`),l=r.let("coerced",a._`undefined`);"array"===i.coerceTypes&&r.if(a._`${s} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,(()=>r.assign(o,a._`${o}[0]`).assign(s,a._`typeof ${o}`).if(h(t,o,i.strictNumbers),(()=>r.assign(l,o)))));r.if(a._`${l} !== undefined`);for(const e of n)(u.has(e)||"array"===e&&"array"===i.coerceTypes)&&c(e);function c(e){switch(e){case"string":return void r.elseIf(a._`${s} == "number" || ${s} == "boolean"`).assign(l,a._`"" + ${o}`).elseIf(a._`${o} === null`).assign(l,a._`""`);case"number":return void r.elseIf(a._`${s} == "boolean" || ${o} === null + || (${s} == "string" && ${o} && ${o} == +${o})`).assign(l,a._`+${o}`);case"integer":return void r.elseIf(a._`${s} === "boolean" || ${o} === null + || (${s} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(l,a._`+${o}`);case"boolean":return void r.elseIf(a._`${o} === "false" || ${o} === 0 || ${o} === null`).assign(l,!1).elseIf(a._`${o} === "true" || ${o} === 1`).assign(l,!0);case"null":return r.elseIf(a._`${o} === "" || ${o} === 0 || ${o} === false`),void r.assign(l,null);case"array":r.elseIf(a._`${s} === "string" || ${s} === "number" + || ${s} === "boolean" || ${o} === null`).assign(l,a._`[${o}]`)}}r.else(),f(e),r.endIf(),r.if(a._`${l} !== undefined`,(()=>{r.assign(o,l),function({gen:e,parentData:t,parentDataProperty:n},r){e.if(a._`${t} !== undefined`,(()=>e.assign(a._`${t}[${n}]`,r)))}(e,l)}))}(e,t,s):f(e)}))}return c};const u=new Set(["string","number","integer","boolean","null"]);function d(e,t,n,r=l.Correct){const o=r===l.Correct?a.operators.EQ:a.operators.NEQ;let i;switch(e){case"null":return a._`${t} ${o} null`;case"array":i=a._`Array.isArray(${t})`;break;case"object":i=a._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":i=s(a._`!(${t} % 1) && !isNaN(${t})`);break;case"number":i=s();break;default:return a._`typeof ${t} ${o} ${e}`}return r===l.Correct?i:(0,a.not)(i);function s(e=a.nil){return(0,a.and)(a._`typeof ${t} == "number"`,e,n?a._`isFinite(${t})`:a.nil)}}function h(e,t,n,r){if(1===e.length)return d(e[0],t,n,r);let o;const i=(0,s.toHash)(e);if(i.array&&i.object){const e=a._`typeof ${t} != "object"`;o=i.null?e:a._`!${t} || ${e}`,delete i.null,delete i.array,delete i.object}else o=a.nil;i.number&&delete i.integer;for(const e in i)o=(0,a.and)(o,d(e,t,n,r));return o}t.checkDataType=d,t.checkDataTypes=h;const p={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?a._`{type: ${e}}`:a._`{type: ${t}}`};function f(e){const t=function(e){const{gen:t,data:n,schema:r}=e,o=(0,s.schemaRefOrVal)(e,r,"type");return{gen:t,keyword:"type",data:n,schema:r.type,schemaCode:o,schemaValue:o,parentSchema:r,params:{},it:e}}(e);(0,i.reportError)(t,p)}t.reportTypeError=f},64748:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const r=n(3939),o=n(125);function i(e,t,n){const{gen:i,compositeRule:a,data:s,opts:l}=e;if(void 0===n)return;const c=r._`${s}${(0,r.getProperty)(t)}`;if(a)return void(0,o.checkStrictMode)(e,`default is ignored for: ${c}`);let u=r._`${c} === undefined`;"empty"===l.useDefaults&&(u=r._`${u} || ${c} === null || ${c} === ""`),i.if(u,r._`${c} = ${(0,r.stringify)(n)}`)}t.assignDefaults=function(e,t){const{properties:n,items:r}=e.schema;if("object"===t&&n)for(const t in n)i(e,t,n[t].default);else"array"===t&&Array.isArray(r)&&r.forEach(((t,n)=>i(e,n,t.default)))}},59816:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const r=n(25513),o=n(26550),i=n(11217),a=n(26550),s=n(64748),l=n(79147),c=n(93545),u=n(3939),d=n(26597),h=n(68145),p=n(125),f=n(95330);function g({gen:e,validateName:t,schema:n,schemaEnv:r,opts:o},i){o.code.es5?e.func(t,u._`${d.default.data}, ${d.default.valCxt}`,r.$async,(()=>{e.code(u._`"use strict"; ${m(n,o)}`),function(e,t){e.if(d.default.valCxt,(()=>{e.var(d.default.instancePath,u._`${d.default.valCxt}.${d.default.instancePath}`),e.var(d.default.parentData,u._`${d.default.valCxt}.${d.default.parentData}`),e.var(d.default.parentDataProperty,u._`${d.default.valCxt}.${d.default.parentDataProperty}`),e.var(d.default.rootData,u._`${d.default.valCxt}.${d.default.rootData}`),t.dynamicRef&&e.var(d.default.dynamicAnchors,u._`${d.default.valCxt}.${d.default.dynamicAnchors}`)}),(()=>{e.var(d.default.instancePath,u._`""`),e.var(d.default.parentData,u._`undefined`),e.var(d.default.parentDataProperty,u._`undefined`),e.var(d.default.rootData,d.default.data),t.dynamicRef&&e.var(d.default.dynamicAnchors,u._`{}`)}))}(e,o),e.code(i)})):e.func(t,u._`${d.default.data}, ${function(e){return u._`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${e.dynamicRef?u._`, ${d.default.dynamicAnchors}={}`:u.nil}}={}`}(o)}`,r.$async,(()=>e.code(m(n,o)).code(i)))}function m(e,t){const n="object"==typeof e&&e[t.schemaId];return n&&(t.code.source||t.code.process)?u._`/*# sourceURL=${n} */`:u.nil}function y(e,t){b(e)&&(w(e),v(e))?function(e,t){const{schema:n,gen:r,opts:o}=e;o.$comment&&n.$comment&&x(e);(function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,h.resolveUrl)(e.opts.uriResolver,e.baseId,t))})(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const i=r.const("_errs",d.default.errors);A(e,i),r.var(t,u._`${i} === ${d.default.errors}`)}(e,t):(0,r.boolOrEmptySchema)(e,t)}function v({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const n in e)if(t.RULES.all[n])return!0;return!1}function b(e){return"boolean"!=typeof e.schema}function w(e){(0,p.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:n,opts:r,self:o}=e;t.$ref&&r.ignoreKeywordsWithRef&&(0,p.schemaHasRulesButRef)(t,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}(e)}function A(e,t){if(e.opts.jtd)return S(e,[],!1,t);const n=(0,o.getSchemaTypes)(e.schema);S(e,n,!(0,o.coerceAndCheckDataType)(e,n),t)}function x({gen:e,schemaEnv:t,schema:n,errSchemaPath:r,opts:o}){const i=n.$comment;if(!0===o.$comment)e.code(u._`${d.default.self}.logger.log(${i})`);else if("function"==typeof o.$comment){const n=u.str`${r}/$comment`,o=e.scopeValue("root",{ref:t.root});e.code(u._`${d.default.self}.opts.$comment(${i}, ${n}, ${o}.schema)`)}}function S(e,t,n,r){const{gen:o,schema:s,data:l,allErrors:c,opts:h,self:f}=e,{RULES:g}=f;function m(p){(0,i.shouldUseGroup)(s,p)&&(p.type?(o.if((0,a.checkDataType)(p.type,l,h.strictNumbers)),C(e,p),1===t.length&&t[0]===p.type&&n&&(o.else(),(0,a.reportTypeError)(e)),o.endIf()):C(e,p),c||o.if(u._`${d.default.errors} === ${r||0}`))}!s.$ref||!h.ignoreKeywordsWithRef&&(0,p.schemaHasRulesButRef)(s,g)?(h.jtd||function(e,t){if(e.schemaEnv.meta||!e.opts.strictTypes)return;(function(e,t){if(!t.length)return;if(!e.dataTypes.length)return void(e.dataTypes=t);t.forEach((t=>{k(e.dataTypes,t)||T(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),function(e,t){const n=[];for(const r of e.dataTypes)k(t,r)?n.push(r):t.includes("integer")&&"number"===r&&n.push("integer");e.dataTypes=n}(e,t)})(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&T(e,"use allowUnionTypes to allow union type keyword")}(e,t);!function(e,t){const n=e.self.RULES.all;for(const r in n){const o=n[r];if("object"==typeof o&&(0,i.shouldUseRule)(e.schema,o)){const{type:n}=o.definition;n.length&&!n.some((e=>E(t,e)))&&T(e,`missing type "${n.join(",")}" for keyword "${r}"`)}}}(e,e.dataTypes)}(e,t),o.block((()=>{for(const e of g.rules)m(e);m(g.post)}))):o.block((()=>O(e,"$ref",g.all.$ref.definition)))}function C(e,t){const{gen:n,schema:r,opts:{useDefaults:o}}=e;o&&(0,s.assignDefaults)(e,t.type),n.block((()=>{for(const n of t.rules)(0,i.shouldUseRule)(r,n)&&O(e,n.keyword,n.definition,t.type)}))}function E(e,t){return e.includes(t)||"number"===t&&e.includes("integer")}function k(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function T(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,p.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){b(e)&&(w(e),v(e))?function(e){const{schema:t,opts:n,gen:r}=e;g(e,(()=>{n.$comment&&t.$comment&&x(e),function(e){const{schema:t,opts:n}=e;void 0!==t.default&&n.useDefaults&&n.strictSchema&&(0,p.checkStrictMode)(e,"default is ignored in the schema root")}(e),r.let(d.default.vErrors,null),r.let(d.default.errors,0),n.unevaluated&&function(e){const{gen:t,validateName:n}=e;e.evaluated=t.const("evaluated",u._`${n}.evaluated`),t.if(u._`${e.evaluated}.dynamicProps`,(()=>t.assign(u._`${e.evaluated}.props`,u._`undefined`))),t.if(u._`${e.evaluated}.dynamicItems`,(()=>t.assign(u._`${e.evaluated}.items`,u._`undefined`)))}(e),A(e),function(e){const{gen:t,schemaEnv:n,validateName:r,ValidationError:o,opts:i}=e;n.$async?t.if(u._`${d.default.errors} === 0`,(()=>t.return(d.default.data)),(()=>t.throw(u._`new ${o}(${d.default.vErrors})`))):(t.assign(u._`${r}.errors`,d.default.vErrors),i.unevaluated&&function({gen:e,evaluated:t,props:n,items:r}){n instanceof u.Name&&e.assign(u._`${t}.props`,n);r instanceof u.Name&&e.assign(u._`${t}.items`,r)}(e),t.return(u._`${d.default.errors} === 0`))}(e)}))}(e):g(e,(()=>(0,r.topBoolOrEmptySchema)(e)))};class _{constructor(e,t,n){if((0,l.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,p.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",M(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,l.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",d.default.errors))}result(e,t,n){this.failResult((0,u.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,u.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(u._`${t} !== undefined && (${(0,u.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t)return this.setParams(t),this._error(e,n),void this.setParams({});this._error(e,n)}_error(e,t){(e?f.reportExtraError:f.reportError)(this,this.def.error,t)}$dataError(){(0,f.reportError)(this,this.def.$dataError||f.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,f.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=u.nil){this.gen.block((()=>{this.check$data(e,n),t()}))}check$data(e=u.nil,t=u.nil){if(!this.$data)return;const{gen:n,schemaCode:r,schemaType:o,def:i}=this;n.if((0,u.or)(u._`${r} === undefined`,t)),e!==u.nil&&n.assign(e,!0),(o.length||i.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==u.nil&&n.assign(e,!1)),n.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:n,def:r,it:o}=this;return(0,u.or)(function(){if(n.length){if(!(t instanceof u.Name))throw new Error("ajv implementation error");const e=Array.isArray(n)?n:[n];return u._`${(0,a.checkDataTypes)(e,t,o.opts.strictNumbers,a.DataType.Wrong)}`}return u.nil}(),function(){if(r.validateSchema){const n=e.scopeValue("validate$data",{ref:r.validateSchema});return u._`!${n}(${t})`}return u.nil}())}subschema(e,t){const n=(0,c.getSubschema)(this.it,e);(0,c.extendSubschemaData)(n,this.it,e),(0,c.extendSubschemaMode)(n,e);const r={...this.it,...n,items:void 0,props:void 0};return y(r,t),r}mergeEvaluated(e,t){const{it:n,gen:r}=this;n.opts.unevaluated&&(!0!==n.props&&void 0!==e.props&&(n.props=p.mergeEvaluated.props(r,e.props,n.props,t)),!0!==n.items&&void 0!==e.items&&(n.items=p.mergeEvaluated.items(r,e.items,n.items,t)))}mergeValidEvaluated(e,t){const{it:n,gen:r}=this;if(n.opts.unevaluated&&(!0!==n.props||!0!==n.items))return r.if(t,(()=>this.mergeEvaluated(e,u.Name))),!0}}function O(e,t,n,r){const o=new _(e,n,t);"code"in n?n.code(o,r):o.$data&&n.validate?(0,l.funcKeywordCode)(o,n):"macro"in n?(0,l.macroKeywordCode)(o,n):(n.compile||n.validate)&&(0,l.funcKeywordCode)(o,n)}t.KeywordCxt=_;const P=/^\/(?:[^~]|~0|~1)*$/,I=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function M(e,{dataLevel:t,dataNames:n,dataPathArr:r}){let o,i;if(""===e)return d.default.rootData;if("/"===e[0]){if(!P.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e,i=d.default.rootData}else{const a=I.exec(e);if(!a)throw new Error(`Invalid JSON-pointer: ${e}`);const s=+a[1];if(o=a[2],"#"===o){if(s>=t)throw new Error(l("property/index",s));return r[t-s]}if(s>t)throw new Error(l("data",s));if(i=n[t-s],!o)return i}let a=i;const s=o.split("/");for(const e of s)e&&(i=u._`${i}${(0,u.getProperty)((0,p.unescapeJsonPointer)(e))}`,a=u._`${a} && ${i}`);return a;function l(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}t.getData=M},79147:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const r=n(3939),o=n(26597),i=n(73859),a=n(95330);function s(e){const{gen:t,data:n,it:o}=e;t.if(o.parentData,(()=>t.assign(n,r._`${o.parentData}[${o.parentDataProperty}]`)))}function l(e,t,n){if(void 0===n)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof n?{ref:n}:{ref:n,code:(0,r.stringify)(n)})}t.macroKeywordCode=function(e,t){const{gen:n,keyword:o,schema:i,parentSchema:a,it:s}=e,c=t.macro.call(s.self,i,a,s),u=l(n,o,c);!1!==s.opts.validateSchema&&s.self.validateSchema(c,!0);const d=n.name("valid");e.subschema({schema:c,schemaPath:r.nil,errSchemaPath:`${s.errSchemaPath}/${o}`,topSchemaRef:u,compositeRule:!0},d),e.pass(d,(()=>e.error(!0)))},t.funcKeywordCode=function(e,t){var n;const{gen:c,keyword:u,schema:d,parentSchema:h,$data:p,it:f}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(f,t);const g=!p&&t.compile?t.compile.call(f.self,d,h,f):t.validate,m=l(c,u,g),y=c.let("valid");function v(n=(t.async?r._`await `:r.nil)){const a=f.opts.passContext?o.default.this:o.default.self,s=!("compile"in t&&!p||!1===t.schema);c.assign(y,r._`${n}${(0,i.callValidateCode)(e,m,a,s)}`,t.modifying)}function b(e){var n;c.if((0,r.not)(null!==(n=t.valid)&&void 0!==n?n:y),e)}e.block$data(y,(function(){if(!1===t.errors)v(),t.modifying&&s(e),b((()=>e.error()));else{const n=t.async?function(){const e=c.let("ruleErrs",null);return c.try((()=>v(r._`await `)),(t=>c.assign(y,!1).if(r._`${t} instanceof ${f.ValidationError}`,(()=>c.assign(e,r._`${t}.errors`)),(()=>c.throw(t))))),e}():function(){const e=r._`${m}.errors`;return c.assign(e,null),v(r.nil),e}();t.modifying&&s(e),b((()=>function(e,t){const{gen:n}=e;n.if(r._`Array.isArray(${t})`,(()=>{n.assign(o.default.vErrors,r._`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`).assign(o.default.errors,r._`${o.default.vErrors}.length`),(0,a.extendErrors)(e)}),(()=>e.error()))}(e,n)))}})),e.ok(null!==(n=t.valid)&&void 0!==n?n:y)},t.validSchemaType=function(e,t,n=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||n&&void 0===e))},t.validateKeywordUsage=function({schema:e,opts:t,self:n,errSchemaPath:r},o,i){if(Array.isArray(o.keyword)?!o.keyword.includes(i):o.keyword!==i)throw new Error("ajv implementation error");const a=o.dependencies;if(null==a?void 0:a.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${i}: ${a.join(",")}`);if(o.validateSchema){if(!o.validateSchema(e[i])){const e=`keyword "${i}" value is invalid at path "${r}": `+n.errorsText(o.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);n.logger.error(e)}}}},93545:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const r=n(3939),o=n(125);t.getSubschema=function(e,{keyword:t,schemaProp:n,schema:i,schemaPath:a,errSchemaPath:s,topSchemaRef:l}){if(void 0!==t&&void 0!==i)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const i=e.schema[t];return void 0===n?{schema:i,schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:i[n],schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}${(0,r.getProperty)(n)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,o.escapeFragment)(n)}`}}if(void 0!==i){if(void 0===a||void 0===s||void 0===l)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:i,schemaPath:a,topSchemaRef:l,errSchemaPath:s}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:n,dataPropType:i,data:a,dataTypes:s,propertyName:l}){if(void 0!==a&&void 0!==n)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:c}=t;if(void 0!==n){const{errorPath:a,dataPathArr:s,opts:l}=t;u(c.let("data",r._`${t.data}${(0,r.getProperty)(n)}`,!0)),e.errorPath=r.str`${a}${(0,o.getErrorPath)(n,i,l.jsPropertySyntax)}`,e.parentDataProperty=r._`${n}`,e.dataPathArr=[...s,e.parentDataProperty]}if(void 0!==a){u(a instanceof r.Name?a:c.let("data",a,!0)),void 0!==l&&(e.propertyName=l)}function u(n){e.data=n,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,n]}s&&(e.dataTypes=s)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:r,createErrors:o,allErrors:i}){void 0!==r&&(e.compositeRule=r),void 0!==o&&(e.createErrors=o),void 0!==i&&(e.allErrors=i),e.jtdDiscriminator=t,e.jtdMetadata=n}},70396:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var r=n(59816);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return r.KeywordCxt}});var o=n(3939);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return o.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return o.CodeGen}});const i=n(53488),a=n(53977),s=n(5858),l=n(1069),c=n(3939),u=n(68145),d=n(26550),h=n(125),p=n(58759),f=n(8914),g=(e,t)=>new RegExp(e,t);g.code="new RegExp";const m=["removeAdditional","useDefaults","coerceTypes"],y=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),v={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},b={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function w(e){var t,n,r,o,i,a,s,l,c,u,d,h,p,m,y,v,b,w,A,x,S,C,E,k,T;const _=e.strict,O=null===(t=e.code)||void 0===t?void 0:t.optimize,P=!0===O||void 0===O?1:O||0,I=null!==(r=null===(n=e.code)||void 0===n?void 0:n.regExp)&&void 0!==r?r:g,M=null!==(o=e.uriResolver)&&void 0!==o?o:f.default;return{strictSchema:null===(a=null!==(i=e.strictSchema)&&void 0!==i?i:_)||void 0===a||a,strictNumbers:null===(l=null!==(s=e.strictNumbers)&&void 0!==s?s:_)||void 0===l||l,strictTypes:null!==(u=null!==(c=e.strictTypes)&&void 0!==c?c:_)&&void 0!==u?u:"log",strictTuples:null!==(h=null!==(d=e.strictTuples)&&void 0!==d?d:_)&&void 0!==h?h:"log",strictRequired:null!==(m=null!==(p=e.strictRequired)&&void 0!==p?p:_)&&void 0!==m&&m,code:e.code?{...e.code,optimize:P,regExp:I}:{optimize:P,regExp:I},loopRequired:null!==(y=e.loopRequired)&&void 0!==y?y:200,loopEnum:null!==(v=e.loopEnum)&&void 0!==v?v:200,meta:null===(b=e.meta)||void 0===b||b,messages:null===(w=e.messages)||void 0===w||w,inlineRefs:null===(A=e.inlineRefs)||void 0===A||A,schemaId:null!==(x=e.schemaId)&&void 0!==x?x:"$id",addUsedSchema:null===(S=e.addUsedSchema)||void 0===S||S,validateSchema:null===(C=e.validateSchema)||void 0===C||C,validateFormats:null===(E=e.validateFormats)||void 0===E||E,unicodeRegExp:null===(k=e.unicodeRegExp)||void 0===k||k,int32range:null===(T=e.int32range)||void 0===T||T,uriResolver:M}}class A{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...w(e)};const{es5:t,lines:n}=this.opts.code;this.scope=new c.ValueScope({scope:{},prefixes:y,es5:t,lines:n}),this.logger=function(e){if(!1===e)return _;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const r=e.validateFormats;e.validateFormats=!1,this.RULES=(0,s.getRules)(),x.call(this,v,e,"NOT SUPPORTED"),x.call(this,b,e,"DEPRECATED","warn"),this._metaOpts=T.call(this),e.formats&&E.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&k.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),C.call(this),e.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:n}=this.opts;let r=p;"id"===n&&(r={...p},r.id=r.$id,delete r.$id),t&&e&&this.addMetaSchema(r,r[n],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let n;if("string"==typeof e){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);const r=n(t);return"$async"in n||(this.errors=n.errors),r}compile(e,t){const n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:n}=this.opts;return r.call(this,e,t);async function r(e,t){await o.call(this,e.$schema);const n=this._addSchema(e,t);return n.validate||i.call(this,n)}async function o(e){e&&!this.getSchema(e)&&await r.call(this,{$ref:e},!0)}async function i(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof a.default))throw t;return s.call(this,t),await l.call(this,t.missingSchema),i.call(this,e)}}function s({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function l(e){const n=await c.call(this,e);this.refs[e]||await o.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function c(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,r=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,n,r);return this}let o;if("object"==typeof e){const{schemaId:t}=this.opts;if(o=e[t],void 0!==o&&"string"!=typeof o)throw new Error(`schema ${t} must be string`)}return t=(0,u.normalizeId)(t||o),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,r,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let n;if(n=e.$schema,void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const r=this.validate(n,e);if(!r&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return r}getSchema(e){let t;for(;"string"==typeof(t=S.call(this,e));)e=t;if(void 0===t){const{schemaId:n}=this.opts,r=new l.SchemaEnv({schema:{},schemaId:n});if(t=l.resolveSchema.call(this,r,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=S.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,u.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if("string"==typeof e)n=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(n=(t=e).keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(P.call(this,n,t),!t)return(0,h.eachItem)(n,(e=>I.call(this,e))),this;L.call(this,t);const r={...t,type:(0,d.getJSONTypes)(t.type),schemaType:(0,d.getJSONTypes)(t.schemaType)};return(0,h.eachItem)(n,0===r.type.length?e=>I.call(this,e,r):e=>r.type.forEach((t=>I.call(this,e,r,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const n of t.rules){const t=n.rules.findIndex((t=>t.keyword===e));t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return e&&0!==e.length?e.map((e=>`${n}${e.instancePath} ${e.message}`)).reduce(((e,n)=>e+t+n)):"No errors"}$dataMetaSchema(e,t){const n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const r of t){const t=r.split("/").slice(1);let o=e;for(const e of t)o=o[e];for(const e in n){const t=n[e];if("object"!=typeof t)continue;const{$data:r}=t.definition,i=o[e];r&&i&&(o[e]=j(i))}}return e}_removeAllSchemas(e,t){for(const n in e){const r=e[n];t&&!t.test(n)||("string"==typeof r?delete e[n]:r&&!r.meta&&(this._cache.delete(r.schema),delete e[n]))}}_addSchema(e,t,n,r=this.opts.validateSchema,o=this.opts.addUsedSchema){let i;const{schemaId:a}=this.opts;if("object"==typeof e)i=e[a];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let s=this._cache.get(e);if(void 0!==s)return s;n=(0,u.normalizeId)(i||n);const c=u.getSchemaRefs.call(this,e,n);return s=new l.SchemaEnv({schema:e,schemaId:a,meta:t,baseId:n,localRefs:c}),this._cache.set(s.schema,s),o&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=s),r&&this.validateSchema(e,!0),s}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):l.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{l.compileSchema.call(this,e)}finally{this.opts=t}}}function x(e,t,n,r="error"){for(const o in e){const i=o;i in t&&this.logger[r](`${n}: option ${o}. ${e[i]}`)}}function S(e){return e=(0,u.normalizeId)(e),this.schemas[e]||this.refs[e]}function C(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function E(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function k(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const n=e[t];n.keyword||(n.keyword=t),this.addKeyword(n)}}}function T(){const e={...this.opts};for(const t of m)delete e[t];return e}A.ValidationError=i.default,A.MissingRefError=a.default,t.default=A;const _={log(){},warn(){},error(){}};const O=/^[a-z_$][a-z0-9_$:-]*$/i;function P(e,t){const{RULES:n}=this;if((0,h.eachItem)(e,(e=>{if(n.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!O.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function I(e,t,n){var r;const o=null==t?void 0:t.post;if(n&&o)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:i}=this;let a=o?i.post:i.rules.find((({type:e})=>e===n));if(a||(a={type:n,rules:[]},i.rules.push(a)),i.keywords[e]=!0,!t)return;const s={keyword:e,definition:{...t,type:(0,d.getJSONTypes)(t.type),schemaType:(0,d.getJSONTypes)(t.schemaType)}};t.before?M.call(this,a,s,t.before):a.rules.push(s),i.all[e]=s,null===(r=t.implements)||void 0===r||r.forEach((e=>this.addKeyword(e)))}function M(e,t,n){const r=e.rules.findIndex((e=>e.keyword===n));r>=0?e.rules.splice(r,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function L(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=j(t)),e.validateSchema=this.compile(t,!0))}const R={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function j(e){return{anyOf:[e,R]}}},33440:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(92792);r.code='require("ajv/dist/runtime/equal").default',t.default=r},65483:(e,t)=>{"use strict";function n(e){const t=e.length;let n,r=0,o=0;for(;o=55296&&n<=56319&&o{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(21188);r.code='require("ajv/dist/runtime/uri").default',t.default=r},53488:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=n},82675:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const r=n(3939),o=n(125),i={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{parentSchema:t,it:n}=e,{items:r}=t;Array.isArray(r)?a(e,r):(0,o.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas')}};function a(e,t){const{gen:n,schema:i,data:a,keyword:s,it:l}=e;l.items=!0;const c=n.const("len",r._`${a}.length`);if(!1===i)e.setParams({len:t.length}),e.pass(r._`${c} <= ${t.length}`);else if("object"==typeof i&&!(0,o.alwaysValidSchema)(l,i)){const i=n.var("valid",r._`${c} <= ${t.length}`);n.if((0,r.not)(i),(()=>function(i){n.forRange("i",t.length,c,(t=>{e.subschema({keyword:s,dataProp:t,dataPropType:o.Type.Num},i),l.allErrors||n.if((0,r.not)(i),(()=>n.break()))}))}(i))),e.ok(i)}}t.validateAdditionalItems=a,t.default=i},40174:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(73859),o=n(3939),i=n(26597),a=n(125),s={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>o._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:n,parentSchema:s,data:l,errsCount:c,it:u}=e;if(!c)throw new Error("ajv implementation error");const{allErrors:d,opts:h}=u;if(u.props=!0,"all"!==h.removeAdditional&&(0,a.alwaysValidSchema)(u,n))return;const p=(0,r.allSchemaProperties)(s.properties),f=(0,r.allSchemaProperties)(s.patternProperties);function g(e){t.code(o._`delete ${l}[${e}]`)}function m(r){if("all"===h.removeAdditional||h.removeAdditional&&!1===n)g(r);else{if(!1===n)return e.setParams({additionalProperty:r}),e.error(),void(d||t.break());if("object"==typeof n&&!(0,a.alwaysValidSchema)(u,n)){const n=t.name("valid");"failing"===h.removeAdditional?(y(r,n,!1),t.if((0,o.not)(n),(()=>{e.reset(),g(r)}))):(y(r,n),d||t.if((0,o.not)(n),(()=>t.break())))}}}function y(t,n,r){const o={keyword:"additionalProperties",dataProp:t,dataPropType:a.Type.Str};!1===r&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(o,n)}t.forIn("key",l,(n=>{p.length||f.length?t.if(function(n){let i;if(p.length>8){const e=(0,a.schemaRefOrVal)(u,s.properties,"properties");i=(0,r.isOwnProperty)(t,e,n)}else i=p.length?(0,o.or)(...p.map((e=>o._`${n} === ${e}`))):o.nil;return f.length&&(i=(0,o.or)(i,...f.map((t=>o._`${(0,r.usePattern)(e,t)}.test(${n})`)))),(0,o.not)(i)}(n),(()=>m(n))):m(n)})),e.ok(o._`${c} === ${i.default.errors}`)}};t.default=s},68634:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(125),o={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:n,it:o}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");const i=t.name("valid");n.forEach(((t,n)=>{if((0,r.alwaysValidSchema)(o,t))return;const a=e.subschema({keyword:"allOf",schemaProp:n},i);e.ok(i),e.mergeEvaluated(a)}))}};t.default=o},77907:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:n(73859).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=r},90731:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3939),o=n(125),i={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?r.str`must contain at least ${e} valid item(s)`:r.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?r._`{minContains: ${e}}`:r._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:n,parentSchema:i,data:a,it:s}=e;let l,c;const{minContains:u,maxContains:d}=i;s.opts.next?(l=void 0===u?1:u,c=d):l=1;const h=t.const("len",r._`${a}.length`);if(e.setParams({min:l,max:c}),void 0===c&&0===l)return void(0,o.checkStrictMode)(s,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==c&&l>c)return(0,o.checkStrictMode)(s,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,o.alwaysValidSchema)(s,n)){let t=r._`${h} >= ${l}`;return void 0!==c&&(t=r._`${t} && ${h} <= ${c}`),void e.pass(t)}s.items=!0;const p=t.name("valid");function f(){const e=t.name("_valid"),n=t.let("count",0);g(e,(()=>t.if(e,(()=>function(e){t.code(r._`${e}++`),void 0===c?t.if(r._`${e} >= ${l}`,(()=>t.assign(p,!0).break())):(t.if(r._`${e} > ${c}`,(()=>t.assign(p,!1).break())),1===l?t.assign(p,!0):t.if(r._`${e} >= ${l}`,(()=>t.assign(p,!0))))}(n)))))}function g(n,r){t.forRange("i",0,h,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:o.Type.Num,compositeRule:!0},n),r()}))}void 0===c&&1===l?g(p,(()=>t.if(p,(()=>t.break())))):0===l?(t.let(p,!0),void 0!==c&&t.if(r._`${a}.length > 0`,f)):(t.let(p,!1),f()),e.result(p,(()=>e.reset()))}};t.default=i},38467:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const r=n(3939),o=n(125),i=n(73859);t.error={message:({params:{property:e,depsCount:t,deps:n}})=>{const o=1===t?"property":"properties";return r.str`must have ${o} ${n} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:n,missingProperty:o}})=>r._`{property: ${e}, + missingProperty: ${o}, depsCount: ${t}, - deps: ${n}}`};const a={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,n]=function({schema:e}){const t={},n={};for(const r in e){if("__proto__"===r)continue;(Array.isArray(e[r])?t:n)[r]=e[r]}return[t,n]}(e);s(e,t),l(e,n)}};function s(e,t=e.schema){const{gen:n,data:i,it:a}=e;if(0===Object.keys(t).length)return;const s=n.let("missing");for(const l in t){const c=t[l];if(0===c.length)continue;const u=(0,o.propertyInData)(n,i,l,a.opts.ownProperties);e.setParams({property:l,depsCount:c.length,deps:c.join(", ")}),a.allErrors?n.if(u,(()=>{for(const t of c)(0,o.checkReportMissingProp)(e,t)})):(n.if(r._`${u} && (${(0,o.checkMissingProp)(e,c,s)})`),(0,o.reportMissingProp)(e,s),n.else())}}function l(e,t=e.schema){const{gen:n,data:r,keyword:a,it:s}=e,l=n.name("valid");for(const c in t)(0,i.alwaysValidSchema)(s,t[c])||(n.if((0,o.propertyInData)(n,r,c,s.opts.ownProperties),(()=>{const t=e.subschema({keyword:a,schemaProp:c},l);e.mergeValidEvaluated(t,l)}),(()=>n.var(l,!0))),e.ok(l))}t.validatePropertyDeps=s,t.validateSchemaDeps=l,t.default=a},34617:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(29775),i=n(98057),o={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>r.str`must match "${e.ifClause}" schema`,params:({params:e})=>r._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:o}=e;void 0===n.then&&void 0===n.else&&(0,i.checkStrictMode)(o,'"if" without "then" and "else" is ignored');const s=a(o,"then"),l=a(o,"else");if(!s&&!l)return;const c=t.let("valid",!0),u=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},u);e.mergeEvaluated(t)}(),e.reset(),s&&l){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(u,d("then",n),d("else",n))}else s?t.if(u,d("then")):t.if((0,r.not)(u),d("else"));function d(n,i){return()=>{const o=e.subschema({keyword:n},u);t.assign(c,u),e.mergeValidEvaluated(o,c),i?t.assign(i,r._`${n}`):e.setParams({ifClause:n})}}e.pass(c,(()=>e.error(!0)))}};function a(e,t){const n=e.schema[t];return void 0!==n&&!(0,i.alwaysValidSchema)(e,n)}t.default=o},48368:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(48207),i=n(73048),o=n(86428),a=n(46588),s=n(51063),l=n(93919),c=n(53551),u=n(45674),d=n(1011),h=n(45127),p=n(20941),f=n(69727),g=n(64485),m=n(26238),y=n(34617),v=n(80264);t.default=function(e=!1){const t=[p.default,f.default,g.default,m.default,y.default,v.default,c.default,u.default,l.default,d.default,h.default];return e?t.push(i.default,a.default):t.push(r.default,o.default),t.push(s.default),t}},86428:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const r=n(29775),i=n(98057),o=n(75871),a={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return s(e,"additionalItems",t);n.items=!0,(0,i.alwaysValidSchema)(n,t)||e.ok((0,o.validateArray)(e))}};function s(e,t,n=e.schema){const{gen:o,parentSchema:a,data:s,keyword:l,it:c}=e;!function(e){const{opts:r,errSchemaPath:o}=c,a=n.length,s=a===e.minItems&&(a===e.maxItems||!1===e[t]);if(r.strictTuples&&!s){const e=`"${l}" is ${a}-tuple, but minItems or maxItems/${t} are not specified or different at path "${o}"`;(0,i.checkStrictMode)(c,e,r.strictTuples)}}(a),c.opts.unevaluated&&n.length&&!0!==c.items&&(c.items=i.mergeEvaluated.items(o,n.length,c.items));const u=o.name("valid"),d=o.const("len",r._`${s}.length`);n.forEach(((t,n)=>{(0,i.alwaysValidSchema)(c,t)||(o.if(r._`${d} > ${n}`,(()=>e.subschema({keyword:l,schemaProp:n,dataProp:n},u))),e.ok(u))}))}t.validateTuple=s,t.default=a},46588:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(29775),i=n(98057),o=n(75871),a=n(48207),s={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:n,it:r}=e,{prefixItems:s}=n;r.items=!0,(0,i.alwaysValidSchema)(r,t)||(s?(0,a.validateAdditionalItems)(e,s):e.ok((0,o.validateArray)(e)))}};t.default=s},20941:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(98057),i={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:i}=e;if((0,r.alwaysValidSchema)(i,n))return void e.fail();const o=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},o),e.failResult(o,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t.default=i},64485:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(29775),i=n(98057),o={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>r._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:n,parentSchema:o,it:a}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(a.opts.discriminator&&o.discriminator)return;const s=n,l=t.let("valid",!1),c=t.let("passing",null),u=t.name("_valid");e.setParams({passing:c}),t.block((function(){s.forEach(((n,o)=>{let s;(0,i.alwaysValidSchema)(a,n)?t.var(u,!0):s=e.subschema({keyword:"oneOf",schemaProp:o,compositeRule:!0},u),o>0&&t.if(r._`${u} && ${l}`).assign(l,!1).assign(c,r._`[${c}, ${o}]`).else(),t.if(u,(()=>{t.assign(l,!0),t.assign(c,o),s&&e.mergeEvaluated(s,r.Name)}))}))})),e.result(l,(()=>e.reset()),(()=>e.error(!0)))}};t.default=o},45127:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(75871),i=n(29775),o=n(98057),a=n(98057),s={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,data:s,parentSchema:l,it:c}=e,{opts:u}=c,d=(0,r.allSchemaProperties)(n),h=d.filter((e=>(0,o.alwaysValidSchema)(c,n[e])));if(0===d.length||h.length===d.length&&(!c.opts.unevaluated||!0===c.props))return;const p=u.strictSchema&&!u.allowMatchingProperties&&l.properties,f=t.name("valid");!0===c.props||c.props instanceof i.Name||(c.props=(0,a.evaluatedPropsToName)(t,c.props));const{props:g}=c;function m(e){for(const t in p)new RegExp(e).test(t)&&(0,o.checkStrictMode)(c,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function y(n){t.forIn("key",s,(o=>{t.if(i._`${(0,r.usePattern)(e,n)}.test(${o})`,(()=>{const r=h.includes(n);r||e.subschema({keyword:"patternProperties",schemaProp:n,dataProp:o,dataPropType:a.Type.Str},f),c.opts.unevaluated&&!0!==g?t.assign(i._`${g}[${o}]`,!0):r||c.allErrors||t.if((0,i.not)(f),(()=>t.break()))}))}))}!function(){for(const e of d)p&&m(e),c.allErrors?y(e):(t.var(f,!0),y(e),t.if(f))}()}};t.default=s},73048:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(86428),i={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,r.validateTuple)(e,"items")};t.default=i},1011:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(91716),i=n(75871),o=n(98057),a=n(45674),s={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:s,data:l,it:c}=e;"all"===c.opts.removeAdditional&&void 0===s.additionalProperties&&a.default.code(new r.KeywordCxt(c,a.default,"additionalProperties"));const u=(0,i.allSchemaProperties)(n);for(const e of u)c.definedProperties.add(e);c.opts.unevaluated&&u.length&&!0!==c.props&&(c.props=o.mergeEvaluated.props(t,(0,o.toHash)(u),c.props));const d=u.filter((e=>!(0,o.alwaysValidSchema)(c,n[e])));if(0===d.length)return;const h=t.name("valid");for(const n of d)p(n)?f(n):(t.if((0,i.propertyInData)(t,l,n,c.opts.ownProperties)),f(n),c.allErrors||t.else().var(h,!0),t.endIf()),e.it.definedProperties.add(n),e.ok(h);function p(e){return c.opts.useDefaults&&!c.compositeRule&&void 0!==n[e].default}function f(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},h)}}};t.default=s},53551:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(29775),i=n(98057),o={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>r._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:n,data:o,it:a}=e;if((0,i.alwaysValidSchema)(a,n))return;const s=t.name("valid");t.forIn("key",o,(n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},s),t.if((0,r.not)(s),(()=>{e.error(!0),a.allErrors||t.break()}))})),e.ok(s)}};t.default=o},80264:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(98057),i={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){void 0===t.if&&(0,r.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};t.default=i},75871:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const r=n(29775),i=n(98057),o=n(36009),a=n(98057);function s(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:r._`Object.prototype.hasOwnProperty`})}function l(e,t,n){return r._`${s(e)}.call(${t}, ${n})`}function c(e,t,n,i){const o=r._`${t}${(0,r.getProperty)(n)} === undefined`;return i?(0,r.or)(o,(0,r.not)(l(e,t,n))):o}function u(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}t.checkReportMissingProp=function(e,t){const{gen:n,data:i,it:o}=e;n.if(c(n,i,t,o.opts.ownProperties),(()=>{e.setParams({missingProperty:r._`${t}`},!0),e.error()}))},t.checkMissingProp=function({gen:e,data:t,it:{opts:n}},i,o){return(0,r.or)(...i.map((i=>(0,r.and)(c(e,t,i,n.ownProperties),r._`${o} = ${i}`))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=s,t.isOwnProperty=l,t.propertyInData=function(e,t,n,i){const o=r._`${t}${(0,r.getProperty)(n)} !== undefined`;return i?r._`${o} && ${l(e,t,n)}`:o},t.noPropertyInData=c,t.allSchemaProperties=u,t.schemaProperties=function(e,t){return u(t).filter((n=>!(0,i.alwaysValidSchema)(e,t[n])))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:n,topSchemaRef:i,schemaPath:a,errorPath:s},it:l},c,u,d){const h=d?r._`${e}, ${t}, ${i}${a}`:t,p=[[o.default.instancePath,(0,r.strConcat)(o.default.instancePath,s)],[o.default.parentData,l.parentData],[o.default.parentDataProperty,l.parentDataProperty],[o.default.rootData,o.default.rootData]];l.opts.dynamicRef&&p.push([o.default.dynamicAnchors,o.default.dynamicAnchors]);const f=r._`${h}, ${n.object(...p)}`;return u!==r.nil?r._`${c}.call(${u}, ${f})`:r._`${c}(${f})`};const d=r._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},n){const i=t.unicodeRegExp?"u":"",{regExp:o}=t.code,s=o(n,i);return e.scopeValue("pattern",{key:s.toString(),ref:s,code:r._`${"new RegExp"===o.code?d:(0,a.useFunc)(e,o)}(${n}, ${i})`})},t.validateArray=function(e){const{gen:t,data:n,keyword:o,it:a}=e,s=t.name("valid");if(a.allErrors){const e=t.let("valid",!0);return l((()=>t.assign(e,!1))),e}return t.var(s,!0),l((()=>t.break())),s;function l(a){const l=t.const("len",r._`${n}.length`);t.forRange("i",0,l,(n=>{e.subschema({keyword:o,dataProp:n,dataPropType:i.Type.Num},s),t.if((0,r.not)(s),a)}))}},t.validateUnion=function(e){const{gen:t,schema:n,keyword:o,it:a}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(n.some((e=>(0,i.alwaysValidSchema)(a,e)))&&!a.opts.unevaluated)return;const s=t.let("valid",!1),l=t.name("_valid");t.block((()=>n.forEach(((n,i)=>{const a=e.subschema({keyword:o,schemaProp:i,compositeRule:!0},l);t.assign(s,r._`${s} || ${l}`);e.mergeValidEvaluated(a,l)||t.if((0,r.not)(s))})))),e.result(s,(()=>e.reset()),(()=>e.error(!0)))}},62733:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=n},69622:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(62733),i=n(30135),o=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",r.default,i.default];t.default=o},30135:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const r=n(79741),i=n(75871),o=n(29775),a=n(36009),s=n(14881),l=n(98057),c={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:n,it:i}=e,{baseId:a,schemaEnv:l,validateName:c,opts:h,self:p}=i,{root:f}=l;if(("#"===n||"#/"===n)&&a===f.baseId)return function(){if(l===f)return d(e,c,l,l.$async);const n=t.scopeValue("root",{ref:f});return d(e,o._`${n}.validate`,f,f.$async)}();const g=s.resolveRef.call(p,f,a,n);if(void 0===g)throw new r.default(i.opts.uriResolver,a,n);return g instanceof s.SchemaEnv?function(t){const n=u(e,t);d(e,n,t,t.$async)}(g):function(r){const i=t.scopeValue("schema",!0===h.code.source?{ref:r,code:(0,o.stringify)(r)}:{ref:r}),a=t.name("valid"),s=e.subschema({schema:r,dataTypes:[],schemaPath:o.nil,topSchemaRef:i,errSchemaPath:n},a);e.mergeEvaluated(s),e.ok(a)}(g)}};function u(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):o._`${n.scopeValue("wrapper",{ref:t})}.validate`}function d(e,t,n,r){const{gen:s,it:c}=e,{allErrors:u,schemaEnv:d,opts:h}=c,p=h.passContext?a.default.this:o.nil;function f(e){const t=o._`${e}.errors`;s.assign(a.default.vErrors,o._`${a.default.vErrors} === null ? ${t} : ${a.default.vErrors}.concat(${t})`),s.assign(a.default.errors,o._`${a.default.vErrors}.length`)}function g(e){var t;if(!c.opts.unevaluated)return;const r=null===(t=null==n?void 0:n.validate)||void 0===t?void 0:t.evaluated;if(!0!==c.props)if(r&&!r.dynamicProps)void 0!==r.props&&(c.props=l.mergeEvaluated.props(s,r.props,c.props));else{const t=s.var("props",o._`${e}.evaluated.props`);c.props=l.mergeEvaluated.props(s,t,c.props,o.Name)}if(!0!==c.items)if(r&&!r.dynamicItems)void 0!==r.items&&(c.items=l.mergeEvaluated.items(s,r.items,c.items));else{const t=s.var("items",o._`${e}.evaluated.items`);c.items=l.mergeEvaluated.items(s,t,c.items,o.Name)}}r?function(){if(!d.$async)throw new Error("async schema referenced by sync schema");const n=s.let("valid");s.try((()=>{s.code(o._`await ${(0,i.callValidateCode)(e,t,p)}`),g(t),u||s.assign(n,!0)}),(e=>{s.if(o._`!(${e} instanceof ${c.ValidationError})`,(()=>s.throw(e))),f(e),u||s.assign(n,!1)})),e.ok(n)}():e.result((0,i.callValidateCode)(e,t,p),(()=>g(t)),(()=>f(t)))}t.getValidate=u,t.callRef=d,t.default=c},74235:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(29775),i=n(74618),o=n(14881),a=n(79741),s=n(98057),l={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===i.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>r._`{error: ${e}, tag: ${n}, tagValue: ${t}}`},code(e){const{gen:t,data:n,schema:l,parentSchema:c,it:u}=e,{oneOf:d}=c;if(!u.opts.discriminator)throw new Error("discriminator: requires discriminator option");const h=l.propertyName;if("string"!=typeof h)throw new Error("discriminator: requires propertyName");if(l.mapping)throw new Error("discriminator: mapping is not supported");if(!d)throw new Error("discriminator: requires oneOf keyword");const p=t.let("valid",!1),f=t.const("tag",r._`${n}${(0,r.getProperty)(h)}`);function g(n){const i=t.name("valid"),o=e.subschema({keyword:"oneOf",schemaProp:n},i);return e.mergeEvaluated(o,r.Name),i}t.if(r._`typeof ${f} == "string"`,(()=>function(){const n=function(){var e;const t={},n=i(c);let r=!0;for(let t=0;te.error(!1,{discrError:i.DiscrError.Tag,tag:f,tagName:h}))),e.ok(p)}};t.default=l},74618:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(n||(t.DiscrError=n={}))},36590:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(69622),i=n(1722),o=n(48368),a=n(93922),s=n(71123),l=[r.default,i.default,(0,o.default)(),a.default,s.metadataVocabulary,s.contentVocabulary];t.default=l},13843:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(29775),i={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>r.str`must match format "${e}"`,params:({schemaCode:e})=>r._`{format: ${e}}`},code(e,t){const{gen:n,data:i,$data:o,schema:a,schemaCode:s,it:l}=e,{opts:c,errSchemaPath:u,schemaEnv:d,self:h}=l;c.validateFormats&&(o?function(){const o=n.scopeValue("formats",{ref:h.formats,code:c.code.formats}),a=n.const("fDef",r._`${o}[${s}]`),l=n.let("fType"),u=n.let("format");n.if(r._`typeof ${a} == "object" && !(${a} instanceof RegExp)`,(()=>n.assign(l,r._`${a}.type || "string"`).assign(u,r._`${a}.validate`)),(()=>n.assign(l,r._`"string"`).assign(u,a))),e.fail$data((0,r.or)(!1===c.strictSchema?r.nil:r._`${s} && !${u}`,function(){const e=d.$async?r._`(${a}.async ? await ${u}(${i}) : ${u}(${i}))`:r._`${u}(${i})`,n=r._`(typeof ${u} == "function" ? ${e} : ${u}.test(${i}))`;return r._`${u} && ${u} !== true && ${l} === ${t} && !${n}`}()))}():function(){const o=h.formats[a];if(!o)return void function(){if(!1===c.strictSchema)return void h.logger.warn(e());throw new Error(e());function e(){return`unknown format "${a}" ignored in schema at path "${u}"`}}();if(!0===o)return;const[s,l,p]=function(e){const t=e instanceof RegExp?(0,r.regexpCode)(e):c.code.formats?r._`${c.code.formats}${(0,r.getProperty)(a)}`:void 0,i=n.scopeValue("formats",{key:a,ref:e,code:t});if("object"==typeof e&&!(e instanceof RegExp))return[e.type||"string",e.validate,r._`${i}.validate`];return["string",e,i]}(o);s===t&&e.pass(function(){if("object"==typeof o&&!(o instanceof RegExp)&&o.async){if(!d.$async)throw new Error("async format in sync schema");return r._`await ${p}(${i})`}return"function"==typeof l?r._`${p}(${i})`:r._`${p}.test(${i})`}())}())}};t.default=i},93922:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=[n(13843).default];t.default=r},71123:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},11169:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(29775),i=n(98057),o=n(3948),a={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>r._`{allowedValue: ${e}}`},code(e){const{gen:t,data:n,$data:a,schemaCode:s,schema:l}=e;a||l&&"object"==typeof l?e.fail$data(r._`!${(0,i.useFunc)(t,o.default)}(${n}, ${s})`):e.fail(r._`${l} !== ${n}`)}};t.default=a},55045:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(29775),i=n(98057),o=n(3948),a={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>r._`{allowedValues: ${e}}`},code(e){const{gen:t,data:n,$data:a,schema:s,schemaCode:l,it:c}=e;if(!a&&0===s.length)throw new Error("enum must have non-empty array");const u=s.length>=c.opts.loopEnum;let d;const h=()=>null!=d?d:d=(0,i.useFunc)(t,o.default);let p;if(u||a)p=t.let("valid"),e.block$data(p,(function(){t.assign(p,!1),t.forOf("v",l,(e=>t.if(r._`${h()}(${n}, ${e})`,(()=>t.assign(p,!0).break()))))}));else{if(!Array.isArray(s))throw new Error("ajv implementation error");const e=t.const("vSchema",l);p=(0,r.or)(...s.map(((t,i)=>function(e,t){const i=s[t];return"object"==typeof i&&null!==i?r._`${h()}(${n}, ${e}[${t}])`:r._`${n} === ${i}`}(e,i))))}e.pass(p)}};t.default=a},1722:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(48664),i=n(60573),o=n(53197),a=n(86992),s=n(96088),l=n(15825),c=n(76405),u=n(8083),d=n(11169),h=n(55045),p=[r.default,i.default,o.default,a.default,s.default,l.default,c.default,u.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,h.default];t.default=p},76405:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(29775),i={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxItems"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:i}=e,o="maxItems"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`${n}.length ${o} ${i}`)}};t.default=i},53197:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(29775),i=n(98057),o=n(32615),a={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxLength"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} characters`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:a,it:s}=e,l="maxLength"===t?r.operators.GT:r.operators.LT,c=!1===s.opts.unicode?r._`${n}.length`:r._`${(0,i.useFunc)(e.gen,o.default)}(${n})`;e.fail$data(r._`${c} ${l} ${a}`)}};t.default=a},48664:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(29775),i=r.operators,o={maximum:{okStr:"<=",ok:i.LTE,fail:i.GT},minimum:{okStr:">=",ok:i.GTE,fail:i.LT},exclusiveMaximum:{okStr:"<",ok:i.LT,fail:i.GTE},exclusiveMinimum:{okStr:">",ok:i.GT,fail:i.LTE}},a={message:({keyword:e,schemaCode:t})=>r.str`must be ${o[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>r._`{comparison: ${o[e].okStr}, limit: ${t}}`},s={keyword:Object.keys(o),type:"number",schemaType:"number",$data:!0,error:a,code(e){const{keyword:t,data:n,schemaCode:i}=e;e.fail$data(r._`${n} ${o[t].fail} ${i} || isNaN(${n})`)}};t.default=s},96088:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(29775),i={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxProperties"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} properties`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:i}=e,o="maxProperties"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`Object.keys(${n}).length ${o} ${i}`)}};t.default=i},60573:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(29775),i={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>r.str`must be multiple of ${e}`,params:({schemaCode:e})=>r._`{multipleOf: ${e}}`},code(e){const{gen:t,data:n,schemaCode:i,it:o}=e,a=o.opts.multipleOfPrecision,s=t.let("res"),l=a?r._`Math.abs(Math.round(${s}) - ${s}) > 1e-${a}`:r._`${s} !== parseInt(${s})`;e.fail$data(r._`(${i} === 0 || (${s} = ${n}/${i}, ${l}))`)}};t.default=i},86992:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(75871),i=n(29775),o={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>i.str`must match pattern "${e}"`,params:({schemaCode:e})=>i._`{pattern: ${e}}`},code(e){const{data:t,$data:n,schema:o,schemaCode:a,it:s}=e,l=s.opts.unicodeRegExp?"u":"",c=n?i._`(new RegExp(${a}, ${l}))`:(0,r.usePattern)(e,o);e.fail$data(i._`!${c}.test(${t})`)}};t.default=o},15825:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(75871),i=n(29775),o=n(98057),a={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>i.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>i._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:n,schemaCode:a,data:s,$data:l,it:c}=e,{opts:u}=c;if(!l&&0===n.length)return;const d=n.length>=u.loopRequired;if(c.allErrors?function(){if(d||l)e.block$data(i.nil,h);else for(const t of n)(0,r.checkReportMissingProp)(e,t)}():function(){const o=t.let("missing");if(d||l){const n=t.let("valid",!0);e.block$data(n,(()=>function(n,o){e.setParams({missingProperty:n}),t.forOf(n,a,(()=>{t.assign(o,(0,r.propertyInData)(t,s,n,u.ownProperties)),t.if((0,i.not)(o),(()=>{e.error(),t.break()}))}),i.nil)}(o,n))),e.ok(n)}else t.if((0,r.checkMissingProp)(e,n,o)),(0,r.reportMissingProp)(e,o),t.else()}(),u.strictRequired){const t=e.parentSchema.properties,{definedProperties:r}=e.it;for(const e of n)if(void 0===(null==t?void 0:t[e])&&!r.has(e)){const t=`required property "${e}" is not defined at "${c.schemaEnv.baseId+c.errSchemaPath}" (strictRequired)`;(0,o.checkStrictMode)(c,t,c.opts.strictRequired)}}function h(){t.forOf("prop",a,(n=>{e.setParams({missingProperty:n}),t.if((0,r.noPropertyInData)(t,s,n,u.ownProperties),(()=>e.error()))}))}}};t.default=a},8083:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(42242),i=n(29775),o=n(98057),a=n(3948),s={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>i.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>i._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:n,$data:s,schema:l,parentSchema:c,schemaCode:u,it:d}=e;if(!s&&!l)return;const h=t.let("valid"),p=c.items?(0,r.getSchemaTypes)(c.items):[];function f(o,a){const s=t.name("item"),l=(0,r.checkDataTypes)(p,s,d.opts.strictNumbers,r.DataType.Wrong),c=t.const("indices",i._`{}`);t.for(i._`;${o}--;`,(()=>{t.let(s,i._`${n}[${o}]`),t.if(l,i._`continue`),p.length>1&&t.if(i._`typeof ${s} == "string"`,i._`${s} += "_"`),t.if(i._`typeof ${c}[${s}] == "number"`,(()=>{t.assign(a,i._`${c}[${s}]`),e.error(),t.assign(h,!1).break()})).code(i._`${c}[${s}] = ${o}`)}))}function g(r,s){const l=(0,o.useFunc)(t,a.default),c=t.name("outer");t.label(c).for(i._`;${r}--;`,(()=>t.for(i._`${s} = ${r}; ${s}--;`,(()=>t.if(i._`${l}(${n}[${r}], ${n}[${s}])`,(()=>{e.error(),t.assign(h,!1).break(c)}))))))}e.block$data(h,(function(){const r=t.let("i",i._`${n}.length`),o=t.let("j");e.setParams({i:r,j:o}),t.assign(h,!0),t.if(i._`${r} > 1`,(()=>(p.length>0&&!p.some((e=>"object"===e||"array"===e))?f:g)(r,o)))}),i._`${u} === false`),e.ok(h)}};t.default=s},82997:(e,t,n)=>{"use strict";n.d(t,{FU:()=>S,JE:()=>o,JF:()=>i,NA:()=>A,NF:()=>E,Nt:()=>w,OD:()=>m,Su:()=>c,VN:()=>x,Zr:()=>l,fW:()=>s,if:()=>f,ir:()=>d,mq:()=>b,nC:()=>v,ns:()=>h,oR:()=>a,qf:()=>p,t7:()=>C,wJ:()=>y,y5:()=>u});var r=n(82417),i="geoCore",o={VECTOR:"vector",VECTOR_TILE:"vector-tile",RASTER_TILE:"raster-tile",RASTER_IMAGE:"raster-image",GROUP:"group"},a={CSV:"CSV",ESRI_DYNAMIC:"esriDynamic",ESRI_FEATURE:"esriFeature",ESRI_IMAGE:"esriImage",IMAGE_STATIC:"imageStatic",GEOJSON:"GeoJSON",GEOPACKAGE:"GeoPackage",XYZ_TILES:"xyzTiles",VECTOR_TILES:"vectorTiles",OGC_FEATURE:"ogcFeature",WFS:"ogcWfs",WMS:"ogcWms"},s={CSV:"https://cgpv/schema#/definitions/VectorLayerEntryConfig",ESRI_DYNAMIC:"https://cgpv/schema#/definitions/EsriDynamicLayerEntryConfig",ESRI_FEATURE:"https://cgpv/schema#/definitions/EsriFeatureLayerEntryConfig",ESRI_IMAGE:"https://cgpv/schema#/definitions/EsriImageLayerEntryConfig",IMAGE_STATIC:"https://cgpv/schema#/definitions/ImageStaticLayerEntryConfig",GEOJSON:"https://cgpv/schema#/definitions/VectorLayerEntryConfig",GEOPACKAGE:"https://cgpv/schema#/definitions/VectorLayerEntryConfig",XYZ_TILES:"https://cgpv/schema#/definitions/TileLayerEntryConfig",VECTOR_TILES:"Thttps://cgpv/schema#/definitions/TileLayerEntryConfig",OGC_FEATURE:"https://cgpv/schema#/definitions/VectorLayerEntryConfig",WFS:"https://cgpv/schema#/definitions/VectorLayerEntryConfig",WMS:"https://cgpv/schema#/definitions/OgcWmsLayerEntryConfig"},l={CSV:"",ESRI_DYNAMIC:"https://cgpv/schema#/definitions/EsriDynamicLayerConfig",ESRI_FEATURE:"https://cgpv/schema#/definitions/EsriFeatureLayerConfig",ESRI_IMAGE:"",IMAGE_STATIC:"",GEOJSON:"",GEOPACKAGE:"",XYZ_TILES:"",VECTOR_TILES:"",OGC_FEATURE:"",WFS:"",WMS:"https://cgpv/schema#/definitions/WmsLayerConfig"},c="https://cgpv/schema#/definitions/MapFeatureConfig",u="https://cgpv/schema#/definitions/GroupLayerEntryConfig",d=["1.0"],h=["en","fr"],p=["dark","light","geo.ca"],f=[3978,3857],g=["transport","osm","simple","nogeom","shaded","imagery"],m={3857:g,3978:g},y={3857:[!0,!1],3978:[!0,!1]},v={3857:[!0,!1],3978:[!0,!1]},b={3857:{lat:[-90,90],long:[-180,180]},3978:{lat:[40,90],long:[-140,40]}},w={3857:[-170,35,-20,84],3978:[-135,25,-50,89]},x={3857:[-90,55],3978:[-90,60]},A=(0,r.K)({map:{basemapOptions:{basemapId:"transport",shaded:!0,labeled:!0},interaction:"dynamic",listOfGeoviewLayerConfig:[],highlightColor:"black",overlayObjects:{pointMarkers:{}},viewSettings:{initialView:{zoomAndCenter:[3.5,x[3978]]},enableRotation:!0,rotation:0,minZoom:0,maxZoom:50,maxExtent:w[3978],projection:3978},extraOptions:{}},theme:"geo.ca",navBar:["zoom","fullscreen","home","basemap-select"],footerBar:{tabs:{core:["legend","layers","details","data-table"],custom:[]},collapsed:!1},components:["north-arrow","overview-map"],appBar:{tabs:{core:["geolocator"]}},corePackages:[],overviewMap:{hideOnZoom:0},externalPackages:[],serviceUrls:{geocoreUrl:"https://geocore.api.geo.ca",geolocator:"https://geolocator.api.geo.ca?keys=geonames,nominatim,locate",proxyUrl:"https://maps.canada.ca/wmsproxy/ws/wmsproxy/executeFromProxy"},globalSettings:{canRemoveSublayers:!0},schemaVersionUsed:"1.0"}),S={controls:{highlight:!0,hover:!0,opacity:!0,query:!1,remove:!0,table:!0,visibility:!0,zoom:!0},states:{visible:!0,opacity:1,hoverable:!0,queryable:!1}},C=["geolocator","aoi-panel","legend","layers","details","data-table","basemap-panel","guide"],E={GEOLOCATOR:"geolocator",EXPORT:"export",GUIDE:"guide",DETAILS:"details",LEGEND:"legend",DATA_TABLE:"data-table",LAYERS:"layers"}},82417:(e,t,n)=>{"use strict";n.d(t,{K:()=>i,N:()=>o});var r=n(43004);function i(e){return e}function o(e){if(!(e instanceof Object)||e instanceof Array)throw new Error("Can't convert parameter to TypeJsonObject! typeof = ".concat((0,r.A)(e)));return e}},7507:(e,t,n)=>{"use strict";n.d(t,{F:()=>g});var r=n(74131),i=n(77156),o=n(36549),a=n(80085),s=n(53732),l=n.n(s),c=n(37745),u=n(6335),d=n(72459);function h(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function p(e,t){return e.get(function(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}(e,t))}var f=new WeakMap,g=function(){return(0,a.A)((function e(){(0,o.A)(this,e),h(this,f,[])}),[{key:"initialize",value:function(e){var t,n=this.onInitialize(e);n&&(t=p(f,this)).push.apply(t,(0,i.A)(n))}},{key:"onInitialize",value:function(e){}},{key:"destroy",value:function(){this.onDestroy()}},{key:"onDestroy",value:function(){p(f,this).forEach((function(e){return e()}))}}],[{key:"getState",value:function(e){return(0,c.Ic)(e).getState()}},{key:"getStateAsync",value:(t=(0,r.A)(l().mark((function e(t){var n;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.gU)(t);case 2:return n=e.sent,e.abrupt("return",n.getState());case 4:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})},{key:"helperPropagateArrayStoreBatch",value:(e=(0,r.A)(l().mark((function e(t,n,r,i,o,a,s,c){var h,p,f;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u.vF.logTraceDetailed("propagateArrayStoreBatch",t,a),r[t]||(r[t]=[]),r[t].push(n),s&&(h=n.find((function(e){return e.layerPath===s}))),p=!1,h&&("processed"!==h.queryStatus&&"error"!==h.queryStatus||(p=!0,null==c||c(""))),p){e.next=9;break}return e.next=9,(0,d.delay)(i);case 9:r[t].length&&(f=r[t][r[t].length-1],o(f),r[t]=[]);case 10:case"end":return e.stop()}}),e)}))),function(t,n,r,i,o,a,s,l){return e.apply(this,arguments)})}]);var e,t}()},2938:(e,t,n)=>{"use strict";n.d(t,{K:()=>b});var r=n(74131),i=n(36549),o=n(80085),a=n(95174),s=n(54111),l=n(42450),c=n(43021),u=n(53732),d=n.n(u),h=n(7507),p=n(72459),f=n(19043),g=n(22557),m=n(6335);function y(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,v()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(v=function(){return!!e})()}var b=function(e){function t(){return(0,i.A)(this,t),y(this,t,arguments)}return(0,c.A)(t,e),(0,o.A)(t,null,[{key:"getAppState",value:function(e){return(0,s.A)((0,l.A)(t),"getState",this).call(this,e).appState}},{key:"getAppStateAsync",value:(u=(0,r.A)(d().mark((function e(n){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.A)((0,l.A)(t),"getStateAsync",this).call(this,n);case 2:return e.abrupt("return",e.sent.appState);case 3:case"end":return e.stop()}}),e,this)}))),function(e){return u.apply(this,arguments)})},{key:"getDisplayLanguage",value:function(e){return this.getAppState(e).displayLanguage}},{key:"getDisplayTheme",value:function(e){return this.getAppState(e).displayTheme}},{key:"addNotification",value:(a=(0,r.A)(d().mark((function e(t,n){var r,i,o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getAppStateAsync(t);case 2:r=e.sent,i=r.notifications,(o=i.find((function(e){return e.message===n.message&&e.notificationType===n.notificationType})))?o.count+=1:i.push({key:n.key,notificationType:n.notificationType,message:n.message,count:1}),this.getAppState(t).setterActions.setNotifications(i);case 7:case"end":return e.stop()}}),e,this)}))),function(e,t){return a.apply(this,arguments)})},{key:"removeNotification",value:function(e,t){var n=this.getAppState(e).notifications.filter((function(e){return e.key!==t}));this.getAppState(e).setterActions.setNotifications(n)}},{key:"removeAllNotifications",value:function(e){this.getAppState(e).setterActions.setNotifications([])}},{key:"setAppIsCrosshairActive",value:function(e,t){this.getAppState(e).setterActions.setCrosshairActive(t)}},{key:"setDisplayLanguage",value:function(e,n){this.getAppState(e).setterActions.setDisplayLanguage(n);var r=g.d.resetBasemap(e),i=t.setGuide(e);return Promise.all([r,i])}},{key:"setDisplayTheme",value:function(e,t){this.getAppState(e).setterActions.setDisplayTheme(t)}},{key:"setFullscreen",value:function(e,t,n){this.getAppState(e).setterActions.setFullScreenActive(t),void 0!==n&&f.F.setFullscreen(t,n)}},{key:"setCircularProgress",value:function(e,t){this.getAppState(e).setterActions.setCircularProgress(t)}},{key:"setGuide",value:(n=(0,r.A)(d().mark((function e(n){var r,i;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m.vF.logMarkerStart("map-guide"),r=t.getDisplayLanguage(n),e.next=4,(0,p.createGuideObject)(n,r,this.getAppState(n).geoviewAssetsURL);case 4:void 0!==(i=e.sent)&&this.getAppState(n).setterActions.setGuide(i),m.vF.logMarkerCheck("map-guide","for guide to be loaded");case 7:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})}]);var n,a,u}(h.F)},36:(e,t,n)=>{"use strict";n.d(t,{F:()=>v});var r=n(77156),i=n(24515),o=n(36549),a=n(80085),s=n(95174),l=n(54111),c=n(42450),u=n(43021),d=n(7507),h=n(6335),p=n(22557);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t=0&&(e.splice(r,1),n(e))}},68020:(e,t,n)=>{"use strict";n.d(t,{h:()=>y});var r,i=n(77156),o=n(36549),a=n(80085),s=n(95174),l=n(54111),c=n(42450),u=n(43021),d=n(6335),h=n(7507),p=n(12003);function f(e,t,n){return t=(0,c.A)(t),(0,s.A)(e,g()?Reflect.construct(t,n||[],(0,c.A)(e).constructor):t.apply(e,n))}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g=function(){return!!e})()}function m(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var y=function(e){function t(){return(0,o.A)(this,t),f(this,t,arguments)}return(0,u.A)(t,e),(0,a.A)(t,[{key:"onInitialize",value:function(e){return[e.subscribe((function(e){return e.detailsState.layerDataArray}),(function(n){d.vF.logTraceCoreStoreSubscription("FEATURE-INFO EVENT PROCESSOR - layerDataArray",n),b.call(t,e.getState().mapId,n).catch((function(e){d.vF.logPromiseFailed("propagateFeatureInfoToStoreBatch in layerDataArrayUpdateBatch subscribe in feature-info-event-processor",e)}))}))]}}],[{key:"getFeatureInfoState",value:function(e){return(0,l.A)((0,c.A)(t),"getState",this).call(this,e).detailsState}},{key:"deleteFeatureInfo",value:function(e,n){var r=this.getFeatureInfoState(e);m(t,this,v).call(this,r.layerDataArray,n,(function(e){r.setterActions.setLayerDataArray(e),d.vF.logInfo("Removed Feature Info in stores for layer path:",n)}))}},{key:"propagateFeatureInfoToStore",value:function(e,t,n){var r=this.getFeatureInfoState(e),o=(0,i.A)(r.layerDataArray);if(o.find((function(e){return e.layerPath===n.layerPath}))||o.push(n),"click"===t){var a=o.find((function(e){var t;return!(null===(t=e.features)||void 0===t||!t.length)}))||!1;r.setterActions.setLayerDataArray(o),a&&(["details","geochart"].includes(p.d.getActiveFooterBarTab(e))||p.d.setActiveFooterBarTab(e,"details"),p.d.getAppBarComponents(e).includes("details")&&p.d.setActiveAppBarTab(e,"AppbarPanelButtonDetails","details",!0))}else"name"===t&&r.setterActions.setLayerDataArray(o);return Promise.resolve()}}])}(h.F);function v(e,t,n){var r=e.findIndex((function(e){return e.layerPath===t}));r>=0&&(e.splice(r,1),n(e))}function b(e,t){var n=this.getFeatureInfoState(e);return this.helperPropagateArrayStoreBatch(e,t,m(r,this,w)._,m(r,this,x)._,n.setterActions.setLayerDataArrayBatch,"feature-info-processor",n.layerDataArrayBatchLayerPathBypass,n.setterActions.setLayerDataArrayBatchLayerPathBypass)}r=y;var w={_:{}},x={_:1e3}},2210:(e,t,n)=>{"use strict";n.d(t,{U:()=>b});var r,i=n(24515),o=n(36549),a=n(80085),s=n(95174),l=n(54111),c=n(42450),u=n(43021),d=n(6335),h=n(7507),p=n(12003);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t{"use strict";n.d(t,{K:()=>x});var r,i=n(888),o=n(36549),a=n(80085),s=n(95174),l=n(54111),c=n(42450),u=n(43021),d=n(32875),h=n(71396),p=n(72459),f=n(7507),g=n(9374),m=n(2938),y=n(22557);function v(e,t,n){return t=(0,c.A)(t),(0,s.A)(e,b()?Reflect.construct(t,n||[],(0,c.A)(e).constructor):t.apply(e,n))}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(b=function(){return!!e})()}function w(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var x=function(e){function t(){return(0,o.A)(this,t),v(this,t,arguments)}return(0,u.A)(t,e),(0,a.A)(t,null,[{key:"getLayerState",value:function(e){return(0,l.A)((0,c.A)(t),"getState",this).call(this,e).layerState}},{key:"setSelectedLayersTabLayer",value:function(e,t){this.getLayerState(e).setterActions.setSelectedLayerPath(t)}},{key:"getLayerPanelState",value:function(e,t){return this.getLayerState(e)[t]}},{key:"getLegendLayerInfo",value:function(e,n){var r=t.getLayerState(e).legendLayers;return this.findLayerByPath(r,n)}},{key:"getLayerBounds",value:function(e,n){var r,i=t.getLayerState(e).legendLayers,o=this.findLayerByPath(i,n);if(o&&(!o.bounds||null!==(r=o.bounds)&&void 0!==r&&r.includes(1/0))){var a=y.d.getMapViewerLayerAPI(e).calculateBounds(n);!a||a.includes(1/0)&&o.bounds||(o.bounds=a,this.getLayerState(e).setterActions.setLegendLayers(i))}if(o&&o.bounds)return o.bounds}},{key:"setLayerBounds",value:function(e,n,r){var i=t.getLayerState(e).legendLayers,o=this.findLayerByPath(i,n);o&&(o.bounds=r,this.getLayerState(e).setterActions.setLegendLayers(i))}},{key:"getExtentFromFeatures",value:function(e,t,n){var r;return null===(r=y.d.getMapViewerLayerAPI(e).getGeoviewLayerHybrid(t))||void 0===r?void 0:r.getExtentFromFeatures(t,n)}},{key:"getLayerIconImage",value:function(e){var t=[];if(e){if((0,d.XY)(e)||(0,d.Bq)(e)){var n={iconType:"simple"};e.legend?n.iconImage=e.legend.toDataURL():e.styles&&e.styles[0].legend?n.iconImage=e.styles[0].legend.toDataURL():n.iconImage="no data",t.push(n)}else null===e.legend||0===Object.keys(e.legend).length?t[0]={iconImage:"no data"}:(0,d.FB)(e)&&Object.entries(e.legend).forEach((function(n){var r=(0,i.A)(n,2),o=r[0],a=r[1],s=o,l=e.styleConfig[s],c={};if(c.geometryType=s,(0,g.s0)(l)){c.iconType="simple",c.iconImage=a.defaultCanvas.toDataURL(),c.name=l.label;var u={geometryType:s,icon:c.iconImage,name:c.name,isVisible:!0};c.iconList=[u],t.push(c)}else{var d;if(c.iconType="list",(0,g.$h)(l)){if(c.iconList=a.arrayOfCanvas.map((function(e,t){return{geometryType:s,icon:e?e.toDataURL():null,name:l.classBreakStyleInfo[t].label,isVisible:l.classBreakStyleInfo[t].visible}})),a.defaultCanvas){var h={geometryType:s,icon:a.defaultCanvas.toDataURL(),name:l.defaultLabel,isVisible:l.defaultVisible};c.iconList.push(h)}}else if((0,g.IG)(l)&&(c.iconList=a.arrayOfCanvas.map((function(e,t){return{geometryType:s,icon:e?e.toDataURL():null,name:l.uniqueValueStyleInfo[t].label,isVisible:!1!==l.uniqueValueStyleInfo[t].visible}})),a.defaultCanvas)){var p={geometryType:s,icon:a.defaultCanvas.toDataURL(),name:l.defaultLabel,isVisible:l.defaultVisible};c.iconList.push(p)}null!==(d=c.iconList)&&void 0!==d&&d.length&&(c.iconImage=c.iconList[0].icon),c.iconList&&c.iconList.length>1&&(c.iconImageStacked=c.iconList[1].icon),t.push(c)}}));return t}}},{key:"propagateLegendToStore",value:function(e,n){var r=n.layerPath.split("/"),i=function(t){var n,r,i,o,a,s,l,c,u,d,h,p,f,g,m,v,b,w=!(arguments.length>1&&void 0!==arguments[1]&&arguments[1])||!1!==(null===(n=y.d.getGeoViewMapConfig(e))||void 0===n||null===(n=n.globalSettings)||void 0===n?void 0:n.canRemoveSublayers);return{highlight:void 0===(null===(r=t.initialSettings)||void 0===r||null===(r=r.controls)||void 0===r?void 0:r.highlight)||(null===(i=t.initialSettings)||void 0===i||null===(i=i.controls)||void 0===i?void 0:i.highlight),hover:void 0===(null===(o=t.initialSettings)||void 0===o||null===(o=o.controls)||void 0===o?void 0:o.hover)||(null===(a=t.initialSettings)||void 0===a||null===(a=a.controls)||void 0===a?void 0:a.hover),opacity:void 0===(null===(s=t.initialSettings)||void 0===s||null===(s=s.controls)||void 0===s?void 0:s.opacity)||(null===(l=t.initialSettings)||void 0===l||null===(l=l.controls)||void 0===l?void 0:l.opacity),query:void 0===(null===(c=t.initialSettings)||void 0===c||null===(c=c.controls)||void 0===c?void 0:c.query)||(null===(u=t.initialSettings)||void 0===u||null===(u=u.controls)||void 0===u?void 0:u.query),remove:void 0!==(null===(d=t.initialSettings)||void 0===d||null===(d=d.controls)||void 0===d?void 0:d.remove)?null===(h=t.initialSettings)||void 0===h||null===(h=h.controls)||void 0===h?void 0:h.remove:w,table:void 0===(null===(p=t.initialSettings)||void 0===p||null===(p=p.controls)||void 0===p?void 0:p.table)||(null===(f=t.initialSettings)||void 0===f||null===(f=f.controls)||void 0===f?void 0:f.table),visibility:void 0===(null===(g=t.initialSettings)||void 0===g||null===(g=g.controls)||void 0===g?void 0:g.visibility)||(null===(m=t.initialSettings)||void 0===m||null===(m=m.controls)||void 0===m?void 0:m.visibility),zoom:void 0===(null===(v=t.initialSettings)||void 0===v||null===(v=v.controls)||void 0===v?void 0:v.zoom)||(null===(b=t.initialSettings)||void 0===b||null===(b=b.controls)||void 0===b?void 0:b.zoom)}},o=this.getLayerState(e).legendLayers;!function o(a,s){if(!(r.length2);if(-1===v){var x,A,S={bounds:b,controls:w,layerId:c.layerId,layerPath:l,layerName:f,layerStatus:n.layerStatus,legendQueryStatus:n.legendQueryStatus,type:c.entryType,canToggle:(null===(x=n.data)||void 0===x?void 0:x.type)!==d.y6.ESRI_IMAGE,opacity:null!==(A=c.initialSettings)&&void 0!==A&&null!==(A=A.states)&&void 0!==A&&A.opacity?c.initialSettings.states.opacity:1,icons:[],items:[],children:[]};s.push(S),v=s.length-1}else s[v].layerStatus=c.layerStatus,s[v].layerName=f,s[v].bounds=b;o(a+1,s[v].children)}else{var C,E,k,T,_;"loaded"===c.layerStatus&&(_=y.d.getMapViewerLayerAPI(e).calculateBounds(c.layerPath));var O={bounds:_,controls:i(c,a>2),layerId:r[a-1],layerPath:l,layerAttribution:null==u?void 0:u.getAttributions(),layerName:f,layerStatus:n.layerStatus,legendQueryStatus:n.legendQueryStatus,styleConfig:null===(C=n.data)||void 0===C?void 0:C.styleConfig,type:(null===(E=n.data)||void 0===E?void 0:E.type)||c.entryType,canToggle:(null===(k=n.data)||void 0===k?void 0:k.type)!==d.y6.ESRI_IMAGE,opacity:(null===(T=c.initialSettings)||void 0===T||null===(T=T.states)||void 0===T?void 0:T.opacity)||1,items:[],children:[],icons:t.getLayerIconImage(n.data)||[]};O.icons.forEach((function(e){e.iconList&&e.iconList.forEach((function(e){O.items.push(e)}))})),-1===v?s.push(O):s[v]=O}}}}(2,o),this.getLayerState(e).setterActions.setLegendLayers(o)}},{key:"setHighlightLayer",value:function(e,t){var n=this.getLayerState(e).highlightedLayer,r=y.d.changeOrRemoveLayerHighlight(e,t,n);this.getLayerState(e).setterActions.setHighlightLayer(r)}},{key:"findLayerByPath",value:function(e,n){var r;return e.forEach((function(e){var i;if(n===e.layerPath&&(r=e),null!=n&&n.startsWith(e.layerPath)&&(null===(i=e.children)||void 0===i?void 0:i.length)>0){var o=t.findLayerByPath(e.children,n);o&&(r=o)}})),r}},{key:"deleteLayerFromLegendLayers",value:function(e,n){var r=this.getLayerState(e).legendLayers;A.call(t,e,r,n)}},{key:"deleteLayer",value:function(e,t){y.d.getMapViewerLayerAPI(e).removeLayerUsingPath(t)}},{key:"refreshLayer",value:function(e,n){var r,i,o=this,a=y.d.getMapViewerLayerAPI(e).getOLLayer(n);a&&y.d.getMapViewerLayerAPI(e).refreshBaseLayer(a);var s=y.d.getMapViewerLayerAPI(e).getLayerEntryConfig(n);s&&(0,g.KD)(s)&&s.listOfLayerEntryConfig.forEach((function(t){return o.refreshLayer(e,t.layerPath)}));var l=(null==s||null===(r=s.initialSettings.states)||void 0===r?void 0:r.opacity)||1,c=(null==s||null===(i=s.initialSettings.states)||void 0===i?void 0:i.visible)||!0;t.setLayerOpacity(e,n,l),y.d.setOrToggleMapLayerVisibility(e,n,c),c&&t.setAllItemsVisibility(e,n,c)}},{key:"setItemVisibility",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.getLayerState(e).legendLayers;t.isVisible=n,this.getLayerState(e).setterActions.setLegendLayers(r)}},{key:"toggleItemVisibility",value:function(e,t,n){y.d.getMapViewerLayerAPI(e).setItemVisibility(t,n,!n.isVisible)}},{key:"setAllItemsVisibility",value:function(e,t,n){y.d.setOrToggleMapLayerVisibility(e,t,!0);var r=this.getLayerState(e).legendLayers,i=this.findLayerByPath(r,t);i&&i.items.forEach((function(r){y.d.getMapViewerLayerAPI(e).setItemVisibility(t,r,n,!1),r.isVisible=n})),this.getLayerState(e).setterActions.setLegendLayers(r)}},{key:"setLayerOpacity",value:function(e,n,r){var i=this.getLayerState(e).legendLayers;w(t,this,S).call(this,e,i,n,r),this.getLayerState(e).setterActions.setLegendLayers(i)}}])}(f.F);function A(e,t,n){var i=t.findIndex((function(e){return e.layerPath===n}));i>=0?t.splice(i,1):t.forEach((function(t){t.children&&t.children.length>0&&A.call(r,e,t.children,n)}))}function S(e,t,n,i){var o,a=this,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=r.findLayerByPath(t,n);l&&(l.opacity=i,null===(o=y.d.getMapViewerLayerAPI(e).getGeoviewLayerHybrid(n))||void 0===o||o.setOpacity(i,n),s&&(l.opacityFromParent=i),l.children&&l.children.length>0&&l.children.forEach((function(n){w(r,a,S).call(a,e,t,n.layerPath,i,!0)})))}r=x},22557:(e,t,n)=>{"use strict";n.d(t,{d:()=>Y});var r=n(888),i=n(74131),o=n(77156),a=n(36549),s=n(80085),l=n(95174),c=n(42450),u=n(43021),d=n(24515),h=n(53732),p=n.n(h),f=n(71094),g=n(91874),m=n(42081);const y="units",v=[1,2,5],b=25.4/.28;class w extends f.A{constructor(e){e=e||{};const t=document.createElement("div");t.style.pointerEvents="none",super({element:t,render:e.render,target:e.target}),this.on,this.once,this.un;const n=void 0!==e.className?e.className:e.bar?"ol-scale-bar":"ol-scale-line";this.innerElement_=document.createElement("div"),this.innerElement_.className=n+"-inner",this.element.className=n+" "+g.XI,this.element.appendChild(this.innerElement_),this.viewState_=null,this.minWidth_=void 0!==e.minWidth?e.minWidth:64,this.maxWidth_=e.maxWidth,this.renderedVisible_=!1,this.renderedWidth_=void 0,this.renderedHTML_="",this.addChangeListener(y,this.handleUnitsChanged_),this.setUnits(e.units||"metric"),this.scaleBar_=e.bar||!1,this.scaleBarSteps_=e.steps||4,this.scaleBarText_=e.text||!1,this.dpi_=e.dpi||void 0}getUnits(){return this.get(y)}handleUnitsChanged_(){this.updateElement_()}setUnits(e){this.set(y,e)}setDpi(e){this.dpi_=e}updateElement_(){const e=this.viewState_;if(!e)return void(this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1));const t=e.center,n=e.projection,r=this.getUnits(),i="degrees"==r?"degrees":"m";let o=(0,m.hO)(n,e.resolution,t,i);const a=this.minWidth_*(this.dpi_||b)/b,s=void 0!==this.maxWidth_?this.maxWidth_*(this.dpi_||b)/b:void 0;let l=a*o,c="";if("degrees"==r){const e=m.Ig.degrees;l*=e,l=s){u=p,d=f,h=g;break}if(d>=a)break;p=u,f=d,g=h,++y}const w=this.scaleBar_?this.createScaleBar(d,u,c):u.toFixed(h<0?-h:0)+" "+c;this.renderedHTML_!=w&&(this.innerElement_.innerHTML=w,this.renderedHTML_=w),this.renderedWidth_!=d&&(this.innerElement_.style.width=d+"px",this.renderedWidth_=d),this.renderedVisible_||(this.element.style.display="",this.renderedVisible_=!0)}createScaleBar(e,t,n){const r=this.getScaleForResolution(),i=r<1?Math.round(1/r).toLocaleString()+" : 1":"1 : "+Math.round(r).toLocaleString(),o=this.scaleBarSteps_,a=e/o,s=[this.createMarker("absolute")];for(let r=0;r
`+this.createMarker("relative")+(r%2==0||2===o?this.createStepText(r,e,!1,t,n):"")+"
")}s.push(this.createStepText(o,e,!0,t,n));return(this.scaleBarText_?`
`+i+"
":"")+s.join("")}createMarker(e){return`
`}createStepText(e,t,n,r,i){const o=(0===e?0:Math.round(r/this.scaleBarSteps_*e*100)/100)+(0===e?"":" "+i);return`
`+o+"
"}getScaleForResolution(){return(0,m.hO)(this.viewState_.projection,this.viewState_.resolution,this.viewState_.center,"m")*(1e3/25.4)*(this.dpi_||b)}render(e){const t=e.frameState;this.viewState_=t?t.viewState:null,this.updateElement_()}}const x=w;var A,S=n(80293),C=n(93626),E=n(82997),k=n(24046),T=n(35167),_=n(32875),O=n(84044),P=n(37745),I=n(22935),M=n(6335),L=n(72459),R=n(2938),j=n(7507),F=n(36),D=n(86124),N=n(12003),B=n(23620),z=n(48448),V=n(54211),$=n(6976),G=n(11865);function U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function W(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:I.Xl;this.getMapViewer(e).map.getView().animate({zoom:t,duration:n})}},{key:"getMapOrderedLayerInfo",value:function(e){return this.getMapStateProtected(e).orderedLayerInfo}},{key:"getMapOrderedLayerInfoForLayer",value:function(e,t){return this.getMapStateProtected(e).orderedLayerInfo.find((function(e){return e.layerPath===t}))}},{key:"getMapIndexFromOrderedLayerInfo",value:function(e,t){for(var n=this.getMapStateProtected(e).orderedLayerInfo,r=0;r2&&void 0!==arguments[2]?arguments[2]:{padding:I.MK,maxZoom:I.Wj,duration:I.Xl};if(!t.some((function(e){return!e||Number.isNaN(e)})))return this.getMapViewer(e).getView().fit(t,n),new Promise((function(e){setTimeout((function(){e()}),(n.duration||I.Xl)+150)}));throw new Error("Couldn't zoom to extent, invalid extent: ".concat(t))}},{key:"zoomToGeoLocatorLocation",value:(n=(0,i.A)(p().mark((function e(t,n,r){var i,a,s,l,c,u,d,h,f;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(i=document.getElementsByClassName("ol-overviewmap-box"),a=0;a{"use strict";n.d(t,{Z:()=>p});var r=n(77156),i=n(36549),o=n(80085),a=n(95174),s=n(54111),l=n(42450),c=n(43021),u=n(6335);function d(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,h()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var p=function(e){function t(){return(0,i.A)(this,t),d(this,t,arguments)}return(0,c.A)(t,e),(0,o.A)(t,null,[{key:"getSwiperState",value:function(e){return(0,s.A)((0,l.A)(t),"getState",this).call(this,e).swiperState}},{key:"getLayerPaths",value:function(e){var t;return null===(t=this.getSwiperState(e))||void 0===t?void 0:t.layerPaths}},{key:"setLayerPaths",value:function(e,t){var n;null===(n=this.getSwiperState(e))||void 0===n||n.setterActions.setLayerPaths(t),u.vF.logInfo("Added Swiper functionality for layer paths:",t)}},{key:"addLayerPath",value:function(e,t){var n;if(this.getSwiperState(e)&&null!==(n=this.getSwiperState(e))&&void 0!==n&&n.layerPaths)if(this.getSwiperState(e).layerPaths.includes(t))u.vF.logInfo("Swiper functionality already active for layer path:",t);else{var i=(0,r.A)(this.getSwiperState(e).layerPaths);i.push(t),this.getSwiperState(e).setterActions.setLayerPaths(i),u.vF.logInfo("Added Swiper functionality for layer path:",t)}}},{key:"removeLayerPath",value:function(e,t){var n;if(this.getSwiperState(e)&&null!==(n=this.getSwiperState(e))&&void 0!==n&&n.layerPaths){var i=this.getSwiperState(e).layerPaths.findIndex((function(e){return e===t}));if(void 0!==i&&i>=0){var o=(0,r.A)(this.getSwiperState(e).layerPaths);o.splice(i,1),this.getSwiperState(e).setterActions.setLayerPaths(o),u.vF.logInfo("Removed Swiper functionality for layer path:",t)}else u.vF.logInfo("Swiper functionality already inactive for layer path:",t)}}},{key:"removeAll",value:function(e){var t;if(this.getSwiperState(e)&&null!==(t=this.getSwiperState(e))&&void 0!==t&&t.layerPaths){var n=this.getSwiperState(e).layerPaths;this.getSwiperState(e).setterActions.setLayerPaths([]),u.vF.logInfo("Removed Swiper functionality for all layer paths",n)}}}])}(n(7507).F)},86124:(e,t,n)=>{"use strict";n.d(t,{t:()=>C});var r=n(24515),i=n(36549),o=n(80085),a=n(95174),s=n(54111),l=n(42450),c=n(43021),u=n(7507),d=n(72459),h=n(48448),p=n(9374),f=n(6976),g=n(2938),m=n(22557),y=n(12003),v=n(54211),b=n(11865);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t= date '").concat(new Date(a[0]).toISOString(),"'"),a.length>1&&(c+=" and ".concat(r," <= date '").concat(new Date(a[1]).toISOString(),"'"))):(c="".concat(r," >= date '").concat(new Date(o[0]).toISOString(),"'"),a.length>1&&(c+="and ".concat(r," <= date '").concat(new Date(o[1]).toISOString(),"'")));null===(s=this.getTimesliderState(e))||void 0===s||s.setterActions.setFiltering(t,i),null===(l=this.getTimesliderState(e))||void 0===l||l.setterActions.setValues(t,a),this.addOrUpdateSliderFilter(e,t,c),m.d.applyLayerFilters(e,t)}}])}(u.F);function E(e,t,n){var i;if(this.getTimesliderState(e)){var o=(0,r.A)({},t,n);null===(i=this.getTimesliderState(e))||void 0===i||i.setterActions.addTimeSliderLayer(o);var a=o[t],s=a.defaultValue,l=a.field,c=a.filtering,u=a.minAndMax,d=a.values;this.updateFilters(e,t,s,l,c,u,d),y.d.showTab(e,"time-slider")}}},12003:(e,t,n)=>{"use strict";n.d(t,{d:()=>h});var r=n(77156),i=n(36549),o=n(80085),a=n(95174),s=n(54111),l=n(42450),c=n(43021);function u(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,d()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}var h=function(e){function t(){return(0,i.A)(this,t),u(this,t,arguments)}return(0,c.A)(t,e),(0,o.A)(t,null,[{key:"getUIStateProtected",value:function(e){return(0,s.A)((0,l.A)(t),"getState",this).call(this,e).uiState}},{key:"getActiveFooterBarTab",value:function(e){return this.getUIStateProtected(e).activeFooterBarTabId}},{key:"getAppBarComponents",value:function(e){return this.getUIStateProtected(e).appBarComponents}},{key:"getCorePackageComponents",value:function(e){return this.getUIStateProtected(e).corePackagesComponents}},{key:"getFooterBarIsCollapsed",value:function(e){return this.getUIStateProtected(e).footerBarIsCollapsed}},{key:"hideTab",value:function(e,t){this.getUIStateProtected(e).hiddenTabs.includes(t)||this.getUIStateProtected(e).setterActions.setHiddenTabs([].concat((0,r.A)(this.getUIStateProtected(e).hiddenTabs),[t]))}},{key:"showTab",value:function(e,t){var n=this.getUIStateProtected(e).hiddenTabs,r=n.indexOf(t);-1!==r&&(n.splice(r,1),this.getUIStateProtected(e).setterActions.setHiddenTabs(n))}},{key:"setActiveFooterBarTab",value:function(e,t){this.getUIStateProtected(e).setterActions.setActiveFooterBarTab(t)}},{key:"setActiveAppBarTab",value:function(e,t,n,r){this.getUIStateProtected(e).setterActions.setActiveAppBarTab(t,n,r)}},{key:"getActiveAppBarTab",value:function(e){return this.getUIStateProtected(e).activeAppBarTab}},{key:"setFooterBarIsCollapsed",value:function(e,t){this.getUIStateProtected(e).setterActions.setFooterBarIsCollapsed(t)}}])}(n(7507).F)},75079:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(36549),i=n(80085),o=function(){return(0,i.A)((function e(){(0,r.A)(this,e)}),null,[{key:"emitEvent",value:function(e,t,n){return t.map((function(t){return t(e,n)}))}},{key:"onEvent",value:function(e,t){e.push(t)}},{key:"offEvent",value:function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}}])}()},26666:(e,t,n)=>{"use strict";n.d(t,{G:()=>s});var r=n(36549),i=n(80085),o=n(24515),a=n(6335),s=function(){return(0,i.A)((function e(t,n){(0,r.A)(this,e),(0,o.A)(this,"pluginId",void 0),(0,o.A)(this,"pluginProps",void 0),(0,o.A)(this,"configObj",void 0),(0,o.A)(this,"api",void 0),(0,o.A)(this,"react",void 0),(0,o.A)(this,"translate",void 0),(0,o.A)(this,"useTheme",void 0),this.pluginId=t,this.pluginProps=n}),[{key:"mapViewer",value:function(){return this.api.maps[this.pluginProps.mapId]}},{key:"displayLanguage",value:function(){var e;return(null===(e=this.translate)||void 0===e?void 0:e.getI18n().language)||"en"}},{key:"added",value:function(){var e;window.cgpv&&(a.vF.logInfo("Plugin ".concat(this.pluginId," loaded, adding it on map ").concat(this.pluginProps.mapId)),this.onAdd(),null===(e=this.onAdded)||void 0===e||e.call(this),a.vF.logInfo("Plugin ".concat(this.pluginId," loaded, and added to map ").concat(this.pluginProps.mapId)))}},{key:"removed",value:function(){var e;window.cgpv&&(a.vF.logInfo("Plugin ".concat(this.pluginId," being removed from map ").concat(this.pluginProps.mapId)),this.onRemove(),null===(e=this.onRemoved)||void 0===e||e.call(this),a.vF.logInfo("Plugin ".concat(this.pluginId," removed from map ").concat(this.pluginProps.mapId)))}}])}()},5805:(e,t,n)=>{"use strict";n.d(t,{k:()=>w});var r=n(43004),i=n(74131),o=n(36549),a=n(80085),s=n(24515),l=n(53732),c=n.n(l),u=n(30538),d=n(16301),h=n(43331),p=n(13679),f=n(87120),g=n.n(f),m=n(72459),y=n(24046),v=n(6335),b=n(22557),w=function(){function e(){(0,o.A)(this,e),(0,s.A)(this,"pluginsLoaded",!1)}return(0,a.A)(e,null,[{key:"loadScript",value:function(e){return new Promise((function(t,n){if(document.getElementById(e))(0,m.whenThisThen)((function(){var t;return null===(t=window.geoviewPlugins)||void 0===t?void 0:t[e]})).then((function(){t(window.geoviewPlugins[e])})).catch((function(e){n(e)}));else{var r=(0,m.getScriptAndAssetURL)(),i=document.createElement("script");i.src="".concat(r,"/corePackages/geoview-").concat(e,".js"),i.id=e,document.body.appendChild(i),i.onload=function(){t(window.geoviewPlugins[e])},i.onerror=function(){t(null)}}}))}},{key:"addPlugin",value:(l=(0,i.A)(c().mark((function e(t,n,i,o){var a,s,l,f,m,w,x,A,S,C,E,k,T,_,O;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b.d.getMapViewerPlugins(n);case 2:if((a=e.sent)[t]){e.next=34;break}if(s=null,i&&(s=new i(t,o)),!s){e.next=34;break}if(l={},!s.schema||!s.defaultConfig){e.next=30;break}if(m=s.schema(),w=s.defaultConfig(),x=new(g())({strict:!1,allErrors:!0}),A=x.compile(m),l=w,!(S=null===(f=document.getElementById(n))||void 0===f?void 0:f.getAttribute("data-config-url"))){e.next=28;break}return C="".concat(S.split(".json")[0],"-").concat(t,".json"),e.prev=17,e.next=20,fetch(C);case 20:return e.next=22,e.sent.json();case 22:(E=e.sent)&&(l=E),e.next=28;break;case 26:e.prev=26,e.t0=e.catch(17);case 28:if(!A(l)&&A.errors&&A.errors.length)for(k=0;k{"use strict";n.d(t,{FHQ:()=>kr,Mhq:()=>Ge.getScriptAndAssetURL,WDX:()=>jr,d1f:()=>_r});var r=n(74131),i=n(53732),o=n.n(i),a=n(30538),s=n(17004),l=n(49731),c=n(13679),u=n(21294),d=n.n(u),h=n(36519),p=n.n(h),f=n(85645),g=n.n(f),m=n(6046),y=n.n(m),v=n(74714),b=n.n(v),w=n(88543),x=n.n(w),A=n(81780),S={};S.styleTagTransform=x(),S.setAttributes=y(),S.insert=g().bind(null,"head"),S.domAPI=p(),S.insertStyleElement=b();d()(A.A,S);A.A&&A.A.locals&&A.A.locals;var C=n(57459),E={};E.styleTagTransform=x(),E.setAttributes=y(),E.insert=g().bind(null,"head"),E.domAPI=p(),E.insertStyleElement=b();d()(C.A,E);C.A&&C.A.locals&&C.A.locals;var k=n(59148),T={};T.styleTagTransform=x(),T.setAttributes=y(),T.insert=g().bind(null,"head"),T.domAPI=p(),T.insertStyleElement=b();d()(k.A,T);k.A&&k.A.locals&&k.A.locals;var _=n(15950),O={};O.styleTagTransform=x(),O.setAttributes=y(),O.insert=g().bind(null,"head"),O.domAPI=p(),O.insertStyleElement=b();d()(_.A,O);_.A&&_.A.locals&&_.A.locals;var P=n(5505),I={};I.styleTagTransform=x(),I.setAttributes=y(),I.insert=g().bind(null,"head"),I.domAPI=p(),I.insertStyleElement=b();d()(P.A,I);P.A&&P.A.locals&&P.A.locals;var M=n(55836),L={};L.styleTagTransform=x(),L.setAttributes=y(),L.insert=g().bind(null,"head"),L.domAPI=p(),L.insertStyleElement=b();d()(M.A,L);M.A&&M.A.locals&&M.A.locals;var R=n(79082),j={};j.styleTagTransform=x(),j.setAttributes=y(),j.insert=g().bind(null,"head"),j.domAPI=p(),j.insertStyleElement=b();d()(R.A,j);R.A&&R.A.locals&&R.A.locals;var F=n(53921),D=n(30684),N=n(36549),B=n(80085),z=n(24515),V=n(80363),$=n.n(V),G=n(82997),U=n(82417),W=n(888),q=n(77156),H=n(79950),Y=n.n(H),K=n(95174),X=n(42450),Z=n(43021),J=n(95841),Q=function(e){return null==e?void 0:e.isLayerGroup},ee=function(e){return"lineString"===(null==e?void 0:e.type)},te=function(e){return"filledPolygon"===(null==e?void 0:e.type)},ne=function(e){return"simpleSymbol"===(null==e?void 0:e.type)},re=function(e){return"iconSymbol"===(null==e?void 0:e.type)},ie=n(87120),oe=n.n(ie),ae=n(51042),se=n.n(ae);const le=JSON.parse('{"$id":"https://cgpv/schema","$schema":"http://json-schema.org/draft-07/schema#","title":"GeoView Core Config Schema","type":"object","version":1,"comments":"This schema is used to validate the JSON representation of the input configuration and the internal instance of map features and geoview layers.","additionalProperties":false,"definitions":{"MapFeatureConfig":{"description":"The map feature configuration.","additionalProperties":false,"type":"object","properties":{"map":{"$ref":"#/definitions/TypeMapConfig"},"theme":{"description":"Theme style the viewer uses.","$ref":"#/definitions/TypeDisplayTheme"},"navBar":{"$ref":"#/definitions/TypeNavBarProps"},"footerBar":{"$ref":"#/definitions/TypeFooterBarProps"},"appBar":{"$ref":"#/definitions/TypeAppBarProps"},"overviewMap":{"$ref":"#/definitions/TypeOverviewMapProps"},"components":{"$ref":"#/definitions/TypeMapComponents"},"corePackages":{"$ref":"#/definitions/TypeMapCorePackages"},"externalPackages":{"$ref":"#/definitions/TypeExternalPackages"},"serviceUrls":{"$ref":"#/definitions/TypeServiceUrls"},"schemaVersionUsed":{"$ref":"#/definitions/TypeValidVersions"},"globalSettings":{"$ref":"#/definitions/TypeGlobalSettings"}},"required":["map"]},"TypeMapConfig":{"additionalProperties":false,"type":"object","properties":{"basemapOptions":{"$ref":"#/definitions/TypeBasemapOptions"},"interaction":{"$ref":"#/definitions/TypeInteraction"},"listOfGeoviewLayerConfig":{"description":"List of GeoView Layers in the order which they should be added to the map.","additionalProperties":false,"$ref":"#/definitions/TypeListOfAbstractGeoviewLayerConfig"},"viewSettings":{"$ref":"#/definitions/TypeViewSettings"},"highlightColor":{"$ref":"#/definitions/TypeHighlightColors"},"overlayObjects":{"$ref":"#/definitions/TypeOverlayObjects"},"extraOptions":{"description":"Additional options used for OpenLayers map options","type":"object"}},"required":["basemapOptions","interaction","viewSettings"]},"TypeListOfAbstractGeoviewLayerConfig":{"description":"The list of geoview layer configurations. The map config validation ends here. The only thing we need to verify for the moment is it must be an array.","type":"array"},"TypeDisplayTheme":{"description":"Valid values for the theme property.","additionalProperties":false,"enum":["dark","light","geo.ca"],"default":"geo.ca"},"TypeValidNavBarProps":{"description":"Valid values for the navBar array.","additionalProperties":false,"enum":["zoom","fullscreen","home","location","basemap-select"]},"TypeNavBarProps":{"description":"Controls available on the navigation bar.","additionalProperties":false,"type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/TypeValidNavBarProps"},"default":["zoom","fullscreen","home","basemap-select"],"minItems":0},"TypeValidFooterBarTabsCoreProps":{"description":"Valid values for the footerBar tabs core array.","additionalProperties":false,"enum":["legend","layers","details","data-table","time-slider","geochart"]},"TypeFooterBarTabsCustomProps":{"description":"Footer bar tabs custom definition.","type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"defaultTabs":{"type":"string"},"contentHTML":{"type":"string"}}},"TypeFooterBarProps":{"type":"object","additionalProperties":false,"properties":{"tabs":{"description":"Available tabs","type":"object","properties":{"core":{"description":"Default core tabs of footer bar to use. NOTE: config from packages for time-slider and geochart are in the same loaction as core config (<>-<>.json).","type":"array","items":{"$ref":"#/definitions/TypeValidFooterBarTabsCoreProps"},"minItems":1,"default":["legend","layers","details","data-table"],"uniqueItems":true},"custom":{"description":"Custom tabs of footer bar to use","type":"array","items":{"$ref":"#/definitions/TypeFooterBarTabsCustomProps"},"minItems":0,"default":[],"uniqueItems":true}},"additionalProperties":false},"collapsed":{"description":"State of footer bar when map is loaded (expanded or collapsed)","type":"boolean","default":false},"selectedTab":{"type":"string","enum":["legend","layers","details","data-table","time-slider","geochart"],"description":"Footer tab to be selected at map load"}},"required":["tabs"]},"TypeValidAppBarCoreProps":{"description":"Valid values for the app bar tabs core array.","additionalProperties":false,"enum":["geolocator","export","basemap-panel","geochart","details","legend","guide","data-table","layers","aoi-panel"]},"TypeAppBarProps":{"type":"object","additionalProperties":false,"properties":{"tabs":{"description":"Available tabs - controls","type":"object","additionalProperties":false,"properties":{"core":{"description":"Default core tabs of app-bar to use. NOTE: config from packages like geochart are in the same loaction as core config (<>-<>.json).","type":"array","items":{"$ref":"#/definitions/TypeValidAppBarCoreProps"},"minItems":0,"default":["geolocator"],"uniqueItems":true}}},"collapsed":{"description":"State of app bar when map is loaded (expanded or collapsed)","type":"boolean","default":true},"selectedTab":{"type":"string","enum":["geolocator","basemap-panel","geochart","details","legend","guide","data-table","layers","aoi-panel"],"description":"App bar tab to be selected at map load"}},"required":["tabs"]},"TypeOverviewMapProps":{"type":"object","additionalProperties":false,"properties":{"hideOnZoom":{"description":"Minimum zoom level to show overview map","type":"number","minimum":0,"maximum":10,"default":0}}},"TypeValidMapComponentProps":{"description":"Valid values for the map component array.","additionalProperties":false,"enum":["overview-map","north-arrow"]},"TypeMapComponents":{"description":"Core components to initialize on viewer load. The schema for those are inside this file.","additionalProperties":false,"type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/TypeValidMapComponentProps"},"default":["overview-map","north-arrow"],"minItems":0},"TypeValidMapCorePackageProps":{"description":"Valid values for the map core package array.","additionalProperties":false,"enum":["swiper"]},"TypeMapCorePackages":{"description":"Core map packages to initialize on viewer load. The schema for those are on their own package. NOTE: config from packages are in the same loaction as core config (<>-<>.json).","additionalProperties":false,"type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/TypeValidMapCorePackageProps"},"default":[],"minItems":0},"TypeExternalPackagesProps":{"additionalProperties":false,"type":"object","properties":{"name":{"description":"External Package name. The name must be identical to the window external package object to load.","type":"string"},"configUrl":{"description":"The url to the external package configuration setting. The core package will read the configuration and pass it inside the package.","type":"string"}},"required":["name"]},"TypeExternalPackages":{"description":"List of external packages to initialize on viewer load.","additionalProperties":false,"type":"array","items":{"$ref":"#/definitions/TypeExternalPackagesProps"},"default":[],"minItems":0},"TypeServiceUrls":{"description":"Service endpoint urls","additionalProperties":false,"type":"object","properties":{"geocoreUrl":{"description":"Service end point to access API for layers specification (loading and plugins parameters). By default it is GeoCore but can be another endpoint with similar output.","type":"string","default":"https://geocore.api.geo.ca"},"proxyUrl":{"description":"An optional proxy to be used for dealing with same-origin issues. URL must either be a relative path on the same server or an absolute path on a server which sets CORS headers.","type":"string","default":"https://maps.canada.ca/wmsproxy/ws/wmsproxy/executeFromProxy"},"geolocator":{"description":"Service end point to access geo location of searched value.","type":"string","default":"https://geolocator.api.geo.ca?keys=geonames,nominatim,locate"}}},"TypeValidVersions":{"description":"The schema version that can be used to validate the configuration file. The schema should enumerate the list of versions accepted by this version of the viewer.","enum":["1.0"]},"TypeGlobalSettings":{"additionalProperties":false,"type":"object","description":"Universal map settings","properties":{"canRemoveSublayers":{"description":"Whether or not sublayers can be removed from layer groups.","type":"boolean","default":true}}},"TypeBasemapOptions":{"additionalProperties":false,"type":"object","properties":{"basemapId":{"$ref":"#/definitions/TypeBasemapId"},"shaded":{"description":"Enable or disable shaded basemap (if basemap id is set to shaded then this should be false).","type":"boolean","default":true},"labeled":{"description":"Enable or disable basemap labels","type":"boolean","default":true}},"required":["basemapId","shaded","labeled"]},"TypeBasemapId":{"description":"Id of the basemap to use.","enum":["transport","osm","simple","nogeom","shaded","imagery"],"default":"transport"},"TypeInteraction":{"description":"If map is dynamic (pan/zoom) or static to act as a thumbnail (no nav bar).","additionalProperties":false,"enum":["static","dynamic"],"default":"dynamic"},"AbstractGeoviewLayerConfig":{"additionalProperties":false,"type":"object","properties":{"geoviewLayerId":{"description":"The id of the layer for referencing within the viewer (does not relate directly to any external service). The id will have the language extension (id-\'lang\').","type":"string"},"useInternalSchema":{"description":"Flag used to select the type of schema validation to apply (input/internal).","type":"boolean"},"geoviewLayerName":{"description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information.","oneOf":[{"description":"Used by the input schema.","$ref":"#/definitions/TypeLocalizedString"},{"description":"Used by the internal schema.","type":"string"}]},"isGeocore":{"description":"A flag used to indicate that the layer is a GeoCore layer.","type":"boolean"},"metadataAccessPath":{"description":"The GeoView layer service access path (English/French).","oneOf":[{"description":"Used by the input schema.","$ref":"#/definitions/TypeLocalizedString"},{"description":"Used by the internal schema.","type":"string"}]},"geoviewLayerType":{"description":"Type of GeoView layer.","$ref":"#/definitions/TypeGeoviewLayerType"},"serviceDateFormat":{"description":"Date format used by the service endpoint.","type":"string","default":"DD/MM/YYYY HH:MM:SSZ"},"externalDateFormat":{"description":"Date format used by the getFeatureInfo to output date variable.","type":"string","default":"DD/MM/YYYY HH:MM:SSZ"},"isTimeAware":{"description":"Flag to mention if layer will use its time dimension if provided. Used to remove a layer from time enabled functions like time slider.","type":"boolean","default":true},"listOfLayerEntryConfig":{"description":"The layer entries to use from the GeoView layer.","$ref":"#/definitions/TypeListOfLayerEntryConfig"}},"if":{"properties":{"useInternalSchema":{"description":"The useInternalSchema property is not defined by the user but by the viewer when we want to use the internal schema.","const":true}},"required":["useInternalSchema"]},"then":{"description":"Use Internal Schema","properties":{"geoviewLayerName":{"description":"The display name of the layer.","type":"string"},"metadataAccessPath":{"description":"The GeoView layer service access path (English/French).","type":"string"}}},"else":{"description":"Use Input Schema","properties":{"geoviewLayerName":{"description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information.","$ref":"#/definitions/TypeLocalizedString"},"metadataAccessPath":{"description":"The GeoView layer service access path (English/French).","$ref":"#/definitions/TypeLocalizedString"}}},"required":["geoviewLayerType","metadataAccessPath","listOfLayerEntryConfig"]},"TypeListOfLayerEntryConfig":{"description":"The list of layer configurations. The AbstractGeoviewLayerConfig validation ends here. The only thing we need to verify for the moment is it must be an array of at least one element.","type":"array"},"TypeViewSettings":{"additionalProperties":false,"type":"object","properties":{"initialView":{"description":"Settings for the initial viewing area of the map.","$ref":"#/definitions/TypeMapViewSettings"},"enableRotation":{"description":"Enable rotation. If false, a rotation constraint that always sets the rotation to zero is used.","type":"boolean","default":true},"rotation":{"description":"The initial rotation for the view in degree (positive rotation clockwise, 0 means North). Will be converted to radiant by the viewer.","type":"integer","minimum":-360,"maximum":360,"default":0},"maxExtent":{"description":"The extent that constrains the view. Called with [minX, minY, maxX, maxY] extent coordinates.","type":"array","minItems":4,"maxItems":4,"items":{"type":"number"},"default":[-125,30,-60,89]},"minZoom":{"description":"The minimum zoom level used to determine the resolution constraint. If not set, will use default from basemap.","type":"integer","minimum":0,"maximum":50},"maxZoom":{"description":"The maximum zoom level used to determine the resolution constraint. If not set, will use default from basemap.","type":"integer","minimum":0,"maximum":50},"projection":{"$ref":"#/definitions/TypeValidMapProjectionCodes","default":3978}}},"TypeHighlightColors":{"description":"Color to use for feature highlights.","additionalProperties":false,"enum":["black","white","red","green"],"default":"black"},"TypeOverlayObjects":{"type":"object","properties":{"pointMarkers":{"$ref":"#/definitions/TypePointMarkers"}}},"TypePointMarkers":{"type":"object","patternProperties":{"[^]*":{"type":"array","items":{"$ref":"#/definitions/TypePointMarker"}}}},"TypePointMarker":{"additionalProperties":false,"type":"object","properties":{"id":{"type":"string","description":"ID for point marker. Must be unique in group."},"coordinate":{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number"},"description":"The coordinates of the marker."},"color":{"type":"string","default":"green","description":"Marker color."},"opacity":{"type":"number","minimum":0,"maximum":1,"default":1},"projection":{"description":"The projection code of the coordinates.","type":"number","default":4326}},"required":["id","coordinate"]},"TypeDisplayLanguage":{"description":"Display languages supported.","enum":["en","fr"]},"TypeLocalizedString":{"additionalProperties":false,"minProperties":1,"type":"object","properties":{"en":{"description":"The English version of the string.","type":"string"},"fr":{"description":"The French version of the string.","type":"string"}}},"TypeGeoviewLayerType":{"description":"Type of GeoView layer.","type":"string","enum":["CSV","esriDynamic","esriFeature","esriImage","GeoJSON","GeoPackage","imageStatic","ogcFeature","ogcWfs","ogcWms","vectorTiles","xyzTiles"]},"TypeLayerInitialSettings":{"additionalProperties":false,"type":"object","properties":{"controls":{"description":"The status of various controls for the layer (available/unavailable).","$ref":"#/definitions/TypeLayerControls"},"bounds":{"description":"The geographic bounding box that contains all the layer\'s features.","type":"array","minItems":4,"maxItems":4,"items":{"type":"number"}},"extent":{"description":"The extent that constrains the view. Called with [minX, minY, maxX, maxY] extent coordinates.","type":"array","minItems":4,"maxItems":4,"items":{"type":"number"}},"minZoom":{"description":"The minimum view zoom level (exclusive) above which this layer will be visible.","type":"integer","minimum":0,"maximum":50},"maxZoom":{"description":"The maximum view zoom level (inclusive) above which this layer will be visible.","type":"integer","minimum":0,"maximum":50},"className":{"description":"A CSS class name to set to the layer element.","type":"string"},"states":{"description":"The status of initial states for the layer.","$ref":"#/definitions/TypeLayerStates"}}},"TypeLayerControls":{"description":"Which UI controls are available.","additionalProperties":false,"type":"object","properties":{"highlight":{"type":"boolean","default":true},"hover":{"type":"boolean","default":true},"opacity":{"type":"boolean","default":true},"query":{"type":"boolean","default":false},"remove":{"type":"boolean","default":true},"table":{"type":"boolean","default":true},"visibility":{"type":"boolean","default":true},"zoom":{"type":"boolean","default":true}}},"TypeLayerStates":{"description":"Initial layer states.","additionalProperties":false,"type":"object","properties":{"visible":{"description":"Initial visibility setting.","type":"boolean","default":true},"legendCollapsed":{"description":"Is the layer\'s legend collapsed","type":"boolean","default":false},"opacity":{"description":"Initial opacity setting.","type":"number","minimum":0,"maximum":1,"default":1},"hoverable":{"description":"Is the layer hoverable.","type":"boolean"},"queryable":{"description":"Is the layer queryable.","type":"boolean"}}},"TypeMapViewSettings":{"type":"object","maxItems":1,"properties":{"zoomAndCenter":{"$ref":"#/definitions/TypeZoomAndCenter"},"extent":{"description":"The extent for the initial view. Called with [minX, minY, maxX, maxY] extent coordinates.","type":"array","minItems":4,"maxItems":4,"items":{"type":"number"}},"layerIds":{"description":"Geoview layer ID(s) or layer path(s) of layer(s) to use as initial map focus. If empty, will use all layers.","type":"array","items":{"type":"string"}}}},"TypeZoomAndCenter":{"description":"Initial zoom and center coordinates to set map view.","type":"array","prefixItems":[{"type":"number","description":"Initial map zoom level. Zoom level are define by the basemap zoom levels. Levels between whole numbers are supported to fine tune initial view.","minimum":0,"maximum":28,"default":3.5},[{"type":"number","description":"Initial longitude value for map center.","minimum":-160,"maximum":160,"default":-90},{"type":"number","description":"Initial latitude value for map center.","minimum":-80,"maximum":80,"default":60}]],"default":[4.5,[-90,67]]},"TypeValidMapProjectionCodes":{"description":"Spatial Reference EPSG code supported (https://epsg.io/). We support Web Mercator and Lambert Conical Conform Canada.","enum":[3978,3857],"default":3978},"EsriDynamicLayerConfig":{"description":"Structure used by the viewer to describe the configuration of an ESRI dynamic layer.","type":"object","allOf":[{"description":"The parent class.","$ref":"#/definitions/AbstractGeoviewLayerConfig"},{"type":"object","properties":{"geoviewLayerType":{"enum":["esriDynamic"]}}}]},"EsriFeatureLayerConfig":{"description":"Structure used by the viewer to describe the configuration of an ESRI feature layer.","type":"object","allOf":[{"description":"The parent class.","$ref":"#/definitions/AbstractGeoviewLayerConfig"},{"type":"object","properties":{"geoviewLayerType":{"enum":["esriFeature"]}}}]},"WmsLayerConfig":{"description":"Structure used by the viewer to describe the configuration of a WMS layer.","type":"object","allOf":[{"description":"The parent class.","$ref":"#/definitions/AbstractGeoviewLayerConfig"},{"type":"object","properties":{"geoviewLayerType":{"enum":["ogcWms"]}}}]},"EntryConfigBaseClass":{"description":"Base class from which we derive all the nodes (group and leaves) in the layer tree.","type":"object","properties":{"isLayerGroup":{"description":"Flag used to distinguish layer group nodes.","type":"boolean"},"layerId":{"description":"The id of the layer to display on the map.","type":"string"},"useInternalSchema":{"description":"Flag used to select the type of schema validation to apply (input/internal).","type":"boolean"},"layerName":{"description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information.","oneOf":[{"description":"Used by the input schema.","$ref":"#/definitions/TypeLocalizedString"},{"description":"Used by the internal schema.","type":"string"}]},"attributions":{"type":"array","items":{"type":"string"}},"bounds":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"number"}},"minScale":{"description":"Minimum scale the layer can display.","type":"number","default":0},"maxScale":{"description":"Maximum scale the layer can display.","type":"number","default":0},"initialSettings":{"description":"Initial settings to apply to the layer entry at creation time. Initial settings are inherited from the parent in the configuration tree.","$ref":"#/definitions/TypeLayerInitialSettings"},"entryType":{"description":"The node data type.","$ref":"#/definitions/TypeLayerEntryType"}},"if":{"properties":{"useInternalSchema":{"description":"The useInternalSchema property is not defined by the user but programmatically by the viewer when we want to use the internal schema.","const":true}},"required":["useInternalSchema"]},"then":{"description":"Use Internal Schema","properties":{"layerName":{"description":"The display name of the layer.","type":"string"},"entryType":{"description":"The node data type.","$ref":"#/definitions/TypeLayerEntryType"}},"required":["entryType","layerId","layerName"]},"else":{"description":"Use Input Schema","properties":{"layerName":{"description":"Used by the input schema. The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information.","$ref":"#/definitions/TypeLocalizedString"},"entryType":{"description":"Input schema does not allow the user to specify the entryType property.","not":{},"errorMessage":{"not":"Property entryType is not allowed in user data."}}},"required":["layerId"]},"errorMessage":{"if":"The data does not respect the EntryConfigBaseClass schema definition."}},"AbstractBaseLayerEntryConfig":{"description":"Base class from which we derive all the leaf nodes in the layer tree.","type":"object","allOf":[{"description":"The parent class.","$ref":"#/definitions/EntryConfigBaseClass"},{"type":"object","properties":{"geometryType":{"description":"The geometry type of the leaf node.","$ref":"#/definitions/TypeStyleGeometry"},"source":{"$ref":"#/definitions/TypeBaseSourceInitialConfig"},"temporalDimension":{"$ref":"#/definitions/TypeTemporalDimension"}}}]},"GroupLayerEntryConfig":{"description":"Class from which we derive all the layer group nodes in the layer tree.","type":"object","allOf":[{"description":"The parent class.","$ref":"#/definitions/EntryConfigBaseClass"},{"type":"object","properties":{"entryType":{"enum":["group"]},"listOfLayerEntryConfig":{"description":"The list of layer entry configurations to use from the GeoView layer group.","$ref":"#/definitions/TypeListOfLayerEntryConfig"}}}]},"EsriDynamicLayerEntryConfig":{"description":"Class from which we derive all the ESRI Dynamic leaf nodes in the layer tree.","type":"object","allOf":[{"description":"The actual parent class is AbstractBaseEsriLayerEntryConfig, whose parent class is AbstractBaseLayerEntryConfig. Both classes have the same properties.","$ref":"#/definitions/AbstractBaseLayerEntryConfig"},{"type":"object","properties":{"layerId":{"type":"string","pattern":"^[0-9]+$","errorMessage":{"pattern":"The layer identifier (layerId) must be a numeric string."}},"entryType":{"enum":["raster-image"]},"source":{"$ref":"#/definitions/TypeSourceEsriDynamicInitialConfig"},"style":{"$ref":"#/definitions/TypeStyleConfig"}}}]},"EsriFeatureLayerEntryConfig":{"description":"Class from which we derive all the ESRI Feature leaf nodes in the layer tree.","type":"object","allOf":[{"description":"The actual parent class is AbstractBaseEsriLayerEntryConfig, whose parent class is AbstractBaseLayerEntryConfig. Both classes have the same properties.","$ref":"#/definitions/AbstractBaseLayerEntryConfig"},{"type":"object","properties":{"layerId":{"type":"string","pattern":"^[0-9]+$","errorMessage":{"pattern":"The layer identifier (layerId) must be a numeric string."}},"source":{"$ref":"#/definitions/TypeSourceEsriFeatureInitialConfig"},"style":{"$ref":"#/definitions/TypeStyleConfig"}}}]},"OgcWmsLayerEntryConfig":{"description":"Class from which we derive all the WMS leaf nodes in the layer tree.","type":"object","allOf":[{"description":"The parent class.","$ref":"#/definitions/AbstractBaseLayerEntryConfig"},{"type":"object","properties":{"source":{"$ref":"#/definitions/TypeSourceWmsInitialConfig"},"style":{"$ref":"#/definitions/TypeStyleConfig"}}}]},"TypeStyleGeometry":{"description":"Valid keys for the geometryType property.","enum":["point","linestring","polygon"]},"TypeBaseSourceInitialConfig":{"description":"Base type from which we derive the source properties for all the leaf nodes in the layer tree.","type":"object","properties":{"projection":{"$ref":"#/definitions/TypeValidMapProjectionCodes"},"crossOrigin":{"description":"The crossOrigin attribute if needed to load the data.","type":"string","default":"Anonymous"}}},"TypeSourceTileInitialConfig":{"description":"Initial settings for tile image sources.","additionalProperties":false,"type":"object","allOf":[{"$ref":"#/definitions/TypeBaseSourceInitialConfig"},{"additionalProperties":false,"type":"object","properties":{"tileGrid":{"description":"Tile grid parameters to use.","$ref":"#/definitions/TypeTileGrid"}}}]},"TypeSourceWmsInitialConfig":{"description":"Initial settings for tile image sources.","type":"object","allOf":[{"$ref":"#/definitions/TypeBaseSourceInitialConfig"},{"type":"object","properties":{"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoLayerConfig"},"serverType":{"description":"The type of the remote WMS server.","$ref":"#/definitions/TypeOfServer"},"wmsStyle":{"description":"Array of style to choose from.","type":"array","items":{"type":"string"}}}}]},"TypeOfServer":{"description":"The type of the remote WMS server.","enum":["mapserver","geoserver","qgis"],"default":"mapserver"},"TypeSourceImageStaticInitialConfig":{"description":"Initial settings for static image sources.","additionalProperties":false,"type":"object","allOf":[{"$ref":"#/definitions/TypeBaseSourceInitialConfig"},{"additionalProperties":false,"type":"object","properties":{"extent":{"description":"The extent of the static image. Called with [minX, minY, maxX, maxY] extent coordinates.","type":"array","minItems":4,"maxItems":4,"items":{"type":"number"}}}}]},"TypeBaseVectorSourceInitialConfig":{"description":"Base type from which we derive the source properties for all the vector leaf nodes in the layer tree.","type":"object","allOf":[{"$ref":"#/definitions/TypeBaseSourceInitialConfig"},{"type":"object","properties":{"maxRecordCount":{"description":"Maximum number of records to fetch.","type":"number","default":0},"layerFilter":{"description":"Filter to apply on features of this layer.","type":"string"},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoLayerConfig"},"format":{"$ref":"#/definitions/TypeVectorSourceFormats"},"strategy":{"description":"The loading strategy to use. By default an all strategy is used, a one-off strategy which loads all features at once.","enum":["all","bbox"],"default":"all"}}}]},"TypeVectorSourceInitialConfig":{"description":"Initial settings to apply to the GeoView vector layer source at creation time.","additionalProperties":false,"type":"object","allOf":[{"$ref":"#/definitions/TypeBaseVectorSourceInitialConfig"},{"type":"object","properties":{"separator":{"description":"The character used to separate columns of csv file.","type":"string"}}}]},"TypeVectorTileSourceInitialConfig":{"description":"Initial settings to apply to layer sources providing vector data divided into a tile grid.","additionalProperties":false,"type":"object","allOf":[{"$ref":"#/definitions/TypeBaseVectorSourceInitialConfig"},{"type":"object","properties":{"tileGrid":{"$ref":"#/definitions/TypeTileGrid"}}}]},"TypeTileGrid":{"additionalProperties":false,"type":"object","properties":{"extent":{"description":"The extent that constrains the view. Called with [minX, minY, maxX, maxY] extent coordinates.","type":"array","minItems":4,"maxItems":4,"items":{"type":"number"}},"origin":{"description":"The tile grid origin, i.e. where the x and y axes meet ([z, 0, 0]). Tile coordinates increase left to right and downwards. If not specified, extent must be provided.","type":"array","prefixItems":[{"type":"number"},{"type":"number"}]},"resolutions":{"description":"Resolutions. The array index of each resolution needs to match the zoom level. This means that even if a minZoom is configured, the resolutions array will have a length of maxZoom + 1.","type":"array","items":{"type":"number"}},"tileSize":{"description":"The tile grid origin, i.e. where the x and y axes meet ([z, 0, 0]). Tile coordinates increase left to right and downwards. If not specified, extent must be provided.","type":"array","minItems":2,"maxItems":2,"items":{"type":"number"},"default":[256,256]}},"required":["origin","resolutions"]},"TypeVectorSourceFormats":{"description":"The feature format used by the XHR feature loader when access path is set.","enum":["GeoJSON","EsriJSON","KML","WFS","featureAPI","GeoPackage","CSV"]},"TypeSourceEsriDynamicInitialConfig":{"description":"Type from which we derive the source properties for all the ESRI dynamic leaf nodes in the layer tree.","type":"object","allOf":[{"$ref":"#/definitions/TypeBaseSourceInitialConfig"},{"type":"object","properties":{"maxRecordCount":{"description":"Maximum number of records to fetch.","type":"number","default":0},"layerFilter":{"description":"Filter to apply on features of this layer.","type":"string"},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoLayerConfig"},"format":{"$ref":"#/definitions/TypeEsriFormatParameter"},"transparent":{"description":"If true, the image will be exported with the background color of the map set as its transparent color. Only the .png and .gif formats support transparency.","type":"boolean","default":true}}}]},"TypeEsriFormatParameter":{"description":"The format of the exported image.","enum":["png","jpg","gif","svg"],"default":"png"},"TypeSourceEsriFeatureInitialConfig":{"description":"Type from which we derive the source properties for all the ESRI feature leaf nodes in the layer tree.","type":"object","allOf":[{"$ref":"#/definitions/TypeBaseVectorSourceInitialConfig"},{"type":"object","properties":{"maxRecordCount":{"description":"Maximum number of records to fetch.","type":"number","default":0},"layerFilter":{"description":"Filter to apply on features of this layer.","type":"string"},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoLayerConfig"},"format":{"enum":["EsriJSON"]}}}]},"TypeFeatureInfoLayerConfig":{"type":"object","properties":{"queryable":{"description":"Allow querying.","type":"boolean","default":false},"nameField":{"description":"The display field of the layer. If it is not present the viewer will make an attempt to find the first valid field.","type":"string"},"outfields":{"type":"array","items":{"$ref":"#/definitions/TypeOutfields"}}},"required":["queryable"]},"TypeOutfields":{"type":"object","properties":{"name":{"description":"The field name.","type":"string"},"alias":{"description":"The field alias that replaces the name when comes time to display it.","type":"string"},"type":{"description":"The field type.","$ref":"#/definitions/TypeOutfieldsType"},"domain":{"description":"The domain of values.","oneOf":[{"type":"null"},{"$ref":"#/definitions/codedValueType"},{"$ref":"#/definitions/rangeDomainType"}]}},"required":["name","alias","type","domain"]},"TypeOutfieldsType":{"description":"The types supported by the outfields object.","additionalProperties":false,"enum":["string","number","date","url"]},"codedValueType":{"description":"Coded value definition.","additionalProperties":false,"type":"object","properties":{"type":{"enum":["codedValue"]},"name":{"description":"The domain name.","type":"string"},"description":{"description":"A description of the domain.","type":"string"},"codedValues":{"description":"The list of coded values.","$ref":"#/definitions/codeValueEntryType"}}},"codeValueEntryType":{"description":"The structure of a code value.","additionalProperties":false,"type":"object","properties":{"name":{"type":"string"},"code":{"description":"The code property has an unknown type."}}},"rangeDomainType":{"description":"The structure of a range domain.","additionalProperties":false,"type":"object","properties":{"type":{"enum":["range"]},"name":{"description":"The domain name.","type":"string"},"range":{"type":"array","minItems":2,"maxItems":2,"items":{"description":"The code property has an unknown type."}}},"required":["type","name","range"]},"TypeLayerEntryType":{"description":"Layer entry data type.","enum":["vector","vector-tile","raster-tile","raster-image","group"]},"TypeTemporalDimension":{"additionalProperties":false,"type":"object","description":"OGC time dimension definition.","properties":{"field":{"type":"string"},"default":{"type":"string"},"unitSymbol":{"type":"string"},"range":{"$ref":"#/definitions/TypeRangeItems"},"nearestValues":{"enum":["discrete","absolute"]},"singleHandle":{"type":"boolean"}}},"TypeRangeItems":{"description":"Definition of the range object in the OGC time dimension.","additionalProperties":false,"type":"object","properties":{"type":{"type":"string"},"range":{"type":"array","items":{"type":"string"}}}},"TypeStyleConfig":{"type":"object","properties":{"type":{"description":"The type of style used by the layer.","$ref":"#/definitions/TypeStyleConfigType"},"fields":{"type":"array","items":{"type":"string"}},"hasDefault":{"description":"Flag used to indicate that the symbology has a default value.","type":"boolean"},"info":{"description":"Array of style information.","type":"array","items":{"$ref":"#/definitions/TypeStyleConfigInfo"}}}},"TypeStyleConfigType":{"description":"Valid keys for the type property of style configurations.","enum":["simple","uniqueValue","classBreaks"]},"TypeStyleConfigInfo":{"type":"object","properties":{"visible":{"description":"Flag used to show/hide features associated to the label.","type":"boolean","default":true},"label":{"type":"string"},"values":{"description":"Simple type has an empty array; uniqueValue type has many entries (up to 3 for ESRI) and classBreaks type has two entries (index 0 for min and index 1 for max).","type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]}},"settings":{"$ref":"#/definitions/TypeKindOfVectorSettings"}}},"TypeKindOfVectorSettings":{"description":"The type of geometry settings. It must respect the base type and one of the children types.","allOf":[{"description":"Base type for the vector geometry.","$ref":"#/definitions/TypeBaseVectorGeometryConfig"},{"description":"One of the chid type.","anyOf":[{"$ref":"#/definitions/TypeLineStringVectorConfig"},{"$ref":"#/definitions/TypePolygonVectorConfig"},{"$ref":"#/definitions/TypeSimpleSymbolVectorConfig"},{"$ref":"#/definitions/TypeIconSymbolVectorConfig"}]}]},"TypeBaseVectorGeometryConfig":{"description":"Base type for the vector geometry types.","type":"object","properties":{"type":{"description":"Type of vector config.","$ref":"#/definitions/TypeBaseVectorType"}}},"TypeBaseVectorType":{"description":"Valid values for the type property of the base vector settings.","enum":["lineString","filledPolygon","simpleSymbol","iconSymbol"]},"TypeLineStringVectorConfig":{"description":"Definition of the line symbol vector settings type.","type":"object","allOf":[{"$ref":"#/definitions/TypeBaseVectorGeometryConfig"},{"type":"object","properties":{"type":{"enum":["lineString"]},"stroke":{"$ref":"#/definitions/TypeStrokeSymbolConfig"}}}]},"TypeStrokeSymbolConfig":{"description":"Stroke style for vector features.","minProperties":1,"additionalProperties":false,"type":"object","properties":{"color":{"type":"string"},"lineStyle":{"$ref":"#/definitions/TypeLineStyle"},"width":{"type":"number"}}},"TypeLineStyle":{"description":"Line style to use for the feature.","enum":["dash","dash-dot","dash-dot-dot","dot","longDash","longDash-dot","null","shortDash","shortDash-dot","shortDash-dot-dot","solid"]},"TypePolygonVectorConfig":{"description":"Definition of the polygon symbol vector settings type.","type":"object","allOf":[{"$ref":"#/definitions/TypeBaseVectorGeometryConfig"},{"type":"object","properties":{"type":{"enum":["filledPolygon"]},"color":{"type":"string"},"stroke":{"$ref":"#/definitions/TypeStrokeSymbolConfig"},"paternSize":{"description":"Distance between patern lines.","type":"number","default":8},"paternWidth":{"description":"Patern line width.","type":"number","default":1},"fillStyle":{"description":"Kind of filling for vector features.","$ref":"#/definitions/TypeFillStyle","default":"solid"}}}]},"TypeFillStyle":{"description":"Valid values to specify fill styles.","enum":["null","solid","backwardDiagonal","cross","diagonalCross","forwardDiagonal","horizontal","vertical"]},"TypeSimpleSymbolVectorConfig":{"description":" Definition of the simple symbol vector settings type.","type":"object","allOf":[{"$ref":"#/definitions/TypeBaseVectorGeometryConfig"},{"type":"object","properties":{"type":{"enum":["simpleSymbol"]},"rotation":{"description":"Symbol rotation in radians.","type":"number"},"color":{"type":"string"},"stroke":{"$ref":"#/definitions/TypeStrokeSymbolConfig"},"size":{"type":"number"},"offset":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2},"symbol":{"$ref":"#/definitions/TypeSymbol"}}}]},"TypeSymbol":{"description":"Valid values to specify symbol shapes.","enum":["circle","+","diamond","square","triangle","X","star"]},"TypeIconSymbolVectorConfig":{"type":"object","allOf":[{"$ref":"#/definitions/TypeBaseVectorGeometryConfig"},{"type":"object","properties":{"type":{"enum":["iconSymbol"]},"mimeType":{"type":"string"},"src":{"type":"string"},"width":{"description":"Icon width in pixel.","type":"integer"},"height":{"description":"Icon height in pixel.","type":"integer"},"rotation":{"description":"Icon rotation in radians.","type":"number"},"opacity":{"type":"number","minimum":0,"maximum":1,"default":1},"offset":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2},"crossOrigin":{"description":"The crossOrigin attribute for loaded images. Note that you must provide a crossOrigin value if you want to access pixel data with the Canvas renderer.","type":"string","default":"Anonymous"}}}]},"TypePostSettings":{"description":"Definition of the post settings type needed when the GeoView GeoJSON layers need to use a POST instead of a GET.","additionalProperties":false,"type":"object","properties":{"header":{"description":"An optional header object with string keys and string values.","type":"object","additionalProperties":{"type":"string"}},"data":{"description":"A required property that can be any type.","type":["object","array","string","number","boolean","null"]}},"required":["data"]}}}');var ce=n(6335);function ue(e,t){var n,r,i=new(oe())({strict:!1,allErrors:!0});se()(i),i.compile(le);var o=i.getSchema(e);if(o){if(!o(t)){for(var a=0;a2&&void 0!==arguments[2]&&arguments[2],r=$()(t);return n&&Object.assign(r,{useInternalSchema:n}),ue(e,r)}function he(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function pe(e,t){return e.get(ge(e,t))}function fe(e,t,n){return e.set(ge(e,t),n),n}function ge(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var me=new WeakMap,ye=new WeakMap,ve=new WeakMap,be=new WeakMap,we=new WeakMap,xe=function(){return(0,B.A)((function e(t,n,r,i){var o;(0,N.A)(this,e),he(this,me,void 0),he(this,ye,void 0),he(this,ve,void 0),he(this,be,!1),he(this,we,{}),(0,z.A)(this,"isLayerGroup",void 0),(0,z.A)(this,"layerId",void 0),(0,z.A)(this,"layerName",void 0),(0,z.A)(this,"attributions",[]),(0,z.A)(this,"bounds",void 0),(0,z.A)(this,"entryType",void 0),(0,z.A)(this,"minScale",void 0),(0,z.A)(this,"maxScale",void 0),(0,z.A)(this,"initialSettings",void 0),this.validateLayerConfig(t),fe(me,this,n),fe(ye,this,r),fe(ve,this,i),this.layerId=t.layerId,this.layerName=(null==t||null===(o=t.layerName)||void 0===o?void 0:o[pe(me,this)])||"undefined",this.entryType=this.getEntryType(),this.isLayerGroup=t.isLayerGroup||!1,this.applyDefaultValues()}),[{key:"validateLayerConfig",value:function(e){ue(this.getSchemaPath(),e)||this.setErrorDetectedFlag()}},{key:"setLayerMetadata",value:function(e){fe(we,this,e)}},{key:"getLayerMetadata",value:function(){return pe(we,this)}},{key:"getGeoviewLayerType",value:function(){return pe(ye,this).geoviewLayerType}},{key:"getGeoviewLayerConfig",value:function(){return pe(ye,this)}},{key:"getLayerPath",value:function(){return"".concat(pe(ye,this).geoviewLayerId,"/").concat(function e(t){return pe(ve,t)?"".concat(e(pe(ve,t)),"/").concat(t.layerId):t.layerId}(this))}},{key:"setErrorDetectedFlag",value:function(){fe(be,this,!0)}},{key:"getErrorDetectedFlag",value:function(){return pe(be,this)}},{key:"getParentNode",value:function(){return pe(ve,this)}},{key:"serialize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2;return JSON.stringify(this,void 0,e)}},{key:"applyDefaultValues",value:function(){this.initialSettings=$()(G.FU),this.minScale=0,this.maxScale=0}}])}();function Ae(e,t,n){return t=(0,X.A)(t),(0,K.A)(e,Se()?Reflect.construct(t,n||[],(0,X.A)(e).constructor):t.apply(e,n))}function Se(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Se=function(){return!!e})()}var Ce=function(e){function t(e,n,r,i){var o;return(0,N.A)(this,t),o=Ae(this,t,[e,n,r,i]),(0,z.A)(o,"entryType",G.JE.GROUP),(0,z.A)(o,"listOfLayerEntryConfig",[]),o.listOfLayerEntryConfig=e.listOfLayerEntryConfig.map((function(e){return Q(e)?r.createGroupNode(e,n,r,o):r.createLeafNode(e,n,r,o)})).filter((function(e){return e})),o.findDuplicatesAndMarkThemAsErrors(),o}return(0,Z.A)(t,e),(0,B.A)(t,[{key:"getSchemaPath",value:function(){return G.y5}},{key:"getEntryType",value:function(){return G.JE.GROUP}},{key:"fetchListOfLayerMetadata",value:(n=(0,r.A)(o().mark((function e(){var t,n=this;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=[],this.listOfLayerEntryConfig.forEach((function(e){t.push(e.fetchLayerMetadata())})),e.next=4,Promise.allSettled(t);case 4:e.sent.forEach((function(e,t){"rejected"===e.status&&n.listOfLayerEntryConfig[t].setErrorDetectedFlag()}));case 6:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"findDuplicatesAndMarkThemAsErrors",value:function(){var e=this;this.listOfLayerEntryConfig.forEach((function(t,n){for(var r=n+1;r in the metadata.",LayerIdInvalidType:"The layerId of entry <=> must be an integer string."}),(0,z.A)(r,"messageKey",void 0),(0,z.A)(r,"messageVariables",void 0),r.messageKey=e,r.messageVariables=n;var i=r.messageList[e].split("<=>").reduce((function(e,t,r){return r0&&void 0!==arguments[0]?arguments[0]:2;return JSON.stringify(this,void 0,e)}}]);var e}();function rt(e,t,n){return t=(0,X.A)(t),(0,K.A)(e,it()?Reflect.construct(t,n||[],(0,X.A)(e).constructor):t.apply(e,n))}function it(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(it=function(){return!!e})()}function ot(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function at(e,t){return e.get(st(e,t))}function st(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var lt=new WeakSet,ct=new WeakMap,ut=function(e){function t(e,n){var r,i,o;(0,N.A)(this,t),r=rt(this,t,[e,n]),ot(i=r,o=lt),o.add(i),function(e,t,n){ot(e,t),t.set(e,n)}(r,ct,(function(e,n){var i=r.getServiceMetadata().layers.reduce((function(n,i){return i.parentLayerId===e&&("Group Layer"===i.type?n.push(at(ct,r).call(r,i.id,i.name)):n.push((0,U.N)({layerId:i.id.toString(),layerName:{en:i.name,fr:i.name},geometryType:t.convertEsriGeometryTypeToOLGeometryType(i.geometryType)}))),n}),[]);return(0,U.N)({layerId:-1===e?n:"".concat(e),layerName:{en:n,fr:n},isLayerGroup:!0,listOfLayerEntryConfig:i})}));var a=r.metadataAccessPath.split("/"),s=a[a.length-1];return/^\d+$/.test(s)&&(r.metadataAccessPath=a.slice(0,-1).join("/"),r.listOfLayerEntryConfig.length&&(r.setErrorDetectedFlag(),ce.vF.logError("When an ESRI metadataAccessPath ends with a layer index, the listOfLayerEntryConfig must be empty.")),r.listOfLayerEntryConfig=[r.createLeafNode((0,U.N)({layerId:s}),n,r)]),r}return(0,Z.A)(t,e),(0,B.A)(t,[{key:"fetchServiceMetadata",value:(n=(0,r.A)(o().mark((function e(){var t,n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Ge.getXMLHttpRequest)("".concat(this.metadataAccessPath,"?f=json"));case 2:if("{}"===(t=e.sent)){e.next=18;break}try{n=JSON.parse(t)}catch(e){n=(0,U.N)({error:e})}if(!("error"in n)){e.next=11;break}this.setErrorDetectedFlag(),this.setErrorDetectedFlagForAllLayers(this.listOfLayerEntryConfig),ce.vF.logError("Error detected while reading ESRI metadata for geoview layer ".concat(this.geoviewLayerId,"."),n.error),e.next=16;break;case 11:return this.setServiceMetadata(n),this.listOfLayerEntryConfig=st(lt,this,dt).call(this,this.listOfLayerEntryConfig),this.setMetadataLayerTree(this.listOfLayerEntryConfig.length?this.listOfLayerEntryConfig:this.createLayerTree()),e.next=16,this.fetchListOfLayerMetadata();case 16:e.next=21;break;case 18:this.setErrorDetectedFlag(),this.setErrorDetectedFlagForAllLayers(this.listOfLayerEntryConfig),ce.vF.logError("Error detected while reading ESRI metadata for geoview layer ".concat(this.geoviewLayerId,". An empty object was returned."));case 21:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"createLayerTree",value:function(){var e=this.getServiceMetadata().layers;if(e.length>1){var n=this.getServiceMetadata().mapName;return[new Ne(at(ct,this).call(this,-1,n),this.getLanguage(),this)]}return 1===e.length?[this.createLeafNode((0,U.N)({layerId:e[0].id.toString(),layerName:{en:e[0].name,fr:e[0].name},geometryType:t.convertEsriGeometryTypeToOLGeometryType(e[0].geometryType)}),this.getLanguage(),this)]:[]}}],[{key:"convertEsriGeometryTypeToOLGeometryType",value:function(e){switch(e){case"esriGeometryPoint":case"esriGeometryMultipoint":return"point";case"esriGeometryPolyline":return"linestring";case"esriGeometryPolygon":case"esriGeometryMultiPolygon":return"polygon";default:throw new Error("Unsupported geometry type: ".concat(e))}}}]);var n}(nt);function dt(e){var t=this;return e.map((function(e){if(e.getErrorDetectedFlag())return e;if(Q(e))return e.listOfLayerEntryConfig=st(lt,t,dt).call(t,e.listOfLayerEntryConfig),e;try{return st(lt,t,ht).call(t,parseInt(e.layerId,10),e.getParentNode())}catch(t){return e.setErrorDetectedFlag(),ce.vF.logError(t.message,t),e}}))}function ht(e,t){var n=this.getServiceMetadata().layers,r=void 0!==e&&n.find((function(t){return t.id===e}));if(!r)throw new Pe("LayerIdNotFound",[null==e?void 0:e.toString()]);if(r&&"Group Layer"!==r.type){var i=(0,U.N)({layerId:r.id.toString(),layerName:{en:r.name,fr:r.name},geometryType:Xe.convertEsriGeometryTypeToOLGeometryType(r.geometryType)});return this.createLeafNode(i,this.getLanguage(),this,t)}var o=at(ct,this).call(this,parseInt(r.id,10),null==r?void 0:r.name);return this.createGroupNode(o,this.getLanguage(),this,t)}Xe=ut;var pt=n(54111);function ft(e,t,n){return t=(0,X.A)(t),(0,K.A)(e,gt()?Reflect.construct(t,n||[],(0,X.A)(e).constructor):t.apply(e,n))}function gt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(gt=function(){return!!e})()}var mt=function(e){function t(){var e;(0,N.A)(this,t);for(var n=arguments.length,r=new Array(n),i=0;i2&&void 0!==arguments[2]?arguments[2]:[],r=(0,q.A)(n);if(Array.isArray(t))for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:this.getServiceMetadata().Capability.Layer;e&&n&&(void 0===n.EX_GeographicBoundingBox&&(n.EX_GeographicBoundingBox=e.EX_GeographicBoundingBox),void 0===n.queryable&&(n.queryable=e.queryable),void 0===n.cascaded&&(n.cascaded=e.cascaded),void 0===n.opaque&&(n.opaque=e.opaque),void 0===n.noSubsets&&(n.noSubsets=e.noSubsets),void 0===n.fixedWidth&&(n.fixedWidth=e.fixedWidth),void 0===n.fixedHeight&&(n.fixedHeight=e.fixedHeight),void 0===n.MinScaleDenominator&&(n.MinScaleDenominator=e.MinScaleDenominator),void 0===n.MaxScaleDenominator&&(n.MaxScaleDenominator=e.MaxScaleDenominator),void 0===n.BoundingBox&&(n.BoundingBox=e.BoundingBox),void 0===n.Dimension&&(n.Dimension=e.Dimension),void 0===n.Attribution&&(n.Attribution=e.Attribution),void 0===n.MaxScaleDenominator&&(n.MaxScaleDenominator=e.MaxScaleDenominator),void 0===n.MaxScaleDenominator&&(n.MaxScaleDenominator=e.MaxScaleDenominator),e.Style&&(n.Style||(n.Style=[]),e.Style.forEach((function(e){n.Style.find((function(t){return t.Name===e.Name}))||n.Style.push(e)}))),e.CRS&&(n.CRS||(n.CRS=[]),e.CRS.forEach((function(e){n.CRS.find((function(t){return t.Name===e}))||n.CRS.push(e)})))),void 0!==(null==n?void 0:n.Layer)&&n.Layer.forEach((function(e){return fn(gn,t,In).call(t,n,e)}))}function Mn(e,t,n){Ln(e,t),t.set(e,n)}function Ln(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Rn(e,t){return e.get(Fn(e,t))}function jn(e,t,n){return e.set(Fn(e,t),n),n}function Fn(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}on=yn;var Dn=new WeakMap,Nn=new WeakMap,Bn=new WeakMap,zn=new WeakSet,Vn=function(){return(0,B.A)((function e(t,n){var r,i,o,a=this;(0,N.A)(this,e),Ln(i=this,o=zn),o.add(i),Mn(this,Dn,void 0),Mn(this,Nn,!1),Mn(this,Bn,{}),(0,z.A)(this,"map",void 0),(0,z.A)(this,"theme",void 0),(0,z.A)(this,"navBar",void 0),(0,z.A)(this,"footerBar",void 0),(0,z.A)(this,"appBar",void 0),(0,z.A)(this,"overviewMap",void 0),(0,z.A)(this,"components",void 0),(0,z.A)(this,"corePackages",void 0),(0,z.A)(this,"externalPackages",void 0),(0,z.A)(this,"globalSettings",void 0),(0,z.A)(this,"serviceUrls",void 0),(0,z.A)(this,"schemaVersionUsed",void 0),jn(Nn,this,!ue(G.Su,t)),jn(Dn,this,n);var s=$()(t.map);this.map=(0,U.K)(Y()(s,$n.call(e,null==s||null===(r=s.viewSettings)||void 0===r?void 0:r.projection))),this.map.listOfGeoviewLayerConfig=this.map.listOfGeoviewLayerConfig.map((function(t){return e.nodeFactory((0,U.N)(t),Rn(Dn,a))})).filter((function(e){return e&&(e.geoviewLayerId in Rn(Bn,a)?(e.setErrorDetectedFlag(),e.setErrorDetectedFlagForAllLayers(e.listOfLayerEntryConfig),ce.vF.logError("ERROR: The GeoView layer ".concat(e.geoviewLayerId," is duplicated."))):Rn(Bn,a)[e.geoviewLayerId]=e),e})),this.serviceUrls=(0,U.K)(Y()(t.serviceUrls,G.NA.serviceUrls)),this.theme=t.theme||G.NA.theme,this.navBar=(0,q.A)(t.navBar||G.NA.navBar),this.appBar=(0,U.K)(Y()(t.appBar,G.NA.appBar)),this.footerBar=(0,U.K)(t.footerBar),this.overviewMap=(0,U.K)(Y()(t.overviewMap,G.NA.overviewMap)),this.components=(0,q.A)(t.components||G.NA.components),this.corePackages=(0,q.A)(t.corePackages||G.NA.corePackages),this.externalPackages=(0,q.A)(t.externalPackages||G.NA.externalPackages),this.globalSettings=t.globalSettings||G.NA.globalSettings,this.schemaVersionUsed=t.schemaVersionUsed||G.NA.schemaVersionUsed,Rn(Nn,this)&&Fn(zn,this,Gn).call(this,t),de(G.Su,this)||this.setErrorDetectedFlag()}),[{key:"getErrorDetectedFlag",value:function(){return Rn(Nn,this)}},{key:"setErrorDetectedFlag",value:function(){jn(Nn,this,!0)}},{key:"getGeoviewLayer",value:function(e){var t;return null===(t=Rn(Bn,this))||void 0===t?void 0:t[e]}},{key:"fetchAllServiceMetadata",value:(e=(0,r.A)(o().mark((function e(){var t,n=this;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=[],this.map.listOfGeoviewLayerConfig.forEach((function(e){t.push(e.fetchServiceMetadata())})),e.next=4,Promise.allSettled(t);case 4:e.sent.forEach((function(e,t){"rejected"===e.status&&n.map.listOfGeoviewLayerConfig[t].setErrorDetectedFlag()}));case 6:case"end":return e.stop()}}),e,this)}))),function(){return e.apply(this,arguments)})},{key:"serialize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2;return JSON.stringify(this,void 0,e)}},{key:"applyUserConfigToGeoviewLayers",value:function(e){this.map.listOfGeoviewLayerConfig.forEach((function(t){if(null!=e&&e.length){var n=e.find((function(e){return e.geoviewLayerId===t.geoviewLayerId}));n&&t.applyUserConfig(n)}else t.applyUserConfig()}))}}],[{key:"nodeFactory",value:function(e,t){switch(e.geoviewLayerType){case G.oR.ESRI_DYNAMIC:return new Bt(e,t);case G.oR.ESRI_FEATURE:return new Wt(e,t);case G.oR.WMS:return new yn(e,t);default:Zn.devMode&&ce.vF.logError("Invalid GeoView layerType (".concat(e.geoviewLayerType,")."))}}}]);var e}();function $n(e){var t=e&&G.if.includes(e)?e:G.NA.map.viewSettings.projection,n=$()(G.NA.map);return n.viewSettings.maxExtent=(0,q.A)(G.Nt[t]),n.viewSettings.initialView={zoomAndCenter:[3.5,G.VN[t]]},n}function Gn(e){this.map.viewSettings.projection=this.map.viewSettings.projection&&G.if.includes(this.map.viewSettings.projection)?this.map.viewSettings.projection:G.NA.map.viewSettings.projection,Fn(zn,this,Un).call(this);var t=this.map.viewSettings.initialView.zoomAndCenter[0];this.map.viewSettings.initialView.zoomAndCenter[0]=!Number.isNaN(t)&&t>=0&&t<=28?t:G.NA.map.viewSettings.initialView.zoomAndCenter[0],Fn(zn,this,Wn).call(this),this.schemaVersionUsed=G.ir.includes(this.schemaVersionUsed)?this.schemaVersionUsed:G.NA.schemaVersionUsed;var n=this.map.viewSettings.minZoom;this.map.viewSettings.minZoom=!Number.isNaN(n)&&n>=0&&n<=50?n:G.NA.map.viewSettings.minZoom;var r=this.map.viewSettings.maxZoom;this.map.viewSettings.maxZoom=!Number.isNaN(r)&&r>=0&&r<=50?r:G.NA.map.viewSettings.maxZoom,Fn(zn,this,qn).call(this),Fn(zn,this,Hn).call(this,e)}function Un(){var e=this.map.viewSettings.initialView.zoomAndCenter[1][0],t=this.map.viewSettings.initialView.zoomAndCenter[1][1],n=this.map.viewSettings.projection;this.map.viewSettings.initialView.zoomAndCenter[1][0]=!Number.isNaN(e)&&e>G.mq[n].long[0]&&eG.mq[n].lat[0]&&tt[0]?a:G.mq[e].long[1],d=!Number.isNaN(s)&&s>t[1]?s:G.mq[e].lat[1];this.map.viewSettings.maxExtent=[l,c,u,d]}function Hn(e){var t,n,r,i,o,a,s,l,c,u,d=this;(Object.keys(e).forEach((function(e){e in d||ce.vF.logWarning("- Key '".concat(e,"' is invalid -"))})),(null==e||null===(t=e.map)||void 0===t||null===(t=t.viewSettings)||void 0===t?void 0:t.projection)!==this.map.viewSettings.projection)&&ce.vF.logWarning("- Invalid projection code ".concat(null==e||null===(l=e.map)||void 0===l||null===(l=l.viewSettings)||void 0===l?void 0:l.projection," replaced by ").concat(this.map.viewSettings.projection," -"));null!=e&&null!==(n=e.map)&&void 0!==n&&null!==(n=n.viewSettings)&&void 0!==n&&null!==(n=n.initialView)&&void 0!==n&&n.zoomAndCenter&&null!==(r=this.map.viewSettings.initialView)&&void 0!==r&&r.zoomAndCenter&&(null==e||null===(i=e.map)||void 0===i||null===(i=i.viewSettings)||void 0===i||null===(i=i.initialView)||void 0===i?void 0:i.zoomAndCenter[0])!==(null===(o=this.map.viewSettings.initialView)||void 0===o?void 0:o.zoomAndCenter[0])&&ce.vF.logWarning("- Invalid zoom level ".concat(null==e||null===(c=e.map)||void 0===c||null===(c=c.viewSettings)||void 0===c||null===(c=c.initialView)||void 0===c?void 0:c.zoomAndCenter[0],"\n replaced by ").concat(null===(u=this.map.viewSettings.initialView)||void 0===u?void 0:u.zoomAndCenter[0]," -"));var h,p=null==e||null===(a=e.map)||void 0===a||null===(a=a.viewSettings)||void 0===a||null===(a=a.initialView)||void 0===a?void 0:a.zoomAndCenter;(p&&Array.isArray(p)&&2===p.length&&Array.isArray(p[1])&&2===p[1].length&&(0,U.K)(p[1])!==this.map.viewSettings.initialView.zoomAndCenter[1]&&ce.vF.logWarning("- Invalid center ".concat(p[1],"\n replaced by ").concat(this.map.viewSettings.initialView.zoomAndCenter[1])),JSON.stringify(null==e||null===(s=e.map)||void 0===s?void 0:s.basemapOptions)!==JSON.stringify(this.map.basemapOptions))&&ce.vF.logWarning("- Invalid basemap options ".concat(JSON.stringify(null==e||null===(h=e.map)||void 0===h?void 0:h.basemapOptions)," replaced by ").concat(JSON.stringify(this.map.basemapOptions)," -"))}function Yn(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Kn=function(){function e(){(0,N.A)(this,e)}return(0,B.A)(e,null,[{key:"getGVConfigFromUUIDs",value:(t=(0,r.A)(o().mark((function t(n,r,i){var a,s;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a="".concat(n,"/vcs?lang=").concat(r,"&id=").concat(i.toString()),t.next=3,J.A.get(a);case 3:return s=t.sent,t.abrupt("return",Yn(e,this,Xn).call(this,s,r));case 5:case"end":return t.stop()}}),t,this)}))),function(e,n,r){return t.apply(this,arguments)})}]);var t}();function Xn(e,t){if(!(null!=e&&e.data&&e.data.reponse&&e.data.reponse.rcs&&e.data.reponse.rcs[t])){var n,r=(null==e||null===(n=e.data)||void 0===n?void 0:n.errorMessage)||"";throw new Error("Invalid response from GeoCore service\n".concat(r,"\n"))}if(0===e.data.reponse.rcs[t].length)throw new Error("No layers returned by GeoCore service");for(var i=[],o=function(){var n=e.data.reponse.rcs[t][a];if(null!=n&&n.layers&&n.layers.length>0){var r=n.layers[0];if(r){var o=r.layerType,s=r.layerEntries,l=r.name,c=r.url,u=r.id,d=r.serverType,h=r.isTimeAware,p=c.indexOf("FeatureServer")>-1;if(o!==G.oR.ESRI_DYNAMIC||p)if(p){var f=c.split("/").slice(0,-1).join("/"),g=c.split("/").pop(),m=(0,U.N)({geoviewLayerId:"".concat(u),geoviewLayerName:(0,Ge.createLocalizedString)(l),metadataAccessPath:(0,Ge.createLocalizedString)(f),geoviewLayerType:G.oR.ESRI_FEATURE,isGeocore:!0,isTimeAware:h});m.listOfLayerEntryConfig=[(0,U.N)({layerId:g})],i.push(m)}else if(o===G.oR.ESRI_FEATURE){var y=(0,U.N)({geoviewLayerId:"".concat(u),geoviewLayerName:(0,Ge.createLocalizedString)(l),metadataAccessPath:(0,Ge.createLocalizedString)(c),geoviewLayerType:G.oR.ESRI_FEATURE,isGeocore:!0,isTimeAware:h});y.listOfLayerEntryConfig=s.map((function(e){return(0,U.N)({layerId:"".concat(e.index)})})),i.push(y)}else if(o===G.oR.WMS){var v=(0,U.N)({geoviewLayerId:"".concat(u),geoviewLayerName:(0,Ge.createLocalizedString)(l),metadataAccessPath:(0,Ge.createLocalizedString)(c),geoviewLayerType:G.oR.WMS,isGeocore:!0,isTimeAware:h});v.listOfLayerEntryConfig=s.map((function(e){return(0,U.N)({layerId:"".concat(e.id),source:{serverType:void 0===d?"mapserver":d}})})),i.push(v)}else if(o===G.oR.WFS){var b=(0,U.N)({geoviewLayerId:"".concat(u),geoviewLayerName:(0,Ge.createLocalizedString)(l),metadataAccessPath:(0,Ge.createLocalizedString)(c),geoviewLayerType:G.oR.WFS,isGeocore:!0,isTimeAware:h});b.listOfLayerEntryConfig=s.map((function(e){return(0,U.N)({layerId:"".concat(e.id),source:{format:"WFS",strategy:"all"}})})),i.push(b)}else if(o===G.oR.OGC_FEATURE){var w=(0,U.N)({geoviewLayerId:"".concat(u),geoviewLayerName:(0,Ge.createLocalizedString)(l),metadataAccessPath:(0,Ge.createLocalizedString)(c),geoviewLayerType:G.oR.OGC_FEATURE,isGeocore:!0,isTimeAware:h});w.listOfLayerEntryConfig=s.map((function(e){return(0,U.N)({layerId:"".concat(e.id),source:{format:"featureAPI"}})})),i.push(w)}else if(o===G.oR.GEOJSON){var x=(0,U.N)({geoviewLayerId:"".concat(u),geoviewLayerName:(0,Ge.createLocalizedString)(l),metadataAccessPath:(0,Ge.createLocalizedString)(c),geoviewLayerType:G.oR.GEOJSON,isGeocore:!0,isTimeAware:h});x.listOfLayerEntryConfig=s.map((function(e){return(0,U.N)({layerId:"".concat(e.id),source:{format:"GeoJSON"}})})),i.push(x)}else if(o===G.oR.XYZ_TILES){var A=(0,U.N)({geoviewLayerId:"".concat(u),geoviewLayerName:(0,Ge.createLocalizedString)(l),metadataAccessPath:(0,Ge.createLocalizedString)(c),geoviewLayerType:G.oR.XYZ_TILES,isGeocore:!0,isTimeAware:h});A.listOfLayerEntryConfig=s.map((function(e){return(0,U.N)({layerId:"".concat(e.id)})})),i.push(A)}else if(o===G.oR.VECTOR_TILES){var S=(0,U.N)({geoviewLayerId:"".concat(u),geoviewLayerName:(0,Ge.createLocalizedString)(l),metadataAccessPath:(0,Ge.createLocalizedString)(c),geoviewLayerType:G.oR.VECTOR_TILES,isGeocore:!0,isTimeAware:h});S.listOfLayerEntryConfig=s.map((function(e){return(0,U.N)({layerId:"".concat(e.id),tileGrid:e.tileGrid,source:{dataAccessPath:(0,Ge.createLocalizedString)(c)}})})),i.push(S)}else if(o===G.oR.GEOPACKAGE){var C=(0,U.N)({geoviewLayerId:"".concat(u),geoviewLayerName:(0,Ge.createLocalizedString)(l),metadataAccessPath:(0,Ge.createLocalizedString)(c),geoviewLayerType:G.oR.GEOPACKAGE,isGeocore:!0,isTimeAware:h});C.listOfLayerEntryConfig=s.map((function(e){return(0,U.N)({layerId:"".concat(e.id),source:{format:"GeoPackage"}})})),i.push(C)}else if(o===G.oR.IMAGE_STATIC){var E=(0,U.N)({geoviewLayerId:"".concat(u),geoviewLayerName:(0,Ge.createLocalizedString)(l),metadataAccessPath:(0,Ge.createLocalizedString)(c),geoviewLayerType:G.oR.IMAGE_STATIC,isTimeAware:h});E.listOfLayerEntryConfig=s.map((function(e){return(0,U.N)({layerId:"".concat(e.id)})})),i.push(E)}else if(o===G.oR.ESRI_IMAGE){var k=(0,U.N)({geoviewLayerId:"".concat(u),geoviewLayerName:(0,Ge.createLocalizedString)(l),metadataAccessPath:(0,Ge.createLocalizedString)(c),geoviewLayerType:G.oR.ESRI_IMAGE,isGeocore:!0,isTimeAware:h});k.listOfLayerEntryConfig=[(0,U.N)({layerId:c.split("/").slice(-2,-1)[0]})],i.push(k)}else ce.vF.logWarning("Layer type ".concat(o," not supported"));else{var T=(0,U.N)({geoviewLayerId:"".concat(u),geoviewLayerName:(0,Ge.createLocalizedString)(l),metadataAccessPath:(0,Ge.createLocalizedString)(c),geoviewLayerType:G.oR.ESRI_DYNAMIC,isGeocore:!0,isTimeAware:h});T.listOfLayerEntryConfig=s.map((function(e){return(0,U.N)({layerId:"".concat(e.index)})})),i.push(T)}}}},a=0;a3&&void 0!==d[3])||d[3],a=Array.isArray(n)?n:[n],s=r||G.NA.serviceUrls.geocoreUrl,!(l=a.filter((function(e){return e.geoviewLayerType===G.JF})).map((function(e){return e.geoviewLayerId}))).length){e.next=19;break}return e.prev=5,e.next=8,Kn.getGVConfigFromUUIDs(s,t,l);case 8:return c=e.sent,u=(u=a.map((function(e){if(e.geoviewLayerType===G.JF){var n=c.find((function(n){return n.geoviewLayerId==="rcs.".concat(e.geoviewLayerId,".").concat(t)}));if(n)return n.geoviewLayerId=e.geoviewLayerId,n.isGeocore=!0,n}return e}))).filter((function(e){return e.geoviewLayerType!==G.JF||(ce.vF.logError("Unable to convert GeoCore layer (Id=".concat(e.geoviewLayerId,").")),!(i||!Array.isArray(n)))})),e.abrupt("return",Array.isArray(n)?u:u[0]);case 14:e.prev=14,e.t0=e.catch(5),ce.vF.logError("Failed to process the array of GeoCore layers",l,r,e.t0);case 17:e.next=20;break;case 19:return e.abrupt("return",n);case 20:return e.abrupt("return",void 0);case 21:case"end":return e.stop()}}),e,null,[[5,14]])}))),function(e,t,n){return a.apply(this,arguments)})},{key:"validateMapConfig",value:function(t,n){var r="string"==typeof t?er.call(e,t):t;try{if(!r)throw new _e("The string configuration provided cannot be translated to a json object");if(!r.map)throw new _e("The map property is mandatory");e.lastMapConfigCreated=new Vn(r,n)}catch(t){t instanceof _e?ce.vF.logError(t.message):ce.vF.logError("ConfigApi.validateMapConfig - An error occured",t);var i=e.getDefaultMapFeatureConfig(n);i.setErrorDetectedFlag(),e.lastMapConfigCreated=i}return e.lastMapConfigCreated}},{key:"createMapConfig",value:(i=(0,r.A)(o().mark((function t(n,r){var i,a,s,l,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i="string"==typeof n?er.call(e,n):$()(n),t.prev=1,i){t.next=4;break}throw new _e("The string configuration provided cannot be translated to a json object");case 4:if(i.map){t.next=6;break}throw new _e("The map property is mandatory");case 6:return i.map.listOfGeoviewLayerConfig=i.map.listOfGeoviewLayerConfig||[],s=i.map.listOfGeoviewLayerConfig.length,t.next=10,e.convertGeocoreToGeoview(r,i.map.listOfGeoviewLayerConfig,null==i||null===(a=i.serviceUrls)||void 0===a?void 0:a.geocoreUrl);case 10:i.map.listOfGeoviewLayerConfig=t.sent,l=s!==i.map.listOfGeoviewLayerConfig.length,e.lastMapConfigCreated=new Vn(i,r),l&&e.lastMapConfigCreated.setErrorDetectedFlag(),t.next=22;break;case 16:t.prev=16,t.t0=t.catch(1),t.t0 instanceof _e?ce.vF.logError(t.t0.message):ce.vF.logError("ConfigApi.createMapConfig - An error occured",t.t0),(c=e.getDefaultMapFeatureConfig(r)).setErrorDetectedFlag(),e.lastMapConfigCreated=c;case 22:return t.abrupt("return",e.lastMapConfigCreated);case 23:case"end":return t.stop()}}),t,null,[[1,16]])}))),function(e,t){return i.apply(this,arguments)})},{key:"createLayerConfig",value:(n=(0,r.A)(o().mark((function t(n,r){var i,a,s,l,c=arguments;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=c.length>2&&void 0!==c[2]?c[2]:[],a=c.length>3&&void 0!==c[3]?c[3]:"en",r!==G.JF){t.next=18;break}return t.prev=3,l={geoviewLayerId:n,geoviewLayerType:r},t.next=7,e.convertGeocoreToGeoview(a,(0,U.N)(l));case 7:if(s=t.sent){t.next=10;break}return t.abrupt("return",void 0);case 10:t.next=16;break;case 12:return t.prev=12,t.t0=t.catch(3),ce.vF.logError("Unable to convert GeoCore layer (Id=".concat(n,").")),t.abrupt("return",void 0);case 16:t.next=19;break;case 18:s=(0,U.N)({geoviewLayerId:(0,Ge.generateId)(),geoviewLayerName:{en:"unknown",fr:"inconnu"},geoviewLayerType:r,metadataAccessPath:{en:n,fr:n},listOfLayerEntryConfig:i.map((function(e){return{layerId:e}}))});case 19:return e.lastLayerConfigCreated=Vn.nodeFactory(s,a),t.abrupt("return",e.lastLayerConfigCreated);case 21:case"end":return t.stop()}}),t,null,[[3,12]])}))),function(e,t){return n.apply(this,arguments)})},{key:"createMetadataLayerTree",value:(t=(0,r.A)(o().mark((function t(n,r){var i,a,s,l=arguments;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=l.length>2&&void 0!==l[2]?l[2]:[],a=l.length>3&&void 0!==l[3]?l[3]:"en",t.next=4,e.createLayerConfig(n,r,i,a);case 4:if(!(s=t.sent)||s.getErrorDetectedFlag()){t.next=10;break}return t.next=8,s.fetchServiceMetadata();case 8:if(s.getErrorDetectedFlag()){t.next=10;break}return t.abrupt("return",s.getMetadataLayerTree());case 10:throw new _e("Unable to build metadata layer tree.");case 11:case"end":return t.stop()}}),t)}))),function(e,n){return t.apply(this,arguments)})}]);var t,n,i,a,s}();function Jn(e){var t={};if(void 0!==e)for(var n=e.split("&"),r=0;r{"use strict";n.d(t,{w:()=>H,A:()=>Y});var r=n(30538),i=(n(87774),n(16301)),o=n(43331),a=n(21834),s=n(27938),l=n(67849),c=n(78126),u=n(24367),d=n(70686),h=n(12315),p=n(69591),f=n(9596),g=function(e,t,n){for(var r=0,i=0;r=i,i=(0,c.se)(),38===r&&12===i&&(t[n]=1),!(0,c.Sh)(i);)(0,c.K2)();return(0,c.di)(e,c.G1)},m=function(e,t){return(0,c.VF)(function(e,t){var n=-1,r=44;do{switch((0,c.Sh)(r)){case 0:38===r&&12===(0,c.se)()&&(t[n]=1),e[n]+=g(c.G1-1,t,n);break;case 2:e[n]+=(0,c.Tb)(r);break;case 4:if(44===r){e[++n]=58===(0,c.se)()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=(0,u.HT)(r)}}while(r=(0,c.K2)());return e}((0,c.c4)(e),t))},y=new WeakMap,v=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||y.get(n))&&!r){y.set(e,!0);for(var i=[],o=m(t,i),a=n.props,s=0,l=0;s6)switch((0,u.wN)(e,t+1)){case 109:if(45!==(0,u.wN)(e,t+4))break;case 102:return(0,u.HC)(e,/(.+:)(.+)-([^]+)/,"$1"+d.j+"$2-$3$1"+d.vd+(108==(0,u.wN)(e,t+3)?"$3":"$2-$3"))+e;case 115:return~(0,u.K5)(e,"stretch")?w((0,u.HC)(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==(0,u.wN)(e,t+1))break;case 6444:switch((0,u.wN)(e,(0,u.b2)(e)-3-(~(0,u.K5)(e,"!important")&&10))){case 107:return(0,u.HC)(e,":",":"+d.j)+e;case 101:return(0,u.HC)(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+d.j+(45===(0,u.wN)(e,14)?"inline-":"")+"box$3$1"+d.j+"$2$3$1"+d.MS+"$2box$3")+e}break;case 5936:switch((0,u.wN)(e,t+11)){case 114:return d.j+e+d.MS+(0,u.HC)(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return d.j+e+d.MS+(0,u.HC)(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return d.j+e+d.MS+(0,u.HC)(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return d.j+e+d.MS+e+e}return e}var x=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case d.LU:e.return=w(e.value,e.length);break;case d.Sv:return(0,h.l)([(0,c.C)(e,{value:(0,u.HC)(e.value,"@","@"+d.j)})],r);case d.XZ:if(e.length)return(0,u.kg)(e.props,(function(t){switch((0,u.YW)(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return(0,h.l)([(0,c.C)(e,{props:[(0,u.HC)(t,/:(read-\w+)/,":"+d.vd+"$1")]})],r);case"::placeholder":return(0,h.l)([(0,c.C)(e,{props:[(0,u.HC)(t,/:(plac\w+)/,":"+d.j+"input-$1")]}),(0,c.C)(e,{props:[(0,u.HC)(t,/:(plac\w+)/,":"+d.vd+"$1")]}),(0,c.C)(e,{props:[(0,u.HC)(t,/:(plac\w+)/,d.MS+"input-$1")]})],r)}return""}))}}],A=n(97282);let S;function C(e){const{injectFirst:t,children:n}=e;return t&&S?(0,A.jsx)(s.C,{value:S,children:n}):n}"object"==typeof document&&(S=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,i,o=e.stylisPlugins||x,a={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),L=e=>({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}}),R=(e,t=!1)=>{const n={};t&&e.colorSchemes&&"function"==typeof e.getColorSchemeSelector&&Object.entries(e.colorSchemes).forEach((([t,r])=>{const i=e.getColorSchemeSelector(t);i.startsWith("@")?n[i]={":root":{colorScheme:r.palette?.mode}}:n[i.replace(/\s*&/,"")]={colorScheme:r.palette?.mode}}));let r={html:M(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...L(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const i=e.components?.MuiCssBaseline?.styleOverrides;return i&&(r=[r,i]),r},j="mui-ecs";(0,P.Dp)(I?({theme:e,enableColorScheme:t})=>R(e,t):({theme:e})=>(e=>{const t=R(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${j})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach((([t,r])=>{const i=e.getColorSchemeSelector(t);i.startsWith("@")?n[i]={[`:root:not(:has(.${j}))`]:{colorScheme:r.palette?.mode}}:n[i.replace(/\s*&/,"")]={[`&:not(:has(.${j}))`]:{colorScheme:r.palette?.mode}}})),t})(e));var F=n(50190),D=n(57638);function N(e){return(0,D.Ay)("MuiScopedCssBaseline",e)}(0,F.A)("MuiScopedCssBaseline",["root"]);const B=(0,T.Ay)("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:(e,t)=>t.root})((0,_.A)((({theme:e})=>{const t={};return e.colorSchemes&&Object.entries(e.colorSchemes).forEach((([n,r])=>{const i=e.getColorSchemeSelector(n);i.startsWith("@")?t[i]={colorScheme:r.palette?.mode}:t[`&${i.replace(/\s*&/,"")}`]={colorScheme:r.palette?.mode}})),{...M(e,!1),...L(e),"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:e.typography.fontWeightBold},variants:[{props:{enableColorScheme:!0},style:e.vars?t:{colorScheme:e.palette.mode}}]}}))),z=r.forwardRef((function(e,t){const n=(0,O.b)({props:e,name:"MuiScopedCssBaseline"}),{className:r,component:i="div",enableColorScheme:o,...a}=n,s={...n,component:i},l=(e=>{const{classes:t}=e;return(0,k.A)({root:["root"]},N,t)})(s);return(0,A.jsx)(B,{as:i,className:(0,E.A)(l.root,r),ref:t,ownerState:s,...a})}));var V=n(71799),$=n(48088),G=n(19043),U=n(24046),W=n(6335),q=n(42360),H=(0,r.createContext)({mapId:"",mapFeaturesConfig:void 0});const Y=function(e){W.vF.logTraceRender("components/app-start");var t=e.mapFeaturesConfig,n=e.onMapViewerInit,s=t.mapId,l=(0,r.useMemo)((function(){return W.vF.logTraceUseMemo("APP-START - mapContextValue",s),{mapId:s}}),[s]),c=(0,q.lk)(s),u=(0,q.iO)(s);return(0,A.jsx)(C,{injectFirst:!0,children:(0,A.jsx)(a.A,{theme:$.w,children:(0,A.jsx)(z,{children:(0,A.jsx)(r.Suspense,{fallback:"",children:function(){var e=i.Ay.cloneInstance({lng:c,fallbackLng:c});if(!(s in U.FHQ.maps)){var d=new G.F(t,e);U.FHQ.maps[s]=d}return U.FHQ.maps[s].onMapInit((function(e){null==n||n(e)})),(0,A.jsx)(o.I18nextProvider,{i18n:e,children:(0,A.jsx)(H.Provider,{value:l,children:(0,A.jsx)(a.A,{theme:(0,$.O)(u),children:(0,A.jsx)(r.StrictMode,{children:(0,A.jsx)(V.$,{mapViewer:U.FHQ.maps[s]})})})})})}()})})})})}},59160:(e,t,n)=>{"use strict";n.d(t,{r:()=>w});var r=n(36549),i=n(80085),o=n(24515),a=n(63535),s=n(72459),l=n(75079),c=n(12003),u=n(6335);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t2&&void 0!==arguments[2])||arguments[2];c.d.setActiveAppBarTab(this.mapId,e,t,n)}}])}();function x(e){l.A.emitEvent(this,g(y,this),e)}function A(e){l.A.emitEvent(this,g(v,this),e)}function S(){this.buttons.default={}}},21166:(e,t,n)=>{"use strict";n.d(t,{h:()=>B});var r=n(24515),i=n(888),o=n(76390),a=n.n(o),s=n(46900),l=n.n(s),c=n(43331),u=n(30538),d=n(13679),h=n(53921),p=n(5805),f=n(65416),g=n(74576),m=n(27797),y=n(42877),v=n(42360),b=n(48940),w=n(6335),x=n(58990),A=n(64415),S=n(98796),C=function(e){return{appBar:{display:"flex",flexDirection:"row",justifyContent:"space-between",zIndex:e.zIndex.appBar,pointerEvents:"all",backgroundColor:e.palette.geoViewColor.bgColor.main,border:e.palette.geoViewColor.primary.light[100],"&.interaction-static":{position:"absolute",left:0,top:0,height:"100%",backgroundColor:"unset",border:"unset",paddingBottom:"60px","&>div":{border:"unset !important"}}},appBarList:{width:60,"& li":{backgroundColor:"transparent",justifyContent:"center",margin:"16px 0",padding:0,"&:hover":{backgroundColor:"transparent",color:e.palette.geoViewColor.primary.light[300]}},"& hr":{width:"80%",marginLeft:"7px"}},appBarButtons:{borderRightColor:e.palette.geoViewColor.primary.light[100],borderRightWidth:1,borderRightStyle:"solid",width:64},appBarButton:{backgroundColor:e.palette.geoViewColor.primary.main,color:e.palette.geoViewColor.primary.light[700],height:44,width:44,transition:"background-color 0.3s ease-in-out",border:"2px solid transparent","&:hover":{backgroundColor:e.palette.geoViewColor.primary.light[100],color:e.palette.geoViewColor.primary.light[700]},"&:focus":{backgroundColor:e.palette.geoViewColor.primary.light[150],color:e.palette.geoViewColor.primary.light[700]},"&:active":{backgroundColor:e.palette.geoViewColor.primary.light[100],color:e.palette.geoViewColor.primary.light[700]},"&.active":{border:"2px solid ".concat(e.palette.geoViewColor.primary.light[100]),backgroundColor:"transparent",color:e.palette.geoViewColor.primary.light[100]},"& .MuiSvgIcon-root":{height:20,width:20}},versionButtonDiv:{position:"absolute",bottom:0},appBarPanels:{}}},E=n(77156);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t{"use strict";n.d(t,{A:()=>v});var r=n(888),i=n(30538),o=n(43331),a=n(37919),s=n(84681),l=n(58025),c=n(82335),u=n(71731),d=n(92837),h=n(22935),p=n(53921),f=n(48940),g=n(42877),m=n(70200),y=n(97282);function v(){var e=(0,o.useTranslation)().t,t=(0,f.Jh)(),n=(0,g.GT)(),v=document.getElementById("shell-".concat(t)),b=(0,i.useState)(null),w=(0,r.A)(b,2),x=w[0],A=w[1],S=(0,i.useState)(!1),C=(0,r.A)(S,2),E=C[0],k=C[1],T=function(){E&&(k(!1),A(null))},_={versionInfoPanel:{width:"200px",backgroundColor:function(e){return e.palette.geoViewColor.bgColor.light[200]},borderRadius:"5px",boxShadow:2,marginLeft:"15px","& a":{color:function(e){return"light"===e.palette.mode?e.palette.secondary.contrastText:e.palette.geoViewColor.primary.light[300]},textDecoration:"underLine"}},versionsInfoTitle:{fontSize:function(e){return e.palette.geoViewFontSize.default},fontWeight:"700",padding:"20px",color:function(e){return e.palette.geoViewColor.textColor.main},borderBottom:function(e){return"1px solid ".concat(e.palette.geoViewColor.bgColor.dark[100],"}")},marginBottom:"10px"},versionInfoContent:{padding:"20px",gap:"5px",display:"flex",flexDirection:"column"}};return(0,y.jsx)(a.x,{mouseEvent:"onMouseDown",touchEvent:"onTouchStart",onClickAway:T,children:(0,y.jsxs)(s.A,{children:[(0,y.jsx)(p.IconButton,{id:"version-button",tooltip:"appbar.version",tooltipPlacement:"bottom-end",onClick:function(e){A(e.currentTarget),k(!E)},className:"".concat("dynamic"===n?"buttonFilled":"style4"," ").concat(E?"active":""),"aria-label":"appbar.version",children:(0,y.jsx)(l.A,{viewBox:"-4 -2 38 36",children:(0,y.jsx)(p.GeoCaIcon,{})})}),(0,y.jsx)(p.Popper,{open:E,anchorEl:x,placement:"right-end",onClose:T,container:v,children:(0,y.jsxs)(c.A,{sx:_.versionInfoPanel,children:[(0,y.jsx)(u.A,{sx:_.versionsInfoTitle,component:"h3",children:e("appbar.version")}),(0,y.jsxs)(s.A,{sx:_.versionInfoContent,children:[(0,y.jsxs)(s.A,{sx:{display:"flex",flexDirection:"row",alignContent:"center",gap:"6px"},children:[(0,y.jsx)(l.A,{viewBox:"-4 -2 38 36",children:(0,y.jsx)(p.GeoCaIcon,{})}),(0,y.jsx)(d.A,{rel:"noopener",href:h.un.url,target:"_black",children:h.un.text})]}),(0,y.jsxs)(s.A,{sx:{display:"flex",flexDirection:"row",alignContent:"center",gap:"6px"},children:[(0,y.jsx)(m.A,{}),(0,y.jsx)(d.A,{rel:"noopener",href:h.Dy,target:"_black",children:e("appbar.repoLink")})]}),(0,y.jsx)(u.A,{component:"div",children:"v.".concat(1,".").concat(0,".").concat(0)}),(0,y.jsx)(u.A,{component:"div",children:new Date(1725896868068).toLocaleDateString()})]})]})})]})})}},74031:(e,t,n)=>{"use strict";n.d(t,{m:()=>f});var r=n(24515),i=n(888),o=n(30538),a=n(13679),s=n(53921),l=n(27797),c=n(42877),u=n(72459),d=n(48940),h=n(6335),p=n(97282);function f(){h.vF.logTraceRender("components/attribution/attribution");var e=(0,a.A)(),t=(0,d.Jh)(),n=document.getElementById("shell-".concat(t)),f=(0,o.useState)(null),g=(0,i.A)(f,2),m=g[0],y=g[1],v=Boolean(m),b=(0,c.re)(),w=(0,l.dY)(),x=(0,o.useCallback)((function(e){y(e.currentTarget)}),[]),A=(0,o.useCallback)((function(){y(null)}),[]);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(s.IconButton,{id:"attribution",onClick:x,className:v?"active":"",tooltipPlacement:"top",tooltip:"mapctrl.attribution.tooltip","aria-label":"mapctrl.attribution.tooltip",sx:(0,r.A)((0,r.A)((0,r.A)({color:e.palette.geoViewColor.bgColor.light[800],marginTop:w?"0.75rem":"0.25rem"},e.breakpoints.up("md"),{marginTop:w?"1.4375rem":"none"}),"width","30px"),"height","30px"),children:(0,p.jsx)(s.MoreHorizIcon,{})}),(0,p.jsx)(s.Popover,{open:v,anchorEl:m,container:n,anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"left"},onClose:A,children:(0,p.jsx)(s.Box,{sx:{padding:"1rem",width:"28.125rem"},children:b.map((function(e){return(0,p.jsx)(s.Typography,{children:e},(0,u.generateId)())}))})})]})}},74959:(e,t,n)=>{"use strict";n.d(t,{n:()=>c});var r=n(30538),i=n(53921),o=n(42877),a=n(6335),s=n(48940),l=n(97282);function c(){a.vF.logTraceRender("components/click-marker/click-marker");var e=(0,s.Jh)(),t=(0,r.useRef)(null),n="".concat(e,"-clickmarker"),c=(0,o.yC)(),u=(0,o.Rs)(),d=(0,o.U6)(),h=d.setOverlayClickMarkerRef,p=d.showClickMarker;return setTimeout((function(){return h(t.current)}),0),(0,r.useEffect)((function(){a.vF.logTraceUseEffect("CLICK-MARKER - clickCoordinates"),u&&p({lnglat:u.lnglat})}),[u,p]),(0,l.jsx)(i.Box,{ref:t,id:n,sx:{position:"absolute",visibility:void 0!==c?"visible":"hidden"},children:(0,l.jsx)(i.ClickMapMarker,{sx:{animation:"opacity 1s ease-in","@keyframes opacity":{from:{opacity:0},to:{opacity:1}}},fontSize:"large",color:"warning"})})}},90651:(e,t,n)=>{"use strict";n.d(t,{Pe:()=>C,PE:()=>b,Wu:()=>w.W,xk:()=>S});n(7265);var r=n(30538),i=n(13679),o=n(43331),a=n(38811),s=n(53921),l=function(e){return{list:{overflowY:"auto",color:"text.primary",width:"100%",paddingRight:"14px","& .MuiListItemText-primary":{fontSize:e.palette.geoViewFontSize.lg,fontWeight:"600"},"& .MuiListItem-root":{height:"100%","& .MuiListItemButton-root":{padding:"0 0 0 16px",height:"100%",backgroundColor:e.palette.geoViewColor.bgColor.light[500]}},"& .MuiListItemButton-root":{minHeight:"73px"},"& .MuiListItemIcon-root":{minWidth:"2rem"},"& .MuiListItemText-root":{">span":{fontSize:e.palette.geoViewFontSize.default},"> p":{fontSize:e.palette.geoViewFontSize.sm,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},listPrimaryText:{minWidth:"0",marginTop:"0.5rem",marginBottom:"0.5rem",marginLeft:"10px",flex:"1 1 auto",display:"flex",flexDirection:"column","& .layerTitle":{fontSize:e.palette.geoViewFontSize.default,fontWeight:"600",lineHeight:1.5,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},">div":{display:"flex",alignItems:"center",marginTop:"4px",">p":{fontSize:"".concat(e.palette.geoViewFontSize.sm," !important"),color:e.palette.text.secondary,fontWeight:400}," svg":{width:"0.75em",height:"0.75em"}}},borderWithIndex:"2px solid ".concat(e.palette.geoViewColor.primary.main," !important"),borderNone:"none",headline:{fontSize:e.palette.geoViewFontSize.md,fontWeight:"bold"},layersInstructionsPaper:{padding:"2rem",cursor:"pointer"},layersInstructionsTitle:{fontSize:e.palette.geoViewFontSize.md,fontWeight:"600",lineHeight:"1.5em"},layersInstructionsBody:{fontSize:e.palette.geoViewFontSize.default}}},c=n(1494),u=n(97282),d=(0,r.memo)((function(e){var t=e.id,n=e.isSelected,d=e.layer,h=e.onListItemClick,p=e.layerIndex,f=(0,i.A)(),g=l(f),m=(0,o.useTranslation)().t,y=0===(null==d?void 0:d.numOffeatures)||null===(null==d?void 0:d.features),v=0===(null==d?void 0:d.numOffeatures)||null===(null==d?void 0:d.features)||"processing"===d.queryStatus||"loading"===d.layerStatus||"processing"===d.layerStatus,b=(0,r.useCallback)((function(){var e;return"error"===d.layerStatus||"error"===(null==d?void 0:d.queryStatus)?"".concat(m("legend.layerError")):["init","processing"].includes(d.queryStatus)?"".concat(m("layers.querying"),"..."):(0,u.jsxs)(u.Fragment,{children:[d.layerFeatures," ",null!==(e=null==d?void 0:d.mapFilteredIcon)&&void 0!==e?e:""]})}),[d,m]);var w,x,A=(0,a.zh)({delay:150*p,from:{opacity:.1},to:{opacity:1}}),S=(0,r.useCallback)((function(e,t){"Enter"!==e.key||y||(h(t),e.preventDefault())}),[y,h]),C=(0,a.CS)(s.Paper);return(0,u.jsx)(C,{sx:{marginBottom:"1rem"},style:A,className:(x=["layer-panel","bordered",null!==(w=d.layerStatus)&&void 0!==w?w:"","query-".concat(d.queryStatus)],n&&x.push("selectedLayer bordered-primary"),x.join(" ")),children:(0,u.jsx)(s.Tooltip,{title:d.tooltip,placement:"top",arrow:!0,children:(0,u.jsx)(s.Box,{children:(0,u.jsx)(s.ListItem,{disablePadding:!0,onKeyDown:function(e){return S(e,d)},onClick:function(){return h(d)},tabIndex:0,id:t,children:(0,u.jsxs)(s.ListItemButton,{tabIndex:-1,selected:n,disabled:y||v,"aria-label":d.layerName,children:[d.layerPath&&!d.content?(0,u.jsx)(c.B,{layer:d}):null,(0,u.jsxs)(s.Box,{sx:g.listPrimaryText,children:[(0,u.jsx)(s.Typography,{className:"layerTitle",children:d.layerName}),(0,u.jsx)(s.Box,{display:"flex",alignContent:"center",children:(0,u.jsx)(s.Typography,{component:"p",variant:"subtitle1",noWrap:!0,display:"block",children:b()})})]})]})})})})})}));function h(e){var t=e.layerList,n=e.selectedLayerPath,r=e.onListItemClick,a=(0,i.A)(),c=l(a),h=(0,o.useTranslation)().t;return(0,u.jsxs)(s.List,{sx:c.list,children:[!!t.length&&t.map((function(e,t){var i,o;return(0,u.jsx)(d,{id:"".concat(null!==(i=null==e?void 0:e.layerUniqueId)&&void 0!==i?i:""),isSelected:(null!==(o=null==e?void 0:e.numOffeatures)&&void 0!==o?o:1)>0&&e.layerPath===n,layer:e,onListItemClick:r,layerIndex:t},e.layerPath)})),!t.length&&(0,u.jsx)(d,{id:"dummyPath",isSelected:!1,layerIndex:0,layer:{layerPath:"",layerName:h("layers.instructionsNoLayersTitle"),layerFeatures:h("layers.instructionsNoLayersBody"),layerStatus:"processed",queryStatus:"processed",numOffeatures:0},onListItemClick:r},"dummyPath")]})}var p=n(24515),f=n(6335),g=n(72406),m=n(22935),y=n(27797);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){var t=e.children,n=e.guideContentIds,o=e.layerList,a=e.selectedLayerPath,l=e.onLayerListClicked,c=e.onIsEnlargeClicked,d=e.fullWidth,b=e.onGuideIsOpen,w=e.containerType,x=void 0===w?m.vB.FOOTER_BAR:w,A=(0,r.useRef)(null),S=(0,i.A)(),C=(0,y.A6)().setSelectedFooterLayerListItem,E=(0,r.useCallback)((function(e){var t,n;null==l||l(e),null===(t=A.current)||void 0===t||t.setIsRightPanelVisible(!0),null===(n=A.current)||void 0===n||n.setRightPanelFocus(),C("".concat(e.layerUniqueId))}),[l,C]),k=(0,r.useCallback)((function(){return f.vF.logTraceUseCallback("LAYOUT - renderLayerList"),(0,u.jsx)(h,{selectedLayerPath:a,onListItemClick:E,layerList:o})}),[a,o,E]),T=(0,r.useMemo)((function(){var e,t;return null!==(e=null===(t=o.find((function(e){return e.layerPath===a})))||void 0===t?void 0:t.layerName)&&void 0!==e?e:""}),[o,a]),_=(0,r.useCallback)((function(){var e=function(e){for(var t=1;t{"use strict";n.d(t,{B:()=>c});var r=n(13679),i=n(53921),o=function(e){return{legendIconTransparent:{display:"flex",justifyContent:"center",alignItems:"center",width:24,height:24},iconPreviewHoverable:{width:24,height:24,position:"absolute",left:-3,top:-2,padding:0,borderRadius:0,boxShadow:2,transition:"transform .3s ease-in-out","&:hover":{transform:"rotate(-18deg) translateX(-8px)"}},iconPreviewStacked:{width:24,height:24,padding:0,borderRadius:0,border:"1px solid",borderColor:e.palette.geoViewColor.bgColor.dark[600],boxShadow:2,backgroundColor:e.palette.geoViewColor.white},maxIconImg:{maxWidth:24,maxHeight:24},legendIcon:{display:"flex",justifyContent:"center",alignItems:"center",width:24,height:"24px !important",backgroundColor:e.palette.geoViewColor.white,border:"1px solid",borderColor:e.palette.geoViewColor.bgColor.dark[600],borderRadius:.5},stackIconsBox:{width:24,height:24,position:"relative","&:focus":{outlineColor:e.palette.geoViewColor.bgColor.dark[600]}},iconPreview:{padding:0,borderRadius:0,boxShadow:2,"&:focus":{border:"revert"}}}},a=n(57882),s=n(97282);function l(e){var t=e.layerPath,n=e.onIconClick,l=e.onStackIconClick,c=(0,r.A)(),u=o(c),d=(0,a.Uk)(t),h=(null==d?void 0:d.length)>0?d[0]:"",p=(null==d?void 0:d.length)>1?d[1]:"",f=null==d?void 0:d.length;return 1===f?(0,s.jsx)(i.IconButton,{tabIndex:-1,sx:u.iconPreview,color:"primary",size:"small",onClick:"no data"===h?void 0:n,"aria-hidden":"true",children:"no data"===h?(0,s.jsx)(i.BrowserNotSupportedIcon,{}):(0,s.jsx)(i.Box,{sx:u.legendIcon,children:(0,s.jsx)(i.Box,{component:"img",alt:"icon",src:h,sx:u.maxIconImg})})}):f&&f>0?(0,s.jsxs)(i.Box,{tabIndex:-1,onClick:n,sx:u.stackIconsBox,onKeyPress:function(e){return null==l?void 0:l(e)},"aria-hidden":"true",children:[(0,s.jsx)(i.IconButton,{sx:u.iconPreviewStacked,color:"primary",size:"small",tabIndex:-1,"aria-hidden":"true",children:(0,s.jsx)(i.Box,{sx:u.legendIconTransparent,children:p&&(0,s.jsx)(i.Box,{component:"img",alt:"icon",src:p,sx:u.maxIconImg})})}),(0,s.jsx)(i.IconButton,{sx:u.iconPreviewHoverable,color:"primary",size:"small",tabIndex:-1,"aria-hidden":"true",children:(0,s.jsx)(i.Box,{sx:u.legendIcon,children:h&&(0,s.jsx)(i.Box,{component:"img",alt:"icon",src:h,sx:u.maxIconImg})})})]}):""!==t&&0===d.length&&"!"!==t.charAt(0)?(0,s.jsx)(i.Box,{tabIndex:-1,onClick:n,sx:u.stackIconsBox,onKeyPress:function(e){return null==l?void 0:l(e)},"aria-hidden":"true",children:(0,s.jsx)(i.IconButton,{sx:u.iconPreviewStacked,color:"primary",size:"small",tabIndex:-1,"aria-hidden":"true",children:(0,s.jsx)(i.Box,{sx:u.legendIconTransparent,children:(0,s.jsx)(i.BrowserNotSupportedIcon,{})})})}):null}function c(e){var t=e.layer;return"error"===t.layerStatus||"queryStatus"in t&&"error"===t.queryStatus?(0,s.jsx)(i.ErrorIcon,{color:"error"}):"processing"===t.layerStatus||"loading"===t.layerStatus||"queryStatus"in t&&"processing"===t.queryStatus?(0,s.jsx)(i.Box,{sx:{padding:"5px",marginRight:"10px"},children:(0,s.jsx)(i.CircularProgressBase,{size:20})}):"children"in t&&null!=t&&t.children.length?(0,s.jsx)(i.GroupWorkOutlinedIcon,{color:"primary"}):(0,s.jsx)(l,{layerPath:t.layerPath})}},72406:(e,t,n)=>{"use strict";n.d(t,{z:()=>C});var r=n(24515),i=n(888),o=n(30538),a=n(43331),s=n(13679),l=n(34089),c=n(53921),u=n(7265),d=n(6084),h=n(97282);const p=function(e){var t=e.open,n=e.onClose,r=e.children;return(0,h.jsx)(c.Dialog,{fullScreen:!0,maxWidth:"xl",open:t,onClose:n,disablePortal:!0,children:(0,h.jsxs)(c.DialogContent,{sx:{display:"flex",flexDirection:"column",alignItems:"end"},children:[(0,h.jsx)(c.IconButton,{onClick:n,color:"primary",className:"buttonFilledOutline",sx:{marginBottom:"1.5rem"},children:(0,h.jsx)(c.CloseIcon,{})}),r]})})};var f=n(6335),g=n(58541),m=n(81981),y=n(24199),v=n(46066),b=n(42360),w=n(27797),x=n(22935);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t div":{maxHeight:"calc(100vh - 120px)",overflow:"auto"},"& .MuiTableContainer-root":{maxHeight:"calc(100vh - 260px)"},"& .guidebox-container":{maxHeight:"calc(100vh - 120px)",overflow:"auto"}},"& .MuiPaper-root":{border:"none"},"& .guideBox":{color:"".concat(e.palette.geoViewColor.grey.dark[800]," !important"),margin:"1rem",img:{maxWidth:"100%"},td:{width:"auto",paddingLeft:"15px"},th:{textAlign:"left",paddingLeft:"15px"},"& h3":{"&:first-of-type":{display:"flex",alignItems:"center",gap:"0.325rem"}}}}}}(B),V=(0,a.useTranslation)().t,$=(0,b.DR)(),G=(0,b.kv)(),U=(0,w.Qy)(),W=(0,o.useState)(!1),q=(0,i.A)(W,2),H=q[0],Y=q[1],K=(0,o.useState)(!1),X=(0,i.A)(K,2),Z=X[0],J=X[1],Q=(0,o.useState)(!1),ee=(0,i.A)(Q,2),te=ee[0],ne=ee[1],re=(0,o.useState)(!1),ie=(0,i.A)(re,2),oe=ie[0],ae=ie[1],se=(0,d.W)({footerPanelTab:"default"}),le=se.leftPanelRef,ce=se.rightPanelRef,ue=se.panelTitleRef,de=(0,o.useRef)();(0,o.useImperativeHandle)(t,(function(){return{setIsRightPanelVisible:function(e){return Y(e)},setRightPanelFocus:function(){var e;de.current&&(de.current.tabIndex=0,null===(e=de.current)||void 0===e||e.focus())}}})),(0,o.useEffect)((function(){J(!O&&!!L)}),[O,L]),(0,o.useEffect)((function(){null==j||j(Z)}),[Z,j]),(0,o.useEffect)((function(){D&&te&&ne(!1)}),[D,te]),(0,o.useEffect)((function(){var e=function(e){var t;"Escape"===e.key&&U.length&&de.current&&(de.current.tabIndex=-1,null===(t=document.getElementById(U))||void 0===t||t.focus())},t=de.current;return null==t||t.addEventListener("keydown",e),function(){null==t||t.removeEventListener("keydown",e)}}),[U]);var he=(0,o.useCallback)((function(e){f.vF.logTraceUseCallback("LAYOUT - handleIsEnlarge"),ne(e),null==R||R(e)}),[R]),pe=(0,o.useCallback)((function(){var e;L&&(J(!0),null===(e=de.current)||void 0===e||e.focus())}),[J,L]);B.breakpoints.down("md")&&(E||A||H||I||Y(!0));var fe,ge;return(0,h.jsxs)(c.Box,{ref:t,children:[(0,h.jsxs)(u.N.Root,{sx:{pt:8,pb:0},ref:ue,children:[!I&&(0,h.jsx)(u.N.Left,{isRightPanelVisible:H,isEnlarged:te,"aria-hidden":!H,sxProps:{zIndex:oe?"unset":200},className:"responsive-layout-left-top",children:A}),(0,h.jsx)(u.N.Right,{isRightPanelVisible:H,isEnlarged:te,fullWidth:I,sxProps:{zIndex:oe?"unset":100},className:"responsive-layout-right-top",children:(0,h.jsxs)(c.Box,{sx:(0,r.A)((0,r.A)({display:"flex",alignItems:I||N===x.vB.APP_BAR?"end":"center",flexDirection:I||N===x.vB.APP_BAR?"column":"row",gap:I||N===x.vB.APP_BAR?"10px":"0"},B.breakpoints.up("md"),{justifyContent:I||N===x.vB.APP_BAR?"space-between":"right"}),B.breakpoints.down("md"),{justifyContent:"space-between"}),children:[null!=T?T:(0,h.jsx)(c.Box,{}),(0,h.jsx)(c.Box,{sx:z.rightButtonsContainer,children:(0,h.jsxs)(c.ButtonGroup,{size:"small",variant:"outlined","aria-label":"outlined button group",children:[!I&&!D&&(window.innerWidth<=B.breakpoints.values.md?null:(0,h.jsx)(c.Button,{makeResponsive:!0,type:"text",size:"small",variant:"outlined",startIcon:te?(0,h.jsx)(g.A,{}):(0,h.jsx)(m.A,{}),sx:{boxShadow:"none"},onClick:function(){return he(!te)},tooltip:V(te?"dataTable.reduceBtn":"dataTable.enlargeBtn"),children:V(te?"dataTable.reduceBtn":"dataTable.enlargeBtn")})),!(null==L||!L.length)&&(window.innerWidth<=B.breakpoints.values.md?null:(0,h.jsx)(c.Button,{makeResponsive:!0,type:"text",disabled:Z,variant:"outlined",size:"small",onClick:function(){return pe()},tooltip:V("general.openGuide"),startIcon:(0,h.jsx)(v.A,{}),children:V("general.guide")})),!G&&(0,h.jsx)(c.Button,{makeResponsive:!0,type:"text",variant:"outlined",size:"small",onClick:function(){return ae(!oe)},tooltip:V(oe?"general.closeFullscreen":"general.openFullscreen"),startIcon:(0,h.jsx)(c.FullscreenIcon,{}),children:V("general.fullScreen")}),!(!E&&!A)&&(I||!(window.innerWidth>=B.breakpoints.values.md)&&H?(0,h.jsx)(c.Button,{makeResponsive:!0,type:"text",size:"small",variant:"outlined",color:"primary",className:"buttonFilledOutline",startIcon:(0,h.jsx)(y.A,{fontSize:B.palette.geoViewFontSize.sm}),sx:S({},I?z.appBarEnlargeButton:z.footerBarEnlargeButton),onClick:function(){return Y(!1)},tooltip:null!==(ge=V("dataTable.close"))&&void 0!==ge?ge:"",children:V("dataTable.close")}):null)]})})]})})]}),(0,h.jsxs)(u.N.Root,{children:[(0,h.jsx)(u.N.Left,S(S({},!I&&{ref:le}),{},{isEnlarged:te,isRightPanelVisible:H,fullWidth:I,"aria-hidden":!H,sxProps:{zIndex:oe?"unset":200},className:"responsive-layout-left-main",children:E})),(0,h.jsx)(u.N.Right,S(S({},!I&&{ref:ce}),{},{isEnlarged:te,isRightPanelVisible:H,fullWidth:I,sxProps:{zIndex:oe?"unset":100},className:"responsive-layout-right-main",children:(fe=Z?function(){var e=null==L?void 0:L.map((function(e){var t;return function(e,t){if(null!=e){var n=t.split("."),r=e;return n.forEach((function(e){r=e in r?r[e]:void 0})),r}}(null==$||null===(t=$.footerPanel)||void 0===t?void 0:t.children,"".concat(e,".content"))})).filter((function(e){return void 0!==e})).join("\n");return e?(0,h.jsx)(c.Box,{sx:{padding:"20px",overflow:"auto"},children:(0,h.jsx)(c.Box,{className:"guideBox",children:(0,h.jsx)(l.Ay,{options:{wrapper:"article"},children:e})})}):null}():O,(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(p,{open:oe,onClose:function(){return ae(!1)},children:(0,h.jsx)(c.Box,{sx:z.rightGridContent,className:"responsive-layout-right-main-content fullscreen-mode",children:fe})}),(0,h.jsx)(c.Box,{ref:de,sx:z.rightGridContent,tabIndex:-1,className:Z?"responsive-layout-right-main-content guide-container":"responsive-layout-right-main-content",children:fe})]}))}))]})]})}));C.displayName="ResponsiveGridLayout"},7265:(e,t,n)=>{"use strict";n.d(t,{N:()=>b});var r=n(24515),i=n(59858),o=n(30538),a=n(13679),s=n(53921),l=n(97282),c=["children"],u=["children","className","isRightPanelVisible","sxProps","isEnlarged","fullWidth"],d=["children","className","isRightPanelVisible","sxProps","isEnlarged","fullWidth"];function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{"use strict";n.d(t,{W:()=>g});var r=n(30538),i=n(13679),o=n(49731),a=n(42360),s=n(27797),l=n(92282),c=n(93858),u=n(6335),d=n(22935),h=n(48940),p=n(82997),f=n(42877);function g(e){var t=e.footerPanelTab,n=void 0===t?"default":t,g=600,m=(0,i.A)(),y=(0,h.Jh)(),v=(0,r.useRef)(null),b=(0,r.useRef)(null),w=(0,r.useRef)(0),x=(0,o.A)(m.breakpoints.down("md")),A=(0,r.useCallback)((function(e){var t,n;e&&(w.current=null!==(t=null===(n=e.getBoundingClientRect())||void 0===n?void 0:n.height)&&void 0!==t?t:0)}),[]),S=(0,a.kv)(),C=(0,f.ht)(),E=(0,s.ex)(),k=(0,s.g_)(),T=(0,l.yU)(),_=(0,c.Xh)(),O=(0,c.eQ)().setTableHeight,P=(0,s.bd)().tabGroup,I=function(e){var t,n,r=null!==(t=null===(n=b.current)||void 0===n?void 0:n.firstElementChild)&&void 0!==t?t:null;r&&(r.style.maxHeight=null!=e?e:"".concat(g,"px"),r.style.overflowY="auto")};return(0,r.useEffect)((function(){if(u.vF.logTraceUseEffect("USE-FOOTER-PANEL-HEIGHT - footerPanelResizeValue",E,S),v.current&&S&&(k===n||"default"===n)){var e,t,r=document.getElementById("".concat(y,"-tabsContainer")),i=null==r||null===(e=r.firstElementChild)||void 0===e?void 0:e.firstElementChild,o=null!==(t=null==i?void 0:i.clientHeight)&&void 0!==t?t:0,a=window.screen.height*E/100-w.current-o-10;if(P!==p.NF.DATA_TABLE&&P!==p.NF.LAYERS||(a=window.screen.height-200),v.current.style.maxHeight="".concat(a,"px"),v.current.style.overflow="auto",v.current.style.paddingBottom="24px",k===d.DF.DATA_TABLE||P===p.NF.DATA_TABLE)I("".concat(a,"px")),O("".concat(a-100,"px"));else if(k===d.DF.GEO_CHART&&b.current){var s,l=null===(s=b.current)||void 0===s?void 0:s.firstElementChild;l&&(l.style.maxHeight="".concat(a,"px"),l.style.overflowY="auto")}else I("".concat(a,"px"))}if(!S&&v.current)if(v.current.style.maxHeight="".concat(g,"px"),v.current.style.overflow="auto",I(),k===d.DF.DATA_TABLE||P===p.NF.DATA_TABLE)O("".concat(500,"px"));else if(k===d.DF.GEO_CHART&&b.current){var c,h=null===(c=b.current)||void 0===c?void 0:c.firstElementChild;h&&(h.style.maxHeight="".concat(g,"px"),h.style.overflowY="auto")}}),[E,S,k,n,y,O,T,_,P]),(0,r.useEffect)((function(){v.current&&!S&&(P!==p.NF.DATA_TABLE&&P!==p.NF.LAYERS||!x?v.current.style.maxHeight="".concat(g,"px"):v.current.style.maxHeight="100%")}),[C,S,P,x]),{leftPanelRef:v,rightPanelRef:b,panelTitleRef:A,activeFooterBarTabId:k}}},60465:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(97282);function i(){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 275 275",focusable:"false",children:(0,r.jsx)("g",{fill:"none",stroke:"#616161",strokeWidth:"1px",id:"crosshairs",transform:"translate(0 -1824.72) scale(2)",children:(0,r.jsx)("path",{d:"m136.18 983.66-130.93-0.00001m65.467-65.467v130.93m32.2-65.466c0 17.784-14.417 32.2-32.2 32.2-17.784 0-32.2-14.417-32.2-32.2 0-17.784 14.417-32.2 32.2-32.2 17.784 0 32.2 14.417 32.2 32.2z"})})})}},37216:(e,t,n)=>{"use strict";n.d(t,{B:()=>m});var r=n(24515),i=n(30538),o=n(13679),a=n(43331),s=n(53921),l=function(e){var t;return{crosshairContainer:{position:"absolute",top:e.spacing(0),right:e.spacing(0),left:e.spacing(0),bottom:e.spacing(0),paddingBottom:e.spacing(6),display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none !important",zIndex:e.zIndex.olControl},crosshairInfo:{position:"absolute",top:e.spacing(0),right:e.spacing(0),left:e.spacing(0),height:"calc(1em + 8px)",padding:e.spacing(2,1,4,1),backgroundColor:e.palette.geoViewColor.grey.lighten(.1,.9),"& span":{paddingLeft:70}},crosshairIcon:{width:e.overrides.crosshairIcon.size.width,height:null===(t=e.overrides.crosshairIcon)||void 0===t?void 0:t.size.height}}},c=n(60465),u=n(42360),d=n(42877),h=n(6335),p=n(97282);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t{"use strict";n.d(t,{t:()=>k});var r=n(24515),i=n(888),o=n(75299),a=n.n(o),s=n(30538),l=n(43331),c=n(13679),u=n(53921),d=n(19458),h=n(93858),p=n(42877),f=n(27797),g=n(48940),m=n(90651),y=n(6335),v=n(6836),b=n(22935),w=n(82997),x=n(77156),A=n(97282);function S(){var e=(0,c.A)();return(0,A.jsx)(u.TableContainer,{component:u.Paper,children:(0,A.jsxs)(u.Table,{children:[(0,A.jsx)(u.TableHead,{children:(0,A.jsx)(u.TableRow,{children:(0,x.A)(Array(5).keys()).map((function(t){return(0,A.jsx)(u.TableCell,{sx:{width:"20%"},children:(0,A.jsx)(u.Skeleton,{variant:"text",width:"100%",height:"25px",sx:{bgcolor:e.palette.grey[400]}})},t)}))})}),(0,A.jsx)(u.TableBody,{children:(0,x.A)(Array(6).keys()).map((function(t){return(0,A.jsx)(u.TableRow,{sx:{"&:last-child td, &:last-child th":{border:0}},children:(0,x.A)(Array(5).keys()).map((function(t){return(0,A.jsx)(u.TableCell,{sx:{width:"20%"},children:(0,A.jsx)(u.Skeleton,{variant:"text",width:"100%",height:"25px",sx:{bgcolor:e.palette.grey[400]}})},t)}))},t)}))})]})})}function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t0&&(r="".concat(i," ").concat(x("dataTable.features"))),r}),[j,W,x]),K=(0,s.useCallback)((function(e,t){return y.vF.logTraceUseCallback("DATA-PANEL - getLayerTooltip"),(0,A.jsxs)(u.Box,{sx:{display:"flex",alignContent:"center","& svg ":{width:"0.75em",height:"0.75em"}},children:["".concat(e,", ").concat(Y(t)),H(t)&&(0,A.jsx)(u.FilterAltIcon,{})]})}),[Y,H]),X=(0,s.useMemo)((function(){return y.vF.logTraceUseMemo("DATA-PANEL - isLayerDisabled",R),function(){return!!W.find((function(e){return e.layerPath===R&&null===e.features}))}}),[W,R]),Z=(0,s.useMemo)((function(){return y.vF.logTraceUseMemo("DATA-PANEL - isSelectedLayerHasFeatures",R),function(){return W.find((function(e){var t;return e.layerPath===R&&(null==e||null===(t=e.features)||void 0===t?void 0:t.length)}))}}),[R,W]);(0,s.useEffect)((function(){y.vF.logTraceUseEffect("DATA-PANEL - isLoading",O,R);var e=a()((function(){P(!1)}),100);return function(){return clearTimeout(e)}}),[O,R]),(0,s.useEffect)((function(){y.vF.logTraceUseEffect("DATA-PANEL - unmount",R),N!==b.DF.DATA_TABLE&&F("")}),[N]),(0,s.useEffect)((function(){V===w.NF.DATA_TABLE&&$||!G.includes(w.NF.DATA_TABLE)||F("")}),[V,$,F,G]);var J=(0,s.useMemo)((function(){return y.vF.logTraceUseMemo("DATA-PANEL - order layer status processing."),function(){return!!W.find((function(e){return e.queryStatus===b.RI.PROCESSING}))}}),[W]),Q=(0,s.useCallback)((function(e){e&&F("")}),[F]),ee=(0,s.useMemo)((function(){return y.vF.logTraceUseMemo("DATA-PANEL - memoLayersList",W),W.map((function(e){var t;return E(E({},e),{},{layerUniqueId:"".concat(I,"-").concat(b.DF.DATA_TABLE,"-").concat(e.layerPath),layerFeatures:Y(e.layerPath),tooltip:K(null!==(t=e.layerName)&&void 0!==t?t:"",e.layerPath),mapFilteredIcon:H(e.layerPath)&&(0,A.jsx)(u.FilterAltIcon,{sx:{color:C.palette.geoViewColor.grey.main}})})}))}),[H,W]);return(0,A.jsx)(m.PE,{containerType:o,selectedLayerPath:R||"",layerList:ee,onLayerListClicked:q,fullWidth:n,onGuideIsOpen:Q,guideContentIds:["dataTable","dataTable.children.filterData","dataTable.children.sortingAndReordering","dataTable.children.keyboardNavigation"],children:O||J()?(0,A.jsx)(S,{}):!X()&&Z()?(0,A.jsx)(A.Fragment,{children:W.filter((function(e){return e.layerPath===R})).map((function(e){return(0,A.jsx)(u.Box,{ref:k,children:(0,A.jsx)(d.A,{data:e,layerPath:e.layerPath,tableHeight:L})},e.layerPath)}))}):null})}},71125:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var r=function(e){return{dataPanel:{background:e.palette.geoViewColor.bgColor.main,paddingBottom:"1rem"},gridContainer:{paddingLeft:"1rem",paddingRight:"1rem"},selectedRows:{transition:"box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",fontWeight:400,fontSize:e.palette.geoViewFontSize.sm,linHeight:1.43,letterSpacing:"0.01071em",display:"flex",padding:"6px"},selectedRowsDirection:{display:"flex",flexDirection:"column"},tableCell:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},dataTableWrapper:{"& .MuiTableContainer-root":{borderRadius:"6px"},"& .MuiToolbar-root ":{borderRadius:"6px"}},filterMap:{"& .Mui-checked":{"& .MuiTouchRipple-root":{color:e.palette.action.active}},"& .MuiTouchRipple-root":{color:e.palette.geoViewColor.grey.dark[900]}},tableHeadCell:{"& .MuiCollapse-wrapperInner":{"& .MuiBox-root":{gridTemplateColumns:"1fr"}},"& .MuiInput-root":{fontSize:e.palette.geoViewFontSize.sm,"& .MuiSvgIcon-root":{width:"0.75em",height:"0.75em"}},"& .MuiBadge-root":{marginLeft:"0.5rem",">span":{width:"100%"},svg:{marginTop:"0.25rem",marginBottom:"0.25rem"},"& .keyboard-focused":{backgroundColor:"rgba(81, 91, 165, 0.08)",borderRadius:"50%",border:"1px solid black !important","> svg":{opacity:1}}}},dataTableInstructionsTitle:{fontSize:e.palette.geoViewFontSize.lg,fontWeight:"600",lineHeight:"1.5em"},dataTableInstructionsBody:{fontSize:e.palette.geoViewFontSize.sm},rightPanelContainer:{overflowY:"auto",color:e.palette.geoViewColor.textColor.main}}}},19458:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=n(43004),i=n(74131),o=n(24515),a=n(888),s=n(53732),l=n.n(s),c=n(30538),u=n(43331),d=n(44481),h=n.n(d),p=n(66569),f=n(53813),g=n(5750),m=n.n(g),y=n(77113),v=n.n(y),b=n(25220),w=n.n(b),x=n(98147),A=n.n(x),S=n(82253),C=n.n(S),E=n(93148),k=n.n(E);m().extend(A()),m().extend(v()),m().extend(C()),m().extend(k());const T={YY:"year",YYYY:{sectionType:"year",contentType:"digit",maxLength:4},M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},d:{sectionType:"weekDay",contentType:"digit",maxLength:2},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},_={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",dayOfMonthFull:"Do",weekday:"dddd",weekdayShort:"dd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},O=["Missing UTC plugin","To be able to use UTC or timezones, you have to enable the `utc` plugin","Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-utc"].join("\n"),P=["Missing timezone plugin","To be able to use timezones, you have to enable both the `utc` and the `timezone` plugin","Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-timezone"].join("\n");class I{constructor({locale:e,formats:t}={}){var n,r;this.isMUIAdapter=!0,this.isTimezoneCompatible=!0,this.lib="dayjs",this.dayjs=void 0,this.locale=void 0,this.formats=void 0,this.escapedCharacters={start:"[",end:"]"},this.formatTokenMap=T,this.setLocaleToValue=e=>{const t=this.getCurrentLocaleCode();return t===e.locale()?e:e.locale(t)},this.hasUTCPlugin=()=>void 0!==m().utc,this.hasTimezonePlugin=()=>void 0!==m().tz,this.isSame=(e,t,n)=>{const r=this.setTimezone(t,this.getTimezone(e));return e.format(n)===r.format(n)},this.cleanTimezone=e=>{switch(e){case"default":return;case"system":return m().tz.guess();default:return e}},this.createSystemDate=e=>{if(this.hasUTCPlugin()&&this.hasTimezonePlugin()){const t=m().tz.guess();return"UTC"!==t?m().tz(e,t):m()(e)}return m()(e)},this.createUTCDate=e=>{if(!this.hasUTCPlugin())throw new Error(O);return m().utc(e)},this.createTZDate=(e,t)=>{if(!this.hasUTCPlugin())throw new Error(O);if(!this.hasTimezonePlugin())throw new Error(P);const n=void 0!==e&&!e.endsWith("Z");return m()(e).tz(this.cleanTimezone(t),n)},this.getLocaleFormats=()=>{const e=m().Ls;let t=e[this.locale||"en"];return void 0===t&&(t=e.en),t.formats},this.adjustOffset=e=>{if(!this.hasTimezonePlugin())return e;const t=this.getTimezone(e);if("UTC"!==t){const n=e.tz(this.cleanTimezone(t),!0);if(n.$offset===(e.$offset??0))return e;e.$offset=n.$offset}return e},this.date=(e,t="default")=>{if(null===e)return null;let n;return n="UTC"===t?this.createUTCDate(e):"system"===t||"default"===t&&!this.hasTimezonePlugin()?this.createSystemDate(e):this.createTZDate(e,t),void 0===this.locale?n:n.locale(this.locale)},this.getInvalidDate=()=>m()(new Date("Invalid date")),this.getTimezone=e=>{if(this.hasTimezonePlugin()){const t=e.$x?.$timezone;if(t)return t}return this.hasUTCPlugin()&&e.isUTC()?"UTC":"system"},this.setTimezone=(e,t)=>{if(this.getTimezone(e)===t)return e;if("UTC"===t){if(!this.hasUTCPlugin())throw new Error(O);return e.utc()}if("system"===t)return e.local();if(!this.hasTimezonePlugin()){if("default"===t)return e;throw new Error(P)}return m().tz(e,this.cleanTimezone(t))},this.toJsDate=e=>e.toDate(),this.parse=(e,t)=>""===e?null:this.dayjs(e,t,this.locale,!0),this.getCurrentLocaleCode=()=>this.locale||"en",this.is12HourCycleInCurrentLocale=()=>/A|a/.test(this.getLocaleFormats().LT||""),this.expandFormat=e=>{const t=this.getLocaleFormats();return e.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,((e,n,r)=>{const i=r&&r.toUpperCase();return n||t[r]||t[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,((e,t,n)=>t||n.slice(1)))}))},this.isValid=e=>null!=e&&e.isValid(),this.format=(e,t)=>this.formatByString(e,this.formats[t]),this.formatByString=(e,t)=>this.dayjs(e).format(t),this.formatNumber=e=>e,this.isEqual=(e,t)=>null===e&&null===t||null!==e&&null!==t&&e.toDate().getTime()===t.toDate().getTime(),this.isSameYear=(e,t)=>this.isSame(e,t,"YYYY"),this.isSameMonth=(e,t)=>this.isSame(e,t,"YYYY-MM"),this.isSameDay=(e,t)=>this.isSame(e,t,"YYYY-MM-DD"),this.isSameHour=(e,t)=>e.isSame(t,"hour"),this.isAfter=(e,t)=>e>t,this.isAfterYear=(e,t)=>this.hasUTCPlugin()?!this.isSameYear(e,t)&&e.utc()>t.utc():e.isAfter(t,"year"),this.isAfterDay=(e,t)=>this.hasUTCPlugin()?!this.isSameDay(e,t)&&e.utc()>t.utc():e.isAfter(t,"day"),this.isBefore=(e,t)=>ethis.hasUTCPlugin()?!this.isSameYear(e,t)&&e.utc()this.hasUTCPlugin()?!this.isSameDay(e,t)&&e.utc()e>=t&&e<=n,this.startOfYear=e=>this.adjustOffset(e.startOf("year")),this.startOfMonth=e=>this.adjustOffset(e.startOf("month")),this.startOfWeek=e=>this.adjustOffset(e.startOf("week")),this.startOfDay=e=>this.adjustOffset(e.startOf("day")),this.endOfYear=e=>this.adjustOffset(e.endOf("year")),this.endOfMonth=e=>this.adjustOffset(e.endOf("month")),this.endOfWeek=e=>this.adjustOffset(e.endOf("week")),this.endOfDay=e=>this.adjustOffset(e.endOf("day")),this.addYears=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"year"):e.add(t,"year")),this.addMonths=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"month"):e.add(t,"month")),this.addWeeks=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"week"):e.add(t,"week")),this.addDays=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"day"):e.add(t,"day")),this.addHours=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"hour"):e.add(t,"hour")),this.addMinutes=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"minute"):e.add(t,"minute")),this.addSeconds=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"second"):e.add(t,"second")),this.getYear=e=>e.year(),this.getMonth=e=>e.month(),this.getDate=e=>e.date(),this.getHours=e=>e.hour(),this.getMinutes=e=>e.minute(),this.getSeconds=e=>e.second(),this.getMilliseconds=e=>e.millisecond(),this.setYear=(e,t)=>this.adjustOffset(e.set("year",t)),this.setMonth=(e,t)=>this.adjustOffset(e.set("month",t)),this.setDate=(e,t)=>this.adjustOffset(e.set("date",t)),this.setHours=(e,t)=>this.adjustOffset(e.set("hour",t)),this.setMinutes=(e,t)=>this.adjustOffset(e.set("minute",t)),this.setSeconds=(e,t)=>this.adjustOffset(e.set("second",t)),this.setMilliseconds=(e,t)=>this.adjustOffset(e.set("millisecond",t)),this.getDaysInMonth=e=>e.daysInMonth(),this.getWeekArray=e=>{const t=this.setLocaleToValue(e),n=this.startOfWeek(this.startOfMonth(t)),r=this.endOfWeek(this.endOfMonth(t));let i=0,o=n;const a=[];for(;oe.week(),this.getYearRange=([e,t])=>{const n=this.startOfYear(e),r=this.endOfYear(t),i=[];let o=n;for(;this.isBefore(o,r);)i.push(o),o=this.addYears(o,1);return i},this.dayjs=(n=m(),(r=e)?(...e)=>n(...e).locale(r):n),this.locale=e,this.formats=(0,f.A)({},_,t),m().extend(w())}getDayOfWeek(e){return e.day()+1}}var M=n(21945);const L={actions:"Actions",and:"et",cancel:"Annuler",changeFilterMode:"Changer le mode de filtre",changeSearchMode:"Changer le mode de recherche",clearFilter:"Effacer le filtre",clearSearch:"Effacer la recherche",clearSelection:"Effacer la sélection",clearSort:"Effacer le tri",clickToCopy:"Cliquer pour copier",copy:"Copier",collapse:"Réduire",collapseAll:"Réduire tout",columnActions:"Actions de colonne",copiedToClipboard:"Copié dans le presse-papier",dropToGroupBy:"Déposer pour grouper par {column}",edit:"Editer",expand:"Développer",expandAll:"Tout développer",filterArrIncludes:"Inclure",filterArrIncludesAll:"Tout inclure",filterArrIncludesSome:"Inclure",filterBetween:"Entre",filterBetweenInclusive:"Entre inclus",filterByColumn:"Filtrer par {column}",filterContains:"Contient",filterEmpty:"Vide",filterEndsWith:"Se termine par",filterEquals:"Egale",filterEqualsString:"Egale",filterFuzzy:"Flou",filterGreaterThan:"Plus grand que",filterGreaterThanOrEqualTo:"Plus grand que ou égale à",filterInNumberRange:"Entre",filterIncludesString:"Contient",filterIncludesStringSensitive:"Contient",filterLessThan:"Plus petit que",filterLessThanOrEqualTo:"Plus petit que ou égale à",filterMode:"Mode filtre: {filterType}",filterNotEmpty:"Pas vide",filterNotEquals:"Pas égal",filterStartsWith:"Commence avec",filterWeakEquals:"Egale",filteringByColumn:"Filtrage par {column} - {filterType} {filterValue}",goToFirstPage:"Aller à la première page",goToLastPage:"Aller à la dernière page",goToNextPage:"Aller à la page suivante",goToPreviousPage:"Aller à la page précédente",grab:"Saisir",groupByColumn:"Grouper par {column}",groupedBy:"Groupé par ",hideAll:"Cacher tout",hideColumn:"Cacher colonne {column}",max:"Max",min:"Min",move:"Déplacer",noRecordsToDisplay:"Aucun enregistrement à afficher",noResultsFound:"Aucun résultat trouvé",of:"de",or:"ou",pin:"Attacher",pinToLeft:"Épingler à gauche",pinToRight:"Épingler à droite",resetColumnSize:"Réinitialiser la taille de la colonne",resetOrder:"Réinitialiser l'ordre",rowActions:"Actions de ligne",rowNumber:"#",rowNumbers:"Numéros de ligne",rowsPerPage:"Lignes par page",save:"Sauvegarder",search:"Rechercher",selectedCountOfRowCountRowsSelected:"{selectedCount} sur {rowCount} ligne(s)",select:"Sélectionner",showAll:"Afficher tous",showAllColumns:"Afficher toutes les colonnes",showHideColumns:"Afficher/Masquer les colonnes",showHideFilters:"Afficher/Masquer les filtres",showHideSearch:"Afficher/Masquer la recherche",sortByColumnAsc:"Trier par {column} croissant",sortByColumnDesc:"Trier par {column} décroissant",sortedByColumnAsc:"Trié par {column} croissant",sortedByColumnDesc:"Trié par {column} décroissant",thenBy:", puis par ",toggleDensity:"Changer la densité",toggleFullScreen:"Passer en plein écran",toggleSelectAll:"Basculer tout sélectionner",toggleSelectRow:"Basculer la sélection de ligne",toggleVisibility:"Basculer la visibilité",ungroupByColumn:"Dissocier par {column}",unpin:"Détacher",unpinAll:"Tout détacher"},R={actions:"Actions",and:"and",cancel:"Cancel",changeFilterMode:"Change filter mode",changeSearchMode:"Change search mode",clearFilter:"Clear filter",clearSearch:"Clear search",clearSelection:"Clear selection",clearSort:"Clear sort",clickToCopy:"Click to copy",copy:"Copy",collapse:"Collapse",collapseAll:"Collapse all",columnActions:"Column Actions",copiedToClipboard:"Copied to clipboard",dropToGroupBy:"Drop to group by {column}",edit:"Edit",expand:"Expand",expandAll:"Expand all",filterArrIncludes:"Includes",filterArrIncludesAll:"Includes all",filterArrIncludesSome:"Includes",filterBetween:"Between",filterBetweenInclusive:"Between Inclusive",filterByColumn:"Filter by {column}",filterContains:"Contains",filterEmpty:"Empty",filterEndsWith:"Ends With",filterEquals:"Equals",filterEqualsString:"Equals",filterFuzzy:"Fuzzy",filterGreaterThan:"Greater Than",filterGreaterThanOrEqualTo:"Greater Than Or Equal To",filterInNumberRange:"Between",filterIncludesString:"Contains",filterIncludesStringSensitive:"Contains",filterLessThan:"Less Than",filterLessThanOrEqualTo:"Less Than Or Equal To",filterMode:"Filter Mode: {filterType}",filterNotEmpty:"Not Empty",filterNotEquals:"Not Equals",filterStartsWith:"Starts With",filterWeakEquals:"Equals",filteringByColumn:"Filtering by {column} - {filterType} {filterValue}",goToFirstPage:"Go to first page",goToLastPage:"Go to last page",goToNextPage:"Go to next page",goToPreviousPage:"Go to previous page",grab:"Grab",groupByColumn:"Group by {column}",groupedBy:"Grouped by ",hideAll:"Hide all",hideColumn:"Hide {column} column",max:"Max",min:"Min",move:"Move",noRecordsToDisplay:"No records to display",noResultsFound:"No results found",of:"of",or:"or",pin:"Pin",pinToLeft:"Pin to left",pinToRight:"Pin to right",resetColumnSize:"Reset column size",resetOrder:"Reset order",rowActions:"Row Actions",rowNumber:"#",rowNumbers:"Row Numbers",rowsPerPage:"Rows per page",save:"Save",search:"Search",selectedCountOfRowCountRowsSelected:"{selectedCount} of {rowCount} row(s) selected",select:"Select",showAll:"Show all",showAllColumns:"Show all columns",showHideColumns:"Show/Hide columns",showHideFilters:"Show/Hide filters",showHideSearch:"Show/Hide search",sortByColumnAsc:"Sort by {column} ascending",sortByColumnDesc:"Sort by {column} descending",sortedByColumnAsc:"Sorted by {column} ascending",sortedByColumnDesc:"Sorted by {column} descending",thenBy:", then by ",toggleDensity:"Toggle density",toggleFullScreen:"Toggle full screen",toggleSelectAll:"Toggle select all",toggleSelectRow:"Toggle select row",toggleVisibility:"Toggle visibility",ungroupByColumn:"Ungroup by {column}",unpin:"Unpin",unpinAll:"Unpin all"};var j=n(13679),F=n(27415),D=n(53921),N=n(42877),B=n(57882),z=n(93858),V=n(42360),$=n(27797),G=n(46074),U=n(72459),W=n(6335),q=n(6836),H=n(71125),Y=n(14233),K=n(22138),X=n(1779),Z=n(90651),J=n(22935),Q=n(82997),ee=n(32875),te=n(97282);function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function re(e){for(var t=1;t td":{backgroundColor:e.palette.geoViewColor.bgColor.darken(.1)},"& tr:hover > td":{backgroundColor:e.palette.secondary.light},"& .Mui-selected > td":{backgroundColor:"".concat(e.palette.secondary.light," !important")}}}}});(0,c.useEffect)((function(){W.vF.logTraceUseEffect("DATA-TABLE - sorting",C);var e=Me.getRowCount();try{var t,n;if(e>0)null===(t=x.current)||void 0===t||null===(n=t.scrollToIndex)||void 0===n||n.call(t,0)}catch(e){W.vF.logError("Data table error on sorting action",e)}}),[C]);var Le=(0,c.useCallback)((function(e){W.vF.logTraceUseEffect("DATA-TABLE - buildFilterList");var t=Me.getState();return e.length?e.map((function(e){var n,i=e.value,o=e.id;if(Array.isArray(i)){var a="",s=""===i[0]?void 0:Number(i[0]),l=""===i[1]?void 0:Number(i[1]),c="betweenInclusive"===(null==t?void 0:t.columnFilterFns[o])?"=":"";return s&&l?a="".concat(o," >").concat(c," ").concat(s," and ").concat(o," <").concat(c," ").concat(l):s?a="".concat(o," >").concat(c," ").concat(s):l&&(a="".concat(o," <").concat(c," ").concat(l)),a}if(!Number.isNaN(Number(i)))return"".concat(o," ").concat(J.LK[null==t?void 0:t.columnFilterFns[o]]," ").concat(Number(i));if("empty"===(null==t?void 0:t.columnFilterFns[o]))return"".concat(o," is null");if("notEmpty"===(null==t?void 0:t.columnFilterFns[o]))return"".concat(o," is not null");if("object"===(0,r.A)(i)&&i){var u=(null==t?void 0:t.columnFilterFns[o])||"equals",d=J.Ax[u],h=G.P.applyInputDateFormat("".concat(i.toISOString().slice(0,-5),"Z")).slice(0,-1);return"".concat(o," ").concat(d.replace("value",h))}var p=null!==(n=null==t?void 0:t.columnFilterFns[o])&&void 0!==n?n:"contains",f=J.Fz[p];return"".concat(f.replace("filterId",o).replace("value",i))})):[""]}),[]),Re=h()((function(e){var t=Le(e).filter((function(e){return e.length})).join(" and ");ae(t)}),1e3),je=(0,c.useCallback)((function(e){return Re(e)}),[null===(t=ue[o])||void 0===t?void 0:t.mapFilteredRecord]);return(0,c.useEffect)((function(){W.vF.logTraceUseEffect("DATA-TABLE - columnFilters",be),be&&ue[o].mapFilteredRecord&&je(be)}),[be]),(0,c.useEffect)((function(){W.vF.logTraceUseEffect("DATA-TABLE - mapFilteredRecord",ue[o].mapFilteredRecord),Re(be)}),[ue[o].mapFilteredRecord]),(0,q.iI)({data:n,columnFilters:be,globalFilter:Ae,layerPath:o,tableInstance:Me}),(0,te.jsxs)(D.Box,{sx:m.dataTableWrapper,children:[(0,te.jsx)(M.$,{dateAdapter:I,adapterLocale:ce,children:(0,te.jsx)(D.MaterialReactTable,{table:Me})}),(0,te.jsx)(ye,{})]})}const oe=(0,c.memo)(ie)},14233:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(888),i=n(30538),o=n(43331),a=n(68312),s=n(53921),l=n(6335),c=n(97282);const u=function(e){var t=e.rows,n=e.columns,u=e.children;l.vF.logTraceRender("components/data-table/export-button");var d=(0,o.useTranslation)().t,h=(0,i.useState)(null),p=(0,r.A)(h,2),f=p[0],g=p[1],m=Boolean(f),y=(0,i.useCallback)((function(e){l.vF.logTraceUseCallback("DATA-TABLE - EXPORT BUTTON - handleClick"),g(e.currentTarget)}),[]),v=(0,i.useCallback)((function(){l.vF.logTraceUseCallback("DATA-TABLE - EXPORT BUTTON - handleClose"),g(null)}),[]),b=(0,i.useMemo)((function(){return l.vF.logTraceUseMemo("DATA-TABLE - EXPORT BUTTON - getCsvOptions",n),function(){return{fieldSeparator:",",quoteStrings:'"',decimalSeparator:".",showLabels:!0,useBom:!0,useKeysAsHeaders:!1,headers:n.map((function(e){return e.id}))}}}),[n]),w=(0,i.useCallback)((function(){l.vF.logTraceUseCallback("DATA-TABLE - EXPORT BUTTON - handleExportData");var e=t.map((function(e){return Object.keys(e).reduce((function(t,n){var r,i;return t[n]=null!==(r=null===(i=e[n])||void 0===i?void 0:i.value)&&void 0!==r?r:"",t}),{})}));new a.ExportToCsv(b()).generateCsv(e),g(null)}),[b,t]);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(s.IconButton,{onClick:y,className:"buttonOutline",children:(0,c.jsx)(s.Tooltip,{title:d("dataTable.exportBtn"),placement:"bottom",enterDelay:100,children:(0,c.jsx)(s.DownloadIcon,{})})}),(0,c.jsxs)(s.Menu,{anchorEl:f,open:m,onClose:v,children:[(0,c.jsx)(s.MenuItem,{onClick:w,children:d("dataTable.downloadAsCSV")}),u]})]})}},1779:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(43331),i=n(24417),o=n(13679),a=n(53921),s=n(71125),l=n(93858),c=n(6335),u=n(97282);const d=function(e){var t=e.layerPath,n=e.isGlobalFilterOn;c.vF.logTraceRender("components/data-table/filter-map");var d=(0,o.A)(),h=(0,s.S)(d),p=(0,l._M)(),f=(0,l.eQ)().setMapFilteredEntry,g=(0,r.useTranslation)().t;return(0,u.jsx)(a.Tooltip,{title:p[t]?g("dataTable.stopFilterMap"):g("dataTable.filterMap"),children:(0,u.jsx)(i.A,{size:"medium",onChange:function(){var e;return f(null===(e=!p[t].mapFilteredRecord)||void 0===e||e,t)},checked:!!p[t].mapFilteredRecord,sx:h.filterMap,disabled:n})})}},6836:(e,t,n)=>{"use strict";n.d(t,{bc:()=>p,j8:()=>s,bv:()=>f,iI:()=>c});var r=n(888),i=n(30538),o=n(93858),a=n(6335);function s(e){var t=e.layerPath,n=(0,o._M)(),s=(0,o.eQ)().setColumnFiltersEntry,l=(0,i.useState)(n[t].columnFiltersRecord||[]),c=(0,r.A)(l,2),u=c[0],d=c[1];return(0,i.useEffect)((function(){a.vF.logTraceUseEffect("USEFILTERROWS - columnFilters",u),s(u,t)}),[u]),{columnFilters:u,setColumnFilters:d}}var l=n(43331);function c(e){var t=e.data,n=e.columnFilters,r=e.globalFilter,s=e.layerPath,c=e.tableInstance,u=(0,l.useTranslation)().t,d=(0,o._M)(),h=(0,o.eQ)(),p=h.setToolbarRowSelectedMessageEntry,f=h.setRowsFilteredEntry;(0,i.useEffect)((function(){var e,n;a.vF.logTraceUseEffect("USETOOLBARACTIONMESSAGE - rowSelection");var r,i,o=null!==(e=d[s].toolbarRowSelectedMessageRecord)&&void 0!==e?e:"";c&&c.getFilteredRowModel().rows.length!==(null===(n=t.features)||void 0===n?void 0:n.length)?o=u("dataTable.rowsFiltered").replace("{rowsFiltered}",c.getFilteredRowModel().rows.length.toString()).replace("{totalRows}",null!==(r=null===(i=t.features)||void 0===i?void 0:i.length.toString())&&void 0!==r?r:""):o="";p(o,s)}),[t.features,r]),(0,i.useEffect)((function(){var e;a.vF.logTraceUseEffect("USETOOLBARACTIONMESSAGE - columnFilters",n);var r=null!==(e=d[s].toolbarRowSelectedMessageRecord)&&void 0!==e?e:"",i=0;if(c){var o,l,h,g=c.getFilteredRowModel();if(g.rows.length!==(null==t||null===(o=t.features)||void 0===o?void 0:o.length))i=g.rows.length,r=u("dataTable.rowsFiltered").replace("{rowsFiltered}",g.rows.length.toString()).replace("{totalRows}",null!==(l=null==t||null===(h=t.features)||void 0===h?void 0:h.length.toString())&&void 0!==l?l:"");else r="",i=0;f(i,s)}p(r,s)}),[n,t.features,r])}var u=n(24515);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t{"use strict";n.d(t,{A:()=>h});var r=n(30538),i=n(43331),o=n(92548),a=n(22727),s=n(38492),l=n(89049),c=n(53921),u=n(42877),d=n(97282);const h=function(e){var t=e.features,n=e.layerPath,h=(0,i.useTranslation)().t,p=(0,u.U6)().transformPoints,f=(0,r.useCallback)((function(e){var t={};return e instanceof o.Ay?t={type:"Polygon",coordinates:e.getCoordinates().map((function(e){return e.map((function(e){return p([e],4326)[0]}))}))}:e instanceof a.A?t={type:"LineString",coordinates:e.getCoordinates().map((function(e){return p([e],4326)[0]}))}:e instanceof s.A?t={type:"Point",coordinates:p([e.getCoordinates()],4326)[0]}:e instanceof l.A&&(t={type:"MultiPoint",coordinates:e.getCoordinates().map((function(e){return p([e],4326)[0]}))}),t}),[p]),g=(0,r.useCallback)((function(){var e=t.map((function(e){var t=e.geometry,n=e.fieldInfo;return{type:"Feature",geometry:f(null==t?void 0:t.getGeometry()),properties:n}}));return JSON.stringify({type:"FeatureCollection",features:e},null,2)}),[f,t]),m=(0,r.useCallback)((function(e,t){var n=URL.createObjectURL(e),r=document.createElement("a");r.href=n,r.download=t,r.click(),URL.revokeObjectURL(n)}),[]),y=(0,r.useCallback)((function(){var e=g(),t=new Blob([e],{type:"text/json"});m(t,"table-".concat(n,".json"))}),[m,g,n]);return(0,d.jsx)(c.MenuItem,{onClick:y,children:h("dataTable.jsonExportBtn")})}},33208:(e,t,n)=>{"use strict";n.d(t,{r:()=>O});var r=n(24515),i=n(888),o=n(30538),a=n(43331),s=n(13679),l=n(53921),c=n(92282),u=n(48940),d=n(42877),h=n(6335),p=n(90651),f=n(99961),g=n(74131),m=n(53732),y=n.n(m),v=n(66569),b=n(72459),w=n(78611),x=n(97282);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t1?"s":"")}),[g]),ee=(0,o.useMemo)((function(){return h.vF.logTraceUseMemo("DETAILS-PANEL - memoLayersList",S,w),S.map((function(e){return w.find((function(t){return t.layerPath===e}))})).filter((function(e){return e})).map((function(e){var t,n,r,i;return{layerName:null!==(t=e.layerName)&&void 0!==t?t:"",layerPath:e.layerPath,layerStatus:e.layerStatus,queryStatus:e.queryStatus,numOffeatures:null!==(n=null===(r=e.features)||void 0===r?void 0:r.length)&&void 0!==n?n:0,layerFeatures:Q(e),tooltip:"".concat(e.layerName,", ").concat(Q(e)),layerUniqueId:"".concat(v,"-").concat(E.DF.DETAILS,"-").concat(null!==(i=null==e?void 0:e.layerPath)&&void 0!==i?i:"")}}))}),[S,w,Q,v]),te=(0,o.useMemo)((function(){return h.vF.logTraceUseMemo("DETAILS-PANEL - memoLayerSelectedItem",ee,b),ee.find((function(e){return e.layerPath===b}))}),[ee,b]),ne=(0,o.useMemo)((function(){return h.vF.logTraceUseMemo("DETAILS-PANEL - memoSelectedLayerData",w,b),w.find((function(e){return e.layerPath===b}))}),[w,b]),re=(0,o.useMemo)((function(){return h.vF.logTraceUseMemo("DETAILS-PANEL - memoSelectedLayerDataFeatures",null==ne?void 0:ne.features),null==ne?void 0:ne.features}),[null==ne?void 0:ne.features]),ie=(0,o.useCallback)((function(e,t){var n,r,i;(h.vF.logTraceUseCallback("DETAILS-PANEL - updateFeatureSelected"),null!=t&&t.features)&&(r=null==t||null===(i=t.features)||void 0===i?void 0:i[X.current]);r&&!Z(r)&&j(r);var o=null==ne||null===(n=ne.features)||void 0===n?void 0:n[e];o&&R(o),B(e)}),[ne,Z,j,R]);(0,o.useEffect)((function(){h.vF.logTraceUseEffect("DETAILS-PANEL - memoLayersList changed",ee),j("all"),ee.length||P("")}),[ee,P,j]),(0,o.useEffect)((function(){h.vF.logTraceUseEffect("DETAILS-PANEL - memoSelectedLayerDataFeatures changed",ee,re),J(K.current),J(re),re&&re.length&&R(re[N])}),[ee,re,N,R,j,J]),(0,o.useEffect)((function(){h.vF.logTraceUseEffect("DETAILS-PANEL - update layer data bypass",b),M(b)}),[b,M]),(0,o.useEffect)((function(){if(h.vF.logTraceUseEffect("DETAILS-PANEL - check selection",te),(!te||"processed"===te.queryStatus||"error"===te.queryStatus)&&""!==b)if(null!=te&&te.numOffeatures)h.vF.logDebug("DETAILS-PANEL","keep selection",te),M(te.layerPath);else{var e=ee.find((function(e){return ee.find((function(t){return e.layerPath===t.layerPath&&t.numOffeatures}))}));e?(h.vF.logDebug("DETAILS-PANEL","select another",te,e.layerPath),P(e.layerPath)):h.vF.logDebug("DETAILS-PANEL","select none",te)}}),[te,ee]);var oe=(0,o.useCallback)((function(e){h.vF.logTraceUseCallback("DETAILS PANEL - handleFeatureNavigateChange",N),X.current=N,ie(N+e,ne)}),[N,ne,ie]),ae=(0,o.useCallback)((function(e){h.vF.logTraceUseCallback("DETAILS-PANEL - handleLayerChange",e.layerPath),P(e.layerPath)}),[P]),se=function(){var e;Y.current=w.find((function(e){return e.layerPath===$})),K.current=null===(e=Y.current)||void 0===e?void 0:e.features,X.current=N,B(0)};q!==ee&&(H(ee),se()),$!==b&&(G(b),se());var le=(0,o.useCallback)((function(e){h.vF.logTraceUseCallback("DETAILS PANEL - handleGuideIsOpen"),e&&P("")}),[P]);(0,o.useEffect)((function(){if(h.vF.logTraceUseEffect("DETAILS-PANEL- mapClickCoordinates",T),T&&null!=ee&&ee.length&&!b.length){var e,t=ee.find((function(e){return!!e.numOffeatures}));P(null!==(e=null==t?void 0:t.layerPath)&&void 0!==e?e:"")}}),[T,ee]);var ce=(0,o.useMemo)((function(){return h.vF.logTraceUseMemo("DETAILS-PANEL - order layer status processing."),w&&0!==(null==w?void 0:w.length)?function(){return!(null==w||!w.every((function(e){return e.queryStatus===E.RI.PROCESSING})))}:function(){return!1}}),[w]);return(0,x.jsx)(p.PE,{selectedLayerPath:b||"",layerList:ee,onLayerListClicked:function(e){return ae(e)},fullWidth:n,onGuideIsOpen:le,guideContentIds:["details"],children:ce()?(0,x.jsx)(k,{}):re&&re.length>0?(0,x.jsxs)(l.Box,{sx:n?y.rightPanelContainer:_({},y.rightPanelContainer),children:[(0,x.jsxs)(l.Grid,{container:!0,sx:y.rightPanelBtnHolder,children:[(0,x.jsx)(l.Grid,{size:{xs:6},children:(0,x.jsxs)(l.Box,{style:{marginLeft:"1.375rem"},children:[g("details.featureDetailsTitle").replace("{count}","".concat(N+1)).replace("{total}","".concat(null==re?void 0:re.length)),(0,x.jsx)(l.IconButton,{sx:(0,r.A)({marginLeft:"1.25rem"},m.breakpoints.down("sm"),{display:"none"}),"aria-label":"clear-all-features",tooltip:"details.clearAllfeatures",tooltipPlacement:"top",onClick:function(){return j("all"),I("all"),void R(null==ne||null===(e=ne.features)||void 0===e?void 0:e[N]);var e},className:"buttonOutline",disabled:0===A.length,children:(0,x.jsx)(l.LayersClearOutlinedIcon,{})})]})}),(0,x.jsx)(l.Grid,{size:{xs:6},children:(0,x.jsxs)(l.Box,{sx:{textAlign:"right",marginRight:"1.625rem"},children:[(0,x.jsx)(l.IconButton,{"aria-label":"backward",tooltip:"details.previousFeatureBtn",tooltipPlacement:"top",onClick:function(){return oe(-1)},disabled:N<=0,className:"buttonOutline",children:(0,x.jsx)(l.ArrowBackIosOutlinedIcon,{})}),(0,x.jsx)(l.IconButton,{sx:{marginLeft:"1.25rem"},"aria-label":"forward",tooltip:"details.nextFeatureBtn",tooltipPlacement:"top",onClick:function(){return oe(1)},disabled:!(null!=ne&&ne.features)||N+1>=ne.features.length,className:"buttonOutline",children:(0,x.jsx)(l.ArrowForwardIosOutlinedIcon,{})})]})})]}),(0,x.jsx)(C,{features:null==ne?void 0:ne.features,currentFeatureIndex:N})]}):null})}},99961:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var r=function(e){return{detailsContainer:{background:e.palette.geoViewColor.bgColor.main,paddingBottom:"1rem"},detailsInstructionsTitle:{fontSize:e.palette.geoViewFontSize.lg,fontWeight:"600",lineHeight:"1.5em"},detailsInstructionsBody:{fontSize:e.palette.geoViewFontSize.default},panelHeaders:{fontSize:e.palette.geoViewFontSize.lg,fontWeight:"600"},rightPanelContainer:{color:e.palette.geoViewColor.textColor.main},rightPanelBtnHolder:{marginTop:"20px",paddingBottom:"9px",boxShadow:"0px 12px 9px -13px ".concat(e.palette.geoViewColor.bgColor.dark[200])},featureInfoListContainer:{paddingLeft:"25px",paddingRight:"25px",paddingBottom:"25px",overflowY:"auto",overflowX:"hidden"},featureDetailListContainer:{overflowY:"auto",overflowX:"hidden"},selectFeatureCheckbox:{color:e.palette.geoViewColor.primary.main,"&.Mui-checked":{color:e.palette.geoViewColor.primary.main}},featureInfoItemValue:{marginRight:0,wordBreak:"break-word",overflow:"hidden",textOverflow:"ellipsis"},boxContainerFeatureInfo:{wordWrap:"break-word",fontSize:e.palette.geoViewFontSize.default,lineHeight:"19px"},flexBoxAlignCenter:{display:"flex",flexDirection:"row",alignItems:"center"},featureDetailModal:{"& .MuiDialog-container":{"& .MuiPaper-root":{minWidth:"40rem"}}}}}},78611:(e,t,n)=>{"use strict";n.d(t,{P:()=>Mt});var r=n(24515),i=n(30538),o=n(43331),a=n(13679);const s="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",l="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",c=(e,t)=>{for(const n in t)e[n]=t[n];return e},u="numeric",d="ascii",h="alpha",p="asciinumeric",f="alphanumeric",g="domain",m="emoji",y="scheme",v="slashscheme",b="whitespace";function w(e,t){return e in t||(t[e]=[]),t[e]}function x(e,t,n){t[u]&&(t[p]=!0,t[f]=!0),t[d]&&(t[p]=!0,t[h]=!0),t[p]&&(t[f]=!0),t[h]&&(t[f]=!0),t[f]&&(t[g]=!0),t[m]&&(t[g]=!0);for(const r in t){const t=w(r,n);t.indexOf(e)<0&&t.push(e)}}function A(e){void 0===e&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}A.groups={},A.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let n=0;n=0&&(n[r]=!0);return n}(a.t,r),n);x(o,e,r)}else n&&x(o,n,r);a.t=o}return i.j[e]=a,a}};const S=(e,t,n,r,i)=>e.ta(t,n,r,i),C=(e,t,n,r,i)=>e.tr(t,n,r,i),E=(e,t,n,r,i)=>e.ts(t,n,r,i),k=(e,t,n,r,i)=>e.tt(t,n,r,i),T="WORD",_="UWORD",O="LOCALHOST",P="TLD",I="UTLD",M="SCHEME",L="SLASH_SCHEME",R="NUM",j="WS",F="NL",D="OPENBRACE",N="CLOSEBRACE",B="OPENBRACKET",z="CLOSEBRACKET",V="OPENPAREN",$="CLOSEPAREN",G="OPENANGLEBRACKET",U="CLOSEANGLEBRACKET",W="FULLWIDTHLEFTPAREN",q="FULLWIDTHRIGHTPAREN",H="LEFTCORNERBRACKET",Y="RIGHTCORNERBRACKET",K="LEFTWHITECORNERBRACKET",X="RIGHTWHITECORNERBRACKET",Z="FULLWIDTHLESSTHAN",J="FULLWIDTHGREATERTHAN",Q="AMPERSAND",ee="APOSTROPHE",te="ASTERISK",ne="AT",re="BACKSLASH",ie="BACKTICK",oe="CARET",ae="COLON",se="COMMA",le="DOLLAR",ce="DOT",ue="EQUALS",de="EXCLAMATION",he="HYPHEN",pe="PERCENT",fe="PIPE",ge="PLUS",me="POUND",ye="QUERY",ve="QUOTE",be="SEMI",we="SLASH",xe="TILDE",Ae="UNDERSCORE",Se="EMOJI",Ce="SYM";var Ee=Object.freeze({__proto__:null,WORD:T,UWORD:_,LOCALHOST:O,TLD:P,UTLD:I,SCHEME:M,SLASH_SCHEME:L,NUM:R,WS:j,NL:F,OPENBRACE:D,CLOSEBRACE:N,OPENBRACKET:B,CLOSEBRACKET:z,OPENPAREN:V,CLOSEPAREN:$,OPENANGLEBRACKET:G,CLOSEANGLEBRACKET:U,FULLWIDTHLEFTPAREN:W,FULLWIDTHRIGHTPAREN:q,LEFTCORNERBRACKET:H,RIGHTCORNERBRACKET:Y,LEFTWHITECORNERBRACKET:K,RIGHTWHITECORNERBRACKET:X,FULLWIDTHLESSTHAN:Z,FULLWIDTHGREATERTHAN:J,AMPERSAND:Q,APOSTROPHE:ee,ASTERISK:te,AT:ne,BACKSLASH:re,BACKTICK:ie,CARET:oe,COLON:ae,COMMA:se,DOLLAR:le,DOT:ce,EQUALS:ue,EXCLAMATION:de,HYPHEN:he,PERCENT:pe,PIPE:fe,PLUS:ge,POUND:me,QUERY:ye,QUOTE:ve,SEMI:be,SLASH:we,TILDE:xe,UNDERSCORE:Ae,EMOJI:Se,SYM:Ce});const ke=/[a-z]/,Te=/\p{L}/u,_e=/\p{Emoji}/u,Oe=/\d/,Pe=/\s/;const Ie="\n",Me="️",Le="‍";let Re=null,je=null;function Fe(e,t,n,r,i){let o;const a=t.length;for(let n=0;n=0;)i++;if(i>0){t.push(n.join(""));for(let t=parseInt(e.substring(r,r+i),10);t>0;t--)n.pop();r+=i}else n.push(e[r]),r++}return t}const Ne={defaultProtocol:"http",events:null,format:ze,formatHref:ze,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function Be(e,t){void 0===t&&(t=null);let n=c({},Ne);e&&(n=c(n,e instanceof Be?e.o:e));const r=n.ignoreTags,i=[];for(let e=0;ee,check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const r=null!=t;let i=this.o[e];return i?("object"==typeof i?(i=n.t in i?i[n.t]:Ne[e],"function"==typeof i&&r&&(i=i(t,n))):"function"==typeof i&&r&&(i=i(t,n.t,n)),i):i},getObj(e,t,n){let r=this.o[e];return"function"==typeof r&&null!=t&&(r=r(t,n.t,n)),r},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}};function Ve(e,t){this.t="token",this.v=e,this.tk=t}function $e(e,t){class n extends Ve{constructor(t,n){super(t,n),this.t=e}}for(const e in t)n.prototype[e]=t[e];return n.t=e,n}Ve.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),r=e.get("format",t,this);return n&&r.length>n?r.substring(0,n)+"…":r},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return void 0===e&&(e=Ne.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),r=e.get("formatHref",n,this),i=e.get("tagName",n,t),o=this.toFormattedString(e),a={},s=e.get("className",n,t),l=e.get("target",n,t),u=e.get("rel",n,t),d=e.getObj("attributes",n,t),h=e.getObj("events",n,t);return a.href=r,s&&(a.class=s),l&&(a.target=l),u&&(a.rel=u),d&&c(a,d),{tagName:i,attributes:a,content:o,eventListeners:h}}};const Ge=$e("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Ue=$e("text"),We=$e("nl"),qe=$e("url",{isLink:!0,toHref(e){return void 0===e&&(e=Ne.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==O&&e[1].t===ae}});const He=e=>new A(e);function Ye(e,t,n){const r=n[0].s,i=n[n.length-1].e;return new e(t.slice(r,i),n)}"undefined"!=typeof console&&console&&console.warn;const Ke={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Xe(){Ke.scanner=function(e){void 0===e&&(e=[]);const t={};A.groups=t;const n=new A;null==Re&&(Re=De(s)),null==je&&(je=De(l)),k(n,"'",ee),k(n,"{",D),k(n,"}",N),k(n,"[",B),k(n,"]",z),k(n,"(",V),k(n,")",$),k(n,"<",G),k(n,">",U),k(n,"(",W),k(n,")",q),k(n,"「",H),k(n,"」",Y),k(n,"『",K),k(n,"』",X),k(n,"<",Z),k(n,">",J),k(n,"&",Q),k(n,"*",te),k(n,"@",ne),k(n,"`",ie),k(n,"^",oe),k(n,":",ae),k(n,",",se),k(n,"$",le),k(n,".",ce),k(n,"=",ue),k(n,"!",de),k(n,"-",he),k(n,"%",pe),k(n,"|",fe),k(n,"+",ge),k(n,"#",me),k(n,"?",ye),k(n,'"',ve),k(n,"/",we),k(n,";",be),k(n,"~",xe),k(n,"_",Ae),k(n,"\\",re);const r=C(n,Oe,R,{[u]:!0});C(r,Oe,r);const i=C(n,ke,T,{[d]:!0});C(i,ke,i);const o=C(n,Te,_,{[h]:!0});C(o,ke),C(o,Te,o);const a=C(n,Pe,j,{[b]:!0});k(n,Ie,F,{[b]:!0}),k(a,Ie),C(a,Pe,a);const f=C(n,_e,Se,{[m]:!0});C(f,_e,f),k(f,Me,f);const w=k(f,Le);C(w,_e,f);const S=[[ke,i]],Ne=[[ke,null],[Te,o]];for(let e=0;ee[0]>t[0]?1:-1));for(let t=0;t=0?i[g]=!0:ke.test(r)?Oe.test(r)?i[p]=!0:i[d]=!0:i[u]=!0,E(n,r,r,i)}return E(n,"localhost",O,{ascii:!0}),n.jd=new A(Ce),{start:n,tokens:c({groups:t},Ee)}}(Ke.customSchemes);for(let e=0;e=0&&h++,i++,u++;if(h<0)i-=u,i0&&(o.push(Ye(Ue,t,a)),a=[]),i-=h,u-=h;const e=d.t,r=n.slice(i-u,i);o.push(Ye(e,t,r))}}return a.length>0&&o.push(Ye(Ue,t,a)),o}(Ke.parser.start,e,function(e,t){const n=function(e){const t=[],n=e.length;let r=0;for(;r56319||r+1===n||(i=e.charCodeAt(r+1))<56320||i>57343?e[r]:e.slice(r,r+2);t.push(a),r+=a.length}return t}(t.replace(/[A-Z]/g,(e=>e.toLowerCase()))),r=n.length,i=[];let o=0,a=0;for(;a=0&&(d+=n[a].length,h++),c+=n[a].length,o+=n[a].length,a++;o-=d,a-=h,c-=d,i.push({t:u.t,v:t.slice(o-c,o),s:o-c,e:o})}return i}(Ke.scanner.start,e))}var Je={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"'},Qe=/^#[xX]([A-Fa-f0-9]+)$/,et=/^#([0-9]+)$/,tt=/^([A-Za-z0-9]+)$/,nt=function(){function e(e){this.named=e}return e.prototype.parse=function(e){if(e){var t=e.match(Qe);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(et))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(tt))?this.named[t[1]]||"&"+t[1]+";":void 0}},e}(),rt=/[\t\n\f ]/,it=/[A-Za-z]/,ot=/\r\n?/g;function at(e){return rt.test(e)}function st(e){return it.test(e)}var lt=function(){function e(e,t,n){void 0===n&&(n="precompile"),this.delegate=e,this.entityParser=t,this.mode=n,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var e=this.peek();if("<"!==e||this.isIgnoredEndTag()){if("precompile"===this.mode&&"\n"===e){var t=this.tagNameBuffer.toLowerCase();"pre"!==t&&"textarea"!==t||this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var e=this.peek(),t=this.tagNameBuffer;"<"!==e||this.isIgnoredEndTag()?"&"===e&&"script"!==t&&"style"!==t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var e=this.consume();"!"===e?this.transitionTo("markupDeclarationOpen"):"/"===e?this.transitionTo("endTagOpen"):("@"===e||":"===e||st(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){var e=this.consume();"-"===e&&"-"===this.peek()?(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment()):"DOCTYPE"===e.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase()&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())},doctype:function(){at(this.consume())&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var e=this.consume();at(e)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase()))},doctypeName:function(){var e=this.consume();at(e)?this.transitionTo("afterDoctypeName"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase())},afterDoctypeName:function(){var e=this.consume();if(!at(e))if(">"===e)this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var t=e.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),n="PUBLIC"===t.toUpperCase(),r="SYSTEM"===t.toUpperCase();(n||r)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),n?this.transitionTo("afterDoctypePublicKeyword"):r&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var e=this.peek();at(e)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):'"'===e?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):"'"===e?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):">"===e&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var e=this.consume();'"'===e?this.transitionTo("afterDoctypePublicIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},doctypePublicIdentifierSingleQuoted:function(){var e=this.consume();"'"===e?this.transitionTo("afterDoctypePublicIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},afterDoctypePublicIdentifier:function(){var e=this.consume();at(e)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===e?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===e&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var e=this.consume();at(e)||(">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===e?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===e&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var e=this.consume();'"'===e?this.transitionTo("afterDoctypeSystemIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},doctypeSystemIdentifierSingleQuoted:function(){var e=this.consume();"'"===e?this.transitionTo("afterDoctypeSystemIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},afterDoctypeSystemIdentifier:function(){var e=this.consume();at(e)||">"===e&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var e=this.consume();"-"===e?this.transitionTo("commentStartDash"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(e),this.transitionTo("comment"))},commentStartDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var e=this.consume();"-"===e?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+e),this.transitionTo("comment"))},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+e),this.transitionTo("comment"))},tagName:function(){var e=this.consume();at(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();at(e)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===e?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();at(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();at(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();at(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();at(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();at(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();at(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||st(e))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=function(e){return e.replace(ot,"\n")}(e);this.index"!==this.input.substring(this.index,this.index+8)||"style"===e&&""!==this.input.substring(this.index,this.index+8)||"script"===e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},e}(),ct=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new lt(this,e,t.mode),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(null===e)throw new Error("token was unexpectedly null");if(0===arguments.length)return e;for(var t=0;t=0))continue;let a=r.length;vt(i,n,++e,r),e+=r.length-a-1}else if(t.type!==pt)r.push(t);else{const e=yt(t.chars,o);r.push.apply(r,e)}}for(let e=0;e0&&(e+=" "+At(t.attributes).join(" ")),t.selfClosing&&(e+=" /"),e+=">",i.push(e);break}case ht:i.push(``);break;case pt:i.push(wt(t.chars));break;case ft:i.push(`\x3c!--${wt(t.chars)}--\x3e`);break;case gt:{let e=`",i.push(e);break}}}return i.join("")}function yt(e,t){const n=Ze(e),r=[];for(let e=0;e0;){let o=t[n];o.type===dt&&o.tagName.toUpperCase()===e?i++:o.type===ht&&o.tagName.toUpperCase()===e&&i--,r.push(o),n++}return r}function bt(e){let{tagName:t,attributes:n,content:r}=e;return`<${t} ${function(e){const t=[];for(const n in e){const r=e[n]+"";t.push(`${n}="${xt(r)}"`)}return t.join(" ")}(n)}>${wt(r)}`}function wt(e){return e.replace(//g,">")}function xt(e){return e.replace(/"/g,""")}function At(e){const t=[];for(let n=0;n50?"".concat(e.slice(0,40),"…").concat(e.slice(e.length-10,e.length)):e}},ignoreTags:["script","style","img"],target:"_blank"}}),[n]);function h(e){function t(t,n,r){return"string"==typeof t&&(0,Ct.isImage)(t)?(0,Ot.jsx)(St.CardMedia,{sx:It(It({},s.featureInfoItemValue),{},{cursor:"pointer"}),alt:"".concat(n," ").concat(r),src:t,tabIndex:0,click:function(){return c(e.value,e.alias,r)},keyDown:function(t){"Enter"===t.key&&c(e.value,e.alias,r)}},(0,Ct.generateId)()):(0,Ot.jsx)(St.Box,{sx:s.featureInfoItemValue,children:(0,Ot.jsx)(Et.S,{htmlContent:(0,Ct.sanitizeHtmlContent)(mt(t,d))})},(0,Ct.generateId)())}var n=e.alias,r=e.value,i=Array.isArray(r)?String(r.map(Ct.stringify)):String((0,Ct.stringify)(r));return i=i.toString().split(";"),Array.isArray(i)?i.map((function(e,r){return t(e,n,r)})):t(i,n,0)}return(0,Ot.jsxs)(St.Box,{sx:s.boxContainerFeatureInfo,children:[t.map((function(e,t){return(0,Ot.jsxs)(St.Grid,{container:!0,spacing:5,sx:{backgroundColor:t%2>0?r.palette.geoViewColor.bgColor.darken(.1):"",color:t%2>0?r.palette.geoViewColor.bgColor.darken(.9):"",marginBottom:"1.25rem"},children:[(0,Ot.jsx)(St.Grid,{size:{xs:"auto"},sx:{fontWeight:"bold",width:"80% !important"},children:e.alias}),(0,Ot.jsx)(St.Grid,{sx:{ml:"auto",wordWrap:"break-word",pr:"0.3125rem"},children:h(e)})]},"".concat(e.alias," ").concat(t.toString()))})),(0,Ot.jsx)(u,{})]})}},74576:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(53921),i=n(27797),o=n(48940),a=n(97282);function s(e){var t=e.className,n=void 0===t?"":t,s=e.sxDetails,l=(0,o.Jh)(),c=(0,i.A6)().enableFocusTrap;return(0,a.jsx)(r.IconButton,{id:"".concat(l,"-export-btn"),tooltip:"appbar.export",tooltipPlacement:"bottom-end",onClick:function(){return c({activeElementId:"export",callbackElementId:"".concat(l,"-export-btn")})},sx:s,className:n,"aria-label":"appbar.export",children:(0,a.jsx)(r.DownloadIcon,{})})}},27282:(e,t,n)=>{"use strict";n.d(t,{A:()=>ie});var r=n(888),i=n(30538),o=n(43331),a=n(13679);const s=(()=>{let e=0;return()=>(e+=1,`u${`0000${(Math.random()*36**4|0).toString(36)}`.slice(-4)}${e}`)})();function l(e){const t=[];for(let n=0,r=e.length;n{const r=new Image;r.decode=()=>t(r),r.onload=()=>t(r),r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e}))}async function p(e,t,n){const r="http://www.w3.org/2000/svg",i=document.createElementNS(r,"svg"),o=document.createElementNS(r,"foreignObject");return i.setAttribute("width",`${t}`),i.setAttribute("height",`${n}`),i.setAttribute("viewBox",`0 0 ${t} ${n}`),o.setAttribute("width","100%"),o.setAttribute("height","100%"),o.setAttribute("x","0"),o.setAttribute("y","0"),o.setAttribute("externalResourcesRequired","true"),i.appendChild(o),o.appendChild(e),async function(e){return Promise.resolve().then((()=>(new XMLSerializer).serializeToString(e))).then(encodeURIComponent).then((e=>`data:image/svg+xml;charset=utf-8,${e}`))}(i)}const f=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return null!==n&&(n.constructor.name===t.name||f(n,t))};function g(e,t,n){const r=`.${e}:${t}`,i=n.cssText?function(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}(n):function(e){return l(e).map((t=>`${t}: ${e.getPropertyValue(t)}${e.getPropertyPriority(t)?" !important":""};`)).join(" ")}(n);return document.createTextNode(`${r}{${i}}`)}function m(e,t,n){const r=window.getComputedStyle(e,n),i=r.getPropertyValue("content");if(""===i||"none"===i)return;const o=s();try{t.className=`${t.className} ${o}`}catch(e){return}const a=document.createElement("style");a.appendChild(g(o,n,r)),t.appendChild(a)}const y="application/font-woff",v="image/jpeg",b={woff:y,woff2:y,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:v,jpeg:v,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function w(e){const t=function(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}(e).toLowerCase();return b[t]||""}function x(e){return-1!==e.search(/^(data:)/)}function A(e,t){return`data:${t};base64,${e}`}async function S(e,t,n){const r=await fetch(e,t);if(404===r.status)throw new Error(`Resource "${r.url}" not found`);const i=await r.blob();return new Promise(((e,t)=>{const o=new FileReader;o.onerror=t,o.onloadend=()=>{try{e(n({res:r,result:o.result}))}catch(e){t(e)}},o.readAsDataURL(i)}))}const C={};async function E(e,t,n){const r=function(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}(e,t,n.includeQueryParams);if(null!=C[r])return C[r];let i;n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+(new Date).getTime());try{const r=await S(e,n.fetchRequestInit,(({res:e,result:n})=>(t||(t=e.headers.get("Content-Type")||""),function(e){return e.split(/,/)[1]}(n))));i=A(r,t)}catch(t){i=n.imagePlaceholder||"";let r=`Failed to fetch resource: ${e}`;t&&(r="string"==typeof t?t:t.message),r&&console.warn(r)}return C[r]=i,i}async function k(e,t){return f(e,HTMLCanvasElement)?async function(e){const t=e.toDataURL();return"data:,"===t?e.cloneNode(!1):h(t)}(e):f(e,HTMLVideoElement)?async function(e,t){if(e.currentSrc){const t=document.createElement("canvas"),n=t.getContext("2d");return t.width=e.clientWidth,t.height=e.clientHeight,null==n||n.drawImage(e,0,0,t.width,t.height),h(t.toDataURL())}const n=e.poster,r=w(n);return h(await E(n,r,t))}(e,t):f(e,HTMLIFrameElement)?async function(e){var t;try{if(null===(t=null==e?void 0:e.contentDocument)||void 0===t?void 0:t.body)return await O(e.contentDocument.body,{},!0)}catch(e){}return e.cloneNode(!1)}(e):e.cloneNode(!1)}const T=e=>null!=e.tagName&&"SLOT"===e.tagName.toUpperCase();function _(e,t){return f(t,Element)&&(function(e,t){const n=t.style;if(!n)return;const r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):l(r).forEach((i=>{let o=r.getPropertyValue(i);if("font-size"===i&&o.endsWith("px")){const e=Math.floor(parseFloat(o.substring(0,o.length-2)))-.1;o=`${e}px`}f(e,HTMLIFrameElement)&&"display"===i&&"inline"===o&&(o="block"),"d"===i&&t.getAttribute("d")&&(o=`path(${t.getAttribute("d")})`),n.setProperty(i,o,r.getPropertyPriority(i))}))}(e,t),function(e,t){m(e,t,":before"),m(e,t,":after")}(e,t),function(e,t){f(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),f(e,HTMLInputElement)&&t.setAttribute("value",e.value)}(e,t),function(e,t){if(f(e,HTMLSelectElement)){const n=t,r=Array.from(n.children).find((t=>e.value===t.getAttribute("value")));r&&r.setAttribute("selected","")}}(e,t)),t}async function O(e,t,n){return n||!t.filter||t.filter(e)?Promise.resolve(e).then((e=>k(e,t))).then((n=>async function(e,t,n){var r,i;let o=[];return o=T(e)&&e.assignedNodes?l(e.assignedNodes()):f(e,HTMLIFrameElement)&&(null===(r=e.contentDocument)||void 0===r?void 0:r.body)?l(e.contentDocument.body.childNodes):l((null!==(i=e.shadowRoot)&&void 0!==i?i:e).childNodes),0===o.length||f(e,HTMLVideoElement)||await o.reduce(((e,r)=>e.then((()=>O(r,n))).then((e=>{e&&t.appendChild(e)}))),Promise.resolve()),t}(e,n,t))).then((t=>_(e,t))).then((e=>async function(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(0===n.length)return e;const r={};for(let i=0;i{for(;;){const[n,,r]=I.exec(e)||[];if(!r)return"";if(r===t)return`src: ${n};`}})):e}(e,n),i=function(e){const t=[];return e.replace(P,((e,n,r)=>(t.push(r),e))),t.filter((e=>!x(e)))}(r);return i.reduce(((e,r)=>e.then((e=>L(e,r,t,n)))),Promise.resolve(r))}async function F(e,t,n){var r;const i=null===(r=t.style)||void 0===r?void 0:r.getPropertyValue(e);if(i){const r=await j(i,null,n);return t.style.setProperty(e,r,t.style.getPropertyPriority(e)),!0}return!1}async function D(e,t){f(e,Element)&&(await async function(e,t){await F("background",e,t)||await F("background-image",e,t),await F("mask",e,t)||await F("mask-image",e,t)}(e,t),await async function(e,t){const n=f(e,HTMLImageElement);if((!n||x(e.src))&&(!f(e,SVGImageElement)||x(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,i=await E(r,w(r),t);await new Promise(((t,r)=>{e.onload=t,e.onerror=r;const o=e;o.decode&&(o.decode=t),"lazy"===o.loading&&(o.loading="eager"),n?(e.srcset="",e.src=i):e.href.baseVal=i}))}(e,t),await async function(e,t){const n=l(e.childNodes).map((e=>D(e,t)));await Promise.all(n).then((()=>e))}(e,t))}const N={};async function B(e){let t=N[e];if(null!=t)return t;const n=await fetch(e);return t={url:e,cssText:await n.text()},N[e]=t,t}async function z(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,i=(n.match(/url\([^)]+\)/g)||[]).map((async i=>{let o=i.replace(r,"$1");return o.startsWith("https://")||(o=new URL(o,e.url).href),S(o,t.fetchRequestInit,(({result:e})=>(n=n.replace(i,`url(${e})`),[i,e])))}));return Promise.all(i).then((()=>n))}function V(e){if(null==e)return[];const t=[];let n=e.replace(/(\/\*[\s\S]*?\*\/)/gi,"");const r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const e=r.exec(n);if(null===e)break;t.push(e[0])}n=n.replace(r,"");const i=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,o=new RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");for(;;){let e=i.exec(n);if(null===e){if(e=o.exec(n),null===e)break;i.lastIndex=o.lastIndex}else o.lastIndex=i.lastIndex;t.push(e[0])}return t}async function $(e,t){if(null==e.ownerDocument)throw new Error("Provided element is not within a Document");const n=l(e.ownerDocument.styleSheets),r=await async function(e,t){const n=[],r=[];return e.forEach((n=>{if("cssRules"in n)try{l(n.cssRules||[]).forEach(((e,i)=>{if(e.type===CSSRule.IMPORT_RULE){let o=i+1;const a=B(e.href).then((e=>z(e,t))).then((e=>V(e).forEach((e=>{try{n.insertRule(e,e.startsWith("@import")?o+=1:n.cssRules.length)}catch(t){console.error("Error inserting rule from remote css",{rule:e,error:t})}})))).catch((e=>{console.error("Error loading remote css",e.toString())}));r.push(a)}}))}catch(i){const o=e.find((e=>null==e.href))||document.styleSheets[0];null!=n.href&&r.push(B(n.href).then((e=>z(e,t))).then((e=>V(e).forEach((e=>{o.insertRule(e,n.cssRules.length)})))).catch((e=>{console.error("Error loading remote stylesheet",e)}))),console.error("Error inlining remote css file",i)}})),Promise.all(r).then((()=>(e.forEach((e=>{if("cssRules"in e)try{l(e.cssRules||[]).forEach((e=>{n.push(e)}))}catch(t){console.error(`Error while reading CSS rules from ${e.href}`,t)}})),n)))}(n,t);return function(e){return e.filter((e=>e.type===CSSRule.FONT_FACE_RULE)).filter((e=>R(e.style.getPropertyValue("src"))))}(r)}async function G(e,t){const n=null!=t.fontEmbedCSS?t.fontEmbedCSS:t.skipFonts?null:await async function(e,t){const n=await $(e,t);return(await Promise.all(n.map((e=>{const n=e.parentStyleSheet?e.parentStyleSheet.href:null;return j(e.cssText,n,t)})))).join("\n")}(e,t);if(n){const t=document.createElement("style"),r=document.createTextNode(n);t.appendChild(r),e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}}async function U(e,t={}){const{width:n,height:r}=u(e,t),i=await O(e,t,!0);await G(i,t),await D(i,t),function(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;null!=r&&Object.keys(r).forEach((e=>{n[e]=r[e]}))}(i,t);return await p(i,n,r)}async function W(e,t={}){const{width:n,height:r}=u(e,t),i=await U(e,t),o=await h(i),a=document.createElement("canvas"),s=a.getContext("2d"),l=t.pixelRatio||function(){let e,t;try{t=process}catch(e){}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}(),c=t.canvasWidth||n,p=t.canvasHeight||r;return a.width=c*l,a.height=p*l,t.skipAutoScale||function(e){(e.width>d||e.height>d)&&(e.width>d&&e.height>d?e.width>e.height?(e.height*=d/e.width,e.width=d):(e.width*=d/e.height,e.height=d):e.width>d?(e.height*=d/e.width,e.width=d):(e.width*=d/e.height,e.height=d))}(a),a.style.width=`${c}`,a.style.height=`${p}`,t.backgroundColor&&(s.fillStyle=t.backgroundColor,s.fillRect(0,0,a.width,a.height)),s.drawImage(o,0,0,a.width,a.height),a}async function q(e,t={}){return(await W(e,t)).toDataURL()}var H=n(53921),Y=n(72459),K=n(46074),X=n(27797),Z=n(48940),J=n(42360),Q=n(67409),ee=n(42877),te=n(7404),ne=n(6335),re=n(97282);function ie(){var e=(0,o.useTranslation)().t,t=(0,Z.Jh)(),n=(0,J.sd)(),s=n.getElementsByClassName("ol-viewport")[0],l=n.querySelector('[id^="'.concat(t,'-footerBar-legendContainer"]')),c=n.querySelector('[id^="'.concat(t,'-appBar-legendContainer"]')),u=(0,a.A)(),d=(0,i.useState)(!0),h=(0,r.A)(d,2),p=h[0],f=h[1],g=(0,i.useState)(!0),m=(0,r.A)(g,2),y=m[0],v=m[1],b=(0,i.useState)(!1),w=(0,r.A)(b,2),x=w[0],A=w[1],S=(0,i.useState)(""),C=(0,r.A)(S,2),E=C[0],k=C[1],T=(0,i.useRef)(null),_=(0,i.useRef)(null),O=(0,i.useRef)(null),P=(0,i.useRef)(null),I=(0,i.useRef)(null),M=(0,i.useRef)(null),L=(0,ee.Mk)(),R=(0,ee.gx)(),j=(0,ee.re)(),F=(0,te.A)().rotationAngle,D=(0,X.A6)(),N=D.disableFocusTrap,B=D.setActiveAppBarTab,z=(0,X.NP)().activeElementId,V=(0,X.bd)().isOpen,$=function(e){var t=window.getComputedStyle(e),n=Number(t.getPropertyValue("padding-left").match(/\d+/)[0]),r=Number(t.getPropertyValue("padding-left").match(/\d+/)[0]);return e.clientWidth-n-r};return(0,i.useEffect)((function(){var e;if(ne.vF.logTraceUseEffect("Export Modal - mount"),"export"===z&&_.current&&O.current){var n=_.current,r=O.current;c&&!l&&B("AppbarPanelButtonLegend","legend",!0),e=setTimeout((function(){f(!0),q(s,{fontEmbedCSS:""}).then((function(e){f(!1);var t=new Image;t.src=e,t.style.maxWidth="".concat($(r),"px"),n.appendChild(t)})).catch((function(e){ne.vF.logError("Error occured while converting map to image",e)}));var e=null!=l?l:c;if(e&&P.current){var i;e.removeAttribute("style"),v(!0);var o=document.getElementById("shell-".concat(t,"-legend")),a=null!==(i=null==o?void 0:o.hasAttribute("hidden"))&&void 0!==i?i:null;a&&o.removeAttribute("hidden"),q(e,{fontEmbedCSS:""}).then((function(e){var t;v(!1);var n=new Image;n.src=e,n.style.maxWidth="".concat($(r),"px"),null===(t=P.current)||void 0===t||t.appendChild(n),a&&(o.hidden=!0)})).catch((function(e){ne.vF.logError("Error occured while converting legend to image",e)}))}else v(!1)}),500)}return function(){e&&clearTimeout(e),f(!0),v(!0)}}),[z,V]),(0,re.jsxs)(H.Dialog,{open:"export"===z,onClose:N,fullWidth:!0,maxWidth:"xl",disablePortal:!0,children:[(0,re.jsx)(H.DialogTitle,{children:e("exportModal.title")}),(0,re.jsx)(H.DialogContent,{dividers:!0,ref:O,children:(0,re.jsxs)(H.Box,{ref:T,textAlign:"center",children:[(0,re.jsx)(H.Box,{ref:I,children:(0,re.jsx)(H.TextField,{label:e("exportModal.exportTitle"),variant:"standard",value:E,onChange:function(e){return k(e.target.value)},sx:{paddingBottom:"1rem",minWidth:300}})}),(0,re.jsx)(H.Box,{ref:M}),(0,re.jsx)(H.Box,{ref:_,children:p&&(0,re.jsx)(H.Skeleton,{variant:"rounded",width:"100%",height:500,sx:{bgcolor:u.palette.grey[500]}})}),(0,re.jsxs)(H.Box,{display:"flex",justifyContent:"space-between",alignItems:"center",sx:{padding:"1rem",paddingBottom:0},children:[(0,re.jsx)(H.Box,{children:!!R.labelGraphic.length&&(0,re.jsxs)(H.Box,{children:[R.labelGraphic," ",e("exportModal.approx")," ",(0,re.jsx)("hr",{})]})}),L&&(0,re.jsx)(H.Box,{textAlign:"right",style:{transform:"rotate(".concat(F.angle,"deg)")},children:(0,re.jsx)(Q.e,{width:44,height:44})})]}),(0,re.jsx)(H.Box,{ref:P,children:y&&(0,re.jsx)(H.Skeleton,{variant:"rounded",width:"100%",height:500,sx:{bgcolor:u.palette.grey[500]}})}),(0,re.jsx)(H.Box,{textAlign:"center",children:j.map((function(e){return(0,re.jsx)(H.Box,{component:"p",sx:{margin:0},children:e},e)}))}),(0,re.jsx)(H.Box,{textAlign:"center",sx:{marginBottom:"1rem"},children:K.P.formatDate(new Date,"YYYY-MM-DD, hh:mm:ss A")})]})}),(0,re.jsxs)(H.DialogActions,{children:[(0,re.jsx)(H.Button,{onClick:function(){B("AppbarPanelButtonLegend","legend",!1),N()},type:"text",size:"small",role:"button",tabIndex:-1,autoFocus:!0,"aria-hidden":"true",sx:{width:"inherit",fontSize:u.palette.geoViewFontSize.sm,color:u.palette.common.white,padding:"0.7rem 1rem",backgroundColor:u.palette.geoViewColor.primary.main,"&:hover":{backgroundColor:u.palette.geoViewColor.primary.dark[200]}},children:e("exportModal.cancelBtn")}),(0,re.jsx)(H.LoadingButton,{loading:x,variant:"contained",onClick:function(){T.current&&I.current&&M.current&&(I.current.style.display="none",M.current.style.padding="1rem",M.current.innerHTML=E,A(!0),q(T.current,{backgroundColor:u.palette.common.white,fontEmbedCSS:""}).then((function(e){A(!1),(0,Y.exportPNG)(e,t),B("AppbarPanelButtonLegend","legend",!1),N()})).catch((function(e){ne.vF.logError("Error while exporting the image",e)})))},size:"small",sx:{fontSize:u.palette.geoViewFontSize.sm,padding:"0.7rem 1rem",backgroundColor:u.palette.geoViewColor.primary.main,height:"47px"},disabled:y||p,children:e("exportModal.exportBtn")})]})]})}},34724:(e,t,n)=>{"use strict";n.d(t,{x:()=>m});var r=n(36549),i=n(80085),o=n(24515),a=n(12003),s=n(75079),l=n(72459);function c(e,t,n){u(e,t),t.set(e,n)}function u(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function d(e,t){return e.get(h(e,t))}function h(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var p=new WeakMap,f=new WeakMap,g=new WeakSet,m=function(){return(0,i.A)((function e(t){var n,i;(0,r.A)(this,e),u(n=this,i=g),i.add(n),(0,o.A)(this,"mapId",void 0),(0,o.A)(this,"tabs",[]),c(this,p,[]),c(this,f,[]),this.mapId=t}),[{key:"onFooterTabCreated",value:function(e){s.A.onEvent(d(p,this),e)}},{key:"offFooterTabCreated",value:function(e){s.A.offEvent(d(p,this),e)}},{key:"onFooterTabRemoved",value:function(e){s.A.onEvent(d(f,this),e)}},{key:"offFooterTabRemoved",value:function(e){s.A.offEvent(d(f,this),e)}},{key:"createTab",value:function(e){e&&(this.tabs.find((function(t){return t.id===e.id}))||("string"==typeof e.content&&(e.content=(0,l.sanitizeHtmlContent)(e.content)),this.tabs.push(e),h(g,this,y).call(this,{tab:e})))}},{key:"removeTab",value:function(e){this.tabs.find((function(t){return t.id===e}))&&(this.tabs=this.tabs.filter((function(t){return t.id!==e})),h(g,this,v).call(this,{tabid:e}))}},{key:"selectTab",value:function(e){a.d.setActiveFooterBarTab(this.mapId,e)}}])}();function y(e){s.A.emitEvent(this,d(p,this),e)}function v(e){s.A.emitEvent(this,d(f,this),e)}},66534:(e,t,n)=>{"use strict";n.d(t,{N:()=>F});var r=n(24515),i=n(888),o=n(76390),a=n.n(o),s=n(30538),l=n(13679),c=n(53921),u=n(5805),d=function(e){return{tabsContainer:{position:"relative",background:e.palette.geoViewColor.bgColor.dark[50],boxShadow:2,width:"100%",transition:"height 0.2s ease-out",height:"55px","&.MuiGrid-container":{background:e.palette.geoViewColor.bgColor.dark[50]},"& .MuiTab-root":{minHeight:"56px"},"& .MuiTabs-indicator":{display:"none"},"& .MuiTab-root.Mui-selected":{color:"".concat(e.palette.geoViewColor.white," !important"),background:e.palette.geoViewColor.primary.main,borderRadius:"0.5rem",margin:"0.5rem",minHeight:0}}}},h=n(18863),p=n(48940),f=function(){return{slider:{height:300,padding:"1.5rem 0.5rem 1.5rem 1rem","& .MuiSlider-markLabel":{left:"33px","&:nth-of-type(1)":{bottom:"3%"},"&:last-of-type":{bottom:"98%",left:"30px"}}}}},g=n(27797),m=n(6335),y=n(97282);function v(){var e=f(),t=(0,p.Jh)(),n=document.getElementById("shell-".concat(t)),r=(0,g.ex)(),o=(0,g.r4)(),a=(0,g.A6)().setFooterPanelResizeValue,l=(0,s.useState)(null),u=(0,i.A)(l,2),d=u[0],v=u[1],b=(0,s.useMemo)((function(){return m.vF.logTraceUseMemo("RESIZE-FOOTER-PANEL - marks",o),o.map((function(e){return{value:e,label:"".concat(e,"%")}}))}),[o]),w=function(){v(null)},x=Boolean(d);return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.IconButton,{onClick:function(e){return(t=e).preventDefault(),void v(t.currentTarget);var t},tooltip:"footerBar.resizeTooltip",children:(0,y.jsx)(c.HeightIcon,{})}),(0,y.jsx)(c.Popover,{open:x,anchorEl:d,onClose:w,container:n,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"},children:(0,y.jsx)(c.Box,{sx:e.slider,children:(0,y.jsx)(h.Ay,{sx:{'& input[type="range"]':{WebkitAppearance:"slider-vertical"}},orientation:"vertical",value:r,step:null,valueLabelDisplay:"off",marks:b,onChange:function(e,t){a(t),w()},min:o[0],max:o[o.length-1]})})})]})}var b=n(42360),w=n(92282),x=n(16896),A=n(34730),S=n(61555),C=n(1145),E=n(1078),k=n(46066),T=n(52425),_=n(67178),O=n(33208),P=n(44635),I=n(50423),M=n(22557),L=n(22935);function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function j(e){for(var t=1;t0?(0,y.jsx)(c.Box,{ref:z,sx:R.tabsContainer,className:"tabsContainer",id:"".concat(h,"-tabsContainer"),children:(0,y.jsx)(c.Tabs,{shellContainer:Y,activeTrap:q,isCollapsed:H,onToggleCollapse:function(){ee(!H)},onSelectedTabChanged:function(e){Z(e.id),ee(!1)},onOpenKeyboard:J,onCloseKeyboard:Q,selectedTab:le.findIndex((function(e){return e.id===W})),tabProps:{disableRipple:!0},tabs:le,TabContentVisibilty:H?"hidden":"visible",containerType:L.vB.FOOTER_BAR,rightButtons:(0,y.jsxs)(y.Fragment,{children:[!H&&V&&(0,y.jsx)(v,{}),(0,y.jsx)(c.IconButton,{onClick:he,tooltip:N?"footerBar.focusToMap":"footerBar.focusToFooter",className:"buttonFilled",disabled:H||V||U[U.length-1]===G,children:N?(0,y.jsx)(c.MoveUpRoundedIcon,{}):(0,y.jsx)(c.MoveDownRoundedIcon,{})})]})})}):null}},78132:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(30538),i=n(53921),o=n(47389),a=n(42877),s=n(27415),l=n(6335),c=n(97282);function u(e){var t=e.geoListItems,n=e.searchValue,u=(0,a.U6)().zoomToGeoLocatorLocation,d=(0,r.useCallback)((function(e){var t=e.name,n=e.province,r=e.category,i=t;return r&&"null"!==r&&(i+=", ".concat(r)),n&&"null"!==n&&(i+=", ".concat(n)),i}),[]),h=(0,r.useCallback)((function(e,t,n){var r=e.toUpperCase(),i=t.toUpperCase(),o=r.indexOf(i),a=i.length;return i&&-1!==o?(0,c.jsx)(s.S,{extraOptions:{component:"span"},itemOptions:{component:"span"},htmlContent:"".concat(e.slice(0,o),"").concat(e.slice(o,o+a),"").concat(e.slice(o+a)).concat(n)}):e}),[]);return(0,c.jsx)(i.Box,{children:t.map((function(e,t){return(0,c.jsx)(i.Tooltip,{title:d(e),placement:"right",children:(0,c.jsx)(i.ListItem,{component:"div",disablePadding:!0,children:(0,c.jsx)(i.ListItemButton,{onClick:function(){return t=[e.lng,e.lat],n=e.bbox,void u(t,n).catch((function(e){l.vF.logPromiseFailed("Failed to triggerGetAllFeatureInfo in data-panel.GeoList.handleZoomToGeoLocator",e)}));var t,n},children:(0,c.jsxs)(i.Grid,{container:!0,children:[(0,c.jsx)(i.Grid,{size:{xs:12,sm:8},children:(0,c.jsx)(i.Typography,{sx:o.aP.listStyle,children:h(e.name,n,e.province&&"null"!==e.province?", ".concat(e.province):"")})}),(0,c.jsx)(i.Grid,{size:{xs:12,sm:4},sx:{textAlign:"right"},children:!!e.category&&"null"!==e.category&&(0,c.jsx)(i.Typography,{component:"p",sx:o.aP.main,children:(0,c.jsxs)(i.Typography,{component:"span",children:[" ",e.category]})})})]})})})},"".concat(e.name,"-").concat(e.lat,"-").concat(t.toString()))}))})}},47389:(e,t,n)=>{"use strict";n.d(t,{K9:()=>o,aP:()=>a,cm:()=>s});var r=n(96756),i=n(90139),o={root:{position:"absolute",top:12,left:80,maxWidth:350,width:350},geolocator:{position:"relative",display:"flex",zIndex:1100,"& form":{display:"flex",width:"100%",paddingLeft:5},"& .MuiPaper-root":{backgroundColor:"background.default",color:"text.primary","& .MuiToolbar-root":{justifyContent:"space-between"}}},progressBar:{position:"relative",zIndex:1100,"& span":{width:"100%"}},filter:{display:"flex",flexDirection:"row",alignItems:"end",padding:6,paddingTop:2,"& .MuiInputLabel-formControl":{fontSize:function(e){return e.palette.geoViewFontSize.default},marginTop:0},"& .MuiSelect-select":{padding:"0px 12px 4px 0px !important"}},searchResult:{position:"relative",display:"flex",flexDirection:"column",zIndex:1100,marginTop:6},filterListError:{listStyleType:"disc",listStylePosition:"inside","& li":{display:"list-item",paddingLeft:12,"& .MuiListItemText-root":{display:"inline-flex",marginLeft:"-8px"}}}},a={listStyle:{fontSize:function(e){return e.palette.geoViewFontSize.sm},whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},main:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","& span":{fontSize:function(e){return e.palette.geoViewFontSize.xs},":first-of-type":{fontSize:function(e){return e.palette.geoViewFontSize.sm}}}}},s=(0,r.Ay)(i.A)((function(e){var t=e.theme;return{color:"inherit",width:"100%",fontSize:t.palette.geoViewFontSize.default,"& .MuiInputBase-input":{transition:t.transitions.create("width"),width:"100%"}}}))},65416:(e,t,n)=>{"use strict";n.d(t,{u:()=>k});var r=n(74131),i=n(888),o=n(53732),a=n.n(o),s=n(30538),l=n(43331),c=n(44481),u=n.n(c),d=n(13679),h=n(53921),p=n(47389),f=n(22935),g=n(27797),m=n(42360),y=n(77156),v=n(78132),b=n(42877),w=n(6335),x=n(97282);function A(e){var t=e.geoLocationData,n=e.searchValue,r=e.error,o=(0,l.useTranslation)().t,a=(0,s.useState)(""),c=(0,i.A)(a,2),u=c[0],f=c[1],g=(0,s.useState)(""),m=(0,i.A)(g,2),A=m[0],S=m[1],C=(0,s.useState)(t),E=(0,i.A)(C,2),k=E[0],T=E[1],_=(0,b.ht)(),O=(0,d.A)(),P=(0,s.useMemo)((function(){w.vF.logTraceUseMemo("GEOLOCATOR-RESULT - provinces",t);var e=t.reduce((function(e,t){return t.province&&!e.includes(t.province)&&e.push(t.province),e}),[]).sort();return[""].concat((0,y.A)(new Set(e))).map((function(e){return{type:"item",item:{value:e.length?e:"",children:e.length?e:o("geolocator.noFilter")}}}))}),[t]),I=(0,s.useMemo)((function(){w.vF.logTraceUseMemo("GEOLOCATOR-RESULT - categories",t);var e=t.reduce((function(e,t){return t.category&&e.push(t.category),e}),[]).sort();return[""].concat((0,y.A)(new Set(e))).map((function(e){return{type:"item",item:{value:e.length?e:"",children:e.length?e:o("geolocator.noFilter")}}}))}),[t]),M=(0,s.useMemo)((function(){return w.vF.logTraceUseMemo("GEOLOCATOR-RESULT - memoFilterData",t,u,A),t.filter((function(e){var t=!0;return u.length&&!A.length?t=e.province.toLowerCase()===u.toLowerCase():u.length&&A.length?t=e.province.toLowerCase()===u.toLowerCase()&&e.category.toLowerCase()===A.toLowerCase():!u.length&&A.length&&(t=e.category.toLowerCase()===A.toLowerCase()),t}))}),[A,t,u]);return(0,s.useEffect)((function(){w.vF.logTraceUseEffect("GEOLOCATOR-RESULT - geoLocationData",t),T(t)}),[t]),(0,s.useEffect)((function(){w.vF.logTraceUseEffect("GEOLOCATOR-RESULT - geoLocationData province category",M),T(M)}),[M]),(0,s.useEffect)((function(){w.vF.logTraceUseEffect("GEOLOCATOR-RESULT - geoLocationData reset",t),t.length||(f(""),S(""))}),[t]),(0,x.jsxs)(h.Paper,{component:"div",elevation:4,square:!0,sx:{width:350},children:[!r&&(0,x.jsxs)(h.Box,{sx:p.K9.filter,children:[(0,x.jsx)(h.Box,{sx:{flexGrow:2,paddingRight:"8px",maxWidth:150},children:(0,x.jsx)(h.Select,{labelId:"provinceGeolocatorFiltersLabel",formControlProps:{variant:"standard",size:"small"},id:"provinceGeolocatorFilters",fullWidth:!0,value:null!=u?u:"",onChange:function(e){return f(e.target.value)},label:o("geolocator.province"),inputLabel:{id:"geolocationProvinceFilter"},menuItems:P,disabled:!t.length,variant:"standard"})}),(0,x.jsx)(h.Box,{sx:{flexGrow:2,paddingRight:"8px",maxWidth:150},children:(0,x.jsx)(h.Select,{labelId:"categoryGeolocatorFiltersLabel",id:"typeGeolocatorFilters",formControlProps:{variant:"standard",size:"small"},value:null!=A?A:"",fullWidth:!0,onChange:function(e){return S(e.target.value)},label:o("geolocator.category"),inputLabel:{id:"geolocationCategoryFilter"},menuItems:I,disabled:!t.length,variant:"standard"})}),(0,x.jsx)(h.Box,{children:(0,x.jsx)(h.IconButton,{size:"small",edge:"end",color:"inherit",tooltip:"geolocator.clearFilters",onClick:function(){(u||A)&&(f(""),S(""),T(t))},disabled:!t.length,children:(0,x.jsx)(h.FilterAltOffIcon,{fontSize:O.palette.geoViewFontSize.sm})})})]}),(0,x.jsx)(h.Divider,{}),(0,x.jsxs)(h.Box,{sx:{maxHeight:_[1]-160,overflowY:"auto"},children:[!!k.length&&(0,x.jsx)(v.A,{geoListItems:k,searchValue:n}),(!k.length||r)&&(0,x.jsxs)(h.Box,{sx:{p:10},children:[(0,x.jsxs)(h.Typography,{component:"p",sx:{fontSize:O.palette.geoViewFontSize.md},children:[o("geolocator.errorMessage")," ",(0,x.jsx)("b",{children:n})]}),!(!u.length&&!A.length)&&(0,x.jsxs)(h.List,{sx:p.K9.filterListError,children:[!!u.length&&(0,x.jsx)(h.ListItem,{children:(0,x.jsx)(h.ListItemText,{primary:"".concat(o("geolocator.province"),": ").concat(u)})}),!!A.length&&(0,x.jsx)(h.ListItem,{children:(0,x.jsx)(h.ListItemText,{primary:"".concat(o("geolocator.category"),": ").concat(A)})})]})]})]})]})}var S=n(82997),C=n(90651),E=n(48940);function k(){w.vF.logTraceRender("components/geolocator/geolocator");var e=(0,l.useTranslation)().t,t=(0,d.A)(),n=(0,E.Jh)(),o=(0,s.useState)(),c=(0,i.A)(o,2),y=c[0],v=c[1],b=(0,s.useState)(null),k=(0,i.A)(b,2),T=k[0],_=k[1],O=(0,s.useState)(!1),P=(0,i.A)(O,2),I=P[0],M=P[1],L=(0,s.useState)(""),R=(0,i.A)(L,2),j=R[0],F=R[1],D=(0,m.t)(),N=(0,m._V)(),B=(0,g.A6)().setActiveAppBarTab,z=(0,g.bd)(),V=z.tabGroup,$=z.isOpen,G=(0,s.useRef)("".concat(N,"&lang=").concat(D)),U=(0,s.useRef)(null),W=function(e){if(!/^[-+]?([1-8]?\d(\.\d+)?|90(\.0+)?),\s*[-+]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/.test(e))return null;var t=e.split(/[\s|,|;|]/).filter((function(e){return!Number.isNaN(e)&&""!==e})).map((function(e){return parseFloat(e)})),n=.015,r=[t[1]-n,t[0]-n,t[1]+n,t[0]+n];return{key:"coordinates",name:"".concat(t[0],",").concat(t[1]),lat:t[0],lng:t[1],bbox:r,province:"",category:"Latitude/Longitude"}},q=function(){var e=(0,r.A)(a().mark((function e(t){var n,r,i,o;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,M(!0),U.current&&U.current.abort(),n=new AbortController,U.current=n,e.next=7,fetch("".concat(G.current,"&q=").concat(encodeURIComponent("".concat(t,"*"))),{signal:U.current.signal});case 7:if((r=e.sent).ok){e.next=10;break}throw new Error("Error");case 10:return e.next=12,r.json();case 12:i=e.sent,(o=W(t))&&i.unshift(o),v(i),_(null),M(!1),e.next=23;break;case 20:e.prev=20,e.t0=e.catch(0),_(e.t0);case 23:case"end":return e.stop()}}),e,null,[[0,20]])})));return function(t){return e.apply(this,arguments)}}(),H=(0,s.useCallback)((function(){F(""),v(void 0),B("".concat(n,"AppbarPanelButtonGeolocator"),S.NF.GEOLOCATOR,!1)}),[B]),Y=u()((function(e){q(e).catch((function(e){w.vF.logPromiseFailed("getGeolocations in deRequest in Geolocator",e)}))}),f.Xl),K=(0,s.useCallback)((function(e){return Y(e)}),[]),X=(0,s.useCallback)((function(){j.length>=3&&q(j).catch((function(e){w.vF.logPromiseFailed("getGeolocations in Geolocator",e)}))}),[j]);return(0,s.useEffect)((function(){return function(){U.current&&U.current.abort()}}),[]),(0,x.jsx)(C.Pe,{open:V===S.NF.GEOLOCATOR&&$,id:"geolocator-focus-trap",children:(0,x.jsxs)(h.Box,{sx:p.K9.root,visibility:V===S.NF.GEOLOCATOR&&$?"visible":"hidden",id:"geolocator-search",tabIndex:V===S.NF.GEOLOCATOR&&$?0:-1,children:[(0,x.jsx)(h.Box,{sx:p.K9.geolocator,children:(0,x.jsx)(h.AppBarUI,{position:"static",children:(0,x.jsx)(h.Toolbar,{variant:"dense",children:(0,x.jsxs)("form",{onSubmit:function(e){e.preventDefault(),I||X()},children:[(0,x.jsx)(p.cm,{placeholder:e("geolocator.search"),autoFocus:!0,onChange:function(e){var t=e.target.value;F(t),t.length>=3&&K(t),(!t.length||t.length<3)&&(U.current&&U.current.abort(),Y.cancel(),v(void 0))},value:j}),(0,x.jsxs)(h.Box,{sx:{display:"flex",marginLeft:"auto",alignItems:"center"},children:[(0,x.jsx)(h.IconButton,{size:"small",edge:"end",color:"inherit",sx:{mr:4},disabled:!j.length,onClick:X,children:(0,x.jsx)(h.SearchIcon,{fontSize:t.palette.geoViewFontSize.sm})}),(0,x.jsx)(h.Divider,{orientation:"vertical",variant:"middle",flexItem:!0}),(0,x.jsx)(h.IconButton,{size:"small",edge:"end",color:"inherit",sx:{mr:2,ml:4},onClick:H,children:(0,x.jsx)(h.CloseIcon,{fontSize:t.palette.geoViewFontSize.sm})})]})]})})})}),I&&(0,x.jsx)(h.Box,{sx:p.K9.progressBar,children:(0,x.jsx)(h.ProgressBar,{})}),!!y&&(null==j?void 0:j.length)>=3&&!T&&(0,x.jsx)(h.Box,{sx:p.K9.searchResult,children:(0,x.jsx)(A,{geoLocationData:y,searchValue:j,error:T})})]})})}},50423:(e,t,n)=>{"use strict";n.d(t,{r:()=>m});var r=n(888),i=n(30538),o=n(34089),a=n(43331),s=n(13679),l=n(53921),c=n(42360),u=n(6335),d=function(e){return{guideContainer:{"& .responsive-layout-right-main-content":{backgroundColor:e.palette.geoViewColor.white,"&:focus-visible":{border:"2px solid inherit"}}},rightPanelContainer:{color:e.palette.geoViewColor.textColor.main},footerGuideListItemText:{"&:hover":{cursor:"pointer"},"& .MuiListItemText-primary":{padding:"15px",fontSize:"".concat(e.palette.geoViewFontSize.lg," !important"),lineHeight:1.5,fontWeight:"700",textTransform:"capitalize"}},footerGuideListItemCollapse:{"& .MuiListItemText-primary":{padding:"15px 15px 15px 30px",fontSize:"".concat(e.palette.geoViewFontSize.md," !important"),lineHeight:1.5,whiteSpace:"unset"}},errorMessage:{marginLeft:"60px",marginTop:"30px",marginBottom:"12px"}}},h=n(90651),p=n(48940),f=n(22935),g=n(97282);function m(e){var t,n=e.fullWidth,m=(0,a.useTranslation)().t,y=(0,s.A)(),v=d(y),b=(0,c.DR)(),w=(0,p.Jh)(),x=(0,i.useState)(""),A=(0,r.A)(x,2),S=A[0],C=A[1],E=(0,i.useState)(0),k=(0,r.A)(E,2),T=k[0],_=k[1],O=(0,i.useCallback)((function(){return u.vF.logTraceUseCallback("GUIDE_PANEL - getListOfGuides"),b?Object.keys(b).map((function(e){var t=b[e].content;return b[e].children&&Object.keys(b[e].children).forEach((function(n){t+="\n".concat(b[e].children[n].content),b[e].children[n].children&&Object.keys(b[e].children[n].children).forEach((function(r){t+="\n".concat(b[e].children[n].children[r].content)}))})),{layerName:b[e].heading,layerPath:e,layerStatus:"loaded",queryStatus:"processed",content:(0,g.jsx)(o.Ay,{options:{wrapper:"article"},children:t}),layerUniqueId:"".concat(w,"-").concat(f.DF.GUIDE,"-").concat(null!=e?e:"")}})):[]}),[b,w]),P=(0,i.useMemo)((function(){return u.vF.logTraceUseMemo("GUIDE_PANEL - layerlist"),C("navigationControls"),O()}),[O]),I=(0,i.useCallback)((function(e){u.vF.logTraceUseCallback("GUIDE PANEL - handleGuideItemClick",e);var t=P.findIndex((function(t){return t.layerName===e.layerName}));_(t),C(e.layerPath)}),[P]);return(0,g.jsx)(l.Box,{sx:v.guideContainer,children:(0,g.jsx)(h.PE,{selectedLayerPath:S||"",layerList:P,onLayerListClicked:I,fullWidth:n,"aria-label":m("guide.title"),children:(0,g.jsx)(l.Box,{sx:v.rightPanelContainer,"aria-label":m("guide.title"),className:"guidebox-container",children:(0,g.jsx)(l.Box,{className:"guideBox",children:null===(t=P[T])||void 0===t?void 0:t.content})})})})}},9978:(e,t,n)=>{"use strict";n.d(t,{s:()=>f});var r=n(888),i=n(30538),o=n(43331),a=n(13679),s=n(53921),l=n(6335),c=n(42877),u=function(e){return{tooltipItem:{color:e.palette.geoViewColor.bgColor.light[900],background:e.palette.geoViewColor.bgColor.dark[900],opacity:.9,fontSize:e.palette.geoViewFontSize.default,padding:"3px 8px",borderRadius:"5px",textAlign:"center",maxWidth:"350px",maxHeight:"60px",position:"absolute",display:"flex",top:"-5px",left:"3px"},tooltipText:{fontSize:e.palette.geoViewFontSize.default,color:e.palette.geoViewColor.bgColor.light[900],textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",padding:"5px"}}},d=n(48940),h=n(42360),p=n(97282);function f(){var e=(0,o.useTranslation)().t,t=(0,d.Jh)(),n=(0,a.A)(),f=(0,i.useState)(""),g=(0,r.A)(f,2),m=g[0],y=g[1],v=(0,i.useState)(""),b=(0,r.A)(v,2),w=b[0],x=b[1],A=(0,i.useState)(!1),S=(0,r.A)(A,2),C=S[0],E=S[1],k=u(n),T=(0,c.kI)(),_=(0,c.KE)(),O=(0,h.sd)().querySelector('[id^="mapTargetElement-'.concat(t,'"]')),P=(0,i.useRef)(null);return(0,i.useEffect)((function(){var e;(l.vF.logTraceUseEffect("HOVER-TOOLTIP - hoverFeatureInfo",T),T)&&(y(null===(e=T.fieldInfo)||void 0===e?void 0:e.value),x(T.featureIcon.toDataURL()),E(!0))}),[T]),(0,i.useEffect)((function(){y(""),x(""),E(!1)}),[_]),(0,i.useEffect)((function(){if(l.vF.logTraceUseEffect("HOVER-TOOLTIP - tooltipValue changed",m),O&&P.current&&_&&_.pixel&&m){var e=O.getBoundingClientRect(),t=P.current.getBoundingClientRect(),n=_.pixel[0]+10,r=_.pixel[1]-35;_.pixel[0]+t.width>e.width&&(n=_.pixel[0]-t.width-10),_.pixel[1]-t.height{"use strict";n.d(t,{$:()=>s.$,re:()=>o.r,rn:()=>i.r,s$:()=>a.s,tk:()=>r.t});n(98796),n(21166),n(59160),n(74031),n(74959),n(60465),n(37216),n(14233),n(1779),n(22138),n(19458);var r=n(44635),i=n(33208),o=(n(74576),n(27282),n(73865),n(21579),n(91295),n(72391),n(34724),n(66534),n(78132),n(65416),n(47389),n(50423)),a=(n(9978),n(52425)),s=n(67178);n(81977),n(68968),n(79163),n(4640),n(76547),n(509),n(71909),n(5925),n(29141),n(45992),n(34959),n(67409),n(95318),n(64415),n(37485),n(3227),n(82625)},67178:(e,t,n)=>{"use strict";n.d(t,{$:()=>Ce});var r=n(24515),i=n(888),o=n(30538),a=n(13679),s=n(53921),l=n(57882),c=n(43331),u=n(97282);function d(){var e=(0,a.A)(),t=(0,c.useTranslation)().t,n={padding:"8px 18px 4px 8px","& .MuiButton-startIcon":(0,r.A)({},e.breakpoints.down("md"),{margin:0,padding:"0 0.25rem"})},i=(0,l.y5)(),o=(0,l.Yo)(),d=(0,l.$T)().setDisplayState,h=function(e){d(e)};return(0,u.jsx)(s.Box,{id:"layers-toolbar",sx:n,children:(0,u.jsxs)(s.ButtonGroup,{size:"small",variant:"outlined","aria-label":"outlined button group",children:[(0,u.jsx)(s.Button,{makeResponsive:!0,type:"text",disabled:!o.length,size:"small",tooltip:"general.view",variant:"view"===i?"contained":"outlined",startIcon:(0,u.jsx)(s.VisibilityOutlinedIcon,{fontSize:e.palette.geoViewFontSize.sm}),onClick:function(){return h("view")},children:t("general.view")}),(0,u.jsx)(s.Button,{makeResponsive:!0,type:"text",size:"small",tooltip:"legend.addLayer",variant:"add"===i?"contained":"outlined",startIcon:(0,u.jsx)(s.AddCircleOutlineIcon,{fontSize:e.palette.geoViewFontSize.sm}),onClick:function(){return h("add")},children:t("general.add")}),(0,u.jsx)(s.Button,{makeResponsive:!0,type:"text",disabled:!o.length,size:"small",tooltip:"legend.sortLayers",variant:"order"===i?"contained":"outlined",startIcon:(0,u.jsx)(s.HandleIcon,{fontSize:e.palette.geoViewFontSize.sm}),onClick:function(){return h("order")},children:t("legend.sort")}),(0,u.jsx)(s.Button,{makeResponsive:!0,type:"text",disabled:!o.length,size:"small",tooltip:"legend.removeLayer",variant:"remove"===i?"contained":"outlined",startIcon:(0,u.jsx)(s.DeleteOutlineIcon,{fontSize:e.palette.geoViewFontSize.sm}),onClick:function(){return h("remove")},children:t("general.remove")})]})})}var h=n(89255),p=n.n(h),f=function(e){return{categoryTitle:{textAlign:"left",fontWeight:"600",fontSize:e.palette.geoViewFontSize.lg},layerDetails:{padding:"20px"},buttonDescriptionContainer:{display:"flex",flexDirection:"row",alignItems:"center"},layerOpacityControlContainer:{display:"flex",flexDirection:"row",alignItems:"right",justifyContent:"right","& #layerOpacity":{width:{xs:"100%",sm:"100%",md:"50%",lg:"40%",xl:"40%"}}},itemsGrid:{width:"100%","& .MuiGrid-container":{"&:first-of-type":{fontWeight:"bold",borderTop:"1px solid ".concat(e.palette.geoViewColor.bgColor.dark[300]),borderBottom:"1px solid ".concat(e.palette.geoViewColor.bgColor.dark[300])},"& .MuiGrid-item":{padding:"3px 6px","&:first-of-type":{width:"80px"},"&:nth-of-type(2)":{flexGrow:1,textAlign:"left",display:"flex",flexDirection:"row",alignItems:"center"}}}},tableIconLabel:{color:e.palette.geoViewColor.textColor.main,fontSize:e.palette.geoViewFontSize.default,noWrap:!0,marginLeft:20},wmsImage:{maxWidth:"100%",height:"auto"}}},g=n(27797),m=n(93858),y=n(72459),v=n(1494),b=function(e){return{layerOpacityControl:{display:"flex",alignItems:"center",gap:"15px",padding:"8px 20px 7px 15px",backgroundColor:e.palette.geoViewColor.bgColor.main,borderRadius:"10px","& .MuiSlider-mark":{width:"9px",height:"9px",opacity:1,backgroundColor:e.palette.geoViewColor.primary.light[600],border:"2px solid ".concat(e.palette.geoViewColor.primary.main),borderRadius:"50%"},"& .MuiSlider-markLabel":{fontSize:e.palette.geoViewFontSize.xs,color:e.palette.geoViewColor.textColor.main}}}},w=n(6335);function x(e){w.vF.logTraceRender("components/layers/right-panel/layer-opacity-control/layer-opacity-control");var t=e.layerDetails,n=(0,c.useTranslation)().t,r=(0,a.A)(),i=b(r),o=(0,l.$T)().setLayerOpacity,d=[];t.opacityFromParent&&1!==t.opacityFromParent&&(d=[{value:100*t.opacityFromParent,label:n("layers.opacityMax")}]);return(0,u.jsx)(s.Box,{style:{padding:"16px 17px 16px 23px"},children:(0,u.jsxs)(s.Box,{sx:i.layerOpacityControl,children:[(0,u.jsx)(s.Typography,{sx:{fontWeight:"bold"},children:n("layers.opacity")}),(0,u.jsx)(s.Slider,{min:0,max:100,step:1,value:100*(t.opacity?t.opacity:1),onChange:function(e,n){var r=Array.isArray(e)?e[0]:e;t.opacityFromParent&&1!==t.opacityFromParent&&r/100>=t.opacityFromParent?o(t.layerPath,t.opacityFromParent):o(t.layerPath,r/100)},marks:d})]})})}var A=n(22935);function S(e){var t,n;w.vF.logTraceRender("components/layers/right-panel/layer-details");var d=e.layerDetails,h=(0,c.useTranslation)().t,b=(0,a.A)(),S=f(b),C=(0,o.useState)(!1),E=(0,i.A)(C,2),k=E[0],T=E[1],_=(0,l.Zt)(),O=(0,l.$T)(),P=O.setAllItemsVisibility,I=O.toggleItemVisibility,M=O.setHighlightLayer,L=O.refreshLayer,R=O.zoomToLayerExtent,j=O.getLayerBounds,F=(0,g.A6)().enableFocusTrap,D=(0,m.eQ)().triggerGetAllFeatureInfo,N=(0,m._M)(),B=(0,m.Xh)(),z=B.find((function(e){return e.layerPath===(null==d?void 0:d.layerPath)}));(0,o.useEffect)((function(){var e;return w.vF.logTraceUseEffect("LAYER DETAILS",z,d),z?e=setTimeout((function(){T(!0)}),100):T(!0),function(){T(!1),e&&clearTimeout(e)}}),[B,d,z]);var V=function(){R(d.layerPath).catch((function(e){w.vF.logPromiseFailed("in zoomToLayerExtent in layer-details.handleZoomTo",e)}))},$=function(){B.filter((function(e){var t;return e.layerPath===d.layerPath&&!(null==e||null===(t=e.features)||void 0===t||!t.length)})).length&&d.layerStatus!==A.RI.ERROR||D(d.layerPath).catch((function(e){w.vF.logPromiseFailed("Failed to triggerGetAllFeatureInfo in single-layer.handleLayerClick",e)})),F({activeElementId:"layerDataTable",callbackElementId:"table-details"})};if(void 0===d.bounds||d.bounds[0]===1/0){var G=j(d.layerPath);G&&(d.bounds=G)}var U=function(){L(d.layerPath)},W=function(){M(d.layerPath)},q=function(){return p()(d.items,(function(e){return!1!==e.isVisible}))};function H(e){var t,n,r;return"simple"===(null===(t=d.styleConfig)||void 0===t||null===(t=t.LineString)||void 0===t?void 0:t.styleType)||"simple"===(null===(n=d.styleConfig)||void 0===n||null===(n=n.Point)||void 0===n?void 0:n.styleType)||"simple"===(null===(r=d.styleConfig)||void 0===r||null===(r=r.Polygon)||void 0===r?void 0:r.styleType)?null:d.canToggle?(0,u.jsx)(s.IconButton,{color:"primary",onClick:function(){return I(d.layerPath,e)},children:!0===e.isVisible?(0,u.jsx)(s.CheckBoxIcon,{}):(0,u.jsx)(s.CheckBoxOutlineBlankIcon,{})}):(0,u.jsxs)(s.IconButton,{disabled:!0,tooltip:"layers.visibilityIsAlways",children:[" ",(0,u.jsx)(s.CheckBoxIcon,{color:"disabled"})," "]})}var Y,K,X;return(0,u.jsx)(s.Paper,{sx:S.layerDetails,children:void 0!==d&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)(s.Box,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[(0,u.jsxs)(s.Box,{sx:(0,r.A)({textAlign:"left"},b.breakpoints.down("md"),{display:"none"}),children:[(0,u.jsxs)(s.Typography,{sx:S.categoryTitle,children:[" ",d.layerName," "]}),(0,u.jsxs)(s.Typography,{sx:{fontSize:b.palette.geoViewFontSize.sm},children:[" ",function(){if(d.children.length>0)return h("legend.subLayersCount").replace("{count}",d.children.length.toString());var e=d.items.filter((function(e){return!1!==e.isVisible})).length,t=d.items.length;return t<=1?null:h("legend.itemsCount").replace("{count}",e.toString()).replace("{totalCount}",t.toString())}()," "]})]}),(0,u.jsxs)(s.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",gap:"15px"},children:[k&&N[d.layerPath]&&(!1!==(null===(X=d.controls)||void 0===X?void 0:X.table)?(0,u.jsx)(s.IconButton,{id:"table-details",tooltip:"legend.tableDetails",className:"buttonOutline",onClick:$,children:(0,u.jsx)(s.TableViewIcon,{})}):(0,u.jsx)(s.IconButton,{id:"table-details",className:"buttonOutline",disabled:!0,children:(0,u.jsx)(s.TableViewIcon,{color:"disabled"})})),(0,u.jsx)(s.IconButton,{tooltip:"legend.refreshLayer",className:"buttonOutline",onClick:U,children:(0,u.jsx)(s.RestartAltIcon,{})}),!1!==(null===(K=d.controls)||void 0===K?void 0:K.highlight)?(0,u.jsx)(s.IconButton,{tooltip:"legend.highlightLayer",onClick:W,className:_===d.layerPath?"buttonOutline active":"buttonOutline",children:(0,u.jsx)(s.HighlightOutlinedIcon,{})}):(0,u.jsx)(s.IconButton,{className:"buttonOutline",disabled:!0,children:(0,u.jsx)(s.HighlightOutlinedIcon,{color:"disabled"})}),!1!==(null===(Y=d.controls)||void 0===Y?void 0:Y.zoom)?(0,u.jsx)(s.IconButton,{tooltip:"legend.zoomTo",onClick:V,className:"buttonOutline",disabled:void 0===d.bounds,children:(0,u.jsx)(s.ZoomInSearchIcon,{})}):(0,u.jsx)(s.IconButton,{className:"buttonOutline",disabled:!0,children:(0,u.jsx)(s.ZoomInSearchIcon,{color:"disabled"})})]})]}),!1!==(null===(t=d.controls)||void 0===t?void 0:t.opacity)&&(0,u.jsx)(s.Box,{sx:S.layerOpacityControlContainer,children:(0,u.jsx)(s.Box,{id:"layerOpacity",children:(0,u.jsx)(x,{layerDetails:d})})}),"ogcWms"===d.type&&d.icons.length&&d.icons[0].iconImage&&"no data"!==d.icons[0].iconImage?(0,u.jsx)(s.Grid,{sx:S.itemsGrid,children:(0,u.jsx)(s.Grid,{container:!0,pt:6,pb:6,children:(0,u.jsx)(s.Box,{component:"img",alt:"icon",src:d.icons[0].iconImage,style:S.wmsImage})})}):null,(0,u.jsxs)(s.Box,{sx:{marginTop:"20px"},children:[(null===(n=d.items)||void 0===n?void 0:n.length)>0&&(0,u.jsxs)(s.Grid,{container:!0,direction:"column",spacing:0,sx:S.itemsGrid,justifyContent:"left",justifyItems:"stretch",children:[d.items.length>1&&(0,u.jsxs)(s.Grid,{container:!0,direction:"row",justifyContent:"center",alignItems:"stretch",justifyItems:"stretch",children:[(0,u.jsx)(s.Grid,{size:{xs:"auto"},children:d.canToggle?(0,u.jsx)(s.IconButton,{color:"primary",onClick:function(){return P(d.layerPath,!q())},children:q()?(0,u.jsx)(s.CheckBoxIcon,{}):(0,u.jsx)(s.CheckBoxOutlineBlankIcon,{})}):(0,u.jsxs)(s.IconButton,{disabled:!0,children:[" ",(0,u.jsx)(s.CheckBoxIcon,{color:"disabled"})," "]})}),(0,u.jsx)(s.Grid,{size:{xs:"auto"},children:(0,u.jsx)(s.Box,{component:"span",children:h("general.name")})})]}),d.items.map((function(e){return(0,u.jsxs)(s.Grid,{container:!0,direction:"row",justifyContent:"center",alignItems:"stretch",children:[(0,u.jsx)(s.Grid,{size:{xs:"auto"},children:H(e)}),(0,u.jsxs)(s.Grid,{size:{xs:"auto"},children:[e.icon?(0,u.jsx)(s.Box,{component:"img",alt:e.name,src:e.icon}):(0,u.jsx)(s.BrowserNotSupportedIcon,{}),(0,u.jsx)(s.Box,{component:"span",style:S.tableIconLabel,children:e.name})]})]},"".concat(e.name,"/").concat(d.items.indexOf(e)))}))]}),d.children.length>0&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(s.Typography,{sx:{fontWeight:"bold",textAlign:"left",margin:"10px 0px"},children:h("layers.subLayersList")}),function e(t){return(0,u.jsx)(s.List,{children:t.children.map((function(t){return(0,u.jsxs)(o.Fragment,{children:[(0,u.jsxs)(s.ListItem,{sx:{padding:"6px 0px",borderTop:"1px solid ".concat(b.palette.geoViewColor.bgColor.dark[50])},children:[(0,u.jsx)(s.ListItemIcon,{children:(0,u.jsx)(v.B,{layer:t})}),(0,u.jsx)(s.ListItemText,{primary:t.layerName})]}),t.children.length>0&&(0,u.jsx)(s.Box,{sx:{paddingLeft:"30px",width:"100%"},children:e(t)})]},t.layerId)}))})}(d)]})]}),(0,u.jsx)(s.Divider,{sx:{marginTop:"50px",marginBottom:"10x"},variant:"middle"}),d.layerAttribution&&d.layerAttribution.map((function(e){return(0,u.jsx)(s.Typography,{sx:{marginTop:"10px",color:b.palette.geoViewColor.textColor.light[200],fontSize:b.palette.geoViewFontSize.sm,textAlign:"center"},children:-1===e.indexOf("©")?"© ".concat(e):e},(0,y.generateId)())}))]})})}var C=n(42877),E=n(48940),k=n(30886),T=n.n(k),_=n(38811);function O(e){w.vF.logTraceRender("components/layers/left-panel/delete-undo-button/UndoButtonWithProgress");var t=e.progressValue,n=e.onUndo,r=e.handleKeyDown;return(0,u.jsxs)(s.Box,{sx:{position:"relative",display:"inline-flex"},onClick:n,children:[(0,u.jsx)(s.CircularProgressBase,{variant:"determinate",size:40,value:t}),(0,u.jsx)(s.Box,{style:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,u.jsx)(s.IconButton,{edge:"end",size:"small",onKeyDown:function(e){return r(e)},children:(0,u.jsx)(s.UndoIcon,{})})})]})}function P(e){var t;w.vF.logTraceRender("components/layers/left-panel/delete-undo-button/DeleteUndoButton");var n=e.layer,r=(0,o.useState)(10),a=(0,i.A)(r,2),c=a[0],d=a[1],h=(0,o.useState)(!1),p=(0,i.A)(h,2),f=p[0],m=p[1],y=(0,l.$T)(),v=y.deleteLayer,b=y.setLayerDeleteInProgress,x=y.getLayerDeleteInProgress,S=(0,C.U6)(),E=S.getVisibilityFromOrderedLayerInfo,k=S.setOrToggleLayerVisibility,T=(0,g.A6)().setSelectedFooterLayerListItem,_=function(){E(n.layerPath)&&k(n.layerPath),m(!0),b(!0)},P=function(){k(n.layerPath),m(!1),b(!1)};return(0,o.useEffect)((function(){100===c&&(v(n.layerPath),m(!1))}),[c]),(0,o.useEffect)((function(){if(f){var e=setInterval((function(){d((function(e){return e>=100?0:e+5}))}),90);return function(){clearInterval(e)}}d(0)}),[f]),n.layerStatus===A.RI.LOADING||n.layerStatus===A.RI.PROCESSING?(0,u.jsx)(s.Box,{}):f||!1===(null===(t=n.controls)||void 0===t?void 0:t.remove)||x()?f?(0,u.jsx)(O,{progressValue:c,onUndo:P,handleKeyDown:function(e){"Enter"===e.key&&(P(),T(""),e.preventDefault())}}):(0,u.jsx)(s.IconButton,{onClick:_,edge:"end",size:"small",disabled:!0,children:(0,u.jsx)(s.DeleteOutlineIcon,{color:"disabled"})}):(0,u.jsx)(s.IconButton,{onClick:_,edge:"end",size:"small",onKeyDown:function(e){return function(e){"Enter"===e.key&&(e.preventDefault(),_(),T(n.layerId))}(e)},children:(0,u.jsx)(s.DeleteOutlineIcon,{color:"error"})})}var I=n(57114),M=n(45709),L=n(3856),R=n(87505);function j(e){var t=e.depth,n=e.layer,r=e.showLayerDetailsPanel,i=e.index,a=e.isFirst,d=e.isLast,h=e.isLayoutEnlarged;w.vF.logTraceRender("components/layers/left-panel/single-layer");var p=(0,c.useTranslation)().t,f=(0,l.$T)(),y=f.setSelectedLayerPath,b=f.setSelectedLayerSortingArrowId,x=(0,C.U6)(),A=x.getVisibilityFromOrderedLayerInfo,S=x.setOrToggleLayerVisibility,k=x.getLegendCollapsedFromOrderedLayerInfo,O=x.setLegendCollapsed,j=x.reorderLayer,F=(0,E.Jh)(),D=(0,l.u1)(),N=(0,l.y5)(),B=(0,m._M)(),V=(0,l.q5)(),$=(0,g.Qy)(),G=(0,l.Yo)();(0,m.eQ)();var U=!k(n.layerPath),W=function e(t){return"view"===N&&(!!(t.children&&t.children.length>0)&&(t.children.filter((function(e){return e.layerPath===D})).length>0||T()(t.children,(function(t){return e(t)}))))}(n),q=n.layerPath===D&&"view"===N,H=function e(t){var n;if(!1===(null===(n=t.controls)||void 0===n?void 0:n.visibility))return!0;var r=!1;return t.children&&t.children.length>0&&(r=t.children.some((function(t){return e(t)}))),r}(n),Y=function(){O(n.layerPath)},K=function(){["processed","loaded"].includes(n.layerStatus)&&(y(n.layerPath),r&&r(n))};var X=(0,_.zh)({delay:150*i+150*t/2,from:{opacity:.1},to:{opacity:1}});(0,o.useEffect)((function(){if(V.length){var e,t,n=document.getElementById(V);if(null!=n&&n.disabled)if(V.split("-").includes("up"))null==n||null===(e=n.nextSibling)||void 0===e||e.focus();else null==n||null===(t=n.previousSibling)||void 0===t||t.focus();else null==n||n.focus()}}),[V]),(0,o.useEffect)((function(){if("remove"===N&&$.length){var e,t=document.getElementById("layers-left-panel");if(null!=t&&t.getElementsByTagName("li"))null===(e=(null==t?void 0:t.getElementsByTagName("li"))[0])||void 0===e||e.focus()}}),[G,N]);var Z,J,Q,ee,te=(0,_.CS)(s.Paper);return(0,u.jsxs)(te,{className:(ee=["layer-panel ",null!==(Q=n.layerStatus)&&void 0!==Q?Q:""],0===t&&ee.push("bordered"),!W||q||U||ee.push("selectedLayer bordered-primary"),q&&ee.push("selectedLayer bordered-primary"),ee.join(" ")),style:X,"data-layer-depth":t,children:[(0,u.jsx)(s.Tooltip,{title:n.layerName,placement:"top",enterDelay:1e3,arrow:!0,children:(0,u.jsx)(s.ListItem,{id:n.layerId,divider:!0,tabIndex:0,onKeyDown:function(e){return"Enter"===e.key&&e.currentTarget===e.target&&K()},children:(0,u.jsxs)(s.ListItemButton,{selected:q||W&&!U,tabIndex:-1,sx:{minHeight:"4.51rem"},children:[(0,u.jsx)(v.B,{layer:n}),(0,u.jsx)(s.ListItemText,{primary:void 0!==n.layerName?n.layerName:n.layerId,secondary:function(){if("error"===n.layerStatus)return p("legend.layerError");if("processing"===n.layerStatus||"loading"===n.layerStatus)return p("legend.layerLoading");if(n.children.length>0)return p("legend.subLayersCount").replace("{count}",n.children.length.toString());var e=n.items.filter((function(e){return!1!==e.isVisible})).length,t=n.items.length,r=p("legend.itemsCount").replace("{count}",e.toString()).replace("{totalCount}",t.toString());return t<=1&&(r=""),B[n.layerPath]?(0,u.jsxs)(s.Typography,{sx:{color:"unset",fontSize:"unset"},component:"span",children:[r,"  ",(0,u.jsx)(I.A,{sx:{marginBottom:"-5px"},fontSize:"small"})]}):r}(),onClick:K}),!h&&(0,u.jsxs)(s.ListItemIcon,{className:"rightIcons-container",children:["processing"===n.layerStatus||"loading"===n.layerStatus||"view"!==N?null:"error"===n.layerStatus?(0,u.jsx)(P,{layer:n}):H?(0,u.jsx)(s.IconButton,{edge:"end",size:"small",tooltip:"layers.visibilityIsAlways",className:"buttonOutline",disabled:!0,children:(0,u.jsx)(s.VisibilityOutlinedIcon,{color:"disabled"})}):(0,u.jsx)(s.IconButton,{edge:"end",size:"small",onClick:function(){S(n.layerPath)},tooltip:"layers.toggleVisibility",className:"buttonOutline",children:A(n.layerPath)?(0,u.jsx)(s.VisibilityOutlinedIcon,{}):(0,u.jsx)(s.VisibilityOffOutlinedIcon,{})}),null!==(J=n.children)&&void 0!==J&&J.length?(0,u.jsx)(s.IconButton,{color:"primary",edge:"end",size:"small",onClick:Y,tooltip:"layers.toggleCollapse",className:"buttonOutline",children:U?(0,u.jsx)(s.KeyboardArrowUpIcon,{}):(0,u.jsx)(s.KeyboardArrowDownIcon,{})}):null,"remove"===N?(0,u.jsx)(P,{layer:n}):"order"===N?(0,u.jsxs)(u.Fragment,{children:[(null===(Z=n.children)||void 0===Z?void 0:Z.length)>0&&(0,u.jsx)(R.c,{orientation:"vertical",sx:{marginLeft:"0.4rem",height:"1.5rem",backgroundColor:function(e){return e.palette.geoViewColor.bgColor.dark[300]}},variant:"middle",flexItem:!0}),(0,u.jsx)(s.IconButton,{id:"".concat(F,"-").concat(n.layerPath,"-up-order"),disabled:a,edge:"end",size:"small",onClick:function(){return j(n.layerPath,-1)},onKeyDown:function(e){"Enter"===e.key&&(b("".concat(F,"-").concat(n.layerPath,"-up-order")),j(n.layerPath,-1),e.preventDefault())},children:(0,u.jsx)(M.A,{})}),(0,u.jsx)(s.IconButton,{id:"".concat(F,"-").concat(n.layerPath,"-down-order"),disabled:d,edge:"end",size:"small",onKeyDown:function(e){"Enter"===e.key&&(b("".concat(F,"-").concat(n.layerPath,"-down-order")),j(n.layerPath,1),e.preventDefault())},onClick:function(){return j(n.layerPath,1)},children:(0,u.jsx)(L.A,{})})]}):null]})]})},n.layerName)}),n.children&&n.children.length?(0,u.jsx)(s.Collapse,{in:U,timeout:"auto",children:(0,u.jsx)(z,{depth:1+t,layersList:n.children,isLayoutEnlarged:h,showLayerDetailsPanel:r})}):null]})}var F=function(e){return{list:{color:"text.primary",width:"100%",paddingLeft:"8px",paddingRight:"14px !important",overflowY:"auto","& .MuiListItemText-primary":{fontWeight:"600",padding:"5px 0px",fontSize:"".concat(e.palette.geoViewFontSize.default," !important"),lineHeight:1.5,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& .layer-panel":{"& .MuiListItemText-root":{marginLeft:"12px"},"& .rightIcons-container":{display:"flex",flexDirection:"row",justifyContent:"right",alignItems:"center","& .MuiIconButton-root":{margin:"0px 5px"}}},"& .MuiListItem-root":{height:"100%","& .MuiListItemButton-root":{padding:"0 0 0 16px",height:"100%"},"& .MuiBox-root":{height:"100%",borderTopRightRadius:"4px",borderBottomRightRadius:"4px",position:"relative",display:"flex",justifyContent:"center",alignItems:"center"}},"& .MuiListItemIcon-root":{minWidth:"2.5rem",marginRight:"20px"},"& .MuiListItemText-root":{">span":{fontSize:e.palette.geoViewFontSize.default},"> p":{fontSize:e.palette.geoViewFontSize.sm,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},evenDepthList:{background:e.palette.geoViewColor.bgColor.main,boxShadow:2,padding:"0px",margin:"20px",width:"unset",boxSizing:"border-box","& .layerItemContainer":{backgroundColor:"transparent",marginBottom:"0px"}},oddDepthList:{background:"white",boxShadow:2,padding:"0px",margin:"20px",width:"unset",boxSizing:"border-box","& .layerItemContainer":{backgroundColor:"transparent",marginBottom:"0px"}}}},D=n(2712);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function B(e){for(var t=1;td(t.layerPath)?1:-1})),p=h.map((function(e,t){var o=0===t,a=t===h.length-1;return(0,u.jsx)(j,{depth:i,layer:B(B({},e),{},{layerId:"".concat(c,"-").concat(A.DF.LAYERS,"-").concat(e.layerPath)}),showLayerDetailsPanel:n,index:t,isFirst:o,isLast:a,isLayoutEnlarged:r},"layerKey-".concat(t,"-").concat(e.layerPath).toLowerCase().replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-"))}));return(0,u.jsx)(s.Box,{sx:0===i?l.list:i%2?l.evenDepthList:l.oddDepthList,children:p})}var V=n(74131),$=n(53732),G=n.n($),U=n(84044),W=n(97095),q=n(48448),H=n(25547),Y=n(15783),K=n(16896),X=n(24046),Z=n(6976),J=n(22557),Q=n(56408),ee=n(54855),te=n(51074),ne=n(88683),re=n(43558),ie=n(38359),oe=n(9353),ae=n(35101),se=n(3153),le=n(12005),ce=n(58399),ue=n(91733),de=n(32875),he=n(9374),pe=n(13796),fe=n(24478),ge=n(62265),me=n(52),ye=n(10874);function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function be(e){for(var t=1;t0&&t.Layer.forEach((function(t){var n=t.Name;(0===u.length||u.includes(n))&&(w.vF.logDebug("NAME",n),f.push(new le.Q({geoviewLayerConfig:d,layerId:t.Name,layerName:(0,y.createLocalizedString)(t.Title)}))),e(t)}))},p.Capability.Layer&&m(p.Capability.Layer),1===f.length?(Te(f[0].layerName.en),Ie([f[0]])):Se(f),e.next=32;break;case 28:return e.prev=28,e.t0=e.catch(2),"proj"===e.t0.message?st("WMS",t,n):at("WMS"),e.abrupt("return",!1);case 32:return e.abrupt("return",!0);case 33:case"end":return e.stop()}}),e,null,[[2,28]])})));return function(){return e.apply(this,arguments)}}(),ct=function(){var e=(0,V.A)(G().mark((function e(){var t,n,r,i;return G().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t={geoviewLayerType:m,listOfLayerEntryConfig:[],metadataAccessPath:(0,y.createLocalizedString)(L)},n=new H.dS(Qe,t),t.geoviewLayerId=n.geoviewLayerId,k(n),e.next=7,n.createGeoViewLayers();case 7:if(n.metadata){e.next=9;break}throw new Error("Cannot get metadata");case 9:Ge(!0),r=n.metadata,1===(i=r.FeatureTypeList.FeatureType.map((function(e){return new Q.q({geoviewLayerConfig:t,layerId:e.Name["#text"].split(":")[1],layerName:(0,y.createLocalizedString)(e.Title["#text"])})}))).length?(Te(i[0].layerName.en),Ie([i[0]])):Se(i),e.next=19;break;case 15:return e.prev=15,e.t0=e.catch(0),at("WFS"),e.abrupt("return",!1);case 19:return e.abrupt("return",!0);case 20:case"end":return e.stop()}}),e,null,[[0,15]])})));return function(){return e.apply(this,arguments)}}(),ut=function(){var e=(0,V.A)(G().mark((function e(){var t,n,r,i;return G().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t={geoviewLayerType:v,listOfLayerEntryConfig:[],metadataAccessPath:(0,y.createLocalizedString)(L.split("collections")[0])},n=new W.ke(Qe,t),t.geoviewLayerId=n.geoviewLayerId,k(n),e.next=7,n.createGeoViewLayers();case 7:if(r=n.metadata,n.metadata){e.next=10;break}throw new Error("Cannot get metadata");case 10:if(Ge(!0),Object.keys(r).length){e.next=14;break}return at("OGC API Feature"),e.abrupt("return",!1);case 14:if(["collections","links"].every((function(e){return Object.keys(r).includes(e)}))){e.next=18;break}throw new Error("err");case 18:i=[],2===L.split("/collections/").length&&r.collections.forEach((function(e){L.split("/collections/")[1]===e.id&&i.push(new ee.j({geoviewLayerConfig:t,layerId:e.id,layerName:(0,y.createLocalizedString)(e.title)}))})),0===i.length&&(i=r.collections.map((function(e){return new ee.j({geoviewLayerConfig:t,layerId:e.id,layerName:(0,y.createLocalizedString)(e.title)})}))),1===i.length?(Te(i[0].layerName.en),Ie([i[0]])):Se(i),e.next=28;break;case 24:return e.prev=24,e.t0=e.catch(0),at("OGC API Feature"),e.abrupt("return",!1);case 28:return e.abrupt("return",!0);case 29:case"end":return e.stop()}}),e,null,[[0,24]])})));return function(){return e.apply(this,arguments)}}(),dt=function(){var e=(0,V.A)(G().mark((function e(){var t,n;return G().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,-1===L.indexOf("/")&&32===L.replaceAll("-","").length){e.next=4;break}throw new Error("err");case 4:return t=new ue.h(Qe,X.FHQ.maps[Qe].getDisplayLanguage()),e.next=7,t.createLayersFromUUID(L);case 7:1===(n=e.sent).length&&(1===n.length?(Te(n[0].geoviewLayerName.en),Ie(n)):Se(n)),e.next=15;break;case 11:return e.prev=11,e.t0=e.catch(0),at("GeoCore UUID"),e.abrupt("return",!1);case 15:return e.abrupt("return",!0);case 16:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}(),ht=function(){var e=(0,V.A)(G().mark((function e(t){var n,i,o,a;return G().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=t===r?{geoviewLayerType:t,listOfLayerEntryConfig:[],metadataAccessPath:(0,y.createLocalizedString)(L)}:{geoviewLayerType:t,listOfLayerEntryConfig:[],metadataAccessPath:(0,y.createLocalizedString)(L.substring(0,L.lastIndexOf("/")))},i=t===r?new pe.zt(Qe,n):new ge.Uw(Qe,n),n.geoviewLayerId=i.geoviewLayerId,k(i),e.next=7,i.createGeoViewLayers();case 7:if(o=i.metadata){e.next=10;break}throw new Error("Cannot get metadata");case 10:if(Ge(!0),null===o||!o.capabilities.includes(it(t).capability)){e.next=15;break}"layers"in o&&(a=[],t===r?o.layers.forEach((function(e){return a.push(new ae.q({geoviewLayerConfig:n,layerId:e.id,layerName:(0,y.createLocalizedString)(e.name)}))})):a.push(new re.h({geoviewLayerConfig:n,layerId:o.layers[0].id,layerName:(0,y.createLocalizedString)(o.layers[0].name)})),1===a.length?(Te(a[0].layerName.en),Ie([a[0]])):Se(a)),e.next=16;break;case 15:throw new Error("err");case 16:e.next=22;break;case 18:return e.prev=18,e.t0=e.catch(0),at(it(t).err),e.abrupt("return",!1);case 22:return e.abrupt("return",!0);case 23:case"end":return e.stop()}}),e,null,[[0,18]])})));return function(t){return e.apply(this,arguments)}}(),pt=function(){var e=(0,V.A)(G().mark((function e(){var t,n,r,i,o;return G().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r={geoviewLayerType:h,listOfLayerEntryConfig:[],metadataAccessPath:(0,y.createLocalizedString)(L)},i=new Z.$x(Qe,r),r.geoviewLayerId=i.geoviewLayerId,k(i),e.next=7,i.createGeoViewLayers();case 7:o=[new se.Q({geoviewLayerConfig:r,layerId:r.geoviewLayerId,layerName:(0,y.createLocalizedString)("string"==typeof(null===(t=i.metadata)||void 0===t?void 0:t.name)?null===(n=i.metadata)||void 0===n?void 0:n.name:""),source:{dataAccessPath:(0,y.createLocalizedString)(L)}})],Te(o[0].layerName.en),Ie([o[0]]),e.next=16;break;case 12:return e.prev=12,e.t0=e.catch(0),at("ESRI Image"),e.abrupt("return",!1);case 16:return e.abrupt("return",!0);case 17:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(){return e.apply(this,arguments)}}(),ft=function(){var e=(0,V.A)(G().mark((function e(){var t,n,r,i,o;return G().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.prev=0,t=["{x}","{y}","{z}"],n=0;case 3:if(!(n1?Ae.forEach((function(t){var n=X.FHQ.maps[Qe].layer.addGeoviewLayer(t);n&&e.push(n)})):Pe.length>0&&Pe.forEach((function(t){var n=X.FHQ.maps[Qe].layer.addGeoviewLayer(t);n&&e.push(n)})),Promise.allSettled(e.map((function(e){return e.promiseLayer}))).then((function(){yt(),e.forEach((function(e){return vt(e.layer)}))})).catch((function(e){w.vF.logPromiseFailed("Promise.allSettled in handleStepLast in AddNewLayer",e)}))}else if(C){var t=Pe[0].geoviewLayerConfig;t.listOfLayerEntryConfig=Pe,t.geoviewLayerName=(0,y.createLocalizedString)(ke),$===b&&(Pe[0].layerName=(0,y.createLocalizedString)(ke)),1===t.listOfLayerEntryConfig.length&&(t.listOfLayerEntryConfig[0].layerName=t.geoviewLayerName);var n=X.FHQ.maps[Qe].layer.addGeoviewLayer(t);n?n.promiseLayer.then((function(){yt(),vt(n.layer)})).catch((function(e){w.vF.logPromiseFailed("addedLayer.promiseLayer in handleStepLast in AddNewLayer",e)})):je(!1)}},wt=function(){P((function(e){return e-1})),He(!1)},xt=function(e){var t=URL.createObjectURL(e);N(e.name),R(t);var n=e.name.split(".")[0];ve(""),Se([]),Te(n),Ie([])},At=function(e,t){He(!0),tt()?0!==t.length&&(Ie(t),Te(t.map((function(e){return e.layerName.en})).join(", ")),He(!1)):(Ie([t]),Te(t.layerName.en),He(!1))},St=function(e){He(!1),Te(e.target.value)};(0,o.useEffect)((function(){2===O&&Pe.length>0&&He(!1)}),[ke,O,Pe]),(0,o.useEffect)((function(){var e,t,n;0===O&&(null===(e=Ke.current)||void 0===e||e.focus());1===O&&(null===(t=Xe.current)||void 0===t?void 0:t.getElementsByTagName("input")[0].previousSibling).focus();if(2===O&&Ze.current){var r,i,o,a=null===(r=Ze.current)||void 0===r||null===(r=r.dataset)||void 0===r?void 0:r.id,s=null===(i=Ze.current)||void 0===i?void 0:i.querySelector("#service-layer-label");if("autocomplete"===a&&s)s.focus();else null===(o=Je.current)||void 0===o||null===(o=o.getElementsByTagName("input")[0])||void 0===o||o.focus()}3===O&&(null===(n=Je.current)||void 0===n||null===(n=n.getElementsByTagName("input")[0])||void 0===n||n.focus())}),[O]);var Ct=function(e){var t;if(e.preventDefault(),e.stopPropagation(),Be(!1),null!==(t=e.dataTransfer)&&void 0!==t&&t.files){var n=e.dataTransfer.files[0],r=n.name.toUpperCase();r.endsWith(".JSON")||r.endsWith(".GEOJSON")||r.endsWith(".GPKG")||r.endsWith(".CSV")?xt(n):X.FHQ.maps[Qe].notifications.showError("layers.errorFile",[],!1)}};function Et(t){var n=t.isFirst,r=void 0!==n&&n,i=t.isLast,o=void 0!==i&&i,a=t.handleNext;return Re?(0,u.jsx)(s.Box,{sx:{padding:10},children:(0,u.jsx)(s.CircularProgressBase,{})}):(0,u.jsxs)(s.ButtonGroup,{sx:rt.buttonGroup,children:[(0,u.jsx)(s.Button,{variant:"contained",className:"buttonOutlineFilled",size:"small",type:"text",disabled:qe,onClick:a,children:e(o?"layers.finish":"layers.continue")}),!r&&(0,u.jsx)(s.Button,{variant:"contained",className:"buttonOutlineFilled",size:"small",type:"text",onClick:wt,onKeyDown:function(e){return function(e){"Enter"===e.key&&(wt(),e.preventDefault())}(e)},children:e("layers.back")})]})}var kt=(0,u.jsx)(s.CheckBoxOutlineBlankIcon,{fontSize:t.palette.geoViewFontSize.sm}),Tt=(0,u.jsx)(s.CheckBoxIcon,{fontSize:t.palette.geoViewFontSize.sm});return(0,u.jsx)(s.Paper,{sx:{padding:"20px",gap:"8"},children:(0,u.jsx)(s.Stepper,{activeStep:O,orientation:"vertical",steps:[{stepLabel:{children:e("layers.stepOne")},stepContent:{children:(0,u.jsxs)(s.Box,{className:"dropzone",style:{position:"relative"},onDrop:function(e){return Ct(e)},onDragOver:function(e){return(t=e).preventDefault(),void t.stopPropagation();var t},onDragEnter:function(e){return(t=e).preventDefault(),t.stopPropagation(),void(t.target!==Ye.current&&Be(!0));var t},onDragLeave:function(e){return(t=e).preventDefault(),t.stopPropagation(),void(t.target===Ye.current&&Be(!1));var t},children:[Ne&&(0,u.jsx)(s.Box,{ref:Ye,style:{backgroundColor:"rgba(128,128,128,.95)",position:"absolute",top:0,bottom:0,left:0,right:0,zIndex:9999,textAlign:"center",color:"black",fontSize:24},children:(0,u.jsxs)("h3",{children:[(0,u.jsx)("br",{}),(0,u.jsx)("br",{}),e("layers.dropzone")]})}),(0,u.jsx)(s.Box,{children:(0,u.jsx)("input",{type:"file",id:"fileUpload",style:{display:"none"},onChange:function(e){e.target.files&&xt(e.target.files[0])},accept:".gpkg, .json, .geojson, .csv"})}),(0,u.jsxs)(s.Button,{fullWidth:!0,variant:"outlined",size:"small",sx:{width:"100%"},type:"text",onClick:function(){var e;return null===(e=document.getElementById("fileUpload"))||void 0===e?void 0:e.click()},className:"buttonOutlineFilled",ref:Ke,children:[(0,u.jsx)(s.FileUploadIcon,{}),(0,u.jsx)(s.Box,{component:"span",children:e("layers.upload")})]}),(0,u.jsx)("p",{style:{textAlign:"center"},children:(0,u.jsx)("small",{children:e("layers.drop")})}),(0,u.jsx)("p",{style:{textAlign:"center"},children:e("layers.or")}),(0,u.jsx)(s.TextField,{sx:{width:"100%"},label:e("layers.url"),variant:"standard",value:D,onChange:function(e){N(e.target.value.trim()),R(e.target.value.trim()),ve(""),Se([]),Te(""),Ie([]),He(!(e.target.value.trim().startsWith("https://")||35!==e.target.value.trim().length))},multiline:!0}),(0,u.jsx)("br",{}),(0,u.jsx)(Et,{isFirst:!0,handleNext:function(){var e,t,i=!0;""===L.trim()&&(i=!1,je(!1),X.FHQ.maps[Qe].notifications.showError("layers.errorNone",[],!1)),i&&(e=D.toUpperCase().split("/"),t=parseInt(e[e.length-1],10),D.toUpperCase().endsWith("MAPSERVER")||D.toUpperCase().endsWith("MAPSERVER/")?ve(r):-1!==D.toUpperCase().indexOf("FEATURESERVER")||-1!==D.toUpperCase().indexOf("MAPSERVER")&&!Number.isNaN(t)?ve(d):-1!==D.toUpperCase().indexOf("IMAGESERVER")?ve(h):-1!==e.indexOf("WFS")?ve(m):D.toUpperCase().endsWith(".JSON")||D.toUpperCase().endsWith(".GEOJSON")?ve(p):D.toUpperCase().endsWith(".GPKG")?ve(f):-1!==D.toUpperCase().indexOf("{Z}/{X}/{Y}")||-1!==D.toUpperCase().indexOf("{Z}/{Y}/{X}")?ve(b):-1===D.indexOf("/")&&32===D.replaceAll("-","").length?ve(x):-1!==D.toUpperCase().indexOf("WMS")?ve(g):D.toUpperCase().endsWith(".CSV")?ve(n):(ve(""),He(!0)),P(1))}})]})}},{stepLabel:{children:e("layers.stepTwo")},stepContent:{children:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(s.Select,{fullWidth:!0,labelId:"service-type-label",value:$,onChange:function(e){ve(e.target.value),Se([]),Ie([]),He(!1)},label:e("layers.service"),variant:"standard",inputLabel:{id:"service-type-label"},ref:Xe,menuItems:nt.map((function(e){var t=(0,i.A)(e,2),n=t[0];return{key:n,item:{value:n,children:t[1]}}}))}),(0,u.jsx)(Et,{handleNext:function(){var t;je(!0),void 0===$?(je(!1),ot(e("layers.service"))):$===g?t=lt():$===m?t=ct():$===v?t=ut():$===b?t=ft():$===r?t=ht(r):$===d?t=ht(d):$===h?t=pt():$===p?t=mt():$===f?t=Promise.resolve(function(){try{Ge(!1);var e={geoviewLayerType:f,listOfLayerEntryConfig:[]},t=new ce.OH(Qe,e);e.geoviewLayerId=t.geoviewLayerId,k(t);var n=[new ie.X({geoviewLayerConfig:e,layerId:e.geoviewLayerId,layerName:(0,y.createLocalizedString)(""),source:{dataAccessPath:(0,y.createLocalizedString)(L)}})];Te(n[0].layerName.en),Ie([n[0]])}catch(e){return at("GeoPackage"),!1}return!0}()):$===x?t=dt():$===n&&(t=gt()),t&&t.then((function(e){e&&(je(!1),P(2),He(!0))})).catch((function(e){w.vF.logPromiseFailed("promise of layer validation in handleStep2 in AddNewLayer",e)}))}})]})}},{stepLabel:{children:e("layers.stepThree")},stepContent:{children:(0,u.jsxs)(u.Fragment,{children:[0===Ae.length&&(0,u.jsx)(s.TextField,{label:e("layers.name"),variant:"standard",value:ke,onChange:St,ref:Je}),Ae.length>1&&Ae[0].layerName&&(0,u.jsx)(s.Autocomplete,{fullWidth:!0,multiple:tt(),disableClearable:!tt(),disableCloseOnSelect:!0,id:"service-layer-label",options:Ae,getOptionLabel:function(e){return"".concat(e.layerName.en," (").concat(e.layerId,")")},renderOption:function(e,t,n){var r=n.selected;return(0,o.createElement)("li",be(be({},e),{},{key:t.layerName.en}),(0,u.jsx)(s.Checkbox,{icon:kt,checkedIcon:Tt,style:{marginRight:8},checked:r}),t.layerName.en)},onChange:At,ref:Ze,renderInput:function(t){return(0,u.jsx)(s.TextField,be(be({},t),{},{label:e("layers.layerSelect")}))}}),Ae.length>1&&Ae[0].geoviewLayerName&&(0,u.jsx)(s.Autocomplete,{fullWidth:!0,multiple:tt(),disableClearable:!tt(),id:"service-layer-label",options:Ae,getOptionLabel:function(e){return"".concat(e.geoviewLayerName.en," (").concat(e.geoviewLayerId,")")},disableCloseOnSelect:!0,renderOption:function(e,t,n){var r=n.selected;return(0,o.createElement)("li",be(be({},e),{},{key:t.geoviewLayerName.en}),(0,u.jsx)(s.Checkbox,{icon:kt,checkedIcon:Tt,style:{marginRight:8},checked:r}),t.geoviewLayerName.en)},onChange:At,ref:Ze,renderInput:function(t){return(0,u.jsx)(s.TextField,be(be({},t),{},{label:e("layers.layerSelect")}))}}),(0,u.jsx)("br",{}),(0,u.jsx)(Et,{isLast:!tt(),handleNext:tt()?function(){var t=!0;0===Pe.length&&(t=!1,ot(e("layers.layer"))),t&&P(3)}:bt})]})}},tt()?{stepLabel:{children:e("layers.stepFour")},stepContent:{children:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(s.TextField,{sx:{width:"100%"},label:e("layers.name"),variant:"standard",value:ke,onChange:St,ref:Je}),(0,u.jsx)("br",{}),(0,u.jsx)(Et,{isLast:!0,handleNext:bt})]})}}:null]})})}function xe(e){var t=e.showLayerDetailsPanel,n=e.isLayoutEnlarged;w.vF.logTraceRender("components/layers/left-panel/left-panel");var r=(0,l.Yo)(),a=(0,l.y5)(),s=(0,C._I)(),c=(0,E.oy)(),d=(0,C.U6)().getIndexFromOrderedLayerInfo,h=(0,l.$T)().setDisplayState,p=(0,o.useState)([]),f=(0,i.A)(p,2),g=f[0],m=f[1];return(0,o.useEffect)((function(){var e=r.sort((function(e,t){return d(e.layerPath)>d(t.layerPath)?1:-1}));m(e)}),[s,r,d]),(0,o.useEffect)((function(){var e;"add"!==a&&!r.length&&null!=c&&null!==(e=c.footerBar)&&void 0!==e&&e.tabs.core.includes("legend")&&h("add")}),[a,r,h,c]),"add"===a?(0,u.jsx)(we,{}):(0,u.jsx)(z,{layersList:g,depth:0,showLayerDetailsPanel:t,isLayoutEnlarged:n})}var Ae=n(72406),Se=n(33609);function Ce(e){var t=e.containerType,n=(0,a.A)();w.vF.logTraceRender("components/layers/layers-panel");var c,h=(0,l.wU)(),p=(0,l.y5)(),f=(0,o.useState)(!1),m=(0,i.A)(f,2),y=m[0],v=m[1],b=(0,l.$T)().setSelectedLayerPath,x=(0,g.A6)().setSelectedFooterLayerListItem,A=(0,o.useRef)(null),C=function(e){var t,n;null===(t=A.current)||void 0===t||t.setIsRightPanelVisible(!0),null===(n=A.current)||void 0===n||n.setRightPanelFocus(),x("".concat(e.layerId))},E=(0,o.useCallback)((function(e){e&&b("")}),[b]),k=(0,o.useCallback)((function(e){v(e)}),[v]);return(0,u.jsx)(Ae.z,{ref:A,leftTop:(0,u.jsx)(d,{}),leftMain:(0,u.jsx)(s.Box,{id:"layers-left-panel",children:(0,u.jsx)(xe,{showLayerDetailsPanel:C,isLayoutEnlarged:y})}),rightTop:(0,u.jsx)(Se.o,{sx:(0,r.A)({fontSize:n.palette.geoViewFontSize.lg,fontWeight:"600",marginTop:"12px"},n.breakpoints.up("md"),{display:"none"}),component:"div",children:null!==(c=null==h?void 0:h.layerName)&&void 0!==c?c:""}),rightMain:h&&"view"===p?(0,u.jsx)(S,{layerDetails:h}):null,guideContentIds:"view"===p?["layers.children.view","layers.children.layerSettings"]:"remove"===p?["layers.children.remove"]:"order"===p?["layers.children.sort"]:"add"===p?["layers.children.add"]:[],fullWidth:!1,onGuideIsOpen:E,hideEnlargeBtn:"view"!==p,containerType:t,onIsEnlargeClicked:k})}},52425:(e,t,n)=>{"use strict";n.d(t,{s:()=>A});var r=n(24515),i=n(888),o=n(13679),a=n(30538),s=n(43331),l=n(53921),c=n(2712),u=n(57882),d=n(42877),h=n(6335),p=function(e){return{container:{padding:"20px",display:"flex",flexDirection:"column"},title:{textAlign:"left",fontWeight:"600",color:e.palette.geoViewColor.textColor.main,fontSize:e.palette.geoViewFontSize.md},subtitle:{fontWeight:"normal",fontSize:e.palette.geoViewFontSize.md,textAlign:"left",marginBottom:"15px"},layersListContainer:(0,r.A)((0,r.A)((0,r.A)({padding:"20px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},e.breakpoints.down("sm"),{width:"100%"}),e.breakpoints.up("md"),{width:"50%"}),e.breakpoints.up("lg"),{width:"33.33%"}),legendLayerListItem:{padding:"6px 4px","& .layerTitle":{fontSize:e.palette.geoViewFontSize.md,fontWeight:"600",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",">p":{margin:0,color:e.palette.geoViewColor.textColor.light[400],fontSize:e.palette.geoViewFontSize.sm,lineHeight:1.43}},"& .layerTitle > .MuiListItemText-secondary":{color:e.palette.geoViewColor.textColor.light[400]},"& .layerTitle > div":{color:e.palette.geoViewColor.textColor.light[400]},"& .MuiListItemText-root":{marginLeft:"12px"},"& .MuiCollapse-vertical":{marginLeft:"6px","& ul":{marginTop:0,padding:0},"& li":{borderLeft:"5px solid ".concat(e.palette.geoViewColor.bgColor.dark[200]),paddingLeft:"6px",marginBottom:"3px",fontWeight:"400","&.unchecked":{borderLeft:"5px solid ".concat(e.palette.geoViewColor.bgColor.dark[600]),fontStyle:"italic",color:e.palette.geoViewColor.textColor.light[600]}}}},collapsibleContainer:{width:"100%",padding:"10px 0",margin:"0px 10px"},legendInstructionsTitle:{fontSize:e.palette.geoViewFontSize.lg,fontWeight:"600",lineHeight:"1.5em"},legendInstructionsBody:{fontSize:e.palette.geoViewFontSize.default},subList:{width:"100%","& .MuiListItemIcon-root":{minWidth:"1rem"},"& img":{maxWidth:"1.5rem"}},layerStackIcons:{flexWrap:"wrap","& button":{padding:"0.25rem",marginRight:0,"& svg":{width:"1.25rem",height:"1.25rem"}}}}},f=n(1494),g=n(82997),m=n(90651),y=n(97282);function v(e){var t,n,r,i,a=e.layer;h.vF.logTraceRender("components/legend/legend-layer");var d=(0,s.useTranslation)().t,b=(0,o.A)(),w=p(b),x=(0,m.xk)(),A=x.initLightBox,S=x.LightBoxComponent,C=(0,u.Zt)(),E=(0,c.U6)(),k=E.getVisibilityFromOrderedLayerInfo,T=E.setOrToggleLayerVisibility,_=E.getLegendCollapsedFromOrderedLayerInfo,O=E.setLegendCollapsed,P=(0,u.$T)(),I=P.setHighlightLayer,M=P.zoomToLayerExtent,L=function(){var e;return null===(e=a.children)||void 0===e?void 0:e.filter((function(e){var t;return["processed","loaded"].includes(null!==(t=e.layerStatus)&&void 0!==t?t:"")}))},R=!_(a.layerPath),j=!k(a.layerPath),F=null!==(t=null===(n=a.controls)||void 0===n?void 0:n.visibility)&&void 0!==t&&t;return(0,y.jsxs)(l.Box,{sx:w.legendLayerListItem,children:[(0,y.jsxs)(l.ListItem,{divider:!0,onClick:function(){O(a.layerPath)},children:[(0,y.jsx)(f.B,{layer:a}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(l.Tooltip,{title:a.layerName,placement:"top",children:(0,y.jsx)(l.ListItemText,{sx:{"&:hover":{cursor:"pointer"}},primary:a.layerName,className:"layerTitle",disableTypography:!0,secondary:function(){var e;if(!["processed","loaded"].includes(null!==(e=a.layerStatus)&&void 0!==e?e:""))return(0,y.jsx)(l.Box,{});var t="";return L().length?t=d("legend.subLayersCount").replace("{count}",L().length.toString()):a.items.length>1&&(t=d("legend.itemsCount").replace("{count}",a.items.length.toString()).replace("{totalCount}",a.items.length.toString())),(0,y.jsxs)(l.Stack,{direction:"row",alignItems:"center",sx:w.layerStackIcons,children:[!!t.length&&(0,y.jsx)(l.Typography,{fontSize:14,children:t}),(0,y.jsxs)(l.Box,{children:[(0,y.jsx)(l.IconButton,{edge:"end",tooltip:"layers.toggleVisibility",className:"buttonOutline",onClick:function(e){return function(e){e.stopPropagation(),T(a.layerPath)}(e)},disabled:!F,children:j?(0,y.jsx)(l.VisibilityOffOutlinedIcon,{}):(0,y.jsx)(l.VisibilityOutlinedIcon,{})}),(0,y.jsx)(l.IconButton,{tooltip:"legend.highlightLayer",sx:{marginTop:"-0.3125rem"},className:"buttonOutline",onClick:function(e){return function(e){e.stopPropagation(),I(a.layerPath)}(e)},children:C===a.layerPath?(0,y.jsx)(l.HighlightIcon,{}):(0,y.jsx)(l.HighlightOutlinedIcon,{})}),(0,y.jsx)(l.IconButton,{tooltip:"legend.zoomTo",className:"buttonOutline",onClick:function(e){return function(e){e.stopPropagation(),M(a.layerPath).catch((function(e){h.vF.logPromiseFailed("in zoomToLayerExtent in legend-layer.handleZoomTo",e)}))}(e)},children:(0,y.jsx)(l.ZoomInSearchIcon,{})})]})]})}()})}),!!((null===(r=a.children)||void 0===r?void 0:r.length)>1||(null===(i=a.items)||void 0===i?void 0:i.length)>1)&&(0,y.jsx)(l.IconButton,{sx:{marginBottom:"20px"},className:"buttonOutline",edge:"end",size:"small",tooltip:"layers.toggleCollapse",children:R?(0,y.jsx)(l.KeyboardArrowUpIcon,{}):(0,y.jsx)(l.KeyboardArrowDownIcon,{})})]})]},a.layerName),function(){var e,t,n,r;if(a.type===g.oR.WMS&&a.icons.length&&a.icons[0].iconImage&&"no data"!==a.icons[0].iconImage){var i=a.icons[0].iconImage;return(0,y.jsx)(l.Collapse,{in:R,sx:w.collapsibleContainer,timeout:"auto",children:(0,y.jsx)(l.Box,{component:"img",src:i,sx:{maxWidth:"100%",cursor:"pointer"},onClick:function(){return A(i,"",0,2)}})})}return(null===(e=a.children)||void 0===e?void 0:e.length)>1||(null===(t=a.items)||void 0===t?void 0:t.length)>1?(0,y.jsxs)(l.Collapse,{in:R,sx:w.collapsibleContainer,timeout:"auto",children:[null!==(r=a.children)&&void 0!==r&&r.length?(0,y.jsx)(l.List,{sx:{width:"100%",padding:"20px",margin:"20px 0px"},children:a.children.filter((function(e){var t;return!["error","processing"].includes(null!==(t=e.layerStatus)&&void 0!==t?t:"")})).map((function(e){return(0,y.jsx)(v,{layer:e},e.layerPath)}))}):null,null!==(n=a.items)&&void 0!==n&&n.length?(0,y.jsx)(l.List,{sx:w.subList,children:a.items.map((function(e){return(0,y.jsxs)(l.ListItem,{className:e.isVisible?"":"unchecked",children:[(0,y.jsx)(l.ListItemIcon,{children:e.icon?(0,y.jsx)(l.Box,{component:"img",alt:e.name,src:e.icon}):(0,y.jsx)(l.BrowserNotSupportedIcon,{})}),(0,y.jsx)(l.Tooltip,{title:e.name,placement:"top",enterDelay:1e3,children:(0,y.jsx)(l.ListItemText,{primary:e.name})})]},"".concat(e.icon,"/").concat(e.name,"/").concat(a.items.indexOf(e)))}))}):null]}):null}(),(0,y.jsx)(S,{})]})}var b=n(22935);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t{"use strict";n.d(t,{h:()=>Kt});var r=n(888),i=n(30538),o=n(43331);const a="carousel",s="controller",l="portal",c="toolbar",u="download",d="loading",h="error",p="complete",f="placeholder",g=e=>`active-slide-${e}`,m=(g(d),g("playing"),g(h),g(p),"flex_center"),y="no_scroll_padding",v="slide_wrapper",b="prev",w="next",x="swipe",A="close",S="onPointerDown",C="onPointerMove",E="onPointerUp",k="onPointerLeave",T="onPointerCancel",_="onKeyDown",O="onKeyUp",P="onWheel",I="Escape",M="ArrowLeft",L="ArrowRight",R="icon",j="contain",F="cover",D="Unknown action type";var N=n(95491);const B="yarl__";function z(...e){return[...e].filter(Boolean).join(" ")}function V(e){return`${B}${e}`}function $(e){return`--${B}${e}`}function G(e,t){return`${e}${t?`_${t}`:""}`}function U(e){return t=>G(e,t)}function W(...e){return()=>{e.forEach((e=>{e()}))}}function q(e,t,n){return()=>{const r=i.useContext(n);if(!r)throw new Error(`${e} must be used within a ${t}.Provider`);return r}}function H(){return"undefined"!=typeof window}function Y(e){return void 0===e.type||"image"===e.type}function K(e){return"string"==typeof e?Number.parseInt(e,10):e}function X(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){const t=K(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function Z(e,t){const n=X(t),r=void 0!==n.percent?e.width/100*n.percent:n.pixel;return{width:Math.max(e.width-2*r,0),height:Math.max(e.height-2*r,0)}}function J(e,t){return t>0?(e%t+t)%t:0}function Q(e){return e.length>0}function ee(e,t){return e[J(t,e.length)]}function te(e,t){return Q(e)?ee(e,t):void 0}function ne(e){return Y(e)?e.src:void 0}function re(e,t,n){if(!n)return e;const{buttons:r,...o}=e,a=r.findIndex((e=>e===t)),s=i.isValidElement(n)?i.cloneElement(n,{key:t},null):n;if(a>=0){const e=[...r];return e.splice(a,1,s),{buttons:e,...o}}return{buttons:[s,...r],...o}}const ie={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[A]},labels:{},animation:{fade:250,swipe:500,easing:{fade:"ease",swipe:"ease-out",navigation:"ease-in-out"}},carousel:{finite:!1,preload:2,padding:"16px",spacing:"30%",imageFit:j,imageProps:{}},controller:{ref:null,focus:!0,aria:!1,touchAction:"none",closeOnPullUp:!1,closeOnPullDown:!1,closeOnBackdropClick:!1,preventDefaultWheelX:!0,preventDefaultWheelY:!1},portal:{},noScroll:{disabled:!1},on:{},styles:{},className:""};function oe(e,t){return{name:e,component:t}}function ae(e,t){return{module:e,children:t}}function se(e,t,n){return e.module.name===t?n(e):e.children?[ae(e.module,e.children.flatMap((e=>{var r;return null!==(r=se(e,t,n))&&void 0!==r?r:[]})))]:[e]}function le(e,t,n){return e.flatMap((e=>{var r;return null!==(r=se(e,t,n))&&void 0!==r?r:[]}))}const ce=i.createContext(null),ue=q("useDocument","DocumentContext",ce);function de({nodeRef:e,children:t}){const n=i.useMemo((()=>{const t=t=>{var n;return(null===(n=t||e.current)||void 0===n?void 0:n.ownerDocument)||document};return{getOwnerDocument:t,getOwnerWindow:e=>{var n;return(null===(n=t(e))||void 0===n?void 0:n.defaultView)||window}}}),[e]);return i.createElement(ce.Provider,{value:n},t)}const he=i.createContext(null),pe=q("useEvents","EventsContext",he);function fe({children:e}){const[t]=i.useState({});i.useEffect((()=>()=>{Object.keys(t).forEach((e=>delete t[e]))}),[t]);const n=i.useMemo((()=>{const e=(e,n)=>{var r;null===(r=t[e])||void 0===r||r.splice(0,t[e].length,...t[e].filter((e=>e!==n)))};return{publish:(...[e,n])=>{var r;null===(r=t[e])||void 0===r||r.forEach((e=>e(n)))},subscribe:(n,r)=>(t[n]||(t[n]=[]),t[n].push(r),()=>e(n,r)),unsubscribe:e}}),[t]);return i.createElement(he.Provider,{value:n},e)}const ge=i.createContext(null),me=q("useLightboxProps","LightboxPropsContext",ge);function ye({children:e,...t}){return i.createElement(ge.Provider,{value:t},e)}const ve=i.createContext(null),be=q("useLightboxState","LightboxStateContext",ve),we=i.createContext(null),xe=q("useLightboxDispatch","LightboxDispatchContext",we);function Ae(e,t){switch(t.type){case"swipe":{const{slides:n}=e,r=(null==t?void 0:t.increment)||0,i=e.globalIndex+r,o=J(i,n.length);return{slides:n,currentIndex:o,globalIndex:i,currentSlide:te(n,o),animation:r||t.duration?{increment:r,duration:t.duration,easing:t.easing}:void 0}}case"update":return t.slides!==e.slides||t.index!==e.currentIndex?{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:te(t.slides,t.index)}:e;default:throw new Error(D)}}function Se({slides:e,index:t,children:n}){const[r,o]=i.useReducer(Ae,{slides:e,currentIndex:t,globalIndex:t,currentSlide:te(e,t)});i.useEffect((()=>{o({type:"update",slides:e,index:t})}),[e,t]);const a=i.useMemo((()=>({...r,state:r,dispatch:o})),[r,o]);return i.createElement(we.Provider,{value:o},i.createElement(ve.Provider,{value:a},n))}const Ce=i.createContext(null),Ee=q("useTimeouts","TimeoutsContext",Ce);function ke({children:e}){const[t]=i.useState([]);i.useEffect((()=>()=>{t.forEach((e=>window.clearTimeout(e))),t.splice(0,t.length)}),[t]);const n=i.useMemo((()=>{const e=e=>{t.splice(0,t.length,...t.filter((t=>t!==e)))};return{setTimeout:(n,r)=>{const i=window.setTimeout((()=>{e(i),n()}),r);return t.push(i),i},clearTimeout:t=>{void 0!==t&&(e(t),window.clearTimeout(t))}}}),[t]);return i.createElement(Ce.Provider,{value:n},e)}const Te=i.forwardRef((function({label:e,className:t,icon:n,renderIcon:r,onClick:o,style:a,...s},l){const{styles:c,labels:u}=me(),d=function(e,t){var n;return null!==(n=null==e?void 0:e[t])&&void 0!==n?n:t}(u,e);return i.createElement("button",{ref:l,type:"button",title:d,"aria-label":d,className:z(V("button"),t),onClick:o,style:{...a,...c.button},...s},r?r():i.createElement(n,{className:V(R),style:c.icon}))}));function _e(e,t){const n=e=>i.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",...e},t);return n.displayName=e,n}function Oe(e,t){return _e(e,i.createElement("g",{fill:"currentColor"},i.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}const Pe=Oe("Close",i.createElement("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"})),Ie=Oe("Previous",i.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),Me=Oe("Next",i.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),Le=Oe("Loading",i.createElement(i.Fragment,null,Array.from({length:8}).map(((e,t,n)=>i.createElement("line",{key:t,x1:"12",y1:"6.5",x2:"12",y2:"1.8",strokeLinecap:"round",strokeWidth:"2.6",stroke:"currentColor",strokeOpacity:1/n.length*(t+1),transform:`rotate(${360/n.length*t}, 12, 12)`}))))),Re=Oe("Error",i.createElement("path",{d:"M21.9,21.9l-8.49-8.49l0,0L3.59,3.59l0,0L2.1,2.1L0.69,3.51L3,5.83V19c0,1.1,0.9,2,2,2h13.17l2.31,2.31L21.9,21.9z M5,18 l3.5-4.5l2.5,3.01L12.17,15l3,3H5z M21,18.17L5.83,3H19c1.1,0,2,0.9,2,2V18.17z"})),je=H()?i.useLayoutEffect:i.useEffect;function Fe(){const[e,t]=i.useState(!1);return i.useEffect((()=>{var e,n;const r=null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-reduced-motion: reduce)");t(null==r?void 0:r.matches);const i=e=>t(e.matches);return null===(n=null==r?void 0:r.addEventListener)||void 0===n||n.call(r,"change",i),()=>{var e;return null===(e=null==r?void 0:r.removeEventListener)||void 0===e?void 0:e.call(r,"change",i)}}),[]),e}function De(e,t){const n=i.useRef(),r=i.useRef(),o=Fe();return je((()=>{var i,a,s;if(e.current&&void 0!==n.current&&!o){const{keyframes:o,duration:l,easing:c,onfinish:u}=t(n.current,e.current.getBoundingClientRect(),function(e){let t=0,n=0,r=0;const i=window.getComputedStyle(e).transform.match(/matrix.*\((.+)\)/);if(i){const e=i[1].split(",").map(K);6===e.length?(t=e[4],n=e[5]):16===e.length&&(t=e[12],n=e[13],r=e[14])}return{x:t,y:n,z:r}}(e.current))||{};if(o&&l){null===(i=r.current)||void 0===i||i.cancel(),r.current=void 0;try{r.current=null===(s=(a=e.current).animate)||void 0===s?void 0:s.call(a,o,{duration:l,easing:c})}catch(e){console.error(e)}r.current&&(r.current.onfinish=()=>{r.current=void 0,null==u||u()})}}n.current=void 0})),{prepareAnimation:e=>{n.current=e},isAnimationPlaying:()=>{var e;return"running"===(null===(e=r.current)||void 0===e?void 0:e.playState)}}}function Ne(){const e=i.useRef(null),t=i.useRef(),[n,r]=i.useState(),o=i.useCallback((n=>{e.current=n,t.current&&(t.current.disconnect(),t.current=void 0);const i=()=>{if(n){const e=window.getComputedStyle(n),t=e=>parseFloat(e)||0;r({width:Math.round(n.clientWidth-t(e.paddingLeft)-t(e.paddingRight)),height:Math.round(n.clientHeight-t(e.paddingTop)-t(e.paddingBottom))})}else r(void 0)};i(),n&&"undefined"!=typeof ResizeObserver&&(t.current=new ResizeObserver(i),t.current.observe(n))}),[]);return{setContainerRef:o,containerRef:e,containerRect:n}}function Be(){const e=i.useRef(),{setTimeout:t,clearTimeout:n}=Ee();return i.useCallback(((r,i)=>{n(e.current),e.current=t(r,i>0?i:0)}),[t,n])}function ze(e){const t=i.useRef(e);return je((()=>{t.current=e})),i.useCallback(((...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}function Ve(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function $e(e,t){return i.useMemo((()=>null==e&&null==t?null:n=>{Ve(e,n),Ve(t,n)}),[e,t])}function Ge(e,t=!1){const n=i.useRef();je((()=>{t&&n.current&&(n.current=!1,e())}),[t,e]);return{onFocus:i.useCallback((()=>{n.current=!0}),[]),onBlur:i.useCallback((()=>{n.current=!1}),[])}}function Ue(){const[e,t]=i.useState(!1);return je((()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)}),[]),e}function We(e,t){const n=i.useRef(0),r=Be(),o=ze(((...t)=>{n.current=Date.now(),e(t)}));return i.useCallback(((...e)=>{r((()=>{o(e)}),t-(Date.now()-n.current))}),[t,o,r])}const qe=U("slide"),He=U("slide_image");function Ye({slide:e,offset:t,render:n,rect:r,imageFit:o,imageProps:a,onClick:s,onLoad:l,onError:c,style:u}){var m,y,v,b,w,x,A;const[S,C]=i.useState(d),{publish:E}=pe(),{setTimeout:k}=Ee(),T=i.useRef(null);i.useEffect((()=>{0===t&&E(g(S))}),[t,S,E]);const _=ze((e=>{("decode"in e?e.decode():Promise.resolve()).catch((()=>{})).then((()=>{e.parentNode&&(C(p),k((()=>{null==l||l(e)}),0))}))})),O=i.useCallback((e=>{T.current=e,(null==e?void 0:e.complete)&&_(e)}),[_]),P=i.useCallback((e=>{_(e.currentTarget)}),[_]),I=ze((()=>{C(h),null==c||c()})),M=function(e,t){return e.imageFit===F||e.imageFit!==j&&t===F}(e,o),L=(e,t)=>Number.isFinite(e)?e:t,D=L(Math.max(...(null!==(y=null===(m=e.srcSet)||void 0===m?void 0:m.map((e=>e.width)))&&void 0!==y?y:[]).concat(e.width?[e.width]:[]).filter(Boolean)),(null===(v=T.current)||void 0===v?void 0:v.naturalWidth)||0),N=L(Math.max(...(null!==(w=null===(b=e.srcSet)||void 0===b?void 0:b.map((e=>e.height)))&&void 0!==w?w:[]).concat(e.height?[e.height]:[]).filter(Boolean)),(null===(x=T.current)||void 0===x?void 0:x.naturalHeight)||0),B=D&&N?{maxWidth:`min(${D}px, 100%)`,maxHeight:`min(${N}px, 100%)`}:{maxWidth:"100%",maxHeight:"100%"},$=null===(A=e.srcSet)||void 0===A?void 0:A.sort(((e,t)=>e.width-t.width)).map((e=>`${e.src} ${e.width}w`)).join(", "),G=$&&r&&H()?`${Math.round(Math.min(r&&!M&&e.width&&e.height?r.height/e.height*e.width:Number.MAX_VALUE,r.width))}px`:void 0,{style:U,className:W,...q}=a||{};return i.createElement(i.Fragment,null,i.createElement("img",{ref:O,onLoad:P,onError:I,onClick:s,draggable:!1,className:z(V(He()),M&&V(He("cover")),S!==p&&V(He("loading")),W),style:{...B,...u,...U},...q,alt:e.alt,sizes:G,srcSet:$,src:e.src}),S!==p&&i.createElement("div",{className:V(qe(f))},S===d&&((null==n?void 0:n.iconLoading)?n.iconLoading():i.createElement(Le,{className:z(V(R),V(qe(d)))})),S===h&&((null==n?void 0:n.iconError)?n.iconError():i.createElement(Re,{className:z(V(R),V(qe(h)))}))))}const Ke=i.forwardRef((function({className:e,children:t,...n},r){const o=i.useRef(null);return i.createElement(de,{nodeRef:o},i.createElement("div",{ref:$e(r,o),className:z(V("root"),e),...n},t))}));var Xe,Ze;!function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL=2]="PULL",e[e.ANIMATION=3]="ANIMATION"}(Xe||(Xe={})),function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL=2]="PULL"}(Ze||(Ze={}));const Je=30;function Qe(e,t,n,r,o,a,s,l,c,u,d,h,p,f){const g=i.useRef(0),m=i.useRef([]),y=i.useRef(),v=i.useRef(0),b=i.useRef(Ze.NONE),w=i.useCallback((e=>{y.current===e.pointerId&&(y.current=void 0,b.current=Ze.NONE);const t=m.current;t.splice(0,t.length,...t.filter((t=>t.pointerId!==e.pointerId)))}),[]),x=i.useCallback((e=>{w(e),e.persist(),m.current.push(e)}),[w]),A=ze((e=>{x(e)})),_=(e,t)=>u&&e>t||c&&e<-t,O=ze((e=>{if(m.current.find((t=>t.pointerId===e.pointerId))&&y.current===e.pointerId){const e=Date.now()-v.current,t=g.current;b.current===Ze.SWIPE?Math.abs(t)>.3*n||Math.abs(t)>5&&eo?()=>{}:W(e(S,t),e(C,n),e(E,r),e(k,r),e(T,r))),[e,t,n,r,o])}(e,A,ze((e=>{const n=m.current.find((t=>t.pointerId===e.pointerId));if(n){const r=y.current===e.pointerId;if(0===e.buttons)return void(r&&0!==g.current?O(e):w(n));const i=e.clientX-n.clientX,s=e.clientY-n.clientY;if(void 0===y.current){const n=t=>{x(e),y.current=e.pointerId,v.current=Date.now(),b.current=t};Math.abs(i)>Math.abs(s)&&Math.abs(i)>Je&&t(i)?(n(Ze.SWIPE),o()):Math.abs(s)>Math.abs(i)&&_(s,Je)&&(n(Ze.PULL),d())}else r&&(b.current===Ze.SWIPE?(g.current=i,a(i)):b.current===Ze.PULL&&(g.current=s,h(s)))}})),O)}const et=U("container"),tt=i.createContext(null),nt=q("useController","ControllerContext",tt);const rt=oe(s,(function({children:e,...t}){var n;const{carousel:r,animation:o,controller:a,on:s,styles:c,render:u}=t,{closeOnPullUp:d,closeOnPullDown:h,preventDefaultWheelX:p,preventDefaultWheelY:f}=a,[g,y]=i.useState(),v=be(),I=xe(),[M,L]=i.useState(Xe.NONE),R=i.useRef(0),j=i.useRef(0),F=i.useRef(1),{registerSensors:D,subscribeSensors:N}=function(){const[e]=i.useState({}),t=i.useCallback(((t,n)=>{var r;null===(r=e[t])||void 0===r||r.forEach((e=>{n.isPropagationStopped()||e(n)}))}),[e]);return{registerSensors:i.useMemo((()=>({onPointerDown:e=>t(S,e),onPointerMove:e=>t(C,e),onPointerUp:e=>t(E,e),onPointerLeave:e=>t(k,e),onPointerCancel:e=>t(T,e),onKeyDown:e=>t(_,e),onKeyUp:e=>t(O,e),onWheel:e=>t(P,e)})),[t]),subscribeSensors:i.useCallback(((t,n)=>(e[t]||(e[t]=[]),e[t].unshift(n),()=>{const r=e[t];r&&r.splice(0,r.length,...r.filter((e=>e!==n)))})),[e])}}(),{subscribe:B,publish:G}=pe(),U=Be(),q=Be(),H=Be(),{containerRef:Y,setContainerRef:K,containerRect:J}=Ne(),Q=$e(function({preventDefaultWheelX:e,preventDefaultWheelY:t}){const n=i.useRef(null),r=ze((n=>{const r=Math.abs(n.deltaX)>Math.abs(n.deltaY);(r&&e||!r&&t||n.ctrlKey)&&n.preventDefault()}));return i.useCallback((e=>{var t;e?e.addEventListener("wheel",r,{passive:!1}):null===(t=n.current)||void 0===t||t.removeEventListener("wheel",r),n.current=e}),[r])}({preventDefaultWheelX:p,preventDefaultWheelY:f}),K),ee=i.useRef(null),te=$e(ee,void 0),{getOwnerDocument:ne}=ue(),re=Ue(),ie=e=>(re?-1:1)*("number"==typeof e?e:1),oe=ze((()=>{var e;return null===(e=Y.current)||void 0===e?void 0:e.focus()})),ae=ze((()=>t)),se=ze((()=>v)),le=i.useCallback((e=>G(b,e)),[G]),ce=i.useCallback((e=>G(w,e)),[G]),de=i.useCallback((()=>G(A)),[G]),he=e=>!(r.finite&&(ie(e)>0&&0===v.currentIndex||ie(e)<0&&v.currentIndex===v.slides.length-1)),fe=e=>{var t;R.current=e,null===(t=Y.current)||void 0===t||t.style.setProperty($("swipe_offset"),`${Math.round(e)}px`)},ge=e=>{var t,n;j.current=e,F.current=(()=>{const t=h&&e>0?e:d&&e<0?-e:0;return Math.min(Math.max(function(e,t=0){const n=10**t;return Math.round((e+Number.EPSILON)*n)/n}(1-t/60*.5,2),.5),1)})(),null===(t=Y.current)||void 0===t||t.style.setProperty($("pull_offset"),`${Math.round(e)}px`),null===(n=Y.current)||void 0===n||n.style.setProperty($("pull_opacity"),`${F.current}`)},{prepareAnimation:me}=De(ee,((e,t,n)=>{if(ee.current&&J)return{keyframes:[{transform:`translate(0, ${e.rect.y-t.y+n.y}px)`,opacity:e.opacity},{transform:"translate(0, 0)",opacity:1}],duration:e.duration,easing:o.easing.fade}})),ye=(e,t)=>{if(d||h){ge(e);let n=0;ee.current&&(n=o.fade*(t?2:1),me({rect:ee.current.getBoundingClientRect(),opacity:F.current,duration:n})),H((()=>{ge(0),L(Xe.NONE)}),n),L(Xe.ANIMATION),t||de()}},{prepareAnimation:ve,isAnimationPlaying:we}=De(ee,((e,t,n)=>{var i;if(ee.current&&J&&(null===(i=v.animation)||void 0===i?void 0:i.duration)){const i=X(r.spacing),o=(i.percent?i.percent*J.width/100:i.pixel)||0;return{keyframes:[{transform:`translate(${ie(v.globalIndex-e.index)*(J.width+o)+e.rect.x-t.x+n.x}px, 0)`},{transform:"translate(0, 0)"}],duration:v.animation.duration,easing:v.animation.easing}}})),Ae=ze((e=>{var t,n;const r=e.offset||0,i=r?o.swipe:null!==(t=o.navigation)&&void 0!==t?t:o.swipe,a=r||we()?o.easing.swipe:o.easing.navigation;let{direction:s}=e;const l=null!==(n=e.count)&&void 0!==n?n:1;let c=Xe.ANIMATION,u=i*l;if(!s){const t=null==J?void 0:J.width,n=e.duration||0,o=t?i/t*Math.abs(r):i;0!==l?(n0?b:w):u=i/2}let d=0;s===b?he(ie(1))?d=-l:(c=Xe.NONE,u=i):s===w&&(he(ie(-1))?d=l:(c=Xe.NONE,u=i)),u=Math.round(u),q((()=>{fe(0),L(Xe.NONE)}),u),ee.current&&ve({rect:ee.current.getBoundingClientRect(),index:v.globalIndex}),L(c),G(x,{type:"swipe",increment:d,duration:u,easing:a})}));i.useEffect((()=>{var e,t;(null===(e=v.animation)||void 0===e?void 0:e.increment)&&(null===(t=v.animation)||void 0===t?void 0:t.duration)&&U((()=>I({type:"swipe",increment:0})),v.animation.duration)}),[v.animation,I,U]);const Se=[N,he,(null==J?void 0:J.width)||0,o.swipe,()=>L(Xe.SWIPE),e=>fe(e),(e,t)=>Ae({offset:e,duration:t,count:1}),e=>Ae({offset:e,count:0})],Ce=[()=>{h&&L(Xe.PULL)},e=>ge(e),e=>ye(e),e=>ye(e,!0)];Qe(...Se,d,h,...Ce),function(e,t,n,r,o,a,s,l,c){const u=i.useRef(0),d=i.useRef(0),h=i.useRef(),p=i.useRef(),f=i.useRef(0),g=i.useRef(0),{setTimeout:m,clearTimeout:y}=Ee(),v=i.useCallback((()=>{h.current&&(y(h.current),h.current=void 0)}),[y]),b=i.useCallback((()=>{p.current&&(y(p.current),p.current=void 0)}),[y]),w=ze((()=>{e!==Xe.SWIPE&&(u.current=0,g.current=0,v(),b())}));i.useEffect(w,[e,w]);const x=ze((e=>{p.current=void 0,u.current===e&&c(u.current)})),A=ze((t=>{if(!(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX)))if(e===Xe.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(f.current))return void(f.current=t.deltaX);if(!n(-t.deltaX))return;if(d.current+=t.deltaX,v(),Math.abs(d.current)>30)d.current=0,f.current=0,g.current=Date.now(),a();else{const e=d.current;h.current=m((()=>{h.current=void 0,e===d.current&&(d.current=0)}),o)}}else if(e===Xe.SWIPE){let e=u.current-t.deltaX;if(e=Math.min(Math.abs(e),r)*Math.sign(e),u.current=e,s(e),b(),Math.abs(e)>.2*r)return f.current=t.deltaX,void l(e,Date.now()-g.current);p.current=m((()=>x(e)),2*o)}else f.current=t.deltaX}));i.useEffect((()=>t(P,A)),[t,A])}(M,...Se);const ke=ze((()=>{a.focus&&ne().querySelector(`.${V(l)} .${V(et())}`)&&oe()}));i.useEffect(ke,[ke]);const Te=ze((()=>{var e;null===(e=s.view)||void 0===e||e.call(s,{index:v.currentIndex})}));i.useEffect(Te,[v.globalIndex,Te]),i.useEffect((()=>W(B(b,(e=>Ae({direction:b,...e}))),B(w,(e=>Ae({direction:w,...e}))),B(x,(e=>I(e))))),[B,Ae,I]);const _e=i.useMemo((()=>({prev:le,next:ce,close:de,focus:oe,slideRect:J?Z(J,r.padding):{width:0,height:0},containerRect:J||{width:0,height:0},subscribeSensors:N,containerRef:Y,setCarouselRef:te,toolbarWidth:g,setToolbarWidth:y})),[le,ce,de,oe,N,J,Y,te,g,y,r.padding]);return i.useImperativeHandle(a.ref,(()=>({prev:le,next:ce,close:de,focus:oe,getLightboxProps:ae,getLightboxState:se})),[le,ce,de,oe,ae,se]),i.createElement("div",{ref:Q,className:z(V(et()),V(m)),style:{...M===Xe.SWIPE?{[$("swipe_offset")]:`${Math.round(R.current)}px`}:null,...M===Xe.PULL?{[$("pull_offset")]:`${Math.round(j.current)}px`,[$("pull_opacity")]:`${F.current}`}:null,..."none"!==a.touchAction?{[$("controller_touch_action")]:a.touchAction}:null,...c.container},...a.aria?{role:"presentation","aria-live":"polite"}:null,tabIndex:-1,...D},J&&i.createElement(tt.Provider,{value:_e},e,null===(n=u.controls)||void 0===n?void 0:n.call(u)))}));function it(e){return G(a,e)}function ot(e){return G("slide",e)}function at({slide:e,offset:t}){const n=i.useRef(null),{currentIndex:r}=be(),{slideRect:o,close:a}=nt(),{render:s,carousel:{imageFit:l,imageProps:c},on:{click:u},controller:{closeOnBackdropClick:d},styles:{slide:h}}=me();return i.createElement("div",{ref:n,className:z(V(ot()),0===t&&V(ot("current")),V(m)),onClick:e=>{const t=n.current,r=e.target instanceof HTMLElement?e.target:void 0;d&&r&&t&&(r===t||Array.from(t.children).find((e=>e===r))&&r.classList.contains(V(v)))&&a()},style:h},(()=>{var n,a,d,h;let p=null===(n=s.slide)||void 0===n?void 0:n.call(s,{slide:e,offset:t,rect:o});return!p&&Y(e)&&(p=i.createElement(Ye,{slide:e,offset:t,render:s,rect:o,imageFit:l,imageProps:c,onClick:0===t?()=>null==u?void 0:u({index:r}):void 0})),p?i.createElement(i.Fragment,null,null===(a=s.slideHeader)||void 0===a?void 0:a.call(s,{slide:e}),(null!==(d=s.slideContainer)&&void 0!==d?d:({children:e})=>e)({slide:e,children:p}),null===(h=s.slideFooter)||void 0===h?void 0:h.call(s,{slide:e})):null})())}function st(){const e=me().styles.slide;return i.createElement("div",{className:V("slide"),style:e})}const lt=oe(a,(function({carousel:e}){const{slides:t,currentIndex:n,globalIndex:r}=be(),{setCarouselRef:o}=nt(),a=X(e.spacing),s=X(e.padding),l=function(e,t,n=0){return Math.min(e.preload,Math.max(e.finite?t.length-1:Math.floor(t.length/2),n))}(e,t,1),c=[];if(Q(t))for(let i=n-l;i<=n+l;i+=1){const o=ee(t,i),a=r-n+i,s=e.finite&&(i<0||i>t.length-1);c.push(s?{key:a}:{key:[`${a}`,ne(o)].filter(Boolean).join("|"),offset:i-n,slide:o})}return i.createElement("div",{ref:o,className:z(V(it()),c.length>0&&V(it("with_slides"))),style:{[`${$(it("slides_count"))}`]:c.length,[`${$(it("spacing_px"))}`]:a.pixel||0,[`${$(it("spacing_percent"))}`]:a.percent||0,[`${$(it("padding_px"))}`]:s.pixel||0,[`${$(it("padding_percent"))}`]:s.percent||0}},c.map((({key:e,slide:t,offset:n})=>t?i.createElement(at,{key:e,slide:t,offset:n}):i.createElement(st,{key:e}))))}));function ct(){const{carousel:e}=me(),{slides:t,currentIndex:n}=be();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function ut({label:e,icon:t,renderIcon:n,action:r,onClick:o,disabled:a,style:s}){return i.createElement(Te,{label:e,icon:t,renderIcon:n,className:V(`navigation_${r}`),disabled:a,onClick:o,style:s,...Ge(nt().focus,a)})}const dt=oe("navigation",(function({render:{buttonPrev:e,buttonNext:t,iconPrev:n,iconNext:r},styles:o}){const{prev:a,next:s,subscribeSensors:l}=nt(),{prevDisabled:c,nextDisabled:u}=ct();return function(e){var t;const n=Ue(),{publish:r}=pe(),{animation:o}=me(),{prevDisabled:a,nextDisabled:s}=ct(),l=(null!==(t=o.navigation)&&void 0!==t?t:o.swipe)/2,c=We((()=>r(b)),l),u=We((()=>r(w)),l),d=ze((e=>{switch(e.key){case I:r(A);break;case M:(n?s:a)||(n?u:c)();break;case L:(n?a:s)||(n?c:u)()}}));i.useEffect((()=>e(_,d)),[e,d])}(l),i.createElement(i.Fragment,null,e?e():i.createElement(ut,{label:"Previous",action:b,icon:Ie,renderIcon:n,style:o.navigationPrev,disabled:c,onClick:a}),t?t():i.createElement(ut,{label:"Next",action:w,icon:Me,renderIcon:r,style:o.navigationNext,disabled:u,onClick:s}))})),ht=V("no_scroll"),pt=V(y);function ft(e){return"style"in e}function gt(e,t,n){const r=window.getComputedStyle(e),i=n?"padding-left":"padding-right",o=n?r.paddingLeft:r.paddingRight,a=e.style.getPropertyValue(i);return e.style.setProperty(i,`${(K(o)||0)+t}px`),()=>{a?e.style.setProperty(i,a):e.style.removeProperty(i)}}const mt=oe("no-scroll",(function({noScroll:{disabled:e},children:t}){const n=Ue(),{getOwnerDocument:r,getOwnerWindow:o}=ue();return i.useEffect((()=>{if(e)return()=>{};const t=[],i=o(),{body:a,documentElement:s}=r(),l=Math.round(i.innerWidth-s.clientWidth);if(l>0){t.push(gt(a,l,n));const e=a.getElementsByTagName("*");for(let r=0;r{a.classList.remove(ht),t.forEach((e=>e()))}}),[n,e,r,o]),i.createElement(i.Fragment,null,t)}));function yt(e){return G(l,e)}function vt(e,t,n){const r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}const bt=oe(l,(function({children:e,animation:t,styles:n,className:r,on:o,portal:a,close:s}){const[l,c]=i.useState(!1),[u,d]=i.useState(!1),h=i.useRef([]),p=i.useRef(null),{setTimeout:f}=Ee(),{subscribe:g}=pe(),m=Fe()?0:t.fade;i.useEffect((()=>(c(!0),()=>{c(!1),d(!1)})),[]);const v=ze((()=>{h.current.forEach((e=>e())),h.current=[]})),b=ze((()=>{var e;d(!1),v(),null===(e=o.exiting)||void 0===e||e.call(o),f((()=>{var e;null===(e=o.exited)||void 0===e||e.call(o),s()}),m)}));i.useEffect((()=>g(A,b)),[g,b]);const w=ze((e=>{var t,n,r;e.scrollTop,d(!0),null===(t=o.entering)||void 0===t||t.call(o);const i=null!==(r=null===(n=e.parentNode)||void 0===n?void 0:n.children)&&void 0!==r?r:[];for(let t=0;t{var e,t;null===(t=null===(e=p.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)})),f((()=>{var e;null===(e=o.entered)||void 0===e||e.call(o)}),m)})),x=i.useCallback((e=>{e?w(e):v()}),[w,v]);return l?(0,N.createPortal)(i.createElement(Ke,{ref:x,className:z(r,V(yt()),V(y),u&&V(yt("open"))),role:"presentation","aria-live":"polite",style:{...t.fade!==ie.animation.fade?{[$("fade_animation_duration")]:`${m}ms`}:null,...t.easing.fade!==ie.animation.easing.fade?{[$("fade_animation_timing_function")]:t.easing.fade}:null,...n.root},onFocus:e=>{p.current||(p.current=e.relatedTarget)}},e),a.root||document.body):null}));const wt=oe("root",(function({children:e}){return i.createElement(i.Fragment,null,e)}));const xt=oe(c,(function({toolbar:{buttons:e},render:{buttonClose:t,iconClose:n},styles:r}){const{close:o,setToolbarWidth:a}=nt(),{setContainerRef:s,containerRect:l}=Ne();return je((()=>{a(null==l?void 0:l.width)}),[a,null==l?void 0:l.width]),i.createElement("div",{ref:s,style:r.toolbar,className:V(G(c,u))},null==e?void 0:e.map((e=>e===A?t?t():i.createElement(Te,{key:A,label:"Close",icon:Pe,renderIcon:n,onClick:o}):e)));var u}));function At(e,t){var n;return i.createElement(e.module.component,{key:e.module.name,...t},null===(n=e.children)||void 0===n?void 0:n.map((e=>At(e,t))))}function St(e,t={}){const{easing:n,...r}=e,{easing:i,...o}=t;return{easing:{...n,...i},...r,...o}}function Ct({carousel:e,animation:t,render:n,toolbar:r,controller:o,noScroll:a,on:l,plugins:c,slides:u,index:d,...h}){const{animation:p,carousel:f,render:g,toolbar:m,controller:y,noScroll:v,on:b,slides:w,index:x,plugins:A,...S}=ie,{config:C,augmentation:E}=function(e,t=[],n=[]){let r=e;const i=e=>{const t=[...r];for(;t.length>0;){const n=t.pop();if((null==n?void 0:n.module.name)===e)return!0;(null==n?void 0:n.children)&&t.push(...n.children)}return!1},o=(e,t)=>{r=""!==e?le(r,e,(e=>[ae(t,[e])])):[ae(t,r)]},a=(e,t)=>{r=le(r,e,(e=>[ae(e.module,[ae(t,e.children)])]))},l=(e,t,n)=>{r=le(r,e,(e=>{var r;return[ae(e.module,[...n?[ae(t)]:[],...null!==(r=e.children)&&void 0!==r?r:[],...n?[]:[ae(t)]])]}))},c=(e,t,n)=>{r=le(r,e,(e=>[...n?[ae(t)]:[],e,...n?[]:[ae(t)]]))},u=e=>{a(s,e)},d=(e,t)=>{r=le(r,e,(e=>[ae(t,e.children)]))},h=e=>{r=le(r,e,(e=>e.children))},p=e=>{n.push(e)};return t.forEach((e=>{e({contains:i,addParent:o,append:a,addChild:l,addSibling:c,addModule:u,replace:d,remove:h,augment:p})})),{config:r,augmentation:e=>n.reduce(((e,t)=>t(e)),e)}}([ae(bt,[ae(mt,[ae(rt,[ae(lt),ae(xt),ae(dt)])])])],c||A),k=E({animation:St(p,t),carousel:{...f,...e},render:{...g,...n},toolbar:{...m,...r},controller:{...y,...o},noScroll:{...v,...a},on:{...b,...l},...S,...h});return k.open?i.createElement(ye,{...k},i.createElement(Se,{slides:u||w,index:K(d||x)},i.createElement(ke,null,i.createElement(fe,null,At(ae(wt,C),k))))):null}const Et={download:void 0},kt=e=>({...Et,...e});function Tt(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}function _t(e,t){const n=document.createElement("a");n.rel="noopener",n.download=t||"",n.download||(n.target="_blank"),"string"==typeof e?(n.href=e,n.origin!==window.location.origin?function(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}(n.href)?function(e,t){const n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=()=>{_t(n.response,t)},n.onerror=()=>{console.error("Failed to download file")},n.send()}(e,t):(n.target="_blank",Tt(n)):Tt(n)):(n.href=URL.createObjectURL(e),setTimeout((()=>URL.revokeObjectURL(n.href)),3e4),setTimeout((()=>Tt(n)),0))}const Ot=Oe("DownloadIcon",i.createElement("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zm-1-4-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59 7 11l5 5 5-5z"}));function Pt(){const{render:e,on:t,download:n}=me(),{download:r}=kt(n),{currentSlide:o,currentIndex:a}=be();if(e.buttonDownload)return i.createElement(i.Fragment,null,e.buttonDownload());const s=o&&(o.downloadUrl||"string"==typeof o.download&&o.download||"object"==typeof o.download&&o.download.url||Y(o)&&o.src)||void 0,l=r?!1!==(null==o?void 0:o.download):Boolean(s),c=()=>{if(o&&s){const e=o.downloadFilename||"object"==typeof o.download&&o.download.filename||void 0;_t(s,e)}};return i.createElement(Te,{label:"Download",icon:Ot,renderIcon:e.iconDownload,disabled:!l,onClick:()=>{var e;o&&((r||c)({slide:o,saveAs:_t}),null===(e=t.download)||void 0===e||e.call(t,{index:a}))}})}function It({augment:e}){e((({toolbar:e,download:t,...n})=>({toolbar:re(e,u,i.createElement(Pt,null)),download:kt(t),...n})))}var Mt=n(21294),Lt=n.n(Mt),Rt=n(36519),jt=n.n(Rt),Ft=n(85645),Dt=n.n(Ft),Nt=n(6046),Bt=n.n(Nt),zt=n(74714),Vt=n.n(zt),$t=n(88543),Gt=n.n($t),Ut=n(70577),Wt={};Wt.styleTagTransform=Gt(),Wt.setAttributes=Bt(),Wt.insert=Dt().bind(null,"head"),Wt.domAPI=jt(),Wt.insertStyleElement=Vt();Lt()(Ut.A,Wt);Ut.A&&Ut.A.locals&&Ut.A.locals;var qt=n(53921),Ht=n(6335),Yt=n(97282);function Kt(e){Ht.vF.logTraceRender("components/lightbox/lightbox");var t=e.open,n=e.slides,a=e.index,s=e.exited,l=e.scale,c=void 0===l?1:l,u=(0,o.useTranslation)().t,d=(0,i.useState)(t),h=(0,r.A)(d,2),p=h[0],f=h[1],g=(0,i.useState)(!0),m=(0,r.A)(g,1)[0],y=(0,i.useState)(!0),v=(0,r.A)(y,1)[0],b=(0,i.useState)(250),w=(0,r.A)(b,1)[0],x=(0,i.useState)(500),A=(0,r.A)(x,1)[0];return(0,i.useEffect)((function(){Ht.vF.logTraceUseEffect("LIGHTBOX - open",t),f(t)}),[t]),(0,Yt.jsx)(Ct,{styles:{root:{width:"90%",height:"90%",margin:"auto"},container:{backgroundColor:"rgba(0, 0, 0, .9)"},slide:{transform:"scale(".concat(c,")")}},open:p,close:function(){return f(!1)},slides:n,index:a,carousel:{finite:!0},controller:{closeOnPullDown:m,closeOnBackdropClick:v},animation:{fade:w,swipe:A},labels:{Next:u("lightbox.next"),Previous:u("lightbox.previous"),Close:u("lightbox.close"),Download:u("lightbox.download")},on:{entered:function(){},exited:s},render:{iconClose:function(){return(0,Yt.jsx)(qt.Tooltip,{title:u("lightbox.close"),placement:"top",children:(0,Yt.jsx)(qt.CloseIcon,{})})},iconNext:function(){return(0,Yt.jsx)(qt.Tooltip,{title:u("lightbox.next"),placement:"top",children:(0,Yt.jsx)(qt.ArrowRightIcon,{})})},iconPrev:function(){return(0,Yt.jsx)(qt.Tooltip,{title:u("lightbox.previous"),placement:"top",children:(0,Yt.jsx)(qt.ArrowLeftIcon,{})})},iconDownload:function(){return(0,Yt.jsx)(qt.Tooltip,{title:u("lightbox.download"),placement:"top",children:(0,Yt.jsx)(qt.DownloadIcon,{})})}},plugins:[It]})}},73865:(e,t,n)=>{"use strict";n.d(t,{p:()=>d});var r=n(30538),i=n(13679),o=n(53921),a=n(31565),s=n(27797),l=n(6335),c=n(48940),u=n(97282);function d(){var e=(0,i.A)(),t=(0,a.S)(e),n=(0,c.Jh)(),d=(0,s.dY)(),h=(0,s.A6)().setMapInfoExpanded,p="layers.toggleCollapse",f=function(){h(!0)};return(0,r.useEffect)((function(){return l.vF.logTraceUseEffect("MAP-INFO-EXPAND-BUTTON - mount"),function(){var e=document.getElementById("".concat(n,"-mapInfo"));e&&e.removeEventListener("transitionend",f)}}),[]),(0,u.jsx)(o.Box,{children:(0,u.jsx)(o.IconButton,{"aria-label":p,tooltip:p,sx:t.expandButton,onClick:function(){return d?function(){var e=document.getElementById("".concat(n,"-mapInfo"));if(e){var t=e.querySelector(".ol-attribution ul");t&&(t.style.width="0px"),e.style.transition="max-height 300ms ease-out",e.style.maxHeight="25px",e.style.height="25px"}h(!1)}():function(){var e=document.getElementById("".concat(n,"-mapInfo"));if(e){e.style.transition="max-height 300ms ease-in 0s",e.style.maxHeight="80px",e.style.height="80px";var t=e.querySelector(".ol-attribution ul");t&&(t.style.width="100%"),e.addEventListener("transitionend",f,{once:!0})}}()},children:d?(0,u.jsx)(o.ExpandMoreIcon,{}):(0,u.jsx)(o.ExpandLessIcon,{})})})}},21579:(e,t,n)=>{"use strict";n.d(t,{F:()=>f});var r=n(24515),i=n(30538),o=n(43331),a=n(13679),s=n(49731),l=n(53921),c=n(84044),u=n(27797),d=n(42877),h=n(6335),p=n(97282);function f(){var e=(0,o.useTranslation)().t,t=(0,a.A)(),n=(0,s.A)(t.breakpoints.down("md")),f=(0,u.dY)(),g=(0,d.Mk)(),m=(0,d.C0)(),y=(0,d.HA)(),v=(0,d.U6)(),b=v.setFixNorth,w=v.setRotation;return(0,i.useEffect)((function(){h.vF.logTraceUseEffect("MAP-INFO-FIXNORTH-SWITCH - deviceSizeMedUp",n),n&&b(!1)}),[n,b]),(0,p.jsx)(l.Box,{sx:(0,r.A)({},t.breakpoints.down("md"),{display:"none"}),children:f&&"EPSG:".concat(y)===c.M.PROJECTION_NAMES.LCC&&g?(0,p.jsx)(l.Switch,{size:"small",onChange:function(e){b(e.target.checked),e.target.checked||w(0)},title:e("mapctrl.rotation.fixedNorth"),checked:m}):null})}},91295:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(30538),i=n(13679),o=n(53921),a=n(31565),s=n(42877),l=n(97282);function c(){var e=(0,i.A)(),t=(0,a.S)(e),n=(0,r.useRef)(null),c=(0,s.uE)(),u=(0,s.U6)().setRotation;return(0,l.jsx)(o.IconButton,{sx:t.rotationButton.rotationButton,tooltipPlacement:"top",tooltip:"mapctrl.rotation.resetRotation","aria-label":"mapctrl.rotation.resetRotation",onClick:function(){return u(0)},children:(0,l.jsx)(o.ArrowUpIcon,{ref:n,sx:t.rotationButton.rotationIcon,style:{transform:"rotate(".concat(c,"rad)")}})})}},31565:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var r=function(e){return{mapInfoContainer:{flexGrow:1,zIndex:200,display:"flex",flexDirection:"row",alignItems:"center",width:"calc(100%)",minHeight:"35px",maxHeight:"35px",backdropFilter:"blur(5px)",backgroundColor:e.palette.geoViewColor.bgColor.dark[800],color:"".concat(e.palette.geoViewColor.bgColor.light[800]," !important"),pointerEvents:"all",gap:.5,order:3,fill:"".concat(e.palette.geoViewColor.grey.dark[900]," !important"),position:"absolute",bottom:0,left:"0px","&.interaction-static":{backdropFilter:"unset",backgroundColor:"unset",color:"".concat(e.palette.geoViewColor.grey.dark[900]," !important"),fill:"".concat(e.palette.geoViewColor.grey.dark[900]," !important"),position:"absolute",width:"calc(100% - 60px)",bottom:0,left:"60px","& button svg":{fill:"".concat(e.palette.geoViewColor.grey.dark[900]," !important")},"& button span":{color:"".concat(e.palette.geoViewColor.grey.dark[900]," !important")}}},mouseScaleControlsContainer:{display:"flex",flexDirection:"row",flexWrap:"noWrap","& button":{cursor:"pointer",margin:"auto 0 auto auto"},justifyContent:"end"},rotationControlsContainer:{display:"flex",flexDirection:"column",marginLeft:"20px",alignItems:"flex-end"},expandButton:{display:{xs:"none",sm:"none",md:"flex",lg:"flex",xl:"flex"},alignItems:"center",justifyContent:"center",color:e.palette.geoViewColor.bgColor.light[800],height:"30px",width:"30px",marginLeft:"5px"},rotationButton:{rotationButton:{height:25,width:25,marginRight:5},rotationIcon:{width:"1.5em",height:"1.5em",fontSize:e.palette.geoViewFontSize.default,color:e.palette.geoViewColor.bgColor.light[800]}}}}},72391:(e,t,n)=>{"use strict";n.d(t,{p:()=>x});var r=n(24515),i=n(30538),o=n(13679),a=n(53921),s=n(74031),l=n(79163),c=n(82625),u=n(73865),d=n(91295),h=n(21579),p=n(31565),f=n(42877),g=n(27797),m=n(6335),y=n(48940),v=n(97282);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t{"use strict";n.d(t,{T:()=>b});var r=n(30538),i=n(49731),o=n(84681),a=n(13679),s=n(95318),l=n(37216),c=n(3227),u=n(74959),d=n(9978),h={mapContainer:{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative","& .ol-overviewmap.ol-custom-overviewmap":{bottom:"auto",left:"auto",right:"5px",top:"5px",margin:5,order:1,padding:0,position:"absolute",borderRadius:4,"& .ol-overviewmap-map":{border:"none",display:"block !important",WebkitTransition:"300ms linear",MozTransition:"300ms linear",OTransition:"300ms linear",msTransition:"300ms linear",transition:"300ms linear"},"&.ol-uncollapsible":{bottom:"auto",left:"auto",right:100,top:100,margin:5},"&:not(.ol-collapsed)":{boxShadow:"0 1px 5px rgb(0 0 0 / 65%)",borderRadius:"4px",border:"none"},"&:is(.ol-collapsed)":{boxShadow:"0 1px 5px rgb(0 0 0 / 65%)",borderRadius:4,border:"none"},"& button":{zIndex:100,position:"absolute",top:0,right:0,left:"auto !important",bottom:"auto !important",backgroundColor:"#cccccc"},"&::before":{content:'""',display:"block",position:"absolute",width:0,height:0,borderRadius:2,zIndex:100,right:0,top:0},"& .ol-overviewmap-box":{backgroundColor:"rgba(0, 0, 0, 0.2)"},"& .ol-viewport":{borderRadius:"4px","& .ol-layer":{backgroundColor:"#FFF"}}}}},p=n(42877),f=n(48940),g=n(5805),m=n(6335),y=n(16896),v=n(97282);function b(e){m.vF.logTraceRender("components/map/map");var t=e.viewer,n=(0,a.A)(),b=(0,r.useRef)(),w=(0,i.A)(n.breakpoints.up("md")),x=(0,f.Jh)(),A=(0,p.JQ)(),S=(0,p.Mk)(),C=(0,p.Nt)(),E=(0,f.oy)(),k=(0,r.useRef)(!1),T=(0,r.useCallback)((function(){var e;m.vF.logTraceUseCallback("map.initCGPVMap"),null==E||null===(e=E.corePackages)||void 0===e||e.forEach((function(e){g.k.loadScript(e).then((function(n){g.k.addPlugin(e,x,n,(0,y.NK)({mapId:x,viewer:t})).catch((function(e){m.vF.logPromiseFailed("api.plugin.addPlugin in useCallback in map",e)}))})).catch((function(e){m.vF.logPromiseFailed("api.plugin.addPlugin in useCallback in map",e)}))}))}),[x,null==E?void 0:E.corePackages,t]);return(0,r.useEffect)((function(){m.vF.logTraceUseEffect("map.initMap"),k.current||(t.createMap(b.current),T(),k.current=!0)}),[T,t]),(0,v.jsx)(o.A,{id:"mapTargetElement-".concat(x),ref:b,sx:h.mapContainer,tabIndex:0,children:C&&(0,v.jsxs)(v.Fragment,{children:[S&&(0,v.jsx)(s.l,{}),(0,v.jsx)(s.g,{}),(0,v.jsx)(l.B,{mapTargetElement:b.current}),(0,v.jsx)(u.n,{}),(0,v.jsx)(d.s,{}),w&&A&&t.map&&(0,v.jsx)(c.G,{olMap:t.map})]})})}},79163:(e,t,n)=>{"use strict";n.d(t,{d:()=>m});var r=n(24515),i=n(888),o=n(30538),a=n(43331),s=n(13679),l=n(53921),c=n(27797),u=n(42877),d=n(8243),h=function(e){return{mousePosition:{display:"flex",minWidth:"fit-content",padding:e.spacing(0,4),textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",alignItems:"center",width:"auto",backgroundColor:"transparent !important",height:"inherit !important",color:e.palette.geoViewColor.bgColor.light[800],lineHeight:1.5,":hover":{backgroundColor:"transparent !important",color:e.palette.geoViewColor.bgColor.light[600]}},mousePositionTextContainer:(0,r.A)({display:"flex",flexDirection:"column"},e.breakpoints.down("md"),{display:"none"}),mousePositionTextCheckmarkContainer:{display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center","& span":{fontSize:e.palette.geoViewFontSize.default,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}},mousePositionCheckmark:{paddingRight:5},mousePositionText:{fontSize:e.palette.geoViewFontSize.default,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}},p=n(97282);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t{"use strict";n.d(t,{A:()=>v});var r=n(888),i=n(30538),o=n(43331),a=n(42877),s=n(53921),l=n(6335),c=n(43345),u=n(51922),d=n(9617),h=n(13396),p=n(4998),f=n(16774),g=n(65158),m=n(97282),y={transport:{basemapId:"transport",shaded:!0,labeled:!0},imagery:{basemapId:"imagery",shaded:!1,labeled:!1},simple:{basemapId:"simple",shaded:!1,labeled:!1},nogeom:{basemapId:"nogeom",shaded:!1,labeled:!1}};function v(){l.vF.logTraceRender("components/nav-bar/buttons/basemap");var e=(0,o.useTranslation)().t,t=(0,a.U6)().createBasemapFromOptions,n=(0,a.NZ)(),v=Object.keys(y).includes(n.basemapId)&&JSON.stringify(n)===JSON.stringify(y[n.basemapId]),b=(0,i.useState)(v?n.basemapId:"default"),w=(0,r.A)(b,2),x=w[0],A=w[1],S=function(e){A(e),t("default"===e?n:y[e]).catch((function(e){l.vF.logPromiseFailed("setBaseMap in basemaps.ts",e)}))},C={tooltip:"mapnav.basemap",children:(0,i.createElement)(s.MapIcon),tooltipPlacement:"left"},E={title:"Select a basemap",icon:(0,i.createElement)(s.MapIcon),content:(0,m.jsxs)(u.B8,{children:[!v&&(0,m.jsx)(u.ck,{children:(0,m.jsxs)(d.K,{id:"button-default","aria-label":"basemaps.default",tooltip:"basemaps.default",tooltipPlacement:"left",size:"small",onClick:function(){return S("default")},disabled:"default"===x,children:[(0,m.jsx)(s.MapIcon,{}),e("basemaps.default")]})}),(0,m.jsx)(u.ck,{children:(0,m.jsxs)(d.K,{id:"button-transport","aria-label":"basemaps.transport",tooltip:"basemaps.transport",tooltipPlacement:"left",size:"small",onClick:function(){return S("transport")},disabled:"transport"===x,children:[(0,m.jsx)(h.A,{}),e("basemaps.transport")]})}),(0,m.jsx)(u.ck,{children:(0,m.jsxs)(d.K,{id:"button-imagery","aria-label":"basemaps.imagery",tooltip:"basemaps.imagery",tooltipPlacement:"left",size:"small",onClick:function(){return S("imagery")},disabled:"imagery"===x,children:[(0,m.jsx)(p.A,{}),e("basemaps.imagery")]})}),(0,m.jsx)(u.ck,{children:(0,m.jsxs)(d.K,{id:"button-simple","aria-label":"basemaps.simple",tooltip:"basemaps.simple",tooltipPlacement:"left",size:"small",onClick:function(){return S("simple")},disabled:"simple"===x,children:[(0,m.jsx)(f.A,{}),e("basemaps.simple")]})}),(0,m.jsx)(u.ck,{children:(0,m.jsxs)(d.K,{id:"button-nogeom","aria-label":"basemaps.nogeom",tooltip:"basemaps.nogeom",tooltipPlacement:"left",size:"small",onClick:function(){return S("nogeom")},disabled:"nogeom"===x,children:[(0,m.jsx)(g.A,{}),e("basemaps.nogeom")]})})]},"basemapButtons"),width:"flex"};return(0,m.jsx)(c.A,{buttonPanel:{buttonPanelId:"basemapSelect",button:C,panel:E}})}},76547:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(30538),i=n(13679),o=n(53921),a=n(76933),s=n(42360),l=n(27797),c=n(48940),u=n(6335),d=n(97282);function h(){u.vF.logTraceRender("components/nav-bar/buttons/fullscreen");var e=(0,c.Jh)(),t=(0,i.A)(),n=(0,a.S)(t),h=(0,s.kv)(),p=(0,s.dD)().setFullScreenActive,f=(0,l.A6)().setFooterBarIsCollapsed;return(0,r.useEffect)((function(){function e(){document.fullscreenElement||p(!1)}return u.vF.logTraceUseEffect("FULLSCREEN - mount"),document.addEventListener("fullscreenchange",e),document.addEventListener("webkitfullscreenchange",e),document.addEventListener("mozfullscreenchange",e),document.addEventListener("MSFullscreenChange",e),function(){document.removeEventListener("fullscreenchange",e),document.removeEventListener("webkitfullscreenchange",e),document.removeEventListener("mozfullscreenchange",e),document.removeEventListener("MSFullscreenChange",e)}}),[]),(0,d.jsx)(o.IconButton,{id:"fullscreen",tooltip:"mapnav.fullscreen",tooltipPlacement:"left",onClick:function(){var t;(t=document.getElementById("shell-".concat(e)))&&(p(!h,t),f(!0))},sx:n.navButton,children:h?(0,d.jsx)(o.FullscreenExitIcon,{}):(0,d.jsx)(o.FullscreenIcon,{})})}},509:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(13679),i=n(53921),o=n(76933),a=n(42877),s=n(6335),l=n(97282);function c(){s.vF.logTraceRender("components/nav-bar/buttons/home");var e=(0,r.A)(),t=(0,o.S)(e),n=(0,a.U6)().zoomToInitialExtent;return(0,l.jsx)(i.IconButton,{id:"home",tooltip:"mapnav.home",tooltipPlacement:"left",onClick:function(){n().catch((function(e){s.vF.logPromiseFailed("Failed to zoomToInitialExtent in home.handleZoom",e)}))},sx:t.navButton,children:(0,l.jsx)(i.HomeIcon,{})})}},71909:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(13679),i=n(53921),o=n(76933),a=n(42877),s=n(42360),l=n(6335),c=n(97282);function u(){l.vF.logTraceRender("components/nav-bar/buttons/location");var e=(0,r.A)(),t=(0,o.S)(e),n=(0,a.U6)().zoomToMyLocation,u=(0,s.dD)().addNotification,d=function(e){n(e).catch((function(e){l.vF.logPromiseFailed("Failed to zoomToMyLocation in location.successCallback",e)}))},h=function(e){u({key:"location",message:"ERROR(".concat(e.code,"): ").concat(e.message),notificationType:"warning",count:0})};return(0,c.jsx)(i.IconButton,{id:"location",tooltip:"mapnav.location",tooltipPlacement:"left",onClick:function(){navigator.geolocation.getCurrentPosition(d,h)},sx:t.navButton,children:(0,c.jsx)(i.EmojiPeopleIcon,{})})}},5925:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(13679),i=n(53921),o=n(76933),a=n(42877),s=n(6335),l=n(97282);function c(){s.vF.logTraceRender("components/nav-bar/buttons/zoom-in");var e=(0,r.A)(),t=(0,o.S)(e),n=(0,a.Bm)(),c=(0,a.U6)().setZoom;return(0,l.jsx)(i.IconButton,{id:"zoomIn",tooltip:"mapnav.zoomIn",tooltipPlacement:"left",onClick:function(){return c(n+.5)},sx:t.navButton,children:(0,l.jsx)(i.ZoomInIcon,{})})}},29141:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(13679),i=n(53921),o=n(76933),a=n(42877),s=n(6335),l=n(97282);function c(){s.vF.logTraceRender("components/nav-bar/buttons/zoom-out");var e=(0,r.A)(),t=(0,o.S)(e),n=(0,a.Bm)(),c=(0,a.U6)().setZoom;return(0,l.jsx)(i.IconButton,{id:"zoomOut",tooltip:"mapnav.zoomOut",tooltipPlacement:"left",onClick:function(){return c(n-.5)},sx:t.navButton,children:(0,l.jsx)(i.ZoomOutIcon,{})})}},45992:(e,t,n)=>{"use strict";n.d(t,{v:()=>y});var r=n(36549),i=n(80085),o=n(24515),a=n(75079),s=n(72459);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t{"use strict";n.d(t,{A:()=>f});var r=n(888),i=n(30538),o=n(37919),a=n(13679),s=n(76933),l=n(53921),c=n(42360),u=n(48940),d=n(6335),h=n(27415),p=n(97282);function f(e){var t,n,f,g,m,y,v,b=e.buttonPanel;d.vF.logTraceRender("components/nav-bar/nav-bar-panel-button");var w=(0,a.A)(),x=(0,s.S)(w),A=(0,u.Jh)(),S=(0,c.sd)().querySelector('[id^="shell-'.concat(A,'"]')),C=(0,i.useState)(null),E=(0,r.A)(C,2),k=E[0],T=E[1],_=(0,i.useState)(!1),O=(0,r.A)(_,2),P=O[0],I=O[1],M=function(){P&&(I(!1),T(null))};return(0,p.jsx)(o.x,{mouseEvent:"onMouseDown",touchEvent:"onTouchStart",onClickAway:M,children:(0,p.jsxs)(l.Box,{children:[(0,p.jsx)(l.IconButton,{id:b.button.id,tooltip:b.button.tooltip,tooltipPlacement:b.button.tooltipPlacement,sx:x.navButton,onClick:function(e){return t=e,void(P?(I(!1),T(null)):(T(t.currentTarget),I(!0)));var t},className:P?"highlighted active":"",children:b.button.children},b.button.id),(0,p.jsx)(l.Popper,{open:P,anchorEl:k,placement:"left-end",onClose:M,container:S,sx:{marginRight:"5px !important"},children:(0,p.jsxs)(l.Paper,{sx:{width:"".concat(null!==(t=null===(n=b.panel)||void 0===n?void 0:n.width)&&void 0!==t?t:300,"px"),maxHeight:"500px"},children:[(0,p.jsx)(l.DialogTitle,{sx:x.popoverTitle,children:null!==(f=null===(g=b.panel)||void 0===g?void 0:g.title)&&void 0!==f?f:""}),(0,p.jsx)(l.DialogContent,{children:null!==(m=b.panel)&&void 0!==m&&m.convertHtmlContent?(0,p.jsx)(h.S,{htmlContent:null===(y=b.panel)||void 0===y?void 0:y.content}):null===(v=b.panel)||void 0===v?void 0:v.content})]})})]})},b.button.id)}},76933:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var r=function(e){return{navBarRef:{position:"absolute",right:e.spacing(7),padding:"6px",display:"flex",flexDirection:"column-reverse",marginRight:0,zIndex:150,pointerEvents:"all",justifyContent:"center",backgroundColor:"transparent",transition:"bottom 300ms ease-in-out",bottom:"6rem",alignItems:"flex-start",flexWrap:"wrap-reverse",maxHeight:"60%",gap:"15px"},navBtnGroupContainer:{display:"flex",position:"relative",pointerEvents:"auto",overflowY:"hidden",padding:5,flexDirection:"column"},navBtnGroup:{borderRadius:e.spacing(5),backgroundColor:e.palette.geoViewColor.bgColor.light[500],"& .MuiButtonGroup-grouped:not(:last-child)":{borderColor:e.palette.geoViewColor.bgColor.light[900]}},navButton:{backgroundColor:e.palette.geoViewColor.bgColor.light[500],color:e.palette.geoViewColor.bgColor.dark[900],borderRadius:e.spacing(5),width:"44px",height:"44px",maxWidth:"44px",minWidth:"44px",padding:"initial",transition:"background-color 0.3s ease-in-out","&:not(:last-of-type)":{borderBottomLeftRadius:0,borderBottomRightRadius:0,borderBottom:"1px solid ".concat(e.palette.geoViewColor.bgColor.light[900])},"&:not(:first-of-type)":{borderTopLeftRadius:0,borderTopRightRadius:0},"&:hover":{backgroundColor:e.palette.geoViewColor.bgColor.light[500],color:e.palette.geoViewColor.bgColor.dark[700]},"&:focus":{backgroundColor:e.palette.geoViewColor.bgColor.light[500],color:e.palette.geoViewColor.bgColor.dark[700]},"&:active":{backgroundColor:e.palette.geoViewColor.bgColor.light[500],color:e.palette.geoViewColor.bgColor.dark[950]}},popoverTitle:{fontSize:e.palette.geoViewFontSize.default,fontWeight:"700",color:e.palette.geoViewColor.textColor.main,borderBottom:"1px solid ".concat(e.palette.geoViewColor.bgColor.dark[100],"}")}}}},34959:(e,t,n)=>{"use strict";n.d(t,{j:()=>A});var r=n(24515),i=n(888),o=n(30538),a=n(43331),s=n(13679),l=n(4640),c=n(5925),u=n(29141),d=n(76547),h=n(509),p=n(71909),f=n(53921),g=n(76933),m=n(27797),y=n(6335),v=n(43345),b=n(97282);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t{"use strict";n.d(t,{A:()=>c});var r=n(888),i=n(30538),o=n(84044),a=n(22935),s=n(42877),l=n(6335);const c=function(){var e=(0,i.useState)({angle:0}),t=(0,r.A)(e,2),n=t[0],c=t[1],u=(0,i.useState)(0),d=(0,r.A)(u,2),h=d[0],p=d[1],f=(0,i.useRef)(0),g=(0,s.HA)(),m=(0,s.ej)(),y=(0,s.C0)(),v=(0,s.Bm)(),b=(0,s.uE)(),w=(0,s.a7)(),x=(0,s.ht)(),A=(0,s.U6)(),S=A.getPixelFromCoordinate,C=A.setRotation;return(0,i.useEffect)((function(){if(l.vF.logTraceUseEffect("USEMANAGEARROW - northArrowElement",m,y),"EPSG:".concat(g)===o.M.PROJECTION_NAMES.LCC&&!m.isNorthVisible){var e=parseFloat(m.degreeRotation),t=270-e;if(y&&(Math.round(f.current)!==Math.round(e)||v>7))f.current=e,C((180-e)*(2*Math.PI)/360),c({angle:0});else{var n=y?b*(180/Math.PI):0;c({angle:90-t+n})}!function(e){var t=x[0]/2,n=t-12;if(y||null===S(a.Tg))p(n);else{var i=S(a.Tg),o=i[1],s={x:n,y:S(w)[1],m:1};if(i[0]<2400&&i[1]>-1300&&-i[1]<3e3){var l=(0,r.A)(i,2);s.x=l[0],s.y=l[1],s.m=-1}var c=s.y/Math.sin(.01745329252*e),u=o<0?s.x+s.m*(Math.sin(.01745329252*(90-e))*c)-12:i[0]-24;u=Math.max(n-.25*t,Math.min(u,n+.25*t)),p(u)}}(t)}}),[m,y]),{rotationAngle:n,northOffset:h}}},67409:(e,t,n)=>{"use strict";n.d(t,{d:()=>o,e:()=>i});var r=n(97282);function i(e){var t=e.width,n=e.height;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",focusable:"false",style:{width:t,height:n},children:(0,r.jsxs)("g",{id:"northarrow",transform:"translate(-285.24 -142.234)",children:[(0,r.jsx)("path",{id:"path3770-7",d:"M305.91 156.648a8.652 8.652 0 0 1-8.654 8.653 8.652 8.652 0 0 1-8.653-8.653 8.653 8.653 0 0 1 8.653-8.653 8.653 8.653 0 0 1 8.653 8.653z",fill:"#fff",stroke:"#fff",strokeWidth:".895"}),(0,r.jsx)("path",{id:"path3770",d:"M304.982 156.648a7.725 7.725 0 0 1-7.726 7.726 7.725 7.725 0 0 1-7.726-7.726 7.725 7.725 0 0 1 7.726-7.726 7.725 7.725 0 0 1 7.726 7.726z",fill:"none",stroke:"#6d6d6d",strokeWidth:".799"}),(0,r.jsx)("path",{id:"path3774",d:"M297.256 156.648v-8.525",fill:"none",stroke:"#000",strokeWidth:".067"}),(0,r.jsx)("path",{d:"M297.258 143.48l8.793 22.432-8.811-8.812-8.812 8.812z",id:"path3778",fill:"#fff",stroke:"#fff",strokeWidth:".912"}),(0,r.jsx)("path",{d:"M297.256 144.805l7.726 19.568-7.726-7.726-7.726 7.726z",id:"path3780",fill:"#d6d6d6",stroke:"#000",strokeWidth:".266",strokeLinecap:"square"}),(0,r.jsx)("path",{id:"path6038",d:"M297.256 144.666l-7.726 19.568 7.726-7.726",fill:"#6d6d6d",strokeWidth:".296",strokeLinecap:"square"})]})})}function o(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24",children:[(0,r.jsx)("path",{d:"M0 0h24v24H0z",fill:"none"}),(0,r.jsx)("path",{d:"M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"})]})}},95318:(e,t,n)=>{"use strict";n.d(t,{l:()=>f,g:()=>g});var r=n(30538),i=n(13679),o=n(53921),a=n(84044),s=n(67409),l=function(e){var t,n;return{northArrowContainer:{left:"50%",position:"absolute"},northArrow:{width:null===(t=e.overrides)||void 0===t||null===(t=t.northArrow)||void 0===t?void 0:t.size.width,height:null===(n=e.overrides)||void 0===n||null===(n=n.northArrow)||void 0===n?void 0:n.size.height}}},c=n(42877),u=n(7404),d=n(48940),h=n(6335),p=n(97282);function f(){h.vF.logTraceRender("components/north-arrow/north-arrow");var e=(0,i.A)(),t=l(e),n=(0,r.useRef)(null),d=(0,c.HA)(),f=(0,c.ej)(),g=(0,u.A)(),m=g.rotationAngle,y=g.northOffset;return"EPSG:".concat(d)===a.M.PROJECTION_NAMES.LCC?(0,p.jsx)(o.Box,{ref:n,sx:t.northArrowContainer,style:{transition:e.transitions.create(["all","transform"],{duration:e.transitions.duration.standard,easing:e.transitions.easing.easeOut}),transform:"rotate(".concat(m.angle,"deg)"),visibility:f.isNorthVisible?"hidden":"visible",left:y},children:(0,p.jsx)(s.e,{width:t.northArrow.width,height:t.northArrow.height})}):(0,p.jsx)(o.Box,{})}function g(){var e=(0,d.Jh)(),t="".concat(e,"-northpole"),n=(0,r.useRef)(null),i=(0,c.HA)(),l=(0,c.U6)().setOverlayNorthMarkerRef;return setTimeout((function(){return l(n.current)}),0),(0,p.jsx)(o.Box,{ref:n,id:t,style:{visibility:"EPSG:".concat(i)===a.M.PROJECTION_NAMES.LCC?"visible":"hidden"},children:(0,p.jsx)(s.d,{})})}},64415:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(888),i=n(67970),o=n.n(i),a=n(30538),s=n(43331),l=n(13679),c=n(37919),u=n(38811),d=n(53921),h=function(e){return{notificationPanel:{display:"flex",flexDirection:"column",width:"350px",maxHeight:"500px",overflowY:"hidden",gap:"8px",marginLeft:"18px",backgroundColor:e.palette.geoViewColor.bgColor.light[200],borderRadius:"5px",boxShadow:2},notificationsHeader:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",padding:"20px",borderBottom:"1px solid ".concat(e.palette.geoViewColor.bgColor.dark[100],"}")},notificationsTitle:{fontSize:e.palette.geoViewFontSize.default,fontWeight:"700",color:e.palette.geoViewColor.textColor.main},notificationsList:{overflowY:"auto",padding:"0px 0px 20px 0px"},notificationItem:{display:"flex",flexDirection:"row",alignItems:"center",gap:"8px",padding:"10px 15px","&:not(:last-child)":{borderBottom:"1px solid ".concat(e.palette.geoViewColor.bgColor.dark[300])},"& .MuiIconButton-root":{color:e.palette.geoViewColor.textColor.lighten(.2,.4),"&:hover":{color:e.palette.geoViewColor.textColor.lighten(.2,.6)}}},notificationsCount:{backgroundColor:e.palette.geoViewColor.bgColor.dark[800],color:e.palette.geoViewColor.bgColor.light[800],fontSize:e.palette.geoViewFontSize.sm,borderRadius:"10px",height:"20px",width:"40px",textAlign:"center",lineHeight:"20px"}}},p=n(42360),f=n(48940),g=n(6335),m=n(42877),y=n(78742),v=n(97282);function b(){var e;g.vF.logTraceRender("components/notifications/notifications");var t=(0,s.useTranslation)().t,n=(0,l.A)(),i=h(n),b=(0,f.Jh)(),w=document.getElementById("shell-".concat(b)),x=(0,a.useState)(null),A=(0,r.A)(x,2),S=A[0],C=A[1],E=(0,a.useState)(!1),k=(0,r.A)(E,2),T=k[0],_=k[1],O=(0,a.useState)(0),P=(0,r.A)(O,2),I=P[0],M=P[1],L=(0,a.useState)(!1),R=(0,r.A)(L,2),j=R[0],F=R[1],D=(0,p.v9)(),N=(0,m.GT)(),B=(0,p.dD)(),z=B.removeNotification,V=B.removeAllNotifications;(0,a.useEffect)((function(){g.vF.logTraceUseEffect("Notifications - notifications list changed",I,D);var e=o()(D,(function(e){return e.count}));e>I&&_(!0),M(e)}),[D,I]),(0,a.useEffect)((function(){if(g.vF.logTraceUseEffect("Notifications - hasNewNotification change",T),T){var e=setTimeout((function(){return _(!1)}),1e3);return function(){return clearTimeout(e)}}}),[T,I]);var $=function(){j&&F(!1)},G=(0,y.yb)(),U=(0,u.CS)(d.Box);function W(e){switch(e.notificationType){case"success":return(0,v.jsx)(d.CheckCircleIcon,{color:"success"});case"info":return(0,v.jsx)(d.InfoIcon,{color:"info"});case"warning":return(0,v.jsx)(d.WarningIcon,{color:"warning"});default:return(0,v.jsx)(d.ErrorIcon,{color:"error"})}}function q(e,t){return(0,v.jsxs)(d.Box,{sx:i.notificationItem,children:[(0,v.jsx)(d.Box,{children:W(e)}),(0,v.jsx)(d.Box,{sx:{flexGrow:1,fontSize:n.palette.geoViewFontSize.sm,color:n.palette.geoViewColor.textColor.light[250]},children:(0,v.jsx)(d.Box,{component:"span",children:e.message})}),e.count>1?(0,v.jsx)(d.Box,{children:(0,v.jsx)(d.Box,{sx:i.notificationsCount,children:e.count})}):null,(0,v.jsx)(d.IconButton,{onClick:function(){return function(e){z(e.key)}(e)},children:(0,v.jsx)(d.CloseIcon,{})})]},t)}return(0,v.jsx)(c.x,{mouseEvent:"onMouseDown",touchEvent:"onTouchStart",onClickAway:$,children:(0,v.jsxs)(d.Box,{children:[(0,v.jsx)(d.Badge,{badgeContent:I>99?"99+":I,color:"error",children:(0,v.jsxs)(d.IconButton,{id:"notification",tooltip:"appbar.notifications","aria-label":"appbar.notifications",tooltipPlacement:"bottom-end",onClick:function(e){C(e.currentTarget),F(!j)},className:"".concat("dynamic"===N?"buttonFilled":"style4"," ").concat(j?"active":""),color:"primary",sx:{width:"2.375rem",height:"2.375rem"},children:[!T&&(0,v.jsx)(d.Box,{sx:{display:"inline-flex",alignItems:"center"},children:(0,v.jsx)(d.NotificationsIcon,{})}),T&&(0,v.jsx)(U,{sx:{display:"inline-flex",alignItems:"center"},style:G,children:(0,v.jsx)(d.NotificationsActiveIcon,{})})]})}),(0,v.jsx)(d.Popper,{open:j,anchorEl:S,placement:"right-end",onClose:$,container:w,children:(0,v.jsxs)(d.Paper,{sx:i.notificationPanel,children:[(0,v.jsxs)(d.Box,{sx:i.notificationsHeader,children:[(0,v.jsx)(d.Typography,{component:"h3",sx:i.notificationsTitle,children:t("appbar.notifications")}),(0,v.jsx)(d.Button,{type:"text",variant:"contained",disabled:0===D.length,size:"small",onClick:function(){V()},"aria-label":null!==(e=t("appbar.removeAllNotifications"))&&void 0!==e?e:"",children:t("appbar.removeAllNotifications")})]}),(0,v.jsx)(d.Box,{sx:i.notificationsList,children:D.length>0?D.map((function(e,t){return q(e,t)})):(0,v.jsx)(d.Typography,{component:"div",sx:{padding:"10px 15px"},children:t("appbar.no_notifications_available")})})]})})]})})}},37485:(e,t,n)=>{"use strict";n.d(t,{I:()=>d});var r=n(888),i=n(30538),o=n(43331),a=n(53921),s=n(6335),l=n(84681),c={toggleBtn:{transform:"rotate(45deg)",color:"black",zIndex:150,"&:hover":{cursor:"pointer"},"&.minimapOpen":{transform:"rotate(-45deg)"},"&.minimapClosed":{transform:"rotate(135deg)"}},toggleBtnContainer:{zIndex:150,position:"absolute",top:0,right:0}},u=n(97282);function d(e){var t=e.overviewMap,n=(0,(0,o.useTranslation)().t)("mapctrl.overviewmap.toggle"),d=(0,i.useState)(!0),h=(0,r.A)(d,2),p=h[0],f=h[1],g=(0,i.useRef)(null);return(0,i.useEffect)((function(){if(s.vF.logTraceUseEffect("OVERVIEW-MAP-TOGGLE - mount"),g&&g.current){var e=g.current.closest("button");e&&(e.setAttribute("aria-label",n),e.addEventListener("click",(function(){var e=t.getCollapsed();f(!e);var n=t.getOverviewMap().getTargetElement();n&&(e?(n.style.width="40px",n.style.height="40px",n.style.margin="0px"):(n.style.width="150px",n.style.height="150px"))})))}}),[]),(0,u.jsx)(a.Tooltip,{title:n,children:(0,u.jsx)(l.A,{ref:g,sx:c.toggleBtnContainer,children:(0,u.jsx)(l.A,{component:"div",sx:c.toggleBtn,className:p?"minimapOpen":"minimapClosed",style:{margin:0,padding:0,height:"initial",minWidth:"initial"},children:(0,u.jsx)(a.ChevronLeftIcon,{})})})})}},3227:(e,t,n)=>{"use strict";n.d(t,{G:()=>D});var r=n(30538),i=n(17004),o=n(16301),a=n(43331),s=n(21834),l=n(50046),c=n(26293),u=n(71094),d=n(67703),h=n(46784),p=n(6139),f=n(73966),g=n(78704),m=n(80293),y=n(11502),v=n(75805),b=n(91874),w=n(66569),x=n(29492),A=n(92548),S=n(90753);const C=.75,E=.1;class k extends u.A{constructor(e){e=e||{},super({element:document.createElement("div"),render:e.render,target:e.target}),this.boundHandleRotationChanged_=this.handleRotationChanged_.bind(this),this.collapsed_=void 0===e.collapsed||e.collapsed,this.collapsible_=void 0===e.collapsible||e.collapsible,this.collapsible_||(this.collapsed_=!1),this.rotateWithView_=void 0!==e.rotateWithView&&e.rotateWithView,this.viewExtent_=void 0;const t=void 0!==e.className?e.className:"ol-overviewmap",n=void 0!==e.tipLabel?e.tipLabel:"Overview map",r=void 0!==e.collapseLabel?e.collapseLabel:"‹";"string"==typeof r?(this.collapseLabel_=document.createElement("span"),this.collapseLabel_.textContent=r):this.collapseLabel_=r;const i=void 0!==e.label?e.label:"›";"string"==typeof i?(this.label_=document.createElement("span"),this.label_.textContent=i):this.label_=i;const o=this.collapsible_&&!this.collapsed_?this.collapseLabel_:this.label_,a=document.createElement("button");a.setAttribute("type","button"),a.title=n,a.appendChild(o),a.addEventListener(d.A.CLICK,this.handleClick_.bind(this),!1),this.ovmapDiv_=document.createElement("div"),this.ovmapDiv_.className="ol-overviewmap-map",this.view_=e.view;const s=new h.A({view:e.view,controls:new c.A,interactions:new c.A});this.ovmap_=s,e.layers&&e.layers.forEach((function(e){s.addLayer(e)}));const l=document.createElement("div");l.className="ol-overviewmap-box",l.style.boxSizing="border-box",this.boxOverlay_=new m.A({position:[0,0],positioning:"center-center",element:l}),this.ovmap_.addOverlay(this.boxOverlay_);const u=t+" "+b.XI+" "+b.$N+(this.collapsed_&&this.collapsible_?" "+b.nT:"")+(this.collapsible_?"":" ol-uncollapsible"),p=this.element;p.className=u,p.appendChild(this.ovmapDiv_),p.appendChild(a);const f=this,g=this.boxOverlay_,y=this.boxOverlay_.getElement(),v=function(e){const t={clientX:(n=e).clientX,clientY:n.clientY};var n;const r=s.getEventCoordinateInternal(t);g.setPosition(r)},w=function(e){const t=s.getEventCoordinateInternal(e);f.getMap().getView().setCenterInternal(t),window.removeEventListener("mousemove",v),window.removeEventListener("mouseup",w)};y.addEventListener("mousedown",(function(){window.addEventListener("mousemove",v),window.addEventListener("mouseup",w)}))}setMap(e){const t=this.getMap();if(e!==t){if(t){const e=t.getView();e&&this.unbindView_(e),this.ovmap_.setTarget(null)}if(super.setMap(e),e){this.ovmap_.setTarget(this.ovmapDiv_),this.listenerKeys.push((0,x.KT)(e,g.A.PROPERTYCHANGE,this.handleMapPropertyChange_,this));const t=e.getView();t&&(this.bindView_(t),t.isDef()&&(this.ovmap_.updateSize(),this.resetExtent_())),this.ovmap_.isRendered()||this.updateBoxAfterOvmapIsRendered_()}}}handleMapPropertyChange_(e){if(e.key===f.A.VIEW){const t=e.oldValue;t&&this.unbindView_(t);const n=this.getMap().getView();this.bindView_(n)}else this.ovmap_.isRendered()||e.key!==f.A.TARGET&&e.key!==f.A.SIZE||this.ovmap_.updateSize()}bindView_(e){if(!this.view_){const t=new y.Ay({projection:e.getProjection()});this.ovmap_.setView(t)}e.addChangeListener(v.A.ROTATION,this.boundHandleRotationChanged_),this.handleRotationChanged_()}unbindView_(e){e.removeChangeListener(v.A.ROTATION,this.boundHandleRotationChanged_)}handleRotationChanged_(){this.rotateWithView_&&this.ovmap_.getView().setRotation(this.getMap().getView().getRotation())}validateExtent_(){const e=this.getMap(),t=this.ovmap_;if(!e.isRendered()||!t.isRendered())return;const n=e.getSize(),r=e.getView().calculateExtentInternal(n);if(this.viewExtent_&&(0,w.equals)(r,this.viewExtent_))return;this.viewExtent_=r;const i=t.getSize(),o=t.getView().calculateExtentInternal(i),a=t.getPixelFromCoordinateInternal((0,w.getTopLeft)(r)),s=t.getPixelFromCoordinateInternal((0,w.getBottomRight)(r)),l=Math.abs(a[0]-s[0]),c=Math.abs(a[1]-s[1]),u=i[0],d=i[1];lu*C||c>d*C?this.resetExtent_():(0,w.containsExtent)(o,r)||this.recenter_()}resetExtent_(){const e=this.getMap(),t=this.ovmap_,n=e.getSize(),r=e.getView().calculateExtentInternal(n),i=t.getView(),o=Math.log(7.5)/Math.LN2,a=1/(Math.pow(2,o/2)*E);(0,w.scaleFromCenter)(r,a),i.fitInternal((0,A.VY)(r))}recenter_(){const e=this.getMap(),t=this.ovmap_,n=e.getView();t.getView().setCenterInternal(n.getCenterInternal())}updateBox_(){const e=this.getMap(),t=this.ovmap_;if(!e.isRendered()||!t.isRendered())return;const n=e.getSize(),r=e.getView(),i=t.getView(),o=this.rotateWithView_?0:-r.getRotation(),a=this.boxOverlay_,s=this.boxOverlay_.getElement(),l=r.getCenterInternal(),c=r.getResolution(),u=i.getResolution(),d=n[0]*c/u,h=n[1]*c/u;if(a.setPosition(l),s){s.style.width=d+"px",s.style.height=h+"px";const e="rotate("+o+"rad)";s.style.transform=e}}updateBoxAfterOvmapIsRendered_(){this.ovmapPostrenderKey_||(this.ovmapPostrenderKey_=(0,x.Jz)(this.ovmap_,p.A.POSTRENDER,(function(e){delete this.ovmapPostrenderKey_,this.updateBox_()}),this))}handleClick_(e){e.preventDefault(),this.handleToggle_()}handleToggle_(){this.element.classList.toggle(b.nT),this.collapsed_?(0,S.fo)(this.collapseLabel_,this.label_):(0,S.fo)(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_;const e=this.ovmap_;if(!this.collapsed_){if(e.isRendered())return this.viewExtent_=void 0,void e.render();e.updateSize(),this.resetExtent_(),this.updateBoxAfterOvmapIsRendered_()}}getCollapsible(){return this.collapsible_}setCollapsible(e){this.collapsible_!==e&&(this.collapsible_=e,this.element.classList.toggle("ol-uncollapsible"),!e&&this.collapsed_&&this.handleToggle_())}setCollapsed(e){this.collapsible_&&this.collapsed_!==e&&this.handleToggle_()}getCollapsed(){return this.collapsed_}getRotateWithView(){return this.rotateWithView_}setRotateWithView(e){this.rotateWithView_!==e&&(this.rotateWithView_=e,0!==this.getMap().getView().getRotation()&&(this.rotateWithView_?this.handleRotationChanged_():this.ovmap_.getView().setRotation(0),this.viewExtent_=void 0,this.validateExtent_(),this.updateBox_()))}getOverviewMap(){return this.ovmap_}render(e){this.validateExtent_(),this.updateBox_()}}const T=k;var _=n(48088),O=n(37485),P=n(48940),I=n(42360),M=n(42877),L=n(22557),R=n(6335),j=n(84681),F=n(97282);function D(e){R.vF.logTraceRender("components/overview-map/overview-map");var t=e.olMap,n=(0,P.Jh)(),c=(0,M.kg)(),u=(0,M.Bm)(),d=(0,M.HA)(),h=(0,I.t)(),p=(0,I.MF)();return(0,r.useEffect)((function(){R.vF.logTraceUseEffect("OVERVIEW-MAP - zoom level changed");var e=t.getControls().getArray().filter((function(e){return e instanceof T}))[0];e&&(u{"use strict";n.d(t,{F:()=>y});var r=n(24515),i=n(888),o=n(30538),a=n(43331),s=n(13679),l=n(53921),c=function(e){return{scaleControl:{display:"none"},scaleContainer:{display:"flex",backgroundColor:"transparent",border:"none",height:"100%",":hover":{backgroundColor:"transparent",color:e.palette.geoViewColor.white},"&.interaction-static":{padding:"5px",backdropFilter:"blur(5px)"}},scaleExpandedContainer:{display:"flex",flexDirection:"column",justifyContent:"center",height:"100%",gap:e.spacing(5)},scaleExpandedCheckmarkText:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",height:"18px",maxHeight:"18px"},scaleText:{fontSize:e.palette.geoViewFontSize.default,color:e.palette.geoViewColor.bgColor.light[800],whiteSpace:"nowrap",borderBottom:"2px solid ".concat(e.palette.geoViewColor.primary.light[300]),textTransform:"lowercase",position:"relative",display:"inline-block","&.interaction-static":{fontSize:e.palette.geoViewFontSize.md,fontWeight:"bold",borderBottom:"2px solid","&.hasScaleLine::before, &.hasScaleLine::after":{backgroundColor:"".concat(e.palette.geoViewColor.grey.dark[900]," !important"),width:"2px !important"}},"&.hasScaleLine::before, &.hasScaleLine::after":{content:'""',position:"absolute",bottom:"-1px",width:"1px",height:"8px",backgroundColor:e.palette.geoViewColor.bgColor.light[800]},"&.hasScaleLine::before":{left:"0px"},"&.hasScaleLine::after":{right:"0px"}},scaleCheckmark:{paddingRight:5,color:e.palette.geoViewColor.bgColor.light[800]}}},u=n(42877),d=n(27797),h=n(48940),p=n(6335),f=n(97282);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t{"use strict";n.d(t,{V:()=>r,e:()=>i});var r=function(e){var t="light"===e.palette.mode?e.palette.geoViewColor.primary.dark[300]:e.palette.geoViewColor.primary.light[300];return{trap:{display:"flex",justifyContent:"center",alignItems:"center",position:"absolute",top:e.spacing(0),left:e.spacing(0),width:"100%",zIndex:e.zIndex.focusDialog,overflow:"hidden"},exitFocus:{border:"unset"},enableFocus:{border:"5px solid ".concat(t,"\n }")}}},i=function(e){return{all:{height:"100%",width:"100%","& .layer-icon":{padding:3,borderRadius:0,border:"1px solid",borderColor:e.palette.geoViewColor.grey.dark[100],boxShadow:2,background:e.palette.geoViewColor.white,objectFit:"scale-down",width:"35px",height:"35px",marginRight:"10px"},"& a[href]":{color:e.palette.geoViewColor.primary.main,"*:hover":{color:e.palette.geoViewColor.primary.dark[300]}},"& *::-webkit-scrollbar":{width:"8px",height:"8px"},"& *::-webkit-scrollbar-track":{background:e.palette.geoViewColor.bgColor.darken(.5,.5),borderRadius:"5px"},"& *::-webkit-scrollbar-thumb":{background:e.palette.geoViewColor.bgColor.darken(.5),borderRadius:"5px"},".bordered":{border:"1px solid ".concat(e.palette.geoViewColor.bgColor.darken(.5,.5)),boxShadow:"0px 12px 9px -13px ".concat(e.palette.geoViewColor.bgColor.darken(.2,.5))},".bordered-primary":{border:"1px solid ".concat(e.palette.geoViewColor.primary.darken(.1,.9)),boxShadow:"0px 12px 9px -13px ".concat(e.palette.geoViewColor.bgColor.dark[200])}},shell:{display:"flex",flexDirection:"column",top:e.spacing(0),right:e.spacing(0),left:e.spacing(0),bottom:e.spacing(0),overflow:"hidden",zIndex:0,height:"100%"},mapShellContainer:{display:"flex",flexDirection:"row",minHeight:"100%",width:"100%",position:"relative",alignItems:"stretch"},mapContainer:{display:"flex",flexDirection:"column",minHeight:"100%",width:"100%",position:"relative",alignItems:"stretch"},skip:{position:"absolute",left:-1e3,height:"1px",width:"1px",textAlign:"left",overflow:"hidden",backgroundColor:e.palette.geoViewColor.white,zIndex:e.zIndex.tooltip,"&:active, &:focus":{left:e.spacing(0),zIndex:e.zIndex.tooltip,width:"auto",height:"auto",overflow:"visible"}}}}},29044:(e,t,n)=>{"use strict";n.d(t,{S:()=>m});var r=n(888),i=n(30538),o=n(43331),a=n(13679),s=n(49731),l=n(53921),c=n(27415),u=n(48748),d=n(22935),h=n(42360),p=n(27797),f=n(6335),g=n(97282);function m(e){f.vF.logTraceRender("containers/focus-trap/focus-trap");var t=e.mapId,n=e.focusTrapId,m=(0,o.useTranslation)().t,y=(0,a.A)(),v=(0,u.V)(y),b=(0,s.A)(y.breakpoints.down("md")),w=(0,i.useState)(!1),x=(0,r.A)(w,2),A=x[0],S=x[1],C=(0,i.useRef)(),E=(0,h.dD)().setCrosshairActive,k=(0,p.A6)().setActiveTrapGeoView,T=(0,h.sd)(),_=T.querySelector('[id^="mapTargetElement-"]'),O=(0,i.useRef)(_);O.current=_;var P=(0,i.useRef)();function I(e){var t;t=e,O.current===document.activeElement&&"Space"===t.code&&t.preventDefault()}function M(){k(!1),T.classList.remove("map-focus-trap"),T.querySelector(".geoview-shell").removeEventListener("keydown",L),document.removeEventListener("keydown",I),setTimeout((function(){var e;return null===(e=document.getElementById("toplink-".concat(n)))||void 0===e?void 0:e.focus()}),0),E(!1)}void 0!==O.current&&(P.current=O.current);var L=function(e){d.xb.includes(e.code)||(_.style.border=v.exitFocus.border),"KeyQ"===e.code&&e.ctrlKey&&M()};function R(e){var r=e.target.id.split("-")[0];("Tab"===e.code&&!e.shiftKey&&"toplink"===r||"Tab"===e.code&&e.shiftKey&&"bottomlink"===r)&&(e.preventDefault(),e.stopPropagation(),C.current="toplink"===r?"bottomlink-".concat(n):"toplink-".concat(n),S(!0),document.addEventListener("keydown",I),T.querySelector(".geoview-shell").addEventListener("mousemove",(function(){S(!1),M(),document.getElementById("mapTargetElement-".concat(t)).style.border=v.exitFocus.border}),{once:!0}))}return(0,i.useEffect)((function(){var e,t;return null===(e=document.getElementById("bottomlink-".concat(n)))||void 0===e||e.addEventListener("keydown",R),null===(t=document.getElementById("toplink-".concat(n)))||void 0===t||t.addEventListener("keydown",R),function(){var e,t;null===(e=document.getElementById("bottomlink-".concat(n)))||void 0===e||e.removeEventListener("keydown",R),null===(t=document.getElementById("toplink-".concat(n)))||void 0===t||t.removeEventListener("keydown",R),document.removeEventListener("keydown",I)}}),[]),(0,g.jsx)(l.Modal,{container:document.getElementById(n),modalId:n,open:A,"aria-labelledby":"wcag-dialog-title","aria-describedby":"wcag-dialog-description",fullScreen:b,sx:v.trap,titleId:"wcag-dialog-title",title:m("keyboardnav.focusdialog.title"),contentTextId:"wcag-dialog-description",contentModal:(0,g.jsx)(c.S,{htmlContent:m("keyboardnav.focusdialog.main")}),actions:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(l.Button,{id:"enable-focus",tooltip:m("keyboardnav.focusdialog.button.enable"),tooltipPlacement:"top-end",autoFocus:!0,onClick:function(){var e;S(!1),e=T.querySelector(".geoview-shell"),k(!0),e.classList.add("map-focus-trap"),e.addEventListener("keydown",L),setTimeout((function(){var e;return null===(e=document.getElementById("mapTargetElement-".concat(t)))||void 0===e?void 0:e.focus()}),0),E(!0),document.getElementById("mapTargetElement-".concat(t)).style.border=v.enableFocus.border},type:"text",sx:{width:"initial",textTransform:"none"},children:m("keyboardnav.focusdialog.button.enable")}),(0,g.jsx)(l.Button,{id:"skip-focus",tooltip:m("keyboardnav.focusdialog.button.skip"),tooltipPlacement:"top-end",onClick:function(){S(!1),setTimeout((function(){var e;return null===(e=document.getElementById(C.current))||void 0===e?void 0:e.focus()}),0)},type:"text",sx:{width:"initial",textTransform:"none"},children:m("keyboardnav.focusdialog.button.skip")})]})})}},27415:(e,t,n)=>{"use strict";n.d(t,{S:()=>d});var r=n(24515),i=n(43004),o=n(31082);o.domToReact,o.htmlToDOM,o.attributesToProps,o.Element;const a=o;var s=n(84681),l=n(97282);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t{"use strict";n.d(t,{$:()=>R});var r=n(24515),i=n(888),o=n(30538),a=n(43331),s=n(13679),l=n(72951),c=n(68968),u=n(21166),d=n(34959),h=n(66534),p=n(72391),f=n(53921),g=n(48748),m=n(42877),y=n(42360),v=n(27797),b=n(27282),w=n(57882),x=n(71125),A=n(6335),S=n(93858),C=n(6836),E=n(97282);function k(){var e,t,n,r,l;A.vF.logTraceRender("components/data-table/data-table-modal");var c=(0,a.useTranslation)().t,u=(0,s.A)(),d=(0,x.S)(u),h=(0,o.useState)(!0),p=(0,i.A)(h,2),g=p[0],m=p[1],y=(0,v.A6)().disableFocusTrap,b=(0,v.NP)().activeElementId,k=(0,w.u1)(),T=(0,S.Xh)(),_=(0,C.bc)(T),O=(0,o.useMemo)((function(){return A.vF.logTraceUseMemo("DATA-TABLE-MODAL - layer",_,k),null==_?void 0:_.find((function(e){return e.layerPath===k}))}),[_,k]),P=(0,o.useCallback)((function(e){return A.vF.logTraceUseCallback("DATA-TABLE-MODAL - getCellValue"),(0,E.jsx)(f.Box,{component:"div",sx:d.tableCell,children:e})}),[d.tableCell]),I=(0,o.useCallback)((function(e){return A.vF.logTraceUseCallback("DATA-TABLE-MODAL - getTableHeader"),(0,E.jsx)(f.Box,{component:"span",sx:{whiteSpace:"nowrap"},children:e})}),[]),M=(0,o.useMemo)((function(){var e;if(A.vF.logTraceUseMemo("DATA-TABLE-MODAL - columns",null==O?void 0:O.features),null==O||!O.fieldInfos)return[];var t=Object.entries(null!==(e=null==O?void 0:O.fieldInfos)&&void 0!==e?e:{}),n=[];return t.forEach((function(e){var t,r=(0,i.A)(e,2),a=r[0],s=r[1];n.push({id:a,accessorFn:function(e){var t,n,r,i;return(0,o.isValidElement)(e[a])?e[a]:("string"==typeof(null===(t=e[a])||void 0===t?void 0:t.value)||"number"==typeof(null===(n=e[a])||void 0===n?void 0:n.value))&&null!==(r=null===(i=e[a])||void 0===i?void 0:i.value)&&void 0!==r?r:""},header:null!==(t=null==s?void 0:s.alias)&&void 0!==t?t:"",Cell:function(e){var t=e.cell;return P(t.getValue())},Header:function(e){var t=e.column;return I(t.columnDef.header)},maxSize:120})})),n}),[null==O?void 0:O.fieldInfos]),L=(0,o.useMemo)((function(){var e,t;return A.vF.logTraceUseMemo("DATA-TABLE-MODAL - rows",null==O?void 0:O.fieldInfos),null!==(e=null==O||null===(t=O.features)||void 0===t?void 0:t.map((function(e){return e.fieldInfo})))&&void 0!==e?e:[]}),[null==O?void 0:O.features,null==O?void 0:O.fieldInfos]);return(0,o.useEffect)((function(){A.vF.logTraceUseEffect("DATA-TABLE-MODAL - query status");var e=T.find((function(e){return e.layerPath===k}));"error"!==(null==e?void 0:e.queryStatus)&&"processed"!==(null==e?void 0:e.queryStatus)?m(!0):m(!1)}),[T,k]),(0,E.jsxs)(f.Dialog,{open:"layerDataTable"===b,onClose:y,maxWidth:"xl",children:[(0,E.jsx)(f.DialogTitle,{children:"".concat(c("legend.tableDetails")," ").concat(null!==(e=null==O?void 0:O.layerName)&&void 0!==e?e:k)}),(0,E.jsxs)(f.DialogContent,{sx:{overflow:"hidden"},children:[g&&(0,E.jsx)(f.Box,{sx:{minHeight:"300px",minWidth:"450px",position:"relative"},children:(0,E.jsx)(f.CircularProgress,{isLoaded:!g,sx:{backgroundColor:"inherit"}})}),!g&&(0,E.jsx)(f.MRTTable,{columns:M,data:L,enableColumnActions:!1,enablePagination:(null!==(t=null==O||null===(n=O.features)||void 0===n?void 0:n.length)&&void 0!==t?t:0)>50,enableBottomToolbar:(null!==(r=null==O||null===(l=O.features)||void 0===l?void 0:l.length)&&void 0!==r?r:0)>50,initialState:{density:"compact",pagination:{pageSize:50,pageIndex:0}},muiPaginationProps:{rowsPerPageOptions:[50,100]},muiTableContainerProps:{sx:{maxHeight:"60vh"}},enableStickyHeader:!0,enableSorting:!0,positionToolbarAlertBanner:"none",enableGlobalFilter:!1,enableColumnFilters:!1,enableDensityToggle:!1,enableFilters:!1,enableFullScreenToggle:!1,enableHiding:!1,enableTopToolbar:!1})]}),(0,E.jsx)(f.DialogActions,{children:(0,E.jsx)(f.Button,{fullWidth:!0,variant:"contained",className:"buttonOutlineFilled",onClick:y,type:"text",autoFocus:!0,children:c("general.close")})})]})}var T=n(99961),_=n(78611);function O(){var e;A.vF.logTraceRender("components/details/feature-detail-modal");var t=(0,a.useTranslation)().t,n=(0,s.A)(),r=(0,T.S)(n),i=(0,v.A6)().disableFocusTrap,l=(0,v.NP)().activeElementId,c=(0,S.j3)(),u=(0,o.useMemo)((function(){var e;return A.vF.logTraceUseMemo("DETAILS PANEL - Feature Detail Modal - featureInfoList"),Object.keys(null!==(e=null==c?void 0:c.fieldInfo)&&void 0!==e?e:{}).map((function(e){return{fieldKey:c.fieldInfo[e].fieldKey,value:c.fieldInfo[e].value,dataType:c.fieldInfo[e].dataType,alias:c.fieldInfo[e].alias?c.fieldInfo[e].alias:e,domain:null}}))}),[c]);return(0,E.jsxs)(f.Dialog,{open:"featureDetailDataTable"===l&&!!c,onClose:i,maxWidth:"lg",disablePortal:!0,sx:r.featureDetailModal,children:[(0,E.jsx)(f.DialogTitle,{children:t("details.featureDetailModalTitle")}),(0,E.jsxs)(f.DialogContent,{children:[(0,E.jsxs)(f.Box,{display:"flex",flexDirection:"row",alignItems:"center",pb:10,children:[(0,E.jsx)(f.Box,{component:"img",alt:null!==(e=null==c?void 0:c.nameField)&&void 0!==e?e:"",src:c.featureIcon.toDataURL().toString(),className:"layer-icon"}),(0,E.jsx)(f.Typography,{sx:{display:"inline-block"},component:"div",children:c.nameField})]}),(0,E.jsx)(f.List,{sx:r.featureDetailListContainer,children:(0,E.jsx)(_.P,{featureInfoList:u})})]}),(0,E.jsx)(f.DialogActions,{children:(0,E.jsx)(f.Button,{fullWidth:!0,variant:"contained",className:"buttonOutlineFilled",onClick:i,type:"text",size:"small",autoFocus:!0,children:t("general.close")})})]})}var P=n(48940),I=n(29044);function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t{"use strict";n.d(t,{O7:()=>b,oy:()=>x,Jh:()=>w});var r=n(51644);const i=e=>(t,n,r)=>{const i=r.subscribe;r.subscribe=(e,t,n)=>{let o=e;if(t){const i=(null==n?void 0:n.equalityFn)||Object.is;let a=e(r.getState());o=n=>{const r=e(n);if(!i(a,r)){const e=a;t(a=r,e)}},(null==n?void 0:n.fireImmediately)&&t(a,a)}return i(o)};return e(t,n,r)};var o=n(80363),a=n.n(o),s=n(37745),l=n(42360),c=n(92282),u=n(57882),d=n(42877),h=n(93858),p=n(68194),f=n(25460),g=n(63083),m=n(27797),y=n(6335),v=n(9374),b=i((function(e,t){return y.vF.logTraceCore("Initializing store core states..."),{mapConfig:void 0,setMapConfig:function(n){var r,i,o;y.vF.logDebug("Sending the map config to the store...",n.mapId);for(var s=a()(n),l=0;l<((null===(c=s.map)||void 0===c||null===(c=c.listOfGeoviewLayerConfig)||void 0===c?void 0:c.length)||0);l++){var c,u=(0,v.si)(s.map.listOfGeoviewLayerConfig[l]);s.map.listOfGeoviewLayerConfig[l]=u}e({mapConfig:s,mapId:n.mapId}),t().appState.setDefaultConfigValues(n),t().mapState.setDefaultConfigValues(n),t().uiState.setDefaultConfigValues(n),null!==(r=n.footerBar)&&void 0!==r&&r.tabs.core.includes("time-slider")&&e({timeSliderState:(0,p.mU)(e,t)}),null!==(i=n.footerBar)&&void 0!==i&&i.tabs.core.includes("geochart")&&e({geochartState:(0,f.Dj)(e,t)}),null!==(o=n.corePackages)&&void 0!==o&&o.includes("swiper")&&e({swiperState:(0,g.eC)(e,t)})},appState:(0,l.$g)(e,t),detailsState:(0,c.yw)(e,t),dataTableState:(0,h.Mo)(e,t),layerState:(0,u.tK)(e,t),mapState:(0,d.aM)(e,t),uiState:(0,m.Oz)(e,t)}})),w=((0,r.vt)()(b),function(){return(0,r.Pj)((0,s.Ni)(),(function(e){return e.mapId}))}),x=function(){return(0,r.Pj)((0,s.Ni)(),(function(e){return e.mapConfig}))}},2712:(e,t,n)=>{"use strict";n.d(t,{Jh:()=>r.Jh,U6:()=>i.U6});var r=n(48940),i=(n(42360),n(93858),n(92282),n(25460),n(57882),n(42877));n(68194),n(27797),n(37745)},42360:(e,t,n)=>{"use strict";n.d(t,{$g:()=>p,D4:()=>f,DR:()=>x,MF:()=>y,_V:()=>b,dD:()=>E,e_:()=>g,iO:()=>C,kv:()=>v,lk:()=>S,sd:()=>w,t:()=>m,v9:()=>A});var r=n(77156),i=n(24515),o=n(51644),a=n(2938),s=n(37745),l=n(6335),c=n(72459),u=n(82997);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t{"use strict";n.d(t,{D5:()=>d,Mo:()=>c,Xh:()=>u,_M:()=>h,eQ:()=>g,j3:()=>f,x9:()=>p});var r=n(24515),i=n(51644),o=n(36),a=n(37745);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{"use strict";n.d(t,{Jr:()=>p,MQ:()=>f,SK:()=>h,aU:()=>u,yU:()=>d,yw:()=>c});var r=n(77156),i=n(24515),o=n(51644),a=n(37745);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{"use strict";n.d(t,{Dj:()=>l,N3:()=>h,bS:()=>u,eq:()=>d,if:()=>c});var r=n(24515),i=n(51644),o=n(37745);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t{"use strict";n.d(t,{$T:()=>v,Uk:()=>w,Yo:()=>f,Zt:()=>p,q5:()=>y,tK:()=>h,u1:()=>g,wU:()=>b,y5:()=>m});var r=n(77156),i=n(24515),o=n(51644),a=n(37745),s=n(22935),l=n(22557),c=n(23620);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";n.d(t,{Bm:()=>L,C0:()=>v,GT:()=>b,HA:()=>_,JQ:()=>E,KE:()=>T,Mk:()=>A,NZ:()=>f,Nt:()=>x,Rs:()=>y,U6:()=>R,_I:()=>C,a7:()=>g,aM:()=>h,ej:()=>S,gx:()=>P,ht:()=>I,kI:()=>w,kg:()=>k,re:()=>p,uE:()=>O,wE:()=>M,yC:()=>m});var r=n(77156),i=n(24515),o=n(51644),a=n(37745),s=n(84044),l=n(22557),c=n(82997);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t-1||!1,overviewMap:n.components.indexOf("overview-map")>-1||!1,overviewMapHideZoom:void 0!==n.overviewMap?n.overviewMap.hideOnZoom:0,pointMarkers:(null===(i=n.map.overlayObjects)||void 0===i?void 0:i.pointMarkers)||{},rotation:n.map.viewSettings.rotation||0,zoom:null!==(o=n.map.viewSettings.initialView)&&void 0!==o&&o.zoomAndCenter?n.map.viewSettings.initialView.zoomAndCenter[0]:3.5})})},actions:{createBasemapFromOptions:function(e){return l.d.setBasemap(t().mapId,e)},getPixelFromCoordinate:function(e){return l.d.getPixelFromCoordinate(t().mapId,e)},getIndexFromOrderedLayerInfo:function(e){return l.d.getMapIndexFromOrderedLayerInfo(t().mapId,e)},getLegendCollapsedFromOrderedLayerInfo:function(e){return l.d.getMapLegendCollapsedFromOrderedLayerInfo(t().mapId,e)},getVisibilityFromOrderedLayerInfo:function(e){return l.d.getMapVisibilityFromOrderedLayerInfo(t().mapId,e)},showClickMarker:function(e){l.d.clickMarkerIconShow(t().mapId,e)},hideClickMarker:function(){l.d.clickMarkerIconHide(t().mapId)},highlightBBox:function(e,n){l.d.highlightBBox(t().mapId,e,n)},addHighlightedFeature:function(e){l.d.addHighlightedFeature(t().mapId,e)},removeHighlightedFeature:function(e){l.d.removeHighlightedFeature(t().mapId,e)},addPointMarkers:function(e,n){return l.d.addPointMarkers(t().mapId,e,n)},removePointMarkersOrGroup:function(e,n){return l.d.removePointMarkersOrGroup(t().mapId,e,n)},reorderLayer:function(e,n){l.d.reorderLayer(t().mapId,e,n)},resetBasemap:function(){return l.d.resetBasemap(t().mapId)},setCurrentBasemapOptions:function(e){t().mapState.setterActions.setCurrentBasemapOptions(e)},setLegendCollapsed:function(e,n){t().mapState.setterActions.setLegendCollapsed(e,n)},setOrToggleLayerVisibility:function(e,n){l.d.setOrToggleMapLayerVisibility(t().mapId,e,n)},setMapKeyboardPanInteractions:function(e){l.d.setMapKeyboardPanInteractions(t().mapId,e)},setZoom:function(e,n){l.d.zoom(t().mapId,e,n)},setInteraction:function(e){l.d.setInteraction(t().mapId,e)},setRotation:function(e){l.d.rotate(t().mapId,e)},zoomToExtent:function(e,n){return l.d.zoomToExtent(t().mapId,e,n)},zoomToInitialExtent:function(){return l.d.zoomToInitialExtent(t().mapId)},zoomToGeoLocatorLocation:function(e,n){return l.d.zoomToGeoLocatorLocation(t().mapId,e,n)},zoomToMyLocation:function(e){return l.d.zoomToMyLocation(t().mapId,e)},transformPoints:function(e,n){return s.M.transformPoints(e,"EPSG:".concat(t().mapState.currentProjection),"EPSG:".concat(n))},setClickCoordinates:function(e){return l.d.setClickCoordinates(t().mapId,e)},setFixNorth:function(e){t().mapState.setterActions.setFixNorth(e)},setOverlayClickMarkerRef:function(e){var n=t().mapState.overlayClickMarker;void 0!==n&&n.setElement(e)},setOverlayNorthMarkerRef:function(e){var n=t().mapState.overlayNorthMarker;void 0!==n&&n.setElement(e)}},setterActions:{setMapChangeSize:function(n,r){e({mapState:d(d({},t().mapState),{},{size:n,scale:r})})},setMapLoaded:function(n){e({mapState:d(d({},t().mapState),{},{mapLoaded:n})})},setAttribution:function(n){e({mapState:d(d({},t().mapState),{},{attribution:n})})},setCurrentBasemapOptions:function(n){e({mapState:d(d({},t().mapState),{},{currentBasemapOptions:n})})},setInitialFilters:function(n){e({mapState:d(d({},t().mapState),{},{initialFilters:n})})},setInteraction:function(n){e({mapState:d(d({},t().mapState),{},{interaction:n})})},setZoom:function(n){e({mapState:d(d({},t().mapState),{},{zoom:n})})},setRotation:function(n){e({mapState:d(d({},t().mapState),{},{rotation:n})})},setOverlayClickMarker:function(n){e({mapState:d(d({},t().mapState),{},{overlayClickMarker:n})})},setOverlayNorthMarker:function(n){e({mapState:d(d({},t().mapState),{},{overlayNorthMarker:n})})},setProjection:function(n){e({mapState:d(d({},t().mapState),{},{currentProjection:n})})},setPointMarkers:function(n){e({mapState:d(d({},t().mapState),{},{pointMarkers:n})})},setMapMoveEnd:function(n,r,i,o,a,s){e({mapState:d(d({},t().mapState),{},{centerCoordinates:n,northArrowElement:{degreeRotation:i,isNorthVisible:o},mapExtent:a,scale:s})}),t().mapState.setterActions.setClickMarker(void 0),t().appState.isCrosshairsActive&&t().mapState.setterActions.setPointerPosition(r)},setPointerPosition:function(n){e({mapState:d(d({},t().mapState),{},{pointerPosition:n})})},setClickCoordinates:function(n){e({mapState:d(d({},t().mapState),{},{clickCoordinates:n})})},setFixNorth:function(n){e({mapState:d(d({},t().mapState),{},{fixNorth:n})})},setHighlightedFeatures:function(n){e({mapState:d(d({},t().mapState),{},{highlightedFeatures:n})})},setVisibleLayers:function(n){e({mapState:d(d({},t().mapState),{},{visibleLayers:n})})},setOrderedLayerInfo:function(n){e({mapState:d(d({},t().mapState),{},{orderedLayerInfo:(0,r.A)(n)})})},setHoverable:function(e,n){var r=t().mapState.orderedLayerInfo,i=r.find((function(t){return t.layerPath===e}));i&&(i.hoverable=n,t().mapState.setterActions.setOrderedLayerInfo(r))},setLegendCollapsed:function(e,n){var r=t().mapState.orderedLayerInfo,i=r.find((function(t){return t.layerPath===e}));if(i){var o=n||!i.legendCollapsed;i.legendCollapsed=o,t().mapState.setterActions.setOrderedLayerInfo(r)}},setQueryable:function(e,n){var r=t().mapState.orderedLayerInfo,i=r.find((function(t){return t.layerPath===e}));i&&(i.queryable=n,n&&(i.hoverable=n),t().mapState.setterActions.setOrderedLayerInfo(r))},setClickMarker:function(n){e({mapState:d(d({},t().mapState),{},{clickMarker:n?{lnglat:n}:void 0})})},setHoverFeatureInfo:function(n){e({mapState:d(d({},t().mapState),{},{hoverFeatureInfo:n})})}}}}var p=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.attribution}))},f=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.basemapOptions}))},g=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.centerCoordinates}))},m=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.clickMarker}))},y=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.clickCoordinates}))},v=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.fixNorth}))},b=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.interaction}))},w=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.hoverFeatureInfo}))},x=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.mapLoaded}))},A=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.northArrow}))},S=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.northArrowElement}))},C=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.orderedLayerInfo}))},E=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.overviewMap}))},k=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.overviewMapHideZoom}))},T=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.pointerPosition}))},_=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.currentProjection}))},O=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.rotation}))},P=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.scale}))},I=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.size}))},M=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.visibleLayers}))},L=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.zoom}))},R=function(){return(0,o.Pj)((0,a.Ni)(),(function(e){return e.mapState.actions}))}},63083:(e,t,n)=>{"use strict";n.d(t,{eC:()=>c,lT:()=>u});var r=n(24515),i=n(51644),o=n(37745),a=n(74501);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{"use strict";n.d(t,{Gg:()=>h,h4:()=>d,ky:()=>u,mU:()=>c});var r=n(24515),i=n(51644),o=n(37745),a=n(86124);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{"use strict";n.d(t,{A6:()=>E,NP:()=>p,OZ:()=>y,Oz:()=>h,PK:()=>S,Qy:()=>C,Uu:()=>w,XP:()=>m,bd:()=>g,dY:()=>x,ex:()=>v,g_:()=>f,m:()=>A,r4:()=>b});var r=n(77156),i=n(24515),o=n(46900),a=n.n(o),s=n(51644),l=n(37745),c=n(12003);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";n.d(t,{dE:()=>I,Ic:()=>M,gU:()=>L,e4:()=>R,Ni:()=>j});var r=n(24515),i=n(30538),o=n(69249),a=n(51644),s=n(17004);var l=n(2938),c=n(68020),u=n(23620),d=n(22557),h=n(86124),p=n(2210),f=n(36),g=n(74501),m=new l.K,y=new c.h,v=new u.K,b=new d.d,w=new f.F,x=new h.t,A=new p.U,S=new g.Z;var C=n(48940),E=n(30684),k=n(6335),T=n(72459);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t{const n=(0,i.useRef)(r.count);return(0,i.useEffect)((()=>{n.current+=1,n.current===r.count+1&&(n.current-=1,t.setState(e))})),null};if(o.displayName=`((${e})) devtool`,"undefined"==typeof document)return;if(!n){let t=document.getElementById(`simple-zustand-devtools-${e}`);t||(t=document.createElement("div"),t.id=`simple-zustand-devtools-${e}`),document.body.appendChild(t),n=t}const a=(0,s.H)(n),l=e=>{e&&(a.render(i.createElement(o,Object.assign({},e))),r.count+=1)};l(t.getState()),t.subscribe(l)}("getViewStore-".concat(e.mapId),c)}},M=function(e){return P.getState().stores[null!=e?e:"unknown"]},L=function(e){return(0,T.whenThisThen)((function(){return M(e)}))},R=function(e){var t,n,r,i;t=M(e),m.destroy(),y.destroy(),v.destroy(),b.destroy(),w.destroy(),null!==(n=t.getState().mapConfig.footerBar)&&void 0!==n&&n.tabs.core.includes("time-slider")&&x.destroy(),null!==(r=t.getState().mapConfig.footerBar)&&void 0!==r&&r.tabs.core.includes("geochart")&&A.destroy(),null!==(i=t.getState().mapConfig.corePackages)&&void 0!==i&&i.includes("swiper")&&S.destroy(),delete P.getState().stores[e]},j=function(){var e=(0,i.useContext)(E.w).mapId;return P.getState().stores[null!=e?e:"unknown"]}},87774:(e,t,n)=>{"use strict";var r=n(16301),i=n(43331);const o=JSON.parse('{"general":{"add":"Add","close":"Close","exit":"Exit","layers":"Layers","name":"Name","open":"Open","remove":"Remove","view":"View","openFullscreen":"Open in fullscreen","closeFullscreen":"Close fullscreen","openGuide":"Open guide","guide":"Guide","fullScreen":"Full screen"},"mapnav":{"arianavbar":"Vertical button group for map navigation","basemap":"Change basemap","fullscreen":"Full screen","home":"Reset to initial view","zoomIn":"Zoom in","zoomOut":"Zoom out","coordinates":"Toggle coordinates format","scale":"Toggle between scale and resolution","location":"Zoom to my location"},"basemaps":{"select":"Select a basemap","default":"Default","transport":"Transport","imagery":"Imagery","simple":"Simple","nogeom":"None"},"mapctrl":{"rotation":{"resetRotation":"Reset Rotation","fixedNorth":"Fix North"},"mouseposition":{"east":"E","west":"W","north":"N","south":"S"},"overviewmap":{"toggle":"Toggle overview map","error":"Error loading overview map"},"attribution":{"defaultnrcan":"© His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources","tooltip":"Attribution"},"crosshair":"Use Arrows, + and - keys to navigate the map, Enter to select and Shift+Arrow Up or Down to modify the pan value."},"appbar":{"export":"Export","notifications":"Notification","no_notifications_available":"No notifications available","layers":"Layers","share":"Share","version":"About GeoView","repoLink":"Github","removeAllNotifications":"Remove all"},"legend":{"title":"Legend","removeLayer":"Remove layer","zoomTo":"Zoom to layer","addLayer":"Add layer","sortLayers":"Sort layers","sort":"Sort","layerError":"Layer has an error...","layerLoading":"Layer is loading...","tableDetails":"Table details","refreshLayer":"Refresh layer","highlightLayer":"Highlight layer","subLayersCount":"{count} sublayers","itemsCount":"{count} of {totalCount} classes","legendInstructions":"Legend Instructions","noLayersAdded":"No layers added to the map","noLayersAddedDescription":"Add layers to the map by clicking on the \'Layers\' button and adding the layers you want to display."},"layers":{"title":"Layers","subLayersList":"Sublayers list","finish":"Finish","continue":"Continue","back":"Back","or":"or","dropzone":"Drop here","upload":"Choose a file","drop":"Drop the file to upload","url":"Enter URL or Geocore id","layer":"Layer","stepOne":"Upload a file or enter URL/Geocore id","stepTwo":"Select format","stepThree":"Configure layer","stepFour":"Enter name","service":"Service type","name":"Name","layerSelect":"Select layer(s)","errorEmpty":"cannot be empty","errorNone":"No file or source added","errorFile":"Only geoJSON, CSV and GeoPackage files can be used","errorServer":"source is not valid","errorNotLoaded":"An error occured when loading the layer","errorProj":"does not support current map projection","only":"only","opacity":"Opacity","opacityMax":"Maximum from parent","reloadLayer":"Reload layer","visibilityIsAlways":"Visibility is always enabled","toggleVisibility":"Toggle visibility","toggleCollapse":"Toggle collapse","querying":"Querying","layerAdded":"Layer __param__ added","instructionsNoLayersTitle":"No layers visible","instructionsNoLayersBody":"Add visible layers on the map."},"details":{"title":"Details","zoomTo":"Zoom to feature","select":"Highlight feature on map","externalLink":"External Link","feature":"feature","clickOnMap":"Click on map","nextFeatureBtn":"Next feature","previousFeatureBtn":"Previous feature","clearAllfeatures":"Clear all feature highlights","keepFeatureSelected":"Keep feature highlighted","featureDetailsTitle":"Feature {count} of {total}","featureDetailModalTitle":"Feature Detail"},"lightbox":{"next":"Next","previous":"Previous","close":"Close","download":"Download"},"keyboardnav":{"start":"Skip after map element","end":"Skip before map element","focusdialog":{"title":"Keyboard navigation","main":"If enable, we will keep focus locked on the viewer.\\nTo exit, press CTRL + Q","button":{"enable":"Enable","skip":"Skip"}}},"validation":{"layer":{"loadfailed":"Layer [__param__] failed to load on map __param__.","notfound":"The sublayer __param__ of the layer __param__ does not exist on the server","createtwice":"Can not execute the createGeoViewRasterLayers method twice for the layer __param__ on map __param__","usedtwice":"Duplicate use of layer identifier [__param__] on map __param__","multipleUUID":"GeoCore layers may only have one GeoCore id per layer"},"schema":{"notFound":"A schema error was found, check the console to see what is wrong.","wrongPath":"Cannot find schema ([__param__])"},"changeDisplayLanguageLayers":"Layers can not be relaoded because the configuration does not support this language","changeDisplayLanguage":"Only \'en\' and \'fr\' are supported","changeDisplayTheme":"Theme unsupported","changeDisplayProjection":"Projection unsupported","invalidConfig":"Invalid JSON config, default configuration applied."},"exportModal":{"title":"Export map as PNG","cancelBtn":"Cancel","exportBtn":"Export","exportTitle":"Title","approx":"approx"},"geolocator":{"title":"Geolocator","search":"Search","errorMessage":"No matches found for","province":"Province","category":"Category","clearFilters":"Clear filters","noFilter":"No filter"},"hovertooltip":{"alticon":"Selected feature icon"},"dataTable":{"title":"Data Table","icon":"ICON","zoom":"ZOOM","details":"DETAILS","exportBtn":"Export","jsonExportBtn":"Download GeoJSON","downloadAsCSV":"Download CSV","filterMap":"Filter map","stopFilterMap":"Stop filter map","rowsSelected":"{rowsSelected} of {totalRows} row(s) selected","rowsFiltered":"{rowsFiltered} of {totalRows} row(s) filtered","enlargeBtn":"Enlarge","reduceBtn":"Reduce","features":"feature(s)","featureFiltered":"features filtered","images":"Images","close":"Close","noFeatures":"unknown..."},"geoChart":{"noChartAvailable":"Click on the map on a layer with chart"},"guide":{"title":"Guide","errorMessage":"Sorry, unable to find the help document!"},"footerBar":{"focusToMap":"Focus to map","focusToFooter":"Focus to footer","resizeTooltip":"Resize","noTab":"No tab"}}'),a=JSON.parse('{"general":{"add":"Ajouter","close":"Fermer","layers":"Couches","name":"Nom","exit":"Sortir","open":"Ouvrir","remove":"Retirer","view":"Vue","openFullscreen":"Ouvrir en plein écran","closeFullscreen":"Fermer le plein écran","openGuide":"Ouvrir le guide","guide":"Guide","fullScreen":"Plein écran"},"mapnav":{"arianavbar":"Groupe de buttons vertical pour navigation sur la carte","basemap":"Changer la carte de base","fullscreen":"Plein écran","home":"Retour à la vue initiale","zoomIn":"Zoom avant","zoomOut":"Zoom arrière","coordinates":"Basculer le format des coordonnées","scale":"Basculer entre l\'échelle et la résolution","location":"Zoom sur ma position"},"basemaps":{"select":"Choisir une carte de base","default":"Défaut","transport":"Transport","imagery":"Imagerie Satellitaire","simple":"Simple","nogeom":"Aucun"},"mapctrl":{"rotation":{"resetRotation":"Réinitialiser la rotation","fixedNorth":"Nord fixe"},"mouseposition":{"east":"E","west":"O","north":"N","south":"S"},"overviewmap":{"toggle":"Basculer la carte d\'aperçu","error":"Erreur lors du chargement de la carte d\'aperçu"},"attribution":{"defaultnrcan":"© Sa Majesté le Roi du Chef du Canada, représentée par le ministre des Ressources naturelle","tooltip":"Attribution"},"crosshair":"Utiliser les touches fléchées, + et - pour naviguer sur la carte, Entrée pour sélectionner et Shift+fléchées Haut et Bas pour modfier le déplacement."},"appbar":{"export":"Exporter","notifications":"Notification","no_notifications_available":"Aucune notification disponible","layers":"Couches","share":"Partager","version":"À propos de GéoView","repoLink":"Github","removeAllNotifications":"Effacer tout"},"legend":{"title":"Légende","removeLayer":"Retirer la couche","zoomTo":"Zoom sur la couche","addLayer":"Ajouter une couche","sortLayers":"Trier les couches","sort":"Trier","layerError":"La couche a une erreur...","layerLoading":"La couche se charge...","tableDetails":"Table détaillée","refreshLayer":"Rafraîchir la couche","highlightLayer":"Couche mise en évidence","subLayersCount":"{count} sous-couches","itemsCount":"{count} sur {totalCount} classes","legendInstructions":"Legend Instructions","noLayersAdded":"Aucune couche ajoutée","noLayersAddedDescription":"Ajoutez des couches à la carte en cliquant sur le bouton \'Couches\' et en sélectionnant les couches que vous souhaitez afficher."},"layers":{"title":"Couches","subLayersList":"Liste des sous-couches","finish":"Terminer","continue":"Continuer","back":"Retour","or":"ou","dropzone":"Déposer ici","upload":"Choisir un fichier","drop":"Déposer le fichier à télécharger","url":"Entrer l\'URL ou l\'identifiant Geocore","layer":"Couche","stepOne":"Ajouter un fichier ou entrer l\'URL/ l\'identifiant Geocore","stepTwo":"Sélectionner le format","stepThree":"Configurer la couche","stepFour":"Entrer le nom","service":"Type de service","name":"Nom","layerSelect":"Sélectionner couche(s)","errorEmpty":"ne peut être vide","errorNone":"Pas de fichier ou de source ajouté","errorFile":"Seuls les fichiers geoJSON, CSV et GeoPackage peuvent être utilisés","errorServer":"source n\'est pas valide","errorNotLoaded":"Une erreur s\'est produite lors du chargement de la couche","errorProj":"ne prend pas en charge la projection cartographique actuelle","only":"seulement","opacity":"Opacité","opacityMax":"Maximum du parent","reloadLayer":"Recharger la couche","visibilityIsAlways":"La visibilité est toujours activée","toggleVisibility":"Basculer la visibilité","toggleCollapse":"Basculer la fermeture","querying":"Requête en cours","layerAdded":"Couche __param__ ajoutée","instructionsNoLayersTitle":"Aucune couche visible","instructionsNoLayersBody":"Ajoutez des couches visibles sur la carte."},"details":{"title":"Détails","zoomTo":"Zoom à l\'élément","select":"Sélectionner l\'élément sur la carte","externalLink":"Lien externe","feature":"élément","clickOnMap":"Cliquer sur la carte","nextFeatureBtn":"Élément suivant","previousFeatureBtn":"Élément précédent","clearAllfeatures":"Déselctionner tout les Élément","keepFeatureSelected":"Garder l\'élément sélectionné","featureDetailsTitle":"Élément {count} sur {total}","featureDetailModalTitle":"Détails de l\'élément"},"lightbox":{"next":"Prochaine","previous":"Précédente","close":"Fermer","download":"Télécharger"},"keyboardnav":{"start":"Aller après l\'élément carte","end":"Aller avant l\'élément carte","focusdialog":{"title":"Navigation clavier","main":"Si activé, le focus sera verrouillé sur le visualiseur. \\nPour sortir, appuyez sur CTRL + Q.","button":{"enable":"Activer","skip":"Sauter"}}},"validation":{"layer":{"loadfailed":"Le chargement de la couche [__param__] a échoué sur la carte __param__.","notfound":"La sous couche __param__ de la couche __param__ n\'existe pas sur le sereur","createtwice":"On ne peut exécuter deux fois la méthode createGeoViewRasterLayers pour la couche __param__ sur la carte __param__","usedtwice":"Utilisation en double de l\'identifiant de couche [__param__] sur la carte __param__","multipleUUID":"Les couches GeoCore ne peuvent avoir qu\'un seul identifiant par couche."},"schema":{"notFound":"Une erreur de schéma a été trouvée, vérifiez la console pour voir ce qui ne va pas.","wrongPath":"Impossible de trouver le schéma ([__param__])"},"changeDisplayLanguageLayers":"Les couches ne peuvent être chargée(s) de nouveau car la configuration ne supporte pas ce langage","changeDisplayLanguage":"Seulement \'en\' et \'fr\' sont supporées","changeDisplayTheme":"Theme non supporté","changeDisplayProjection":"Projection non supportée","invalidConfig":"Configuration JSON non valide, configuration par défaut appliquée."},"exportModal":{"title":"Exporter la carte en PNG","cancelBtn":"Annuler","exportBtn":"Exporter","exportTitle":"Titre","approx":"approx"},"geolocator":{"title":"Géolocalisation","search":"Texte à rechercher","errorMessage":"Aucun résultat correspondant à","province":"Province","category":"Catégorie","clearFilters":"Effacer les filtres","noFilter":"Aucun Filtre"},"hovertooltip":{"alticon":"Symbol de l\'élément sélectionné"},"dataTable":{"title":"Données","icon":"ICÔNE","zoom":"ZOOM","details":"DÉTAILS","exportBtn":"Exporter","jsonExportBtn":"Télécharger GeoJSON","downloadAsCSV":"Télécharger CSV","filterMap":"Filtrer la carte","stopFilterMap":"Arrêt des filtres","rowsSelected":"{rowsSelected} sur {totalRows} ligne(s) sélectionnée(s)","rowsFiltered":"{rowsFiltered} sur {totalRows} ligne(s) filtrée(s)","enlargeBtn":"Agrandir","reduceBtn":"Réduire","features":"Élément(s)","featureFiltered":"élément filtré(s)","images":"Images","close":"Fermer","noFeatures":"inconnue..."},"geochart":{"noChartAvailable":"Cliquer sur une couche de la carte qui contient un graphique"},"guide":{"title":"Guide","errorMessage":"Désolé, impossible de trouver le document d\'aide!"},"footerBar":{"focusToMap":"Aller à la carte","focusToFooter":"Aller au pied de page","resizeTooltip":"Redimensionner","noTab":"Pas d\'onglet"}}');var s=n(6335);r.Ay.use(i.initReactI18next).init({debug:!1,lng:"en",fallbackLng:["en","fr"],supportedLngs:["en","fr"],interpolation:{escapeValue:!1},resources:{en:{translation:o},fr:{translation:a}},react:{useSuspense:!0}}).catch((function(e){s.vF.logPromiseFailed("in init in translation/i18n",e)}))},16896:(e,t,n)=>{"use strict";n.d(t,{KX:()=>i,NK:()=>o});var r=n(43004);n(37745);function i(e){return e}function o(e){if(!(e instanceof Object)||e instanceof Array)throw new Error("Can't convert parameter to TypeJsonObject! typeof = ".concat((0,r.A)(e)));return e}},52324:(e,t,n)=>{"use strict";n.d(t,{z:()=>w});var r=n(74131),i=n(36549),o=n(80085),a=n(53732),s=n.n(a);function l(e,t,n){c(e,t),t.set(e,n)}function c(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function u(e,t){return e.get(h(e,t))}function d(e,t,n){return e.set(h(e,t),n),n}function h(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var p=new WeakMap,f=new WeakMap,g=new WeakMap,m=new WeakMap,y=new WeakMap,v=new WeakMap,b=new WeakSet,w=function(){return(0,o.A)((function e(t){var n,r;if((0,i.A)(this,e),c(n=this,r=b),r.add(n),l(this,p,void 0),l(this,f,void 0),l(this,g,void 0),l(this,m,void 0),l(this,y,void 0),l(this,v,void 0),t<=0)throw new Error("workersCount must be positive");d(f,this,t),d(p,this,t),d(g,this,[]),d(m,this,[]),h(b,this,k).call(this)}),[{key:"withLock",value:(t=(0,r.A)(s().mark((function e(t){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h(b,this,C).call(this);case 2:return e.abrupt("return",h(b,this,x).call(this,t));case 3:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"withLockRunAndForget",value:(e=(0,r.A)(s().mark((function e(t){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h(b,this,C).call(this);case 2:h(b,this,x).call(this,t);case 3:case"end":return e.stop()}}),e,this)}))),function(t){return e.apply(this,arguments)})},{key:"awaitTerminate",value:function(){return u(p,this)0)){var e=function(){},t=new Promise((function(t){e=t}));return u(g,this).push(e),t}d(p,this,u(p,this)-1)}function E(){var e=h(b,this,S).call(this);if(e.length){var t=e.pop();t&&t()}else if(d(p,this,u(p,this)+1),u(p,this)>=u(f,this)){var n=u(y,this);h(b,this,k).call(this),n()}}function k(){var e=function(){};d(v,this,new Promise((function(t){e=t}))),d(y,this,e)}},10874:(e,t,n)=>{"use strict";n.d(t,{O:()=>K});var r=n(43004),i=n(36549),o=n(80085),a=n(24515),s=n(87120),l=n.n(s),c=n(79950),u=n.n(c),d=n(48448),h=n(77319),p=n(24478),f=n(85458),g=n(13796),m=n(62265),y=n(25547),v=n(97095),b=n(52),w=n(15783),x=n(58399),A=n(9374),S=n(16896),C=n(32875),E=n(6976),k=n(6335),T=n(72459);const _=JSON.parse('{"$id":"https://cgpv/schema","$schema":"http://json-schema.org/draft-07/schema#","title":"GeoView Core Config Schema","type":"object","version":1,"comments":"Configuration for GeoView core packages, each packages manages it own schema. It correspond to the TypeMapFeaturesInstance type.","additionalProperties":false,"definitions":{"TypeLocalizedString":{"additionalProperties":false,"minProperties":1,"type":"object","properties":{"en":{"type":"string","description":"The English version of the string."},"fr":{"type":"string","description":"The French version of the string. "}}},"TypeFeatureInfoLayerConfig":{"additionalProperties":false,"type":"object","properties":{"queryable":{"type":"boolean","default":true,"description":"Allow querying. Default = false."},"nameField":{"$ref":"#/definitions/TypeLocalizedString","description":"The display field (English/French) of the layer. If it is not present the viewer will make an attempt to find the first valid field."},"outfields":{"$ref":"#/definitions/TypeLocalizedString","description":"A comma separated list of attribute names (English/French) that should be requested on query (all by default)."},"fieldTypes":{"type":"string","description":"A comma separated list of types. Type at index i is associated to the variable at index i."},"aliasFields":{"$ref":"#/definitions/TypeLocalizedString","description":"A comma separated list of attribute names (English/French) that should be use for alias. If empty, no alias will be set if not found."}},"required":["queryable"]},"TypeFeatureInfoNotQueryable":{"additionalProperties":false,"type":"object","properties":{"queryable":{"type":"boolean","const":false,"description":"Do not allow querying."}},"required":["queryable"]},"TypeStrokeSymbolConfig":{"minProperties":1,"additionalProperties":false,"type":"object","description":"Stroke style for vector features.","properties":{"color":{"type":"string"},"lineStyle":{"enum":["dash","dash-dot","dash-dot-dot","dot","longDash","longDash-dot","null","shortDash","shortDash-dot","shortDash-dot-dot","solid"]},"width":{"type":"number"}}},"TypeLineStringVectorConfig":{"additionalProperties":false,"type":"object","properties":{"type":{"enum":["lineString"]},"stroke":{"$ref":"#/definitions/TypeStrokeSymbolConfig"}},"required":["type","stroke"]},"TypePolygonVectorConfig":{"additionalProperties":false,"type":"object","properties":{"type":{"enum":["filledPolygon"]},"color":{"type":"string"},"stroke":{"$ref":"#/definitions/TypeStrokeSymbolConfig"},"paternSize":{"type":"number","description":"Distance between patern lines. Default = 8"},"paternWidth":{"type":"number","description":"Patern line width.default = 1."},"fillStyle":{"enum":["solid","backwardDiagonal","cross","diagonalCross","forwardDiagonal","horizontal","null","vertical"],"description":"Kind of filling for vector features. Default = solid. "}},"required":["type","stroke"]},"TypeSimpleSymbolVectorConfig":{"additionalProperties":false,"type":"object","properties":{"type":{"enum":["simpleSymbol"]},"rotation":{"type":"number","description":"Symbol rotation in radians."},"color":{"type":"string"},"stroke":{"$ref":"#/definitions/TypeStrokeSymbolConfig"},"size":{"type":"number"},"offset":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2},"symbol":{"enum":["circle","+","diamond","square","triangle","X","star"]}},"required":["type","symbol"]},"TypeIconSymbolVectorConfig":{"additionalProperties":false,"type":"object","properties":{"type":{"enum":["iconSymbol"]},"mimeType":{"type":"string"},"src":{"type":"string"},"width":{"type":"integer","description":"Icon width in pixel."},"height":{"type":"integer","description":"Icon height in pixel."},"rotation":{"type":"number","description":"Icon rotation in radians."},"opacity":{"type":"number","minimum":0,"maximum":1,"default":1},"offset":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2},"crossOrigin":{"type":"string","description":"The crossOrigin attribute for loaded images. Note that you must provide a crossOrigin value if you want to access pixel data with the Canvas renderer."}},"required":["type","mimeType","src"]},"TypeSimpleStyleConfig":{"additionalProperties":false,"type":"object","properties":{"styleId":{"type":"string"},"styleType":{"enum":["simple"]},"label":{"type":"string"},"settings":{"$ref":"#/definitions/TypeKindOfVectorSettings"}},"required":["styleType","label","settings"]},"TypeUniqueValueStyleConfig":{"additionalProperties":false,"type":"object","properties":{"styleId":{"type":"string"},"styleType":{"enum":["uniqueValue"]},"defaultLabel":{"type":"string","description":"Label used if field/value association is not found."},"defaultVisible":{"type":"boolean","description":"Flag used to show/hide features associated to the default label (default: true)."},"defaultSettings":{"$ref":"#/definitions/TypeKindOfVectorSettings","description":"Settings used if field/value association is not found."},"fields":{"type":"array","items":{"type":"string"},"minItems":1},"uniqueValueStyleInfo":{"$ref":"#/definitions/TypeUniqueValueStyleInfo"}},"required":["styleType","fields","uniqueValueStyleInfo"]},"TypeUniqueValueStyleInfo":{"type":"array","items":{"additionalProperties":false,"type":"object","properties":{"label":{"type":"string"},"visible":{"type":"boolean","description":"Flag used to show/hide features associated to the label (default: true)."},"values":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"minItems":1},"settings":{"$ref":"#/definitions/TypeKindOfVectorSettings"}}},"minItems":1,"required":["label","values","options"]},"TypeClassBreakStyleConfig":{"additionalProperties":false,"type":"object","properties":{"styleId":{"type":"string"},"styleType":{"enum":["classBreaks"]},"defaultLabel":{"type":"string","description":"Label used if field/value association is not found."},"defaultVisible":{"type":"boolean","description":"Flag used to show/hide features associated to the default label (default: true)."},"defaultSettings":{"$ref":"#/definitions/TypeKindOfVectorSettings","description":"Settings used if field/value association is not found."},"field":{"type":"string"},"classBreakStyleInfo":{"$ref":"#/definitions/TypeClassBreakStyleInfo"}},"required":["styleType","field","classBreakStyleInfo"]},"TypeClassBreakStyleInfo":{"additionalProperties":false,"type":"array","items":{"additionalProperties":false,"type":"object","properties":{"label":{"type":"string"},"visible":{"type":"boolean","description":"Flag used to show/hide features associated to the label (default: true)."},"minValue":{"oneOf":[{"type":"string"},{"type":"number"}]},"maxValue":{"oneOf":[{"type":"string"},{"type":"number"}]},"settings":{"$ref":"#/definitions/TypeKindOfVectorSettings"}}},"minItems":1,"required":["label","minValue","maxValue","settings"]},"TypeKindOfVectorSettings":{"oneOf":[{"$ref":"#/definitions/TypeLineStringVectorConfig"},{"$ref":"#/definitions/TypePolygonVectorConfig"},{"$ref":"#/definitions/TypeSimpleSymbolVectorConfig"},{"$ref":"#/definitions/TypeIconSymbolVectorConfig"}]},"TypeStyleSettings":{"oneOf":[{"$ref":"#/definitions/TypeSimpleStyleConfig"},{"$ref":"#/definitions/TypeUniqueValueStyleConfig"},{"$ref":"#/definitions/TypeClassBreakStyleConfig"}]},"TypeStyleConfig":{"additionalProperties":false,"minProperties":1,"type":"object","properties":{"Point":{"$ref":"#/definitions/TypeStyleSettings"},"LineString":{"$ref":"#/definitions/TypeStyleSettings"},"Polygon":{"$ref":"#/definitions/TypeStyleSettings"}}},"TypeLayerControls":{"additionalProperties":false,"type":"object","properties":{"highlight":{"type":"boolean","default":true},"hover":{"type":"boolean","default":true},"opacity":{"type":"boolean","default":true},"query":{"type":"boolean","default":true},"remove":{"type":"boolean","default":true},"table":{"type":"boolean","default":true},"visibility":{"type":"boolean","default":true},"zoom":{"type":"boolean","default":true}},"description":"Which UI controls are available."},"TypeLayerStates":{"additionalProperties":false,"type":"object","properties":{"visible":{"type":"boolean","default":true,"description":"Initial visibility setting."},"legendCollapsed":{"type":"boolean","description":"Is the layer\'s legend initially collapsed."},"opacity":{"type":"number","minimum":0,"maximum":1,"default":1,"description":"Initial opacity setting."},"hoverable":{"type":"boolean","description":"Is the layer hoverable."},"queryable":{"type":"boolean","description":"Is the layer queryable."}},"description":"Initial layer states."},"TypeLayerInitialSettings":{"additionalProperties":false,"type":"object","properties":{"controls":{"$ref":"#/definitions/TypeLayerControls","description":"The status of various controls for the layer (available/unavailable)."},"bounds":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"number"},"description":"The geographic bounding box that contains all the layer\'s features."},"extent":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"number"},"description":"The extent that constrains the view. Called with [minX, minY, maxX, maxY] extent coordinates."},"minZoom":{"type":"integer","minimum":0,"maximum":50,"description":"The minimum view zoom level (exclusive) above which this layer will be visible."},"maxZoom":{"type":"integer","minimum":0,"maximum":50,"description":"The maximum view zoom level (inclusive) above which this layer will be visible."},"className":{"type":"string","description":"A CSS class name to set to the layer element."},"states":{"$ref":"#/definitions/TypeLayerStates","description":"The status of initial states for the layer."}}},"TypeVectorSourceFormats":{"enum":["GeoJSON","EsriJSON","KML","WFS","featureAPI","GeoPackage","CSV"],"description":"The feature format used by the XHR feature loader when access path is set."},"TypeVectorSourceInitialConfig":{"additionalProperties":false,"type":"object","properties":{"dataAccessPath":{"$ref":"#/definitions/TypeLocalizedString","description":"The path (English/French) to reach the data to display. If not specified, metadataAccessPath will be assigned to it."},"postSettings":{"type":"object","properties":{"header":{"type":"object"},"data":{"type":"object"}}},"format":{"$ref":"#/definitions/TypeVectorSourceFormats"},"dataProjection":{"type":"string","description":"The projection code of the source. Used only for GeoJSON format. Default value is EPSG:4326."},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoLayerConfig"},"strategy":{"enum":["all","bbox"],"default":"all","description":"The loading strategy to use. By default an all strategy is used, a one-off strategy which loads all features at once."},"separator":{"type":"string","description":"The character used to separate columns of csv file"}}},"TypeSourceImageWmsInitialConfig":{"additionalProperties":false,"type":"object","properties":{"dataAccessPath":{"$ref":"#/definitions/TypeLocalizedString","description":"The path (English/French) to reach the data to display. If not specified, metadatAccessPath will be assigne dto it."},"crossOrigin":{"type":"string","description":"The crossOrigin attribute for loaded images. Note that you must provide a crossOrigin value if you want to access pixel data with the Canvas renderer."},"projection":{"type":"integer","description":"Spatial Reference EPSG code supported (https://epsg.io/). We support Web Mercator and Lambert Conical Conform Canada."},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoLayerConfig"},"serverType":{"$ref":"#/definitions/TypeOfServer","description":"The type of the remote WMS server. The default value is mapserver."},"style":{"oneOf":[{"type":"string","description":"Single style to apply"},{"type":"array","items":{"type":"string"},"description":"Array of style to choose."}]}}},"TypeOfServer":{"enum":["mapserver","geoserver","qgis"],"description":"The type of the remote WMS server. The default value is mapserver."},"TypeSourceImageStaticInitialConfig":{"additionalProperties":false,"type":"object","properties":{"dataAccessPath":{"$ref":"#/definitions/TypeLocalizedString","description":"The path (English/French) to reach the data to display. If not specified, metadatAccessPath will be assigne dto it."},"crossOrigin":{"type":"string","description":"The crossOrigin attribute for loaded images. Note that you must provide a crossOrigin value if you want to access pixel data with the Canvas renderer."},"projection":{"type":"integer","description":"Spatial Reference EPSG code supported (https://epsg.io/). We support Web Mercator and Lambert Conical Conform Canada."},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoNotQueryable"},"extent":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"number"},"description":"The extent of the static image. Called with [minX, minY, maxX, maxY] extent coordinates."}}},"TypeSourceImageEsriInitialConfig":{"additionalProperties":false,"type":"object","properties":{"dataAccessPath":{"$ref":"#/definitions/TypeLocalizedString","description":"The path (English/French) to reach the data to display. If not specified, metadatAccessPath will be assigne dto it."},"crossOrigin":{"type":"string","description":"The crossOrigin attribute for loaded images. Note that you must provide a crossOrigin value if you want to access pixel data with the Canvas renderer."},"projection":{"type":"integer","description":"Spatial Reference EPSG code supported (https://epsg.io/). We support Web Mercator and Lambert Conical Conform Canada."},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoLayerConfig"},"format":{"$ref":"#/definitions/TypeEsriFormatParameter"},"transparent":{"type":"boolean","default":true,"description":"If true, the image will be exported with the background color of the map set as its transparent color. Only the .png and .gif formats support transparency."}}},"TypeEsriFormatParameter":{"enum":["png","jpg","gif","svg"],"default":"png","description":"The format of the exported image. The default format is png."},"TypeSourceTileInitialConfig":{"additionalProperties":false,"properties":{"dataAccessPath":{"$ref":"#/definitions/TypeLocalizedString","description":"The path (English/French) to reach the data to display. If not specified, metadatAccessPath will be assigne dto it."},"crossOrigin":{"type":"string","description":"The crossOrigin attribute for loaded images. Note that you must provide a crossOrigin value if you want to access pixel data with the Canvas renderer."},"projection":{"type":"integer","description":"Spatial Reference EPSG code supported (https://epsg.io/). We support Web Mercator and Lambert Conical Conform Canada."},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoNotQueryable"},"tileGrid":{"$ref":"#/definitions/TypeTileGrid"}}},"TypeTileGrid":{"additionalProperties":false,"type":"object","properties":{"extent":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"number"},"description":"The extent that constrains the view. Called with [minX, minY, maxX, maxY] extent coordinates."},"origin":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The tile grid origin, i.e. where the x and y axes meet ([z, 0, 0]). Tile coordinates increase left to right and downwards. If not specified, extent must be provided."},"resolutions":{"type":"array","items":{"type":"number"},"description":"Resolutions. The array index of each resolution needs to match the zoom level. This means that even if a minZoom is configured, the resolutions array will have a length of maxZoom + 1."},"tileSize":{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number"},"default":[256,256],"description":"The tile grid origin, i.e. where the x and y axes meet ([z, 0, 0]). Tile coordinates increase left to right and downwards. If not specified, extent must be provided."}},"required":["origin","resolutions"]},"TypeVectorLayerEntryConfig":{"additionalProperties":false,"type":"object","properties":{"schemaTag":{"enum":["CSV","GeoJSON","esriFeature","ogcWfs","ogcFeature","GeoPackage"]},"entryType":{"enum":["vector"]},"layerPathEnding":{"type":"string","description":"The ending element of the layer configuration path."},"layerId":{"type":"string","description":"The id of the layer to display on the map."},"layerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"layerFilter":{"type":"string","description":"Filter to apply on feature of this layer."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the layer entry at creation time. Initial settings are inherited from the parent in the configuration tree."},"source":{"$ref":"#/definitions/TypeVectorSourceInitialConfig"},"style":{"$ref":"#/definitions/TypeStyleConfig"},"not":{"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The list of layer entry configurations to use from the GeoView layer group."}}},"required":["schemaTag","entryType","layerId"]},"TypeVectorTileLayerEntryConfig":{"additionalProperties":false,"type":"object","description":"Layer sources providing vector data divided into a tile grid.","properties":{"schemaTag":{"enum":["not used yet"]},"entryType":{"enum":["vector-tile"]},"layerPathEnding":{"type":"string","description":"The ending element of the layer configuration path."},"layerId":{"type":"string","description":"The id of the layer to display on the map."},"layerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"layerFilter":{"type":"string","description":"Filter to apply on feature of this layer."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the layer entry at creation time. Initial settings are inherited from the parent in the configuration tree."},"source":{"$ref":"#/definitions/TypeVectorTileSourceInitialConfig","description":"Information used to configure the source of a vector tile layer."},"style":{"$ref":"#/definitions/TypeStyleConfig"},"not":{"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The list of layer entry configurations to use from the GeoView layer group."}}},"required":["schemaTag","entryType","layerId"]},"TypeVectorTileSourceInitialConfig":{"additionalProperties":false,"type":"object","description":"Layer sources providing vector data divided into a tile grid.","properties":{"dataAccessPath":{"$ref":"#/definitions/TypeLocalizedString","description":"The path (English/French) to reach the data to display. If not specified, metadatAccessPath will be assigne dto it."},"format":{"enum":["GeoJSON","EsriJSON","KML","WFS","MVT","featureAPI"],"description":"The feature format used by the XHR feature loader when access path is set."},"dataProjection":{"type":"string","description":"The projection code of the source. Used only for GeoJSON format. Default value is EPSG:4326."},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoLayerConfig"},"tileGrid":{"$ref":"#/definitions/TypeTileGrid"}}},"TypeOgcWmsLayerEntryConfig":{"additionalProperties":false,"type":"object","properties":{"schemaTag":{"enum":["ogcWms"]},"entryType":{"enum":["raster-image"]},"layerId":{"type":"string","description":"The id of the layer to display on the map."},"layerPathEnding":{"type":"string","description":"The ending element of the layer configuration path."},"layerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"layerFilter":{"type":"string","description":"Filter to apply on feature of this layer."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the layer entry at creation time. Initial settings are inherited from the parent in the configuration tree."},"source":{"$ref":"#/definitions/TypeSourceImageWmsInitialConfig"},"style":{"$ref":"#/definitions/TypeStyleConfig"},"not":{"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The list of layer entry configurations to use from the GeoView layer group."}}},"required":["schemaTag","entryType","layerId"]},"TypeEsriDynamicLayerEntryConfig":{"additionalProperties":false,"type":"object","properties":{"schemaTag":{"enum":["esriDynamic"]},"entryType":{"enum":["raster-image"]},"layerId":{"type":"string","description":"The id of the layer to display on the map."},"layerPathEnding":{"type":"string","description":"The ending element of the layer configuration path."},"layerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"layerFilter":{"type":"string","description":"Filter to apply on feature of this layer."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the layer entry at creation time. Initial settings are inherited from the parent in the configuration tree."},"source":{"$ref":"#/definitions/TypeSourceImageEsriInitialConfig"},"style":{"$ref":"#/definitions/TypeStyleConfig"},"not":{"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The list of layer entry configurations to use from the GeoView layer group."}}},"required":["schemaTag","entryType","layerId"]},"TypeEsriImageLayerEntryConfig":{"additionalProperties":false,"type":"object","properties":{"schemaTag":{"enum":["esriImage"]},"entryType":{"enum":["raster-image"]},"layerId":{"type":"string","description":"The id of the layer to display on the map."},"layerPathEnding":{"type":"string","description":"The ending element of the layer configuration path."},"layerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"layerFilter":{"type":"string","description":"Filter to apply on feature of this layer."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the layer entry at creation time. Initial settings are inherited from the parent in the configuration tree."},"source":{"$ref":"#/definitions/TypeSourceImageEsriInitialConfig"},"style":{"$ref":"#/definitions/TypeStyleConfig"},"not":{"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The list of layer entry configurations to use from the GeoView layer group."}}},"required":["schemaTag","entryType","layerId"]},"TypeImageStaticLayerEntryConfig":{"additionalProperties":false,"type":"object","properties":{"schemaTag":{"enum":["imageStatic"]},"entryType":{"enum":["raster-image"]},"layerId":{"type":"string","description":"The id of the layer to display on the map."},"layerPathEnding":{"type":"string","description":"The ending element of the layer configuration path."},"layerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the layer entry at creation time. Initial settings are inherited from the parent in the configuration tree."},"source":{"$ref":"#/definitions/TypeSourceImageStaticInitialConfig"},"not":{"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The list of layer entry configurations to use from the GeoView layer group."}}},"required":["schemaTag","entryType","layerId"]},"TypeTileLayerEntryConfig":{"additionalProperties":false,"type":"object","properties":{"schemaTag":{"enum":["ogcWms","xyzTiles","vectorTiles"]},"entryType":{"enum":["raster-tile"]},"layerPathEnding":{"type":"string","description":"The ending element of the layer configuration path."},"layerId":{"type":"string","description":"The id of the layer to display on the map."},"layerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the layer entry at creation time. Initial settings are inherited from the parent in the configuration tree."},"source":{"$ref":"#/definitions/TypeSourceTileInitialConfig"},"not":{"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The list of layer entry configurations to use from the GeoView layer group."}}},"required":["schemaTag","entryType","layerId"]},"TypeLayerEntryType":{"enum":["vector","vector-tile","raster-tile","raster-image","geoCore"],"description":"Layer entry data type."},"TypeLayerGroupEntryConfig":{"additionalProperties":false,"type":"object","description":"Entry used to define a layer Group.","properties":{"entryType":{"enum":["group"]},"layerId":{"type":"string","description":"The id of the layer group to display on the map."},"not":{"layerPathEnding":{"type":"string","description":"The ending element of the layer configuration path."}},"layerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer group (English/French)."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the layer group entries at creation time. Initial settings are inherited from the parent in the configuration tree."},"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The list of layer entry configurations to use from the GeoView layer group."}},"required":["entryType","layerId","listOfLayerEntryConfig"]},"TypeLayerEntryConfig":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeVectorTileLayerEntryConfig"},{"$ref":"#/definitions/TypeVectorLayerEntryConfig"},{"$ref":"#/definitions/TypeOgcWmsLayerEntryConfig"},{"$ref":"#/definitions/TypeEsriDynamicLayerEntryConfig"},{"$ref":"#/definitions/TypeEsriImageLayerEntryConfig"},{"$ref":"#/definitions/TypeTileLayerEntryConfig"}]},"TypeListOfOgcWmsLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeOgcWmsLayerEntryConfig"}]}},"TypeListOfImageStaticLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeImageStaticLayerEntryConfig"}]}},"TypeListOfXyzTilesLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeTileLayerEntryConfig"}]}},"TypeListOfEsriDynamicLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeEsriDynamicLayerEntryConfig"}]}},"TypeListOfEsriFeatureLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeVectorLayerEntryConfig"}]}},"TypeListOfEsriImageLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeEsriImageLayerEntryConfig"}]}},"TypeListOfGeoJSONLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeVectorLayerEntryConfig"}]}},"TypeListOfOgcWfsLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeVectorLayerEntryConfig"}]}},"TypeListOfOgcFeatureLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeVectorLayerEntryConfig"}]}},"TypeListOfGeoPackageLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeVectorLayerEntryConfig"}]}},"TypeListOfCsvLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeCsvLayerEntryConfig"}]}},"TypeListOfLayerEntryConfig":{"type":"array","minItems":1},"TypeMapConfig":{"additionalProperties":false,"type":"object","properties":{"basemapOptions":{"$ref":"#/definitions/TypeBasemapOptions"},"interaction":{"$ref":"#/definitions/TypeInteraction"},"listOfGeoviewLayerConfig":{"$ref":"#/definitions/TypeListOfGeoviewLayerConfig"},"viewSettings":{"$ref":"#/definitions/TypeViewSettings"},"highlightColor":{"$ref":"#/definitions/TypeHighlightColors"},"overlayObjects":{"$ref":"#/definitions/TypeOverlayObjects"},"extraOptions":{"type":"object","description":"Additional options used for OpenLayers map options"}},"required":["basemapOptions","interaction","viewSettings"]},"TypeBasemapOptions":{"additionalProperties":false,"type":"object","properties":{"basemapId":{"$ref":"#/definitions/TypeBasemapId"},"shaded":{"type":"boolean","default":true,"description":"Enable or disable shaded basemap (if basemap id is set to shaded then this should be false)."},"labeled":{"type":"boolean","default":true,"description":"Enable or disable basemap labels"}},"required":["basemapId","shaded","labeled"]},"TypeBasemapId":{"enum":["transport","osm","simple","nogeom","shaded","imagery"],"default":"transport","description":"Id of the basemap to use."},"TypeInteraction":{"enum":["static","dynamic"],"default":"dynamic","description":"If map is dynamic (pan/zoom) or static to act as a thumbnail (no nav bar)."},"TypeHighlightColors":{"enum":["black","white","red","green"],"default":"black","description":"Color to use for feature highlights."},"TypeOverlayObjects":{"type":"object","properties":{"pointMarkers":{"$ref":"#/definitions/TypePointMarkers"}}},"TypePointMarkers":{"type":"object","patternProperties":{"[^]*":{"type":"array","items":{"$ref":"#/definitions/TypePointMarker"}}}},"TypePointMarker":{"additionalProperties":false,"type":"object","properties":{"id":{"type":"string","description":"ID for point marker. Must be unique in group."},"coordinate":{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number"},"description":"The coordinates of the marker."},"color":{"type":"string","default":"green","description":"Marker color."},"opacity":{"type":"number","minimum":0,"maximum":1,"default":1},"projection":{"type":"number","description":"The projection code of the coordinates. Default value is 4326."}},"required":["id","coordinate"]},"TypeListOfGeoviewLayerConfig":{"description":"List of GeoView Layers in the order which they should be added to the map.","type":"array","additionalProperties":false,"items":{"anyOf":[{"$ref":"#/definitions/TypeGeoviewLayerConfig"},{"$ref":"#/definitions/TypeGeoCoreLayerConfig"}]}},"TypeGeoviewLayerConfig":{"additionalProperties":false,"type":"object","properties":{"geoviewLayerId":{"type":"string","description":"The id of the layer for referencing within the viewer (does not relate directly to any external service). The id will have the language extension (id-\'lang\')."},"geoviewLayerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"metadataAccessPath":{"$ref":"#/definitions/TypeLocalizedString","description":"The GeoView layer access path (English/French)."},"geoviewLayerType":{"$ref":"#/definitions/TypeGeoviewLayerType","description":"Type of GeoView layer."},"serviceDateFormat":{"type":"string","description":"Date format used by the service endpoint."},"externalDateFormat":{"type":"string","description":"Date format used by the getFeatureInfo to output date variable."},"isTimeAware":{"type":"boolean","description":"Flag to mention if layer will use its time dimension if provided. Used to remove a layer from time enabled functions like time slider."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the GeoView layer at creation time."},"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The layer entries to use from the GeoView layer."}},"required":["geoviewLayerType","listOfLayerEntryConfig"]},"TypeGeoCoreLayerConfig":{"additionalProperties":false,"type":"object","properties":{"geoviewLayerId":{"type":"string","description":"The id of the layer for referencing within the viewer (does not relate directly to any external service). The id will have the language extension (id-\'lang\')."},"geoviewLayerType":{"$ref":"#/definitions/TypeGeoCoreLayerType","description":"Type of GeoCore layer."},"geoviewLayerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the GeoView layer at creation time."}},"required":["geoviewLayerId","geoviewLayerType"]},"TypeGeoviewLayerType":{"type":"string","items":{"enum":["CSV","esriDynamic","esriFeature","esriImage","GeoJSON","GeoPackage","xyzTiles","ogcFeature","ogcWfs","ogcWms","imageStatic","vectorTiles"]},"description":"Type of GeoView layer."},"TypeGeoCoreLayerType":{"type":"string","items":{"enum":["geoCore"]},"description":"Type of GeoCore layer."},"TypeViewSettings":{"additionalProperties":false,"type":"object","properties":{"initialView":{"$ref":"#/definitions/TypeInitialViewSettings","description":"Settings for the initial viewing area of the map."},"enableRotation":{"type":"boolean","default":true,"description":"Enable rotation. If false, a rotation constraint that always sets the rotation to zero is used."},"maxExtent":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"number"},"default":[-125,30,-60,89],"description":"The extent that constrains the view. Called with [minX, minY, maxX, maxY] extent coordinates."},"minZoom":{"type":"integer","description":"The minimum zoom level used to determine the resolution constraint. If not set, will use default from basemap.","minimum":0,"maximum":50},"maxZoom":{"type":"integer","description":"The maximum zoom level used to determine the resolution constraint. If not set, will use default from basemap.","minimum":0,"maximum":50},"projection":{"$ref":"#/definitions/TypeValidMapProjectionCodes"},"rotation":{"type":"integer","minimum":-360,"maximum":360,"default":0,"description":"The initial rotation for the view in degree (positive rotation clockwise, 0 means North). Will be converted to radiant by the viewer."}}},"TypeInitialViewSettings":{"additionalProperties":false,"type":"object","maxItems":1,"properties":{"zoomAndCenter":{"$ref":"#/definitions/TypeZoomAndCenter"},"extent":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"number"},"description":"The extent for the initial view. Called with [minX, minY, maxX, maxY] extent coordinates."},"layerIds":{"type":"array","items":{"type":"string"},"description":"Geoview layer ID(s) or layer path(s) of layer(s) to use as initial map focus. If empty, will use all layers."}}},"TypeZoomAndCenter":{"type":"array","prefixItems":[{"type":"number","minimum":0,"maximum":28,"default":3.5,"description":"Initial map zoom level. Zoom level are define by the basemap zoom levels. Levels between whole numbers are supported to fine tune initial view."},[{"type":"number","minimum":-160,"maximum":160,"default":-90,"description":"Initial longitude value for map center."},{"type":"number","minimum":-80,"maximum":80,"default":60,"description":"Initial latitude value for map center."}]],"description":"Initial zoom and center coordinates to set map view."},"TypeValidMapProjectionCodes":{"enum":[3978,3857],"default":3978,"description":"Spatial Reference EPSG code supported (https://epsg.io/). We support Web Mercator and Lambert Conical Conform Canada."},"TypeNavBarProps":{"type":"array","uniqueItems":true,"items":{"enum":["zoom","fullscreen","home","location"]},"default":["zoom","fullscreen","home"],"description":"Controls available on the navigation bar.","minItems":0},"TypeFooterBarProps":{"type":"object","additionalProperties":false,"properties":{"tabs":{"type":"object","description":"Available tabs","properties":{"core":{"type":"array","items":{"type":"string","enum":["legend","layers","details","data-table","time-slider","geochart"]},"minItems":1,"default":["legend","layers","details","data-table"],"uniqueItems":true,"description":"Default core tabs of footer bar to use. NOTE: config from packages for time-slider and geochart are in the same loaction as core config (<>-<>.json)."},"custom":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"defaultTabs":{"type":"string"},"contentHTML":{"type":"string"}}},"minItems":0,"default":[],"uniqueItems":true,"description":"Custom tabs of footer bar to use"}},"additionalProperties":false},"collapsed":{"type":"boolean","default":false,"description":"State of footer bar when map is loaded (expanded or collapsed)"},"selectedTab":{"type":"string","enum":["legend","layers","details","data-table","time-slider","geochart"],"description":"Footer tab to be selected at map load"}},"required":["tabs"]},"TypeAppBarProps":{"type":"object","additionalProperties":false,"properties":{"tabs":{"type":"object","description":"Available tabs - controls","properties":{"core":{"type":"array","items":{"type":"string","enum":["geolocator","export","basemap-panel","geochart","details","legend","guide"]},"minItems":0,"default":["geolocator"],"uniqueItems":true,"description":"Default core tabs of app-bar to use. NOTE: config from packages like geochart are in the same loaction as core config (<>-<>.json)."}},"additionalProperties":false},"collapsed":{"description":"State of app bar when map is loaded (expanded or collapsed)","type":"boolean","default":true},"selectedTab":{"type":"string","enum":["geolocator","basemap-panel","geochart","details","legend","guide"],"description":"App bar tab to be selected at map load"}},"required":["tabs"]},"TypeOverviewMapProps":{"type":"object","additionalProperties":false,"properties":{"hideOnZoom":{"type":"number","minimum":0,"maximum":10,"default":0,"description":"Minimum zoom level to show overview map"}}},"TypeMapComponents":{"type":"array","uniqueItems":true,"items":{"enum":["overview-map","north-arrow"]},"default":["overview-map","north-arrow"],"description":"Core components to initialize on viewer load. The schema for those are inside this file.","minItems":0},"TypeMapCorePackages":{"type":"array","uniqueItems":true,"items":{"enum":["swiper"]},"default":[],"description":"Core map packages to initialize on viewer load. The schema for those are on their own package. NOTE: config from packages are in the same loaction as core config (<>-<>.json).","minItems":0},"TypeExternalPackages":{"type":"array","items":{"additionalProperties":false,"type":"object","properties":{"name":{"type":"string","description":"External Package name. The name must be identical to the window external package object to load."},"configUrl":{"type":"string","description":"The url to the external package configuration setting. The core package will read the configuration and pass it inside the package."}},"required":["name"]},"default":[],"description":"List of external packages to initialize on viewer load.","minItems":0},"TypeServiceUrls":{"additionalProperties":false,"type":"object","description":"Service endpoint urls","properties":{"geocoreUrl":{"type":"string","default":"https://geocore.api.geo.ca","description":"Service end point to access API for layers specification (loading and plugins parameters). By default it is GeoCore but can be another endpoint with similar output."},"proxyUrl":{"type":"string","description":"An optional proxy to be used for dealing with same-origin issues. URL must either be a relative path on the same server or an absolute path on a server which sets CORS headers."},"geolocator":{"type":"string","description":"Service end point to access geo location of searched value."}},"required":["geocoreUrl"]},"TypeDisplayLanguage":{"enum":["en","fr"],"description":"Display languages supported."},"TypeLocalizedLanguages":{"enum":["en","fr"],"description":"ISO 639-1 code indicating the languages supported by the configuration file."},"TypeListOfLocalizedLanguages":{"type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/TypeLocalizedLanguages"},"default":["en","fr"],"description":"ISO 639-1 code indicating the languages supported by the configuration file. It will use value(s) provided here to access bilangual configuration nodes. For value(s) provided here, each bilingual configuration node MUST provide a value.","minItems":1},"TypeValidVersions":{"enum":["1.0"],"description":"The schema version that can be used to validate the configuration file. The schema should enumerate the list of versions accepted by this version of the viewer."},"TypeGlobalSettings":{"additionalProperties":false,"type":"object","description":"Universal map settings","properties":{"canRemoveSublayers":{"type":"boolean","description":"Whether or not sublayers can be removed from layer groups. Default = true."}}},"TypeMapFeaturesInstance":{"description":"The map features configuration. This type is used by the IsValidTypeMapFeaturesInstance method coded in config-validation.ts file. It does the validation down to the list of layer entry config.","additionalProperties":false,"type":"object","properties":{"mapId":{"type":"string"},"map":{"$ref":"#/definitions/TypeMapConfig"},"theme":{"enum":["dark","light","geo.ca"],"default":"dark","description":"Theme style the viewer."},"navBar":{"$ref":"#/definitions/TypeNavBarProps"},"footerBar":{"$ref":"#/definitions/TypeFooterBarProps"},"appBar":{"$ref":"#/definitions/TypeAppBarProps"},"overviewMap":{"$ref":"#/definitions/TypeOverviewMapProps"},"components":{"$ref":"#/definitions/TypeMapComponents"},"corePackages":{"$ref":"#/definitions/TypeMapCorePackages"},"externalPackages":{"$ref":"#/definitions/TypeExternalPackages"},"serviceUrls":{"$ref":"#/definitions/TypeServiceUrls"},"schemaVersionUsed":{"$ref":"#/definitions/TypeValidVersions"},"globalSettings":{"$ref":"#/definitions/TypeGlobalSettings"}},"required":["map"]}}}');var O,P=n(56408),I=n(54855),M=n(51074),L=n(12015),R=n(88683),j=n(43558),F=n(38359),D=n(9353),N=n(12005),B=n(96620),z=n(35101),V=n(3153),$=n(88282),G=n(24046);function U(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function W(e,t,n){return e.set(q(e,t),n),n}function q(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var H=new WeakMap,Y=new WeakSet,K=function(){function e(t){var n,r;(0,i.A)(this,e),U(n=this,r=Y),r.add(n),function(e,t,n){U(e,t),t.set(e,n)}(this,H,void 0),(0,a.A)(this,"displayLanguage",void 0),W(H,this,(0,T.generateId)()),this.displayLanguage=t}return(0,o.A)(e,[{key:"mapId",get:function(){return t=this,(e=H).get(q(e,t));var e,t},set:function(e){W(H,this,e)}},{key:"validateMapConfigAgainstSchema",value:function(t){var n=new(l())({strict:!1,allErrors:!1});n.compile(_);for(var r=!0,i=0;i{"use strict";n.d(t,{d:()=>b});var r=n(36549),i=n(80085),o=n(95174),a=n(54111),s=n(42450),l=n(43021),c=n(24515),u=n(71396);function d(e,t,n){return t=(0,s.A)(t),(0,o.A)(e,h()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function p(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function f(e,t,n){return e.set(m(e,t),n),n}function g(e,t){return e.get(m(e,t))}function m(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var y=new WeakMap,v=new WeakMap,b=function(e){function t(e){var n;return(0,r.A)(this,t),n=d(this,t,[e]),(0,c.A)(n,"layerIdExtension",void 0),p(n,y,void 0),p(n,v,void 0),(0,c.A)(n,"filterEquation",void 0),(0,c.A)(n,"legendFilterIsOff",!1),(0,c.A)(n,"source",void 0),(0,c.A)(n,"style",void 0),"style"in n||(n.style=void 0),Object.assign(n,e),n}return(0,l.A)(t,e),(0,i.A)(t,[{key:"getServiceMetadata",value:function(){return g(y,this)}},{key:"setServiceMetadata",value:function(e){f(y,this,e)}},{key:"getLayerMetadata",value:function(){return g(v,this)}},{key:"setLayerMetadata",value:function(e){f(v,this,e)}},{key:"getTypeGeometries",value:function(){return Object.keys(this.style||{})}},{key:"getFirstStyleSettings",value:function(){var e=this.getTypeGeometries();if(e.length>0)return this.style[e[0]]}},{key:"onSerialize",value:function(){var e=(0,a.A)((0,s.A)(t.prototype),"onSerialize",this).call(this);return e.initialSettings=this.initialSettings,e.source=this.source,e}}])}(u.c)},71396:(e,t,n)=>{"use strict";n.d(t,{c:()=>y});var r,i=n(36549),o=n(80085),a=n(24515),s=n(75079),l=n(9374),c=n(6335);function u(e,t,n){d(e,t),t.set(e,n)}function d(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function h(e,t){return e.get(p(e,t))}function p(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var f=new WeakMap,g=new WeakMap,m=new WeakSet,y=function(){function e(t){var n,r;(0,i.A)(this,e),d(n=this,r=m),r.add(n),(0,a.A)(this,"_layerId",""),(0,a.A)(this,"_layerPath",""),(0,a.A)(this,"_layerStatus","newInstance"),(0,a.A)(this,"layerIdExtension",void 0),(0,a.A)(this,"layerName",void 0),(0,a.A)(this,"schemaTag",void 0),(0,a.A)(this,"entryType",void 0),(0,a.A)(this,"geoviewLayerConfig",{}),(0,a.A)(this,"initialSettings",{}),(0,a.A)(this,"isMetadataLayerGroup",void 0),(0,a.A)(this,"parentLayerConfig",void 0),u(this,f,!1),u(this,g,[]),Object.assign(this,t),this.geoviewLayerConfig?this._layerPath=v.call(e,t):c.vF.logError("Couldn't calculate layerPath because geoviewLayerConfig has an invalid value")}return(0,o.A)(e,[{key:"layerId",get:function(){return this._layerId},set:function(t){this._layerId=t,this._layerPath=v.call(e,this)}},{key:"layerPath",get:function(){return this._layerPath=v.call(e,this),this._layerPath}},{key:"layerStatus",get:function(){return this._layerStatus},set:function(e){if("loaded"===e&&!(0,l.KD)(this)&&!this.isGreaterThanOrEqualTo("loading")&&!h(f,this))return n=this,r=!0,void(t=f).set(p(t,n),r);var t,n,r;this.isGreaterThanOrEqualTo(e)||(this._layerStatus=e,p(m,this,b).call(this,{layerStatus:e})),"processed"===e&&h(f,this)&&(this.layerStatus="loaded")}},{key:"isGreaterThanOrEqualTo",value:function(e){return w._[this.layerStatus]>=w._[e]}},{key:"serialize",value:function(){return this.onSerialize()}},{key:"onSerialize",value:function(){return{layerName:this.layerName,layerId:this.layerId,layerIdExtension:this.layerIdExtension,schemaTag:this.schemaTag,entryType:this.entryType,layerStatus:this.layerStatus,isMetadataLayerGroup:this.isMetadataLayerGroup}}},{key:"onLayerStatusChanged",value:function(e){s.A.onEvent(h(g,this),e)}},{key:"offLayerStatusChanged",value:function(e){s.A.offEvent(h(g,this),e)}}],[{key:"allLayerStatusAreGreaterThanOrEqualTo",value:function(e,t){var n=this;return!t.find((function(t){return(0,l.KD)(t)?!n.allLayerStatusAreGreaterThanOrEqualTo(e,t.listOfLayerEntryConfig):!t.isGreaterThanOrEqualTo(e||"newInstance")}))}}])}();function v(e,t){var n=t;return void 0===n&&(n=void 0===e.layerIdExtension?e.layerId:"".concat(e.layerId,".").concat(e.layerIdExtension)),e.parentLayerConfig?p(r,this,v).call(this,e.parentLayerConfig,"".concat(e.parentLayerConfig.layerId,"/").concat(n)):"".concat(e.geoviewLayerConfig.geoviewLayerId,"/").concat(n)}function b(e){s.A.emitEvent(this,h(g,this),e)}r=y;var w={_:{newInstance:10,registered:20,processing:30,processed:40,loading:50,loaded:60,error:70}}},88282:(e,t,n)=>{"use strict";n.d(t,{x:()=>p});var r=n(36549),i=n(80085),o=n(95174),a=n(54111),s=n(42450),l=n(43021),c=n(24515),u=n(9374);function d(e,t,n){return t=(0,s.A)(t),(0,o.A)(e,h()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var p=function(e){function t(e){var n;return(0,r.A)(this,t),n=d(this,t,[e]),(0,c.A)(n,"entryType",u.hJ.GROUP),(0,c.A)(n,"listOfLayerEntryConfig",[]),Object.assign(n,e),n}return(0,l.A)(t,e),(0,i.A)(t,[{key:"onSerialize",value:function(){var e=(0,a.A)((0,s.A)(t.prototype),"onSerialize",this).call(this);return e.listOfLayerEntryConfig=this.listOfLayerEntryConfig.map((function(e){return e.serialize()})),e}}])}(n(71396).c)},35101:(e,t,n)=>{"use strict";n.d(t,{q:()=>f});var r=n(80085),i=n(36549),o=n(95174),a=n(42450),s=n(43021),l=n(24515),c=n(32875),u=n(9374);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e,t,n){return t=(0,a.A)(t),(0,o.A)(e,p()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}var f=function(e){function t(e){var n;return(0,i.A)(this,t),n=h(this,t,[e]),(0,l.A)(n,"schemaTag",c.y6.ESRI_DYNAMIC),(0,l.A)(n,"entryType",u.hJ.RASTER_IMAGE),(0,l.A)(n,"layerFilter",void 0),Object.assign(n,e),n.source||(n.source={}),n.source.dataAccessPath||(n.source.dataAccessPath=function(e){for(var t=1;t{"use strict";n.d(t,{Q:()=>f});var r=n(80085),i=n(36549),o=n(95174),a=n(42450),s=n(43021),l=n(24515),c=n(32875),u=n(9374);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e,t,n){return t=(0,a.A)(t),(0,o.A)(e,p()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}var f=function(e){function t(e){var n;if((0,i.A)(this,t),n=h(this,t,[e]),(0,l.A)(n,"schemaTag",c.y6.ESRI_IMAGE),(0,l.A)(n,"entryType",u.hJ.RASTER_IMAGE),(0,l.A)(n,"layerFilter",void 0),Object.assign(n,e),Number.isNaN(n.layerId))throw new Error("The layer entry with layerId equal to ".concat(n.layerPath," must be an integer string"));return n.source||(n.source={}),n.source.dataAccessPath||(n.source.dataAccessPath=function(e){for(var t=1;t{"use strict";n.d(t,{V:()=>p});var r=n(80085),i=n(36549),o=n(95174),a=n(42450),s=n(43021),l=n(24515),c=n(32875),u=n(9374);function d(e,t,n){return t=(0,a.A)(t),(0,o.A)(e,h()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var p=function(e){function t(e){var n;if((0,i.A)(this,t),n=d(this,t,[e]),(0,l.A)(n,"schemaTag",c.y6.IMAGE_STATIC),(0,l.A)(n,"entryType",u.hJ.RASTER_IMAGE),(0,l.A)(n,"layerFilter",void 0),Object.assign(n,e),!n.source.dataAccessPath)throw new Error("source.dataAccessPath on layer entry ".concat(n.layerPath," is mandatory for GeoView layer ").concat(n.geoviewLayerConfig.geoviewLayerId," of type ").concat(n.geoviewLayerConfig.geoviewLayerType));return n}return(0,s.A)(t,e),(0,r.A)(t)}(n(97319).d)},12005:(e,t,n)=>{"use strict";n.d(t,{Q:()=>g});var r=n(80085),i=n(36549),o=n(95174),a=n(42450),s=n(43021),l=n(24515),c=n(32875),u=n(9374),d=n(97319),h=n(72459);function p(e,t,n){return t=(0,a.A)(t),(0,o.A)(e,f()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}var g=function(e){function t(e){var n;return(0,i.A)(this,t),n=p(this,t,[e]),(0,l.A)(n,"schemaTag",c.y6.WMS),(0,l.A)(n,"entryType",u.hJ.RASTER_IMAGE),(0,l.A)(n,"layerFilter",void 0),Object.assign(n,e),n.source||(n.source={}),n.source.dataAccessPath||(n.source.dataAccessPath=(0,h.createLocalizedString)(""),".xml"!==n.geoviewLayerConfig.metadataAccessPath.en.slice(-4).toLowerCase()&&(n.source.dataAccessPath.en=n.geoviewLayerConfig.metadataAccessPath.en),".xml"!==n.geoviewLayerConfig.metadataAccessPath.fr.slice(-4).toLowerCase()&&(n.source.dataAccessPath.fr=n.geoviewLayerConfig.metadataAccessPath.fr)),n.source.serverType||(n.source.serverType="mapserver"),n}return(0,s.A)(t,e),(0,r.A)(t)}(d.d)},12015:(e,t,n)=>{"use strict";n.d(t,{E:()=>d});var r=n(80085),i=n(36549),o=n(95174),a=n(42450),s=n(43021),l=n(24515);function c(e,t,n){return t=(0,a.A)(t),(0,o.A)(e,u()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}var d=function(e){function t(e){var n;if((0,i.A)(this,t),n=c(this,t,[e]),(0,l.A)(n,"tileGrid",void 0),Object.assign(n,e),!e.source.dataAccessPath)throw new Error("source.dataAccessPath on layer entry ".concat(n.layerPath," is mandatory for GeoView layer ").concat(n.geoviewLayerConfig.geoviewLayerId," of type ").concat(n.geoviewLayerConfig.geoviewLayerType));return n}return(0,s.A)(t,e),(0,r.A)(t)}(n(2415).q)},9353:(e,t,n)=>{"use strict";n.d(t,{m:()=>u});var r=n(80085),i=n(36549),o=n(95174),a=n(42450),s=n(43021);function l(e,t,n){return t=(0,a.A)(t),(0,o.A)(e,c()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}var u=function(e){function t(e){var n;if((0,i.A)(this,t),n=l(this,t,[e]),Object.assign(n,e),!n.source.dataAccessPath)throw new Error("source.dataAccessPath on layer entry ".concat(n.layerPath," is mandatory for GeoView layer ").concat(n.geoviewLayerConfig.geoviewLayerId," of type ").concat(n.geoviewLayerConfig.geoviewLayerType));return n}return(0,s.A)(t,e),(0,r.A)(t)}(n(2415).q)},2415:(e,t,n)=>{"use strict";n.d(t,{q:()=>h});var r=n(80085),i=n(36549),o=n(95174),a=n(42450),s=n(43021),l=n(24515),c=n(9374);function u(e,t,n){return t=(0,a.A)(t),(0,o.A)(e,d()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}var h=function(e){function t(e){var n;return(0,i.A)(this,t),n=u(this,t,[e]),(0,l.A)(n,"entryType",c.hJ.RASTER_TILE),Object.assign(n,e),n}return(0,s.A)(t,e),(0,r.A)(t)}(n(97319).d)},50638:(e,t,n)=>{"use strict";n.d(t,{T:()=>h});var r=n(80085),i=n(36549),o=n(95174),a=n(42450),s=n(43021),l=n(24515),c=n(9374);function u(e,t,n){return t=(0,a.A)(t),(0,o.A)(e,d()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}var h=function(e){function t(e){var n;return(0,i.A)(this,t),n=u(this,t,[e]),(0,l.A)(n,"entryType",c.hJ.VECTOR),(0,l.A)(n,"layerFilter",void 0),Object.assign(n,e),n}return(0,s.A)(t,e),(0,r.A)(t)}(n(97319).d)},51074:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(80085),i=n(36549),o=n(95174),a=n(42450),s=n(43021),l=n(24515),c=n(50638),u=n(9374),d=n(84044);function h(e,t,n){return t=(0,a.A)(t),(0,o.A)(e,p()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}var f=function(e){function t(e){var n,r,o,a,s;if((0,i.A)(this,t),s=h(this,t,[e]),(0,l.A)(s,"valueSeparator",","),Object.assign(s,e),!(s.geoviewLayerConfig.metadataAccessPath||null!==(n=s.source)&&void 0!==n&&n.dataAccessPath))throw new Error("dataAccessPath is mandatory for GeoView layer ".concat(s.geoviewLayerConfig.geoviewLayerId," of type CSV when the metadataAccessPath is undefined."));if(void 0===s.entryType&&(s.entryType=u.hJ.VECTOR),s.source||(s.source={format:"CSV",separator:","}),s.source.format||(s.source.format="CSV"),s.source.separator||(s.source.separator=","),!s.source.dataAccessPath){var c=s.geoviewLayerConfig.metadataAccessPath,p=c.en,f=c.fr;p=p.split("/").length>1?p.split("/").slice(0,-1).join("/"):"./",f=f.split("/").length>1?f.split("/").slice(0,-1).join("/"):"./",s.source.dataAccessPath={en:p,fr:f}}return null!==(r=s.source.dataAccessPath.en)&&void 0!==r&&r.startsWith("blob")&&(null===(o=s.source.dataAccessPath.en)||void 0===o||!o.endsWith("/"))||null!==(a=s.source.dataAccessPath.en)&&void 0!==a&&a.toUpperCase().endsWith(".CSV")||(s.source.dataAccessPath.en=s.source.dataAccessPath.en.endsWith("/")?"".concat(s.source.dataAccessPath.en).concat(s.layerId):"".concat(s.source.dataAccessPath.en,"/").concat(s.layerId),s.source.dataAccessPath.fr=s.source.dataAccessPath.fr.endsWith("/")?"".concat(s.source.dataAccessPath.fr).concat(s.layerId):"".concat(s.source.dataAccessPath.fr,"/").concat(s.layerId)),s.source.dataProjection||(s.source.dataProjection=d.M.PROJECTION_NAMES.LNGLAT),s}return(0,s.A)(t,e),(0,r.A)(t)}(c.T)},43558:(e,t,n)=>{"use strict";n.d(t,{h:()=>h});var r=n(24515),i=n(80085),o=n(36549),a=n(95174),s=n(42450),l=n(43021);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e,t,n){return t=(0,s.A)(t),(0,a.A)(e,d()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}var h=function(e){function t(e){var n;if((0,o.A)(this,t),n=u(this,t,[e]),Object.assign(n,e),Number.isNaN(n.layerId))throw new Error("The layer entry with layerId equal to ".concat(n.layerPath," must be an integer string"));return n.source||(n.source={format:"EsriJSON"}),n.source.format||(n.source.format="EsriJSON"),n.source.dataAccessPath||(n.source.dataAccessPath=function(e){for(var t=1;t{"use strict";n.d(t,{d:()=>p});var r=n(80085),i=n(36549),o=n(95174),a=n(42450),s=n(43021),l=n(50638),c=n(9374),u=n(84044);function d(e,t,n){return t=(0,a.A)(t),(0,o.A)(e,h()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var p=function(e){function t(e){var n,r,o,a,s,l,h;if((0,i.A)(this,t),h=d(this,t,[e]),Object.assign(h,e),!(h.geoviewLayerConfig.metadataAccessPath||null!==(n=h.source)&&void 0!==n&&n.dataAccessPath))throw new Error("dataAccessPath is mandatory for GeoView layer ".concat(h.geoviewLayerConfig.geoviewLayerId," of type GeoJSON when the metadataAccessPath is undefined."));if(void 0===h.entryType&&(h.entryType=c.hJ.VECTOR),h.source||(h.source={format:"GeoJSON"}),h.source.format||(h.source.format="GeoJSON"),!h.source.dataAccessPath){var p=h.geoviewLayerConfig.metadataAccessPath,f=p.en,g=p.fr;f=f.split("/").length>1?f.split("/").slice(0,-1).join("/"):"./",g=g.split("/").length>1?g.split("/").slice(0,-1).join("/"):"./",h.source.dataAccessPath={en:f,fr:g}}return null!==(r=h.source.dataAccessPath.en)&&void 0!==r&&r.startsWith("blob")&&(null===(o=h.source.dataAccessPath.en)||void 0===o||!o.endsWith("/"))||null!==(a=h.source.dataAccessPath.en)&&void 0!==a&&a.toUpperCase().endsWith(".JSON")||null!==(s=h.source.dataAccessPath.en)&&void 0!==s&&s.toUpperCase().endsWith(".GEOJSON")||null!==(l=h.source.dataAccessPath.en)&&void 0!==l&&l.toUpperCase().endsWith("=JSON")||(h.source.dataAccessPath.en=h.source.dataAccessPath.en.endsWith("/")?"".concat(h.source.dataAccessPath.en).concat(h.layerId):"".concat(h.source.dataAccessPath.en,"/").concat(h.layerId),h.source.dataAccessPath.fr=h.source.dataAccessPath.fr.endsWith("/")?"".concat(h.source.dataAccessPath.fr).concat(h.layerId):"".concat(h.source.dataAccessPath.fr,"/").concat(h.layerId)),h.source.dataProjection||(h.source.dataProjection=u.M.PROJECTION_NAMES.LNGLAT),h}return(0,s.A)(t,e),(0,r.A)(t)}(l.T)},38359:(e,t,n)=>{"use strict";n.d(t,{X:()=>p});var r=n(80085),i=n(36549),o=n(95174),a=n(42450),s=n(43021),l=n(50638),c=n(9374),u=n(84044);function d(e,t,n){return t=(0,a.A)(t),(0,o.A)(e,h()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var p=function(e){function t(e){var n,r,o,a,s;if((0,i.A)(this,t),s=d(this,t,[e]),Object.assign(s,e),void 0===s.entryType&&(s.entryType=c.hJ.VECTOR),s.source||(s.source={format:"GeoPackage"}),s.source.format||(s.source.format="GeoPackage"),!s.source.dataAccessPath){var l=s.geoviewLayerConfig.metadataAccessPath,h=l.en,p=l.fr;h=h.split("/").length>1?h.split("/").slice(0,-1).join("/"):"./",p=p.split("/").length>1?p.split("/").slice(0,-1).join("/"):"./",s.source.dataAccessPath={en:h,fr:p}}return null!==(n=s.source.dataAccessPath.en)&&void 0!==n&&n.startsWith("blob")&&(null===(r=s.source.dataAccessPath.en)||void 0===r||!r.endsWith("/"))||null!==(o=s.source.dataAccessPath.en)&&void 0!==o&&o.toLowerCase().endsWith(".gpkg")||(s.source.dataAccessPath.en=s.source.dataAccessPath.en.endsWith("/")?"".concat(s.source.dataAccessPath.en).concat(s.layerId):"".concat(s.source.dataAccessPath.en,"/").concat(s.layerId),s.source.dataAccessPath.fr=s.source.dataAccessPath.fr.endsWith("/")?"".concat(s.source.dataAccessPath.fr).concat(s.layerId):"".concat(s.source.dataAccessPath.fr,"/").concat(s.layerId)),null!==(a=s)&&void 0!==a&&null!==(a=a.source)&&void 0!==a&&a.dataProjection||(s.source.dataProjection=u.M.PROJECTION_NAMES.LNGLAT),s}return(0,s.A)(t,e),(0,r.A)(t)}(l.T)},54855:(e,t,n)=>{"use strict";n.d(t,{j:()=>f});var r=n(24515),i=n(80085),o=n(36549),a=n(95174),s=n(42450),l=n(43021),c=n(50638),u=n(84044);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e,t,n){return t=(0,s.A)(t),(0,a.A)(e,p()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}var f=function(e){function t(e){var n,i;return(0,o.A)(this,t),i=h(this,t,[e]),Object.assign(i,e),i.source||(i.source={format:"featureAPI"}),null!==(n=i)&&void 0!==n&&null!==(n=n.source)&&void 0!==n&&n.format||(i.source.format="featureAPI"),i.source.dataAccessPath||(i.source.dataAccessPath=function(e){for(var t=1;t{"use strict";n.d(t,{q:()=>f});var r=n(24515),i=n(80085),o=n(36549),a=n(95174),s=n(42450),l=n(43021),c=n(50638),u=n(84044);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e,t,n){return t=(0,s.A)(t),(0,a.A)(e,p()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}var f=function(e){function t(e){var n;return(0,o.A)(this,t),n=h(this,t,[e]),Object.assign(n,e),n.source||(n.source={format:"WFS"}),n.source.format||(n.source.format="WFS"),n.source.dataAccessPath||(n.source.dataAccessPath=function(e){for(var t=1;t{"use strict";n.d(t,{$r:()=>d,Ax:()=>f,DF:()=>h,Dy:()=>r,Fz:()=>g,LK:()=>p,MK:()=>l,RI:()=>c,Tg:()=>s,Wj:()=>a,Xl:()=>o,un:()=>i,vB:()=>m,xb:()=>u});var r="https://github.com/Canadian-Geospatial-Platform/geoview",i={url:"https://geo.ca/",text:"Geo.ca"},o=500,a=11,s=[90,-95],l=[100,100,100,100],c={NEW_INSTANCE:"newInstance",PROCESSING:"processing",LOADING:"loading",LOADED:"loaded",ERROR:"error"},u=["ArrowUp","ArrowRight","ArrowDown","ArrowLefts"],d=[].concat(u,["Space"]),h={LEGEND:"legend",DETAILS:"details",LAYERS:"layers",DATA_TABLE:"data-table",GUIDE:"guide",TIME_SLIDER:"time-slider",GEO_CHART:"geochart"},p={lessThanOrEqualTo:"<=",lessThan:"<",greaterThan:">",greaterThanOrEqualTo:">=",empty:"is null",notEmpty:"is not null",between:">",betweenInclusive:">=",equals:"=",notEquals:"<>"},f={greaterThan:"> date 'value'",greaterThanOrEqualTo:">= date 'value'",lessThan:"< date 'value'",lessThanOrEqualTo:"<= date 'value'",equals:"= date 'value'",empty:"is null",notEmpty:"is not null",notEquals:"<> date 'value'",between:"> date 'value'",betweenInclusive:">= date 'value'"},g={contains:"(filterId) like ('%value%')",startsWith:"(filterId) like ('value%')",endsWith:"(filterId) like ('%value')",empty:"(filterId) is null",notEmpty:"(filterId) is not null",equals:"filterId = 'value'",notEquals:"filterId <> 'value'"},m={APP_BAR:"appBar",FOOTER_BAR:"footerBar"}},46074:(e,t,n)=>{"use strict";n.d(t,{P:()=>E});var r=n(77156),i=n(43004),o=n(888),a=n(36549),s=n(80085),l=n(5750),c=n.n(l),u=n(6091),d=n.n(u),h=n(93845),p=n.n(h),f=n(98147),g=n.n(f);n(73158),n(17783);function m(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}c().extend(p());var y=[[0,1,2,3],[0,1,2,3],["-","-","T","+","00:00"]],v={year:"YYYY",month:"YYYY-MM",day:"YYYY-MM-DD"},b={hour:"THHZ",minute:"THH:mmZ",second:"THH:mm:ssZ"},w={esriTimeUnitsHours:"H",esriTimeUnitsDays:"D",esriTimeUnitsWeeks:"W",esriTimeUnitsMonths:"M",esriTimeUnitsYears:"Y"};c().extend(d()),c().extend(p()),c().extend(g());var x="Invalid Date",A="Invalid Time Dimension Duration",S=function(e){return c()(e).isValid()},C=function(e){return c().isDuration(c().duration(e))},E=function(){function e(){(0,a.A)(this,e)}return(0,s.A)(e,null,[{key:"convertToLocal",value:function(e){if("string"==typeof e&&!S(e))throw new Error("".concat(x," (convertToLocal)"));return c()(e).local().format()}},{key:"formatDate",value:function(e,t){if("string"==typeof e&&!S(e))throw new Error("".concat(x," (convertToLocal)"));return c()(e).format(t)}},{key:"convertToUTC",value:function(e){return"string"!=typeof e||S(e)?c()(e).utc(!1).format():""}},{key:"format",value:function(e,t,n){if("string"==typeof e&&!S(e))throw new Error("".concat(x," (format)"));var r="".concat(v[t]).concat(void 0!==n?b[n]:"");return c()(e).utc(!1).format(r)}},{key:"convertToMilliseconds",value:function(e){if("string"==typeof e&&!S(e))throw new Error("".concat(x," (convertToMilliseconds)"));return c()(e).valueOf()}},{key:"convertMilisecondsToDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DDTHH:mm:ss";return c()(e).utc(!1).format(t)}},{key:"extractDateFormat",value:function(e){if("string"==typeof e&&!S(e))throw new Error("".concat(x," (extractDateFormat)"));var t,n,r=e.split("T"),i=(0,o.A)(r,2),a=i[0],s=i[1];if(t=3===a.split("-").length?"day":2===a.split("-").length?"month":"year",s){var l=s.slice(0,8).split(":").length;return n=3===l?"second":2===l?"minute":"hour","".concat(v[t]).concat(b[n])}return v[t]}},{key:"createDimensionFromESRI",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.startTimeField,i=e.timeExtent,o=e.timeInterval,a=e.timeIntervalUnits,s="".concat(this.convertMilisecondsToDate(i[0]),"Z/").concat(this.convertMilisecondsToDate(i[1]),"Z").concat((t="",void 0!==a&&void 0!==o&&void 0!==w[a]&&(t="/P".concat(o).concat(w[a])),t)),l=this.createRangeOGC(s);return{field:r,default:l.range[l.range.length-1],unitSymbol:"",range:l,nearestValues:""===r?"absolute":"discrete",singleHandle:n}}},{key:"createDimensionFromOGC",value:function(e){var t="object"===(0,i.A)(e)?e:JSON.parse(e);return{field:t.name,default:t.default,unitSymbol:t.unitSymbol||"",range:this.createRangeOGC(t.values),nearestValues:!1!==t.nearestValues?"absolute":"discrete",singleHandle:!0}}},{key:"createRangeOGC",value:function(t){var n={type:"none",range:[]};if(t.split(",").length>1?n={type:"discrete",range:t.replace(/\s/g,"").split(",")}:!function(e){return 2===e.split("/").length}(t)?function(e){return 3===e.split("/").length}(t)&&(n={type:"discrete",range:m(e,this,k).call(this,t)}):n={type:"relative",range:m(e,this,T).call(this,t)},0===n.range.length)throw"Invalid Time Dimension";return n}},{key:"createDateLocaleTooltip",value:function(e,t){return c()(e).locale("".concat(t,"-CA")).format("".concat(e.split("T").length>1?"LLL":"LL"))}},{key:"getDateFragmentsOrder",value:function(e){var t=[-1,-1,-1,-1],n=[-1,-1,-1,-1],i=[],a=[t,n,i];if(e){var s=e.toUpperCase().replace(/Z/,"+00:00"),l=s,c=(0,r.A)(l.matchAll(/[[\]]/g));if(!(l.startsWith("Y")?[0,2]:[0,2,4]).includes(c.length))throw new Error('The string "'.concat(e,'" is an invalid date format.'));if(l=(l=(l=l.replace(/YYYY\[?[-/]MM\[?[-/]DD\[?[\sT]HH:MM:SS\[?[+-]\d\d:\d\d]?/,"")).replace(/\[?DD[-/]]?MM[-/]]?YYYY\[?[\sT]HH:MM:SS\[?[+-]\d\d:\d\d]?/,"")).replace(/MM[-/]DD[-/]YYYY\[?[\sT]HH:MM:SS[+-]\d\d:\d\d]?|(\[MM[-/]DD[-/]]|MM[-/]\[DD[-/]])YYYY\[[T\s]HH:MM:SS[+-]\d\d:\d\d]/,""))throw new Error('The string "'.concat(e,'" is an invalid date format.'));l=s;for(var u=0;u=0&&(n[t[r]]=r)})),f&&(t[3]=3,n[3]=3,i[4]=f.split(/[+-]/)[1]);for(var m=s.replace(/\[[YMDHMS\d\-+/\sT:]*\]|\[[\sTHMS:]*\]/g,"").split(/-|\/|\s|T|\+/g).length;m<4;m++)n[t[m]]=-1;return a}return y}},{key:"applyInputDateFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return e;var r=t[0],i=t[2],a=e.toUpperCase().replace("Z","+00:00").replaceAll(" ","T").split("T"),s=(0,o.A)(a,2),l=s[0],c=s[1];c||(c="00:00:00");var u=l.replaceAll("/","-").toUpperCase().split("-").map((function(e){return 1===e.length?"0".concat(e):e})),d=[];3===u.length?d=u:(u[0].length<3?d[r[1]]=u[0]:d[r[0]]=u[0],u[1]?u[1].length<3?d[r[1]]=u[1]:d[r[0]]=u[1]:d[r[1]]="01",d[r[2]]="01");var h="".concat(d[r[0]],"-").concat(d[r[1]],"-").concat(d[r[2]],"T").concat(c);return 19===h.length&&(h="".concat(h).concat(i[3]).concat(i[4])),h.endsWith("+00:00")?"Z"===e.slice(-1).toUpperCase()&&(h=h.replace("+00:00","Z")):(n&&(h="".concat(h.slice(0,19)).concat("+"===h.slice(19,20)?"-":"+").concat(h.slice(20))),h=this.convertToUTC(h)),h}},{key:"applyOutputDateFormat",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return e;if(t){var r=t[1],i=t[2],a=this.convertToUTC(e);"Z"===a.slice(-1).toUpperCase()&&(a="".concat(a.slice(0,-1),"+00:00"));var s="+"===i[3]?"-":"+",l=this.convertToUTC("".concat(a.toUpperCase().slice(0,-6)).concat(n?s:i[3]).concat(i[4])).split("T"),c=(0,o.A)(l,2),u=c[0],d=c[1],h=u.toUpperCase().split("-"),p="".concat(r[0]+1?"".concat(h[r[0]]):"");return p&&r[1]+1&&(p="".concat(p).concat(i[0])),r[1]+1&&(p="".concat(p).concat(h[r[1]])),p&&r[2]+1&&(p="".concat(p).concat(i[0])),r[2]+1&&(p="".concat(p).concat(h[r[2]])),r[3]+1&&(p="".concat(p).concat(i[2]).concat(d.slice(0,8))),p}return e}},{key:"deduceDateFormat",value:function(e){var t=null!==e?e.toUpperCase().replaceAll("/","-").replaceAll(" ","T"):"YYYY-MM-DD";return 4===(t=t.replace(/\d{4}/,"YYYY").replace(/^\d{1,2}(?=-\d{1,2}-YYYY)|((?<=^YYYY-\d-)|(?<=^YYYY-\d\d-))\d{1,2}/,"DD").replace(/(?<=^DD-)\d{1,2}(?=-YYYY)|(?<=^YYYY-)\d{1,2}(?=-DD)/,"MM").replace(/(?<=T)\d{1,2}/,"HH").replace(/(?<=THH:)\d{1,2}/,"MM").replace(/(?<=THH:MM:)\d{1,2}/,"SS")).length?t="".concat(t,"-MM-DDTHH:MM:SSZ"):7===t.length?t=t.startsWith("YYYY")?"".concat(t,"-DDTHH:MM:SSZ"):"DD-".concat(t,"THH:MM:SSZ"):10===t.length?t="".concat(t,"THH:MM:SSZ"):19===t.length&&(t="".concat(t,"Z")),t}},{key:"getDayjsDate",value:function(e){return c()(e)}}])}();function k(e){var t=e.split("/"),n=(0,o.A)(t,3),r=n[0],i=n[1],a=n[2];if(!S(r))throw new Error("".concat(x," (createAbsoluteInterval)"));if(!S(i))throw new Error("".concat(x," (createAbsoluteInterval)"));if(!C(a))throw A;var s="Z"===r.slice(-1).toUpperCase(),l=this.extractDateFormat(r),u=s?"".concat(c()(r).utc(!1).format(l).slice(0,-6),"Z"):c()(r).utc(!1).format(l),d=s?"".concat(c()(i).utc(!1).format(l).slice(0,-6),"Z"):c()(i).utc(!1).format(l),h=c().duration(a).asMilliseconds(),p=c().duration(h),f=[],g=0;f.push(u);do{var m=c()(f[g]).add(p).utc(!1).format(l);s&&(m="".concat(m.slice(0,-6),"Z")),f.push(m),31536e6===h&&f[g].slice(4,10)!==f[g+1].slice(4,10)&&(m=c()(f[g]).add(c().duration({milliseconds:316224e5})).utc(!1).format(l),s&&(m="".concat(m.slice(0,-6),"Z")),f[g+1]=m),g++}while(c()(f[f.length-1]).isBefore(d));return f.push(d),f}function T(e){var t=e.split("/"),n=(0,o.A)(t,2),r=n[0],i=n[1];if(!C(i)&&!S(i))throw A;if(!S(r))throw new Error("".concat(x," (createRelativeIntervale)"));var a=this.extractDateFormat(r),s=c().duration(i),l=c()(r).utc(!1).format(a),u=S(i)?c()(i):c()(r).add(s);return[l,c()(u).utc(!1).format(a)]}},6335:(e,t,n)=>{"use strict";n.d(t,{vF:()=>D});var r,i=n(36549),o=n(80085),a=n(24515),s=n(86973),l=n.n(s),c=function(e,t){try{var n=localStorage.getItem(e),r=Number(n);if(r&&!Number.isNaN(r))return r}catch(e){}return t};function u(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function d(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var h,p,f,g=1,m=2,y=3,v=4,b=5,w=6,x=8,A=9,S=10,C=20,E=30,k=40,T=50,_=!!c("GEOVIEW_LOG_ACTIVE"),O=(p=C,f=function(e,t){try{var n=localStorage.getItem(e);if(null!=n&&n.includes(","))return n.split(",").map((function(e){return Number(e.trim())})).filter((function(e){return!!e&&!Number.isNaN(e)}));var r=Number(n);if(r&&!Number.isNaN(r))return r}catch(e){}return t}(h="GEOVIEW_LOG_LEVEL"),void 0!==f?f:(localStorage.setItem(h,p.toString()),p)),P=new WeakSet,I=function(){return(0,o.A)((function e(t){(0,i.A)(this,e),u(this,P),(0,a.A)(this,"loggingLevel",void 0),(0,a.A)(this,"markers",{}),(0,a.A)(this,"trackers",{}),(0,a.A)(this,"trackerInterval",100),this.loggingLevel=t}),[{key:"logTraceDetailed",value:function(){var e;if(_){for(var t=arguments.length,n=new Array(t),r=0;r1?n-1:0),i=1;i1?n-1:0),i=1;i1?n-1:0),i=1;i1?n-1:0),i=1;i1?n-1:0),i=1;i1?n-1:0),i=1;i1?n-1:0),i=1;i1?s-1:0),c=1;c1?t-1:0),r=1;r=C||this.loggingLevel.includes(e):this.loggingLevel<=e}function L(e,t,n){for(var i,o=arguments.length,a=new Array(o>3?o-3:0),s=3;s1?n-1:0),o=1;o1?n-1:0),o=1;o{"use strict";n.d(t,{T$:()=>d,yb:()=>h});var r=n(74131),i=n(24515),o=n(53732),a=n.n(o),s=n(38811);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{addUiComponent:()=>A,createGuideObject:()=>F,createLocalizedString:()=>h,delay:()=>L,escapeRegExp:()=>R,exportPNG:()=>k,findPropertyNameByRegex:()=>T,generateId:()=>m,getLocalizedMessage:()=>f,getLocalizedValue:()=>p,getScriptAndAssetURL:()=>g,getXMLHttpRequest:()=>x,isImage:()=>_,isJsonString:()=>b,parseJSONConfig:()=>E,removeCommentsFromJSON:()=>C,replaceParams:()=>y,sanitizeHtmlContent:()=>S,setAlphaColor:()=>v,stringify:()=>O,whenThisThen:()=>M,whenThisThenThat:()=>I,xmlToJson:()=>w});var r=n(74131),i=n(53732),o=n.n(i),a=n(17004),s=n(16301),l=n(17309),c=n.n(l),u=n(16896),d=n(6335);function h(e){return{en:e,fr:e}}function p(e,t){if(e)return e[t]}function f(e,t){return s.Ay.getFixedT(t)(e)}function g(){var e=document.getElementsByTagName("script"),t="";if(e&&e.length)for(var n=0;n0?e:(Date.now().toString(36)+Math.random().toString(36).substr(2,5)).toUpperCase()}function y(e,t){var n=t;return e.forEach((function(e){n=n.replace("__param__",e)})),n}function v(e,t){var n=e;return n[3]=t,n}function b(e){try{if(""===e)return!1;JSON.parse(e)}catch(t){return d.vF.logError("- Invalid JSON string. String passed to the JSON parser:",e,"- JSON Parser error:",t.message,"- See text above."),!1}return!0}function w(e){var t={};if(1===e.nodeType){var n=(0,u.KX)(e);if(n.attributes&&n.attributes.length>0){t["@attributes"]={};for(var r=0;r=400&&t("{}")},n.onerror=function(){t("{}")},n.send(null)}catch(e){t("{}")}}))}function A(e,t){var n=(0,a.H)(document.getElementById(e));return n.render(t),n}function S(e){return c()(e)}function C(e){return e.split(/(?3&&void 0!==arguments[3]?arguments[3]:1e4,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:100;P(e,t,n,new Date,r,i)}function M(e,t,n){return new Promise((function(r,i){I(e,r,i,t,n)}))}var L=function(e){return new Promise((function(t){setTimeout(t,e)}))};function R(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function j(e){return e.split("\n")[0].trim().split(" ").filter((function(e){return!e.startsWith("#")&&!e.startsWith("!")})).join(" ")}function F(e,t,n){return D.apply(this,arguments)}function D(){return(D=(0,r.A)(o().mark((function e(t,n,r){var i,a,s,l,c,u,h,p,f,g,m,y,v,b,w,x,A,S,C,E,k,T;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("".concat(r,"/locales/").concat(n,"/guide.md"));case 3:return i=e.sent,e.next=6,i.text();case 6:for(a=e.sent,(s=a.replaceAll("{{assetsURL}}",r).split(/=(?=1!)(.*?)=/))[0].trim()||s.shift(),l={},c=0;c1)for(y=1;y{"use strict";n.d(t,{X:()=>ue});var r=n(36549),i=n(80085),o=n(95174),a=n(54111),s=n(42450),l=n(43021),c=n(68796),u=n(64895),d=n(67703),h=n(75603),p=n(14292),f=n(86441),g=n(22727),m=n(76619),y=n(58003),v=n(62400),b=n(89049),w=n(42153),x=n(38492),A=n(67923),S=n(92548),C=n(26076),E=n(83836),k=n(70380),T=n(11030),_=n(66569),O=n(11455),P=n(57734),I=n(67843),M=n(42081),L=n(29514);const R="drawstart",j="drawend",F="drawabort";class D extends u.Ay{constructor(e,t){super(e),this.feature=t}}function N(e,t){return(0,O.hG)(e[0],e[1],t[0],t[1])}function B(e,t){const n=e.length;return t<0?e[t+n]:t>=n?e[t-n]:e[t]}function z(e,t,n){let r,i;ta){return N(q(e,r),q(e,i))}let s=0;if(r=n?r-=n:r<0&&(r+=n);let o=r+1;o>=n&&(o-=n);const a=e[r],s=a[0],l=a[1],c=e[o];return[s+(c[0]-s)*i,l+(c[1]-l)*i]}class H extends A.A{constructor(e){const t=e;t.stopDown||(t.stopDown=k.W8),super(t),this.on,this.once,this.un,this.shouldHandle_=!1,this.downPx_=null,this.downTimeout_,this.lastDragTime_,this.pointerType_,this.freehand_=!1,this.source_=e.source?e.source:null,this.features_=e.features?e.features:null,this.snapTolerance_=e.snapTolerance?e.snapTolerance:12,this.type_=e.type,this.mode_=function(e){switch(e){case"Point":case"MultiPoint":return"Point";case"LineString":case"MultiLineString":return"LineString";case"Polygon":case"MultiPolygon":return"Polygon";case"Circle":return"Circle";default:throw new Error("Invalid type: "+e)}}(this.type_),this.stopClick_=!!e.stopClick,this.minPoints_=e.minPoints?e.minPoints:"Polygon"===this.mode_?3:2,this.maxPoints_="Circle"===this.mode_?2:e.maxPoints?e.maxPoints:1/0,this.finishCondition_=e.finishCondition?e.finishCondition:k.rT,this.geometryLayout_=e.geometryLayout?e.geometryLayout:"XY";let n=e.geometryFunction;if(!n){const e=this.mode_;if("Circle"===e)n=function(e,t,n){const r=t||new c.A([NaN,NaN]),i=(0,M.Ad)(e[0],n),o=(0,I.hG)(i,(0,M.Ad)(e[e.length-1],n));r.setCenterAndRadius(i,Math.sqrt(o),this.geometryLayout_);const a=(0,M.Tf)();return a&&r.transform(n,a),r};else{let t;"Point"===e?t=x.A:"LineString"===e?t=g.A:"Polygon"===e&&(t=S.Ay),n=function(n,r,i){return r?"Polygon"===e?n[0].length?r.setCoordinates([n[0].concat([n[0][0]])],this.geometryLayout_):r.setCoordinates([],this.geometryLayout_):r.setCoordinates(n,this.geometryLayout_):r=new t(n,this.geometryLayout_),r}}}this.geometryFunction_=n,this.dragVertexDelay_=void 0!==e.dragVertexDelay?e.dragVertexDelay:500,this.finishCoordinate_=null,this.sketchFeature_=null,this.sketchPoint_=null,this.sketchCoords_=null,this.sketchLine_=null,this.sketchLineCoords_=null,this.squaredClickTolerance_=e.clickTolerance?e.clickTolerance*e.clickTolerance:36,this.overlay_=new C.A({source:new E.A({useSpatialIndex:!1,wrapX:!!e.wrapX&&e.wrapX}),style:e.style?e.style:Y(),updateWhileInteracting:!0}),this.geometryName_=e.geometryName,this.condition_=e.condition?e.condition:T.TS,this.freehandCondition_,e.freehand?this.freehandCondition_=T.Gk:this.freehandCondition_=e.freehandCondition?e.freehandCondition:T.Kg,this.traceCondition_,this.setTrace(e.trace||!1),this.traceState_={active:!1},this.traceSource_=e.traceSource||e.source||null,this.addChangeListener(f.A.ACTIVE,this.updateState_)}setTrace(e){let t;t=e?!0===e?T.Gk:e:T.Zm,this.traceCondition_=t}setMap(e){super.setMap(e),this.updateState_()}getOverlay(){return this.overlay_}handleEvent(e){e.originalEvent.type===d.A.CONTEXTMENU&&e.originalEvent.preventDefault(),this.freehand_="Point"!==this.mode_&&this.freehandCondition_(e);let t=e.type===y.A.POINTERMOVE,n=!0;if(!this.freehand_&&this.lastDragTime_&&e.type===y.A.POINTERDRAG){Date.now()-this.lastDragTime_>=this.dragVertexDelay_?(this.downPx_=e.pixel,this.shouldHandle_=!this.freehand_,t=!0):this.lastDragTime_=void 0,this.shouldHandle_&&void 0!==this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0)}return this.freehand_&&e.type===y.A.POINTERDRAG&&null!==this.sketchFeature_?(this.addToDrawing_(e.coordinate),n=!1):this.freehand_&&e.type===y.A.POINTERDOWN?n=!1:t&&this.getPointerCount()<2?(n=e.type===y.A.POINTERMOVE,n&&this.freehand_?(this.handlePointerMove_(e),this.shouldHandle_&&e.originalEvent.preventDefault()):("mouse"===e.originalEvent.pointerType||e.type===y.A.POINTERDRAG&&void 0===this.downTimeout_)&&this.handlePointerMove_(e)):e.type===y.A.DBLCLICK&&(n=!1),super.handleEvent(e)&&n}handleDownEvent(e){return this.shouldHandle_=!this.freehand_,this.freehand_?(this.downPx_=e.pixel,this.finishCoordinate_||this.startDrawing_(e.coordinate),!0):this.condition_(e)?(this.lastDragTime_=Date.now(),this.downTimeout_=setTimeout((()=>{this.handlePointerMove_(new m.A(y.A.POINTERMOVE,e.map,e.originalEvent,!1,e.frameState))}),this.dragVertexDelay_),this.downPx_=e.pixel,!0):(this.lastDragTime_=void 0,!1)}deactivateTrace_(){this.traceState_={active:!1}}toggleTraceState_(e){if(!this.traceSource_||!this.traceCondition_(e))return;if(this.traceState_.active)return void this.deactivateTrace_();const t=this.getMap(),n=t.getCoordinateFromPixel([e.pixel[0]-this.snapTolerance_,e.pixel[1]+this.snapTolerance_]),r=t.getCoordinateFromPixel([e.pixel[0]+this.snapTolerance_,e.pixel[1]-this.snapTolerance_]),i=(0,_.boundingExtent)([n,r]),o=this.traceSource_.getFeaturesInExtent(i);if(0===o.length)return;const a=function(e,t){const n=[];for(let r=0;re.endIndex||!n&&te.endIndex)&&this.removeTracedCoordinates_(t,e.endIndex):(this.removeTracedCoordinates_(e.startIndex,e.endIndex),this.addTracedCoordinates_(e,e.startIndex,t))}removeTracedCoordinates_(e,t){if(e===t)return;let n=0;if(e0&&this.removeLastPoints_(n)}addTracedCoordinates_(e,t,n){if(t===n)return;const r=[];if(t=o;--t)r.push(B(e.coordinates,t))}r.length&&this.appendCoordinates(r)}updateTrace_(e){const t=this.traceState_;if(!t.active)return;if(-1===t.targetIndex&&(0,I.Io)(t.startPx,e.pixel)n.startIndex?cn.startIndex&&(c-=r.length)),l=c,s=e)}const c=t.targets[s];let u=c.ring;if(t.targetIndex===s&&u){const e=q(c.coordinates,l),i=n.getPixelFromCoordinate(e);(0,I.Io)(i,t.startPx)>r&&(u=!1)}if(u){const e=c.coordinates,t=e.length,n=c.startIndex,r=l;if(nthis.squaredClickTolerance_:o<=this.squaredClickTolerance_,!this.shouldHandle_)return}this.finishCoordinate_?(this.updateTrace_(e),this.modifyDrawing_(e.coordinate)):this.createOrUpdateSketchPoint_(e.coordinate.slice())}atFinish_(e,t){let n=!1;if(this.sketchFeature_){let r=!1,i=[this.finishCoordinate_];const o=this.mode_;if("Point"===o)n=!0;else if("Circle"===o)n=2===this.sketchCoords_.length;else if("LineString"===o)r=!t&&this.sketchCoords_.length>this.minPoints_;else if("Polygon"===o){const e=this.sketchCoords_;r=e[0].length>this.minPoints_,i=[e[0][0],e[0][e[0].length-2]],i=t?[e[0][0]]:[e[0][0],e[0][e[0].length-2]]}if(r){const t=this.getMap();for(let r=0,o=i.length;r=this.maxPoints_&&(this.freehand_?i.pop():r=!0),i.push(e.slice()),this.geometryFunction_(i,t,n)):"Polygon"===o&&(i=this.sketchCoords_[0],i.length>=this.maxPoints_&&(this.freehand_?i.pop():r=!0),i.push(e.slice()),r&&(this.finishCoordinate_=i[0]),this.geometryFunction_(this.sketchCoords_,t,n)),this.createOrUpdateSketchPoint_(e.slice()),this.updateSketchFeatures_(),r?this.finishDrawing():this.sketchFeature_}removeLastPoints_(e){if(!this.sketchFeature_)return;const t=this.sketchFeature_.getGeometry(),n=this.getMap().getView().getProjection(),r=this.mode_;for(let i=0;i=2){this.finishCoordinate_=e[e.length-2].slice();const t=this.finishCoordinate_.slice();e[e.length-1]=t,this.createOrUpdateSketchPoint_(t)}this.geometryFunction_(e,t,n),"Polygon"===t.getType()&&this.sketchLine_&&this.createOrUpdateCustomSketchLine_(t)}else if("Polygon"===r){e=this.sketchCoords_[0],e.splice(-2,1);const r=this.sketchLine_.getGeometry();if(e.length>=2){const t=e[e.length-2].slice();e[e.length-1]=t,this.createOrUpdateSketchPoint_(t)}r.setCoordinates(e),this.geometryFunction_(this.sketchCoords_,t,n)}if(1===e.length){this.abortDrawing();break}}this.updateSketchFeatures_()}removeLastPoint(){this.removeLastPoints_(1)}finishDrawing(){const e=this.abortDrawing_();if(!e)return null;let t=this.sketchCoords_;const n=e.getGeometry(),r=this.getMap().getView().getProjection();return"LineString"===this.mode_?(t.pop(),this.geometryFunction_(t,n,r)):"Polygon"===this.mode_&&(t[0].pop(),this.geometryFunction_(t,n,r),t=n.getCoordinates()),"MultiPoint"===this.type_?e.setGeometry(new b.A([t])):"MultiLineString"===this.type_?e.setGeometry(new v.A([t])):"MultiPolygon"===this.type_&&e.setGeometry(new w.A([t])),this.dispatchEvent(new D(j,e)),this.features_&&this.features_.push(e),this.source_&&this.source_.addFeature(e),e}abortDrawing_(){this.finishCoordinate_=null;const e=this.sketchFeature_;return this.sketchFeature_=null,this.sketchPoint_=null,this.sketchLine_=null,this.overlay_.getSource().clear(!0),this.deactivateTrace_(),e}abortDrawing(){const e=this.abortDrawing_();e&&this.dispatchEvent(new D(F,e))}appendCoordinates(e){const t=this.mode_,n=!this.sketchFeature_;let r;if(n&&this.startDrawing_(e[0]),"LineString"===t||"Circle"===t)r=this.sketchCoords_;else{if("Polygon"!==t)return;r=this.sketchCoords_&&this.sketchCoords_.length?this.sketchCoords_[0]:[]}n&&r.shift(),r.pop();for(let t=0;t{"use strict";n.d(t,{z:()=>$});var r=n(36549),i=n(80085),o=n(95174),a=n(54111),s=n(42450),l=n(43021),c=n(64895),u=n(75603),d=n(58003),h=n(38492),p=n(67923),f=n(26076),g=n(83836),m=n(11030),y=n(66569),v=n(67843),b=n(57734),w=n(92548),x=n(42081);const A="extentchanged";class S extends c.Ay{constructor(e){super(A),this.extent=e}}class C extends p.A{constructor(e){super(e=e||{}),this.on,this.once,this.un,this.condition_=e.condition?e.condition:m.Gk,this.extent_=null,this.pointerHandler_=null,this.pixelTolerance_=void 0!==e.pixelTolerance?e.pixelTolerance:10,this.snappedToVertex_=!1,this.extentFeature_=null,this.vertexFeature_=null,e||(e={}),this.extentOverlay_=new f.A({source:new g.A({useSpatialIndex:!1,wrapX:!!e.wrapX}),style:e.boxStyle?e.boxStyle:E(),updateWhileAnimating:!0,updateWhileInteracting:!0}),this.vertexOverlay_=new f.A({source:new g.A({useSpatialIndex:!1,wrapX:!!e.wrapX}),style:e.pointerStyle?e.pointerStyle:k(),updateWhileAnimating:!0,updateWhileInteracting:!0}),e.extent&&this.setExtent(e.extent)}snapToVertex_(e,t){const n=t.getCoordinateFromPixelInternal(e),r=function(e,t){return(0,v.$x)(n,e)-(0,v.$x)(n,t)},i=this.getExtentInternal();if(i){const o=function(e){return[[[e[0],e[1]],[e[0],e[3]]],[[e[0],e[3]],[e[2],e[3]]],[[e[2],e[3]],[e[2],e[1]]],[[e[2],e[1]],[e[0],e[1]]]]}(i);o.sort(r);const a=o[0];let s=(0,v.sG)(n,a);const l=t.getPixelFromCoordinateInternal(s);if((0,v.Io)(e,l)<=this.pixelTolerance_){const e=t.getPixelFromCoordinateInternal(a[0]),n=t.getPixelFromCoordinateInternal(a[1]),r=(0,v.hG)(l,e),i=(0,v.hG)(l,n),o=Math.sqrt(Math.min(r,i));return this.snappedToVertex_=o<=this.pixelTolerance_,this.snappedToVertex_&&(s=r>i?a[1]:a[0]),s}}return null}handlePointerMove_(e){const t=e.pixel,n=e.map;let r=this.snapToVertex_(t,n);r||(r=n.getCoordinateFromPixelInternal(t)),this.createOrUpdatePointerFeature_(r)}createOrUpdateExtentFeature_(e){let t=this.extentFeature_;return t?e?t.setGeometry((0,w.VY)(e)):t.setGeometry(void 0):(t=e?new u.A((0,w.VY)(e)):new u.A({}),this.extentFeature_=t,this.extentOverlay_.getSource().addFeature(t)),t}createOrUpdatePointerFeature_(e){let t=this.vertexFeature_;if(t){t.getGeometry().setCoordinates(e)}else t=new u.A(new h.A(e)),this.vertexFeature_=t,this.vertexOverlay_.getSource().addFeature(t);return t}handleEvent(e){return!e.originalEvent||!this.condition_(e)||(e.type!=d.A.POINTERMOVE||this.handlingDownUpSequence||this.handlePointerMove_(e),super.handleEvent(e),!1)}handleDownEvent(e){const t=e.pixel,n=e.map,r=this.getExtentInternal();let i=this.snapToVertex_(t,n);const o=function(e){let t=null,n=null;return e[0]==r[0]?t=r[2]:e[0]==r[2]&&(t=r[0]),e[1]==r[1]?n=r[3]:e[1]==r[3]&&(n=r[1]),null!==t&&null!==n?[t,n]:null};if(i&&r){const e=i[0]==r[0]||i[0]==r[2]?i[0]:null,t=i[1]==r[1]||i[1]==r[3]?i[1]:null;null!==e&&null!==t?this.pointerHandler_=T(o(i)):null!==e?this.pointerHandler_=_(o([e,r[1]]),o([e,r[3]])):null!==t&&(this.pointerHandler_=_(o([r[0],t]),o([r[2],t])))}else i=n.getCoordinateFromPixelInternal(t),this.setExtent([i[0],i[1],i[0],i[1]]),this.pointerHandler_=T(i);return!0}handleDragEvent(e){if(this.pointerHandler_){const t=e.coordinate;this.setExtent(this.pointerHandler_(t)),this.createOrUpdatePointerFeature_(t)}}handleUpEvent(e){this.pointerHandler_=null;const t=this.getExtentInternal();return t&&0!==(0,y.getArea)(t)||this.setExtent(null),!1}setMap(e){this.extentOverlay_.setMap(e),this.vertexOverlay_.setMap(e),super.setMap(e)}getExtent(){return(0,x.JR)(this.getExtentInternal(),this.getMap().getView().getProjection())}getExtentInternal(){return this.extent_}setExtent(e){this.extent_=e||null,this.createOrUpdateExtentFeature_(e),this.dispatchEvent(new S(this.extent_))}}function E(){const e=(0,b.mY)();return function(t,n){return e.Polygon}}function k(){const e=(0,b.mY)();return function(t,n){return e.Point}}function T(e){return function(t){return(0,y.boundingExtent)([e,t])}}function _(e,t){return e[0]==t[0]?function(n){return(0,y.boundingExtent)([e,[n[0],t[1]]])}:e[1]==t[1]?function(n){return(0,y.boundingExtent)([e,[t[0],n[1]]])}:null}const O=C;var P=n(75079),I=n(8243),M=n(17168);function L(e,t,n){return t=(0,s.A)(t),(0,o.A)(e,R()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function R(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(R=function(){return!!e})()}function j(e,t,n){F(e,t),t.set(e,n)}function F(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function D(e,t){return e.get(N(e,t))}function N(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var B=new WeakMap,z=new WeakMap,V=new WeakSet,$=function(e){function t(e){var n,i,o;(0,r.A)(this,t),n=L(this,t,[e]),F(i=n,o=V),o.add(i),j(n,B,void 0),j(n,z,[]);var a={condition:m.Kg,boxStyle:(0,I.convertTypeFeatureStyleToOpenLayersStyle)(e.boxStyle),pixelTolerance:e.pixelTolerance||0};return function(e,t,n){e.set(N(e,t),n)}(B,n,new O(a)),D(B,n).on("extentchanged",N(V,n,G).bind(n)),n}return(0,l.A)(t,e),(0,i.A)(t,[{key:"startInteraction",value:function(){(0,a.A)((0,s.A)(t.prototype),"startInteraction",this).call(this,D(B,this))}},{key:"stopInteraction",value:function(){(0,a.A)((0,s.A)(t.prototype),"stopInteraction",this).call(this,D(B,this))}},{key:"onExtentChanged",value:function(e){P.A.onEvent(D(z,this),e)}},{key:"offExtentChanged",value:function(e){P.A.offEvent(D(z,this),e)}}])}(M.N);function G(e){P.A.emitEvent(this,D(z,this),e)}},17168:(e,t,n)=>{"use strict";n.d(t,{N:()=>a});var r=n(36549),i=n(80085),o=n(24515),a=function(){return(0,i.A)((function e(t){(0,r.A)(this,e),(0,o.A)(this,"mapViewer",void 0),this.mapViewer=t.mapViewer}),[{key:"startInteraction",value:function(e){this.mapViewer.map.addInteraction(e)}},{key:"stopInteraction",value:function(e){this.mapViewer.map.removeInteraction(e)}}])}()},70208:(e,t,n)=>{"use strict";n.d(t,{B:()=>Q});var r=n(36549),i=n(80085),o=n(95174),a=n(54111),s=n(42450),l=n(43021),c=n(26293),u=n(62681),d=n(64895),h=n(67703),p=n(75603),f=n(58003),g=n(38492),m=n(67923),y=n(95436),v=n(1286),b=n(26076),w=n(83836),x=n(11030),A=n(66569),S=n(67843),C=n(57734),E=n(61016),k=n(92548),T=n(42081),_=n(34209);const O=[0,0,0,0],P=[],I="modifystart",M="modifyend";class L extends d.Ay{constructor(e,t,n){super(e),this.features=t,this.mapBrowserEvent=n}}class R extends m.A{constructor(e){let t;if(super(e),this.on,this.once,this.un,this.boundHandleFeatureChange_=this.handleFeatureChange_.bind(this),this.condition_=e.condition?e.condition:x.fs,this.defaultDeleteCondition_=function(e){return(0,x.Js)(e)&&(0,x.t5)(e)},this.deleteCondition_=e.deleteCondition?e.deleteCondition:this.defaultDeleteCondition_,this.insertVertexCondition_=e.insertVertexCondition?e.insertVertexCondition:x.Gk,this.vertexFeature_=null,this.vertexSegments_=null,this.lastPixel_=[0,0],this.ignoreNextSingleClick_=!1,this.featuresBeingModified_=null,this.rBush_=new y.A,this.pixelTolerance_=void 0!==e.pixelTolerance?e.pixelTolerance:10,this.snappedToVertex_=!1,this.changingFeature_=!1,this.dragSegments_=[],this.overlay_=new b.A({source:new w.A({useSpatialIndex:!1,wrapX:!!e.wrapX}),style:e.style?e.style:N(),updateWhileAnimating:!0,updateWhileInteracting:!0}),this.SEGMENT_WRITERS_={Point:this.writePointGeometry_.bind(this),LineString:this.writeLineStringGeometry_.bind(this),LinearRing:this.writeLineStringGeometry_.bind(this),Polygon:this.writePolygonGeometry_.bind(this),MultiPoint:this.writeMultiPointGeometry_.bind(this),MultiLineString:this.writeMultiLineStringGeometry_.bind(this),MultiPolygon:this.writeMultiPolygonGeometry_.bind(this),Circle:this.writeCircleGeometry_.bind(this),GeometryCollection:this.writeGeometryCollectionGeometry_.bind(this)},this.source_=null,this.hitDetection_=null,e.features?t=e.features:e.source&&(this.source_=e.source,t=new c.A(this.source_.getFeatures()),this.source_.addEventListener(v.A.ADDFEATURE,this.handleSourceAdd_.bind(this)),this.source_.addEventListener(v.A.REMOVEFEATURE,this.handleSourceRemove_.bind(this))),!t)throw new Error("The modify interaction requires features, a source or a layer");e.hitDetection&&(this.hitDetection_=e.hitDetection),this.features_=t,this.features_.forEach(this.addFeature_.bind(this)),this.features_.addEventListener(u.A.ADD,this.handleFeatureAdd_.bind(this)),this.features_.addEventListener(u.A.REMOVE,this.handleFeatureRemove_.bind(this)),this.lastPointerEvent_=null,this.delta_=[0,0],this.snapToPointer_=void 0===e.snapToPointer?!this.hitDetection_:e.snapToPointer}addFeature_(e){const t=e.getGeometry();if(t){const n=this.SEGMENT_WRITERS_[t.getType()];n&&n(e,t)}const n=this.getMap();n&&n.isRendered()&&this.getActive()&&this.handlePointerAtPixel_(this.lastPixel_,n),e.addEventListener(h.A.CHANGE,this.boundHandleFeatureChange_)}willModifyFeatures_(e,t){if(!this.featuresBeingModified_){this.featuresBeingModified_=new c.A;const n=this.featuresBeingModified_.getArray();for(let e=0,r=t.length;e=0;--e){const r=n[e];for(let e=this.dragSegments_.length-1;e>=0;--e)this.dragSegments_[e][0]===r&&this.dragSegments_.splice(e,1);t.remove(r)}}setActive(e){this.vertexFeature_&&!e&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),super.setActive(e)}setMap(e){this.overlay_.setMap(e),super.setMap(e)}getOverlay(){return this.overlay_}handleSourceAdd_(e){e.feature&&this.features_.push(e.feature)}handleSourceRemove_(e){e.feature&&this.features_.remove(e.feature)}handleFeatureAdd_(e){this.addFeature_(e.element)}handleFeatureChange_(e){if(!this.changingFeature_){const t=e.target;this.removeFeature_(t),this.addFeature_(t)}}handleFeatureRemove_(e){this.removeFeature_(e.element)}writePointGeometry_(e,t){const n=t.getCoordinates(),r={feature:e,geometry:t,segment:[n,n]};this.rBush_.insert(t.getExtent(),r)}writeMultiPointGeometry_(e,t){const n=t.getCoordinates();for(let r=0,i=n.length;r=0;--e)this.insertVertex_(i[e],o)}return!!this.vertexFeature_}handleUpEvent(e){for(let t=this.dragSegments_.length-1;t>=0;--t){const n=this.dragSegments_[t][0],r=n.geometry;if("Circle"===r.getType()){const t=r.getCenter(),i=n.featureSegments[0],o=n.featureSegments[1];i.segment[0]=t,i.segment[1]=t,o.segment[0]=t,o.segment[1]=t,this.rBush_.update((0,A.createOrUpdateFromCoordinate)(t),i);let a=r;const s=(0,T.Tf)();if(s){const t=e.map.getView().getProjection();a=a.clone().transform(s,t),a=(0,k.nD)(a).transform(t,s)}this.rBush_.update(a.getExtent(),o)}else this.rBush_.update((0,A.boundingExtent)(n.segment),n)}return this.featuresBeingModified_&&(this.dispatchEvent(new L(M,this.featuresBeingModified_,e)),this.featuresBeingModified_=null),!1}handlePointerMove_(e){this.lastPixel_=e.pixel,this.handlePointerAtPixel_(e.pixel,e.map,e.coordinate)}handlePointerAtPixel_(e,t,n){const r=n||t.getCoordinateFromPixel(e),i=t.getView().getProjection(),o=function(e,t){return F(r,e,i)-F(r,t,i)};let a,s;if(this.hitDetection_){const n="object"==typeof this.hitDetection_?e=>e===this.hitDetection_:void 0;t.forEachFeatureAtPixel(e,((e,t,n)=>{n&&"Point"===n.getType()&&(n=new g.A((0,T.te)(n.getCoordinates(),i)));const r=n||e.getGeometry();if(e instanceof p.A&&this.features_.getArray().includes(e)){s=r;const t=e.getGeometry().getFlatCoordinates().slice(0,2);a=[{feature:e,geometry:s,segment:[t,t]}]}return!0}),{layerFilter:n})}if(!a){const e=(0,T.SD)((0,A.createOrUpdateFromCoordinate)(r,O),i),n=t.getView().getResolution()*this.pixelTolerance_,o=(0,T.JR)((0,A.buffer)(e,n,O),i);a=this.rBush_.getInExtent(o)}if(a&&a.length>0){const n=a.sort(o)[0],l=n.segment;let c=D(r,n,i);const u=t.getPixelFromCoordinate(c);let d=(0,S.Io)(e,u);if(s||d<=this.pixelTolerance_){const e={};if(e[(0,_.v6)(l)]=!0,this.snapToPointer_||(this.delta_[0]=c[0]-r[0],this.delta_[1]=c[1]-r[1]),"Circle"===n.geometry.getType()&&1===n.index)this.snappedToVertex_=!0,this.createOrUpdateVertexFeature_(c,[n.feature],[n.geometry]);else{const r=t.getPixelFromCoordinate(l[0]),i=t.getPixelFromCoordinate(l[1]),o=(0,S.hG)(u,r),s=(0,S.hG)(u,i);d=Math.sqrt(Math.min(o,s)),this.snappedToVertex_=d<=this.pixelTolerance_,this.snappedToVertex_&&(c=o>s?l[1]:l[0]),this.createOrUpdateVertexFeature_(c,[n.feature],[n.geometry]);const h={};h[(0,_.v6)(n.geometry)]=!0;for(let t=1,n=a.length;t=0;--a)i=e[a],d=i[0],h=(0,_.v6)(d.feature),d.depth&&(h+="-"+d.depth.join("-")),h in t||(t[h]={}),0===i[1]?(t[h].right=d,t[h].index=d.index):1==i[1]&&(t[h].left=d,t[h].index=d.index+1);for(h in t){switch(u=t[h].right,l=t[h].left,s=t[h].index,c=s-1,d=void 0!==l?l:u,c<0&&(c=0),o=d.geometry,r=o.getCoordinates(),n=r,p=!1,o.getType()){case"MultiLineString":r[d.depth[0]].length>2&&(r[d.depth[0]].splice(s,1),p=!0);break;case"LineString":r.length>2&&(r.splice(s,1),p=!0);break;case"MultiPolygon":n=n[d.depth[1]];case"Polygon":n=n[d.depth[0]],n.length>4&&(s==n.length-1&&(s=0),n.splice(s,1),p=!0,0===s&&(n.pop(),n.push(n[0]),c=n.length-1))}if(p){this.setGeometryCoordinates_(o,r);const t=[];if(void 0!==l&&(this.rBush_.remove(l),t.push(l.segment[0])),void 0!==u&&(this.rBush_.remove(u),t.push(u.segment[1])),void 0!==l&&void 0!==u){const e={depth:d.depth,feature:d.feature,geometry:d.geometry,index:c,segment:t};this.rBush_.insert((0,A.boundingExtent)(e.segment),e)}this.updateSegmentIndices_(o,s,d.depth,-1),this.vertexFeature_&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),e.length=0}}return p}setGeometryCoordinates_(e,t){this.changingFeature_=!0,e.setCoordinates(t),this.changingFeature_=!1}updateSegmentIndices_(e,t,n,r){this.rBush_.forEachInExtent(e.getExtent(),(function(i){i.geometry===e&&(void 0===n||void 0===i.depth||(0,E.aI)(i.depth,n))&&i.index>t&&(i.index+=r)}))}}function j(e,t){return e.index-t.index}function F(e,t,n){const r=t.geometry;if("Circle"===r.getType()){let i=r;if(1===t.index){const t=(0,T.Tf)();t&&(i=i.clone().transform(t,n));const r=(0,S.hG)(i.getCenter(),(0,T.Ad)(e,n)),o=Math.sqrt(r)-i.getRadius();return o*o}}const i=(0,T.Ad)(e,n);return P[0]=(0,T.Ad)(t.segment[0],n),P[1]=(0,T.Ad)(t.segment[1],n),(0,S.$x)(i,P)}function D(e,t,n){const r=t.geometry;if("Circle"===r.getType()&&1===t.index){let t=r;const i=(0,T.Tf)();return i&&(t=t.clone().transform(i,n)),(0,T.te)(t.getClosestPoint((0,T.Ad)(e,n)),n)}const i=(0,T.Ad)(e,n);return P[0]=(0,T.Ad)(t.segment[0],n),P[1]=(0,T.Ad)(t.segment[1],n),(0,T.te)((0,S.sG)(i,P),n)}function N(){const e=(0,C.mY)();return function(t,n){return e.Point}}const B=R;var z=n(75079),V=n(8243),$=n(17168);function G(e,t,n){return t=(0,s.A)(t),(0,o.A)(e,U()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function U(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(U=function(){return!!e})()}function W(e,t,n){q(e,t),t.set(e,n)}function q(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function H(e,t){return e.get(Y(e,t))}function Y(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var K=new WeakMap,X=new WeakMap,Z=new WeakMap,J=new WeakSet,Q=function(e){function t(e){var n,i,o;(0,r.A)(this,t),n=G(this,t,[e]),q(i=n,o=J),o.add(i),W(n,K,void 0),W(n,X,[]),W(n,Z,[]);var a={style:(0,V.convertTypeFeatureStyleToOpenLayersStyle)(e.style)};if(e.features)a.features=e.features;else if(e.geometryGroupKey){var s,l=null===(s=n.mapViewer.layer.geometry)||void 0===s?void 0:s.createGeometryGroup(e.geometryGroupKey);a.source=null==l?void 0:l.vectorSource}return function(e,t,n){e.set(Y(e,t),n)}(K,n,new B(a)),H(K,n).on("modifystart",Y(J,n,ee).bind(n)),H(K,n).on("modifyend",Y(J,n,te).bind(n)),n}return(0,l.A)(t,e),(0,i.A)(t,[{key:"startInteraction",value:function(){(0,a.A)((0,s.A)(t.prototype),"startInteraction",this).call(this,H(K,this))}},{key:"stopInteraction",value:function(){(0,a.A)((0,s.A)(t.prototype),"stopInteraction",this).call(this,H(K,this))}},{key:"onModifyStarted",value:function(e){z.A.onEvent(H(X,this),e)}},{key:"offModifyStarted",value:function(e){z.A.offEvent(H(X,this),e)}},{key:"onModifyEnded",value:function(e){z.A.onEvent(H(Z,this),e)}},{key:"offModifyEnded",value:function(e){z.A.offEvent(H(Z,this),e)}}])}($.N);function ee(e){z.A.emitEvent(this,H(X,this),e)}function te(e){z.A.emitEvent(this,H(Z,this),e)}},87803:(e,t,n)=>{"use strict";n.d(t,{P:()=>j});var r=n(36549),i=n(80085),o=n(95174),a=n(54111),s=n(42450),l=n(43021),c=n(62681),u=n(67703),d=n(67923),h=n(95436),p=n(1286),f=n(70380),g=n(64895);const m="snap";class y extends g.Ay{constructor(e,t){super(e),this.vertex=t.vertex,this.vertexPixel=t.vertexPixel,this.feature=t.feature,this.segment=t.segment}}var v=n(66569),b=n(67843),w=n(92548),x=n(42081),A=n(34209),S=n(29492);function C(e){return e.feature?e.feature:e.element?e.element:null}const E=[];class k extends d.A{constructor(e){const t=e=e||{};t.handleDownEvent||(t.handleDownEvent=f.rT),t.stopDown||(t.stopDown=f.W8),super(t),this.on,this.once,this.un,this.source_=e.source?e.source:null,this.vertex_=void 0===e.vertex||e.vertex,this.edge_=void 0===e.edge||e.edge,this.features_=e.features?e.features:null,this.featuresListenerKeys_=[],this.featureChangeListenerKeys_={},this.indexedFeaturesExtents_={},this.pendingFeatures_={},this.pixelTolerance_=void 0!==e.pixelTolerance?e.pixelTolerance:10,this.rBush_=new h.A,this.GEOMETRY_SEGMENTERS_={Point:this.segmentPointGeometry_.bind(this),LineString:this.segmentLineStringGeometry_.bind(this),LinearRing:this.segmentLineStringGeometry_.bind(this),Polygon:this.segmentPolygonGeometry_.bind(this),MultiPoint:this.segmentMultiPointGeometry_.bind(this),MultiLineString:this.segmentMultiLineStringGeometry_.bind(this),MultiPolygon:this.segmentMultiPolygonGeometry_.bind(this),GeometryCollection:this.segmentGeometryCollectionGeometry_.bind(this),Circle:this.segmentCircleGeometry_.bind(this)}}addFeature(e,t){t=void 0===t||t;const n=(0,A.v6)(e),r=e.getGeometry();if(r){const t=this.GEOMETRY_SEGMENTERS_[r.getType()];if(t){this.indexedFeaturesExtents_[n]=r.getExtent((0,v.createEmpty)());const i=[];if(t(i,r),1===i.length)this.rBush_.insert((0,v.boundingExtent)(i[0]),{feature:e,segment:i[0]});else if(i.length>1){const t=i.map((e=>(0,v.boundingExtent)(e))),n=i.map((t=>({feature:e,segment:t})));this.rBush_.load(t,n)}}}t&&(this.featureChangeListenerKeys_[n]=(0,S.KT)(e,u.A.CHANGE,this.handleFeatureChange_,this))}getFeatures_(){let e;return this.features_?e=this.features_:this.source_&&(e=this.source_.getFeatures()),e}handleEvent(e){const t=this.snapTo(e.pixel,e.coordinate,e.map);return t&&(e.coordinate=t.vertex.slice(0,2),e.pixel=t.vertexPixel,this.dispatchEvent(new y(m,{vertex:e.coordinate,vertexPixel:e.pixel,feature:t.feature,segment:t.segment}))),super.handleEvent(e)}handleFeatureAdd_(e){const t=C(e);t&&this.addFeature(t)}handleFeatureRemove_(e){const t=C(e);t&&this.removeFeature(t)}handleFeatureChange_(e){const t=e.target;if(this.handlingDownUpSequence){const e=(0,A.v6)(t);e in this.pendingFeatures_||(this.pendingFeatures_[e]=t)}else this.updateFeature_(t)}handleUpEvent(e){const t=Object.values(this.pendingFeatures_);return t.length&&(t.forEach(this.updateFeature_.bind(this)),this.pendingFeatures_={}),!1}removeFeature(e,t){const n=void 0===t||t,r=(0,A.v6)(e),i=this.indexedFeaturesExtents_[r];if(i){const t=this.rBush_,n=[];t.forEachInExtent(i,(function(t){e===t.feature&&n.push(t)}));for(let e=n.length-1;e>=0;--e)t.remove(n[e])}n&&((0,S.JH)(this.featureChangeListenerKeys_[r]),delete this.featureChangeListenerKeys_[r])}setMap(e){const t=this.getMap(),n=this.featuresListenerKeys_,r=this.getFeatures_();t&&(n.forEach(S.JH),n.length=0,this.rBush_.clear(),Object.values(this.featureChangeListenerKeys_).forEach(S.JH),this.featureChangeListenerKeys_={}),super.setMap(e),e&&(this.features_?n.push((0,S.KT)(this.features_,c.A.ADD,this.handleFeatureAdd_,this),(0,S.KT)(this.features_,c.A.REMOVE,this.handleFeatureRemove_,this)):this.source_&&n.push((0,S.KT)(this.source_,p.A.ADDFEATURE,this.handleFeatureAdd_,this),(0,S.KT)(this.source_,p.A.REMOVEFEATURE,this.handleFeatureRemove_,this)),r.forEach((e=>this.addFeature(e))))}snapTo(e,t,n){const r=n.getView().getProjection(),i=(0,x.Ad)(t,r),o=(0,x.JR)((0,v.buffer)((0,v.boundingExtent)([i]),n.getView().getResolution()*this.pixelTolerance_),r),a=this.rBush_.getInExtent(o),s=a.length;if(0===s)return null;let l,c,u=1/0,d=null;const h=this.pixelTolerance_*this.pixelTolerance_,p=()=>{if(l){const t=n.getPixelFromCoordinate(l);if((0,b.hG)(e,t)<=h)return{vertex:l,vertexPixel:[Math.round(t[0]),Math.round(t[1])],feature:c,segment:d}}return null};if(this.vertex_){for(let e=0;e{const n=(0,x.Ad)(e,r),o=(0,b.hG)(i,n);o{e.push([t])}))}segmentMultiPolygonGeometry_(e,t){const n=t.getCoordinates();for(let t=0,r=n.length;t{"use strict";n.d(t,{H:()=>j});var r=n(36549),i=n(80085),o=n(95174),a=n(54111),s=n(42450),l=n(43021),c=n(26293),u=n(64895),d=n(75603),h=n(86441),p=n(67923),f=n(70380),g=n(11030),m=n(42081);const y="translatestart",v="translating",b="translateend";class w extends u.Ay{constructor(e,t,n,r,i){super(e),this.features=t,this.coordinate=n,this.startCoordinate=r,this.mapBrowserEvent=i}}class x extends p.A{constructor(e){let t;if(super(e=e||{}),this.on,this.once,this.un,this.lastCoordinate_=null,this.startCoordinate_=null,this.features_=void 0!==e.features?e.features:null,e.layers&&!this.features_)if("function"==typeof e.layers)t=e.layers;else{const n=e.layers;t=function(e){return n.includes(e)}}else t=f.rT;this.layerFilter_=t,this.filter_=e.filter&&!this.features_?e.filter:f.rT,this.hitTolerance_=e.hitTolerance?e.hitTolerance:0,this.condition_=e.condition?e.condition:g.Gk,this.lastFeature_=null,this.addChangeListener(h.A.ACTIVE,this.handleActiveChanged_)}handleDownEvent(e){if(!e.originalEvent||!this.condition_(e))return!1;if(this.lastFeature_=this.featuresAtPixel_(e.pixel,e.map),!this.lastCoordinate_&&this.lastFeature_){this.startCoordinate_=e.coordinate,this.lastCoordinate_=e.coordinate,this.handleMoveEvent(e);const t=this.features_||new c.A([this.lastFeature_]);return this.dispatchEvent(new w(y,t,e.coordinate,this.startCoordinate_,e)),!0}return!1}handleUpEvent(e){if(this.lastCoordinate_){this.lastCoordinate_=null,this.handleMoveEvent(e);const t=this.features_||new c.A([this.lastFeature_]);return this.dispatchEvent(new w(b,t,e.coordinate,this.startCoordinate_,e)),this.startCoordinate_=null,!0}return!1}handleDragEvent(e){if(this.lastCoordinate_){const t=e.coordinate,n=e.map.getView().getProjection(),r=(0,m.Ad)(t,n),i=(0,m.Ad)(this.lastCoordinate_,n),o=r[0]-i[0],a=r[1]-i[1],s=this.features_||new c.A([this.lastFeature_]),l=(0,m.Tf)();s.forEach((function(e){const t=e.getGeometry();l?(t.transform(l,n),t.translate(o,a),t.transform(n,l)):t.translate(o,a),e.setGeometry(t)})),this.lastCoordinate_=t,this.dispatchEvent(new w(v,s,t,this.startCoordinate_,e))}}handleMoveEvent(e){const t=e.map.getViewport();this.featuresAtPixel_(e.pixel,e.map)?(t.classList.remove(this.lastCoordinate_?"ol-grab":"ol-grabbing"),t.classList.add(this.lastCoordinate_?"ol-grabbing":"ol-grab")):t.classList.remove("ol-grab","ol-grabbing")}featuresAtPixel_(e,t){return t.forEachFeatureAtPixel(e,((e,t)=>{if(e instanceof d.A&&this.filter_(e,t)&&(!this.features_||this.features_.getArray().includes(e)))return e}),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_})}getHitTolerance(){return this.hitTolerance_}setHitTolerance(e){this.hitTolerance_=e}setMap(e){const t=this.getMap();super.setMap(e),this.updateState_(t)}handleActiveChanged_(){this.updateState_(null)}updateState_(e){let t=this.getMap();const n=this.getActive();if((!t||!n)&&(t=t||e,t)){t.getViewport().classList.remove("ol-grab","ol-grabbing")}}}const A=x;var S=n(75079),C=n(17168);function E(e,t,n){return t=(0,s.A)(t),(0,o.A)(e,k()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function k(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(k=function(){return!!e})()}function T(e,t,n){_(e,t),t.set(e,n)}function _(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function O(e,t){return e.get(P(e,t))}function P(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var I=new WeakMap,M=new WeakMap,L=new WeakMap,R=new WeakSet,j=function(e){function t(e){var n,i,o;(0,r.A)(this,t),n=E(this,t,[e]),_(i=n,o=R),o.add(i),T(n,I,void 0),T(n,M,[]),T(n,L,[]);var a={};return e.features&&(a.features=e.features),function(e,t,n){e.set(P(e,t),n)}(I,n,new A(a)),O(I,n).on("translatestart",P(R,n,F).bind(n)),O(I,n).on("translateend",P(R,n,D).bind(n)),n}return(0,l.A)(t,e),(0,i.A)(t,[{key:"startInteraction",value:function(){(0,a.A)((0,s.A)(t.prototype),"startInteraction",this).call(this,O(I,this))}},{key:"stopInteraction",value:function(){(0,a.A)((0,s.A)(t.prototype),"stopInteraction",this).call(this,O(I,this))}},{key:"onTranslateStarted",value:function(e){S.A.onEvent(O(M,this),e)}},{key:"offTranslateStarted",value:function(e){S.A.offEvent(O(M,this),e)}},{key:"onTranslateEnded",value:function(e){S.A.onEvent(O(L,this),e)}},{key:"offTranslateEnded",value:function(e){S.A.offEvent(O(L,this),e)}}])}(C.N);function F(e){S.A.emitEvent(this,O(M,this),e)}function D(e){S.A.emitEvent(this,O(L,this),e)}},38249:(e,t,n)=>{"use strict";n.d(t,{i:()=>I});var r=n(74131),i=n(36549),o=n(80085),a=n(24515),s=n(53732),l=n.n(s),c=n(95841),u=n(50792);class d extends u.A{constructor(e){let t;t=void 0!==(e=e||{}).attributions?e.attributions:['© OpenStreetMap contributors.'];const n=void 0!==e.crossOrigin?e.crossOrigin:"anonymous",r=void 0!==e.url?e.url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png";super({attributions:t,attributionsCollapsible:!1,cacheSize:e.cacheSize,crossOrigin:n,interpolate:e.interpolate,maxZoom:void 0!==e.maxZoom?e.maxZoom:19,opaque:void 0===e.opaque||e.opaque,reprojectionErrorThreshold:e.reprojectionErrorThreshold,tileLoadFunction:e.tileLoadFunction,transition:e.transition,url:r,wrapX:e.wrapX,zDirection:e.zDirection})}}const h=d;var p,f=n(24840),g=n(50046),m=n(24046),y=n(16896),v=n(72459),b=n(84044),w=n(22557),x=n(2938),A=n(6335),S=n(75079);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t0||0===i.length&&"nogeom"===m.basemapId)){e.next=39;break}return O={basemapId:o.join(""),layers:i,type:o.join("-"),basemapOptions:m,attribution:"osm"===m.basemapId?["© OpenStreetMap",(0,v.getLocalizedMessage)("mapctrl.attribution.defaultnrcan",x.K.getDisplayLanguage(this.mapId))]:[(0,v.getLocalizedMessage)("mapctrl.attribution.defaultnrcan",x.K.getDisplayLanguage(this.mapId))],zoomLevels:{min:d,max:p},defaultExtent:c,defaultOrigin:s,defaultResolutions:u,name:"",description:"",descSummary:"",altText:"",thumbnailUrl:""},e.abrupt("return",O);case 39:return e.abrupt("return",void 0);case 40:case"end":return e.stop()}}),e,this)}))),function(e,n,r){return t.apply(this,arguments)})},{key:"createCustomBasemap",value:function(e,t,n){var r=this,i=e.name,o=e.description,a=e.thumbnailUrl,s=e.attribution,l=void 0===n?x.K.getDisplayLanguage(this.mapId):n,c=E({},e);return c.name="en"===l?i.en:i.fr,c.layers=e.layers.map((function(e){return E(E({},e),{},{url:"en"===l?e.url.en:e.url.fr,source:new u.A({attributions:s[l],projection:b.M.PROJECTIONS[t],url:"en"===l?e.url.en:e.url.fr,crossOrigin:"Anonymous",tileGrid:new f.A({extent:r.defaultExtent,origin:r.defaultOrigin,resolutions:r.defaultResolutions})})})})),c.type="test",c.description="en"===l?o.en:o.fr,c.altText="en"===l?o.en:o.fr,c.thumbnailUrl="en"===l?a.en:a.fr,c.attribution="en"===l?[s.en]:[s.fr],c}},{key:"loadDefaultBasemaps",value:(e=(0,r.A)(l().mark((function e(t,n){var r;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.createCoreBasemap(w.d.getBasemapOptions(this.mapId),t,n);case 2:(r=e.sent)&&(this.defaultOrigin=null==r?void 0:r.defaultOrigin,this.defaultResolutions=null==r?void 0:r.defaultResolutions,this.defaultExtent=null==r?void 0:r.defaultExtent,this.setBasemap(r));case 4:case"end":return e.stop()}}),e,this)}))),function(t,n){return e.apply(this,arguments)})},{key:"setBasemap",value:function(e){var t=this;if(this.activeBasemap=e,w.d.setMapAttribution(this.mapId,e?e.attribution:[""]),null!=e&&e.layers){for(var n=w.d.getMapViewer(this.mapId).map.getAllLayers(),r=0;r{"use strict";n.d(t,{Kz:()=>g,ns:()=>f});var r=n(80085),i=n(36549),o=n(95174),a=n(42450),s=n(43021),l=n(24515);function c(e,t,n){return t=(0,a.A)(t),(0,o.A)(e,u()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function d(e,t,n){return t=(0,a.A)(t),(0,o.A)(e,h()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var p=function(e){function t(e,n){var r;return(0,i.A)(this,t),r=d(this,t,[n]),(0,l.A)(r,"geoviewLayerId",void 0),r.message="A generic error happened for layer ".concat(e," on map ").concat(n),r.geoviewLayerId=e,Object.setPrototypeOf(r,t.prototype),r}return(0,s.A)(t,e),(0,r.A)(t)}(function(e){function t(e){var n;return(0,i.A)(this,t),n=c(this,t,["An error happened on map ".concat(e)]),(0,l.A)(n,"mapId",void 0),n.mapId=e,Object.setPrototypeOf(n,t.prototype),n}return(0,s.A)(t,e),(0,r.A)(t)}((0,n(93974).A)(Error))),f=function(e){function t(e,n){var r;return(0,i.A)(this,t),(r=d(this,t,[e,n])).message="Failed to create the layer ".concat(e," on map ").concat(n),Object.setPrototypeOf(r,t.prototype),r}return(0,s.A)(t,e),(0,r.A)(t)}(p),g=function(e){function t(e,n){var r;return(0,i.A)(this,t),r=d(this,t,[e.geoviewLayerId,n]),(0,l.A)(r,"geoviewLayer",void 0),r.message="Can not execute twice the createGeoViewLayers method for layer ".concat(e.geoviewLayerId," on map ").concat(n),r.geoviewLayer=e,Object.setPrototypeOf(r,t.prototype),r}return(0,s.A)(t,e),(0,r.A)(t)}(p)},43964:(e,t,n)=>{"use strict";n.d(t,{p:()=>M});var r=n(36549),i=n(80085),o=n(24515),a=n(26076),s=n(75603),l=n(83836),c=n(22727),u=n(92548),d=n(68796),h=n(38492),p=n(71522),f=n(3099),g=n(57734),m=n(66410),y=n(47769),v=n(75079),b=n(72459),w=n(84044),x=n(22557),A=n(6335);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C(e){for(var t=1;t{"use strict";n.d(t,{Bq:()=>me,FB:()=>fe,XY:()=>ge,_B:()=>he,qt:()=>J,y6:()=>de});var r=n(74131),i=n(36549),o=n(80085),a=n(24515),s=n(53732),l=n.n(s),c=n(26293),u=n(57512),d=n(31899),h=n(72459),p=n(16896),f=n(46074),g=n(6335),m=n(52324),y=n(97319),v=n(88282),b=n(75079),w=n(2938),x=n(23620),A=n(22557),S=n(9374),C=n(65357),E=n(49821),k=n(71396),T=n(35167);function _(e,t,n){O(e,t),t.set(e,n)}function O(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function P(e,t){return e.get(M(e,t))}function I(e,t,n){return e.set(M(e,t),n),n}function M(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var L={CSV:"CSV Layer",esriDynamic:"Esri Dynamic Layer",esriFeature:"Esri Feature Layer",esriImage:"Esri Image Layer",imageStatic:"Static Image Layer",GeoJSON:"GeoJson Layer",GeoPackage:"GeoPackage Layer",xyzTiles:"XYZ Tiles",vectorTiles:"Vector Tiles",ogcFeature:"OGC Feature Layer",ogcWfs:"WFS Layer",ogcWms:"WMS Layer"},R=new WeakMap,j=new WeakMap,F=new WeakMap,D=new WeakMap,N=new WeakMap,B=new WeakMap,z=new WeakMap,V=new WeakMap,$=new WeakMap,G=new WeakMap,U=new WeakMap,W=new WeakMap,q=new WeakMap,H=new WeakMap,Y=new WeakMap,K=new WeakMap,X=new WeakMap,Z=new WeakSet,J=function(){return(0,o.A)((function e(t,n,r){var o,s,l,c,u,d;(0,i.A)(this,e),O(u=this,d=Z),d.add(u),(0,a.A)(this,"hitTolerance",e.DEFAULT_HIT_TOLERANCE),(0,a.A)(this,"mapId",void 0),(0,a.A)(this,"type",void 0),(0,a.A)(this,"geoviewLayerId",void 0),(0,a.A)(this,"geoviewLayerName",(0,h.createLocalizedString)("")),(0,a.A)(this,"metadataAccessPath",(0,h.createLocalizedString)("")),(0,a.A)(this,"listOfLayerEntryConfig",[]),(0,a.A)(this,"initialSettings",void 0),(0,a.A)(this,"layerLoadError",[]),(0,a.A)(this,"olRootLayer",void 0),(0,a.A)(this,"metadata",null),_(this,R,{}),_(this,j,{}),_(this,F,{}),_(this,D,{}),_(this,N,[]),(0,a.A)(this,"serverDateFragmentsOrder",void 0),(0,a.A)(this,"externalFragmentsOrder",void 0),_(this,B,!0),_(this,z,[]),_(this,V,[]),_(this,$,[]),_(this,G,[]),_(this,U,[]),_(this,W,[]),_(this,q,[]),_(this,H,[]),_(this,Y,[]),_(this,K,[]),_(this,X,[]),this.mapId=r,this.type=t,this.geoviewLayerId=n.geoviewLayerId||(0,h.generateId)(""),this.geoviewLayerName.en=null!=n&&null!==(o=n.geoviewLayerName)&&void 0!==o&&o.en?n.geoviewLayerName.en:L[t],this.geoviewLayerName.fr=null!=n&&null!==(s=n.geoviewLayerName)&&void 0!==s&&s.fr?n.geoviewLayerName.fr:L[t],null!==(l=n.metadataAccessPath)&&void 0!==l&&l.en&&(this.metadataAccessPath.en=n.metadataAccessPath.en.trim()),null!==(c=n.metadataAccessPath)&&void 0!==c&&c.fr&&(this.metadataAccessPath.fr=n.metadataAccessPath.fr.trim()),this.initialSettings=n.initialSettings,this.serverDateFragmentsOrder=n.serviceDateFormat?f.P.getDateFragmentsOrder(n.serviceDateFormat):void 0,this.externalFragmentsOrder=f.P.getDateFragmentsOrder(n.externalDateFormat),I(B,this,void 0===n.isTimeAware||n.isTimeAware),M(Z,this,Q).call(this,n,n.listOfLayerEntryConfig)}),[{key:"getMapViewer",value:function(){return A.d.getMapViewer(this.mapId)}},{key:"getLayerConfig",value:function(e){return this.getMapViewer().layer.getLayerEntryConfig(e)}},{key:"getOLLayer",value:function(e){return this.getMapViewer().layer.getOLLayer(e)}},{key:"getGeoviewLayerId",value:function(){return this.geoviewLayerId}},{key:"getGeoviewLayerName",value:function(){return this.geoviewLayerName}},{key:"getLayerStatus",value:function(e){return this.getLayerConfig(e).layerStatus}},{key:"getLayerName",value:function(e){var t;return P(R,this)[e]?P(R,this)[e]:null===(t=this.getLayerConfig(e))||void 0===t?void 0:t.layerName}},{key:"setLayerName",value:function(e,t){P(R,this)[e]=t,M(Z,this,re).call(this,{layerPath:e,layerName:t})}},{key:"getStyle",value:function(e){return P(D,this)[e]}},{key:"setStyle",value:function(e,t){P(D,this)[e]=t,M(Z,this,le).call(this,{style:t,layerPath:e})}},{key:"getAttributions",value:function(){return P(N,this)}},{key:"setAttributions",value:function(e){I(N,this,e)}},{key:"getLayerMetadata",value:function(e){return P(j,this)[e]}},{key:"setLayerMetadata",value:function(e,t){P(j,this)[e]=t}},{key:"getTemporalDimension",value:function(e){return P(F,this)[e]}},{key:"setTemporalDimension",value:function(e,t){P(F,this)[e]=t}},{key:"getIsTimeAware",value:function(){return P(B,this)}},{key:"countErrorStatus",value:function(){var e=this;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.listOfLayerEntryConfig).reduce((function(t,n){return(0,S.KD)(n)?t+e.countErrorStatus(n.listOfLayerEntryConfig):"error"===n.layerStatus?t+1:t}),0)}},{key:"createGeoViewLayers",value:(pe=(0,r.A)(l().mark((function e(){var t;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.olRootLayer){e.next=13;break}return g.vF.logTraceCore("ABSTRACT-GEOVIEW-LAYERS - createGeoViewLayers",this.listOfLayerEntryConfig),this.listOfLayerEntryConfig.length>0&&(t="".concat(this.mapId," | ").concat(this.listOfLayerEntryConfig[0].layerPath)),t&&g.vF.logMarkerStart(t),e.next=6,this.getAdditionalServiceDefinition();case 6:return t&&g.vF.logMarkerCheck(t,"to get additional service definition"),e.next=9,this.processListOfLayerEntryConfig(this.listOfLayerEntryConfig);case 9:this.olRootLayer=e.sent,t&&g.vF.logMarkerCheck(t,"to process list of layer entry config"),e.next=14;break;case 13:throw new C.Kz(this,this.mapId);case 14:case"end":return e.stop()}}),e,this)}))),function(){return pe.apply(this,arguments)})},{key:"getAdditionalServiceDefinition",value:(he=(0,r.A)(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.fetchServiceMetadata();case 3:if(!this.listOfLayerEntryConfig.length){e.next=6;break}return e.next=6,this.validateAndExtractLayerMetadata();case 6:e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),g.vF.logError(e.t0);case 11:case"end":return e.stop()}}),e,this,[[0,8]])}))),function(){return he.apply(this,arguments)})},{key:"validateAndExtractLayerMetadata",value:(de=(0,r.A)(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.validateListOfLayerEntryConfig(this.listOfLayerEntryConfig),e.next=4,this.processListOfLayerEntryMetadata(this.listOfLayerEntryConfig);case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),g.vF.logError(e.t0);case 9:case"end":return e.stop()}}),e,this,[[0,6]])}))),function(){return de.apply(this,arguments)})},{key:"fetchServiceMetadata",value:(te=(0,r.A)(l().mark((function e(){var t,n,r,i;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=(0,h.getLocalizedValue)(this.metadataAccessPath,w.K.getDisplayLanguage(this.mapId)))){e.next=13;break}return e.prev=2,e.next=5,(0,h.getXMLHttpRequest)("".concat(t,"?f=json"));case 5:"{}"===(n=e.sent)?this.metadata=null:(this.metadata=(0,p.NK)(JSON.parse(n)),r=this.metadata.copyrightText,i=this.getAttributions(),r&&!i.includes(r)&&(i.push(r),this.setAttributions(i))),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(2),g.vF.logError(e.t0),this.setAllLayerStatusTo("error",this.listOfLayerEntryConfig,"Unable to read metadata");case 13:case"end":return e.stop()}}),e,this,[[2,9]])}))),function(){return te.apply(this,arguments)})},{key:"processListOfLayerEntryMetadata",value:(J=(0,r.A)(l().mark((function e(t){var n,r,i,o=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.prev=0,n=[],r=0;case 3:if(!(r2&&void 0!==u[2]?u[2]:null,e.prev=1,null!=(o=this.getLayerConfig(n))&&null!==(i=o.source)&&void 0!==i&&null!==(i=i.featureInfo)&&void 0!==i&&i.queryable){e.next=6;break}return g.vF.logError("Layer at path ".concat(o.layerPath," is not queryable")),e.abrupt("return",null);case 6:g.vF.logTraceCore("ABSTRACT-GEOVIEW-LAYERS - getFeatureInfo",t,n),a="".concat(t," | ").concat(n),g.vF.logMarkerStart(a),e.t0=t,e.next="all"===e.t0?12:"at_pixel"===e.t0?14:"at_coordinate"===e.t0?16:"at_long_lat"===e.t0?18:"using_a_bounding_box"===e.t0?20:"using_a_polygon"===e.t0?22:24;break;case 12:return s=this.getAllFeatureInfo(n),e.abrupt("break",26);case 14:return s=this.getFeatureInfoAtPixel(r,n),e.abrupt("break",26);case 16:return s=this.getFeatureInfoAtCoordinate(r,n),e.abrupt("break",26);case 18:return s=this.getFeatureInfoAtLongLat(r,n),e.abrupt("break",26);case 20:return s=this.getFeatureInfoUsingBBox(r,n),e.abrupt("break",26);case 22:return s=this.getFeatureInfoUsingPolygon(r,n),e.abrupt("break",26);case 24:s=Promise.resolve([]),g.vF.logError("Queries using ".concat(t," are invalid."));case 26:return e.next=28,s;case 28:return c=e.sent,g.vF.logMarkerCheck(a,"to getFeatureInfo",c),e.abrupt("return",c);case 33:return e.prev=33,e.t1=e.catch(1),g.vF.logError(e.t1),e.abrupt("return",null);case 37:case"end":return e.stop()}}),e,this,[[1,33]])}))),function(e,t){return s.apply(this,arguments)})},{key:"getAllFeatureInfo",value:function(e){return g.vF.logError("getAllFeatureInfo is not implemented! for ".concat(e)),Promise.resolve(null)}},{key:"getFeatureInfoAtPixel",value:function(e,t){return g.vF.logError("getFeatureInfoAtPixel is not implemented! for ".concat(t," - ").concat(e)),Promise.resolve(null)}},{key:"getFeatureInfoAtCoordinate",value:function(e,t){return g.vF.logError("getFeatureInfoAtCoordinate is not implemented! for ".concat(t," - ").concat(e)),Promise.resolve(null)}},{key:"getFeatureInfoAtLongLat",value:function(e,t){return g.vF.logError("getFeatureInfoAtLongLat is not implemented for ".concat(t," - ").concat(e,"!")),Promise.resolve(null)}},{key:"getFeatureInfoUsingBBox",value:function(e,t){return g.vF.logError("getFeatureInfoUsingBBox is not implemented! for ".concat(t," - ").concat(e)),Promise.resolve(null)}},{key:"getFeatureInfoUsingPolygon",value:function(e,t){return g.vF.logError("getFeatureInfoUsingPolygon is not implemented! for ".concat(t," - ").concat(e)),Promise.resolve(null)}},{key:"queryLegend",value:function(e){var t=this;M(Z,this,ie).call(this,{layerPath:e});var n=this.getLegend(e);return n.then((function(n){n&&(t.updateIconImageCache(n),M(Z,t,oe).call(t,{layerPath:e,legend:n}))})).catch((function(e){g.vF.logPromiseFailed("promiseLegend in queryLegend in AbstractGeoviewLayer",e)})),n}},{key:"updateIconImageCache",value:function(e){var t=this.getMapViewer().iconImageCacheSize;e.styleConfig&&Object.keys(e.styleConfig).forEach((function(n){var r,i,o,a;!e.styleConfig||"uniqueValue"!==(null===(r=e.styleConfig[n])||void 0===r?void 0:r.styleType)&&"classBreaks"!==(null===(i=e.styleConfig[n])||void 0===i?void 0:i.styleType)||(null!==(o=e.styleConfig[n].uniqueValueStyleInfo)&&void 0!==o&&o.length&&(t+=e.styleConfig[n].uniqueValueStyleInfo.length),null!==(a=e.styleConfig[n].classBreakStyleInfo)&&void 0!==a&&a.length&&(t+=e.styleConfig[n].classBreakStyleInfo.length))})),d.ue.setSize(t),this.getMapViewer().iconImageCacheSize=t}},{key:"createLayerGroup",value:function(e,t){var n,r={layers:new c.A,properties:{layerConfig:e}};void 0!==(null==t?void 0:t.extent)&&(r.extent=t.extent),void 0!==(null==t?void 0:t.maxZoom)&&(r.maxZoom=t.maxZoom),void 0!==(null==t?void 0:t.minZoom)&&(r.minZoom=t.minZoom),void 0!==(null==t||null===(n=t.states)||void 0===n?void 0:n.opacity)&&(r.opacity=t.states.opacity);var i=new u.A(r);return this.emitLayerCreation({config:e,layer:i}),i}},{key:"getFieldDomain",value:function(e,t){return g.vF.logWarning("getFieldDomain is not implemented for ".concat(e," - ").concat(t)),null}},{key:"getFieldType",value:function(e,t){return g.vF.logWarning("getFieldType is not implemented for ".concat(e," - ").concat(t)),"string"}},{key:"getExtent",value:function(e){var t=this.getOLLayer(e);return null==t?void 0:t.getExtent()}},{key:"setExtent",value:function(e,t){var n=this.getOLLayer(t);n&&n.setExtent(e)}},{key:"getOpacity",value:function(e){var t=this.getOLLayer(e);return null==t?void 0:t.getOpacity()}},{key:"setOpacity",value:function(e,t){var n=this.getOLLayer(t);n&&(n.setOpacity(e),M(Z,this,ce).call(this,{layerPath:t,opacity:e}))}},{key:"getVisible",value:function(e){var t=this.getOLLayer(e);return null==t?void 0:t.getVisible()}},{key:"setVisible",value:function(e,t){var n=this.getOLLayer(t);if(n){var r=this.getVisible(t);n.setVisible(e),e!==r&&M(Z,this,ae).call(this,{layerPath:t,visible:e})}}},{key:"getMinZoom",value:function(e){var t=this.getOLLayer(e);return null==t?void 0:t.getMinZoom()}},{key:"setMinZoom",value:function(e,t){var n=this.getOLLayer(t);n&&n.setMinZoom(e)}},{key:"getMaxZoom",value:function(e){var t=this.getOLLayer(e);return null==t?void 0:t.getMaxZoom()}},{key:"setMaxZoom",value:function(e,t){var n=this.getOLLayer(t);n&&n.setMaxZoom(e)}},{key:"getLegend",value:(n=(0,r.A)(l().mark((function e(t){var n;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=this.type,e.t1=this.getStyle(t),e.next=5,(0,E.qC)(this.getStyle(t));case 5:return e.t2=e.sent,n={type:e.t0,styleConfig:e.t1,legend:e.t2},e.abrupt("return",n);case 10:return e.prev=10,e.t3=e.catch(0),g.vF.logError(e.t3),e.abrupt("return",null);case 14:case"end":return e.stop()}}),e,this,[[0,10]])}))),function(e){return n.apply(this,arguments)})},{key:"getFieldValue",value:function(e,t,n){var r,i=e.get(t);if("date"===n){"string"==typeof i?(this.serverDateFragmentsOrder||(this.serverDateFragmentsOrder=f.P.getDateFragmentsOrder(f.P.deduceDateFormat(i))),r=f.P.applyInputDateFormat(i,this.serverDateFragmentsOrder)):r=f.P.convertToUTC("".concat(f.P.convertMilisecondsToDate(i),"Z"));return this.externalFragmentsOrder&&(r=f.P.applyOutputDateFormat(r,this.externalFragmentsOrder,!0)),r}return i}},{key:"formatFeatureInfoResult",value:(t=(0,r.A)(l().mark((function e(t,n){var i,o,a,s,c,u,d,p,f,y,v,b,A,S,C,k,T,_=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,t.length){e.next=3;break}return e.abrupt("return",[]);case 3:return u=new m.z(1),d=function(){return u.withLock((0,r.A)(l().mark((function e(){var t,r;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==c){e.next=7;break}return c=null,e.next=4,_.queryLegend(n.layerPath);case 4:t=e.sent,(r=x.K.getLayerIconImage(t))&&(c=r[0].iconImage||null);case 7:return e.abrupt("return",c);case 8:case"end":return e.stop()}}),e)}))))},p=null==n||null===(i=n.source)||void 0===i?void 0:i.featureInfo,f=null==p||null===(o=p.fieldTypes)||void 0===o?void 0:o.split(","),y=null===(a=(0,h.getLocalizedValue)(null==p?void 0:p.outfields,w.K.getDisplayLanguage(this.mapId)))||void 0===a?void 0:a.split(","),v=null===(s=(0,h.getLocalizedValue)(null==p?void 0:p.aliasFields,w.K.getDisplayLanguage(this.mapId)))||void 0===s?void 0:s.split(","),b=[],t.forEach((function(e){b.push(new Promise((function(t){(0,E.$G)(e,_.getStyle(n.layerPath),n.filterEquation,n.legendFilterIsOff,!0,d).then((function(n){t({feature:e,canvas:n})})).catch((function(e){g.vF.logPromiseFailed("getFeatureCanvas in featureNeedingItsCanvas loop in formatFeatureInfoResult in AbstractGeoViewLayer",e)}))})))})),A={},S={},C=0,k=0,T=[],e.next=18,Promise.all(b);case 18:return e.sent.forEach((function(e){var t,r,i=e.feature,o=e.canvas;i.getGeometry()&&(r=i.getGeometry().getExtent());var a={featureKey:C++,geoviewLayerType:_.type,extent:r,geometry:i,featureIcon:o,fieldInfo:{},nameField:(0,h.getLocalizedValue)(null==n||null===(t=n.source)||void 0===t||null===(t=t.featureInfo)||void 0===t?void 0:t.nameField,w.K.getDisplayLanguage(_.mapId))||null};i.getKeys().forEach((function(e){if("geometry"!==e){e in A||(A[e]=_.getFieldDomain(e,n));var t=A[e];e in S||(S[e]=_.getFieldType(e,n));var r=S[e];if(null!=y&&y.includes(e)){var o=y.indexOf(e);a.fieldInfo[e]={fieldKey:k++,value:_.getFieldValue(i,e,f[o]),dataType:f[o],alias:v[o],domain:t}}else y||(a.fieldInfo[e]={fieldKey:k++,value:_.getFieldValue(i,e,r),dataType:r,alias:e,domain:t})}})),T.push(a)})),e.abrupt("return",T);case 23:return e.prev=23,e.t0=e.catch(0),g.vF.logError(e.t0),e.abrupt("return",[]);case 27:case"end":return e.stop()}}),e,this,[[0,23]])}))),function(e,n){return t.apply(this,arguments)})},{key:"getLayerFilter",value:function(e){var t=this.getLayerConfig(e);return null==t?void 0:t.layerFilter}},{key:"onLoaded",value:function(e){var t;e.layerStatus="loaded",M(Z,this,ue).call(this,{layerPath:e.layerPath}),this.setVisible(!1!==(null===(t=e.initialSettings)||void 0===t||null===(t=t.states)||void 0===t?void 0:t.visible),e.layerPath)}},{key:"onError",value:function(e){e.layerStatus="error"}},{key:"getExtentFromFeatures",value:function(e,t){return g.vF.logError("Feature geometry for ".concat(t," is unavailable from ").concat(e)),Promise.resolve(void 0)}},{key:"setAllLayerStatusTo",value:function(e,t,n){var r=this;t.forEach((function(t){if((0,S.KD)(t))r.setAllLayerStatusTo(e,t.listOfLayerEntryConfig,n);else{if("error"===t.layerStatus)return;if(t.layerStatus=e,"error"===e){var i=t.layerPath;r.layerLoadError.push({layer:i,loggerMessage:"".concat(n," for layer ").concat(i," of map ").concat(r.mapId)})}}}))}},{key:"allLayerStatusAreGreaterThanOrEqualTo",value:function(e){return k.c.allLayerStatusAreGreaterThanOrEqualTo(e,this.listOfLayerEntryConfig)}},{key:"waitForAllLayerStatusAreGreaterThanOrEqualTo",value:(e=(0,r.A)(l().mark((function e(t,n){var r=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,h.whenThisThen)((function(){return r.allLayerStatusAreGreaterThanOrEqualTo("processed")}),t,n);case 2:return e.abrupt("return",Promise.resolve());case 3:case"end":return e.stop()}}),e)}))),function(t,n){return e.apply(this,arguments)})},{key:"setLayerAndLoadEndListeners",value:function(e,t,n){var r=this;if(!t)throw new Error("An OpenLayer must be provided to register listeners. Layer path ".concat(e.layerPath));if(!n)throw new Error("A listenerType must be provided to register listeners. Layer path ".concat(e.layerPath));if(!T.A.LAYERS_HYBRID_MODE&&e.entryType!==S.hJ.GROUP){var i,o=function(){r.onLoaded(e),t.get("source").un("".concat(n,"loaderror"),i)};i=function(){r.onError(e),t.get("source").un("".concat(n,"loadend"),o)},t.get("source").once("".concat(n,"loaderror"),i),t.get("source").once("".concat(n,"loadend"),o)}}},{key:"getAllLayerEntryConfigs",value:function(){var e=this,t=[];return this.listOfLayerEntryConfig.forEach((function(n){M(Z,e,ne).call(e,t,n)})),t}},{key:"onLayerNameChanged",value:function(e){b.A.onEvent(P(z,this),e)}},{key:"offLayerNameChanged",value:function(e){b.A.offEvent(P(z,this),e)}},{key:"onLegendQuerying",value:function(e){b.A.onEvent(P($,this),e)}},{key:"offLegendQuerying",value:function(e){b.A.offEvent(P($,this),e)}},{key:"onLegendQueried",value:function(e){b.A.onEvent(P(G,this),e)}},{key:"offLegendQueried",value:function(e){b.A.offEvent(P(G,this),e)}},{key:"onVisibleChanged",value:function(e){b.A.onEvent(P(U,this),e)}},{key:"offVisibleChanged",value:function(e){b.A.offEvent(P(U,this),e)}},{key:"onLayerEntryProcessed",value:function(e){b.A.onEvent(P(W,this),e)}},{key:"offLayerEntryProcessed",value:function(e){b.A.offEvent(P(W,this),e)}},{key:"emitLayerRequesting",value:function(e){return b.A.emitEvent(this,P(q,this),e)}},{key:"onLayerRequesting",value:function(e){b.A.onEvent(P(q,this),e)}},{key:"offLayerRequesting",value:function(e){b.A.offEvent(P(q,this),e)}},{key:"emitLayerCreation",value:function(e){b.A.emitEvent(this,P(H,this),e)}},{key:"onLayerCreation",value:function(e){b.A.onEvent(P(H,this),e)}},{key:"offLayerCreation",value:function(e){b.A.offEvent(P(H,this),e)}},{key:"emitLayerFilterApplied",value:function(e){b.A.emitEvent(this,P(Y,this),e)}},{key:"onLayerFilterApplied",value:function(e){b.A.onEvent(P(Y,this),e)}},{key:"offLayerFilterApplied",value:function(e){b.A.offEvent(P(Y,this),e)}},{key:"onLayerStyleChanged",value:function(e){b.A.onEvent(P(V,this),e)}},{key:"offLayerStyleChanged",value:function(e){b.A.offEvent(P(V,this),e)}},{key:"onLayerOpacityChanged",value:function(e){b.A.onEvent(P(K,this),e)}},{key:"offLayerOpacityChanged",value:function(e){b.A.offEvent(P(K,this),e)}},{key:"onIndividualLayerLoaded",value:function(e){b.A.onEvent(P(X,this),e)}},{key:"offIndividualLayerLoaded",value:function(e){b.A.offEvent(P(X,this),e)}}]);var e,t,n,s,v,J,te,de,he,pe}();function Q(e,t){if(0!==t.length){if(1===t.length)this.listOfLayerEntryConfig=t;else{var n=new v.x({geoviewLayerConfig:t[0].geoviewLayerConfig,layerId:this.geoviewLayerId,layerName:this.geoviewLayerName,isMetadataLayerGroup:!1,initialSettings:e.initialSettings,listOfLayerEntryConfig:t});this.listOfLayerEntryConfig=[n],n.listOfLayerEntryConfig.forEach((function(e){e.parentLayerConfig=n}))}this.listOfLayerEntryConfig[0].geoviewLayerConfig.listOfLayerEntryConfig=t}}function ee(e){return te.apply(this,arguments)}function te(){return(te=(0,r.A)(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.processListOfLayerEntryMetadata(t.listOfLayerEntryConfig);case 3:return t.layerStatus="processed",M(Z,this,se).call(this,{config:t}),e.abrupt("return",t);case 8:e.prev=8,e.t0=e.catch(0),g.vF.logError(e.t0);case 11:return e.abrupt("return",t);case 12:case"end":return e.stop()}}),e,this,[[0,8]])})))).apply(this,arguments)}function ne(e,t){var n,r=this;e.push(t),null===(n=t.listOfLayerEntryConfig)||void 0===n||n.forEach((function(t){M(Z,r,ne).call(r,e,t)}))}function re(e){b.A.emitEvent(this,P(z,this),e)}function ie(e){b.A.emitEvent(this,P($,this),e)}function oe(e){b.A.emitEvent(this,P(G,this),e)}function ae(e){b.A.emitEvent(this,P(U,this),e)}function se(e){b.A.emitEvent(this,P(W,this),e)}function le(e){b.A.emitEvent(this,P(V,this),e)}function ce(e){b.A.emitEvent(this,P(K,this),e)}function ue(e){b.A.emitEvent(this,P(X,this),e)}(0,a.A)(J,"DEFAULT_HIT_TOLERANCE",4);var de={CSV:"CSV",ESRI_DYNAMIC:"esriDynamic",ESRI_FEATURE:"esriFeature",ESRI_IMAGE:"esriImage",IMAGE_STATIC:"imageStatic",GEOJSON:"GeoJSON",GEOPACKAGE:"GeoPackage",XYZ_TILES:"xyzTiles",VECTOR_TILES:"vectorTiles",OGC_FEATURE:"ogcFeature",WFS:"ogcWfs",WMS:"ogcWms"},he={CSV:"TypeVectorLayerEntryConfig",imageStatic:"TypeImageStaticLayerEntryConfig",esriDynamic:"TypeEsriDynamicLayerEntryConfig",esriFeature:"TypeVectorLayerEntryConfig",esriImage:"TypeEsriImageLayerEntryConfig",GeoJSON:"TypeVectorLayerEntryConfig",GeoPackage:"TypeVectorLayerEntryConfig",xyzTiles:"TypeTileLayerEntryConfig",vectorTiles:"TypeTileLayerEntryConfig",ogcFeature:"TypeVectorLayerEntryConfig",ogcWfs:"TypeVectorLayerEntryConfig",ogcWms:"TypeOgcWmsLayerEntryConfig"},pe=[de.CSV,de.GEOJSON,de.ESRI_DYNAMIC,de.ESRI_FEATURE,de.ESRI_IMAGE,de.OGC_FEATURE,de.WFS,de.GEOPACKAGE],fe=function(e){return pe.includes(null==e?void 0:e.type)},ge=function(e){return(null==e?void 0:e.type)===de.WMS},me=function(e){return(null==e?void 0:e.type)===de.IMAGE_STATIC}},10242:(e,t,n)=>{"use strict";n.d(t,{$A:()=>R,KS:()=>I,Nf:()=>F,RW:()=>L,Sh:()=>P,YX:()=>M,gm:()=>j,mF:()=>_});var r=n(24515),i=n(74131),o=n(53732),a=n.n(o),s=n(95841),l=n(80363),c=n.n(l),u=n(22557),d=n(16896),h=n(72459),p=n(8243),f=n(84044),g=n(46074),m=n(6335),y=n(43558),v=n(35101),b=n(88282),w=n(9374),x=n(32875),A=n(13796),S=n(62265),C=n(83086),E=n(2938);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t{"use strict";n.d(t,{A:()=>p});var r=n(36549),i=n(80085),o=n(95174),a=n(54111),s=n(42450),l=n(43021),c=n(32875),u=n(84044);function d(e,t,n){return t=(0,s.A)(t),(0,o.A)(e,h()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var p=function(e){function t(){return(0,r.A)(this,t),d(this,t,arguments)}return(0,l.A)(t,e),(0,i.A)(t,[{key:"getSourceProjection",value:function(e){var n;return(null===(n=(0,a.A)((0,s.A)(t.prototype),"getOLLayer",this).call(this,e).getSource())||void 0===n?void 0:n.getProjection())||void 0}},{key:"getMetadataProjection",value:function(){var e;return u.M.getProjection("EPSG:".concat(null===(e=this.metadata)||void 0===e||null===(e=e.fullExtent)||void 0===e||null===(e=e.spatialReference)||void 0===e?void 0:e.wkid))||void 0}},{key:"getMetadataExtent",value:function(){var e,t,n,r,i;if(null!==(e=this.metadata)&&void 0!==e&&e.fullExtent)return[null===(t=this.metadata)||void 0===t?void 0:t.fullExtent.xmin,null===(n=this.metadata)||void 0===n?void 0:n.fullExtent.ymin,null===(r=this.metadata)||void 0===r?void 0:r.fullExtent.xmax,null===(i=this.metadata)||void 0===i?void 0:i.fullExtent.ymax]}}])}(c.qt)},13796:(e,t,n)=>{"use strict";n.d(t,{IU:()=>D,xM:()=>N,zt:()=>z});var r=n(77156),i=n(888),o=n(74131),a=n(36549),s=n(80085),l=n(95174),c=n(54111),u=n(42450),d=n(43021),h=n(24515),p=n(53732),f=n.n(p),g=n(28841),m=n(31459),y=n(72890),v=n(75603),b=n(43964),w=n(72459),x=n(32875),A=n(73438),S=n(8243),C=n(84044),E=n(6335),k=n(46074),T=n(35101),_=n(9374),O=n(10242),P=n(2938);function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;t0&&(l=s[0]),l||(b={source:a,properties:{layerConfig:n}},void 0!==(null===(d=n.initialSettings)||void 0===d?void 0:d.className)&&(b.className=n.initialSettings.className),void 0!==(null===(h=n.initialSettings)||void 0===h?void 0:h.extent)&&(b.extent=n.initialSettings.extent),void 0!==(null===(p=n.initialSettings)||void 0===p?void 0:p.maxZoom)&&(b.maxZoom=n.initialSettings.maxZoom),void 0!==(null===(y=n.initialSettings)||void 0===y?void 0:y.minZoom)&&(b.minZoom=n.initialSettings.minZoom),void 0!==(null===(v=n.initialSettings)||void 0===v||null===(v=v.states)||void 0===v?void 0:v.opacity)&&(b.opacity=n.initialSettings.states.opacity),l=new m.A(b),this.setLayerAndLoadEndListeners(n,l,"image")),this.emitLayerCreation({config:n,layer:l}),e.abrupt("return",Promise.resolve(l));case 18:case"end":return e.stop()}}),e,this)}))),function(e){return A.apply(this,arguments)})},{key:"getAllFeatureInfo",value:(p=(0,o.A)(f().mark((function e(t){var n,o,a,s,l,c,u,d,h;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=this.getLayerConfig(t),o=n.getTypeGeometries(),a=(0,i.A)(o,1),s=a[0],(l=n.geoviewLayerConfig.metadataAccessPath[P.K.getDisplayLanguage(this.mapId)]).endsWith("/")||(l+="/"),c="".concat(l).concat(n.layerId,"/query?where=1=1&outFields=*&f=json&returnGeometry=false"),e.next=8,fetch(c);case 8:return u=e.sent,e.next=11,u.json();case 11:if(!(d=e.sent).features){e.next=20;break}if(h=d.features.map((function(e){var t;if(e.geometry){var n=e.geometry.points||e.geometry.paths||e.geometry.rings||[e.geometry.x,e.geometry.y];t=b.p.createGeometryFromType(s,n)}var r=e.attributes;return new v.A(M(M({},r),{},{geometry:t}))})),!d.exceededTransferLimit){e.next=19;break}return e.next=17,F(B,this,V).call(this,n,c,h.length);case 17:e.sent.forEach((function(e){var t=e.features.map((function(e){var t;if(e.geometry){var n=e.geometry.points||e.geometry.paths||e.geometry.rings||[e.geometry.x,e.geometry.y];t=b.p.createGeometryFromType(s,n)}var r=e.attributes;return new v.A(M(M({},r),{},{geometry:t}))}));h.push.apply(h,(0,r.A)(t))}));case 19:return e.abrupt("return",this.formatFeatureInfoResult(h,n));case 20:throw new Error("Error querying service. No features were returned.");case 23:return e.prev=23,e.t0=e.catch(0),E.vF.logError("esri-dynamic.getAllFeatureInfo()\n",e.t0),e.abrupt("return",null);case 27:case"end":return e.stop()}}),e,this,[[0,23]])}))),function(e){return p.apply(this,arguments)})},{key:"getFeatureInfoAtPixel",value:function(e,t){return this.getFeatureInfoAtCoordinate(this.getMapViewer().map.getCoordinateFromPixel(e),t)}},{key:"getFeatureInfoAtCoordinate",value:function(e,t){var n=this.getMapViewer().convertCoordinateMapProjToLngLat(e);return this.getFeatureInfoAtLongLat(n,t)}},{key:"getFeatureInfoAtLongLat",value:(l=(0,o.A)(f().mark((function e(t,n){var r,i,o,a,s,l,c,u,d,h,p,g,m,v,b,x,A;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,this.getVisible(n)){e.next=3;break}return e.abrupt("return",[]);case 3:if(o=this.getLayerConfig(n),a=this.getOLLayer(n),null!==(r=o.source)&&void 0!==r&&null!==(r=r.featureInfo)&&void 0!==r&&r.queryable){e.next=7;break}return e.abrupt("return",[]);case 7:if(s=(0,w.getLocalizedValue)(null===(i=o.source)||void 0===i?void 0:i.dataAccessPath,P.K.getDisplayLanguage(this.mapId))){e.next=10;break}return e.abrupt("return",[]);case 10:return s=s.endsWith("/")?s:"".concat(s,"/"),l=this.getMapViewer(),c=l.getView().calculateExtent(),u=l.convertCoordinateMapProjToLngLat([c[0],c[1]]),d=l.convertCoordinateMapProjToLngLat([c[2],c[3]]),h={xmin:u[0],ymin:u[1],xmax:d[0],ymax:d[1]},p=a.getSource(),g=(null==p?void 0:p.getParams().layerDefs)||"",m=l.map.getSize(),s="".concat(s,"identify?f=json&tolerance=").concat(this.hitTolerance)+"&mapExtent=".concat(h.xmin,",").concat(h.ymin,",").concat(h.xmax,",").concat(h.ymax)+"&imageDisplay=".concat(m[0],",").concat(m[1],",96")+"&layers=visible:".concat(o.layerId)+"&layerDefs=".concat(g)+"&returnFieldName=true&sr=4326&returnGeometry=true"+"&geometryType=esriGeometryPoint&geometry=".concat(t[0],",").concat(t[1]),e.next=22,fetch(s);case 22:return v=e.sent,e.next=25,v.json();case 25:if(!(b=e.sent).error){e.next=29;break}throw E.vF.logInfo("There is a problem with this query: ",s),new Error("Error code = ".concat(b.error.code," ").concat(b.error.message)||0);case 29:return x=(new y.A).readFeatures({features:b.results},{dataProjection:C.M.PROJECTION_NAMES.LNGLAT,featureProjection:l.getProjection().getCode()}),e.next=32,this.formatFeatureInfoResult(x,o);case 32:return A=e.sent,e.abrupt("return",A);case 36:return e.prev=36,e.t0=e.catch(0),E.vF.logError("esri-dynamic.getFeatureInfoAtLongLat()\n",e.t0),e.abrupt("return",null);case 40:case"end":return e.stop()}}),e,this,[[0,36]])}))),function(e,t){return l.apply(this,arguments)})},{key:"getViewFilter",value:function(e){var n=this.getLayerConfig(e),r=n.layerFilter;if(this.getStyle(n.layerPath)){var i=function(e){void 0===e.defaultVisible&&(e.defaultVisible=!0);for(var t=(0,_.IG)(e)?e.uniqueValueStyleInfo:e.classBreakStyleInfo,n=0;n= ").concat(F(B,this,q).call(this,a.field,a.classBreakStyleInfo[0].minValue,n.source.featureInfo))):!1===a.classBreakStyleInfo[0].visible&&!1!==a.defaultVisible&&(d.push("".concat(a.field," < ").concat(F(B,this,q).call(this,a.field,a.classBreakStyleInfo[0].minValue,n.source.featureInfo))),h=p):!1!==a.classBreakStyleInfo[p].visible&&!1===a.defaultVisible?(d.push("".concat(a.field," > ").concat(F(B,this,q).call(this,a.field,a.classBreakStyleInfo[p].minValue,n.source.featureInfo))),p+1===a.classBreakStyleInfo.length&&d.push("".concat(a.field," <= ").concat(F(B,this,q).call(this,a.field,a.classBreakStyleInfo[p].maxValue,n.source.featureInfo)))):!1===a.classBreakStyleInfo[p].visible&&!1!==a.defaultVisible&&(d.push("".concat(a.field," <= ").concat(F(B,this,q).call(this,a.field,a.classBreakStyleInfo[p].minValue,n.source.featureInfo))),h=p):!1===a.defaultVisible?!1===a.classBreakStyleInfo[p].visible?d.push("".concat(a.field," <= ").concat(F(B,this,q).call(this,a.field,a.classBreakStyleInfo[p-1].maxValue,n.source.featureInfo))):p+1===a.classBreakStyleInfo.length&&d.push("".concat(a.field," <= ").concat(F(B,this,q).call(this,a.field,a.classBreakStyleInfo[p].maxValue,n.source.featureInfo))):!1!==a.classBreakStyleInfo[p].visible?(d.push("".concat(a.field," > ").concat(F(B,this,q).call(this,a.field,a.classBreakStyleInfo[p-1].maxValue,n.source.featureInfo))),h=-1):h=p;if(-1!==h&&d.push("".concat(a.field," > ").concat(F(B,this,q).call(this,a.field,a.classBreakStyleInfo[h].maxValue,n.source.featureInfo))),!1!==a.defaultVisible){var f="".concat(d.slice(0,-1).reduce((function(e,t,n){return 0===n?"(".concat(t," or "):n%2==0?"".concat(e," and ").concat(t,") or "):"".concat(e,"(").concat(t)}),"")).concat(d.slice(-1)[0],")");return"".concat(f).concat(r?" and (".concat(r,")"):"")}var g=d.length?"".concat(d.reduce((function(e,t,n){return 0===n?"((".concat(t," and "):n%2==0?"".concat(e," or (").concat(t," and "):"".concat(e).concat(t,")")}),""),")"):"(1=0)";return"".concat(g).concat(r?" and (".concat(r,")"):"")}}return"(1=1)"}},{key:"onLoaded",value:function(e){(0,c.A)((0,u.A)(t.prototype),"onLoaded",this).call(this,e),this.applyViewFilter(e.layerPath,e.layerFilter||"")}},{key:"applyViewFilter",value:function(e,t){var n=this,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];E.vF.logTraceCore("ESRI-DYNAMIC - applyViewFilter",e);var o=this.getLayerConfig(e),a=this.getOLLayer(e),s=t.replaceAll(/\s{2,}/g," ").trim();o.legendFilterIsOff=!i,o.layerFilter=s,i&&(s=this.getViewFilter(e));var l=(0,r.A)(s.matchAll(/(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/gi));l.reverse(),l.forEach((function(e){var t=![20,25].includes(e[0].length),r=k.P.applyInputDateFormat(e[0],n.externalFragmentsOrder,t);r=(r=r.slice(0,20===r.length?-1:-6)).replace("T"," "),s="".concat(s.slice(0,e.index)).concat(r).concat(s.slice(e.index+e[0].length))})),null==a||a.getSource().updateParams({layerDefs:'{"'.concat(o.layerId,'": "').concat(s,'"}')}),null==a||a.changed(),this.emitLayerFilterApplied({layerPath:e,filter:s})}},{key:"getBounds",value:function(e){var t,n=this.getMetadataExtent();if(n){var r=this.getMetadataProjection();t=this.getMapViewer().convertExtentFromProjToMapProj(n,r),t=(0,S.validateExtent)(t,this.getMapViewer().getProjection().getCode())}return t}},{key:"getExtentFromFeatures",value:(n=(0,o.A)(f().mark((function e(t,n){var r,i,o,a,s,l,c;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.getLayerConfig(t),i=(0,w.getLocalizedValue)(r.source.dataAccessPath,P.K.getDisplayLanguage(this.mapId)),o=n.join("%2C"),!i){e.next=21;break}return i.endsWith("/")||(i+="/"),a="".concat(i).concat(r.layerId,"/query?&f=json&where=&objectIds=").concat(o,"&returnGeometry=true"),e.prev=6,e.next=9,fetch(a);case 9:return s=e.sent,e.next=12,s.json();case 12:return l=e.sent,(new y.A).readFeatures({features:l.features},{dataProjection:"EPSG:".concat(l.spatialReference.wkid),featureProjection:this.getMapViewer().getProjection().getCode()}).forEach((function(e){var t,n=null===(t=e.getGeometry())||void 0===t?void 0:t.getExtent();n&&(c?(0,S.getMinOrMaxExtents)(c,n):c=n)})),e.abrupt("return",c);case 18:e.prev=18,e.t0=e.catch(6),E.vF.logError("Error fetching geometry from ".concat(a),e.t0);case 21:return e.abrupt("return",void 0);case 22:case"end":return e.stop()}}),e,this,[[6,18]])}))),function(e,t){return n.apply(this,arguments)})}]);var n,l,p,A}(A.A);function V(e,t,n,r){return $.apply(this,arguments)}function $(){return($=(0,o.A)(f().mark((function e(t,n,i,o){var a,s,l,c;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=[],s="".concat(n,"&resultOffset=").concat(o||i),e.prev=2,e.next=5,fetch(s);case 5:return l=e.sent,e.next=8,l.json();case 8:if(c=e.sent,a.push(c),!c.exceededTransferLimit){e.next=19;break}return e.t0=a.push,e.t1=a,e.t2=r.A,e.next=16,F(B,this,V).call(this,t,n,i,o?o+i:2*i);case 16:e.t3=e.sent,e.t4=(0,e.t2)(e.t3),e.t0.apply.call(e.t0,e.t1,e.t4);case 19:e.next=24;break;case 21:e.prev=21,e.t5=e.catch(2),E.vF.logError("Error loading additional features for ".concat(t.layerPath," from ").concat(s),e.t5);case 24:return e.abrupt("return",a);case 25:case"end":return e.stop()}}),e,this,[[2,21]])})))).apply(this,arguments)}function G(e){return e.uniqueValueStyleInfo.reduce((function(t,n){return(!1===n.visible&&!1!==e.defaultVisible||!1!==n.visible&&!1===e.defaultVisible)&&n.values.forEach((function(e,n){var r=t[n].find((function(t){return t.value===e}));r?r.nbOccurence++:t[n].push({value:e,nbOccurence:1})})),t}),e.fields.map((function(){return[]})))}function U(e,t){for(var n=e.fields.map((function(){return!0})),r=[],i=0;-1!==i;i=n.findIndex((function(e){return e}))){for(var o=t[i].reduce((function(e,t){return e+t.nbOccurence}),0),a=0;at[a].length||t[i].length===t[a].length&&o{"use strict";n.d(t,{$x:()=>I,sV:()=>P,yl:()=>O});var r=n(24515),i=n(77156),o=n(74131),a=n(36549),s=n(80085),l=n(95174),c=n(54111),u=n(42450),d=n(43021),h=n(53732),p=n.n(h),f=n(28841),g=n(31459),m=n(72459),y=n(46074),v=n(6335),b=n(3153),w=n(32875),x=n(73438),A=n(9374),S=n(10242),C=n(2938),E=n(8243),k=n(49821);function T(e,t,n){return t=(0,u.A)(t),(0,l.A)(e,_()?Reflect.construct(t,n||[],(0,u.A)(e).constructor):t.apply(e,n))}function _(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_=function(){return!!e})()}var O=function(e){return(null==e?void 0:e.geoviewLayerType)===w.y6.ESRI_IMAGE},P=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===w.y6.ESRI_IMAGE},I=function(e){function t(e,n){return(0,a.A)(this,t),n.serviceDateFormat||(n.serviceDateFormat="DD/MM/YYYY HH:MM:SSZ"),T(this,t,[w.y6.ESRI_IMAGE,n,e])}return(0,d.A)(t,e),(0,s.A)(t,[{key:"getLegend",value:(l=(0,o.A)(p().mark((function e(t){var n,r,i,o,a,s,l,c,u,d;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,n=this.getLayerConfig(t)){e.next=4;break}return e.abrupt("return",null);case 4:return r="".concat((0,m.getLocalizedValue)(n.geoviewLayerConfig.metadataAccessPath,C.K.getDisplayLanguage(this.mapId)),"/legend?f=json"),e.next=7,fetch(r);case 7:return i=e.sent,e.next=10,i.json();case 10:if((o=e.sent).layers&&1===o.layers.length?a=o.layers[0].legend:o.layers.length&&(s=o.layers.find((function(e){return e.layerId===n.layerId})))&&(a=s.legend),a){e.next=15;break}return l={type:w.y6.ESRI_IMAGE,styleConfig:this.getStyle(t),legend:null},e.abrupt("return",l);case 15:return c=[],a.forEach((function(e){var t={label:e.label,values:e.label.split(","),settings:{type:"iconSymbol",mimeType:e.contentType,src:e.imageData,width:e.width,height:e.height}};c.push(t)})),u={Point:{styleType:"uniqueValue",fields:["default"],uniqueValueStyleInfo:c}},this.setStyle(t,u),e.t0=w.y6.ESRI_IMAGE,e.t1=u,e.next=24,(0,k.qC)(this.getStyle(t));case 24:return e.t2=e.sent,d={type:e.t0,styleConfig:e.t1,legend:e.t2},e.abrupt("return",d);case 29:return e.prev=29,e.t3=e.catch(0),v.vF.logError("Get Legend for ".concat(t," error"),e.t3),e.abrupt("return",null);case 33:case"end":return e.stop()}}),e,this,[[0,29]])}))),function(e){return l.apply(this,arguments)})},{key:"validateListOfLayerEntryConfig",value:function(e){var t=this;e.forEach((function(e){var n=e.layerPath;(0,A.KD)(e)&&(t.validateListOfLayerEntryConfig(e.listOfLayerEntryConfig),e.listOfLayerEntryConfig.length||(t.layerLoadError.push({layer:n,loggerMessage:"Empty layer group (mapId: ".concat(t.mapId,", layerPath: ").concat(n,")")}),e.layerStatus="error"))}))}},{key:"getFieldType",value:function(e,t){return(0,S.KS)(this,e,t)}},{key:"getFieldDomain",value:function(e,t){return(0,S.YX)(this,e,t)}},{key:"processTemporalDimension",value:function(e,t){(0,S.RW)(this,e,t,!0)}},{key:"processFeatureInfoConfig",value:function(e){(0,S.$A)(this,e)}},{key:"processInitialSettings",value:function(e){(0,S.gm)(this,e)}},{key:"processLayerMetadata",value:function(e){if(!(e instanceof b.Q))throw new Error("Invalid layer configuration type provided");return(0,S.Nf)(this,e)}},{key:"processOneLayerEntry",value:(n=(0,o.A)(p().mark((function e(n){var r,i,o,a,s,l,d,h,y,v;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.A)((0,u.A)(t.prototype),"processOneLayerEntry",this).call(this,n);case 2:if(n instanceof b.Q){e.next=4;break}throw new Error("Invalid layer configuration type provided");case 4:return(r={}).attributions=[this.metadata.copyrightText?this.metadata.copyrightText:""],r.url=(0,m.getLocalizedValue)(n.source.dataAccessPath,C.K.getDisplayLanguage(this.mapId)),r.params={LAYERS:"show:".concat(n.layerId)},n.source.transparent&&Object.defineProperty(r.params,"transparent",n.source.transparent),n.source.format&&Object.defineProperty(r.params,"format",n.source.format),n.source.crossOrigin?r.crossOrigin=n.source.crossOrigin:r.crossOrigin="Anonymous",n.source.projection&&(r.projection="EPSG:".concat(n.source.projection)),i=new f.A(r),(o=this.emitLayerRequesting({config:n,source:i})).length>0&&(a=o[0]),a||(v={source:i,properties:{layerConfig:n}},void 0!==(null===(s=n.initialSettings)||void 0===s?void 0:s.className)&&(v.className=n.initialSettings.className),void 0!==(null===(l=n.initialSettings)||void 0===l?void 0:l.extent)&&(v.extent=n.initialSettings.extent),void 0!==(null===(d=n.initialSettings)||void 0===d?void 0:d.maxZoom)&&(v.maxZoom=n.initialSettings.maxZoom),void 0!==(null===(h=n.initialSettings)||void 0===h?void 0:h.minZoom)&&(v.minZoom=n.initialSettings.minZoom),void 0!==(null===(y=n.initialSettings)||void 0===y||null===(y=y.states)||void 0===y?void 0:y.opacity)&&(v.opacity=n.initialSettings.states.opacity),a=new g.A(v),this.setLayerAndLoadEndListeners(n,a,"image")),this.emitLayerCreation({config:n,layer:a}),e.abrupt("return",Promise.resolve(a));case 18:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"onLoaded",value:function(e){(0,c.A)((0,u.A)(t.prototype),"onLoaded",this).call(this,e),this.applyViewFilter(e.layerPath,e.layerFilter||"")}},{key:"applyViewFilter",value:function(e,t,n){var o=this;v.vF.logTraceCore("ESRIImage - applyViewFilter",e);var a=this.getLayerConfig(e),s=this.getOLLayer(e),l=s.getSource();if(l){var c=t;if(a.legendFilterIsOff=!n,n&&(a.layerFilter=t),c){var u=(c=c.replaceAll(/\s{2,}/g," ").trim()).split(/(?<=\b)\s*=/),d=u[0].trim();c=u[1].trim();var h=(0,i.A)("".concat(c," ").matchAll(/(?<=^date\b\s')[\d/\-T\s:+Z]{4,25}(?=')|(?<=[(\s]date\b\s')[\d/\-T\s:+Z]{4,25}(?=')/gi));h.reverse(),h.forEach((function(e){var t=![20,25].includes(e[0].length),n=y.P.applyInputDateFormat(e[0],o.externalFragmentsOrder,t);c="".concat(c.slice(0,e.index-6)).concat(n).concat(c.slice(e.index+e[0].length+2))})),l.updateParams((0,r.A)({},d,c.replace(/\s*/g,""))),s.changed(),this.emitLayerFilterApplied({layerPath:e,filter:c})}}}},{key:"getBounds",value:function(e){var t,n=this.getMetadataExtent();if(n){var r=this.getMetadataProjection();t=this.getMapViewer().convertExtentFromProjToMapProj(n,r),t=(0,E.validateExtent)(t,this.getMapViewer().getProjection().getCode())}return t}}]);var n,l}(x.A)},77319:(e,t,n)=>{"use strict";n.d(t,{HO:()=>_,Qn:()=>O,S6:()=>I});var r=n(74131),i=n(36549),o=n(80085),a=n(95174),s=n(54111),l=n(42450),c=n(43021),u=n(53732),d=n.n(u),h=n(95841),p=n(1372),f=n(31459),g=n(16896),m=n(32875),y=n(73438),v=n(9374),b=n(72459),w=n(6335),x=n(96620),A=n(2938),S=n(49821);function C(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,E()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(E=function(){return!!e})()}function k(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function T(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var _=function(e){return(null==e?void 0:e.geoviewLayerType)===m.y6.IMAGE_STATIC},O=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===m.y6.IMAGE_STATIC},P=new WeakSet,I=function(e){function t(e,n){var r;return(0,i.A)(this,t),k(r=C(this,t,[m.y6.IMAGE_STATIC,n,e]),P),r}return(0,c.A)(t,e),(0,o.A)(t,[{key:"fetchServiceMetadata",value:function(){return new Promise((function(e){e()}))}},{key:"getLegend",value:(a=(0,r.A)(d().mark((function e(t){var n,r,i,o,a,s,l;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,n=this.getLayerConfig(t)){e.next=4;break}return e.abrupt("return",null);case 4:return e.next=6,T(P,this,M).call(this,n);case 6:if(r=e.sent){e.next=10;break}return i={type:m.y6.IMAGE_STATIC,legend:null},e.abrupt("return",i);case 10:return e.next=12,(0,S.yt)(r);case 12:if(!(o=e.sent)){e.next=21;break}return(a=document.createElement("canvas")).width=o.width,a.height=o.height,a.getContext("2d").drawImage(o,0,0),s={type:m.y6.IMAGE_STATIC,legend:a},e.abrupt("return",s);case 21:return l={type:m.y6.IMAGE_STATIC,legend:null},e.abrupt("return",l);case 25:return e.prev=25,e.t0=e.catch(0),w.vF.logError("Error getting legend for ".concat(t),e.t0),e.abrupt("return",null);case 29:case"end":return e.stop()}}),e,this,[[0,25]])}))),function(e){return a.apply(this,arguments)})},{key:"validateListOfLayerEntryConfig",value:function(e){var t=this;e.forEach((function(e){var n,r=e.layerPath;if((0,v.KD)(e)&&(t.validateListOfLayerEntryConfig(e.listOfLayerEntryConfig),!e.listOfLayerEntryConfig.length))return t.layerLoadError.push({layer:r,loggerMessage:"Empty layer group (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")")}),void(e.layerStatus="error");if(e.layerStatus="processing",t.metadata){var i;if(Array.isArray(null===(n=t.metadata)||void 0===n?void 0:n.listOfLayerEntryConfig))return(0,g.KX)(null===(i=t.metadata)||void 0===i?void 0:i.listOfLayerEntryConfig).find((function(t){return t.layerId===e.layerId}))?void 0:(t.layerLoadError.push({layer:r,loggerMessage:"GeoJSON layer not found (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")")}),void(e.layerStatus="error"));throw new Error("Invalid GeoJSON metadata (listOfLayerEntryConfig) prevent loading of layer (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")"))}}))}},{key:"processOneLayerEntry",value:(n=(0,r.A)(d().mark((function e(n){var r,i,o,a,c,u,h,g,m,y,v,w;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.A)((0,l.A)(t.prototype),"processOneLayerEntry",this).call(this,n);case 2:if(n instanceof x.V){e.next=4;break}throw new Error("Invalid layer configuration type provided");case 4:if(null!=n&&null!==(r=n.source)&&void 0!==r&&r.extent){e.next=6;break}throw new Error("Parameter extent is not defined in source element of layerConfig.");case 6:if(a={url:(0,b.getLocalizedValue)(n.source.dataAccessPath,A.K.getDisplayLanguage(this.mapId))||"",imageExtent:n.source.extent},null!=n&&null!==(i=n.source)&&void 0!==i&&i.crossOrigin?a.crossOrigin=n.source.crossOrigin:a.crossOrigin="Anonymous",null==n||null===(o=n.source)||void 0===o||!o.projection){e.next=12;break}a.projection="EPSG:".concat(n.source.projection),e.next=13;break;case 12:throw new Error("Parameter projection is not define in source element of layerConfig.");case 13:return c=new p.A(a),(u=this.emitLayerRequesting({config:n,source:c})).length>0&&(h=u[0]),h||(w={source:c},void 0!==(null===(g=n.initialSettings)||void 0===g?void 0:g.extent)&&(w.extent=n.initialSettings.extent),void 0!==(null===(m=n.initialSettings)||void 0===m?void 0:m.maxZoom)&&(w.maxZoom=n.initialSettings.maxZoom),void 0!==(null===(y=n.initialSettings)||void 0===y?void 0:y.minZoom)&&(w.minZoom=n.initialSettings.minZoom),void 0!==(null===(v=n.initialSettings)||void 0===v||null===(v=v.states)||void 0===v?void 0:v.opacity)&&(w.opacity=n.initialSettings.states.opacity),h=new f.A(w),this.setLayerAndLoadEndListeners(n,h,"image")),this.emitLayerCreation({config:n,layer:h}),e.abrupt("return",Promise.resolve(h));case 19:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"getBounds",value:function(e){var t,n=this.getOLLayer(e),r=this.getSourceProjection(e),i=null==n||null===(t=n.getSource())||void 0===t?void 0:t.getImageExtent();return i&&(i=this.getMapViewer().convertExtentFromProjToMapProj(i,r)),i}}]);var n,a}(y.A);function M(e){var t=this;return new Promise((function(n){var r=(0,b.getLocalizedValue)(e.source.dataAccessPath,A.K.getDisplayLanguage(t.mapId));r?(r=r.toLowerCase().startsWith("http:")?"https".concat(r.slice(4)):r,h.A.get(r,{responseType:"blob",withCredentials:!1}).then((function(e){var t;n((t=(0,g.KX)(e.data),new Promise((function(e){var n=new FileReader;n.onloadend=function(){return e(n.result)},n.onerror=function(){return e(null)},n.readAsDataURL(t)}))))})).catch((function(){return n(null)}))):n(null)}))}},85458:(e,t,n)=>{"use strict";n.d(t,{RZ:()=>Ro,Pg:()=>Lo,c9:()=>Mo});var r=n(24515),i=n(74131),o=n(36549),a=n(80085),s=n(95174),l=n(54111),c=n(42450),u=n(43021),d=n(53732),h=n.n(d),p=n(11502),f=n(21425),g=n(47877),m=n(24840),y=n(69563),v=n(71522),b=n(66410),w=n(91908),x=n(3099),A=n(57734),S=n(52940),C=n(70380),E=n(16428),k=n(12048),T=n(93398),_=n(54892),O=n(34209),P=n(34378),I=n(31459),M=n(3886),L=(n(57512),n(1099)),R=n(22727),j=n(62400),F=n(89049),D=n(42153),N=n(60101),B=n(38492),z=n(92548),V=n(3356),$=n(42081),G=n(60580);class U extends L.Ay{constructor(e){super(),e=e||{},this.dataProjection=new V.A({code:"",units:"tile-pixels"}),this.featureClass=e.featureClass?e.featureClass:w.Ay,this.geometryName_=e.geometryName,this.layerName_=e.layerName?e.layerName:"layer",this.layers_=e.layers?e.layers:null,this.idProperty_=e.idProperty,this.supportedMediaTypes=["application/vnd.mapbox-vector-tile","application/x-protobuf"]}readRawGeometry_(e,t,n,r){e.pos=t.geometry;const i=e.readVarint()+e.pos;let o=1,a=0,s=0,l=0,c=0,u=0;for(;e.pos>3}if(a--,1===o||2===o)s+=e.readSVarint(),l+=e.readSVarint(),1===o&&c>u&&(r.push(c),u=c),n.push(s,l),c+=2;else{if(7!==o)throw new Error("Invalid command found in the PBF");c>u&&(n.push(n[u],n[u+1]),c+=2)}}c>u&&(r.push(c),u=c)}createFeature_(e,t,n){const r=t.type;if(0===r)return null;let i;const o=t.properties;let a;this.idProperty_?(a=o[this.idProperty_],delete o[this.idProperty_]):a=t.id,o[this.layerName_]=t.layer.name;const s=[],l=[];this.readRawGeometry_(e,t,s,l);const c=function(e,t){let n;1===e?n=1===t?"Point":"MultiPoint":2===e?n=1===t?"LineString":"MultiLineString":3===e&&(n="Polygon");return n}(r,l.length);if(this.featureClass===w.Ay)i=new this.featureClass(c,s,l,2,o,a),i.transform(n.dataProjection);else{let e;if("Polygon"==c){const t=(0,G.yJ)(s,l);e=t.length>1?new D.A(s,"XY",t):new z.Ay(s,"XY",l)}else e="Point"===c?new B.A(s,"XY"):"LineString"===c?new R.A(s,"XY"):"MultiPoint"===c?new F.A(s,"XY"):"MultiLineString"===c?new j.A(s,"XY",l):null;i=new(0,this.featureClass),this.geometryName_&&i.setGeometryName(this.geometryName_);const t=(0,L.hX)(e,!1,n);i.setGeometry(t),void 0!==a&&i.setId(a),i.setProperties(o,!0)}return i}getType(){return"arraybuffer"}readFeatures(e,t){const n=this.layers_;t=this.adaptOptions(t);const r=(0,$.Jt)(t.dataProjection);r.setWorldExtent(t.extent),t.dataProjection=r;const i=new N(e),o=i.readFields(W,{}),a=[];for(const e in o){if(n&&!n.includes(e))continue;const s=o[e],l=s?[0,0,s.extent,s.extent]:null;r.setExtent(l);for(let e=0,n=s.length;e>3)?n.readString():2===e?n.readFloat():3===e?n.readDouble():4===e?n.readVarint64():5===e?n.readVarint():6===e?n.readSVarint():7===e?n.readBoolean():null;t.values.push(r)}}function H(e,t,n){if(1==e)t.id=n.readVarint();else if(2==e){const e=n.readVarint()+n.pos;for(;n.posthis._maxQueueLength;)this._queue.shift().callback(null,null)}_dispatch(){if(this._running||0===this._queue.length)return;const e=this._queue.shift();this._job=e;const t=e.inputs[0].width,n=e.inputs[0].height,r=e.inputs.map((function(e){return e.data.buffer})),i=this._workers.length;if(this._running=i,1===i)return void this._workers[0].postMessage({buffers:r,meta:e.meta,imageOps:this._imageOps,width:t,height:n},r);const o=e.inputs[0].data.length,a=4*Math.ceil(o/4/i);for(let o=0;o=200&&t.status<300){let e;try{e=JSON.parse(t.responseText)}catch(e){return void this.handleTileJSONError()}this.handleTileJSONResponse(e)}else this.handleTileJSONError()}onXHRError_(e){this.handleTileJSONError()}getTileJSON(){return this.tileJSON_}handleTileJSONResponse(e){const t=(0,$.Jt)("EPSG:4326"),n=this.getProjection();let r;if(void 0!==e.bounds){const i=(0,$.FO)(t,n);r=(0,le.applyTransform)(e.bounds,i)}const i=(0,Se.kZ)(n),o=e.minzoom||0,a=e.maxzoom||22,s=(0,Se.EN)({extent:i,maxZoom:a,minZoom:o,tileSize:this.tileSize_});if(this.tileGrid=s,this.tileUrlFunction=(0,_.Qz)(e.tiles,s),e.attribution&&!this.getAttributions()){const t=void 0!==r?r:i;this.setAttributions((function(n){return(0,le.intersects)(t,n.extent)?[e.attribution]:null}))}this.tileJSON_=e,this.setState("ready")}handleTileJSONError(){this.setState("error")}}const Ee=Ce;var ke=n(26076),Te=n(83836),_e=n(65734),Oe=n(82084);function Pe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ie,Me={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Le(e){return(e=Math.round(e))<0?0:e>255?255:e}function Re(e){return e<0?0:e>1?1:e}function je(e){return"%"===e[e.length-1]?Le(parseFloat(e)/100*255):Le(parseInt(e))}function Fe(e){return"%"===e[e.length-1]?Re(parseFloat(e)/100):Re(parseFloat(e))}function De(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}try{Ie={}.parseCSSColor=function(e){var t,n=e.replace(/ /g,"").toLowerCase();if(n in Me)return Me[n].slice();if("#"===n[0])return 4===n.length?(t=parseInt(n.substr(1),16))>=0&&t<=4095?[(3840&t)>>4|(3840&t)>>8,240&t|(240&t)>>4,15&t|(15&t)<<4,1]:null:7===n.length&&(t=parseInt(n.substr(1),16))>=0&&t<=16777215?[(16711680&t)>>16,(65280&t)>>8,255&t,1]:null;var r=n.indexOf("("),i=n.indexOf(")");if(-1!==r&&i+1===n.length){var o=n.substr(0,r),a=n.substr(r+1,i-(r+1)).split(","),s=1;switch(o){case"rgba":if(4!==a.length)return null;s=Fe(a.pop());case"rgb":return 3!==a.length?null:[je(a[0]),je(a[1]),je(a[2]),s];case"hsla":if(4!==a.length)return null;s=Fe(a.pop());case"hsl":if(3!==a.length)return null;var l=(parseFloat(a[0])%360+360)%360/360,c=Fe(a[1]),u=Fe(a[2]),d=u<=.5?u*(c+1):u+c-u*c,h=2*u-d;return[Le(255*De(h,d,l+1/3)),Le(255*De(h,d,l)),Le(255*De(h,d,l-1/3)),s];default:return null}}return null}}catch(e){}class Ne{constructor(e,t,n,r=1){this.r=e,this.g=t,this.b=n,this.a=r}static parse(e){if(!e)return;if(e instanceof Ne)return e;if("string"!=typeof e)return;const t=Ie(e);return t?new Ne(t[0]/255*t[3],t[1]/255*t[3],t[2]/255*t[3],t[3]):void 0}toString(){const[e,t,n,r]=this.toArray();return`rgba(${Math.round(e)},${Math.round(t)},${Math.round(n)},${r})`}toArray(){const{r:e,g:t,b:n,a:r}=this;return 0===r?[0,0,0,0]:[255*e/r,255*t/r,255*n/r,r]}toArray01(){const{r:e,g:t,b:n,a:r}=this;return 0===r?[0,0,0,0]:[e/r,t/r,n/r,r]}toArray01PremultipliedAlpha(){const{r:e,g:t,b:n,a:r}=this;return[e,t,n,r]}}Ne.black=new Ne(0,0,0,1),Ne.white=new Ne(1,1,1,1),Ne.transparent=new Ne(0,0,0,0),Ne.red=new Ne(1,0,0,1),Ne.blue=new Ne(0,0,1,1);var Be=Ne;function ze(e){return"object"==typeof e?["literal",e]:e}function Ve(e,t){let n=e.stops;if(!n)return function(e,t){const n=["get",e.property];if(void 0===e.default)return"string"===t.type?["string",n]:n;if("enum"===t.type)return["match",n,Object.keys(t.values),n,e.default];{const r=["color"===t.type?"to-color":t.type,n,ze(e.default)];return"array"===t.type&&r.splice(1,0,t.value,t.length||null),r}}(e,t);const r=n&&"object"==typeof n[0][0],i=r||void 0!==e.property,o=r||!i;return n=n.map((e=>!i&&t.tokens&&"string"==typeof e[1]?[e[0],Ye(e[1])]:[e[0],ze(e[1])])),r?function(e,t,n){const r={},i={},o=[];for(let t=0;t3&&t===e[e.length-2]||(r&&2===e.length||e.push(t),e.push(n))}function He(e,t){return e.type?e.type:t.expression.interpolated?"exponential":"interval"}function Ye(e){const t=["concat"],n=/{([^{}]+)}/g;let r=0;for(let i=n.exec(e);null!==i;i=n.exec(e)){const o=e.slice(r,n.lastIndex-i[0].length);r=n.lastIndex,o.length>0&&t.push(o),t.push(["get",i[1]])}if(1===t.length)return e;if(r`:"value"===e.itemType.kind?"array":`array<${t}>`}return e.kind}const dt=[Qe,et,tt,nt,rt,st,it,ct(ot),lt];function ht(e,t){if("error"===t.kind)return null;if("array"===e.kind){if("array"===t.kind&&(0===t.N&&"value"===t.itemType.kind||!ht(e.itemType,t.itemType))&&("number"!=typeof e.N||e.N===t.N))return null}else{if(e.kind===t.kind)return null;if("value"===e.kind)for(const e of dt)if(!ht(e,t))return null}return`Expected ${ut(e)} but found ${ut(t)} instead.`}function pt(e,t){return t.some((t=>t.kind===e.kind))}function ft(e,t){return t.some((t=>"null"===t?null===e:"array"===t?Array.isArray(e):"object"===t?e&&!Array.isArray(e)&&"object"==typeof e:t===typeof e))}class gt{constructor(e,t,n){this.sensitivity=e?t?"variant":"case":t?"accent":"base",this.locale=n,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}compare(e,t){return this.collator.compare(e,t)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class mt{constructor(e,t,n,r,i){this.text=e.normalize?e.normalize():e,this.image=t,this.scale=n,this.fontStack=r,this.textColor=i}}class yt{constructor(e){this.sections=e}static fromString(e){return new yt([new mt(e,null,null,null,null)])}isEmpty(){return 0===this.sections.length||!this.sections.some((e=>0!==e.text.length||e.image&&0!==e.image.name.length))}static factory(e){return e instanceof yt?e:yt.fromString(e)}toString(){return 0===this.sections.length?"":this.sections.map((e=>e.text)).join("")}serialize(){const e=["format"];for(const t of this.sections){if(t.image){e.push(["image",t.image.name]);continue}e.push(t.text);const n={};t.fontStack&&(n["text-font"]=["literal",t.fontStack.split(",")]),t.scale&&(n["font-scale"]=t.scale),t.textColor&&(n["text-color"]=["rgba"].concat(t.textColor.toArray())),e.push(n)}return e}}class vt{constructor(e){this.name=e.name,this.available=e.available}toString(){return this.name}static fromString(e){return e?new vt({name:e,available:!1}):null}serialize(){return["image",this.name]}}function bt(e,t,n,r){if(!("number"==typeof e&&e>=0&&e<=255&&"number"==typeof t&&t>=0&&t<=255&&"number"==typeof n&&n>=0&&n<=255)){return`Invalid rgba value [${("number"==typeof r?[e,t,n,r]:[e,t,n]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}return void 0===r||"number"==typeof r&&r>=0&&r<=1?null:`Invalid rgba value [${[e,t,n,r].join(", ")}]: 'a' must be between 0 and 1.`}function wt(e){if(null===e)return!0;if("string"==typeof e)return!0;if("boolean"==typeof e)return!0;if("number"==typeof e)return!0;if(e instanceof Be)return!0;if(e instanceof gt)return!0;if(e instanceof yt)return!0;if(e instanceof vt)return!0;if(Array.isArray(e)){for(const t of e)if(!wt(t))return!1;return!0}if("object"==typeof e){for(const t in e)if(!wt(e[t]))return!1;return!0}return!1}function xt(e){if(null===e)return Qe;if("string"==typeof e)return tt;if("boolean"==typeof e)return nt;if("number"==typeof e)return et;if(e instanceof Be)return rt;if(e instanceof gt)return at;if(e instanceof yt)return st;if(e instanceof vt)return lt;if(Array.isArray(e)){const t=e.length;let n;for(const t of e){const e=xt(t);if(n){if(n===e)continue;n=ot;break}n=e}return ct(n||ot,t)}return it}function At(e){const t=typeof e;return null===e?"":"string"===t||"number"===t||"boolean"===t?String(e):e instanceof Be||e instanceof yt||e instanceof vt?e.toString():JSON.stringify(e)}class St{constructor(e,t){this.type=e,this.value=t}static parse(e,t){if(2!==e.length)return t.error(`'literal' expression requires exactly one argument, but found ${e.length-1} instead.`);if(!wt(e[1]))return t.error("invalid value");const n=e[1];let r=xt(n);const i=t.expectedType;return"array"!==r.kind||0!==r.N||!i||"array"!==i.kind||"number"==typeof i.N&&0!==i.N||(r=i),new St(r,n)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}serialize(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof Be?["rgba"].concat(this.value.toArray()):this.value instanceof yt?this.value.serialize():this.value}}var Ct=St;var Et=class{constructor(e){this.name="ExpressionEvaluationError",this.message=e}toJSON(){return this.message}};const kt={string:tt,number:et,boolean:nt,object:it};class Tt{constructor(e,t){this.type=e,this.args=t}static parse(e,t){if(e.length<2)return t.error("Expected at least one argument.");let n,r=1;const i=e[0];if("array"===i){let i,o;if(e.length>2){const n=e[1];if("string"!=typeof n||!(n in kt)||"object"===n)return t.error('The item type argument of "array" must be one of string, number, boolean',1);i=kt[n],r++}else i=ot;if(e.length>3){if(null!==e[2]&&("number"!=typeof e[2]||e[2]<0||e[2]!==Math.floor(e[2])))return t.error('The length argument to "array" must be a positive integer literal',2);o=e[2],r++}n=ct(i,o)}else n=kt[i];const o=[];for(;re.outputDefined()))}serialize(){const e=this.type,t=[e.kind];if("array"===e.kind){const n=e.itemType;if("string"===n.kind||"number"===n.kind||"boolean"===n.kind){t.push(n.kind);const r=e.N;("number"==typeof r||this.args.length>1)&&t.push(r)}}return t.concat(this.args.map((e=>e.serialize())))}}var _t=Tt;class Ot{constructor(e){this.type=st,this.sections=e}static parse(e,t){if(e.length<2)return t.error("Expected at least one argument.");const n=e[1];if(!Array.isArray(n)&&"object"==typeof n)return t.error("First argument must be an image or text section.");const r=[];let i=!1;for(let n=1;n<=e.length-1;++n){const o=e[n];if(i&&"object"==typeof o&&!Array.isArray(o)){i=!1;let e=null;if(o["font-scale"]&&(e=t.parse(o["font-scale"],1,et),!e))return null;let n=null;if(o["text-font"]&&(n=t.parse(o["text-font"],1,ct(tt)),!n))return null;let a=null;if(o["text-color"]&&(a=t.parse(o["text-color"],1,rt),!a))return null;const s=r[r.length-1];s.scale=e,s.font=n,s.textColor=a}else{const o=t.parse(e[n],1,ot);if(!o)return null;const a=o.type.kind;if("string"!==a&&"value"!==a&&"null"!==a&&"resolvedImage"!==a)return t.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");i=!0,r.push({content:o,scale:null,font:null,textColor:null})}}return new Ot(r)}evaluate(e){return new yt(this.sections.map((t=>{const n=t.content.evaluate(e);return xt(n)===lt?new mt("",n,null,null,null):new mt(At(n),null,t.scale?t.scale.evaluate(e):null,t.font?t.font.evaluate(e).join(","):null,t.textColor?t.textColor.evaluate(e):null)})))}eachChild(e){for(const t of this.sections)e(t.content),t.scale&&e(t.scale),t.font&&e(t.font),t.textColor&&e(t.textColor)}outputDefined(){return!1}serialize(){const e=["format"];for(const t of this.sections){e.push(t.content.serialize());const n={};t.scale&&(n["font-scale"]=t.scale.serialize()),t.font&&(n["text-font"]=t.font.serialize()),t.textColor&&(n["text-color"]=t.textColor.serialize()),e.push(n)}return e}}class Pt{constructor(e){this.type=lt,this.input=e}static parse(e,t){if(2!==e.length)return t.error("Expected two arguments.");const n=t.parse(e[1],1,tt);return n?new Pt(n):t.error("No image name provided.")}evaluate(e){const t=this.input.evaluate(e),n=vt.fromString(t);return n&&e.availableImages&&(n.available=e.availableImages.indexOf(t)>-1),n}eachChild(e){e(this.input)}outputDefined(){return!1}serialize(){return["image",this.input.serialize()]}}const It={"to-boolean":nt,"to-color":rt,"to-number":et,"to-string":tt};class Mt{constructor(e,t){this.type=e,this.args=t}static parse(e,t){if(e.length<2)return t.error("Expected at least one argument.");const n=e[0];if(("to-boolean"===n||"to-string"===n)&&2!==e.length)return t.error("Expected one argument.");const r=It[n],i=[];for(let n=1;n4?`Invalid rbga value ${JSON.stringify(t)}: expected an array containing either three or four numeric values.`:bt(t[0],t[1],t[2],t[3]),!n))return new Be(t[0]/255,t[1]/255,t[2]/255,t[3])}throw new Et(n||`Could not parse color from value '${"string"==typeof t?t:String(JSON.stringify(t))}'`)}if("number"===this.type.kind){let t=null;for(const n of this.args){if(t=n.evaluate(e),null===t)return 0;const r=Number(t);if(!isNaN(r))return r}throw new Et(`Could not convert ${JSON.stringify(t)} to number.`)}return"formatted"===this.type.kind?yt.fromString(At(this.args[0].evaluate(e))):"resolvedImage"===this.type.kind?vt.fromString(At(this.args[0].evaluate(e))):At(this.args[0].evaluate(e))}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every((e=>e.outputDefined()))}serialize(){if("formatted"===this.type.kind)return new Ot([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if("resolvedImage"===this.type.kind)return new Pt(this.args[0]).serialize();const e=[`to-${this.type.kind}`];return this.eachChild((t=>{e.push(t.serialize())})),e}}var Lt=Mt;const Rt=["Unknown","Point","LineString","Polygon"];var jt=class{constructor(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null,this.featureTileCoord=null,this.featureDistanceData=null}id(){return this.feature&&void 0!==this.feature.id?this.feature.id:null}geometryType(){return this.feature?"number"==typeof this.feature.type?Rt[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}distanceFromCenter(){if(this.featureTileCoord&&this.featureDistanceData){const e=this.featureDistanceData.center,t=this.featureDistanceData.scale,{x:n,y:r}=this.featureTileCoord,i=n*t-e[0],o=r*t-e[1];return this.featureDistanceData.bearing[0]*i+this.featureDistanceData.bearing[1]*o}return 0}parseColor(e){let t=this._parseColorCache[e];return t||(t=this._parseColorCache[e]=Be.parse(e)),t}};class Ft{constructor(e,t,n,r){this.name=e,this.type=t,this._evaluate=n,this.args=r}evaluate(e){return this._evaluate(e,this.args)}eachChild(e){this.args.forEach(e)}outputDefined(){return!1}serialize(){return[this.name].concat(this.args.map((e=>e.serialize())))}static parse(e,t){const n=e[0],r=Ft.definitions[n];if(!r)return t.error(`Unknown expression "${n}". If you wanted a literal array, use ["literal", [...]].`,0);const i=Array.isArray(r)?r[0]:r.type,o=Array.isArray(r)?[[r[1],r[2]]]:r.overloads,a=o.filter((([t])=>!Array.isArray(t)||t.length===e.length-1));let s=null;for(const[r,o]of a){s=new dn(t.registry,t.path,null,t.scope);const a=[];let l=!1;for(let t=1;t{return t=e,Array.isArray(t)?`(${t.map(ut).join(", ")})`:`(${ut(t.type)}...)`;var t})).join(" | "),r=[];for(let n=1;n=t[2])&&(!(e[1]<=t[1])&&!(e[3]>=t[3])))}function $t(e,t){const n=(180+e[0])/360;const r=(i=e[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+i*Math.PI/360)))/360);var i;const o=Math.pow(2,t.z);return[Math.round(n*o*Bt),Math.round(r*o*Bt)]}function Gt(e,t,n){const r=e[0]-t[0],i=e[1]-t[1],o=e[0]-n[0],a=e[1]-n[1];return r*a-o*i==0&&r*o<=0&&i*a<=0}function Ut(e,t){let n=!1;for(let a=0,s=t.length;ar[1]!=o[1]>r[1]&&r[0]<(o[0]-i[0])*(r[1]-i[1])/(o[1]-i[1])+i[0]&&(n=!n)}}var r,i,o;return n}function Wt(e,t){for(let n=0;n0&&d<0||u<0&&d>0}function Ht(e,t,n,r){const i=[t[0]-e[0],t[1]-e[1]],o=[r[0]-n[0],r[1]-n[1]];return 0!=(a=o)[0]*(s=i)[1]-a[1]*s[0]&&!(!qt(e,t,n,r)||!qt(n,r,e,t));var a,s}function Yt(e,t,n){for(const r of n)for(let n=0;nn[2]){const t=.5*r;let i=e[0]-n[0]>t?-r:n[0]-e[0]>t?r:0;0===i&&(i=e[0]-n[2]>t?-r:n[2]-e[0]>t?r:0),e[0]+=i}zt(t,e)}function en(e,t,n,r){const i=Math.pow(2,r.z)*Bt,o=[r.x*Bt,r.y*Bt],a=[];if(!e)return a;for(const r of e)for(const e of r){const r=[e.x+o[0],e.y+o[1]];Qt(r,t,n,i),a.push(r)}return a}function tn(e,t,n,r){const i=Math.pow(2,r.z)*Bt,o=[r.x*Bt,r.y*Bt],a=[];if(!e)return a;for(const n of e){const e=[];for(const r of n){const n=[r.x+o[0],r.y+o[1]];zt(t,n),e.push(n)}a.push(e)}if(t[2]-t[0]<=i/2){(s=t)[0]=s[1]=1/0,s[2]=s[3]=-1/0;for(const e of a)for(const r of e)Qt(r,t,n,i)}var s;return a}class nn{constructor(e,t){this.type=nt,this.geojson=e,this.geometries=t}static parse(e,t){if(2!==e.length)return t.error(`'within' expression requires exactly one argument, but found ${e.length-1} instead.`);if(wt(e[1])){const t=e[1];if("FeatureCollection"===t.type)for(let e=0;e{t&&!on(e)&&(t=!1)})),t}function an(e){if(e instanceof Dt&&"feature-state"===e.name)return!1;let t=!0;return e.eachChild((e=>{t&&!an(e)&&(t=!1)})),t}function sn(e,t){if(e instanceof Dt&&t.indexOf(e.name)>=0)return!1;let n=!0;return e.eachChild((e=>{n&&!sn(e,t)&&(n=!1)})),n}class ln{constructor(e,t){this.type=t.type,this.name=e,this.boundExpression=t}static parse(e,t){if(2!==e.length||"string"!=typeof e[1])return t.error("'var' expression requires exactly one string literal argument.");const n=e[1];return t.scope.has(n)?new ln(n,t.scope.get(n)):t.error(`Unknown variable "${n}". Make sure "${n}" has been bound in an enclosing "let" expression before using it.`,1)}evaluate(e){return this.boundExpression.evaluate(e)}eachChild(){}outputDefined(){return!1}serialize(){return["var",this.name]}}var cn=ln;class un{constructor(e,t=[],n,r=new Je,i=[]){this.registry=e,this.path=t,this.key=t.map((e=>`[${e}]`)).join(""),this.scope=r,this.errors=i,this.expectedType=n}parse(e,t,n,r,i={}){return t?this.concat(t,n,r)._parse(e,i):this._parse(e,i)}_parse(e,t){function n(e,t,n){return"assert"===n?new _t(t,[e]):"coerce"===n?new Lt(t,[e]):e}if(null!==e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e||(e=["literal",e]),Array.isArray(e)){if(0===e.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const r=e[0];if("string"!=typeof r)return this.error(`Expression name must be a string, but found ${typeof r} instead. If you wanted a literal array, use ["literal", [...]].`,0),null;const i=this.registry[r];if(i){let r=i.parse(e,this);if(!r)return null;if(this.expectedType){const e=this.expectedType,i=r.type;if("string"!==e.kind&&"number"!==e.kind&&"boolean"!==e.kind&&"object"!==e.kind&&"array"!==e.kind||"value"!==i.kind)if("color"!==e.kind&&"formatted"!==e.kind&&"resolvedImage"!==e.kind||"value"!==i.kind&&"string"!==i.kind){if(this.checkSubtype(e,i))return null}else r=n(r,e,t.typeAnnotation||"coerce");else r=n(r,e,t.typeAnnotation||"assert")}if(!(r instanceof Ct)&&"resolvedImage"!==r.type.kind&&hn(r)){const e=new jt;try{r=new Ct(r.type,r.evaluate(e))}catch(e){return this.error(e.message),null}}return r}return this.error(`Unknown expression "${r}". If you wanted a literal array, use ["literal", [...]].`,0)}return void 0===e?this.error("'undefined' value invalid. Use null instead."):"object"==typeof e?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error(`Expected an array, but found ${typeof e} instead.`)}concat(e,t,n){const r="number"==typeof e?this.path.concat(e):this.path,i=n?this.scope.concat(n):this.scope;return new un(this.registry,r,t||null,i,this.errors)}error(e,...t){const n=`${this.key}${t.map((e=>`[${e}]`)).join("")}`;this.errors.push(new Xe(n,e))}checkSubtype(e,t){const n=ht(e,t);return n&&this.error(n),n}}var dn=un;function hn(e){if(e instanceof cn)return hn(e.boundExpression);if(e instanceof Dt&&"error"===e.name)return!1;if(e instanceof Nt)return!1;if(e instanceof rn)return!1;const t=e instanceof Lt||e instanceof _t;let n=!0;return e.eachChild((e=>{n=t?n&&hn(e):n&&e instanceof Ct})),!!n&&(on(e)&&sn(e,["zoom","heatmap-density","line-progress","sky-radial-progress","accumulated","is-supported-script","pitch","distance-from-center"]))}function pn(e,t){const n=e.length-1;let r,i,o=0,a=n,s=0;for(;o<=a;)if(s=Math.floor((o+a)/2),r=e[s],i=e[s+1],r<=t){if(s===n||tt))throw new Et("Input is not a number.");a=s-1}return 0}class fn{constructor(e,t,n){this.type=e,this.input=t,this.labels=[],this.outputs=[];for(const[e,t]of n)this.labels.push(e),this.outputs.push(t)}static parse(e,t){if(e.length-1<4)return t.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return t.error("Expected an even number of arguments.");const n=t.parse(e[1],1,et);if(!n)return null;const r=[];let i=null;t.expectedType&&"value"!==t.expectedType.kind&&(i=t.expectedType);for(let n=1;n=o)return t.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',s);const c=t.parse(a,l,i);if(!c)return null;i=i||c.type,r.push([o,c])}return new fn(i,n,r)}evaluate(e){const t=this.labels,n=this.outputs;if(1===t.length)return n[0].evaluate(e);const r=this.input.evaluate(e);if(r<=t[0])return n[0].evaluate(e);const i=t.length;if(r>=t[i-1])return n[i-1].evaluate(e);return n[pn(t,r)].evaluate(e)}eachChild(e){e(this.input);for(const t of this.outputs)e(t)}outputDefined(){return this.outputs.every((e=>e.outputDefined()))}serialize(){const e=["step",this.input.serialize()];for(let t=0;t0&&e.push(this.labels[t]),e.push(this.outputs[t].serialize());return e}}var gn=fn,mn=yn;function yn(e,t,n,r){this.cx=3*e,this.bx=3*(n-e)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*t,this.by=3*(r-t)-this.cy,this.ay=1-this.cy-this.by,this.p1x=e,this.p1y=r,this.p2x=n,this.p2y=r}yn.prototype.sampleCurveX=function(e){return((this.ax*e+this.bx)*e+this.cx)*e},yn.prototype.sampleCurveY=function(e){return((this.ay*e+this.by)*e+this.cy)*e},yn.prototype.sampleCurveDerivativeX=function(e){return(3*this.ax*e+2*this.bx)*e+this.cx},yn.prototype.solveCurveX=function(e,t){var n,r,i,o,a;for(void 0===t&&(t=1e-6),i=e,a=0;a<8;a++){if(o=this.sampleCurveX(i)-e,Math.abs(o)(r=1))return r;for(;no?n=i:r=i,i=.5*(r-n)+n}return i},yn.prototype.solve=function(e,t){return this.sampleCurveY(this.solveCurveX(e,t))};var vn=Pe(mn);function bn(e,t,n){return e*(1-n)+t*n}var wn=Object.freeze({__proto__:null,number:bn,color:function(e,t,n){return new Be(bn(e.r,t.r,n),bn(e.g,t.g,n),bn(e.b,t.b,n),bn(e.a,t.a,n))},array:function(e,t,n){return e.map(((e,r)=>bn(e,t[r],n)))}});const xn=.95047,An=1,Sn=1.08883,Cn=4/29,En=6/29,kn=3*En*En,Tn=En*En*En,_n=Math.PI/180,On=180/Math.PI;function Pn(e){return e>Tn?Math.pow(e,1/3):e/kn+Cn}function In(e){return e>En?e*e*e:kn*(e-Cn)}function Mn(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Ln(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Rn(e){const t=Ln(e.r),n=Ln(e.g),r=Ln(e.b),i=Pn((.4124564*t+.3575761*n+.1804375*r)/xn),o=Pn((.2126729*t+.7151522*n+.072175*r)/An);return{l:116*o-16,a:500*(i-o),b:200*(o-Pn((.0193339*t+.119192*n+.9503041*r)/Sn)),alpha:e.a}}function jn(e){let t=(e.l+16)/116,n=isNaN(e.a)?t:t+e.a/500,r=isNaN(e.b)?t:t-e.b/200;return t=An*In(t),n=xn*In(n),r=Sn*In(r),new Be(Mn(3.2404542*n-1.5371385*t-.4985314*r),Mn(-.969266*n+1.8760108*t+.041556*r),Mn(.0556434*n-.2040259*t+1.0572252*r),e.alpha)}function Fn(e,t,n){const r=t-e;return e+n*(r>180||r<-180?r-360*Math.round(r/360):r)}const Dn={forward:Rn,reverse:jn,interpolate:function(e,t,n){return{l:bn(e.l,t.l,n),a:bn(e.a,t.a,n),b:bn(e.b,t.b,n),alpha:bn(e.alpha,t.alpha,n)}}},Nn={forward:function(e){const{l:t,a:n,b:r}=Rn(e),i=Math.atan2(r,n)*On;return{h:i<0?i+360:i,c:Math.sqrt(n*n+r*r),l:t,alpha:e.a}},reverse:function(e){const t=e.h*_n,n=e.c;return jn({l:e.l,a:Math.cos(t)*n,b:Math.sin(t)*n,alpha:e.alpha})},interpolate:function(e,t,n){return{h:Fn(e.h,t.h,n),c:bn(e.c,t.c,n),l:bn(e.l,t.l,n),alpha:bn(e.alpha,t.alpha,n)}}};class Bn{constructor(e,t,n,r,i){this.type=e,this.operator=t,this.interpolation=n,this.input=r,this.labels=[],this.outputs=[];for(const[e,t]of i)this.labels.push(e),this.outputs.push(t)}static interpolationFactor(e,t,n,r){let i=0;if("exponential"===e.name)i=zn(t,e.base,n,r);else if("linear"===e.name)i=zn(t,1,n,r);else if("cubic-bezier"===e.name){const o=e.controlPoints;i=new vn(o[0],o[1],o[2],o[3]).solve(zn(t,1,n,r))}return i}static parse(e,t){let[n,r,i,...o]=e;if(!Array.isArray(r)||0===r.length)return t.error("Expected an interpolation type expression.",1);if("linear"===r[0])r={name:"linear"};else if("exponential"===r[0]){const e=r[1];if("number"!=typeof e)return t.error("Exponential interpolation requires a numeric base.",1,1);r={name:"exponential",base:e}}else{if("cubic-bezier"!==r[0])return t.error(`Unknown interpolation type ${String(r[0])}`,1,0);{const e=r.slice(1);if(4!==e.length||e.some((e=>"number"!=typeof e||e<0||e>1)))return t.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);r={name:"cubic-bezier",controlPoints:e}}}if(e.length-1<4)return t.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return t.error("Expected an even number of arguments.");if(i=t.parse(i,2,et),!i)return null;const a=[];let s=null;"interpolate-hcl"===n||"interpolate-lab"===n?s=rt:t.expectedType&&"value"!==t.expectedType.kind&&(s=t.expectedType);for(let e=0;e=n)return t.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',i);const c=t.parse(r,l,s);if(!c)return null;s=s||c.type,a.push([n,c])}return"number"===s.kind||"color"===s.kind||"array"===s.kind&&"number"===s.itemType.kind&&"number"==typeof s.N?new Bn(s,n,r,i,a):t.error(`Type ${ut(s)} is not interpolatable.`)}evaluate(e){const t=this.labels,n=this.outputs;if(1===t.length)return n[0].evaluate(e);const r=this.input.evaluate(e);if(r<=t[0])return n[0].evaluate(e);const i=t.length;if(r>=t[i-1])return n[i-1].evaluate(e);const o=pn(t,r),a=t[o],s=t[o+1],l=Bn.interpolationFactor(this.interpolation,r,a,s),c=n[o].evaluate(e),u=n[o+1].evaluate(e);return"interpolate"===this.operator?wn[this.type.kind.toLowerCase()](c,u,l):"interpolate-hcl"===this.operator?Nn.reverse(Nn.interpolate(Nn.forward(c),Nn.forward(u),l)):Dn.reverse(Dn.interpolate(Dn.forward(c),Dn.forward(u),l))}eachChild(e){e(this.input);for(const t of this.outputs)e(t)}outputDefined(){return this.outputs.every((e=>e.outputDefined()))}serialize(){let e;e="linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);const t=[this.operator,e,this.input.serialize()];for(let e=0;eht(r,e.type)));return new $n(o?ot:n,i)}evaluate(e){let t,n=null,r=0;for(const i of this.args){if(r++,n=i.evaluate(e),n&&n instanceof vt&&!n.available&&(t||(t=n),n=null,r===this.args.length))return t;if(null!==n)break}return n}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every((e=>e.outputDefined()))}serialize(){const e=["coalesce"];return this.eachChild((t=>{e.push(t.serialize())})),e}}var Gn=$n;class Un{constructor(e,t){this.type=t.type,this.bindings=[].concat(e),this.result=t}evaluate(e){return this.result.evaluate(e)}eachChild(e){for(const t of this.bindings)e(t[1]);e(this.result)}static parse(e,t){if(e.length<4)return t.error(`Expected at least 3 arguments, but found ${e.length-1} instead.`);const n=[];for(let r=1;r=n.length)throw new Et(`Array index out of bounds: ${t} > ${n.length-1}.`);if(t!==Math.floor(t))throw new Et(`Array index must be an integer, but found ${t} instead.`);return n[t]}eachChild(e){e(this.index),e(this.input)}outputDefined(){return!1}serialize(){return["at",this.index.serialize(),this.input.serialize()]}}var Hn=qn;class Yn{constructor(e,t){this.type=nt,this.needle=e,this.haystack=t}static parse(e,t){if(3!==e.length)return t.error(`Expected 2 arguments, but found ${e.length-1} instead.`);const n=t.parse(e[1],1,ot),r=t.parse(e[2],2,ot);return n&&r?pt(n.type,[nt,tt,et,Qe,ot])?new Yn(n,r):t.error(`Expected first argument to be of type boolean, string, number or null, but found ${ut(n.type)} instead`):null}evaluate(e){const t=this.needle.evaluate(e),n=this.haystack.evaluate(e);if(null==n)return!1;if(!ft(t,["boolean","string","number","null"]))throw new Et(`Expected first argument to be of type boolean, string, number or null, but found ${ut(xt(t))} instead.`);if(!ft(n,["string","array"]))throw new Et(`Expected second argument to be of type array or string, but found ${ut(xt(n))} instead.`);return n.indexOf(t)>=0}eachChild(e){e(this.needle),e(this.haystack)}outputDefined(){return!0}serialize(){return["in",this.needle.serialize(),this.haystack.serialize()]}}var Kn=Yn;class Xn{constructor(e,t,n){this.type=et,this.needle=e,this.haystack=t,this.fromIndex=n}static parse(e,t){if(e.length<=2||e.length>=5)return t.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const n=t.parse(e[1],1,ot),r=t.parse(e[2],2,ot);if(!n||!r)return null;if(!pt(n.type,[nt,tt,et,Qe,ot]))return t.error(`Expected first argument to be of type boolean, string, number or null, but found ${ut(n.type)} instead`);if(4===e.length){const i=t.parse(e[3],3,et);return i?new Xn(n,r,i):null}return new Xn(n,r)}evaluate(e){const t=this.needle.evaluate(e),n=this.haystack.evaluate(e);if(!ft(t,["boolean","string","number","null"]))throw new Et(`Expected first argument to be of type boolean, string, number or null, but found ${ut(xt(t))} instead.`);if(!ft(n,["string","array"]))throw new Et(`Expected second argument to be of type array or string, but found ${ut(xt(n))} instead.`);if(this.fromIndex){const r=this.fromIndex.evaluate(e);return n.indexOf(t,r)}return n.indexOf(t)}eachChild(e){e(this.needle),e(this.haystack),this.fromIndex&&e(this.fromIndex)}outputDefined(){return!1}serialize(){if(null!=this.fromIndex&&void 0!==this.fromIndex){const e=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),e]}return["index-of",this.needle.serialize(),this.haystack.serialize()]}}var Zn=Xn;class Jn{constructor(e,t,n,r,i,o){this.inputType=e,this.type=t,this.input=n,this.cases=r,this.outputs=i,this.otherwise=o}static parse(e,t){if(e.length<5)return t.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if(e.length%2!=1)return t.error("Expected an even number of arguments.");let n,r;t.expectedType&&"value"!==t.expectedType.kind&&(r=t.expectedType);const i={},o=[];for(let a=2;aNumber.MAX_SAFE_INTEGER)return c.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if("number"==typeof e&&Math.floor(e)!==e)return c.error("Numeric branch labels must be integer values.");if(n){if(c.checkSubtype(n,xt(e)))return null}else n=xt(e);if(void 0!==i[String(e)])return c.error("Branch labels must be unique.");i[String(e)]=o.length}const u=t.parse(l,a,r);if(!u)return null;r=r||u.type,o.push(u)}const a=t.parse(e[1],1,ot);if(!a)return null;const s=t.parse(e[e.length-1],e.length-1,r);return s?"value"!==a.type.kind&&t.concat(1).checkSubtype(n,a.type)?null:new Jn(n,r,a,i,o,s):null}evaluate(e){const t=this.input.evaluate(e);return(xt(t)===this.inputType&&this.outputs[this.cases[t]]||this.otherwise).evaluate(e)}eachChild(e){e(this.input),this.outputs.forEach(e),e(this.otherwise)}outputDefined(){return this.outputs.every((e=>e.outputDefined()))&&this.otherwise.outputDefined()}serialize(){const e=["match",this.input.serialize()],t=Object.keys(this.cases).sort(),n=[],r={};for(const e of t){const t=r[this.cases[e]];void 0===t?(r[this.cases[e]]=n.length,n.push([this.cases[e],[e]])):n[t][1].push(e)}const i=e=>"number"===this.inputType.kind?Number(e):e;for(const[t,r]of n)1===r.length?e.push(i(r[0])):e.push(r.map(i)),e.push(this.outputs[t].serialize());return e.push(this.otherwise.serialize()),e}}var Qn=Jn;class er{constructor(e,t,n){this.type=e,this.branches=t,this.otherwise=n}static parse(e,t){if(e.length<4)return t.error(`Expected at least 3 arguments, but found only ${e.length-1}.`);if(e.length%2!=0)return t.error("Expected an odd number of arguments.");let n;t.expectedType&&"value"!==t.expectedType.kind&&(n=t.expectedType);const r=[];for(let i=1;it.outputDefined()))&&this.otherwise.outputDefined()}serialize(){const e=["case"];return this.eachChild((t=>{e.push(t.serialize())})),e}}var tr=er;class nr{constructor(e,t,n,r){this.type=e,this.input=t,this.beginIndex=n,this.endIndex=r}static parse(e,t){if(e.length<=2||e.length>=5)return t.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const n=t.parse(e[1],1,ot),r=t.parse(e[2],2,et);if(!n||!r)return null;if(!pt(n.type,[ct(ot),tt,ot]))return t.error(`Expected first argument to be of type array or string, but found ${ut(n.type)} instead`);if(4===e.length){const i=t.parse(e[3],3,et);return i?new nr(n.type,n,r,i):null}return new nr(n.type,n,r)}evaluate(e){const t=this.input.evaluate(e),n=this.beginIndex.evaluate(e);if(!ft(t,["string","array"]))throw new Et(`Expected first argument to be of type array or string, but found ${ut(xt(t))} instead.`);if(this.endIndex){const r=this.endIndex.evaluate(e);return t.slice(n,r)}return t.slice(n)}eachChild(e){e(this.input),e(this.beginIndex),this.endIndex&&e(this.endIndex)}outputDefined(){return!1}serialize(){if(null!=this.endIndex&&void 0!==this.endIndex){const e=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),e]}return["slice",this.input.serialize(),this.beginIndex.serialize()]}}var rr=nr;function ir(e,t){return"=="===e||"!="===e?"boolean"===t.kind||"string"===t.kind||"number"===t.kind||"null"===t.kind||"value"===t.kind:"string"===t.kind||"number"===t.kind||"value"===t.kind}function or(e,t,n,r){return 0===r.compare(t,n)}function ar(e,t,n){const r="=="!==e&&"!="!==e;return class i{constructor(e,t,n){this.type=nt,this.lhs=e,this.rhs=t,this.collator=n,this.hasUntypedArgument="value"===e.type.kind||"value"===t.type.kind}static parse(e,t){if(3!==e.length&&4!==e.length)return t.error("Expected two or three arguments.");const n=e[0];let o=t.parse(e[1],1,ot);if(!o)return null;if(!ir(n,o.type))return t.concat(1).error(`"${n}" comparisons are not supported for type '${ut(o.type)}'.`);let a=t.parse(e[2],2,ot);if(!a)return null;if(!ir(n,a.type))return t.concat(2).error(`"${n}" comparisons are not supported for type '${ut(a.type)}'.`);if(o.type.kind!==a.type.kind&&"value"!==o.type.kind&&"value"!==a.type.kind)return t.error(`Cannot compare types '${ut(o.type)}' and '${ut(a.type)}'.`);r&&("value"===o.type.kind&&"value"!==a.type.kind?o=new _t(a.type,[o]):"value"!==o.type.kind&&"value"===a.type.kind&&(a=new _t(o.type,[a])));let s=null;if(4===e.length){if("string"!==o.type.kind&&"string"!==a.type.kind&&"value"!==o.type.kind&&"value"!==a.type.kind)return t.error("Cannot use collator to compare non-string types.");if(s=t.parse(e[3],3,at),!s)return null}return new i(o,a,s)}evaluate(i){const o=this.lhs.evaluate(i),a=this.rhs.evaluate(i);if(r&&this.hasUntypedArgument){const t=xt(o),n=xt(a);if(t.kind!==n.kind||"string"!==t.kind&&"number"!==t.kind)throw new Et(`Expected arguments for "${e}" to be (string, string) or (number, number), but found (${t.kind}, ${n.kind}) instead.`)}if(this.collator&&!r&&this.hasUntypedArgument){const e=xt(o),n=xt(a);if("string"!==e.kind||"string"!==n.kind)return t(i,o,a)}return this.collator?n(i,o,a,this.collator.evaluate(i)):t(i,o,a)}eachChild(e){e(this.lhs),e(this.rhs),this.collator&&e(this.collator)}outputDefined(){return!0}serialize(){const t=[e];return this.eachChild((e=>{t.push(e.serialize())})),t}}}const sr=ar("==",(function(e,t,n){return t===n}),or),lr=ar("!=",(function(e,t,n){return t!==n}),(function(e,t,n,r){return!or(0,t,n,r)})),cr=ar("<",(function(e,t,n){return t",(function(e,t,n){return t>n}),(function(e,t,n,r){return r.compare(t,n)>0})),dr=ar("<=",(function(e,t,n){return t<=n}),(function(e,t,n,r){return r.compare(t,n)<=0})),hr=ar(">=",(function(e,t,n){return t>=n}),(function(e,t,n,r){return r.compare(t,n)>=0}));class pr{constructor(e,t,n,r,i,o){this.type=tt,this.number=e,this.locale=t,this.currency=n,this.unit=r,this.minFractionDigits=i,this.maxFractionDigits=o}static parse(e,t){if(3!==e.length)return t.error("Expected two arguments.");const n=t.parse(e[1],1,et);if(!n)return null;const r=e[2];if("object"!=typeof r||Array.isArray(r))return t.error("NumberFormat options argument must be an object.");let i=null;if(r.locale&&(i=t.parse(r.locale,1,tt),!i))return null;let o=null;if(r.currency&&(o=t.parse(r.currency,1,tt),!o))return null;let a=null;if(r.unit&&(a=t.parse(r.unit,1,tt),!a))return null;let s=null;if(r["min-fraction-digits"]&&(s=t.parse(r["min-fraction-digits"],1,et),!s))return null;let l=null;return r["max-fraction-digits"]&&(l=t.parse(r["max-fraction-digits"],1,et),!l)?null:new pr(n,i,o,a,s,l)}evaluate(e){return new Intl.NumberFormat(this.locale?this.locale.evaluate(e):[],{style:(this.currency?"currency":this.unit&&"unit")||"decimal",currency:this.currency?this.currency.evaluate(e):void 0,unit:this.unit?this.unit.evaluate(e):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(e):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(e):void 0}).format(this.number.evaluate(e))}eachChild(e){e(this.number),this.locale&&e(this.locale),this.currency&&e(this.currency),this.unit&&e(this.unit),this.minFractionDigits&&e(this.minFractionDigits),this.maxFractionDigits&&e(this.maxFractionDigits)}outputDefined(){return!1}serialize(){const e={};return this.locale&&(e.locale=this.locale.serialize()),this.currency&&(e.currency=this.currency.serialize()),this.unit&&(e.unit=this.unit.serialize()),this.minFractionDigits&&(e["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(e["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),e]}}class fr{constructor(e){this.type=et,this.input=e}static parse(e,t){if(2!==e.length)return t.error(`Expected 1 argument, but found ${e.length-1} instead.`);const n=t.parse(e[1],1);return n?"array"!==n.type.kind&&"string"!==n.type.kind&&"value"!==n.type.kind?t.error(`Expected argument of type string or array, but found ${ut(n.type)} instead.`):new fr(n):null}evaluate(e){const t=this.input.evaluate(e);if("string"==typeof t)return t.length;if(Array.isArray(t))return t.length;throw new Et(`Expected value to be of type string or array, but found ${ut(xt(t))} instead.`)}eachChild(e){e(this.input)}outputDefined(){return!1}serialize(){const e=["length"];return this.eachChild((t=>{e.push(t.serialize())})),e}}const gr={"==":sr,"!=":lr,">":ur,"<":cr,">=":hr,"<=":dr,array:_t,at:Hn,boolean:_t,case:tr,coalesce:Gn,collator:Nt,format:Ot,image:Pt,in:Kn,"index-of":Zn,interpolate:Vn,"interpolate-hcl":Vn,"interpolate-lab":Vn,length:fr,let:Wn,literal:Ct,match:Qn,number:_t,"number-format":pr,object:_t,slice:rr,step:gn,string:_t,"to-boolean":Lt,"to-color":Lt,"to-number":Lt,"to-string":Lt,var:cn,within:rn};function mr(e,[t,n,r,i]){t=t.evaluate(e),n=n.evaluate(e),r=r.evaluate(e);const o=i?i.evaluate(e):1,a=bt(t,n,r,o);if(a)throw new Et(a);return new Be(t/255*o,n/255*o,r/255*o,o)}function yr(e,t){return e in t}function vr(e,t){const n=t[e];return void 0===n?null:n}function br(e){return{type:e}}Dt.register(gr,{error:[{kind:"error"},[tt],(e,[t])=>{throw new Et(t.evaluate(e))}],typeof:[tt,[ot],(e,[t])=>ut(xt(t.evaluate(e)))],"to-rgba":[ct(et,4),[rt],(e,[t])=>t.evaluate(e).toArray()],rgb:[rt,[et,et,et],mr],rgba:[rt,[et,et,et,et],mr],has:{type:nt,overloads:[[[tt],(e,[t])=>yr(t.evaluate(e),e.properties())],[[tt,it],(e,[t,n])=>yr(t.evaluate(e),n.evaluate(e))]]},get:{type:ot,overloads:[[[tt],(e,[t])=>vr(t.evaluate(e),e.properties())],[[tt,it],(e,[t,n])=>vr(t.evaluate(e),n.evaluate(e))]]},"feature-state":[ot,[tt],(e,[t])=>vr(t.evaluate(e),e.featureState||{})],properties:[it,[],e=>e.properties()],"geometry-type":[tt,[],e=>e.geometryType()],id:[ot,[],e=>e.id()],zoom:[et,[],e=>e.globals.zoom],pitch:[et,[],e=>e.globals.pitch||0],"distance-from-center":[et,[],e=>e.distanceFromCenter()],"heatmap-density":[et,[],e=>e.globals.heatmapDensity||0],"line-progress":[et,[],e=>e.globals.lineProgress||0],"sky-radial-progress":[et,[],e=>e.globals.skyRadialProgress||0],accumulated:[ot,[],e=>void 0===e.globals.accumulated?null:e.globals.accumulated],"+":[et,br(et),(e,t)=>{let n=0;for(const r of t)n+=r.evaluate(e);return n}],"*":[et,br(et),(e,t)=>{let n=1;for(const r of t)n*=r.evaluate(e);return n}],"-":{type:et,overloads:[[[et,et],(e,[t,n])=>t.evaluate(e)-n.evaluate(e)],[[et],(e,[t])=>-t.evaluate(e)]]},"/":[et,[et,et],(e,[t,n])=>t.evaluate(e)/n.evaluate(e)],"%":[et,[et,et],(e,[t,n])=>t.evaluate(e)%n.evaluate(e)],ln2:[et,[],()=>Math.LN2],pi:[et,[],()=>Math.PI],e:[et,[],()=>Math.E],"^":[et,[et,et],(e,[t,n])=>Math.pow(t.evaluate(e),n.evaluate(e))],sqrt:[et,[et],(e,[t])=>Math.sqrt(t.evaluate(e))],log10:[et,[et],(e,[t])=>Math.log(t.evaluate(e))/Math.LN10],ln:[et,[et],(e,[t])=>Math.log(t.evaluate(e))],log2:[et,[et],(e,[t])=>Math.log(t.evaluate(e))/Math.LN2],sin:[et,[et],(e,[t])=>Math.sin(t.evaluate(e))],cos:[et,[et],(e,[t])=>Math.cos(t.evaluate(e))],tan:[et,[et],(e,[t])=>Math.tan(t.evaluate(e))],asin:[et,[et],(e,[t])=>Math.asin(t.evaluate(e))],acos:[et,[et],(e,[t])=>Math.acos(t.evaluate(e))],atan:[et,[et],(e,[t])=>Math.atan(t.evaluate(e))],min:[et,br(et),(e,t)=>Math.min(...t.map((t=>t.evaluate(e))))],max:[et,br(et),(e,t)=>Math.max(...t.map((t=>t.evaluate(e))))],abs:[et,[et],(e,[t])=>Math.abs(t.evaluate(e))],round:[et,[et],(e,[t])=>{const n=t.evaluate(e);return n<0?-Math.round(-n):Math.round(n)}],floor:[et,[et],(e,[t])=>Math.floor(t.evaluate(e))],ceil:[et,[et],(e,[t])=>Math.ceil(t.evaluate(e))],"filter-==":[nt,[tt,ot],(e,[t,n])=>e.properties()[t.value]===n.value],"filter-id-==":[nt,[ot],(e,[t])=>e.id()===t.value],"filter-type-==":[nt,[tt],(e,[t])=>e.geometryType()===t.value],"filter-<":[nt,[tt,ot],(e,[t,n])=>{const r=e.properties()[t.value],i=n.value;return typeof r==typeof i&&r{const n=e.id(),r=t.value;return typeof n==typeof r&&n":[nt,[tt,ot],(e,[t,n])=>{const r=e.properties()[t.value],i=n.value;return typeof r==typeof i&&r>i}],"filter-id->":[nt,[ot],(e,[t])=>{const n=e.id(),r=t.value;return typeof n==typeof r&&n>r}],"filter-<=":[nt,[tt,ot],(e,[t,n])=>{const r=e.properties()[t.value],i=n.value;return typeof r==typeof i&&r<=i}],"filter-id-<=":[nt,[ot],(e,[t])=>{const n=e.id(),r=t.value;return typeof n==typeof r&&n<=r}],"filter->=":[nt,[tt,ot],(e,[t,n])=>{const r=e.properties()[t.value],i=n.value;return typeof r==typeof i&&r>=i}],"filter-id->=":[nt,[ot],(e,[t])=>{const n=e.id(),r=t.value;return typeof n==typeof r&&n>=r}],"filter-has":[nt,[ot],(e,[t])=>t.value in e.properties()],"filter-has-id":[nt,[],e=>null!==e.id()&&void 0!==e.id()],"filter-type-in":[nt,[ct(tt)],(e,[t])=>t.value.indexOf(e.geometryType())>=0],"filter-id-in":[nt,[ct(ot)],(e,[t])=>t.value.indexOf(e.id())>=0],"filter-in-small":[nt,[tt,ct(ot)],(e,[t,n])=>n.value.indexOf(e.properties()[t.value])>=0],"filter-in-large":[nt,[tt,ct(ot)],(e,[t,n])=>function(e,t,n,r){for(;n<=r;){const i=n+r>>1;if(t[i]===e)return!0;t[i]>e?r=i-1:n=i+1}return!1}(e.properties()[t.value],n.value,0,n.value.length-1)],all:{type:nt,overloads:[[[nt,nt],(e,[t,n])=>t.evaluate(e)&&n.evaluate(e)],[br(nt),(e,t)=>{for(const n of t)if(!n.evaluate(e))return!1;return!0}]]},any:{type:nt,overloads:[[[nt,nt],(e,[t,n])=>t.evaluate(e)||n.evaluate(e)],[br(nt),(e,t)=>{for(const n of t)if(n.evaluate(e))return!0;return!1}]]},"!":[nt,[nt],(e,[t])=>!t.evaluate(e)],"is-supported-script":[nt,[tt],(e,[t])=>{const n=e.globals&&e.globals.isSupportedScript;return!n||n(t.evaluate(e))}],upcase:[tt,[tt],(e,[t])=>t.evaluate(e).toUpperCase()],downcase:[tt,[tt],(e,[t])=>t.evaluate(e).toLowerCase()],concat:[tt,br(ot),(e,t)=>t.map((t=>At(t.evaluate(e)))).join("")],"resolved-locale":[tt,[at],(e,[t])=>t.evaluate(e).resolvedLocale()]});var wr=gr;function xr(e){return{result:"success",value:e}}function Ar(e){return{result:"error",value:e}}function Sr(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}class Cr{constructor(e,t){this.expression=e,this._warningHistory={},this._evaluator=new jt,this._defaultValue=t?function(e){return"color"===e.type&&(Sr(e.default)||Array.isArray(e.default))?new Be(0,0,0,0):"color"===e.type?Be.parse(e.default)||null:void 0===e.default?null:e.default}(t):null,this._enumValues=t&&"enum"===t.type?t.values:null}evaluateWithoutErrorHandling(e,t,n,r,i,o,a,s){return this._evaluator.globals=e,this._evaluator.feature=t,this._evaluator.featureState=n,this._evaluator.canonical=r||null,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=o,this._evaluator.featureTileCoord=a||null,this._evaluator.featureDistanceData=s||null,this.expression.evaluate(this._evaluator)}evaluate(e,t,n,r,i,o,a,s){this._evaluator.globals=e,this._evaluator.feature=t||null,this._evaluator.featureState=n||null,this._evaluator.canonical=r||null,this._evaluator.availableImages=i||null,this._evaluator.formattedSection=o||null,this._evaluator.featureTileCoord=a||null,this._evaluator.featureDistanceData=s||null;try{const e=this.expression.evaluate(this._evaluator);if(null==e||"number"==typeof e&&e!=e)return this._defaultValue;if(this._enumValues&&!(e in this._enumValues))throw new Et(`Expected value to be one of ${Object.keys(this._enumValues).map((e=>JSON.stringify(e))).join(", ")}, but found ${JSON.stringify(e)} instead.`);return e}catch(e){return this._warningHistory[e.message]||(this._warningHistory[e.message]=!0,"undefined"!=typeof console&&console.warn(e.message)),this._defaultValue}}}function Er(e,t){const n=new dn(wr,[],t?function(e){const t={color:rt,string:tt,number:et,enum:tt,boolean:nt,formatted:st,resolvedImage:lt};if("array"===e.type)return ct(t[e.value]||ot,e.length);return t[e.type]}(t):void 0),r=n.parse(e,void 0,void 0,void 0,t&&"string"===t.type?{typeAnnotation:"coerce"}:void 0);return r?xr(new Cr(r,t)):Ar(n.errors)}class kr{constructor(e,t){this.kind=e,this._styleExpression=t,this.isStateDependent="constant"!==e&&!an(t.expression)}evaluateWithoutErrorHandling(e,t,n,r,i,o){return this._styleExpression.evaluateWithoutErrorHandling(e,t,n,r,i,o)}evaluate(e,t,n,r,i,o){return this._styleExpression.evaluate(e,t,n,r,i,o)}}class Tr{constructor(e,t,n,r){this.kind=e,this.zoomStops=n,this._styleExpression=t,this.isStateDependent="camera"!==e&&!an(t.expression),this.interpolationType=r}evaluateWithoutErrorHandling(e,t,n,r,i,o){return this._styleExpression.evaluateWithoutErrorHandling(e,t,n,r,i,o)}evaluate(e,t,n,r,i,o){return this._styleExpression.evaluate(e,t,n,r,i,o)}interpolationFactor(e,t,n){return this.interpolationType?Vn.interpolationFactor(this.interpolationType,e,t,n):0}}function _r(e,t){if("error"===(e=Er(e,t)).result)return e;const n=e.value.expression,r=on(n);if(!r&&!function(e){return"data-driven"===e["property-type"]}(t))return Ar([new Xe("","data expressions not supported")]);const i=sn(n,["zoom","pitch","distance-from-center"]);if(!i&&!function(e){return!!e.expression&&e.expression.parameters.indexOf("zoom")>-1}(t))return Ar([new Xe("","zoom expressions not supported")]);const o=Or(n);if(!o&&!i)return Ar([new Xe("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(o instanceof Xe)return Ar([o]);if(o instanceof Vn&&!function(e){return!!e.expression&&e.expression.interpolated}(t))return Ar([new Xe("",'"interpolate" expressions cannot be used with this property')]);if(!o)return xr(new kr(r?"constant":"source",e.value));const a=o instanceof Vn?o.interpolation:void 0;return xr(new Tr(r?"camera":"composite",e.value,o.labels,a))}function Or(e){let t=null;if(e instanceof Wn)t=Or(e.result);else if(e instanceof Gn){for(const n of e.args)if(t=Or(n),t)break}else(e instanceof gn||e instanceof Vn)&&e.input instanceof Dt&&"zoom"===e.input.name&&(t=e);return t instanceof Xe||e.eachChild((e=>{const n=Or(e);n instanceof Xe?t=n:!t&&n?t=new Xe("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):t&&n&&t!==n&&(t=new Xe("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))})),t}function Pr(e){if(Array.isArray(e))return e.map(Pr);if(e instanceof Object&&!(e instanceof Number||e instanceof String||e instanceof Boolean)){const t={};for(const n in e)t[n]=Pr(e[n]);return t}return function(e){return e instanceof Number||e instanceof String||e instanceof Boolean?e.valueOf():e}(e)}var Ir={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},terrain:{type:"terrain"},fog:{type:"fog"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},projection:{type:"projection"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},filter:{type:"*"},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterMinPoints:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{},sky:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background","layout_sky"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_sky:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"},"fill-extrusion-edge-radius":{type:"number",private:!0,default:0,minimum:0,maximum:1,"property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_symbol:{type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature","pitch","distance-from-center"]}},filter_fill:{type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}},filter_line:{type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}},filter_circle:{type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}},"filter_fill-extrusion":{type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}},filter_heatmap:{type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},"index-of":{group:"Lookup"},slice:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Camera"},pitch:{group:"Camera"},"distance-from-center":{group:"Camera"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},"sky-radial-progress":{group:"sky"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},distance:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},within:{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},fog:{range:{type:"array",default:[.5,10],minimum:-20,maximum:20,length:2,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"high-color":{type:"color","property-type":"data-constant",default:"#245cdf",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"space-color":{type:"color","property-type":"data-constant",default:["interpolate",["linear"],["zoom"],4,"#010b19",7,"#367ab9"],expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"horizon-blend":{type:"number","property-type":"data-constant",default:["interpolate",["linear"],["zoom"],4,.2,7,.1],minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"star-intensity":{type:"number","property-type":"data-constant",default:["interpolate",["linear"],["zoom"],5,.35,6,0],minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},projection:{name:{type:"enum",values:{albers:{},equalEarth:{},equirectangular:{},lambertConformalConic:{},mercator:{},naturalEarth:{},winkelTripel:{},globe:{}},default:"mercator",required:!0},center:{type:"array",length:2,value:"number","property-type":"data-constant",minimum:[-180,-90],maximum:[180,90],transition:!1,requires:[{name:["albers","lambertConformalConic"]}]},parallels:{type:"array",length:2,value:"number","property-type":"data-constant",minimum:[-90,-90],maximum:[90,90],transition:!1,requires:[{name:["albers","lambertConformalConic"]}]}},terrain:{source:{type:"string",required:!0},exaggeration:{type:"number","property-type":"data-constant",default:1,minimum:0,maximum:1e3,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,requires:["source"]}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background","paint_sky"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!1,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!1,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-ambient-occlusion-intensity":{"property-type":"data-constant",type:"number",private:!0,default:0,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"fill-extrusion-ambient-occlusion-radius":{"property-type":"data-constant",type:"number",private:!0,default:3,minimum:0,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,requires:["fill-extrusion-edge-radius"]}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!1,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-pattern":{type:"resolvedImage",transition:!1,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"},"line-trim-offset":{type:"array",value:"number",length:2,default:[0,0],minimum:[0,0],maximum:[1,1],transition:!1,requires:[{source:"geojson",has:{lineMetrics:!0}}],"property-type":"constant"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_sky:{"sky-type":{type:"enum",values:{gradient:{},atmosphere:{}},default:"atmosphere",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun":{type:"array",value:"number",length:2,units:"degrees",minimum:[0,0],maximum:[360,180],transition:!1,requires:[{"sky-type":"atmosphere"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun-intensity":{type:"number",requires:[{"sky-type":"atmosphere"}],default:10,minimum:0,maximum:100,transition:!1,"property-type":"data-constant"},"sky-gradient-center":{type:"array",requires:[{"sky-type":"gradient"}],value:"number",default:[0,0],length:2,units:"degrees",minimum:[0,0],maximum:[360,180],transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-gradient-radius":{type:"number",requires:[{"sky-type":"gradient"}],default:90,minimum:0,maximum:180,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-gradient":{type:"color",default:["interpolate",["linear"],["sky-radial-progress"],.8,"#87ceeb",1,"white"],transition:!1,requires:[{"sky-type":"gradient"}],expression:{interpolated:!0,parameters:["sky-radial-progress"]},"property-type":"color-ramp"},"sky-atmosphere-halo-color":{type:"color",default:"white",transition:!1,requires:[{"sky-type":"atmosphere"}],"property-type":"data-constant"},"sky-atmosphere-color":{type:"color",default:"white",transition:!1,requires:[{"sky-type":"atmosphere"}],"property-type":"data-constant"},"sky-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}};function Mr(e){if(!0===e||!1===e)return!0;if(!Array.isArray(e)||0===e.length)return!1;switch(e[0]){case"has":return e.length>=2&&"$id"!==e[1]&&"$type"!==e[1];case"in":return e.length>=3&&("string"!=typeof e[1]||Array.isArray(e[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==e.length||Array.isArray(e[1])||Array.isArray(e[2]);case"any":case"all":for(const t of e.slice(1))if(!Mr(t)&&"boolean"!=typeof t)return!1;return!0;default:return!0}}function Lr(e,t="fill"){if(null==e)return{filter:()=>!0,needGeometry:!1,needFeature:!1};Mr(e)||(e=zr(e));const n=e;let r=!0;try{r=function(e){if(!Fr(e))return e;let t=Pr(e);return jr(t),t=Rr(t),t}(n)}catch(e){console.warn(`Failed to extract static filter. Filter will continue working, but at higher memory usage and slower framerate.\nThis is most likely a bug, please report this via https://github.com/mapbox/mapbox-gl-js/issues/new?assignees=&labels=&template=Bug_report.md\nand paste the contents of this message in the report.\nThank you!\nFilter Expression:\n${JSON.stringify(n,null,2)}\n `)}const i=Ir[`filter_${t}`],o=Er(r,i);let a=null;if("error"===o.result)throw new Error(o.value.map((e=>`${e.key}: ${e.message}`)).join(", "));a=(e,t,n)=>o.value.evaluate(e,t,{},n);let s=null,l=null;if(r!==n){const e=Er(n,i);if("error"===e.result)throw new Error(e.value.map((e=>`${e.key}: ${e.message}`)).join(", "));s=(t,n,r,i,o)=>e.value.evaluate(t,n,{},r,void 0,void 0,i,o),l=!on(e.value.expression)}return{filter:a,dynamicFilter:s||void 0,needGeometry:Br(r),needFeature:!!l}}function Rr(e){if(!Array.isArray(e))return e;const t=function(e){if(Dr.has(e[0]))for(let t=1;tRr(e)))}function jr(e){let t=!1;const n=[];if("case"===e[0]){for(let r=1;r",">=","<","<=","to-boolean"]);function Nr(e,t){return et?1:0}function Br(e){if(!Array.isArray(e))return!1;if("within"===e[0])return!0;for(let t=1;t"===t||"<="===t||">="===t?Vr(e[1],e[2],t):"any"===t?(n=e.slice(1),["any"].concat(n.map(zr))):"all"===t?["all"].concat(e.slice(1).map(zr)):"none"===t?["all"].concat(e.slice(1).map(zr).map(Ur)):"in"===t?$r(e[1],e.slice(2)):"!in"===t?Ur($r(e[1],e.slice(2))):"has"===t?Gr(e[1]):"!has"===t?Ur(Gr(e[1])):"within"!==t||e}function Vr(e,t,n){switch(e){case"$type":return[`filter-type-${n}`,t];case"$id":return[`filter-id-${n}`,t];default:return[`filter-${n}`,e,t]}}function $r(e,t){if(0===t.length)return!1;switch(e){case"$type":return["filter-type-in",["literal",t]];case"$id":return["filter-id-in",["literal",t]];default:return t.length>200&&!t.some((e=>typeof e!=typeof t[0]))?["filter-in-large",e,["literal",t.sort(Nr)]]:["filter-in-small",e,["literal",t]]}}function Gr(e){switch(e){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",e]}}function Ur(e){return["!",e]}var Wr=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function qr(e,t){const n={};for(const t in e)"ref"!==t&&(n[t]=e[t]);return Wr.forEach((e=>{e in t&&(n[e]=t[e])})),n}function Hr(e){e=e.slice();const t=Object.create(null);for(let n=0;n1?d[d.length-2].toLowerCase():"";if(h==p||h==p.replace("-","")||f+"-"+h==p){a=i?a:Yr[p],d.pop(),f&&p.startsWith(f)&&d.pop();break}}i||"number"!=typeof h||(a=h,i=!0);var g=d.join(Kr).replace("Klokantech Noto Sans","Noto Sans");-1!==g.indexOf(Kr)&&(g='"'+g+'"'),l.push(g)}r=Zr[e]=[s,a,l]}return r[0]+Kr+r[1]+Kr+t+"px"+(n?"/"+n:"")+Kr+r[2]}));const Qr="https://api.mapbox.com";function ei(e){const t="mapbox://";return 0!==e.indexOf(t)?"":e.slice(9)}function ti(e,t){const n=ei(e);if(!n)return decodeURI(new URL(e,location.href).href);const r="styles/";if(0!==n.indexOf(r))throw new Error(`unexpected style url: ${e}`);const i=n.slice(7);return`${Qr}/styles/v1/${i}?&access_token=${t}`}function ni(e,t,n,r){const i=new URL(e,r),o=ei(e);if(!o)return t?(i.searchParams.has(n)||i.searchParams.set(n,t),decodeURI(i.href)):decodeURI(i.href);if("mapbox.satellite"===o){return`https://api.mapbox.com/v4/${o}/{z}/{x}/{y}${window.devicePixelRatio>=1.5?"@2x":""}.webp?access_token=${t}`}return`https://{a-d}.tiles.mapbox.com/v4/${o}/{z}/{x}/{y}.vector.pbf?access_token=${t}`}const ri={},ii={};let oi=0;function ai(e){return e.id||(e.id=oi++),e.id}function si(e,t){return ai(e)+"."+(0,O.v6)(t)}function li(e){let t=ri[e.id];return t||(t={},ri[ai(e)]=t),t}function ci(e){let t=ii[e.id];return t||(t={},ii[ai(e)]=t),t}function ui(e){return e*Math.PI/180}const di=function(){const e=[];for(let t=78271.51696402048;e.length<=24;t/=2)e.push(t);return e}();function hi(e,t){if("undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"undefined"!=typeof OffscreenCanvas)return new OffscreenCanvas(e,t);const n=document.createElement("canvas");return n.width=e,n.height=t,n}function pi(e,t){let n=0;const r=t.length;for(;ni)).then((e=>(e instanceof Request||(e=new Request(e)),e.headers.get("Accept")||e.headers.set("Accept","application/json"),r&&(r.request=e),fetch(e).then((function(e){return delete gi[t],e.ok?e.json():Promise.reject(new Error("Error fetching source "+t))})).catch((function(e){return delete gi[t],Promise.reject(new Error("Error fetching source "+t))})))));return gi[t]=[i,o],o}function yi(e,t){if("string"!=typeof e)return Promise.resolve(e);if(!e.trim().startsWith("{"))return mi("Style",e=ti(e,t.accessToken),t);try{const t=JSON.parse(e);return Promise.resolve(t)}catch(e){return Promise.reject(e)}}const vi={};function bi(e,t,n={}){const r=[t,JSON.stringify(e)].toString();let i=vi[r];if(!i||n.transformRequest){let o;n.transformRequest&&(o=(e,t)=>{const r=n.transformRequest&&n.transformRequest(t,"Tiles")||t;if(e instanceof T.A)e.setLoader(((t,n,i)=>{(0,C.hq)((()=>r)).then((n=>{fetch(n).then((e=>e.arrayBuffer())).then((n=>{const r=e.getFormat().readFeatures(n,{extent:t,featureProjection:i});e.setFeatures(r)})).catch((t=>e.setState(k.A.ERROR)))}))}));else{const t=e.getImage();(0,C.hq)((()=>r)).then((n=>{n instanceof Request?fetch(n).then((e=>e.blob())).then((e=>{const n=URL.createObjectURL(e);t.addEventListener("load",(()=>URL.revokeObjectURL(n))),t.addEventListener("error",(()=>URL.revokeObjectURL(n))),t.src=n})).catch((t=>e.setState(k.A.ERROR))):t.src=n}))}});const a=e.url;if(a&&!e.tiles){const r=ni(a,n.accessToken,n.accessTokenParam||"access_token",t||location.href);if(a.startsWith("mapbox://"))i=Promise.resolve({tileJson:Object.assign({},e,{url:void 0,tiles:(0,_.Uu)(r)}),tileLoadFunction:o});else{const e={};i=mi("Source",r,n,e).then((function(t){return t.tiles=t.tiles.map((function(r){return"tms"===t.scheme&&(r=r.replace("{y}","{-y}")),ni(r,n.accessToken,n.accessTokenParam||"access_token",e.request.url)})),Promise.resolve({tileJson:t,tileLoadFunction:o})}))}}else e=Object.assign({},e,{tiles:e.tiles.map((function(r){return"tms"===e.scheme&&(r=r.replace("{y}","{-y}")),ni(r,n.accessToken,n.accessTokenParam||"access_token",t||location.href)}))}),i=Promise.resolve({tileJson:Object.assign({},e),tileLoadFunction:o});vi[r]=i}return i}function wi(e,t,n,r){const i=[2*n*t.pixelRatio+t.width,2*n*t.pixelRatio+t.height],o=hi(i[0],i[1]),a=o.getContext("2d");a.drawImage(e,t.x,t.y,t.width,t.height,n*t.pixelRatio,n*t.pixelRatio,t.width,t.height);const s=a.getImageData(0,0,i[0],i[1]);a.globalCompositeOperation="destination-over",a.fillStyle=`rgba(${255*r.r},${255*r.g},${255*r.b},${r.a})`;const l=s.data;for(let e=0,r=s.width;e0&&a.arc(e,i,n*t.pixelRatio,0,2*Math.PI)}return a.fill(),o}function xi(e,t,n){const r=Math.max(0,Math.min(1,(n-e)/(t-e)));return r*r*(3-2*r)}function Ai(e,t,n){const r=hi(t.width,t.height),i=r.getContext("2d");i.drawImage(e,t.x,t.y,t.width,t.height,0,0,t.width,t.height);const o=i.getImageData(0,0,t.width,t.height),a=o.data;for(let e=0,t=o.width;e0?(a[i+0]=Math.round(255*n.r*l),a[i+1]=Math.round(255*n.g*l),a[i+2]=Math.round(255*n.b*l),a[i+3]=Math.round(255*l)):a[i+3]=0}return i.putImageData(o,0,0),r}const Si=Array(256).join(" ");function Ci(e,t){if(t>=.05){let n="";const r=e.split("\n"),i=Si.slice(0,Math.round(t/.1));for(let e=0,t=r.length;e0&&(n+="\n"),n+=r[e].split("").join(i);return n}return e}let Ei;function ki(){return Ei||(Ei=hi(1,1).getContext("2d")),Ei}function Ti(e,t){return ki().measureText(e).width+(e.length-1)*t}const _i={};function Oi(e,t,n,r){if(-1!==e.indexOf("\n")){const i=e.split("\n"),o=[];for(let e=0,a=i.length;e1){const e=ki();e.font=t;const i=e.measureText("M").width*n;let s="";const l=[];for(let e=0,t=a.length;e1;++e){const n=l[e];if(Ti(n,r)<.35*i){const i=e>0?Ti(l[e-1],r):1/0,o=e.7*i&&Ti(o,r)<.6*i){const a=n.split(" "),s=a.pop();Ti(s,r)<.2*i&&(l[e]=a.join(" "),l[e+1]=s+" "+o),t-=1}}o=l.join("\n")}else o=e;o=Ci(o,r),_i[i]=o}return o}const Pi=/font-family: ?([^;]*);/,Ii=/("|')/g;let Mi;function Li(e){if(!Mi){Mi={};const e=document.styleSheets;for(let t=0,n=e.length;t`${e.key}: ${e.message}`)).join(", "));return n.value},Ni={},Bi={zoom:0};let zi,Vi;function $i(e,t,n,r,i,o,a){const s=e.id;o||(o={},console.warn("No functionCache provided to getValue()")),o[s]||(o[s]={});const l=o[s];if(!l[n]){let r=(e[t]||Ni)[n];const i=Ir[`${t}_${e.type}`][n];void 0===r&&(r=i.default);let o=(c=r,Array.isArray(c)&&c.length>0&&"string"==typeof c[0]&&c[0]in wr);if(!o&&Sr(r)&&(r=Ve(r,i),o=!0),o){const e=Di(r,i);l[n]=e.evaluate.bind(e)}else"color"==i.type&&(r=Be.parse(r)),l[n]=function(){return r}}var c;return Bi.zoom=r,l[n](Bi,i,a)}function Gi(e,t,n,r,i){if(!$i(e,"layout",`${r}-allow-overlap`,t,n,i))return"declutter";return $i(e,"layout",`${r}-ignore-placement`,t,n,i)?"none":"obstacle"}function Ui(e,t,n,r,i){return i||console.warn("No filterCache provided to evaluateFilter()"),e in i||(i[e]=Lr(t).filter),Bi.zoom=r,i[e](Bi,n)}let Wi=!1;function qi(e,t){if(e){if(!Wi&&(0===e.a||0===t))return;const n=e.a;return t=void 0===t?1:t,0===n?"transparent":"rgba("+Math.round(255*e.r/n)+","+Math.round(255*e.g/n)+","+Math.round(255*e.b/n)+","+n*t+")"}return e}const Hi=/\{[^{}}]*\}/g;function Yi(e,t){return e.replace(Hi,(function(e){return t[e.slice(1,-1)]||""}))}let Ki=!1;const Xi={};function Zi(e,t,n,r=di,i=void 0,o=void 0,a=void 0,s=void 0){if("string"==typeof t&&(t=JSON.parse(t)),8!=t.version)throw new Error("glStyle version 8 required.");let l,c,u;if(Xi[si(t,e)]=Array.from(arguments),o)if("undefined"!=typeof Image){const t=new Image;let n;(0,C.hq)((()=>o)).then((e=>{e instanceof Request?fetch(e).then((e=>e.blob())).then((e=>{n=URL.createObjectURL(e),t.src=n})).catch((()=>{})):(t.crossOrigin="anonymous",t.src=e,n&&URL.revokeObjectURL(n))})),t.onload=function(){l=t,c=[t.width,t.height],e.changed(),t.onload=null}}else if("undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope){const e=self;e.postMessage({action:"loadImage",src:o}),e.addEventListener("message",(function(e){"imageLoaded"===e.data.action&&e.data.src===o&&(l=e.data.image,c=[l.width,l.height])}))}const d=Hr(t.layers),h={},p=[],f={},g={},m=li(t),E=ci(t);let k;for(let e=0,r=d.length;e=j.maxzoom)continue;const B=j.filter;if(!B||Ui(F,B,I,k,E)){let r,d,C,E,F,B;L=j;const z=h.index;if(3==P&&("fill"==j.type||"fill-extrusion"==j.type))if(d=$i(j,"paint",j.type+"-opacity",k,I,m,M),j.type+"-pattern"in N){const e=$i(j,"paint",j.type+"-pattern",k,I,m,M);if(e){const t="string"==typeof e?Yi(e,p):e.toString();if(l&&i&&i[t]){++R,B=O[R],B&&B.getFill()&&!B.getStroke()&&!B.getText()||(B=new A.Ay({fill:new v.A}),O[R]=B),C=B.getFill(),B.setZIndex(z);const e=t+"."+d;let n=g[e];if(!n){const r=i[t],o=hi(r.width,r.height),a=o.getContext("2d");a.globalAlpha=d,a.drawImage(l,r.x,r.y,r.width,r.height,0,0,r.width,r.height),n=a.createPattern(o,"repeat"),g[e]=n}C.setColor(n)}}}else r=qi($i(j,"paint",j.type+"-color",k,I,m,M),d),j.type+"-outline-color"in N&&(F=qi($i(j,"paint",j.type+"-outline-color",k,I,m,M),d)),F||(F=r),(r||F)&&(++R,B=O[R],(!B||r&&!B.getFill()||!r&&B.getFill()||F&&!B.getStroke()||!F&&B.getStroke()||B.getText())&&(B=new A.Ay({fill:r?new v.A:void 0,stroke:F?new x.A:void 0}),O[R]=B),r&&(C=B.getFill(),C.setColor(r)),F&&(E=B.getStroke(),E.setColor(F),E.setWidth(.5)),B.setZIndex(z));if(1!=P&&"line"==j.type){r="line-pattern"in N?void 0:qi($i(j,"paint","line-color",k,I,m,M),$i(j,"paint","line-opacity",k,I,m,M));const e=$i(j,"paint","line-width",k,I,m,M);r&&e>0&&(++R,B=O[R],B&&B.getStroke()&&!B.getFill()&&!B.getText()||(B=new A.Ay({stroke:new x.A}),O[R]=B),E=B.getStroke(),E.setLineCap($i(j,"layout","line-cap",k,I,m,M)),E.setLineJoin($i(j,"layout","line-join",k,I,m,M)),E.setMiterLimit($i(j,"layout","line-miter-limit",k,I,m,M)),E.setColor(r),E.setWidth(e),E.setLineDash(N["line-dasharray"]?$i(j,"paint","line-dasharray",k,I,m,M).map((function(t){return t*e})):null),B.setZIndex(z))}let V,$,G,U,W,q,H,Y,K,X=!1,Z=null,J=0;if((1==P||2==P)&&"icon-image"in D){const t=$i(j,"layout","icon-image",k,I,m,M);if(t){let r;V="string"==typeof t?Yi(t,p):t.toString();const a=s?s(e,V):void 0;if(l&&i&&i[V]||a){const e=$i(j,"layout","icon-rotation-alignment",k,I,m,M);if(2==P){const t=n.getGeometry();if(t.getFlatMidpoint||t.getFlatMidpoints){const n=t.getExtent();if(Math.sqrt(Math.max(Math.pow((n[2]-n[0])/o,2),Math.pow((n[3]-n[1])/o,2)))>150){const n="MultiLineString"===t.getType()?t.getFlatMidpoints():t.getFlatMidpoint();Vi||(zi=[NaN,NaN],Vi=new w.Ay("Point",zi,[],2,{},void 0)),r=Vi,zi[0]=n[0],zi[1]=n[1];if("line"===$i(j,"layout","symbol-placement",k,I,m,M)&&"map"===e){const e=t.getStride(),r=t.getFlatCoordinates();for(let t=0,i=r.length-e;t=l&&n[0]<=u&&n[1]>=c&&n[1]<=d){J=Math.atan2(o-s,a-i);break}}}}}}if(2!==P||r){const t=$i(j,"layout","icon-size",k,I,m,M),n=void 0!==N["icon-color"]?$i(j,"paint","icon-color",k,I,m,M):null;if(!n||0!==n.a){const r=$i(j,"paint","icon-halo-color",k,I,m,M),o=$i(j,"paint","icon-halo-width",k,I,m,M);let s=`${V}.${t}.${o}.${r}`;if(null!==n&&(s+=`.${n}`),$=f[s],!$){const d=Gi(j,k,I,"icon",m);let h;"icon-offset"in D&&(h=$i(j,"layout","icon-offset",k,I,m,M).slice(0),h[0]*=t,h[1]*=-t);let p=n?[255*n.r,255*n.g,255*n.b,n.a]:void 0;if(a){const n={color:p,rotateWithView:"map"===e,displacement:h,declutterMode:d,scale:t};"string"==typeof a?n.src=a:(n.img=a,n.imgSize=[a.width,a.height]),$=new b.A(n)}else{const a=i[V];let s,f,g;o?a.sdf?(s=wi(Ai(l,a,n||[0,0,0,1]),{x:0,y:0,width:a.width,height:a.height,pixelRatio:a.pixelRatio},o,r),p=void 0):s=wi(l,a,o,r):(a.sdf?(u||(u=Ai(l,{x:0,y:0,width:c[0],height:c[1]},{r:1,g:1,b:1,a:1})),s=u):s=l,f=[a.width,a.height],g=[a.x,a.y]),$=new b.A({color:p,img:s,imgSize:c,size:f,offset:g,rotateWithView:"map"===e,scale:t/a.pixelRatio,displacement:h,declutterMode:d})}f[s]=$}}$&&(++R,B=O[R],B&&B.getImage()&&!B.getFill()&&!B.getStroke()||(B=new A.Ay,O[R]=B),B.setGeometry(r),$.setRotation(J+ui($i(j,"layout","icon-rotate",k,I,m,M))),$.setOpacity($i(j,"paint","icon-opacity",k,I,m,M)),$.setAnchor(Fi[$i(j,"layout","icon-anchor",k,I,m,M)]),B.setImage($),Z=B.getText(),B.setText(void 0),B.setZIndex(z),X=!0,G=!1)}else G=!0}}}if(1==P&&"circle"===j.type){++R,B=O[R],B&&B.getImage()&&!B.getFill()&&!B.getStroke()||(B=new A.Ay,O[R]=B);const e="circle-radius"in N?$i(j,"paint","circle-radius",k,I,m,M):5,t=qi($i(j,"paint","circle-stroke-color",k,I,m,M),$i(j,"paint","circle-stroke-opacity",k,I,m,M)),n=$i(j,"paint","circle-translate",k,I,m,M),r=qi($i(j,"paint","circle-color",k,I,m,M),$i(j,"paint","circle-opacity",k,I,m,M)),i=$i(j,"paint","circle-stroke-width",k,I,m,M),o=e+"."+t+"."+r+"."+i+"."+n[0]+"."+n[1];$=f[o],$||($=new y.A({radius:e,displacement:[n[0],-n[1]],stroke:t&&i>0?new x.A({width:i,color:t}):void 0,fill:r?new v.A({color:r}):void 0,declutterMode:"none"}),f[o]=$),B.setImage($),Z=B.getText(),B.setText(void 0),B.setGeometry(void 0),B.setZIndex(z),X=!0}if("text-field"in D){H=Math.round($i(j,"layout","text-size",k,I,m,M));const e=$i(j,"layout","text-font",k,I,m,M);q=$i(j,"layout","text-line-height",k,I,m,M),W=Jr(a?a(e,t.metadata?t.metadata["ol:webfonts"]:void 0):e,H,q),W.includes("sans-serif")||(W+=",sans-serif"),Y=$i(j,"layout","text-letter-spacing",k,I,m,M),K=$i(j,"layout","text-max-width",k,I,m,M);const n=$i(j,"layout","text-field",k,I,m,M);U="object"==typeof n&&n.sections?1===n.sections.length?n.toString():n.sections.reduce(((t,n,r)=>{const i=n.fontStack?n.fontStack.split(","):e,o=Jr(a?a(i):i,H*(n.scale||1),q);let s=n.text;if("\n"===s)return t.push("\n",""),t;if(2!=P){s=Oi(s,o,K,Y).split("\n");for(let e=0,n=s.length;e0&&t.push("\n",""),t.push(s[e],o);return t}t.push(Ci(s,Y),o)}),[]):Yi(n,p).trim(),d=$i(j,"paint","text-opacity",k,I,m,M)}if(U&&d&&!G){X||(++R,B=O[R],B&&B.getText()&&!B.getFill()&&!B.getStroke()||(B=new A.Ay,O[R]=B),B.setImage(void 0),B.setGeometry(void 0));const e=Gi(j,k,I,"text",m);B.getText()||B.setText(Z),Z=B.getText(),(!Z||"getDeclutterMode"in Z&&Z.getDeclutterMode()!==e)&&(Z=new S.A({padding:[2,2,2,2],declutterMode:e}),B.setText(Z));const t=$i(j,"layout","text-transform",k,I,m,M);"uppercase"==t?U=Array.isArray(U)?U.map(((e,t)=>t%2?e:e.toUpperCase())):U.toUpperCase():"lowercase"==t&&(U=Array.isArray(U)?U.map(((e,t)=>t%2?e:e.toLowerCase())):U.toLowerCase());const n=Array.isArray(U)?U:2==P?Ci(U,Y):Oi(U,W,K,Y);Z.setText(n),Z.setFont(W),Z.setRotation(ui($i(j,"layout","text-rotate",k,I,m,M)));const r=$i(j,"layout","text-anchor",k,I,m,M),i=X||1==P?"point":$i(j,"layout","symbol-placement",k,I,m,M);let o;if("line-center"===i?(Z.setPlacement("line"),o="center"):Z.setPlacement(i),"line"===i&&"function"==typeof Z.setRepeat){const e=$i(j,"layout","symbol-spacing",k,I,m,M);Z.setRepeat(2*e)}Z.setOverflow("point"===i);let a=$i(j,"paint","text-halo-width",k,I,m,M);const s=$i(j,"layout","text-offset",k,I,m,M),l=$i(j,"paint","text-translate",k,I,m,M);let c=0,u=0;if("point"==i){o="center",-1!==r.indexOf("left")?(o="left",u=a):-1!==r.indexOf("right")&&(o="right",u=-a);const e=$i(j,"layout","text-rotation-alignment",k,I,m,M);Z.setRotateWithView("map"==e)}else Z.setMaxAngle(ui($i(j,"layout","text-max-angle",k,I,m,M))*U.length/n.length),Z.setRotateWithView(!1);Z.setTextAlign(o);let h="middle";0==r.indexOf("bottom")?(h="bottom",c=-a-.5*(q-1)*H):0==r.indexOf("top")&&(h="top",c=a+.5*(q-1)*H),Z.setTextBaseline(h);const p=$i(j,"layout","text-justify",k,I,m,M);Z.setJustify("auto"===p?void 0:p),Z.setOffsetX(s[0]*H+u+l[0]),Z.setOffsetY(s[1]*H+c+l[1]),_.setColor(qi($i(j,"paint","text-color",k,I,m,M),d)),Z.setFill(_);const f=qi($i(j,"paint","text-halo-color",k,I,m,M),d);if(f&&a>0){T.setColor(f),a*=2;const e=.5*H;T.setWidth(a<=e?a:e),Z.setStroke(T)}else Z.setStroke(void 0);const g=$i(j,"layout","text-padding",k,I,m,M),y=Z.getPadding();g!==y[0]&&(y[0]=g,y[1]=g,y[2]=g,y[3]=g),B.setZIndex(z)}}}return R>-1?(O.length=R+1,Ki&&("set"in n?n.set("mapbox-layer",L):n.getProperties()["mapbox-layer"]=L),O):void 0};return e.setStyle(P),e.set("mapbox-source",k),e.set("mapbox-layers",p),e.set("mapbox-featurestate",e.get("mapbox-featurestate")||{}),P}function Ji(e,t){const n=e[0],r=n.width,i=n.height,o=n.data,a=new Uint8ClampedArray(o.length),s=2*t.resolution,l=r-1,c=i-1,u=[0,0,0,0],d=2*Math.PI,h=Math.PI/2,p=Math.PI*t.sunEl/180,f=Math.PI*t.sunAz/180,g=Math.cos(p),m=Math.sin(p),y=t.highlightColor,v=t.shadowColor,b=t.accentColor,w=t.encoding;let x,A,S,C,E,k,T,_,O,P,I,M,L,R,j,F,D,N,B,z,V,$;function G(e,t="mapbox"){return"mapbox"===t?.1*(256*e[0]*256+256*e[1]+e[2])-1e4:"terrarium"===t?256*e[0]+e[1]+e[2]/256-32768:void 0}for(A=0;A<=c;++A)for(E=0===A?0:A-1,k=A===c?c:A+1,x=0;x<=l;++x)S=0===x?0:x-1,C=x===l?l:x+1,T=4*(A*r+S),u[0]=o[T],u[1]=o[T+1],u[2]=o[T+2],u[3]=o[T+3],_=t.vert*G(u,w),T=4*(A*r+C),u[0]=o[T],u[1]=o[T+1],u[2]=o[T+2],u[3]=o[T+3],O=t.vert*G(u,w),P=(O-_)/s,T=4*(E*r+x),u[0]=o[T],u[1]=o[T+1],u[2]=o[T+2],u[3]=o[T+3],_=t.vert*G(u,w),T=4*(k*r+x),u[0]=o[T],u[1]=o[T+1],u[2]=o[T+2],u[3]=o[T+3],O=t.vert*G(u,w),I=(O-_)/s,L=Math.atan2(I,-P),L=L<0?h-L:L>h?d-L+h:h-L,M=Math.atan(Math.sqrt(P*P+I*I)),$=m*Math.cos(M)+g*Math.sin(M)*Math.cos(f-L),R=Math.cos(M),j=255*$,B=Math.min(Math.max(2*t.sunEl,0),1),z=1.875-1.75*t.opacity,V=.5!==t.opacity?h*((Math.pow(z,M)-1)/(Math.pow(z,h)-1)):M,D={r:(1-R)*b.r*B*255,g:(1-R)*b.g*B*255,b:(1-R)*b.b*B*255,a:(1-R)*b.a*B*255},F=Math.abs(((L+f)/Math.PI+.5)%2-1),N={r:(y.r*(1-F)+v.r*F)*j,g:(y.g*(1-F)+v.g*F)*j,b:(y.b*(1-F)+v.b*F)*j,a:(y.a*(1-F)+v.a*F)*j},T=4*(A*r+x),a[T]=D.r*(1-F)+N.r,a[T+1]=D.g*(1-F)+N.g,a[T+2]=D.b*(1-F)+N.b,a[T+3]=o[T+3]*t.opacity*B*Math.sin(V);return new ImageData(a,r,i)}function Qi(e,t=512){return e.getExtent()?(0,Se.EN)({extent:e.getExtent(),tileSize:t,maxZoom:22}).getResolutions():di}function eo(e,t){if(!t.accessToken){t=Object.assign({},t);new URL(e).searchParams.forEach(((e,n)=>{t.accessToken=e,t.accessTokenParam=n}))}return t}function to(e,t,n="",r={},i=void 0){let o,a,s,l,c=!0;return"string"==typeof n||Array.isArray(n)?l=n:(s=n,l=s.source||s.layers,r=s),"string"==typeof r?(o=r,s={}):(o=r.styleUrl,s=r),!1===s.updateSource&&(c=!1),i||(i=s.resolutions),o||"string"!=typeof t||t.trim().startsWith("{")||(o=t),o&&(o=o.startsWith("data:")?location.href:ti(o,s.accessToken),s=eo(o,s)),new Promise((function(n,r){yi(t,s).then((function(t){if(8!=t.version)return r(new Error("glStyle version 8 required."));if(!(e instanceof ke.A||e instanceof f.A))return r(new Error("Can only apply to VectorLayer or VectorTileLayer"));const u=e instanceof f.A?"vector":"geojson";if(l?a=Array.isArray(l)?t.layers.find((function(e){return e.id===l[0]})).source:l:(a=Object.keys(t.sources).find((function(e){return t.sources[e].type===u})),l=a),!a)return r(new Error(`No ${u} source found in the glStyle.`));function d(){if(!c)return Promise.resolve();if(e instanceof f.A)return so(t.sources[a],o,s).then((function(t){const n=e.getSource();n?t!==n&&(n.setTileUrlFunction(t.getTileUrlFunction()),"function"==typeof n.setUrls&&"function"==typeof t.getUrls&&n.setUrls(t.getUrls()),n.format_||(n.format_=t.format_),n.getAttributions()||n.setAttributions(t.getAttributions()),n.getTileLoadFunction()===g.Y&&n.setTileLoadFunction(t.getTileLoadFunction()),(0,$.tI)(n.getProjection(),t.getProjection())&&(n.tileGrid=t.getTileGrid())):e.setSource(t);const r=e.getSource().getTileGrid();!isFinite(e.getMaxResolution())&&!isFinite(e.getMinZoom())&&r.getMinZoom()>0&&e.setMaxResolution(fi(Math.max(0,r.getMinZoom()-1e-12),r.getResolutions()))}));const n=t.sources[a];let r=e.getSource();r&&r.get("mapbox-source")===n||(r=ho(n,o,s));const i=e.getSource();return i?r!==i&&(i.getAttributions()||i.setAttributions(r.getAttributions()),i.format_||(i.format_=r.getFormat()),i.url_=r.getUrl()):e.setSource(r),Promise.resolve()}let h,p,m,y;function v(){if(y||t.sprite&&!p)y?(e.setStyle(y),d().then(n).catch(r)):r(new Error("Something went wrong trying to apply style."));else{if(s.projection&&!i){const e=(0,$.Jt)(s.projection).getUnits();"m"!==e&&(i=di.map((t=>t/_e.I[e])))}y=Zi(e,t,l,i,p,m,((e,t=s.webfonts)=>function(e,t="https://cdn.jsdelivr.net/npm/@fontsource/{font-family}/{fontweight}{-fontstyle}.css"){const n=e.toString();if(n in Ri)return Ri[n];const r=[];for(let t=0,n=e.length;t=1.5?.5:1;const n=.5==h?"@2x":"";let i=e.origin+e.pathname+n+".json"+e.search;new Promise((function(t,n){mi("Sprite",i,s).then(t).catch((function(r){i=e.origin+e.pathname+".json"+e.search,mi("Sprite",i,s).then(t).catch(n)}))})).then((function(t){if(void 0===t&&r(new Error("No sprites found.")),p=t,m=e.origin+e.pathname+n+".png"+e.search,s.transformRequest){const e=s.transformRequest(m,"SpriteImage")||m;(e instanceof Request||e instanceof Promise)&&(m=e)}v()})).catch((function(e){r(new Error(`Sprites cannot be loaded: ${i}: ${e.message}`))}))}else v()})).catch(r)}))}const no={};function ro(e,t){let n;return e.some((function(e){if(e.id==t)return n=e.source,!0})),n}function io(e,t,n){const r=new Ee({tileJSON:t,tileSize:e.tileSize||t.tileSize||512}),i=r.getTileJSON(),o=r.getTileGrid(),a=(0,$.Jt)(n.projection||"EPSG:3857"),s=function(e,t){const n=e.bounds;if(n){const e=(0,$.Rb)([n[0],n[1]],t),r=(0,$.Rb)([n[2],n[3]],t);return[e[0],e[1],r[0],r[1]]}return(0,$.Jt)(t).getExtent()}(i,a),l=a.getExtent(),c=i.minzoom||0,u=i.maxzoom||22,d={attributions:r.getAttributions(),projection:a,tileGrid:new m.A({origin:l?(0,le.getTopLeft)(l):o.getOrigin(0),extent:s||o.getExtent(),minZoom:c,resolutions:Qi(a,t.tileSize).slice(0,u+1),tileSize:o.getTileSize(0)})};return Array.isArray(i.tiles)?d.urls=i.tiles:d.url=i.tiles,d}function oo(e,t,n,r){const i={id:e.id,type:e.type},o=e.layout||{},a=e.paint||{};i.paint=a;const s=pi(t,n.resolutions||di);let l;const c=$i(i,"paint","background-color",s,no,r);return void 0!==a["background-opacity"]&&(l=$i(i,"paint","background-opacity",s,no,r)),"none"==o.visibility?void 0:qi(c,l)}function ao(e,t,n){const r=document.createElement("div");return r.className="ol-mapbox-style-background",r.style.position="absolute",r.style.width="100%",r.style.height="100%",new M.A({source:new ne.A({}),render(i){const o=oo(e,i.viewState.resolution,t,n);return r.style.backgroundColor=o,r}})}function so(e,t,n){return new Promise((function(r,i){bi(e,t,n).then((function({tileJson:t,tileLoadFunction:i}){const o=io(e,t,n);o.tileLoadFunction=i,o.format=new K,r(new g.A(o))})).catch(i)}))}function lo(e){return`{bbox-${(e?e.getCode():"EPSG:3857").toLowerCase().replace(/[^a-z0-9]/g,"-")}}`}function co(e,t,n){return new Promise((function(r,i){bi(e,t,n).then((function({tileJson:t,tileLoadFunction:i}){const o=new Ee({interpolate:void 0===n.interpolate||n.interpolate,transition:0,crossOrigin:"anonymous",tileJSON:t});o.tileGrid=io(e,t,n).tileGrid,n.projection&&(o.projection=(0,$.Jt)(n.projection));const a=o.getTileUrlFunction();i&&o.setTileLoadFunction(i),o.setTileUrlFunction((function(e,t,n){const r=lo(n);let i=a(e,t,n);if(-1!=i.indexOf(r)){const t=o.getTileGrid().getTileCoordExtent(e);i=i.replace(r,t.toString())}return i})),o.set("mapbox-source",e),r(o)})).catch((function(e){i(e)}))}))}function uo(e,t,n){const r=new re.A;return co(e,t,n).then((function(e){r.setSource(e)})).catch((function(){r.setSource(void 0)})),r}function ho(e,t,n){const r=n.projection?new P.A({dataProjection:n.projection}):new P.A,i=e.data,o={};if("string"==typeof i){const o=ni(i,n.accessToken,n.accessTokenParam||"access_token",t||location.href);if(/\{bbox-[0-9a-z-]+\}/.test(o)){const t=(e,t,n)=>{const r=lo(n);return o.replace(r,`${e.join(",")}`)},i=new Te.A({attributions:e.attribution,format:r,loader:(e,r,o,a,s)=>{mi("GeoJSON","function"==typeof t?t(e,r,o):t,n).then((e=>{const t=i.getFormat().readFeatures(e,{featureProjection:o});i.addFeatures(t),a(t)})).catch((t=>{i.removeLoadedExtent(e),s()}))},strategy:Oe.Qk});return i.set("mapbox-source",e),i}const a=new Te.A({attributions:e.attribution,format:r,url:o,loader:(e,t,r,i,s)=>{mi("GeoJSON",o,n).then((e=>{const t=a.getFormat().readFeatures(e,{featureProjection:r});a.addFeatures(t),i(t)})).catch((t=>{a.removeLoadedExtent(e),s()}))}});return a}o.features=r.readFeatures(i,{featureProjection:(0,$.Tf)()||"EPSG:3857"});const a=new Te.A(Object.assign({attributions:e.attribution,format:r},o));return a.set("mapbox-source",e),a}function po(e,t,n){let r=null;return function(i){e.paint&&"raster-opacity"in e.paint&&i.frameState.viewState.zoom!==r&&(r=i.frameState.viewState.zoom,delete n[e.id],function(e,t,n,r){const i=$i(e,"paint","raster-opacity",n,no,r);t.setOpacity(i)}(e,t,r,n))}}function fo(e,t,n,r){const i=li(e),o=e.layers,a=n.type,s=n.source||ro(o,n.ref),l=e.sources[s];let c;if("background"==a)c=ao(n,r,i);else if("vector"==l.type)c=function(e,t,n){const r=new f.A({declutter:!0,visible:!1});return so(e,t,n).then((function(t){t.set("mapbox-source",e),r.setSource(t)})).catch((function(e){r.setSource(void 0)})),r}(l,t,r);else if("raster"==l.type)c=uo(l,t,r),c.setVisible(!n.layout||"none"!==n.layout.visibility),c.on("prerender",po(n,c,i));else if("geojson"==l.type)c=function(e,t,n){return new ke.A({declutter:!0,source:ho(e,t,n),visible:!1})}(l,t,r);else if("raster-dem"==l.type&&"hillshade"==n.type){const e=function(e,t,n){const r=uo(e,t,n);return new I.A({source:new xe({operationType:"image",operation:Ji,sources:[r]})})}(l,t,r);c=e,e.getSource().on("beforeoperations",(function(e){const t=e.data;t.resolution=(0,$.hO)(r.projection||"EPSG:3857",e.resolution,(0,le.getCenter)(e.extent),"m");const o=pi(e.resolution,r.resolutions||di);t.encoding=l.encoding,t.vert=5*$i(n,"paint","hillshade-exaggeration",o,no,i),t.sunAz=$i(n,"paint","hillshade-illumination-direction",o,no,i),t.sunEl=35,t.opacity=.3,t.highlightColor=$i(n,"paint","hillshade-highlight-color",o,no,i),t.shadowColor=$i(n,"paint","hillshade-shadow-color",o,no,i),t.accentColor=$i(n,"paint","hillshade-accent-color",o,no,i)})),c.setVisible(!n.layout||"none"!==n.layout.visibility)}const u=s;return c&&c.set("mapbox-source",u),c}function go(e,t,n,r){const i=[];let o=null;if(t instanceof X.A){if(o=t.getView(),!o.isDef()&&!o.getRotation()&&!o.getResolutions()){const e=r.projection?(0,$.Jt)(r.projection):o.getProjection();o=new p.Ay(Object.assign(o.getProperties(),{maxResolution:di[0]/_e.I[e.getUnits()],projection:r.projection||o.getProjection()})),t.setView(o)}"center"in e&&!o.getCenter()&&o.setCenter((0,$.Rb)(e.center,o.getProjection())),"zoom"in e&&void 0===o.getZoom()&&o.setResolution(di[0]/_e.I[o.getProjection().getUnits()]/Math.pow(2,e.zoom)),o.getCenter()&&void 0!==o.getZoom()||o.fit(o.getProjection().getExtent(),{nearest:!0,size:t.getSize()})}t.set("mapbox-style",e),t.set("mapbox-metadata",{styleUrl:n,options:r});const a=e.layers;let s,l,c,u=[];for(let o=0,d=a.length;o0||n>0)&&e.setMaxResolution(Math.min(fi(Math.max(0,a-1e-12),di),fi(Math.max(0,n-1e-12),t.getResolutions()))),s<24&&e.setMinResolution(fi(s,di))}}else a>0&&e.setMaxResolution(fi(Math.max(0,a-1e-12),di));u instanceof Te.A||u instanceof g.A?to(e,n,t,Object.assign({styleUrl:r},o)).then((function(){!function(e,t){function n(){const n=t.get("mapbox-style");if(!n)return;const r=Hr(n.layers),i=e.get("mapbox-layers"),o=r.filter((function(e){return i.includes(e.id)})).some((function(e){return!e.layout||!e.layout.visibility||"visible"===e.layout.visibility}));e.get("visible")!==o&&e.setVisible(o)}e.on("change",n),n()}(e,i),l()})).catch(c):l()}else c(new Error("Error accessing data for source "+e.get("mapbox-source")))};e.set("mapbox-layers",t);const d=i.getLayers();-1===d.getArray().indexOf(e)&&d.push(e),e.getSource()?u():e.once("change:source",u)}))}J.Ay;f.A;var vo=n(32875),bo=n(73438),wo=n(9374),xo=n(72459),Ao=n(16896),So=n(8243),Co=n(24046),Eo=n(12015),ko=n(6335),To=n(2938);function _o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oo(e){for(var t=1;t0&&(x=w[0]),x||(T={source:b},void 0!==(null===(A=n.initialSettings)||void 0===A?void 0:A.className)&&(T.className=n.initialSettings.className),void 0!==(null===(S=n.initialSettings)||void 0===S?void 0:S.extent)&&(T.extent=n.initialSettings.extent),void 0!==(null===(C=n.initialSettings)||void 0===C?void 0:C.maxZoom)&&(T.maxZoom=n.initialSettings.maxZoom),void 0!==(null===(E=n.initialSettings)||void 0===E?void 0:E.minZoom)&&(T.minZoom=n.initialSettings.minZoom),void 0!==(null===(k=n.initialSettings)||void 0===k||null===(k=k.states)||void 0===k?void 0:k.opacity)&&(T.opacity=n.initialSettings.states.opacity),_="LYR2"!==this.mapId,x=new f.A(Oo(Oo({},T),{},{declutter:_})),this.setLayerAndLoadEndListeners(n,x,"tile")),this.emitLayerCreation({config:n,layer:x}),O=o.tileGrid.getResolutions(),null!==(i=this.metadata)&&void 0!==i&&i.defaultStyles&&to(x,"".concat((0,xo.getLocalizedValue)(this.metadataAccessPath,To.K.getDisplayLanguage(this.mapId))).concat(this.metadata.defaultStyles,"/root.json"),{resolutions:null!=O&&O.length?O:[]}).catch((function(e){ko.vF.logPromiseFailed("applyStyle in processOneLayerEntry in VectorTiles",e)})),e.abrupt("return",Promise.resolve(x));case 23:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"processLayerMetadata",value:function(e){if(!(e instanceof Eo.E))throw new Error("Invalid layer configuration type provided");if(this.metadata){var t=this.metadata.tileInfo,n=this.metadata.fullExtent,r={extent:[n.xmin,n.ymin,n.xmax,n.ymax],origin:[t.origin.x,t.origin.y],resolutions:t.lods.map((function(e){return e.resolution})),tileSize:[t.rows,t.cols]};e.source.tileGrid=r,e.initialSettings.extent=(0,So.validateExtentWhenDefined)(e.initialSettings.extent)}return Promise.resolve(e)}},{key:"getBounds",value:function(e){var t,n=this.getOLLayer(e),r=this.getSourceProjection(e),i=null==n||null===(t=n.getSource())||void 0===t||null===(t=t.getTileGrid())||void 0===t?void 0:t.getExtent();return i&&(i=this.getMapViewer().convertExtentFromProjToMapProj(i,r)),i}},{key:"setVectorTileStyle",value:function(e,t){return to(this.getMapViewer().layer.getOLLayer(e),t)}}],[{key:"addVectorTileLayer",value:(n=(0,i.A)(h().mark((function e(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,mo("LYR3","https://tiles.arcgis.com/tiles/HsjBaDykC1mjhXz9/arcgis/rest/services/CBMT3978_v11/VectorTileServer/resources/styles/root.json?f=json");case 2:e.sent.setView(new p.Ay({projection:"EPSG:3857",center:[-1843634.2627000008,4121569.7534000017],zoom:5}));case 4:case"end":return e.stop()}}),e)}))),function(){return n.apply(this,arguments)})}]);var n,r}(bo.A)},48448:(e,t,n)=>{"use strict";n.d(t,{GB:()=>$,Xx:()=>B,w6:()=>z});var r=n(43004),i=n(888),o=n(77156),a=n(74131),s=n(36549),l=n(80085),c=n(95174),u=n(54111),d=n(42450),h=n(43021),p=n(24515),f=n(53732),g=n.n(f),m=n(95841),y=n(31459),v=n(91202),b=n(30533),w=n(80363),x=n.n(w),A=n(16896),S=n(32875),C=n(73438),E=n(9374),k=n(72459),T=n(46074),_=n(8243),O=n(24046),P=n(22557),I=n(6335),M=n(12005),L=n(2938),R=n(49821);function j(e,t,n){return t=(0,d.A)(t),(0,c.A)(e,F()?Reflect.construct(t,n||[],(0,d.A)(e).constructor):t.apply(e,n))}function F(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(F=function(){return!!e})()}function D(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function N(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var B=function(e){return(null==e?void 0:e.geoviewLayerType)===S.y6.WMS},z=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===S.y6.WMS},V=new WeakSet,$=function(e){function t(e,n){var r;return(0,s.A)(this,t),D(r=j(this,t,[S.y6.WMS,n,e]),V),(0,p.A)(r,"WMSStyles",void 0),r.WMSStyles=[],r}return(0,h.A)(t,e),(0,l.A)(t,[{key:"fetchServiceMetadata",value:(f=(0,a.A)(g().mark((function e(){var t,n,r,i,o,a,s,l,c,u,d=this;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=(0,k.getLocalizedValue)(this.metadataAccessPath,L.K.getDisplayLanguage(this.mapId)))){e.next=40;break}if(".xml"!==t.slice(-4).toLowerCase()){e.next=8;break}return e.next=6,N(V,this,W).call(this,t);case 6:e.next=38;break;case 8:if(0!==(n=N(V,this,K).call(this)).length){e.next=23;break}return e.prev=10,e.next=13,N(V,this,G).call(this,"".concat(t,"?service=WMS&version=1.3.0&request=GetCapabilities"));case 13:r=e.sent,this.metadata=r,N(V,this,X).call(this),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(10),I.vF.logError("Unable to read service metadata for GeoView layer ".concat(this.geoviewLayerId," of map ").concat(this.mapId,"."));case 21:e.next=38;break;case 23:return i=[],n.forEach((function(e,r){for(o=0;n[o].layerId!==e.layerId;o++);o===r?i.push(N(V,d,G).call(d,"".concat(t,"?service=WMS&version=1.3.0&request=GetCapabilities&Layers=").concat(e.layerId))):i.push(i[o])})),e.prev=25,e.next=28,Promise.all(i);case 28:for(a=e.sent,o=0;o1)for(this.WMSStyles=[],p=0;p0&&(w=b[0]),w||(_={source:m,properties:{layerCapabilities:r,layerConfig:n}},void 0!==(null===(x=n.initialSettings)||void 0===x?void 0:x.className)&&(_.className=n.initialSettings.className),void 0!==(null===(A=n.initialSettings)||void 0===A?void 0:A.extent)&&(_.extent=n.initialSettings.extent),void 0!==(null===(C=n.initialSettings)||void 0===C?void 0:C.maxZoom)&&(_.maxZoom=n.initialSettings.maxZoom),void 0!==(null===(E=n.initialSettings)||void 0===E?void 0:E.minZoom)&&(_.minZoom=n.initialSettings.minZoom),void 0!==(null===(T=n.initialSettings)||void 0===T||null===(T=T.states)||void 0===T?void 0:T.opacity)&&(_.opacity=n.initialSettings.states.opacity),w=new y.A(_),this.setLayerAndLoadEndListeners(n,w,"image")),this.emitLayerCreation({config:n,layer:w}),e.abrupt("return",Promise.resolve(w));case 22:return O.FHQ.maps[this.mapId].notifications.showError("validation.layer.notfound",[n.layerId,this.geoviewLayerId]),e.abrupt("return",Promise.resolve(void 0));case 24:return I.vF.logError("geoviewLayerType must be ".concat(S.y6.WMS)),e.abrupt("return",Promise.resolve(void 0));case 26:case"end":return e.stop()}}),e,this)}))),function(e){return c.apply(this,arguments)})},{key:"processLayerMetadata",value:function(e){if(!(e instanceof M.Q))throw new Error("Invalid layer configuration type provided");if(z(e)){var t=N(V,this,J).call(this,e.layerId);if(this.setLayerMetadata(e.layerPath,t),t){var n,r,i=this.getAttributions();if(t.Attribution&&!i.includes(null===(n=t.Attribution)||void 0===n?void 0:n.Title)&&(i.push(t.Attribution.Title),this.setAttributions(i)),e.source.featureInfo||(e.source.featureInfo={queryable:!!t.queryable}),P.d.setMapLayerQueryable(this.mapId,e.layerPath,e.source.featureInfo.queryable),e.initialSettings.extent=(0,_.validateExtentWhenDefined)(e.initialSettings.extent),null!==(r=e.initialSettings)&&void 0!==r&&r.bounds||!t.EX_GeographicBoundingBox||(e.initialSettings.bounds=(0,_.validateExtent)(t.EX_GeographicBoundingBox)),t.Dimension){var o=t.Dimension.find((function(e){return"time"===e.name}));o&&this.processTemporalDimension(o,e)}}}return Promise.resolve(e)}},{key:"processTemporalDimension",value:function(e,t){void 0!==e&&this.setTemporalDimension(t.layerPath,T.P.createDimensionFromOGC(e))}},{key:"getFeatureInfoAtPixel",value:function(e,t){return this.getFeatureInfoAtCoordinate(this.getMapViewer().map.getCoordinateFromPixel(e),t)}},{key:"getFeatureInfoAtCoordinate",value:function(e,t){var n=this.getMapViewer().convertCoordinateMapProjToLngLat(e);return this.getFeatureInfoAtLongLat(n,t)}},{key:"getFeatureInfoAtLongLat",value:(r=(0,a.A)(g().mark((function e(n,r){var i,o,a,s,l,c,u,d,h,p,f,y,v,b,w,x,A,S,C,E,T,_,O,P;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,o=this.getLayerConfig(r),a=this.getOLLayer(r),this.getVisible(r)){e.next=5;break}return e.abrupt("return",[]);case 5:if(s=this.getMapViewer().convertCoordinateLngLatToMapProj(n),!(n[0]1)){e.next=16;break}a=0;case 8:if(!(a1?o:void 0},e.abrupt("return",r);case 32:return e.prev=32,e.t0=e.catch(0),I.vF.logError("wms.getLegend()\n",e.t0),e.abrupt("return",null);case 36:case"end":return e.stop()}}),e,this,[[0,32]])}))),function(e){return n.apply(this,arguments)})},{key:"setWmsStyle",value:function(e,t){var n,r=this.getOLLayer(t);r&&(null===(n=r.getSource())||void 0===n||n.updateParams({STYLES:e}))}},{key:"onLoaded",value:function(e){(0,u.A)((0,d.A)(t.prototype),"onLoaded",this).call(this,e),this.applyViewFilter(e.layerPath,e.layerFilter||"")}},{key:"applyViewFilter",value:function(e,t){var n=this,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=this.getLayerConfig(e),a=this.getOLLayer(e);I.vF.logTraceCore("WMS - applyViewFilter",e);var s=a.getSource();if(s){var l=t;if(i.legendFilterIsOff=!r,r&&(i.layerFilter=t),l){var c=(l=l.replaceAll(/\s{2,}/g," ").trim()).split(/(?<=\b)\s*=/),u=c[0].trim();l=c[1].trim();var d=(0,o.A)("".concat(l," ").matchAll(/(?<=^date\b\s')[\d/\-T\s:+Z]{4,25}(?=')|(?<=[(\s]date\b\s')[\d/\-T\s:+Z]{4,25}(?=')/gi));d.reverse(),d.forEach((function(e){var t=![20,25].includes(e[0].length),r=T.P.applyInputDateFormat(e[0],n.externalFragmentsOrder,t);l="".concat(l.slice(0,e.index-6)).concat(r).concat(l.slice(e.index+e[0].length+2))})),s.updateParams((0,p.A)({},u,l.replace(/\s*/g,""))),a.changed(),this.emitLayerFilterApplied({layerPath:e,filter:l})}}}},{key:"getBounds",value:function(e){var t,n=this.getLayerConfig(e),r=this.getSourceProjection(e),o=null==n||null===(t=n.initialSettings)||void 0===t?void 0:t.bounds;o&&(o=this.getMapViewer().convertExtentFromProjToMapProj(o,"EPSG:4326"));var a,s=N(V,this,oe).call(this,(null==r?void 0:r.getCode())||"");if(s){var l=(0,i.A)(s,2),c=l[0],u=l[1];a=this.getMapViewer().convertExtentFromProjToMapProj(u,c)}return o&&a&&(a=(0,_.getExtentIntersection)(a,o)),(a=(0,_.validateExtentWhenDefined)(a,this.getMapViewer().getProjection().getCode()))||o}}]);var n,r,c,f}(C.A);function G(e){return U.apply(this,arguments)}function U(){return(U=(0,a.A)(g().mark((function e(t){var n,r,i,o;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(t);case 3:return n=e.sent,e.next=6,n.text();case 6:return r=e.sent,i=new b.A,o=i.read(r),e.abrupt("return",o);case 12:return e.prev=12,e.t0=e.catch(0),this.setAllLayerStatusTo("error",this.listOfLayerEntryConfig,"Unable to read metadata"),e.abrupt("return",null);case 16:case"end":return e.stop()}}),e,this,[[0,12]])})))).apply(this,arguments)}function W(e){return q.apply(this,arguments)}function q(){return(q=(0,a.A)(g().mark((function e(t){var n,r,i,o,a,s,l;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new b.A,e.next=4,fetch(t);case 4:return r=e.sent,e.next=7,r.text();case 7:i=e.sent,this.metadata=n.read(i),this.metadata?(N(V,this,X).call(this),s=null===(o=this.metadata)||void 0===o?void 0:o.Capability.Request.GetMap.DCPType[0].HTTP.Get.OnlineResource,this.metadataAccessPath.en=s,this.metadataAccessPath.fr=s,l=null===(a=this.metadata)||void 0===a?void 0:a.Capability.Request.GetMap.DCPType[0].HTTP.Get.OnlineResource,function e(t){t.forEach((function(t){(0,E.KD)(t)?e(t.listOfLayerEntryConfig):(t.source.dataAccessPath.en=l,t.source.dataAccessPath.fr=l)}))}(this.listOfLayerEntryConfig)):this.setAllLayerStatusTo("error",this.listOfLayerEntryConfig,"Unable to read metadata"),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),this.setAllLayerStatusTo("error",this.listOfLayerEntryConfig,"Unable to read metadata");case 15:case"end":return e.stop()}}),e,this,[[0,12]])})))).apply(this,arguments)}function H(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=(0,o.A)(n);if(Array.isArray(t))for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:e.listOfLayerEntryConfig;r.length&&r.forEach((function(e){(0,E.KD)(e)?n(e.listOfLayerEntryConfig):t.push(e)}))}(),t}function X(e){var t,n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=this.metadata)||void 0===t||null===(t=t.Capability)||void 0===t?void 0:t.Layer;e&&r&&(void 0===r.EX_GeographicBoundingBox&&(r.EX_GeographicBoundingBox=e.EX_GeographicBoundingBox),void 0===r.queryable&&(r.queryable=e.queryable),void 0===r.cascaded&&(r.cascaded=e.cascaded),void 0===r.opaque&&(r.opaque=e.opaque),void 0===r.noSubsets&&(r.noSubsets=e.noSubsets),void 0===r.fixedWidth&&(r.fixedWidth=e.fixedWidth),void 0===r.fixedHeight&&(r.fixedHeight=e.fixedHeight),void 0===r.MinScaleDenominator&&(r.MinScaleDenominator=e.MinScaleDenominator),void 0===r.MaxScaleDenominator&&(r.MaxScaleDenominator=e.MaxScaleDenominator),void 0===r.BoundingBox&&(r.BoundingBox=e.BoundingBox),void 0===r.Dimension&&(r.Dimension=e.Dimension),void 0===r.Attribution&&(r.Attribution=e.Attribution),void 0===r.MaxScaleDenominator&&(r.MaxScaleDenominator=e.MaxScaleDenominator),void 0===r.MaxScaleDenominator&&(r.MaxScaleDenominator=e.MaxScaleDenominator),e.Style&&(r.Style||(r.Style=[]),e.Style.forEach((function(e){r.Style.find((function(t){return t.Name===e.Name}))||r.Style.push(e)}))),e.CRS&&(r.CRS||(r.CRS=[]),e.CRS.forEach((function(e){r.CRS.find((function(t){return t.Name===e}))||r.CRS.push(e)})))),void 0!==(null==r?void 0:r.Layer)&&r.Layer.forEach((function(e){return N(V,n,X).call(n,r,e)}))}function Z(e,t){var n=this,r=[];(Array.isArray(e.Layer)?e.Layer:[e.Layer]).forEach((function(e){I.vF.logTraceCore("WMS - createGroupLayer","Cloning the layer config",t.layerPath);var i=x()(t);i.parentLayerConfig=(0,A.KX)(t),i.layerId=e.Name,i.layerName={en:e.Title,fr:e.Title},r.push(i),n.getMapViewer().layer.registerLayerConfigInit(i)}));var i=(0,A.KX)(t);i.entryType=E.hJ.GROUP,i.layerName={en:e.Title,fr:e.Title},i.isMetadataLayerGroup=!0,i.listOfLayerEntryConfig=r,this.validateListOfLayerEntryConfig(r)}function J(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=this.metadata)||void 0===t||null===(t=t.Capability)||void 0===t?void 0:t.Layer;if(!n)return null;if("Name"in n&&n.Name===e)return n;if("Layer"in n){if(Array.isArray(n.Layer)){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:"";Object.keys(t).forEach((function(i){if(!i.endsWith("Geometry")&&!i.startsWith("@")){var o=i.split(":").slice(-1)[0];"object"===(0,r.A)(t[i])?"#text"in t[i]?g.fieldInfo["".concat(n).concat(n?".":"").concat(o)]={fieldKey:f++,value:t[i]["#text"],dataType:"string",alias:"".concat(n).concat(n?".":"").concat(o),domain:null}:e(t[i],o):g.fieldInfo["".concat(n).concat(n?".":"").concat(o)]={fieldKey:f++,value:t[i],dataType:"string",alias:"".concat(n).concat(n?".":"").concat(o),domain:null}}}))}(e),c)?(f=0,Object.keys(g.fieldInfo).filter((function(e){if(null!=c&&c.includes(e)){var t=c.indexOf(e);return g.fieldInfo[e].fieldKey=f++,g.fieldInfo[e].alias=d[t],g.fieldInfo[e].dataType=u[t],!1}return!0})).forEach((function(e){delete g.fieldInfo[e]})),h.push(g)):h.push(g);return h}function ie(e,t){var n=Object.keys(e).find((function(e){return e.endsWith(t)}));return n?e[n]:void 0}function oe(e){var t,n=null===(t=this.metadata)||void 0===t?void 0:t.Capability.Layer.BoundingBox;if(n){for(var r=0;r0)return[n[0].crs,[n[0].extent[1],n[0].extent[0],n[0].extent[3],n[0].extent[2]]]}}},24478:(e,t,n)=>{"use strict";n.d(t,{P5:()=>_,ik:()=>T,nd:()=>O});var r=n(74131),i=n(36549),o=n(80085),a=n(95174),s=n(54111),l=n(42450),c=n(43021),u=n(53732),d=n.n(u),h=n(50046),p=n(50792),f=n(24840),g=n(79950),m=n.n(g),y=n(32875),v=n(73438),b=n(9374),w=n(72459),x=n(16896),A=n(8243),S=n(9353),C=n(2938);function E(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,k()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function k(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(k=function(){return!!e})()}var T=function(e){return(null==e?void 0:e.geoviewLayerType)===y.y6.XYZ_TILES},_=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===y.y6.XYZ_TILES},O=function(e){function t(e,n){return(0,i.A)(this,t),E(this,t,[y.y6.XYZ_TILES,n,e])}return(0,c.A)(t,e),(0,o.A)(t,[{key:"getFieldType",value:function(e,t){var n,r=this.getLayerMetadata(t.layerPath).source.featureInfo,i=null===(n=(0,w.getLocalizedValue)((0,x.KX)(r.outfields),C.K.getDisplayLanguage(this.mapId)))||void 0===n?void 0:n.split(",").indexOf(e);return i&&-1!==i?r.fieldTypes.split(",")[i]:"string"}},{key:"validateListOfLayerEntryConfig",value:function(e){var t=this;e.forEach((function(e){var n,r=e.layerPath;if((0,b.KD)(e)&&(t.validateListOfLayerEntryConfig(e.listOfLayerEntryConfig),!e.listOfLayerEntryConfig.length))return t.layerLoadError.push({layer:r,loggerMessage:"Empty layer group (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")")}),void(e.layerStatus="error");if(e.layerStatus="processing",t.metadata){var i;if(Array.isArray(null===(n=t.metadata)||void 0===n?void 0:n.listOfLayerEntryConfig))return(0,x.KX)(null===(i=t.metadata)||void 0===i?void 0:i.listOfLayerEntryConfig).find((function(t){return t.layerId===e.layerId}))?void 0:(t.layerLoadError.push({layer:r,loggerMessage:"XYZ layer not found (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")")}),void(e.layerStatus="error"));throw new Error("Invalid GeoJSON metadata (listOfLayerEntryConfig) prevent loading of layer (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")"))}}))}},{key:"processOneLayerEntry",value:(n=(0,r.A)(d().mark((function e(n){var r,i,o,a,c,u,g,m,y,v,b,x,A,E,k,T,_;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.A)((0,l.A)(t.prototype),"processOneLayerEntry",this).call(this,n);case 2:if(n instanceof S.m){e.next=4;break}throw new Error("Invalid layer configuration type provided");case 4:return r={url:(0,w.getLocalizedValue)(n.source.dataAccessPath,C.K.getDisplayLanguage(this.mapId))},n.source.crossOrigin?r.crossOrigin=n.source.crossOrigin:r.crossOrigin="Anonymous",n.source.projection&&(r.projection="EPSG:".concat(n.source.projection)),n.source.tileGrid&&(m={origin:null===(i=n.source.tileGrid)||void 0===i?void 0:i.origin,resolutions:null===(o=n.source.tileGrid)||void 0===o?void 0:o.resolutions},null!==(a=n.source.tileGrid)&&void 0!==a&&a.tileSize&&(m.tileSize=null===(c=n.source.tileGrid)||void 0===c?void 0:c.tileSize),null!==(u=n.source.tileGrid)&&void 0!==u&&u.extent&&(m.extent=null===(g=n.source.tileGrid)||void 0===g?void 0:g.extent),r.tileGrid=new f.A(m)),y=new p.A(r),(v=this.emitLayerRequesting({config:n,source:y})).length>0&&(b=v[0]),b||(_={source:y},void 0!==(null===(x=n.initialSettings)||void 0===x?void 0:x.className)&&(_.className=n.initialSettings.className),void 0!==(null===(A=n.initialSettings)||void 0===A?void 0:A.extent)&&(_.extent=n.initialSettings.extent),void 0!==(null===(E=n.initialSettings)||void 0===E?void 0:E.maxZoom)&&(_.maxZoom=n.initialSettings.maxZoom),void 0!==(null===(k=n.initialSettings)||void 0===k?void 0:k.minZoom)&&(_.minZoom=n.initialSettings.minZoom),void 0!==(null===(T=n.initialSettings)||void 0===T||null===(T=T.states)||void 0===T?void 0:T.opacity)&&(_.opacity=n.initialSettings.states.opacity),b=new h.A(_),this.setLayerAndLoadEndListeners(n,b,"tile")),this.emitLayerCreation({config:n,layer:b}),e.abrupt("return",Promise.resolve(b));case 14:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"processLayerMetadata",value:function(e){if(!(e instanceof S.m))throw new Error("Invalid layer configuration type provided");if(this.metadata){var t,n=(0,x.KX)(null===(t=this.metadata)||void 0===t?void 0:t.listOfLayerEntryConfig).find((function(t){return t.layerId===e.layerId}));this.setLayerMetadata(e.layerPath,(0,x.NK)(n)),e.source=m()(e.source,n.source),e.initialSettings=m()(e.initialSettings,n.initialSettings),e.initialSettings.extent=(0,A.validateExtentWhenDefined)(e.initialSettings.extent)}return Promise.resolve(e)}},{key:"getBounds",value:function(e){var t,n=this.getOLLayer(e),r=this.getSourceProjection(e),i=null==n||null===(t=n.getSource())||void 0===t||null===(t=t.getTileGrid())||void 0===t?void 0:t.getExtent();return i&&(i=this.getMapViewer().convertExtentFromProjToMapProj(i,r)),i}}]);var n}(v.A)},97718:(e,t,n)=>{"use strict";n.d(t,{W:()=>ne});var r=n(24515),i=n(77156),o=n(74131),a=n(36549),s=n(80085),l=n(95174),c=n(54111),u=n(42450),d=n(43021),h=n(53732),p=n.n(h),f=n(75603),g=n(83836),m=n(14882),y=n(88694),v=n(24862),b=n(67703),w=n(41776),x=n(79423),A=n(37565),S=n(75469),C=n(92085),E=n(65831),k=n(66569);class T extends y.A{constructor(e){super(e),this.vectorRenderer_=new v.A(e),this.layerImageRatio_=e.getImageRatio(),this.coordinateToVectorPixelTransform_=(0,C.vt)(),this.renderedPixelToCoordinateTransform_=null}disposeInternal(){this.vectorRenderer_.dispose(),super.disposeInternal()}getFeatures(e){if(!this.vectorRenderer_)return Promise.resolve([]);const t=(0,C.Bb)(this.coordinateToVectorPixelTransform_,(0,C.Bb)(this.renderedPixelToCoordinateTransform_,e.slice()));return this.vectorRenderer_.getFeatures(t)}handleFontsChanged(){this.vectorRenderer_.handleFontsChanged()}prepareFrame(e){const t=e.pixelRatio,n=e.viewState,r=n.resolution,i=e.viewHints,o=this.vectorRenderer_;let a=e.extent;1!==this.layerImageRatio_&&(a=a.slice(0),(0,k.scaleFromCenter)(a,this.layerImageRatio_));const s=(0,k.getWidth)(a)/r,l=(0,k.getHeight)(a)/r;if(!i[S.A.ANIMATING]&&!i[S.A.INTERACTING]&&!(0,k.isEmpty)(a)){o.useContainer(null,null);const i=o.context,c=e.layerStatesArray[e.layerIndex],u=Object.assign({},c,{opacity:1}),d=Object.assign({},e,{extent:a,size:[s,l],viewState:Object.assign({},e.viewState,{rotation:0}),layerStatesArray:[u],layerIndex:0,declutter:null}),h=this.getLayer().getDeclutter();h&&(d.declutter={[h]:new A(9)});let p=!0;const f=new w.A(a,r,t,i.canvas,(function(e){o.prepareFrame(d)&&o.replayGroupChanged&&(o.clipping=!1,o.renderFrame(d,null)&&(o.renderDeclutter(d),o.renderDeferred(d),p=!1),e())}));f.addEventListener(b.A.CHANGE,(()=>{if(f.getState()!==x.A.LOADED)return;this.image_=p?null:f;const e=f.getPixelRatio(),r=(0,E.m)(f.getResolution())*t/e;this.renderedResolution=r,this.coordinateToVectorPixelTransform_=(0,C.Zz)(this.coordinateToVectorPixelTransform_,s/2,l/2,1/r,-1/r,0,-n.center[0],-n.center[1])})),f.load()}return this.image_&&(this.renderedPixelToCoordinateTransform_=e.pixelToCoordinateTransform.slice()),!!this.image_}preRender(){}postRender(){}renderDeclutter(){}forEachFeatureAtCoordinate(e,t,n,r,i){return this.vectorRenderer_?this.vectorRenderer_.forEachFeatureAtCoordinate(e,t,n,r,i):super.forEachFeatureAtCoordinate(e,t,n,r,i)}}const _=T;class O extends m.A{constructor(e){e=e||{};const t=Object.assign({},e);delete t.imageRatio,super(t),this.imageRatio_=void 0!==e.imageRatio?e.imageRatio:1}getImageRatio(){return this.imageRatio_}createRenderer(){return new _(this)}}const P=O;var I=n(34378),M=n(82084),L=n(38492),R=n(34209),j=n(24046),F=n(32875),D=n(72459),N=n(46074),B=n(27673),z=(n(22935),n(6335)),V=n(50638),$=n(16896),G=n(2938),U=n(49821),W=n(71852),q=n(22557),H=n(84044),Y=n(8243);function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function X(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getAttributions().length>0&&(a.attributions=this.getAttributions()),a.strategy="bbox"===e.source.strategy?M.Qk:M.Q7,a.loader=function(a,l,c,u,d){var h,f,g=n.getUrl();"function"==typeof g&&(g=g(a,l,c));var m=new XMLHttpRequest;if(null!==(h=e.source)&&void 0!==h&&h.postSettings){var y=e.source.postSettings;m.open("POST",g),y.header&&Object.keys(y.header).forEach((function(e){m.setRequestHeader(e,y.header[e])}))}else m.open("GET",g);var v=function(){n.removeLoadedExtent(a),d&&d()};m.onerror=v,m.onload=(0,o.A)(p().mark((function o(){var l,d,h,f,y,b,w,x,A,S,C,E,k,T,_;return p().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(200!==m.status){o.next=20;break}if(e.schemaTag!==F.y6.CSV){o.next=5;break}l=t.convertCsv(r.mapId,m.responseText,e),o.next=14;break;case 5:if(e.schemaTag!==F.y6.ESRI_FEATURE){o.next=13;break}return o.next=8,t.getEsriFeatures(e.layerPath,g,JSON.parse(m.responseText).count,null===(d=r.getLayerMetadata(e.layerPath))||void 0===d?void 0:d.maxRecordCount);case 8:h=o.sent,l=[],h.forEach((function(e){var t;(t=l).push.apply(t,(0,i.A)(n.getFormat().readFeatures(e,X(X({},s),{},{featureProjection:c,extent:a}))))})),o.next=14;break;case 13:l=n.getFormat().readFeatures(m.responseText,X(X({},s),{},{featureProjection:c,extent:a}));case 14:l&&(l.forEach((function(e){var t=e.get("OBJECTID")?e.get("OBJECTID"):(0,R.v6)(e);e.setId(t)})),(null===(f=e.source)||void 0===f||!f.featureInfo)&&l.length>0&&(b=l[0],w=Object.keys(b.getProperties()),x=Object.values(b.getProperties()),ie.call(t,w,x,te,e)),null!==(y=e.source)&&void 0!==y&&null!==(y=y.featureInfo)&&void 0!==y&&y.queryable&&(C=e.source.featureInfo,E=(null===(A=C.fieldTypes)||void 0===A?void 0:A.split(","))||[],k=(null===(S=(0,D.getLocalizedValue)(C.outfields,G.K.getDisplayLanguage(r.mapId)))||void 0===S?void 0:S.split(","))||[],null!=(T=null==E?void 0:E.reduce((function(e,t,n){return"date"===t&&e.push(k[n]),e}),[]))&&T.length&&l.forEach((function(e){T.forEach((function(t){var n=e.get(t);if("number"==typeof n){var i=N.P.convertMilisecondsToDate(n);i=N.P.applyInputDateFormat(i,r.serverDateFragmentsOrder),e.set(t,N.P.convertToMilliseconds(i),!0)}else r.serverDateFragmentsOrder||(r.serverDateFragmentsOrder=N.P.getDateFragmentsOrder(N.P.deduceDateFormat(n))),n=N.P.applyInputDateFormat(n,r.serverDateFragmentsOrder),e.set(t,N.P.convertToMilliseconds(n),!0)}))}))),n.addFeatures(l)),u&&u(l),null==(_=r.getOLLayer(e.layerPath))||_.changed(),o.next=21;break;case 20:v();case 21:case"end":return o.stop()}}),o)}))),m.send(JSON.stringify(null===(f=e.source.postSettings)||void 0===f?void 0:f.data))},n=new g.A(a)}},{key:"createVectorLayer",value:function(e,t){var n,r=this,i=G.K.getDisplayLanguage(this.mapId),o=(0,D.getLocalizedValue)(e.layerName,i)||e.layerId,a=this.emitLayerRequesting({config:e,source:t});if(a.length>0&&(n=a[0]),!n){var s,l,c,u,d={properties:{layerConfig:e},source:t,style:function(t){return W.p.calculateStyleForFeature(r,t,o,e.layerPath,e.filterEquation,e.legendFilterIsOff)}};void 0!==(null===(s=e.initialSettings)||void 0===s?void 0:s.extent)&&(d.extent=e.initialSettings.extent),void 0!==(null===(l=e.initialSettings)||void 0===l?void 0:l.maxZoom)&&(d.maxZoom=e.initialSettings.maxZoom),void 0!==(null===(c=e.initialSettings)||void 0===c?void 0:c.minZoom)&&(d.minZoom=e.initialSettings.minZoom),void 0!==(null===(u=e.initialSettings)||void 0===u||null===(u=u.states)||void 0===u?void 0:u.opacity)&&(d.opacity=e.initialSettings.states.opacity),n=new P(d),this.setLayerAndLoadEndListeners(e,n,"features")}return this.emitLayerCreation({config:e,layer:n}),n}},{key:"getAllFeatureInfo",value:(n=(0,o.A)(p().mark((function e(t){var n,r,i,o;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=this.getLayerConfig(t),r=this.getOLLayer(t),i=r.getSource().getFeatures(),e.next=6,this.formatFeatureInfoResult(i,n);case 6:return o=e.sent,e.abrupt("return",o);case 10:return e.prev=10,e.t0=e.catch(0),z.vF.logError("abstract-geoview-vector.getAllFeatureInfo()\n",e.t0),e.abrupt("return",null);case 14:case"end":return e.stop()}}),e,this,[[0,10]])}))),function(e){return n.apply(this,arguments)})},{key:"getFeatureInfoAtPixel",value:function(e,t){try{var n,r=null===(n=this.getOLLayer(t))||void 0===n?void 0:n.get("source"),i=this.getMapViewer().map.getFeaturesAtPixel(e,{hitTolerance:this.hitTolerance,layerFilter:function(e){var t=e.get("source");return r&&t&&r===t}});return this.formatFeatureInfoResult(i,this.getLayerConfig(t))}catch(e){return z.vF.logError("abstract-geoview-vector.getFeatureInfoAtPixel()\n",e),Promise.resolve(null)}}},{key:"getFeatureInfoAtCoordinate",value:function(e,t){return this.getFeatureInfoAtPixel(this.getMapViewer().map.getPixelFromCoordinate(e),t)}},{key:"getFeatureInfoAtLongLat",value:function(e,t){var n=this.getMapViewer().convertCoordinateLngLatToMapProj(e);return this.getFeatureInfoAtPixel(this.getMapViewer().map.getPixelFromCoordinate(n),t)}},{key:"getBounds",value:function(e){var t,n=this.getOLLayer(e);return null==n||null===(t=n.getSource())||void 0===t?void 0:t.getExtent()}},{key:"getExtentFromFeatures",value:function(e,t){var n,r=this,i=t.map((function(t){var n;return null===(n=r.getOLLayer(e).getSource())||void 0===n?void 0:n.getFeatureById(t)}));return i?(i.forEach((function(e){if(null!=e&&e.getGeometry()){var t,r=null===(t=e.getGeometry())||void 0===t?void 0:t.getExtent();r&&(n?(0,Y.getMinOrMaxExtents)(n,r):n=r)}})),Promise.resolve(n)):Promise.resolve(void 0)}},{key:"getFeaturesAsGeoJSON",value:function(e){var t=this.getMapViewer().getProjection().getCode(),n=(new I.A).writeFeatures(this.getOLLayer(e).getSource().getFeatures(),{dataProjection:"EPSG:4326",featureProjection:t});return JSON.parse(n)}},{key:"onLoaded",value:function(e){(0,c.A)((0,u.A)(t.prototype),"onLoaded",this).call(this,e),this.applyViewFilter(e.layerPath,e.layerFilter||"")}},{key:"applyViewFilter",value:function(e,t){var n,r=this,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];z.vF.logTraceCore("ABSTRACT-GEOVIEW-VECTOR - applyViewFilter",e);var a=this.getLayerConfig(e),s=this.getOLLayer(e),l=t.replaceAll(/\s{2,}/g," ").trim();a.legendFilterIsOff=!o,o&&(a.layerFilter=t);var c=(0,i.A)("".concat(null===(n=l)||void 0===n?void 0:n.replaceAll(/\s{2,}/g," ").trim()," ").matchAll(/(?<=^date\b\s')[\d/\-T\s:+Z]{4,25}(?=')|(?<=[(\s]date\b\s')[\d/\-T\s:+Z]{4,25}(?=')/gi));c.reverse(),c.forEach((function(e){var t=![20,25].includes(e[0].length),n=N.P.applyInputDateFormat(e[0],r.externalFragmentsOrder,t);l="".concat(l.slice(0,e.index)).concat(n).concat(l.slice(e.index+e[0].length))}));try{var u=(0,U.WN)([{nodeType:B.Z6.unprocessedNode,nodeValue:l}]);a.filterEquation=u}catch(t){throw new Error("Invalid vector layer filter (".concat(t.message,").\nfilter = ").concat(this.getLayerFilter(e),"\ninternal filter = ").concat(l))}null==s||s.changed(),this.emitLayerFilterApplied({layerPath:e,filter:l})}}],[{key:"getEsriFeatures",value:function(e,t,n,r){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:500,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:10,a=t.replace("&where=1%3D1&returnCountOnly=true","&outfields=*"),s=r&&r=l.length)){var n=l[d];d++;try{var r=fetch(n).then((function(e){return e.text()}));u.push(r)}catch(t){z.vF.logError("Error loading features for ".concat(e," from ").concat(n),t)}finally{t()}}},p=0;p{"use strict";n.d(t,{WW:()=>b,fK:()=>w,pf:()=>x});var r=n(36549),i=n(80085),o=n(95174),a=n(54111),s=n(42450),l=n(43021),c=n(34378),u=n(82417),d=n(32875),h=n(97718),p=n(9374),f=n(72459),g=n(50638),m=n(2938);function y(e,t,n){return t=(0,s.A)(t),(0,o.A)(e,v()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(v=function(){return!!e})()}var b=function(e){return(null==e?void 0:e.geoviewLayerType)===d.y6.CSV},w=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===d.y6.CSV},x=function(e){function t(e,n){return(0,r.A)(this,t),y(this,t,[d.y6.CSV,n,e])}return(0,l.A)(t,e),(0,i.A)(t,[{key:"fetchServiceMetadata",value:function(){return Promise.resolve()}},{key:"validateListOfLayerEntryConfig",value:function(e){var t=this;e.forEach((function(e){var n=e.layerPath;if((0,p.KD)(e))return t.validateListOfLayerEntryConfig(e.listOfLayerEntryConfig),void(e.listOfLayerEntryConfig.length||(t.layerLoadError.push({layer:n,loggerMessage:"Empty layer group (mapId: ".concat(t.mapId,", layerPath: ").concat(n,")")}),e.layerStatus="error"));if(t.metadata)throw new Error("Invalid CSV metadata (listOfLayerEntryConfig) prevent loading of layer (mapId: ".concat(t.mapId,", layerPath: ").concat(n,")"))}))}},{key:"processLayerMetadata",value:function(e){if(!(e instanceof g.T))throw new Error("Invalid layer configuration type provided");return this.setLayerMetadata(e.layerPath,(0,u.K)(e)),Promise.resolve(e)}},{key:"createVectorSource",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r.dataProjection=e.source.dataProjection,n.url=(0,f.getLocalizedValue)(e.source.dataAccessPath,m.K.getDisplayLanguage(this.mapId)),n.format=new c.A,(0,a.A)((0,s.A)(t.prototype),"createVectorSource",this).call(this,e,n,r)}}])}(h.W)},62265:(e,t,n)=>{"use strict";n.d(t,{$f:()=>v,SP:()=>b,Uw:()=>w});var r=n(36549),i=n(80085),o=n(95174),a=n(54111),s=n(42450),l=n(43021),c=n(72890),u=n(72459),d=n(97718),h=n(43558),p=n(32875),f=n(10242),g=n(2938);function m(e,t,n){return t=(0,s.A)(t),(0,o.A)(e,y()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function(){return!!e})()}var v=function(e){return(null==e?void 0:e.geoviewLayerType)===p.y6.ESRI_FEATURE},b=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===p.y6.ESRI_FEATURE},w=function(e){function t(e,n){return(0,r.A)(this,t),m(this,t,[p.y6.ESRI_FEATURE,n,e])}return(0,l.A)(t,e),(0,i.A)(t,[{key:"fetchServiceMetadata",value:function(){return(0,f.mF)(this)}},{key:"validateListOfLayerEntryConfig",value:function(e){(0,f.Sh)(this,e)}},{key:"esriChildHasDetectedAnError",value:function(e,t){return"Feature Layer"!==this.metadata.layers[t].type&&(this.layerLoadError.push({layer:e.layerPath,loggerMessage:"LayerId ".concat(e.layerPath," of map ").concat(this.mapId," is not a feature layer")}),!0)}},{key:"getFieldType",value:function(e,t){return(0,f.KS)(this,e,t)}},{key:"getFieldDomain",value:function(e,t){return(0,f.YX)(this,e,t)}},{key:"processTemporalDimension",value:function(e,t){(0,f.RW)(this,e,t)}},{key:"processFeatureInfoConfig",value:function(e){(0,f.$A)(this,e)}},{key:"processInitialSettings",value:function(e){(0,f.gm)(this,e)}},{key:"processLayerMetadata",value:function(e){if(!(e instanceof h.h))throw new Error("Invalid layer configuration type provided");return(0,f.Nf)(this,e)}},{key:"createVectorSource",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.url=(0,u.getLocalizedValue)(e.source.dataAccessPath,g.K.getDisplayLanguage(this.mapId)),n.url="".concat(n.url,"/").concat(e.layerId,"/query?f=json&where=1%3D1&returnCountOnly=true"),n.format=new c.A,(0,a.A)((0,s.A)(t.prototype),"createVectorSource",this).call(this,e,n,r)}}])}(d.W)},52:(e,t,n)=>{"use strict";n.d(t,{eq:()=>P,kx:()=>I,vM:()=>O});var r=n(24515),i=n(36549),o=n(80085),a=n(95174),s=n(54111),l=n(42450),c=n(43021),u=n(34378),d=n(79950),h=n.n(d),p=n(32875),f=n(97718),g=n(9374),m=n(8243),y=n(16896),v=n(72459),b=n(6335),w=n(50638),x=n(2938),A=n(84044),S=n(23620),C=n(36),E=n(22557);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,_()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function _(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_=function(){return!!e})()}var O=function(e){return(null==e?void 0:e.geoviewLayerType)===p.y6.GEOJSON},P=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===p.y6.GEOJSON},I=function(e){function t(e,n){return(0,i.A)(this,t),T(this,t,[p.y6.GEOJSON,n,e])}return(0,c.A)(t,e),(0,o.A)(t,[{key:"validateListOfLayerEntryConfig",value:function(e){var t=this;e.forEach((function(e){var n,r=e.layerPath;if((0,g.KD)(e))return t.validateListOfLayerEntryConfig(e.listOfLayerEntryConfig),void(e.listOfLayerEntryConfig.length||(t.layerLoadError.push({layer:r,loggerMessage:"Empty layer group (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")")}),e.layerStatus="error"));if(e.layerStatus="processing",t.metadata){var i;if(Array.isArray(null===(n=t.metadata)||void 0===n?void 0:n.listOfLayerEntryConfig))return(0,y.KX)(null===(i=t.metadata)||void 0===i?void 0:i.listOfLayerEntryConfig).find((function(t){return t.layerId===e.layerId&&t.layerIdExtension===e.layerIdExtension}))?void 0:(t.layerLoadError.push({layer:r,loggerMessage:"GeoJSON layer not found (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")")}),void(e.layerStatus="error"));throw new Error("Invalid GeoJSON metadata (listOfLayerEntryConfig) prevent loading of layer (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")"))}}))}},{key:"processLayerMetadata",value:function(e){if(!(e instanceof w.T))throw new Error("Invalid layer configuration type provided");if(this.metadata){var t,n=(0,y.KX)(null===(t=this.metadata)||void 0===t?void 0:t.listOfLayerEntryConfig).find((function(t){return t.layerId===e.layerId&&t.layerIdExtension===e.layerIdExtension}));if(n){var i;e.layerName=e.layerName||n.layerName,e.source=h()(e.source,n.source),e.initialSettings=h()(e.initialSettings,n.initialSettings),e.style=h()(e.style,n.style);var o,a,s=(0,v.getLocalizedValue)(null===(i=e.geoviewLayerConfig)||void 0===i?void 0:i.metadataAccessPath,x.K.getDisplayLanguage(this.mapId));if(s)s=s.split("/").length>1?s.split("/").slice(0,-1).join("/"):"./","".concat(s,"/").concat(e.layerId)===(0,v.getLocalizedValue)(null===(o=e.source)||void 0===o?void 0:o.dataAccessPath,x.K.getDisplayLanguage(this.mapId))&&(0,v.getLocalizedValue)(null===(a=n.source)||void 0===a?void 0:a.dataAccessPath,x.K.getDisplayLanguage(this.mapId))&&(e.source.dataAccessPath=function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r.dataProjection=e.source.dataProjection,n.url=(0,v.getLocalizedValue)(e.source.dataAccessPath,x.K.getDisplayLanguage(this.mapId)),n.format=new u.A,(0,s.A)((0,l.A)(t.prototype),"createVectorSource",this).call(this,e,n,r)}},{key:"overrideGeojsonSource",value:function(e,t){var n,r="string"==typeof t?JSON.parse(t):t,i=(null===(n=r.crs)||void 0===n||null===(n=n.properties)||void 0===n?void 0:n.name)||A.M.PROJECTION_NAMES.LNGLAT,o=(new u.A).readFeatures(r,{dataProjection:i,featureProjection:this.getMapViewer().getProjection()}),a=this.getOLLayer(e);if(a&&o.length){var s,l;null===(s=a.getSource())||void 0===s||s.clear(),null===(l=a.getSource())||void 0===l||l.addFeatures(o),a.changed();var c=this.getBounds(e);c&&S.K.setLayerBounds(this.mapId,e,c),E.d.removeHighlightedFeature(this.mapId,"all"),C.F.triggerGetAllFeatureInfo(this.mapId,e).catch((function(t){b.vF.logPromiseFailed("Update all feature info in overrideGeojsonSource failed for layer ".concat(e),t)}))}}}])}(f.W)},58399:(e,t,n)=>{"use strict";n.d(t,{OH:()=>oe,wm:()=>ie,P0:()=>re});var r=n(43004),i=n(74131),o=n(24515),a=n(888),s=n(36549),l=n(80085),c=n(95174),u=n(54111),d=n(42450),h=n(43021),p=n(53732),f=n.n(p),g=n(75603),m=n(1099),y=n(14292),v=n(22727),b=n(62400),w=n(89049),x=n(42153),A=n(38492),S=n(92548),C=n(42081),E=n(29514);const k=1,T=2,_=3,O=4,P=5,I=6,M=7,L=15,R=16,j=17;class F{constructor(e){this.view_=e,this.pos_=0,this.initialized_=!1,this.isLittleEndian_=!1,this.hasZ_=!1,this.hasM_=!1,this.srid_=null,this.layout_="XY"}readUint8(){return this.view_.getUint8(this.pos_++)}readUint32(e){return this.view_.getUint32((this.pos_+=4)-4,void 0!==e?e:this.isLittleEndian_)}readDouble(e){return this.view_.getFloat64((this.pos_+=8)-8,void 0!==e?e:this.isLittleEndian_)}readPoint(){const e=[];return e.push(this.readDouble()),e.push(this.readDouble()),this.hasZ_&&e.push(this.readDouble()),this.hasM_&&e.push(this.readDouble()),e}readLineString(){const e=this.readUint32(),t=[];for(let n=0;n0,n=this.readUint32(t),r=Math.floor((268435455&n)/1e3),i=Boolean(2147483648&n)||1===r||3===r,o=Boolean(1073741824&n)||2===r||3===r,a=Boolean(536870912&n),s=(268435455&n)%1e3,l=["XY",i?"Z":"",o?"M":""].join(""),c=a?this.readUint32(t):null;if(void 0!==e&&e!==s)throw new Error("Unexpected WKB geometry type "+s);if(this.initialized_){if(this.isLittleEndian_!==t)throw new Error("Inconsistent endian");if(this.layout_!==l)throw new Error("Inconsistent geometry layout");if(c&&this.srid_!==c)throw new Error("Inconsistent coordinate system (SRID)")}else this.isLittleEndian_=t,this.hasZ_=i,this.hasM_=o,this.layout_=l,this.srid_=c,this.initialized_=!0;return s}readWkbPayload(e){switch(e){case k:return this.readPoint();case T:return this.readLineString();case _:case j:return this.readPolygon();case O:return this.readMultiPoint();case P:return this.readMultiLineString();case I:case L:case R:return this.readMultiPolygon();case M:return this.readGeometryCollection();default:throw new Error("Unsupported WKB geometry type "+e+" is found")}}readWkbBlock(e){return this.readWkbPayload(this.readWkbHeader(e))}readWkbCollection(e,t){const n=this.readUint32(),r=[];for(let i=0;i({[t]:e[n]}))));for(const e of this.layout_)this.writeDouble(e in n?n[e]:this.nodata_[e])}writeLineString(e,t){this.writeUint32(e.length);for(let n=0;ne+t[0]),0),t=new ArrayBuffer(e),n=new DataView(t);let r=0;return this.writeQueue_.forEach((e=>{switch(e[0]){case 1:n.setUint8(r,e[1]);break;case 4:n.setUint32(r,e[1],this.isLittleEndian_);break;case 8:n.setFloat64(r,e[1],this.isLittleEndian_)}r+=e[0]})),t}}class N extends m.Ay{constructor(e){super(),e=e||{},this.splitCollection=Boolean(e.splitCollection),this.viewCache_=null,this.hex_=!1!==e.hex,this.littleEndian_=!1!==e.littleEndian,this.ewkb_=!1!==e.ewkb,this.layout_=e.geometryLayout,this.nodataZ_=e.nodataZ||0,this.nodataM_=e.nodataM||0,this.srid_=e.srid}getType(){return this.hex_?"text":"arraybuffer"}readFeature(e,t){return new g.A({geometry:this.readGeometry(e,t)})}readFeatures(e,t){let n=[];const r=this.readGeometry(e,t);return n=this.splitCollection&&r instanceof y.A?r.getGeometriesArray():[r],n.map((e=>new g.A({geometry:e})))}readGeometry(e,t){const n=B(e);if(!n)return null;const r=new F(n).readGeometry();return this.viewCache_=n,t=this.getReadOptions(e,t),this.viewCache_=null,(0,m.hX)(r,!1,t)}readProjection(e){const t=this.viewCache_||B(e);if(!t)return;const n=new F(t);return n.readWkbHeader(),n.getSrid()&&(0,C.Jt)("EPSG:"+n.getSrid())||void 0}writeFeature(e,t){return this.writeGeometry(e.getGeometry(),t)}writeFeatures(e,t){return this.writeGeometry(new y.A(e.map((e=>e.getGeometry()))),t)}writeGeometry(e,t){t=this.adaptOptions(t);const n=new D({layout:this.layout_,littleEndian:this.littleEndian_,ewkb:this.ewkb_,nodata:{Z:this.nodataZ_,M:this.nodataM_}});let r=Number.isInteger(this.srid_)?Number(this.srid_):null;if(!1!==this.srid_&&!Number.isInteger(this.srid_)){const e=t.dataProjection&&(0,C.Jt)(t.dataProjection);if(e){const t=e.getCode();t.startsWith("EPSG:")&&(r=Number(t.substring(5)))}}n.writeGeometry((0,m.hX)(e,!0,t),r);const i=n.getBuffer();return this.hex_?function(e){const t=new Uint8Array(e);return Array.from(t.values()).map((e=>(e<16?"0":"")+Number(e).toString(16).toUpperCase())).join("")}(i):i}}function B(e){return"string"==typeof e?function(e){const t=new Uint8Array(e.length/2);for(let n=0;n1?(t||(t=n.createLayerGroup(e[0].parentLayerConfig,e[0].initialSettings)),e.forEach((function(i){if((0,Y.KD)(i)){var o=n.createLayerGroup(i,i.initialSettings);n.processListOfLayerEntryConfig(i.listOfLayerEntryConfig,o).then((function(o){o?t.getLayers().push(o):(n.layerLoadError.push({layer:e[0].layerPath,loggerMessage:"Unable to create group layer ".concat(i.layerPath," on map ").concat(n.mapId)}),r(void 0))})).catch((function(e){J.vF.logPromiseFailed("processListOfLayerEntryConfig (2) in processListOfLayerEntryConfig in GeoPackage",e)}))}else n.processOneLayerEntry(i).then((function(r){r?(t.getLayers().push(r),i.layerStatus="processed"):(n.layerLoadError.push({layer:e[0].layerPath,loggerMessage:"Unable to create layer ".concat(i.layerPath," on map ").concat(n.mapId)}),i.layerStatus="error")})).catch((function(e){J.vF.logPromiseFailed("processListOfLayerEntryConfig (3) in processListOfLayerEntryConfig in GeoPackage",e)}))})),t&&r(t)):n.processOneLayerEntry(e[0],t).then((function(t){t?(e[0].layerStatus="processed",r(t)):(n.layerLoadError.push({layer:e[0].layerPath,loggerMessage:"Unable to create layer ".concat(e[0].layerPath," on map ").concat(n.mapId)}),e[0].layerStatus="error")})).catch((function(e){J.vF.logPromiseFailed("processListOfLayerEntryConfig (4) in processListOfLayerEntryConfig in GeoPackage",e)}))}))}},{key:"extractGeopackageData",value:function(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise((function(o){var s=(0,Z.getLocalizedValue)(e.source.dataAccessPath,K.K.getDisplayLanguage(n.mapId)),l=n.getAttributions();l.length>0&&(r.attributions=l);var c=[],u={},d=new XMLHttpRequest;d.responseType="arraybuffer",G()({locateFile:function(e){return"https://sql.js.org/dist/".concat(e)}}).then((function(e){d.open("GET",s),d.onload=function(){if(200===d.status){for(var s=new e.Database(new Uint8Array(d.response)),l=[],h=s.prepare("\n SELECT gpkg_contents.table_name, gpkg_contents.srs_id,\n gpkg_geometry_columns.column_name\n FROM gpkg_contents JOIN gpkg_geometry_columns\n WHERE gpkg_contents.data_type='features' AND\n gpkg_contents.table_name=gpkg_geometry_columns.table_name;\n ");h.step();){var p,f=h.get();l.unshift({table_name:f[0],srs_id:null===(p=f[1])||void 0===p?void 0:p.toString(),geometry_column_name:f[2]})}if((h=s.prepare("\n SELECT gpkg_contents.table_name\n FROM gpkg_contents\n WHERE gpkg_contents.table_name='layer_styles'\n ")).step())for(h=s.prepare("SELECT f_table_name, styleSLD FROM layer_styles");h.step();){var g=h.get();if(g[1]){var m=(0,a.A)(g,2);u[g[0]]=m[1]}}for(var y=new z,v=function(){var e,o=l[b],a=o.table_name,u="EPSG:".concat(o.srs_id),d=o.geometry_column_name,p=[];for(h=s.prepare("SELECT * FROM '".concat(a,"'"));h.step();){var f=(e=h.getAsObject())[d];delete e[d];var g=t.parseGpkgGeom(f),m=y.readFeatures(g,ee(ee({},i),{},{dataProjection:u,featureProjection:n.getMapViewer().getProjection().getCode()}));m[0].setProperties(e),p.push(m[0])}var v=new V.A(ee(ee({},r),{},{loader:function(e,t,n,r,i){void 0!==p?(v.addFeatures(p),r(p)):i()}}));c.push({name:a,source:v,properties:e})},b=0;b>1&7){case 0:t=0;break;case 1:t=32;break;case 2:case 3:t=48;break;case 4:t=64;break;default:throw new Error("Invalid geometry envelope size flag in GeoPackage")}return e.subarray(t+8)}}]);var n}(H.W);function ae(e,t){var n,i;if(t.source||(t.source={}),t.source.featureInfo||(t.source.featureInfo={queryable:!0}),null===(n=t.source.featureInfo.outfields)||void 0===n||!n.en||null===(i=t.source.featureInfo.aliasFields)||void 0===i||!i.en){var o,a,s,l,c,u,d,h=!(null!==(o=t.source.featureInfo.outfields)&&void 0!==o&&o.en),p=!(null!==(a=t.source.featureInfo.aliasFields)&&void 0!==a&&a.en);h&&(t.source.featureInfo.outfields={en:""},t.source.featureInfo.fieldTypes=""),p&&(t.source.featureInfo.aliasFields={en:""}),Object.keys(e).forEach((function(n){if(e[n]&&"Geometry"!==e[n].type){if(h){t.source.featureInfo.outfields.en="".concat(t.source.featureInfo.outfields.en).concat(n,",");var i="string";"date"===e[n].type?i="date":["bigint","number"].includes((0,r.A)(e[n]))&&(i="number"),t.source.featureInfo.fieldTypes="".concat(t.source.featureInfo.fieldTypes).concat(i,",")}t.source.featureInfo.aliasFields.en="".concat(t.source.featureInfo.aliasFields.en).concat(n,",")}})),t.source.featureInfo.outfields.en=null===(s=t.source.featureInfo.outfields)||void 0===s||null===(s=s.en)||void 0===s?void 0:s.slice(0,-1),t.source.featureInfo.fieldTypes=null===(l=t.source.featureInfo.fieldTypes)||void 0===l?void 0:l.slice(0,-1),t.source.featureInfo.aliasFields.en=null===(c=t.source.featureInfo.aliasFields)||void 0===c||null===(c=c.en)||void 0===c?void 0:c.slice(0,-1),t.source.featureInfo.outfields.fr=null===(u=t.source.featureInfo.outfields)||void 0===u?void 0:u.en,t.source.featureInfo.aliasFields.fr=null===(d=t.source.featureInfo.aliasFields)||void 0===d?void 0:d.en}if(!t.source.featureInfo.nameField){var f,g,m=(null===(f=t.source.featureInfo.outfields.en)||void 0===f?void 0:f.split(",")[0])||(null===(g=t.source.featureInfo.outfields.fr)||void 0===g?void 0:g.split(",")[0]),y=m;m&&(t.source.featureInfo.nameField={en:m,fr:y})}}},97095:(e,t,n)=>{"use strict";n.d(t,{UU:()=>k,dr:()=>E,ke:()=>T});var r=n(74131),i=n(36549),o=n(80085),a=n(95174),s=n(54111),l=n(42450),c=n(43021),u=n(53732),d=n.n(u),h=n(95841),p=n(34378),f=n(32875),g=n(97718),m=n(9374),y=n(8243),v=n(84044),b=n(6335),w=n(50638),x=n(72459),A=n(2938);function S(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,C()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(C=function(){return!!e})()}var E=function(e){return(null==e?void 0:e.geoviewLayerType)===f.y6.OGC_FEATURE},k=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===f.y6.OGC_FEATURE},T=function(e){function t(e,n){return(0,i.A)(this,t),S(this,t,[f.y6.OGC_FEATURE,n,e])}return(0,c.A)(t,e),(0,o.A)(t,[{key:"getFieldType",value:function(e,t){var n=this.getLayerMetadata(t.layerPath)[e].type.split(":").slice(-1)[0];return"date"===n?"date":["int","number"].includes(n)?"number":"string"}},{key:"fetchServiceMetadata",value:function(){var e=this;return new Promise((function(t){var n=(0,x.getLocalizedValue)(e.metadataAccessPath,A.K.getDisplayLanguage(e.mapId));if(n){var r=n.endsWith("/")?"".concat(n,"collections?f=json"):"".concat(n,"/collections?f=json");h.A.get(r).then((function(n){e.metadata=n.data,t()})).catch((function(n){e.setAllLayerStatusTo("error",e.listOfLayerEntryConfig,"Unable to read metadata"),b.vF.logError("Unable to fetch metadata",e.metadataAccessPath,n),t()}))}else e.setAllLayerStatusTo("error",e.listOfLayerEntryConfig,"Unable to read metadata")}))}},{key:"validateListOfLayerEntryConfig",value:function(e){var t=this;e.forEach((function(e){var n=e.layerPath;if((0,m.KD)(e)&&(t.validateListOfLayerEntryConfig(e.listOfLayerEntryConfig),!e.listOfLayerEntryConfig.length))return t.layerLoadError.push({layer:n,loggerMessage:"Empty layer group (mapId: ".concat(t.mapId,", layerPath: ").concat(n,")")}),void(e.layerStatus="error");if(e.layerStatus="processing",!Array.isArray(t.metadata.collections))throw new Error("Invalid collection's metadata prevent loading of layer (mapId: ".concat(t.mapId,", layerPath: ").concat(n,")"));var r,i,o=t.metadata.collections.find((function(t){return t.id===e.layerId}));if(!o)return t.layerLoadError.push({layer:n,loggerMessage:"OGC feature layer not found (mapId: ".concat(t.mapId,", layerPath: ").concat(n,")")}),void(e.layerStatus="error");if(o.description&&(e.layerName={en:o.description,fr:o.description}),e.initialSettings.extent=(0,y.validateExtentWhenDefined)(e.initialSettings.extent),!e.initialSettings.bounds&&null!==(r=o.extent)&&void 0!==r&&null!==(r=r.spatial)&&void 0!==r&&r.bbox&&null!==(i=o.extent)&&void 0!==i&&null!==(i=i.spatial)&&void 0!==i&&i.crs){var a=v.M.transformExtent(o.extent.spatial.bbox[0],v.M.getProjection(o.extent.spatial.crs),v.M.PROJECTION_NAMES.LNGLAT);e.initialSettings.bounds=a}e.initialSettings.bounds=(0,y.validateExtentWhenDefined)(e.initialSettings.bounds)}))}},{key:"processLayerMetadata",value:(n=(0,r.A)(d().mark((function e(n){var r,i,o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n instanceof w.T){e.next=2;break}throw new Error("Invalid layer configuration type provided");case 2:if(e.prev=2,!(r=(0,x.getLocalizedValue)(this.metadataAccessPath,A.K.getDisplayLanguage(this.mapId)))){e.next=10;break}return i=r.endsWith("/")?"".concat(r,"collections/").concat(n.layerId,"/queryables?f=json"):"".concat(r,"/collections/").concat(n.layerId,"/queryables?f=json"),e.next=8,h.A.get(i);case 8:(o=e.sent).data.properties&&(this.setLayerMetadata(n.layerPath,o.data.properties),_.call(t,o.data.properties,n));case 10:e.next=16;break;case 12:e.prev=12,e.t0=e.catch(2),b.vF.logError('Error processing layer metadata for layer path "'.concat(n.layerPath),e.t0),n.layerStatus="error";case 16:return e.abrupt("return",n);case 17:case"end":return e.stop()}}),e,this,[[2,12]])}))),function(e){return n.apply(this,arguments)})},{key:"createVectorSource",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r.dataProjection=e.source.dataProjection,n.url=(0,x.getLocalizedValue)(e.source.dataAccessPath,A.K.getDisplayLanguage(this.mapId)),n.url="".concat(n.url,"/collections/").concat(e.layerId,"/items?f=json"),n.format=new p.A,(0,s.A)((0,l.A)(t.prototype),"createVectorSource",this).call(this,e,n,r)}}]);var n}(g.W);function _(e,t){var n,r;if(t.source||(t.source={}),t.source.featureInfo||(t.source.featureInfo={queryable:!0}),null===(n=t.source.featureInfo.outfields)||void 0===n||!n.en||null===(r=t.source.featureInfo.aliasFields)||void 0===r||!r.en){var i,o,a,s,l,c,u,d=!(null!==(i=t.source.featureInfo.outfields)&&void 0!==i&&i.en),h=!(null!==(o=t.source.featureInfo.aliasFields)&&void 0!==o&&o.en);d&&(t.source.featureInfo.outfields={en:""},t.source.featureInfo.fieldTypes=""),h&&(t.source.featureInfo.aliasFields={en:""}),Object.keys(e).forEach((function(n){if("Geometry"!==e[n].type){var r;if(d)t.source.featureInfo.outfields.en="".concat(t.source.featureInfo.outfields.en).concat(n,","),r="date"===e[n].type?"date":["int","number"].includes(e[n].type)?"number":"string",t.source.featureInfo.fieldTypes="".concat(t.source.featureInfo.fieldTypes).concat(r,",");t.source.featureInfo.aliasFields.en="".concat(t.source.featureInfo.aliasFields.en).concat(n,",")}})),t.source.featureInfo.outfields.en=null===(a=t.source.featureInfo.outfields)||void 0===a||null===(a=a.en)||void 0===a?void 0:a.slice(0,-1),t.source.featureInfo.fieldTypes=null===(s=t.source.featureInfo.fieldTypes)||void 0===s?void 0:s.slice(0,-1),t.source.featureInfo.aliasFields.en=null===(l=t.source.featureInfo.aliasFields)||void 0===l||null===(l=l.en)||void 0===l?void 0:l.slice(0,-1),t.source.featureInfo.outfields.fr=null===(c=t.source.featureInfo.outfields)||void 0===c?void 0:c.en,t.source.featureInfo.aliasFields.fr=null===(u=t.source.featureInfo.aliasFields)||void 0===u?void 0:u.en}if(!t.source.featureInfo.nameField){var p,f,g=(null===(p=t.source.featureInfo.outfields.en)||void 0===p?void 0:p.split(",")[0])||(null===(f=t.source.featureInfo.outfields.fr)||void 0===f?void 0:f.split(",")[0]),m=g;g&&(t.source.featureInfo.nameField={en:g,fr:m})}}},25547:(e,t,n)=>{"use strict";n.d(t,{dS:()=>it,Vk:()=>tt,OV:()=>et});var r=n(74131),i=n(36549),o=n(80085),a=n(95174),s=n(54111),l=n(42450),c=n(43021),u=n(53732),d=n.n(u),h=n(75603),p=n(11676),f=n(22727),g=n(44663),m=n(62400),y=n(89049),v=n(42153),b=n(38492),w=n(92548),x=n(1099),A=n(34209),S=n(61016),C=n(8284);class E extends x.Ay{constructor(){super(),this.xmlSerializer_=(0,C.mc)()}getType(){return"xml"}readFeature(e,t){if(!e)return null;if("string"==typeof e){const n=(0,C.qg)(e);return this.readFeatureFromDocument(n,t)}return(0,C.wz)(e)?this.readFeatureFromDocument(e,t):this.readFeatureFromNode(e,t)}readFeatureFromDocument(e,t){const n=this.readFeaturesFromDocument(e,t);return n.length>0?n[0]:null}readFeatureFromNode(e,t){return null}readFeatures(e,t){if(!e)return[];if("string"==typeof e){const n=(0,C.qg)(e);return this.readFeaturesFromDocument(n,t)}return(0,C.wz)(e)?this.readFeaturesFromDocument(e,t):this.readFeaturesFromNode(e,t)}readFeaturesFromDocument(e,t){const n=[];for(let r=e.firstChild;r;r=r.nextSibling)r.nodeType==Node.ELEMENT_NODE&&(0,S.X$)(n,this.readFeaturesFromNode(r,t));return n}readFeaturesFromNode(e,t){return(0,A.b0)()}readGeometry(e,t){if(!e)return null;if("string"==typeof e){const n=(0,C.qg)(e);return this.readGeometryFromDocument(n,t)}return(0,C.wz)(e)?this.readGeometryFromDocument(e,t):this.readGeometryFromNode(e,t)}readGeometryFromDocument(e,t){return null}readGeometryFromNode(e,t){return null}readProjection(e){if(!e)return null;if("string"==typeof e){const t=(0,C.qg)(e);return this.readProjectionFromDocument(t)}return(0,C.wz)(e)?this.readProjectionFromDocument(e):this.readProjectionFromNode(e)}readProjectionFromDocument(e){return this.dataProjection}readProjectionFromNode(e){return this.dataProjection}writeFeature(e,t){const n=this.writeFeatureNode(e,t);return this.xmlSerializer_.serializeToString(n)}writeFeatureNode(e,t){return null}writeFeatures(e,t){const n=this.writeFeaturesNode(e,t);return this.xmlSerializer_.serializeToString(n)}writeFeaturesNode(e,t){return null}writeGeometry(e,t){const n=this.writeGeometryNode(e,t);return this.xmlSerializer_.serializeToString(n)}writeGeometryNode(e,t){return null}}const k=E;var T=n(42081);const _="http://www.opengis.net/gml",O=/^\s*$/;class P extends k{constructor(e){super(),e=e||{},this.featureType=e.featureType,this.featureNS=e.featureNS,this.srsName=e.srsName,this.schemaLocation="",this.FEATURE_COLLECTION_PARSERS={},this.FEATURE_COLLECTION_PARSERS[this.namespace]={featureMember:(0,C.VT)(this.readFeaturesInternal),featureMembers:(0,C.Tb)(this.readFeaturesInternal)},this.supportedMediaTypes=["application/gml+xml"]}readFeaturesInternal(e,t){const n=e.localName;let r=null;if("FeatureCollection"==n)r=(0,C.eY)([],this.FEATURE_COLLECTION_PARSERS,e,t,this);else if("featureMembers"==n||"featureMember"==n||"member"==n){const i=t[0];let o=i.featureType,a=i.featureNS;const s="p",l="p0";if(!o&&e.childNodes){o=[],a={};for(let t=0,n=e.childNodes.length;t0&&!(e instanceof p.A)){e={_content_:e};for(let t=0;t=2,"At least 2 conditions are required")}};const H=class extends q{constructor(e){super("And",Array.prototype.slice.call(arguments))}};const Y=class extends U{constructor(e,t,n){if(super("BBOX"),this.geometryName=e,this.extent=t,4!==t.length)throw new Error("Expected an extent with four values ([minX, minY, maxX, maxY])");this.srsName=n}};const K={"http://www.opengis.net/gml":{boundedBy:(0,C.kW)(I.prototype.readExtentElement,"bounds")},"http://www.opengis.net/wfs/2.0":{member:(0,C.VT)(I.prototype.readFeaturesInternal)}},X={"http://www.opengis.net/wfs":{totalInserted:(0,C.kW)(L.yg),totalUpdated:(0,C.kW)(L.yg),totalDeleted:(0,C.kW)(L.yg)},"http://www.opengis.net/wfs/2.0":{totalInserted:(0,C.kW)(L.yg),totalUpdated:(0,C.kW)(L.yg),totalDeleted:(0,C.kW)(L.yg)}},Z={"http://www.opengis.net/wfs":{TransactionSummary:(0,C.kW)(le,"transactionSummary"),InsertResults:(0,C.kW)(he,"insertIds")},"http://www.opengis.net/wfs/2.0":{TransactionSummary:(0,C.kW)(le,"transactionSummary"),InsertResults:(0,C.kW)(he,"insertIds")}},J={"http://www.opengis.net/wfs":{PropertyName:(0,C.mm)(L.uB)},"http://www.opengis.net/wfs/2.0":{PropertyName:(0,C.mm)(L.uB)}},Q={"http://www.opengis.net/wfs":{Insert:(0,C.mm)(pe),Update:(0,C.mm)(ye),Delete:(0,C.mm)(me),Property:(0,C.mm)(ve),Native:(0,C.mm)(be)},"http://www.opengis.net/wfs/2.0":{Insert:(0,C.mm)(pe),Update:(0,C.mm)(ye),Delete:(0,C.mm)(me),Property:(0,C.mm)(ve),Native:(0,C.mm)(be)}},ee="feature",te="http://www.w3.org/2000/xmlns/",ne={"2.0.0":"http://www.opengis.net/ogc/1.1","1.1.0":"http://www.opengis.net/ogc","1.0.0":"http://www.opengis.net/ogc"},re={"2.0.0":"http://www.opengis.net/wfs/2.0","1.1.0":"http://www.opengis.net/wfs","1.0.0":"http://www.opengis.net/wfs"},ie={"2.0.0":"http://www.opengis.net/fes/2.0","1.1.0":"http://www.opengis.net/fes","1.0.0":"http://www.opengis.net/fes"},oe={"2.0.0":"http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd","1.1.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd","1.0.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/wfs.xsd"},ae={"2.0.0":G,"1.1.0":V,"1.0.0":D};function se(e,t,n,r){(0,C.NQ)(r,Q,(0,C.X1)(e),t,n)}function le(e,t){return(0,C.eY)({},X,e,t)}const ce={"http://www.opengis.net/ogc":{FeatureId:(0,C.VT)((function(e,t){return e.getAttribute("fid")}))},"http://www.opengis.net/ogc/1.1":{FeatureId:(0,C.VT)((function(e,t){return e.getAttribute("fid")}))}};function ue(e,t){(0,C.UN)(ce,e,t)}const de={"http://www.opengis.net/wfs":{Feature:ue},"http://www.opengis.net/wfs/2.0":{Feature:ue}};function he(e,t){return(0,C.eY)([],de,e,t)}function pe(e,t,n){const r=n[n.length-1],i=r.featureType,o=r.featureNS,a=r.gmlVersion,s=(0,C.qq)(o,i);e.appendChild(s),2===a?D.prototype.writeFeatureElement(s,t,n):3===a?V.prototype.writeFeatureElement(s,t,n):G.prototype.writeFeatureElement(s,t,n)}function fe(e,t,n){const r=n[n.length-1].version,i=ne[r],o=(0,C.qq)(i,"Filter"),a=(0,C.qq)(i,"FeatureId");o.appendChild(a),a.setAttribute("fid",t),e.appendChild(o)}function ge(e,t){const n=(e=e||ee)+":";return t.startsWith(n)?t:n+t}function me(e,t,n){const r=n[n.length-1];(0,W.v)(void 0!==t.getId(),"Features must have an id set");const i=r.featureType,o=r.featurePrefix,a=r.featureNS,s=ge(o,i);e.setAttribute("typeName",s),e.setAttributeNS(te,"xmlns:"+o,a);const l=t.getId();void 0!==l&&fe(e,l,n)}function ye(e,t,n){const r=n[n.length-1];(0,W.v)(void 0!==t.getId(),"Features must have an id set");const i=r.version,o=r.featureType,a=r.featurePrefix,s=r.featureNS,l=ge(a,o),c=t.getGeometryName();e.setAttribute("typeName",l),e.setAttributeNS(te,"xmlns:"+a,s);const u=t.getId();if(void 0!==u){const o=t.getKeys(),a=[];for(let e=0,n=o.length;e{const i=this.combineBboxAndFilter(r.geometryName,r.bbox,e.srsName,e.filter);Object.assign(n,{geometryName:r.geometryName,filter:i}),De(t,[r.name],[n])}));return t}combineBboxAndFilter(e,t,n,r){const i=function(e,t,n){return new Y(e,t,n)}(e,t,n);return r?function(e){const t=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(H,t))}(r,i):i}writeTransaction(e,t,n,r){const i=[],o=r.version?r.version:this.version_,a=(0,C.qq)(re[o],"Transaction");let s;a.setAttribute("service","WFS"),a.setAttribute("version",o),r&&(s=r.gmlOptions?r.gmlOptions:{},r.handle&&a.setAttribute("handle",r.handle)),a.setAttributeNS(C.pF,"xsi:schemaLocation",oe[o]);const l=function(e,t,n,r){const i=r.featurePrefix?r.featurePrefix:ee;let o;"1.0.0"===n?o=2:"1.1.0"===n?o=3:"2.0.0"===n&&(o=3.2);const a=Object.assign({node:e},{version:n,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:i,gmlVersion:o,hasZ:r.hasZ,srsName:r.srsName},t);return a}(a,s,o,r);return e&&se("Insert",e,i,l),t&&se("Update",t,i,l),n&&se("Delete",n,i,l),r.nativeElements&&se("Native",r.nativeElements,i,l),a}readProjectionFromDocument(e){for(let t=e.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.readProjectionFromNode(t);return null}readProjectionFromNode(e){if(e.firstElementChild&&e.firstElementChild.firstElementChild)for(let t=(e=e.firstElementChild.firstElementChild).firstElementChild;t;t=t.nextElementSibling)if(0!==t.childNodes.length&&(1!==t.childNodes.length||3!==t.firstChild.nodeType)){const e=[{}];return this.gmlFormat_.readGeometryElement(t,e),(0,T.Jt)(e.pop().srsName)}return null}};var ze=n(82084),Ve=n(32875),$e=n(97718),Ge=n(9374),Ue=n(72459),We=n(6335),qe=n(50638),He=n(2938),Ye=n(8243);function Ke(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,Xe()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function Xe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Xe=function(){return!!e})()}function Ze(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Je(e,t){return e.get(Qe(e,t))}function Qe(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var et=function(e){return(null==e?void 0:e.geoviewLayerType)===Ve.y6.WFS},tt=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===Ve.y6.WFS},nt=new WeakMap,rt=new WeakSet,it=function(e){function t(e,n){var r,o,a;return(0,i.A)(this,t),r=Ke(this,t,[Ve.y6.WFS,n,e]),Ze(o=r,a=rt),a.add(o),function(e,t,n){Ze(e,t),t.set(e,n)}(r,nt,"2.0.0"),r}return(0,c.A)(t,e),(0,o.A)(t,[{key:"getFieldType",value:function(e,t){var n=this.getLayerMetadata(t.layerPath).find((function(t){return t.name===e}));if(!n)return"string";var r=n.type.split(":").slice(-1)[0];return"date"===r?"date":["int","number"].includes(r)?"number":"string"}},{key:"fetchServiceMetadata",value:function(){var e=this;return new Promise((function(t){var n=(0,Ue.getLocalizedValue)(e.metadataAccessPath,He.K.getDisplayLanguage(e.mapId)),r=n.indexOf("?")>-1?n.substring(n.indexOf("?")):"?service=WFS&request=GetCapabilities";(n=n.indexOf("?")>-1?n.substring(0,n.indexOf("?")):n)?(0,Ue.getXMLHttpRequest)("".concat(n).concat(r)).then((function(n){if("{}"===n)e.setAllLayerStatusTo("error",e.listOfLayerEntryConfig,"Unable to read metadata");else{var r=(new DOMParser).parseFromString(n,"text/xml"),i=(0,Ue.xmlToJson)(r),o=(0,Ue.findPropertyNameByRegex)(i,/(?:WFS_Capabilities)/);e.metadata=o,a=nt,s=e,l=o["@attributes"].version,a.set(Qe(a,s),l),t()}var a,s,l})).catch((function(n){e.setAllLayerStatusTo("error",e.listOfLayerEntryConfig,"Unable to read metadata"),We.vF.logError("Unableto fetch metadata",e.metadataAccessPath,n),t()})):e.setAllLayerStatusTo("error",e.listOfLayerEntryConfig,"Unable to read metadata")}))}},{key:"validateListOfLayerEntryConfig",value:function(e){var t=this;e.forEach((function(e){var n,r,i,o=e.layerPath;if((0,Ge.KD)(e)&&(t.validateListOfLayerEntryConfig(e.listOfLayerEntryConfig),!e.listOfLayerEntryConfig.length))return t.layerLoadError.push({layer:o,loggerMessage:"Empty layer group (mapId: ".concat(t.mapId,", layerPath: ").concat(o,")")}),void(e.layerStatus="error");if(e.layerStatus="processing",Array.isArray(null===(n=t.metadata)||void 0===n||null===(n=n.FeatureTypeList)||void 0===n?void 0:n.FeatureType)||(t.metadata.FeatureTypeList.FeatureType=[null===(r=t.metadata)||void 0===r||null===(r=r.FeatureTypeList)||void 0===r?void 0:r.FeatureType]),Array.isArray(null===(i=t.metadata)||void 0===i||null===(i=i.FeatureTypeList)||void 0===i?void 0:i.FeatureType)){var a,s,l=(null===(a=t.metadata)||void 0===a?void 0:a.FeatureTypeList.FeatureType).find((function(t){return(t.Name&&t.Name["#text"]).includes(e.layerId)}));if(!l)return t.layerLoadError.push({layer:o,loggerMessage:"WFS feature layer not found (mapId: ".concat(t.mapId,", layerPath: ").concat(o,")")}),void(e.layerStatus="error");if(e.initialSettings.extent=(0,Ye.validateExtentWhenDefined)(e.initialSettings.extent),(null===(s=e.initialSettings)||void 0===s||!s.bounds)&&l["ows:WGS84BoundingBox"]){var c=l["ows:WGS84BoundingBox"]["ows:LowerCorner"]["#text"].split(" "),u=l["ows:WGS84BoundingBox"]["ows:UpperCorner"]["#text"].split(" "),d=[Number(c[0]),Number(c[1]),Number(u[0]),Number(u[1])];e.initialSettings.bounds=d}e.initialSettings.bounds=(0,Ye.validateExtentWhenDefined)(e.initialSettings.bounds)}}))}},{key:"processLayerMetadata",value:(n=(0,r.A)(d().mark((function e(t){var n,r,i,o,a,s,l,c,u,h,p,f,g;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t instanceof qe.T){e.next=2;break}throw new Error("Invalid layer configuration type provided");case 2:if(e.prev=2,n=(n=(0,Ue.getLocalizedValue)(t.source.dataAccessPath,He.K.getDisplayLanguage(this.mapId))).indexOf("?")>-1?n.substring(0,n.indexOf("?")):n,r=this.metadata["ows:OperationsMetadata"]["ows:Operation"][1]["ows:Parameter"],i=(0,Ue.findPropertyNameByRegex)(r,/(?:Value)/),o="",void 0!==i&&(o=Array.isArray(i["ows:Value"])?i["ows:Value"][0]["#text"]:void 0===i["ows:Value"]?i[0]["#text"]:i["ows:Value"]["#text"]),!(a="".concat(n,"?service=WFS&request=DescribeFeatureType&version=").concat(Je(nt,this),"&outputFormat=").concat(encodeURIComponent(o),"&typeName=").concat(t.layerId))||"application/json"!==o){e.next=19;break}return e.next=13,fetch(a);case 13:return e.next=15,e.sent.json();case 15:s=e.sent,Array.isArray(s.featureTypes)&&Array.isArray(s.featureTypes[0].properties)&&(this.setLayerMetadata(t.layerPath,s.featureTypes[0].properties),Qe(rt,this,ot).call(this,s.featureTypes[0].properties,t)),e.next=31;break;case 19:if(!a||!o.toUpperCase().includes("XML")){e.next=31;break}return e.next=22,fetch(a);case 22:return e.next=24,e.sent.text();case 24:l=e.sent,c=(new DOMParser).parseFromString(l,"text/xml"),u=(0,Ue.xmlToJson)(c),h=Object.keys(u)[0].includes("xsd:")?"xsd:":"",p=u["".concat(h,"schema")],f=void 0!==p["".concat(h,"complexType")]?p["".concat(h,"complexType")]["".concat(h,"complexContent")]["".concat(h,"extension")]["".concat(h,"sequence")]["".concat(h,"element")]:[],Array.isArray(f)&&(g=[],f.forEach((function(e){g.push(e["@attributes"])})),this.setLayerMetadata(t.layerPath,g),Qe(rt,this,ot).call(this,g,t));case 31:e.next=37;break;case 33:e.prev=33,e.t0=e.catch(2),We.vF.logError('Error processing layer metadata for layer path "'.concat(t.layerPath),e.t0),t.layerStatus="error";case 37:return e.abrupt("return",t);case 38:case"end":return e.stop()}}),e,this,[[2,33]])}))),function(e){return n.apply(this,arguments)})},{key:"createVectorSource",value:function(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return i.dataProjection=e.source.dataProjection,r.url=function(t){var i=(0,Ue.getLocalizedValue)(e.source.dataAccessPath,He.K.getDisplayLanguage(n.mapId));return i=i.indexOf("?")>-1?i.substring(0,i.indexOf("?")):i,i="".concat(i,"?service=WFS&request=getFeature&version=").concat(Je(nt,n)),i="".concat(i,"&typeName=").concat(e.layerId),r.strategy===ze.Qk&&Number.isFinite(t[0])&&(i="".concat(i,"&bbox=").concat(t,",").concat(n.getMapViewer().getProjection().getCode())),i},r.format=new Be({version:Je(nt,this)}),(0,s.A)((0,l.A)(t.prototype),"createVectorSource",this).call(this,e,r,i)}}]);var n}($e.W);function ot(e,t){var n,r,i=this;if(t.source||(t.source={}),t.source.featureInfo||(t.source.featureInfo={queryable:!0}),null===(n=t.source.featureInfo.outfields)||void 0===n||!n.en||null===(r=t.source.featureInfo.aliasFields)||void 0===r||!r.en){var o,a,s,l,c,u,d,h=!(null!==(o=t.source.featureInfo.outfields)&&void 0!==o&&o.en),p=!(null!==(a=t.source.featureInfo.aliasFields)&&void 0!==a&&a.en);h&&(t.source.featureInfo.outfields={en:""},t.source.featureInfo.fieldTypes=""),p&&(t.source.featureInfo.aliasFields={en:""}),e.forEach((function(e){"Geometry"!==e.type.split(":").slice(-1)[0]&&(h&&(t.source.featureInfo.outfields.en="".concat(t.source.featureInfo.outfields.en).concat(e.name,","),t.source.featureInfo.fieldTypes="".concat(t.source.featureInfo.fieldTypes).concat(i.getFieldType(e.name,t),",")),t.source.featureInfo.aliasFields.en="".concat(t.source.featureInfo.aliasFields.en).concat(e.name,","))})),t.source.featureInfo.outfields.en=null===(s=t.source.featureInfo.outfields)||void 0===s||null===(s=s.en)||void 0===s?void 0:s.slice(0,-1),t.source.featureInfo.fieldTypes=null===(l=t.source.featureInfo.fieldTypes)||void 0===l?void 0:l.slice(0,-1),t.source.featureInfo.aliasFields.en=null===(c=t.source.featureInfo.aliasFields)||void 0===c||null===(c=c.en)||void 0===c?void 0:c.slice(0,-1),t.source.featureInfo.outfields.fr=null===(u=t.source.featureInfo.outfields)||void 0===u?void 0:u.en,t.source.featureInfo.aliasFields.fr=null===(d=t.source.featureInfo.aliasFields)||void 0===d?void 0:d.en}if(!t.source.featureInfo.nameField){var f,g,m=(null===(f=t.source.featureInfo.outfields.en)||void 0===f?void 0:f.split(",")[1])||(null===(g=t.source.featureInfo.outfields.fr)||void 0===g?void 0:g.split(",")[1]),y=m;m&&(t.source.featureInfo.nameField={en:m,fr:y})}}},34780:(e,t,n)=>{"use strict";n.d(t,{F:()=>w});var r=n(36549),i=n(80085),o=n(24515),a=n(75079),s=n(6335);function l(e,t,n){c(e,t),t.set(e,n)}function c(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function u(e,t){return e.get(h(e,t))}function d(e,t,n){return e.set(h(e,t),n),n}function h(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var p=new WeakMap,f=new WeakMap,g=new WeakMap,m=new WeakMap,y=new WeakMap,v=new WeakMap,b=new WeakSet,w=function(){return(0,i.A)((function e(t,n){var i,a;(0,r.A)(this,e),c(i=this,a=b),a.add(i),l(this,p,void 0),l(this,f,void 0),(0,o.A)(this,"olLayer",void 0),l(this,g,void 0),l(this,m,[]),l(this,y,[]),l(this,v,[]),d(p,this,t),d(f,this,n),d(g,this,n.layerName)}),[{key:"getMapId",value:function(){return u(p,this)}},{key:"getLayerConfig",value:function(){return u(f,this)}},{key:"getOLLayer",value:function(){return this.olLayer}},{key:"getLayerPath",value:function(){return u(f,this).layerPath}},{key:"getGeoviewLayerId",value:function(){return u(f,this).geoviewLayerConfig.geoviewLayerId}},{key:"getGeoviewLayerName",value:function(){return u(f,this).geoviewLayerConfig.geoviewLayerName}},{key:"getLayerStatus",value:function(e){return this.getLayerConfig().layerStatus}},{key:"getLayerName",value:function(e){return u(g,this)}},{key:"setLayerName",value:function(e,t){d(g,this,t),h(b,this,x).call(this,{layerPath:e,layerName:t})}},{key:"getExtent",value:function(){return this.getOLLayer().getExtent()}},{key:"setExtent",value:function(e){this.getOLLayer().setExtent(e)}},{key:"getExtentFromFeatures",value:function(e,t){return s.vF.logError("Feature geometry for ".concat(t," is unavailable from ").concat(e)),Promise.resolve(void 0)}},{key:"getOpacity",value:function(){return this.getOLLayer().getOpacity()}},{key:"setOpacity",value:function(e){this.getOLLayer().setOpacity(e),h(b,this,S).call(this,{layerPath:this.getLayerPath(),opacity:e})}},{key:"getVisible",value:function(){return this.getOLLayer().getVisible()}},{key:"setVisible",value:function(e){var t=this.getVisible();this.getOLLayer().setVisible(e),e!==t&&h(b,this,A).call(this,{visible:e})}},{key:"getMinZoom",value:function(){return this.getOLLayer().getMinZoom()}},{key:"setMinZoom",value:function(e){this.getOLLayer().setMinZoom(e)}},{key:"getMaxZoom",value:function(){return this.getOLLayer().getMaxZoom()}},{key:"setMaxZoom",value:function(e){this.getOLLayer().setMaxZoom(e)}},{key:"onLayerNameChanged",value:function(e){a.A.onEvent(u(m,this),e)}},{key:"offLayerNameChanged",value:function(e){a.A.offEvent(u(m,this),e)}},{key:"onVisibleChanged",value:function(e){a.A.onEvent(u(y,this),e)}},{key:"offVisibleChanged",value:function(e){a.A.offEvent(u(y,this),e)}},{key:"onLayerOpacityChanged",value:function(e){a.A.onEvent(u(v,this),e)}},{key:"offLayerOpacityChanged",value:function(e){a.A.offEvent(u(v,this),e)}}])}();function x(e){a.A.emitEvent(this,u(m,this),e)}function A(e){a.A.emitEvent(this,u(y,this),e)}function S(e){a.A.emitEvent(this,u(v,this),e)}},12264:(e,t,n)=>{"use strict";n.d(t,{Z:()=>$});var r=n(74131),i=n(36549),o=n(80085),a=n(95174),s=n(54111),l=n(42450),c=n(43021),u=n(24515),d=n(53732),h=n.n(d),p=n(31899),f=n(72459),g=n(46074),m=n(6335),y=n(52324),v=n(75079),b=n(23620),w=n(49821),x=n(22557),A=n(34780);function S(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,C()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(C=function(){return!!e})()}function E(e,t,n){k(e,t),t.set(e,n)}function k(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function T(e,t){return e.get(O(e,t))}function _(e,t,n){return e.set(O(e,t),n),n}function O(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var P=new WeakMap,I=new WeakMap,M=new WeakMap,L=new WeakMap,R=new WeakMap,j=new WeakMap,F=new WeakMap,D=new WeakMap,N=new WeakMap,B=new WeakMap,z=new WeakMap,V=new WeakSet,$=function(e){function t(e,n,r){var o,a,s;return(0,i.A)(this,t),o=S(this,t,[e,r]),k(a=o,s=V),s.add(a),(0,u.A)(o,"hitTolerance",t.DEFAULT_HIT_TOLERANCE),E(o,P,void 0),E(o,I,void 0),E(o,M,void 0),E(o,L,void 0),E(o,R,void 0),E(o,j,!0),E(o,F,[]),E(o,D,[]),E(o,N,[]),E(o,B,[]),E(o,z,[]),_(P,o,n),_(L,o,r.geoviewLayerConfig.serviceDateFormat?g.P.getDateFragmentsOrder(r.geoviewLayerConfig.serviceDateFormat):void 0),_(R,o,g.P.getDateFragmentsOrder(r.geoviewLayerConfig.externalDateFormat)),_(j,o,void 0===r.geoviewLayerConfig.isTimeAware||r.geoviewLayerConfig.isTimeAware),o}return(0,c.A)(t,e),(0,o.A)(t,[{key:"init",value:function(){T(P,this).once(["featuresloadend","imageloadend","tileloadend"],this.onLoaded.bind(this)),T(P,this).once(["featuresloaderror","imageloaderror","tileloaderror"],this.onError.bind(this))}},{key:"getMapViewer",value:function(){return x.d.getMapViewer(this.getMapId())}},{key:"getOLLayer",value:function(){return(0,s.A)((0,l.A)(t.prototype),"getOLLayer",this).call(this)}},{key:"getOLSource",value:function(){return T(P,this)}},{key:"getLayerConfig",value:function(){return(0,s.A)((0,l.A)(t.prototype),"getLayerConfig",this).call(this)}},{key:"getStyle",value:function(e){return T(I,this)}},{key:"setStyle",value:function(e,t){_(I,this,t),O(V,this,W).call(this,{style:t,layerPath:e})}},{key:"getAttributions",value:function(){var e,t=null===(e=this.getOLSource().getAttributions())||void 0===e?void 0:e({});return t?"string"==typeof t?[t]:t:[]}},{key:"getTemporalDimension",value:function(){return T(M,this)}},{key:"setTemporalDimension",value:function(e){_(M,this,e)}},{key:"getIsTimeAware",value:function(){return T(j,this)}},{key:"getExternalFragmentsOrder",value:function(){return T(R,this)}},{key:"onLoaded",value:function(){var e;this.getLayerConfig().layerStatus="loaded",O(V,this,q).call(this,{layerPath:this.getLayerPath()}),this.setVisible(!1!==(null===(e=this.getLayerConfig().initialSettings)||void 0===e||null===(e=e.states)||void 0===e?void 0:e.visible))}},{key:"onError",value:function(){this.getLayerConfig().layerStatus="error"}},{key:"getFeatureInfo",value:(d=(0,r.A)(h().mark((function e(t,n){var r,i,o,a,s,l,c=arguments;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=c.length>2&&void 0!==c[2]?c[2]:null,e.prev=1,o=this.getLayerConfig(),null!==(i=o.source)&&void 0!==i&&null!==(i=i.featureInfo)&&void 0!==i&&i.queryable){e.next=6;break}return m.vF.logError("Layer at path ".concat(o.layerPath," is not queryable")),e.abrupt("return",null);case 6:m.vF.logTraceCore("ABSTRACT-GV-LAYERS - getFeatureInfo",t),a="".concat(t),m.vF.logMarkerStart(a),e.t0=t,e.next="all"===e.t0?12:"at_pixel"===e.t0?14:"at_coordinate"===e.t0?16:"at_long_lat"===e.t0?18:"using_a_bounding_box"===e.t0?20:"using_a_polygon"===e.t0?22:24;break;case 12:return s=this.getAllFeatureInfo(),e.abrupt("break",26);case 14:return s=this.getFeatureInfoAtPixel(r),e.abrupt("break",26);case 16:return s=this.getFeatureInfoAtCoordinate(r),e.abrupt("break",26);case 18:return s=this.getFeatureInfoAtLongLat(r),e.abrupt("break",26);case 20:return s=this.getFeatureInfoUsingBBox(r),e.abrupt("break",26);case 22:return s=this.getFeatureInfoUsingPolygon(r),e.abrupt("break",26);case 24:s=Promise.resolve([]),m.vF.logError("Queries using ".concat(t," are invalid."));case 26:return e.next=28,s;case 28:return l=e.sent,m.vF.logMarkerCheck(a,"to getFeatureInfo",l),e.abrupt("return",l);case 33:return e.prev=33,e.t1=e.catch(1),m.vF.logError(e.t1),e.abrupt("return",null);case 37:case"end":return e.stop()}}),e,this,[[1,33]])}))),function(e,t){return d.apply(this,arguments)})},{key:"getAllFeatureInfo",value:function(){throw new Error("Not implemented exception getAllFeatureInfo on layer path ".concat(this.getLayerPath()))}},{key:"getFeatureInfoAtPixel",value:function(e){throw new Error("Not implemented exception for getFeatureInfoAtPixel on layer path ".concat(this.getLayerPath()))}},{key:"getFeatureInfoAtCoordinate",value:function(e){throw new Error("Not implemented exception for getFeatureInfoAtCoordinate on layer path ".concat(this.getLayerPath()))}},{key:"getFeatureInfoAtLongLat",value:function(e){throw new Error("Not implemented exception for getFeatureInfoAtLongLat on layer path ".concat(this.getLayerPath()))}},{key:"getFeatureInfoUsingBBox",value:function(e){throw new Error("Not implemented exception for getFeatureInfoUsingBBox on layer path ".concat(this.getLayerPath()))}},{key:"getFeatureInfoUsingPolygon",value:function(e){throw new Error("Not implemented exception for getFeatureInfoUsingPolygon on layer path ".concat(this.getLayerPath()))}},{key:"getFieldDomain",value:function(e){return m.vF.logWarning("getFieldDomain is not implemented for ".concat(e," on layer path ").concat(this.getLayerPath())),null}},{key:"getFieldType",value:function(e){return m.vF.logWarning("getFieldType is not implemented for ".concat(e," on layer path ").concat(this.getLayerPath())),"string"}},{key:"queryLegend",value:function(){var e=this;O(V,this,G).call(this);var t=this.getLegend();return t.then((function(t){t&&(e.updateIconImageCache(t),O(V,e,U).call(e,{legend:t}))})).catch((function(e){m.vF.logPromiseFailed("promiseLegend in queryLegend in AbstractGVLayer",e)})),t}},{key:"updateIconImageCache",value:function(e){var t=this.getMapViewer().iconImageCacheSize;e.styleConfig&&Object.keys(e.styleConfig).forEach((function(n){var r,i,o,a;!e.styleConfig||"uniqueValue"!==(null===(r=e.styleConfig[n])||void 0===r?void 0:r.styleType)&&"classBreaks"!==(null===(i=e.styleConfig[n])||void 0===i?void 0:i.styleType)||(null!==(o=e.styleConfig[n].uniqueValueStyleInfo)&&void 0!==o&&o.length&&(t+=e.styleConfig[n].uniqueValueStyleInfo.length),null!==(a=e.styleConfig[n].classBreakStyleInfo)&&void 0!==a&&a.length&&(t+=e.styleConfig[n].classBreakStyleInfo.length))})),p.ue.setSize(t),this.getMapViewer().iconImageCacheSize=t}},{key:"getLegend",value:(a=(0,r.A)(h().mark((function e(){var t;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=this.getLayerConfig().geoviewLayerConfig.geoviewLayerType,e.t1=this.getStyle(this.getLayerPath()),e.next=5,(0,w.qC)(this.getStyle(this.getLayerPath()));case 5:return e.t2=e.sent,t={type:e.t0,styleConfig:e.t1,legend:e.t2},e.abrupt("return",t);case 10:return e.prev=10,e.t3=e.catch(0),m.vF.logError(e.t3),e.abrupt("return",null);case 14:case"end":return e.stop()}}),e,this,[[0,10]])}))),function(){return a.apply(this,arguments)})},{key:"getFieldValue",value:function(e,t,n){var r,i=e.get(t);if("date"===n){"string"==typeof i?(T(L,this)||_(L,this,g.P.getDateFragmentsOrder(g.P.deduceDateFormat(i))),r=g.P.applyInputDateFormat(i,T(L,this))):r=g.P.convertToUTC("".concat(g.P.convertMilisecondsToDate(i),"Z"));return T(R,this)&&(r=g.P.applyOutputDateFormat(r,T(R,this),!0)),r}return i}},{key:"formatFeatureInfoResult",value:(n=(0,r.A)(h().mark((function e(t,n){var i,o,a,s,l,c,u,d,p,g,v,x,A,S,C,E,k,T=this;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,t.length){e.next=3;break}return e.abrupt("return",[]);case 3:return c=new y.z(1),u=function(){return c.withLock((0,r.A)(h().mark((function e(){var t,n;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==l){e.next=7;break}return l=null,e.next=4,T.queryLegend();case 4:t=e.sent,(n=b.K.getLayerIconImage(t))&&(l=n[0].iconImage||null);case 7:return e.abrupt("return",l);case 8:case"end":return e.stop()}}),e)}))))},d=null==n||null===(i=n.source)||void 0===i?void 0:i.featureInfo,p=null==d||null===(o=d.fieldTypes)||void 0===o?void 0:o.split(","),g=null===(a=(0,f.getLocalizedValue)(null==d?void 0:d.outfields,"en"))||void 0===a?void 0:a.split(","),v=null===(s=(0,f.getLocalizedValue)(null==d?void 0:d.aliasFields,"en"))||void 0===s?void 0:s.split(","),x=[],t.forEach((function(e){x.push(new Promise((function(t){(0,w.$G)(e,T.getStyle(n.layerPath),n.filterEquation,n.legendFilterIsOff,!0,u).then((function(n){t({feature:e,canvas:n})})).catch((function(e){m.vF.logPromiseFailed("getFeatureCanvas in featureNeedingItsCanvas loop in formatFeatureInfoResult in AbstractGVLayer",e)}))})))})),A={},S={},C=0,E=0,k=[],e.next=18,Promise.all(x);case 18:return e.sent.forEach((function(e){var t,r,i=e.feature,o=e.canvas;i.getGeometry()&&(r=i.getGeometry().getExtent());var a={featureKey:C++,geoviewLayerType:T.getLayerConfig().geoviewLayerConfig.geoviewLayerType,extent:r,geometry:i,featureIcon:o,fieldInfo:{},nameField:(0,f.getLocalizedValue)(null==n||null===(t=n.source)||void 0===t||null===(t=t.featureInfo)||void 0===t?void 0:t.nameField,"en")||null};i.getKeys().forEach((function(e){if("geometry"!==e){e in A||(A[e]=T.getFieldDomain(e));var t=A[e];e in S||(S[e]=T.getFieldType(e));var n=S[e];if(null!=g&&g.includes(e)){var r=g.indexOf(e);a.fieldInfo[e]={fieldKey:E++,value:T.getFieldValue(i,e,p[r]),dataType:p[r],alias:v[r],domain:t}}else g||(a.fieldInfo[e]={fieldKey:E++,value:T.getFieldValue(i,e,n),dataType:n,alias:e,domain:t})}})),k.push(a)})),e.abrupt("return",k);case 23:return e.prev=23,e.t0=e.catch(0),m.vF.logError(e.t0),e.abrupt("return",[]);case 27:case"end":return e.stop()}}),e,null,[[0,23]])}))),function(e,t){return n.apply(this,arguments)})},{key:"getLayerFilter",value:function(e){var t=this.getLayerConfig();return null==t?void 0:t.layerFilter}},{key:"onLegendQuerying",value:function(e){v.A.onEvent(T(D,this),e)}},{key:"offLegendQuerying",value:function(e){v.A.offEvent(T(D,this),e)}},{key:"onLegendQueried",value:function(e){v.A.onEvent(T(N,this),e)}},{key:"offLegendQueried",value:function(e){v.A.offEvent(T(N,this),e)}},{key:"emitLayerFilterApplied",value:function(e){v.A.emitEvent(this,T(B,this),e)}},{key:"onLayerFilterApplied",value:function(e){v.A.onEvent(T(B,this),e)}},{key:"offLayerFilterApplied",value:function(e){v.A.offEvent(T(B,this),e)}},{key:"onLayerStyleChanged",value:function(e){v.A.onEvent(T(F,this),e)}},{key:"offLayerStyleChanged",value:function(e){v.A.offEvent(T(F,this),e)}},{key:"onIndividualLayerLoaded",value:function(e){v.A.onEvent(T(z,this),e)}},{key:"offIndividualLayerLoaded",value:function(e){v.A.offEvent(T(z,this),e)}}],[{key:"initOptionsWithInitialSettings",value:function(e,t){var n,r,i,o,a;void 0!==(null===(n=t.initialSettings)||void 0===n?void 0:n.className)&&(e.className=t.initialSettings.className),void 0!==(null===(r=t.initialSettings)||void 0===r?void 0:r.extent)&&(e.extent=t.initialSettings.extent),void 0!==(null===(i=t.initialSettings)||void 0===i?void 0:i.maxZoom)&&(e.maxZoom=t.initialSettings.maxZoom),void 0!==(null===(o=t.initialSettings)||void 0===o?void 0:o.minZoom)&&(e.minZoom=t.initialSettings.minZoom),void 0!==(null===(a=t.initialSettings)||void 0===a||null===(a=a.states)||void 0===a?void 0:a.opacity)&&(e.opacity=t.initialSettings.states.opacity)}}]);var n,a,d}(A.F);function G(){v.A.emitEvent(this,T(D,this),void 0)}function U(e){v.A.emitEvent(this,T(N,this),e)}function W(e){v.A.emitEvent(this,T(F,this),e)}function q(e){v.A.emitEvent(this,T(z,this),e)}(0,u.A)($,"DEFAULT_HIT_TOLERANCE",4)},46716:(e,t,n)=>{"use strict";n.d(t,{z:()=>h});var r=n(36549),i=n(80085),o=n(95174),a=n(54111),s=n(42450),l=n(43021),c=n(84044);function u(e,t,n){return t=(0,s.A)(t),(0,o.A)(e,d()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}var h=function(e){function t(){return(0,r.A)(this,t),u(this,t,arguments)}return(0,l.A)(t,e),(0,i.A)(t,[{key:"getOLLayer",value:function(){return(0,a.A)((0,s.A)(t.prototype),"getOLLayer",this).call(this)}},{key:"getMetadataProjection",value:function(){var e;return c.M.getProjection("EPSG:".concat(null===(e=this.getLayerConfig().getServiceMetadata())||void 0===e||null===(e=e.fullExtent)||void 0===e||null===(e=e.spatialReference)||void 0===e?void 0:e.wkid))||void 0}},{key:"getMetadataExtent",value:function(){var e=this.getLayerConfig().getServiceMetadata();if(null!=e&&e.fullExtent)return[null==e?void 0:e.fullExtent.xmin,null==e?void 0:e.fullExtent.ymin,null==e?void 0:e.fullExtent.xmax,null==e?void 0:e.fullExtent.ymax]}}])}(n(12264).Z)},85129:(e,t,n)=>{"use strict";n.d(t,{Y:()=>j});var r=n(77156),i=n(888),o=n(74131),a=n(36549),s=n(80085),l=n(95174),c=n(54111),u=n(42450),d=n(43021),h=n(24515),p=n(53732),f=n.n(p),g=n(31459),m=n(72890),y=n(75603),v=n(43964),b=n(72459),w=n(8243),x=n(84044),A=n(2938),S=n(6335),C=n(46074),E=n(9374),k=n(27145),T=n(46716);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t= ").concat(L(R,this,$).call(this,o.field,o.classBreakStyleInfo[0].minValue,e.source.featureInfo))):!1===o.classBreakStyleInfo[0].visible&&!1!==o.defaultVisible&&(u.push("".concat(o.field," < ").concat(L(R,this,$).call(this,o.field,o.classBreakStyleInfo[0].minValue,e.source.featureInfo))),d=h):!1!==o.classBreakStyleInfo[h].visible&&!1===o.defaultVisible?(u.push("".concat(o.field," > ").concat(L(R,this,$).call(this,o.field,o.classBreakStyleInfo[h].minValue,e.source.featureInfo))),h+1===o.classBreakStyleInfo.length&&u.push("".concat(o.field," <= ").concat(L(R,this,$).call(this,o.field,o.classBreakStyleInfo[h].maxValue,e.source.featureInfo)))):!1===o.classBreakStyleInfo[h].visible&&!1!==o.defaultVisible&&(u.push("".concat(o.field," <= ").concat(L(R,this,$).call(this,o.field,o.classBreakStyleInfo[h].minValue,e.source.featureInfo))),d=h):!1===o.defaultVisible?!1===o.classBreakStyleInfo[h].visible?u.push("".concat(o.field," <= ").concat(L(R,this,$).call(this,o.field,o.classBreakStyleInfo[h-1].maxValue,e.source.featureInfo))):h+1===o.classBreakStyleInfo.length&&u.push("".concat(o.field," <= ").concat(L(R,this,$).call(this,o.field,o.classBreakStyleInfo[h].maxValue,e.source.featureInfo))):!1!==o.classBreakStyleInfo[h].visible?(u.push("".concat(o.field," > ").concat(L(R,this,$).call(this,o.field,o.classBreakStyleInfo[h-1].maxValue,e.source.featureInfo))),d=-1):d=h;if(-1!==d&&u.push("".concat(o.field," > ").concat(L(R,this,$).call(this,o.field,o.classBreakStyleInfo[d].maxValue,e.source.featureInfo))),!1!==o.defaultVisible){var p="".concat(u.slice(0,-1).reduce((function(e,t,n){return 0===n?"(".concat(t," or "):n%2==0?"".concat(e," and ").concat(t,") or "):"".concat(e,"(").concat(t)}),"")).concat(u.slice(-1)[0],")");return"".concat(p).concat(n?" and (".concat(n,")"):"")}var f=u.length?"".concat(u.reduce((function(e,t,n){return 0===n?"((".concat(t," and "):n%2==0?"".concat(e," or (").concat(t," and "):"".concat(e).concat(t,")")}),""),")"):"(1=0)";return"".concat(f).concat(n?" and (".concat(n,")"):"")}}return"(1=1)"}},{key:"onLoaded",value:function(){(0,c.A)((0,u.A)(t.prototype),"onLoaded",this).call(this),this.applyViewFilter("",this.getLayerConfig().layerFilter||"")}},{key:"applyViewFilter",value:function(e,t){var n=this,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];S.vF.logTraceCore("GV-ESRI-DYNAMIC - applyViewFilter");var o=this.getLayerConfig(),a=this.getOLLayer(),s=t.replaceAll(/\s{2,}/g," ").trim();o.legendFilterIsOff=!i,o.layerFilter=s,i&&(s=this.getViewFilter());var l=(0,r.A)(s.matchAll(/(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/gi));l.reverse(),l.forEach((function(e){var t=![20,25].includes(e[0].length),r=C.P.applyInputDateFormat(e[0],n.getExternalFragmentsOrder(),t);r=(r=r.slice(0,20===r.length?-1:-6)).replace("T"," "),s="".concat(s.slice(0,e.index)).concat(r).concat(s.slice(e.index+e[0].length))})),null==a||a.getSource().updateParams({layerDefs:'{"'.concat(o.layerId,'": "').concat(s,'"}')}),null==a||a.changed(),this.emitLayerFilterApplied({layerPath:e,filter:s})}},{key:"getBounds",value:function(e){var t,n=this.getMetadataExtent();if(n){var r=this.getMetadataProjection();t=this.getMapViewer().convertExtentFromProjToMapProj(n,r),t=(0,w.validateExtent)(t,this.getMapViewer().getProjection().getCode())}return t}},{key:"getExtentFromFeatures",value:(n=(0,o.A)(f().mark((function e(t,n){var r,i,o,a,s,l,c;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.getLayerConfig(),i=(0,b.getLocalizedValue)(r.source.dataAccessPath,A.K.getDisplayLanguage(this.getMapId())),o=n.join("%2C"),!i){e.next=21;break}return i.endsWith("/")||(i+="/"),a="".concat(i).concat(r.layerId,"/query?&f=json&where=&objectIds=").concat(o,"&returnGeometry=true"),e.prev=6,e.next=9,fetch(a);case 9:return s=e.sent,e.next=12,s.json();case 12:return l=e.sent,(new m.A).readFeatures({features:l.features},{dataProjection:"EPSG:".concat(l.spatialReference.wkid),featureProjection:this.getMapViewer().getProjection().getCode()}).forEach((function(e){var t,n=null===(t=e.getGeometry())||void 0===t?void 0:t.getExtent();n&&(c?(0,w.getMinOrMaxExtents)(c,n):c=n)})),e.abrupt("return",c);case 18:e.prev=18,e.t0=e.catch(6),S.vF.logError("Error fetching geometry from ".concat(a),e.t0);case 21:return e.abrupt("return",void 0);case 22:case"end":return e.stop()}}),e,this,[[6,18]])}))),function(e,t){return n.apply(this,arguments)})}]);var n,l,p}(T.z);function F(e,t,n,r){return D.apply(this,arguments)}function D(){return(D=(0,o.A)(f().mark((function e(t,n,i,o){var a,s,l,c;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=[],s="".concat(n,"&resultOffset=").concat(o||i),e.prev=2,e.next=5,fetch(s);case 5:return l=e.sent,e.next=8,l.json();case 8:if(c=e.sent,a.push(c),!c.exceededTransferLimit){e.next=19;break}return e.t0=a.push,e.t1=a,e.t2=r.A,e.next=16,L(R,this,F).call(this,t,n,i,o?o+i:2*i);case 16:e.t3=e.sent,e.t4=(0,e.t2)(e.t3),e.t0.apply.call(e.t0,e.t1,e.t4);case 19:e.next=24;break;case 21:e.prev=21,e.t5=e.catch(2),S.vF.logError("Error loading additional features for ".concat(t.layerPath," from ").concat(s),e.t5);case 24:return e.abrupt("return",a);case 25:case"end":return e.stop()}}),e,this,[[2,21]])})))).apply(this,arguments)}function N(e){return e.uniqueValueStyleInfo.reduce((function(t,n){return(!1===n.visible&&!1!==e.defaultVisible||!1!==n.visible&&!1===e.defaultVisible)&&n.values.forEach((function(e,n){var r=t[n].find((function(t){return t.value===e}));r?r.nbOccurence++:t[n].push({value:e,nbOccurence:1})})),t}),e.fields.map((function(){return[]})))}function B(e,t){for(var n=e.fields.map((function(){return!0})),r=[],i=0;-1!==i;i=n.findIndex((function(e){return e}))){for(var o=t[i].reduce((function(e,t){return e+t.nbOccurence}),0),a=0;at[a].length||t[i].length===t[a].length&&o{"use strict";n.d(t,{o:()=>k});var r=n(24515),i=n(77156),o=n(74131),a=n(36549),s=n(80085),l=n(95174),c=n(54111),u=n(42450),d=n(43021),h=n(53732),p=n.n(h),f=n(31459),g=n(72459),m=n(46074),y=n(6335),v=n(32875),b=n(27145),w=n(2938),x=n(8243),A=n(49821),S=n(46716);function C(e,t,n){return t=(0,u.A)(t),(0,l.A)(e,E()?Reflect.construct(t,n||[],(0,u.A)(e).constructor):t.apply(e,n))}function E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(E=function(){return!!e})()}var k=function(e){function t(e,n,r){var i;(0,a.A)(this,t),i=C(this,t,[e,n,r]);var o={source:n,properties:{layerConfig:r}};return S.z.initOptionsWithInitialSettings(o,r),i.olLayer=new f.A(o),i}return(0,d.A)(t,e),(0,s.A)(t,[{key:"getOLLayer",value:function(){return(0,c.A)((0,u.A)(t.prototype),"getOLLayer",this).call(this)}},{key:"getOLSource",value:function(){return(0,c.A)((0,u.A)(t.prototype),"getOLSource",this).call(this)}},{key:"getLayerConfig",value:function(){return(0,c.A)((0,u.A)(t.prototype),"getLayerConfig",this).call(this)}},{key:"getFieldType",value:function(e){return(0,b.UB)(this.getLayerConfig(),e)}},{key:"getFieldDomain",value:function(e){return(0,b.k7)(this.getLayerConfig(),e)}},{key:"getLegend",value:(n=(0,o.A)(p().mark((function e(){var t,n,r,i,o,a,s,l,c,u;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.getLayerConfig(),e.prev=1,t){e.next=4;break}return e.abrupt("return",null);case 4:return n="".concat((0,g.getLocalizedValue)(t.geoviewLayerConfig.metadataAccessPath,w.K.getDisplayLanguage(this.getMapId())),"/legend?f=json"),e.next=7,fetch(n);case 7:return r=e.sent,e.next=10,r.json();case 10:if((i=e.sent).layers&&1===i.layers.length?o=i.layers[0].legend:i.layers.length&&(a=i.layers.find((function(e){return e.layerId===t.layerId})))&&(o=a.legend),o){e.next=15;break}return s={type:v.y6.ESRI_IMAGE,styleConfig:this.getStyle(t.layerPath),legend:null},e.abrupt("return",s);case 15:return l=[],o.forEach((function(e){var t={label:e.label,values:e.label.split(","),settings:{type:"iconSymbol",mimeType:e.contentType,src:e.imageData,width:e.width,height:e.height}};l.push(t)})),c={Point:{styleType:"uniqueValue",fields:["default"],uniqueValueStyleInfo:l}},this.setStyle(t.layerPath,c),e.t0=v.y6.ESRI_IMAGE,e.t1=c,e.next=24,(0,A.qC)(this.getStyle(t.layerPath));case 24:return e.t2=e.sent,u={type:e.t0,styleConfig:e.t1,legend:e.t2},e.abrupt("return",u);case 29:return e.prev=29,e.t3=e.catch(1),y.vF.logError("Get Legend for ".concat(t.layerPath," error"),e.t3),e.abrupt("return",null);case 33:case"end":return e.stop()}}),e,this,[[1,29]])}))),function(){return n.apply(this,arguments)})},{key:"onLoaded",value:function(){(0,c.A)((0,u.A)(t.prototype),"onLoaded",this).call(this),this.applyViewFilter("",this.getLayerConfig().layerFilter||"")}},{key:"applyViewFilter",value:function(e,t,n){var o=this;y.vF.logTraceCore("GV-ESRI-IMAGE - applyViewFilter",e);var a=this.getLayerConfig(),s=this.getOLLayer(),l=s.getSource();if(l){var c=t;if(a.legendFilterIsOff=!n,n&&(a.layerFilter=t),c){var u=(c=c.replaceAll(/\s{2,}/g," ").trim()).split(/(?<=\b)\s*=/),d=u[0].trim();c=u[1].trim();var h=(0,i.A)("".concat(c," ").matchAll(/(?<=^date\b\s')[\d/\-T\s:+Z]{4,25}(?=')|(?<=[(\s]date\b\s')[\d/\-T\s:+Z]{4,25}(?=')/gi));h.reverse(),h.forEach((function(e){var t=![20,25].includes(e[0].length),n=m.P.applyInputDateFormat(e[0],o.getExternalFragmentsOrder(),t);c="".concat(c.slice(0,e.index-6)).concat(n).concat(c.slice(e.index+e[0].length+2))})),l.updateParams((0,r.A)({},d,c.replace(/\s*/g,""))),s.changed(),this.emitLayerFilterApplied({layerPath:e,filter:c})}}}},{key:"getBounds",value:function(e){var t,n=this.getMetadataExtent();if(n){var r=this.getMetadataProjection();t=this.getMapViewer().convertExtentFromProjToMapProj(n,r),t=(0,x.validateExtent)(t,this.getMapViewer().getProjection().getCode())}return t}}]);var n}(S.z)},54211:(e,t,n)=>{"use strict";n.d(t,{V:()=>M});var r=n(43004),i=n(888),o=n(77156),a=n(74131),s=n(36549),l=n(80085),c=n(95174),u=n(54111),d=n(42450),h=n(43021),p=n(24515),f=n(53732),g=n.n(f),m=n(95841),y=n(31459),v=n(16896),b=n(32875),w=n(72459),x=n(46074),A=n(8243),S=n(6335),C=n(2938),E=n(49821),k=n(46716);function T(e,t,n){return t=(0,d.A)(t),(0,c.A)(e,_()?Reflect.construct(t,n||[],(0,d.A)(e).constructor):t.apply(e,n))}function _(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_=function(){return!!e})()}function O(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function P(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var I=new WeakSet,M=function(e){function t(e,n,r,i){var o;if((0,s.A)(this,t),O(o=T(this,t,[e,n,r]),I),(0,p.A)(o,"WMSStyles",[]),!i)throw new Error("No layer capabilities were provided");var a={source:n,properties:{layerCapabilities:i,layerConfig:r}};return k.z.initOptionsWithInitialSettings(a,r),o.olLayer=new y.A(a),o}return(0,h.A)(t,e),(0,l.A)(t,[{key:"getOLLayer",value:function(){return(0,u.A)((0,d.A)(t.prototype),"getOLLayer",this).call(this)}},{key:"getOLSource",value:function(){return(0,u.A)((0,d.A)(t.prototype),"getOLSource",this).call(this)}},{key:"getLayerConfig",value:function(){return(0,u.A)((0,d.A)(t.prototype),"getLayerConfig",this).call(this)}},{key:"getFeatureInfoAtPixel",value:function(e){return this.getFeatureInfoAtCoordinate(this.getMapViewer().map.getCoordinateFromPixel(e))}},{key:"getFeatureInfoAtCoordinate",value:function(e){var t=this.getMapViewer().convertCoordinateMapProjToLngLat(e);return this.getFeatureInfoAtLongLat(t)}},{key:"getFeatureInfoAtLongLat",value:(r=(0,a.A)(g().mark((function e(n){var r,i,o,a,s,l,c,u,d,h,p,f,y,v,b,x,A,C,E,k;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,this.getVisible()){e.next=3;break}return e.abrupt("return",[]);case 3:if(i=this.getLayerConfig(),o=this.getMapViewer().convertCoordinateLngLatToMapProj(n),!(n[0]1)){e.next=16;break}o=0;case 8:if(!(o1?i:void 0},e.abrupt("return",n);case 32:return e.prev=32,e.t0=e.catch(0),S.vF.logError("gv-wms.getLegend()\n",e.t0),e.abrupt("return",null);case 36:case"end":return e.stop()}}),e,this,[[0,32]])}))),function(){return n.apply(this,arguments)})},{key:"setWmsStyle",value:function(e,t){var n;null===(n=this.getOLSource())||void 0===n||n.updateParams({STYLES:e})}},{key:"onLoaded",value:function(){(0,u.A)((0,d.A)(t.prototype),"onLoaded",this).call(this),this.applyViewFilter("",this.getLayerConfig().layerFilter||"")}},{key:"applyViewFilter",value:function(e,t){var n=this,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=this.getLayerConfig(),a=this.getOLLayer();S.vF.logTraceCore("GVWMS - applyViewFilter",e);var s=a.getSource();if(s){var l=t;if(i.legendFilterIsOff=!r,r&&(i.layerFilter=t),l){var c=(l=l.replaceAll(/\s{2,}/g," ").trim()).split(/(?<=\b)\s*=/),u=c[0].trim();l=c[1].trim();var d=(0,o.A)("".concat(l," ").matchAll(/(?<=^date\b\s')[\d/\-T\s:+Z]{4,25}(?=')|(?<=[(\s]date\b\s')[\d/\-T\s:+Z]{4,25}(?=')/gi));d.reverse(),d.forEach((function(e){var t=![20,25].includes(e[0].length),r=x.P.applyInputDateFormat(e[0],n.getExternalFragmentsOrder(),t);l="".concat(l.slice(0,e.index-6)).concat(r).concat(l.slice(e.index+e[0].length+2))})),s.updateParams((0,p.A)({},u,l.replace(/\s*/g,""))),a.changed(),this.emitLayerFilterApplied({layerPath:e,filter:l})}}}},{key:"getBounds",value:function(e){var t,n=this.getLayerConfig(),r=this.getOLSource().getProjection()||void 0,o=null==n||null===(t=n.initialSettings)||void 0===t?void 0:t.bounds;o&&(o=this.getMapViewer().convertExtentFromProjToMapProj(o,"EPSG:4326"));var a,s=P(I,this,z).call(this,(null==r?void 0:r.getCode())||"");if(s){var l=(0,i.A)(s,2),c=l[0],u=l[1];a=this.getMapViewer().convertExtentFromProjToMapProj(u,c)}return o&&a&&(a=(0,A.getExtentIntersection)(a,o)),a=(0,A.validateExtentWhenDefined)(a,this.getMapViewer().getProjection().getCode())}}]);var n,r}(k.z);function L(e,t){var n=P(I,this,R).call(this,e.layerId);if(Array.isArray(null==n?void 0:n.Style)){var r,o,a=!1;if(n.Style.forEach((function(e){"default"===e.Name&&(a=!0)})),t){var s=n.Style.filter((function(e){return e.Name===t}));o=(0,i.A)(s,1)[0]}else o=null==n?void 0:n.Style.find((function(t){var n,r;return null!=e&&null!==(n=e.source)&&void 0!==n&&n.style&&!Array.isArray(null==e||null===(r=e.source)||void 0===r?void 0:r.style)?e.source.style===t.Name:a?"default"===t.Name:t.Name}));if(Array.isArray(null===(r=o)||void 0===r?void 0:r.LegendURL))return o.LegendURL.find((function(e){return"image/png"===e.Format}))||null}return null}function R(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=this.getLayerConfig().getServiceMetadata())||void 0===t||null===(t=t.Capability)||void 0===t?void 0:t.Layer;if(!n)return null;if("Name"in n&&n.Name===e)return n;if("Layer"in n){if(Array.isArray(n.Layer)){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:"";Object.keys(t).forEach((function(i){if(!i.endsWith("Geometry")&&!i.startsWith("@")){var o=i.split(":").slice(-1)[0];"object"===(0,r.A)(t[i])?"#text"in t[i]?g.fieldInfo["".concat(n).concat(n?".":"").concat(o)]={fieldKey:f++,value:t[i]["#text"],dataType:"string",alias:"".concat(n).concat(n?".":"").concat(o),domain:null}:e(t[i],o):g.fieldInfo["".concat(n).concat(n?".":"").concat(o)]={fieldKey:f++,value:t[i],dataType:"string",alias:"".concat(n).concat(n?".":"").concat(o),domain:null}}}))}(e),c)?(f=0,Object.keys(g.fieldInfo).filter((function(e){if(null!=c&&c.includes(e)){var t=c.indexOf(e);return g.fieldInfo[e].fieldKey=f++,g.fieldInfo[e].alias=d[t],g.fieldInfo[e].dataType=u[t],!1}return!0})).forEach((function(e){delete g.fieldInfo[e]})),h.push(g)):h.push(g);return h}function B(e,t){var n=Object.keys(e).find((function(e){return e.endsWith(t)}));return n?e[n]:void 0}function z(e){var t,n=null===(t=this.getLayerConfig().getServiceMetadata())||void 0===t?void 0:t.Capability.Layer.BoundingBox;if(n){for(var r=0;r0)return[n[0].crs,[n[0].extent[1],n[0].extent[0],n[0].extent[3],n[0].extent[2]]]}}},27145:(e,t,n)=>{"use strict";n.d(t,{UB:()=>a,Vk:()=>o,k7:()=>s});n(53732);var r=n(16896),i=(n(6335),n(72459));function o(e,t,n){var o,a=e.getLayerMetadata().source.featureInfo,s=null===(o=(0,i.getLocalizedValue)((0,r.KX)(a.outfields),n))||void 0===o?void 0:o.split(",").indexOf(t);return s&&-1!==s?a.fieldTypes.split(",")[s]:"string"}function a(e,t){var n,r=(null===(n=e.getLayerMetadata())||void 0===n?void 0:n.fields).find((function(e){return e.name===t}));if(!r)return"string";var i=r.type;return"esriFieldTypeDate"===i?"date":["esriFieldTypeDouble","esriFieldTypeInteger","esriFieldTypeSingle","esriFieldTypeSmallInteger","esriFieldTypeOID"].includes(i)?"number":"string"}function s(e,t){var n,i=(null===(n=e.getLayerMetadata())||void 0===n?void 0:n.fields).find((function(e){return e.name===t}));return i?(0,r.KX)(i.domain):null}},71852:(e,t,n)=>{"use strict";n.d(t,{p:()=>k});var r=n(24515),i=n(77156),o=n(36549),a=n(80085),s=n(95174),l=n(54111),c=n(42450),u=n(43021),d=n(26076),h=n(34378),p=n(46074),f=n(27673),g=n(2938),m=n(6335),y=n(49821),v=n(27145),b=n(12264),w=n(72459),x=n(8243);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t2&&void 0!==arguments[2])||arguments[2];m.vF.logTraceCore("ABSTRACT-GV-VECTOR - applyViewFilter");var a=this.getLayerConfig(),s=this.getOLLayer(),l=t.replaceAll(/\s{2,}/g," ").trim();a.legendFilterIsOff=!o,o&&(a.layerFilter=t);var c=(0,i.A)("".concat(null===(n=l)||void 0===n?void 0:n.replaceAll(/\s{2,}/g," ").trim()," ").matchAll(/(?<=^date\b\s')[\d/\-T\s:+Z]{4,25}(?=')|(?<=[(\s]date\b\s')[\d/\-T\s:+Z]{4,25}(?=')/gi));c.reverse(),c.forEach((function(e){var t=![20,25].includes(e[0].length),n=p.P.applyInputDateFormat(e[0],r.getExternalFragmentsOrder(),t);l="".concat(l.slice(0,e.index)).concat(n).concat(l.slice(e.index+e[0].length))}));try{var u=(0,y.WN)([{nodeType:f.Z6.unprocessedNode,nodeValue:l}]);a.filterEquation=u}catch(t){throw new Error("Invalid vector layer filter (".concat(t.message,").\nfilter = ").concat(this.getLayerFilter(e),"\ninternal filter = ").concat(l))}s.changed(),this.emitLayerFilterApplied({layerPath:e,filter:l})}},{key:"getBounds",value:function(e){return this.getOLSource().getExtent()}},{key:"getExtentFromFeatures",value:function(e,t){var n,r=this,i=t.map((function(e){var t;return null===(t=r.getOLLayer().getSource())||void 0===t?void 0:t.getFeatureById(e)}));return i?(i.forEach((function(e){if(null!=e&&e.getGeometry()){var t,r=null===(t=e.getGeometry())||void 0===t?void 0:t.getExtent();r&&(n?(0,x.getMinOrMaxExtents)(n,r):n=r)}})),Promise.resolve(n)):Promise.resolve(void 0)}},{key:"getFeaturesAsGeoJSON",value:function(){var e=this.getMapViewer().getProjection().getCode(),t=(new h.A).writeFeatures(this.getOLLayer().getSource().getFeatures(),{dataProjection:"EPSG:4326",featureProjection:e});return JSON.parse(t)}}],[{key:"calculateStyleForFeature",value:function(e,t,n,i,o,a){var s=e.getStyle(i)||{};return(0,y.nS)(t,s,n,o,a,(function(t,n){m.vF.logDebug("A new style has been created on-the-fly",t,e),e.setStyle(i,S(S({},s),(0,r.A)({},t,n)))}))}}])}(b.Z)},58176:(e,t,n)=>{"use strict";n.d(t,{M:()=>I});var r=n(74131),i=n(36549),o=n(80085),a=n(24515),s=n(53732),l=n.n(s),c=n(75079),u=n(72459),d=n(71396),h=n(2938),p=n(13796),f=n(97718),g=n(48448),m=n(85129),y=n(71852),v=n(54211),b=n(6335);function w(e,t,n){x(e,t),t.set(e,n)}function x(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function A(e,t){return e.get(C(e,t))}function S(e,t,n){return e.set(C(e,t),n),n}function C(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var E=new WeakMap,k=new WeakMap,T=new WeakMap,_=new WeakMap,O=new WeakMap,P=new WeakSet,I=function(){return(0,o.A)((function e(t){var n,r;(0,i.A)(this,e),x(n=this,r=P),r.add(n),(0,a.A)(this,"layerApi",void 0),(0,a.A)(this,"resultSet",{}),w(this,E,!1),w(this,k,[]),w(this,T,[]),w(this,_,void 0),w(this,O,void 0),this.layerApi=t,S(_,this,C(P,this,L).bind(this)),S(O,this,C(P,this,R).bind(this))}),[{key:"getMapId",value:function(){return this.layerApi.getMapId()}},{key:"registerLayerConfig",value:function(e){this.onRegisterLayerConfigCheck(e)&&!(e.layerPath in this.resultSet)&&(this.onRegisterLayerConfig(e),this.onPropagateToStore(this.resultSet[e.layerPath],"config-registration"),this.onLayerSetUpdatedProcess(e.layerPath)),C(P,this,M).call(this,e)}},{key:"onRegisterLayerConfigCheck",value:function(e){return A(E,this)}},{key:"onRegisterLayerConfig",value:function(e){this.resultSet[e.layerPath]={layerPath:e.layerPath,layerStatus:e.layerStatus,layerName:(0,u.getLocalizedValue)(e.layerName,h.K.getDisplayLanguage(this.getMapId()))},e.onLayerStatusChanged(A(_,this))}},{key:"registerLayer",value:(e=(0,r.A)(l().mark((function e(t,n){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,u.whenThisThen)((function(){return"loaded"===t.getLayerStatus(n)}),2e4);case 2:if(!A(k,this).includes(n)){e.next=4;break}return e.abrupt("return");case 4:this.onRegisterLayerCheck(t,n)&&(this.onRegisterLayer(t,n),this.onPropagateToStore(this.resultSet[n],"layer-registration"),this.onLayerSetUpdatedProcess(n));case 5:case"end":return e.stop()}}),e,this)}))),function(t,n){return e.apply(this,arguments)})},{key:"onRegisterLayerCheck",value:function(e,t){var n;return"group"!==(null===(n=this.layerApi.getGeoviewLayerHybrid(t))||void 0===n||null===(n=n.getLayerConfig(t))||void 0===n?void 0:n.entryType)}},{key:"onRegisterLayer",value:function(e,t){var n=(0,u.getLocalizedValue)(e.getLayerName(t),h.K.getDisplayLanguage(this.getMapId()));t in this.resultSet?(this.resultSet[t].layerStatus=e.getLayerStatus(t),this.resultSet[t].layerName=n):this.resultSet[t]={layerPath:t,layerStatus:e.getLayerStatus(t),layerName:n},A(k,this).push(t),e.onLayerNameChanged(A(O,this))}},{key:"unregister",value:function(e){this.onUnregisterLayerConfig(this.layerApi.getLayerEntryConfig(e)),this.onUnregisterLayer(this.layerApi.getGeoviewLayerHybrid(e)),this.onDeleteFromStore(e),delete this.resultSet[e],this.onLayerSetUpdatedProcess(e)}},{key:"onUnregisterLayerConfig",value:function(e){null==e||e.offLayerStatusChanged(A(_,this))}},{key:"onUnregisterLayer",value:function(e){null==e||e.offLayerNameChanged(A(O,this))}},{key:"onProcessLayerStatusChanged",value:function(e,t){this.resultSet[e.layerPath].layerStatus=t,this.resultSet[e.layerPath].layerName=(0,u.getLocalizedValue)(e.layerName||e.geoviewLayerConfig.geoviewLayerName,h.K.getDisplayLanguage(this.getMapId()))}},{key:"onProcessNameChanged",value:function(e,t){this.resultSet[e].layerName=t}},{key:"onLayerSetUpdatedProcess",value:function(e){C(P,this,j).call(this,{layerPath:e,resultSet:this.resultSet})}},{key:"onLayerSetUpdated",value:function(e){c.A.onEvent(A(T,this),e)}},{key:"offLayerSetUpdated",value:function(e){c.A.offEvent(A(T,this),e)}}],[{key:"queryLayerFeatures",value:function(e,t,n,r){return t.getFeatureInfo(n,e.layerPath,r)}},{key:"isQueryableType",value:function(e){return e instanceof f.W||e instanceof y.p||e instanceof p.zt||e instanceof m.Y||e instanceof g.GB||e instanceof v.V}},{key:"isSourceQueryable",value:function(e,t){var n;return!(!1===(null===(n=e.getLayerConfig(t))||void 0===n||null===(n=n.source)||void 0===n||null===(n=n.featureInfo)||void 0===n?void 0:n.queryable))}},{key:"isStateQueryable",value:function(e,t){var n;return!(!1===(null===(n=e.getLayerConfig(t))||void 0===n||null===(n=n.initialSettings)||void 0===n||null===(n=n.states)||void 0===n?void 0:n.queryable))}}]);var e}();function M(e){var t=this;e.onLayerStatusChanged((function(){try{if("loaded"===e.layerStatus){if(e.parentLayerConfig){var n=e.parentLayerConfig.listOfLayerEntryConfig.map((function(e){return t.layerApi.getLayerEntryConfig(e.layerPath)})).filter((function(e){return e}));if(d.c.allLayerStatusAreGreaterThanOrEqualTo("loaded",n)){var r=t.layerApi.getLayerEntryConfig(e.parentLayerConfig.layerPath);r&&(r.layerStatus="loaded")}}var i=t.layerApi.getGeoviewLayerHybrid(e.layerPath);i&&t.registerLayer(i,e.layerPath).catch((function(e){b.vF.logPromiseFailed("in registerLayer in registerLayerConfig",e)}))}}catch(e){b.vF.logError("Error trying to register the layer coming from the layer config",e)}}))}function L(e,t){try{this.onProcessLayerStatusChanged(e,t.layerStatus),this.resultSet[e.layerPath]&&this.onPropagateToStore(this.resultSet[e.layerPath],"layerStatus"),this.onLayerSetUpdatedProcess(e.layerPath)}catch(t){b.vF.logError("CAUGHT in handleLayerStatusChanged",e.layerPath,t)}}function R(e,t){try{this.resultSet[t.layerPath]&&(this.onProcessNameChanged(t.layerPath,(0,u.getLocalizedValue)(t.layerName,h.K.getDisplayLanguage(this.getMapId()))),this.onPropagateToStore(this.resultSet[t.layerPath],"layerName"),this.onLayerSetUpdatedProcess(t.layerPath))}catch(e){b.vF.logError("CAUGHT in handleLayerStatusChanged",t.layerPath,e)}}function j(e){c.A.emitEvent(this,A(T,this),e)}},8813:(e,t,n)=>{"use strict";n.d(t,{P:()=>S});var r=n(74131),i=n(36549),o=n(80085),a=n(95174),s=n(54111),l=n(42450),c=n(43021),u=n(53732),d=n.n(u),h=n(36),p=n(32875),f=n(12264),g=n(48448),m=n(54211),y=n(58176);function v(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,b()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(b=function(){return!!e})()}function w(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function x(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var A=new WeakSet,S=function(e){function t(){var e;(0,i.A)(this,t);for(var n=arguments.length,r=new Array(n),o=0;o1&&void 0!==a[1]?a[1]:"all",!this.resultSet[t]){e.next=21;break}if(this.resultSet[t].eventListenerEnabled){e.next=4;break}return e.abrupt("return",Promise.resolve());case 4:if(!(r=this.layerApi.getGeoviewLayerHybrid(t))||!(r instanceof p.qt||r instanceof f.Z)){e.next=18;break}if(y.M.isStateQueryable(r,t)){e.next=8;break}return e.abrupt("return",Promise.resolve());case 8:return this.resultSet[t].queryStatus="processing",x(A,this,C).call(this,this.resultSet[t]),i=y.M.queryLayerFeatures(this.resultSet[t],r,n,t),e.next=13,i;case 13:o=e.sent,this.resultSet[t].features=o,this.resultSet[t].queryStatus=o?"processed":"error",e.next=20;break;case 18:this.resultSet[t].features=null,this.resultSet[t].queryStatus="error";case 20:x(A,this,C).call(this,this.resultSet[t]);case 21:return e.abrupt("return",this.resultSet);case 22:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})}]);var n}(y.M);function C(e){"loaded"===e.layerStatus&&h.F.propagateFeatureInfoToStore(this.getMapId(),e)}},50607:(e,t,n)=>{"use strict";n.d(t,{I:()=>k});var r=n(74131),i=n(36549),o=n(80085),a=n(95174),s=n(54111),l=n(42450),c=n(43021),u=n(53732),d=n.n(u),h=n(68020),p=n(75079),f=n(6335),g=n(32875),m=n(12264),y=n(58176),v=n(72459);function b(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,w()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function w(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(w=function(){return!!e})()}function x(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function A(e,t){return e.get(S(e,t))}function S(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var C=new WeakMap,E=new WeakSet,k=function(e){function t(e){var n,r,o;return(0,i.A)(this,t),n=b(this,t,[e]),x(r=n,o=E),o.add(r),function(e,t,n){x(e,t),t.set(e,n)}(n,C,[]),n.layerApi.mapViewer.onMapSingleClick((function(e,t){n.queryLayers(t.lnglat).catch((function(e){f.vF.logPromiseFailed("queryLayers in onMapSingleClick in FeatureInfoLayerSet",e)}))})),n}return(0,c.A)(t,e),(0,o.A)(t,[{key:"onRegisterLayerCheck",value:function(e,n){return(0,s.A)((0,l.A)(t.prototype),"onRegisterLayerCheck",this).call(this,e,n)&&y.M.isQueryableType(e)&&y.M.isSourceQueryable(e,n)}},{key:"onRegisterLayer",value:function(e,n){(0,s.A)((0,l.A)(t.prototype),"onRegisterLayer",this).call(this,e,n),this.resultSet[n].eventListenerEnabled=!0,this.resultSet[n].queryStatus="processed",this.resultSet[n].features=[]}},{key:"onPropagateToStore",value:function(e,t){S(E,this,T).call(this,e,"layerName"===t?"name":"click")}},{key:"onDeleteFromStore",value:function(e){h.h.deleteFeatureInfo(this.getMapId(),e)}},{key:"queryLayers",value:(n=(0,r.A)(d().mark((function e(t){var n,r=this;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=[],Object.keys(this.resultSet).forEach((function(e){if(r.resultSet[e].eventListenerEnabled){var i=r.layerApi.getGeoviewLayerHybrid(e);if(i&&(i instanceof g.qt||i instanceof m.Z)){if(!y.M.isStateQueryable(i,e))return;r.resultSet[e].features=void 0,r.resultSet[e].queryStatus="processing",S(E,r,T).call(r,r.resultSet[e]);var o=y.M.queryLayerFeatures(r.resultSet[e],i,"at_long_lat",t);n.push(o),o.then((function(t){null!=t&&t.length&&r.patchMissingMetadataIfNecessary(e,t[0]),r.resultSet[e].features=t,r.resultSet[e].queryStatus=t?"processed":"error",S(E,r,T).call(r,r.resultSet[e])})).catch((function(e){f.vF.logPromiseFailed("queryLayerFeatures in queryLayers in FeatureInfoLayerSet",e)}))}else r.resultSet[e].features=null,r.resultSet[e].queryStatus="error"}})),e.next=5,Promise.allSettled(n);case 5:return S(E,this,O).call(this,{coordinate:t,resultSet:this.resultSet,eventType:"click"}),e.abrupt("return",this.resultSet);case 7:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"enableClickListener",value:function(e){var t=this;e?S(E,this,_).call(this,e,!0):Object.keys(this.resultSet).forEach((function(e){S(E,t,_).call(t,e,!0)}))}},{key:"disableClickListener",value:function(e){var t=this;e?S(E,this,_).call(this,e,!1):Object.keys(this.resultSet).forEach((function(e){S(E,t,_).call(t,e,!1)}))}},{key:"isClickListenerEnabled",value:function(e){var t,n,r=this;return e?!(null===(t=this.resultSet)||void 0===t||null===(t=t[e])||void 0===t||!t.eventListenerEnabled):(Object.keys(this.resultSet).forEach((function(e,t){0===t&&(n=r.resultSet[e].eventListenerEnabled),n!==r.resultSet[e].eventListenerEnabled&&(n=void 0)})),n)}},{key:"patchMissingMetadataIfNecessary",value:function(e,t){var n,r=this.layerApi.getLayerEntryConfig(e);r.source||(r.source={}),null!==(n=r.source)&&void 0!==n&&n.featureInfo||(r.source.featureInfo={queryable:!0});var i=r.source.featureInfo;if(!i.outfields){var o,a,s=Object.keys(t.fieldInfo);i.outfields=(0,v.createLocalizedString)(s.join(","));var l=[];s.forEach((function(e){var n;null!==(n=t.fieldInfo[e])&&void 0!==n&&n.alias&&l.push(t.fieldInfo[e].alias)}));var c=l.join(",");null!==(o=i.aliasFields)&&void 0!==o&&null!==(o=o.en)&&void 0!==o&&o.split(",").length||c.length!==s.length?null!==(a=i.aliasFields)&&void 0!==a&&null!==(a=a.en)&&void 0!==a&&a.split(",").length||(i.aliasFields=i.outfields):i.aliasFields=(0,v.createLocalizedString)(c);var u=s.map((function(e){var n;if(null!==(n=t.fieldInfo[e])&&void 0!==n&&n.dataType)return t.fieldInfo[e].dataType}));i.fieldTypes=u.join(",")}}},{key:"onQueryEnded",value:function(e){p.A.onEvent(A(C,this),e)}},{key:"offQueryEnded",value:function(e){p.A.offEvent(A(C,this),e)}}]);var n}(y.M);function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"click";h.h.propagateFeatureInfoToStore(this.getMapId(),t,e).catch((function(e){f.vF.logPromiseFailed("FeatureInfoEventProcessor.propagateToStore in FeatureInfoLayerSet",e)}))}function _(e,t){this.resultSet[e].eventListenerEnabled=t,this.resultSet[e].features=[],S(E,this,T).call(this,this.resultSet[e])}function O(e){p.A.emitEvent(this,A(C,this),e)}},35982:(e,t,n)=>{"use strict";n.d(t,{E:()=>w});var r=n(36549),i=n(80085),o=n(95174),a=n(54111),s=n(42450),l=n(43021),c=n(44481),u=n.n(c),d=n(6335),h=n(32875),p=n(12264),f=n(48448),g=n(54211),m=n(58176),y=n(22557);function v(e,t,n){return t=(0,s.A)(t),(0,o.A)(e,b()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(b=function(){return!!e})()}var w=function(e){function t(e){var n;return(0,r.A)(this,t),n=v(this,t,[e]),e.mapViewer.onMapPointerMove(u()((function(e,t){n.queryLayers(t.pixel)}),750).bind(n)),n}return(0,l.A)(t,e),(0,i.A)(t,[{key:"onRegisterLayerCheck",value:function(e,n){return(0,a.A)((0,s.A)(t.prototype),"onRegisterLayerCheck",this).call(this,e,n)&&m.M.isQueryableType(e)&&!(e instanceof f.GB)&&!(e instanceof g.V)&&m.M.isSourceQueryable(e,n)}},{key:"onRegisterLayer",value:function(e,n){(0,a.A)((0,s.A)(t.prototype),"onRegisterLayer",this).call(this,e,n),this.resultSet[n].eventListenerEnabled=!0,this.resultSet[n].queryStatus="processed",this.resultSet[n].feature=void 0}},{key:"onPropagateToStore",value:function(e,t){}},{key:"onDeleteFromStore",value:function(e){}},{key:"queryLayers",value:function(e){var t=this;Object.keys(this.resultSet).forEach((function(n){if(t.resultSet[n].eventListenerEnabled){var r=t.layerApi.getGeoviewLayerHybrid(n);if(r&&(r instanceof h.qt||r instanceof p.Z)){if(!m.M.isStateQueryable(r,n))return;t.resultSet[n].feature=void 0,t.resultSet[n].queryStatus="init",y.d.setMapHoverFeatureInfo(t.getMapId(),t.resultSet[n].feature),m.M.queryLayerFeatures(t.resultSet[n],r,"at_pixel",e).then((function(e){if(null===e)t.resultSet[n].queryStatus="error",t.resultSet[n].feature=null;else{if(null!=e&&e.length){var r=e[0].nameField||Object.entries(e[0].fieldInfo)[0],i=e[0].fieldInfo[r];t.resultSet[n].feature={featureIcon:e[0].featureIcon,fieldInfo:i,geoviewLayerType:e[0].geoviewLayerType,nameField:r}}else t.resultSet[n].feature=void 0;t.resultSet[n].queryStatus="processed"}y.d.setMapHoverFeatureInfo(t.getMapId(),t.resultSet[n].feature)})).catch((function(e){d.vF.logPromiseFailed("queryLayerFeatures in queryLayers in hoverFeatureInfoLayerSet",e)}))}else t.resultSet[n].feature=null,t.resultSet[n].queryStatus="error",y.d.setMapHoverFeatureInfo(t.getMapId(),t.resultSet[n].feature)}}))}},{key:"enableHoverListener",value:function(e){var t=this;e?this.resultSet[e].eventListenerEnabled=!0:Object.keys(this.resultSet).forEach((function(e){t.resultSet[e].eventListenerEnabled=!0}))}},{key:"disableHoverListener",value:function(e){var t=this;e?this.resultSet[e].eventListenerEnabled=!1:Object.keys(this.resultSet).forEach((function(e){t.resultSet[e].eventListenerEnabled=!1}))}},{key:"isHoverListenerEnabled",value:function(e){var t,n,r=this;return e?!(null===(t=this.resultSet)||void 0===t||null===(t=t[e])||void 0===t||!t.eventListenerEnabled):(Object.keys(this.resultSet).forEach((function(e,t){0===t&&(n=r.resultSet[e].eventListenerEnabled),n!==r.resultSet[e].eventListenerEnabled&&(n=void 0)})),n)}}])}(m.M)},98792:(e,t,n)=>{"use strict";n.d(t,{C:()=>w});var r=n(36549),i=n(80085),o=n(95174),a=n(54111),s=n(42450),l=n(43021),c=n(23620),u=n(6335),d=n(58176),h=n(32875),p=n(12264);function f(e,t,n){return t=(0,s.A)(t),(0,o.A)(e,g()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g=function(){return!!e})()}function m(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function y(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var v=new WeakMap,b=new WeakSet,w=function(e){function t(e){var n,i,o;return(0,r.A)(this,t),n=f(this,t,[e]),m(i=n,o=b),o.add(i),function(e,t,n){m(e,t),t.set(e,n)}(n,v,void 0),function(e,t,n){e.set(y(e,t),n)}(v,n,y(b,n,C).bind(n)),n}return(0,l.A)(t,e),(0,i.A)(t,[{key:"onRegisterLayerConfigCheck",value:function(e){return!0}},{key:"onRegisterLayerCheck",value:function(e,t){return!0}},{key:"onRegisterLayerConfig",value:function(e){(0,a.A)((0,s.A)(t.prototype),"onRegisterLayerConfig",this).call(this,e),this.resultSet[e.layerPath].legendQueryStatus="init",y(b,this,A).call(this,e.layerPath,!1)}},{key:"onRegisterLayer",value:function(e,n){var r,i;(0,a.A)((0,s.A)(t.prototype),"onRegisterLayer",this).call(this,e,n),(e instanceof h.qt||e instanceof p.Z)&&e.onLayerStyleChanged((i=this,(r=v).get(y(r,i))))}},{key:"onProcessLayerStatusChanged",value:function(e,n){(0,a.A)((0,s.A)(t.prototype),"onProcessLayerStatusChanged",this).call(this,e,n),y(b,this,A).call(this,e.layerPath,!1)}},{key:"onPropagateToStore",value:function(e,t){y(b,this,x).call(this,e)}},{key:"onDeleteFromStore",value:function(e){c.K.deleteLayerFromLegendLayers(this.getMapId(),e)}}])}(d.M);function x(e){c.K.propagateLegendToStore(this.getMapId(),e)}function A(e,t){var n=this,r=this.layerApi.getGeoviewLayerHybrid(e),i=null==r?void 0:r.getLayerConfig(e);if(r&&i&&(r instanceof h.qt||r instanceof p.Z)&&"querying"!==this.resultSet[e].legendQueryStatus&&(y(b,this,S).call(this,i)||t)){this.resultSet[e].legendQueryStatus="querying",y(b,this,x).call(this,this.resultSet[e]);var o=r.queryLegend(e);null==o||o.then((function(t){t&&(n.resultSet[e].legendQueryStatus="queried",n.resultSet[e].data=t,y(b,n,x).call(n,n.resultSet[e]),n.onLayerSetUpdatedProcess(e))})).catch((function(e){u.vF.logPromiseFailed("legendPromise in #checkQueryLegend in LegendsLayerSet",e)}))}}function S(e){return!(null==e||!e.isGreaterThanOrEqualTo("processed"))&&"init"===this.resultSet[e.layerPath].legendQueryStatus}function C(e,t){y(b,this,A).call(this,t.layerPath,!0)}},35167:(e,t,n)=>{"use strict";n.d(t,{A:()=>It});var r=n(74131),i=n(77156),o=n(36549),a=n(80085),s=n(24515),l=n(53732),c=n.n(l),u=n(28841),d=n(91202),h=n(47877),p=n(50792),f=n(1372),g=n(83836),m=n(57512),y=n(91733),v=n(43964),b=n(49289),w=n(22557),x=n(10874),A=n(72459),S=n(6335),C=n(32875),E=n(9374),k=n(52),T=n(58399),_=n(48448),O=n(13796),P=n(62265),I=n(6976),M=n(77319),L=n(25547),R=n(97095),j=n(24478),F=n(85458),D=n(15783),N=n(35982),B=n(8813),z=n(98792),V=n(50607),$=n(65357),G=n(8243),U=n(75079),W=n(24046),q=n(86124),H=n(2210),Y=n(74501),K=n(97319),X=n(12264),Z=n(85129),J=n(11865),Q=n(95174),ee=n(54111),te=n(42450),ne=n(43021),re=n(31459),ie=n(95841),oe=n(16896),ae=n(2938),se=n(49821),le=n(46716);function ce(e,t,n){return t=(0,te.A)(t),(0,Q.A)(e,ue()?Reflect.construct(t,n||[],(0,te.A)(e).constructor):t.apply(e,n))}function ue(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ue=function(){return!!e})()}function de(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function he(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var pe=new WeakSet,fe=function(e){function t(e,n,r){var i;(0,o.A)(this,t),de(i=ce(this,t,[e,n,r]),pe);var a={source:n};return le.z.initOptionsWithInitialSettings(a,r),i.olLayer=new re.A(a),i}return(0,ne.A)(t,e),(0,a.A)(t,[{key:"getOLLayer",value:function(){return(0,ee.A)((0,te.A)(t.prototype),"getOLLayer",this).call(this)}},{key:"getOLSource",value:function(){return(0,ee.A)((0,te.A)(t.prototype),"getOLSource",this).call(this)}},{key:"getLayerConfig",value:function(){return(0,ee.A)((0,te.A)(t.prototype),"getLayerConfig",this).call(this)}},{key:"getLegend",value:(n=(0,r.A)(c().mark((function e(){var t,n,r,i,o,a,s;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.getLayerConfig(),e.prev=1,e.next=4,he(pe,this,ge).call(this,t);case 4:if(n=e.sent){e.next=8;break}return r={type:C.y6.IMAGE_STATIC,legend:null},e.abrupt("return",r);case 8:return e.next=10,(0,se.yt)(n);case 10:if(!(i=e.sent)){e.next=19;break}return(o=document.createElement("canvas")).width=i.width,o.height=i.height,o.getContext("2d").drawImage(i,0,0),a={type:C.y6.IMAGE_STATIC,legend:o},e.abrupt("return",a);case 19:return s={type:C.y6.IMAGE_STATIC,legend:null},e.abrupt("return",s);case 23:return e.prev=23,e.t0=e.catch(1),S.vF.logError("Error getting legend for ".concat(t.layerPath),e.t0),e.abrupt("return",null);case 27:case"end":return e.stop()}}),e,this,[[1,23]])}))),function(){return n.apply(this,arguments)})},{key:"getBounds",value:function(e){var t,n=this.getOLSource().getProjection()||void 0,r=null===(t=this.getOLSource())||void 0===t?void 0:t.getImageExtent();return r&&(r=this.getMapViewer().convertExtentFromProjToMapProj(r,n)),r}}]);var n}(le.z);function ge(e){var t=this;return new Promise((function(n){var r=(0,A.getLocalizedValue)(e.source.dataAccessPath,ae.K.getDisplayLanguage(t.getMapId()));r?(r=r.toLowerCase().startsWith("http:")?"https".concat(r.slice(4)):r,ie.A.get(r,{responseType:"blob",withCredentials:!1}).then((function(e){var t;n((t=(0,oe.KX)(e.data),new Promise((function(e){var n=new FileReader;n.onloadend=function(){return e(n.result)},n.onerror=function(){return e(null)},n.readAsDataURL(t)}))))})).catch((function(){return n(null)}))):n(null)}))}var me=n(54211),ye=n(50046);function ve(e,t,n){return t=(0,te.A)(t),(0,Q.A)(e,be()?Reflect.construct(t,n||[],(0,te.A)(e).constructor):t.apply(e,n))}function be(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(be=function(){return!!e})()}var we=function(e){function t(){return(0,o.A)(this,t),ve(this,t,arguments)}return(0,ne.A)(t,e),(0,a.A)(t,[{key:"getOLLayer",value:function(){return(0,ee.A)((0,te.A)(t.prototype),"getOLLayer",this).call(this)}}])}(X.Z),xe=n(27145);function Ae(e,t,n){return t=(0,te.A)(t),(0,Q.A)(e,Se()?Reflect.construct(t,n||[],(0,te.A)(e).constructor):t.apply(e,n))}function Se(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Se=function(){return!!e})()}var Ce=function(e){function t(e,n,r){var i;(0,o.A)(this,t),i=Ae(this,t,[e,n,r]);var a={source:n};return we.initOptionsWithInitialSettings(a,r),i.olLayer=new ye.A(a),i}return(0,ne.A)(t,e),(0,a.A)(t,[{key:"getOLLayer",value:function(){return(0,ee.A)((0,te.A)(t.prototype),"getOLLayer",this).call(this)}},{key:"getOLSource",value:function(){return(0,ee.A)((0,te.A)(t.prototype),"getOLSource",this).call(this)}},{key:"getLayerConfig",value:function(){return(0,ee.A)((0,te.A)(t.prototype),"getLayerConfig",this).call(this)}},{key:"getFieldType",value:function(e){return(0,xe.Vk)(this.getLayerConfig(),e,ae.K.getDisplayLanguage(this.getMapId()))}},{key:"getBounds",value:function(e){var t,n,r=this.getOLLayer(),i=(null===(t=this.getOLSource())||void 0===t?void 0:t.getProjection())||void 0,o=null==r||null===(n=r.getSource())||void 0===n||null===(n=n.getTileGrid())||void 0===n?void 0:n.getExtent();return o&&(o=this.getMapViewer().convertExtentFromProjToMapProj(o,i),o=(0,G.validateExtent)(o,this.getMapViewer().getProjection().getCode())),o}}])}(we),Ee=n(71852);function ke(e,t,n){return t=(0,te.A)(t),(0,Q.A)(e,Te()?Reflect.construct(t,n||[],(0,te.A)(e).constructor):t.apply(e,n))}function Te(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Te=function(){return!!e})()}var _e=function(e){function t(e,n,r){return(0,o.A)(this,t),ke(this,t,[e,n,r])}return(0,ne.A)(t,e),(0,a.A)(t,[{key:"getLayerConfig",value:function(){return(0,ee.A)((0,te.A)(t.prototype),"getLayerConfig",this).call(this)}},{key:"getFieldType",value:function(e){return(0,xe.UB)(this.getLayerConfig(),e)}},{key:"getFieldDomain",value:function(e){return(0,xe.k7)(this.getLayerConfig(),e)}}])}(Ee.p);function Oe(e,t,n){return t=(0,te.A)(t),(0,Q.A)(e,Pe()?Reflect.construct(t,n||[],(0,te.A)(e).constructor):t.apply(e,n))}function Pe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Pe=function(){return!!e})()}var Ie=function(e){function t(e,n,r){return(0,o.A)(this,t),Oe(this,t,[e,n,r])}return(0,ne.A)(t,e),(0,a.A)(t,[{key:"getLayerConfig",value:function(){return(0,ee.A)((0,te.A)(t.prototype),"getLayerConfig",this).call(this)}}])}(Ee.p);function Me(e,t,n){return t=(0,te.A)(t),(0,Q.A)(e,Le()?Reflect.construct(t,n||[],(0,te.A)(e).constructor):t.apply(e,n))}function Le(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Le=function(){return!!e})()}var Re=function(e){function t(e,n,r){return(0,o.A)(this,t),Me(this,t,[e,n,r])}return(0,ne.A)(t,e),(0,a.A)(t,[{key:"getLayerConfig",value:function(){return(0,ee.A)((0,te.A)(t.prototype),"getLayerConfig",this).call(this)}},{key:"getFieldType",value:function(e){var t=this.getLayerConfig().getLayerMetadata()[e].type.split(":").slice(-1)[0];return"date"===t?"date":["int","number"].includes(t)?"number":"string"}}])}(Ee.p),je=n(21425);function Fe(e,t,n){return t=(0,te.A)(t),(0,Q.A)(e,De()?Reflect.construct(t,n||[],(0,te.A)(e).constructor):t.apply(e,n))}function De(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(De=function(){return!!e})()}var Ne=function(e){function t(){return(0,o.A)(this,t),Fe(this,t,arguments)}return(0,ne.A)(t,e),(0,a.A)(t,[{key:"getOLLayer",value:function(){return(0,ee.A)((0,te.A)(t.prototype),"getOLLayer",this).call(this)}},{key:"getOLSource",value:function(){return(0,ee.A)((0,te.A)(t.prototype),"getOLSource",this).call(this)}},{key:"getBounds",value:function(e){var t,n=this.getOLSource().getProjection()||void 0,r=null===(t=this.getOLSource().getTileGrid())||void 0===t?void 0:t.getExtent();return r&&(r=this.getMapViewer().convertExtentFromProjToMapProj(r,n),r=(0,G.validateExtent)(r,this.getMapViewer().getProjection().getCode())),r}}])}(X.Z);function Be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ze(e,t,n){return t=(0,te.A)(t),(0,Q.A)(e,Ve()?Reflect.construct(t,n||[],(0,te.A)(e).constructor):t.apply(e,n))}function Ve(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ve=function(){return!!e})()}var $e=function(e){function t(e,n,r){var i;(0,o.A)(this,t),i=ze(this,t,[e,n,r]);var a={source:n};return Ne.initOptionsWithInitialSettings(a,r),i.olLayer=new je.A(function(e){for(var t=1;t0;return this.getGeoviewLayers().forEach((function(t){t.allLayerStatusAreGreaterThanOrEqualTo(e)||(null==n||n(t),r=!1)})),[r,Object.keys(gt(wt,this)).length]}},{key:"checkFeatureInfoLayerResultSetsReady",value:function(e){var t=this,n=!0;return this.getLayerEntryConfigs().forEach((function(r){var i;if(r instanceof K.d&&null!==(i=r.source)&&void 0!==i&&null!==(i=i.featureInfo)&&void 0!==i&&i.queryable){var o=t.featureInfoLayerSet.resultSet;Object.keys(o).includes(r.layerPath)||(null==e||e(r),n=!1)}})),n}},{key:"removeAllGeoviewLayers",value:function(){var e=this;this.getGeoviewLayersHybrid().forEach((function(t){e.removeLayerUsingPath(t.getGeoviewLayerId())}))}},{key:"removeLayerUsingPath",value:function(e){var t,n,r=this,i=e.split("/"),o=gt(bt,this)[e]?null===(t=gt(bt,this)[e].parentLayerConfig)||void 0===t?void 0:t.listOfLayerEntryConfig.findIndex((function(t){return t===gt(bt,r)[e]})):void 0,a=null===(n=gt(bt,this)[e])||void 0===n||null===(n=n.parentLayerConfig)||void 0===n?void 0:n.listOfLayerEntryConfig;if(this.getLayerEntryConfigIds().forEach((function(t){t.startsWith(e)&&(r.getOLLayer(t)&&r.mapViewer.map.removeLayer(r.getOLLayer(t)),r.unregisterLayerConfig(r.getLayerEntryConfig(t)),delete gt(bt,r)[e])})),a&&a.splice(o,1),gt(wt,this)[i[0]]){var s=gt(wt,this)[i[0]];if(1===i.length||2===i.length&&1===s.listOfLayerEntryConfig.length){var l;null===(l=s.olRootLayer)||void 0===l||l.dispose(),delete gt(wt,this)[i[0]];var c=this.mapViewer.mapFeaturesConfig;c.map.listOfGeoviewLayerConfig&&(c.map.listOfGeoviewLayerConfig=c.map.listOfGeoviewLayerConfig.filter((function(t){return t.geoviewLayerId!==e})))}else if(2===i.length){var u=s.listOfLayerEntryConfig.filter((function(e){return e.layerId!==i[1]}));s.listOfLayerEntryConfig=u}else for(var d=s.listOfLayerEntryConfig.find((function(e){return e.layerId===i[1]})),h=function(e){if(e===i.length-1&&d){var t=d.listOfLayerEntryConfig.filter((function(t){return t.layerId!==i[e]}));s.listOfLayerEntryConfig=t}else d&&(d=d.listOfLayerEntryConfig.find((function(t){return t.layerId===i[e]})))},p=1;p0&&void 0!==arguments[0]?arguments[0]:Object.keys(gt(bt,this)),n=[];return t.forEach((function(t){Object.keys(gt(bt,e)).filter((function(e){return e.startsWith(t)})).forEach((function(t){var r=dt.K.getLayerBounds(e.getMapId(),t);!n.length&&r?n=r:r&&(n=(0,G.getMinOrMaxExtents)(n,r))}))})),n}},{key:"refreshLayers",value:function(){var e=this;this.getGeoviewLayers().forEach((function(t){t.olRootLayer&&e.refreshBaseLayer(t.olRootLayer)}))}},{key:"refreshBaseLayer",value:function(e){var t=this,n=e.get("layers");n?n.forEach((function(e){t.refreshBaseLayer(e)})):e.get("source").refresh()}},{key:"setItemVisibility",value:function(e,t,n){var r,i,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=this.getGeoviewLayerHybrid(e);if(n&&!w.d.getMapVisibilityFromOrderedLayerInfo(this.getMapId(),e)&&w.d.setOrToggleMapLayerVisibility(this.getMapId(),e,!0),a instanceof C.qt||a instanceof X.Z)if("classBreaks"===(null==a||null===(r=a.getStyle(e))||void 0===r||null===(r=r[t.geometryType])||void 0===r?void 0:r.styleType)){var s=a.getStyle(e)[t.geometryType],l=s.classBreakStyleInfo.find((function(e){return e.label===t.name}));l?l.visible=n:s.defaultVisible=n}else if("uniqueValue"===(null==a||null===(i=a.getStyle(e))||void 0===i||null===(i=i[t.geometryType])||void 0===i?void 0:i.styleType)){var c=a.getStyle(e)[t.geometryType],u=c.uniqueValueStyleInfo.find((function(e){return e.label===t.name}));u?u.visible=n:c.defaultVisible=n}o&&dt.K.setItemVisibility(this.getMapId(),t,n),w.d.applyLayerFilters(this.getMapId(),e),yt(Pt,this,Jt).call(this,{layerPath:e,itemName:t.name,visibility:n})}},{key:"setAllLayersVisibility",value:function(e){var t=this;this.getLayerEntryConfigIds().forEach((function(n){t.setOrToggleLayerVisibility(n,e)}))}},{key:"setOrToggleLayerVisibility",value:function(e,t){var n=this,r=w.d.getMapOrderedLayerInfo(this.getMapId()),i=w.d.getMapVisibilityFromOrderedLayerInfo(this.getMapId(),e),o=void 0!==t?t:!i,a=r.filter((function(t){return t.layerPath.startsWith(e)})),s=e.split("/");s.pop();var l=s.join("/"),c=r.find((function(e){return e.layerPath===l}));if(a.forEach((function(e){var t;e&&(o!==i&&(e.visible=o,null===(t=n.getGeoviewLayerHybrid(e.layerPath))||void 0===t||t.setVisible(e.visible,e.layerPath),yt(Pt,n,Zt).call(n,{layerPath:e.layerPath,visibility:e.visible})))})),void 0!==c){var u,d=w.d.getMapVisibilityFromOrderedLayerInfo(this.getMapId(),l);if((!i||t)&&!1===d)if(c)c.visible=!0,null===(u=this.getGeoviewLayerHybrid(l))||void 0===u||u.setVisible(!0,l),yt(Pt,this,Zt).call(this,{layerPath:l,visibility:!0});r.filter((function(e){return e.layerPath.startsWith(l)&&e.layerPath!==l})).some((function(e){return!0===e.visible}))||(this.setOrToggleLayerVisibility(l,!1),yt(Pt,this,Zt).call(this,{layerPath:e,visibility:!1}))}w.d.setOrderedLayerInfoWithNoOrderChangeState(this.getMapId(),r)}},{key:"setLayerName",value:function(e,t){var n=this.getGeoviewLayerHybrid(e);n?n.setLayerName(e,(0,A.createLocalizedString)(t)):S.vF.logError("Unable to find layer ".concat(e))}},{key:"redefineFeatureFields",value:function(e,t,n){var r,i=gt(bt,this)[e];i?null!==(r=i.source)&&void 0!==r&&r.featureInfo&&!1!==i.source.featureInfo.queryable?i.source.featureInfo[n]=(0,A.createLocalizedString)(t):S.vF.logError("".concat(e," is not queryable")):S.vF.logError("Unable to find layer ".concat(e))}},{key:"calculateBounds",value:function(e){var t,n=this.getLayerEntryConfig(e),r=[];return n&&yt(Pt,this,Wt).call(this,n,r),r.forEach((function(e){t=(0,G.getExtentUnionMaybe)(t,e)})),t}},{key:"onLayerAdded",value:function(e){U.A.onEvent(gt(Ct,this),e)}},{key:"offLayerAdded",value:function(e){U.A.offEvent(gt(Ct,this),e)}},{key:"onLayerLoaded",value:function(e){U.A.onEvent(gt(Et,this),e)}},{key:"offLayerLoaded",value:function(e){U.A.offEvent(gt(Et,this),e)}},{key:"onLayerError",value:function(e){U.A.onEvent(gt(kt,this),e)}},{key:"offLayerError",value:function(e){U.A.offEvent(gt(kt,this),e)}},{key:"onLayerRemoved",value:function(e){U.A.onEvent(gt(Tt,this),e)}},{key:"offLayerRemoved",value:function(e){U.A.offEvent(gt(Tt,this),e)}},{key:"onLayerVisibilityToggled",value:function(e){U.A.onEvent(gt(_t,this),e)}},{key:"offLayerVisibilityToggled",value:function(e){U.A.offEvent(gt(_t,this),e)}},{key:"onLayerItemVisibilityToggled",value:function(e){U.A.onEvent(gt(Ot,this),e)}},{key:"offLayerItemVisibilityToggled",value:function(e){U.A.offEvent(gt(Ot,this),e)}}],[{key:"generateArrayOfLayerOrderInfo",value:function(e){var t=[],n=function e(n,r){var i,o,a,s,l,c,u,d,h,p=r.endsWith(n.layerId)?r:"".concat(r,"/").concat(n.layerId),f={layerPath:p,visible:!1!==(null===(i=n.initialSettings)||void 0===i||null===(i=i.states)||void 0===i?void 0:i.visible),queryable:void 0===(null===(o=n.source)||void 0===o||null===(o=o.featureInfo)||void 0===o?void 0:o.queryable)||(null===(a=n.source)||void 0===a||null===(a=a.featureInfo)||void 0===a?void 0:a.queryable),hoverable:void 0===(null===(s=n.initialSettings)||void 0===s||null===(s=s.states)||void 0===s?void 0:s.hoverable)||(null===(l=n.initialSettings)||void 0===l||null===(l=l.states)||void 0===l?void 0:l.hoverable),legendCollapsed:void 0!==(null===(c=n.initialSettings)||void 0===c||null===(c=c.states)||void 0===c?void 0:c.legendCollapsed)&&(null===(u=n.initialSettings)||void 0===u||null===(u=u.states)||void 0===u?void 0:u.legendCollapsed)};(t.push(f),null!==(d=n.listOfLayerEntryConfig)&&void 0!==d&&d.length)&&(null===(h=n.listOfLayerEntryConfig)||void 0===h||h.forEach((function(t){e(t,p)})))};if(e.geoviewLayerId)if(e.listOfLayerEntryConfig.length>1){var r,i,o,a="".concat(e.geoviewLayerId,"/").concat(e.geoviewLayerId),s={layerPath:a,legendCollapsed:void 0!==(null===(r=e.initialSettings)||void 0===r||null===(r=r.states)||void 0===r?void 0:r.legendCollapsed)&&(null===(i=e.initialSettings)||void 0===i||null===(i=i.states)||void 0===i?void 0:i.legendCollapsed),visible:!1!==(null===(o=e.initialSettings)||void 0===o||null===(o=o.states)||void 0===o?void 0:o.visible)};t.push(s),e.listOfLayerEntryConfig.forEach((function(e){n(e,a)}))}else{var l=e.listOfLayerEntryConfig[0];n(l,l.layerPath)}else n(e,e.layerPath);return t}}]);var t}();function Mt(e){var t=this;return e&&e.length>0?e.filter((function(n,r){for(var i=0;ii)return yt(Pt,t,Lt).call(t,n),!1;return!0})):[]}function Lt(e){W.FHQ.maps[this.getMapId()].notifications.showError("validation.layer.usedtwice",[e.geoviewLayerId,this.getMapId()]),S.vF.logError("Duplicate use of geoview layer identifier ".concat(e.geoviewLayerId," on map ").concat(this.getMapId()))}function Rt(e){var t,n=this;if((0,k.vM)(e)?t=new k.kx(this.getMapId(),e):(0,T.P0)(e)?t=new T.OH(this.getMapId(),e):(0,D.WW)(e)?t=new D.pf(this.getMapId(),e):(0,_.Xx)(e)?t=new _.GB(this.getMapId(),e):(0,O.IU)(e)?t=new O.zt(this.getMapId(),e):(0,P.$f)(e)?t=new P.Uw(this.getMapId(),e):(0,I.yl)(e)?t=new I.$x(this.getMapId(),e):(0,M.HO)(e)?t=new M.S6(this.getMapId(),e):(0,L.OV)(e)?t=new L.dS(this.getMapId(),e):(0,R.dr)(e)?t=new R.ke(this.getMapId(),e):(0,j.ik)(e)?t=new j.nd(this.getMapId(),e):(0,F.c9)(e)&&(t=new F.RZ(this.getMapId(),e)),t){gt(wt,this)[t.geoviewLayerId]=t,t.getAllLayerEntryConfigs().forEach((function(e){S.vF.logDebug("Layer entry config being registered for ".concat(e.layerPath," on map ").concat(n.getMapId()),e),n.registerLayerConfigInit(e),yt(Pt,n,qt).call(n,e)})),t.onLayerEntryProcessed((function(e,t){S.vF.logDebug("Layer entry config processed for ".concat(t.config.layerPath," on map ").concat(n.getMapId()),t.config)})),t.onLayerRequesting((function(e,t){if(S.vF.logDebug("Requesting layer for ".concat(t.config.layerPath," on map ").concat(n.getMapId()),t.config),Ze.LAYERS_HYBRID_MODE){var r=yt(Pt,n,jt).call(n,n.getMapId(),e,t.source,t.config,t.extraConfig);if(r)return r.getOLLayer()}})),t.onLayerCreation((function(e,t){S.vF.logDebug("OpenLayer created for ".concat(t.config.layerPath," on map ").concat(n.getMapId()),t.config),gt(xt,n)[t.config.layerPath]=t.layer,Ze.LAYERS_HYBRID_MODE&&t.layer instanceof m.A&&t.config instanceof ht.x&&yt(Pt,n,Ft).call(n,n.getMapId(),t.layer,t.config)}));var r=new Promise((function(e,r){t.createGeoViewLayers().then((function(){t.onIndividualLayerLoaded((function(e,t){S.vF.logDebug("".concat(t.layerPath," loaded on map ").concat(n.getMapId())),yt(Pt,n,Yt).call(n,{layer:e,layerPath:t.layerPath})})),yt(Pt,n,Dt).call(n,t),e(),yt(Pt,n,Ht).call(n,{layer:t})})).catch((function(e){r(e)}))}));return{layer:t,promiseLayer:r}}}function jt(e,t,n,r,i){var o,a,s,l,c;if(Ze.LAYERS_HYBRID_MODE&&(o=t.metadata,a=t.getLayerMetadata(r.layerPath),s=t.getTemporalDimension(r.layerPath),l=t.getStyle(r.layerPath),r instanceof K.d&&(o&&r.setServiceMetadata(o),a&&r.setLayerMetadata(a))),n instanceof u.A&&r instanceof et.q?c=new Z.Y(e,n,r):n instanceof u.A&&r instanceof it.Q?c=new J.o(e,n,r):n instanceof f.A&&r instanceof ot.V?c=new fe(e,n,r):n instanceof d.A&&r instanceof rt.Q?c=new me.V(e,n,r,i.layerCapabilities):n instanceof g.A&&r instanceof Qe.h?c=new _e(e,n,r):n instanceof g.A&&r instanceof tt.d?c=new Ie(e,n,r):n instanceof g.A&&r instanceof nt.j?c=new Re(e,n,r):n instanceof g.A&&r instanceof lt.q?c=new We(e,n,r):n instanceof g.A&&r instanceof ct.A?c=new Ye(e,n,r):n instanceof h.A&&r instanceof at.E?c=new $e(e,n,r):n instanceof p.A&&r instanceof st.m&&(c=new Ce(e,n,r)),c)return gt(At,this)[r.layerPath]=c,s&&c.setTemporalDimension(s),l&&c.setStyle(r.layerPath,l),c.init(),c;S.vF.logError("Unsupported GVLayer for ".concat(r.layerPath))}function Ft(e,t,n){var r=new Je(e,t,n);return gt(At,this)[n.layerPath]=r,r}function Dt(e){var t=this;0!==e.layerLoadError.length&&e.layerLoadError.forEach((function(e){var n=e.layer,r=e.loggerMessage;S.vF.logError(r),W.FHQ.maps[t.getMapId()].notifications.showError("validation.layer.loadfailed",[n,t.getMapId()]),yt(Pt,t,Kt).call(t,{layerPath:n,errorMessage:r})})),e.allLayerStatusAreGreaterThanOrEqualTo("error")||this.mapViewer.map.addLayer(e.olRootLayer),S.vF.logInfo("GeoView Layer ".concat(e.geoviewLayerId," added to map ").concat(this.getMapId()),e),w.d.setLayerZIndices(this.getMapId())}function Nt(e){if(-1===w.d.getMapIndexFromOrderedLayerInfo(this.getMapId(),e.layerPath)){var t=e.layerPath.split(".")[1];if(-1!==w.d.getMapIndexFromOrderedLayerInfo(this.getMapId(),t))w.d.replaceOrderedLayerInfo(this.getMapId(),e,t);else if(e.parentLayerConfig){var n=e.layerPath.split("/");n.pop();var r=n.join("/"),i=w.d.getMapIndexFromOrderedLayerInfo(this.getMapId(),r),o=w.d.getMapOrderedLayerInfo(this.getMapId()).filter((function(e){return e.layerPath.startsWith(r)})).length;-1!==i?w.d.addOrderedLayerInfo(this.getMapId(),e,i+o):w.d.addOrderedLayerInfo(this.getMapId(),e.parentLayerConfig)}else w.d.addOrderedLayerInfo(this.getMapId(),e)}}function Bt(e){return zt.apply(this,arguments)}function zt(){return(zt=(0,r.A)(c().mark((function e(t){var n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,A.whenThisThen)((function(){return t.isGreaterThanOrEqualTo("processed")}),Qt._);case 3:((n=this.getGeoviewLayerHybrid(t.layerPath))instanceof C.qt||n instanceof X.Z)&&n.getIsTimeAware()&&q.t.checkInitTimeSliderLayerAndApplyFilters(this.getMapId(),t),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}}),e,this,[[0,7]])})))).apply(this,arguments)}function Vt(e){w.d.removeOrderedLayerInfo(this.getMapId(),e.layerPath)}function $t(e){q.t.removeTimeSliderLayer(this.getMapId(),e.layerPath)}function Gt(e){H.U.removeGeochartChart(this.getMapId(),e.layerPath)}function Ut(e){Y.Z.removeLayerPath(this.getMapId(),e.layerPath)}function Wt(e,t){var n=this;if((0,E.KD)(e))e.listOfLayerEntryConfig.forEach((function(e){yt(Pt,n,Wt).call(n,e,t)}));else{var r=this.getGeoviewLayerHybrid(e.layerPath).getBounds(e.layerPath);r&&t.push(r)}}function qt(e){e.layerFilter&&w.d.addInitialFilter(this.getMapId(),e.layerPath,e.layerFilter)}function Ht(e){U.A.emitEvent(this,gt(Ct,this),e)}function Yt(e){U.A.emitEvent(this,gt(Et,this),e)}function Kt(e){U.A.emitEvent(this,gt(kt,this),e)}function Xt(e){U.A.emitEvent(this,gt(Tt,this),e)}function Zt(e){U.A.emitEvent(this,gt(_t,this),e)}function Jt(e){U.A.emitEvent(this,gt(Ot,this),e)}Ze=It;var Qt={_:2e4};(0,s.A)(It,"LAYERS_HYBRID_MODE",!1)},91733:(e,t,n)=>{"use strict";n.d(t,{h:()=>V});var r=n(74131),i=n(36549),o=n(80085),a=n(53732),s=n.n(a),l=n(24515),c=n(95841),u=n(9374),d=n(32875),h=n(72459),p=n(6335),f=n(56408),g=n(54855),m=n(12015),y=n(88683),v=n(43558),b=n(38359),w=n(9353),x=n(96620),A=n(12005),S=n(3153),C=n(35101);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t0){var o=r.layers[0];if(o){var a=o.layerType,s=o.layerEntries,l=o.name,c=o.url,E=o.id,k=o.serverType,T=o.isTimeAware,_=c.indexOf("FeatureServer")>-1;if(a!==d.y6.ESRI_DYNAMIC||_)if(_){var O=c.split("/").slice(0,-1).join("/"),P=c.split("/").pop(),I={geoviewLayerId:"".concat(E),geoviewLayerName:(0,h.createLocalizedString)(l),metadataAccessPath:(0,h.createLocalizedString)(O),geoviewLayerType:d.y6.ESRI_FEATURE,isTimeAware:T,listOfLayerEntryConfig:[]};I.listOfLayerEntryConfig=[new v.h({geoviewLayerConfig:I,schemaTag:d.y6.ESRI_FEATURE,entryType:u.hJ.VECTOR,layerId:P,source:{format:"EsriJSON",dataAccessPath:(0,h.createLocalizedString)(O)}})],n.push(I)}else if(a===d.y6.ESRI_FEATURE){var M={geoviewLayerId:"".concat(E),geoviewLayerName:(0,h.createLocalizedString)(l),metadataAccessPath:(0,h.createLocalizedString)(c),geoviewLayerType:d.y6.ESRI_FEATURE,isTimeAware:T,listOfLayerEntryConfig:[]};M.listOfLayerEntryConfig=s.map((function(e){return new v.h({geoviewLayerConfig:M,schemaTag:d.y6.ESRI_FEATURE,entryType:u.hJ.VECTOR,layerId:"".concat(e.index),source:{format:"EsriJSON",dataAccessPath:(0,h.createLocalizedString)(c)}})})),n.push(M)}else if(a===d.y6.WMS){var L={geoviewLayerId:"".concat(E),geoviewLayerName:(0,h.createLocalizedString)(l),metadataAccessPath:(0,h.createLocalizedString)(c),geoviewLayerType:d.y6.WMS,isTimeAware:T,listOfLayerEntryConfig:[]};L.listOfLayerEntryConfig=s.map((function(e){return new A.Q({geoviewLayerConfig:L,schemaTag:d.y6.WMS,entryType:u.hJ.RASTER_IMAGE,layerId:"".concat(e.id),source:{dataAccessPath:(0,h.createLocalizedString)(c),serverType:void 0===k?"mapserver":k}})})),n.push(L)}else if(a===d.y6.WFS){var R={geoviewLayerId:"".concat(E),geoviewLayerName:(0,h.createLocalizedString)(l),metadataAccessPath:(0,h.createLocalizedString)(c),geoviewLayerType:d.y6.WFS,isTimeAware:T,listOfLayerEntryConfig:[]};R.listOfLayerEntryConfig=s.map((function(e){return new f.q({geoviewLayerConfig:R,schemaTag:d.y6.WFS,entryType:u.hJ.VECTOR,layerId:"".concat(e.id),source:{format:"WFS",strategy:"all",dataAccessPath:(0,h.createLocalizedString)(c)}})})),n.push(R)}else if(a===d.y6.OGC_FEATURE){var j={geoviewLayerId:"".concat(E),geoviewLayerName:(0,h.createLocalizedString)(l),metadataAccessPath:(0,h.createLocalizedString)(c),geoviewLayerType:d.y6.OGC_FEATURE,isTimeAware:T,listOfLayerEntryConfig:[]};j.listOfLayerEntryConfig=s.map((function(e){return new g.j({geoviewLayerConfig:j,schemaTag:d.y6.OGC_FEATURE,entryType:u.hJ.VECTOR,layerId:"".concat(e.id),source:{format:"featureAPI",dataAccessPath:(0,h.createLocalizedString)(c)}})})),n.push(j)}else if(a===d.y6.GEOJSON){var F={geoviewLayerId:"".concat(E),geoviewLayerName:(0,h.createLocalizedString)(l),metadataAccessPath:(0,h.createLocalizedString)(c),geoviewLayerType:d.y6.GEOJSON,isTimeAware:T,listOfLayerEntryConfig:[]};F.listOfLayerEntryConfig=s.map((function(e){return new y.d({geoviewLayerConfig:F,schemaTag:d.y6.GEOJSON,entryType:u.hJ.VECTOR,layerId:"".concat(e.id),source:{format:"GeoJSON",dataAccessPath:(0,h.createLocalizedString)(c)}})})),n.push(F)}else if(a===d.y6.XYZ_TILES){var D={geoviewLayerId:"".concat(E),geoviewLayerName:(0,h.createLocalizedString)(l),metadataAccessPath:(0,h.createLocalizedString)(c),geoviewLayerType:d.y6.XYZ_TILES,isTimeAware:T,listOfLayerEntryConfig:[]};D.listOfLayerEntryConfig=s.map((function(e){return new w.m({geoviewLayerConfig:D,schemaTag:d.y6.XYZ_TILES,entryType:u.hJ.RASTER_TILE,layerId:"".concat(e.id),source:{dataAccessPath:(0,h.createLocalizedString)(c)}})})),n.push(D)}else if(a===d.y6.VECTOR_TILES){var N={geoviewLayerId:"".concat(E),geoviewLayerName:(0,h.createLocalizedString)(l),metadataAccessPath:(0,h.createLocalizedString)(c),geoviewLayerType:d.y6.VECTOR_TILES,isTimeAware:T,listOfLayerEntryConfig:[]};N.listOfLayerEntryConfig=s.map((function(e){return new m.E({schemaTag:d.y6.VECTOR_TILES,entryType:u.hJ.RASTER_TILE,layerId:"".concat(e.id),tileGrid:e.tileGrid,source:{dataAccessPath:(0,h.createLocalizedString)(c)}})})),n.push(N)}else if(a===d.y6.GEOPACKAGE){var B={geoviewLayerId:"".concat(E),geoviewLayerName:(0,h.createLocalizedString)(l),geoviewLayerType:d.y6.GEOPACKAGE,isTimeAware:T,listOfLayerEntryConfig:[]};B.listOfLayerEntryConfig=s.map((function(e){return new b.X({geoviewLayerConfig:B,schemaTag:d.y6.GEOPACKAGE,entryType:u.hJ.VECTOR,layerId:"".concat(e.id),source:{format:"GeoPackage",dataAccessPath:(0,h.createLocalizedString)(c)}})})),n.push(B)}else if(a===d.y6.IMAGE_STATIC){var z={geoviewLayerId:"".concat(E),geoviewLayerName:(0,h.createLocalizedString)(l),metadataAccessPath:(0,h.createLocalizedString)(c),geoviewLayerType:d.y6.IMAGE_STATIC,isTimeAware:T,listOfLayerEntryConfig:[]};z.listOfLayerEntryConfig=s.map((function(e){return new x.V({geoviewLayerConfig:z,schemaTag:d.y6.IMAGE_STATIC,entryType:u.hJ.RASTER_IMAGE,layerId:"".concat(e.id),source:{dataAccessPath:(0,h.createLocalizedString)(c)}})})),n.push(z)}else if(a===d.y6.ESRI_IMAGE){var V={geoviewLayerId:"".concat(E),geoviewLayerName:(0,h.createLocalizedString)(l),metadataAccessPath:(0,h.createLocalizedString)(c),geoviewLayerType:d.y6.ESRI_IMAGE,isTimeAware:T,listOfLayerEntryConfig:[]};V.listOfLayerEntryConfig=[new S.Q({geoviewLayerConfig:V,schemaTag:d.y6.ESRI_IMAGE,entryType:u.hJ.RASTER_IMAGE,layerId:c.split("/").slice(-2,-1)[0]})],n.push(V)}else p.vF.logWarning("Layer type ".concat(a," not supported"));else{var $={geoviewLayerId:"".concat(E),geoviewLayerName:(0,h.createLocalizedString)(l),metadataAccessPath:(0,h.createLocalizedString)(c),geoviewLayerType:d.y6.ESRI_DYNAMIC,isTimeAware:T,listOfLayerEntryConfig:[]};$.listOfLayerEntryConfig=s.map((function(e){return new C.q({geoviewLayerConfig:$,schemaTag:d.y6.ESRI_DYNAMIC,entryType:u.hJ.RASTER_IMAGE,layerId:"".concat(e.index),source:{dataAccessPath:(0,h.createLocalizedString)(c)}})})),n.push($)}}}},i=0;i{"use strict";n.d(t,{H:()=>K});var r=n(36549),i=n(80085),o=n(24515),a=n(34209),s=n(26076),l=n(83836),c=n(71522),u=n(57734),d=n(3099),h=n(69563),p=n(75603),f=n(92548),g=n(22727),m=n(62400),y=n(89049),v=n(38492),b=n(42153),w=n(66569),x=n(6335),A=n(66410),S=n(84044),C=n(8243),E=n(22557),k=n(24046);function T(e,t,n){_(e,t),t.set(e,n)}function _(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function O(e,t){return e.get(I(e,t))}function P(e,t,n){return e.set(I(e,t),n),n}function I(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var M=new WeakMap,L=new WeakMap,R=new WeakSet,j=function(){return(0,i.A)((function e(t,n){var i,a;(0,r.A)(this,e),_(i=this,a=R),a.add(i),T(this,M,void 0),(0,o.A)(this,"mapProjection",void 0),(0,o.A)(this,"mapId",void 0),T(this,L,[]),this.mapProjection=t.map.getView().getProjection().getCode(),this.mapId=t.mapId,P(M,this,n),Object.keys(E.d.getPointMarkers(this.mapId)).length&&this.updatePointMarkers(E.d.getPointMarkers(this.mapId))}),[{key:"updatePointMarkers",value:function(e){var t=this;I(R,this,F).call(this),Object.keys(e).forEach((function(n){e[n].forEach((function(e){var r=new u.Ay({image:new A.A({anchor:[.5,1],src:"".concat((0,k.Mhq)(),"/img/marker-icon36.png"),color:e.color||"green",opacity:e.opacity||1,scale:.25})}),i=new p.A({geometry:new v.A(S.M.transformPoints([e.coordinate],"EPSG:".concat(e.projectionCode||4326),t.mapProjection)[0])}),o="".concat(n,"-").concat(e.id);i.setId(o),i.setStyle(r),O(M,t).highlighSource.addFeature(i),O(L,t).push(o)}))}))}},{key:"addPointMarkers",value:function(e,t){E.d.addPointMarkers(this.mapId,e,t)}},{key:"removePointMarkersOrGroup",value:function(e,t){E.d.removePointMarkersOrGroup(this.mapId,e,t)}},{key:"zoomToPointMarkerGroup",value:function(e){var t=E.d.getPointMarkers(this.mapId)[e];if(t){var n=t.map((function(e){return e.id}));n.length?this.zoomToPointMarkers(e,n):x.vF.logError("Point marker group ".concat(e," has no markers."))}else x.vF.logError("Point marker group ".concat(e," does not exist."))}},{key:"zoomToPointMarkers",value:function(e,t){var n=t.map((function(t){return"".concat(e,"-").concat(t)})),r=this.getExtentFromMarkerIds(n);r?E.d.zoomToExtent(this.mapId,r).catch((function(e){x.vF.logPromiseFailed("zoomToExtent in zoomToPointMarkersOrGroup in MapEventProcessor",e)})):x.vF.logError("Point marker group ".concat(e," has no markers or does not exist, or point marker ids ").concat(t," are not correct."))}},{key:"getExtentFromMarkerIds",value:function(e){var t=this;if(e.length){var n=e.map((function(e){var n=O(M,t).highlighSource.getFeatureById(e);if(n){var r=(null==n?void 0:n.getGeometry()).getCoordinates();return[r[0],r[1],r[0],r[1]]}})).filter((function(e){return e}));if(1===n.length)return n[0];if(n.length){for(var r=n[0],i=1;i=0;n--)(z(q,this)[n]===e||z(q,this)[n].startsWith("".concat(e,"-")))&&(this.highlighSource.getFeatureById(z(q,this)[n])&&this.highlighSource.removeFeature(this.highlighSource.getFeatureById(z(q,this)[n])),z(q,this).splice(n,1))}},{key:"highlightFeature",value:function(e){var t=e.geometry.getGeometry();if(t instanceof f.Ay){var n=e.geometry.getGeometry(),r=new p.A(n),i=(0,a.v6)(e.geometry);V(Y,this,X).call(this,r,i)}else if(t instanceof g.A||t instanceof m.A){var o,s=null===(o=e.geometry)||void 0===o?void 0:o.getGeometry(),l=new p.A(s),c=(0,a.v6)(e.geometry);V(Y,this,X).call(this,l,c)}else if(t instanceof y.A)for(var x=e.featureIcon,A=x.height,S=x.width,C=Math.min(A,S)/2-2<7?7:Math.min(A,S)/2-2,E=t.getCoordinates(),k=(0,a.v6)(e.geometry),T=0;T1&&void 0!==arguments[1]&&arguments[1];this.highlighSource.getFeatureById("geoLocatorFeature")&&(this.highlighSource.removeFeature(this.highlighSource.getFeatureById("geoLocatorFeature")),clearTimeout(z(H,this)));var r=(0,f.VY)(e),i=new p.A(r),o=z(W,this);i.setStyle(o),i.setId("geoLocatorFeature"),this.highlighSource.addFeature(i),n||B(H,this,setTimeout((function(){return t.highlighSource.removeFeature(t.highlighSource.getFeatureById("geoLocatorFeature"))}),5e3))}},{key:"removeBBoxHighlight",value:function(){this.highlighSource.removeFeature(this.highlighSource.getFeatureById("geoLocatorFeature"))}}])}();function X(e,t){e.setStyle(z(U,this)),e.setId(t),z(q,this).push(t),this.highlighSource.addFeature(e)}},9374:(e,t,n)=>{"use strict";n.d(t,{$h:()=>g,C:()=>u,I0:()=>s,IG:()=>f,KD:()=>a,NF:()=>c,cw:()=>d,hJ:()=>i,hc:()=>h,s0:()=>p,si:()=>l,wB:()=>o});var r=n(32875),i={VECTOR:"vector",VECTOR_TILE:"vector-tile",RASTER_TILE:"raster-tile",RASTER_IMAGE:"raster-image",GROUP:"group",GEOCORE:"geoCore"},o=function(e){switch(e){case r.y6.CSV:case r.y6.GEOJSON:case r.y6.GEOPACKAGE:case r.y6.OGC_FEATURE:case r.y6.WFS:case r.y6.ESRI_FEATURE:return i.VECTOR;case r.y6.IMAGE_STATIC:case r.y6.ESRI_DYNAMIC:case r.y6.ESRI_IMAGE:case r.y6.WMS:return i.RASTER_IMAGE;case r.y6.XYZ_TILES:case r.y6.VECTOR_TILES:return i.RASTER_TILE;default:throw new Error("Unsupported layer type ".concat(e," to convert to layer entry"))}},a=function(e){return(null==e?void 0:e.entryType)===i.GROUP},s=function(e){return e.geoviewLayerType===i.GEOCORE},l=function(e){if(s(e))return{geoviewLayerId:e.geoviewLayerId,geoviewLayerName:e.geoviewLayerName,geoviewLayerType:e.geoviewLayerType};for(var t=e,n={geoviewLayerId:t.geoviewLayerId,geoviewLayerName:t.geoviewLayerName,geoviewLayerType:t.geoviewLayerType,metadataAccessPath:t.metadataAccessPath,serviceDateFormat:t.serviceDateFormat,externalDateFormat:t.externalDateFormat,initialSettings:t.initialSettings,isTimeAware:t.isTimeAware,listOfLayerEntryConfig:[]},r=0;r<((null===(i=t.listOfLayerEntryConfig)||void 0===i?void 0:i.length)||0);r++){var i;if("serialize"in t.listOfLayerEntryConfig[r]){var o=t.listOfLayerEntryConfig[r].serialize();n.listOfLayerEntryConfig.push(o)}else n.listOfLayerEntryConfig.push(t.listOfLayerEntryConfig[r])}return n},c=function(e){return"lineString"===(null==e?void 0:e.type)},u=function(e){return"filledPolygon"===(null==e?void 0:e.type)},d=function(e){return"simpleSymbol"===(null==e?void 0:e.type)},h=function(e){return"iconSymbol"===(null==e?void 0:e.type)},p=function(e){return"simple"===(null==e?void 0:e.styleType)},f=function(e){return"uniqueValue"===(null==e?void 0:e.styleType)},g=function(e){return"classBreaks"===(null==e?void 0:e.styleType)}},19043:(e,t,n)=>{"use strict";n.d(t,{F:()=>ut});var r=n(888),i=n(74131),o=n(36549),a=n(80085),s=n(24515),l=n(44481),c=n.n(l),u=n(53732),d=n.n(u),h=n(46784),p=n(11502),f=n(86458),g=n(82997),m=n(37745),y=n(38249),v=n(35167),b=n(84044),w=n(24046),x=n(5805),A=n(59160),S=n(45992),C=n(34724),E=n(77156),k=n(2210),T=n(23620),_=n(22557),O=n(74501),P=n(86124),I=n(6335),M=n(75079);function L(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function R(e,t){return e.get(j(e,t))}function j(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var F=new WeakMap,D=new WeakSet,N=function(){return(0,a.A)((function e(t){var n,r;(0,o.A)(this,e),L(n=this,r=D),r.add(n),(0,s.A)(this,"mapId",void 0),function(e,t,n){L(e,t),t.set(e,n)}(this,F,[]),this.mapId=t}),[{key:"getLayerPanelState",value:function(e){return T.K.getLayerPanelState(this.mapId,e)}},{key:"getLegendLayerInfo",value:function(e){return T.K.getLegendLayerInfo(this.mapId,e)}},{key:"getLegendCollapsedState",value:function(e){return _.d.getMapLegendCollapsedFromOrderedLayerInfo(this.mapId,e)}},{key:"getPluginState",value:function(e,t){if("geochart"===e){if(["geochartChartsConfig","layerDataArray","layerDataArrayBatchLayerPathBypass","selectedLayerPath"].includes(t))return k.U.getSingleGeochartState(this.mapId,t);I.vF.logError("".concat(t," not available from geochart"))}if("swiper"===e){if("layerPaths"===t)return O.Z.getLayerPaths(this.mapId);I.vF.logError("".concat(t," not available from swiper"))}if("time-slider"===e){if("timeSliderLayers"===t)return P.t.getTimeSliderLayers(this.mapId);I.vF.logError("".concat(t," not available from time slider"))}}},{key:"setLegendCollapsedState",value:function(e,t){_.d.setMapLegendCollapsed(this.mapId,e,t)}},{key:"setSelectedLayersTabLayer",value:function(e){T.K.setSelectedLayersTabLayer(this.mapId,e)}},{key:"reorderLayers",value:function(e,t,n){for(var r=n<0?-1:1,i=Math.abs(n),o=(0,E.A)(_.d.getMapOrderedLayerInfo(this.mapId)),a=-1,s=0;s0;)(u+=r)===o.length||0===u?i=0:o[u].layerPath.split("/").length===d&&i--;o.splice.apply(o,[u,0].concat((0,E.A)(c))),_.d.setMapOrderedLayerInfo(e,o),j(D,this,B).call(this,{orderedLayers:o})}},{key:"onLayersReordered",value:function(e){M.A.onEvent(R(F,this),e)}},{key:"offLayersReordered",value:function(e){M.A.offEvent(R(F,this),e)}}])}();function B(e){M.A.emitEvent(this,R(F,this),e)}var z=n(95174),V=n(54111),$=n(42450),G=n(43021),U=n(26293),W=n(62681),q=n(64895),H=n(75603),Y=n(83758),K=n(26076),X=n(70380),Z=n(9748),J=n(57734),Q=n(61016),ee=n(34209),te=n(11030);const ne="select";class re extends q.Ay{constructor(e,t,n,r){super(e),this.selected=t,this.deselected=n,this.mapBrowserEvent=r}}const ie={};class oe extends Y.Ay{constructor(e){let t;if(super(),this.on,this.once,this.un,e=e||{},this.boundAddFeature_=this.addFeature_.bind(this),this.boundRemoveFeature_=this.removeFeature_.bind(this),this.condition_=e.condition?e.condition:te.t5,this.addCondition_=e.addCondition?e.addCondition:te.Zm,this.removeCondition_=e.removeCondition?e.removeCondition:te.Zm,this.toggleCondition_=e.toggleCondition?e.toggleCondition:te.Kg,this.multi_=!!e.multi&&e.multi,this.filter_=e.filter?e.filter:X.rT,this.hitTolerance_=e.hitTolerance?e.hitTolerance:0,this.style_=void 0!==e.style?e.style:function(){const e=(0,J.mY)();return(0,Q.X$)(e.Polygon,e.LineString),(0,Q.X$)(e.GeometryCollection,e.LineString),function(t){return t.getGeometry()?e[t.getGeometry().getType()]:null}}(),this.features_=e.features||new U.A,e.layers)if("function"==typeof e.layers)t=e.layers;else{const n=e.layers;t=function(e){return n.includes(e)}}else t=X.rT;this.layerFilter_=t,this.featureLayerAssociation_={}}addFeatureLayerAssociation_(e,t){this.featureLayerAssociation_[(0,ee.v6)(e)]=t}getFeatures(){return this.features_}getHitTolerance(){return this.hitTolerance_}getLayer(e){return this.featureLayerAssociation_[(0,ee.v6)(e)]}setHitTolerance(e){this.hitTolerance_=e}setMap(e){this.getMap()&&this.style_&&this.features_.forEach(this.restorePreviousStyle_.bind(this)),super.setMap(e),e?(this.features_.addEventListener(W.A.ADD,this.boundAddFeature_),this.features_.addEventListener(W.A.REMOVE,this.boundRemoveFeature_),this.style_&&this.features_.forEach(this.applySelectedStyle_.bind(this))):(this.features_.removeEventListener(W.A.ADD,this.boundAddFeature_),this.features_.removeEventListener(W.A.REMOVE,this.boundRemoveFeature_))}addFeature_(e){const t=e.element;if(this.style_&&this.applySelectedStyle_(t),!this.getLayer(t)){const e=this.getMap().getAllLayers().find((function(e){if(e instanceof K.A&&e.getSource()&&e.getSource().hasFeature(t))return e}));e&&this.addFeatureLayerAssociation_(t,e)}}removeFeature_(e){this.style_&&this.restorePreviousStyle_(e.element)}getStyle(){return this.style_}applySelectedStyle_(e){const t=(0,ee.v6)(e);t in ie||(ie[t]=e.getStyle()),e.setStyle(this.style_)}restorePreviousStyle_(e){const t=this.getMap().getInteractions().getArray();for(let n=t.length-1;n>=0;--n){const r=t[n];if(r!==this&&r instanceof oe&&r.getStyle()&&-1!==r.getFeatures().getArray().lastIndexOf(e))return void e.setStyle(r.getStyle())}const n=(0,ee.v6)(e);e.setStyle(ie[n]),delete ie[n]}removeFeatureLayerAssociation_(e){delete this.featureLayerAssociation_[(0,ee.v6)(e)]}handleEvent(e){if(!this.condition_(e))return!0;const t=this.addCondition_(e),n=this.removeCondition_(e),r=this.toggleCondition_(e),i=!t&&!n&&!r,o=e.map,a=this.getFeatures(),s=[],l=[];if(i){(0,Z.I)(this.featureLayerAssociation_),o.forEachFeatureAtPixel(e.pixel,((e,t)=>{if(e instanceof H.A&&this.filter_(e,t))return this.addFeatureLayerAssociation_(e,t),l.push(e),!this.multi_}),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_});for(let e=a.getLength()-1;e>=0;--e){const t=a.item(e),n=l.indexOf(t);n>-1?l.splice(n,1):(a.remove(t),s.push(t))}0!==l.length&&a.extend(l)}else{o.forEachFeatureAtPixel(e.pixel,((e,i)=>{if(e instanceof H.A&&this.filter_(e,i))return!t&&!r||a.getArray().includes(e)?(n||r)&&a.getArray().includes(e)&&(s.push(e),this.removeFeatureLayerAssociation_(e)):(this.addFeatureLayerAssociation_(e,i),l.push(e)),!this.multi_}),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_});for(let e=s.length-1;e>=0;--e)a.remove(s[e]);a.extend(l)}return(l.length>0||s.length>0)&&this.dispatchEvent(new re(ne,l,s,e)),!0}}const ae=oe;var se=n(8243),le=n(17168);function ce(e,t,n){return t=(0,$.A)(t),(0,z.A)(e,ue()?Reflect.construct(t,n||[],(0,$.A)(e).constructor):t.apply(e,n))}function ue(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ue=function(){return!!e})()}function de(e,t,n){he(e,t),t.set(e,n)}function he(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function pe(e,t){return e.get(fe(e,t))}function fe(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var ge=new WeakMap,me=new WeakMap,ye=new WeakSet,ve=function(e){function t(e){var n,r,i;(0,o.A)(this,t),n=ce(this,t,[e]),he(r=n,i=ye),i.add(r),de(n,ge,void 0),de(n,me,[]);var a={features:e.features,style:(0,se.convertTypeFeatureStyleToOpenLayersStyle)(e.style),hitTolerance:e.hitTolerance||0};return function(e,t,n){e.set(fe(e,t),n)}(ge,n,new ae(a)),pe(ge,n).on("select",fe(ye,n,be).bind(n)),n}return(0,G.A)(t,e),(0,a.A)(t,[{key:"startInteraction",value:function(){(0,V.A)((0,$.A)(t.prototype),"startInteraction",this).call(this,pe(ge,this))}},{key:"stopInteraction",value:function(){(0,V.A)((0,$.A)(t.prototype),"stopInteraction",this).call(this,pe(ge,this))}},{key:"getFeatures",value:function(){return pe(ge,this).getFeatures()}},{key:"onSelectChanged",value:function(e){M.A.onEvent(pe(me,this),e)}},{key:"offSelectChanged",value:function(e){M.A.offEvent(pe(me,this),e)}}])}(le.N);function be(e){M.A.emitEvent(this,pe(me,this),e)}var we=n(37452),xe=n(66898),Ae=n(70208),Se=n(87803),Ce=n(21355),Ee=n(53921),ke=n(72459),Te=n(22935),_e=n(2938);function Oe(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Pe(e,t){return e.get(Ie(e,t))}function Ie(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Me=new WeakMap,Le=new WeakSet,Re=function(){return(0,a.A)((function e(t){var n,r;(0,o.A)(this,e),Oe(n=this,r=Le),r.add(n),(0,s.A)(this,"mapId",void 0),function(e,t,n){Oe(e,t),t.set(e,n)}(this,Me,[]),this.mapId=t}),[{key:"addNotificationMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];Ie(Le,this,Fe).call(this,"info",e,t)}},{key:"addNotificationSuccess",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];Ie(Le,this,Fe).call(this,"success",e,t)}},{key:"addNotificationWarning",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];Ie(Le,this,Fe).call(this,"warning",e,t)}},{key:"addNotificationError",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];Ie(Le,this,Fe).call(this,"error",e,t)}},{key:"showMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Ie(Le,this,De).call(this,"info",e,t,r),n&&this.addNotificationMessage(e,t)}},{key:"showSuccess",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Ie(Le,this,De).call(this,"success",e,t,r),n&&this.addNotificationSuccess(e,t)}},{key:"showWarning",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Ie(Le,this,De).call(this,"warning",e,t,r),n&&this.addNotificationWarning(e,t)}},{key:"showError",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Ie(Le,this,De).call(this,"error",e,t,r),n&&this.addNotificationError(e,t)}},{key:"onSnackbarOpen",value:function(e){M.A.onEvent(Pe(Me,this),e)}},{key:"offSnackbarOpen",value:function(e){M.A.offEvent(Pe(Me,this),e)}}])}();function je(e,t){var n=(0,ke.getLocalizedMessage)(e,_e.K.getDisplayLanguage(this.mapId));return t.length>0&&(n=(0,ke.replaceParams)(t,n)),n}function Fe(e,t,n){var r={key:(0,ke.generateId)(),notificationType:e,message:Ie(Le,this,je).call(this,t,n),count:1};_e.K.addNotification(this.mapId,r).catch((function(e){I.vF.logPromiseFailed("addNotification in Notifications",e)}))}function De(e,t,n,r){var i={snackbarType:e,message:Ie(Le,this,je).call(this,t,n),button:r};Ie(Le,this,Ne).call(this,i)}function Ne(e){M.A.emitEvent(this,Pe(Me,this),e)}function Be(e,t,n){ze(e,t),t.set(e,n)}function ze(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ve(e,t,n){return e.set(Ge(e,t),n),n}function $e(e,t){return e.get(Ge(e,t))}function Ge(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Ue=new WeakMap,We=new WeakMap,qe=new WeakMap,He=new WeakMap,Ye=new WeakMap,Ke=new WeakMap,Xe=new WeakMap,Ze=new WeakMap,Je=new WeakMap,Qe=new WeakMap,et=new WeakMap,tt=new WeakMap,nt=new WeakMap,rt=new WeakMap,it=new WeakMap,ot=new WeakMap,at=new WeakMap,st=new WeakMap,lt=new WeakMap,ct=new WeakSet,ut=function(){return(0,a.A)((function e(t,n){var r,i;(0,o.A)(this,e),ze(r=this,i=ct),i.add(r),(0,s.A)(this,"mapFeaturesConfig",void 0),(0,s.A)(this,"mapId",void 0),(0,s.A)(this,"map",void 0),(0,s.A)(this,"plugins",{}),(0,s.A)(this,"overviewRoot",void 0),(0,s.A)(this,"appBarApi",void 0),(0,s.A)(this,"navBarApi",void 0),(0,s.A)(this,"footerBarApi",void 0),(0,s.A)(this,"stateApi",void 0),(0,s.A)(this,"basemap",void 0),(0,s.A)(this,"notifications",void 0),(0,s.A)(this,"layer",void 0),(0,s.A)(this,"modal",void 0),(0,s.A)(this,"iconImageCacheSize",void 0),Be(this,Ue,void 0),Be(this,We,!1),Be(this,qe,!1),Be(this,He,!1),Be(this,Ye,!1),Be(this,Ke,[]),Be(this,Xe,[]),Be(this,Ze,[]),Be(this,Je,[]),Be(this,Qe,[]),Be(this,et,[]),Be(this,tt,[]),Be(this,nt,[]),Be(this,rt,[]),Be(this,it,[]),Be(this,ot,[]),Be(this,at,[]),Be(this,st,[]),Be(this,lt,void 0),this.mapId=t.mapId,this.mapFeaturesConfig=t,Ve(Ue,this,n),this.iconImageCacheSize=1,this.appBarApi=new A.r(this.mapId),this.navBarApi=new S.v(this.mapId),this.footerBarApi=new C.x(this.mapId),this.stateApi=new N(this.mapId),this.notifications=new Re(this.mapId),this.modal=new Ee.ModalApi,this.basemap=new y.i(_.d.getBasemapOptions(this.mapId),this.mapId)}),[{key:"mapInit",get:function(){return $e(We,this)}},{key:"mapReady",get:function(){return $e(qe,this)}},{key:"mapLayersProcessed",get:function(){return $e(He,this)}},{key:"mapLayersLoaded",get:function(){return $e(Ye,this)}},{key:"createMap",value:function(e){var t,n,r,i,o,a,s=null===(t=this.mapFeaturesConfig)||void 0===t?void 0:t.map.viewSettings,l=b.M.PROJECTIONS[s.projection];s.maxExtent&&(a=b.M.transformExtent(s.maxExtent,b.M.PROJECTION_NAMES.LNGLAT,l.getCode()));var c=new h.A({target:e,layers:[(0,se.createEmptyBasemap)()],view:new p.Ay({projection:l,center:b.M.transformFromLonLat(null!==(n=s.initialView)&&void 0!==n&&n.zoomAndCenter?null===(r=s.initialView)||void 0===r?void 0:r.zoomAndCenter[1]:g.VN[s.projection],l),zoom:null!==(i=s.initialView)&&void 0!==i&&i.zoomAndCenter?null===(o=s.initialView)||void 0===o?void 0:o.zoomAndCenter[0]:3.5,extent:a||void 0,minZoom:s.minZoom||0,maxZoom:s.maxZoom||17,rotation:s.rotation||0}),controls:[],keyboardEventTarget:document.getElementById("map-".concat(this.mapId))});return this.map=c,this.initMap(),c}},{key:"initMap",value:function(){this.map.on("moveend",Ge(ct,this,ht).bind(this)),Ge(ct,this,dt).call(this,this.getView()),"static"!==this.mapFeaturesConfig.map.interaction&&(this.map.on("pointermove",c()(Ge(ct,this,ft).bind(this),10,{leading:!0}).bind(this)),this.map.on("singleclick",c()(Ge(ct,this,gt).bind(this),1e3,{leading:!0}).bind(this))),Ve(lt,this,Date.now()),this.layer=new v.A(this),this.layer.loadListOfGeoviewLayer(this.mapFeaturesConfig.map.listOfGeoviewLayerConfig).catch((function(e){I.vF.logPromiseFailed("loadListOfGeoviewLayer in initMap in MapViewer",e)})),this.loadGeometries(),Ve(We,this,!0),Ge(ct,this,kt).call(this),_.d.resetBasemap(this.mapId).then().catch((function(e){I.vF.logPromiseFailed(" MapEventProcessor.resetBasemap in map-viewer",e)})),Ge(ct,this,wt).call(this)}},{key:"addComponent",value:function(e,t){e&&t&&Ge(ct,this,Ft).call(this,{mapComponentId:e,component:t})}},{key:"removeComponent",value:function(e){e&&Ge(ct,this,Dt).call(this,{mapComponentId:e})}},{key:"addLocalizeRessourceBundle",value:function(e,t){$e(Ue,this).addResourceBundle(e,"translation",t,!0,!1)}},{key:"getDisplayLanguage",value:function(){return _e.K.getDisplayLanguage(this.mapId)}},{key:"getDisplayTheme",value:function(){return _e.K.getDisplayTheme(this.mapId)}},{key:"getMapState",value:function(){return _.d.getMapState(this.mapId)}},{key:"getView",value:function(){return this.map.getView()}},{key:"getProjection",value:function(){return this.getView().getProjection()}},{key:"getMapLayerOrderInfo",value:function(){return _.d.getMapOrderedLayerInfo(this.mapId)}},{key:"setInteraction",value:function(e){_.d.setInteraction(this.mapId,e)}},{key:"setLanguage",value:function(e,t){if(g.ns.includes(e)){var n=_e.K.setDisplayLanguage(this.mapId,e);return t&&I.vF.logInfo("reset layers not implemented yet"),Ge(ct,this,Nt).call(this,{language:e}),n}return this.notifications.addNotificationError((0,ke.getLocalizedMessage)("validation.changeDisplayLanguage",e)),Promise.resolve([void 0,void 0])}},{key:"setProjection",value:function(e){return g.if.includes(Number(e))?_.d.setProjection(this.mapId,e):(this.notifications.addNotificationError("validation.changeDisplayProjection"),Promise.resolve())}},{key:"rotate",value:function(e){this.getView().animate({rotation:e})}},{key:"setTheme",value:function(e){g.qf.includes(e)?_e.K.setDisplayTheme(this.mapId,e):this.notifications.addNotificationError((0,ke.getLocalizedMessage)("validation.changeDisplayTheme",this.getDisplayLanguage()))}},{key:"setView",value:function(e){var t,n,r,i,o=this.getView(),a={};a.projection="EPSG:".concat(e.projection),a.zoom=null!==(t=e.initialView)&&void 0!==t&&t.zoomAndCenter?null===(n=e.initialView)||void 0===n?void 0:n.zoomAndCenter[0]:o.getZoom(),a.center=null!==(r=e.initialView)&&void 0!==r&&r.zoomAndCenter?b.M.transformFromLonLat(null===(i=e.initialView)||void 0===i?void 0:i.zoomAndCenter[1],a.projection):b.M.transformFromLonLat(b.M.transformToLonLat(o.getCenter(),o.getProjection()),a.projection),a.minZoom=e.minZoom?e.minZoom:o.getMinZoom(),a.maxZoom=e.maxZoom?e.maxZoom:o.getMaxZoom(),a.rotation=e.rotation?e.rotation:o.getRotation(),e.maxExtent&&(a.extent=b.M.transformExtent(e.maxExtent,b.M.PROJECTION_NAMES.LNGLAT,"EPSG:".concat(e.projection)));var s=new p.Ay(a);this.map.setView(s),Ge(ct,this,dt).call(this,s)}},{key:"setCenter",value:function(e){var t=this.getView(),n=b.M.transformFromLonLat(e,t.getProjection());t.setCenter(n)}},{key:"setZoomLevel",value:function(e){this.getView().setZoom(e)}},{key:"setMinZoomLevel",value:function(e){this.getView().setMinZoom(e)}},{key:"setMaxZoomLevel",value:function(e){this.getView().setMaxZoom(e)}},{key:"setExtent",value:(n=(0,i.A)(d().mark((function e(t){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_.d.zoomToExtent(this.mapId,t);case 2:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"setMaxExtent",value:function(e){var t=this.getView(),n={initialView:{zoomAndCenter:[t.getZoom(),this.convertCoordinateLngLatToMapProj(t.getCenter())]},minZoom:t.getMinZoom(),maxZoom:t.getMaxZoom(),maxExtent:b.M.transformExtent(e,b.M.PROJECTION_NAMES.LNGLAT,t.getProjection()),projection:t.getProjection().getCode().split(":")[1]};this.setView(n)}},{key:"refreshLayers",value:function(){var e=this;return this.layer.refreshLayers(),new Promise((function(t){e.map.once("rendercomplete",(function(){t()}))}))}},{key:"clickMarkerIconHide",value:function(){_.d.clickMarkerIconHide(this.mapId)}},{key:"clickMarkerIconShow",value:function(e){_.d.clickMarkerIconShow(this.mapId,e)}},{key:"loadGeometries",value:function(){var e,t=this,n=(null===(e=this.map.getTargetElement())||void 0===e||null===(e=e.closest(".geoview-map"))||void 0===e?void 0:e.getAttribute("data-geometry-endpoint"))||"",r=f.parse(location.search);r.geoms&&""!==n&&r.geoms.split(",").forEach((function(e){fetch("".concat(n).concat(e)).then((function(e){200===e.status&&e.json().then((function(e){void 0!==e.geometry&&t.layer.geometry.addPolygon(e.geometry.coordinates,void 0,(0,ke.generateId)(null))})).catch((function(e){I.vF.logPromiseFailed("response.json in loadGeometry in MapViewer",e)}))})).catch((function(e){I.vF.logPromiseFailed("fetch in loadGeometries in MapViewer",e)}))}))}},{key:"remove",value:(t=(0,i.A)(d().mark((function e(t){var n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(n=document.getElementById(this.mapId)).classList.remove("geoview-map"),this.overviewRoot&&this.overviewRoot.unmount(),(0,w.d1f)(this.mapId),e.next=6,x.k.removePlugins(this.mapId);case 6:try{this.layer.removeAllGeoviewLayers()}catch(e){}return(0,m.e4)(this.mapId),t&&n.remove(),delete w.FHQ.maps[this.mapId],e.abrupt("return",n);case 11:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"reload",value:(e=(0,i.A)(d().mark((function e(t){var n,r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t||_.d.getGeoViewMapConfig(this.mapId),e.next=3,this.remove(!1);case 3:r=e.sent,w.FHQ.createMapFromConfig(r.id,JSON.stringify(n)).catch((function(e){I.vF.logError("Couldn't reload the map in map-viewer",e)}));case 5:case"end":return e.stop()}}),e,this)}))),function(t){return e.apply(this,arguments)})},{key:"reloadWithCurrentState",value:function(){var e=this.createMapConfigFromMapState();this.reload(e).catch((function(e){I.vF.logError("Couldn't reload the map in map-viewer",e)}))}},{key:"zoomToExtent",value:function(e,t){return _.d.zoomToExtent(this.mapId,e,t)}},{key:"zoomToLngLatExtentOrCoordinate",value:function(e,t){var n=2===e.length?[e[0],e[1],e[0],e[1]]:e,r=b.M.transformExtent(n,b.M.PROJECTION_NAMES.LNGLAT,"EPSG:".concat(this.getMapState().currentProjection));return _.d.zoomToExtent(this.mapId,r,t)}},{key:"initSelectInteractions",value:function(){var e=new ve({mapViewer:this,hitTolerance:5});return e.startInteraction(),e}},{key:"initExtentInteractions",value:function(){var e=new xe.z({mapViewer:this,pixelTolerance:5});return e.startInteraction(),e}},{key:"initTranslateInteractions",value:function(){var e=this.initSelectInteractions().getFeatures(),t=new Ce.H({mapViewer:this,features:e});return t.startInteraction(),t}},{key:"initDrawInteractions",value:function(e,t,n){var r=new we.X({mapViewer:this,geometryGroupKey:e,type:t,style:n});return r.startInteraction(),r}},{key:"initModifyInteractions",value:function(e){var t=new Ae.B({mapViewer:this,geometryGroupKey:e});return t.startInteraction(),t}},{key:"initSnapInteractions",value:function(e){var t=new Se.P({mapViewer:this,geometryGroupKey:e});return t.startInteraction(),t}},{key:"getNorthVisibility",value:function(){var e=[this.map.getSize()[0]/2,1],t=b.M.transformToLonLat(this.map.getCoordinateFromPixel(e),this.getView().getProjection());return!t||t[0]>0}},{key:"getNorthArrowAngle",value:function(){try{var e={x:Te.Tg[1],y:Te.Tg[0]},t=this.getView().calculateExtent(),n=b.M.transformToLonLat([(t[0]+t[2])/2,t[1]],this.getView().getProjection()),r={x:n[0],y:n[1]},i=(r.x-e.x)*Math.PI/180,o=e.y*Math.PI/180,a=r.y*Math.PI/180,s=Math.sin(i)*Math.cos(a),l=Math.cos(o)*Math.sin(a)-Math.sin(o)*Math.cos(a)*Math.cos(i);return((180*Math.atan2(s,l)/Math.PI+360)%360).toFixed(1)}catch(e){return"180.0"}}},{key:"convertCoordinateLngLatToMapProj",value:function(e){return this.convertCoordinateFromProjToMapProj(e,b.M.PROJECTION_NAMES.LNGLAT)}},{key:"convertCoordinateMapProjToLngLat",value:function(e){return this.convertCoordinateFromMapProjToProj(e,b.M.PROJECTION_NAMES.LNGLAT)}},{key:"convertExtentLngLatToMapProj",value:function(e){return this.convertExtentFromProjToMapProj(e,b.M.PROJECTION_NAMES.LNGLAT)}},{key:"convertExtentMapProjToLngLat",value:function(e){return this.convertExtentFromMapProjToProj(e,b.M.PROJECTION_NAMES.LNGLAT)}},{key:"convertCoordinateFromProjToMapProj",value:function(e,t){return t!==this.getProjection().getCode()?b.M.transform(e,t,this.getProjection()):e}},{key:"convertCoordinateFromMapProjToProj",value:function(e,t){return t!==this.getProjection().getCode()?b.M.transform(e,this.getProjection(),t):e}},{key:"convertExtentFromProjToMapProj",value:function(e,t){return t!==this.getProjection().getCode()?b.M.transformExtent(e,t,this.getProjection()):e}},{key:"convertExtentFromMapProjToProj",value:function(e,t){return t!==this.getProjection().getCode()?b.M.transformExtent(e,this.getProjection(),t):e}},{key:"createMapConfigFromMapState",value:function(){return _.d.createMapConfigFromMapState(this.mapId)}},{key:"onMapInit",value:function(e){M.A.onEvent($e(Ke,this),e)}},{key:"offMapInit",value:function(e){M.A.offEvent($e(Ke,this),e)}},{key:"onMapReady",value:function(e){M.A.onEvent($e(Xe,this),e)}},{key:"offMapReady",value:function(e){M.A.offEvent($e(Xe,this),e)}},{key:"onMapLayersProcessed",value:function(e){M.A.onEvent($e(Ze,this),e)}},{key:"offMapLayersProcessed",value:function(e){M.A.offEvent($e(Ze,this),e)}},{key:"onMapLayersLoaded",value:function(e){M.A.onEvent($e(Je,this),e)}},{key:"offMapLayersLoaded",value:function(e){M.A.offEvent($e(Je,this),e)}},{key:"onMapMoveEnd",value:function(e){M.A.onEvent($e(Qe,this),e)}},{key:"offMapMoveEnd",value:function(e){M.A.offEvent($e(Qe,this),e)}},{key:"onMapPointerMove",value:function(e){M.A.onEvent($e(et,this),e)}},{key:"offMapPointerMove",value:function(e){M.A.offEvent($e(et,this),e)}},{key:"onMapSingleClick",value:function(e){M.A.onEvent($e(tt,this),e)}},{key:"offMapSingleClick",value:function(e){M.A.offEvent($e(tt,this),e)}},{key:"onMapZoomEnd",value:function(e){M.A.onEvent($e(nt,this),e)}},{key:"offMapZoomEnd",value:function(e){M.A.offEvent($e(nt,this),e)}},{key:"onMapRotation",value:function(e){M.A.onEvent($e(rt,this),e)}},{key:"offMapRotation",value:function(e){M.A.offEvent($e(rt,this),e)}},{key:"onMapChangeSize",value:function(e){M.A.onEvent($e(it,this),e)}},{key:"offMapChangeSize",value:function(e){M.A.offEvent($e(it,this),e)}},{key:"onMapComponentAdded",value:function(e){M.A.onEvent($e(ot,this),e)}},{key:"offMapComponentAdded",value:function(e){M.A.offEvent($e(ot,this),e)}},{key:"onMapComponentRemoved",value:function(e){M.A.onEvent($e(at,this),e)}},{key:"offMapComponentRemoved",value:function(e){M.A.offEvent($e(at,this),e)}},{key:"onMapLanguageChanged",value:function(e){M.A.onEvent($e(st,this),e)}},{key:"offMapLanguageChanged",value:function(e){M.A.offEvent($e(st,this),e)}}],[{key:"setFullscreen",value:function(e,t){e&&(t.requestFullscreen?t.requestFullscreen().catch((function(e){I.vF.logPromiseFailed("element.requestFullscreen",e)})):t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.mozRequestFullScreen&&t.mozRequestFullScreen()),e||(document.exitFullscreen?document.exitFullscreen().catch((function(e){I.vF.logPromiseFailed("document.exitFullscreen",e)})):document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen&&document.mozCancelFullScreen())}}]);var e,t,n}();function dt(e){e.on("change:resolution",c()(Ge(ct,this,mt).bind(this),100).bind(this)),e.on("change:rotation",c()(Ge(ct,this,yt).bind(this),100).bind(this))}function ht(e){return pt.apply(this,arguments)}function pt(){return(pt=(0,i.A)(d().mark((function e(t){var n,r,i,o,a,s,l;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=this.getView().getCenter(),r=this.getView().getProjection().getCode(),i={projected:n,pixel:this.map.getPixelFromCoordinate(n),lnglat:b.M.transformPoints([n],r,b.M.PROJECTION_NAMES.LNGLAT)[0],dragging:!1},o=this.getNorthArrowAngle(),a=this.getNorthVisibility(),s=this.getView().calculateExtent(),e.next=9,_.d.getScaleInfoFromDomElement(this.mapId);case 9:l=e.sent,_.d.setMapMoveEnd(this.mapId,n,i,o,a,s,l),Ge(ct,this,Pt).call(this,{lnglat:n}),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(0),I.vF.logError("Failed in MapViewer.#handleMapMoveEnd",e.t0);case 17:case"end":return e.stop()}}),e,this,[[0,14]])})))).apply(this,arguments)}function ft(e){try{var t=this.getView().getProjection().getCode(),n={projected:e.coordinate,pixel:e.pixel,lnglat:b.M.transformPoints([e.coordinate],t,b.M.PROJECTION_NAMES.LNGLAT)[0],dragging:e.dragging};_.d.setMapPointerPosition(this.mapId,n),Ge(ct,this,It).call(this,n)}catch(e){I.vF.logError("Failed in MapViewer.#handleMapPointerMove",e)}}function gt(e){try{var t=this.getView().getProjection().getCode(),n={projected:e.coordinate,pixel:e.pixel,lnglat:b.M.transformPoints([e.coordinate],t,b.M.PROJECTION_NAMES.LNGLAT)[0],dragging:e.dragging};_.d.setClickCoordinates(this.mapId,n).catch((function(e){I.vF.logPromiseFailed("setClickCoordinates in #handleMapSingleClick in MapViewer",e)})),Ge(ct,this,Mt).call(this,n)}catch(e){I.vF.logError("Failed in MapViewer.#handleMapSingleClick",e)}}function mt(e){try{var t=this.getView().getZoom();_.d.setZoom(this.mapId,t),Ge(ct,this,Lt).call(this,{zoom:t})}catch(e){I.vF.logError("Failed in MapViewer.#handleMapZoomEnd",e)}}function yt(e){try{var t=this.getView().getRotation();_.d.setRotation(this.mapId,t),Ge(ct,this,Rt).call(this,{rotation:t})}catch(e){I.vF.logError("Failed in MapViewer.#handleMapRotation",e)}}function vt(e){return bt.apply(this,arguments)}function bt(){return(bt=(0,i.A)(d().mark((function e(t){var n,r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,_.d.getScaleInfoFromDomElement(this.mapId);case 3:n=e.sent,r=this.map.getSize(),_.d.setMapChangeSize(this.mapId,r,n),Ge(ct,this,jt).call(this,{size:r}),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),I.vF.logError("Failed in MapViewer.#handleMapChangeSize",e.t0);case 12:case"end":return e.stop()}}),e,this,[[0,9]])})))).apply(this,arguments)}function wt(){var e=this;I.vF.logMarkerStart("mapReady-".concat(this.mapId));var t=setInterval((function(){if(e.layer){var n=e.layer.checkLayerStatus("registered",e.mapFeaturesConfig.map.listOfGeoviewLayerConfig,(function(e){I.vF.logTraceDetailed("checkMapReady - 1 - waiting on layer registration...",e.geoviewLayerId)})),i=(0,r.A)(n,2),o=i[0],a=i[1];o&&(clearInterval(t),I.vF.logInfo("Map is ready with ".concat(a," registered layers"),e.mapId),I.vF.logMarkerCheck("mapReady-".concat(e.mapId),"for map to be ready. Layers are still being processed..."),Ge(ct,e,xt).call(e).catch((function(e){I.vF.logPromiseFailed("checkMapReadyGo in checkMapReady in MapViewer",e)})))}}),250)}function xt(){return At.apply(this,arguments)}function At(){return(At=(0,i.A)(d().mark((function e(){var t,n,r,i,o,a,s=this;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Ve(qe,this,!0),Ge(ct,this,Tt).call(this),_.d.initMapControls(this.mapId),_e.K.setGuide(this.mapId).catch((function(e){I.vF.logPromiseFailed("in setGuide in #checkMapReadyGo",e)})),this.map.on("change:size",Ge(ct,this,vt).bind(this)),this.map.dispatchEvent("change:size"),(r=this.map.getTargetElement()).addEventListener("wheel",(function(e){e.preventDefault(),r.focus()})),r.addEventListener("mouseleave",(function(e){r.blur()})),Ge(ct,this,Et).call(this).catch((function(e){I.vF.logError("Failed in #checkLayerResultSetReady",e)})),Ge(ct,this,St).call(this),i=Date.now()-$e(lt,this),e.next=14,(0,ke.delay)(Bt._-i);case 14:_.d.setMapLoaded(this.mapId,!0),null!==(t=this.mapFeaturesConfig.map.viewSettings.initialView)&&void 0!==t&&t.extent&&setTimeout((function(){var e;return s.zoomToExtent(b.M.transformExtent(null===(e=s.mapFeaturesConfig.map.viewSettings.initialView)||void 0===e?void 0:e.extent,b.M.PROJECTION_NAMES.LNGLAT,"EPSG:".concat(s.mapFeaturesConfig.map.viewSettings.projection)),{padding:[0,0,0,0]}).catch((function(e){return I.vF.logPromiseFailed("promiseMapLayers in #checkMapLayersProcessed in map-viewer",e)}))}),200),null!==(n=this.mapFeaturesConfig.map.viewSettings.initialView)&&void 0!==n&&n.layerIds&&(o=this.mapFeaturesConfig.map.viewSettings.initialView.layerIds.length?this.mapFeaturesConfig.map.viewSettings.initialView.layerIds:this.layer.getGeoviewLayerIds(),(a=this.layer.getExtentOfMultipleLayers(o)).includes(1/0)&&(a=this.convertExtentLngLatToMapProj(g.Nt[this.mapFeaturesConfig.map.viewSettings.projection])),a.length&&setTimeout((function(){return s.zoomToExtent(a).catch((function(e){return I.vF.logPromiseFailed("promiseMapLayers in #checkMapLayersProcessed in map-viewer",e)}))}),200));case 17:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}function St(){var e=this,t=setInterval((function(){if(e.layer){var n=e.layer.checkLayerStatus("processed",e.mapFeaturesConfig.map.listOfGeoviewLayerConfig,(function(e){I.vF.logTraceDetailed("checkMapReady - 2 - waiting on layer processed...",e.geoviewLayerId)})),i=(0,r.A)(n,2),o=i[0],a=i[1];o&&(clearInterval(t),I.vF.logInfo("Map is ready with ".concat(a," processed layers"),e.mapId),I.vF.logMarkerCheck("mapReady-".concat(e.mapId),"for all ".concat(a," layers to be processed")),Ve(He,e,!0),Ge(ct,e,_t).call(e),Ge(ct,e,Ct).call(e))}}),250)}function Ct(){var e=this,t=setInterval((function(){if(e.layer){var n=e.layer.checkLayerStatus("loaded",e.mapFeaturesConfig.map.listOfGeoviewLayerConfig,(function(e){I.vF.logTraceDetailed("checkMapReady - 3 - waiting on layer loaded/error status...",e.geoviewLayerId)})),i=(0,r.A)(n,2),o=i[0],a=i[1];o&&(clearInterval(t),I.vF.logInfo("Map is ready with ".concat(a," loaded layers"),e.mapId),I.vF.logMarkerCheck("mapReady-".concat(e.mapId),"for all ".concat(a," layers to be loaded")),Ve(Ye,e,!0),Ge(ct,e,Ot).call(e))}}),250)}function Et(){var e=this;return new Promise((function(t){var n=setInterval((function(){if(e.layer&&e.layer.checkFeatureInfoLayerResultSetsReady((function(e){I.vF.logTraceDetailed("checkMapReady - 4 - waiting on layer resultSet...",e.layerPath)}))){clearInterval(n);var r=Object.keys(e.layer.featureInfoLayerSet.resultSet).length;I.vF.logMarkerCheck("mapReady-".concat(e.mapId),"for layer result set of ".concat(r," layers to be instanciated")),t()}}),250)}))}function kt(){M.A.emitEvent(this,$e(Ke,this),void 0)}function Tt(){M.A.emitEvent(this,$e(Xe,this),void 0)}function _t(){M.A.emitEvent(this,$e(Ze,this),void 0)}function Ot(){M.A.emitEvent(this,$e(Je,this),void 0)}function Pt(e){M.A.emitEvent(this,$e(Qe,this),e)}function It(e){M.A.emitEvent(this,$e(et,this),e)}function Mt(e){M.A.emitEvent(this,$e(tt,this),e)}function Lt(e){M.A.emitEvent(this,$e(nt,this),e)}function Rt(e){M.A.emitEvent(this,$e(rt,this),e)}function jt(e){M.A.emitEvent(this,$e(it,this),e)}function Ft(e){M.A.emitEvent(this,$e(ot,this),e)}function Dt(e){M.A.emitEvent(this,$e(at,this),e)}function Nt(e){M.A.emitEvent(this,$e(st,this),e)}var Bt={_:2e3}},84044:(e,t,n)=>{"use strict";n.d(t,{M:()=>Zn});var r=n(36549),i=n(80085),o=n(24515);var a=1,s=2,l=3,c=5,u=6378137,d=6356752.314,h=.0066943799901413165,p=484813681109536e-20,f=Math.PI/2,g=.16666666666666666,m=.04722222222222222,y=.022156084656084655,v=1e-10,b=.017453292519943295,w=57.29577951308232,x=Math.PI/4,A=2*Math.PI,S=3.14159265359,C={greenwich:0,lisbon:-9.131906111111,paris:2.337229166667,bogota:-74.080916666667,madrid:-3.687938888889,rome:12.452333333333,bern:7.439583333333,jakarta:106.807719444444,ferro:-17.666666666667,brussels:4.367975,stockholm:18.058277777778,athens:23.7163375,oslo:10.722916666667};const E={ft:{to_meter:.3048},"us-ft":{to_meter:1200/3937}};var k=/[\s_\-\/\(\)]/g;function T(e,t){if(e[t])return e[t];for(var n,r=Object.keys(e),i=t.toLowerCase().replace(k,""),o=-1;++o=this.text.length)return;e=this.text[this.place++]}switch(this.state){case P:return this.neutral(e);case 2:return this.keyword(e);case 4:return this.quoted(e);case 5:return this.afterquote(e);case 3:return this.number(e);case-1:return}},F.prototype.afterquote=function(e){if('"'===e)return this.word+='"',void(this.state=4);if(R.test(e))return this.word=this.word.trim(),void this.afterItem(e);throw new Error("havn't handled \""+e+'" in afterquote yet, index '+this.place)},F.prototype.afterItem=function(e){return","===e?(null!==this.word&&this.currentObject.push(this.word),this.word=null,void(this.state=P)):"]"===e?(this.level--,null!==this.word&&(this.currentObject.push(this.word),this.word=null),this.state=P,this.currentObject=this.stack.pop(),void(this.currentObject||(this.state=-1))):void 0},F.prototype.number=function(e){if(!j.test(e)){if(R.test(e))return this.word=parseFloat(this.word),void this.afterItem(e);throw new Error("havn't handled \""+e+'" in number yet, index '+this.place)}this.word+=e},F.prototype.quoted=function(e){'"'!==e?this.word+=e:this.state=5},F.prototype.keyword=function(e){if(L.test(e))this.word+=e;else{if("["===e){var t=[];return t.push(this.word),this.level++,null===this.root?this.root=t:this.currentObject.push(t),this.stack.push(this.currentObject),this.currentObject=t,void(this.state=P)}if(!R.test(e))throw new Error("havn't handled \""+e+'" in keyword yet, index '+this.place);this.afterItem(e)}},F.prototype.neutral=function(e){if(M.test(e))return this.word=e,void(this.state=2);if('"'===e)return this.word="",void(this.state=4);if(j.test(e))return this.word=e,void(this.state=3);if(!R.test(e))throw new Error("havn't handled \""+e+'" in neutral yet, index '+this.place);this.afterItem(e)},F.prototype.output=function(){for(;this.place0?90:-90)):(e.lat0=z(e.lat1>0?90:-90),e.lat_ts=e.lat1)}(i),i}function $(e){var t=this;if(2===arguments.length){var n=arguments[1];"string"==typeof n?"+"===n.charAt(0)?$[e]=_(arguments[1]):$[e]=V(arguments[1]):$[e]=n}else if(1===arguments.length){if(Array.isArray(e))return e.map((function(e){Array.isArray(e)?$.apply(t,e):$(e)}));if("string"==typeof e){if(e in $)return $[e]}else"EPSG"in e?$["EPSG:"+e.EPSG]=e:"ESRI"in e?$["ESRI:"+e.ESRI]=e:"IAU2000"in e?$["IAU2000:"+e.IAU2000]=e:console.log(e);return}}!function(e){e("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),e("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),e("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),e.WGS84=e["EPSG:4326"],e["EPSG:3785"]=e["EPSG:3857"],e.GOOGLE=e["EPSG:3857"],e["EPSG:900913"]=e["EPSG:3857"],e["EPSG:102113"]=e["EPSG:3857"]}($);const G=$;var U=["PROJECTEDCRS","PROJCRS","GEOGCS","GEOCCS","PROJCS","LOCAL_CS","GEODCRS","GEODETICCRS","GEODETICDATUM","ENGCRS","ENGINEERINGCRS"];var W=["3857","900913","3785","102113"];const q=function(e){if(!function(e){return"string"==typeof e}(e))return e;if(function(e){return e in G}(e))return G[e];if(function(e){return U.some((function(t){return e.indexOf(t)>-1}))}(e)){var t=V(e);if(function(e){var t=T(e,"authority");if(t){var n=T(t,"epsg");return n&&W.indexOf(n)>-1}}(t))return G["EPSG:3857"];var n=function(e){var t=T(e,"extension");if(t)return T(t,"proj4")}(t);return n?_(n):t}return function(e){return"+"===e[0]}(e)?_(e):void 0};function H(e,t){var n,r;if(e=e||{},!t)return e;for(r in t)void 0!==(n=t[r])&&(e[r]=n);return e}function Y(e,t,n){var r=e*t;return n/Math.sqrt(1-r*r)}function K(e){return e<0?-1:1}function X(e){return Math.abs(e)<=S?e:e-K(e)*A}function Z(e,t,n){var r=e*n,i=.5*e;return r=Math.pow((1-r)/(1+r),i),Math.tan(.5*(f-t))/r}function J(e,t){for(var n,r,i=.5*e,o=f-2*Math.atan(t),a=0;a<=15;a++)if(n=e*Math.sin(o),o+=r=f-2*Math.atan(t*Math.pow((1-n)/(1+n),i))-o,Math.abs(r)<=1e-10)return o;return-9999}function Q(e){return e}var ee=[{init:function(){var e=this.b/this.a;this.es=1-e*e,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=Y(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)},forward:function(e){var t,n,r=e.x,i=e.y;if(i*w>90&&i*w<-90&&r*w>180&&r*w<-180)return null;if(Math.abs(Math.abs(i)-f)<=v)return null;if(this.sphere)t=this.x0+this.a*this.k0*X(r-this.long0),n=this.y0+this.a*this.k0*Math.log(Math.tan(x+.5*i));else{var o=Math.sin(i),a=Z(this.e,i,o);t=this.x0+this.a*this.k0*X(r-this.long0),n=this.y0-this.a*this.k0*Math.log(a)}return e.x=t,e.y=n,e},inverse:function(e){var t,n,r=e.x-this.x0,i=e.y-this.y0;if(this.sphere)n=f-2*Math.atan(Math.exp(-i/(this.a*this.k0)));else{var o=Math.exp(-i/(this.a*this.k0));if(-9999===(n=J(this.e,o)))return null}return t=X(this.long0+r/(this.a*this.k0)),e.x=t,e.y=n,e},names:["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"]},{init:function(){},forward:Q,inverse:Q,names:["longlat","identity"]}],te={},ne=[];function re(e,t){var n=ne.length;return e.names?(ne[n]=e,e.names.forEach((function(e){te[e.toLowerCase()]=n})),this):(console.log(t),!0)}const ie={start:function(){ee.forEach(re)},add:re,get:function(e){if(!e)return!1;var t=e.toLowerCase();return void 0!==te[t]&&ne[te[t]]?ne[te[t]]:void 0}};var oe={MERIT:{a:6378137,rf:298.257,ellipseName:"MERIT 1983"},SGS85:{a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},GRS80:{a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},IAU76:{a:6378140,rf:298.257,ellipseName:"IAU 1976"},airy:{a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},APL4:{a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},NWL9D:{a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},mod_airy:{a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},andrae:{a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},aust_SA:{a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},GRS67:{a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},bessel:{a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},bess_nam:{a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},clrk66:{a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},clrk80:{a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},clrk80ign:{a:6378249.2,b:6356515,rf:293.4660213,ellipseName:"Clarke 1880 (IGN)"},clrk58:{a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},CPM:{a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},delmbr:{a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},engelis:{a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},evrst30:{a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},evrst48:{a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},evrst56:{a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},evrst69:{a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},evrstSS:{a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},fschr60:{a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},fschr60m:{a:6378155,rf:298.3,ellipseName:"Fischer 1960"},fschr68:{a:6378150,rf:298.3,ellipseName:"Fischer 1968"},helmert:{a:6378200,rf:298.3,ellipseName:"Helmert 1906"},hough:{a:6378270,rf:297,ellipseName:"Hough"},intl:{a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},kaula:{a:6378163,rf:298.24,ellipseName:"Kaula 1961"},lerch:{a:6378139,rf:298.257,ellipseName:"Lerch 1979"},mprts:{a:6397300,rf:191,ellipseName:"Maupertius 1738"},new_intl:{a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},plessis:{a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},krass:{a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},SEasia:{a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},walbeck:{a:6376896,b:6355834.8467,ellipseName:"Walbeck"},WGS60:{a:6378165,rf:298.3,ellipseName:"WGS 60"},WGS66:{a:6378145,rf:298.25,ellipseName:"WGS 66"},WGS7:{a:6378135,rf:298.26,ellipseName:"WGS 72"}},ae=oe.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"};oe.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"};var se={};se.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},se.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},se.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},se.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},se.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},se.potsdam={towgs84:"598.1,73.7,418.2,0.202,0.045,-2.455,6.7",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},se.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},se.hermannskogel={towgs84:"577.326,90.129,463.919,5.137,1.474,5.297,2.4232",ellipse:"bessel",datumName:"Hermannskogel"},se.militargeographische_institut={towgs84:"577.326,90.129,463.919,5.137,1.474,5.297,2.4232",ellipse:"bessel",datumName:"Militar-Geographische Institut"},se.osni52={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"airy",datumName:"Irish National"},se.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},se.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},se.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},se.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},se.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},se.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},se.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},se.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"};const le=function(e,t,n,r,i,o,u){var d={};return d.datum_type=void 0===e||"none"===e?c:4,t&&(d.datum_params=t.map(parseFloat),0===d.datum_params[0]&&0===d.datum_params[1]&&0===d.datum_params[2]||(d.datum_type=a),d.datum_params.length>3&&(0===d.datum_params[3]&&0===d.datum_params[4]&&0===d.datum_params[5]&&0===d.datum_params[6]||(d.datum_type=s,d.datum_params[3]*=p,d.datum_params[4]*=p,d.datum_params[5]*=p,d.datum_params[6]=d.datum_params[6]/1e6+1))),u&&(d.datum_type=l,d.grids=u),d.a=n,d.b=r,d.es=i,d.ep2=o,d};var ce={};function ue(e){if(0===e.length)return null;var t="@"===e[0];return t&&(e=e.slice(1)),"null"===e?{name:"null",mandatory:!t,grid:null,isNull:!0}:{name:e,mandatory:!t,grid:ce[e]||null,isNull:!1}}function de(e){return e/3600*Math.PI/180}function he(e,t,n){return String.fromCharCode.apply(null,new Uint8Array(e.buffer.slice(t,n)))}function pe(e){return e.map((function(e){return[de(e.longitudeShift),de(e.latitudeShift)]}))}function fe(e,t,n){return{name:he(e,t+8,t+16).trim(),parent:he(e,t+24,t+24+8).trim(),lowerLatitude:e.getFloat64(t+72,n),upperLatitude:e.getFloat64(t+88,n),lowerLongitude:e.getFloat64(t+104,n),upperLongitude:e.getFloat64(t+120,n),latitudeInterval:e.getFloat64(t+136,n),longitudeInterval:e.getFloat64(t+152,n),gridNodeCount:e.getInt32(t+168,n)}}function ge(e,t,n,r){for(var i=t+176,o=[],a=0;a-1.001*f)l=-f;else if(l>f&&l<1.001*f)l=f;else{if(l<-f)return{x:-1/0,y:-1/0,z:e.z};if(l>f)return{x:1/0,y:1/0,z:e.z}}return s>Math.PI&&(s-=2*Math.PI),i=Math.sin(l),a=Math.cos(l),o=i*i,{x:((r=n/Math.sqrt(1-t*o))+c)*a*Math.cos(s),y:(r+c)*a*Math.sin(s),z:(r*(1-t)+c)*i}}function be(e,t,n,r){var i,o,a,s,l,c,u,d,h,p,f,g,m,y,v,b=1e-12,w=e.x,x=e.y,A=e.z?e.z:0;if(i=Math.sqrt(w*w+x*x),o=Math.sqrt(w*w+x*x+A*A),i/n1e-24&&m<30);return{x:y,y:Math.atan(f/Math.abs(p)),z:v}}function we(e){return e===a||e===s}function xe(e,t,n){if(function(e,t){return e.datum_type===t.datum_type&&!(e.a!==t.a||Math.abs(e.es-t.es)>5e-11)&&(e.datum_type===a?e.datum_params[0]===t.datum_params[0]&&e.datum_params[1]===t.datum_params[1]&&e.datum_params[2]===t.datum_params[2]:e.datum_type!==s||e.datum_params[0]===t.datum_params[0]&&e.datum_params[1]===t.datum_params[1]&&e.datum_params[2]===t.datum_params[2]&&e.datum_params[3]===t.datum_params[3]&&e.datum_params[4]===t.datum_params[4]&&e.datum_params[5]===t.datum_params[5]&&e.datum_params[6]===t.datum_params[6])}(e,t))return n;if(e.datum_type===c||t.datum_type===c)return n;var r=e.a,i=e.es;if(e.datum_type===l){if(0!==Ae(e,!1,n))return;r=u,i=h}var o=t.a,p=t.b,f=t.es;if(t.datum_type===l&&(o=u,p=d,f=h),i===f&&r===o&&!we(e.datum_type)&&!we(t.datum_type))return n;if((n=ve(n,i,r),we(e.datum_type)&&(n=function(e,t,n){if(t===a)return{x:e.x+n[0],y:e.y+n[1],z:e.z+n[2]};if(t===s){var r=n[0],i=n[1],o=n[2],l=n[3],c=n[4],u=n[5],d=n[6];return{x:d*(e.x-u*e.y+c*e.z)+r,y:d*(u*e.x+e.y-l*e.z)+i,z:d*(-c*e.x+l*e.y+e.z)+o}}}(n,e.datum_type,e.datum_params)),we(t.datum_type)&&(n=function(e,t,n){if(t===a)return{x:e.x-n[0],y:e.y-n[1],z:e.z-n[2]};if(t===s){var r=n[0],i=n[1],o=n[2],l=n[3],c=n[4],u=n[5],d=n[6],h=(e.x-r)/d,p=(e.y-i)/d,f=(e.z-o)/d;return{x:h+u*p-c*f,y:-u*h+p+l*f,z:c*h-l*p+f}}}(n,t.datum_type,t.datum_params)),n=be(n,f,o,p),t.datum_type===l)&&0!==Ae(t,!0,n))return;return n}function Ae(e,t,n){if(null===e.grids||0===e.grids.length)return console.log("Grid shift grids not found"),-1;var r={x:-n.x,y:n.y},i={x:Number.NaN,y:Number.NaN},o=[];e:for(var a=0;ar.y||p>r.x||m1e-12&&Math.abs(a.y)>1e-12);if(l<0)return console.log("Inverse grid shift iterator failed to converge."),r;r.x=X(o.x+n.ll[0]),r.y=o.y+n.ll[1]}else isNaN(o.x)||(r.x=e.x+o.x,r.y=e.y+o.y);return r}function Ce(e,t){var n,r={x:e.x/t.del[0],y:e.y/t.del[1]},i=Math.floor(r.x),o=Math.floor(r.y),a=r.x-1*i,s=r.y-1*o,l={x:Number.NaN,y:Number.NaN};if(i<0||i>=t.lim[0])return l;if(o<0||o>=t.lim[1])return l;n=o*t.lim[0]+i;var c=t.cvs[n][0],u=t.cvs[n][1];n++;var d=t.cvs[n][0],h=t.cvs[n][1];n+=t.lim[0];var p=t.cvs[n][0],f=t.cvs[n][1];n--;var g=t.cvs[n][0],m=t.cvs[n][1],y=a*s,v=a*(1-s),b=(1-a)*(1-s),w=(1-a)*s;return l.x=b*c+v*d+w*g+y*p,l.y=b*u+v*h+w*m+y*f,l}function Ee(e,t,n){var r,i,o,a=n.x,s=n.y,l=n.z||0,c={};for(o=0;o<3;o++)if(!t||2!==o||void 0!==n.z)switch(0===o?(r=a,i=-1!=="ew".indexOf(e.axis[o])?"x":"y"):1===o?(r=s,i=-1!=="ns".indexOf(e.axis[o])?"y":"x"):(r=l,i="z"),e.axis[o]){case"e":case"n":c[i]=r;break;case"w":case"s":c[i]=-r;break;case"u":void 0!==n[i]&&(c.z=r);break;case"d":void 0!==n[i]&&(c.z=-r);break;default:return null}return c}function ke(e){var t={x:e[0],y:e[1]};return e.length>2&&(t.z=e[2]),e.length>3&&(t.m=e[3]),t}function Te(e){if("function"==typeof Number.isFinite){if(Number.isFinite(e))return;throw new TypeError("coordinates must be finite numbers")}if("number"!=typeof e||e!=e||!isFinite(e))throw new TypeError("coordinates must be finite numbers")}function _e(e,t,n,r){var i,o=void 0!==(n=Array.isArray(n)?ke(n):{x:n.x,y:n.y,z:n.z,m:n.m}).z;if(function(e){Te(e.x),Te(e.y)}(n),e.datum&&t.datum&&function(e,t){return(e.datum.datum_type===a||e.datum.datum_type===s||e.datum.datum_type===l)&&"WGS84"!==t.datumCode||(t.datum.datum_type===a||t.datum.datum_type===s||t.datum.datum_type===l)&&"WGS84"!==e.datumCode}(e,t)&&(n=_e(e,i=new ye("WGS84"),n,r),e=i),r&&"enu"!==e.axis&&(n=Ee(e,!1,n)),"longlat"===e.projName)n={x:n.x*b,y:n.y*b,z:n.z||0};else if(e.to_meter&&(n={x:n.x*e.to_meter,y:n.y*e.to_meter,z:n.z||0}),!(n=e.inverse(n)))return;if(e.from_greenwich&&(n.x+=e.from_greenwich),n=xe(e.datum,t.datum,n))return t.from_greenwich&&(n={x:n.x-t.from_greenwich,y:n.y,z:n.z||0}),"longlat"===t.projName?n={x:n.x*w,y:n.y*w,z:n.z||0}:(n=t.forward(n),t.to_meter&&(n={x:n.x/t.to_meter,y:n.y/t.to_meter,z:n.z||0})),r&&"enu"!==t.axis?Ee(t,!0,n):(n&&!o&&delete n.z,n)}var Oe=ye("WGS84");function Pe(e,t,n,r){var i,o,a;return Array.isArray(n)?(i=_e(e,t,n,r)||{x:NaN,y:NaN},n.length>2?void 0!==e.name&&"geocent"===e.name||void 0!==t.name&&"geocent"===t.name?"number"==typeof i.z?[i.x,i.y,i.z].concat(n.splice(3)):[i.x,i.y,n[2]].concat(n.splice(3)):[i.x,i.y].concat(n.splice(2)):[i.x,i.y]):(o=_e(e,t,n,r),2===(a=Object.keys(n)).length||a.forEach((function(r){if(void 0!==e.name&&"geocent"===e.name||void 0!==t.name&&"geocent"===t.name){if("x"===r||"y"===r||"z"===r)return}else if("x"===r||"y"===r)return;o[r]=n[r]})),o)}function Ie(e){return e instanceof ye?e:e.oProj?e.oProj:ye(e)}const Me=function(e,t,n){e=Ie(e);var r,i=!1;return void 0===t?(t=e,e=Oe,i=!0):(void 0!==t.x||Array.isArray(t))&&(n=t,t=e,e=Oe,i=!0),t=Ie(t),n?Pe(e,t,n):(r={forward:function(n,r){return Pe(e,t,n,r)},inverse:function(n,r){return Pe(t,e,n,r)}},i&&(r.oProj=t),r)};var Le=6,Re="AJSAJS",je="AFAFAF",Fe=65,De=73,Ne=79,Be=86,ze=90;const Ve={forward:$e,inverse:function(e){var t=qe(Ke(e.toUpperCase()));if(t.lat&&t.lon)return[t.lon,t.lat,t.lon,t.lat];return[t.left,t.bottom,t.right,t.top]},toPoint:Ge};function $e(e,t){return t=t||5,function(e,t){var n="00000"+e.easting,r="00000"+e.northing;return e.zoneNumber+e.zoneLetter+(p=e.easting,f=e.northing,g=e.zoneNumber,m=Ye(g),y=Math.floor(p/1e5),v=Math.floor(f/1e5)%20,i=y,o=v,a=m,s=a-1,l=Re.charCodeAt(s),c=je.charCodeAt(s),u=l+i-1,d=c+o,h=!1,u>ze&&(u=u-ze+Fe-1,h=!0),(u===De||lDe||(u>De||lNe||(u>Ne||lze&&(u=u-ze+Fe-1),d>Be?(d=d-Be+Fe-1,h=!0):h=!1,(d===De||cDe||(d>De||cNe||(d>Ne||cBe&&(d=d-Be+Fe-1),String.fromCharCode(u)+String.fromCharCode(d))+n.substr(n.length-5,t)+r.substr(r.length-5,t);var i,o,a,s,l,c,u,d,h;var p,f,g,m,y,v}(function(e){var t,n,r,i,o,a,s,l,c=e.lat,u=e.lon,d=6378137,h=.00669438,p=.9996,f=Ue(c),g=Ue(u);l=Math.floor((u+180)/6)+1,180===u&&(l=60);c>=56&&c<64&&u>=3&&u<12&&(l=32);c>=72&&c<84&&(u>=0&&u<9?l=31:u>=9&&u<21?l=33:u>=21&&u<33?l=35:u>=33&&u<42&&(l=37));s=Ue(6*(l-1)-180+3),t=h/(1-h),n=d/Math.sqrt(1-h*Math.sin(f)*Math.sin(f)),r=Math.tan(f)*Math.tan(f),i=t*Math.cos(f)*Math.cos(f),o=Math.cos(f)*(g-s),a=d*((1-h/4-3*h*h/64-5*h*h*h/256)*f-(3*h/8+3*h*h/32+45*h*h*h/1024)*Math.sin(2*f)+(15*h*h/256+45*h*h*h/1024)*Math.sin(4*f)-35*h*h*h/3072*Math.sin(6*f));var m=p*n*(o+(1-r+i)*o*o*o/6+(5-18*r+r*r+72*i-58*t)*o*o*o*o*o/120)+5e5,y=p*(a+n*Math.tan(f)*(o*o/2+(5-r+9*i+4*i*i)*o*o*o*o/24+(61-58*r+r*r+600*i-330*t)*o*o*o*o*o*o/720));c<0&&(y+=1e7);return{northing:Math.round(y),easting:Math.round(m),zoneNumber:l,zoneLetter:He(c)}}({lat:e[1],lon:e[0]}),t)}function Ge(e){var t=qe(Ke(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat]:[(t.left+t.right)/2,(t.top+t.bottom)/2]}function Ue(e){return e*(Math.PI/180)}function We(e){return e/Math.PI*180}function qe(e){var t=e.northing,n=e.easting,r=e.zoneLetter,i=e.zoneNumber;if(i<0||i>60)return null;var o,a,s,l,c,u,d,h,p,f=.9996,g=6378137,m=.00669438,y=(1-Math.sqrt(.99330562))/(1+Math.sqrt(.99330562)),v=n-5e5,b=t;r<"N"&&(b-=1e7),d=6*(i-1)-180+3,o=.006739496752268451,p=(h=b/f/6367449.145945056)+(3*y/2-27*y*y*y/32)*Math.sin(2*h)+(21*y*y/16-55*y*y*y*y/32)*Math.sin(4*h)+151*y*y*y/96*Math.sin(6*h),a=g/Math.sqrt(1-m*Math.sin(p)*Math.sin(p)),s=Math.tan(p)*Math.tan(p),l=o*Math.cos(p)*Math.cos(p),c=.99330562*g/Math.pow(1-m*Math.sin(p)*Math.sin(p),1.5),u=v/(a*f);var w=p-a*Math.tan(p)/c*(u*u/2-(5+3*s+10*l-4*l*l-9*o)*u*u*u*u/24+(61+90*s+298*l+45*s*s-1.6983531815716497-3*l*l)*u*u*u*u*u*u/720);w=We(w);var x,A=(u-(1+2*s+l)*u*u*u/6+(5-2*l+28*s-3*l*l+8*o+24*s*s)*u*u*u*u*u/120)/Math.cos(p);if(A=d+We(A),e.accuracy){var S=qe({northing:e.northing+e.accuracy,easting:e.easting+e.accuracy,zoneLetter:e.zoneLetter,zoneNumber:e.zoneNumber});x={top:S.lat,right:S.lon,bottom:w,left:A}}else x={lat:w,lon:A};return x}function He(e){var t="Z";return 84>=e&&e>=72?t="X":72>e&&e>=64?t="W":64>e&&e>=56?t="V":56>e&&e>=48?t="U":48>e&&e>=40?t="T":40>e&&e>=32?t="S":32>e&&e>=24?t="R":24>e&&e>=16?t="Q":16>e&&e>=8?t="P":8>e&&e>=0?t="N":0>e&&e>=-8?t="M":-8>e&&e>=-16?t="L":-16>e&&e>=-24?t="K":-24>e&&e>=-32?t="J":-32>e&&e>=-40?t="H":-40>e&&e>=-48?t="G":-48>e&&e>=-56?t="F":-56>e&&e>=-64?t="E":-64>e&&e>=-72?t="D":-72>e&&e>=-80&&(t="C"),t}function Ye(e){var t=e%Le;return 0===t&&(t=Le),t}function Ke(e){if(e&&0===e.length)throw"MGRSPoint coverting from nothing";for(var t,n=e.length,r=null,i="",o=0;!/[A-Z]/.test(t=e.charAt(o));){if(o>=2)throw"MGRSPoint bad conversion from: "+e;i+=t,o++}var a=parseInt(i,10);if(0===o||o+3>n)throw"MGRSPoint bad conversion from: "+e;var s=e.charAt(o++);if(s<="A"||"B"===s||"Y"===s||s>="Z"||"I"===s||"O"===s)throw"MGRSPoint zone letter "+s+" not handled: "+e;r=e.substring(o,o+=2);for(var l=Ye(a),c=function(e,t){var n=Re.charCodeAt(t-1),r=1e5,i=!1;for(;n!==e.charCodeAt(0);){if(++n===De&&n++,n===Ne&&n++,n>ze){if(i)throw"Bad character: "+e;n=Fe,i=!0}r+=1e5}return r}(r.charAt(0),l),u=function(e,t){if(e>"V")throw"MGRSPoint given invalid Northing "+e;var n=je.charCodeAt(t-1),r=0,i=!1;for(;n!==e.charCodeAt(0);){if(++n===De&&n++,n===Ne&&n++,n>Be){if(i)throw"Bad character: "+e;n=Fe,i=!0}r+=1e5}return r}(r.charAt(1),l);u0&&(h=1e5/Math.pow(10,g),p=e.substring(o,o+g),m=parseFloat(p)*h,f=e.substring(o+g),y=parseFloat(f)*h),{easting:m+c,northing:y+u,zoneLetter:s,zoneNumber:a,accuracy:h}}function Xe(e){var t;switch(e){case"C":t=11e5;break;case"D":t=2e6;break;case"E":t=28e5;break;case"F":t=37e5;break;case"G":t=46e5;break;case"H":t=55e5;break;case"J":t=64e5;break;case"K":t=73e5;break;case"L":t=82e5;break;case"M":t=91e5;break;case"N":t=0;break;case"P":t=8e5;break;case"Q":t=17e5;break;case"R":t=26e5;break;case"S":t=35e5;break;case"T":t=44e5;break;case"U":t=53e5;break;case"V":t=62e5;break;case"W":t=7e6;break;case"X":t=79e5;break;default:t=-1}if(t>=0)return t;throw"Invalid zone letter: "+e}function Ze(e,t,n){if(!(this instanceof Ze))return new Ze(e,t,n);if(Array.isArray(e))this.x=e[0],this.y=e[1],this.z=e[2]||0;else if("object"==typeof e)this.x=e.x,this.y=e.y,this.z=e.z||0;else if("string"==typeof e&&void 0===t){var r=e.split(",");this.x=parseFloat(r[0],10),this.y=parseFloat(r[1],10),this.z=parseFloat(r[2],10)||0}else this.x=e,this.y=t,this.z=n||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}Ze.fromMGRS=function(e){return new Ze(Ge(e))},Ze.prototype.toMGRS=function(e){return $e([this.x,this.y],e)};const Je=Ze;var Qe=1,et=.25,tt=.046875,nt=.01953125,rt=.01068115234375,it=.75,ot=.46875,at=.013020833333333334,st=.007120768229166667,lt=.3645833333333333,ct=.005696614583333333,ut=.3076171875;function dt(e){var t=[];t[0]=Qe-e*(et+e*(tt+e*(nt+e*rt))),t[1]=e*(it-e*(tt+e*(nt+e*rt)));var n=e*e;return t[2]=n*(ot-e*(at+e*st)),n*=e,t[3]=n*(lt-e*ct),t[4]=n*e*ut,t}function ht(e,t,n,r){return n*=t,t*=t,r[0]*e-n*(r[1]+t*(r[2]+t*(r[3]+t*r[4])))}var pt=20;function ft(e,t,n){for(var r=1/(1-t),i=e,o=pt;o;--o){var a=Math.sin(i),s=1-t*a*a;if(i-=s=(ht(i,a,Math.cos(i),n)-e)*(s*Math.sqrt(s))*r,Math.abs(s)v?Math.tan(o):0,f=Math.pow(p,2),g=Math.pow(f,2);t=1-this.es*Math.pow(s,2),c/=Math.sqrt(t);var m=ht(o,s,l,this.en);n=this.a*(this.k0*c*(1+u/6*(1-f+d+u/20*(5-18*f+g+14*d-58*f*d+u/42*(61+179*g-g*f-479*f)))))+this.x0,r=this.a*(this.k0*(m-this.ml0+s*a*c/2*(1+u/12*(5-f+9*d+4*h+u/30*(61+g-58*f+270*d-330*f*d+u/56*(1385+543*g-g*f-3111*f))))))+this.y0}else{var y=l*Math.sin(a);if(Math.abs(Math.abs(y)-1)=1){if(y-1>v)return 93;r=0}else r=Math.acos(r);o<0&&(r=-r),r=this.a*this.k0*(r-this.lat0)+this.y0}return e.x=n,e.y=r,e},inverse:function(e){var t,n,r,i,o=(e.x-this.x0)*(1/this.a),a=(e.y-this.y0)*(1/this.a);if(this.es)if(n=ft(t=this.ml0+a/this.k0,this.es,this.en),Math.abs(n)v?Math.tan(n):0,u=this.ep2*Math.pow(l,2),d=Math.pow(u,2),h=Math.pow(c,2),p=Math.pow(h,2);t=1-this.es*Math.pow(s,2);var g=o*Math.sqrt(t)/this.k0,m=Math.pow(g,2);r=n-(t*=c)*m/(1-this.es)*.5*(1-m/12*(5+3*h-9*u*h+u-4*d-m/30*(61+90*h-252*u*h+45*p+46*u-m/56*(1385+3633*h+4095*p+1574*p*h)))),i=X(this.long0+g*(1-m/6*(1+2*h+u-m/20*(5+28*h+24*p+8*u*h+6*u-m/42*(61+662*h+1320*p+720*p*h))))/l)}else r=f*K(a),i=0;else{var y=Math.exp(o/this.k0),b=.5*(y-1/y),w=this.lat0+a/this.k0,x=Math.cos(w);t=Math.sqrt((1-Math.pow(x,2))/(1+Math.pow(b,2))),r=Math.asin(t),a<0&&(r=-r),i=0===b&&0===x?0:X(Math.atan2(b,x)+this.long0)}return e.x=i,e.y=r,e},names:["Fast_Transverse_Mercator","Fast Transverse Mercator"]};function mt(e){var t=Math.exp(e);return t=(t-1/t)/2}function yt(e,t){e=Math.abs(e),t=Math.abs(t);var n=Math.max(e,t),r=Math.min(e,t)/(n||1);return n*Math.sqrt(1+Math.pow(r,2))}function vt(e){var t=Math.abs(e);return t=function(e){var t=1+e,n=t-1;return 0===n?e:e*Math.log(t)/n}(t*(1+t/(yt(1,t)+1))),e<0?-t:t}function bt(e,t){for(var n,r=2*Math.cos(2*t),i=e.length-1,o=e[i],a=0;--i>=0;)n=r*o-a+e[i],a=o,o=n;return t+n*Math.sin(2*t)}function wt(e,t,n){for(var r,i,o=Math.sin(t),a=Math.cos(t),s=mt(n),l=function(e){var t=Math.exp(e);return(t+1/t)/2}(n),c=2*a*l,u=-2*o*s,d=e.length-1,h=e[d],p=0,f=0,g=0;--d>=0;)r=f,i=p,h=c*(f=h)-r-u*(p=g)+e[d],g=u*f-i+c*p;return[(c=o*l)*h-(u=a*s)*g,c*g+u*h]}const xt={init:function(){if(!this.approx&&(isNaN(this.es)||this.es<=0))throw new Error('Incorrect elliptical usage. Try using the +approx option in the proj string, or PROJECTION["Fast_Transverse_Mercator"] in the WKT.');this.approx&&(gt.init.apply(this),this.forward=gt.forward,this.inverse=gt.inverse),this.x0=void 0!==this.x0?this.x0:0,this.y0=void 0!==this.y0?this.y0:0,this.long0=void 0!==this.long0?this.long0:0,this.lat0=void 0!==this.lat0?this.lat0:0,this.cgb=[],this.cbg=[],this.utg=[],this.gtu=[];var e=this.es/(1+Math.sqrt(1-this.es)),t=e/(2-e),n=t;this.cgb[0]=t*(2+t*(-2/3+t*(t*(116/45+t*(26/45+t*(-2854/675)))-2))),this.cbg[0]=t*(t*(2/3+t*(4/3+t*(-82/45+t*(32/45+t*(4642/4725)))))-2),n*=t,this.cgb[1]=n*(7/3+t*(t*(-227/45+t*(2704/315+t*(2323/945)))-1.6)),this.cbg[1]=n*(5/3+t*(-16/15+t*(-13/9+t*(904/315+t*(-1522/945))))),n*=t,this.cgb[2]=n*(56/15+t*(-136/35+t*(-1262/105+t*(73814/2835)))),this.cbg[2]=n*(-26/15+t*(34/21+t*(1.6+t*(-12686/2835)))),n*=t,this.cgb[3]=n*(4279/630+t*(-332/35+t*(-399572/14175))),this.cbg[3]=n*(1237/630+t*(t*(-24832/14175)-2.4)),n*=t,this.cgb[4]=n*(4174/315+t*(-144838/6237)),this.cbg[4]=n*(-734/315+t*(109598/31185)),n*=t,this.cgb[5]=n*(601676/22275),this.cbg[5]=n*(444337/155925),n=Math.pow(t,2),this.Qn=this.k0/(1+t)*(1+n*(1/4+n*(1/64+n/256))),this.utg[0]=t*(t*(2/3+t*(-37/96+t*(1/360+t*(81/512+t*(-96199/604800)))))-.5),this.gtu[0]=t*(.5+t*(-2/3+t*(5/16+t*(41/180+t*(-127/288+t*(7891/37800)))))),this.utg[1]=n*(-1/48+t*(-1/15+t*(437/1440+t*(-46/105+t*(1118711/3870720))))),this.gtu[1]=n*(13/48+t*(t*(557/1440+t*(281/630+t*(-1983433/1935360)))-.6)),n*=t,this.utg[2]=n*(-17/480+t*(37/840+t*(209/4480+t*(-5569/90720)))),this.gtu[2]=n*(61/240+t*(-103/140+t*(15061/26880+t*(167603/181440)))),n*=t,this.utg[3]=n*(-4397/161280+t*(11/504+t*(830251/7257600))),this.gtu[3]=n*(49561/161280+t*(-179/168+t*(6601661/7257600))),n*=t,this.utg[4]=n*(-4583/161280+t*(108847/3991680)),this.gtu[4]=n*(34729/80640+t*(-3418889/1995840)),n*=t,this.utg[5]=n*(-20648693/638668800),this.gtu[5]=.6650675310896665*n;var r=bt(this.cbg,this.lat0);this.Zb=-this.Qn*(r+function(e,t){for(var n,r=2*Math.cos(t),i=e.length-1,o=e[i],a=0;--i>=0;)n=r*o-a+e[i],a=o,o=n;return Math.sin(t)*n}(this.gtu,2*r))},forward:function(e){var t=X(e.x-this.long0),n=e.y;n=bt(this.cbg,n);var r=Math.sin(n),i=Math.cos(n),o=Math.sin(t),a=Math.cos(t);n=Math.atan2(r,a*i),t=Math.atan2(o*i,yt(r,i*a)),t=vt(Math.tan(t));var s,l,c=wt(this.gtu,2*n,2*t);return n+=c[0],t+=c[1],Math.abs(t)<=2.623395162778?(s=this.a*(this.Qn*t)+this.x0,l=this.a*(this.Qn*n+this.Zb)+this.y0):(s=1/0,l=1/0),e.x=s,e.y=l,e},inverse:function(e){var t,n,r=(e.x-this.x0)*(1/this.a),i=(e.y-this.y0)*(1/this.a);if(i=(i-this.Zb)/this.Qn,r/=this.Qn,Math.abs(r)<=2.623395162778){var o=wt(this.utg,2*i,2*r);i+=o[0],r+=o[1],r=Math.atan(mt(r));var a=Math.sin(i),s=Math.cos(i),l=Math.sin(r),c=Math.cos(r);i=Math.atan2(a*c,yt(l,c*s)),t=X((r=Math.atan2(l,c*s))+this.long0),n=bt(this.cgb,i)}else t=1/0,n=1/0;return e.x=t,e.y=n,e},names:["Extended_Transverse_Mercator","Extended Transverse Mercator","etmerc","Transverse_Mercator","Transverse Mercator","Gauss Kruger","Gauss_Kruger","tmerc"]};const At={init:function(){var e=function(e,t){if(void 0===e){if((e=Math.floor(30*(X(t)+Math.PI)/Math.PI)+1)<0)return 0;if(e>60)return 60}return e}(this.zone,this.long0);if(void 0===e)throw new Error("unknown utm zone");this.lat0=0,this.long0=(6*Math.abs(e)-183)*b,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,xt.init.apply(this),this.forward=xt.forward,this.inverse=xt.inverse},names:["Universal Transverse Mercator System","utm"],dependsOn:"etmerc"};function St(e,t){return Math.pow((1-e)/(1+e),t)}const Ct={init:function(){var e=Math.sin(this.lat0),t=Math.cos(this.lat0);t*=t,this.rc=Math.sqrt(1-this.es)/(1-this.es*e*e),this.C=Math.sqrt(1+this.es*t*t/(1-this.es)),this.phic0=Math.asin(e/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+x)/(Math.pow(Math.tan(.5*this.lat0+x),this.C)*St(this.e*e,this.ratexp))},forward:function(e){var t=e.x,n=e.y;return e.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*n+x),this.C)*St(this.e*Math.sin(n),this.ratexp))-f,e.x=this.C*t,e},inverse:function(e){for(var t=e.x/this.C,n=e.y,r=Math.pow(Math.tan(.5*n+x)/this.K,1/this.C),i=20;i>0&&(n=2*Math.atan(r*St(this.e*Math.sin(e.y),-.5*this.e))-f,!(Math.abs(n-e.y)<1e-14));--i)e.y=n;return i?(e.x=t,e.y=n,e):null},names:["gauss"]};const Et={init:function(){Ct.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))},forward:function(e){var t,n,r,i;return e.x=X(e.x-this.long0),Ct.forward.apply(this,[e]),t=Math.sin(e.y),n=Math.cos(e.y),r=Math.cos(e.x),i=this.k0*this.R2/(1+this.sinc0*t+this.cosc0*n*r),e.x=i*n*Math.sin(e.x),e.y=i*(this.cosc0*t-this.sinc0*n*r),e.x=this.a*e.x+this.x0,e.y=this.a*e.y+this.y0,e},inverse:function(e){var t,n,r,i,o;if(e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,o=yt(e.x,e.y)){var a=2*Math.atan2(o,this.R2);t=Math.sin(a),n=Math.cos(a),i=Math.asin(n*this.sinc0+e.y*t*this.cosc0/o),r=Math.atan2(e.x*t,o*this.cosc0*n-e.y*this.sinc0*t)}else i=this.phic0,r=0;return e.x=r,e.y=i,Ct.inverse.apply(this,[e]),e.x=X(e.x+this.long0),e},names:["Stereographic_North_Pole","Oblique_Stereographic","sterea","Oblique Stereographic Alternative","Double_Stereographic"]};const kt={init:function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=v&&(this.k0=.5*(1+K(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=v&&(this.lat0>0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=v&&Math.abs(Math.cos(this.lat_ts))>v&&(this.k0=.5*this.cons*Y(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/Z(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=Y(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-f,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))},forward:function(e){var t,n,r,i,o,a,s=e.x,l=e.y,c=Math.sin(l),u=Math.cos(l),d=X(s-this.long0);return Math.abs(Math.abs(s-this.long0)-Math.PI)<=v&&Math.abs(l+this.lat0)<=v?(e.x=NaN,e.y=NaN,e):this.sphere?(t=2*this.k0/(1+this.sinlat0*c+this.coslat0*u*Math.cos(d)),e.x=this.a*t*u*Math.sin(d)+this.x0,e.y=this.a*t*(this.coslat0*c-this.sinlat0*u*Math.cos(d))+this.y0,e):(n=2*Math.atan(this.ssfn_(l,c,this.e))-f,i=Math.cos(n),r=Math.sin(n),Math.abs(this.coslat0)<=v?(o=Z(this.e,l*this.con,this.con*c),a=2*this.a*this.k0*o/this.cons,e.x=this.x0+a*Math.sin(s-this.long0),e.y=this.y0-this.con*a*Math.cos(s-this.long0),e):(Math.abs(this.sinlat0)0?X(this.long0+Math.atan2(e.x,-1*e.y)):X(this.long0+Math.atan2(e.x,e.y)):X(this.long0+Math.atan2(e.x*Math.sin(s),a*this.coslat0*Math.cos(s)-e.y*this.sinlat0*Math.sin(s))),e.x=t,e.y=n,e)}if(Math.abs(this.coslat0)<=v){if(a<=v)return n=this.lat0,t=this.long0,e.x=t,e.y=n,e;e.x*=this.con,e.y*=this.con,r=a*this.cons/(2*this.a*this.k0),n=this.con*J(this.e,r),t=this.con*X(this.con*this.long0+Math.atan2(e.x,-1*e.y))}else i=2*Math.atan(a*this.cosX0/(2*this.a*this.k0*this.ms1)),t=this.long0,a<=v?o=this.X0:(o=Math.asin(Math.cos(i)*this.sinX0+e.y*Math.sin(i)*this.cosX0/a),t=X(this.long0+Math.atan2(e.x*Math.sin(i),a*this.cosX0*Math.cos(i)-e.y*this.sinX0*Math.sin(i)))),n=-1*J(this.e,Math.tan(.5*(f+o)));return e.x=t,e.y=n,e},names:["stere","Stereographic_South_Pole","Polar Stereographic (variant B)","Polar_Stereographic"],ssfn_:function(e,t,n){return t*=n,Math.tan(.5*(f+e))*Math.pow((1-t)/(1+t),.5*n)}};const Tt={init:function(){var e=this.lat0;this.lambda0=this.long0;var t=Math.sin(e),n=this.a,r=1/this.rf,i=2*r-Math.pow(r,2),o=this.e=Math.sqrt(i);this.R=this.k0*n*Math.sqrt(1-i)/(1-i*Math.pow(t,2)),this.alpha=Math.sqrt(1+i/(1-i)*Math.pow(Math.cos(e),4)),this.b0=Math.asin(t/this.alpha);var a=Math.log(Math.tan(Math.PI/4+this.b0/2)),s=Math.log(Math.tan(Math.PI/4+e/2)),l=Math.log((1+o*t)/(1-o*t));this.K=a-this.alpha*s+this.alpha*o/2*l},forward:function(e){var t=Math.log(Math.tan(Math.PI/4-e.y/2)),n=this.e/2*Math.log((1+this.e*Math.sin(e.y))/(1-this.e*Math.sin(e.y))),r=-this.alpha*(t+n)+this.K,i=2*(Math.atan(Math.exp(r))-Math.PI/4),o=this.alpha*(e.x-this.lambda0),a=Math.atan(Math.sin(o)/(Math.sin(this.b0)*Math.tan(i)+Math.cos(this.b0)*Math.cos(o))),s=Math.asin(Math.cos(this.b0)*Math.sin(i)-Math.sin(this.b0)*Math.cos(i)*Math.cos(o));return e.y=this.R/2*Math.log((1+Math.sin(s))/(1-Math.sin(s)))+this.y0,e.x=this.R*a+this.x0,e},inverse:function(e){for(var t=e.x-this.x0,n=e.y-this.y0,r=t/this.R,i=2*(Math.atan(Math.exp(n/this.R))-Math.PI/4),o=Math.asin(Math.cos(this.b0)*Math.sin(i)+Math.sin(this.b0)*Math.cos(i)*Math.cos(r)),a=Math.atan(Math.sin(r)/(Math.cos(this.b0)*Math.cos(r)-Math.sin(this.b0)*Math.tan(i))),s=this.lambda0+a/this.alpha,l=0,c=o,u=-1e3,d=0;Math.abs(c-u)>1e-7;){if(++d>20)return;l=1/this.alpha*(Math.log(Math.tan(Math.PI/4+o/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(c))/2)),u=c,c=2*Math.atan(Math.exp(l))-Math.PI/2}return e.x=s,e.y=c,e},names:["somerc"]};var _t=1e-7;const Ot={init:function(){var e,t,n,r,i,o,a,s,l,c,u,d,h,p=0,g=0,m=0,y=0,w=0,S=0,C=0;this.no_off=(h="object"==typeof(d=this).PROJECTION?Object.keys(d.PROJECTION)[0]:d.PROJECTION,"no_uoff"in d||"no_off"in d||-1!==["Hotine_Oblique_Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin"].indexOf(h)),this.no_rot="no_rot"in this;var E=!1;"alpha"in this&&(E=!0);var k=!1;if("rectified_grid_angle"in this&&(k=!0),E&&(C=this.alpha),k&&(p=this.rectified_grid_angle*b),E||k)g=this.longc;else if(m=this.long1,w=this.lat1,y=this.long2,S=this.lat2,Math.abs(w-S)<=_t||(e=Math.abs(w))<=_t||Math.abs(e-f)<=_t||Math.abs(Math.abs(this.lat0)-f)<=_t||Math.abs(Math.abs(S)-f)<=_t)throw new Error;var T=1-this.es;t=Math.sqrt(T),Math.abs(this.lat0)>v?(s=Math.sin(this.lat0),n=Math.cos(this.lat0),e=1-this.es*s*s,this.B=n*n,this.B=Math.sqrt(1+this.es*this.B*this.B/T),this.A=this.B*this.k0*t/e,(i=(r=this.B*t/(n*Math.sqrt(e)))*r-1)<=0?i=0:(i=Math.sqrt(i),this.lat0<0&&(i=-i)),this.E=i+=r,this.E*=Math.pow(Z(this.e,this.lat0,s),this.B)):(this.B=1/t,this.A=this.k0,this.E=r=i=1),E||k?(E?(u=Math.asin(Math.sin(C)/r),k||(p=C)):(u=p,C=Math.asin(r*Math.sin(u))),this.lam0=g-Math.asin(.5*(i-1/i)*Math.tan(u))/this.B):(o=Math.pow(Z(this.e,w,Math.sin(w)),this.B),a=Math.pow(Z(this.e,S,Math.sin(S)),this.B),i=this.E/o,l=(a-o)/(a+o),c=((c=this.E*this.E)-a*o)/(c+a*o),(e=m-y)<-Math.pi?y-=A:e>Math.pi&&(y+=A),this.lam0=X(.5*(m+y)-Math.atan(c*Math.tan(.5*this.B*(m-y))/l)/this.B),u=Math.atan(2*Math.sin(this.B*X(m-this.lam0))/(i-1/i)),p=C=Math.asin(r*Math.sin(u))),this.singam=Math.sin(u),this.cosgam=Math.cos(u),this.sinrot=Math.sin(p),this.cosrot=Math.cos(p),this.rB=1/this.B,this.ArB=this.A*this.rB,this.BrA=1/this.ArB,this.A,this.B,this.no_off?this.u_0=0:(this.u_0=Math.abs(this.ArB*Math.atan(Math.sqrt(r*r-1)/Math.cos(C))),this.lat0<0&&(this.u_0=-this.u_0)),i=.5*u,this.v_pole_n=this.ArB*Math.log(Math.tan(x-i)),this.v_pole_s=this.ArB*Math.log(Math.tan(x+i))},forward:function(e){var t,n,r,i,o,a,s,l,c={};if(e.x=e.x-this.lam0,Math.abs(Math.abs(e.y)-f)>v){if(t=.5*((o=this.E/Math.pow(Z(this.e,e.y,Math.sin(e.y)),this.B))-(a=1/o)),n=.5*(o+a),i=Math.sin(this.B*e.x),r=(t*this.singam-i*this.cosgam)/n,Math.abs(Math.abs(r)-1)0?this.v_pole_n:this.v_pole_s,s=this.ArB*e.y;return this.no_rot?(c.x=s,c.y=l):(s-=this.u_0,c.x=l*this.cosrot+s*this.sinrot,c.y=s*this.cosrot-l*this.sinrot),c.x=this.a*c.x+this.x0,c.y=this.a*c.y+this.y0,c},inverse:function(e){var t,n,r,i,o,a,s,l={};if(e.x=(e.x-this.x0)*(1/this.a),e.y=(e.y-this.y0)*(1/this.a),this.no_rot?(n=e.y,t=e.x):(n=e.x*this.cosrot-e.y*this.sinrot,t=e.y*this.cosrot+e.x*this.sinrot+this.u_0),i=.5*((r=Math.exp(-this.BrA*n))-1/r),o=.5*(r+1/r),s=((a=Math.sin(this.BrA*t))*this.cosgam+i*this.singam)/o,Math.abs(Math.abs(s)-1)v?this.ns=Math.log(r/s)/Math.log(i/l):this.ns=t,isNaN(this.ns)&&(this.ns=t),this.f0=r/(this.ns*Math.pow(i,this.ns)),this.rh=this.a*this.f0*Math.pow(c,this.ns),this.title||(this.title="Lambert Conformal Conic")}},forward:function(e){var t=e.x,n=e.y;Math.abs(2*Math.abs(n)-Math.PI)<=v&&(n=K(n)*(f-2*v));var r,i,o=Math.abs(Math.abs(n)-f);if(o>v)r=Z(this.e,n,Math.sin(n)),i=this.a*this.f0*Math.pow(r,this.ns);else{if((o=n*this.ns)<=0)return null;i=0}var a=this.ns*X(t-this.long0);return e.x=this.k0*(i*Math.sin(a))+this.x0,e.y=this.k0*(this.rh-i*Math.cos(a))+this.y0,e},inverse:function(e){var t,n,r,i,o,a=(e.x-this.x0)/this.k0,s=this.rh-(e.y-this.y0)/this.k0;this.ns>0?(t=Math.sqrt(a*a+s*s),n=1):(t=-Math.sqrt(a*a+s*s),n=-1);var l=0;if(0!==t&&(l=Math.atan2(n*a,n*s)),0!==t||this.ns>0){if(n=1/this.ns,r=Math.pow(t/(this.a*this.f0),n),-9999===(i=J(this.e,r)))return null}else i=-f;return o=X(l/this.ns+this.long0),e.x=o,e.y=i,e},names:["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_1SP","Lambert_Conformal_Conic_2SP","lcc","Lambert Conic Conformal (1SP)","Lambert Conic Conformal (2SP)"]};const It={init:function(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq},forward:function(e){var t,n,r,i,o,a,s,l=e.x,c=e.y,u=X(l-this.long0);return t=Math.pow((1+this.e*Math.sin(c))/(1-this.e*Math.sin(c)),this.alfa*this.e/2),n=2*(Math.atan(this.k*Math.pow(Math.tan(c/2+this.s45),this.alfa)/t)-this.s45),r=-u*this.alfa,i=Math.asin(Math.cos(this.ad)*Math.sin(n)+Math.sin(this.ad)*Math.cos(n)*Math.cos(r)),o=Math.asin(Math.cos(n)*Math.sin(r)/Math.cos(i)),a=this.n*o,s=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(i/2+this.s45),this.n),e.y=s*Math.cos(a)/1,e.x=s*Math.sin(a)/1,this.czech||(e.y*=-1,e.x*=-1),e},inverse:function(e){var t,n,r,i,o,a,s,l=e.x;e.x=e.y,e.y=l,this.czech||(e.y*=-1,e.x*=-1),o=Math.sqrt(e.x*e.x+e.y*e.y),i=Math.atan2(e.y,e.x)/Math.sin(this.s0),r=2*(Math.atan(Math.pow(this.ro0/o,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),t=Math.asin(Math.cos(this.ad)*Math.sin(r)-Math.sin(this.ad)*Math.cos(r)*Math.cos(i)),n=Math.asin(Math.cos(r)*Math.sin(i)/Math.cos(t)),e.x=this.long0-n/this.alfa,a=t,s=0;var c=0;do{e.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(t/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(a))/(1-this.e*Math.sin(a)),this.e/2))-this.s45),Math.abs(a-e.y)<1e-10&&(s=1),a=e.y,c+=1}while(0===s&&c<15);return c>=15?null:e},names:["Krovak","krovak"]};function Mt(e,t,n,r,i){return e*i-t*Math.sin(2*i)+n*Math.sin(4*i)-r*Math.sin(6*i)}function Lt(e){return 1-.25*e*(1+e/16*(3+1.25*e))}function Rt(e){return.375*e*(1+.25*e*(1+.46875*e))}function jt(e){return.05859375*e*e*(1+.75*e)}function Ft(e){return e*e*e*(35/3072)}function Dt(e,t,n){var r=t*n;return e/Math.sqrt(1-r*r)}function Nt(e){return Math.abs(e)1e-7?(1-e*e)*(t/(1-(n=e*t)*n)-.5/e*Math.log((1-n)/(1+n))):2*t}var $t=.3333333333333333,Gt=.17222222222222222,Ut=.10257936507936508,Wt=.06388888888888888,qt=.0664021164021164,Ht=.016415012942191543;const Yt={init:function(){var e,t=Math.abs(this.lat0);if(Math.abs(t-f)0)switch(this.qp=Vt(this.e,1),this.mmf=.5/(1-this.es),this.apa=function(e){var t,n=[];return n[0]=e*$t,t=e*e,n[0]+=t*Gt,n[1]=t*Wt,t*=e,n[0]+=t*Ut,n[1]+=t*qt,n[2]=t*Ht,n}(this.es),this.mode){case this.N_POLE:case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),e=Math.sin(this.lat0),this.sinb1=Vt(this.e,e)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*e*e)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))},forward:function(e){var t,n,r,i,o,a,s,l,c,u,d=e.x,h=e.y;if(d=X(d-this.long0),this.sphere){if(o=Math.sin(h),u=Math.cos(h),r=Math.cos(d),this.mode===this.OBLIQ||this.mode===this.EQUIT){if((n=this.mode===this.EQUIT?1+u*r:1+this.sinph0*o+this.cosph0*u*r)<=v)return null;t=(n=Math.sqrt(2/n))*u*Math.sin(d),n*=this.mode===this.EQUIT?o:this.cosph0*o-this.sinph0*u*r}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(r=-r),Math.abs(h+this.lat0)=0?(t=(c=Math.sqrt(a))*i,n=r*(this.mode===this.S_POLE?c:-c)):t=n=0}}return e.x=this.a*t+this.x0,e.y=this.a*n+this.y0,e},inverse:function(e){e.x-=this.x0,e.y-=this.y0;var t,n,r,i,o,a,s,l,c,u,d=e.x/this.a,h=e.y/this.a;if(this.sphere){var p,g=0,m=0;if((n=.5*(p=Math.sqrt(d*d+h*h)))>1)return null;switch(n=2*Math.asin(n),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(m=Math.sin(n),g=Math.cos(n)),this.mode){case this.EQUIT:n=Math.abs(p)<=v?0:Math.asin(h*m/p),d*=m,h=g*p;break;case this.OBLIQ:n=Math.abs(p)<=v?this.lat0:Math.asin(g*this.sinph0+h*m*this.cosph0/p),d*=m*this.cosph0,h=(g-Math.sin(n)*this.sinph0)*p;break;case this.N_POLE:h=-h,n=f-n;break;case this.S_POLE:n-=f}t=0!==h||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(d,h):0}else{if(s=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(d/=this.dd,h*=this.dd,(a=Math.sqrt(d*d+h*h))1&&(e=e>1?1:-1),Math.asin(e)}const Xt={init:function(){Math.abs(this.lat1+this.lat2)v?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},forward:function(e){var t=e.x,n=e.y;this.sin_phi=Math.sin(n),this.cos_phi=Math.cos(n);var r=Vt(this.e3,this.sin_phi),i=this.a*Math.sqrt(this.c-this.ns0*r)/this.ns0,o=this.ns0*X(t-this.long0),a=i*Math.sin(o)+this.x0,s=this.rh-i*Math.cos(o)+this.y0;return e.x=a,e.y=s,e},inverse:function(e){var t,n,r,i,o,a;return e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns0>=0?(t=Math.sqrt(e.x*e.x+e.y*e.y),r=1):(t=-Math.sqrt(e.x*e.x+e.y*e.y),r=-1),i=0,0!==t&&(i=Math.atan2(r*e.x,r*e.y)),r=t*this.ns0/this.a,this.sphere?a=Math.asin((this.c-r*r)/(2*this.ns0)):(n=(this.c-r*r)/this.ns0,a=this.phi1z(this.e3,n)),o=X(i/this.ns0+this.long0),e.x=o,e.y=a,e},names:["Albers_Conic_Equal_Area","Albers","aea"],phi1z:function(e,t){var n,r,i,o,a=Kt(.5*t);if(e0||Math.abs(o)<=v?(a=this.x0+1*this.a*n*Math.sin(r)/o,s=this.y0+1*this.a*(this.cos_p14*t-this.sin_p14*n*i)/o):(a=this.x0+this.infinity_dist*n*Math.sin(r),s=this.y0+this.infinity_dist*(this.cos_p14*t-this.sin_p14*n*i)),e.x=a,e.y=s,e},inverse:function(e){var t,n,r,i,o,a;return e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,(t=Math.sqrt(e.x*e.x+e.y*e.y))?(i=Math.atan2(t,this.rc),n=Math.sin(i),a=Kt((r=Math.cos(i))*this.sin_p14+e.y*n*this.cos_p14/t),o=Math.atan2(e.x*n,t*this.cos_p14*r-e.y*this.sin_p14*n),o=X(this.long0+o)):(a=this.phic0,o=0),e.x=o,e.y=a,e},names:["gnom"]};const Jt={init:function(){this.sphere||(this.k0=Y(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))},forward:function(e){var t,n,r=e.x,i=e.y,o=X(r-this.long0);if(this.sphere)t=this.x0+this.a*o*Math.cos(this.lat_ts),n=this.y0+this.a*Math.sin(i)/Math.cos(this.lat_ts);else{var a=Vt(this.e,Math.sin(i));t=this.x0+this.a*this.k0*o,n=this.y0+this.a*a*.5/this.k0}return e.x=t,e.y=n,e},inverse:function(e){var t,n;return e.x-=this.x0,e.y-=this.y0,this.sphere?(t=X(this.long0+e.x/this.a/Math.cos(this.lat_ts)),n=Math.asin(e.y/this.a*Math.cos(this.lat_ts))):(n=function(e,t){var n=1-(1-e*e)/(2*e)*Math.log((1-e)/(1+e));if(Math.abs(Math.abs(t)-n)<1e-6)return t<0?-1*f:f;for(var r,i,o,a,s=Math.asin(.5*t),l=0;l<30;l++)if(i=Math.sin(s),o=Math.cos(s),a=e*i,s+=r=Math.pow(1-a*a,2)/(2*o)*(t/(1-e*e)-i/(1-a*a)+.5/e*Math.log((1-a)/(1+a))),Math.abs(r)<=1e-10)return s;return NaN}(this.e,2*e.y*this.k0/this.a),t=X(this.long0+e.x/(this.a*this.k0))),e.x=t,e.y=n,e},names:["cea"]};const Qt={init:function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)},forward:function(e){var t=e.x,n=e.y,r=X(t-this.long0),i=Nt(n-this.lat0);return e.x=this.x0+this.a*r*this.rc,e.y=this.y0+this.a*i,e},inverse:function(e){var t=e.x,n=e.y;return e.x=X(this.long0+(t-this.x0)/(this.a*this.rc)),e.y=Nt(this.lat0+(n-this.y0)/this.a),e},names:["Equirectangular","Equidistant_Cylindrical","eqc"]};const en={init:function(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=Lt(this.es),this.e1=Rt(this.es),this.e2=jt(this.es),this.e3=Ft(this.es),this.ml0=this.a*Mt(this.e0,this.e1,this.e2,this.e3,this.lat0)},forward:function(e){var t,n,r,i=e.x,o=e.y,a=X(i-this.long0);if(r=a*Math.sin(o),this.sphere)Math.abs(o)<=v?(t=this.a*a,n=-1*this.a*this.lat0):(t=this.a*Math.sin(r)/Math.tan(o),n=this.a*(Nt(o-this.lat0)+(1-Math.cos(r))/Math.tan(o)));else if(Math.abs(o)<=v)t=this.a*a,n=-1*this.ml0;else{var s=Dt(this.a,this.e,Math.sin(o))/Math.tan(o);t=s*Math.sin(r),n=this.a*Mt(this.e0,this.e1,this.e2,this.e3,o)-this.ml0+s*(1-Math.cos(r))}return e.x=t+this.x0,e.y=n+this.y0,e},inverse:function(e){var t,n,r,i,o,a,s,l,c;if(r=e.x-this.x0,i=e.y-this.y0,this.sphere)if(Math.abs(i+this.a*this.lat0)<=v)t=X(r/this.a+this.long0),n=0;else{var u;for(a=this.lat0+i/this.a,s=r*r/this.a/this.a+a*a,l=a,o=20;o;--o)if(l+=c=-1*(a*(l*(u=Math.tan(l))+1)-l-.5*(l*l+s)*u)/((l-a)/u-1),Math.abs(c)<=v){n=l;break}t=X(this.long0+Math.asin(r*Math.tan(l)/this.a)/Math.sin(n))}else if(Math.abs(i+this.ml0)<=v)n=0,t=X(this.long0+r/this.a);else{var d,h,p,f,g;for(a=(this.ml0+i)/this.a,s=r*r/this.a/this.a+a*a,l=a,o=20;o;--o)if(g=this.e*Math.sin(l),d=Math.sqrt(1-g*g)*Math.tan(l),h=this.a*Mt(this.e0,this.e1,this.e2,this.e3,l),p=this.e0-2*this.e1*Math.cos(2*l)+4*this.e2*Math.cos(4*l)-6*this.e3*Math.cos(6*l),l-=c=(a*(d*(f=h/this.a)+1)-f-.5*d*(f*f+s))/(this.es*Math.sin(2*l)*(f*f+s-2*a*f)/(4*d)+(a-f)*(d*p-2/Math.sin(2*l))-p),Math.abs(c)<=v){n=l;break}d=Math.sqrt(1-this.es*Math.pow(Math.sin(n),2))*Math.tan(n),t=X(this.long0+Math.asin(r*d/this.a)/Math.sin(n))}return e.x=t,e.y=n,e},names:["Polyconic","poly"]};const tn={init:function(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013},forward:function(e){var t,n=e.x,r=e.y-this.lat0,i=n-this.long0,o=r/p*1e-5,a=i,s=1,l=0;for(t=1;t<=10;t++)s*=o,l+=this.A[t]*s;var c,u=l,d=a,h=1,f=0,g=0,m=0;for(t=1;t<=6;t++)c=f*u+h*d,h=h*u-f*d,f=c,g=g+this.B_re[t]*h-this.B_im[t]*f,m=m+this.B_im[t]*h+this.B_re[t]*f;return e.x=m*this.a+this.x0,e.y=g*this.a+this.y0,e},inverse:function(e){var t,n,r=e.x,i=e.y,o=r-this.x0,a=(i-this.y0)/this.a,s=o/this.a,l=1,c=0,u=0,d=0;for(t=1;t<=6;t++)n=c*a+l*s,l=l*a-c*s,c=n,u=u+this.C_re[t]*l-this.C_im[t]*c,d=d+this.C_im[t]*l+this.C_re[t]*c;for(var h=0;h.999999999999&&(n=.999999999999),t=Math.asin(n);var r=X(this.long0+e.x/(.900316316158*this.a*Math.cos(t)));r<-Math.PI&&(r=-Math.PI),r>Math.PI&&(r=Math.PI),n=(2*t+Math.sin(2*t))/Math.PI,Math.abs(n)>1&&(n=1);var i=Math.asin(n);return e.x=r,e.y=i,e},names:["Mollweide","moll"]};const an={init:function(){Math.abs(this.lat1+this.lat2)=0?(n=Math.sqrt(e.x*e.x+e.y*e.y),t=1):(n=-Math.sqrt(e.x*e.x+e.y*e.y),t=-1);var o=0;return 0!==n&&(o=Math.atan2(t*e.x,t*e.y)),this.sphere?(i=X(this.long0+o/this.ns),r=Nt(this.g-n/this.a),e.x=i,e.y=r,e):(r=Bt(this.g-n/this.a,this.e0,this.e1,this.e2,this.e3),i=X(this.long0+o/this.ns),e.x=i,e.y=r,e)},names:["Equidistant_Conic","eqdc"]};const sn={init:function(){this.R=this.a},forward:function(e){var t,n,r=e.x,i=e.y,o=X(r-this.long0);Math.abs(i)<=v&&(t=this.x0+this.R*o,n=this.y0);var a=Kt(2*Math.abs(i/Math.PI));(Math.abs(o)<=v||Math.abs(Math.abs(i)-f)<=v)&&(t=this.x0,n=i>=0?this.y0+Math.PI*this.R*Math.tan(.5*a):this.y0+Math.PI*this.R*-Math.tan(.5*a));var s=.5*Math.abs(Math.PI/o-o/Math.PI),l=s*s,c=Math.sin(a),u=Math.cos(a),d=u/(c+u-1),h=d*d,p=d*(2/c-1),g=p*p,m=Math.PI*this.R*(s*(d-g)+Math.sqrt(l*(d-g)*(d-g)-(g+l)*(h-g)))/(g+l);o<0&&(m=-m),t=this.x0+m;var y=l+d;return m=Math.PI*this.R*(p*y-s*Math.sqrt((g+l)*(l+1)-y*y))/(g+l),n=i>=0?this.y0+m:this.y0-m,e.x=t,e.y=n,e},inverse:function(e){var t,n,r,i,o,a,s,l,c,u,d,h;return e.x-=this.x0,e.y-=this.y0,d=Math.PI*this.R,o=(r=e.x/d)*r+(i=e.y/d)*i,d=3*(i*i/(l=-2*(a=-Math.abs(i)*(1+o))+1+2*i*i+o*o)+(2*(s=a-2*i*i+r*r)*s*s/l/l/l-9*a*s/l/l)/27)/(c=(a-s*s/3/l)/l)/(u=2*Math.sqrt(-c/3)),Math.abs(d)>1&&(d=d>=0?1:-1),h=Math.acos(d)/3,n=e.y>=0?(-u*Math.cos(h+Math.PI/3)-s/3/l)*Math.PI:-(-u*Math.cos(h+Math.PI/3)-s/3/l)*Math.PI,t=Math.abs(r)2*f*this.a)return;return n=t/this.a,r=Math.sin(n),i=Math.cos(n),o=this.long0,Math.abs(t)<=v?a=this.lat0:(a=Kt(i*this.sin_p12+e.y*r*this.cos_p12/t),s=Math.abs(this.lat0)-f,o=Math.abs(s)<=v?this.lat0>=0?X(this.long0+Math.atan2(e.x,-e.y)):X(this.long0-Math.atan2(-e.x,e.y)):X(this.long0+Math.atan2(e.x*r,t*this.cos_p12*i-e.y*this.sin_p12*r))),e.x=o,e.y=a,e}return l=Lt(this.es),c=Rt(this.es),u=jt(this.es),d=Ft(this.es),Math.abs(this.sin_p12-1)<=v?(a=Bt(((h=this.a*Mt(l,c,u,d,f))-(t=Math.sqrt(e.x*e.x+e.y*e.y)))/this.a,l,c,u,d),o=X(this.long0+Math.atan2(e.x,-1*e.y)),e.x=o,e.y=a,e):Math.abs(this.sin_p12+1)<=v?(h=this.a*Mt(l,c,u,d,f),a=Bt(((t=Math.sqrt(e.x*e.x+e.y*e.y))-h)/this.a,l,c,u,d),o=X(this.long0+Math.atan2(e.x,e.y)),e.x=o,e.y=a,e):(t=Math.sqrt(e.x*e.x+e.y*e.y),m=Math.atan2(e.x,e.y),p=Dt(this.a,this.e,this.sin_p12),y=Math.cos(m),w=-(b=this.e*this.cos_p12*y)*b/(1-this.es),x=3*this.es*(1-w)*this.sin_p12*this.cos_p12*y/(1-this.es),C=1-w*(S=(A=t/p)-w*(1+w)*Math.pow(A,3)/6-x*(1+3*w)*Math.pow(A,4)/24)*S/2-A*S*S*S/6,g=Math.asin(this.sin_p12*Math.cos(S)+this.cos_p12*Math.sin(S)*y),o=X(this.long0+Math.asin(Math.sin(m)*Math.sin(S)/Math.cos(g))),E=Math.sin(g),a=Math.atan2((E-this.es*C*this.sin_p12)*Math.tan(g),E*(1-this.es)),e.x=o,e.y=a,e)},names:["Azimuthal_Equidistant","aeqd"]};const cn={init:function(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0)},forward:function(e){var t,n,r,i,o,a,s,l=e.x,c=e.y;return r=X(l-this.long0),t=Math.sin(c),n=Math.cos(c),i=Math.cos(r),((o=this.sin_p14*t+this.cos_p14*n*i)>0||Math.abs(o)<=v)&&(a=1*this.a*n*Math.sin(r),s=this.y0+1*this.a*(this.cos_p14*t-this.sin_p14*n*i)),e.x=a,e.y=s,e},inverse:function(e){var t,n,r,i,o,a,s;return e.x-=this.x0,e.y-=this.y0,n=Kt((t=Math.sqrt(e.x*e.x+e.y*e.y))/this.a),r=Math.sin(n),i=Math.cos(n),a=this.long0,Math.abs(t)<=v?(s=this.lat0,e.x=a,e.y=s,e):(s=Kt(i*this.sin_p14+e.y*r*this.cos_p14/t),o=Math.abs(this.lat0)-f,Math.abs(o)<=v?(a=this.lat0>=0?X(this.long0+Math.atan2(e.x,-e.y)):X(this.long0-Math.atan2(-e.x,e.y)),e.x=a,e.y=s,e):(a=X(this.long0+Math.atan2(e.x*r,t*this.cos_p14*i-e.y*this.sin_p14*r)),e.x=a,e.y=s,e))},names:["ortho"]};var un=1,dn=2,hn=3,pn=4,fn=5,gn=6,mn={AREA_0:1,AREA_1:2,AREA_2:3,AREA_3:4};function yn(e,t,n,r){var i;return ex&&i<=f+x?(r.value=mn.AREA_1,i-=f):i>f+x||i<=-(f+x)?(r.value=mn.AREA_2,i=i>=0?i-S:i+S):(r.value=mn.AREA_3,i+=f)),i}function vn(e,t){var n=e+t;return n<-S?n+=A:n>+S&&(n-=A),n}const bn={init:function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Quadrilateralized Spherical Cube",this.lat0>=f-x/2?this.face=fn:this.lat0<=-(f-x/2)?this.face=gn:Math.abs(this.long0)<=x?this.face=un:Math.abs(this.long0)<=f+x?this.face=this.long0>0?dn:pn:this.face=hn,0!==this.es&&(this.one_minus_f=1-(this.a-this.b)/this.a,this.one_minus_f_squared=this.one_minus_f*this.one_minus_f)},forward:function(e){var t,n,r,i,o,a,s={x:0,y:0},l={value:0};if(e.x-=this.long0,t=0!==this.es?Math.atan(this.one_minus_f_squared*Math.tan(e.y)):e.y,n=e.x,this.face===fn)i=f-t,n>=x&&n<=f+x?(l.value=mn.AREA_0,r=n-f):n>f+x||n<=-(f+x)?(l.value=mn.AREA_1,r=n>0?n-S:n+S):n>-(f+x)&&n<=-x?(l.value=mn.AREA_2,r=n+f):(l.value=mn.AREA_3,r=n);else if(this.face===gn)i=f+t,n>=x&&n<=f+x?(l.value=mn.AREA_0,r=-n+f):n=-x?(l.value=mn.AREA_1,r=-n):n<-x&&n>=-(f+x)?(l.value=mn.AREA_2,r=-n-f):(l.value=mn.AREA_3,r=n>0?-n+S:-n-S);else{var c,u,d,h,p,g;this.face===dn?n=vn(n,+f):this.face===hn?n=vn(n,+S):this.face===pn&&(n=vn(n,-f)),h=Math.sin(t),p=Math.cos(t),g=Math.sin(n),c=p*Math.cos(n),u=p*g,d=h,this.face===un?r=yn(i=Math.acos(c),d,u,l):this.face===dn?r=yn(i=Math.acos(u),d,-c,l):this.face===hn?r=yn(i=Math.acos(-c),d,-u,l):this.face===pn?r=yn(i=Math.acos(-u),d,c,l):(i=r=0,l.value=mn.AREA_0)}return a=Math.atan(12/S*(r+Math.acos(Math.sin(r)*Math.cos(x))-f)),o=Math.sqrt((1-Math.cos(i))/(Math.cos(a)*Math.cos(a))/(1-Math.cos(Math.atan(1/Math.cos(r))))),l.value===mn.AREA_1?a+=f:l.value===mn.AREA_2?a+=S:l.value===mn.AREA_3&&(a+=1.5*S),s.x=o*Math.cos(a),s.y=o*Math.sin(a),s.x=s.x*this.a+this.x0,s.y=s.y*this.a+this.y0,e.x=s.x,e.y=s.y,e},inverse:function(e){var t,n,r,i,o,a,s,l,c,u,d,h,p={lam:0,phi:0},g={value:0};if(e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,n=Math.atan(Math.sqrt(e.x*e.x+e.y*e.y)),t=Math.atan2(e.y,e.x),e.x>=0&&e.x>=Math.abs(e.y)?g.value=mn.AREA_0:e.y>=0&&e.y>=Math.abs(e.x)?(g.value=mn.AREA_1,t-=f):e.x<0&&-e.x>=Math.abs(e.y)?(g.value=mn.AREA_2,t=t<0?t+S:t-S):(g.value=mn.AREA_3,t+=f),c=S/12*Math.tan(t),o=Math.sin(c)/(Math.cos(c)-1/Math.sqrt(2)),a=Math.atan(o),(s=1-(r=Math.cos(t))*r*(i=Math.tan(n))*i*(1-Math.cos(Math.atan(1/Math.cos(a)))))<-1?s=-1:s>1&&(s=1),this.face===fn)l=Math.acos(s),p.phi=f-l,g.value===mn.AREA_0?p.lam=a+f:g.value===mn.AREA_1?p.lam=a<0?a+S:a-S:g.value===mn.AREA_2?p.lam=a-f:p.lam=a;else if(this.face===gn)l=Math.acos(s),p.phi=l-f,g.value===mn.AREA_0?p.lam=-a+f:g.value===mn.AREA_1?p.lam=-a:g.value===mn.AREA_2?p.lam=-a-f:p.lam=a<0?-a-S:-a+S;else{var m,y,v;c=(m=s)*m,y=(c+=(v=c>=1?0:Math.sqrt(1-c)*Math.sin(a))*v)>=1?0:Math.sqrt(1-c),g.value===mn.AREA_1?(c=y,y=-v,v=c):g.value===mn.AREA_2?(y=-y,v=-v):g.value===mn.AREA_3&&(c=y,y=v,v=-c),this.face===dn?(c=m,m=-y,y=c):this.face===hn?(m=-m,y=-y):this.face===pn&&(c=m,m=y,y=-c),p.phi=Math.acos(-v)-f,p.lam=Math.atan2(y,m),this.face===dn?p.lam=vn(p.lam,-f):this.face===hn?p.lam=vn(p.lam,-S):this.face===pn&&(p.lam=vn(p.lam,+f))}return 0!==this.es&&(u=p.phi<0?1:0,d=Math.tan(p.phi),h=this.b/Math.sqrt(d*d+this.one_minus_f_squared),p.phi=Math.atan(Math.sqrt(this.a*this.a-h*h)/(this.one_minus_f*h)),u&&(p.phi=-p.phi)),p.lam+=this.long0,e.x=p.lam,e.y=p.phi,e},names:["Quadrilateralized Spherical Cube","Quadrilateralized_Spherical_Cube","qsc"]};var wn=[[1,22199e-21,-715515e-10,31103e-10],[.9986,-482243e-9,-24897e-9,-13309e-10],[.9954,-83103e-8,-448605e-10,-9.86701e-7],[.99,-.00135364,-59661e-9,36777e-10],[.9822,-.00167442,-449547e-11,-572411e-11],[.973,-.00214868,-903571e-10,1.8736e-8],[.96,-.00305085,-900761e-10,164917e-11],[.9427,-.00382792,-653386e-10,-26154e-10],[.9216,-.00467746,-10457e-8,481243e-11],[.8962,-.00536223,-323831e-10,-543432e-11],[.8679,-.00609363,-113898e-9,332484e-11],[.835,-.00698325,-640253e-10,9.34959e-7],[.7986,-.00755338,-500009e-10,9.35324e-7],[.7597,-.00798324,-35971e-9,-227626e-11],[.7186,-.00851367,-701149e-10,-86303e-10],[.6732,-.00986209,-199569e-9,191974e-10],[.6213,-.010418,883923e-10,624051e-11],[.5722,-.00906601,182e-6,624051e-11],[.5322,-.00677797,275608e-9,624051e-11]],xn=[[-520417e-23,.0124,121431e-23,-845284e-16],[.062,.0124,-1.26793e-9,4.22642e-10],[.124,.0124,5.07171e-9,-1.60604e-9],[.186,.0123999,-1.90189e-8,6.00152e-9],[.248,.0124002,7.10039e-8,-2.24e-8],[.31,.0123992,-2.64997e-7,8.35986e-8],[.372,.0124029,9.88983e-7,-3.11994e-7],[.434,.0123893,-369093e-11,-4.35621e-7],[.4958,.0123198,-102252e-10,-3.45523e-7],[.5571,.0121916,-154081e-10,-5.82288e-7],[.6176,.0119938,-241424e-10,-5.25327e-7],[.6769,.011713,-320223e-10,-5.16405e-7],[.7346,.0113541,-397684e-10,-6.09052e-7],[.7903,.0109107,-489042e-10,-104739e-11],[.8435,.0103431,-64615e-9,-1.40374e-9],[.8936,.00969686,-64636e-9,-8547e-9],[.9394,.00840947,-192841e-9,-42106e-10],[.9761,.00616527,-256e-6,-42106e-10],[1,.00328947,-319159e-9,-42106e-10]],An=.8487,Sn=1.3523,Cn=w/5,En=1/Cn,kn=18,Tn=function(e,t){return e[0]+t*(e[1]+t*(e[2]+t*e[3]))};const _n={init:function(){this.x0=this.x0||0,this.y0=this.y0||0,this.long0=this.long0||0,this.es=0,this.title=this.title||"Robinson"},forward:function(e){var t=X(e.x-this.long0),n=Math.abs(e.y),r=Math.floor(n*Cn);r<0?r=0:r>=kn&&(r=17);var i={x:Tn(wn[r],n=w*(n-En*r))*t,y:Tn(xn[r],n)};return e.y<0&&(i.y=-i.y),i.x=i.x*this.a*An+this.x0,i.y=i.y*this.a*Sn+this.y0,i},inverse:function(e){var t={x:(e.x-this.x0)/(this.a*An),y:Math.abs(e.y-this.y0)/(this.a*Sn)};if(t.y>=1)t.x/=wn[18][0],t.y=e.y<0?-f:f;else{var n=Math.floor(t.y*kn);for(n<0?n=0:n>=kn&&(n=17);;)if(xn[n][0]>t.y)--n;else{if(!(xn[n+1][0]<=t.y))break;++n}var r=xn[n],i=5*(t.y-r[0])/(xn[n+1][0]-r[0]);i=function(e,t,n,r){for(var i=t;r;--r){var o=e(i);if(i-=o,Math.abs(o)1e10)throw new Error;if(this.radius_g=1+this.radius_g_1,this.C=this.radius_g*this.radius_g-1,0!==this.es){var e=1-this.es,t=1/e;this.radius_p=Math.sqrt(e),this.radius_p2=e,this.radius_p_inv2=t,this.shape="ellipse"}else this.radius_p=1,this.radius_p2=1,this.radius_p_inv2=1,this.shape="sphere";this.title||(this.title="Geostationary Satellite View")},forward:function(e){var t,n,r,i,o=e.x,a=e.y;if(o-=this.long0,"ellipse"===this.shape){a=Math.atan(this.radius_p2*Math.tan(a));var s=this.radius_p/yt(this.radius_p*Math.cos(a),Math.sin(a));if(n=s*Math.cos(o)*Math.cos(a),r=s*Math.sin(o)*Math.cos(a),i=s*Math.sin(a),(this.radius_g-n)*n-r*r-i*i*this.radius_p_inv2<0)return e.x=Number.NaN,e.y=Number.NaN,e;t=this.radius_g-n,this.flip_axis?(e.x=this.radius_g_1*Math.atan(r/yt(i,t)),e.y=this.radius_g_1*Math.atan(i/t)):(e.x=this.radius_g_1*Math.atan(r/t),e.y=this.radius_g_1*Math.atan(i/yt(r,t)))}else"sphere"===this.shape&&(t=Math.cos(a),n=Math.cos(o)*t,r=Math.sin(o)*t,i=Math.sin(a),t=this.radius_g-n,this.flip_axis?(e.x=this.radius_g_1*Math.atan(r/yt(i,t)),e.y=this.radius_g_1*Math.atan(i/t)):(e.x=this.radius_g_1*Math.atan(r/t),e.y=this.radius_g_1*Math.atan(i/yt(r,t))));return e.x=e.x*this.a,e.y=e.y*this.a,e},inverse:function(e){var t,n,r,i,o=-1,a=0,s=0;if(e.x=e.x/this.a,e.y=e.y/this.a,"ellipse"===this.shape){this.flip_axis?(s=Math.tan(e.y/this.radius_g_1),a=Math.tan(e.x/this.radius_g_1)*yt(1,s)):(a=Math.tan(e.x/this.radius_g_1),s=Math.tan(e.y/this.radius_g_1)*yt(1,a));var l=s/this.radius_p;if(t=a*a+l*l+o*o,(r=(n=2*this.radius_g*o)*n-4*t*this.C)<0)return e.x=Number.NaN,e.y=Number.NaN,e;i=(-n-Math.sqrt(r))/(2*t),o=this.radius_g+i*o,a*=i,s*=i,e.x=Math.atan2(a,o),e.y=Math.atan(s*Math.cos(e.x)/o),e.y=Math.atan(this.radius_p_inv2*Math.tan(e.y))}else if("sphere"===this.shape){if(this.flip_axis?(s=Math.tan(e.y/this.radius_g_1),a=Math.tan(e.x/this.radius_g_1)*Math.sqrt(1+s*s)):(a=Math.tan(e.x/this.radius_g_1),s=Math.tan(e.y/this.radius_g_1)*Math.sqrt(1+a*a)),t=a*a+s*s+o*o,(r=(n=2*this.radius_g*o)*n-4*t*this.C)<0)return e.x=Number.NaN,e.y=Number.NaN,e;i=(-n-Math.sqrt(r))/(2*t),o=this.radius_g+i*o,a*=i,s*=i,e.x=Math.atan2(a,o),e.y=Math.atan(s*Math.cos(e.x)/o)}return e.x=e.x+this.long0,e},names:["Geostationary Satellite View","Geostationary_Satellite","geos"]};var Dn=1.340264,Nn=-.081106,Bn=893e-6,zn=.003796,Vn=Math.sqrt(3)/2;const $n={init:function(){this.es=0,this.long0=void 0!==this.long0?this.long0:0},forward:function(e){var t=X(e.x-this.long0),n=e.y,r=Math.asin(Vn*Math.sin(n)),i=r*r,o=i*i*i;return e.x=t*Math.cos(r)/(Vn*(Dn+3*Nn*i+o*(7*Bn+9*zn*i))),e.y=r*(Dn+Nn*i+o*(Bn+zn*i)),e.x=this.a*e.x+this.x0,e.y=this.a*e.y+this.y0,e},inverse:function(e){e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a;var t,n,r,i,o=e.y;for(i=0;i<12&&(o-=r=(o*(Dn+Nn*(t=o*o)+(n=t*t*t)*(Bn+zn*t))-e.y)/(Dn+3*Nn*t+n*(7*Bn+9*zn*t)),!(Math.abs(r)<1e-9));++i);return n=(t=o*o)*t*t,e.x=Vn*e.x*(Dn+3*Nn*t+n*(7*Bn+9*zn*t))/Math.cos(o),e.y=Math.asin(Math.sin(o)/Vn),e.x=X(e.x+this.long0),e},names:["eqearth","Equal Earth","Equal_Earth"]};Me.defaultDatum="WGS84",Me.Proj=ye,Me.WGS84=new Me.Proj("WGS84"),Me.Point=Je,Me.toPoint=ke,Me.defs=G,Me.nadgrid=function(e,t){var n=new DataView(t),r=function(e){var t=e.getInt32(8,!1);if(11===t)return!1;t=e.getInt32(8,!0),11!==t&&console.warn("Failed to detect nadgrid endian-ness, defaulting to little-endian");return!0}(n),i=function(e,t){return{nFields:e.getInt32(8,t),nSubgridFields:e.getInt32(24,t),nSubgrids:e.getInt32(40,t),shiftType:he(e,56,64).trim(),fromSemiMajorAxis:e.getFloat64(120,t),fromSemiMinorAxis:e.getFloat64(136,t),toSemiMajorAxis:e.getFloat64(152,t),toSemiMinorAxis:e.getFloat64(168,t)}}(n,r),o=function(e,t,n){for(var r=176,i=[],o=0;o3&&void 0!==arguments[3]?arguments[3]:25,i=[],o=e[2]-e[0],a=e[3]-e[1],s=0;s0&&Array.isArray(e[0]))for(var i=0;i{"use strict";n.d(t,{Aw:()=>b});var r=n(47769),i=n(9374),o=n(6335),a=function(e){return"uniqueValue"===(null==e?void 0:e.type)},s=function(e){return"esriSMS"===(null==e?void 0:e.type)},l=function(e){return"esriSFS"===(null==e?void 0:e.type)},c=function(e){return"esriSLS"===(null==e?void 0:e.type)},u=function(e){return"esriPMS"===(null==e?void 0:e.type)},d=function(e){return"simple"===(null==e?void 0:e.type)},h=function(e){return"classBreaks"===(null==e?void 0:e.type)};function p(e){switch(e){case"esriSLSDash":return"dash";case"esriSLSDashDot":return"dash-dot";case"esriSLSDashDotDot":return"dash-dot-dot";case"esriSLSDot":return"dot";case"esriSLSLongDash":return"longDash";case"esriSLSLongDashDot":return"longDash-dot";case"esriSLSNull":return"null";case"esriSLSShortDash":return"shortDash";case"esriSLSShortDashDot":return"shortDash-dot";case"esriSLSShortDashDotDot":return"shortDash-dot-dot";case"esriSLSSolid":case null:case void 0:return"solid";default:return o.vF.logInfo("Handling of ESRI renderer line style '".concat(e,"' is not coded, 'solid' will be used instead.")),"solid"}}function f(e){switch(e){case"esriSFSBackwardDiagonal":return"backwardDiagonal";case"esriSFSCross":return"cross";case"esriSFSDiagonalCross":return"diagonalCross";case"esriSFSForwardDiagonal":return"forwardDiagonal";case"esriSFSHorizontal":return"horizontal";case"esriSFSNull":case"esriSFSSolid":return"solid";case"esriSFSVertical":return"vertical";default:return o.vF.logInfo("Handling of ESRI renderer fill style '".concat(e,"' is not coded, 'solid' will be used instead.")),"solid"}}function g(e){switch(e){case"esriSMSCircle":return"circle";case"esriSMSCross":return"+";case"esriSMSDiamond":return"diamond";case"esriSMSSquare":return"square";case"esriSMSTriangle":return"triangle";case"esriSMSX":return"X";default:return o.vF.logInfo("Handling of ESRI renderer symbol style '".concat(e,"' is not coded, 'circle' will be used instead.")),"circle"}}function m(e){return e?(0,r.oJ)([e[0],e[1],e[2],e[3]/255]):"rgba(0,0,0,0)"}function y(e){if(e){if(s(e)){var t,n,r,i,a=[void 0!==e.xoffset?e.xoffset:0,void 0!==e.yoffset?e.yoffset:0];return{type:"simpleSymbol",rotation:void 0!==e.angle?e.angle:0,color:m(null==e?void 0:e.color),stroke:{color:m(null==e||null===(t=e.outline)||void 0===t?void 0:t.color),lineStyle:p(null==e||null===(n=e.outline)||void 0===n?void 0:n.style),width:null!==(r=null==e||null===(i=e.outline)||void 0===i?void 0:i.width)&&void 0!==r?r:0},size:.667*e.size,symbol:g(e.style),offset:a}}var d,h,y,v,b;if(c(e))return{type:"lineString",stroke:{color:m(null==e?void 0:e.color),lineStyle:p(null==e?void 0:e.style),width:null!==(d=null==e?void 0:e.width)&&void 0!==d?d:0}};if(l(e))return{type:"filledPolygon",color:m(null==e?void 0:e.color),stroke:{color:m(null==e||null===(h=e.outline)||void 0===h?void 0:h.color),lineStyle:p(null==e||null===(y=e.outline)||void 0===y?void 0:y.style),width:null!==(v=null==e||null===(b=e.outline)||void 0===b?void 0:b.width)&&void 0!==v?v:0},fillStyle:f(e.style)};if(u(e)){var w=[void 0!==e.xoffset?e.xoffset:0,void 0!==e.yoffset?e.yoffset:0];return{type:"iconSymbol",mimeType:e.contentType,src:e.imageData,rotation:void 0!==e.angle?e.angle:0,opacity:1,offset:w}}o.vF.logInfo("Handling of ESRI renderer symbol '".concat(e,"' is not coded, default GeoView settings will be used instead."))}}function v(e){return(0,i.hc)(e)||(0,i.cw)(e)?"Point":(0,i.C)(e)?"Polygon":(0,i.NF)(e)?"LineString":void 0}function b(e){return a(e)?function(e){var t={},n=null===e.defaultLabel?void 0:e.defaultLabel,r=!!e.defaultSymbol,o=y(e.defaultSymbol),a=[e.field1];e.field2&&a.push(e.field2),e.field3&&a.push(e.field3);var s=[];e.uniqueValueInfos.forEach((function(t){var n=y(t.symbol);n&&("geographic"===e.rotationType&&((0,i.hc)(n)||(0,i.cw)(n))&&(n.rotation=Math.PI/2-n.rotation),s.push({label:t.label,visible:!0,values:t.value.replaceAll("'","''").split(e.fieldDelimiter),settings:n}))}));var l=v(s[0].settings),c={styleType:"uniqueValue",defaultLabel:n,defaultVisible:r,defaultSettings:o,fields:a,uniqueValueStyleInfo:s};if(l)return t[l]=c,t}(e):d(e)?function(e){var t={},n=e.label,r=y(e.symbol);if(r){"geographic"===e.rotationType&&((0,i.hc)(r)||(0,i.cw)(r))&&(r.rotation=Math.PI/2-r.rotation);var o=v(r),a={styleType:"simple",label:n,settings:r};if(o)return t[o]=a,t}}(e):h(e)?function(e){for(var t={},n=null===e.defaultLabel?void 0:e.defaultLabel,r=y(e.defaultSymbol),o=!!e.defaultLabel,a=e.field,s=[],l=0;l{"use strict";n.d(t,{A$:()=>s,MU:()=>o,Z6:()=>i,eQ:()=>a,fT:()=>r,r7:()=>l});var r=["#800000","#008000","#000080","#808000","#800080","#008080","#ff0000","#00ff00","#0000ff","#ffff00","#ff00ff","#00ffff","#ffa500","#faebd7","#7fffd4","#ffe4c4","#deb887","#d2691e","#ff7f50","#6495ed","#fff8dc","#dc143c","#b8860b","#a9a9a9","#006400","#bdb76b","#8b008b","#556b2f","#ff8c00","#9932cc","#8b0000","#e9967a","#8fbc8f","#483d8b","#2f4f4f","#00ced1","#9400d3","#ff1493","#00bfff","#696969","#1e90ff","#b22222","#fffaf0","#228b22","#dcdcdc","#ffd700","#adff2f","#ff69b4","#cd5c5c","#4b0082","#f0e68c","#e6e6fa","#7cfc00","#add8e6","#f08080","#e0ffff","#90ee90","#ffb6c1","#20b2aa","#87cefa","#ba55d3","#9370db","#3cb371","#ffdead"],i=function(e){return e[e.unprocessedNode=0]="unprocessedNode",e[e.keyword=1]="keyword",e[e.variable=2]="variable",e[e.string=3]="string",e[e.number=4]="number",e[e.unary=5]="unary",e[e.binary=6]="binary",e[e.group=7]="group",e}({}),o=["is","is not","in","like","and","or","<","<=","=","<>",">",">=","||","/","*",","],a=["not","upper","lower","date"],s=["(",")"],l=[{key:"date",priority:15},{key:"upper",priority:15},{key:"lower",priority:15},{key:"u+",priority:15},{key:"u-",priority:15},{key:"*",priority:14},{key:"/",priority:14},{key:"+",priority:13},{key:"-",priority:13},{key:"||",priority:13},{key:",",priority:12},{key:"=",priority:11},{key:"<",priority:10},{key:">",priority:9},{key:"<=",priority:8},{key:">=",priority:7},{key:"<>",priority:6},{key:"is not",priority:5},{key:"is",priority:5},{key:"like",priority:4},{key:"in",priority:3},{key:"not",priority:2},{key:"and",priority:1},{key:"or",priority:0}]},49821:(e,t,n)=>{"use strict";n.d(t,{$G:()=>me,WN:()=>be,nS:()=>fe,qC:()=>ce,yt:()=>z});var r=n(24515),i=n(43004),o=n(888),a=n(74131),s=n(53732),l=n.n(s),c=n(47769),u=n(3099),d=n(71522),h=n(57734),p=n(69563),f=n(80098),g=n(66410),m=n(38492),y=n(22727),v=n(92548),b=n(17849),w=n(72459),x=n(46074),A=n(9374),S=n(27673),C=n(6335);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t1&&void 0!==arguments[1]&&arguments[1],n=(0,c.oJ)((0,w.setAlphaColor)((0,c._j)(S.fT[T]),e));return t&&T++,n}var O=function(e){var t,n=null===(t=e.getGeometry())||void 0===t?void 0:t.getType();if(!n)throw new Error("Features must have a geometry type.");return n.startsWith("Multi")?n.slice(5):n},P="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAADACAMAAAB/Pny7AAAAYFBMVEX///8AAADr6+vk5ORWVlZsbGxKSko5OTn5+fnz8/OKiopvb28VFRUJCQmRkZH29va1tbXV1dW7u7suLi7GxsZeXl4/Pz/Pz8+lpaVjY2N7e3uurq7c3Nyenp5FRUUiIiJlLbf0AAAGlElEQVR4nN3d6XajMAwFYAOZhFCysBQ62Xj/txx3J4l1MWDLYvSbnvFXG8kydFDqK8pN9BmbWi09jlX0HdXCNen516I1Jbj0kAiJ+EAM8LiJ+tGUxIU6kmwlI07XsohTg+UW3cea1myfLg4VebXKyuSBcziuny5cIc3z5aEi35yOSX9waWn6Va/K5xkUNzfRB6fujbRsjFet6SyQPtxiYWO3Pv5o6py4CNWb4451vAPRXb/HVdEXgQxddnxjtYjs6w6vzavsPfKavG9+NwwiIt9vvzR0ctrQWUAZ00awqM6fI03LFXkNqDdKUIbWsWqVhYacG1N5Che7LP7W0MMCGfogaqX9JF9z3fyMBtQbokSFiVP8PS6Q09AeWpKma22GtUF7AUGaq7LRVMdFzM1t2xsWnQUqVG/kaOLfUaElcwMaOSut7Y0q+UNfdzuSGjk57WqJQRoxK+1ki9EaemdTrnfMYRziizUmWtOatN5nrHEyroWVPQbt09Itb5iH2ozA6JxGLjTmiF9M49v0rhjEwOrJGi4wUS5kbpxg4LkAYzjCdGAvwBeOMFED6g1buMKgesMWzjASNO4wcJ/GEw4x4euNS0wUBda4xeRhNW4xupMOmQUcY6LbOaDGNSZohnaOgb2nUMyKPoFqzqHqzVTMHjy/qUJVz8mYtKZP1TeBNNMxCmgC7QVmYFQLNOelYdBzzy7E3MzCIE2ILDAPo2r6uWfFn6FnYrCGu3rOxaT1K6lpuDVzMeoANNy7ztkYPTf0SmPe2czHKLwXWBhGqYJ+/afjrJ5OMKoAL2UwatxgVIv2AmxZwBFG1a/kW4DNeat4whUmBZobl8YVBlZPLo0zjIR64w4DswBPf+MSo1rwGgOHxilGXcArjQwatxjV0vdN7v++cYxB9cZ/f+MagzL0xrfGNSZot+Ycg+fmzWv1dI/RWYDW+L1vfGDQKYfX+8YLBmv8ZWg/GFRvqjdvGk8YuE/zpvGFQXPT+Vpp3jAop3We5sYfJkCG9ojRGnKf5qd6+sSk9V/6lMOHxifmfQ9NYfTcuF9pfjHwaZT7bs0zRhWcvadvDOyk35aGUQVdPSPHGdo/BnXSndvTQQaMAhnabb3hwBy46g0HBp8LOKw3LBi8T3OnYcKgnOZuD82FQZrclYYNA+fm6kbDh1GF9/uGEeM/C3BiVPvXr4YVo1r6teLqOr968mJUQc9Nd509N8wYvNLmzg03xmsWYMdgzbx6w49B9SafVz0DYNBeYDdrbkJgUE6L5mSBIBitoTvpGZowGJ2h6Sfs0zWBMCnQTO+kA2H8aEJhYL2Zeg4dDuOh9wyIUQk9N3f/880iMCpB59AT/oGgGFRvdhOyQFiM7tZc1pvAGKTZjO49Q2NgtzZWExyjCrDSRmrCY9AeOh93LiAAg7q13ahuTQLG2dyIwKC5GXMCJQODctqIbk0IBlZP65wmBYMzdDz886IwqjCOZNTcyME4qJ6CMFpDzo3d+wKSMLOfrYnCqMu86ikLoy6gk94PaoRhVAJObgfnRhpGXeicFg3lNHEYlKHzAY08jK6e1EdJhuqNQIzWTKyeEjGov4Ga2DjUwBjYre1pzfYkEaNzGqmJMlpjLLrBMWgvgKqnqeiGx2gNfXIL+hvDAhWAQTmtg5rHH5OAmZqhn44TRGCmah7bIhkYqNmDlXY/YiEYdQH3Dag391lACmZqt3bXsorBoOqJ9gL9X4IcDNSgvcDvjwnCoN5zh/YCPz8mCTO19/zRiMKoy4ns1iKQob9/CcOYLGb8egl4gziH9eZDM/yVkzXrh2XoP/TS+zRQbz7K1PD3Z3Y5a4CvjoK9QNq+a0Z8GSh8VHS9Sd93Nv1vNsUnUR9jNQQ6gdJ7gX1fd6VziZRA1fO1/50zaR+WNQbS3M8U+BNYMQH2aXcRZ6FHahG55XPP9LyAdQa7tbtVB4595ISlJn2Tn88iWG/6YT6QFheov+kF+BatqLDSHN7At88lhdVK2+6XkNEiy7lJskUkAd1JW739ANo9SYHObHqa6zKyQGdVbw71n0XcOF1mVT2T6+sSOJaaNDmfGum9mu1K0xEXZXZarSUE+D/vbTV6fg7bWEIUdEOf2600SZHQe0bLfZqkSOjnN7sFakApX95Ku/xX9w3QWNYbSQGeEYzI0FLi/5obkKFv7fCPCwvyOLwR8W3skZEYXzQT8L3iSWGcm4Va3u+bp5zWLNViyNChvoPpJB40i7Y8aBZuudMs3tLbQ9/Xl38GJru99HKKPgAAAABJRU5ErkJggg==",I={dash:[16,4],"dash-dot":[16,4,2,4],"dash-dot-dot":[16,4,2,4,2,4],dot:[2,2],longDash:[25,5],"longDash-dot":[25,5,2,5],null:[0,3],shortDash:[7,3],"shortDash-dot":[7,3,2,3],"shortDash-dot-dot":[7,3,2,3,2,3],solid:void 0},M=[{moveTo:[1,0],lineTo:[2,1]},{moveTo:[0,0],lineTo:[2,2]},{moveTo:[0,1],lineTo:[1,2]}],L=[{moveTo:[1,0],lineTo:[1,2]},{moveTo:[0,1],lineTo:[2,1]}],R=[{moveTo:[0,0],lineTo:[2,2]},{moveTo:[0,2],lineTo:[2,0]}],j=[{moveTo:[0,1],lineTo:[1,0]},{moveTo:[0,2],lineTo:[2,0]},{moveTo:[2,1],lineTo:[1,2]}],F=[{moveTo:[0,1],lineTo:[2,1]}],D=[{moveTo:[1,0],lineTo:[1,2]}],N=50,B=50;function z(e){return new Promise((function(t){var n=new Image;n.src=e,n.decode().then((function(){return t(n)})).catch((function(n){C.vF.logError("GeoviewRenderer.loadImage(src) - Error while loading the src image =",e,n),t(null)}))}))}function V(e){return $.apply(this,arguments)}function $(){return($=(0,a.A)(l().mark((function e(t){var n,r,i,o,a,s,c;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=null==t?void 0:t.getImage(),e.next=4,z(n.getSrc());case 4:if(!(r=e.sent)){e.next=16;break}return i=n.getSize(),o=Array.isArray(i)?i[0]:r.width||N,a=Array.isArray(i)?i[1]:r.height||B,(s=document.createElement("canvas")).width=o,s.height=a,(c=s.getContext("2d")).globalAlpha=n.getOpacity(),c.drawImage(r,0,0),e.abrupt("return",s);case 16:return e.abrupt("return",null);case 19:return e.prev=19,e.t0=e.catch(0),C.vF.logError("Error creating incon canvas for pointStyle",e.t0),e.abrupt("return",null);case 23:case"end":return e.stop()}}),e,null,[[0,19]])})))).apply(this,arguments)}function G(e){return U.apply(this,arguments)}function U(){return(U=(0,a.A)(l().mark((function e(t){var n,r,i,o;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,z(t);case 3:if(!(n=e.sent)){e.next=13;break}return r=n.width||N,i=n.height||B,(o=document.createElement("canvas")).width=r,o.height=i,o.getContext("2d").drawImage(n,0,0),e.abrupt("return",o);case 13:return e.abrupt("return",null);case 16:return e.prev=16,e.t0=e.catch(0),C.vF.logError("Error creating incon canvas for pointStyle",e.t0),e.abrupt("return",null);case 20:case"end":return e.stop()}}),e,null,[[0,16]])})))).apply(this,arguments)}function W(e){var t=e.getImage().getSize(),n=Array.isArray(t)?t:[N,B],r=(0,o.A)(n,2),i=r[0],a=r[1],s=document.createElement("canvas");s.width=i+4,s.height=a+4;var l=(0,b.toContext)(s.getContext("2d"));return l.setStyle(e),l.setTransform([1,0,0,1,0,0]),l.drawGeometry(new m.A([s.width/2,s.width/2])),s}function q(e){var t=document.createElement("canvas");t.width=N,t.height=B;var n=t.getContext("2d"),r=n.createLinearGradient(0,t.height,t.width,0);r.addColorStop(0,"#7f7f7f"),r.addColorStop(.667,"#ffffff"),r.addColorStop(1,"#ffffff"),n.fillStyle=r,n.fillRect(0,0,t.width,t.height);var i=(0,b.toContext)(n);return i.setStyle(e),i.setTransform([1,0,0,1,0,0]),i.drawGeometry(new y.A([[4,t.height-4],[t.width-4,4]])),t}function H(e){var t=document.createElement("canvas");t.width=N,t.height=B;var n=t.getContext("2d"),r=n.createLinearGradient(0,t.height,t.width,0);r.addColorStop(0,"#7f7f7f"),r.addColorStop(.667,"#ffffff"),r.addColorStop(1,"#ffffff"),n.fillStyle=r,n.fillRect(0,0,t.width,t.height);var i=(0,b.toContext)(n);return i.setStyle(e),i.setTransform([1,0,0,1,0,0]),i.drawGeometry(new v.Ay([[[4,4],[t.width-4,4],[t.width-4,t.height-4],[4,t.height-4],[4,4]]])),n.getImageData(0,0,t.width,t.height),t}function Y(e){var t,n,r,i;return void 0===e.stroke&&(e.stroke={}),void 0===e.stroke.color&&(e.stroke.color="color"in e?(0,c.oJ)((0,w.setAlphaColor)((0,c._j)(e.color),1)):_(1,!0)),{color:null===(t=e.stroke)||void 0===t?void 0:t.color,width:null===(n=e.stroke)||void 0===n?void 0:n.width,lineCap:"butt",lineJoin:"bevel",lineDash:I[void 0!==(null===(r=e.stroke)||void 0===r?void 0:r.lineStyle)?null===(i=e.stroke)||void 0===i?void 0:i.lineStyle:"solid"]}}function K(e,t){if(e.nodeType!==S.Z6.binary){if(e.nodeType===S.Z6.unary){if(t.length<1||"("===t[t.length-1].nodeValue)throw new Error("unary operator error");var n=t.pop();switch(e.nodeValue){case"not":if("boolean"!=typeof n.nodeValue)throw new Error("not operator error");t.push({nodeType:S.Z6.variable,nodeValue:!n.nodeValue});break;case"u-":if("number"!=typeof n.nodeValue)throw new Error("unary - operator error");t.push({nodeType:S.Z6.variable,nodeValue:-n.nodeValue});break;case"u+":if("number"!=typeof n.nodeValue)throw new Error("unary + operator error");t.push({nodeType:S.Z6.variable,nodeValue:n.nodeValue});break;case"date":if(null===n.nodeValue)t.push(n);else{if("string"!=typeof n.nodeValue)throw new Error("DATE operator error");n.nodeValue=x.P.applyInputDateFormat(n.nodeValue),t.push({nodeType:S.Z6.variable,nodeValue:x.P.convertToMilliseconds(x.P.convertToUTC(n.nodeValue))})}break;case"upper":if(null===n.nodeValue)t.push(n);else{if("string"!=typeof n.nodeValue)throw new Error("UPPER operator error");t.push({nodeType:S.Z6.variable,nodeValue:n.nodeValue.toUpperCase()})}break;case"lower":if(null===n.nodeValue)t.push(n);else{if("string"!=typeof n.nodeValue)throw new Error("LOWER operator error");t.push({nodeType:S.Z6.variable,nodeValue:n.nodeValue.toLowerCase()})}break;default:throw new Error("unknown operator error")}}}else{if(t.length<2||"("===t[t.length-2].nodeValue)throw new Error("binary operator error - operator = '".concat(e.nodeValue,"'"));var r,o=t.pop(),a=t.pop();switch(e.nodeValue){case"is not":if(null!==o.nodeValue)throw new Error("Invalid is not null operator syntax");t.push({nodeType:S.Z6.variable,nodeValue:null!==a.nodeValue});break;case"is":if(null!==o.nodeValue)throw new Error("Invalid is null operator syntax");t.push({nodeType:S.Z6.variable,nodeValue:null===a.nodeValue});break;case"=":null===a.nodeValue||null===o.nodeValue?t.push({nodeType:S.Z6.variable,nodeValue:null}):t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue===o.nodeValue});break;case"<":null===a.nodeValue||null===o.nodeValue?t.push({nodeType:S.Z6.variable,nodeValue:null}):t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue":null===a.nodeValue||null===o.nodeValue?t.push({nodeType:S.Z6.variable,nodeValue:null}):t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue>o.nodeValue});break;case"<=":null===a.nodeValue||null===o.nodeValue?t.push({nodeType:S.Z6.variable,nodeValue:null}):t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue<=o.nodeValue});break;case">=":null===a.nodeValue||null===o.nodeValue?t.push({nodeType:S.Z6.variable,nodeValue:null}):t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue>=o.nodeValue});break;case"<>":null===a.nodeValue||null===o.nodeValue?t.push({nodeType:S.Z6.variable,nodeValue:null}):t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue!==o.nodeValue});break;case"and":if(null===a.nodeValue&&(null===o.nodeValue||!0===o.nodeValue)||!0===a.nodeValue&&null===o.nodeValue)t.push({nodeType:S.Z6.variable,nodeValue:null});else if(null===a.nodeValue&&!1===o.nodeValue||!1===a.nodeValue&&null===o.nodeValue)t.push({nodeType:S.Z6.variable,nodeValue:!1});else{if("boolean"!=typeof a.nodeValue||"boolean"!=typeof o.nodeValue)throw new Error("and operator error");t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue&&o.nodeValue})}break;case"or":if(null===a.nodeValue&&(null===o.nodeValue||!1===o.nodeValue)||!1===a.nodeValue&&null===o.nodeValue)t.push({nodeType:S.Z6.variable,nodeValue:null});else if(null===a.nodeValue&&!0===o.nodeValue||!0===a.nodeValue&&null===o.nodeValue)t.push({nodeType:S.Z6.variable,nodeValue:!0});else{if("boolean"!=typeof a.nodeValue||"boolean"!=typeof o.nodeValue)throw new Error("or operator error");t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue||o.nodeValue})}break;case"+":if("number"!=typeof a.nodeValue||"number"!=typeof o.nodeValue)throw new Error("+ operator error");t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue+o.nodeValue});break;case"-":if("number"!=typeof a.nodeValue||"number"!=typeof o.nodeValue)throw new Error("- operator error");t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue-o.nodeValue});break;case"*":if("number"!=typeof a.nodeValue||"number"!=typeof o.nodeValue)throw new Error("* operator error");t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue*o.nodeValue});break;case"/":if("number"!=typeof a.nodeValue||"number"!=typeof o.nodeValue)throw new Error("/ operator error");t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue/o.nodeValue});break;case"||":if("string"!=typeof a.nodeValue&&null!==a.nodeValue||"string"!=typeof o.nodeValue)throw new Error("|| operator error");t.push({nodeType:S.Z6.variable,nodeValue:null===a.nodeValue?null:"".concat(a.nodeValue).concat(o.nodeValue)});break;case"like":if("string"!=typeof a.nodeValue&&null!==a.nodeValue||"string"!=typeof o.nodeValue)throw new Error("like operator error");var s,l=new RegExp(o.nodeValue.toLowerCase().replaceAll(".","\\.").replaceAll("%",".*").replaceAll("_","."),""),c=a.nodeValue?a.nodeValue.toLowerCase().match(l):null;t.push({nodeType:S.Z6.variable,nodeValue:null!==c&&c[0]===(null===(s=a.nodeValue)||void 0===s?void 0:s.toLowerCase())});break;case",":if(r={nodeType:S.Z6.variable,nodeValue:Array.isArray(o.nodeValue)?[a.nodeValue].concat(o.nodeValue):[a.nodeValue,o.nodeValue]},(0,i.A)(r.nodeValue[0])!==(0,i.A)(r.nodeValue[1]))throw new Error("IN clause can't mix types");t.push(r);break;case"in":Array.isArray(o.nodeValue)?t.push({nodeType:S.Z6.variable,nodeValue:o.nodeValue.includes(a.nodeValue)}):t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue===o.nodeValue});break;default:throw new Error("unknown operator error")}}}function X(e,t){var n=[],r=[],i=function(e,t){return e<0&&t.length+e>=0?t[t.length+e]:e>0&&eo(t[a]);K(n.pop(),r))u=i(-2,n);n.push(k({},t[a]))}for(var d=i(-1,n);d&&"("!==d.nodeValue;K(n.pop(),r))d=i(-2,n);n.pop()}catch(e){throw new Error("Invalid vector layer filter (".concat(e.message,")."))}if(1!==r.length||r[0].nodeType!==S.Z6.variable)throw new Error("Invalid vector layer filter (invalid structure).");var h=r.pop();return h?!h.nodeValue:void 0}function Z(e,t,n){void 0===e.color&&(e.color=_(.25,!0));var r={color:e.color},i=Y(e),o={radius:void 0!==e.size?e.size:6,radius2:void 0!==e.size?e.size/3:2,angle:n,points:t};return o.stroke=new u.A(i),o.fill=new d.A(r),void 0!==e.offset&&(o.displacement=e.offset),void 0!==e.rotation&&(o.rotation=e.rotation),new h.Ay({image:new f.A(o)})}function J(e,t,n,r){void 0===e.color&&(e.color=_(.25,!0));var i={color:e.color},o=Y(e),a={radius:void 0!==e.size?e.size:6,angle:n,scale:r,points:t};return a.stroke=new u.A(o),a.fill=new d.A(i),void 0!==e.offset&&(a.displacement=e.offset),void 0!==e.rotation&&(a.rotation=e.rotation),new h.Ay({image:new f.A(a)})}var Q={circle:function(e){void 0===e.color&&(e.color=_(.25,!0));var t={color:e.color},n=Y(e),r={radius:void 0!==e.size?e.size:4};return r.stroke=new u.A(n),r.fill=new d.A(t),void 0!==e.offset&&(r.displacement=e.offset),void 0!==e.rotation&&(r.rotation=e.rotation),new h.Ay({image:new p.A(r)})},"+":function(e){return Z(e,4,0)},diamond:function(e){return J(e,4,0,[.75,1])},square:function(e){return J(e,4,Math.PI/4,[1,1])},triangle:function(e){return J(e,3,0,[1,1])},X:function(e){return Z(e,4,Math.PI/4)},star:function(e){return Z(e,5,0)}};function ee(e,t,n){if(void 0===n||0===n.length||!t||!X(t,n)){var r=(0,A.s0)(e)?e.settings:e;if((0,A.cw)(r)){var i=r.symbol;return Q[i].call("",r)}return(0,A.hc)(r)?function(e){var t={};return t.src="data:".concat(e.mimeType,";base64,").concat(e.src),void 0!==e.width&&void 0!==e.height&&(t.size=[e.width,e.height]),void 0!==e.offset&&(t.offset=e.offset),void 0!==e.rotation&&(t.rotation=e.rotation),void 0!==e.opacity&&(t.opacity=e.opacity),new h.Ay({image:new g.A(t)})}(r):void 0}}function te(e,t,n){if(void 0===n||0===n.length||!t||!X(t,n)){var r,i=(0,A.s0)(e)?e.settings:e;if(t&&(r=t.getGeometry()),(0,A.NF)(i)){var o=Y(i);return new h.Ay({stroke:new u.A(o),geometry:r})}}}function ne(e,t,n){var r=void 0!==e.paternSize?e.paternSize:8;void 0===e.color&&(e.color=_(.25,!0));var i={color:e.color},o=Y(e),a=document.createElement("canvas");a.width=2*r,a.height=2*r;var s=a.getContext("2d");s.strokeStyle=e.color,s.lineCap="butt",s.lineWidth=void 0!==e.paternWidth?e.paternWidth:1,s.beginPath();for(var l=0;l=t[0].minValue&&i<=t[0].maxValue)return 0;for(var o=1;ot[o].minValue&&i<=t[o].maxValue)return o}}var pe={simple:{Point:ee,LineString:te,Polygon:ie},uniqueValue:{Point:function(e,t,n,r){if((void 0===n||0===n.length||!t||!X(t,n))&&(0,A.IG)(e)){var i=e.defaultSettings,o=e.fields,a=e.uniqueValueStyleInfo,s=de(o,a,t);if(void 0!==s&&(r||!1!==a[s].visible))return ee(a[s].settings);if(void 0===s&&void 0!==i&&(r||!1!==e.defaultVisible))return ee(i)}},LineString:function(e,t,n,r){if((void 0===n||0===n.length||!t||!X(t,n))&&(0,A.IG)(e)){var i=e.defaultSettings,o=e.fields,a=e.uniqueValueStyleInfo,s=de(o,a,t);if(void 0!==s&&(r||!1!==a[s].visible))return te(a[s].settings,t);if(void 0===s&&void 0!==i&&(r||!1!==e.defaultVisible))return te(i,t)}},Polygon:function(e,t,n,r){if((void 0===n||0===n.length||!t||!X(t,n))&&(0,A.IG)(e)){var i=e.defaultSettings,o=e.fields,a=e.uniqueValueStyleInfo,s=de(o,a,t);if(void 0!==s&&(r||!1!==a[s].visible))return ie(a[s].settings,t);if(void 0===s&&void 0!==i&&(r||!1!==e.defaultVisible))return ie(i,t)}}},classBreaks:{Point:function(e,t,n,r){if((void 0===n||0===n.length||!t||!X(t,n))&&(0,A.$h)(e)){var i=e.defaultSettings,o=e.field,a=e.classBreakStyleInfo,s=he(o,a,t);if(void 0!==s&&(r||!1!==a[s].visible))return ee(a[s].settings);if(void 0===s&&void 0!==i&&(r||!1!==e.defaultVisible))return ee(i)}},LineString:function(e,t,n,r){if((void 0===n||0===n.length||!t||!X(t,n))&&(0,A.$h)(e)){var i=e.defaultSettings,o=e.field,a=e.classBreakStyleInfo,s=he(o,a,t);if(void 0!==s&&(r||!1!==a[s].visible))return te(a[s].settings,t);if(void 0===s&&void 0!==i&&(r||!1!==e.defaultVisible))return te(i,t)}},Polygon:function(e,t,n,r){if((void 0===n||0===n.length||!t||!X(t,n))&&(0,A.$h)(e)){var i=e.defaultSettings,o=e.field,a=e.classBreakStyleInfo,s=he(o,a,t);if(void 0!==s&&(r||!1!==a[s].visible))return ie(a[s].settings,t);if(void 0===s&&void 0!==i&&(r||!1!==e.defaultVisible))return ie(i,t)}}}};function fe(e,t,n,i,o,a){var s=O(e),l=t;if(!t||!t[s]){var c=function(e,t){return"Point"===e?{styleType:"simple",label:t,settings:{type:"simpleSymbol",color:_(.25),stroke:{color:_(1,!0),lineStyle:"solid",width:1},symbol:"circle"}}:"LineString"===e?{styleType:"simple",label:t,settings:{type:"lineString",stroke:{color:_(1,!0)}}}:"Polygon"===e?{styleType:"simple",label:t,settings:{type:"filledPolygon",color:_(.25),stroke:{color:_(1,!0)},fillStyle:"solid"}}:void C.vF.logError("Geometry type ".concat(e," is not supported by the GeoView viewer."))}(s,n);c&&(t?l[s]=c:l=(0,r.A)({},s,c),null==a||a(s,c))}if(l[s]){var u=t[s],d=u.styleType;return pe[d][s].call("",u,e,i,o)}}var ge={};function me(e,t,n,r,i,o){return ye.apply(this,arguments)}function ye(){return(ye=(0,a.A)(l().mark((function e(t,n,r,i,o,a){var s,c,u,d,h,p,f,g,m;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.getGeometry()){e.next=21;break}if(c=O(t),!n[c]){e.next=21;break}if(u=n[c],d=u.styleType,!(h=pe[d][c](u,t,r,i))){e.next=21;break}if("Point"!==c){e.next=20;break}if(!((0,A.s0)(u)&&(0,A.cw)(u.settings)||(0,A.IG)(u)&&(0,A.cw)(u.uniqueValueStyleInfo[0].settings)||(0,A.$h)(u)&&(0,A.cw)(u.classBreakStyleInfo[0].settings))){e.next=12;break}s=W(h),e.next=18;break;case 12:return e.next=14,V(h);case 14:if(e.t0=e.sent,e.t0){e.next=17;break}e.t0=void 0;case 17:s=e.t0;case 18:e.next=21;break;case 20:"LineString"===c?s=q(h):o?(p=JSON.stringify(h.getStroke()),f=JSON.stringify(h.getFill()),ge[g=p+f]||(ge[g]=H(h)),s=ge[g]):s=H(h);case 21:if(!s){e.next=23;break}return e.abrupt("return",s);case 23:return e.next=25,null==a?void 0:a();case 25:if(!(m=e.sent)){e.next=35;break}return e.next=29,G(m);case 29:if(e.t1=e.sent,e.t1){e.next=32;break}e.t1=void 0;case 32:if(!(s=e.t1)){e.next=35;break}return e.abrupt("return",s);case 35:return e.next=37,G(P);case 37:return e.abrupt("return",e.sent);case 38:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ve(e,t,n){var r=function(e){return["+","-"].includes(e)?S.Z6.unprocessedNode:S.MU.includes(e)?S.Z6.binary:S.eQ.includes(e)?S.Z6.unary:S.A$.includes(e)?S.Z6.group:S.Z6.keyword};return e.reduce((function(e,i){return i.nodeType!==S.Z6.unprocessedNode?e.push(i):e=e.concat(i.nodeValue.trim().split(void 0===n?t:n).reduce((function(e,n){return""===n?(e.push({nodeType:r(t),nodeValue:t}),e):(e.push({nodeType:S.Z6.unprocessedNode,nodeValue:n.trim()}),e.push({nodeType:r(t),nodeValue:t}),e)}),[]).slice(0,-1)),e}),[])}function be(e){var t,n=e;if(n[0].nodeValue=n[0].nodeValue.replaceAll(/\s{2,}/g," ").trim(),n[0].nodeValue=n[0].nodeValue.split(/^date '|(?<=\s)date '/gi).join("date°'"),n=function(e){var t=!1,n=!1,r=0,i="",o=e.reduce((function(e,o){return n?(o.nodeType===S.Z6.unprocessedNode?t?(i="".concat(i).concat(o.nodeValue),t=!1):(e.push({nodeType:S.Z6.string,nodeValue:i}),e.push(o),i="",n=!1,t=!1,r=0):2===(r+=1)&&(i="".concat(i,"'"),t=!0,r=0),e):(o.nodeType===S.Z6.keyword?(n=!0,t=!0):e.push(o),e)}),[]);if(n){if(t||1!==r)throw new Error("string not closed");o.push({nodeType:S.Z6.string,nodeValue:i})}return o}(n=ve(n,"'")),n=ve(n,"("),(n=ve(n,")")).reduce((function(e,t){return t.nodeType===S.Z6.group?e+1:e}),0)%2)throw new Error("unbalanced parentheses");return n=ve(n,"date",/^date°$|^date°|(?<=\s)date°/g),n=ve(n,"upper",/^upper\b|(?<=\s)upper\b/gi),n=ve(n,"lower",/^lower\b|(?<=\s)lower\b/gi),n=ve(n,"is not",/^is\s+not\b|(?<=\s)is\s+not\b/gi),n=ve(n,"is",/^is\b(?!\s*not\b)|(?<=\s)is\b(?!\s*not\b)/gi),n=ve(n,"in",/^in\b|(?<=\s)in\b/gi),n=ve(n,","),n=ve(n,"not",/^not\b|(?<=\s)not\b/gi),n=ve(n,"and",/^and\b|(?<=\s)and\b/gi),n=ve(n,"or",/^or\b|(?<=\s)or\b/gi),n=ve(n,"like",/^like\b|(?<=\s)like\b/gi),n=ve(n,"=",/(?<])=/g),n=ve(n,"<",/<(?![>=])/g),n=ve(n,">",/(?(?!=)/g),n=ve(n,"<>"),n=ve(n,"<="),n=ve(n,">="),n=ve(n,"+"),n=ve(n,"-"),n=ve(n,"*"),n=ve(n,"/"),n=ve(n,"||"),n=(t=n).map((function(e,n){if(e.nodeType===S.Z6.unprocessedNode){if(Number.isNaN(Number(e.nodeValue.slice(0,1))))return["+","-"].includes(e.nodeValue)?0!==n&&[S.Z6.number,S.Z6.string,S.Z6.variable].includes(t[n-1].nodeType)?e.nodeType=S.Z6.binary:(e.nodeType=S.Z6.unary,e.nodeValue="u".concat(e.nodeValue)):"string"==typeof e.nodeValue&&"null"===e.nodeValue.toLowerCase()?(e.nodeType=S.Z6.variable,e.nodeValue=null):e.nodeType=S.Z6.variable,e;if(e.nodeType=S.Z6.number,e.nodeValue=Number(e.nodeValue),Number.isNaN(e.nodeValue))throw new Error("".concat(e.nodeValue," is an invalid number"));return e}return e}))}},8243:(e,t,n)=>{"use strict";n.r(t),n.d(t,{calculateDistance:()=>Oe,convertTypeFeatureStyleToOpenLayersStyle:()=>ye,coordFormatDMS:()=>me,createEmptyBasemap:()=>pe,extentToPolygon:()=>Se,geojsonToGeometry:()=>de,geometryToWKT:()=>ce,getArea:()=>Te,getDefaultDrawingStyle:()=>he,getESRIServiceMetadata:()=>te,getExtentIntersection:()=>xe,getExtentIntersectionMaybe:()=>Ae,getExtentUnion:()=>be,getExtentUnionMaybe:()=>we,getLegendStylesFromConfig:()=>fe,getLength:()=>_e,getMapServerUrl:()=>se,getMinOrMaxExtents:()=>ve,getOGCServerUrl:()=>le,getTranslateValues:()=>ge,getWFSServiceMetadata:()=>oe,getWMSServiceMetadata:()=>re,layerTypes:()=>ee,polygonToExtent:()=>Ce,validateExtent:()=>Ee,validateExtentWhenDefined:()=>ke,wktToGeometry:()=>ue});var r=n(74131),i=n(53732),o=n.n(i),a=n(95841),s=n(30533),l=n(75603),c=n(14292),u=n(22727),d=n(62400),h=n(89049),p=n(42153),f=n(38492),g=n(92548),m=n(1099),y=n(34209);class v extends m.Ay{constructor(){super()}getType(){return"text"}readFeature(e,t){return this.readFeatureFromText(b(e),this.adaptOptions(t))}readFeatureFromText(e,t){return(0,y.b0)()}readFeatures(e,t){return this.readFeaturesFromText(b(e),this.adaptOptions(t))}readFeaturesFromText(e,t){return(0,y.b0)()}readGeometry(e,t){return this.readGeometryFromText(b(e),this.adaptOptions(t))}readGeometryFromText(e,t){return(0,y.b0)()}readProjection(e){return this.readProjectionFromText(b(e))}readProjectionFromText(e){return this.dataProjection}writeFeature(e,t){return this.writeFeatureText(e,this.adaptOptions(t))}writeFeatureText(e,t){return(0,y.b0)()}writeFeatures(e,t){return this.writeFeaturesText(e,this.adaptOptions(t))}writeFeaturesText(e,t){return(0,y.b0)()}writeGeometry(e,t){return this.writeGeometryText(e,this.adaptOptions(t))}writeGeometryText(e,t){return(0,y.b0)()}}function b(e){return"string"==typeof e?e:""}const w=v,x={POINT:f.A,LINESTRING:u.A,POLYGON:g.Ay,MULTIPOINT:h.A,MULTILINESTRING:d.A,MULTIPOLYGON:p.A},A="EMPTY",S="Z",C="M",E=0,k=1,T=2,_=3,O=4,P=5,I=6,M={Point:"POINT",LineString:"LINESTRING",Polygon:"POLYGON",MultiPoint:"MULTIPOINT",MultiLineString:"MULTILINESTRING",MultiPolygon:"MULTIPOLYGON",GeometryCollection:"GEOMETRYCOLLECTION",Circle:"CIRCLE"};class L{constructor(e){this.wkt=e,this.index_=-1}isAlpha_(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}isNumeric_(e,t){return t=void 0!==t&&t,e>="0"&&e<="9"||"."==e&&!t}isWhiteSpace_(e){return" "==e||"\t"==e||"\r"==e||"\n"==e}nextChar_(){return this.wkt.charAt(++this.index_)}nextToken(){const e=this.nextChar_(),t=this.index_;let n,r=e;if("("==e)n=T;else if(","==e)n=P;else if(")"==e)n=_;else if(this.isNumeric_(e)||"-"==e)n=O,r=this.readNumber_();else if(this.isAlpha_(e))n=k,r=this.readText_();else{if(this.isWhiteSpace_(e))return this.nextToken();if(""!==e)throw new Error("Unexpected character: "+e);n=I}return{position:t,value:r,type:n}}readNumber_(){let e;const t=this.index_;let n=!1,r=!1;do{"."==e?n=!0:"e"!=e&&"E"!=e||(r=!0),e=this.nextChar_()}while(this.isNumeric_(e,n)||!r&&("e"==e||"E"==e)||r&&("-"==e||"+"==e));return parseFloat(this.wkt.substring(t,this.index_--))}readText_(){let e;const t=this.index_;do{e=this.nextChar_()}while(this.isAlpha_(e));return this.wkt.substring(t,this.index_--).toUpperCase()}}class R{constructor(e){this.lexer_=e,this.token_={position:0,type:E},this.layout_="XY"}consume_(){this.token_=this.lexer_.nextToken()}isTokenType(e){return this.token_.type==e}match(e){const t=this.isTokenType(e);return t&&this.consume_(),t}parse(){return this.consume_(),this.parseGeometry_()}parseGeometryLayout_(){let e="XY";const t=this.token_;if(this.isTokenType(k)){const n=t.value;n===S?e="XYZ":n===C?e="XYM":"ZM"===n&&(e="XYZM"),"XY"!==e&&this.consume_()}return e}parseGeometryCollectionText_(){if(this.match(T)){const e=[];do{e.push(this.parseGeometry_())}while(this.match(P));if(this.match(_))return e}throw new Error(this.formatErrorMessage_())}parsePointText_(){if(this.match(T)){const e=this.parsePoint_();if(this.match(_))return e}throw new Error(this.formatErrorMessage_())}parseLineStringText_(){if(this.match(T)){const e=this.parsePointList_();if(this.match(_))return e}throw new Error(this.formatErrorMessage_())}parsePolygonText_(){if(this.match(T)){const e=this.parseLineStringTextList_();if(this.match(_))return e}throw new Error(this.formatErrorMessage_())}parseMultiPointText_(){if(this.match(T)){let e;if(e=this.token_.type==T?this.parsePointTextList_():this.parsePointList_(),this.match(_))return e}throw new Error(this.formatErrorMessage_())}parseMultiLineStringText_(){if(this.match(T)){const e=this.parseLineStringTextList_();if(this.match(_))return e}throw new Error(this.formatErrorMessage_())}parseMultiPolygonText_(){if(this.match(T)){const e=this.parsePolygonTextList_();if(this.match(_))return e}throw new Error(this.formatErrorMessage_())}parsePoint_(){const e=[],t=this.layout_.length;for(let n=0;n0&&(r+=" "+t)}return 0===n.length?r+" "+A:r+"("+n+")"}const z=class extends w{constructor(e){super(),e=e||{},this.splitCollection_=void 0!==e.splitCollection&&e.splitCollection}parse_(e){const t=new L(e);return new R(t).parse()}readFeatureFromText(e,t){const n=this.readGeometryFromText(e,t),r=new l.A;return r.setGeometry(n),r}readFeaturesFromText(e,t){let n=[];const r=this.readGeometryFromText(e,t);n=this.splitCollection_&&"GeometryCollection"==r.getType()?r.getGeometriesArray():[r];const i=[];for(let e=0,t=n.length;e0&&(i=i.concat("&layers=".concat(n))),e.next=5,fetch(i);case 5:return a=e.sent,e.t0=r,e.next=9,a.text();case 9:return e.t1=e.sent,l=e.t0.read.call(e.t0,e.t1),e.abrupt("return",l);case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function oe(e){return ae.apply(this,arguments)}function ae(){return(ae=(0,r.A)(o().mark((function e(t){var n,r,i,s;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.A.get(t,{params:{request:"getcapabilities",service:"WFS"}});case 2:return n=e.sent,r=(new DOMParser).parseFromString(n.data,"text/xml"),i=(0,X.xmlToJson)(r),s=i["wfs:WFS_Capabilities"],e.abrupt("return",s);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function se(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e;if(n.includes("MapServer")&&(n=n.slice(0,n.indexOf("MapServer")+9)),n.includes("FeatureServer")&&(n=n.slice(0,n.indexOf("FeatureServer")+13)),t){var r=n.slice(n.indexOf("/services/"));n="".concat(n.slice(0,e.indexOf("services/")),"rest").concat(r)}return n}function le(e){var t=e;return t.includes("collections")&&(t=t.slice(0,t.indexOf("collections"))),t}function ce(e){return e?(new z).writeGeometry(e):null}function ue(e,t){return e?(new z).readGeometry(e,t):null}function de(e,t){return e?(new V.A).readGeometry(e,t):null}function he(e,t,n){return new $.Ay({stroke:new G.A({color:e||"orange",width:t||2}),fill:new U.A({color:n||"transparent"}),image:new W.A({radius:4,fill:new U.A({color:n||"orange"}),stroke:new G.A({color:e||"orange",width:t||2})})})}function pe(){var e={basemapId:"empty",source:new H.A,type:"empty",opacity:0,resolutions:[],origin:[],minScale:0,maxScale:17,extent:[0,0,0,0]},t=new Y.A(e);return t.set("mapId","basemap"),t}function fe(e){return(0,Q.qC)(e)}function ge(e){var t=(0,K.KX)(window.getComputedStyle(e)),n=t.transform||t.webkitTransform||t.mozTransform,r={x:0,y:0,z:0};if("none"===n||void 0===n)return r;var i=n.includes("3d")?"3d":"2d",o=n.match(/matrix.*\((.+)\)/),a=o&&o[1].split(", ");return"2d"===i?{x:Number(a&&a[4]),y:Number(a&&a[5]),z:0}:"3d"===i?{x:Number(a&&a[12]),y:Number(a&&a[13]),z:Number(a&&a[14])}:r}function me(e){var t=String.fromCharCode(176),n=Math.floor(Math.abs(e))*(e<0?-1:1),r=Math.floor(Math.abs(60*(e-n))),i=Math.round(3600*(Math.abs(e)-Math.abs(n)-r/60));return"".concat(Math.abs(n)).concat(t," ").concat(r>=10?"".concat(r):"0".concat(r),"' ").concat(i>=10?"".concat(i):"0".concat(i),'"')}function ye(e){return he(null==e?void 0:e.strokeColor,null==e?void 0:e.strokeWidth,null==e?void 0:e.fillColor)}function ve(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"max",r=[];return"max"===n?r=[Math.min(e[0],t[0]),Math.min(e[1],t[1]),Math.max(e[2],t[2]),Math.max(e[3],t[3])]:"min"===n&&(r=[Math.max(e[0],t[0]),Math.max(e[1],t[1]),Math.min(e[2],t[2]),Math.min(e[3],t[3])]),r}function be(e,t){return t?[Math.min(e[0],t[0]),Math.min(e[1],t[1]),Math.max(e[2],t[2]),Math.max(e[3],t[3])]:e}function we(e,t){return e?be(e,t):t}function xe(e,t){return t?[Math.max(e[0],t[0]),Math.max(e[1],t[1]),Math.min(e[2],t[2]),Math.min(e[3],t[3])]:e}function Ae(e,t){return e?xe(e,t):t}function Se(e){return new g.Ay([[[e[0],e[1]],[e[0],e[3]],[e[2],e[3]],[e[2],e[1]]]])}function Ce(e){for(var t=e.getCoordinates()[0],n=t[0][0],r=t[0][1],i=t[0][0],o=t[0][1],a=1;a1&&void 0!==arguments[1]?arguments[1]:"EPSG:4326",n={"EPSG:4326":[-180,-90,180,90],"EPSG:3857":[-20037508.3427892,-20037508.3427892,20037508.3427892,20037508.3427892],"EPSG:3978":[-7192737.96,-3004297.73,5183275.29,4484204.83]},r=e[0]n[t][2]||e[0]===1/0||Number.isNaN(e[2])?n[t][2]:e[2],a=e[0]>n[t][3]||e[0]===1/0||Number.isNaN(e[3])?n[t][3]:e[3];return[rr?o:r,a>i?a:i]}function ke(e){if(e)return Ee(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"EPSG:4326")}function Te(e){return(0,q.UG)(e)}function _e(e){return(0,q.R3)(e)}function Oe(e,t,n){var r=Z.M.transformPoints(e,t,n),i=new u.A(r),o=[];return i.forEachSegment((function(e,t){o.push(Math.round(_e(new u.A([e,t]))/1e3*100)/100)})),{total:Math.round(_e(i)/1e3*100)/100,sections:o}}},87505:(e,t,n)=>{"use strict";n.d(t,{c:()=>h});var r=n(24515),i=n(59858),o=n(13679),a=n(5963),s=function(e){var t;return{vertical:{alignSelf:"center",height:40,width:"1px !important",backgroundColor:e.palette.primary.contrastText},horizontal:{height:1,backgroundColor:e.palette.primary.contrastText},grow:{flexGrow:1,backgroundColor:null===(t=e.palette.geoViewColor)||void 0===t?void 0:t.primary.main}}},l=n(97282),c=["className","style","grow","orientation","sx"];function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";n.d(t,{K:()=>p});var r=n(24515),i=n(59858),o=n(43331),a=n(76437),s=n(96299),l=n(20785),c=n(97282),u=["sx","className","style","children","onClick","aria-label","tooltip","tooltipPlacement","id","tabIndex","iconRef","size","disabled","color"];function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{Accordion:()=>$,AddCircleOutlineIcon:()=>so,AddIcon:()=>ao,AoiIcon:()=>_o.A,AppBarUI:()=>J,AppsIcon:()=>lo,ArrowBackIcon:()=>co.A,ArrowBackIosOutlinedIcon:()=>uo,ArrowDownIcon:()=>An,ArrowDownwardIcon:()=>ho.A,ArrowForwardIcon:()=>po.A,ArrowForwardIosOutlinedIcon:()=>fo,ArrowLeftIcon:()=>go,ArrowRightIcon:()=>mo,ArrowUpIcon:()=>yo.A,Autocomplete:()=>nt,Avatar:()=>dt,Badge:()=>xt,BlockIcon:()=>vo.A,Box:()=>s.A,BrowserNotSupportedIcon:()=>bo,Button:()=>Vt,ButtonDropDown:()=>kn,ButtonGroup:()=>wn,CONST_PANEL_TYPES:()=>xh.v,Card:()=>Wn,CardMedia:()=>er,ChartIcon:()=>Pa.A,CheckBoxIcon:()=>Ao,CheckBoxOutinedIcon:()=>Co,CheckBoxOutlineBlankIcon:()=>So,CheckCircleIcon:()=>xo,CheckIcon:()=>wo,Checkbox:()=>pr,CheckboxList:()=>ml,ChevronLeftIcon:()=>Eo,ChevronRightIcon:()=>ko,CircularProgress:()=>Mr,CircularProgressBase:()=>Tr,ClickMapMarker:()=>es,CloseIcon:()=>To.A,Collapse:()=>yl.SD,CollapseIcon:()=>la,Container:()=>ls,CustomSelect:()=>Tp,CustomStepper:()=>wg,CustomTextField:()=>gI,DefaultPanel:()=>wh,DeleteIcon:()=>Oo,DeleteOutlineIcon:()=>Po,DetailsIcon:()=>Io,Dialog:()=>ys,DialogActions:()=>ws,DialogContent:()=>Ns,DialogTitle:()=>Cs,Divider:()=>Lr.c,DownloadIcon:()=>Mo,DownloadingIcon:()=>Lo,Drawer:()=>Ei,EmojiPeopleIcon:()=>jo,ErrorIcon:()=>Fo,ExpandIcon:()=>Do,ExpandLessIcon:()=>No,ExpandMoreIcon:()=>Bo,Fade:()=>Oi,FileUploadIcon:()=>zo,FilterAltIcon:()=>Vo,FilterAltOffIcon:()=>$o,FocusTrap:()=>RI.s,FullscreenExitIcon:()=>Uo,FullscreenIcon:()=>Go,GeoCaIcon:()=>Tg,GitHubIcon:()=>Wo.A,Grid:()=>ro,GroupIcon:()=>qo,GroupWorkIcon:()=>Ho,GroupWorkOutlinedIcon:()=>Yo,HandleIcon:()=>Ro,HeightIcon:()=>ea,HelpIcon:()=>Ko,HighlightIcon:()=>Zo,HighlightOutlinedIcon:()=>Xo,HomeIcon:()=>Jo,HubOutlinedIcon:()=>Qo.A,IconButton:()=>io.K,InfoIcon:()=>na,InfoOutlinedIcon:()=>ra.A,KeyboardArrowDownIcon:()=>ia,KeyboardArrowLeftIcon:()=>sa,KeyboardArrowRightIcon:()=>aa,KeyboardArrowUpIcon:()=>oa,LayersClearOutlinedIcon:()=>ua,LayersIcon:()=>ca,LayersOutlinedIcon:()=>da.A,Link:()=>Es.A,List:()=>yl.B8,ListAltIcon:()=>ha,ListItem:()=>yl.ck,ListItemButton:()=>yl.Wj,ListItemIcon:()=>yl.L,ListItemText:()=>yl.Zq,LoadingButton:()=>Ks,LockIcon:()=>fa,LockOpenIcon:()=>ga,LoopIcon:()=>ma,MRTTable:()=>HP,MRT_ActionMenuItem:()=>dO,MRT_AggregationFns:()=>z_,MRT_BottomToolbar:()=>MP,MRT_ColumnActionMenu:()=>sP,MRT_ColumnPinningButtons:()=>LP,MRT_CopyButton:()=>GO,MRT_DefaultColumn:()=>OO,MRT_DefaultDisplayColumn:()=>PO,MRT_EditActionButtons:()=>rO,MRT_EditCellTextField:()=>UO,MRT_EditRowModal:()=>EP,MRT_ExpandAllButton:()=>bO,MRT_ExpandButton:()=>wO,MRT_FilterCheckbox:()=>cP,MRT_FilterFns:()=>tO,MRT_FilterOptionMenu:()=>aP,MRT_FilterRangeFields:()=>dP,MRT_FilterRangeSlider:()=>hP,MRT_FilterTextField:()=>uP,MRT_GlobalFilterTextField:()=>$P,MRT_GrabHandleButton:()=>mO,MRT_LinearProgressBar:()=>_P,MRT_RowActionMenu:()=>hO,MRT_RowPinButton:()=>SO,MRT_SelectCheckbox:()=>EO,MRT_ShowHideColumnsButton:()=>FP,MRT_ShowHideColumnsMenu:()=>jP,MRT_ShowHideColumnsMenuItems:()=>RP,MRT_SortingFns:()=>M_,MRT_Table:()=>AP,MRT_TableBody:()=>XO,MRT_TableBodyCell:()=>WO,MRT_TableBodyCellValue:()=>$O,MRT_TableBodyRow:()=>YO,MRT_TableBodyRowGrabHandle:()=>yO,MRT_TableBodyRowPinButton:()=>CO,MRT_TableContainer:()=>TP,MRT_TableDetailPanel:()=>HO,MRT_TableFooter:()=>eP,MRT_TableFooterCell:()=>JO,MRT_TableFooterRow:()=>QO,MRT_TableHead:()=>xP,MRT_TableHeadCell:()=>vP,MRT_TableHeadCellColumnActionsButton:()=>lP,MRT_TableHeadCellFilterContainer:()=>pP,MRT_TableHeadCellFilterLabel:()=>fP,MRT_TableHeadCellGrabHandle:()=>gP,MRT_TableHeadCellResizeHandle:()=>mP,MRT_TableHeadCellSortLabel:()=>yP,MRT_TableHeadRow:()=>bP,MRT_TableLoadingOverlay:()=>SP,MRT_TablePagination:()=>PP,MRT_TablePaper:()=>UP,MRT_ToggleDensePaddingButton:()=>DP,MRT_ToggleFiltersButton:()=>NP,MRT_ToggleFullScreenButton:()=>BP,MRT_ToggleGlobalFilterButton:()=>zP,MRT_ToggleRowActionMenuButton:()=>fO,MRT_ToolbarAlertBanner:()=>wP,MRT_ToolbarDropZone:()=>IP,MRT_ToolbarInternalButtons:()=>VP,MRT_TopToolbar:()=>GP,MapIcon:()=>ba.A,MaterialReactTable:()=>WP,Memo_MRT_TableBody:()=>ZO,Memo_MRT_TableBodyCell:()=>qO,Memo_MRT_TableBodyRow:()=>KO,Menu:()=>zl,MenuIcon:()=>wa,MenuItem:()=>wl,Modal:()=>yh,ModalApi:()=>Zl,MoreHorizIcon:()=>xa,MoreVertIcon:()=>Aa,MoveDownRoundedIcon:()=>Sa,MoveUpRoundedIcon:()=>Ca,NotificationsActiveIcon:()=>va,NotificationsIcon:()=>ya,OpacityIcon:()=>Ea,OpenInBrowserIcon:()=>ka,Panel:()=>Ih,Paper:()=>bh,PauseIcon:()=>Ta,PlayArrowIcon:()=>_a,Popover:()=>Rh,Popper:()=>LI,ProgressBar:()=>hl,PublicIcon:()=>Oa.A,QuestionMarkIcon:()=>Ia.A,RadioButtonCheckedIcon:()=>Ma,RadioButtonUncheckedIcon:()=>La,RemoveCircleOutlineIcon:()=>ja,ReorderIcon:()=>ta,RestartAltIcon:()=>Fa,SatelliteIcon:()=>Da.A,SchoolIcon:()=>Na,SearchIcon:()=>Ba,Select:()=>Mp,SendIcon:()=>za,SignpostIcon:()=>Va.A,Skeleton:()=>Wp,Slider:()=>Zp,Snackbar:()=>kf,Stack:()=>js,Stepper:()=>Eg,StorageIcon:()=>$a.A,Switch:()=>Bg,SwitchLeftIcon:()=>Ua,SwitchRightIcon:()=>Ga,Table:()=>uv,TableBody:()=>mv,TableCell:()=>Tv,TableChartOutlinedIcon:()=>qa,TableContainer:()=>ov,TableHead:()=>ob,TableRow:()=>Av,TableViewIcon:()=>Wa.A,Tabs:()=>dI,TextField:()=>wI,TimeSliderIcon:()=>oo,TodoIcon:()=>pa,Toolbar:()=>EI,Tooltip:()=>_I,Typography:()=>OI.o,UndoIcon:()=>Ha,UploadFileIcon:()=>Ya,VisibilityIcon:()=>Ka,VisibilityOffIcon:()=>Xa,VisibilityOffOutlinedIcon:()=>Ja,VisibilityOutlinedIcon:()=>Za,WarningIcon:()=>Qa,ZoomInIcon:()=>ao,ZoomInSearchIcon:()=>ts,ZoomOutIcon:()=>Ra,ZoomOutSearchIcon:()=>ns,cgpvTheme:()=>kg.w,createMRTColumnHelper:()=>g_,createRow:()=>m_,defaultDisplayColumnProps:()=>x_,flexRender:()=>f_,getAllLeafColumnDefs:()=>l_,getCanRankRows:()=>j_,getColumnFilterInfo:()=>h_,getColumnId:()=>s_,getDefaultColumnFilterFn:()=>d_,getDefaultColumnOrderIds:()=>I_,getIsRankingRows:()=>F_,getIsRowSelected:()=>D_,getLeadingDisplayColumnIds:()=>O_,getMRT_RowSelectionHandler:()=>N_,getMRT_Rows:()=>R_,getMRT_SelectAllHandler:()=>B_,getTheme:()=>kg.O,getTrailingDisplayColumnIds:()=>P_,isCellEditable:()=>b_,mrtFilterOptions:()=>tP,openEditingCell:()=>w_,prepareColumns:()=>c_,rankGlobalFuzzy:()=>L_,reorderColumn:()=>u_,showRowActionsColumn:()=>E_,showRowDragColumn:()=>S_,showRowExpandColumn:()=>C_,showRowNumbersColumn:()=>T_,showRowPinningColumn:()=>A_,showRowSelectionColumn:()=>k_,showRowSpacerColumn:()=>__,useDropdownOptions:()=>p_,useMRT_ColumnVirtualizer:()=>NO,useMRT_Effects:()=>RO,useMRT_RowVirtualizer:()=>BO,useMRT_Rows:()=>zO,useMRT_TableInstance:()=>jO,useMRT_TableOptions:()=>IO,useMaterialReactTable:()=>FO});var r=n(77156),i=n(888),o=n(30538),a=n.t(o,2),s=n(84681),l=(n(91272),n(87286)),c=n(47636),u=n(96756),d=n(51097),h=n(10649),p=n(82732),f=n(82335);const g=o.createContext({});var m=n(44451),y=n(78664),v=n(98278),b=n(91838),w=n(19172);function x(e,t){const{className:n,elementType:r,ownerState:i,externalForwardedProps:o,getSlotOwnerState:a,internalForwardedProps:s,...l}=t,{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...h}=o,p=u[e]||r,f=(0,b.A)(d[e],i),{props:{component:g,...m},internalRef:x}=(0,w.A)({className:n,...l,externalForwardedProps:"root"===e?h:void 0,externalSlotProps:f}),A=(0,y.A)(x,f?.ref,t.ref),S=a?a(m):{},C={...i,...S},E="root"===e?g||c:g,k=(0,v.A)(p,{..."root"===e&&!c&&!u[e]&&s,..."root"!==e&&!u[e]&&s,...m,...E&&{as:E},ref:A},C);return Object.keys(S).forEach((e=>{delete k[e]})),[p,k]}var A=n(50190),S=n(57638);function C(e){return(0,S.Ay)("MuiAccordion",e)}const E=(0,A.A)("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]);var k=n(97282);const T=(0,u.Ay)(f.A,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${E.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})((0,d.A)((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${E.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${E.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}})),(0,d.A)((({theme:e})=>({variants:[{props:e=>!e.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:e=>!e.disableGutters,style:{[`&.${E.expanded}`]:{margin:"16px 0"}}}]})))),_=(0,u.Ay)("h3",{name:"MuiAccordion",slot:"Heading",overridesResolver:(e,t)=>t.heading})({all:"unset"}),O=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiAccordion"}),{children:r,className:i,defaultExpanded:a=!1,disabled:s=!1,disableGutters:u=!1,expanded:d,onChange:f,square:y=!1,slots:v={},slotProps:b={},TransitionComponent:w,TransitionProps:A,...S}=n,[E,O]=(0,m.A)({controlled:d,default:a,name:"Accordion",state:"expanded"}),P=o.useCallback((e=>{O(!E),f&&f(e,!E)}),[E,f,O]),[I,...M]=o.Children.toArray(r),L=o.useMemo((()=>({expanded:E,disabled:s,disableGutters:u,toggle:P})),[E,s,u,P]),R={...n,square:y,disabled:s,disableGutters:u,expanded:E},j=(e=>{const{classes:t,square:n,expanded:r,disabled:i,disableGutters:o}=e,a={root:["root",!n&&"rounded",r&&"expanded",i&&"disabled",!o&&"gutters"],heading:["heading"],region:["region"]};return(0,c.A)(a,C,t)})(R),F={slots:{transition:w,...v},slotProps:{transition:A,...b}},[D,N]=x("heading",{elementType:_,externalForwardedProps:F,className:j.heading,ownerState:R}),[B,z]=x("transition",{elementType:p.A,externalForwardedProps:F,ownerState:R});return(0,k.jsxs)(T,{className:(0,l.A)(j.root,i),ref:t,ownerState:R,square:y,...S,children:[(0,k.jsx)(D,{...N,children:(0,k.jsx)(g.Provider,{value:L,children:I})}),(0,k.jsx)(B,{in:E,timeout:"auto",...z,children:(0,k.jsx)("div",{"aria-labelledby":I.props.id,id:I.props["aria-controls"],role:"region",className:j.region,children:M})})]})}));var P=n(90233);function I(e){return(0,S.Ay)("MuiAccordionSummary",e)}const M=(0,A.A)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),L=(0,u.Ay)(P.A,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})((0,d.A)((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${M.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${M.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${M.disabled})`]:{cursor:"pointer"},variants:[{props:e=>!e.disableGutters,style:{[`&.${M.expanded}`]:{minHeight:64}}}]}}))),R=(0,u.Ay)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})((0,d.A)((({theme:e})=>({display:"flex",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${M.expanded}`]:{margin:"20px 0"}}}]})))),j=(0,u.Ay)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})((0,d.A)((({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${M.expanded}`]:{transform:"rotate(180deg)"}})))),F=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiAccordionSummary"}),{children:r,className:i,expandIcon:a,focusVisibleClassName:s,onClick:u,...d}=n,{disabled:p=!1,disableGutters:f,expanded:m,toggle:y}=o.useContext(g),v={...n,expanded:m,disabled:p,disableGutters:f},b=(e=>{const{classes:t,expanded:n,disabled:r,disableGutters:i}=e,o={root:["root",n&&"expanded",r&&"disabled",!i&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!i&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return(0,c.A)(o,I,t)})(v);return(0,k.jsxs)(L,{focusRipple:!1,disableRipple:!0,disabled:p,component:"div","aria-expanded":m,className:(0,l.A)(b.root,i),focusVisibleClassName:(0,l.A)(b.focusVisible,s),onClick:e=>{y&&y(e),u&&u(e)},ref:t,ownerState:v,...d,children:[(0,k.jsx)(R,{className:b.content,ownerState:v,children:r}),a&&(0,k.jsx)(j,{className:b.expandIconWrapper,ownerState:v,children:a})]})}));function D(e){return(0,S.Ay)("MuiAccordionDetails",e)}(0,A.A)("MuiAccordionDetails",["root"]);const N=(0,u.Ay)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((0,d.A)((({theme:e})=>({padding:e.spacing(1,2,2)})))),B=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiAccordionDetails"}),{className:r,...i}=n,o=n,a=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"]},D,t)})(o);return(0,k.jsx)(N,{className:(0,l.A)(a.root,r),ref:t,ownerState:o,...i})}));var z=n(72459),V={loadingIcon:{animation:"rotate 1s infinite linear","@keyframes rotate":{from:{transform:"rotate(360deg)"},to:{transform:"rotate(0deg)"}}}};function $(e){var t=e.id,n=e.sx,a=e.items,l=e.className,c=e.defaultExpanded,u=void 0!==c&&c,d=e.showLoadingIcon,h=void 0!==d&&d,p=(0,o.useState)(Array(a.length).fill(u)),f=(0,i.A)(p,2),g=f[0],m=f[1],y=(0,o.useState)(Array(a.length).fill(!1)),v=(0,i.A)(y,2),b=v[0],w=v[1],x=function(e){return function(t,n){var i=(0,r.A)(g);i[e]=n,m(i)}},A=(0,o.useCallback)((function(e){return function(t){if(!g[e]&&h){var n=(0,r.A)(b);if(n[e]=!0,w(n),"height"===t.propertyName){var i=(0,r.A)(b);i[e]=!1,w(i)}}}}),[g,h,b]);return(0,k.jsx)(s.A,{id:(0,z.generateId)(t),sx:n,className:"accordion-group",children:a.map((function(e,t){return(0,k.jsxs)(O,{className:l,expanded:g[t],onChange:x(t),onTransitionEnd:A(t),children:[(0,k.jsx)(F,{expandIcon:h&&b[t]?(0,k.jsx)(ma,{sx:V.loadingIcon}):(0,k.jsx)(Bo,{}),"aria-controls":"accordion-panel-".concat(t,"-a-content"),children:(0,k.jsx)("div",{children:e.title})}),(0,k.jsx)(B,{children:e.content})]},t)}))})}var G=n(24515),U=n(84766);function W(e){return(0,S.Ay)("MuiAppBar",e)}(0,A.A)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const q=(e,t)=>e?`${e?.replace(")","")}, ${t})`:t,H=(0,u.Ay)(f.A,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,U.A)(n.position)}`],t[`color${(0,U.A)(n.color)}`]]}})((0,d.A)((({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter((([,e])=>e&&e.main&&e.contrastText)).map((([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}}))),{props:e=>!0===e.enableColorOnDark&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:e=>!1===e.enableColorOnDark&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?q(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?q(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]})))),Y=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiAppBar"}),{className:r,color:i="primary",enableColorOnDark:o=!1,position:a="fixed",...s}=n,u={...n,color:i,position:a,enableColorOnDark:o},d=(e=>{const{color:t,position:n,classes:r}=e,i={root:["root",`color${(0,U.A)(t)}`,`position${(0,U.A)(n)}`]};return(0,c.A)(i,W,r)})(u);return(0,k.jsx)(H,{square:!0,component:"header",ownerState:u,elevation:4,className:(0,l.A)(d.root,r,"fixed"===a&&"mui-fixed"),ref:t,...s})}));var K=n(38811),X=n(78742);function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function J(e){var t=(0,X.T$)(),n=(0,K.CS)(Y);return(0,k.jsx)(n,function(e){for(var t=1;t{const t=o.useRef({});return o.useEffect((()=>{t.current=e})),t.current};var oe=n(52728),ae=n(47654);function se(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}const le=function(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:i="any",stringify:o,trim:a=!1}=e;return(e,{inputValue:s,getOptionLabel:l})=>{let c=a?s.trim():s;n&&(c=c.toLowerCase()),t&&(c=se(c));const u=c?e.filter((e=>{let r=(o||l)(e);return n&&(r=r.toLowerCase()),t&&(r=se(r)),"start"===i?0===r.indexOf(c):r.indexOf(c)>-1})):e;return"number"==typeof r?u.slice(0,r):u}}(),ce=e=>null!==e.current&&e.current.parentElement?.contains(document.activeElement),ue=[];const de=function(e){const{unstable_isActiveElementInListbox:t=ce,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:i=!1,autoSelect:a=!1,blurOnSelect:s=!1,clearOnBlur:l=!e.freeSolo,clearOnEscape:c=!1,componentName:u="useAutocomplete",defaultValue:d=(e.multiple?ue:null),disableClearable:h=!1,disableCloseOnSelect:p=!1,disabled:f,disabledItemsFocusable:g=!1,disableListWrap:m=!1,filterOptions:y=le,filterSelectedOptions:v=!1,freeSolo:b=!1,getOptionDisabled:w,getOptionKey:x,getOptionLabel:A=e=>e.label??e,groupBy:S,handleHomeEndKeys:C=!e.freeSolo,id:E,includeInputInList:k=!1,inputValue:T,isOptionEqualToValue:_=(e,t)=>e===t,multiple:O=!1,onChange:P,onClose:I,onHighlightChange:M,onInputChange:L,onOpen:R,open:j,openOnFocus:F=!1,options:D,readOnly:N=!1,selectOnFocus:B=!e.freeSolo,value:z}=e,V=(0,ne.A)(E);let $=A;$=e=>{const t=A(e);return"string"!=typeof t?String(t):t};const G=o.useRef(!1),U=o.useRef(!0),W=o.useRef(null),q=o.useRef(null),[H,Y]=o.useState(null),[K,X]=o.useState(-1),Z=i?0:-1,J=o.useRef(Z),[Q,ee]=(0,re.A)({controlled:z,default:d,name:u}),[te,se]=(0,re.A)({controlled:T,default:"",name:u,state:"inputValue"}),[de,he]=o.useState(!1),pe=o.useCallback(((e,t,n)=>{if(!(O?Q.length!v||!(O?Q:[Q]).some((t=>null!==t&&_(e,t))))),{inputValue:ve&&me?"":te,getOptionLabel:$}):[],xe=ie({filteredOptions:we,value:Q,inputValue:te});o.useEffect((()=>{const e=Q!==xe.value;de&&!e||b&&!e||pe(null,Q,"reset")}),[Q,pe,de,xe.value,b]);const Ae=fe&&we.length>0&&!N,Se=(0,oe.A)((e=>{-1===e?W.current.focus():H.querySelector(`[data-tag-index="${e}"]`).focus()}));o.useEffect((()=>{O&&K>Q.length-1&&(X(-1),Se(-1))}),[Q,O,K,Se]);const Ce=(0,oe.A)((({event:e,index:t,reason:r="auto"})=>{if(J.current=t,-1===t?W.current.removeAttribute("aria-activedescendant"):W.current.setAttribute("aria-activedescendant",`${V}-option-${t}`),M&&M(e,-1===t?null:we[t],r),!q.current)return;const i=q.current.querySelector(`[role="option"].${n}-focused`);i&&(i.classList.remove(`${n}-focused`),i.classList.remove(`${n}-focusVisible`));let o=q.current;if("listbox"!==q.current.getAttribute("role")&&(o=q.current.parentElement.querySelector('[role="listbox"]')),!o)return;if(-1===t)return void(o.scrollTop=0);const a=q.current.querySelector(`[data-option-index="${t}"]`);if(a&&(a.classList.add(`${n}-focused`),"keyboard"===r&&a.classList.add(`${n}-focusVisible`),o.scrollHeight>o.clientHeight&&"mouse"!==r&&"touch"!==r)){const e=a,t=o.clientHeight+o.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?o.scrollTop=n-o.clientHeight:e.offsetTop-e.offsetHeight*(S?1.3:0){if(!be)return;const o=function(e,t){if(!q.current||e<0||e>=we.length)return-1;let n=e;for(;;){const r=q.current.querySelector(`[data-option-index="${n}"]`),i=!g&&(!r||r.disabled||"true"===r.getAttribute("aria-disabled"));if(r&&r.hasAttribute("tabindex")&&!i)return n;if(n="next"===t?(n+1)%we.length:(n-1+we.length)%we.length,n===e)return-1}}((()=>{const e=we.length-1;if("reset"===t)return Z;if("start"===t)return 0;if("end"===t)return e;const n=J.current+t;return n<0?-1===n&&k?-1:m&&-1!==J.current||Math.abs(t)>1?0:e:n>e?n===e+1&&k?-1:m||Math.abs(t)>1?e:0:n})(),n);if(Ce({index:o,reason:i,event:e}),r&&"reset"!==t)if(-1===o)W.current.value=te;else{const e=$(we[o]);W.current.value=e;0===e.toLowerCase().indexOf(te.toLowerCase())&&te.length>0&&W.current.setSelectionRange(te.length,e.length)}})),ke=o.useCallback((()=>{if(!be)return;const e=(()=>{if(-1!==J.current&&xe.filteredOptions&&xe.filteredOptions.length!==we.length&&xe.inputValue===te&&(O?Q.length===xe.value.length&&xe.value.every(((e,t)=>$(Q[t])===$(e))):(e=xe.value,t=Q,(e?$(e):"")===(t?$(t):"")))){const e=xe.filteredOptions[J.current];if(e)return we.findIndex((t=>$(t)===$(e)))}var e,t;return-1})();if(-1!==e)return void(J.current=e);const t=O?Q[0]:Q;if(0!==we.length&&null!=t){if(q.current)if(null==t)J.current>=we.length-1?Ce({index:we.length-1}):Ce({index:J.current});else{const e=we[J.current];if(O&&e&&-1!==Q.findIndex((t=>_(e,t))))return;const n=we.findIndex((e=>_(e,t)));-1===n?Ee({diff:"reset"}):Ce({index:n})}}else Ee({diff:"reset"})}),[we.length,!O&&Q,v,Ee,Ce,be,te,O]),Te=(0,oe.A)((e=>{(0,ae.A)(q,e),e&&ke()}));o.useEffect((()=>{ke()}),[ke]);const _e=e=>{fe||(ge(!0),ye(!0),R&&R(e))},Oe=(e,t)=>{fe&&(ge(!1),I&&I(e,t))},Pe=(e,t,n,r)=>{if(O){if(Q.length===t.length&&Q.every(((e,n)=>e===t[n])))return}else if(Q===t)return;P&&P(e,t,n,r),ee(t)},Ie=o.useRef(!1),Me=(e,t,n="selectOption",r="options")=>{let i=n,o=t;if(O){o=Array.isArray(Q)?Q.slice():[];const e=o.findIndex((e=>_(t,e)));-1===e?o.push(t):"freeSolo"!==r&&(o.splice(e,1),i="removeOption")}pe(e,o,i),Pe(e,o,i,{option:t}),p||e&&(e.ctrlKey||e.metaKey)||Oe(e,i),(!0===s||"touch"===s&&Ie.current||"mouse"===s&&!Ie.current)&&W.current.blur()},Le=(e,t)=>{if(!O)return;""===te&&Oe(e,"toggleInput");let n=K;-1===K?""===te&&"previous"===t&&(n=Q.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===Q.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===Q.length||"previous"===t&&-1===n)return-1;const e=H.querySelector(`[data-tag-index="${n}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),X(n),Se(n)},Re=e=>{G.current=!0,se(""),L&&L(e,"","clear"),Pe(e,O?[]:null,"clear")},je=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==K&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(X(-1),Se(-1)),229!==t.which))switch(t.key){case"Home":be&&C&&(t.preventDefault(),Ee({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":be&&C&&(t.preventDefault(),Ee({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),Ee({diff:-5,direction:"previous",reason:"keyboard",event:t}),_e(t);break;case"PageDown":t.preventDefault(),Ee({diff:5,direction:"next",reason:"keyboard",event:t}),_e(t);break;case"ArrowDown":t.preventDefault(),Ee({diff:1,direction:"next",reason:"keyboard",event:t}),_e(t);break;case"ArrowUp":t.preventDefault(),Ee({diff:-1,direction:"previous",reason:"keyboard",event:t}),_e(t);break;case"ArrowLeft":Le(t,"previous");break;case"ArrowRight":Le(t,"next");break;case"Enter":if(-1!==J.current&&be){const e=we[J.current],n=!!w&&w(e);if(t.preventDefault(),n)return;Me(t,e,"selectOption"),r&&W.current.setSelectionRange(W.current.value.length,W.current.value.length)}else b&&""!==te&&!1===ve&&(O&&t.preventDefault(),Me(t,te,"createOption","freeSolo"));break;case"Escape":be?(t.preventDefault(),t.stopPropagation(),Oe(t,"escape")):c&&(""!==te||O&&Q.length>0)&&(t.preventDefault(),t.stopPropagation(),Re(t));break;case"Backspace":if(O&&!N&&""===te&&Q.length>0){const e=-1===K?Q.length-1:K,n=Q.slice();n.splice(e,1),Pe(t,n,"removeOption",{option:Q[e]})}break;case"Delete":if(O&&!N&&""===te&&Q.length>0&&-1!==K){const e=K,n=Q.slice();n.splice(e,1),Pe(t,n,"removeOption",{option:Q[e]})}}},Fe=e=>{he(!0),F&&!G.current&&_e(e)},De=e=>{t(q)?W.current.focus():(he(!1),U.current=!0,G.current=!1,a&&-1!==J.current&&be?Me(e,we[J.current],"blur"):a&&b&&""!==te?Me(e,te,"blur","freeSolo"):l&&pe(e,Q,"blur"),Oe(e,"blur"))},Ne=e=>{const t=e.target.value;te!==t&&(se(t),ye(!1),L&&L(e,t,"input")),""===t?h||O||Pe(e,null,"clear"):_e(e)},Be=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));J.current!==t&&Ce({event:e,index:t,reason:"mouse"})},ze=e=>{Ce({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Ie.current=!0},Ve=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Me(e,we[t],"selectOption"),Ie.current=!1},$e=e=>t=>{const n=Q.slice();n.splice(e,1),Pe(t,n,"removeOption",{option:Q[e]})},Ge=e=>{fe?Oe(e,"toggleInput"):_e(e)},Ue=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==V&&e.preventDefault()},We=e=>{e.currentTarget.contains(e.target)&&(W.current.focus(),B&&U.current&&W.current.selectionEnd-W.current.selectionStart==0&&W.current.select(),U.current=!1)},qe=e=>{f||""!==te&&fe||Ge(e)};let He=b&&te.length>0;He=He||(O?Q.length>0:null!==Q);let Ye=we;if(S){new Map;Ye=we.reduce(((e,t,n)=>{const r=S(t);return e.length>0&&e[e.length-1].group===r?e[e.length-1].options.push(t):e.push({key:n,index:n,group:r,options:[t]}),e}),[])}return f&&de&&De(),{getRootProps:(e={})=>({"aria-owns":Ae?`${V}-listbox`:null,...e,onKeyDown:je(e),onMouseDown:Ue,onClick:We}),getInputLabelProps:()=>({id:`${V}-label`,htmlFor:V}),getInputProps:()=>({id:V,value:te,onBlur:De,onFocus:Fe,onChange:Ne,onMouseDown:qe,"aria-activedescendant":be?"":null,"aria-autocomplete":r?"both":"list","aria-controls":Ae?`${V}-listbox`:void 0,"aria-expanded":Ae,autoComplete:"off",ref:W,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:f}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Re}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Ge}),getTagProps:({index:e})=>({key:e,"data-tag-index":e,tabIndex:-1,...!N&&{onDelete:$e(e)}}),getListboxProps:()=>({role:"listbox",id:`${V}-listbox`,"aria-labelledby":`${V}-label`,ref:Te,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const n=(O?Q:[Q]).some((e=>null!=e&&_(t,e))),r=!!w&&w(t);return{key:x?.(t)??$(t),tabIndex:-1,role:"option",id:`${V}-option-${e}`,onMouseMove:Be,onClick:Ve,onTouchStart:ze,"data-option-index":e,"aria-disabled":r,"aria-selected":n}},id:V,inputValue:te,value:Q,dirty:He,expanded:be&&H,popupOpen:be,focused:de||-1!==K,anchorEl:H,setAnchorEl:Y,focusedTag:K,groupedOptions:Ye}};var he=n(36832);function pe(e){return(0,S.Ay)("MuiListSubheader",e)}(0,A.A)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const fe=(0,u.Ay)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,U.A)(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})((0,d.A)((({theme:e})=>({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),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:72}},{props:({ownerState:e})=>!e.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]})))),ge=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiListSubheader"}),{className:r,color:i="default",component:o="li",disableGutters:a=!1,disableSticky:s=!1,inset:u=!1,...d}=n,p={...n,color:i,component:o,disableGutters:a,disableSticky:s,inset:u},f=(e=>{const{classes:t,color:n,disableGutters:r,inset:i,disableSticky:o}=e,a={root:["root","default"!==n&&`color${(0,U.A)(n)}`,!r&&"gutters",i&&"inset",!o&&"sticky"]};return(0,c.A)(a,pe,t)})(p);return(0,k.jsx)(fe,{as:o,className:(0,l.A)(f.root,r),ref:t,ownerState:p,...d})}));ge&&(ge.muiSkipListHighlight=!0);const me=ge;var ye=n(76437),ve=n(68805);const be=(0,ve.A)((0,k.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");var we=n(51704);function xe(e){return(0,S.Ay)("MuiChip",e)}const Ae=(0,A.A)("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","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"]),Se=(0,u.Ay)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:i,clickable:o,onDelete:a,size:s,variant:l}=n;return[{[`& .${Ae.avatar}`]:t.avatar},{[`& .${Ae.avatar}`]:t[`avatar${(0,U.A)(s)}`]},{[`& .${Ae.avatar}`]:t[`avatarColor${(0,U.A)(r)}`]},{[`& .${Ae.icon}`]:t.icon},{[`& .${Ae.icon}`]:t[`icon${(0,U.A)(s)}`]},{[`& .${Ae.icon}`]:t[`iconColor${(0,U.A)(i)}`]},{[`& .${Ae.deleteIcon}`]:t.deleteIcon},{[`& .${Ae.deleteIcon}`]:t[`deleteIcon${(0,U.A)(s)}`]},{[`& .${Ae.deleteIcon}`]:t[`deleteIconColor${(0,U.A)(r)}`]},{[`& .${Ae.deleteIcon}`]:t[`deleteIcon${(0,U.A)(l)}Color${(0,U.A)(r)}`]},t.root,t[`size${(0,U.A)(s)}`],t[`color${(0,U.A)(r)}`],o&&t.clickable,o&&"default"!==r&&t[`clickableColor${(0,U.A)(r)})`],a&&t.deletable,a&&"default"!==r&&t[`deletableColor${(0,U.A)(r)}`],t[l],t[`${l}${(0,U.A)(r)}`]]}})((0,d.A)((({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return{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",[`&.${Ae.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Ae.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${Ae.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Ae.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Ae.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Ae.icon}`]:{marginLeft:5,marginRight:-6},[`& .${Ae.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:(0,te.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,te.X4)(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${Ae.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${Ae.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter((([,e])=>e&&e.main&&e.contrastText)).map((([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${Ae.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].contrastTextChannel} / 0.7)`:(0,te.X4)(e.palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}}))),{props:e=>e.iconColor===e.color,style:{[`& .${Ae.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${Ae.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${Ae.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,te.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter((([,e])=>e&&e.dark)).map((([t])=>({props:{color:t,onDelete:!0},style:{[`&.${Ae.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}}))),{props:{clickable:!0},style:{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,te.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Ae.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,te.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter((([,e])=>e&&e.dark)).map((([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${Ae.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}}))),{props:{variant:"outlined"},style:{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]}`,[`&.${Ae.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Ae.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Ae.avatar}`]:{marginLeft:4},[`& .${Ae.avatarSmall}`]:{marginLeft:2},[`& .${Ae.icon}`]:{marginLeft:4},[`& .${Ae.iconSmall}`]:{marginLeft:2},[`& .${Ae.deleteIcon}`]:{marginRight:5},[`& .${Ae.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:(0,te.X4)(e.palette[t].main,.7)}`,[`&.${Ae.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,te.X4)(e.palette[t].main,e.palette.action.hoverOpacity)},[`&.${Ae.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,te.X4)(e.palette[t].main,e.palette.action.focusOpacity)},[`& .${Ae.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:(0,te.X4)(e.palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}})))]}}))),Ce=(0,u.Ay)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${(0,U.A)(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function Ee(e){return"Backspace"===e.key||"Delete"===e.key}const ke=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiChip"}),{avatar:r,className:i,clickable:a,color:s="default",component:u,deleteIcon:d,disabled:p=!1,icon:f,label:g,onClick:m,onDelete:y,onKeyDown:v,onKeyUp:b,size:w="medium",variant:x="filled",tabIndex:A,skipFocusWhenDisabled:S=!1,...C}=n,E=o.useRef(null),T=(0,we.A)(E,t),_=e=>{e.stopPropagation(),y&&y(e)},O=!(!1===a||!m)||a,I=O||y?P.A:u||"div",M={...n,component:I,disabled:p,size:w,color:s,iconColor:o.isValidElement(f)&&f.props.color||s,onDelete:!!y,clickable:O,variant:x},L=(e=>{const{classes:t,disabled:n,size:r,color:i,iconColor:o,onDelete:a,clickable:s,variant:l}=e,u={root:["root",l,n&&"disabled",`size${(0,U.A)(r)}`,`color${(0,U.A)(i)}`,s&&"clickable",s&&`clickableColor${(0,U.A)(i)}`,a&&"deletable",a&&`deletableColor${(0,U.A)(i)}`,`${l}${(0,U.A)(i)}`],label:["label",`label${(0,U.A)(r)}`],avatar:["avatar",`avatar${(0,U.A)(r)}`,`avatarColor${(0,U.A)(i)}`],icon:["icon",`icon${(0,U.A)(r)}`,`iconColor${(0,U.A)(o)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,U.A)(r)}`,`deleteIconColor${(0,U.A)(i)}`,`deleteIcon${(0,U.A)(l)}Color${(0,U.A)(i)}`]};return(0,c.A)(u,xe,t)})(M),R=I===P.A?{component:u||"div",focusVisibleClassName:L.focusVisible,...y&&{disableRipple:!0}}:{};let j=null;y&&(j=d&&o.isValidElement(d)?o.cloneElement(d,{className:(0,l.A)(d.props.className,L.deleteIcon),onClick:_}):(0,k.jsx)(be,{className:(0,l.A)(L.deleteIcon),onClick:_}));let F=null;r&&o.isValidElement(r)&&(F=o.cloneElement(r,{className:(0,l.A)(L.avatar,r.props.className)}));let D=null;return f&&o.isValidElement(f)&&(D=o.cloneElement(f,{className:(0,l.A)(L.icon,f.props.className)})),(0,k.jsxs)(Se,{as:I,className:(0,l.A)(L.root,i),disabled:!(!O||!p)||void 0,onClick:m,onKeyDown:e=>{e.currentTarget===e.target&&Ee(e)&&e.preventDefault(),v&&v(e)},onKeyUp:e=>{e.currentTarget===e.target&&y&&Ee(e)&&y(e),b&&b(e)},ref:T,tabIndex:S&&p?-1:A,ownerState:M,...R,...C,children:[F||D,(0,k.jsx)(Ce,{className:(0,l.A)(L.label),ownerState:M,children:g}),j]})}));var Te=n(94287),_e=n(36947);function Oe(e){return(0,S.Ay)("MuiOutlinedInput",e)}const Pe={..._e.A,...(0,A.A)("MuiOutlinedInput",["root","notchedOutline","input"])};function Ie(e){return(0,S.Ay)("MuiFilledInput",e)}const Me={..._e.A,...(0,A.A)("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},Le=(0,ve.A)((0,k.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");var Re=n(96382);function je(e){return(0,S.Ay)("MuiAutocomplete",e)}const Fe=(0,A.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 De,Ne;const Be=(0,u.Ay)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:i,hasPopupIcon:o,inputFocused:a,size:s}=n;return[{[`& .${Fe.tag}`]:t.tag},{[`& .${Fe.tag}`]:t[`tagSize${(0,U.A)(s)}`]},{[`& .${Fe.inputRoot}`]:t.inputRoot},{[`& .${Fe.input}`]:t.input},{[`& .${Fe.input}`]:a&&t.inputFocused},t.root,r&&t.fullWidth,o&&t.hasPopupIcon,i&&t.hasClearIcon]}})({[`&.${Fe.focused} .${Fe.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Fe.clearIndicator}`]:{visibility:"visible"}},[`& .${Fe.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Fe.inputRoot}`]:{[`.${Fe.hasPopupIcon}&, .${Fe.hasClearIcon}&`]:{paddingRight:30},[`.${Fe.hasPopupIcon}.${Fe.hasClearIcon}&`]:{paddingRight:56},[`& .${Fe.input}`]:{width:0,minWidth:30}},[`& .${Te.A.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Te.A.root}.${_e.A.sizeSmall}`]:{[`& .${Te.A.input}`]:{padding:"2px 4px 3px 0"}},[`& .${Pe.root}`]:{padding:9,[`.${Fe.hasPopupIcon}&, .${Fe.hasClearIcon}&`]:{paddingRight:39},[`.${Fe.hasPopupIcon}.${Fe.hasClearIcon}&`]:{paddingRight:65},[`& .${Fe.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Fe.endAdornment}`]:{right:9}},[`& .${Pe.root}.${_e.A.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Fe.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Me.root}`]:{paddingTop:19,paddingLeft:8,[`.${Fe.hasPopupIcon}&, .${Fe.hasClearIcon}&`]:{paddingRight:39},[`.${Fe.hasPopupIcon}.${Fe.hasClearIcon}&`]:{paddingRight:65},[`& .${Me.input}`]:{padding:"7px 4px"},[`& .${Fe.endAdornment}`]:{right:9}},[`& .${Me.root}.${_e.A.sizeSmall}`]:{paddingBottom:1,[`& .${Me.input}`]:{padding:"2.5px 4px"}},[`& .${_e.A.hiddenLabel}`]:{paddingTop:8},[`& .${Me.root}.${_e.A.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Fe.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Me.root}.${_e.A.hiddenLabel}.${_e.A.sizeSmall}`]:{[`& .${Fe.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Fe.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Fe.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Fe.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Fe.inputRoot}`]:{flexWrap:"wrap"}}}]}),ze=(0,u.Ay)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),Ve=(0,u.Ay)(ye.A,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),$e=(0,u.Ay)(ye.A,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>({...t.popupIndicator,...e.popupOpen&&t.popupIndicatorOpen})})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),Ge=(0,u.Ay)(he.A,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Fe.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})((0,d.A)((({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]})))),Ue=(0,u.Ay)(f.A,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})((0,d.A)((({theme:e})=>({...e.typography.body1,overflow:"auto"})))),We=(0,u.Ay)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((0,d.A)((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})))),qe=(0,u.Ay)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((0,d.A)((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"})))),He=(0,u.Ay)("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((0,d.A)((({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Fe.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"},[`&.${Fe.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"},[`&.${Fe.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,te.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Fe.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,te.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Fe.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,te.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}})))),Ye=(0,u.Ay)(me,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})((0,d.A)((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8})))),Ke=(0,u.Ay)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${Fe.option}`]:{paddingLeft:24}}),Xe=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiAutocomplete"}),{autoComplete:r=!1,autoHighlight:i=!1,autoSelect:a=!1,blurOnSelect:s=!1,ChipProps:u,className:d,clearIcon:p=De||(De=(0,k.jsx)(Le,{fontSize:"small"})),clearOnBlur:g=!n.freeSolo,clearOnEscape:m=!1,clearText:y="Clear",closeText:v="Close",componentsProps:b,defaultValue:w=(n.multiple?[]:null),disableClearable:A=!1,disableCloseOnSelect:S=!1,disabled:C=!1,disabledItemsFocusable:E=!1,disableListWrap:T=!1,disablePortal:_=!1,filterOptions:O,filterSelectedOptions:P=!1,forcePopupIcon:I="auto",freeSolo:M=!1,fullWidth:L=!1,getLimitTagsText:R=e=>`+${e}`,getOptionDisabled:j,getOptionKey:F,getOptionLabel:D,isOptionEqualToValue:N,groupBy:B,handleHomeEndKeys:z=!n.freeSolo,id:V,includeInputInList:$=!1,inputValue:G,limitTags:W=-1,ListboxComponent:q,ListboxProps:H,loading:Y=!1,loadingText:K="Loading…",multiple:X=!1,noOptionsText:Z="No options",onChange:J,onClose:Q,onHighlightChange:ee,onInputChange:te,onOpen:ne,open:re,openOnFocus:ie=!1,openText:oe="Open",options:ae,PaperComponent:se,PopperComponent:le,popupIcon:ce=Ne||(Ne=(0,k.jsx)(Re.A,{})),readOnly:ue=!1,renderGroup:pe,renderInput:fe,renderOption:ge,renderTags:me,selectOnFocus:ye=!n.freeSolo,size:ve="medium",slots:be={},slotProps:we={},value:xe,...Ae}=n,{getRootProps:Se,getInputProps:Ce,getInputLabelProps:Ee,getPopupIndicatorProps:Te,getClearProps:_e,getTagProps:Oe,getListboxProps:Pe,getOptionProps:Ie,value:Me,dirty:Fe,expanded:Xe,id:Ze,popupOpen:Je,focused:Qe,focusedTag:et,anchorEl:tt,setAnchorEl:nt,inputValue:rt,groupedOptions:it}=de({...n,componentName:"Autocomplete"}),ot=!A&&!C&&Fe&&!ue,at=(!M||!0===I)&&!1!==I,{onMouseDown:st}=Ce(),{ref:lt,...ct}=Pe(),ut=D||(e=>e.label??e),dt={...n,disablePortal:_,expanded:Xe,focused:Qe,fullWidth:L,getOptionLabel:ut,hasClearIcon:ot,hasPopupIcon:at,inputFocused:-1===et,popupOpen:Je,size:ve},ht=(e=>{const{classes:t,disablePortal:n,expanded:r,focused:i,fullWidth:o,hasClearIcon:a,hasPopupIcon:s,inputFocused:l,popupOpen:u,size:d}=e,h={root:["root",r&&"expanded",i&&"focused",o&&"fullWidth",a&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${(0,U.A)(d)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",u&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return(0,c.A)(h,je,t)})(dt),pt={slots:{listbox:q,paper:se,popper:le,...be},slotProps:{chip:u,listbox:H,...b,...we}},[ft,gt]=x("listbox",{elementType:"ul",externalForwardedProps:pt,ownerState:dt,className:ht.listbox,additionalProps:ct,ref:lt}),[mt,yt]=x("paper",{elementType:f.A,externalForwardedProps:pt,ownerState:dt,className:ht.paper}),[vt,bt]=x("popper",{elementType:he.A,externalForwardedProps:pt,ownerState:dt,className:ht.popper,additionalProps:{disablePortal:_,style:{width:tt?tt.clientWidth:null},role:"presentation",anchorEl:tt,open:Je}});let wt;if(X&&Me.length>0){const e=e=>({className:ht.tag,disabled:C,...Oe(e)});wt=me?me(Me,e,dt):Me.map(((t,n)=>{const{key:r,...i}=e({index:n});return(0,k.jsx)(ke,{label:ut(t),size:ve,...i,...pt.slotProps.chip},r)}))}if(W>-1&&Array.isArray(wt)){const e=wt.length-W;!Qe&&e>0&&(wt=wt.splice(0,W),wt.push((0,k.jsx)("span",{className:ht.tag,children:R(e)},wt.length)))}const xt=pe||(e=>(0,k.jsxs)("li",{children:[(0,k.jsx)(Ye,{className:ht.groupLabel,ownerState:dt,component:"div",children:e.group}),(0,k.jsx)(Ke,{className:ht.groupUl,ownerState:dt,children:e.children})]},e.key)),At=ge||((e,t)=>{const{key:n,...r}=e;return(0,k.jsx)("li",{...r,children:ut(t)},n)}),St=(e,t)=>{const n=Ie({option:e,index:t});return At({...n,className:ht.option},e,{selected:n["aria-selected"],index:t,inputValue:rt},dt)},Ct=pt.slotProps.clearIndicator,Et=pt.slotProps.popupIndicator,kt=e=>(0,k.jsx)(Ge,{as:vt,...bt,children:(0,k.jsx)(Ue,{as:mt,...yt,children:e})});let Tt=null;return it.length>0?Tt=kt((0,k.jsx)(He,{as:ft,...gt,children:it.map(((e,t)=>B?xt({key:e.key,group:e.group,children:e.options.map(((t,n)=>St(t,e.index+n)))}):St(e,t)))})):Y&&0===it.length?Tt=kt((0,k.jsx)(We,{className:ht.loading,ownerState:dt,children:K})):0!==it.length||M||Y||(Tt=kt((0,k.jsx)(qe,{className:ht.noOptions,ownerState:dt,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:Z}))),(0,k.jsxs)(o.Fragment,{children:[(0,k.jsx)(Be,{ref:t,className:(0,l.A)(ht.root,d),ownerState:dt,...Se(Ae),children:fe({id:Ze,disabled:C,fullWidth:!0,size:"small"===ve?"small":void 0,InputLabelProps:Ee(),InputProps:{ref:nt,className:ht.inputRoot,startAdornment:wt,onClick:e=>{e.target===e.currentTarget&&st(e)},...(ot||at)&&{endAdornment:(0,k.jsxs)(ze,{className:ht.endAdornment,ownerState:dt,children:[ot?(0,k.jsx)(Ve,{..._e(),"aria-label":y,title:y,ownerState:dt,...Ct,className:(0,l.A)(ht.clearIndicator,Ct?.className),children:p}):null,at?(0,k.jsx)($e,{...Te(),disabled:C,"aria-label":Je?v:oe,title:Je?v:oe,ownerState:dt,...Et,className:(0,l.A)(ht.popupIndicator,Et?.className),children:ce}):null]})}},inputProps:{className:ht.input,disabled:C,readOnly:ue,...Ce()}})}),tt?Tt:null]})})),Ze=Xe;var Je=["fullWidth"];function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function et(e){for(var t=1;t{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})((0,d.A)((({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:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]})))),at=(0,u.Ay)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),st=(0,u.Ay)(rt,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});const lt=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiAvatar"}),{alt:r,children:i,className:a,component:s="div",slots:u={},slotProps:d={},imgProps:p,sizes:f,src:g,srcSet:m,variant:y="circular",...v}=n;let b=null;const w=function({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[i,a]=o.useState(!1);return o.useEffect((()=>{if(!n&&!r)return;a(!1);let i=!0;const o=new Image;return o.onload=()=>{i&&a("loaded")},o.onerror=()=>{i&&a("error")},o.crossOrigin=e,o.referrerPolicy=t,o.src=n,r&&(o.srcset=r),()=>{i=!1}}),[e,t,n,r]),i}({...p,src:g,srcSet:m}),A=g||m,S=A&&"error"!==w,C={...n,colorDefault:!S,component:s,variant:y};delete C.ownerState;const E=(e=>{const{classes:t,variant:n,colorDefault:r}=e,i={root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,c.A)(i,it,t)})(C),[T,_]=x("img",{className:E.img,elementType:at,externalForwardedProps:{slots:u,slotProps:{img:{...p,...d.img}}},additionalProps:{alt:r,src:g,srcSet:m,sizes:f},ownerState:C});return b=S?(0,k.jsx)(T,{..._}):i||0===i?i:A&&r?r[0]:(0,k.jsx)(st,{ownerState:C,className:E.fallback}),(0,k.jsx)(ot,{as:s,className:(0,l.A)(E.root,a),ref:t,...v,ownerState:C,children:b})}));function ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ut(e){for(var t=1;tl?`${l}+`:s}};function ft(e){return(0,S.Ay)("MuiBadge",e)}const gt=(0,A.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"]),mt=(0,u.Ay)("span",{name:"MuiBadge",slot:"Root",overridesResolver:(e,t)=>t.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),yt=(0,u.Ay)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${(0,U.A)(n.anchorOrigin.vertical)}${(0,U.A)(n.anchorOrigin.horizontal)}${(0,U.A)(n.overlap)}`],"default"!==n.color&&t[`color${(0,U.A)(n.color)}`],n.invisible&&t.invisible]}})((0,d.A)((({theme:e})=>({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.entries(e.palette).filter((([,e])=>e&&e.main&&e.contrastText)).map((([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].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%",[`&.${gt.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%",[`&.${gt.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%",[`&.${gt.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%",[`&.${gt.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%",[`&.${gt.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%",[`&.${gt.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%",[`&.${gt.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%",[`&.${gt.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})}}]})))),vt=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiBadge"}),{anchorOrigin:r={vertical:"top",horizontal:"right"},className:i,classes:o,component:a,components:s={},componentsProps:u={},children:d,overlap:p="rectangular",color:f="default",invisible:g=!1,max:m=99,badgeContent:y,slots:v,slotProps:b,showZero:w=!1,variant:x="standard",...A}=n,{badgeContent:S,invisible:C,max:E,displayValue:T}=pt({max:m,invisible:g,badgeContent:y,showZero:w}),_=ie({anchorOrigin:r,color:f,overlap:p,variant:x,badgeContent:y}),O=C||null==S&&"dot"!==x,{color:P=f,overlap:I=p,anchorOrigin:M=r,variant:L=x}=O?_:n,R="dot"!==L?T:void 0,j={...n,badgeContent:S,invisible:O,max:E,displayValue:R,showZero:w,anchorOrigin:M,color:P,overlap:I,variant:L},F=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:i,variant:o,classes:a={}}=e,s={root:["root"],badge:["badge",o,r&&"invisible",`anchorOrigin${(0,U.A)(n.vertical)}${(0,U.A)(n.horizontal)}`,`anchorOrigin${(0,U.A)(n.vertical)}${(0,U.A)(n.horizontal)}${(0,U.A)(i)}`,`overlap${(0,U.A)(i)}`,"default"!==t&&`color${(0,U.A)(t)}`]};return(0,c.A)(s,ft,a)})(j),D=v?.root??s.Root??mt,N=v?.badge??s.Badge??yt,B=b?.root??u.root,z=b?.badge??u.badge,V=(0,ht.A)({elementType:D,externalSlotProps:B,externalForwardedProps:A,additionalProps:{ref:t,as:a},ownerState:j,className:(0,l.A)(B?.className,F.root,i)}),$=(0,ht.A)({elementType:N,externalSlotProps:z,ownerState:j,className:(0,l.A)(F.badge,z?.className)});return(0,k.jsxs)(D,{...V,children:[d,(0,k.jsx)(N,{...$,children:R})]})})),bt=vt;function wt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xt(e){return(0,k.jsx)(bt,function(e){for(var t=1;t *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],Mt=(0,u.Ay)(P.A,{shouldForwardProp:e=>(0,kt.A)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,U.A)(n.color)}`],t[`size${(0,U.A)(n.size)}`],t[`${n.variant}Size${(0,U.A)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((0,d.A)((({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],n="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${_t.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${_t.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${_t.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${_t.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter((([,e])=>e&&e.main&&e.dark&&e.contrastText)).map((([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:(0,te.X4)(e.palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,te.X4)(e.palette[t].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,te.X4)(e.palette[t].main,e.palette.action.hoverOpacity)}}}}))),{props:{color:"inherit"},style:{"--variant-containedColor":e.vars?e.vars.palette.text.primary:e.palette.getContrastText?.(t),"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,te.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,te.X4)(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${_t.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${_t.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}}]}}))),Lt=(0,u.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,U.A)(n.size)}`]]}})({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},...It]}),Rt=(0,u.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,U.A)(n.size)}`]]}})({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},...It]}),jt=o.forwardRef((function(e,t){const n=o.useContext(Ot),r=o.useContext(Pt),i=(0,Et.A)(n,e),a=(0,h.b)({props:i,name:"MuiButton"}),{children:s,color:u="primary",component:d="button",className:p,disabled:f=!1,disableElevation:g=!1,disableFocusRipple:m=!1,endIcon:y,focusVisibleClassName:v,fullWidth:b=!1,size:w="medium",startIcon:x,type:A,variant:S="text",...C}=a,E={...a,color:u,component:d,disabled:f,disableElevation:g,disableFocusRipple:m,fullWidth:b,size:w,type:A,variant:S},T=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:i,variant:o,classes:a}=e,s={root:["root",o,`${o}${(0,U.A)(t)}`,`size${(0,U.A)(i)}`,`${o}Size${(0,U.A)(i)}`,`color${(0,U.A)(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${(0,U.A)(i)}`],endIcon:["icon","endIcon",`iconSize${(0,U.A)(i)}`]},l=(0,c.A)(s,Tt,a);return{...a,...l}})(E),_=x&&(0,k.jsx)(Lt,{className:T.startIcon,ownerState:E,children:x}),O=y&&(0,k.jsx)(Rt,{className:T.endIcon,ownerState:E,children:y}),P=r||"";return(0,k.jsxs)(Mt,{ownerState:E,className:(0,l.A)(n.className,T.root,p,P),component:d,disabled:f,focusRipple:!m,focusVisibleClassName:(0,l.A)(T.focusVisible,v),ref:t,type:A,...C,classes:T,children:[_,s,O]})}));var Ft=n(96299),Dt=n(20785);function Nt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Bt(e){for(var t=1;t{r&&p.current.focus()}),[r]),o.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!p.current.style.width;if(e.clientHeight{o.isValidElement(e)?(e.props.disabled||("selectedMenu"===d&&e.props.selected||-1===m)&&(m=t),m===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(m+=1,m>=a.length&&(m=-1))):m===t&&(m+=1,m>=a.length&&(m=-1))}));const y=o.Children.map(a,((e,t)=>{if(t===m){const t={};return i&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===d&&(t.tabIndex=0),o.cloneElement(e,t)}return e}));return(0,k.jsx)(Wt.A,{role:"menu",ref:g,className:s,onKeyDown:e=>{const t=p.current,n=e.key;if(e.ctrlKey||e.metaKey||e.altKey)return void(u&&u(e));const r=(0,Ut.A)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Jt(t,r,c,l,Kt);else if("ArrowUp"===n)e.preventDefault(),Jt(t,r,c,l,Xt);else if("Home"===n)e.preventDefault(),Jt(t,null,c,l,Kt);else if("End"===n)e.preventDefault(),Jt(t,null,c,l,Xt);else if(1===n.length){const i=f.current,o=n.toLowerCase(),a=performance.now();i.keys.length>0&&(a-i.lastTime>500?(i.keys=[],i.repeating=!0,i.previousKeyMatched=!0):i.repeating&&o!==i.keys[0]&&(i.repeating=!1)),i.lastTime=a,i.keys.push(o);const s=r&&!i.repeating&&Zt(r,i);i.previousKeyMatched&&(s||Jt(t,r,!1,l,Kt,i))?e.preventDefault():i.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1,...h,children:y})})),en=Qt;var tn=n(80902),nn=n(62047),rn=n(73805),on=n(42157);function an(e){return(0,S.Ay)("MuiMenuItem",e)}const sn=(0,A.A)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),ln=(0,u.Ay)(P.A,{shouldForwardProp:e=>(0,kt.A)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((0,d.A)((({theme:e})=>({...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","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${sn.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,te.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${sn.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,te.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${sn.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,te.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,te.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${sn.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${sn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${nn.A.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${nn.A.inset}`]:{marginLeft:52},[`& .${on.A.root}`]:{marginTop:0,marginBottom:0},[`& .${on.A.inset}`]:{paddingLeft:36},[`& .${rn.A.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>!e.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${rn.A.root} svg`]:{fontSize:"1.25rem"}}}]})))),cn=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:i="li",dense:a=!1,divider:s=!1,disableGutters:u=!1,focusVisibleClassName:d,role:p="menuitem",tabIndex:f,className:g,...m}=n,y=o.useContext(tn.A),v=o.useMemo((()=>({dense:a||y.dense||!1,disableGutters:u})),[y.dense,a,u]),b=o.useRef(null);(0,Yt.A)((()=>{r&&b.current&&b.current.focus()}),[r]);const w={...n,dense:v.dense,divider:s,disableGutters:u},x=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:i,selected:o,classes:a}=e,s={root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",o&&"selected"]},l=(0,c.A)(s,an,a);return{...a,...l}})(n),A=(0,we.A)(b,t);let S;return n.disabled||(S=void 0!==f?f:-1),(0,k.jsx)(tn.A.Provider,{value:v,children:(0,k.jsx)(ln,{ref:A,role:p,tabIndex:S,component:i,focusVisibleClassName:(0,l.A)(x.focusVisible,d),className:(0,l.A)(x.root,g),...m,ownerState:w,classes:x})})})),un=cn;function dn(e){return(0,S.Ay)("MuiButtonGroup",e)}const hn=(0,A.A)("MuiButtonGroup",["root","contained","outlined","text","disableElevation","disabled","firstButton","fullWidth","horizontal","vertical","colorPrimary","colorSecondary","grouped","groupedHorizontal","groupedVertical","groupedText","groupedTextHorizontal","groupedTextVertical","groupedTextPrimary","groupedTextSecondary","groupedOutlined","groupedOutlinedHorizontal","groupedOutlinedVertical","groupedOutlinedPrimary","groupedOutlinedSecondary","groupedContained","groupedContainedHorizontal","groupedContainedVertical","groupedContainedPrimary","groupedContainedSecondary","lastButton","middleButton"]),pn=(0,u.Ay)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${hn.grouped}`]:t.grouped},{[`& .${hn.grouped}`]:t[`grouped${(0,U.A)(n.orientation)}`]},{[`& .${hn.grouped}`]:t[`grouped${(0,U.A)(n.variant)}`]},{[`& .${hn.grouped}`]:t[`grouped${(0,U.A)(n.variant)}${(0,U.A)(n.orientation)}`]},{[`& .${hn.grouped}`]:t[`grouped${(0,U.A)(n.variant)}${(0,U.A)(n.color)}`]},{[`& .${hn.firstButton}`]:t.firstButton},{[`& .${hn.lastButton}`]:t.lastButton},{[`& .${hn.middleButton}`]:t.middleButton},t.root,t[n.variant],!0===n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,"vertical"===n.orientation&&t.vertical]}})((0,d.A)((({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{variant:"contained"},style:{boxShadow:(e.vars||e).shadows[2]}},{props:{disableElevation:!0},style:{boxShadow:"none"}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${hn.lastButton},& .${hn.middleButton}`]:{borderTopRightRadius:0,borderTopLeftRadius:0},[`& .${hn.firstButton},& .${hn.middleButton}`]:{borderBottomRightRadius:0,borderBottomLeftRadius:0}}},{props:{orientation:"horizontal"},style:{[`& .${hn.firstButton},& .${hn.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${hn.lastButton},& .${hn.middleButton}`]:{borderTopLeftRadius:0,borderBottomLeftRadius:0}}},{props:{variant:"text",orientation:"horizontal"},style:{[`& .${hn.firstButton},& .${hn.middleButton}`]:{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)"),[`&.${hn.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"text",orientation:"vertical"},style:{[`& .${hn.firstButton},& .${hn.middleButton}`]:{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)"),[`&.${hn.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter((([,e])=>e&&e.main)).flatMap((([t])=>[{props:{variant:"text",color:t},style:{[`& .${hn.firstButton},& .${hn.middleButton}`]:{borderColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:(0,te.X4)(e.palette[t].main,.5)}}}])),{props:{variant:"outlined",orientation:"horizontal"},style:{[`& .${hn.firstButton},& .${hn.middleButton}`]:{borderRightColor:"transparent","&:hover":{borderRightColor:"currentColor"}},[`& .${hn.lastButton},& .${hn.middleButton}`]:{marginLeft:-1}}},{props:{variant:"outlined",orientation:"vertical"},style:{[`& .${hn.firstButton},& .${hn.middleButton}`]:{borderBottomColor:"transparent","&:hover":{borderBottomColor:"currentColor"}},[`& .${hn.lastButton},& .${hn.middleButton}`]:{marginTop:-1}}},{props:{variant:"contained",orientation:"horizontal"},style:{[`& .${hn.firstButton},& .${hn.middleButton}`]:{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${hn.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},{props:{variant:"contained",orientation:"vertical"},style:{[`& .${hn.firstButton},& .${hn.middleButton}`]:{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${hn.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}}}},...Object.entries(e.palette).filter((([,e])=>e&&e.dark)).map((([t])=>({props:{variant:"contained",color:t},style:{[`& .${hn.firstButton},& .${hn.middleButton}`]:{borderColor:(e.vars||e).palette[t].dark}}})))],[`& .${hn.grouped}`]:{minWidth:40,boxShadow:"none",props:{variant:"contained"},style:{"&:hover":{boxShadow:"none"}}}})))),fn=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiButtonGroup"}),{children:r,className:i,color:a="primary",component:s="div",disabled:u=!1,disableElevation:d=!1,disableFocusRipple:p=!1,disableRipple:f=!1,fullWidth:g=!1,orientation:m="horizontal",size:y="medium",variant:v="outlined",...b}=n,w={...n,color:a,component:s,disabled:u,disableElevation:d,disableFocusRipple:p,disableRipple:f,fullWidth:g,orientation:m,size:y,variant:v},x=(e=>{const{classes:t,color:n,disabled:r,disableElevation:i,fullWidth:o,orientation:a,variant:s}=e,l={root:["root",s,a,o&&"fullWidth",i&&"disableElevation",`color${(0,U.A)(n)}`],grouped:["grouped",`grouped${(0,U.A)(a)}`,`grouped${(0,U.A)(s)}`,`grouped${(0,U.A)(s)}${(0,U.A)(a)}`,`grouped${(0,U.A)(s)}${(0,U.A)(n)}`,r&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,c.A)(l,dn,t)})(w),A=o.useMemo((()=>({className:x.grouped,color:a,disabled:u,disableElevation:d,disableFocusRipple:p,disableRipple:f,fullWidth:g,size:y,variant:v})),[a,u,d,p,f,g,y,v,x.grouped]),S=function(e){return o.Children.toArray(e).filter((e=>o.isValidElement(e)))}(r),C=S.length,E=e=>{const t=0===e,n=e===C-1;return t&&n?"":t?x.firstButton:n?x.lastButton:x.middleButton};return(0,k.jsx)(pn,{as:s,role:"group",className:(0,l.A)(x.root,i),ref:t,ownerState:w,...b,children:(0,k.jsx)(Ot.Provider,{value:A,children:S.map(((e,t)=>(0,k.jsx)(Pt.Provider,{value:E(t),children:e},t)))})})})),gn=fn;var mn=["children"];function yn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vn(e){for(var t=1;tt.root})({overflow:"hidden"}),On=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiCard"}),{className:r,raised:i=!1,...o}=n,a={...n,raised:i},s=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"]},Tn,t)})(a);return(0,k.jsx)(_n,{className:(0,l.A)(s.root,r),elevation:i?8:void 0,ref:t,ownerState:a,...o})}));var Pn=n(4775),In=n(71731);function Mn(e){return(0,S.Ay)("MuiCardHeader",e)}const Ln=(0,A.A)("MuiCardHeader",["root","avatar","action","content","title","subheader"]),Rn=(0,u.Ay)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>({[`& .${Ln.title}`]:t.title,[`& .${Ln.subheader}`]:t.subheader,...t.root})})({display:"flex",alignItems:"center",padding:16}),jn=(0,u.Ay)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),Fn=(0,u.Ay)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,t)=>t.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),Dn=(0,u.Ay)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,t)=>t.content})({flex:"1 1 auto",[`.${Pn.A.root}:where(& .${Ln.title})`]:{display:"block"},[`.${Pn.A.root}:where(& .${Ln.subheader})`]:{display:"block"}}),Nn=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiCardHeader"}),{action:r,avatar:i,className:o,component:a="div",disableTypography:s=!1,subheader:u,subheaderTypographyProps:d,title:p,titleTypographyProps:f,...g}=n,m={...n,component:a,disableTypography:s},y=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},Mn,t)})(m);let v=p;null==v||v.type===In.A||s||(v=(0,k.jsx)(In.A,{variant:i?"body2":"h5",className:y.title,component:"span",...f,children:v}));let b=u;return null==b||b.type===In.A||s||(b=(0,k.jsx)(In.A,{variant:i?"body2":"body1",className:y.subheader,color:"textSecondary",component:"span",...d,children:b})),(0,k.jsxs)(Rn,{className:(0,l.A)(y.root,o),as:a,ref:t,ownerState:m,...g,children:[i&&(0,k.jsx)(jn,{className:y.avatar,ownerState:m,children:i}),(0,k.jsxs)(Dn,{className:y.content,ownerState:m,children:[v,b]}),r&&(0,k.jsx)(Fn,{className:y.action,ownerState:m,children:r})]})}));function Bn(e){return(0,S.Ay)("MuiCardContent",e)}(0,A.A)("MuiCardContent",["root"]);const zn=(0,u.Ay)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:16,"&:last-child":{paddingBottom:24}}),Vn=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiCardContent"}),{className:r,component:i="div",...o}=n,a={...n,component:i},s=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"]},Bn,t)})(a);return(0,k.jsx)(zn,{as:i,className:(0,l.A)(s.root,r),ownerState:a,ref:t,...o})}));var $n=["title","contentCard"];function Gn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Un(e){for(var t=1;t{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:i}=n;return[t.root,r&&t.media,i&&t.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),Yn=["video","audio","picture","iframe","img"],Kn=["picture","img"],Xn=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiCardMedia"}),{children:r,className:i,component:o="div",image:a,src:s,style:u,...d}=n,p=Yn.includes(o),f=!p&&a?{backgroundImage:`url("${a}")`,...u}:u,g={...n,component:o,isMediaComponent:p,isImageComponent:Kn.includes(o)},m=(e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e,i={root:["root",n&&"media",r&&"img"]};return(0,c.A)(i,qn,t)})(g);return(0,k.jsx)(Hn,{className:(0,l.A)(m.root,i),as:o,role:!p&&a?"img":void 0,ref:t,style:f,ownerState:g,src:p?a||s:void 0,...d,children:r})})),Zn=Xn;var Jn=["sx","src","alt","click","keyDown"];function Qn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function er(e){var t=e.sx,n=e.src,r=e.alt,i=e.click,o=e.keyDown,a=(0,Q.A)(e,Jn);return(0,k.jsx)(Zn,function(e){for(var t=1;t(0,kt.A)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${(0,U.A)(n.size)}`],"default"!==n.color&&t[`color${(0,U.A)(n.color)}`]]}})((0,d.A)((({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,te.X4)(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,te.X4)(e.palette[t].main,e.palette.action.hoverOpacity)}}}))),...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{[`&.${ar.checked}, &.${ar.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${ar.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}))),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})))),lr=(0,k.jsx)(rr,{}),cr=(0,k.jsx)(nr,{}),ur=(0,k.jsx)(ir,{}),dr=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiCheckbox"}),{checkedIcon:r=lr,color:i="primary",icon:a=cr,indeterminate:s=!1,indeterminateIcon:u=ur,inputProps:d,size:p="medium",disableRipple:f=!1,className:g,...m}=n,y=s?u:a,v=s?u:r,b={...n,disableRipple:f,color:i,indeterminate:s,size:p},w=(e=>{const{classes:t,indeterminate:n,color:r,size:i}=e,o={root:["root",n&&"indeterminate",`color${(0,U.A)(r)}`,`size${(0,U.A)(i)}`]},a=(0,c.A)(o,or,t);return{...t,...a}})(b);return(0,k.jsx)(sr,{type:"checkbox",inputProps:{"data-indeterminate":s,...d},icon:o.cloneElement(y,{fontSize:y.props.fontSize??p}),checkedIcon:o.cloneElement(v,{fontSize:v.props.fontSize??p}),ownerState:b,ref:t,className:(0,l.A)(w.root,g),...m,classes:w})}));function hr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var pr=(0,o.forwardRef)((function(e,t){return(0,k.jsx)(dr,function(e){for(var t=1;t{for(const t of c)(0,i.checkReportMissingProp)(e,t)})):(n.if(r._`${u} && (${(0,i.checkMissingProp)(e,c,s)})`),(0,i.reportMissingProp)(e,s),n.else())}}function l(e,t=e.schema){const{gen:n,data:r,keyword:a,it:s}=e,l=n.name("valid");for(const c in t)(0,o.alwaysValidSchema)(s,t[c])||(n.if((0,i.propertyInData)(n,r,c,s.opts.ownProperties),(()=>{const t=e.subschema({keyword:a,schemaProp:c},l);e.mergeValidEvaluated(t,l)}),(()=>n.var(l,!0))),e.ok(l))}t.validatePropertyDeps=s,t.validateSchemaDeps=l,t.default=a},82821:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3939),o=n(125),i={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>r.str`must match "${e.ifClause}" schema`,params:({params:e})=>r._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:i}=e;void 0===n.then&&void 0===n.else&&(0,o.checkStrictMode)(i,'"if" without "then" and "else" is ignored');const s=a(i,"then"),l=a(i,"else");if(!s&&!l)return;const c=t.let("valid",!0),u=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},u);e.mergeEvaluated(t)}(),e.reset(),s&&l){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(u,d("then",n),d("else",n))}else s?t.if(u,d("then")):t.if((0,r.not)(u),d("else"));function d(n,o){return()=>{const i=e.subschema({keyword:n},u);t.assign(c,u),e.mergeValidEvaluated(i,c),o?t.assign(o,r._`${n}`):e.setParams({ifClause:n})}}e.pass(c,(()=>e.error(!0)))}};function a(e,t){const n=e.schema[t];return void 0!==n&&!(0,o.alwaysValidSchema)(e,n)}t.default=i},58436:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(82675),o=n(66412),i=n(11488),a=n(12544),s=n(90731),l=n(38467),c=n(11307),u=n(40174),d=n(85319),h=n(21827),p=n(98145),f=n(77907),g=n(54425),m=n(68634),y=n(82821),v=n(86812);t.default=function(e=!1){const t=[p.default,f.default,g.default,m.default,y.default,v.default,c.default,u.default,l.default,d.default,h.default];return e?t.push(o.default,a.default):t.push(r.default,i.default),t.push(s.default),t}},11488:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const r=n(3939),o=n(125),i=n(73859),a={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return s(e,"additionalItems",t);n.items=!0,(0,o.alwaysValidSchema)(n,t)||e.ok((0,i.validateArray)(e))}};function s(e,t,n=e.schema){const{gen:i,parentSchema:a,data:s,keyword:l,it:c}=e;!function(e){const{opts:r,errSchemaPath:i}=c,a=n.length,s=a===e.minItems&&(a===e.maxItems||!1===e[t]);if(r.strictTuples&&!s){const e=`"${l}" is ${a}-tuple, but minItems or maxItems/${t} are not specified or different at path "${i}"`;(0,o.checkStrictMode)(c,e,r.strictTuples)}}(a),c.opts.unevaluated&&n.length&&!0!==c.items&&(c.items=o.mergeEvaluated.items(i,n.length,c.items));const u=i.name("valid"),d=i.const("len",r._`${s}.length`);n.forEach(((t,n)=>{(0,o.alwaysValidSchema)(c,t)||(i.if(r._`${d} > ${n}`,(()=>e.subschema({keyword:l,schemaProp:n,dataProp:n},u))),e.ok(u))}))}t.validateTuple=s,t.default=a},12544:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3939),o=n(125),i=n(73859),a=n(82675),s={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:n,it:r}=e,{prefixItems:s}=n;r.items=!0,(0,o.alwaysValidSchema)(r,t)||(s?(0,a.validateAdditionalItems)(e,s):e.ok((0,i.validateArray)(e)))}};t.default=s},98145:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(125),o={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:o}=e;if((0,r.alwaysValidSchema)(o,n))return void e.fail();const i=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),e.failResult(i,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t.default=o},54425:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3939),o=n(125),i={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>r._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:n,parentSchema:i,it:a}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(a.opts.discriminator&&i.discriminator)return;const s=n,l=t.let("valid",!1),c=t.let("passing",null),u=t.name("_valid");e.setParams({passing:c}),t.block((function(){s.forEach(((n,i)=>{let s;(0,o.alwaysValidSchema)(a,n)?t.var(u,!0):s=e.subschema({keyword:"oneOf",schemaProp:i,compositeRule:!0},u),i>0&&t.if(r._`${u} && ${l}`).assign(l,!1).assign(c,r._`[${c}, ${i}]`).else(),t.if(u,(()=>{t.assign(l,!0),t.assign(c,i),s&&e.mergeEvaluated(s,r.Name)}))}))})),e.result(l,(()=>e.reset()),(()=>e.error(!0)))}};t.default=i},21827:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(73859),o=n(3939),i=n(125),a=n(125),s={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,data:s,parentSchema:l,it:c}=e,{opts:u}=c,d=(0,r.allSchemaProperties)(n),h=d.filter((e=>(0,i.alwaysValidSchema)(c,n[e])));if(0===d.length||h.length===d.length&&(!c.opts.unevaluated||!0===c.props))return;const p=u.strictSchema&&!u.allowMatchingProperties&&l.properties,f=t.name("valid");!0===c.props||c.props instanceof o.Name||(c.props=(0,a.evaluatedPropsToName)(t,c.props));const{props:g}=c;function m(e){for(const t in p)new RegExp(e).test(t)&&(0,i.checkStrictMode)(c,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function y(n){t.forIn("key",s,(i=>{t.if(o._`${(0,r.usePattern)(e,n)}.test(${i})`,(()=>{const r=h.includes(n);r||e.subschema({keyword:"patternProperties",schemaProp:n,dataProp:i,dataPropType:a.Type.Str},f),c.opts.unevaluated&&!0!==g?t.assign(o._`${g}[${i}]`,!0):r||c.allErrors||t.if((0,o.not)(f),(()=>t.break()))}))}))}!function(){for(const e of d)p&&m(e),c.allErrors?y(e):(t.var(f,!0),y(e),t.if(f))}()}};t.default=s},66412:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(11488),o={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,r.validateTuple)(e,"items")};t.default=o},85319:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(59816),o=n(73859),i=n(125),a=n(40174),s={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:s,data:l,it:c}=e;"all"===c.opts.removeAdditional&&void 0===s.additionalProperties&&a.default.code(new r.KeywordCxt(c,a.default,"additionalProperties"));const u=(0,o.allSchemaProperties)(n);for(const e of u)c.definedProperties.add(e);c.opts.unevaluated&&u.length&&!0!==c.props&&(c.props=i.mergeEvaluated.props(t,(0,i.toHash)(u),c.props));const d=u.filter((e=>!(0,i.alwaysValidSchema)(c,n[e])));if(0===d.length)return;const h=t.name("valid");for(const n of d)p(n)?f(n):(t.if((0,o.propertyInData)(t,l,n,c.opts.ownProperties)),f(n),c.allErrors||t.else().var(h,!0),t.endIf()),e.it.definedProperties.add(n),e.ok(h);function p(e){return c.opts.useDefaults&&!c.compositeRule&&void 0!==n[e].default}function f(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},h)}}};t.default=s},11307:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3939),o=n(125),i={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>r._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:n,data:i,it:a}=e;if((0,o.alwaysValidSchema)(a,n))return;const s=t.name("valid");t.forIn("key",i,(n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},s),t.if((0,r.not)(s),(()=>{e.error(!0),a.allErrors||t.break()}))})),e.ok(s)}};t.default=i},86812:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(125),o={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){void 0===t.if&&(0,r.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};t.default=o},73859:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const r=n(3939),o=n(125),i=n(26597),a=n(125);function s(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:r._`Object.prototype.hasOwnProperty`})}function l(e,t,n){return r._`${s(e)}.call(${t}, ${n})`}function c(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} === undefined`;return o?(0,r.or)(i,(0,r.not)(l(e,t,n))):i}function u(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}t.checkReportMissingProp=function(e,t){const{gen:n,data:o,it:i}=e;n.if(c(n,o,t,i.opts.ownProperties),(()=>{e.setParams({missingProperty:r._`${t}`},!0),e.error()}))},t.checkMissingProp=function({gen:e,data:t,it:{opts:n}},o,i){return(0,r.or)(...o.map((o=>(0,r.and)(c(e,t,o,n.ownProperties),r._`${i} = ${o}`))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=s,t.isOwnProperty=l,t.propertyInData=function(e,t,n,o){const i=r._`${t}${(0,r.getProperty)(n)} !== undefined`;return o?r._`${i} && ${l(e,t,n)}`:i},t.noPropertyInData=c,t.allSchemaProperties=u,t.schemaProperties=function(e,t){return u(t).filter((n=>!(0,o.alwaysValidSchema)(e,t[n])))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:n,topSchemaRef:o,schemaPath:a,errorPath:s},it:l},c,u,d){const h=d?r._`${e}, ${t}, ${o}${a}`:t,p=[[i.default.instancePath,(0,r.strConcat)(i.default.instancePath,s)],[i.default.parentData,l.parentData],[i.default.parentDataProperty,l.parentDataProperty],[i.default.rootData,i.default.rootData]];l.opts.dynamicRef&&p.push([i.default.dynamicAnchors,i.default.dynamicAnchors]);const f=r._`${h}, ${n.object(...p)}`;return u!==r.nil?r._`${c}.call(${u}, ${f})`:r._`${c}(${f})`};const d=r._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},n){const o=t.unicodeRegExp?"u":"",{regExp:i}=t.code,s=i(n,o);return e.scopeValue("pattern",{key:s.toString(),ref:s,code:r._`${"new RegExp"===i.code?d:(0,a.useFunc)(e,i)}(${n}, ${o})`})},t.validateArray=function(e){const{gen:t,data:n,keyword:i,it:a}=e,s=t.name("valid");if(a.allErrors){const e=t.let("valid",!0);return l((()=>t.assign(e,!1))),e}return t.var(s,!0),l((()=>t.break())),s;function l(a){const l=t.const("len",r._`${n}.length`);t.forRange("i",0,l,(n=>{e.subschema({keyword:i,dataProp:n,dataPropType:o.Type.Num},s),t.if((0,r.not)(s),a)}))}},t.validateUnion=function(e){const{gen:t,schema:n,keyword:i,it:a}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(n.some((e=>(0,o.alwaysValidSchema)(a,e)))&&!a.opts.unevaluated)return;const s=t.let("valid",!1),l=t.name("_valid");t.block((()=>n.forEach(((n,o)=>{const a=e.subschema({keyword:i,schemaProp:o,compositeRule:!0},l);t.assign(s,r._`${s} || ${l}`);e.mergeValidEvaluated(a,l)||t.if((0,r.not)(s))})))),e.result(s,(()=>e.reset()),(()=>e.error(!0)))}},60273:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=n},62562:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(60273),o=n(94299),i=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",r.default,o.default];t.default=i},94299:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const r=n(53977),o=n(73859),i=n(3939),a=n(26597),s=n(1069),l=n(125),c={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:n,it:o}=e,{baseId:a,schemaEnv:l,validateName:c,opts:h,self:p}=o,{root:f}=l;if(("#"===n||"#/"===n)&&a===f.baseId)return function(){if(l===f)return d(e,c,l,l.$async);const n=t.scopeValue("root",{ref:f});return d(e,i._`${n}.validate`,f,f.$async)}();const g=s.resolveRef.call(p,f,a,n);if(void 0===g)throw new r.default(o.opts.uriResolver,a,n);return g instanceof s.SchemaEnv?function(t){const n=u(e,t);d(e,n,t,t.$async)}(g):function(r){const o=t.scopeValue("schema",!0===h.code.source?{ref:r,code:(0,i.stringify)(r)}:{ref:r}),a=t.name("valid"),s=e.subschema({schema:r,dataTypes:[],schemaPath:i.nil,topSchemaRef:o,errSchemaPath:n},a);e.mergeEvaluated(s),e.ok(a)}(g)}};function u(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):i._`${n.scopeValue("wrapper",{ref:t})}.validate`}function d(e,t,n,r){const{gen:s,it:c}=e,{allErrors:u,schemaEnv:d,opts:h}=c,p=h.passContext?a.default.this:i.nil;function f(e){const t=i._`${e}.errors`;s.assign(a.default.vErrors,i._`${a.default.vErrors} === null ? ${t} : ${a.default.vErrors}.concat(${t})`),s.assign(a.default.errors,i._`${a.default.vErrors}.length`)}function g(e){var t;if(!c.opts.unevaluated)return;const r=null===(t=null==n?void 0:n.validate)||void 0===t?void 0:t.evaluated;if(!0!==c.props)if(r&&!r.dynamicProps)void 0!==r.props&&(c.props=l.mergeEvaluated.props(s,r.props,c.props));else{const t=s.var("props",i._`${e}.evaluated.props`);c.props=l.mergeEvaluated.props(s,t,c.props,i.Name)}if(!0!==c.items)if(r&&!r.dynamicItems)void 0!==r.items&&(c.items=l.mergeEvaluated.items(s,r.items,c.items));else{const t=s.var("items",i._`${e}.evaluated.items`);c.items=l.mergeEvaluated.items(s,t,c.items,i.Name)}}r?function(){if(!d.$async)throw new Error("async schema referenced by sync schema");const n=s.let("valid");s.try((()=>{s.code(i._`await ${(0,o.callValidateCode)(e,t,p)}`),g(t),u||s.assign(n,!0)}),(e=>{s.if(i._`!(${e} instanceof ${c.ValidationError})`,(()=>s.throw(e))),f(e),u||s.assign(n,!1)})),e.ok(n)}():e.result((0,o.callValidateCode)(e,t,p),(()=>g(t)),(()=>f(t)))}t.getValidate=u,t.callRef=d,t.default=c},52759:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3939),o=n(22798),i=n(1069),a=n(53977),s=n(125),l={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===o.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>r._`{error: ${e}, tag: ${n}, tagValue: ${t}}`},code(e){const{gen:t,data:n,schema:l,parentSchema:c,it:u}=e,{oneOf:d}=c;if(!u.opts.discriminator)throw new Error("discriminator: requires discriminator option");const h=l.propertyName;if("string"!=typeof h)throw new Error("discriminator: requires propertyName");if(l.mapping)throw new Error("discriminator: mapping is not supported");if(!d)throw new Error("discriminator: requires oneOf keyword");const p=t.let("valid",!1),f=t.const("tag",r._`${n}${(0,r.getProperty)(h)}`);function g(n){const o=t.name("valid"),i=e.subschema({keyword:"oneOf",schemaProp:n},o);return e.mergeEvaluated(i,r.Name),o}t.if(r._`typeof ${f} == "string"`,(()=>function(){const n=function(){var e;const t={},n=o(c);let r=!0;for(let t=0;te.error(!1,{discrError:o.DiscrError.Tag,tag:f,tagName:h}))),e.ok(p)}};t.default=l},22798:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,function(e){e.Tag="tag",e.Mapping="mapping"}(n||(t.DiscrError=n={}))},83194:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(62562),o=n(24758),i=n(58436),a=n(63742),s=n(66823),l=[r.default,o.default,(0,i.default)(),a.default,s.metadataVocabulary,s.contentVocabulary];t.default=l},42175:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3939),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>r.str`must match format "${e}"`,params:({schemaCode:e})=>r._`{format: ${e}}`},code(e,t){const{gen:n,data:o,$data:i,schema:a,schemaCode:s,it:l}=e,{opts:c,errSchemaPath:u,schemaEnv:d,self:h}=l;c.validateFormats&&(i?function(){const i=n.scopeValue("formats",{ref:h.formats,code:c.code.formats}),a=n.const("fDef",r._`${i}[${s}]`),l=n.let("fType"),u=n.let("format");n.if(r._`typeof ${a} == "object" && !(${a} instanceof RegExp)`,(()=>n.assign(l,r._`${a}.type || "string"`).assign(u,r._`${a}.validate`)),(()=>n.assign(l,r._`"string"`).assign(u,a))),e.fail$data((0,r.or)(!1===c.strictSchema?r.nil:r._`${s} && !${u}`,function(){const e=d.$async?r._`(${a}.async ? await ${u}(${o}) : ${u}(${o}))`:r._`${u}(${o})`,n=r._`(typeof ${u} == "function" ? ${e} : ${u}.test(${o}))`;return r._`${u} && ${u} !== true && ${l} === ${t} && !${n}`}()))}():function(){const i=h.formats[a];if(!i)return void function(){if(!1===c.strictSchema)return void h.logger.warn(e());throw new Error(e());function e(){return`unknown format "${a}" ignored in schema at path "${u}"`}}();if(!0===i)return;const[s,l,p]=function(e){const t=e instanceof RegExp?(0,r.regexpCode)(e):c.code.formats?r._`${c.code.formats}${(0,r.getProperty)(a)}`:void 0,o=n.scopeValue("formats",{key:a,ref:e,code:t});if("object"==typeof e&&!(e instanceof RegExp))return[e.type||"string",e.validate,r._`${o}.validate`];return["string",e,o]}(i);s===t&&e.pass(function(){if("object"==typeof i&&!(i instanceof RegExp)&&i.async){if(!d.$async)throw new Error("async format in sync schema");return r._`await ${p}(${o})`}return"function"==typeof l?r._`${p}(${o})`:r._`${p}.test(${o})`}())}())}};t.default=o},63742:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=[n(42175).default];t.default=r},66823:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},47565:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3939),o=n(125),i=n(33440),a={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>r._`{allowedValue: ${e}}`},code(e){const{gen:t,data:n,$data:a,schemaCode:s,schema:l}=e;a||l&&"object"==typeof l?e.fail$data(r._`!${(0,o.useFunc)(t,i.default)}(${n}, ${s})`):e.fail(r._`${l} !== ${n}`)}};t.default=a},29921:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3939),o=n(125),i=n(33440),a={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>r._`{allowedValues: ${e}}`},code(e){const{gen:t,data:n,$data:a,schema:s,schemaCode:l,it:c}=e;if(!a&&0===s.length)throw new Error("enum must have non-empty array");const u=s.length>=c.opts.loopEnum;let d;const h=()=>null!=d?d:d=(0,o.useFunc)(t,i.default);let p;if(u||a)p=t.let("valid"),e.block$data(p,(function(){t.assign(p,!1),t.forOf("v",l,(e=>t.if(r._`${h()}(${n}, ${e})`,(()=>t.assign(p,!0).break()))))}));else{if(!Array.isArray(s))throw new Error("ajv implementation error");const e=t.const("vSchema",l);p=(0,r.or)(...s.map(((t,o)=>function(e,t){const o=s[t];return"object"==typeof o&&null!==o?r._`${h()}(${n}, ${e}[${t}])`:r._`${n} === ${o}`}(e,o))))}e.pass(p)}};t.default=a},24758:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(21012),o=n(32329),i=n(96289),a=n(66596),s=n(87668),l=n(86077),c=n(95697),u=n(54063),d=n(47565),h=n(29921),p=[r.default,o.default,i.default,a.default,s.default,l.default,c.default,u.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,h.default];t.default=p},95697:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3939),o={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxItems"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxItems"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`${n}.length ${i} ${o}`)}};t.default=o},96289:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3939),o=n(125),i=n(65483),a={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxLength"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} characters`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:a,it:s}=e,l="maxLength"===t?r.operators.GT:r.operators.LT,c=!1===s.opts.unicode?r._`${n}.length`:r._`${(0,o.useFunc)(e.gen,i.default)}(${n})`;e.fail$data(r._`${c} ${l} ${a}`)}};t.default=a},21012:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3939),o=r.operators,i={maximum:{okStr:"<=",ok:o.LTE,fail:o.GT},minimum:{okStr:">=",ok:o.GTE,fail:o.LT},exclusiveMaximum:{okStr:"<",ok:o.LT,fail:o.GTE},exclusiveMinimum:{okStr:">",ok:o.GT,fail:o.LTE}},a={message:({keyword:e,schemaCode:t})=>r.str`must be ${i[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>r._`{comparison: ${i[e].okStr}, limit: ${t}}`},s={keyword:Object.keys(i),type:"number",schemaType:"number",$data:!0,error:a,code(e){const{keyword:t,data:n,schemaCode:o}=e;e.fail$data(r._`${n} ${i[t].fail} ${o} || isNaN(${n})`)}};t.default=s},87668:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3939),o={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxProperties"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} properties`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,i="maxProperties"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`Object.keys(${n}).length ${i} ${o}`)}};t.default=o},32329:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3939),o={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>r.str`must be multiple of ${e}`,params:({schemaCode:e})=>r._`{multipleOf: ${e}}`},code(e){const{gen:t,data:n,schemaCode:o,it:i}=e,a=i.opts.multipleOfPrecision,s=t.let("res"),l=a?r._`Math.abs(Math.round(${s}) - ${s}) > 1e-${a}`:r._`${s} !== parseInt(${s})`;e.fail$data(r._`(${o} === 0 || (${s} = ${n}/${o}, ${l}))`)}};t.default=o},66596:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(73859),o=n(3939),i={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>o.str`must match pattern "${e}"`,params:({schemaCode:e})=>o._`{pattern: ${e}}`},code(e){const{data:t,$data:n,schema:i,schemaCode:a,it:s}=e,l=s.opts.unicodeRegExp?"u":"",c=n?o._`(new RegExp(${a}, ${l}))`:(0,r.usePattern)(e,i);e.fail$data(o._`!${c}.test(${t})`)}};t.default=i},86077:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(73859),o=n(3939),i=n(125),a={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>o.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>o._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:n,schemaCode:a,data:s,$data:l,it:c}=e,{opts:u}=c;if(!l&&0===n.length)return;const d=n.length>=u.loopRequired;if(c.allErrors?function(){if(d||l)e.block$data(o.nil,h);else for(const t of n)(0,r.checkReportMissingProp)(e,t)}():function(){const i=t.let("missing");if(d||l){const n=t.let("valid",!0);e.block$data(n,(()=>function(n,i){e.setParams({missingProperty:n}),t.forOf(n,a,(()=>{t.assign(i,(0,r.propertyInData)(t,s,n,u.ownProperties)),t.if((0,o.not)(i),(()=>{e.error(),t.break()}))}),o.nil)}(i,n))),e.ok(n)}else t.if((0,r.checkMissingProp)(e,n,i)),(0,r.reportMissingProp)(e,i),t.else()}(),u.strictRequired){const t=e.parentSchema.properties,{definedProperties:r}=e.it;for(const e of n)if(void 0===(null==t?void 0:t[e])&&!r.has(e)){const t=`required property "${e}" is not defined at "${c.schemaEnv.baseId+c.errSchemaPath}" (strictRequired)`;(0,i.checkStrictMode)(c,t,c.opts.strictRequired)}}function h(){t.forOf("prop",a,(n=>{e.setParams({missingProperty:n}),t.if((0,r.noPropertyInData)(t,s,n,u.ownProperties),(()=>e.error()))}))}}};t.default=a},54063:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(26550),o=n(3939),i=n(125),a=n(33440),s={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>o.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>o._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:n,$data:s,schema:l,parentSchema:c,schemaCode:u,it:d}=e;if(!s&&!l)return;const h=t.let("valid"),p=c.items?(0,r.getSchemaTypes)(c.items):[];function f(i,a){const s=t.name("item"),l=(0,r.checkDataTypes)(p,s,d.opts.strictNumbers,r.DataType.Wrong),c=t.const("indices",o._`{}`);t.for(o._`;${i}--;`,(()=>{t.let(s,o._`${n}[${i}]`),t.if(l,o._`continue`),p.length>1&&t.if(o._`typeof ${s} == "string"`,o._`${s} += "_"`),t.if(o._`typeof ${c}[${s}] == "number"`,(()=>{t.assign(a,o._`${c}[${s}]`),e.error(),t.assign(h,!1).break()})).code(o._`${c}[${s}] = ${i}`)}))}function g(r,s){const l=(0,i.useFunc)(t,a.default),c=t.name("outer");t.label(c).for(o._`;${r}--;`,(()=>t.for(o._`${s} = ${r}; ${s}--;`,(()=>t.if(o._`${l}(${n}[${r}], ${n}[${s}])`,(()=>{e.error(),t.assign(h,!1).break(c)}))))))}e.block$data(h,(function(){const r=t.let("i",o._`${n}.length`),i=t.let("j");e.setParams({i:r,j:i}),t.assign(h,!0),t.if(o._`${r} > 1`,(()=>(p.length>0&&!p.some((e=>"object"===e||"array"===e))?f:g)(r,i)))}),o._`${u} === false`),e.ok(h)}};t.default=s},79378:(e,t,n)=>{"use strict";n.d(t,{FU:()=>S,JE:()=>i,JF:()=>o,NA:()=>x,NF:()=>E,Nt:()=>w,OD:()=>m,Su:()=>c,VN:()=>A,Zr:()=>l,fW:()=>s,if:()=>f,ir:()=>d,mq:()=>b,nC:()=>v,ns:()=>h,oR:()=>a,qf:()=>p,t7:()=>C,wJ:()=>y,y5:()=>u});var r=n(28514),o="geoCore",i={VECTOR:"vector",VECTOR_TILE:"vector-tile",RASTER_TILE:"raster-tile",RASTER_IMAGE:"raster-image",GROUP:"group"},a={CSV:"CSV",ESRI_DYNAMIC:"esriDynamic",ESRI_FEATURE:"esriFeature",ESRI_IMAGE:"esriImage",IMAGE_STATIC:"imageStatic",GEOJSON:"GeoJSON",GEOPACKAGE:"GeoPackage",XYZ_TILES:"xyzTiles",VECTOR_TILES:"vectorTiles",OGC_FEATURE:"ogcFeature",WFS:"ogcWfs",WMS:"ogcWms"},s={CSV:"https://cgpv/schema#/definitions/VectorLayerEntryConfig",ESRI_DYNAMIC:"https://cgpv/schema#/definitions/EsriDynamicLayerEntryConfig",ESRI_FEATURE:"https://cgpv/schema#/definitions/EsriFeatureLayerEntryConfig",ESRI_IMAGE:"https://cgpv/schema#/definitions/EsriImageLayerEntryConfig",IMAGE_STATIC:"https://cgpv/schema#/definitions/ImageStaticLayerEntryConfig",GEOJSON:"https://cgpv/schema#/definitions/VectorLayerEntryConfig",GEOPACKAGE:"https://cgpv/schema#/definitions/VectorLayerEntryConfig",XYZ_TILES:"https://cgpv/schema#/definitions/TileLayerEntryConfig",VECTOR_TILES:"Thttps://cgpv/schema#/definitions/TileLayerEntryConfig",OGC_FEATURE:"https://cgpv/schema#/definitions/VectorLayerEntryConfig",WFS:"https://cgpv/schema#/definitions/VectorLayerEntryConfig",WMS:"https://cgpv/schema#/definitions/OgcWmsLayerEntryConfig"},l={CSV:"",ESRI_DYNAMIC:"https://cgpv/schema#/definitions/EsriDynamicLayerConfig",ESRI_FEATURE:"https://cgpv/schema#/definitions/EsriFeatureLayerConfig",ESRI_IMAGE:"",IMAGE_STATIC:"",GEOJSON:"",GEOPACKAGE:"",XYZ_TILES:"",VECTOR_TILES:"",OGC_FEATURE:"",WFS:"",WMS:""},c="https://cgpv/schema#/definitions/MapFeatureConfig",u="https://cgpv/schema#/definitions/TypeLayerGroupEntryConfig",d=["1.0"],h=["en","fr"],p=["dark","light","geo.ca"],f=[3978,3857],g=["transport","osm","simple","nogeom","shaded"],m={3857:g,3978:g},y={3857:[!0,!1],3978:[!0,!1]},v={3857:[!0,!1],3978:[!0,!1]},b={3857:{lat:[-90,90],long:[-180,180]},3978:{lat:[40,90],long:[-140,40]}},w={3857:[-170,35,-20,84],3978:[-135,25,-50,89]},A={3857:[-90,55],3978:[-90,60]},x=(0,r.K)({map:{basemapOptions:{basemapId:"transport",shaded:!0,labeled:!0},interaction:"dynamic",listOfGeoviewLayerConfig:[],highlightColor:"black",viewSettings:{initialView:{zoomAndCenter:[3.5,A[3978]]},enableRotation:!0,rotation:0,minZoom:0,maxZoom:50,maxExtent:w[3978],projection:3978},extraOptions:{}},theme:"geo.ca",navBar:["zoom","fullscreen","home"],footerBar:{tabs:{core:["legend","layers","details","data-table"],custom:[]},collapsed:!1},components:["north-arrow","overview-map"],appBar:{tabs:{core:["geolocator"]}},corePackages:[],overviewMap:{hideOnZoom:0},externalPackages:[],serviceUrls:{geocoreUrl:"https://geocore.api.geo.ca",geolocator:"https://geolocator.api.geo.ca?keys=geonames,nominatim,locate",proxyUrl:"https://maps.canada.ca/wmsproxy/ws/wmsproxy/executeFromProxy"},schemaVersionUsed:"1.0"}),S={controls:{highlight:!0,hover:!0,opacity:!0,query:!1,remove:!0,table:!0,visibility:!0,zoom:!0},states:{visible:!0,opacity:1,hoverable:!0,queryable:!1}},C=["geolocator","legend","layers","details","data-table","guide"],E={GEOLOCATOR:"geolocator",EXPORT:"export",GUIDE:"guide",DETAILS:"details",LEGEND:"legend",DATA_TABLE:"data-table",LAYERS:"layers"}},28514:(e,t,n)=>{"use strict";n.d(t,{K:()=>o,N:()=>i});var r=n(74887);function o(e){return e}function i(e){if(!(e instanceof Object)||e instanceof Array)throw new Error("Can't convert parameter to TypeJsonObject! typeof = ".concat((0,r.A)(e)));return e}},64808:(e,t,n)=>{"use strict";n.d(t,{F:()=>g});var r=n(80180),o=n(32031),i=n(59682),a=n(41108),s=n(64417),l=n.n(s),c=n(5120),u=n(66700),d=n(42982);function h(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function p(e,t){return e.get(function(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}(e,t))}var f=new WeakMap,g=function(){return(0,a.A)((function e(){(0,i.A)(this,e),h(this,f,[])}),[{key:"initialize",value:function(e){var t,n=this.onInitialize(e);n&&(t=p(f,this)).push.apply(t,(0,o.A)(n))}},{key:"onInitialize",value:function(e){}},{key:"destroy",value:function(){this.onDestroy()}},{key:"onDestroy",value:function(){p(f,this).forEach((function(e){return e()}))}}],[{key:"getState",value:function(e){return(0,c.Ic)(e).getState()}},{key:"getStateAsync",value:(t=(0,r.A)(l().mark((function e(t){var n;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.gU)(t);case 2:return n=e.sent,e.abrupt("return",n.getState());case 4:case"end":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})},{key:"helperPropagateArrayStoreBatch",value:(e=(0,r.A)(l().mark((function e(t,n,r,o,i,a,s,c){var h,p,f;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u.vF.logTraceDetailed("propagateArrayStoreBatch",t,a),r[t]||(r[t]=[]),r[t].push(n),s&&(h=n.find((function(e){return e.layerPath===s}))),p=!1,h&&("processed"!==h.queryStatus&&"error"!==h.queryStatus||(p=!0,null==c||c(""))),p){e.next=9;break}return e.next=9,(0,d.delay)(o);case 9:r[t].length&&(f=r[t][r[t].length-1],i(f),r[t]=[]);case 10:case"end":return e.stop()}}),e)}))),function(t,n,r,o,i,a,s,l){return e.apply(this,arguments)})}]);var e,t}()},80309:(e,t,n)=>{"use strict";n.d(t,{K:()=>b});var r=n(80180),o=n(59682),i=n(41108),a=n(95947),s=n(71104),l=n(89153),c=n(79778),u=n(64417),d=n.n(u),h=n(64808),p=n(42982),f=n(94652),g=n(12923),m=n(66700);function y(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,v()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(v=function(){return!!e})()}var b=function(e){function t(){return(0,o.A)(this,t),y(this,t,arguments)}return(0,c.A)(t,e),(0,i.A)(t,null,[{key:"getAppState",value:function(e){return(0,s.A)((0,l.A)(t),"getState",this).call(this,e).appState}},{key:"getAppStateAsync",value:(u=(0,r.A)(d().mark((function e(n){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.A)((0,l.A)(t),"getStateAsync",this).call(this,n);case 2:return e.abrupt("return",e.sent.appState);case 3:case"end":return e.stop()}}),e,this)}))),function(e){return u.apply(this,arguments)})},{key:"getDisplayLanguage",value:function(e){return this.getAppState(e).displayLanguage}},{key:"getDisplayTheme",value:function(e){return this.getAppState(e).displayTheme}},{key:"addNotification",value:(a=(0,r.A)(d().mark((function e(t,n){var r,o,i;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getAppStateAsync(t);case 2:r=e.sent,o=r.notifications,(i=o.find((function(e){return e.message===n.message&&e.notificationType===n.notificationType})))?i.count+=1:o.push({key:n.key,notificationType:n.notificationType,message:n.message,count:1}),this.getAppState(t).setterActions.setNotifications(o);case 7:case"end":return e.stop()}}),e,this)}))),function(e,t){return a.apply(this,arguments)})},{key:"removeNotification",value:function(e,t){var n=this.getAppState(e).notifications.filter((function(e){return e.key!==t}));this.getAppState(e).setterActions.setNotifications(n)}},{key:"removeAllNotifications",value:function(e){this.getAppState(e).setterActions.setNotifications([])}},{key:"setAppIsCrosshairActive",value:function(e,t){this.getAppState(e).setterActions.setCrosshairActive(t)}},{key:"setDisplayLanguage",value:function(e,n){this.getAppState(e).setterActions.setDisplayLanguage(n);var r=g.d.resetBasemap(e),o=t.setGuide(e);return Promise.all([r,o])}},{key:"setDisplayTheme",value:function(e,t){this.getAppState(e).setterActions.setDisplayTheme(t)}},{key:"setFullscreen",value:function(e,t,n){this.getAppState(e).setterActions.setFullScreenActive(t),void 0!==n&&f.F.setFullscreen(t,n)}},{key:"setCircularProgress",value:function(e,t){this.getAppState(e).setterActions.setCircularProgress(t)}},{key:"setGuide",value:(n=(0,r.A)(d().mark((function e(n){var r,o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m.vF.logMarkerStart("map-guide"),r=t.getDisplayLanguage(n),e.next=4,(0,p.createGuideObject)(n,r,this.getAppState(n).geoviewAssetsURL);case 4:void 0!==(o=e.sent)&&this.getAppState(n).setterActions.setGuide(o),m.vF.logMarkerCheck("map-guide","for guide to be loaded");case 7:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})}]);var n,a,u}(h.F)},46397:(e,t,n)=>{"use strict";n.d(t,{F:()=>g});var r=n(32031),o=n(59682),i=n(41108),a=n(95947),s=n(71104),l=n(89153),c=n(79778),u=n(64808),d=n(66700),h=n(12923);function p(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,f()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}var g=function(e){function t(){return(0,o.A)(this,t),p(this,t,arguments)}return(0,c.A)(t,e),(0,i.A)(t,null,[{key:"getDataTableState",value:function(e){return(0,s.A)((0,l.A)(t),"getState",this).call(this,e).dataTableState}},{key:"applyFilters",value:function(e,t,n,r){var o=h.d.getMapViewerLayerAPI(e).getGeoviewLayerHybrid(t),i=null==o?void 0:o.getLayerConfig(t);r&&void 0!==i&&n.length?null==o||o.applyViewFilter(t,n):null==o||o.applyViewFilter(t,"")}},{key:"setInitialSettings",value:function(e,t){this.getDataTableState(e).setterActions.setInitiallayerDataTableSetting(t)}},{key:"triggerGetAllFeatureInfo",value:function(e,t){return h.d.getMapViewerLayerAPI(e).allFeatureInfoLayerSet.queryLayer(t,"all")}},{key:"propagateFeatureInfoToStore",value:function(e,t){var n=(0,r.A)(this.getDataTableState(e).allFeaturesDataArray);n.find((function(e){return e.layerPath===t.layerPath}))||n.push(t),this.getDataTableState(e).setterActions.setAllFeaturesDataArray(n)}},{key:"deleteFeatureAllInfo",value:function(e,n){var r=this;(function(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")})(t,this,m).call(this,this.getDataTableState(e).allFeaturesDataArray,n,(function(t){r.getDataTableState(e).setterActions.setAllFeaturesDataArray(t),d.vF.logInfo("Removed Data Table Info in stores for layer path:",n)}))}}])}(u.F);function m(e,t,n){var r=e.findIndex((function(e){return e.layerPath===t}));r>=0&&(e.splice(r,1),n(e))}},36149:(e,t,n)=>{"use strict";n.d(t,{h:()=>y});var r,o=n(32031),i=n(59682),a=n(41108),s=n(95947),l=n(71104),c=n(89153),u=n(79778),d=n(66700),h=n(64808),p=n(2198);function f(e,t,n){return t=(0,c.A)(t),(0,s.A)(e,g()?Reflect.construct(t,n||[],(0,c.A)(e).constructor):t.apply(e,n))}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g=function(){return!!e})()}function m(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var y=function(e){function t(){return(0,i.A)(this,t),f(this,t,arguments)}return(0,u.A)(t,e),(0,a.A)(t,[{key:"onInitialize",value:function(e){return[e.subscribe((function(e){return e.detailsState.layerDataArray}),(function(n){d.vF.logTraceCoreStoreSubscription("FEATURE-INFO EVENT PROCESSOR - layerDataArray",n),b.call(t,e.getState().mapId,n).catch((function(e){d.vF.logPromiseFailed("propagateFeatureInfoToStoreBatch in layerDataArrayUpdateBatch subscribe in feature-info-event-processor",e)}))}))]}}],[{key:"getFeatureInfoState",value:function(e){return(0,l.A)((0,c.A)(t),"getState",this).call(this,e).detailsState}},{key:"deleteFeatureInfo",value:function(e,n){var r=this.getFeatureInfoState(e);m(t,this,v).call(this,r.layerDataArray,n,(function(e){r.setterActions.setLayerDataArray(e),d.vF.logInfo("Removed Feature Info in stores for layer path:",n)}))}},{key:"propagateFeatureInfoToStore",value:function(e,t,n){var r=this.getFeatureInfoState(e),i=(0,o.A)(r.layerDataArray);if(i.find((function(e){return e.layerPath===n.layerPath}))||i.push(n),"click"===t){var a=i.find((function(e){var t;return!(null===(t=e.features)||void 0===t||!t.length)}))||!1;r.setterActions.setLayerDataArray(i),a&&(["details","geochart"].includes(p.d.getActiveFooterBarTab(e))||p.d.setActiveFooterBarTab(e,"details"),p.d.getAppBarComponents(e).includes("details")&&p.d.setActiveAppBarTab(e,"AppbarPanelButtonDetails","details",!0))}else"name"===t&&r.setterActions.setLayerDataArray(i);return Promise.resolve()}}])}(h.F);function v(e,t,n){var r=e.findIndex((function(e){return e.layerPath===t}));r>=0&&(e.splice(r,1),n(e))}function b(e,t){var n=this.getFeatureInfoState(e);return this.helperPropagateArrayStoreBatch(e,t,m(r,this,w)._,m(r,this,A)._,n.setterActions.setLayerDataArrayBatch,"feature-info-processor",n.layerDataArrayBatchLayerPathBypass,n.setterActions.setLayerDataArrayBatchLayerPathBypass)}r=y;var w={_:{}},A={_:1e3}},59387:(e,t,n)=>{"use strict";n.d(t,{U:()=>y});var r,o=n(74780),i=n(59682),a=n(41108),s=n(95947),l=n(71104),c=n(89153),u=n(79778),d=n(66700);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{"use strict";n.d(t,{K:()=>A});var r,o=n(1839),i=n(59682),a=n(41108),s=n(95947),l=n(71104),c=n(89153),u=n(79778),d=n(37450),h=n(97905),p=n(42982),f=n(64808),g=n(55231),m=n(80309),y=n(12923);function v(e,t,n){return t=(0,c.A)(t),(0,s.A)(e,b()?Reflect.construct(t,n||[],(0,c.A)(e).constructor):t.apply(e,n))}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(b=function(){return!!e})()}function w(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var A=function(e){function t(){return(0,i.A)(this,t),v(this,t,arguments)}return(0,u.A)(t,e),(0,a.A)(t,null,[{key:"getLayerState",value:function(e){return(0,l.A)((0,c.A)(t),"getState",this).call(this,e).layerState}},{key:"setSelectedLayersTabLayer",value:function(e,t){this.getLayerState(e).setterActions.setSelectedLayerPath(t)}},{key:"getLayerPanelState",value:function(e,t){return this.getLayerState(e)[t]}},{key:"getLegendLayerInfo",value:function(e,n){var r=t.getLayerState(e).legendLayers;return this.findLayerByPath(r,n)}},{key:"getLayerBounds",value:function(e,n){var r=t.getLayerState(e).legendLayers,o=this.findLayerByPath(r,n);if(o&&o.bounds)return o.bounds}},{key:"getLayerIconImage",value:function(e){var t=[];if(e){if((0,d.XY)(e)||(0,d.Bq)(e)){var n={iconType:"simple"};e.legend?n.iconImage=e.legend.toDataURL():e.styles&&e.styles[0].legend?n.iconImage=e.styles[0].legend.toDataURL():n.iconImage="no data",t.push(n)}else null===e.legend||0===Object.keys(e.legend).length?t[0]={iconImage:"no data"}:(0,d.FB)(e)&&Object.entries(e.legend).forEach((function(n){var r=(0,o.A)(n,2),i=r[0],a=r[1],s=i,l=e.styleConfig[s],c={};if(c.geometryType=s,(0,g.s0)(l)){c.iconType="simple",c.iconImage=a.defaultCanvas.toDataURL(),c.name=l.label;var u={geometryType:s,icon:c.iconImage,name:c.name,isVisible:!0};c.iconList=[u],t.push(c)}else{var d;if(c.iconType="list",(0,g.$h)(l)){if(c.iconList=a.arrayOfCanvas.map((function(e,t){return{geometryType:s,icon:e?e.toDataURL():null,name:l.classBreakStyleInfo[t].label,isVisible:l.classBreakStyleInfo[t].visible}})),a.defaultCanvas){var h={geometryType:s,icon:a.defaultCanvas.toDataURL(),name:l.defaultLabel,isVisible:l.defaultVisible};c.iconList.push(h)}}else if((0,g.IG)(l)&&(c.iconList=a.arrayOfCanvas.map((function(e,t){return{geometryType:s,icon:e?e.toDataURL():null,name:l.uniqueValueStyleInfo[t].label,isVisible:!1!==l.uniqueValueStyleInfo[t].visible}})),a.defaultCanvas)){var p={geometryType:s,icon:a.defaultCanvas.toDataURL(),name:l.defaultLabel,isVisible:l.defaultVisible};c.iconList.push(p)}null!==(d=c.iconList)&&void 0!==d&&d.length&&(c.iconImage=c.iconList[0].icon),c.iconList&&c.iconList.length>1&&(c.iconImageStacked=c.iconList[1].icon),t.push(c)}}));return t}}},{key:"propagateLegendToStore",value:function(e,n){var r=n.layerPath.split("/"),o=function(e){var t,n,r,o,i,a,s,l,c,u,d,h,p,f,g,m;return{highlight:void 0===(null===(t=e.initialSettings)||void 0===t||null===(t=t.controls)||void 0===t?void 0:t.highlight)||(null===(n=e.initialSettings)||void 0===n||null===(n=n.controls)||void 0===n?void 0:n.highlight),hover:void 0===(null===(r=e.initialSettings)||void 0===r||null===(r=r.controls)||void 0===r?void 0:r.hover)||(null===(o=e.initialSettings)||void 0===o||null===(o=o.controls)||void 0===o?void 0:o.hover),opacity:void 0===(null===(i=e.initialSettings)||void 0===i||null===(i=i.controls)||void 0===i?void 0:i.opacity)||(null===(a=e.initialSettings)||void 0===a||null===(a=a.controls)||void 0===a?void 0:a.opacity),query:void 0===(null===(s=e.initialSettings)||void 0===s||null===(s=s.controls)||void 0===s?void 0:s.query)||(null===(l=e.initialSettings)||void 0===l||null===(l=l.controls)||void 0===l?void 0:l.query),remove:void 0===(null===(c=e.initialSettings)||void 0===c||null===(c=c.controls)||void 0===c?void 0:c.remove)||(null===(u=e.initialSettings)||void 0===u||null===(u=u.controls)||void 0===u?void 0:u.remove),table:void 0===(null===(d=e.initialSettings)||void 0===d||null===(d=d.controls)||void 0===d?void 0:d.table)||(null===(h=e.initialSettings)||void 0===h||null===(h=h.controls)||void 0===h?void 0:h.table),visibility:void 0===(null===(p=e.initialSettings)||void 0===p||null===(p=p.controls)||void 0===p?void 0:p.visibility)||(null===(f=e.initialSettings)||void 0===f||null===(f=f.controls)||void 0===f?void 0:f.visibility),zoom:void 0===(null===(g=e.initialSettings)||void 0===g||null===(g=g.controls)||void 0===g?void 0:g.zoom)||(null===(m=e.initialSettings)||void 0===m||null===(m=m.controls)||void 0===m?void 0:m.zoom)}},i=this.getLayerState(e).legendLayers;!function i(a,s){if(!(r.length0){var i=t.findLayerByPath(e.children,n);i&&(r=i)}})),r}},{key:"deleteLayerFromLegendLayers",value:function(e,n){var r=this.getLayerState(e).legendLayers;x.call(t,e,r,n)}},{key:"deleteLayer",value:function(e,t){y.d.getMapViewerLayerAPI(e).removeLayerUsingPath(t)}},{key:"refreshLayer",value:function(e,n){var r,o,i=this,a=y.d.getMapViewerLayerAPI(e).getOLLayer(n);a&&y.d.getMapViewerLayerAPI(e).refreshBaseLayer(a);var s=y.d.getMapViewerLayerAPI(e).getLayerEntryConfig(n);s&&(0,g.KD)(s)&&s.listOfLayerEntryConfig.forEach((function(t){return i.refreshLayer(e,t.layerPath)}));var l=(null==s||null===(r=s.initialSettings.states)||void 0===r?void 0:r.opacity)||1,c=(null==s||null===(o=s.initialSettings.states)||void 0===o?void 0:o.visible)||!0;t.setLayerOpacity(e,n,l),y.d.setOrToggleMapLayerVisibility(e,n,c),c&&t.setAllItemsVisibility(e,n,c)}},{key:"setItemVisibility",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.getLayerState(e).legendLayers;t.isVisible=n,this.getLayerState(e).setterActions.setLegendLayers(r)}},{key:"toggleItemVisibility",value:function(e,t,n){y.d.getMapViewerLayerAPI(e).setItemVisibility(t,n,!n.isVisible)}},{key:"setAllItemsVisibility",value:function(e,t,n){y.d.setOrToggleMapLayerVisibility(e,t,!0);var r=this.getLayerState(e).legendLayers,o=this.findLayerByPath(r,t);o&&o.items.forEach((function(r){y.d.getMapViewerLayerAPI(e).setItemVisibility(t,r,n,!1),r.isVisible=n})),this.getLayerState(e).setterActions.setLegendLayers(r)}},{key:"setLayerOpacity",value:function(e,n,r){var o=this.getLayerState(e).legendLayers;w(t,this,S).call(this,e,o,n,r),this.getLayerState(e).setterActions.setLegendLayers(o)}}])}(f.F);function x(e,t,n){var o=t.findIndex((function(e){return e.layerPath===n}));o>=0?t.splice(o,1):t.forEach((function(t){t.children&&t.children.length>0&&x.call(r,e,t.children,n)}))}function S(e,t,n,o){var i,a=this,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4],l=r.findLayerByPath(t,n);l&&(l.opacity=o,null===(i=y.d.getMapViewerLayerAPI(e).getGeoviewLayerHybrid(n))||void 0===i||i.setOpacity(o,n),s&&(l.opacityFromParent=o),l.children&&l.children.length>0&&l.children.forEach((function(n){w(r,a,S).call(a,e,t,n.layerPath,o,!0)})))}r=A},12923:(e,t,n)=>{"use strict";n.d(t,{d:()=>z});var r=n(1839),o=n(80180),i=n(32031),a=n(59682),s=n(41108),l=n(95947),c=n(89153),u=n(79778),d=n(74780),h=n(64417),p=n.n(h),f=n(55731),g=n(99423),m=n(34336);const y="units",v=[1,2,5],b=25.4/.28;class w extends f.A{constructor(e){e=e||{};const t=document.createElement("div");t.style.pointerEvents="none",super({element:t,render:e.render,target:e.target}),this.on,this.once,this.un;const n=void 0!==e.className?e.className:e.bar?"ol-scale-bar":"ol-scale-line";this.innerElement_=document.createElement("div"),this.innerElement_.className=n+"-inner",this.element.className=n+" "+g.XI,this.element.appendChild(this.innerElement_),this.viewState_=null,this.minWidth_=void 0!==e.minWidth?e.minWidth:64,this.maxWidth_=e.maxWidth,this.renderedVisible_=!1,this.renderedWidth_=void 0,this.renderedHTML_="",this.addChangeListener(y,this.handleUnitsChanged_),this.setUnits(e.units||"metric"),this.scaleBar_=e.bar||!1,this.scaleBarSteps_=e.steps||4,this.scaleBarText_=e.text||!1,this.dpi_=e.dpi||void 0}getUnits(){return this.get(y)}handleUnitsChanged_(){this.updateElement_()}setUnits(e){this.set(y,e)}setDpi(e){this.dpi_=e}updateElement_(){const e=this.viewState_;if(!e)return void(this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1));const t=e.center,n=e.projection,r=this.getUnits(),o="degrees"==r?"degrees":"m";let i=(0,m.hO)(n,e.resolution,t,o);const a=this.minWidth_*(this.dpi_||b)/b,s=void 0!==this.maxWidth_?this.maxWidth_*(this.dpi_||b)/b:void 0;let l=a*i,c="";if("degrees"==r){const e=m.Ig.degrees;l*=e,l=s){u=p,d=f,h=g;break}if(d>=a)break;p=u,f=d,g=h,++y}const w=this.scaleBar_?this.createScaleBar(d,u,c):u.toFixed(h<0?-h:0)+" "+c;this.renderedHTML_!=w&&(this.innerElement_.innerHTML=w,this.renderedHTML_=w),this.renderedWidth_!=d&&(this.innerElement_.style.width=d+"px",this.renderedWidth_=d),this.renderedVisible_||(this.element.style.display="",this.renderedVisible_=!0)}createScaleBar(e,t,n){const r=this.getScaleForResolution(),o=r<1?Math.round(1/r).toLocaleString()+" : 1":"1 : "+Math.round(r).toLocaleString(),i=this.scaleBarSteps_,a=e/i,s=[this.createMarker("absolute")];for(let r=0;r
`+this.createMarker("relative")+(r%2==0||2===i?this.createStepText(r,e,!1,t,n):"")+"

")}s.push(this.createStepText(i,e,!0,t,n));return(this.scaleBarText_?`
`+o+"
":"")+s.join("")}createMarker(e){return`
`}createStepText(e,t,n,r,o){const i=(0===e?0:Math.round(r/this.scaleBarSteps_*e*100)/100)+(0===e?"":" "+o);return`
`+i+"
"}getScaleForResolution(){return(0,m.hO)(this.viewState_.projection,this.viewState_.resolution,this.viewState_.center,"m")*(1e3/25.4)*(this.dpi_||b)}render(e){const t=e.frameState;this.viewState_=t?t.viewState:null,this.updateElement_()}}const A=w;var x,S=n(8584),C=n(11989),E=n(79378),k=n(10599),T=n(99002),_=n(37450),O=n(91384),P=n(5120),I=n(81556),M=n(66700),L=n(42982),R=n(80309),j=n(64808),F=n(57029);function D(e,t,n){return t=(0,c.A)(t),(0,l.A)(e,N()?Reflect.construct(t,n||[],(0,c.A)(e).constructor):t.apply(e,n))}function N(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(N=function(){return!!e})()}var z=function(e){function t(){return(0,a.A)(this,t),D(this,t,arguments)}return(0,u.A)(t,e),(0,s.A)(t,[{key:"onInitialize",value:function(e){var n=e.getState().mapId;return[e.subscribe((function(e){return e.mapState.highlightedFeatures}),(function(e,r){if(M.vF.logTraceCoreStoreSubscription("MAP EVENT PROCESSOR - highlightedFeatures",n,e),0===e.length)t.getMapViewerLayerAPI(n).featureHighlight.removeHighlight("all");else{for(var o=e.map((function(e){return e.geometry.ol_uid})),i=r.map((function(e){return e.geometry.ol_uid})),a=e.filter((function(e){return!i.includes(e.geometry.ol_uid)})),s=r.filter((function(e){return!o.includes(e.geometry.ol_uid)})),l=0;l2&&void 0!==arguments[2]?arguments[2]:I.Xl;this.getMapViewer(e).map.getView().animate({zoom:t,duration:n})}},{key:"getMapOrderedLayerInfo",value:function(e){return this.getMapStateProtected(e).orderedLayerInfo}},{key:"getMapIndexFromOrderedLayerInfo",value:function(e,t){for(var n=this.getMapStateProtected(e).orderedLayerInfo,r=0;r2&&void 0!==arguments[2]?arguments[2]:{padding:[100,100,100,100],maxZoom:11,duration:1e3};if(!t.some((function(e){return!e||Number.isNaN(e)})))return this.getMapViewer(e).getView().fit(t,n),new Promise((function(e){setTimeout((function(){e()}),(n.duration||1e3)+150)}));throw new Error("Couldn't zoom to extent, invalid extent: ".concat(t))}},{key:"zoomToGeoLocatorLocation",value:(n=(0,o.A)(p().mark((function e(t,n,r){var o,a,s,l,c,u,d,h,f;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(o=document.getElementsByClassName("ol-overviewmap-box"),a=0;a{"use strict";n.d(t,{Z:()=>p});var r=n(32031),o=n(59682),i=n(41108),a=n(95947),s=n(71104),l=n(89153),c=n(79778),u=n(66700);function d(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,h()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var p=function(e){function t(){return(0,o.A)(this,t),d(this,t,arguments)}return(0,c.A)(t,e),(0,i.A)(t,null,[{key:"getSwiperState",value:function(e){return(0,s.A)((0,l.A)(t),"getState",this).call(this,e).swiperState}},{key:"getLayerPaths",value:function(e){var t;return null===(t=this.getSwiperState(e))||void 0===t?void 0:t.layerPaths}},{key:"setLayerPaths",value:function(e,t){var n;null===(n=this.getSwiperState(e))||void 0===n||n.setterActions.setLayerPaths(t),u.vF.logInfo("Added Swiper functionality for layer paths:",t)}},{key:"addLayerPath",value:function(e,t){var n;if(this.getSwiperState(e)&&null!==(n=this.getSwiperState(e))&&void 0!==n&&n.layerPaths)if(this.getSwiperState(e).layerPaths.includes(t))u.vF.logInfo("Swiper functionality already active for layer path:",t);else{var o=(0,r.A)(this.getSwiperState(e).layerPaths);o.push(t),this.getSwiperState(e).setterActions.setLayerPaths(o),u.vF.logInfo("Added Swiper functionality for layer path:",t)}}},{key:"removeLayerPath",value:function(e,t){var n;if(this.getSwiperState(e)&&null!==(n=this.getSwiperState(e))&&void 0!==n&&n.layerPaths){var o=this.getSwiperState(e).layerPaths.findIndex((function(e){return e===t}));if(void 0!==o&&o>=0){var i=(0,r.A)(this.getSwiperState(e).layerPaths);i.splice(o,1),this.getSwiperState(e).setterActions.setLayerPaths(i),u.vF.logInfo("Removed Swiper functionality for layer path:",t)}else u.vF.logInfo("Swiper functionality already inactive for layer path:",t)}}},{key:"removeAll",value:function(e){var t;if(this.getSwiperState(e)&&null!==(t=this.getSwiperState(e))&&void 0!==t&&t.layerPaths){var n=this.getSwiperState(e).layerPaths;this.getSwiperState(e).setterActions.setLayerPaths([]),u.vF.logInfo("Removed Swiper functionality for all layer paths",n)}}}])}(n(64808).F)},10223:(e,t,n)=>{"use strict";n.d(t,{t:()=>w});var r=n(74780),o=n(59682),i=n(41108),a=n(95947),s=n(71104),l=n(89153),c=n(79778),u=n(64808),d=n(42982),h=n(90271),p=n(81381),f=n(80309),g=n(12923),m=n(81036),y=n(78364);function v(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,b()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(b=function(){return!!e})()}var w=function(e){function t(){return(0,o.A)(this,t),v(this,t,arguments)}return(0,c.A)(t,e),(0,i.A)(t,null,[{key:"getTimesliderState",value:function(e){return(0,s.A)((0,l.A)(t),"getState",this).call(this,e).timeSliderState}},{key:"getTimeSliderLayers",value:function(e){var t;return null===(t=this.getTimesliderState(e))||void 0===t?void 0:t.timeSliderLayers}},{key:"checkInitTimeSliderLayerAndApplyFilters",value:function(e,n){if(this.getTimesliderState(e)){var r=this.getInitialTimeSliderValues(e,n);r&&function(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}(t,this,A).call(this,e,n.layerPath,r)}}},{key:"removeTimeSliderLayer",value:function(e,t){var n;null===(n=this.getTimesliderState(e))||void 0===n||n.setterActions.removeTimeSliderLayer(t)}},{key:"getInitialTimeSliderValues",value:function(e,t){var n,r;if(t.layerPath){var o=g.d.getMapViewerLayerAPI(e).getGeoviewLayerHybrid(t.layerPath).getTemporalDimension(t.layerPath);if(o&&o.range){var i,a,s=o.range.range,l=Array.isArray(o.default),c=l?o.default[0]:o.default,u=[new Date(s[0]).getTime(),new Date(s[s.length-1]).getTime()],h=o.field,p=o.singleHandle,m=o.nearestValues,y=h,v=t.source.featureInfo;if(v){var b,w,A=v,x=A.aliasFields,S=A.outfields;a=null===(b=(0,d.getLocalizedValue)(S,f.K.getDisplayLanguage(e)))||void 0===b?void 0:b.split(","),i=null===(w=(0,d.getLocalizedValue)(x,f.K.getDisplayLanguage(e)))||void 0===w?void 0:w.split(",")}var C=a?a.indexOf(h):-1;return-1!==C&&i&&a&&(null===(n=i)||void 0===n?void 0:n.length)===(null===(r=a)||void 0===r?void 0:r.length)&&(y=i[C]),{range:s,defaultValue:c,discreteValues:"discrete"===m,minAndMax:u,field:h,fieldAlias:y,singleHandle:p,filtering:!0,values:p?[new Date(o.default).getTime()]:l?[new Date(o.default[0]).getTime(),new Date(o.default[1]).getTime()]:[].concat(u),delay:1e3,locked:void 0,reversed:void 0}}}}},{key:"applyFilters",value:function(e,t,n,r,o,i,a){var s,l,c=g.d.getMapViewerLayerAPI(e).getGeoviewLayerHybrid(t);if(c instanceof h.GB||c instanceof m.V)if(o){var u="".concat(new Date(a[0]).toISOString().slice(0,new Date(a[0]).toISOString().length-5),"Z"),d="".concat(r,"=date '").concat(u,"'");c.applyViewFilter(t,d)}else{var f="".concat(r,"=date '").concat(n,"'");c.applyViewFilter(t,f)}else if(c instanceof p.$x||c instanceof y.o)if(o){var v="time=".concat(i[0],",").concat(a[0]);c.applyViewFilter(t,v)}else{var b="time=".concat(i[0],",").concat(n);c.applyViewFilter(t,b)}else if(o){var w="".concat(r," >= date '").concat(new Date(a[0]).toISOString(),"'");a.length>1&&(w+=" and ".concat(r," <= date '").concat(new Date(a[1]).toISOString(),"'")),c.applyViewFilter(t,w)}else{var A="".concat(r," >= date '").concat(new Date(i[0]).toISOString(),"'");a.length>1&&(A+="and ".concat(r," <= date '").concat(new Date(i[1]).toISOString(),"'")),c.applyViewFilter(t,A)}null===(s=this.getTimesliderState(e))||void 0===s||s.setterActions.setFiltering(t,o),null===(l=this.getTimesliderState(e))||void 0===l||l.setterActions.setValues(t,a)}}])}(u.F);function A(e,t,n){var o;if(this.getTimesliderState(e)){var i=(0,r.A)({},t,n);null===(o=this.getTimesliderState(e))||void 0===o||o.setterActions.addTimeSliderLayer(i);var a=i[t],s=a.defaultValue,l=a.field,c=a.filtering,u=a.minAndMax,d=a.values;this.applyFilters(e,t,s,l,c,u,d)}}},2198:(e,t,n)=>{"use strict";n.d(t,{d:()=>d});var r=n(59682),o=n(41108),i=n(95947),a=n(71104),s=n(89153),l=n(79778);function c(e,t,n){return t=(0,s.A)(t),(0,i.A)(e,u()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}var d=function(e){function t(){return(0,r.A)(this,t),c(this,t,arguments)}return(0,l.A)(t,e),(0,o.A)(t,null,[{key:"getUIState",value:function(e){return(0,a.A)((0,s.A)(t),"getState",this).call(this,e).uiState}},{key:"getActiveFooterBarTab",value:function(e){return this.getUIState(e).activeFooterBarTabId}},{key:"getAppBarComponents",value:function(e){return this.getUIState(e).appBarComponents}},{key:"getCorePackageComponents",value:function(e){return this.getUIState(e).corePackagesComponents}},{key:"setActiveFooterBarTab",value:function(e,t){this.getUIState(e).setterActions.setActiveFooterBarTab(t)}},{key:"setActiveAppBarTab",value:function(e,t,n,r){this.getUIState(e).setterActions.setActiveAppBarTab(t,n,r)}},{key:"getActiveAppBarTab",value:function(e){return this.getUIState(e).activeAppBarTab}}])}(n(64808).F)},52780:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(59682),o=n(41108),i=function(){return(0,o.A)((function e(){(0,r.A)(this,e)}),null,[{key:"emitEvent",value:function(e,t,n){return t.map((function(t){return t(e,n)}))}},{key:"onEvent",value:function(e,t){e.push(t)}},{key:"offEvent",value:function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}}])}()},43015:(e,t,n)=>{"use strict";n.d(t,{G:()=>s});var r=n(59682),o=n(41108),i=n(74780),a=n(66700),s=function(){return(0,o.A)((function e(t,n){(0,r.A)(this,e),(0,i.A)(this,"pluginId",void 0),(0,i.A)(this,"pluginProps",void 0),(0,i.A)(this,"configObj",void 0),(0,i.A)(this,"api",void 0),(0,i.A)(this,"react",void 0),(0,i.A)(this,"translate",void 0),(0,i.A)(this,"useTheme",void 0),this.pluginId=t,this.pluginProps=n}),[{key:"mapViewer",value:function(){return this.api.maps[this.pluginProps.mapId]}},{key:"displayLanguage",value:function(){var e;return(null===(e=this.translate)||void 0===e?void 0:e.getI18n().language)||"en"}},{key:"added",value:function(){var e;window.cgpv&&(a.vF.logInfo("Plugin ".concat(this.pluginId," loaded, adding it on map ").concat(this.pluginProps.mapId)),this.onAdd(),null===(e=this.onAdded)||void 0===e||e.call(this),a.vF.logInfo("Plugin ".concat(this.pluginId," loaded, and added to map ").concat(this.pluginProps.mapId)))}},{key:"removed",value:function(){var e;window.cgpv&&(a.vF.logInfo("Plugin ".concat(this.pluginId," being removed from map ").concat(this.pluginProps.mapId)),this.onRemove(),null===(e=this.onRemoved)||void 0===e||e.call(this),a.vF.logInfo("Plugin ".concat(this.pluginId," removed from map ").concat(this.pluginProps.mapId)))}}])}()},10082:(e,t,n)=>{"use strict";n.d(t,{k:()=>w});var r=n(74887),o=n(80180),i=n(59682),a=n(41108),s=n(74780),l=n(64417),c=n.n(l),u=n(30538),d=n(51659),h=n(43331),p=n(72666),f=n(56052),g=n.n(f),m=n(42982),y=n(10599),v=n(66700),b=n(12923),w=function(){function e(){(0,i.A)(this,e),(0,s.A)(this,"pluginsLoaded",!1)}return(0,a.A)(e,null,[{key:"loadScript",value:function(e){return new Promise((function(t,n){if(document.getElementById(e))(0,m.whenThisThen)((function(){var t;return null===(t=window.geoviewPlugins)||void 0===t?void 0:t[e]})).then((function(){t(window.geoviewPlugins[e])})).catch((function(e){n(e)}));else{var r=(0,m.getScriptAndAssetURL)(),o=document.createElement("script");o.src="".concat(r,"/corePackages/geoview-").concat(e,".js"),o.id=e,document.body.appendChild(o),o.onload=function(){t(window.geoviewPlugins[e])},o.onerror=function(){t(null)}}}))}},{key:"addPlugin",value:(l=(0,o.A)(c().mark((function e(t,n,o,i){var a,s,l,f,m,w,A,x,S,C,E,k,T,_,O;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b.d.getMapViewerPlugins(n);case 2:if((a=e.sent)[t]){e.next=34;break}if(s=null,o&&(s=new o(t,i)),!s){e.next=34;break}if(l={},!s.schema||!s.defaultConfig){e.next=30;break}if(m=s.schema(),w=s.defaultConfig(),A=new(g())({strict:!1,allErrors:!0}),x=A.compile(m),l=w,!(S=null===(f=document.getElementById(n))||void 0===f?void 0:f.getAttribute("data-config-url"))){e.next=28;break}return C="".concat(S.split(".json")[0],"-").concat(t,".json"),e.prev=17,e.next=20,fetch(C);case 20:return e.next=22,e.sent.json();case 22:(E=e.sent)&&(l=E),e.next=28;break;case 26:e.prev=26,e.t0=e.catch(17);case 28:if(!x(l)&&x.errors&&x.errors.length)for(k=0;k{"use strict";n.d(t,{FHQ:()=>ln,WDX:()=>yn,d1f:()=>un});var r=n(80180),o=n(64417),i=n.n(o),a=n(30538),s=n(17004),l=n(83232),c=n(72666),u=n(49557),d=n.n(u),h=n(40290),p=n.n(h),f=n(94850),g=n.n(f),m=n(93),y=n.n(m),v=n(79913),b=n.n(v),w=n(62102),A=n.n(w),x=n(30956),S={};S.styleTagTransform=A(),S.setAttributes=y(),S.insert=g().bind(null,"head"),S.domAPI=p(),S.insertStyleElement=b();d()(x.A,S);x.A&&x.A.locals&&x.A.locals;var C=n(40910),E={};E.styleTagTransform=A(),E.setAttributes=y(),E.insert=g().bind(null,"head"),E.domAPI=p(),E.insertStyleElement=b();d()(C.A,E);C.A&&C.A.locals&&C.A.locals;var k=n(4975),T={};T.styleTagTransform=A(),T.setAttributes=y(),T.insert=g().bind(null,"head"),T.domAPI=p(),T.insertStyleElement=b();d()(k.A,T);k.A&&k.A.locals&&k.A.locals;var _=n(3491),O={};O.styleTagTransform=A(),O.setAttributes=y(),O.insert=g().bind(null,"head"),O.domAPI=p(),O.insertStyleElement=b();d()(_.A,O);_.A&&_.A.locals&&_.A.locals;var P=n(92324),I={};I.styleTagTransform=A(),I.setAttributes=y(),I.insert=g().bind(null,"head"),I.domAPI=p(),I.insertStyleElement=b();d()(P.A,I);P.A&&P.A.locals&&P.A.locals;var M=n(13833),L={};L.styleTagTransform=A(),L.setAttributes=y(),L.insert=g().bind(null,"head"),L.domAPI=p(),L.insertStyleElement=b();d()(M.A,L);M.A&&M.A.locals&&M.A.locals;var R=n(24735),j={};j.styleTagTransform=A(),j.setAttributes=y(),j.insert=g().bind(null,"head"),j.domAPI=p(),j.insertStyleElement=b();d()(R.A,j);R.A&&R.A.locals&&R.A.locals;var F=n(93546),D=n(49686),N=n(59682),z=n(41108),B=n(74780),V=n(80363),$=n.n(V),G=n(79378),U=n(28514),W=n(1839),q=n(32031),H=n(79950),Y=n.n(H),K=n(95947),X=n(89153),Z=n(79778),J=n(56052),Q=n.n(J);const ee=JSON.parse('{"$id":"https://cgpv/schema","$schema":"http://json-schema.org/draft-07/schema#","title":"GeoView Core Config Schema","type":"object","version":1,"comments":"This schema is used to validate the JSON representation of the input configuration and the internal instance of map features and geoview layers.","additionalProperties":false,"definitions":{"MapFeatureConfig":{"description":"The map feature configuration.","additionalProperties":false,"type":"object","properties":{"map":{"$ref":"#/definitions/TypeMapConfig"},"theme":{"description":"Theme style the viewer uses.","$ref":"#/definitions/TypeDisplayTheme"},"navBar":{"$ref":"#/definitions/TypeNavBarProps"},"footerBar":{"$ref":"#/definitions/TypeFooterBarProps"},"appBar":{"$ref":"#/definitions/TypeAppBarProps"},"overviewMap":{"$ref":"#/definitions/TypeOverviewMapProps"},"components":{"$ref":"#/definitions/TypeMapComponents"},"corePackages":{"$ref":"#/definitions/TypeMapCorePackages"},"externalPackages":{"$ref":"#/definitions/TypeExternalPackages"},"serviceUrls":{"$ref":"#/definitions/TypeServiceUrls"},"schemaVersionUsed":{"$ref":"#/definitions/TypeValidVersions"}},"required":["map"]},"TypeMapConfig":{"additionalProperties":false,"type":"object","properties":{"basemapOptions":{"$ref":"#/definitions/TypeBasemapOptions"},"interaction":{"$ref":"#/definitions/TypeInteraction"},"listOfGeoviewLayerConfig":{"description":"List of GeoView Layers in the order which they should be added to the map.","additionalProperties":false,"$ref":"#/definitions/TypeListOfAbstractGeoviewLayerConfig"},"viewSettings":{"$ref":"#/definitions/TypeViewSettings"},"highlightColor":{"$ref":"#/definitions/TypeHighlightColors"},"extraOptions":{"description":"Additional options used for OpenLayers map options","type":"object"}},"required":["basemapOptions","interaction","viewSettings"]},"TypeListOfAbstractGeoviewLayerConfig":{"description":"The list of geoview layer configurations. The map config validation ends here. The only thing we need to verify for the moment is it must be an array.","type":"array"},"TypeDisplayTheme":{"description":"Valid values for the theme property.","additionalProperties":false,"enum":["dark","light","geo.ca"],"default":"geo.ca"},"TypeValidNavBarProps":{"description":"Valid values for the navBar array.","additionalProperties":false,"enum":["zoom","fullscreen","home","location"]},"TypeNavBarProps":{"description":"Controls available on the navigation bar.","additionalProperties":false,"type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/TypeValidNavBarProps"},"default":["zoom","fullscreen","home"],"minItems":0},"TypeValidFooterBarTabsCoreProps":{"description":"Valid values for the footerBar tabs core array.","additionalProperties":false,"enum":["legend","layers","details","data-table","time-slider","geochart"]},"TypeFooterBarTabsCustomProps":{"description":"Footer bar tabs custom definition.","type":"object","additionalProperties":false,"properties":{"id":{"type":"string"},"defaultTabs":{"type":"string"},"contentHTML":{"type":"string"}}},"TypeFooterBarProps":{"type":"object","additionalProperties":false,"properties":{"tabs":{"description":"Available tabs","type":"object","properties":{"core":{"description":"Default core tabs of footer bar to use. NOTE: config from packages for time-slider and geochart are in the same loaction as core config (<>-<>.json).","type":"array","items":{"$ref":"#/definitions/TypeValidFooterBarTabsCoreProps"},"minItems":1,"default":["legend","layers","details","data-table"],"uniqueItems":true},"custom":{"description":"Custom tabs of footer bar to use","type":"array","items":{"$ref":"#/definitions/TypeFooterBarTabsCustomProps"},"minItems":0,"default":[],"uniqueItems":true}},"additionalProperties":false},"collapsed":{"description":"State of footer bar when map is loaded (expanded or collapsed)","type":"boolean","default":false}},"required":["tabs"]},"TypeValidAppBarCoreProps":{"description":"Valid values for the app bar tabs core array.","additionalProperties":false,"enum":["geolocator","export","basemap-panel","geochart","details","legend","guide","data-table","layers"]},"TypeAppBarProps":{"type":"object","additionalProperties":false,"properties":{"tabs":{"description":"Available tabs - controls","type":"object","additionalProperties":false,"properties":{"core":{"description":"Default core tabs of app-bar to use. NOTE: config from packages like geochart are in the same loaction as core config (<>-<>.json).","type":"array","items":{"$ref":"#/definitions/TypeValidAppBarCoreProps"},"minItems":0,"default":["geolocator"],"uniqueItems":true}}}},"required":["tabs"]},"TypeOverviewMapProps":{"type":"object","additionalProperties":false,"properties":{"hideOnZoom":{"description":"Minimum zoom level to show overview map","type":"number","minimum":0,"maximum":10,"default":0}}},"TypeValidMapComponentProps":{"description":"Valid values for the map component array.","additionalProperties":false,"enum":["overview-map","north-arrow"]},"TypeMapComponents":{"description":"Core components to initialize on viewer load. The schema for those are inside this file.","additionalProperties":false,"type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/TypeValidMapComponentProps"},"default":["overview-map","north-arrow"],"minItems":0},"TypeValidMapCorePackageProps":{"description":"Valid values for the map core package array.","additionalProperties":false,"enum":["swiper"]},"TypeMapCorePackages":{"description":"Core map packages to initialize on viewer load. The schema for those are on their own package. NOTE: config from packages are in the same loaction as core config (<>-<>.json).","additionalProperties":false,"type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/TypeValidMapCorePackageProps"},"default":[],"minItems":0},"TypeExternalPackagesProps":{"additionalProperties":false,"type":"object","properties":{"name":{"description":"External Package name. The name must be identical to the window external package object to load.","type":"string"},"configUrl":{"description":"The url to the external package configuration setting. The core package will read the configuration and pass it inside the package.","type":"string"}},"required":["name"]},"TypeExternalPackages":{"description":"List of external packages to initialize on viewer load.","additionalProperties":false,"type":"array","items":{"$ref":"#/definitions/TypeExternalPackagesProps"},"default":[],"minItems":0},"TypeServiceUrls":{"description":"Service endpoint urls","additionalProperties":false,"type":"object","properties":{"geocoreUrl":{"description":"Service end point to access API for layers specification (loading and plugins parameters). By default it is GeoCore but can be another endpoint with similar output.","type":"string","default":"https://geocore.api.geo.ca"},"proxyUrl":{"description":"An optional proxy to be used for dealing with same-origin issues. URL must either be a relative path on the same server or an absolute path on a server which sets CORS headers.","type":"string","default":"https://maps.canada.ca/wmsproxy/ws/wmsproxy/executeFromProxy"},"geolocator":{"description":"Service end point to access geo location of searched value.","type":"string","default":"https://geolocator.api.geo.ca?keys=geonames,nominatim,locate"}}},"TypeValidVersions":{"description":"The schema version that can be used to validate the configuration file. The schema should enumerate the list of versions accepted by this version of the viewer.","enum":["1.0"]},"TypeBasemapOptions":{"additionalProperties":false,"type":"object","properties":{"basemapId":{"$ref":"#/definitions/TypeBasemapId"},"shaded":{"description":"Enable or disable shaded basemap (if basemap id is set to shaded then this should be false).","type":"boolean","default":true},"labeled":{"description":"Enable or disable basemap labels","type":"boolean","default":true}},"required":["basemapId","shaded","labeled"]},"TypeBasemapId":{"description":"Id of the basemap to use.","enum":["transport","osm","simple","nogeom","shaded"],"default":"transport"},"TypeInteraction":{"description":"If map is dynamic (pan/zoom) or static to act as a thumbnail (no nav bar).","additionalProperties":false,"enum":["static","dynamic"],"default":"dynamic"},"AbstractGeoviewLayerConfig":{"additionalProperties":false,"type":"object","properties":{"geoviewLayerId":{"description":"The id of the layer for referencing within the viewer (does not relate directly to any external service). The id will have the language extension (id-\'lang\').","type":"string"},"useInternalSchema":{"description":"Flag used to select the type of schema validation to apply (input/internal).","type":"boolean"},"geoviewLayerName":{"description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information.","oneOf":[{"description":"Used by the input schema.","$ref":"#/definitions/TypeLocalizedString"},{"description":"Used by the internal schema.","type":"string"}]},"isGeocore":{"description":"A flag used to indicate that the layer is a GeoCore layer.","type":"boolean"},"metadataAccessPath":{"description":"The GeoView layer service access path (English/French).","oneOf":[{"description":"Used by the input schema.","$ref":"#/definitions/TypeLocalizedString"},{"description":"Used by the internal schema.","type":"string"}]},"geoviewLayerType":{"description":"Type of GeoView layer.","$ref":"#/definitions/TypeGeoviewLayerType"},"serviceDateFormat":{"description":"Date format used by the service endpoint (default \'DD/MM/YYYY HH:MM:SSZ\').","type":"string"},"externalDateFormat":{"description":"Date format used by the getFeatureInfo to output date variable (default \'DD/MM/YYYY HH:MM:SSZ\').","type":"string"},"isTimeAware":{"type":"boolean","description":"Flag to mention if layer will use its time dimension if provided. Used to remove a layer from time enabled functions like time slider."},"initialSettings":{"description":"Initial settings to apply to the GeoView layer at creation time.","$ref":"#/definitions/TypeLayerInitialSettings"},"listOfLayerEntryConfig":{"description":"The layer entries to use from the GeoView layer.","$ref":"#/definitions/TypeListOfLayerEntryConfig"}},"if":{"properties":{"useInternalSchema":{"description":"The useInternalSchema property is not defined by the user but by the viewer when we want to use the internal schema.","const":true}},"required":["useInternalSchema"]},"then":{"description":"Use Internal Schema","properties":{"geoviewLayerName":{"description":"The display name of the layer.","type":"string"},"geoviewLayerType":{"description":"Type of GeoView layer.","$ref":"#/definitions/TypeGeoviewLayerType"}}},"else":{"description":"Use Input Schema","properties":{"geoviewLayerName":{"description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information.","$ref":"#/definitions/TypeLocalizedString"},"geoviewLayerType":{"description":"Type of GeoView layer.","type":"string","enum":["CSV","esriDynamic","esriFeature","esriImage","GeoJSON","imageStatic","ogcFeature","ogcWfs","ogcWms","vectorTiles","xyzTiles","geoCore"]}}},"required":["geoviewLayerId","geoviewLayerName","geoviewLayerType","listOfLayerEntryConfig"]},"TypeListOfLayerEntryConfig":{"description":"The list of layer configurations. The AbstractGeoviewLayerConfig validation ends here. The only thing we need to verify for the moment is it must be an array of at least one element.","type":"array"},"TypeViewSettings":{"additionalProperties":false,"type":"object","properties":{"initialView":{"description":"Settings for the initial viewing area of the map.","$ref":"#/definitions/TypeMapViewSettings"},"enableRotation":{"description":"Enable rotation. If false, a rotation constraint that always sets the rotation to zero is used.","type":"boolean","default":true},"rotation":{"description":"The initial rotation for the view in degree (positive rotation clockwise, 0 means North). Will be converted to radiant by the viewer.","type":"integer","minimum":-360,"maximum":360,"default":0},"maxExtent":{"description":"The extent that constrains the view. Called with [minX, minY, maxX, maxY] extent coordinates.","type":"array","minItems":4,"maxItems":4,"items":{"type":"number"},"default":[-125,30,-60,89]},"minZoom":{"description":"The minimum zoom level used to determine the resolution constraint. If not set, will use default from basemap.","type":"integer","minimum":0,"maximum":50},"maxZoom":{"description":"The maximum zoom level used to determine the resolution constraint. If not set, will use default from basemap.","type":"integer","minimum":0,"maximum":50},"projection":{"$ref":"#/definitions/TypeValidMapProjectionCodes","default":3978}}},"TypeHighlightColors":{"description":"Color to use for feature highlights.","additionalProperties":false,"enum":["black","white","red","green"],"default":"black"},"TypeDisplayLanguage":{"description":"Display languages supported.","enum":["en","fr"]},"TypeLocalizedString":{"additionalProperties":false,"minProperties":1,"type":"object","properties":{"en":{"description":"The English version of the string.","type":"string"},"fr":{"description":"The French version of the string.","type":"string"}}},"TypeGeoviewLayerType":{"description":"Type of GeoView layer.","type":"string","enum":["CSV","esriDynamic","esriFeature","esriImage","GeoJSON","GeoPackage","imageStatic","ogcFeature","ogcWfs","ogcWms","vectorTiles","xyzTiles"]},"TypeLayerInitialSettings":{"additionalProperties":false,"type":"object","properties":{"controls":{"description":"The status of various controls for the layer (available/unavailable).","$ref":"#/definitions/TypeLayerControls"},"bounds":{"description":"The geographic bounding box that contains all the layer\'s features.","type":"array","minItems":4,"maxItems":4,"items":{"type":"number"}},"extent":{"description":"The extent that constrains the view. Called with [minX, minY, maxX, maxY] extent coordinates.","type":"array","minItems":4,"maxItems":4,"items":{"type":"number"}},"minZoom":{"description":"The minimum view zoom level (exclusive) above which this layer will be visible.","type":"integer","minimum":0,"maximum":50},"maxZoom":{"description":"The maximum view zoom level (inclusive) above which this layer will be visible.","type":"integer","minimum":0,"maximum":50},"className":{"description":"A CSS class name to set to the layer element.","type":"string"},"states":{"description":"The status of initial states for the layer.","$ref":"#/definitions/TypeLayerStates"}}},"TypeLayerControls":{"description":"Which UI controls are available.","additionalProperties":false,"type":"object","properties":{"highlight":{"type":"boolean","default":true},"hover":{"type":"boolean","default":true},"opacity":{"type":"boolean","default":true},"query":{"type":"boolean","default":false},"remove":{"type":"boolean","default":true},"table":{"type":"boolean","default":true},"visibility":{"type":"boolean","default":true},"zoom":{"type":"boolean","default":true}}},"TypeLayerStates":{"description":"Initial layer states.","additionalProperties":false,"type":"object","properties":{"visible":{"description":"Initial visibility setting.","type":"boolean","default":true},"legendCollapsed":{"description":"Is the layer\'s legend collapsed","type":"boolean","default":false},"opacity":{"description":"Initial opacity setting.","type":"number","minimum":0,"maximum":1,"default":1},"hoverable":{"description":"Is the layer hoverable.","type":"boolean"},"queryable":{"description":"Is the layer queryable.","type":"boolean"}}},"TypeMapViewSettings":{"type":"object","maxItems":1,"properties":{"zoomAndCenter":{"$ref":"#/definitions/TypeZoomAndCenter"},"extent":{"description":"The extent for the initial view. Called with [minX, minY, maxX, maxY] extent coordinates.","type":"array","minItems":4,"maxItems":4,"items":{"type":"number"}},"layerIds":{"description":"ID(s) of layer(s) to use as initial map focus.","type":"array","minItems":1,"items":{"type":"string"}}}},"TypeZoomAndCenter":{"description":"Initial zoom and center coordinates to set map view.","type":"array","prefixItems":[{"type":"number","description":"Initial map zoom level. Zoom level are define by the basemap zoom levels. Levels between whole numbers are supported to fine tune initial view.","minimum":0,"maximum":28,"default":3.5},[{"type":"number","description":"Initial longitude value for map center.","minimum":-160,"maximum":160,"default":-90},{"type":"number","description":"Initial latitude value for map center.","minimum":-80,"maximum":80,"default":60}]],"default":[4.5,[-90,67]]},"TypeValidMapProjectionCodes":{"description":"Spatial Reference EPSG code supported (https://epsg.io/). We support Web Mercator and Lambert Conical Conform Canada.","enum":[3978,3857],"default":3978},"EsriDynamicLayerConfig":{"description":"Structure used by the viewer to describe the configuration of an ESRI dynamic layer.","type":"object","allOf":[{"description":"The parent class.","$ref":"#/definitions/AbstractGeoviewLayerConfig"},{"type":"object","properties":{"geoviewLayerType":{"enum":["esriDynamic"]}}}]},"EsriFeatureLayerConfig":{"description":"Structure used by the viewer to describe the configuration of an ESRI feature layer.","type":"object","allOf":[{"description":"The parent class.","$ref":"#/definitions/AbstractGeoviewLayerConfig"},{"type":"object","properties":{"geoviewLayerType":{"enum":["esriFeature"]}}}]},"EntryConfigBaseClass":{"description":"Base class from which we derive all the nodes (group and leaves) in the layer tree.","type":"object","properties":{"layerId":{"description":"The id of the layer to display on the map.","type":"string"},"useInternalSchema":{"description":"Flag used to select the type of schema validation to apply (input/internal).","type":"boolean"},"layerName":{"description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information.","oneOf":[{"description":"Used by the input schema.","$ref":"#/definitions/TypeLocalizedString"},{"description":"Used by the internal schema.","type":"string"}]},"attributions":{"type":"array","items":{"type":"string"}},"bounds":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"number"}},"minScale":{"description":"Minimum scale the layer can display (default: 0).","type":"number","default":0},"maxScale":{"description":"Maximum scale the layer can display (default: 0).","type":"number","default":0},"initialSettings":{"description":"Initial settings to apply to the layer entry at creation time. Initial settings are inherited from the parent in the configuration tree.","$ref":"#/definitions/TypeLayerInitialSettings"}},"if":{"properties":{"useInternalSchema":{"description":"The useInternalSchema property is not defined by the user but by the viewer when we want to use the internal schema.","const":true}},"required":["useInternalSchema"]},"then":{"properties":{"layerName":{"description":"Used by the internal schema.","type":"string"}}},"else":{"properties":{"layerName":{"description":"Used by the input schema. The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information.","$ref":"#/definitions/TypeLocalizedString"}}},"required":["layerId"]},"AbstractBaseLayerEntryConfig":{"description":"Base class from which we derive all the leaf nodes in the layer tree.","type":"object","allOf":[{"description":"The parent class.","$ref":"#/definitions/EntryConfigBaseClass"},{"type":"object","properties":{"geometryType":{"description":"The geometry type of the leaf node.","$ref":"#/definitions/TypeStyleGeometry"},"source":{"$ref":"#/definitions/TypeBaseSourceInitialConfig"},"temporalDimension":{"$ref":"#/definitions/TypeTemporalDimension"}}}]},"EsriDynamicLayerEntryConfig":{"description":"Class from which we derive all the ESRI Dynamic leaf nodes in the layer tree.","type":"object","allOf":[{"description":"The actual parent class is AbstractBaseEsriLayerEntryConfig, whose parent class is AbstractBaseLayerEntryConfig. Both classes have the same properties.","$ref":"#/definitions/AbstractBaseLayerEntryConfig"},{"type":"object","properties":{"source":{"$ref":"#/definitions/TypeSourceEsriDynamicInitialConfig"},"style":{"$ref":"#/definitions/TypeStyleConfig"}}}]},"EsriFeatureLayerEntryConfig":{"description":"Class from which we derive all the ESRI Feature leaf nodes in the layer tree.","type":"object","allOf":[{"description":"The actual parent class is AbstractBaseEsriLayerEntryConfig, whose parent class is AbstractBaseLayerEntryConfig. Both classes have the same properties.","$ref":"#/definitions/AbstractBaseLayerEntryConfig"},{"type":"object","properties":{"source":{"$ref":"#/definitions/TypeSourceEsriFeatureInitialConfig"},"style":{"$ref":"#/definitions/TypeStyleConfig"}}}]},"TypeStyleGeometry":{"description":"Valid keys for the geometryType property.","enum":["point","linestring","polygon"]},"TypeBaseSourceInitialConfig":{"description":"Base type from which we derive the source properties for all the leaf nodes in the layer tree.","type":"object","properties":{"projection":{"$ref":"#/definitions/TypeValidMapProjectionCodes"},"crossOrigin":{"description":"The crossOrigin attribute if needed to load the data.","type":"string"}}},"TypeSourceTileInitialConfig":{"description":"Initial settings for tile image sources.","additionalProperties":false,"type":"object","allOf":[{"$ref":"#/definitions/TypeBaseSourceInitialConfig"},{"additionalProperties":false,"type":"object","properties":{"tileGrid":{"description":"Tile grid parameters to use.","$ref":"#/definitions/TypeTileGrid"}}}]},"TypeSourceImageWmsInitialConfig":{"description":"Initial settings for tile image sources.","additionalProperties":false,"type":"object","allOf":[{"$ref":"#/definitions/TypeBaseSourceInitialConfig"},{"additionalProperties":false,"type":"object","properties":{"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoLayerConfig"},"serverType":{"$ref":"#/definitions/TypeOfServer","description":"The type of the remote WMS server. The default value is mapserver."},"style":{"oneOf":[{"type":"string","description":"Single style to apply"},{"type":"array","items":{"type":"string"},"description":"Array of style to choose."}]}}}]},"TypeOfServer":{"description":"The type of the remote WMS server. The default value is mapserver.","enum":["mapserver","geoserver","qgis"]},"TypeSourceImageStaticInitialConfig":{"description":"Initial settings for static image sources.","additionalProperties":false,"type":"object","allOf":[{"$ref":"#/definitions/TypeBaseSourceInitialConfig"},{"additionalProperties":false,"type":"object","properties":{"extent":{"description":"The extent of the static image. Called with [minX, minY, maxX, maxY] extent coordinates.","type":"array","minItems":4,"maxItems":4,"items":{"type":"number"}}}}]},"TypeBaseVectorSourceInitialConfig":{"description":"Base type from which we derive the source properties for all the vector leaf nodes in the layer tree.","type":"object","allOf":[{"$ref":"#/definitions/TypeBaseSourceInitialConfig"},{"type":"object","properties":{"maxRecordCount":{"description":"Maximum number of records to fetch (default: 0).","type":"number"},"layerFilter":{"description":"Filter to apply on features of this layer.","type":"string"},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoLayerConfig"},"format":{"$ref":"#/definitions/TypeVectorSourceFormats"},"strategy":{"enum":["all","bbox"],"default":"all","description":"The loading strategy to use. By default an all strategy is used, a one-off strategy which loads all features at once."}}}]},"TypeVectorSourceInitialConfig":{"description":"Initial settings to apply to the GeoView vector layer source at creation time.","additionalProperties":false,"type":"object","allOf":[{"$ref":"#/definitions/TypeBaseVectorSourceInitialConfig"},{"type":"object","properties":{"separator":{"description":"The character used to separate columns of csv file.","type":"string"}}}]},"TypeVectorTileSourceInitialConfig":{"description":"Initial settings to apply to layer sources providing vector data divided into a tile grid.","additionalProperties":false,"type":"object","allOf":[{"$ref":"#/definitions/TypeBaseVectorSourceInitialConfig"},{"type":"object","properties":{"tileGrid":{"$ref":"#/definitions/TypeTileGrid"}}}]},"TypeTileGrid":{"additionalProperties":false,"type":"object","properties":{"extent":{"description":"The extent that constrains the view. Called with [minX, minY, maxX, maxY] extent coordinates.","type":"array","minItems":4,"maxItems":4,"items":{"type":"number"}},"origin":{"description":"The tile grid origin, i.e. where the x and y axes meet ([z, 0, 0]). Tile coordinates increase left to right and downwards. If not specified, extent must be provided.","type":"array","prefixItems":[{"type":"number"},{"type":"number"}]},"resolutions":{"description":"Resolutions. The array index of each resolution needs to match the zoom level. This means that even if a minZoom is configured, the resolutions array will have a length of maxZoom + 1.","type":"array","items":{"type":"number"}},"tileSize":{"description":"The tile grid origin, i.e. where the x and y axes meet ([z, 0, 0]). Tile coordinates increase left to right and downwards. If not specified, extent must be provided.","type":"array","minItems":2,"maxItems":2,"items":{"type":"number"},"default":[256,256]}},"required":["origin","resolutions"]},"TypeVectorSourceFormats":{"description":"The feature format used by the XHR feature loader when access path is set.","enum":["GeoJSON","EsriJSON","KML","WFS","featureAPI","GeoPackage","CSV"]},"TypeSourceEsriDynamicInitialConfig":{"description":"Type from which we derive the source properties for all the ESRI dynamic leaf nodes in the layer tree.","type":"object","allOf":[{"$ref":"#/definitions/TypeBaseSourceInitialConfig"},{"type":"object","properties":{"maxRecordCount":{"description":"Maximum number of records to fetch (default: 0).","type":"number"},"layerFilter":{"description":"Filter to apply on features of this layer.","type":"string"},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoLayerConfig"},"format":{"$ref":"#/definitions/TypeEsriFormatParameter"},"transparent":{"description":"If true, the image will be exported with the background color of the map set as its transparent color. Only the .png and .gif formats support transparency.","type":"boolean","default":true}}}]},"TypeEsriFormatParameter":{"description":"The format of the exported image. The default format is png.","enum":["png","jpg","gif","svg"],"default":"png"},"TypeSourceEsriFeatureInitialConfig":{"description":"Type from which we derive the source properties for all the ESRI feature leaf nodes in the layer tree.","type":"object","allOf":[{"$ref":"#/definitions/TypeBaseVectorSourceInitialConfig"},{"type":"object","properties":{"maxRecordCount":{"description":"Maximum number of records to fetch (default: 0).","type":"number"},"layerFilter":{"description":"Filter to apply on features of this layer.","type":"string"},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoLayerConfig"},"format":{"enum":["EsriJSON"]}}}]},"TypeFeatureInfoLayerConfig":{"type":"object","properties":{"queryable":{"description":"Allow querying. Default = false.","type":"boolean","default":false},"nameField":{"description":"The display field of the layer. If it is not present the viewer will make an attempt to find the first valid field.","type":"string"},"outfields":{"type":"array","items":{"$ref":"#/definitions/TypeOutfields"}}},"required":["queryable"]},"TypeOutfields":{"type":"object","properties":{"name":{"description":"The field name.","type":"string"},"alias":{"description":"The field alias that replaces the name when comes time to display it.","type":"string"},"type":{"description":"The field type.","type":"string"},"domain":{"description":"An array of values that constitute the domain.","type":"array"}},"required":["name","alias","type","domain"]},"TypeOutfieldsType":{"description":"The types supported by the outfields object.","additionalProperties":false,"enum":["string","number","date","url"]},"TypeLayerEntryType":{"description":"Layer entry data type.","enum":["vector","vector-tile","raster-tile","raster-image","group"]},"TypeTemporalDimension":{"additionalProperties":false,"type":"object","description":"OGC time dimension definition.","properties":{"field":{"type":"string"},"default":{"type":"string"},"unitSymbol":{"type":"string"},"range":{"$ref":"#/definitions/TypeRangeItems"},"nearestValues":{"enum":["discrete","absolute"]},"singleHandle":{"type":"boolean"}}},"TypeRangeItems":{"description":"Definition of the range object in the OGC time dimension.","additionalProperties":false,"type":"object","properties":{"type":{"type":"string"},"range":{"type":"array","items":{"type":"string"}}}},"TypeStyleConfig":{"type":"object","properties":{"type":{"description":"The type of style used by the layer.","$ref":"#/definitions/TypeStyleConfigType"},"fields":{"type":"array","items":{"type":"string"},"minItems":1},"hasDefault":{"description":"Flag used to indicate that the symbology has a default value.","type":"boolean"},"info":{"description":"Array of style information.","type":"array","items":{"$ref":"#/definitions/TypeStyleConfigInfo"}}}},"TypeStyleConfigType":{"description":"Valid keys for the type property of style configurations.","enum":["simple","uniqueValue","classBreaks"]},"TypeStyleConfigInfo":{"type":"object","properties":{"visible":{"description":"Flag used to show/hide features associated to the label (default: true).","type":"boolean"},"label":{"type":"string"},"values":{"description":"Simple type has a single value at index 0; uniqueValue type has many entries (up to 3 for ESRI) and classBreaks type has two entries (index 0 for min and index 1 for max).","type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"minItems":1},"settings":{"$ref":"#/definitions/TypeKindOfVectorSettings"}}},"TypeKindOfVectorSettings":{"description":"The type of geometry settings. It must respect the base type and one of the children types.","allOf":[{"description":"Base type for the vector geometry.","$ref":"#/definitions/TypeBaseVectorGeometryConfig"},{"description":"One of the chid type.","oneOf":[{"$ref":"#/definitions/TypeLineStringVectorConfig"},{"$ref":"#/definitions/TypePolygonVectorConfig"},{"$ref":"#/definitions/TypeSimpleSymbolVectorConfig"},{"$ref":"#/definitions/TypeIconSymbolVectorConfig"}]}]},"TypeBaseVectorGeometryConfig":{"description":"Base type for the vector geometry types.","type":"object","properties":{"type":{"description":"Type of vector config.","$ref":"#/definitions/TypeBaseVectorType"}}},"TypeBaseVectorType":{"description":"Valid values for the type property of the base vector settings.","enum":["lineString","filledPolygon","simpleSymbol","iconSymbol"]},"TypeLineStringVectorConfig":{"description":"Definition of the line symbol vector settings type.","type":"object","allOf":[{"$ref":"#/definitions/TypeBaseVectorGeometryConfig"},{"type":"object","properties":{"type":{"enum":["lineString"]},"stroke":{"$ref":"#/definitions/TypeStrokeSymbolConfig"}}}],"required":["type","stroke"]},"TypeStrokeSymbolConfig":{"description":"Stroke style for vector features.","minProperties":1,"additionalProperties":false,"type":"object","properties":{"color":{"type":"string"},"lineStyle":{"$ref":"#/definitions/TypeLineStyle"},"width":{"type":"number"}}},"TypeLineStyle":{"description":"Line style to use for the feature.","enum":["dash","dash-dot","dash-dot-dot","dot","longDash","longDash-dot","null","shortDash","shortDash-dot","shortDash-dot-dot","solid"]},"TypePolygonVectorConfig":{"description":"Definition of the polygon symbol vector settings type.","type":"object","allOf":[{"$ref":"#/definitions/TypeBaseVectorGeometryConfig"},{"type":"object","properties":{"type":{"enum":["filledPolygon"]},"color":{"type":"string"},"stroke":{"$ref":"#/definitions/TypeStrokeSymbolConfig"},"paternSize":{"description":"Distance between patern lines. Default = 8","type":"number"},"paternWidth":{"description":"Patern line width.default = 1.","type":"number"},"fillStyle":{"description":"Kind of filling for vector features. Default = solid. ","$ref":"#/definitions/TypeFillStyle"}}}],"required":["type","stroke"]},"TypeFillStyle":{"description":"Valid values to specify fill styles.","enum":["null","solid","backwardDiagonal","cross","diagonalCross","forwardDiagonal","horizontal","vertical"]},"TypeSimpleSymbolVectorConfig":{"description":" Definition of the simple symbol vector settings type.","type":"object","allOf":[{"$ref":"#/definitions/TypeBaseVectorGeometryConfig"},{"type":"object","properties":{"type":{"enum":["simpleSymbol"]},"rotation":{"description":"Symbol rotation in radians.","type":"number"},"color":{"type":"string"},"stroke":{"$ref":"#/definitions/TypeStrokeSymbolConfig"},"size":{"type":"number"},"offset":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2},"symbol":{"$ref":"#/definitions/TypeSymbol"}}}],"required":["type","symbol"]},"TypeSymbol":{"description":"Valid values to specify symbol shapes.","enum":["circle","+","diamond","square","triangle","X","star"]},"TypeIconSymbolVectorConfig":{"type":"object","allOf":[{"$ref":"#/definitions/TypeBaseVectorGeometryConfig"},{"type":"object","properties":{"type":{"enum":["iconSymbol"]},"mimeType":{"type":"string"},"src":{"type":"string"},"width":{"description":"Icon width in pixel.","type":"integer"},"height":{"description":"Icon height in pixel.","type":"integer"},"rotation":{"description":"Icon rotation in radians.","type":"number"},"opacity":{"type":"number","minimum":0,"maximum":1,"default":1},"offset":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2},"crossOrigin":{"description":"The crossOrigin attribute for loaded images. Note that you must provide a crossOrigin value if you want to access pixel data with the Canvas renderer.","type":"string"}}}],"required":["type","mimeType","src"]},"TypePostSettings":{"description":"Definition of the post settings type needed when the GeoView GeoJSON layers need to use a POST instead of a GET.","additionalProperties":false,"type":"object","properties":{"header":{"description":"An optional header object with string keys and string values.","type":"object","additionalProperties":{"type":"string"}},"data":{"description":"A required property that can be any type.","type":["object","array","string","number","boolean","null"]}},"required":["data"]}}}');var te=n(66700);function ne(e,t){var n,r,o=new(Q())({strict:!1,allErrors:!1});o.compile(ee);var i=o.getSchema(e);if(i){if(!i(t)){for(var a=0;a2&&void 0!==arguments[2]&&arguments[2],r=$()(t);return n&&Object.assign(r,{useInternalSchema:n}),ne(e,r)}function oe(e){var t={en:null==e?void 0:e.en,fr:null==e?void 0:e.fr};if(e&&(t.en||t.fr))return t.fr||(t.fr=t.en),t.en||(t.en=t.fr),t}function ie(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function ae(e,t){return e.get(le(e,t))}function se(e,t,n){return e.set(le(e,t),n),n}function le(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var ce=new WeakMap,ue=new WeakMap,de=new WeakMap,he=new WeakMap,pe=function(){return(0,z.A)((function e(t,n,r,o,i){(0,N.A)(this,e),ie(this,ce,void 0),ie(this,ue,void 0),ie(this,de,void 0),ie(this,he,!1),(0,B.A)(this,"isLayerGroup",void 0),(0,B.A)(this,"layerId",void 0),(0,B.A)(this,"layerName",void 0),(0,B.A)(this,"attributions",void 0),(0,B.A)(this,"bounds",void 0),(0,B.A)(this,"minScale",void 0),(0,B.A)(this,"maxScale",void 0),(0,B.A)(this,"entryType",void 0),(0,B.A)(this,"initialSettings",void 0),se(ce,this,r),se(ue,this,o),se(de,this,i),this.layerId=t.layerId,this.layerName=t.layerName?oe(t.layerName)[ae(ce,this)]:void 0,this.isLayerGroup=t.isLayerGroup||!1,this.attributions=t.attributions||[],this.bounds=t.bounds,this.minScale=t.minScale||0,this.maxScale=t.minScale||0,this.entryType=this.getEntryType(),this.initialSettings=Y()(t.initialSettings,n)}),[{key:"geoviewLayerType",get:function(){return ae(ue,this).geoviewLayerType}},{key:"geoviewLayerConfigInstance",get:function(){return ae(ue,this)}},{key:"layerPath",get:function(){return"".concat(ae(ue,this).geoviewLayerId,"/").concat(function e(t){return ae(de,t)?"".concat(e(ae(de,t)),"/").concat(t.layerId):t.layerId}(this))}},{key:"setErrorDetectedFlag",value:function(){se(he,this,!0),ae(ue,this).setErrorDetectedFlag()}},{key:"errorDetected",get:function(){return ae(he,this)}},{key:"getJsonString",value:function(){return this.getIndentedJsonString(null)}},{key:"getIndentedJsonString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2;return JSON.stringify(this,void 0,e||void 0)}}])}();function fe(e,t,n){return t=(0,X.A)(t),(0,K.A)(e,ge()?Reflect.construct(t,n||[],(0,X.A)(e).constructor):t.apply(e,n))}function ge(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ge=function(){return!!e})()}function me(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function ye(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var ve=new WeakMap,be=function(e){function t(e,n,r,o,i){var a;return(0,N.A)(this,t),me(a=fe(this,t,[e,n,r,o,i]),ve,{}),(0,B.A)(a,"geometryType",void 0),(0,B.A)(a,"source",void 0),(0,B.A)(a,"temporalDimension",void 0),a.geometryType=e.geometryType,e.source?a.source=(0,U.K)($()(e.source)):a.source=(0,U.K)({projection:G.NA.map.viewSettings.projection}),e.temporalDimension&&(a.temporalDimension=(0,U.K)($()(e.temporalDimension))),a}return(0,Z.A)(t,e),(0,z.A)(t,[{key:"metadata",get:function(){return t=this,(e=ve).get(ye(e,t));var e,t},set:function(e){var t,n,r;n=this,r=e,(t=ve).set(ye(t,n),r)}}])}(pe),we=n(95841);function Ae(e,t,n){return t=(0,X.A)(t),(0,K.A)(e,xe()?Reflect.construct(t,n||[],(0,X.A)(e).constructor):t.apply(e,n))}function xe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xe=function(){return!!e})()}var Se=function(e){function t(){return(0,N.A)(this,t),Ae(this,t,arguments)}return(0,Z.A)(t,e),(0,z.A)(t,[{key:"fetchLayerMetadata",value:(n=(0,r.A)(i().mark((function e(){var t,n,r,o,a,s;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.geoviewLayerConfigInstance.metadataAccessPath.split("/"),n=parseInt(t.slice(-1)[0],10).toString()===t.slice(-1)[0],r=n?"".concat(t.slice(0,-1).join("/"),"/"):this.geoviewLayerConfigInstance.metadataAccessPath,o=r.endsWith("/")?"".concat(r).concat(this.layerId):"".concat(r,"/").concat(this.layerId),e.prev=4,e.next=7,we.A.get("".concat(o,"?f=json"));case 7:a=e.sent,"error"in(s=a.data)?te.vF.logError("Error detected while reading layer metadata.",s.error):this.metadata=s,e.next=15;break;case 12:e.prev=12,e.t0=e.catch(4),te.vF.logError("Error detected in fetchEsriLayerMetadata while reading ESRI metadata.",e.t0);case 15:this.setErrorDetectedFlag(),this.metadata={};case 17:case"end":return e.stop()}}),e,this,[[4,12]])}))),function(){return n.apply(this,arguments)})}]);var n}(be);function Ce(e,t,n){return t=(0,X.A)(t),(0,K.A)(e,Ee()?Reflect.construct(t,n||[],(0,X.A)(e).constructor):t.apply(e,n))}function Ee(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ee=function(){return!!e})()}var ke=function(e){function t(){var e;return(0,N.A)(this,t),e=Ce(this,t,["A config validation error occured."]),Object.setPrototypeOf(e,t.prototype),e}return(0,Z.A)(t,e),(0,z.A)(t)}((0,n(7681).A)(Error)),Te=function(e){function t(e){var n;return(0,N.A)(this,t),(n=Ce(this,t)).message="Map Config Error: ".concat(e,"."),Object.setPrototypeOf(n,t.prototype),n}return(0,Z.A)(t,e),(0,z.A)(t)}(ke),_e=function(e){function t(e,n){var r;(0,N.A)(this,t),r=Ce(this,t),(0,B.A)(r,"messageList",{LayerTypeMandatory:"Property geoviewLayerType is mandatory for GeoView layer <=> of type <=>.",LayerIdMandatory:"Property geoviewLayerId is mandatory for GeoView layer of type <=>.",LayerNameMandatory:"Property geoviewLayerName is mandatory for GeoView layer",MetadataAccessPathMandatory:"Property metadataAccessPath is mandatory for GeoView layer"}),(0,B.A)(r,"messageKey",void 0),(0,B.A)(r,"messageVariables",void 0),r.messageKey=e,r.messageVariables=n;var o=r.messageList[e].split("<=>").reduce((function(e,t,r){return r in the metadata.",LayerIdInvalidType:"The layerId of entry <=> must be an integer string."}),(0,B.A)(r,"messageKey",void 0),(0,B.A)(r,"messageVariables",void 0),r.messageKey=e,r.messageVariables=n;var o=r.messageList[e].split("<=>").reduce((function(e,t,r){return r1?this.listOfLayerEntryConfig=[(0,U.K)({layerId:t.geoviewLayerId,initialSettings:this.initialSettings,layerName:Ve({},t.geoviewLayerName),isLayerGroup:!0,listOfLayerEntryConfig:$()(t.listOfLayerEntryConfig)})]:$()(t.listOfLayerEntryConfig);this.isTimeAware=void 0===t.isTimeAware||t.isTimeAware,this.listOfLayerEntryConfig=null==s||null===(i=s.map((function(e){return Re(e)?new Ne(e,a.initialSettings,n,a):a.createLeafNode(e,a.initialSettings,n,a)})))||void 0===i?void 0:i.filter((function(e){return e}))}),[{key:"validate",value:function(){if(Ue(Ye,this,Ge(Ye,this)||!this.geoviewLayerType||!this.geoviewLayerId||!this.geoviewLayerName||!this.metadataAccessPath),!this.geoviewLayerType)throw new _e("LayerTypeMandatory",[this.geoviewLayerId,this.geoviewLayerType]);if(!this.geoviewLayerId)throw new _e("LayerIdMandatory",[this.geoviewLayerType]);if(!this.geoviewLayerName)throw new _e("LayerNameMandatory",[this.geoviewLayerId,this.geoviewLayerType]);if(!this.metadataAccessPath)throw new _e("MetadataAccessPathMandatory",[this.geoviewLayerId,this.geoviewLayerType])}},{key:"metadata",get:function(){return Ge(Ke,this)},set:function(e){Ue(Ke,this,e)}},{key:"metadataLayerTree",get:function(){return Ge(Xe,this)},set:function(e){Ue(Xe,this,e)}},{key:"language",get:function(){return Ge(qe,this)}},{key:"setErrorDetectedFlag",value:function(){var e;Ue(Ye,this,!0),null===(e=Ge(He,this))||void 0===e||e.setErrorDetectedFlag()}},{key:"errorDetected",get:function(){return Ge(Ye,this)}},{key:"serialize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2;return JSON.stringify(this,void 0,e)}}])}();function Je(e,t,n){return t=(0,X.A)(t),(0,K.A)(e,Qe()?Reflect.construct(t,n||[],(0,X.A)(e).constructor):t.apply(e,n))}function Qe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Qe=function(){return!!e})()}function et(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function tt(e,t){return e.get(nt(e,t))}function nt(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var rt=new WeakSet,ot=new WeakMap,it=function(e){function t(){var e,n,r;(0,N.A)(this,t);for(var o=arguments.length,i=new Array(o),a=0;a0&&void 0!==arguments[0]?arguments[0]:2;return JSON.stringify(this,void 0,e)}},{key:"setErrorDetectedFlag",value:function(){At(Ct,this,!0)}}],[{key:"nodeFactory",value:function(e,t,n){switch(e.geoviewLayerType){case G.oR.ESRI_DYNAMIC:return new ut(e,t,n);case G.oR.ESRI_FEATURE:return new yt(e,t,n)}}}]);var e}();function Tt(e){var t=e&&G.if.includes(e)?e:G.NA.map.viewSettings.projection,n=$()(G.NA.map);return n.viewSettings.maxExtent=(0,q.A)(G.Nt[t]),n.viewSettings.initialView={zoomAndCenter:[3.5,G.VN[t]]},n}function _t(e){this.map.viewSettings.projection=this.map.viewSettings.projection&&G.if.includes(this.map.viewSettings.projection)?this.map.viewSettings.projection:G.NA.map.viewSettings.projection,xt(Et,this,Ot).call(this);var t=this.map.viewSettings.initialView.zoomAndCenter[0];this.map.viewSettings.initialView.zoomAndCenter[0]=!Number.isNaN(t)&&t>=0&&t<=28?t:G.NA.map.viewSettings.initialView.zoomAndCenter[0],xt(Et,this,Pt).call(this),this.schemaVersionUsed=G.ir.includes(this.schemaVersionUsed)?this.schemaVersionUsed:G.NA.schemaVersionUsed;var n=this.map.viewSettings.minZoom;this.map.viewSettings.minZoom=!Number.isNaN(n)&&n>=0&&n<=50?n:G.NA.map.viewSettings.minZoom;var r=this.map.viewSettings.maxZoom;this.map.viewSettings.maxZoom=!Number.isNaN(r)&&r>=0&&r<=50?r:G.NA.map.viewSettings.maxZoom,xt(Et,this,It).call(this),xt(Et,this,Mt).call(this,e)}function Ot(){var e=this.map.viewSettings.initialView.zoomAndCenter[1][0],t=this.map.viewSettings.initialView.zoomAndCenter[1][1],n=this.map.viewSettings.projection;this.map.viewSettings.initialView.zoomAndCenter[1][0]=!Number.isNaN(e)&&e>G.mq[n].long[0]&&eG.mq[n].lat[0]&&tt[0]?a:G.mq[e].long[1],d=!Number.isNaN(s)&&s>t[1]?s:G.mq[e].lat[1];this.map.viewSettings.maxExtent=[l,c,u,d]}function Mt(e){var t,n,r,o,i,a,s,l,c,u,d=this;(Object.keys(e).forEach((function(e){e in d||te.vF.logWarning("- Key '".concat(e,"' is invalid -"))})),(null==e||null===(t=e.map)||void 0===t||null===(t=t.viewSettings)||void 0===t?void 0:t.projection)!==this.map.viewSettings.projection)&&te.vF.logWarning("- Invalid projection code ".concat(null==e||null===(l=e.map)||void 0===l||null===(l=l.viewSettings)||void 0===l?void 0:l.projection," replaced by ").concat(this.map.viewSettings.projection," -"));null!=e&&null!==(n=e.map)&&void 0!==n&&null!==(n=n.viewSettings)&&void 0!==n&&null!==(n=n.initialView)&&void 0!==n&&n.zoomAndCenter&&null!==(r=this.map.viewSettings.initialView)&&void 0!==r&&r.zoomAndCenter&&(null==e||null===(o=e.map)||void 0===o||null===(o=o.viewSettings)||void 0===o||null===(o=o.initialView)||void 0===o?void 0:o.zoomAndCenter[0])!==(null===(i=this.map.viewSettings.initialView)||void 0===i?void 0:i.zoomAndCenter[0])&&te.vF.logWarning("- Invalid zoom level ".concat(null==e||null===(c=e.map)||void 0===c||null===(c=c.viewSettings)||void 0===c||null===(c=c.initialView)||void 0===c?void 0:c.zoomAndCenter[0],"\n replaced by ").concat(null===(u=this.map.viewSettings.initialView)||void 0===u?void 0:u.zoomAndCenter[0]," -"));var h,p=null==e||null===(a=e.map)||void 0===a||null===(a=a.viewSettings)||void 0===a||null===(a=a.initialView)||void 0===a?void 0:a.zoomAndCenter;(p&&Array.isArray(p)&&2===p.length&&Array.isArray(p[1])&&2===p[1].length&&(0,U.K)(p[1])!==this.map.viewSettings.initialView.zoomAndCenter[1]&&te.vF.logWarning("- Invalid center ".concat(p[1],"\n replaced by ").concat(this.map.viewSettings.initialView.zoomAndCenter[1])),JSON.stringify(null==e||null===(s=e.map)||void 0===s?void 0:s.basemapOptions)!==JSON.stringify(this.map.basemapOptions))&&te.vF.logWarning("- Invalid basemap options ".concat(JSON.stringify(null==e||null===(h=e.map)||void 0===h?void 0:h.basemapOptions)," replaced by ").concat(JSON.stringify(this.map.basemapOptions)," -"))}function Lt(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Rt=function(){function e(){(0,N.A)(this,e)}return(0,z.A)(e,null,[{key:"getGVConfigFromUUIDs",value:(t=(0,r.A)(i().mark((function t(n,r,o){var a,s;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a="".concat(n,"/vcs?lang=").concat(r,"&id=").concat(o.toString()),t.next=3,we.A.get(a);case 3:return s=t.sent,t.abrupt("return",Lt(e,this,jt).call(this,s,r));case 5:case"end":return t.stop()}}),t,this)}))),function(e,n,r){return t.apply(this,arguments)})}]);var t}();function jt(e,t){if(!(null!=e&&e.data&&e.data.reponse&&e.data.reponse.rcs&&e.data.reponse.rcs[t]))throw new Error("Invalid response from GeoCore service");if(0===e.data.reponse.rcs[t].length)throw new Error("No layers returned by GeoCore service");for(var n=[],r=0;r0){var i=o.layers[0];if(i){var a=i.layerType,s=i.layerEntries,l=i.name,c=i.url,u=i.id,d=c.indexOf("FeatureServer")>-1;if(a!==G.oR.ESRI_DYNAMIC||d)if(d)for(var h=0;h3&&void 0!==d[3])||d[3],a=Array.isArray(n)?n:[n],s=r||G.NA.serviceUrls.geocoreUrl,!(l=a.filter((function(e){return e.geoviewLayerType===G.JF})).map((function(e){return e.geoviewLayerId}))).length){e.next=19;break}return e.prev=5,e.next=8,Rt.getGVConfigFromUUIDs(s,t,l);case 8:return c=e.sent,u=(u=a.map((function(e){if(e.geoviewLayerType===G.JF){var n=c.find((function(n){return n.geoviewLayerId==="rcs.".concat(e.geoviewLayerId,".").concat(t)}));if(n)return n.geoviewLayerId=e.geoviewLayerId,n.isGeocore=!0,n}return e}))).filter((function(e){return e.geoviewLayerType!==G.JF||(te.vF.logError("Unable to convert GeoCore layer (Id=".concat(e.geoviewLayerId,").")),!(Array.isArray(n)&&o))})),e.abrupt("return",Array.isArray(n)?u:u[0]);case 14:e.prev=14,e.t0=e.catch(5),te.vF.logError("Failed to process the array of GeoCore layers",l,r,e.t0);case 17:e.next=20;break;case 19:return e.abrupt("return",n);case 20:return e.abrupt("return",void 0);case 21:case"end":return e.stop()}}),e,null,[[5,14]])}))),function(e,t,n){return o.apply(this,arguments)})},{key:"validateMapConfig",value:function(t,n){var r="string"==typeof t?zt.call(e,t):t;try{if(!r)throw new Te("The string configuration provided cannot be translated to a json object");if(!r.map)throw new Te("The map property is mandatory");e.lastMapConfigCreated=new kt(r,n)}catch(t){t instanceof Te?te.vF.logError(t.message):te.vF.logError("ConfigApi.validateMapConfig - An error occured",t);var o=e.getDefaultMapFeatureConfig(n);o.setErrorDetectedFlag(),e.lastMapConfigCreated=o}return e.lastMapConfigCreated}},{key:"createMapConfig",value:(n=(0,r.A)(i().mark((function t(n,r){var o,a,s,l,c;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o="string"==typeof n?zt.call(e,n):$()(n),t.prev=1,o){t.next=4;break}throw new Te("The string configuration provided cannot be translated to a json object");case 4:if(o.map){t.next=6;break}throw new Te("The map property is mandatory");case 6:return o.map.listOfGeoviewLayerConfig=o.map.listOfGeoviewLayerConfig||[],s=o.map.listOfGeoviewLayerConfig.length,t.next=10,e.convertGeocoreToGeoview(r,o.map.listOfGeoviewLayerConfig,null==o||null===(a=o.serviceUrls)||void 0===a?void 0:a.geocoreUrl);case 10:o.map.listOfGeoviewLayerConfig=t.sent,l=s!==o.map.listOfGeoviewLayerConfig.length,e.lastMapConfigCreated=new kt(o,r),l&&e.lastMapConfigCreated.setErrorDetectedFlag(),t.next=22;break;case 16:t.prev=16,t.t0=t.catch(1),t.t0 instanceof Te?te.vF.logError(t.t0.message):te.vF.logError("ConfigApi.validateMapConfig - An error occured",t.t0),(c=e.getDefaultMapFeatureConfig(r)).setErrorDetectedFlag(),e.lastMapConfigCreated=c;case 22:return t.abrupt("return",e.lastMapConfigCreated);case 23:case"end":return t.stop()}}),t,null,[[1,16]])}))),function(e,t){return n.apply(this,arguments)})},{key:"createLayerConfig",value:(t=(0,r.A)(i().mark((function t(n,r){var o,a,s,l=arguments;return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=l.length>2&&void 0!==l[2]?l[2]:"en",r!==G.JF){t.next=15;break}return t.prev=2,s={geoviewLayerId:n,geoviewLayerType:r},t.next=6,e.convertGeocoreToGeoview(o,(0,U.K)(s));case 6:a=t.sent,t.next=13;break;case 9:return t.prev=9,t.t0=t.catch(2),te.vF.logError("Unable to convert GeoCore layer (Id=".concat(n,").")),t.abrupt("return",void 0);case 13:t.next=16;break;case 15:a=(0,U.K)({geoviewLayerId:(0,ze.generateId)(),geoviewLayerName:{en:"unknown",fr:"inconnu"},geoviewLayerType:r,metadataAccessPath:{en:n},listOfLayerEntryConfig:[]});case 16:return e.lastLayerConfigCreated=kt.nodeFactory(a,o),t.abrupt("return",e.lastLayerConfigCreated);case 18:case"end":return t.stop()}}),t,null,[[2,9]])}))),function(e,n){return t.apply(this,arguments)})}]);var t,n,o,a}();function Dt(e){var t={};if(void 0!==e)for(var n=e.split("&"),r=0;r{"use strict";n.d(t,{w:()=>O,A:()=>P});var r=n(30538),o=(n(27929),n(51659)),i=n(43331),a=n(98201),s=n(29224),l=n(74112),c=n(64033),u=n(87286),d=n(67529),h=n(96574),p=n(4433),f=n(97282);const g=(e,t)=>(0,c.A)({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),m=e=>(0,c.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}});var y=n(70715),v=n(62047);function b(e){return(0,v.Ay)("MuiScopedCssBaseline",e)}(0,y.A)("MuiScopedCssBaseline",["root"]);const w=["className","component","enableColorScheme"],A=(0,p.Ay)("div",{name:"MuiScopedCssBaseline",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e,ownerState:t})=>{const n={};return t.enableColorScheme&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach((([t,r])=>{var o;n[`&${e.getColorSchemeSelector(t).replace(/\s*&/,"")}`]={colorScheme:null==(o=r.palette)?void 0:o.mode}})),(0,c.A)({},g(e,t.enableColorScheme),m(e),{"& *, & *::before, & *::after":{boxSizing:"inherit"},"& strong, & b":{fontWeight:e.typography.fontWeightBold}},n)})),x=r.forwardRef((function(e,t){const n=(0,h.A)({props:e,name:"MuiScopedCssBaseline"}),{className:r,component:o="div"}=n,i=(0,l.A)(n,w),a=(0,c.A)({},n,{component:o}),s=(e=>{const{classes:t}=e;return(0,d.A)({root:["root"]},b,t)})(a);return(0,f.jsx)(A,(0,c.A)({as:o,className:(0,u.A)(s.root,r),ref:t,ownerState:a},i))}));var S=n(4943),C=n(34630),E=n(94652),k=n(10599),T=n(66700),_=n(76467),O=(0,r.createContext)({mapId:"",mapFeaturesConfig:void 0});const P=function(e){T.vF.logTraceRender("components/app-start");var t=e.mapFeaturesConfig,n=e.onMapViewerInit,l=t.mapId,c=(0,r.useMemo)((function(){return T.vF.logTraceUseMemo("APP-START - mapContextValue",l),{mapId:l}}),[l]),u=(0,_.lk)(l),d=(0,_.iO)(l);return(0,f.jsx)(s.A,{injectFirst:!0,children:(0,f.jsx)(a.A,{theme:C.w,children:(0,f.jsx)(x,{children:(0,f.jsx)(r.Suspense,{fallback:"",children:function(){var e=o.Ay.cloneInstance({lng:u,fallbackLng:u});if(!(l in k.FHQ.maps)){var s=new E.F(t,e);k.FHQ.maps[l]=s}return k.FHQ.maps[l].onMapInit((function(e){null==n||n(e)})),(0,f.jsx)(i.I18nextProvider,{i18n:e,children:(0,f.jsx)(O.Provider,{value:c,children:(0,f.jsx)(a.A,{theme:(0,C.O)(d),children:(0,f.jsx)(r.StrictMode,{children:(0,f.jsx)(S.$,{mapViewer:k.FHQ.maps[l]})})})})})}()})})})})}},93887:(e,t,n)=>{"use strict";n.d(t,{r:()=>b});var r=n(59682),o=n(41108),i=n(74780),a=n(34418),s=n(42982),l=n(52780),c=n(2198);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t2&&void 0!==arguments[2])||arguments[2];c.d.setActiveAppBarTab(this.mapId,e,t,n)}}])}();function w(e){l.A.emitEvent(this,f(m,this),e)}function A(e){l.A.emitEvent(this,f(y,this),e)}function x(){this.buttons.default={}}},52604:(e,t,n)=>{"use strict";n.d(t,{h:()=>z});var r=n(74780),o=n(1839),i=n(76390),a=n.n(i),s=n(46900),l=n.n(s),c=n(43331),u=n(30538),d=n(72666),h=n(93546),p=n(10082),f=n(6093),g=n(62651),m=n(22264),y=n(5182),v=n(76467),b=n(10814),w=n(66700),A=n(33617),x=n(47765),S=n(65169),C=function(e){return{appBar:{display:"flex",flexDirection:"row",justifyContent:"space-between",zIndex:e.zIndex.appBar,pointerEvents:"all",backgroundColor:e.palette.geoViewColor.bgColor.main,border:e.palette.geoViewColor.primary.light[100],"&.interaction-static":{position:"absolute",left:0,top:0,height:"100%",backgroundColor:"unset",border:"unset",paddingBottom:"60px","&>div":{border:"unset !important"}}},appBarList:{width:60,"& li":{backgroundColor:"transparent",justifyContent:"center",margin:"16px 0",padding:0,"&:hover":{backgroundColor:"transparent",color:e.palette.geoViewColor.primary.light[300]}},"& hr":{width:"80%",marginLeft:"7px"}},appBarButtons:{borderRightColor:e.palette.geoViewColor.primary.light[100],borderRightWidth:1,borderRightStyle:"solid",width:64},appBarButton:{backgroundColor:e.palette.geoViewColor.primary.main,color:e.palette.geoViewColor.primary.light[700],height:44,width:44,transition:"background-color 0.3s ease-in-out",border:"2px solid transparent","&:hover":{backgroundColor:e.palette.geoViewColor.primary.light[100],color:e.palette.geoViewColor.primary.light[700]},"&:focus":{backgroundColor:e.palette.geoViewColor.primary.light[150],color:e.palette.geoViewColor.primary.light[700]},"&:active":{backgroundColor:e.palette.geoViewColor.primary.light[100],color:e.palette.geoViewColor.primary.light[700]},"&.active":{border:"2px solid ".concat(e.palette.geoViewColor.primary.light[100]),backgroundColor:"transparent",color:e.palette.geoViewColor.primary.light[100]},"& .MuiSvgIcon-root":{height:20,width:20}},versionButtonDiv:{position:"absolute",bottom:0},appBarPanels:{}}},E=n(32031);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t{"use strict";n.d(t,{A:()=>v});var r=n(1839),o=n(30538),i=n(43331),a=n(11956),s=n(66540),l=n(20114),c=n(18565),u=n(76194),d=n(25454),h=n(81556),p=n(93546),f=n(10814),g=n(5182),m=n(71944),y=n(97282);function v(){var e=(0,i.useTranslation)().t,t=(0,f.Jh)(),n=(0,g.GT)(),v=document.getElementById("shell-".concat(t)),b=(0,o.useState)(null),w=(0,r.A)(b,2),A=w[0],x=w[1],S=(0,o.useState)(!1),C=(0,r.A)(S,2),E=C[0],k=C[1],T=function(){E&&(k(!1),x(null))},_={versionInfoPanel:{width:"200px",backgroundColor:function(e){return e.palette.geoViewColor.bgColor.light[200]},borderRadius:"5px",boxShadow:2,marginLeft:"15px",padding:"10px","& a":{color:function(e){return"light"===e.palette.mode?e.palette.secondary.contrastText:e.palette.geoViewColor.primary.light[300]},textDecoration:"underLine"}},versionsInfoTitle:{fontSize:function(e){return e.palette.geoViewFontSize.default},fontWeight:"700",padding:"10px",color:function(e){return e.palette.geoViewColor.textColor.main},borderBottom:function(e){return"1px solid ".concat(e.palette.geoViewColor.bgColor.dark[300],"}")},marginBottom:"10px"}};return(0,y.jsx)(a.x,{mouseEvent:"onMouseDown",touchEvent:"onTouchStart",onClickAway:T,children:(0,y.jsxs)(s.A,{children:[(0,y.jsx)(p.IconButton,{id:"version-button",tooltip:"appbar.version",tooltipPlacement:"bottom-end",onClick:function(e){x(e.currentTarget),k(!E)},className:"".concat("dynamic"===n?"buttonFilled":"style4"," ").concat(E?"active":""),children:(0,y.jsx)(l.A,{viewBox:"-4 -2 38 36",children:(0,y.jsx)(p.GeoCaIcon,{})})}),(0,y.jsx)(p.Popper,{open:E,anchorEl:A,placement:"right-end",onClose:T,container:v,children:(0,y.jsxs)(c.A,{sx:_.versionInfoPanel,children:[(0,y.jsx)(u.A,{sx:_.versionsInfoTitle,component:"h3",children:e("appbar.version")}),(0,y.jsxs)(s.A,{sx:{padding:"10px",gap:"5px",display:"flex",flexDirection:"column"},children:[(0,y.jsxs)(s.A,{sx:{display:"flex",flexDirection:"row",alignContent:"center",gap:"6px"},children:[(0,y.jsx)(l.A,{viewBox:"-4 -2 38 36",children:(0,y.jsx)(p.GeoCaIcon,{})}),(0,y.jsx)(d.A,{rel:"noopener",href:h.un.url,target:"_black",children:h.un.text})]}),(0,y.jsxs)(s.A,{sx:{display:"flex",flexDirection:"row",alignContent:"center",gap:"6px"},children:[(0,y.jsx)(m.A,{}),(0,y.jsx)(d.A,{rel:"noopener",href:h.Dy,target:"_black",children:e("appbar.repoLink")})]}),(0,y.jsx)(u.A,{component:"div",children:"v.".concat(0,".").concat(1,".").concat(0)}),(0,y.jsx)(u.A,{component:"div",children:new Date(1719510685881).toLocaleDateString()})]})]})})]})})}},44366:(e,t,n)=>{"use strict";n.d(t,{m:()=>f});var r=n(74780),o=n(1839),i=n(30538),a=n(72666),s=n(93546),l=n(22264),c=n(5182),u=n(42982),d=n(10814),h=n(66700),p=n(97282);function f(){h.vF.logTraceRender("components/attribution/attribution");var e=(0,a.A)(),t=(0,d.Jh)(),n=document.getElementById("shell-".concat(t)),f=(0,i.useState)(null),g=(0,o.A)(f,2),m=g[0],y=g[1],v=Boolean(m),b=(0,c.re)(),w=(0,l.dY)(),A=(0,i.useCallback)((function(e){y(e.currentTarget)}),[]),x=(0,i.useCallback)((function(){y(null)}),[]);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(s.IconButton,{id:"attribution",onClick:A,className:v?"active":"",tooltipPlacement:"top",tooltip:"mapctrl.attribution.tooltip",sx:(0,r.A)((0,r.A)((0,r.A)({color:e.palette.geoViewColor.bgColor.light[800],marginTop:w?"0.75rem":"0.25rem"},e.breakpoints.up("md"),{marginTop:w?"1.4375rem":"none"}),"width","30px"),"height","30px"),"aria-label":"mapctrl.attribution.tooltip",children:(0,p.jsx)(s.MoreHorizIcon,{})}),(0,p.jsx)(s.Popover,{open:v,anchorEl:m,container:n,anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"left"},onClose:x,children:(0,p.jsx)(s.Box,{sx:{padding:"1rem",width:"28.125rem"},children:b.map((function(e){return(0,p.jsx)(s.Typography,{children:e},(0,u.generateId)())}))})})]})}},62594:(e,t,n)=>{"use strict";n.d(t,{n:()=>c});var r=n(30538),o=n(93546),i=n(5182),a=n(66700),s=n(10814),l=n(97282);function c(){a.vF.logTraceRender("components/click-marker/click-marker");var e=(0,s.Jh)(),t=(0,r.useRef)(null),n="".concat(e,"-clickmarker"),c=(0,i.yC)(),u=(0,i.Rs)(),d=(0,i.U6)(),h=d.setOverlayClickMarkerRef,p=d.showClickMarker;return setTimeout((function(){return h(t.current)}),0),(0,r.useEffect)((function(){a.vF.logTraceUseEffect("CLICK-MARKER - clickCoordinates"),u&&p({lnglat:u.lnglat})}),[u,p]),(0,l.jsx)(o.Box,{ref:t,id:n,sx:{position:"absolute",visibility:void 0!==c?"visible":"hidden"},children:(0,l.jsx)(o.ClickMapMarker,{sx:{animation:"opacity 1s ease-in","@keyframes opacity":{from:{opacity:0},to:{opacity:1}}},fontSize:"large",color:"warning"})})}},75106:(e,t,n)=>{"use strict";n.d(t,{y:()=>u});var r=n(30538),o=n(43331),i=n(82758),a=n(22264),s=n(93546),l=n(66700),c=n(97282);function u(e){var t=e.id,n=e.content,u=(0,o.useTranslation)().t,d=(0,a.A6)().closeModal,h=(0,a.XP)(),p=(0,a.NP)();return(0,r.useEffect)((function(){l.vF.logTraceUseEffect("FOCUS-TRAP-ELEMENT - activeTrapGeoView",h),h||d()}),[h,d]),(0,r.useEffect)((function(){l.vF.logTraceUseEffect("FOCUS-TRAP-ELEMENT - focusItem",p),t===p.activeElementId&&setTimeout((function(){var e;return null===(e=document.getElementById("".concat(t,"-exit-btn")))||void 0===e?void 0:e.focus()}),0)}),[p,t]),(0,c.jsx)(i.s,{open:t===p.activeElementId,children:(0,c.jsxs)(s.Box,{children:[(0,c.jsx)(s.Button,{id:"".concat(t,"-exit-btn"),type:"text",autoFocus:!0,onClick:function(){var e;d(),null===(e=document.getElementById(p.callbackElementId))||void 0===e||e.focus()},sx:{display:h?"block":"none",width:"95%",margin:"10px auto"},children:u("general.exit")}),n]})})}},54502:(e,t,n)=>{"use strict";n.d(t,{PE:()=>v,Wu:()=>b.W,xk:()=>x});n(75106),n(5578);var r=n(30538),o=n(72666),i=n(43331),a=n(78283),s=n(93546),l=function(e){return{list:{overflowY:"auto",color:"text.primary",width:"100%",paddingRight:"14px","& .MuiListItemText-primary":{fontSize:e.palette.geoViewFontSize.lg,fontWeight:"600"},"& .MuiListItem-root":{height:"100%","& .MuiListItemButton-root":{padding:"0 0 0 16px",height:"100%",backgroundColor:e.palette.geoViewColor.bgColor.light[500]}},"& .MuiListItemButton-root":{minHeight:"73px"},"& .MuiListItemIcon-root":{minWidth:"2rem"},"& .MuiListItemText-root":{">span":{fontSize:e.palette.geoViewFontSize.default},"> p":{fontSize:e.palette.geoViewFontSize.sm,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},listPrimaryText:{minWidth:"0",marginTop:"0.5rem",marginBottom:"0.5rem",marginLeft:"10px",flex:"1 1 auto",display:"flex",flexDirection:"column","& .layerTitle":{fontSize:e.palette.geoViewFontSize.default,fontWeight:"600",lineHeight:1.5,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},">div":{display:"flex",alignItems:"center",marginTop:"4px",">p":{fontSize:"".concat(e.palette.geoViewFontSize.sm," !important"),color:e.palette.text.secondary,fontWeight:400}," svg":{width:"0.75em",height:"0.75em"}}},borderWithIndex:"2px solid ".concat(e.palette.geoViewColor.primary.main," !important"),borderNone:"none",headline:{fontSize:e.palette.geoViewFontSize.md,fontWeight:"bold"},layersInstructionsPaper:{padding:"2rem",cursor:"pointer"},layersInstructionsTitle:{fontSize:e.palette.geoViewFontSize.md,fontWeight:"600",lineHeight:"1.5em"},layersInstructionsBody:{fontSize:e.palette.geoViewFontSize.default}}},c=n(86308),u=n(97282),d=(0,r.memo)((function(e){var t=e.isSelected,n=e.layer,d=e.onListItemClick,h=e.layerIndex,p=(0,o.A)(),f=l(p),g=(0,i.useTranslation)().t,m=0===(null==n?void 0:n.numOffeatures)||null===(null==n?void 0:n.features),y=0===(null==n?void 0:n.numOffeatures)||null===(null==n?void 0:n.features)||"processing"===n.queryStatus||"loading"===n.layerStatus||"processing"===n.layerStatus,v=(0,r.useCallback)((function(){var e;return"error"===n.layerStatus||"error"===(null==n?void 0:n.queryStatus)?"".concat(g("legend.layerError")):["init","processing"].includes(n.queryStatus)?"".concat(g("layers.querying"),"..."):(0,u.jsxs)(u.Fragment,{children:[n.layerFeatures," ",null!==(e=null==n?void 0:n.mapFilteredIcon)&&void 0!==e?e:""]})}),[n,g]);var b,w,A=(0,a.zh)({delay:150*h,from:{opacity:.1},to:{opacity:1}}),x=(0,r.useCallback)((function(e,t){"Enter"===e.key&&d(t)}),[d]),S=(0,a.CS)(s.Paper);return(0,u.jsx)(S,{sx:{marginBottom:"1rem"},style:A,className:(w=["layer-panel","bordered",null!==(b=n.layerStatus)&&void 0!==b?b:"","query-".concat(n.queryStatus)],t&&w.push("selectedLayer bordered-primary"),w.join(" ")),children:(0,u.jsx)(s.Tooltip,{title:n.tooltip,placement:"top",arrow:!0,children:(0,u.jsx)(s.Box,{children:(0,u.jsx)(s.ListItem,{disablePadding:!0,onKeyDown:function(e){return x(e,n)},tabIndex:0,children:(0,u.jsxs)(s.ListItemButton,{tabIndex:-1,selected:t,disabled:m||y,onClick:function(){return d(n)},"aria-label":n.layerName,children:[n.layerPath&&!n.content?(0,u.jsx)(s.ListItemIcon,{"aria-hidden":"true",children:(0,u.jsx)(c.B,{layer:n})}):null,(0,u.jsxs)(s.Box,{sx:f.listPrimaryText,children:[(0,u.jsx)(s.Typography,{className:"layerTitle",children:n.layerName}),(0,u.jsx)(s.Box,{display:"flex",alignContent:"center",children:(0,u.jsx)(s.Typography,{component:"p",variant:"subtitle1",noWrap:!0,display:"block",children:v()})})]})]})})})})})}));function h(e){var t=e.layerList,n=e.selectedLayerPath,r=e.onListItemClick,a=(0,o.A)(),c=l(a),h=(0,i.useTranslation)().t;return(0,u.jsxs)(s.List,{sx:c.list,children:[!!t.length&&t.map((function(e,t){var o;return(0,u.jsx)(d,{isSelected:(null!==(o=null==e?void 0:e.numOffeatures)&&void 0!==o?o:1)>0&&e.layerPath===n,layer:e,onListItemClick:r,layerIndex:t},e.layerPath)})),!t.length&&(0,u.jsx)(d,{isSelected:!1,layerIndex:0,layer:{layerPath:"",layerName:h("layers.instructionsNoLayersTitle"),layerFeatures:h("layers.instructionsNoLayersBody"),layerStatus:"processed",queryStatus:"processed",numOffeatures:0},onListItemClick:r},"dummyPath")]})}var p=n(74780),f=n(66700),g=n(18529),m=n(81556);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){var t=e.children,n=e.guideContentIds,i=e.layerList,a=e.selectedLayerPath,l=e.onLayerListClicked,c=e.onIsEnlargeClicked,d=e.fullWidth,v=e.onGuideIsOpen,b=e.containerType,w=void 0===b?m.vB.FOOTER_BAR:b,A=(0,r.useRef)(null),x=(0,o.A)(),S=(0,r.useCallback)((function(e){var t;null==l||l(e),null===(t=A.current)||void 0===t||t.setIsRightPanelVisible(!0)}),[l]),C=(0,r.useCallback)((function(){return f.vF.logTraceUseCallback("LAYOUT - renderLayerList"),(0,u.jsx)(h,{selectedLayerPath:a,onListItemClick:S,layerList:i})}),[a,i,S]),E=(0,r.useMemo)((function(){var e,t;return null!==(e=null===(t=i.find((function(e){return e.layerPath===a})))||void 0===t?void 0:t.layerName)&&void 0!==e?e:""}),[i,a]),k=(0,r.useCallback)((function(){var e=function(e){for(var t=1;t{"use strict";n.d(t,{B:()=>c});var r=n(72666),o=n(93546),i=function(e){return{legendIconTransparent:{display:"flex",justifyContent:"center",alignItems:"center",width:24,height:24},iconPreviewHoverable:{width:24,height:24,position:"absolute",left:-3,top:-2,padding:0,borderRadius:0,boxShadow:2,transition:"transform .3s ease-in-out","&:hover":{transform:"rotate(-18deg) translateX(-8px)"}},iconPreviewStacked:{width:24,height:24,padding:0,borderRadius:0,border:"1px solid",borderColor:e.palette.geoViewColor.bgColor.dark[600],boxShadow:2,backgroundColor:e.palette.geoViewColor.white},maxIconImg:{maxWidth:24,maxHeight:24},legendIcon:{display:"flex",justifyContent:"center",alignItems:"center",width:24,height:"24px !important",backgroundColor:e.palette.geoViewColor.white,border:"1px solid",borderColor:e.palette.geoViewColor.bgColor.dark[600],borderRadius:.5},stackIconsBox:{width:24,height:24,position:"relative","&:focus":{outlineColor:e.palette.geoViewColor.bgColor.dark[600]}},iconPreview:{padding:0,borderRadius:0,boxShadow:2,"&:focus":{border:"revert"}}}},a=n(55997),s=n(97282);function l(e){var t=e.layerPath,n=e.onIconClick,l=e.onStackIconClick,c=(0,r.A)(),u=i(c),d=(0,a.Uk)(t),h=(null==d?void 0:d.length)>0?d[0]:"",p=(null==d?void 0:d.length)>1?d[1]:"",f=null==d?void 0:d.length;return 1===f?(0,s.jsx)(o.IconButton,{tabIndex:-1,sx:u.iconPreview,color:"primary",size:"small",onClick:"no data"===h?void 0:n,"aria-hidden":"true",children:"no data"===h?(0,s.jsx)(o.BrowserNotSupportedIcon,{}):(0,s.jsx)(o.Box,{sx:u.legendIcon,children:(0,s.jsx)(o.Box,{component:"img",alt:"icon",src:h,sx:u.maxIconImg})})}):f&&f>0?(0,s.jsxs)(o.Box,{tabIndex:-1,onClick:n,sx:u.stackIconsBox,onKeyPress:function(e){return null==l?void 0:l(e)},"aria-hidden":"true",children:[(0,s.jsx)(o.IconButton,{sx:u.iconPreviewStacked,color:"primary",size:"small",tabIndex:-1,"aria-hidden":"true",children:(0,s.jsx)(o.Box,{sx:u.legendIconTransparent,children:p&&(0,s.jsx)(o.Box,{component:"img",alt:"icon",src:p,sx:u.maxIconImg})})}),(0,s.jsx)(o.IconButton,{sx:u.iconPreviewHoverable,color:"primary",size:"small",tabIndex:-1,"aria-hidden":"true",children:(0,s.jsx)(o.Box,{sx:u.legendIcon,children:h&&(0,s.jsx)(o.Box,{component:"img",alt:"icon",src:h,sx:u.maxIconImg})})})]}):""!==t&&0===d.length&&"!"!==t.charAt(0)?(0,s.jsx)(o.Box,{tabIndex:-1,onClick:n,sx:u.stackIconsBox,onKeyPress:function(e){return null==l?void 0:l(e)},"aria-hidden":"true",children:(0,s.jsx)(o.IconButton,{sx:u.iconPreviewStacked,color:"primary",size:"small",tabIndex:-1,"aria-hidden":"true",children:(0,s.jsx)(o.Box,{sx:u.legendIconTransparent,children:(0,s.jsx)(o.BrowserNotSupportedIcon,{})})})}):null}function c(e){var t=e.layer;return"error"===t.layerStatus||"queryStatus"in t&&"error"===t.queryStatus?(0,s.jsx)(o.ErrorIcon,{color:"error"}):"processing"===t.layerStatus||"loading"===t.layerStatus||"queryStatus"in t&&"processing"===t.queryStatus?(0,s.jsx)(o.Box,{sx:{padding:"5px",marginRight:"10px"},children:(0,s.jsx)(o.CircularProgressBase,{size:20})}):"children"in t&&null!=t&&t.children.length?(0,s.jsx)(o.GroupWorkOutlinedIcon,{color:"primary"}):(0,s.jsx)(l,{layerPath:t.layerPath})}},18529:(e,t,n)=>{"use strict";n.d(t,{z:()=>S});var r=n(74780),o=n(1839),i=n(30538),a=n(43331),s=n(72666),l=n(34089),c=n(93546),u=n(5578),d=n(58559),h=n(97282);const p=function(e){var t=e.open,n=e.onClose,r=e.children;return(0,h.jsx)(c.Dialog,{fullScreen:!0,maxWidth:"xl",open:t,onClose:n,disablePortal:!0,children:(0,h.jsxs)(c.DialogContent,{sx:{display:"flex",flexDirection:"column",alignItems:"end"},children:[(0,h.jsx)(c.IconButton,{onClick:n,color:"primary",className:"buttonFilledOutline",sx:{marginBottom:"1.5rem"},children:(0,h.jsx)(c.CloseIcon,{})}),r]})})};var f=n(66700),g=n(62621),m=n(48333),y=n(84919),v=n(15938),b=n(76467),w=n(81556);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t div":{maxHeight:"calc(100vh - 120px)",overflow:"auto"},"& .MuiTableContainer-root":{maxHeight:"calc(100vh - 260px)"},"& .guidebox-container":{maxHeight:"calc(100vh - 120px)",overflow:"auto"}},"& .MuiPaper-root":{border:"none"},"& .guideBox":{color:"".concat(e.palette.geoViewColor.grey.dark[800]," !important"),margin:"1rem",img:{maxWidth:"100%"},td:{width:"auto",paddingLeft:"15px"},th:{textAlign:"left",paddingLeft:"15px"},"& h3":{"&:first-of-type":{display:"flex",alignItems:"center",gap:"0.325rem"}}}}}}(N),B=(0,a.useTranslation)().t,V=(0,b.DR)(),$=(0,b.kv)(),G=(0,i.useState)(!1),U=(0,o.A)(G,2),W=U[0],q=U[1],H=(0,i.useState)(!1),Y=(0,o.A)(H,2),K=Y[0],X=Y[1],Z=(0,i.useState)(!1),J=(0,o.A)(Z,2),Q=J[0],ee=J[1],te=(0,i.useState)(!1),ne=(0,o.A)(te,2),re=ne[0],oe=ne[1],ie=(0,d.W)({footerPanelTab:"default"}),ae=ie.leftPanelRef,se=ie.rightPanelRef,le=ie.panelTitleRef;(0,i.useImperativeHandle)(t,(function(){return{setIsRightPanelVisible:function(e){return q(e)}}})),(0,i.useEffect)((function(){X(!_&&!!M)}),[_,M]),(0,i.useEffect)((function(){null==R||R(K)}),[K,R]),(0,i.useEffect)((function(){F&&Q&&ee(!1)}),[F,Q]);var ce=(0,i.useCallback)((function(e){f.vF.logTraceUseCallback("LAYOUT - handleIsEnlarge"),ee(e),null==L||L(e)}),[L]),ue=(0,i.useCallback)((function(){M&&X(!0)}),[X,M]);N.breakpoints.down("md")&&(C||A||W||P||q(!0));var de,he;return(0,h.jsxs)(c.Box,{ref:t,children:[(0,h.jsxs)(u.N.Root,{sx:{pt:8,pb:0},ref:le,children:[!P&&(0,h.jsx)(u.N.Left,{isRightPanelVisible:W,isEnlarged:Q,"aria-hidden":!W,sxProps:{zIndex:re?"unset":200},className:"responsive-layout-left-top",children:A}),(0,h.jsx)(u.N.Right,{isRightPanelVisible:W,isEnlarged:Q,fullWidth:P,sxProps:{zIndex:re?"unset":100},className:"responsive-layout-right-top",children:(0,h.jsxs)(c.Box,{sx:(0,r.A)((0,r.A)({display:"flex",alignItems:P||D===w.vB.APP_BAR?"end":"center",flexDirection:P||D===w.vB.APP_BAR?"column":"row",gap:P||D===w.vB.APP_BAR?"10px":"0"},N.breakpoints.up("md"),{justifyContent:P||D===w.vB.APP_BAR?"space-between":"right"}),N.breakpoints.down("md"),{justifyContent:"space-between"}),children:[null!=k?k:(0,h.jsx)(c.Box,{}),(0,h.jsx)(c.Box,{sx:z.rightButtonsContainer,children:(0,h.jsxs)(c.ButtonGroup,{size:"small",variant:"outlined","aria-label":"outlined button group",children:[!P&&!F&&(window.innerWidth<=N.breakpoints.values.md?null:(0,h.jsx)(c.Button,{makeResponsive:!0,type:"text",size:"small",variant:"outlined",startIcon:Q?(0,h.jsx)(g.A,{}):(0,h.jsx)(m.A,{}),sx:{boxShadow:"none"},onClick:function(){return ce(!Q)},tooltip:B(Q?"dataTable.reduceBtn":"dataTable.enlargeBtn"),children:B(Q?"dataTable.reduceBtn":"dataTable.enlargeBtn")})),!(null==M||!M.length)&&(window.innerWidth<=N.breakpoints.values.md?null:(0,h.jsx)(c.Button,{makeResponsive:!0,type:"text",disabled:K,variant:"outlined",size:"small",onClick:function(){return ue()},tooltip:B("general.openGuide"),startIcon:(0,h.jsx)(v.A,{}),children:B("general.guide")})),!$&&(0,h.jsx)(c.Button,{makeResponsive:!0,type:"text",variant:"outlined",size:"small",onClick:function(){return oe(!re)},tooltip:B(re?"general.closeFullscreen":"general.openFullscreen"),startIcon:(0,h.jsx)(c.FullscreenIcon,{}),children:B("general.fullScreen")}),!(!C&&!A)&&(P||!(window.innerWidth>=N.breakpoints.values.md)&&W?(0,h.jsx)(c.Button,{makeResponsive:!0,type:"text",size:"small",variant:"outlined",color:"primary",className:"buttonFilledOutline",startIcon:(0,h.jsx)(y.A,{fontSize:N.palette.geoViewFontSize.sm}),sx:x({},P?z.appBarEnlargeButton:z.footerBarEnlargeButton),onClick:function(){return q(!1)},tooltip:null!==(he=B("dataTable.close"))&&void 0!==he?he:"",children:B("dataTable.close")}):null)]})})]})})]}),(0,h.jsxs)(u.N.Root,{children:[(0,h.jsx)(u.N.Left,x(x({},!P&&{ref:ae}),{},{isEnlarged:Q,isRightPanelVisible:W,fullWidth:P,"aria-hidden":!W,sxProps:{zIndex:re?"unset":200},className:"responsive-layout-left-main",children:C})),(0,h.jsx)(u.N.Right,x(x({},!P&&{ref:se}),{},{isEnlarged:Q,isRightPanelVisible:W,fullWidth:P,sxProps:{zIndex:re?"unset":100},className:"responsive-layout-right-main",children:(de=K?function(){var e=null==M?void 0:M.map((function(e){var t;return function(e,t){if(null!=e){var n=t.split("."),r=e;return n.forEach((function(e){r=e in r?r[e]:void 0})),r}}(null==V||null===(t=V.footerPanel)||void 0===t?void 0:t.children,"".concat(e,".content"))})).filter((function(e){return void 0!==e})).join("\n");return e?(0,h.jsx)(c.Box,{sx:{padding:"20px",overflow:"auto"},children:(0,h.jsx)(c.Box,{className:"guideBox",children:(0,h.jsx)(l.Ay,{options:{wrapper:"article"},children:e})})}):null}():_,(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(p,{open:re,onClose:function(){return oe(!1)},children:(0,h.jsx)(c.Box,{sx:z.rightGridContent,className:"responsive-layout-right-main-content fullscreen-mode",children:de})}),(0,h.jsx)(c.Box,{sx:z.rightGridContent,className:K?"responsive-layout-right-main-content guide-container":"responsive-layout-right-main-content",children:de})]}))}))]})]})}));S.displayName="ResponsiveGridLayout"},5578:(e,t,n)=>{"use strict";n.d(t,{N:()=>y});var r=n(74780),o=n(83828),i=n(30538),a=n(72666),s=n(93546),l=n(97282),c=["children"],u=["children","className","isRightPanelVisible","sxProps","isEnlarged","fullWidth"],d=["children","className","isRightPanelVisible","sxProps","isEnlarged","fullWidth"];function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t{"use strict";n.d(t,{W:()=>g});var r=n(30538),o=n(72666),i=n(83232),a=n(76467),s=n(22264),l=n(56619),c=n(43123),u=n(66700),d=n(81556),h=n(10814),p=n(79378),f=n(5182);function g(e){var t=e.footerPanelTab,n=void 0===t?"default":t,g=600,m=(0,o.A)(),y=(0,h.Jh)(),v=(0,r.useRef)(null),b=(0,r.useRef)(null),w=(0,r.useRef)(0),A=(0,i.A)(m.breakpoints.down("md")),x=(0,r.useCallback)((function(e){var t,n;e&&(w.current=null!==(t=null===(n=e.getBoundingClientRect())||void 0===n?void 0:n.height)&&void 0!==t?t:0)}),[]),S=(0,a.kv)(),C=(0,f.ht)(),E=(0,s.ex)(),k=(0,s.g_)(),T=(0,l.yU)(),_=(0,c.Xh)(),O=(0,c.eQ)().setTableHeight,P=(0,s.bd)().tabGroup,I=function(e){var t,n,r=null!==(t=null===(n=b.current)||void 0===n?void 0:n.firstElementChild)&&void 0!==t?t:null;r&&(r.style.maxHeight=null!=e?e:"".concat(g,"px"),r.style.overflowY="auto")};return(0,r.useEffect)((function(){if(u.vF.logTraceUseEffect("USE-FOOTER-PANEL-HEIGHT - footerPanelResizeValue",E,S),v.current&&S&&(k===n||"default"===n)){var e,t,r=document.getElementById("".concat(y,"-tabsContainer")),o=null==r||null===(e=r.firstElementChild)||void 0===e?void 0:e.firstElementChild,i=null!==(t=null==o?void 0:o.clientHeight)&&void 0!==t?t:0,a=window.screen.height*E/100-w.current-i-10;if(P!==p.NF.DATA_TABLE&&P!==p.NF.LAYERS||(a=window.screen.height-200),v.current.style.maxHeight="".concat(a,"px"),v.current.style.overflow="auto",v.current.style.paddingBottom="24px",k===d.DF.DATA_TABLE||P===p.NF.DATA_TABLE)I("".concat(a,"px")),O("".concat(a-100,"px"));else if(k===d.DF.GEO_CHART&&b.current){var s,l=null===(s=b.current)||void 0===s?void 0:s.firstElementChild;l&&(l.style.maxHeight="".concat(a,"px"),l.style.overflowY="auto")}else I("".concat(a,"px"))}if(!S&&v.current)if(v.current.style.maxHeight="".concat(g,"px"),v.current.style.overflow="auto",I(),k===d.DF.DATA_TABLE||P===p.NF.DATA_TABLE)O("".concat(500,"px"));else if(k===d.DF.GEO_CHART&&b.current){var c,h=null===(c=b.current)||void 0===c?void 0:c.firstElementChild;h&&(h.style.maxHeight="".concat(g,"px"),h.style.overflowY="auto")}}),[E,S,k,n,y,O,T,_,P]),(0,r.useEffect)((function(){v.current&&!S&&(P!==p.NF.DATA_TABLE&&P!==p.NF.LAYERS||!A?v.current.style.maxHeight="".concat(g,"px"):v.current.style.maxHeight="100%")}),[C,S,P,A]),{leftPanelRef:v,rightPanelRef:b,panelTitleRef:x,activeFooterBarTabId:k}}},19570:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});var r=n(97282);function o(){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 275 275",focusable:"false",children:(0,r.jsx)("g",{fill:"none",stroke:"#616161",strokeWidth:"1px",id:"crosshairs",transform:"translate(0 -1824.72) scale(2)",children:(0,r.jsx)("path",{d:"m136.18 983.66-130.93-0.00001m65.467-65.467v130.93m32.2-65.466c0 17.784-14.417 32.2-32.2 32.2-17.784 0-32.2-14.417-32.2-32.2 0-17.784 14.417-32.2 32.2-32.2 17.784 0 32.2 14.417 32.2 32.2z"})})})}},98772:(e,t,n)=>{"use strict";n.d(t,{B:()=>m});var r=n(74780),o=n(30538),i=n(72666),a=n(43331),s=n(93546),l=function(e){var t;return{crosshairContainer:{position:"absolute",top:e.spacing(0),right:e.spacing(0),left:e.spacing(0),bottom:e.spacing(0),paddingBottom:e.spacing(6),display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none !important",zIndex:e.zIndex.olControl},crosshairInfo:{position:"absolute",top:e.spacing(0),right:e.spacing(0),left:e.spacing(0),height:"calc(1em + 8px)",padding:e.spacing(2,1,4,1),backgroundColor:e.palette.geoViewColor.grey.lighten(.1,.9),"& span":{paddingLeft:70}},crosshairIcon:{width:e.overrides.crosshairIcon.size.width,height:null===(t=e.overrides.crosshairIcon)||void 0===t?void 0:t.size.height}}},c=n(19570),u=n(76467),d=n(5182),h=n(66700),p=n(97282);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t{"use strict";n.d(t,{t:()=>S});var r=n(74780),o=n(1839),i=n(75299),a=n.n(i),s=n(30538),l=n(43331),c=n(72666),u=n(93546),d=n(19001),h=n(43123),p=n(5182),f=n(22264),g=n(54502),m=n(66700),y=n(35001),v=n(81556),b=n(79378),w=n(97282);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t0&&(r="".concat(o," ").concat(A("dataTable.features"))),r}),[I,V,A]),W=(0,s.useCallback)((function(e,t){return m.vF.logTraceUseCallback("DATA-PANEL - getLayerTooltip"),(0,w.jsxs)(u.Box,{sx:{display:"flex",alignContent:"center","& svg ":{width:"0.75em",height:"0.75em"}},children:["".concat(e,", ").concat(U(t)),G(t)&&(0,w.jsx)(u.FilterAltIcon,{})]})}),[U,G]),q=(0,s.useMemo)((function(){return m.vF.logTraceUseMemo("DATA-PANEL - isLayerDisabled",P),function(){return!!V.find((function(e){return e.layerPath===P&&null===e.features}))}}),[V,P]),H=(0,s.useMemo)((function(){return m.vF.logTraceUseMemo("DATA-PANEL - isSelectedLayerHasFeatures",P),function(){return V.find((function(e){var t;return e.layerPath===P&&(null==e||null===(t=e.features)||void 0===t?void 0:t.length)}))}}),[P,V]);(0,s.useEffect)((function(){m.vF.logTraceUseEffect("DATA-PANEL - isLoading",T,P);var e=a()((function(){_(!1)}),100);return function(){return clearTimeout(e)}}),[T,P]),(0,s.useEffect)((function(){m.vF.logTraceUseEffect("DATA-PANEL - unmount",P),R!==v.DF.DATA_TABLE&&M("")}),[R]),(0,s.useEffect)((function(){D===b.NF.DATA_TABLE&&N||!z.includes(b.NF.DATA_TABLE)||M("")}),[D,N,M,z]);var Y=(0,s.useMemo)((function(){return m.vF.logTraceUseMemo("DATA-PANEL - order layer status processing."),function(){return!!V.find((function(e){return e.queryStatus===v.RI.PROCESSING}))}}),[V]),K=(0,s.useCallback)((function(e){e&&M("")}),[M]),X=(0,s.useMemo)((function(){return m.vF.logTraceUseMemo("DATA-PANEL - memoLayersList",V),V.map((function(e){var t;return x(x({},e),{},{layerFeatures:U(e.layerPath),tooltip:W(null!==(t=e.layerName)&&void 0!==t?t:"",e.layerPath),mapFilteredIcon:G(e.layerPath)&&(0,w.jsx)(u.FilterAltIcon,{sx:{color:S.palette.geoViewColor.grey.main}})})}))}),[G,V]);return(0,w.jsx)(g.PE,{containerType:i,selectedLayerPath:P||"",layerList:X,onLayerListClicked:$,fullWidth:n,onGuideIsOpen:K,guideContentIds:["dataTable","dataTable.children.filterData","dataTable.children.sortingAndReordering","dataTable.children.keyboardNavigation"],children:T||Y()?(0,w.jsx)(u.Skeleton,{variant:"rounded",width:"100%",height:400,sx:{bgcolor:S.palette.grey[400]}}):!q()&&H()?(0,w.jsx)(w.Fragment,{children:V.map((function(e){return(0,w.jsx)(u.Box,{children:e.layerPath===P?(0,w.jsx)(d.A,{data:e,layerPath:e.layerPath,tableHeight:O}):null},e.layerPath)}))}):null})}},66630:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var r=function(e){return{dataPanel:{background:e.palette.geoViewColor.bgColor.main,paddingBottom:"1rem"},gridContainer:{paddingLeft:"1rem",paddingRight:"1rem"},selectedRows:{transition:"box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",fontWeight:400,fontSize:e.palette.geoViewFontSize.sm,linHeight:1.43,letterSpacing:"0.01071em",display:"flex",padding:"6px"},selectedRowsDirection:{display:"flex",flexDirection:"column"},tableCell:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden"},dataTableWrapper:{"& .MuiTableContainer-root":{borderRadius:"6px"},"& .MuiToolbar-root ":{borderRadius:"6px"}},filterMap:{"& .Mui-checked":{"& .MuiTouchRipple-root":{color:e.palette.action.active}},"& .MuiTouchRipple-root":{color:e.palette.geoViewColor.grey.dark[900]}},tableHeadCell:{"& .MuiCollapse-wrapperInner":{"& .MuiBox-root":{gridTemplateColumns:"1fr"}},"& .MuiInput-root":{fontSize:e.palette.geoViewFontSize.sm,"& .MuiSvgIcon-root":{width:"0.75em",height:"0.75em"}},"& .MuiBadge-root":{marginLeft:"0.5rem",">span":{width:"100%"},svg:{marginTop:"0.25rem",marginBottom:"0.25rem"},"& .keyboard-focused":{backgroundColor:"rgba(81, 91, 165, 0.08)",borderRadius:"50%",border:"1px solid black !important","> svg":{opacity:1}}}},dataTableInstructionsTitle:{fontSize:e.palette.geoViewFontSize.lg,fontWeight:"600",lineHeight:"1.5em"},dataTableInstructionsBody:{fontSize:e.palette.geoViewFontSize.sm},rightPanelContainer:{overflowY:"auto",color:e.palette.geoViewColor.textColor.main}}}},19001:(e,t,n)=>{"use strict";n.d(t,{A:()=>ie});var r=n(74887),o=n(80180),i=n(74780),a=n(1839),s=n(64417),l=n.n(s),c=n(30538),u=n(43331),d=n(44481),h=n.n(d),p=n(41218),f=n(64033),g=n(78185),m=n.n(g),y=n(41294),v=n.n(y),b=n(76853),w=n.n(b),A=n(13246),x=n.n(A),S=n(45816),C=n.n(S),E=n(4551),k=n.n(E),T=n(89192);m().extend(x()),m().extend(v()),m().extend(C()),m().extend(k());const _=(0,T.f)(["Your locale has not been found.","Either the locale key is not a supported one. Locales supported by dayjs are available here: https://github.com/iamkun/dayjs/tree/dev/src/locale","Or you forget to import the locale from 'dayjs/locale/{localeUsed}'","fallback on English locale"]),O={YY:"year",YYYY:{sectionType:"year",contentType:"digit",maxLength:4},M:{sectionType:"month",contentType:"digit",maxLength:2},MM:"month",MMM:{sectionType:"month",contentType:"letter"},MMMM:{sectionType:"month",contentType:"letter"},D:{sectionType:"day",contentType:"digit",maxLength:2},DD:"day",Do:{sectionType:"day",contentType:"digit-with-letter"},d:{sectionType:"weekDay",contentType:"digit",maxLength:2},dd:{sectionType:"weekDay",contentType:"letter"},ddd:{sectionType:"weekDay",contentType:"letter"},dddd:{sectionType:"weekDay",contentType:"letter"},A:"meridiem",a:"meridiem",H:{sectionType:"hours",contentType:"digit",maxLength:2},HH:"hours",h:{sectionType:"hours",contentType:"digit",maxLength:2},hh:"hours",m:{sectionType:"minutes",contentType:"digit",maxLength:2},mm:"minutes",s:{sectionType:"seconds",contentType:"digit",maxLength:2},ss:"seconds"},P={year:"YYYY",month:"MMMM",monthShort:"MMM",dayOfMonth:"D",dayOfMonthFull:"Do",weekday:"dddd",weekdayShort:"dd",hours24h:"HH",hours12h:"hh",meridiem:"A",minutes:"mm",seconds:"ss",fullDate:"ll",keyboardDate:"L",shortDate:"MMM D",normalDate:"D MMMM",normalDateWithWeekday:"ddd, MMM D",fullTime:"LT",fullTime12h:"hh:mm A",fullTime24h:"HH:mm",keyboardDateTime:"L LT",keyboardDateTime12h:"L hh:mm A",keyboardDateTime24h:"L HH:mm"},I=["Missing UTC plugin","To be able to use UTC or timezones, you have to enable the `utc` plugin","Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-utc"].join("\n"),M=["Missing timezone plugin","To be able to use timezones, you have to enable both the `utc` and the `timezone` plugin","Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-timezone"].join("\n");class L{constructor({locale:e,formats:t}={}){var n,r;this.isMUIAdapter=!0,this.isTimezoneCompatible=!0,this.lib="dayjs",this.dayjs=void 0,this.locale=void 0,this.formats=void 0,this.escapedCharacters={start:"[",end:"]"},this.formatTokenMap=O,this.setLocaleToValue=e=>{const t=this.getCurrentLocaleCode();return t===e.locale()?e:e.locale(t)},this.hasUTCPlugin=()=>void 0!==m().utc,this.hasTimezonePlugin=()=>void 0!==m().tz,this.isSame=(e,t,n)=>{const r=this.setTimezone(t,this.getTimezone(e));return e.format(n)===r.format(n)},this.cleanTimezone=e=>{switch(e){case"default":return;case"system":return m().tz.guess();default:return e}},this.createSystemDate=e=>{if(this.hasUTCPlugin()&&this.hasTimezonePlugin()){const t=m().tz.guess();return"UTC"!==t?m().tz(e,t):m()(e)}return m()(e)},this.createUTCDate=e=>{if(!this.hasUTCPlugin())throw new Error(I);return m().utc(e)},this.createTZDate=(e,t)=>{if(!this.hasUTCPlugin())throw new Error(I);if(!this.hasTimezonePlugin())throw new Error(M);const n=void 0!==e&&!e.endsWith("Z");return m()(e).tz(this.cleanTimezone(t),n)},this.getLocaleFormats=()=>{const e=m().Ls;let t=e[this.locale||"en"];return void 0===t&&(_(),t=e.en),t.formats},this.adjustOffset=e=>{if(!this.hasTimezonePlugin())return e;const t=this.getTimezone(e);if("UTC"!==t){const n=e.tz(this.cleanTimezone(t),!0);if((n.$offset??0)===(e.$offset??0))return e;e.$offset=n.$offset}return e},this.date=(e,t="default")=>{if(null===e)return null;let n;return n="UTC"===t?this.createUTCDate(e):"system"===t||"default"===t&&!this.hasTimezonePlugin()?this.createSystemDate(e):this.createTZDate(e,t),void 0===this.locale?n:n.locale(this.locale)},this.getInvalidDate=()=>m()(new Date("Invalid date")),this.getTimezone=e=>{if(this.hasTimezonePlugin()){const t=e.$x?.$timezone;if(t)return t}return this.hasUTCPlugin()&&e.isUTC()?"UTC":"system"},this.setTimezone=(e,t)=>{if(this.getTimezone(e)===t)return e;if("UTC"===t){if(!this.hasUTCPlugin())throw new Error(I);return e.utc()}if("system"===t)return e.local();if(!this.hasTimezonePlugin()){if("default"===t)return e;throw new Error(M)}return m().tz(e,this.cleanTimezone(t))},this.toJsDate=e=>e.toDate(),this.parse=(e,t)=>""===e?null:this.dayjs(e,t,this.locale,!0),this.getCurrentLocaleCode=()=>this.locale||"en",this.is12HourCycleInCurrentLocale=()=>/A|a/.test(this.getLocaleFormats().LT||""),this.expandFormat=e=>{const t=this.getLocaleFormats();return e.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,((e,n,r)=>{const o=r&&r.toUpperCase();return n||t[r]||t[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,((e,t,n)=>t||n.slice(1)))}))},this.isValid=e=>null!=e&&e.isValid(),this.format=(e,t)=>this.formatByString(e,this.formats[t]),this.formatByString=(e,t)=>this.dayjs(e).format(t),this.formatNumber=e=>e,this.isEqual=(e,t)=>null===e&&null===t||null!==e&&null!==t&&e.toDate().getTime()===t.toDate().getTime(),this.isSameYear=(e,t)=>this.isSame(e,t,"YYYY"),this.isSameMonth=(e,t)=>this.isSame(e,t,"YYYY-MM"),this.isSameDay=(e,t)=>this.isSame(e,t,"YYYY-MM-DD"),this.isSameHour=(e,t)=>e.isSame(t,"hour"),this.isAfter=(e,t)=>e>t,this.isAfterYear=(e,t)=>this.hasUTCPlugin()?!this.isSameYear(e,t)&&e.utc()>t.utc():e.isAfter(t,"year"),this.isAfterDay=(e,t)=>this.hasUTCPlugin()?!this.isSameDay(e,t)&&e.utc()>t.utc():e.isAfter(t,"day"),this.isBefore=(e,t)=>ethis.hasUTCPlugin()?!this.isSameYear(e,t)&&e.utc()this.hasUTCPlugin()?!this.isSameDay(e,t)&&e.utc()e>=t&&e<=n,this.startOfYear=e=>this.adjustOffset(e.startOf("year")),this.startOfMonth=e=>this.adjustOffset(e.startOf("month")),this.startOfWeek=e=>this.adjustOffset(e.startOf("week")),this.startOfDay=e=>this.adjustOffset(e.startOf("day")),this.endOfYear=e=>this.adjustOffset(e.endOf("year")),this.endOfMonth=e=>this.adjustOffset(e.endOf("month")),this.endOfWeek=e=>this.adjustOffset(e.endOf("week")),this.endOfDay=e=>this.adjustOffset(e.endOf("day")),this.addYears=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"year"):e.add(t,"year")),this.addMonths=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"month"):e.add(t,"month")),this.addWeeks=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"week"):e.add(t,"week")),this.addDays=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"day"):e.add(t,"day")),this.addHours=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"hour"):e.add(t,"hour")),this.addMinutes=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"minute"):e.add(t,"minute")),this.addSeconds=(e,t)=>this.adjustOffset(t<0?e.subtract(Math.abs(t),"second"):e.add(t,"second")),this.getYear=e=>e.year(),this.getMonth=e=>e.month(),this.getDate=e=>e.date(),this.getHours=e=>e.hour(),this.getMinutes=e=>e.minute(),this.getSeconds=e=>e.second(),this.getMilliseconds=e=>e.millisecond(),this.setYear=(e,t)=>this.adjustOffset(e.set("year",t)),this.setMonth=(e,t)=>this.adjustOffset(e.set("month",t)),this.setDate=(e,t)=>this.adjustOffset(e.set("date",t)),this.setHours=(e,t)=>this.adjustOffset(e.set("hour",t)),this.setMinutes=(e,t)=>this.adjustOffset(e.set("minute",t)),this.setSeconds=(e,t)=>this.adjustOffset(e.set("second",t)),this.setMilliseconds=(e,t)=>this.adjustOffset(e.set("millisecond",t)),this.getDaysInMonth=e=>e.daysInMonth(),this.getWeekArray=e=>{const t=this.setLocaleToValue(e),n=this.startOfWeek(this.startOfMonth(t)),r=this.endOfWeek(this.endOfMonth(t));let o=0,i=n;const a=[];for(;ie.week(),this.getYearRange=([e,t])=>{const n=this.startOfYear(e),r=this.endOfYear(t),o=[];let i=n;for(;this.isBefore(i,r);)o.push(i),i=this.addYears(i,1);return o},this.dayjs=(n=m(),(r=e)?(...e)=>n(...e).locale(r):n),this.locale=e,this.formats=(0,f.A)({},P,t),m().extend(w())}getDayOfWeek(e){return e.day()+1}}var R=n(80118);const j={actions:"Actions",and:"et",cancel:"Annuler",changeFilterMode:"Changer le mode de filtre",changeSearchMode:"Changer le mode de recherche",clearFilter:"Effacer le filtre",clearSearch:"Effacer la recherche",clearSelection:"Effacer la sélection",clearSort:"Effacer le tri",clickToCopy:"Cliquer pour copier",copy:"Copier",collapse:"Réduire",collapseAll:"Réduire tout",columnActions:"Actions de colonne",copiedToClipboard:"Copié dans le presse-papier",dropToGroupBy:"Déposer pour grouper par {column}",edit:"Editer",expand:"Développer",expandAll:"Tout développer",filterArrIncludes:"Inclure",filterArrIncludesAll:"Tout inclure",filterArrIncludesSome:"Inclure",filterBetween:"Entre",filterBetweenInclusive:"Entre inclus",filterByColumn:"Filtrer par {column}",filterContains:"Contient",filterEmpty:"Vide",filterEndsWith:"Se termine par",filterEquals:"Egale",filterEqualsString:"Egale",filterFuzzy:"Flou",filterGreaterThan:"Plus grand que",filterGreaterThanOrEqualTo:"Plus grand que ou égale à",filterInNumberRange:"Entre",filterIncludesString:"Contient",filterIncludesStringSensitive:"Contient",filterLessThan:"Plus petit que",filterLessThanOrEqualTo:"Plus petit que ou égale à",filterMode:"Mode filtre: {filterType}",filterNotEmpty:"Pas vide",filterNotEquals:"Pas égal",filterStartsWith:"Commence avec",filterWeakEquals:"Egale",filteringByColumn:"Filtrage par {column} - {filterType} {filterValue}",goToFirstPage:"Aller à la première page",goToLastPage:"Aller à la dernière page",goToNextPage:"Aller à la page suivante",goToPreviousPage:"Aller à la page précédente",grab:"Saisir",groupByColumn:"Grouper par {column}",groupedBy:"Groupé par ",hideAll:"Cacher tout",hideColumn:"Cacher colonne {column}",max:"Max",min:"Min",move:"Déplacer",noRecordsToDisplay:"Aucun enregistrement à afficher",noResultsFound:"Aucun résultat trouvé",of:"de",or:"ou",pin:"Attacher",pinToLeft:"Épingler à gauche",pinToRight:"Épingler à droite",resetColumnSize:"Réinitialiser la taille de la colonne",resetOrder:"Réinitialiser l'ordre",rowActions:"Actions de ligne",rowNumber:"#",rowNumbers:"Numéros de ligne",rowsPerPage:"Lignes par page",save:"Sauvegarder",search:"Rechercher",selectedCountOfRowCountRowsSelected:"{selectedCount} sur {rowCount} ligne(s)",select:"Sélectionner",showAll:"Afficher tous",showAllColumns:"Afficher toutes les colonnes",showHideColumns:"Afficher/Masquer les colonnes",showHideFilters:"Afficher/Masquer les filtres",showHideSearch:"Afficher/Masquer la recherche",sortByColumnAsc:"Trier par {column} croissant",sortByColumnDesc:"Trier par {column} décroissant",sortedByColumnAsc:"Trié par {column} croissant",sortedByColumnDesc:"Trié par {column} décroissant",thenBy:", puis par ",toggleDensity:"Changer la densité",toggleFullScreen:"Passer en plein écran",toggleSelectAll:"Basculer tout sélectionner",toggleSelectRow:"Basculer la sélection de ligne",toggleVisibility:"Basculer la visibilité",ungroupByColumn:"Dissocier par {column}",unpin:"Détacher",unpinAll:"Tout détacher"},F={actions:"Actions",and:"and",cancel:"Cancel",changeFilterMode:"Change filter mode",changeSearchMode:"Change search mode",clearFilter:"Clear filter",clearSearch:"Clear search",clearSelection:"Clear selection",clearSort:"Clear sort",clickToCopy:"Click to copy",copy:"Copy",collapse:"Collapse",collapseAll:"Collapse all",columnActions:"Column Actions",copiedToClipboard:"Copied to clipboard",dropToGroupBy:"Drop to group by {column}",edit:"Edit",expand:"Expand",expandAll:"Expand all",filterArrIncludes:"Includes",filterArrIncludesAll:"Includes all",filterArrIncludesSome:"Includes",filterBetween:"Between",filterBetweenInclusive:"Between Inclusive",filterByColumn:"Filter by {column}",filterContains:"Contains",filterEmpty:"Empty",filterEndsWith:"Ends With",filterEquals:"Equals",filterEqualsString:"Equals",filterFuzzy:"Fuzzy",filterGreaterThan:"Greater Than",filterGreaterThanOrEqualTo:"Greater Than Or Equal To",filterInNumberRange:"Between",filterIncludesString:"Contains",filterIncludesStringSensitive:"Contains",filterLessThan:"Less Than",filterLessThanOrEqualTo:"Less Than Or Equal To",filterMode:"Filter Mode: {filterType}",filterNotEmpty:"Not Empty",filterNotEquals:"Not Equals",filterStartsWith:"Starts With",filterWeakEquals:"Equals",filteringByColumn:"Filtering by {column} - {filterType} {filterValue}",goToFirstPage:"Go to first page",goToLastPage:"Go to last page",goToNextPage:"Go to next page",goToPreviousPage:"Go to previous page",grab:"Grab",groupByColumn:"Group by {column}",groupedBy:"Grouped by ",hideAll:"Hide all",hideColumn:"Hide {column} column",max:"Max",min:"Min",move:"Move",noRecordsToDisplay:"No records to display",noResultsFound:"No results found",of:"of",or:"or",pin:"Pin",pinToLeft:"Pin to left",pinToRight:"Pin to right",resetColumnSize:"Reset column size",resetOrder:"Reset order",rowActions:"Row Actions",rowNumber:"#",rowNumbers:"Row Numbers",rowsPerPage:"Rows per page",save:"Save",search:"Search",selectedCountOfRowCountRowsSelected:"{selectedCount} of {rowCount} row(s) selected",select:"Select",showAll:"Show all",showAllColumns:"Show all columns",showHideColumns:"Show/Hide columns",showHideFilters:"Show/Hide filters",showHideSearch:"Show/Hide search",sortByColumnAsc:"Sort by {column} ascending",sortByColumnDesc:"Sort by {column} descending",sortedByColumnAsc:"Sorted by {column} ascending",sortedByColumnDesc:"Sorted by {column} descending",thenBy:", then by ",toggleDensity:"Toggle density",toggleFullScreen:"Toggle full screen",toggleSelectAll:"Toggle select all",toggleSelectRow:"Toggle select row",toggleVisibility:"Toggle visibility",ungroupByColumn:"Ungroup by {column}",unpin:"Unpin",unpinAll:"Unpin all"};var D=n(72666),N=n(27127),z=n(93546),B=n(5182),V=n(43123),$=n(76467),G=n(22264),U=n(99937),W=n(42982),q=n(66700),H=n(35001),Y=n(66630),K=n(62678),X=n(22311),Z=n(21178),J=n(54502),Q=n(81556),ee=n(79378),te=n(97282);function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function re(e){for(var t=1;t td":{backgroundColor:e.palette.geoViewColor.bgColor.darken(.1)},"& tr:hover > td":{backgroundColor:e.palette.secondary.light},"& .Mui-selected > td":{backgroundColor:"".concat(e.palette.secondary.light," !important")}}}}});(0,c.useEffect)((function(){q.vF.logTraceUseEffect("DATA-TABLE - sorting",C);var e=Oe.getRowCount();try{var t,n;if(e>0)null===(t=A.current)||void 0===t||null===(n=t.scrollToIndex)||void 0===n||n.call(t,0)}catch(e){q.vF.logError("Data table error on sorting action",e)}}),[C]);var Pe=(0,c.useCallback)((function(e){q.vF.logTraceUseEffect("DATA-TABLE - buildFilterList");var t=Oe.getState();return e.length?e.map((function(e){var n,o=e.value,i=e.id;if(Array.isArray(o)){var a="",s=""===o[0]?void 0:Number(o[0]),l=""===o[1]?void 0:Number(o[1]),c="betweenInclusive"===(null==t?void 0:t.columnFilterFns[i])?"=":"";return s&&l?a="".concat(i," >").concat(c," ").concat(s," and ").concat(i," <").concat(c," ").concat(l):s?a="".concat(i," >").concat(c," ").concat(s):l&&(a="".concat(i," <").concat(c," ").concat(l)),a}if(!Number.isNaN(Number(o)))return"".concat(i," ").concat(Q.LK[null==t?void 0:t.columnFilterFns[i]]," ").concat(Number(o));if("empty"===(null==t?void 0:t.columnFilterFns[i]))return"".concat(i," is null");if("notEmpty"===(null==t?void 0:t.columnFilterFns[i]))return"".concat(i," is not null");if("object"===(0,r.A)(o)&&o){var u=(null==t?void 0:t.columnFilterFns[i])||"equals",d=Q.Ax[u],h=U.P.applyInputDateFormat("".concat(o.toISOString().slice(0,-5),"Z")).slice(0,-1);return"".concat(i," ").concat(d.replace("value",h))}var p=null!==(n=null==t?void 0:t.columnFilterFns[i])&&void 0!==n?n:"contains",f=Q.Fz[p];return"".concat(f.replace("filterId",i).replace("value",o))})):[""]}),[]),Ie=h()((function(e){var t=Pe(e).filter((function(e){return e.length})).join(" and ");oe(t)}),1e3),Me=(0,c.useCallback)((function(e){return Ie(e)}),[null===(t=se[i])||void 0===t?void 0:t.mapFilteredRecord]);return(0,c.useEffect)((function(){q.vF.logTraceUseEffect("DATA-TABLE - columnFilters",me),me&&se[i].mapFilteredRecord&&Me(me)}),[me]),(0,c.useEffect)((function(){q.vF.logTraceUseEffect("DATA-TABLE - mapFilteredRecord",se[i].mapFilteredRecord),Ie(me)}),[se[i].mapFilteredRecord]),(0,H.iI)({data:n,columnFilters:me,globalFilter:be,layerPath:i,tableInstance:Oe}),(0,te.jsxs)(z.Box,{sx:m.dataTableWrapper,children:[(0,te.jsx)(R.$,{dateAdapter:L,adapterLocale:ae,children:(0,te.jsx)(z.MaterialReactTable,{table:Oe})}),(0,te.jsx)(fe,{})]})}const ie=(0,c.memo)(oe)},62678:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(1839),o=n(30538),i=n(43331),a=n(68312),s=n(93546),l=n(66700),c=n(97282);const u=function(e){var t=e.rows,n=e.columns,u=e.children;l.vF.logTraceRender("components/data-table/export-button");var d=(0,i.useTranslation)().t,h=(0,o.useState)(null),p=(0,r.A)(h,2),f=p[0],g=p[1],m=Boolean(f),y=(0,o.useCallback)((function(e){l.vF.logTraceUseCallback("DATA-TABLE - EXPORT BUTTON - handleClick"),g(e.currentTarget)}),[]),v=(0,o.useCallback)((function(){l.vF.logTraceUseCallback("DATA-TABLE - EXPORT BUTTON - handleClose"),g(null)}),[]),b=(0,o.useMemo)((function(){return l.vF.logTraceUseMemo("DATA-TABLE - EXPORT BUTTON - getCsvOptions",n),function(){return{fieldSeparator:",",quoteStrings:'"',decimalSeparator:".",showLabels:!0,useBom:!0,useKeysAsHeaders:!1,headers:n.map((function(e){return e.id}))}}}),[n]),w=(0,o.useCallback)((function(){l.vF.logTraceUseCallback("DATA-TABLE - EXPORT BUTTON - handleExportData");var e=t.map((function(e){return Object.keys(e).reduce((function(t,n){var r,o;return t[n]=null!==(r=null===(o=e[n])||void 0===o?void 0:o.value)&&void 0!==r?r:"",t}),{})}));new a.ExportToCsv(b()).generateCsv(e)}),[b,t]);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(s.IconButton,{onClick:y,className:"buttonOutline",children:(0,c.jsx)(s.Tooltip,{title:d("dataTable.exportBtn"),placement:"bottom",enterDelay:100,children:(0,c.jsx)(s.DownloadIcon,{})})}),(0,c.jsxs)(s.Menu,{anchorEl:f,open:m,onClose:v,children:[(0,c.jsx)(s.MenuItem,{onClick:w,children:d("dataTable.downloadAsCSV")}),u]})]})}},21178:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(43331),o=n(39126),i=n(72666),a=n(93546),s=n(66630),l=n(43123),c=n(66700),u=n(97282);const d=function(e){var t=e.layerPath,n=e.isGlobalFilterOn;c.vF.logTraceRender("components/data-table/filter-map");var d=(0,i.A)(),h=(0,s.S)(d),p=(0,l._M)(),f=(0,l.eQ)().setMapFilteredEntry,g=(0,r.useTranslation)().t;return(0,u.jsx)(a.Tooltip,{title:p[t]?g("dataTable.stopFilterMap"):g("dataTable.filterMap"),children:(0,u.jsx)(o.A,{size:"medium",onChange:function(){var e;return f(null===(e=!p[t].mapFilteredRecord)||void 0===e||e,t)},checked:!!p[t].mapFilteredRecord,sx:h.filterMap,disabled:n})})}},35001:(e,t,n)=>{"use strict";n.d(t,{bc:()=>p,j8:()=>s,bv:()=>f,iI:()=>c});var r=n(1839),o=n(30538),i=n(43123),a=n(66700);function s(e){var t=e.layerPath,n=(0,i._M)(),s=(0,i.eQ)().setColumnFiltersEntry,l=(0,o.useState)(n[t].columnFiltersRecord||[]),c=(0,r.A)(l,2),u=c[0],d=c[1];return(0,o.useEffect)((function(){a.vF.logTraceUseEffect("USEFILTERROWS - columnFilters",u),s(u,t)}),[u]),{columnFilters:u,setColumnFilters:d}}var l=n(43331);function c(e){var t=e.data,n=e.columnFilters,r=e.globalFilter,s=e.layerPath,c=e.tableInstance,u=(0,l.useTranslation)().t,d=(0,i._M)(),h=(0,i.eQ)(),p=h.setToolbarRowSelectedMessageEntry,f=h.setRowsFilteredEntry;(0,o.useEffect)((function(){var e,n;a.vF.logTraceUseEffect("USETOOLBARACTIONMESSAGE - rowSelection");var r,o,i=null!==(e=d[s].toolbarRowSelectedMessageRecord)&&void 0!==e?e:"";c&&c.getFilteredRowModel().rows.length!==(null===(n=t.features)||void 0===n?void 0:n.length)?i=u("dataTable.rowsFiltered").replace("{rowsFiltered}",c.getFilteredRowModel().rows.length.toString()).replace("{totalRows}",null!==(r=null===(o=t.features)||void 0===o?void 0:o.length.toString())&&void 0!==r?r:""):i="";p(i,s)}),[t.features,r]),(0,o.useEffect)((function(){var e;a.vF.logTraceUseEffect("USETOOLBARACTIONMESSAGE - columnFilters",n);var r=null!==(e=d[s].toolbarRowSelectedMessageRecord)&&void 0!==e?e:"",o=0;if(c){var i,l,h,g=c.getFilteredRowModel();if(g.rows.length!==(null==t||null===(i=t.features)||void 0===i?void 0:i.length))o=g.rows.length,r=u("dataTable.rowsFiltered").replace("{rowsFiltered}",g.rows.length.toString()).replace("{totalRows}",null!==(l=null==t||null===(h=t.features)||void 0===h?void 0:h.length.toString())&&void 0!==l?l:"");else r="",o=0;f(o,s)}p(r,s)}),[n,t.features,r])}var u=n(74780);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t{"use strict";n.d(t,{A:()=>h});var r=n(30538),o=n(43331),i=n(17567),a=n(24438),s=n(62767),l=n(4180),c=n(93546),u=n(5182),d=n(97282);const h=function(e){var t=e.features,n=e.layerPath,h=(0,o.useTranslation)().t,p=(0,u.U6)().transformPoints,f=(0,r.useCallback)((function(e){var t={};return e instanceof i.Ay?t={type:"Polygon",coordinates:e.getCoordinates().map((function(e){return e.map((function(e){return p([e],4326)[0]}))}))}:e instanceof a.A?t={type:"LineString",coordinates:e.getCoordinates().map((function(e){return p([e],4326)[0]}))}:e instanceof s.A?t={type:"Point",coordinates:p([e.getCoordinates()],4326)[0]}:e instanceof l.A&&(t={type:"MultiPoint",coordinates:e.getCoordinates().map((function(e){return p([e],4326)[0]}))}),t}),[p]),g=(0,r.useCallback)((function(){var e=t.map((function(e){var t=e.geometry,n=e.fieldInfo;return{type:"Feature",geometry:f(null==t?void 0:t.getGeometry()),properties:n}}));return JSON.stringify({type:"FeatureCollection",features:e},null,2)}),[f,t]),m=(0,r.useCallback)((function(e,t){var n=URL.createObjectURL(e),r=document.createElement("a");r.href=n,r.download=t,r.click(),URL.revokeObjectURL(n)}),[]),y=(0,r.useCallback)((function(){var e=g(),t=new Blob([e],{type:"text/json"});m(t,"table-".concat(n,".json"))}),[m,g,n]);return(0,d.jsx)(c.MenuItem,{onClick:y,children:h("dataTable.jsonExportBtn")})}},33882:(e,t,n)=>{"use strict";n.d(t,{r:()=>T});var r=n(74780),o=n(1839),i=n(30538),a=n(43331),s=n(72666),l=n(93546),c=n(56619),u=n(5182),d=n(66700),h=n(54502),p=n(48434),f=n(80180),g=n(64417),m=n.n(g),y=n(41218),v=n(42982),b=n(12200),w=n(97282);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function x(e){for(var t=1;t1?"s":"")}),[f]),Z=(0,i.useMemo)((function(){return d.vF.logTraceUseMemo("DETAILS-PANEL - memoLayersList",A,v),A.map((function(e){return v.find((function(t){return t.layerPath===e}))})).filter((function(e){return e})).map((function(e){var t,n,r;return{layerName:null!==(t=e.layerName)&&void 0!==t?t:"",layerPath:e.layerPath,layerStatus:e.layerStatus,queryStatus:e.queryStatus,numOffeatures:null!==(n=null===(r=e.features)||void 0===r?void 0:r.length)&&void 0!==n?n:0,layerFeatures:X(e),tooltip:"".concat(e.layerName,", ").concat(X(e))}}))}),[A,v,X]),J=(0,i.useMemo)((function(){return d.vF.logTraceUseMemo("DETAILS-PANEL - memoLayerSelectedItem",Z,y),Z.find((function(e){return e.layerPath===y}))}),[Z,y]),Q=(0,i.useMemo)((function(){return d.vF.logTraceUseMemo("DETAILS-PANEL - memoSelectedLayerData",v,y),v.find((function(e){return e.layerPath===y}))}),[v,y]),ee=(0,i.useMemo)((function(){return d.vF.logTraceUseMemo("DETAILS-PANEL - memoSelectedLayerDataFeatures",null==Q?void 0:Q.features),null==Q?void 0:Q.features}),[null==Q?void 0:Q.features]),te=(0,i.useCallback)((function(e,t){var n,r,o;(d.vF.logTraceUseCallback("DETAILS-PANEL - updateFeatureSelected"),null!=t&&t.features)&&(r=null==t||null===(o=t.features)||void 0===o?void 0:o[H.current]);r&&!Y(r)&&M(r);var i=null==Q||null===(n=Q.features)||void 0===n?void 0:n[e];i&&I(i),F(e)}),[Q,Y,M,I]);(0,i.useEffect)((function(){d.vF.logTraceUseEffect("DETAILS-PANEL - memoLayersList changed",Z),M("all"),Z.length||T("")}),[Z,T,M]),(0,i.useEffect)((function(){d.vF.logTraceUseEffect("DETAILS-PANEL - memoSelectedLayerDataFeatures changed",Z,ee),K(q.current),K(ee),ee&&ee.length&&I(ee[j])}),[Z,ee,j,I,M,K]),(0,i.useEffect)((function(){d.vF.logTraceUseEffect("DETAILS-PANEL - update layer data bypass",y),O(y)}),[y,O]),(0,i.useEffect)((function(){if(d.vF.logTraceUseEffect("DETAILS-PANEL - check selection",J),(!J||"processed"===J.queryStatus||"error"===J.queryStatus)&&""!==y)if(null!=J&&J.numOffeatures)d.vF.logDebug("DETAILS-PANEL","keep selection",J),O(J.layerPath);else{var e=Z.find((function(e){return Z.find((function(t){return e.layerPath===t.layerPath&&t.numOffeatures}))}));e?(d.vF.logDebug("DETAILS-PANEL","select another",J,e.layerPath),T(e.layerPath)):d.vF.logDebug("DETAILS-PANEL","select none",J)}}),[J,Z]);var ne=(0,i.useCallback)((function(e){d.vF.logTraceUseCallback("DETAILS PANEL - handleFeatureNavigateChange",j),H.current=j,te(j+e,Q)}),[j,Q,te]),re=(0,i.useCallback)((function(e){d.vF.logTraceUseCallback("DETAILS-PANEL - handleLayerChange",e.layerPath),T(e.layerPath)}),[T]),oe=function(){var e;W.current=v.find((function(e){return e.layerPath===z})),q.current=null===(e=W.current)||void 0===e?void 0:e.features,H.current=j,F(0)};G!==Z&&(U(Z),oe()),z!==y&&(B(y),oe());var ie=(0,i.useCallback)((function(e){d.vF.logTraceUseCallback("DETAILS PANEL - handleGuideIsOpen"),e&&T("")}),[T]);(0,i.useEffect)((function(){if(d.vF.logTraceUseEffect("DETAILS-PANEL- mapClickCoordinates",x),x&&null!=Z&&Z.length&&!y.length){var e,t=Z.find((function(e){return!!e.numOffeatures}));T(null!==(e=null==t?void 0:t.layerPath)&&void 0!==e?e:"")}}),[x,Z]);var ae=(0,i.useMemo)((function(){return d.vF.logTraceUseMemo("DETAILS-PANEL - order layer status processing."),function(){return!(null==v||!v.every((function(e){return e.queryStatus===C.RI.PROCESSING})))}}),[v]);return(0,w.jsx)(h.PE,{selectedLayerPath:y||"",layerList:Z,onLayerListClicked:function(e){return re(e)},fullWidth:n,onGuideIsOpen:ie,guideContentIds:["details"],children:ae()?(0,w.jsx)(l.Skeleton,{variant:"rounded",width:"100%",height:500,sx:{bgcolor:g.palette.grey[400]}}):ee&&ee.length>0?(0,w.jsxs)(l.Box,{sx:n?m.rightPanelContainer:k({},m.rightPanelContainer),children:[(0,w.jsxs)(l.Grid,{container:!0,sx:m.rightPanelBtnHolder,children:[(0,w.jsx)(l.Grid,{item:!0,xs:6,children:(0,w.jsxs)(l.Box,{style:{marginLeft:"1.375rem"},children:[f("details.featureDetailsTitle").replace("{count}","".concat(j+1)).replace("{total}","".concat(null==ee?void 0:ee.length)),(0,w.jsx)(l.IconButton,{sx:(0,r.A)({marginLeft:"1.25rem"},g.breakpoints.down("sm"),{display:"none"}),"aria-label":"clear-all-features",tooltip:"details.clearAllfeatures",tooltipPlacement:"top",onClick:function(){return M("all"),_("all"),void I(null==Q||null===(e=Q.features)||void 0===e?void 0:e[j]);var e},className:"buttonOutline",disabled:0===b.length,children:(0,w.jsx)(l.LayersClearOutlinedIcon,{})})]})}),(0,w.jsx)(l.Grid,{item:!0,xs:6,children:(0,w.jsxs)(l.Box,{sx:{textAlign:"right",marginRight:"1.625rem"},children:[(0,w.jsx)(l.IconButton,{"aria-label":"backward",tooltip:"details.previousFeatureBtn",tooltipPlacement:"top",onClick:function(){return ne(-1)},disabled:j<=0,className:"buttonOutline",children:(0,w.jsx)(l.ArrowBackIosOutlinedIcon,{})}),(0,w.jsx)(l.IconButton,{sx:{marginLeft:"1.25rem"},"aria-label":"forward",tooltip:"details.nextFeatureBtn",tooltipPlacement:"top",onClick:function(){return ne(1)},disabled:!(null!=Q&&Q.features)||j+1>=Q.features.length,className:"buttonOutline",children:(0,w.jsx)(l.ArrowForwardIosOutlinedIcon,{})})]})})]}),(0,w.jsx)(S,{features:null==Q?void 0:Q.features,currentFeatureIndex:j})]}):null})}},48434:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var r=function(e){return{detailsContainer:{background:e.palette.geoViewColor.bgColor.main,paddingBottom:"1rem"},detailsInstructionsTitle:{fontSize:e.palette.geoViewFontSize.lg,fontWeight:"600",lineHeight:"1.5em"},detailsInstructionsBody:{fontSize:e.palette.geoViewFontSize.default},panelHeaders:{fontSize:e.palette.geoViewFontSize.lg,fontWeight:"600"},rightPanelContainer:{color:e.palette.geoViewColor.textColor.main},rightPanelBtnHolder:{marginTop:"20px",paddingBottom:"9px",boxShadow:"0px 12px 9px -13px ".concat(e.palette.geoViewColor.bgColor.dark[200])},featureInfoListContainer:{paddingLeft:"25px",paddingRight:"25px",paddingBottom:"25px",overflowY:"auto",overflowX:"hidden"},featureDetailListContainer:{overflowY:"auto",overflowX:"hidden"},selectFeatureCheckbox:{color:e.palette.geoViewColor.primary.main,"&.Mui-checked":{color:e.palette.geoViewColor.primary.main}},featureInfoItemValue:{marginRight:0,wordBreak:"break-word",overflow:"hidden",textOverflow:"ellipsis"},boxContainerFeatureInfo:{wordWrap:"break-word",fontSize:e.palette.geoViewFontSize.default,lineHeight:"19px"},flexBoxAlignCenter:{display:"flex",flexDirection:"row",alignItems:"center"},featureDetailModal:{"& .MuiDialog-container":{"& .MuiPaper-root":{minWidth:"40rem"}}}}}},12200:(e,t,n)=>{"use strict";n.d(t,{P:()=>Mt});var r=n(74780),o=n(30538),i=n(43331),a=n(72666);const s="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",l="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",c=(e,t)=>{for(const n in t)e[n]=t[n];return e},u="numeric",d="ascii",h="alpha",p="asciinumeric",f="alphanumeric",g="domain",m="emoji",y="scheme",v="slashscheme",b="whitespace";function w(e,t){return e in t||(t[e]=[]),t[e]}function A(e,t,n){t[u]&&(t[p]=!0,t[f]=!0),t[d]&&(t[p]=!0,t[h]=!0),t[p]&&(t[f]=!0),t[h]&&(t[f]=!0),t[f]&&(t[g]=!0),t[m]&&(t[g]=!0);for(const r in t){const t=w(r,n);t.indexOf(e)<0&&t.push(e)}}function x(e){void 0===e&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}x.groups={},x.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let n=0;n=0&&(n[r]=!0);return n}(a.t,r),n);A(i,e,r)}else n&&A(i,n,r);a.t=i}return o.j[e]=a,a}};const S=(e,t,n,r,o)=>e.ta(t,n,r,o),C=(e,t,n,r,o)=>e.tr(t,n,r,o),E=(e,t,n,r,o)=>e.ts(t,n,r,o),k=(e,t,n,r,o)=>e.tt(t,n,r,o),T="WORD",_="UWORD",O="LOCALHOST",P="TLD",I="UTLD",M="SCHEME",L="SLASH_SCHEME",R="NUM",j="WS",F="NL",D="OPENBRACE",N="CLOSEBRACE",z="OPENBRACKET",B="CLOSEBRACKET",V="OPENPAREN",$="CLOSEPAREN",G="OPENANGLEBRACKET",U="CLOSEANGLEBRACKET",W="FULLWIDTHLEFTPAREN",q="FULLWIDTHRIGHTPAREN",H="LEFTCORNERBRACKET",Y="RIGHTCORNERBRACKET",K="LEFTWHITECORNERBRACKET",X="RIGHTWHITECORNERBRACKET",Z="FULLWIDTHLESSTHAN",J="FULLWIDTHGREATERTHAN",Q="AMPERSAND",ee="APOSTROPHE",te="ASTERISK",ne="AT",re="BACKSLASH",oe="BACKTICK",ie="CARET",ae="COLON",se="COMMA",le="DOLLAR",ce="DOT",ue="EQUALS",de="EXCLAMATION",he="HYPHEN",pe="PERCENT",fe="PIPE",ge="PLUS",me="POUND",ye="QUERY",ve="QUOTE",be="SEMI",we="SLASH",Ae="TILDE",xe="UNDERSCORE",Se="EMOJI",Ce="SYM";var Ee=Object.freeze({__proto__:null,WORD:T,UWORD:_,LOCALHOST:O,TLD:P,UTLD:I,SCHEME:M,SLASH_SCHEME:L,NUM:R,WS:j,NL:F,OPENBRACE:D,CLOSEBRACE:N,OPENBRACKET:z,CLOSEBRACKET:B,OPENPAREN:V,CLOSEPAREN:$,OPENANGLEBRACKET:G,CLOSEANGLEBRACKET:U,FULLWIDTHLEFTPAREN:W,FULLWIDTHRIGHTPAREN:q,LEFTCORNERBRACKET:H,RIGHTCORNERBRACKET:Y,LEFTWHITECORNERBRACKET:K,RIGHTWHITECORNERBRACKET:X,FULLWIDTHLESSTHAN:Z,FULLWIDTHGREATERTHAN:J,AMPERSAND:Q,APOSTROPHE:ee,ASTERISK:te,AT:ne,BACKSLASH:re,BACKTICK:oe,CARET:ie,COLON:ae,COMMA:se,DOLLAR:le,DOT:ce,EQUALS:ue,EXCLAMATION:de,HYPHEN:he,PERCENT:pe,PIPE:fe,PLUS:ge,POUND:me,QUERY:ye,QUOTE:ve,SEMI:be,SLASH:we,TILDE:Ae,UNDERSCORE:xe,EMOJI:Se,SYM:Ce});const ke=/[a-z]/,Te=/\p{L}/u,_e=/\p{Emoji}/u,Oe=/\d/,Pe=/\s/;const Ie="\n",Me="️",Le="‍";let Re=null,je=null;function Fe(e,t,n,r,o){let i;const a=t.length;for(let n=0;n=0;)o++;if(o>0){t.push(n.join(""));for(let t=parseInt(e.substring(r,r+o),10);t>0;t--)n.pop();r+=o}else n.push(e[r]),r++}return t}const Ne={defaultProtocol:"http",events:null,format:Be,formatHref:Be,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function ze(e,t){void 0===t&&(t=null);let n=c({},Ne);e&&(n=c(n,e instanceof ze?e.o:e));const r=n.ignoreTags,o=[];for(let e=0;ee,check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const r=null!=t;let o=this.o[e];return o?("object"==typeof o?(o=n.t in o?o[n.t]:Ne[e],"function"==typeof o&&r&&(o=o(t,n))):"function"==typeof o&&r&&(o=o(t,n.t,n)),o):o},getObj(e,t,n){let r=this.o[e];return"function"==typeof r&&null!=t&&(r=r(t,n.t,n)),r},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}};function Ve(e,t){this.t="token",this.v=e,this.tk=t}function $e(e,t){class n extends Ve{constructor(t,n){super(t,n),this.t=e}}for(const e in t)n.prototype[e]=t[e];return n.t=e,n}Ve.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),r=e.get("format",t,this);return n&&r.length>n?r.substring(0,n)+"…":r},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e){return void 0===e&&(e=Ne.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),r=e.get("formatHref",n,this),o=e.get("tagName",n,t),i=this.toFormattedString(e),a={},s=e.get("className",n,t),l=e.get("target",n,t),u=e.get("rel",n,t),d=e.getObj("attributes",n,t),h=e.getObj("events",n,t);return a.href=r,s&&(a.class=s),l&&(a.target=l),u&&(a.rel=u),d&&c(a,d),{tagName:o,attributes:a,content:i,eventListeners:h}}};const Ge=$e("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Ue=$e("text"),We=$e("nl"),qe=$e("url",{isLink:!0,toHref(e){return void 0===e&&(e=Ne.defaultProtocol),this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==O&&e[1].t===ae}});const He=e=>new x(e);function Ye(e,t,n){const r=n[0].s,o=n[n.length-1].e;return new e(t.slice(r,o),n)}"undefined"!=typeof console&&console&&console.warn;const Ke={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Xe(){Ke.scanner=function(e){void 0===e&&(e=[]);const t={};x.groups=t;const n=new x;null==Re&&(Re=De(s)),null==je&&(je=De(l)),k(n,"'",ee),k(n,"{",D),k(n,"}",N),k(n,"[",z),k(n,"]",B),k(n,"(",V),k(n,")",$),k(n,"<",G),k(n,">",U),k(n,"(",W),k(n,")",q),k(n,"「",H),k(n,"」",Y),k(n,"『",K),k(n,"』",X),k(n,"<",Z),k(n,">",J),k(n,"&",Q),k(n,"*",te),k(n,"@",ne),k(n,"`",oe),k(n,"^",ie),k(n,":",ae),k(n,",",se),k(n,"$",le),k(n,".",ce),k(n,"=",ue),k(n,"!",de),k(n,"-",he),k(n,"%",pe),k(n,"|",fe),k(n,"+",ge),k(n,"#",me),k(n,"?",ye),k(n,'"',ve),k(n,"/",we),k(n,";",be),k(n,"~",Ae),k(n,"_",xe),k(n,"\\",re);const r=C(n,Oe,R,{[u]:!0});C(r,Oe,r);const o=C(n,ke,T,{[d]:!0});C(o,ke,o);const i=C(n,Te,_,{[h]:!0});C(i,ke),C(i,Te,i);const a=C(n,Pe,j,{[b]:!0});k(n,Ie,F,{[b]:!0}),k(a,Ie),C(a,Pe,a);const f=C(n,_e,Se,{[m]:!0});C(f,_e,f),k(f,Me,f);const w=k(f,Le);C(w,_e,f);const S=[[ke,o]],Ne=[[ke,null],[Te,i]];for(let e=0;ee[0]>t[0]?1:-1));for(let t=0;t=0?o[g]=!0:ke.test(r)?Oe.test(r)?o[p]=!0:o[d]=!0:o[u]=!0,E(n,r,r,o)}return E(n,"localhost",O,{ascii:!0}),n.jd=new x(Ce),{start:n,tokens:c({groups:t},Ee)}}(Ke.customSchemes);for(let e=0;e=0&&h++,o++,u++;if(h<0)o-=u,o0&&(i.push(Ye(Ue,t,a)),a=[]),o-=h,u-=h;const e=d.t,r=n.slice(o-u,o);i.push(Ye(e,t,r))}}return a.length>0&&i.push(Ye(Ue,t,a)),i}(Ke.parser.start,e,function(e,t){const n=function(e){const t=[],n=e.length;let r=0;for(;r56319||r+1===n||(o=e.charCodeAt(r+1))<56320||o>57343?e[r]:e.slice(r,r+2);t.push(a),r+=a.length}return t}(t.replace(/[A-Z]/g,(e=>e.toLowerCase()))),r=n.length,o=[];let i=0,a=0;for(;a=0&&(d+=n[a].length,h++),c+=n[a].length,i+=n[a].length,a++;i-=d,a-=h,c-=d,o.push({t:u.t,v:t.slice(i-c,i),s:i-c,e:i})}return o}(Ke.scanner.start,e))}var Je={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"'},Qe=/^#[xX]([A-Fa-f0-9]+)$/,et=/^#([0-9]+)$/,tt=/^([A-Za-z0-9]+)$/,nt=function(){function e(e){this.named=e}return e.prototype.parse=function(e){if(e){var t=e.match(Qe);return t?String.fromCharCode(parseInt(t[1],16)):(t=e.match(et))?String.fromCharCode(parseInt(t[1],10)):(t=e.match(tt))?this.named[t[1]]||"&"+t[1]+";":void 0}},e}(),rt=/[\t\n\f ]/,ot=/[A-Za-z]/,it=/\r\n?/g;function at(e){return rt.test(e)}function st(e){return ot.test(e)}var lt=function(){function e(e,t,n){void 0===n&&(n="precompile"),this.delegate=e,this.entityParser=t,this.mode=n,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var e=this.peek();if("<"!==e||this.isIgnoredEndTag()){if("precompile"===this.mode&&"\n"===e){var t=this.tagNameBuffer.toLowerCase();"pre"!==t&&"textarea"!==t||this.consume()}this.transitionTo("data"),this.delegate.beginData()}else this.transitionTo("tagOpen"),this.markTagStart(),this.consume()},data:function(){var e=this.peek(),t=this.tagNameBuffer;"<"!==e||this.isIgnoredEndTag()?"&"===e&&"script"!==t&&"style"!==t?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(e)):(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume())},tagOpen:function(){var e=this.consume();"!"===e?this.transitionTo("markupDeclarationOpen"):"/"===e?this.transitionTo("endTagOpen"):("@"===e||":"===e||st(e))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(e))},markupDeclarationOpen:function(){var e=this.consume();"-"===e&&"-"===this.peek()?(this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment()):"DOCTYPE"===e.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase()&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())},doctype:function(){at(this.consume())&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var e=this.consume();at(e)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase()))},doctypeName:function(){var e=this.consume();at(e)?this.transitionTo("afterDoctypeName"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(e.toLowerCase())},afterDoctypeName:function(){var e=this.consume();if(!at(e))if(">"===e)this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var t=e.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),n="PUBLIC"===t.toUpperCase(),r="SYSTEM"===t.toUpperCase();(n||r)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),n?this.transitionTo("afterDoctypePublicKeyword"):r&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var e=this.peek();at(e)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):'"'===e?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):"'"===e?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):">"===e&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var e=this.consume();'"'===e?this.transitionTo("afterDoctypePublicIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},doctypePublicIdentifierSingleQuoted:function(){var e=this.consume();"'"===e?this.transitionTo("afterDoctypePublicIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(e)},afterDoctypePublicIdentifier:function(){var e=this.consume();at(e)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===e?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===e&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var e=this.consume();at(e)||(">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):'"'===e?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):"'"===e&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var e=this.consume();'"'===e?this.transitionTo("afterDoctypeSystemIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},doctypeSystemIdentifierSingleQuoted:function(){var e=this.consume();"'"===e?this.transitionTo("afterDoctypeSystemIdentifier"):">"===e?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(e)},afterDoctypeSystemIdentifier:function(){var e=this.consume();at(e)||">"===e&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var e=this.consume();"-"===e?this.transitionTo("commentStartDash"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(e),this.transitionTo("comment"))},commentStartDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var e=this.consume();"-"===e?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(e)},commentEndDash:function(){var e=this.consume();"-"===e?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+e),this.transitionTo("comment"))},commentEnd:function(){var e=this.consume();">"===e?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+e),this.transitionTo("comment"))},tagName:function(){var e=this.consume();at(e)?this.transitionTo("beforeAttributeName"):"/"===e?this.transitionTo("selfClosingStartTag"):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(e)},endTagName:function(){var e=this.consume();at(e)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):"/"===e?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):">"===e?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(e)},beforeAttributeName:function(){var e=this.peek();at(e)?this.consume():"/"===e?(this.transitionTo("selfClosingStartTag"),this.consume()):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):"="===e?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var e=this.peek();at(e)?(this.transitionTo("afterAttributeName"),this.consume()):"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.transitionTo("beforeAttributeValue"),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):'"'===e||"'"===e||"<"===e?(this.delegate.reportSyntaxError(e+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(e)):(this.consume(),this.delegate.appendToAttributeName(e))},afterAttributeName:function(){var e=this.peek();at(e)?this.consume():"/"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"="===e?(this.consume(),this.transitionTo("beforeAttributeValue")):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(e))},beforeAttributeValue:function(){var e=this.peek();at(e)?this.consume():'"'===e?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):"'"===e?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):">"===e?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(e))},attributeValueDoubleQuoted:function(){var e=this.consume();'"'===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueSingleQuoted:function(){var e=this.consume();"'"===e?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):"&"===e?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(e)},attributeValueUnquoted:function(){var e=this.peek();at(e)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):"&"===e?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):">"===e?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(e))},afterAttributeValueQuoted:function(){var e=this.peek();at(e)?(this.consume(),this.transitionTo("beforeAttributeName")):"/"===e?(this.consume(),this.transitionTo("selfClosingStartTag")):">"===e?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){">"===this.peek()?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var e=this.consume();("@"===e||":"===e||st(e))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(e))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(e){this.state=e},e.prototype.tokenize=function(e){this.reset(),this.tokenizePart(e),this.tokenizeEOF()},e.prototype.tokenizePart=function(e){for(this.input+=function(e){return e.replace(it,"\n")}(e);this.index"!==this.input.substring(this.index,this.index+8)||"style"===e&&""!==this.input.substring(this.index,this.index+8)||"script"===e&&"<\/script>"!==this.input.substring(this.index,this.index+9)},e}(),ct=function(){function e(e,t){void 0===t&&(t={}),this.options=t,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new lt(this,e,t.mode),this._currentAttribute=void 0}return e.prototype.tokenize=function(e){return this.tokens=[],this.tokenizer.tokenize(e),this.tokens},e.prototype.tokenizePart=function(e){return this.tokens=[],this.tokenizer.tokenizePart(e),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var e=this.token;if(null===e)throw new Error("token was unexpectedly null");if(0===arguments.length)return e;for(var t=0;t=0))continue;let a=r.length;vt(o,n,++e,r),e+=r.length-a-1}else if(t.type!==pt)r.push(t);else{const e=yt(t.chars,i);r.push.apply(r,e)}}for(let e=0;e0&&(e+=" "+xt(t.attributes).join(" ")),t.selfClosing&&(e+=" /"),e+=">",o.push(e);break}case ht:o.push(``);break;case pt:o.push(wt(t.chars));break;case ft:o.push(`\x3c!--${wt(t.chars)}--\x3e`);break;case gt:{let e=`",o.push(e);break}}}return o.join("")}function yt(e,t){const n=Ze(e),r=[];for(let e=0;e0;){let i=t[n];i.type===dt&&i.tagName.toUpperCase()===e?o++:i.type===ht&&i.tagName.toUpperCase()===e&&o--,r.push(i),n++}return r}function bt(e){let{tagName:t,attributes:n,content:r}=e;return`<${t} ${function(e){const t=[];for(const n in e){const r=e[n]+"";t.push(`${n}="${At(r)}"`)}return t.join(" ")}(n)}>${wt(r)}`}function wt(e){return e.replace(//g,">")}function At(e){return e.replace(/"/g,""")}function xt(e){const t=[];for(let n=0;n50?"".concat(e.slice(0,40),"…").concat(e.slice(e.length-10,e.length)):e}},ignoreTags:["script","style","img"],target:"_blank"}}),[n]);function h(e){function t(t,n,r){return"string"==typeof t&&(0,Ct.isImage)(t)?(0,Ot.jsx)(St.CardMedia,{sx:It(It({},s.featureInfoItemValue),{},{cursor:"pointer"}),alt:"".concat(n," ").concat(r),src:t,tabIndex:0,click:function(){return c(e.value,e.alias,r)},keyDown:function(t){"Enter"===t.key&&c(e.value,e.alias,r)}},(0,Ct.generateId)()):(0,Ot.jsx)(St.Box,{sx:s.featureInfoItemValue,children:(0,Ot.jsx)(Et.S,{htmlContent:(0,Ct.sanitizeHtmlContent)(mt(t,d))})},(0,Ct.generateId)())}var n=e.alias,r=e.value,o=Array.isArray(r)?String(r.map(Ct.stringify)):String((0,Ct.stringify)(r));return o=o.toString().split(";"),Array.isArray(o)?o.map((function(e,r){return t(e,n,r)})):t(o,n,0)}return(0,Ot.jsxs)(St.Box,{sx:s.boxContainerFeatureInfo,children:[t.map((function(e,t){return(0,Ot.jsxs)(St.Grid,{container:!0,spacing:5,sx:{backgroundColor:t%2>0?r.palette.geoViewColor.bgColor.darken(.1):"",color:t%2>0?r.palette.geoViewColor.bgColor.darken(.9):"",marginBottom:"1.25rem"},children:[(0,Ot.jsx)(St.Grid,{item:!0,xs:"auto",sx:{fontWeight:"bold",width:"80% !important"},children:e.alias}),(0,Ot.jsx)(St.Grid,{item:!0,sx:{ml:"auto",wordWrap:"break-word",pr:"0.3125rem"},children:h(e)})]},"".concat(e.alias," ").concat(t.toString()))})),(0,Ot.jsx)(u,{})]})}},62651:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(93546),o=n(22264),i=n(10814),a=n(97282);function s(e){var t=e.className,n=void 0===t?"":t,s=e.sxDetails,l=(0,i.Jh)(),c=(0,o.A6)().openModal;return(0,a.jsx)(r.IconButton,{id:"".concat(l,"-export-btn"),tooltip:"appbar.export",tooltipPlacement:"bottom-end",onClick:function(){return c({activeElementId:"export",callbackElementId:"".concat(l,"-export-btn")})},sx:s,className:n,children:(0,a.jsx)(r.DownloadIcon,{})})}},42057:(e,t,n)=>{"use strict";n.d(t,{A:()=>oe});var r=n(1839),o=n(30538),i=n(43331),a=n(72666);const s=(()=>{let e=0;return()=>(e+=1,`u${`0000${(Math.random()*36**4|0).toString(36)}`.slice(-4)}${e}`)})();function l(e){const t=[];for(let n=0,r=e.length;n{const r=new Image;r.decode=()=>t(r),r.onload=()=>t(r),r.onerror=n,r.crossOrigin="anonymous",r.decoding="async",r.src=e}))}async function p(e,t,n){const r="http://www.w3.org/2000/svg",o=document.createElementNS(r,"svg"),i=document.createElementNS(r,"foreignObject");return o.setAttribute("width",`${t}`),o.setAttribute("height",`${n}`),o.setAttribute("viewBox",`0 0 ${t} ${n}`),i.setAttribute("width","100%"),i.setAttribute("height","100%"),i.setAttribute("x","0"),i.setAttribute("y","0"),i.setAttribute("externalResourcesRequired","true"),o.appendChild(i),i.appendChild(e),async function(e){return Promise.resolve().then((()=>(new XMLSerializer).serializeToString(e))).then(encodeURIComponent).then((e=>`data:image/svg+xml;charset=utf-8,${e}`))}(o)}const f=(e,t)=>{if(e instanceof t)return!0;const n=Object.getPrototypeOf(e);return null!==n&&(n.constructor.name===t.name||f(n,t))};function g(e,t,n){const r=`.${e}:${t}`,o=n.cssText?function(e){const t=e.getPropertyValue("content");return`${e.cssText} content: '${t.replace(/'|"/g,"")}';`}(n):function(e){return l(e).map((t=>`${t}: ${e.getPropertyValue(t)}${e.getPropertyPriority(t)?" !important":""};`)).join(" ")}(n);return document.createTextNode(`${r}{${o}}`)}function m(e,t,n){const r=window.getComputedStyle(e,n),o=r.getPropertyValue("content");if(""===o||"none"===o)return;const i=s();try{t.className=`${t.className} ${i}`}catch(e){return}const a=document.createElement("style");a.appendChild(g(i,n,r)),t.appendChild(a)}const y="application/font-woff",v="image/jpeg",b={woff:y,woff2:y,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:v,jpeg:v,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function w(e){const t=function(e){const t=/\.([^./]*?)$/g.exec(e);return t?t[1]:""}(e).toLowerCase();return b[t]||""}function A(e){return-1!==e.search(/^(data:)/)}function x(e,t){return`data:${t};base64,${e}`}async function S(e,t,n){const r=await fetch(e,t);if(404===r.status)throw new Error(`Resource "${r.url}" not found`);const o=await r.blob();return new Promise(((e,t)=>{const i=new FileReader;i.onerror=t,i.onloadend=()=>{try{e(n({res:r,result:i.result}))}catch(e){t(e)}},i.readAsDataURL(o)}))}const C={};async function E(e,t,n){const r=function(e,t,n){let r=e.replace(/\?.*/,"");return n&&(r=e),/ttf|otf|eot|woff2?/i.test(r)&&(r=r.replace(/.*\//,"")),t?`[${t}]${r}`:r}(e,t,n.includeQueryParams);if(null!=C[r])return C[r];let o;n.cacheBust&&(e+=(/\?/.test(e)?"&":"?")+(new Date).getTime());try{const r=await S(e,n.fetchRequestInit,(({res:e,result:n})=>(t||(t=e.headers.get("Content-Type")||""),function(e){return e.split(/,/)[1]}(n))));o=x(r,t)}catch(t){o=n.imagePlaceholder||"";let r=`Failed to fetch resource: ${e}`;t&&(r="string"==typeof t?t:t.message),r&&console.warn(r)}return C[r]=o,o}async function k(e,t){return f(e,HTMLCanvasElement)?async function(e){const t=e.toDataURL();return"data:,"===t?e.cloneNode(!1):h(t)}(e):f(e,HTMLVideoElement)?async function(e,t){if(e.currentSrc){const t=document.createElement("canvas"),n=t.getContext("2d");return t.width=e.clientWidth,t.height=e.clientHeight,null==n||n.drawImage(e,0,0,t.width,t.height),h(t.toDataURL())}const n=e.poster,r=w(n);return h(await E(n,r,t))}(e,t):f(e,HTMLIFrameElement)?async function(e){var t;try{if(null===(t=null==e?void 0:e.contentDocument)||void 0===t?void 0:t.body)return await O(e.contentDocument.body,{},!0)}catch(e){}return e.cloneNode(!1)}(e):e.cloneNode(!1)}const T=e=>null!=e.tagName&&"SLOT"===e.tagName.toUpperCase();function _(e,t){return f(t,Element)&&(function(e,t){const n=t.style;if(!n)return;const r=window.getComputedStyle(e);r.cssText?(n.cssText=r.cssText,n.transformOrigin=r.transformOrigin):l(r).forEach((o=>{let i=r.getPropertyValue(o);if("font-size"===o&&i.endsWith("px")){const e=Math.floor(parseFloat(i.substring(0,i.length-2)))-.1;i=`${e}px`}f(e,HTMLIFrameElement)&&"display"===o&&"inline"===i&&(i="block"),"d"===o&&t.getAttribute("d")&&(i=`path(${t.getAttribute("d")})`),n.setProperty(o,i,r.getPropertyPriority(o))}))}(e,t),function(e,t){m(e,t,":before"),m(e,t,":after")}(e,t),function(e,t){f(e,HTMLTextAreaElement)&&(t.innerHTML=e.value),f(e,HTMLInputElement)&&t.setAttribute("value",e.value)}(e,t),function(e,t){if(f(e,HTMLSelectElement)){const n=t,r=Array.from(n.children).find((t=>e.value===t.getAttribute("value")));r&&r.setAttribute("selected","")}}(e,t)),t}async function O(e,t,n){return n||!t.filter||t.filter(e)?Promise.resolve(e).then((e=>k(e,t))).then((n=>async function(e,t,n){var r,o;let i=[];return i=T(e)&&e.assignedNodes?l(e.assignedNodes()):f(e,HTMLIFrameElement)&&(null===(r=e.contentDocument)||void 0===r?void 0:r.body)?l(e.contentDocument.body.childNodes):l((null!==(o=e.shadowRoot)&&void 0!==o?o:e).childNodes),0===i.length||f(e,HTMLVideoElement)||await i.reduce(((e,r)=>e.then((()=>O(r,n))).then((e=>{e&&t.appendChild(e)}))),Promise.resolve()),t}(e,n,t))).then((t=>_(e,t))).then((e=>async function(e,t){const n=e.querySelectorAll?e.querySelectorAll("use"):[];if(0===n.length)return e;const r={};for(let o=0;o{for(;;){const[n,,r]=I.exec(e)||[];if(!r)return"";if(r===t)return`src: ${n};`}})):e}(e,n),o=function(e){const t=[];return e.replace(P,((e,n,r)=>(t.push(r),e))),t.filter((e=>!A(e)))}(r);return o.reduce(((e,r)=>e.then((e=>L(e,r,t,n)))),Promise.resolve(r))}async function F(e,t,n){var r;const o=null===(r=t.style)||void 0===r?void 0:r.getPropertyValue(e);if(o){const r=await j(o,null,n);return t.style.setProperty(e,r,t.style.getPropertyPriority(e)),!0}return!1}async function D(e,t){f(e,Element)&&(await async function(e,t){await F("background",e,t)||await F("background-image",e,t),await F("mask",e,t)||await F("mask-image",e,t)}(e,t),await async function(e,t){const n=f(e,HTMLImageElement);if((!n||A(e.src))&&(!f(e,SVGImageElement)||A(e.href.baseVal)))return;const r=n?e.src:e.href.baseVal,o=await E(r,w(r),t);await new Promise(((t,r)=>{e.onload=t,e.onerror=r;const i=e;i.decode&&(i.decode=t),"lazy"===i.loading&&(i.loading="eager"),n?(e.srcset="",e.src=o):e.href.baseVal=o}))}(e,t),await async function(e,t){const n=l(e.childNodes).map((e=>D(e,t)));await Promise.all(n).then((()=>e))}(e,t))}const N={};async function z(e){let t=N[e];if(null!=t)return t;const n=await fetch(e);return t={url:e,cssText:await n.text()},N[e]=t,t}async function B(e,t){let n=e.cssText;const r=/url\(["']?([^"')]+)["']?\)/g,o=(n.match(/url\([^)]+\)/g)||[]).map((async o=>{let i=o.replace(r,"$1");return i.startsWith("https://")||(i=new URL(i,e.url).href),S(i,t.fetchRequestInit,(({result:e})=>(n=n.replace(o,`url(${e})`),[o,e])))}));return Promise.all(o).then((()=>n))}function V(e){if(null==e)return[];const t=[];let n=e.replace(/(\/\*[\s\S]*?\*\/)/gi,"");const r=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const e=r.exec(n);if(null===e)break;t.push(e[0])}n=n.replace(r,"");const o=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,i=new RegExp("((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})","gi");for(;;){let e=o.exec(n);if(null===e){if(e=i.exec(n),null===e)break;o.lastIndex=i.lastIndex}else i.lastIndex=o.lastIndex;t.push(e[0])}return t}async function $(e,t){if(null==e.ownerDocument)throw new Error("Provided element is not within a Document");const n=l(e.ownerDocument.styleSheets),r=await async function(e,t){const n=[],r=[];return e.forEach((n=>{if("cssRules"in n)try{l(n.cssRules||[]).forEach(((e,o)=>{if(e.type===CSSRule.IMPORT_RULE){let i=o+1;const a=z(e.href).then((e=>B(e,t))).then((e=>V(e).forEach((e=>{try{n.insertRule(e,e.startsWith("@import")?i+=1:n.cssRules.length)}catch(t){console.error("Error inserting rule from remote css",{rule:e,error:t})}})))).catch((e=>{console.error("Error loading remote css",e.toString())}));r.push(a)}}))}catch(o){const i=e.find((e=>null==e.href))||document.styleSheets[0];null!=n.href&&r.push(z(n.href).then((e=>B(e,t))).then((e=>V(e).forEach((e=>{i.insertRule(e,n.cssRules.length)})))).catch((e=>{console.error("Error loading remote stylesheet",e)}))),console.error("Error inlining remote css file",o)}})),Promise.all(r).then((()=>(e.forEach((e=>{if("cssRules"in e)try{l(e.cssRules||[]).forEach((e=>{n.push(e)}))}catch(t){console.error(`Error while reading CSS rules from ${e.href}`,t)}})),n)))}(n,t);return function(e){return e.filter((e=>e.type===CSSRule.FONT_FACE_RULE)).filter((e=>R(e.style.getPropertyValue("src"))))}(r)}async function G(e,t){const n=null!=t.fontEmbedCSS?t.fontEmbedCSS:t.skipFonts?null:await async function(e,t){const n=await $(e,t);return(await Promise.all(n.map((e=>{const n=e.parentStyleSheet?e.parentStyleSheet.href:null;return j(e.cssText,n,t)})))).join("\n")}(e,t);if(n){const t=document.createElement("style"),r=document.createTextNode(n);t.appendChild(r),e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}}async function U(e,t={}){const{width:n,height:r}=u(e,t),o=await O(e,t,!0);await G(o,t),await D(o,t),function(e,t){const{style:n}=e;t.backgroundColor&&(n.backgroundColor=t.backgroundColor),t.width&&(n.width=`${t.width}px`),t.height&&(n.height=`${t.height}px`);const r=t.style;null!=r&&Object.keys(r).forEach((e=>{n[e]=r[e]}))}(o,t);return await p(o,n,r)}async function W(e,t={}){const{width:n,height:r}=u(e,t),o=await U(e,t),i=await h(o),a=document.createElement("canvas"),s=a.getContext("2d"),l=t.pixelRatio||function(){let e,t;try{t=process}catch(e){}const n=t&&t.env?t.env.devicePixelRatio:null;return n&&(e=parseInt(n,10),Number.isNaN(e)&&(e=1)),e||window.devicePixelRatio||1}(),c=t.canvasWidth||n,p=t.canvasHeight||r;return a.width=c*l,a.height=p*l,t.skipAutoScale||function(e){(e.width>d||e.height>d)&&(e.width>d&&e.height>d?e.width>e.height?(e.height*=d/e.width,e.width=d):(e.width*=d/e.height,e.height=d):e.width>d?(e.height*=d/e.width,e.width=d):(e.width*=d/e.height,e.height=d))}(a),a.style.width=`${c}`,a.style.height=`${p}`,t.backgroundColor&&(s.fillStyle=t.backgroundColor,s.fillRect(0,0,a.width,a.height)),s.drawImage(i,0,0,a.width,a.height),a}async function q(e,t={}){return(await W(e,t)).toDataURL()}var H=n(93546),Y=n(42982),K=n(99937),X=n(22264),Z=n(10814),J=n(76467),Q=n(45202),ee=n(5182),te=n(53795),ne=n(66700),re=n(97282);function oe(){var e=(0,i.useTranslation)().t,t=(0,Z.Jh)(),n=(0,J.sd)(),s=n.getElementsByClassName("ol-viewport")[0],l=n.querySelector('[id^="'.concat(t,'-footerBar-legendContainer"]')),c=n.querySelector('[id^="'.concat(t,'-appBar-legendContainer"]')),u=(0,a.A)(),d=(0,o.useState)(!0),h=(0,r.A)(d,2),p=h[0],f=h[1],g=(0,o.useState)(!0),m=(0,r.A)(g,2),y=m[0],v=m[1],b=(0,o.useState)(!1),w=(0,r.A)(b,2),A=w[0],x=w[1],S=(0,o.useState)(""),C=(0,r.A)(S,2),E=C[0],k=C[1],T=(0,o.useRef)(null),_=(0,o.useRef)(null),O=(0,o.useRef)(null),P=(0,o.useRef)(null),I=(0,o.useRef)(null),M=(0,o.useRef)(null),L=(0,ee.Mk)(),R=(0,ee.gx)(),j=(0,ee.re)(),F=(0,te.A)().rotationAngle,D=(0,X.A6)(),N=D.closeModal,z=D.setActiveAppBarTab,B=(0,X.NP)().activeElementId,V=(0,X.bd)().isOpen,$=function(e){var t=window.getComputedStyle(e),n=Number(t.getPropertyValue("padding-left").match(/\d+/)[0]),r=Number(t.getPropertyValue("padding-left").match(/\d+/)[0]);return e.clientWidth-n-r};return(0,o.useEffect)((function(){var e;if(ne.vF.logTraceUseEffect("Export Modal - mount"),"export"===B&&_.current&&O.current){var n=_.current,r=O.current;c&&!l&&z("AppbarPanelButtonLegend","legend",!0),e=setTimeout((function(){f(!0),q(s,{fontEmbedCSS:""}).then((function(e){f(!1);var t=new Image;t.src=e,t.style.maxWidth="".concat($(r),"px"),n.appendChild(t)})).catch((function(e){ne.vF.logError("Error occured while converting map to image",e)}));var e=null!=l?l:c;if(e&&P.current){var o;e.removeAttribute("style"),v(!0);var i=document.getElementById("shell-".concat(t,"-legend")),a=null!==(o=null==i?void 0:i.hasAttribute("hidden"))&&void 0!==o?o:null;a&&i.removeAttribute("hidden"),q(e,{fontEmbedCSS:""}).then((function(e){var t;v(!1);var n=new Image;n.src=e,n.style.maxWidth="".concat($(r),"px"),null===(t=P.current)||void 0===t||t.appendChild(n),a&&(i.hidden=!0)})).catch((function(e){ne.vF.logError("Error occured while converting legend to image",e)}))}else v(!1)}),500)}return function(){e&&clearTimeout(e),f(!0),v(!0)}}),[B,V]),(0,re.jsxs)(H.Dialog,{open:"export"===B,onClose:N,fullWidth:!0,maxWidth:"xl",disablePortal:!0,children:[(0,re.jsx)(H.DialogTitle,{children:e("exportModal.title")}),(0,re.jsx)(H.DialogContent,{dividers:!0,ref:O,children:(0,re.jsxs)(H.Box,{ref:T,textAlign:"center",children:[(0,re.jsx)(H.Box,{ref:I,children:(0,re.jsx)(H.TextField,{label:e("exportModal.exportTitle"),variant:"standard",value:E,onChange:function(e){return k(e.target.value)},sx:{paddingBottom:"1rem",minWidth:300}})}),(0,re.jsx)(H.Box,{ref:M}),(0,re.jsx)(H.Box,{ref:_,children:p&&(0,re.jsx)(H.Skeleton,{variant:"rounded",width:"100%",height:500,sx:{bgcolor:u.palette.grey[500]}})}),(0,re.jsxs)(H.Box,{display:"flex",justifyContent:"space-between",alignItems:"center",sx:{padding:"1rem",paddingBottom:0},children:[(0,re.jsx)(H.Box,{children:!!R.labelGraphic.length&&(0,re.jsxs)(H.Box,{children:[R.labelGraphic," ",e("exportModal.approx")," ",(0,re.jsx)("hr",{})]})}),L&&(0,re.jsx)(H.Box,{textAlign:"right",style:{transform:"rotate(".concat(F.angle,"deg)")},children:(0,re.jsx)(Q.e,{width:44,height:44})})]}),(0,re.jsx)(H.Box,{ref:P,children:y&&(0,re.jsx)(H.Skeleton,{variant:"rounded",width:"100%",height:500,sx:{bgcolor:u.palette.grey[500]}})}),(0,re.jsx)(H.Box,{textAlign:"center",children:j.map((function(e){return(0,re.jsx)(H.Box,{component:"p",sx:{margin:0},children:e},e)}))}),(0,re.jsx)(H.Box,{textAlign:"center",sx:{marginBottom:"1rem"},children:K.P.formatDate(new Date,"YYYY-MM-DD, hh:mm:ss A")})]})}),(0,re.jsxs)(H.DialogActions,{children:[(0,re.jsx)(H.Button,{onClick:function(){z("AppbarPanelButtonLegend","legend",!1),N()},type:"text",size:"small",role:"button",tabIndex:-1,autoFocus:!0,"aria-hidden":"true",sx:{width:"inherit",fontSize:u.palette.geoViewFontSize.sm,color:u.palette.common.white,padding:"0.7rem 1rem",backgroundColor:u.palette.geoViewColor.primary.main,"&:hover":{backgroundColor:u.palette.geoViewColor.primary.dark[200]}},children:e("exportModal.cancelBtn")}),(0,re.jsx)(H.LoadingButton,{loading:A,variant:"contained",onClick:function(){T.current&&I.current&&M.current&&(I.current.style.display="none",M.current.style.padding="1rem",M.current.innerHTML=E,x(!0),q(T.current,{backgroundColor:u.palette.common.white,fontEmbedCSS:""}).then((function(e){x(!1),(0,Y.exportPNG)(e,t),z("AppbarPanelButtonLegend","legend",!1),N()})).catch((function(e){ne.vF.logError("Error while exporting the image",e)})))},size:"small",sx:{fontSize:u.palette.geoViewFontSize.sm,padding:"0.7rem 1rem",backgroundColor:u.palette.geoViewColor.primary.main,height:"47px"},disabled:y||p,children:e("exportModal.exportBtn")})]})]})}},96783:(e,t,n)=>{"use strict";n.d(t,{x:()=>m});var r=n(59682),o=n(41108),i=n(74780),a=n(2198),s=n(52780),l=n(42982);function c(e,t,n){u(e,t),t.set(e,n)}function u(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function d(e,t){return e.get(h(e,t))}function h(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var p=new WeakMap,f=new WeakMap,g=new WeakSet,m=function(){return(0,o.A)((function e(t){var n,o;(0,r.A)(this,e),u(n=this,o=g),o.add(n),(0,i.A)(this,"mapId",void 0),(0,i.A)(this,"tabs",[]),c(this,p,[]),c(this,f,[]),this.mapId=t}),[{key:"onFooterTabCreated",value:function(e){s.A.onEvent(d(p,this),e)}},{key:"offFooterTabCreated",value:function(e){s.A.offEvent(d(p,this),e)}},{key:"onFooterTabRemoved",value:function(e){s.A.onEvent(d(f,this),e)}},{key:"offFooterTabRemoved",value:function(e){s.A.offEvent(d(f,this),e)}},{key:"createTab",value:function(e){e&&(this.tabs.find((function(t){return t.id===e.id}))||("string"==typeof e.content&&(e.content=(0,l.sanitizeHtmlContent)(e.content)),this.tabs.push(e),h(g,this,y).call(this,{tab:e})))}},{key:"removeTab",value:function(e){this.tabs.find((function(t){return t.id===e}))&&(this.tabs=this.tabs.filter((function(t){return t.id!==e})),h(g,this,v).call(this,{tabid:e}))}},{key:"selectTab",value:function(e){a.d.setActiveFooterBarTab(this.mapId,e)}}])}();function y(e){s.A.emitEvent(this,d(p,this),e)}function v(e){s.A.emitEvent(this,d(f,this),e)}},88375:(e,t,n)=>{"use strict";n.d(t,{N:()=>j});var r=n(74780),o=n(1839),i=n(76390),a=n.n(i),s=n(30538),l=n(72666),c=n(93546),u=n(10082),d=function(e){return{tabsContainer:{position:"relative",background:e.palette.geoViewColor.bgColor.dark[50],boxShadow:2,width:"100%",transition:"height 0.2s ease-out",height:"55px","&.MuiGrid-container":{background:e.palette.geoViewColor.bgColor.dark[50]},"& .MuiTab-root":{minHeight:"56px"},"& .MuiTabs-indicator":{display:"none"},"& .MuiTab-root.Mui-selected":{color:"".concat(e.palette.geoViewColor.white," !important"),background:e.palette.geoViewColor.primary.main,borderRadius:"0.5rem",margin:"0.5rem",minHeight:0}}}},h=n(9360),p=n(10814),f=function(){return{slider:{height:300,padding:"1.5rem 0.5rem 1.5rem 1rem","& .MuiSlider-markLabel":{left:"33px","&:nth-of-type(1)":{bottom:"3%"},"&:last-of-type":{bottom:"98%",left:"30px"}}}}},g=n(22264),m=n(66700),y=n(97282);function v(){var e=f(),t=(0,p.Jh)(),n=document.getElementById("shell-".concat(t)),r=(0,g.ex)(),i=(0,g.r4)(),a=(0,g.A6)().setFooterPanelResizeValue,l=(0,s.useState)(null),u=(0,o.A)(l,2),d=u[0],v=u[1],b=(0,s.useMemo)((function(){return m.vF.logTraceUseMemo("RESIZE-FOOTER-PANEL - marks",i),i.map((function(e){return{value:e,label:"".concat(e,"%")}}))}),[i]),w=function(){v(null)},A=Boolean(d);return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.IconButton,{onClick:function(e){return(t=e).preventDefault(),void v(t.currentTarget);var t},tooltip:"footerBar.resizeTooltip",children:(0,y.jsx)(c.HeightIcon,{})}),(0,y.jsx)(c.Popover,{open:A,anchorEl:d,onClose:w,container:n,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"},children:(0,y.jsx)(c.Box,{sx:e.slider,children:(0,y.jsx)(h.Ay,{sx:{'& input[type="range"]':{WebkitAppearance:"slider-vertical"}},orientation:"vertical",value:r,step:null,valueLabelDisplay:"off",marks:b,onChange:function(e,t){a(t),w()},min:i[0],max:i[i.length-1]})})})]})}var b=n(76467),w=n(56619),A=n(67475),x=n(57338),S=n(8835),C=n(57769),E=n(37126),k=n(15938),T=n(1251),_=n(16540),O=n(33882),P=n(55576),I=n(77722),M=n(12923);function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function R(e){for(var t=1;t0?(0,y.jsx)(c.Box,{ref:z,sx:L.tabsContainer,className:"tabsContainer",id:"".concat(h,"-tabsContainer"),children:(0,y.jsx)(c.Tabs,{shellContainer:H,activeTrap:W,isCollapsed:q,onToggleCollapse:function(){Q(!q)},onSelectedTabChanged:function(e){X(e.id),Q(!1)},onOpenKeyboard:Z,onCloseKeyboard:J,selectedTab:se.findIndex((function(e){return e.id===U})),tabProps:{disableRipple:!0},tabs:se,TabContentVisibilty:q?"hidden":"visible",rightButtons:(0,y.jsxs)(y.Fragment,{children:[!q&&B&&(0,y.jsx)(v,{}),(0,y.jsx)(c.IconButton,{onClick:de,tooltip:D?"footerBar.focusToMap":"footerBar.focusToFooter",className:"buttonFilled",disabled:q||B||G[G.length-1]===$,children:D?(0,y.jsx)(c.MoveUpRoundedIcon,{}):(0,y.jsx)(c.MoveDownRoundedIcon,{})})]})})}):null}},25869:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(30538),o=n(93546),i=n(88274),a=n(5182),s=n(27127),l=n(66700),c=n(97282);function u(e){var t=e.geoListItems,n=e.searchValue,u=(0,a.U6)().zoomToGeoLocatorLocation,d=(0,r.useCallback)((function(e){var t=e.name,n=e.province,r=e.category,o=t;return r&&"null"!==r&&(o+=", ".concat(r)),n&&"null"!==n&&(o+=", ".concat(n)),o}),[]),h=(0,r.useCallback)((function(e,t,n){var r=e.toUpperCase(),o=t.toUpperCase(),i=r.indexOf(o),a=o.length;return o&&-1!==i?(0,c.jsx)(s.S,{extraOptions:{component:"span"},itemOptions:{component:"span"},htmlContent:"".concat(e.slice(0,i),"").concat(e.slice(i,i+a),"").concat(e.slice(i+a)).concat(n)}):e}),[]);return(0,c.jsx)(o.Box,{children:t.map((function(e,t){return(0,c.jsx)(o.Tooltip,{title:d(e),placement:"right",children:(0,c.jsx)(o.ListItem,{component:"div",disablePadding:!0,children:(0,c.jsx)(o.ListItemButton,{onClick:function(){return t=[e.lng,e.lat],n=e.bbox,void u(t,n).catch((function(e){l.vF.logPromiseFailed("Failed to triggerGetAllFeatureInfo in data-panel.GeoList.handleZoomToGeoLocator",e)}));var t,n},children:(0,c.jsxs)(o.Grid,{container:!0,children:[(0,c.jsx)(o.Grid,{item:!0,xs:12,sm:8,children:(0,c.jsx)(o.Typography,{sx:i.aP.listStyle,children:h(e.name,n,e.province&&"null"!==e.province?", ".concat(e.province):"")})}),(0,c.jsx)(o.Grid,{item:!0,xs:12,sm:4,sx:{textAlign:"right"},children:!!e.category&&"null"!==e.category&&(0,c.jsx)(o.Typography,{component:"p",sx:i.aP.main,children:(0,c.jsxs)(o.Typography,{component:"span",children:[" ",e.category]})})})]})})})},"".concat(e.name,"-").concat(e.lat,"-").concat(t.toString()))}))})}},88274:(e,t,n)=>{"use strict";n.d(t,{K9:()=>i,aP:()=>a,cm:()=>s});var r=n(4433),o=n(21350),i={root:{position:"absolute",top:12,left:80,maxWidth:350,width:350},geolocator:{position:"relative",display:"flex",zIndex:1100,"& form":{display:"flex",width:"100%",paddingLeft:5},"& .MuiPaper-root":{backgroundColor:"background.default",color:"text.primary","& .MuiToolbar-root":{justifyContent:"space-between"}}},progressBar:{position:"relative",zIndex:1100,"& span":{width:"100%"}},filter:{display:"flex",flexDirection:"row",alignItems:"end",padding:6,paddingTop:2,"& .MuiInputLabel-formControl":{fontSize:function(e){return e.palette.geoViewFontSize.default},marginTop:0},"& .MuiSelect-select":{padding:"0px 12px 4px 0px !important"}},searchResult:{position:"relative",display:"flex",flexDirection:"column",zIndex:1100,marginTop:6},filterListError:{listStyleType:"disc",listStylePosition:"inside","& li":{display:"list-item",paddingLeft:12,"& .MuiListItemText-root":{display:"inline-flex",marginLeft:"-8px"}}}},a={listStyle:{fontSize:function(e){return e.palette.geoViewFontSize.sm},whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},main:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","& span":{fontSize:function(e){return e.palette.geoViewFontSize.xs},":first-of-type":{fontSize:function(e){return e.palette.geoViewFontSize.sm}}}}},s=(0,r.Ay)(o.A)((function(e){var t=e.theme;return{color:"inherit",width:"100%",fontSize:t.palette.geoViewFontSize.default,"& .MuiInputBase-input":{transition:t.transitions.create("width"),width:"100%"}}}))},6093:(e,t,n)=>{"use strict";n.d(t,{u:()=>C});var r=n(80180),o=n(1839),i=n(64417),a=n.n(i),s=n(30538),l=n(43331),c=n(44481),u=n.n(c),d=n(72666),h=n(93546),p=n(88274),f=n(81556),g=n(22264),m=n(76467),y=n(32031),v=n(25869),b=n(5182),w=n(66700),A=n(97282);function x(e){var t=e.geoLocationData,n=e.searchValue,r=e.error,i=(0,l.useTranslation)().t,a=(0,s.useState)(""),c=(0,o.A)(a,2),u=c[0],f=c[1],g=(0,s.useState)(""),m=(0,o.A)(g,2),x=m[0],S=m[1],C=(0,s.useState)(t),E=(0,o.A)(C,2),k=E[0],T=E[1],_=(0,b.ht)(),O=(0,d.A)(),P=(0,s.useMemo)((function(){w.vF.logTraceUseMemo("GEOLOCATOR-RESULT - provinces",t);var e=t.reduce((function(e,t){return t.province&&!e.includes(t.province)&&e.push(t.province),e}),[]).sort();return[""].concat((0,y.A)(new Set(e))).map((function(e){return{type:"item",item:{value:e.length?e:"",children:e.length?e:i("geolocator.noFilter")}}}))}),[t]),I=(0,s.useMemo)((function(){w.vF.logTraceUseMemo("GEOLOCATOR-RESULT - categories",t);var e=t.reduce((function(e,t){return t.category&&e.push(t.category),e}),[]).sort();return[""].concat((0,y.A)(new Set(e))).map((function(e){return{type:"item",item:{value:e.length?e:"",children:e.length?e:i("geolocator.noFilter")}}}))}),[t]),M=(0,s.useMemo)((function(){return w.vF.logTraceUseMemo("GEOLOCATOR-RESULT - memoFilterData",t,u,x),t.filter((function(e){var t=!0;return u.length&&!x.length?t=e.province.toLowerCase()===u.toLowerCase():u.length&&x.length?t=e.province.toLowerCase()===u.toLowerCase()&&e.category.toLowerCase()===x.toLowerCase():!u.length&&x.length&&(t=e.category.toLowerCase()===x.toLowerCase()),t}))}),[x,t,u]);return(0,s.useEffect)((function(){w.vF.logTraceUseEffect("GEOLOCATOR-RESULT - geoLocationData",t),T(t)}),[t]),(0,s.useEffect)((function(){w.vF.logTraceUseEffect("GEOLOCATOR-RESULT - geoLocationData province category",M),T(M)}),[M]),(0,s.useEffect)((function(){w.vF.logTraceUseEffect("GEOLOCATOR-RESULT - geoLocationData reset",t),t.length||(f(""),S(""))}),[t]),(0,A.jsxs)(h.Paper,{component:"div",elevation:4,square:!0,sx:{width:350},children:[!r&&(0,A.jsxs)(h.Box,{sx:p.K9.filter,children:[(0,A.jsx)(h.Box,{sx:{flexGrow:2,paddingRight:"8px",maxWidth:150},children:(0,A.jsx)(h.Select,{labelId:"provinceGeolocatorFiltersLabel",formControlProps:{variant:"standard",size:"small"},id:"provinceGeolocatorFilters",fullWidth:!0,value:null!=u?u:"",onChange:function(e){return f(e.target.value)},label:i("geolocator.province"),inputLabel:{id:"geolocationProvinceFilter"},menuItems:P,disabled:!t.length,variant:"standard"})}),(0,A.jsx)(h.Box,{sx:{flexGrow:2,paddingRight:"8px",maxWidth:150},children:(0,A.jsx)(h.Select,{labelId:"categoryGeolocatorFiltersLabel",id:"typeGeolocatorFilters",formControlProps:{variant:"standard",size:"small"},value:null!=x?x:"",fullWidth:!0,onChange:function(e){return S(e.target.value)},label:i("geolocator.category"),inputLabel:{id:"geolocationCategoryFilter"},menuItems:I,disabled:!t.length,variant:"standard"})}),(0,A.jsx)(h.Box,{children:(0,A.jsx)(h.IconButton,{size:"small",edge:"end",color:"inherit",tooltip:"geolocator.clearFilters",onClick:function(){(u||x)&&(f(""),S(""),T(t))},disabled:!t.length,children:(0,A.jsx)(h.FilterAltOffIcon,{fontSize:O.palette.geoViewFontSize.sm})})})]}),(0,A.jsx)(h.Divider,{}),(0,A.jsxs)(h.Box,{sx:{maxHeight:_[1]-160,overflowY:"auto"},children:[!!k.length&&(0,A.jsx)(v.A,{geoListItems:k,searchValue:n}),(!k.length||r)&&(0,A.jsxs)(h.Box,{sx:{p:10},children:[(0,A.jsxs)(h.Typography,{component:"p",sx:{fontSize:O.palette.geoViewFontSize.md},children:[i("geolocator.errorMessage")," ",(0,A.jsx)("b",{children:n})]}),!(!u.length&&!x.length)&&(0,A.jsxs)(h.List,{sx:p.K9.filterListError,children:[!!u.length&&(0,A.jsx)(h.ListItem,{children:(0,A.jsx)(h.ListItemText,{primary:"".concat(i("geolocator.province"),": ").concat(u)})}),!!x.length&&(0,A.jsx)(h.ListItem,{children:(0,A.jsx)(h.ListItemText,{primary:"".concat(i("geolocator.category"),": ").concat(x)})})]})]})]})]})}var S=n(79378);function C(){w.vF.logTraceRender("components/geolocator/geolocator");var e=(0,l.useTranslation)().t,t=(0,d.A)(),n=(0,s.useState)(),i=(0,o.A)(n,2),c=i[0],y=i[1],v=(0,s.useState)(null),b=(0,o.A)(v,2),C=b[0],E=b[1],k=(0,s.useState)(!1),T=(0,o.A)(k,2),_=T[0],O=T[1],P=(0,s.useState)(""),I=(0,o.A)(P,2),M=I[0],L=I[1],R=(0,m.t)(),j=(0,m._V)(),F=(0,g.A6)().setActiveAppBarTab,D=(0,g.bd)(),N=D.tabGroup,z=D.isOpen,B=(0,s.useRef)("".concat(j,"&lang=").concat(R)),V=(0,s.useRef)(null),$=function(e){if(!/^[-+]?([1-8]?\d(\.\d+)?|90(\.0+)?),\s*[-+]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/.test(e))return null;var t=e.split(/[\s|,|;|]/).filter((function(e){return!Number.isNaN(e)&&""!==e})).map((function(e){return parseFloat(e)})),n=.015,r=[t[1]-n,t[0]-n,t[1]+n,t[0]+n];return{key:"coordinates",name:"".concat(t[0],",").concat(t[1]),lat:t[0],lng:t[1],bbox:r,province:"",category:"Latitude/Longitude"}},G=function(){var e=(0,r.A)(a().mark((function e(t){var n,r,o,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,O(!0),V.current&&V.current.abort(),n=new AbortController,V.current=n,e.next=7,fetch("".concat(B.current,"&q=").concat(encodeURIComponent("".concat(t,"*"))),{signal:V.current.signal});case 7:if((r=e.sent).ok){e.next=10;break}throw new Error("Error");case 10:return e.next=12,r.json();case 12:o=e.sent,(i=$(t))&&o.unshift(i),y(o),E(null),O(!1),e.next=23;break;case 20:e.prev=20,e.t0=e.catch(0),E(e.t0);case 23:case"end":return e.stop()}}),e,null,[[0,20]])})));return function(t){return e.apply(this,arguments)}}(),U=(0,s.useCallback)((function(){L(""),y(void 0),F("AppbarPanelButtonGeolocator",S.NF.GEOLOCATOR,!1)}),[F]),W=u()((function(e){G(e).catch((function(e){w.vF.logPromiseFailed("getGeolocations in deRequest in Geolocator",e)}))}),f.Xl),q=(0,s.useCallback)((function(e){return W(e)}),[]),H=(0,s.useCallback)((function(){M.length>=3&&G(M).catch((function(e){w.vF.logPromiseFailed("getGeolocations in Geolocator",e)}))}),[M]);return(0,s.useEffect)((function(){return function(){V.current&&V.current.abort()}}),[]),(0,A.jsxs)(h.Box,{sx:p.K9.root,visibility:N===S.NF.GEOLOCATOR&&z?"visible":"hidden",id:"geolocator-search",children:[(0,A.jsx)(h.Box,{sx:p.K9.geolocator,children:(0,A.jsx)(h.AppBarUI,{position:"static",children:(0,A.jsx)(h.Toolbar,{variant:"dense",children:(0,A.jsxs)("form",{onSubmit:function(e){e.preventDefault(),_||H()},children:[(0,A.jsx)(p.cm,{placeholder:e("geolocator.search"),autoFocus:!0,onChange:function(e){var t=e.target.value;L(t),t.length>=3&&q(t),(!t.length||t.length<3)&&(V.current&&V.current.abort(),W.cancel(),y(void 0))},value:M}),(0,A.jsxs)(h.Box,{sx:{display:"flex",marginLeft:"auto",alignItems:"center"},children:[(0,A.jsx)(h.IconButton,{size:"small",edge:"end",color:"inherit",sx:{mr:4},disabled:!M.length,onClick:H,children:(0,A.jsx)(h.SearchIcon,{fontSize:t.palette.geoViewFontSize.sm})}),(0,A.jsx)(h.Divider,{orientation:"vertical",variant:"middle",flexItem:!0}),(0,A.jsx)(h.IconButton,{size:"small",edge:"end",color:"inherit",sx:{mr:2,ml:4},onClick:U,children:(0,A.jsx)(h.CloseIcon,{fontSize:t.palette.geoViewFontSize.sm})})]})]})})})}),_&&(0,A.jsx)(h.Box,{sx:p.K9.progressBar,children:(0,A.jsx)(h.ProgressBar,{})}),!!c&&(null==M?void 0:M.length)>=3&&!C&&(0,A.jsx)(h.Box,{sx:p.K9.searchResult,children:(0,A.jsx)(x,{geoLocationData:c,searchValue:M,error:C})})]})}},77722:(e,t,n)=>{"use strict";n.d(t,{r:()=>f});var r=n(1839),o=n(30538),i=n(34089),a=n(43331),s=n(72666),l=n(93546),c=n(76467),u=n(66700),d=function(e){return{guideContainer:{"& .responsive-layout-right-main-content":{backgroundColor:e.palette.geoViewColor.white}},rightPanelContainer:{color:e.palette.geoViewColor.textColor.main},footerGuideListItemText:{"&:hover":{cursor:"pointer"},"& .MuiListItemText-primary":{padding:"15px",fontSize:"".concat(e.palette.geoViewFontSize.lg," !important"),lineHeight:1.5,fontWeight:"700",textTransform:"capitalize"}},footerGuideListItemCollapse:{"& .MuiListItemText-primary":{padding:"15px 15px 15px 30px",fontSize:"".concat(e.palette.geoViewFontSize.md," !important"),lineHeight:1.5,whiteSpace:"unset"}},errorMessage:{marginLeft:"60px",marginTop:"30px",marginBottom:"12px"}}},h=n(54502),p=n(97282);function f(e){var t,n=e.fullWidth,f=(0,a.useTranslation)().t,g=(0,s.A)(),m=d(g),y=(0,c.DR)(),v=(0,o.useState)(""),b=(0,r.A)(v,2),w=b[0],A=b[1],x=(0,o.useState)(0),S=(0,r.A)(x,2),C=S[0],E=S[1],k=(0,o.useCallback)((function(){return u.vF.logTraceUseCallback("GUIDE_PANEL - getListOfGuides"),y?Object.keys(y).map((function(e){var t=y[e].content;return y[e].children&&Object.keys(y[e].children).forEach((function(n){t+="\n".concat(y[e].children[n].content),y[e].children[n].children&&Object.keys(y[e].children[n].children).forEach((function(r){t+="\n".concat(y[e].children[n].children[r].content)}))})),{layerName:y[e].heading,layerPath:e,layerStatus:"loaded",queryStatus:"processed",content:(0,p.jsx)(i.Ay,{options:{wrapper:"article"},children:t})}})):[]}),[y]),T=(0,o.useMemo)((function(){return u.vF.logTraceUseMemo("GUIDE_PANEL - layerlist"),A("navigationControls"),k()}),[k]),_=(0,o.useCallback)((function(e){u.vF.logTraceUseCallback("GUIDE PANEL - handleGuideItemClick",e);var t=T.findIndex((function(t){return t.layerName===e.layerName}));E(t),A(e.layerPath)}),[T]);return(0,p.jsx)(l.Box,{sx:m.guideContainer,children:(0,p.jsx)(h.PE,{selectedLayerPath:w||"",layerList:T,onLayerListClicked:_,fullWidth:n,"aria-label":f("guide.title"),children:(0,p.jsx)(l.Box,{sx:m.rightPanelContainer,"aria-label":f("guide.title"),className:"guidebox-container",children:(0,p.jsx)(l.Box,{className:"guideBox",children:null===(t=T[C])||void 0===t?void 0:t.content})})})})}},94869:(e,t,n)=>{"use strict";n.d(t,{s:()=>f});var r=n(1839),o=n(30538),i=n(43331),a=n(72666),s=n(93546),l=n(66700),c=n(5182),u=function(e){return{tooltipItem:{color:e.palette.geoViewColor.bgColor.light[900],background:e.palette.geoViewColor.bgColor.dark[900],opacity:.9,fontSize:e.palette.geoViewFontSize.default,padding:"3px 8px",borderRadius:"5px",textAlign:"center",maxWidth:"350px",maxHeight:"60px",position:"absolute",display:"flex",top:"-5px",left:"3px"},tooltipText:{fontSize:e.palette.geoViewFontSize.default,color:e.palette.geoViewColor.bgColor.light[900],textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",padding:"5px"}}},d=n(10814),h=n(76467),p=n(97282);function f(){var e=(0,i.useTranslation)().t,t=(0,d.Jh)(),n=(0,a.A)(),f=(0,o.useState)(""),g=(0,r.A)(f,2),m=g[0],y=g[1],v=(0,o.useState)(""),b=(0,r.A)(v,2),w=b[0],A=b[1],x=(0,o.useState)(!1),S=(0,r.A)(x,2),C=S[0],E=S[1],k=u(n),T=(0,c.kI)(),_=(0,c.KE)(),O=(0,h.sd)().querySelector('[id^="mapTargetElement-'.concat(t,'"]')),P=(0,o.useRef)(null);return(0,o.useEffect)((function(){var e;(l.vF.logTraceUseEffect("HOVER-TOOLTIP - hoverFeatureInfo",T),T)&&(y(null===(e=T.fieldInfo)||void 0===e?void 0:e.value),A(T.featureIcon.toDataURL()),E(!0))}),[T]),(0,o.useEffect)((function(){y(""),A(""),E(!1)}),[_]),(0,o.useEffect)((function(){if(l.vF.logTraceUseEffect("HOVER-TOOLTIP - tooltipValue changed",m),O&&P.current&&_&&_.pixel&&m){var e=O.getBoundingClientRect(),t=P.current.getBoundingClientRect(),n=_.pixel[0]+10,r=_.pixel[1]-35;_.pixel[0]+t.width>e.width&&(n=_.pixel[0]-t.width-10),_.pixel[1]-t.height{"use strict";n.d(t,{$:()=>s.$,re:()=>i.r,rn:()=>o.r,s$:()=>a.s,tk:()=>r.t});n(65169),n(52604),n(93887),n(44366),n(62594),n(19570),n(98772),n(62678),n(21178),n(22311),n(19001);var r=n(55576),o=n(33882),i=(n(62651),n(42057),n(99724),n(88670),n(3778),n(82686),n(96783),n(88375),n(25869),n(6093),n(88274),n(77722)),a=(n(94869),n(1251)),s=n(16540);n(46400),n(97794),n(44967),n(1604),n(20166),n(41334),n(79600),n(63241),n(90447),n(12190),n(45202),n(37937),n(47765),n(26834),n(94650),n(82107)},16540:(e,t,n)=>{"use strict";n.d(t,{$:()=>xe});var r=n(74780),o=n(1839),i=n(30538),a=n(72666),s=n(93546),l=n(55997),c=n(43331),u=n(97282);function d(){var e=(0,a.A)(),t=(0,c.useTranslation)().t,n=(0,l.y5)(),r=(0,l.Yo)(),o=(0,l.$T)().setDisplayState,i=function(e){o(e)};return(0,u.jsx)(s.Box,{id:"layers-toolbar",sx:{padding:"8px 18px 0px 18px"},children:(0,u.jsxs)(s.ButtonGroup,{size:"small",variant:"outlined","aria-label":"outlined button group",children:[(0,u.jsx)(s.Button,{makeResponsive:!0,type:"text",disabled:!r.length,size:"small",tooltip:"general.view",variant:"view"===n?"contained":"outlined",startIcon:(0,u.jsx)(s.VisibilityOutlinedIcon,{fontSize:e.palette.geoViewFontSize.sm}),onClick:function(){return i("view")},children:t("general.view")}),(0,u.jsx)(s.Button,{makeResponsive:!0,type:"text",size:"small",tooltip:"legend.addLayer",variant:"add"===n?"contained":"outlined",startIcon:(0,u.jsx)(s.AddCircleOutlineIcon,{fontSize:e.palette.geoViewFontSize.sm}),onClick:function(){return i("add")},children:t("general.add")}),(0,u.jsx)(s.Button,{makeResponsive:!0,type:"text",disabled:!r.length,size:"small",tooltip:"legend.sortLayers",variant:"order"===n?"contained":"outlined",startIcon:(0,u.jsx)(s.HandleIcon,{fontSize:e.palette.geoViewFontSize.sm}),onClick:function(){return i("order")},children:t("legend.sort")}),(0,u.jsx)(s.Button,{makeResponsive:!0,type:"text",disabled:!r.length,size:"small",tooltip:"legend.removeLayer",variant:"remove"===n?"contained":"outlined",startIcon:(0,u.jsx)(s.DeleteOutlineIcon,{fontSize:e.palette.geoViewFontSize.sm}),onClick:function(){return i("remove")},children:t("general.remove")})]})})}var h=n(89255),p=n.n(h),f=function(e){return{categoryTitle:{textAlign:"left",fontWeight:"600",fontSize:e.palette.geoViewFontSize.lg},layerDetails:{padding:"20px"},buttonDescriptionContainer:{display:"flex",flexDirection:"row",alignItems:"center"},layerOpacityControlContainer:{display:"flex",flexDirection:"row",alignItems:"right",justifyContent:"right","& #layerOpacity":{width:{xs:"100%",sm:"100%",md:"50%",lg:"40%",xl:"40%"}}},itemsGrid:{width:"100%","& .MuiGrid-container":{"&:first-of-type":{fontWeight:"bold",borderTop:"1px solid ".concat(e.palette.geoViewColor.bgColor.dark[300]),borderBottom:"1px solid ".concat(e.palette.geoViewColor.bgColor.dark[300])},"& .MuiGrid-item":{padding:"3px 6px","&:first-of-type":{width:"80px"},"&:nth-of-type(2)":{flexGrow:1,textAlign:"left",display:"flex",flexDirection:"row",alignItems:"center"}}}},tableIconLabel:{color:e.palette.geoViewColor.textColor.main,fontSize:e.palette.geoViewFontSize.default,noWrap:!0,marginLeft:20},wmsImage:{maxWidth:"100%",height:"auto"}}},g=n(22264),m=n(43123),y=n(42982),v=n(86308),b=function(e){return{layerOpacityControl:{display:"flex",alignItems:"center",gap:"15px",padding:"8px 20px 7px 15px",backgroundColor:e.palette.geoViewColor.bgColor.main,borderRadius:"10px","& .MuiSlider-mark":{width:"9px",height:"9px",opacity:1,backgroundColor:e.palette.geoViewColor.primary.light[600],border:"2px solid ".concat(e.palette.geoViewColor.primary.main),borderRadius:"50%"},"& .MuiSlider-markLabel":{fontSize:e.palette.geoViewFontSize.xs,color:e.palette.geoViewColor.textColor.main}}}},w=n(66700);function A(e){w.vF.logTraceRender("components/layers/right-panel/layer-opacity-control/layer-opacity-control");var t=e.layerDetails,n=(0,c.useTranslation)().t,r=(0,a.A)(),o=b(r),i=(0,l.$T)().setLayerOpacity,d=[];t.opacityFromParent&&1!==t.opacityFromParent&&(d=[{value:100*t.opacityFromParent,label:n("layers.opacityMax")}]);return(0,u.jsx)(s.Box,{style:{padding:"16px 17px 16px 23px"},children:(0,u.jsxs)(s.Box,{sx:o.layerOpacityControl,children:[(0,u.jsx)(s.Typography,{sx:{fontWeight:"bold"},children:n("layers.opacity")}),(0,u.jsx)(s.Slider,{min:0,max:100,step:1,value:100*(t.opacity?t.opacity:1),onChange:function(e,n){var r=Array.isArray(e)?e[0]:e;t.opacityFromParent&&1!==t.opacityFromParent&&r/100>=t.opacityFromParent?i(t.layerPath,t.opacityFromParent):i(t.layerPath,r/100)},marks:d})]})})}function x(e){var t,n;w.vF.logTraceRender("components/layers/right-panel/layer-details");var d=e.layerDetails,h=(0,c.useTranslation)().t,b=(0,a.A)(),x=f(b),S=(0,i.useState)(!1),C=(0,o.A)(S,2),E=C[0],k=C[1],T=(0,l.Zt)(),_=(0,l.$T)(),O=_.setAllItemsVisibility,P=_.toggleItemVisibility,I=_.setHighlightLayer,M=_.refreshLayer,L=_.zoomToLayerExtent,R=_.getLayerBounds,j=(0,g.A6)().openModal,F=(0,m.Xh)(),D=F.find((function(e){return e.layerPath===(null==d?void 0:d.layerPath)}));(0,i.useEffect)((function(){var e;return w.vF.logTraceUseEffect("LAYER DETAILS",D,d),D?e=setTimeout((function(){k(!0)}),100):k(!0),function(){k(!1),e&&clearTimeout(e)}}),[F,d,D]);var N=function(){L(d.layerPath).catch((function(e){w.vF.logPromiseFailed("in zoomToLayerExtent in layer-details.handleZoomTo",e)}))},z=function(){j({activeElementId:"layerDataTable",callbackElementId:"table-details"})};if(void 0===d.bounds||d.bounds[0]===1/0){var B=R(d.layerPath);B&&(d.bounds=B)}var V=function(){M(d.layerPath)},$=function(){I(d.layerPath)},G=function(){return p()(d.items,(function(e){return!1!==e.isVisible}))};function U(e){var t,n,r;return"simple"===(null===(t=d.styleConfig)||void 0===t||null===(t=t.LineString)||void 0===t?void 0:t.styleType)||"simple"===(null===(n=d.styleConfig)||void 0===n||null===(n=n.Point)||void 0===n?void 0:n.styleType)||"simple"===(null===(r=d.styleConfig)||void 0===r||null===(r=r.Polygon)||void 0===r?void 0:r.styleType)?null:d.canToggle?(0,u.jsx)(s.IconButton,{color:"primary",onClick:function(){return P(d.layerPath,e)},children:!0===e.isVisible?(0,u.jsx)(s.CheckBoxIcon,{}):(0,u.jsx)(s.CheckBoxOutlineBlankIcon,{})}):(0,u.jsxs)(s.IconButton,{disabled:!0,tooltip:"layers.visibilityIsAlways",children:[" ",(0,u.jsx)(s.CheckBoxIcon,{color:"disabled"})," "]})}var W,q,H,Y;return(0,u.jsx)(s.Paper,{sx:x.layerDetails,children:void 0!==d&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)(s.Box,{sx:{display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[(0,u.jsxs)(s.Box,{sx:(0,r.A)({textAlign:"left"},b.breakpoints.down("md"),{display:"none"}),children:[(0,u.jsxs)(s.Typography,{sx:x.categoryTitle,children:[" ",d.layerName," "]}),(0,u.jsxs)(s.Typography,{sx:{fontSize:b.palette.geoViewFontSize.sm},children:[" ",function(){if(d.children.length>0)return h("legend.subLayersCount").replace("{count}",d.children.length.toString());var e=d.items.filter((function(e){return!1!==e.isVisible})).length,t=d.items.length;return t<=1?null:h("legend.itemsCount").replace("{count}",e.toString()).replace("{totalCount}",t.toString())}()," "]})]}),(0,u.jsxs)(s.Box,{sx:{display:"flex",flexDirection:"row",alignItems:"center",gap:"15px"},children:[E&&(null==D||null===(W=D.features)||void 0===W?void 0:W.length)&&(!1!==(null===(Y=d.controls)||void 0===Y?void 0:Y.table)?(0,u.jsx)(s.IconButton,{id:"table-details",tooltip:"legend.tableDetails",className:"buttonOutline",onClick:z,children:(0,u.jsx)(s.TableViewIcon,{})}):(0,u.jsx)(s.IconButton,{id:"table-details",className:"buttonOutline",disabled:!0,children:(0,u.jsx)(s.TableViewIcon,{color:"disabled"})})),(0,u.jsx)(s.IconButton,{tooltip:"legend.refreshLayer",className:"buttonOutline",onClick:V,children:(0,u.jsx)(s.RestartAltIcon,{})}),!1!==(null===(H=d.controls)||void 0===H?void 0:H.highlight)?(0,u.jsx)(s.IconButton,{tooltip:"legend.highlightLayer",onClick:$,className:T===d.layerPath?"buttonOutline active":"buttonOutline",children:(0,u.jsx)(s.HighlightOutlinedIcon,{})}):(0,u.jsx)(s.IconButton,{className:"buttonOutline",disabled:!0,children:(0,u.jsx)(s.HighlightOutlinedIcon,{color:"disabled"})}),!1!==(null===(q=d.controls)||void 0===q?void 0:q.zoom)?(0,u.jsx)(s.IconButton,{tooltip:"legend.zoomTo",onClick:N,className:"buttonOutline",disabled:void 0===d.bounds,children:(0,u.jsx)(s.ZoomInSearchIcon,{})}):(0,u.jsx)(s.IconButton,{className:"buttonOutline",disabled:!0,children:(0,u.jsx)(s.ZoomInSearchIcon,{color:"disabled"})})]})]}),!1!==(null===(t=d.controls)||void 0===t?void 0:t.opacity)&&(0,u.jsx)(s.Box,{sx:x.layerOpacityControlContainer,children:(0,u.jsx)(s.Box,{id:"layerOpacity",children:(0,u.jsx)(A,{layerDetails:d})})}),"ogcWms"===d.type&&d.icons.length&&d.icons[0].iconImage&&"no data"!==d.icons[0].iconImage?(0,u.jsx)(s.Grid,{sx:x.itemsGrid,children:(0,u.jsx)(s.Grid,{container:!0,pt:6,pb:6,children:(0,u.jsx)(s.Box,{component:"img",alt:"icon",src:d.icons[0].iconImage,style:x.wmsImage})})}):null,(0,u.jsxs)(s.Box,{sx:{marginTop:"20px"},children:[(null===(n=d.items)||void 0===n?void 0:n.length)>0&&(0,u.jsxs)(s.Grid,{container:!0,direction:"column",spacing:0,sx:x.itemsGrid,justifyContent:"left",justifyItems:"stretch",children:[d.items.length>1&&(0,u.jsxs)(s.Grid,{container:!0,direction:"row",justifyContent:"center",alignItems:"stretch",justifyItems:"stretch",children:[(0,u.jsx)(s.Grid,{item:!0,xs:"auto",children:d.canToggle?(0,u.jsx)(s.IconButton,{color:"primary",onClick:function(){return O(d.layerPath,!G())},children:G()?(0,u.jsx)(s.CheckBoxIcon,{}):(0,u.jsx)(s.CheckBoxOutlineBlankIcon,{})}):(0,u.jsxs)(s.IconButton,{disabled:!0,children:[" ",(0,u.jsx)(s.CheckBoxIcon,{color:"disabled"})," "]})}),(0,u.jsx)(s.Grid,{item:!0,xs:"auto",children:(0,u.jsx)(s.Box,{component:"span",children:h("general.name")})})]}),d.items.map((function(e){return(0,u.jsxs)(s.Grid,{container:!0,direction:"row",justifyContent:"center",alignItems:"stretch",children:[(0,u.jsx)(s.Grid,{item:!0,xs:"auto",children:U(e)}),(0,u.jsxs)(s.Grid,{item:!0,xs:"auto",children:[e.icon?(0,u.jsx)(s.Box,{component:"img",alt:e.name,src:e.icon}):(0,u.jsx)(s.BrowserNotSupportedIcon,{}),(0,u.jsx)(s.Box,{component:"span",style:x.tableIconLabel,children:e.name})]})]},"".concat(e.name,"/").concat(d.items.indexOf(e)))}))]}),d.children.length>0&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(s.Typography,{sx:{fontWeight:"bold",textAlign:"left",margin:"10px 0px"},children:h("layers.subLayersList")}),function e(t){return(0,u.jsx)(s.List,{children:t.children.map((function(t){return(0,u.jsxs)(i.Fragment,{children:[(0,u.jsxs)(s.ListItem,{sx:{padding:"6px 0px",borderTop:"1px solid ".concat(b.palette.geoViewColor.bgColor.dark[50])},children:[(0,u.jsx)(s.ListItemIcon,{children:(0,u.jsx)(v.B,{layer:t})}),(0,u.jsx)(s.ListItemText,{primary:t.layerName})]}),t.children.length>0&&(0,u.jsx)(s.Box,{sx:{paddingLeft:"30px",width:"100%"},children:e(t)})]},t.layerId)}))})}(d)]})]}),(0,u.jsx)(s.Divider,{sx:{marginTop:"50px",marginBottom:"10x"},variant:"middle"}),d.layerAttribution&&d.layerAttribution.map((function(e){return(0,u.jsx)(s.Typography,{sx:{marginTop:"10px",color:b.palette.geoViewColor.textColor.light[200],fontSize:b.palette.geoViewFontSize.sm,textAlign:"center"},children:-1===e.indexOf("©")?"© ".concat(e):e},(0,y.generateId)())}))]})})}var S=n(5182),C=n(10814),E=n(30886),k=n.n(E),T=n(78283),_=n(81556);function O(e){w.vF.logTraceRender("components/layers/left-panel/delete-undo-button/UndoButtonWithProgress");var t=e.progressValue,n=e.onUndo;return(0,u.jsxs)(s.Box,{sx:{position:"relative",display:"inline-flex"},onClick:n,children:[(0,u.jsx)(s.CircularProgressBase,{variant:"determinate",size:40,value:t}),(0,u.jsx)(s.Box,{style:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:(0,u.jsx)(s.IconButton,{edge:"end",size:"small",children:(0,u.jsx)(s.UndoIcon,{})})})]})}function P(e){var t;w.vF.logTraceRender("components/layers/left-panel/delete-undo-button/DeleteUndoButton");var n=e.layer,r=(0,i.useState)(10),a=(0,o.A)(r,2),c=a[0],d=a[1],h=(0,i.useState)(!1),p=(0,o.A)(h,2),f=p[0],g=p[1],m=(0,l.$T)(),y=m.deleteLayer,v=m.setLayerDeleteInProgress,b=m.getLayerDeleteInProgress,A=(0,S.U6)(),x=A.getVisibilityFromOrderedLayerInfo,C=A.setOrToggleLayerVisibility,E=function(){x(n.layerPath)&&C(n.layerPath),g(!0),v(!0)};return(0,i.useEffect)((function(){100===c&&(y(n.layerPath),g(!1))}),[c]),(0,i.useEffect)((function(){if(f){var e=setInterval((function(){d((function(e){return e>=100?0:e+5}))}),90);return function(){clearInterval(e)}}d(0)}),[f]),n.layerStatus===_.RI.LOADING||n.layerStatus===_.RI.PROCESSING?(0,u.jsx)(s.Box,{}):f||!1===(null===(t=n.controls)||void 0===t?void 0:t.remove)||b()?f?(0,u.jsx)(O,{progressValue:c,onUndo:function(){C(n.layerPath),g(!1),v(!1)}}):(0,u.jsx)(s.IconButton,{onClick:E,edge:"end",size:"small",disabled:!0,children:(0,u.jsx)(s.DeleteOutlineIcon,{color:"disabled"})}):(0,u.jsx)(s.IconButton,{onClick:E,edge:"end",size:"small",children:(0,u.jsx)(s.DeleteOutlineIcon,{color:"error"})})}var I=n(17130),M=n(69309),L=n(2912),R=n(39399);function j(e){var t=e.depth,n=e.layer,r=e.setIsLayersListPanelVisible,o=e.index,i=e.isFirst,a=e.isLast,d=e.isLayoutEnlarged;w.vF.logTraceRender("components/layers/left-panel/single-layer");var h=(0,c.useTranslation)().t,p=(0,l.$T)().setSelectedLayerPath,f=(0,S.U6)(),g=f.getVisibilityFromOrderedLayerInfo,y=f.setOrToggleLayerVisibility,b=f.getLegendCollapsedFromOrderedLayerInfo,A=f.setLegendCollapsed,x=f.reorderLayer,C=(0,l.u1)(),E=(0,l.y5)(),O=(0,m._M)(),j=(0,m.Xh)(),F=(0,m.eQ)().triggerGetAllFeatureInfo,D=!b(n.layerPath),z=function e(t){return"view"===E&&(!!(t.children&&t.children.length>0)&&(t.children.filter((function(e){return e.layerPath===C})).length>0||k()(t.children,(function(t){return e(t)}))))}(n),B=n.layerPath===C&&"view"===E,V=function e(t){var n;if(!1===(null===(n=t.controls)||void 0===n?void 0:n.visibility))return!0;var r=!1;return t.children&&t.children.length>0&&(r=t.children.some((function(t){return e(t)}))),r}(n),$=function(){A(n.layerPath)},G=function(){["processed","loaded"].includes(n.layerStatus)&&(p(n.layerPath),r&&(r(!0),j.filter((function(e){var t;return e.layerPath===n.layerPath&&!(null==e||null===(t=e.features)||void 0===t||!t.length)})).length&&n.layerStatus!==_.RI.ERROR||F(n.layerPath).catch((function(e){w.vF.logPromiseFailed("Failed to triggerGetAllFeatureInfo in single-layer.handleLayerClick",e)}))))};var U,W,q,H,Y=(0,T.zh)({delay:150*o+150*t/2,from:{opacity:.1},to:{opacity:1}}),K=(0,T.CS)(s.Paper);return(0,u.jsxs)(K,{className:(H=["layer-panel ",null!==(q=n.layerStatus)&&void 0!==q?q:""],0===t&&H.push("bordered"),!z||B||D||H.push("selectedLayer bordered-primary"),B&&H.push("selectedLayer bordered-primary"),H.join(" ")),style:Y,"data-layer-depth":t,children:[(0,u.jsx)(s.Tooltip,{title:n.layerName,placement:"top",enterDelay:1e3,arrow:!0,children:(0,u.jsx)(s.ListItem,{divider:!0,tabIndex:0,onKeyDown:function(e){return function(e){"Enter"===e.key&&G()}(e)},children:(0,u.jsxs)(s.ListItemButton,{selected:B||z&&!D,tabIndex:-1,sx:{minHeight:"4.51rem"},children:[(0,u.jsx)(v.B,{layer:n}),(0,u.jsx)(s.ListItemText,{primary:void 0!==n.layerName?n.layerName:n.layerId,secondary:function(){if("error"===n.layerStatus)return h("legend.layerError");if("processing"===n.layerStatus||"loading"===n.layerStatus)return h("legend.layerLoading");if(n.children.length>0)return h("legend.subLayersCount").replace("{count}",n.children.length.toString());var e=n.items.filter((function(e){return!1!==e.isVisible})).length,t=n.items.length,r=h("legend.itemsCount").replace("{count}",e.toString()).replace("{totalCount}",t.toString());return t<=1&&(r=""),O[n.layerPath]?(0,u.jsxs)(s.Typography,{sx:{color:"unset",fontSize:"unset"},component:"span",children:[r,"  ",(0,u.jsx)(I.A,{sx:{marginBottom:"-5px"},fontSize:"small"})]}):r}(),onClick:G}),!d&&(0,u.jsxs)(s.ListItemIcon,{className:"rightIcons-container",children:["processing"===n.layerStatus||"loading"===n.layerStatus||"view"!==E?null:"error"===n.layerStatus?(0,u.jsx)(P,{layer:n}):V?(0,u.jsx)(s.IconButton,{edge:"end",size:"small",tooltip:"layers.visibilityIsAlways",className:"buttonOutline",disabled:!0,children:(0,u.jsx)(s.VisibilityOutlinedIcon,{color:"disabled"})}):(0,u.jsx)(s.IconButton,{edge:"end",size:"small",onClick:function(){y(n.layerPath)},tooltip:"layers.toggleVisibility",className:"buttonOutline",children:g(n.layerPath)?(0,u.jsx)(s.VisibilityOutlinedIcon,{}):(0,u.jsx)(s.VisibilityOffOutlinedIcon,{})}),null!==(W=n.children)&&void 0!==W&&W.length?(0,u.jsx)(s.IconButton,{color:"primary",edge:"end",size:"small",onClick:$,tooltip:"layers.toggleCollapse",className:"buttonOutline",children:D?(0,u.jsx)(s.KeyboardArrowUpIcon,{}):(0,u.jsx)(s.KeyboardArrowDownIcon,{})}):null,"remove"===E?(0,u.jsx)(P,{layer:n}):"order"===E?(0,u.jsxs)(u.Fragment,{children:[(null===(U=n.children)||void 0===U?void 0:U.length)>0&&(0,u.jsx)(R.c,{orientation:"vertical",sx:{marginLeft:"0.4rem",height:"1.5rem",backgroundColor:function(e){return e.palette.geoViewColor.bgColor.dark[300]}},variant:"middle",flexItem:!0}),(0,u.jsx)(s.IconButton,{disabled:i,edge:"end",size:"small",onClick:function(){return x(n.layerPath,-1)},children:(0,u.jsx)(M.A,{})}),(0,u.jsx)(s.IconButton,{disabled:a,edge:"end",size:"small",onClick:function(){return x(n.layerPath,1)},children:(0,u.jsx)(L.A,{})})]}):null]})]})},n.layerName)}),n.children&&n.children.length?(0,u.jsx)(s.Collapse,{in:D,timeout:"auto",children:(0,u.jsx)(N,{depth:1+t,layersList:n.children,isLayoutEnlarged:d,setIsLayersListPanelVisible:r})}):null]})}var F=function(e){return{list:{color:"text.primary",width:"100%",paddingLeft:"8px",paddingRight:"14px !important",overflowY:"auto","& .MuiListItemText-primary":{fontWeight:"600",padding:"5px 0px",fontSize:"".concat(e.palette.geoViewFontSize.default," !important"),lineHeight:1.5,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},"& .layer-panel":{"& .MuiListItemText-root":{marginLeft:"12px"},"& .rightIcons-container":{display:"flex",flexDirection:"row",justifyContent:"right",alignItems:"center","& .MuiIconButton-root":{margin:"0px 5px"}}},"& .MuiListItem-root":{height:"100%","& .MuiListItemButton-root":{padding:"0 0 0 16px",height:"100%"},"& .MuiBox-root":{height:"100%",borderTopRightRadius:"4px",borderBottomRightRadius:"4px",position:"relative",display:"flex",justifyContent:"center",alignItems:"center"}},"& .MuiListItemIcon-root":{minWidth:"2.5rem",marginRight:"20px"},"& .MuiListItemText-root":{">span":{fontSize:e.palette.geoViewFontSize.default},"> p":{fontSize:e.palette.geoViewFontSize.sm,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},evenDepthList:{background:e.palette.geoViewColor.bgColor.main,boxShadow:2,padding:"0px",margin:"20px",width:"unset",boxSizing:"border-box","& .layerItemContainer":{backgroundColor:"transparent",marginBottom:"0px"}},oddDepthList:{background:"white",boxShadow:2,padding:"0px",margin:"20px",width:"unset",boxSizing:"border-box","& .layerItemContainer":{backgroundColor:"transparent",marginBottom:"0px"}}}},D=n(92687);function N(e){var t=e.layersList,n=e.setIsLayersListPanelVisible,r=e.isLayoutEnlarged,o=e.depth;w.vF.logTraceRender("components/layers/left-panel/layers-list");var i=(0,a.A)(),l=F(i),c=(0,D.U6)().getIndexFromOrderedLayerInfo,d=t.sort((function(e,t){return c(e.layerPath)>c(t.layerPath)?1:-1})),h=d.map((function(e,t){var i=0===t,a=t===d.length-1;return(0,u.jsx)(j,{depth:o,layer:e,setIsLayersListPanelVisible:n,index:t,isFirst:i,isLast:a,isLayoutEnlarged:r},"layerKey-".concat(t,"-").concat(e.layerPath).toLowerCase().replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,"-"))}));return(0,u.jsx)(s.Box,{sx:0===o?l.list:o%2?l.evenDepthList:l.oddDepthList,children:h})}var z=n(80180),B=n(64417),V=n.n(B),$=n(91384),G=n(15268),U=n(90271),W=n(34849),q=n(6440),H=n(67475),Y=n(10599),K=n(81381),X=n(12923),Z=n(89027),J=n(73620),Q=n(58129),ee=n(58876),te=n(92023),ne=n(83866),re=n(88030),oe=n(38956),ie=n(91648),ae=n(66734),se=n(78673),le=n(98016),ce=n(37450),ue=n(55231),de=n(77109),he=n(18113),pe=n(77284),fe=n(57739),ge=n(67504);function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t0&&t.Layer.forEach((function(t){var n=t.Name;(0===u.length||u.includes(n))&&(w.vF.logDebug("NAME",n),f.push(new ae.Q({geoviewLayerConfig:d,layerId:t.Name,layerName:(0,y.createLocalizedString)(t.Title)}))),e(t)}))},p.Capability.Layer&&m(p.Capability.Layer),1===f.length?(Te(f[0].layerName.en),Ie([f[0]])):Se(f),e.next=32;break;case 28:return e.prev=28,e.t0=e.catch(2),"proj"===e.t0.message?rt("WMS",t,n):nt("WMS"),e.abrupt("return",!1);case 32:return e.abrupt("return",!0);case 33:case"end":return e.stop()}}),e,null,[[2,28]])})));return function(){return e.apply(this,arguments)}}(),it=function(){var e=(0,z.A)(V().mark((function e(){var t,n,r,o;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t={geoviewLayerType:m,listOfLayerEntryConfig:[],metadataAccessPath:(0,y.createLocalizedString)(L)},n=new W.dS(Ke,t),t.geoviewLayerId=n.geoviewLayerId,k(n),e.next=7,n.createGeoViewLayers();case 7:if(n.metadata){e.next=9;break}throw new Error("Cannot get metadata");case 9:Ge(!0),r=n.metadata,1===(o=r.FeatureTypeList.FeatureType.map((function(e){return new Z.q({geoviewLayerConfig:t,layerId:e.Name["#text"].split(":")[1],layerName:(0,y.createLocalizedString)(e.Title["#text"])})}))).length?(Te(o[0].layerName.en),Ie([o[0]])):Se(o),e.next=19;break;case 15:return e.prev=15,e.t0=e.catch(0),nt("WFS"),e.abrupt("return",!1);case 19:return e.abrupt("return",!0);case 20:case"end":return e.stop()}}),e,null,[[0,15]])})));return function(){return e.apply(this,arguments)}}(),at=function(){var e=(0,z.A)(V().mark((function e(){var t,n,r,o;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t={geoviewLayerType:v,listOfLayerEntryConfig:[],metadataAccessPath:(0,y.createLocalizedString)(L.split("collections")[0])},n=new G.ke(Ke,t),t.geoviewLayerId=n.geoviewLayerId,k(n),e.next=7,n.createGeoViewLayers();case 7:if(r=n.metadata,n.metadata){e.next=10;break}throw new Error("Cannot get metadata");case 10:if(Ge(!0),Object.keys(r).length){e.next=14;break}return nt("OGC API Feature"),e.abrupt("return",!1);case 14:if(["collections","links"].every((function(e){return Object.keys(r).includes(e)}))){e.next=18;break}throw new Error("err");case 18:o=[],2===L.split("/collections/").length&&r.collections.forEach((function(e){L.split("/collections/")[1]===e.id&&o.push(new J.j({geoviewLayerConfig:t,layerId:e.id,layerName:(0,y.createLocalizedString)(e.title)}))})),0===o.length&&(o=r.collections.map((function(e){return new J.j({geoviewLayerConfig:t,layerId:e.id,layerName:(0,y.createLocalizedString)(e.title)})}))),1===o.length?(Te(o[0].layerName.en),Ie([o[0]])):Se(o),e.next=28;break;case 24:return e.prev=24,e.t0=e.catch(0),nt("OGC API Feature"),e.abrupt("return",!1);case 28:return e.abrupt("return",!0);case 29:case"end":return e.stop()}}),e,null,[[0,24]])})));return function(){return e.apply(this,arguments)}}(),st=function(){var e=(0,z.A)(V().mark((function e(){var t,n;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,-1===L.indexOf("/")&&32===L.replaceAll("-","").length){e.next=4;break}throw new Error("err");case 4:return t=new le.h(Ke,Y.FHQ.maps[Ke].getDisplayLanguage()),e.next=7,t.createLayersFromUUID(L);case 7:1===(n=e.sent).length&&(1===n.length?(Te(n[0].geoviewLayerName.en),Ie(n)):Se(n)),e.next=15;break;case 11:return e.prev=11,e.t0=e.catch(0),nt("GeoCore UUID"),e.abrupt("return",!1);case 15:return e.abrupt("return",!0);case 16:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}(),lt=function(){var e=(0,z.A)(V().mark((function e(t){var n,o,i,a;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=t===r?{geoviewLayerType:t,listOfLayerEntryConfig:[],metadataAccessPath:(0,y.createLocalizedString)(L)}:{geoviewLayerType:t,listOfLayerEntryConfig:[],metadataAccessPath:(0,y.createLocalizedString)(L.substring(0,L.lastIndexOf("/")))},o=t===r?new de.zt(Ke,n):new pe.Uw(Ke,n),n.geoviewLayerId=o.geoviewLayerId,k(o),e.next=7,o.createGeoViewLayers();case 7:if(i=o.metadata){e.next=10;break}throw new Error("Cannot get metadata");case 10:if(Ge(!0),null===i||!i.capabilities.includes(et(t).capability)){e.next=15;break}"layers"in i&&(a=[],t===r?i.layers.forEach((function(e){return a.push(new oe.q({geoviewLayerConfig:n,layerId:e.id,layerName:(0,y.createLocalizedString)(e.name)}))})):a.push(new te.h({geoviewLayerConfig:n,layerId:i.layers[0].id,layerName:(0,y.createLocalizedString)(i.layers[0].name)})),1===a.length?(Te(a[0].layerName.en),Ie([a[0]])):Se(a)),e.next=16;break;case 15:throw new Error("err");case 16:e.next=22;break;case 18:return e.prev=18,e.t0=e.catch(0),nt(et(t).err),e.abrupt("return",!1);case 22:return e.abrupt("return",!0);case 23:case"end":return e.stop()}}),e,null,[[0,18]])})));return function(t){return e.apply(this,arguments)}}(),ct=function(){var e=(0,z.A)(V().mark((function e(){var t,n,r,o,i;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r={geoviewLayerType:h,listOfLayerEntryConfig:[],metadataAccessPath:(0,y.createLocalizedString)(L)},o=new K.$x(Ke,r),r.geoviewLayerId=o.geoviewLayerId,k(o),e.next=7,o.createGeoViewLayers();case 7:i=[new ie.Q({geoviewLayerConfig:r,layerId:r.geoviewLayerId,layerName:(0,y.createLocalizedString)("string"==typeof(null===(t=o.metadata)||void 0===t?void 0:t.name)?null===(n=o.metadata)||void 0===n?void 0:n.name:""),source:{dataAccessPath:(0,y.createLocalizedString)(L)}})],Te(i[0].layerName.en),Ie([i[0]]),e.next=16;break;case 12:return e.prev=12,e.t0=e.catch(0),nt("ESRI Image"),e.abrupt("return",!1);case 16:return e.abrupt("return",!0);case 17:case"end":return e.stop()}}),e,null,[[0,12]])})));return function(){return e.apply(this,arguments)}}(),ut=function(){var e=(0,z.A)(V().mark((function e(){var t,n,r,o,i;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.prev=0,t=["{x}","{y}","{z}"],n=0;case 3:if(!(n1?xe.forEach((function(t){var n=Y.FHQ.maps[Ke].layer.addGeoviewLayer(t);n&&e.push(n)})):Pe.length>0&&Pe.forEach((function(t){var n=Y.FHQ.maps[Ke].layer.addGeoviewLayer(t);n&&e.push(n)})),Promise.allSettled(e.map((function(e){return e.promiseLayer}))).then((function(){pt(),e.forEach((function(e){return ft(e.layer)}))})).catch((function(e){w.vF.logPromiseFailed("Promise.allSettled in handleStepLast in AddNewLayer",e)}))}else if(E){var t=Pe[0].geoviewLayerConfig;t.listOfLayerEntryConfig=Pe,t.geoviewLayerName=(0,y.createLocalizedString)(ke),ve===b&&(Pe[0].layerName=(0,y.createLocalizedString)(ke)),1===t.listOfLayerEntryConfig.length&&(t.listOfLayerEntryConfig[0].layerName=t.geoviewLayerName);var n=Y.FHQ.maps[Ke].layer.addGeoviewLayer(t);n?n.promiseLayer.then((function(){pt(),ft(n.layer)})).catch((function(e){w.vF.logPromiseFailed("addedLayer.promiseLayer in handleStepLast in AddNewLayer",e)})):je(!1)}},mt=function(){P((function(e){return e-1})),He(!1)},yt=function(e){var t=URL.createObjectURL(e);N(e.name),R(t);var n=e.name.split(".")[0];be(""),Se([]),Te(n),Ie([])},vt=function(e,t){He(!0),Ze()?0!==t.length&&(Ie(t),Te(t.map((function(e){return e.layerName.en})).join(", ")),He(!1)):(Ie([t]),Te(t.layerName.en),He(!1))},bt=function(e){He(!1),Te(e.target.value)};(0,i.useEffect)((function(){2===O&&Pe.length>0&&He(!1)}),[ke,O,Pe]);var wt=function(e){var t;if(e.preventDefault(),e.stopPropagation(),ze(!1),null!==(t=e.dataTransfer)&&void 0!==t&&t.files){var n=e.dataTransfer.files[0],r=n.name.toUpperCase();r.endsWith(".JSON")||r.endsWith(".GEOJSON")||r.endsWith(".GPKG")||r.endsWith(".CSV")?yt(n):Y.FHQ.maps[Ke].notifications.showError("layers.errorFile",[],!1)}};function At(t){var n=t.isFirst,r=void 0!==n&&n,o=t.isLast,i=void 0!==o&&o,a=t.handleNext;return Re?(0,u.jsx)(s.Box,{sx:{padding:10},children:(0,u.jsx)(s.CircularProgressBase,{})}):(0,u.jsxs)(s.ButtonGroup,{sx:Qe.buttonGroup,children:[(0,u.jsx)(s.Button,{variant:"contained",className:"buttonOutlineFilled",size:"small",type:"text",disabled:qe,onClick:a,children:e(i?"layers.finish":"layers.continue")}),!r&&(0,u.jsx)(s.Button,{variant:"contained",className:"buttonOutlineFilled",size:"small",type:"text",onClick:mt,children:e("layers.back")})]})}var xt=(0,u.jsx)(s.CheckBoxOutlineBlankIcon,{fontSize:t.palette.geoViewFontSize.sm}),St=(0,u.jsx)(s.CheckBoxIcon,{fontSize:t.palette.geoViewFontSize.sm});return(0,u.jsx)(s.Paper,{sx:{padding:"20px",gap:"8"},children:(0,u.jsx)(s.Stepper,{activeStep:O,orientation:"vertical",steps:[{stepLabel:{children:e("layers.stepOne")},stepContent:{children:(0,u.jsxs)(s.Box,{className:"dropzone",style:{position:"relative"},onDrop:function(e){return wt(e)},onDragOver:function(e){return(t=e).preventDefault(),void t.stopPropagation();var t},onDragEnter:function(e){return(t=e).preventDefault(),t.stopPropagation(),void(t.target!==Ye.current&&ze(!0));var t},onDragLeave:function(e){return(t=e).preventDefault(),t.stopPropagation(),void(t.target===Ye.current&&ze(!1));var t},children:[Ne&&(0,u.jsx)(s.Box,{ref:Ye,style:{backgroundColor:"rgba(128,128,128,.95)",position:"absolute",top:0,bottom:0,left:0,right:0,zIndex:9999,textAlign:"center",color:"black",fontSize:24},children:(0,u.jsxs)("h3",{children:[(0,u.jsx)("br",{}),(0,u.jsx)("br",{}),e("layers.dropzone")]})}),(0,u.jsx)(s.Box,{children:(0,u.jsx)("input",{type:"file",id:"fileUpload",style:{display:"none"},onChange:function(e){e.target.files&&yt(e.target.files[0])},accept:".gpkg, .json, .geojson, .csv"})}),(0,u.jsxs)(s.Button,{fullWidth:!0,variant:"outlined",size:"small",sx:{width:"100%"},type:"text",onClick:function(){var e;return null===(e=document.getElementById("fileUpload"))||void 0===e?void 0:e.click()},className:"buttonOutlineFilled",children:[(0,u.jsx)(s.FileUploadIcon,{}),(0,u.jsx)(s.Box,{component:"span",children:e("layers.upload")})]}),(0,u.jsx)("p",{style:{textAlign:"center"},children:(0,u.jsx)("small",{children:e("layers.drop")})}),(0,u.jsx)("p",{style:{textAlign:"center"},children:e("layers.or")}),(0,u.jsx)(s.TextField,{sx:{width:"100%"},label:e("layers.url"),variant:"standard",value:D,onChange:function(e){N(e.target.value.trim()),R(e.target.value.trim()),be(""),Se([]),Te(""),Ie([]),He(!(e.target.value.trim().startsWith("https://")||35!==e.target.value.trim().length))},multiline:!0}),(0,u.jsx)("br",{}),(0,u.jsx)(At,{isFirst:!0,handleNext:function(){var e,t,o=!0;""===L.trim()&&(o=!1,je(!1),Y.FHQ.maps[Ke].notifications.showError("layers.errorNone",[],!1)),o&&(e=D.toUpperCase().split("/"),t=parseInt(e[e.length-1],10),D.toUpperCase().endsWith("MAPSERVER")||D.toUpperCase().endsWith("MAPSERVER/")?be(r):-1!==D.toUpperCase().indexOf("FEATURESERVER")||-1!==D.toUpperCase().indexOf("MAPSERVER")&&!Number.isNaN(t)?be(d):-1!==D.toUpperCase().indexOf("IMAGESERVER")?be(h):-1!==e.indexOf("WFS")?be(m):D.toUpperCase().endsWith(".JSON")||D.toUpperCase().endsWith(".GEOJSON")?be(p):D.toUpperCase().endsWith(".GPKG")?be(f):-1!==D.toUpperCase().indexOf("{Z}/{X}/{Y}")||-1!==D.toUpperCase().indexOf("{Z}/{Y}/{X}")?be(b):-1===D.indexOf("/")&&32===D.replaceAll("-","").length?be(A):-1!==D.toUpperCase().indexOf("WMS")?be(g):D.toUpperCase().endsWith(".CSV")?be(n):(be(""),He(!0)),P(1))}})]})}},{stepLabel:{children:e("layers.stepTwo")},stepContent:{children:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(s.Select,{fullWidth:!0,labelId:"service-type-label",value:ve,onChange:function(e){be(e.target.value),Se([]),Ie([]),He(!1)},label:e("layers.service"),variant:"standard",inputLabel:{id:"service-type-label"},menuItems:Je.map((function(e){var t=(0,o.A)(e,2),n=t[0];return{key:n,item:{value:n,children:t[1]}}}))}),(0,u.jsx)(At,{handleNext:function(){var t;je(!0),void 0===ve?(je(!1),tt(e("layers.service"))):ve===g?t=ot():ve===m?t=it():ve===v?t=at():ve===b?t=ut():ve===r?t=lt(r):ve===d?t=lt(d):ve===h?t=ct():ve===p?t=ht():ve===f?t=Promise.resolve(function(){try{Ge(!1);var e={geoviewLayerType:f,listOfLayerEntryConfig:[]},t=new se.OH(Ke,e);e.geoviewLayerId=t.geoviewLayerId,k(t);var n=[new ne.X({geoviewLayerConfig:e,layerId:e.geoviewLayerId,layerName:(0,y.createLocalizedString)(""),source:{dataAccessPath:(0,y.createLocalizedString)(L)}})];Te(n[0].layerName.en),Ie([n[0]])}catch(e){return nt("GeoPackage"),!1}return!0}()):ve===A?t=st():ve===n&&(t=dt()),t&&t.then((function(e){e&&(je(!1),P(2),He(!0))})).catch((function(e){w.vF.logPromiseFailed("promise of layer validation in handleStep2 in AddNewLayer",e)}))}})]})}},{stepLabel:{children:e("layers.stepThree")},stepContent:{children:(0,u.jsxs)(u.Fragment,{children:[0===xe.length&&(0,u.jsx)(s.TextField,{label:e("layers.name"),variant:"standard",value:ke,onChange:bt}),xe.length>1&&xe[0].layerName&&(0,u.jsx)(s.Autocomplete,{fullWidth:!0,multiple:Ze(),disableClearable:!Ze(),disableCloseOnSelect:!0,id:"service-layer-label",options:xe,getOptionLabel:function(e){return"".concat(e.layerName.en," (").concat(e.layerId,")")},renderOption:function(e,t,n){var r=n.selected;return(0,u.jsxs)("li",ye(ye({},e),{},{children:[(0,u.jsx)(s.Checkbox,{icon:xt,checkedIcon:St,style:{marginRight:8},checked:r}),t.layerName.en]}))},onChange:vt,renderInput:function(t){return(0,u.jsx)(s.TextField,ye(ye({},t),{},{label:e("layers.layerSelect")}))}}),xe.length>1&&xe[0].geoviewLayerName&&(0,u.jsx)(s.Autocomplete,{fullWidth:!0,multiple:Ze(),disableClearable:!Ze(),id:"service-layer-label",options:xe,getOptionLabel:function(e){return"".concat(e.geoviewLayerName.en," (").concat(e.geoviewLayerId,")")},disableCloseOnSelect:!0,renderOption:function(e,t,n){var r=n.selected;return(0,u.jsxs)("li",ye(ye({},e),{},{children:[(0,u.jsx)(s.Checkbox,{icon:xt,checkedIcon:St,style:{marginRight:8},checked:r}),t.geoviewLayerName.en]}))},onChange:vt,renderInput:function(t){return(0,u.jsx)(s.TextField,ye(ye({},t),{},{label:e("layers.layerSelect")}))}}),(0,u.jsx)("br",{}),(0,u.jsx)(At,{isLast:!Ze(),handleNext:Ze()?function(){var t=!0;0===Pe.length&&(t=!1,tt(e("layers.layer"))),t&&P(3)}:gt})]})}},Ze()?{stepLabel:{children:e("layers.stepFour")},stepContent:{children:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(s.TextField,{sx:{width:"100%"},label:e("layers.name"),variant:"standard",value:ke,onChange:bt}),(0,u.jsx)("br",{}),(0,u.jsx)(At,{isLast:!0,handleNext:gt})]})}}:null]})})}function be(e){var t=e.setIsLayersListPanelVisible,n=e.isLayoutEnlarged;w.vF.logTraceRender("components/layers/left-panel/left-panel");var r=(0,l.Yo)(),a=(0,l.y5)(),s=(0,S._I)(),c=(0,C.oy)(),d=(0,S.U6)().getIndexFromOrderedLayerInfo,h=(0,l.$T)().setDisplayState,p=(0,i.useState)([]),f=(0,o.A)(p,2),g=f[0],m=f[1];return(0,i.useEffect)((function(){var e=r.sort((function(e,t){return d(e.layerPath)>d(t.layerPath)?1:-1}));m(e)}),[s,r,d]),(0,i.useEffect)((function(){var e;"add"!==a&&!r.length&&null!=c&&null!==(e=c.footerBar)&&void 0!==e&&e.tabs.core.includes("legend")&&h("add")}),[a,r,h,c]),"add"===a?(0,u.jsx)(ve,{}):(0,u.jsx)(N,{layersList:g,depth:0,setIsLayersListPanelVisible:t,isLayoutEnlarged:n})}var we=n(18529),Ae=n(5562);function xe(e){var t=e.containerType,n=(0,a.A)();w.vF.logTraceRender("components/layers/layers-panel");var c,h=(0,l.wU)(),p=(0,l.y5)(),f=(0,l.$T)().setSelectedLayerPath,g=(0,i.useState)(!1),m=(0,o.A)(g,2),y=m[0],v=m[1],b=(0,i.useRef)(null),A=function(){var e;null===(e=b.current)||void 0===e||e.setIsRightPanelVisible(!0)},S=(0,i.useCallback)((function(e){e&&f("")}),[f]),C=(0,i.useCallback)((function(e){v(e)}),[v]);return(0,u.jsx)(we.z,{ref:b,leftTop:(0,u.jsx)(d,{}),leftMain:(0,u.jsx)(s.Box,{children:(0,u.jsx)(be,{setIsLayersListPanelVisible:A,isLayoutEnlarged:y})}),rightTop:(0,u.jsx)(Ae.o,{sx:(0,r.A)({fontSize:n.palette.geoViewFontSize.lg,fontWeight:"600",marginTop:"12px"},n.breakpoints.up("md"),{display:"none"}),component:"div",children:null!==(c=null==h?void 0:h.layerName)&&void 0!==c?c:""}),rightMain:h&&"view"===p?(0,u.jsx)(x,{layerDetails:h}):null,guideContentIds:"view"===p?["layers.children.view","layers.children.layerSettings"]:"remove"===p?["layers.children.remove"]:"order"===p?["layers.children.sort"]:"add"===p?["layers.children.add"]:[],fullWidth:!1,onGuideIsOpen:S,hideEnlargeBtn:"view"!==p,containerType:t,onIsEnlargeClicked:C})}},1251:(e,t,n)=>{"use strict";n.d(t,{s:()=>x});var r=n(74780),o=n(1839),i=n(72666),a=n(30538),s=n(43331),l=n(93546),c=n(92687),u=n(55997),d=n(5182),h=n(66700),p=function(e){return{container:{padding:"20px",display:"flex",flexDirection:"column"},title:{textAlign:"left",fontWeight:"600",color:e.palette.geoViewColor.textColor.main,fontSize:e.palette.geoViewFontSize.md},subtitle:{fontWeight:"normal",fontSize:e.palette.geoViewFontSize.md,textAlign:"left",marginBottom:"15px"},layersListContainer:(0,r.A)((0,r.A)((0,r.A)({padding:"20px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},e.breakpoints.down("sm"),{width:"100%"}),e.breakpoints.up("md"),{width:"50%"}),e.breakpoints.up("lg"),{width:"33.33%"}),legendLayerListItem:{padding:"6px 4px","& .layerTitle":{fontSize:e.palette.geoViewFontSize.md,fontWeight:"600",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",">p":{margin:0,color:e.palette.geoViewColor.textColor.light[400],fontSize:e.palette.geoViewFontSize.sm,lineHeight:1.43}},"& .layerTitle > .MuiListItemText-secondary":{color:e.palette.geoViewColor.textColor.light[400]},"& .layerTitle > div":{color:e.palette.geoViewColor.textColor.light[400]},"& .MuiListItemText-root":{marginLeft:"12px"},"& .MuiCollapse-vertical":{marginLeft:"6px","& ul":{marginTop:0,padding:0},"& li":{borderLeft:"5px solid ".concat(e.palette.geoViewColor.bgColor.dark[200]),paddingLeft:"6px",marginBottom:"3px",fontWeight:"400","&.unchecked":{borderLeft:"5px solid ".concat(e.palette.geoViewColor.bgColor.dark[600]),fontStyle:"italic",color:e.palette.geoViewColor.textColor.light[600]}}}},collapsibleContainer:{width:"100%",padding:"10px 0",margin:"0px 10px"},legendInstructionsTitle:{fontSize:e.palette.geoViewFontSize.lg,fontWeight:"600",lineHeight:"1.5em"},legendInstructionsBody:{fontSize:e.palette.geoViewFontSize.default},subList:{width:"100%","& .MuiListItemIcon-root":{minWidth:"1rem"},"& img":{maxWidth:"1.5rem"}},layerStackIcons:{flexWrap:"wrap","& button":{padding:"0.25rem","& svg":{width:"1.25rem",height:"1.25rem"}}}}},f=n(86308),g=n(79378),m=n(97282);function y(e){var t,n,r,o,a=e.layer;h.vF.logTraceRender("components/legend/legend-layer");var d,v,b,w,A=(0,s.useTranslation)().t,x=(0,i.A)(),S=p(x),C=(0,u.Zt)(),E=(0,c.U6)(),k=E.getVisibilityFromOrderedLayerInfo,T=E.setOrToggleLayerVisibility,_=E.getLegendCollapsedFromOrderedLayerInfo,O=E.setLegendCollapsed,P=(0,u.$T)(),I=P.setHighlightLayer,M=P.zoomToLayerExtent,L=function(){var e;return null===(e=a.children)||void 0===e?void 0:e.filter((function(e){var t;return["processed","loaded"].includes(null!==(t=e.layerStatus)&&void 0!==t?t:"")}))},R=!_(a.layerPath),j=!k(a.layerPath),F=null!==(t=null===(n=a.controls)||void 0===n?void 0:n.visibility)&&void 0!==t&&t;return(0,m.jsxs)(l.Box,{sx:S.legendLayerListItem,children:[(0,m.jsxs)(l.ListItem,{divider:!0,onClick:function(){O(a.layerPath)},children:[(0,m.jsx)(f.B,{layer:a}),(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(l.Tooltip,{title:a.layerName,placement:"top",children:(0,m.jsx)(l.ListItemText,{sx:{"&:hover":{cursor:"pointer"}},primary:a.layerName,className:"layerTitle",disableTypography:!0,secondary:function(){var e;if(!["processed","loaded"].includes(null!==(e=a.layerStatus)&&void 0!==e?e:""))return(0,m.jsx)(l.Box,{});var t="";return L().length?t=A("legend.subLayersCount").replace("{count}",L().length.toString()):a.items.length>1&&(t=A("legend.itemsCount").replace("{count}",a.items.length.toString()).replace("{totalCount}",a.items.length.toString())),(0,m.jsxs)(l.Stack,{direction:"row",alignItems:"center",sx:S.layerStackIcons,children:[!!t.length&&(0,m.jsx)(l.Typography,{fontSize:14,children:t}),(0,m.jsxs)(l.Box,{children:[(0,m.jsx)(l.IconButton,{edge:"end",tooltip:"layers.toggleVisibility",className:"buttonOutline",onClick:function(e){return function(e){e.stopPropagation(),T(a.layerPath)}(e)},disabled:!F,children:j?(0,m.jsx)(l.VisibilityOffOutlinedIcon,{}):(0,m.jsx)(l.VisibilityOutlinedIcon,{})}),(0,m.jsx)(l.IconButton,{tooltip:"legend.highlightLayer",sx:{marginTop:"-0.3125rem"},className:"buttonOutline",onClick:function(e){return function(e){e.stopPropagation(),I(a.layerPath)}(e)},children:C===a.layerPath?(0,m.jsx)(l.HighlightIcon,{}):(0,m.jsx)(l.HighlightOutlinedIcon,{})}),(0,m.jsx)(l.IconButton,{tooltip:"legend.zoomTo",className:"buttonOutline",onClick:function(e){return function(e){e.stopPropagation(),M(a.layerPath).catch((function(e){h.vF.logPromiseFailed("in zoomToLayerExtent in legend-layer.handleZoomTo",e)}))}(e)},children:(0,m.jsx)(l.ZoomInSearchIcon,{})})]})]})}()})}),!!((null===(r=a.children)||void 0===r?void 0:r.length)>1||(null===(o=a.items)||void 0===o?void 0:o.length)>1)&&(0,m.jsx)(l.IconButton,{sx:{marginBottom:"20px"},className:"buttonOutline",edge:"end",size:"small",tooltip:"layers.toggleCollapse",children:R?(0,m.jsx)(l.KeyboardArrowUpIcon,{}):(0,m.jsx)(l.KeyboardArrowDownIcon,{})})]})]},a.layerName),a.type===g.oR.WMS&&a.icons.length&&a.icons[0].iconImage&&"no data"!==a.icons[0].iconImage?(0,m.jsx)(l.Collapse,{in:R,sx:S.collapsibleContainer,timeout:"auto",children:(0,m.jsx)(l.Box,{component:"img",alt:"icon",src:a.icons[0].iconImage,sx:{maxWidth:"100%"}})}):(null===(d=a.children)||void 0===d?void 0:d.length)>1||(null===(v=a.items)||void 0===v?void 0:v.length)>1?(0,m.jsxs)(l.Collapse,{in:R,sx:S.collapsibleContainer,timeout:"auto",children:[null!==(w=a.children)&&void 0!==w&&w.length?(0,m.jsx)(l.List,{sx:{width:"100%",padding:"20px",margin:"20px 0px"},children:a.children.filter((function(e){var t;return!["error","processing"].includes(null!==(t=e.layerStatus)&&void 0!==t?t:"")})).map((function(e){return(0,m.jsx)(y,{layer:e},e.layerPath)}))}):null,null!==(b=a.items)&&void 0!==b&&b.length?(0,m.jsx)(l.List,{sx:S.subList,children:a.items.map((function(e){return(0,m.jsxs)(l.ListItem,{className:e.isVisible?"":"unchecked",children:[(0,m.jsx)(l.ListItemIcon,{children:e.icon?(0,m.jsx)(l.Box,{component:"img",alt:e.name,src:e.icon}):(0,m.jsx)(l.BrowserNotSupportedIcon,{})}),(0,m.jsx)(l.Tooltip,{title:e.name,placement:"top",enterDelay:1e3,children:(0,m.jsx)(l.ListItemText,{primary:e.name})})]},"".concat(e.icon,"/").concat(e.name,"/").concat(a.items.indexOf(e)))}))}):null]}):null]})}var v=n(54502),b=n(81556);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t{"use strict";n.d(t,{h:()=>Xt});var r=n(1839),o=n(30538),i=n(43331);const a="carousel",s="controller",l="portal",c="toolbar",u="download",d="loading",h="error",p="complete",f="placeholder",g=e=>`active-slide-${e}`,m=(g(d),g("playing"),g(h),g(p),"flex_center"),y="no_scroll_padding",v="slide_wrapper",b="prev",w="next",A="swipe",x="close",S="onPointerDown",C="onPointerMove",E="onPointerUp",k="onPointerLeave",T="onPointerCancel",_="onKeyDown",O="onKeyUp",P="onWheel",I="Escape",M="ArrowLeft",L="ArrowRight",R="icon",j="contain",F="cover",D="Unknown action type";var N=n(95491);const z="yarl__";function B(...e){return[...e].filter(Boolean).join(" ")}function V(e){return`${z}${e}`}function $(e){return`--${z}${e}`}function G(e,t){return`${e}${t?`_${t}`:""}`}function U(e){return t=>G(e,t)}function W(e,t){var n;return null!==(n=null==e?void 0:e[t])&&void 0!==n?n:t}function q(...e){return()=>{e.forEach((e=>{e()}))}}function H(e,t,n){return()=>{const r=o.useContext(n);if(!r)throw new Error(`${e} must be used within a ${t}.Provider`);return r}}function Y(){return"undefined"!=typeof window}function K(e){return void 0===e.type||"image"===e.type}function X(e){return"string"==typeof e?Number.parseInt(e,10):e}function Z(e){if("number"==typeof e)return{pixel:e};if("string"==typeof e){const t=X(e);return e.endsWith("%")?{percent:t}:{pixel:t}}return{pixel:0}}function J(e,t){const n=Z(t),r=void 0!==n.percent?e.width/100*n.percent:n.pixel;return{width:Math.max(e.width-2*r,0),height:Math.max(e.height-2*r,0)}}function Q(e,t){return t>0?(e%t+t)%t:0}function ee(e){return e.length>0}function te(e,t){return e[Q(t,e.length)]}function ne(e,t){return ee(e)?te(e,t):void 0}function re(e){return K(e)?e.src:void 0}function oe(e,t,n){if(!n)return e;const{buttons:r,...i}=e,a=r.findIndex((e=>e===t)),s=o.isValidElement(n)?o.cloneElement(n,{key:t},null):n;if(a>=0){const e=[...r];return e.splice(a,1,s),{buttons:e,...i}}return{buttons:[s,...r],...i}}const ie={open:!1,close:()=>{},index:0,slides:[],render:{},plugins:[],toolbar:{buttons:[x]},labels:{},animation:{fade:250,swipe:500,easing:{fade:"ease",swipe:"ease-out",navigation:"ease-in-out"}},carousel:{finite:!1,preload:2,padding:"16px",spacing:"30%",imageFit:j,imageProps:{}},controller:{ref:null,focus:!0,aria:!1,touchAction:"none",closeOnPullUp:!1,closeOnPullDown:!1,closeOnBackdropClick:!1,preventDefaultWheelX:!0,preventDefaultWheelY:!1},portal:{},noScroll:{disabled:!1},on:{},styles:{},className:""};function ae(e,t){return{name:e,component:t}}function se(e,t){return{module:e,children:t}}function le(e,t,n){return e.module.name===t?n(e):e.children?[se(e.module,e.children.flatMap((e=>{var r;return null!==(r=le(e,t,n))&&void 0!==r?r:[]})))]:[e]}function ce(e,t,n){return e.flatMap((e=>{var r;return null!==(r=le(e,t,n))&&void 0!==r?r:[]}))}const ue=o.createContext(null),de=H("useDocument","DocumentContext",ue);function he({nodeRef:e,children:t}){const n=o.useMemo((()=>{const t=t=>{var n;return(null===(n=t||e.current)||void 0===n?void 0:n.ownerDocument)||document};return{getOwnerDocument:t,getOwnerWindow:e=>{var n;return(null===(n=t(e))||void 0===n?void 0:n.defaultView)||window}}}),[e]);return o.createElement(ue.Provider,{value:n},t)}const pe=o.createContext(null),fe=H("useEvents","EventsContext",pe);function ge({children:e}){const[t]=o.useState({});o.useEffect((()=>()=>{Object.keys(t).forEach((e=>delete t[e]))}),[t]);const n=o.useMemo((()=>{const e=(e,n)=>{var r;null===(r=t[e])||void 0===r||r.splice(0,t[e].length,...t[e].filter((e=>e!==n)))};return{publish:(...[e,n])=>{var r;null===(r=t[e])||void 0===r||r.forEach((e=>e(n)))},subscribe:(n,r)=>(t[n]||(t[n]=[]),t[n].push(r),()=>e(n,r)),unsubscribe:e}}),[t]);return o.createElement(pe.Provider,{value:n},e)}const me=o.createContext(null),ye=H("useLightboxProps","LightboxPropsContext",me);function ve({children:e,...t}){return o.createElement(me.Provider,{value:t},e)}const be=o.createContext(null),we=H("useLightboxState","LightboxStateContext",be),Ae=o.createContext(null),xe=H("useLightboxDispatch","LightboxDispatchContext",Ae);function Se(e,t){switch(t.type){case"swipe":{const{slides:n}=e,r=(null==t?void 0:t.increment)||0,o=e.globalIndex+r,i=Q(o,n.length);return{slides:n,currentIndex:i,globalIndex:o,currentSlide:ne(n,i),animation:r||t.duration?{increment:r,duration:t.duration,easing:t.easing}:void 0}}case"update":return t.slides!==e.slides||t.index!==e.currentIndex?{slides:t.slides,currentIndex:t.index,globalIndex:t.index,currentSlide:ne(t.slides,t.index)}:e;default:throw new Error(D)}}function Ce({slides:e,index:t,children:n}){const[r,i]=o.useReducer(Se,{slides:e,currentIndex:t,globalIndex:t,currentSlide:ne(e,t)});o.useEffect((()=>{i({type:"update",slides:e,index:t})}),[e,t]);const a=o.useMemo((()=>({...r,state:r,dispatch:i})),[r,i]);return o.createElement(Ae.Provider,{value:i},o.createElement(be.Provider,{value:a},n))}const Ee=o.createContext(null),ke=H("useTimeouts","TimeoutsContext",Ee);function Te({children:e}){const[t]=o.useState([]);o.useEffect((()=>()=>{t.forEach((e=>window.clearTimeout(e))),t.splice(0,t.length)}),[t]);const n=o.useMemo((()=>{const e=e=>{t.splice(0,t.length,...t.filter((t=>t!==e)))};return{setTimeout:(n,r)=>{const o=window.setTimeout((()=>{e(o),n()}),r);return t.push(o),o},clearTimeout:t=>{void 0!==t&&(e(t),window.clearTimeout(t))}}}),[t]);return o.createElement(Ee.Provider,{value:n},e)}const _e=o.forwardRef((function({label:e,className:t,icon:n,renderIcon:r,onClick:i,style:a,...s},l){const{styles:c,labels:u}=ye();return o.createElement("button",{ref:l,type:"button","aria-label":W(u,e),className:B(V("button"),t),onClick:i,style:{...a,...c.button},...s},r?r():o.createElement(n,{className:V(R),style:c.icon}))}));function Oe(e,t){const n=e=>o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24","aria-hidden":"true",focusable:"false",...e},t);return n.displayName=e,n}function Pe(e,t){return Oe(e,o.createElement("g",{fill:"currentColor"},o.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),t))}const Ie=Pe("Close",o.createElement("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"})),Me=Pe("Previous",o.createElement("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"})),Le=Pe("Next",o.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),Re=Pe("Loading",o.createElement(o.Fragment,null,Array.from({length:8}).map(((e,t,n)=>o.createElement("line",{key:t,x1:"12",y1:"6.5",x2:"12",y2:"1.8",strokeLinecap:"round",strokeWidth:"2.6",stroke:"currentColor",strokeOpacity:1/n.length*(t+1),transform:`rotate(${360/n.length*t}, 12, 12)`}))))),je=Pe("Error",o.createElement("path",{d:"M21.9,21.9l-8.49-8.49l0,0L3.59,3.59l0,0L2.1,2.1L0.69,3.51L3,5.83V19c0,1.1,0.9,2,2,2h13.17l2.31,2.31L21.9,21.9z M5,18 l3.5-4.5l2.5,3.01L12.17,15l3,3H5z M21,18.17L5.83,3H19c1.1,0,2,0.9,2,2V18.17z"})),Fe=Y()?o.useLayoutEffect:o.useEffect;function De(){const[e,t]=o.useState(!1);return o.useEffect((()=>{var e,n;const r=null===(e=window.matchMedia)||void 0===e?void 0:e.call(window,"(prefers-reduced-motion: reduce)");t(null==r?void 0:r.matches);const o=e=>t(e.matches);return null===(n=null==r?void 0:r.addEventListener)||void 0===n||n.call(r,"change",o),()=>{var e;return null===(e=null==r?void 0:r.removeEventListener)||void 0===e?void 0:e.call(r,"change",o)}}),[]),e}function Ne(e,t){const n=o.useRef(),r=o.useRef(),i=De();return Fe((()=>{var o,a,s;if(e.current&&void 0!==n.current&&!i){const{keyframes:i,duration:l,easing:c,onfinish:u}=t(n.current,e.current.getBoundingClientRect(),function(e){let t=0,n=0,r=0;const o=window.getComputedStyle(e).transform.match(/matrix.*\((.+)\)/);if(o){const e=o[1].split(",").map(X);6===e.length?(t=e[4],n=e[5]):16===e.length&&(t=e[12],n=e[13],r=e[14])}return{x:t,y:n,z:r}}(e.current))||{};if(i&&l){null===(o=r.current)||void 0===o||o.cancel(),r.current=void 0;try{r.current=null===(s=(a=e.current).animate)||void 0===s?void 0:s.call(a,i,{duration:l,easing:c})}catch(e){console.error(e)}r.current&&(r.current.onfinish=()=>{r.current=void 0,null==u||u()})}}n.current=void 0})),{prepareAnimation:e=>{n.current=e},isAnimationPlaying:()=>{var e;return"running"===(null===(e=r.current)||void 0===e?void 0:e.playState)}}}function ze(){const e=o.useRef(null),t=o.useRef(),[n,r]=o.useState(),i=o.useCallback((n=>{e.current=n,t.current&&(t.current.disconnect(),t.current=void 0);const o=()=>{if(n){const e=window.getComputedStyle(n),t=e=>parseFloat(e)||0;r({width:Math.round(n.clientWidth-t(e.paddingLeft)-t(e.paddingRight)),height:Math.round(n.clientHeight-t(e.paddingTop)-t(e.paddingBottom))})}else r(void 0)};o(),n&&"undefined"!=typeof ResizeObserver&&(t.current=new ResizeObserver(o),t.current.observe(n))}),[]);return{setContainerRef:i,containerRef:e,containerRect:n}}function Be(){const e=o.useRef(),{setTimeout:t,clearTimeout:n}=ke();return o.useCallback(((r,o)=>{n(e.current),e.current=t(r,o>0?o:0)}),[t,n])}function Ve(e){const t=o.useRef(e);return Fe((()=>{t.current=e})),o.useCallback(((...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}function $e(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Ge(e,t){return o.useMemo((()=>null==e&&null==t?null:n=>{$e(e,n),$e(t,n)}),[e,t])}function Ue(e,t=!1){const n=o.useRef();Fe((()=>{t&&n.current&&(n.current=!1,e())}),[t,e]);return{onFocus:o.useCallback((()=>{n.current=!0}),[]),onBlur:o.useCallback((()=>{n.current=!1}),[])}}function We(){const[e,t]=o.useState(!1);return Fe((()=>{t("rtl"===window.getComputedStyle(window.document.documentElement).direction)}),[]),e}function qe(e,t){const n=o.useRef(0),r=Be(),i=Ve(((...t)=>{n.current=Date.now(),e(t)}));return o.useCallback(((...e)=>{r((()=>{i(e)}),t-(Date.now()-n.current))}),[t,i,r])}const He=U("slide"),Ye=U("slide_image");function Ke({slide:e,offset:t,render:n,rect:r,imageFit:i,imageProps:a,onClick:s,onLoad:l,style:c}){var u,m,y,v,b,w,A;const[x,S]=o.useState(d),{publish:C}=fe(),{setTimeout:E}=ke(),k=o.useRef(null);o.useEffect((()=>{0===t&&C(g(x))}),[t,x,C]);const T=Ve((e=>{("decode"in e?e.decode():Promise.resolve()).catch((()=>{})).then((()=>{e.parentNode&&(S(p),E((()=>{null==l||l(e)}),0))}))})),_=o.useCallback((e=>{k.current=e,(null==e?void 0:e.complete)&&T(e)}),[T]),O=o.useCallback((e=>{T(e.currentTarget)}),[T]),P=o.useCallback((()=>{S(h)}),[]),I=function(e,t){return e.imageFit===F||e.imageFit!==j&&t===F}(e,i),M=(e,t)=>Number.isFinite(e)?e:t,L=M(Math.max(...(null!==(m=null===(u=e.srcSet)||void 0===u?void 0:u.map((e=>e.width)))&&void 0!==m?m:[]).concat(e.width?[e.width]:[]).filter(Boolean)),(null===(y=k.current)||void 0===y?void 0:y.naturalWidth)||0),D=M(Math.max(...(null!==(b=null===(v=e.srcSet)||void 0===v?void 0:v.map((e=>e.height)))&&void 0!==b?b:[]).concat(e.height?[e.height]:[]).filter(Boolean)),(null===(w=k.current)||void 0===w?void 0:w.naturalHeight)||0),N=L&&D?{maxWidth:`min(${L}px, 100%)`,maxHeight:`min(${D}px, 100%)`}:{maxWidth:"100%",maxHeight:"100%"},z=null===(A=e.srcSet)||void 0===A?void 0:A.sort(((e,t)=>e.width-t.width)).map((e=>`${e.src} ${e.width}w`)).join(", "),$=z&&r&&Y()?`${Math.round(Math.min(r&&!I&&e.width&&e.height?r.height/e.height*e.width:Number.MAX_VALUE,r.width))}px`:void 0,{style:G,className:U,...W}=a||{};return o.createElement(o.Fragment,null,o.createElement("img",{ref:_,onLoad:O,onError:P,onClick:s,draggable:!1,className:B(V(Ye()),I&&V(Ye("cover")),x!==p&&V(Ye("loading")),U),style:{...N,...c,...G},...W,alt:e.alt,sizes:$,srcSet:z,src:e.src}),x!==p&&o.createElement("div",{className:V(He(f))},x===d&&((null==n?void 0:n.iconLoading)?n.iconLoading():o.createElement(Re,{className:B(V(R),V(He(d)))})),x===h&&((null==n?void 0:n.iconError)?n.iconError():o.createElement(je,{className:B(V(R),V(He(h)))}))))}const Xe=o.forwardRef((function({className:e,children:t,...n},r){const i=o.useRef(null);return o.createElement(he,{nodeRef:i},o.createElement("div",{ref:Ge(r,i),className:B(V("root"),e),...n},t))}));var Ze,Je;!function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL=2]="PULL",e[e.ANIMATION=3]="ANIMATION"}(Ze||(Ze={})),function(e){e[e.NONE=0]="NONE",e[e.SWIPE=1]="SWIPE",e[e.PULL=2]="PULL"}(Je||(Je={}));const Qe=30;function et(e,t,n,r,i,a,s,l,c,u,d,h,p,f){const g=o.useRef(0),m=o.useRef([]),y=o.useRef(),v=o.useRef(0),b=o.useRef(Je.NONE),w=o.useCallback((e=>{y.current===e.pointerId&&(y.current=void 0,b.current=Je.NONE);const t=m.current;t.splice(0,t.length,...t.filter((t=>t.pointerId!==e.pointerId)))}),[]),A=o.useCallback((e=>{w(e),e.persist(),m.current.push(e)}),[w]),x=Ve((e=>{A(e)})),_=(e,t)=>u&&e>t||c&&e<-t,O=Ve((e=>{if(m.current.find((t=>t.pointerId===e.pointerId))&&y.current===e.pointerId){const e=Date.now()-v.current,t=g.current;b.current===Je.SWIPE?Math.abs(t)>.3*n||Math.abs(t)>5&&ei?()=>{}:q(e(S,t),e(C,n),e(E,r),e(k,r),e(T,r))),[e,t,n,r,i])}(e,x,Ve((e=>{const n=m.current.find((t=>t.pointerId===e.pointerId));if(n){const r=y.current===e.pointerId;if(0===e.buttons)return void(r&&0!==g.current?O(e):w(n));const o=e.clientX-n.clientX,s=e.clientY-n.clientY;if(void 0===y.current){const n=t=>{A(e),y.current=e.pointerId,v.current=Date.now(),b.current=t};Math.abs(o)>Math.abs(s)&&Math.abs(o)>Qe&&t(o)?(n(Je.SWIPE),i()):Math.abs(s)>Math.abs(o)&&_(s,Qe)&&(n(Je.PULL),d())}else r&&(b.current===Je.SWIPE?(g.current=o,a(o)):b.current===Je.PULL&&(g.current=s,h(s)))}})),O)}const tt=U("container"),nt=o.createContext(null),rt=H("useController","ControllerContext",nt);const ot=ae(s,(function({children:e,...t}){var n;const{carousel:r,animation:i,controller:a,on:s,styles:c,render:u}=t,{closeOnPullUp:d,closeOnPullDown:h,preventDefaultWheelX:p,preventDefaultWheelY:f}=a,[g,y]=o.useState(),v=we(),I=xe(),[M,L]=o.useState(Ze.NONE),R=o.useRef(0),j=o.useRef(0),F=o.useRef(1),{registerSensors:D,subscribeSensors:N}=function(){const[e]=o.useState({}),t=o.useCallback(((t,n)=>{var r;null===(r=e[t])||void 0===r||r.forEach((e=>{n.isPropagationStopped()||e(n)}))}),[e]);return{registerSensors:o.useMemo((()=>({onPointerDown:e=>t(S,e),onPointerMove:e=>t(C,e),onPointerUp:e=>t(E,e),onPointerLeave:e=>t(k,e),onPointerCancel:e=>t(T,e),onKeyDown:e=>t(_,e),onKeyUp:e=>t(O,e),onWheel:e=>t(P,e)})),[t]),subscribeSensors:o.useCallback(((t,n)=>(e[t]||(e[t]=[]),e[t].unshift(n),()=>{const r=e[t];r&&r.splice(0,r.length,...r.filter((e=>e!==n)))})),[e])}}(),{subscribe:z,publish:G}=fe(),U=Be(),W=Be(),H=Be(),{containerRef:Y,setContainerRef:K,containerRect:X}=ze(),Q=Ge(function({preventDefaultWheelX:e,preventDefaultWheelY:t}){const n=o.useRef(null),r=Ve((n=>{const r=Math.abs(n.deltaX)>Math.abs(n.deltaY);(r&&e||!r&&t||n.ctrlKey)&&n.preventDefault()}));return o.useCallback((e=>{var t;e?e.addEventListener("wheel",r,{passive:!1}):null===(t=n.current)||void 0===t||t.removeEventListener("wheel",r),n.current=e}),[r])}({preventDefaultWheelX:p,preventDefaultWheelY:f}),K),ee=o.useRef(null),te=Ge(ee,void 0),{getOwnerDocument:ne}=de(),re=We(),oe=e=>(re?-1:1)*("number"==typeof e?e:1),ie=Ve((()=>{var e;return null===(e=Y.current)||void 0===e?void 0:e.focus()})),ae=Ve((()=>t)),se=Ve((()=>v)),le=o.useCallback((e=>G(b,e)),[G]),ce=o.useCallback((e=>G(w,e)),[G]),ue=o.useCallback((()=>G(x)),[G]),he=e=>!(r.finite&&(oe(e)>0&&0===v.currentIndex||oe(e)<0&&v.currentIndex===v.slides.length-1)),pe=e=>{var t;R.current=e,null===(t=Y.current)||void 0===t||t.style.setProperty($("swipe_offset"),`${Math.round(e)}px`)},ge=e=>{var t,n;j.current=e,F.current=(()=>{const t=h&&e>0?e:d&&e<0?-e:0;return Math.min(Math.max(function(e,t=0){const n=10**t;return Math.round((e+Number.EPSILON)*n)/n}(1-t/60*.5,2),.5),1)})(),null===(t=Y.current)||void 0===t||t.style.setProperty($("pull_offset"),`${Math.round(e)}px`),null===(n=Y.current)||void 0===n||n.style.setProperty($("pull_opacity"),`${F.current}`)},{prepareAnimation:me}=Ne(ee,((e,t,n)=>{if(ee.current&&X)return{keyframes:[{transform:`translate(0, ${e.rect.y-t.y+n.y}px)`,opacity:e.opacity},{transform:"translate(0, 0)",opacity:1}],duration:e.duration,easing:i.easing.fade}})),ye=(e,t)=>{if(d||h){ge(e);let n=0;ee.current&&(n=i.fade*(t?2:1),me({rect:ee.current.getBoundingClientRect(),opacity:F.current,duration:n})),H((()=>{ge(0),L(Ze.NONE)}),n),L(Ze.ANIMATION),t||ue()}},{prepareAnimation:ve,isAnimationPlaying:be}=Ne(ee,((e,t,n)=>{var o;if(ee.current&&X&&(null===(o=v.animation)||void 0===o?void 0:o.duration)){const o=Z(r.spacing),i=(o.percent?o.percent*X.width/100:o.pixel)||0;return{keyframes:[{transform:`translate(${oe(v.globalIndex-e.index)*(X.width+i)+e.rect.x-t.x+n.x}px, 0)`},{transform:"translate(0, 0)"}],duration:v.animation.duration,easing:v.animation.easing}}})),Ae=Ve((e=>{var t,n;const r=e.offset||0,o=r?i.swipe:null!==(t=i.navigation)&&void 0!==t?t:i.swipe,a=r||be()?i.easing.swipe:i.easing.navigation;let{direction:s}=e;const l=null!==(n=e.count)&&void 0!==n?n:1;let c=Ze.ANIMATION,u=o*l;if(!s){const t=null==X?void 0:X.width,n=e.duration||0,i=t?o/t*Math.abs(r):o;0!==l?(n0?b:w):u=o/2}let d=0;s===b?he(oe(1))?d=-l:(c=Ze.NONE,u=o):s===w&&(he(oe(-1))?d=l:(c=Ze.NONE,u=o)),u=Math.round(u),W((()=>{pe(0),L(Ze.NONE)}),u),ee.current&&ve({rect:ee.current.getBoundingClientRect(),index:v.globalIndex}),L(c),G(A,{type:"swipe",increment:d,duration:u,easing:a})}));o.useEffect((()=>{var e,t;(null===(e=v.animation)||void 0===e?void 0:e.increment)&&(null===(t=v.animation)||void 0===t?void 0:t.duration)&&U((()=>I({type:"swipe",increment:0})),v.animation.duration)}),[v.animation,I,U]);const Se=[N,he,(null==X?void 0:X.width)||0,i.swipe,()=>L(Ze.SWIPE),e=>pe(e),(e,t)=>Ae({offset:e,duration:t,count:1}),e=>Ae({offset:e,count:0})],Ce=[()=>{h&&L(Ze.PULL)},e=>ge(e),e=>ye(e),e=>ye(e,!0)];et(...Se,d,h,...Ce),function(e,t,n,r,i,a,s,l,c){const u=o.useRef(0),d=o.useRef(0),h=o.useRef(),p=o.useRef(),f=o.useRef(0),g=o.useRef(0),{setTimeout:m,clearTimeout:y}=ke(),v=o.useCallback((()=>{h.current&&(y(h.current),h.current=void 0)}),[y]),b=o.useCallback((()=>{p.current&&(y(p.current),p.current=void 0)}),[y]),w=Ve((()=>{e!==Ze.SWIPE&&(u.current=0,g.current=0,v(),b())}));o.useEffect(w,[e,w]);const A=Ve((e=>{p.current=void 0,u.current===e&&c(u.current)})),x=Ve((t=>{if(!(t.ctrlKey||Math.abs(t.deltaY)>Math.abs(t.deltaX)))if(e===Ze.NONE){if(Math.abs(t.deltaX)<=1.2*Math.abs(f.current))return void(f.current=t.deltaX);if(!n(-t.deltaX))return;if(d.current+=t.deltaX,v(),Math.abs(d.current)>30)d.current=0,f.current=0,g.current=Date.now(),a();else{const e=d.current;h.current=m((()=>{h.current=void 0,e===d.current&&(d.current=0)}),i)}}else if(e===Ze.SWIPE){let e=u.current-t.deltaX;if(e=Math.min(Math.abs(e),r)*Math.sign(e),u.current=e,s(e),b(),Math.abs(e)>.2*r)return f.current=t.deltaX,void l(e,Date.now()-g.current);p.current=m((()=>A(e)),2*i)}else f.current=t.deltaX}));o.useEffect((()=>t(P,x)),[t,x])}(M,...Se);const Ee=Ve((()=>{a.focus&&ne().querySelector(`.${V(l)} .${V(tt())}`)&&ie()}));o.useEffect(Ee,[Ee]);const Te=Ve((()=>{var e;null===(e=s.view)||void 0===e||e.call(s,{index:v.currentIndex})}));o.useEffect(Te,[v.globalIndex,Te]),o.useEffect((()=>q(z(b,(e=>Ae({direction:b,...e}))),z(w,(e=>Ae({direction:w,...e}))),z(A,(e=>I(e))))),[z,Ae,I]);const _e=o.useMemo((()=>({prev:le,next:ce,close:ue,focus:ie,slideRect:X?J(X,r.padding):{width:0,height:0},containerRect:X||{width:0,height:0},subscribeSensors:N,containerRef:Y,setCarouselRef:te,toolbarWidth:g,setToolbarWidth:y})),[le,ce,ue,ie,N,X,Y,te,g,y,r.padding]);return o.useImperativeHandle(a.ref,(()=>({prev:le,next:ce,close:ue,focus:ie,getLightboxProps:ae,getLightboxState:se})),[le,ce,ue,ie,ae,se]),o.createElement("div",{ref:Q,className:B(V(tt()),V(m)),style:{...M===Ze.SWIPE?{[$("swipe_offset")]:`${Math.round(R.current)}px`}:null,...M===Ze.PULL?{[$("pull_offset")]:`${Math.round(j.current)}px`,[$("pull_opacity")]:`${F.current}`}:null,..."none"!==a.touchAction?{[$("controller_touch_action")]:a.touchAction}:null,...c.container},...a.aria?{role:"presentation","aria-live":"polite"}:null,tabIndex:-1,...D},X&&o.createElement(nt.Provider,{value:_e},e,null===(n=u.controls)||void 0===n?void 0:n.call(u)))}));function it(e){return G(a,e)}function at(e){return G("slide",e)}function st({slide:e,offset:t}){const n=o.useRef(null),{currentIndex:r}=we(),{slideRect:i,close:a}=rt(),{render:s,carousel:{imageFit:l,imageProps:c},on:{click:u},controller:{closeOnBackdropClick:d},styles:{slide:h}}=ye();return o.createElement("div",{ref:n,className:B(V(at()),0===t&&V(at("current")),V(m)),onClick:e=>{const t=n.current,r=e.target instanceof HTMLElement?e.target:void 0;d&&r&&t&&(r===t||Array.from(t.children).find((e=>e===r))&&r.classList.contains(V(v)))&&a()},style:h},(()=>{var n,a,d,h;let p=null===(n=s.slide)||void 0===n?void 0:n.call(s,{slide:e,offset:t,rect:i});return!p&&K(e)&&(p=o.createElement(Ke,{slide:e,offset:t,render:s,rect:i,imageFit:l,imageProps:c,onClick:0===t?()=>null==u?void 0:u({index:r}):void 0})),p?o.createElement(o.Fragment,null,null===(a=s.slideHeader)||void 0===a?void 0:a.call(s,{slide:e}),(null!==(d=s.slideContainer)&&void 0!==d?d:({children:e})=>e)({slide:e,children:p}),null===(h=s.slideFooter)||void 0===h?void 0:h.call(s,{slide:e})):null})())}function lt(){const e=ye().styles.slide;return o.createElement("div",{className:V("slide"),style:e})}const ct=ae(a,(function({carousel:e}){const{slides:t,currentIndex:n,globalIndex:r}=we(),{setCarouselRef:i}=rt(),a=Z(e.spacing),s=Z(e.padding),l=function(e,t,n=0){return Math.min(e.preload,Math.max(e.finite?t.length-1:Math.floor(t.length/2),n))}(e,t,1),c=[];if(ee(t))for(let o=n-l;o<=n+l;o+=1){const i=te(t,o),a=r-n+o,s=e.finite&&(o<0||o>t.length-1);c.push(s?{key:a}:{key:[`${a}`,re(i)].filter(Boolean).join("|"),offset:o-n,slide:i})}return o.createElement("div",{ref:i,className:B(V(it()),c.length>0&&V(it("with_slides"))),style:{[`${$(it("slides_count"))}`]:c.length,[`${$(it("spacing_px"))}`]:a.pixel||0,[`${$(it("spacing_percent"))}`]:a.percent||0,[`${$(it("padding_px"))}`]:s.pixel||0,[`${$(it("padding_percent"))}`]:s.percent||0}},c.map((({key:e,slide:t,offset:n})=>t?o.createElement(st,{key:e,slide:t,offset:n}):o.createElement(lt,{key:e}))))}));function ut(){const{carousel:e}=ye(),{slides:t,currentIndex:n}=we();return{prevDisabled:0===t.length||e.finite&&0===n,nextDisabled:0===t.length||e.finite&&n===t.length-1}}function dt({label:e,icon:t,renderIcon:n,action:r,onClick:i,disabled:a,style:s}){return o.createElement(_e,{label:e,icon:t,renderIcon:n,className:V(`navigation_${r}`),disabled:a,onClick:i,style:s,...Ue(rt().focus,a)})}const ht=ae("navigation",(function({render:{buttonPrev:e,buttonNext:t,iconPrev:n,iconNext:r},styles:i}){const{prev:a,next:s,subscribeSensors:l}=rt(),{prevDisabled:c,nextDisabled:u}=ut();return function(e){var t;const n=We(),{publish:r}=fe(),{animation:i}=ye(),{prevDisabled:a,nextDisabled:s}=ut(),l=(null!==(t=i.navigation)&&void 0!==t?t:i.swipe)/2,c=qe((()=>r(b)),l),u=qe((()=>r(w)),l),d=Ve((e=>{switch(e.key){case I:r(x);break;case M:(n?s:a)||(n?u:c)();break;case L:(n?a:s)||(n?c:u)()}}));o.useEffect((()=>e(_,d)),[e,d])}(l),o.createElement(o.Fragment,null,e?e():o.createElement(dt,{label:"Previous",action:b,icon:Me,renderIcon:n,style:i.navigationPrev,disabled:c,onClick:a}),t?t():o.createElement(dt,{label:"Next",action:w,icon:Le,renderIcon:r,style:i.navigationNext,disabled:u,onClick:s}))})),pt=V("no_scroll"),ft=V(y);function gt(e){return"style"in e}function mt(e,t,n){const r=window.getComputedStyle(e),o=n?"padding-left":"padding-right",i=n?r.paddingLeft:r.paddingRight,a=e.style.getPropertyValue(o);return e.style.setProperty(o,`${(X(i)||0)+t}px`),()=>{a?e.style.setProperty(o,a):e.style.removeProperty(o)}}const yt=ae("no-scroll",(function({noScroll:{disabled:e},children:t}){const n=We(),{getOwnerDocument:r,getOwnerWindow:i}=de();return o.useEffect((()=>{if(e)return()=>{};const t=[],o=i(),{body:a,documentElement:s}=r(),l=Math.round(o.innerWidth-s.clientWidth);if(l>0){t.push(mt(a,l,n));const e=a.getElementsByTagName("*");for(let r=0;r{a.classList.remove(pt),t.forEach((e=>e()))}}),[n,e,r,i]),o.createElement(o.Fragment,null,t)}));function vt(e){return G(l,e)}function bt(e,t,n){const r=e.getAttribute(t);return e.setAttribute(t,n),()=>{r?e.setAttribute(t,r):e.removeAttribute(t)}}const wt=ae(l,(function({children:e,animation:t,styles:n,className:r,on:i,portal:a,close:s}){const[l,c]=o.useState(!1),[u,d]=o.useState(!1),h=o.useRef([]),p=o.useRef(null),{setTimeout:f}=ke(),{subscribe:g}=fe(),m=De()?0:t.fade;o.useEffect((()=>(c(!0),()=>{c(!1),d(!1)})),[]);const v=Ve((()=>{h.current.forEach((e=>e())),h.current=[]})),b=Ve((()=>{var e;d(!1),v(),null===(e=i.exiting)||void 0===e||e.call(i),f((()=>{var e;null===(e=i.exited)||void 0===e||e.call(i),s()}),m)}));o.useEffect((()=>g(x,b)),[g,b]);const w=Ve((e=>{var t,n,r;e.scrollTop,d(!0),null===(t=i.entering)||void 0===t||t.call(i);const o=null!==(r=null===(n=e.parentNode)||void 0===n?void 0:n.children)&&void 0!==r?r:[];for(let t=0;t{var e,t;null===(t=null===(e=p.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)})),f((()=>{var e;null===(e=i.entered)||void 0===e||e.call(i)}),m)})),A=o.useCallback((e=>{e?w(e):v()}),[w,v]);return l?(0,N.createPortal)(o.createElement(Xe,{ref:A,className:B(r,V(vt()),V(y),u&&V(vt("open"))),role:"presentation","aria-live":"polite",style:{...t.fade!==ie.animation.fade?{[$("fade_animation_duration")]:`${m}ms`}:null,...t.easing.fade!==ie.animation.easing.fade?{[$("fade_animation_timing_function")]:t.easing.fade}:null,...n.root},onFocus:e=>{p.current||(p.current=e.relatedTarget)}},e),a.root||document.body):null}));const At=ae("root",(function({children:e}){return o.createElement(o.Fragment,null,e)}));const xt=ae(c,(function({toolbar:{buttons:e},render:{buttonClose:t,iconClose:n},styles:r}){const{close:i,setToolbarWidth:a}=rt(),{setContainerRef:s,containerRect:l}=ze();return Fe((()=>{a(null==l?void 0:l.width)}),[a,null==l?void 0:l.width]),o.createElement("div",{ref:s,style:r.toolbar,className:V(G(c,u))},null==e?void 0:e.map((e=>e===x?t?t():o.createElement(_e,{key:x,label:"Close",icon:Ie,renderIcon:n,onClick:i}):e)));var u}));function St(e,t){var n;return o.createElement(e.module.component,{key:e.module.name,...t},null===(n=e.children)||void 0===n?void 0:n.map((e=>St(e,t))))}function Ct(e,t={}){const{easing:n,...r}=e,{easing:o,...i}=t;return{easing:{...n,...o},...r,...i}}function Et({carousel:e,animation:t,render:n,toolbar:r,controller:i,noScroll:a,on:l,plugins:c,slides:u,index:d,...h}){const{animation:p,carousel:f,render:g,toolbar:m,controller:y,noScroll:v,on:b,slides:w,index:A,plugins:x,...S}=ie,{config:C,augmentation:E}=function(e,t=[],n=[]){let r=e;const o=e=>{const t=[...r];for(;t.length>0;){const n=t.pop();if((null==n?void 0:n.module.name)===e)return!0;(null==n?void 0:n.children)&&t.push(...n.children)}return!1},i=(e,t)=>{r=""!==e?ce(r,e,(e=>[se(t,[e])])):[se(t,r)]},a=(e,t)=>{r=ce(r,e,(e=>[se(e.module,[se(t,e.children)])]))},l=(e,t,n)=>{r=ce(r,e,(e=>{var r;return[se(e.module,[...n?[se(t)]:[],...null!==(r=e.children)&&void 0!==r?r:[],...n?[]:[se(t)]])]}))},c=(e,t,n)=>{r=ce(r,e,(e=>[...n?[se(t)]:[],e,...n?[]:[se(t)]]))},u=e=>{a(s,e)},d=(e,t)=>{r=ce(r,e,(e=>[se(t,e.children)]))},h=e=>{r=ce(r,e,(e=>e.children))},p=e=>{n.push(e)};return t.forEach((e=>{e({contains:o,addParent:i,append:a,addChild:l,addSibling:c,addModule:u,replace:d,remove:h,augment:p})})),{config:r,augmentation:e=>n.reduce(((e,t)=>t(e)),e)}}([se(wt,[se(yt,[se(ot,[se(ct),se(xt),se(ht)])])])],c||x),k=E({animation:Ct(p,t),carousel:{...f,...e},render:{...g,...n},toolbar:{...m,...r},controller:{...y,...i},noScroll:{...v,...a},on:{...b,...l},...S,...h});return k.open?o.createElement(ve,{...k},o.createElement(Ce,{slides:u||w,index:X(d||A)},o.createElement(Te,null,o.createElement(ge,null,St(se(At,C),k))))):null}const kt={download:void 0},Tt=e=>({...kt,...e});function _t(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}function Ot(e,t){const n=document.createElement("a");n.rel="noopener",n.download=t||"",n.download||(n.target="_blank"),"string"==typeof e?(n.href=e,n.origin!==window.location.origin?function(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}(n.href)?function(e,t){const n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=()=>{Ot(n.response,t)},n.onerror=()=>{console.error("Failed to download file")},n.send()}(e,t):(n.target="_blank",_t(n)):_t(n)):(n.href=URL.createObjectURL(e),setTimeout((()=>URL.revokeObjectURL(n.href)),3e4),setTimeout((()=>_t(n)),0))}const Pt=Pe("DownloadIcon",o.createElement("path",{d:"M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zm-1-4-1.41-1.41L13 12.17V4h-2v8.17L8.41 9.59 7 11l5 5 5-5z"}));function It(){const{render:e,on:t,download:n}=ye(),{download:r}=Tt(n),{currentSlide:i,currentIndex:a}=we();if(e.buttonDownload)return o.createElement(o.Fragment,null,e.buttonDownload());const s=i&&(i.downloadUrl||"string"==typeof i.download&&i.download||"object"==typeof i.download&&i.download.url||K(i)&&i.src)||void 0,l=r?!1!==(null==i?void 0:i.download):Boolean(s),c=()=>{if(i&&s){const e=i.downloadFilename||"object"==typeof i.download&&i.download.filename||void 0;Ot(s,e)}};return o.createElement(_e,{label:"Download",icon:Pt,renderIcon:e.iconDownload,disabled:!l,onClick:()=>{var e;i&&((r||c)({slide:i,saveAs:Ot}),null===(e=t.download)||void 0===e||e.call(t,{index:a}))}})}function Mt({augment:e}){e((({toolbar:e,download:t,...n})=>({toolbar:oe(e,u,o.createElement(It,null)),download:Tt(t),...n})))}var Lt=n(49557),Rt=n.n(Lt),jt=n(40290),Ft=n.n(jt),Dt=n(94850),Nt=n.n(Dt),zt=n(93),Bt=n.n(zt),Vt=n(79913),$t=n.n(Vt),Gt=n(62102),Ut=n.n(Gt),Wt=n(68624),qt={};qt.styleTagTransform=Ut(),qt.setAttributes=Bt(),qt.insert=Nt().bind(null,"head"),qt.domAPI=Ft(),qt.insertStyleElement=$t();Rt()(Wt.A,qt);Wt.A&&Wt.A.locals&&Wt.A.locals;var Ht=n(93546),Yt=n(66700),Kt=n(97282);function Xt(e){Yt.vF.logTraceRender("components/lightbox/lightbox");var t=e.open,n=e.slides,a=e.index,s=e.exited,l=(0,i.useTranslation)().t,c=(0,o.useState)(t),u=(0,r.A)(c,2),d=u[0],h=u[1],p=(0,o.useState)(!0),f=(0,r.A)(p,1)[0],g=(0,o.useState)(!0),m=(0,r.A)(g,1)[0],y=(0,o.useState)(250),v=(0,r.A)(y,1)[0],b=(0,o.useState)(500),w=(0,r.A)(b,1)[0];return(0,o.useEffect)((function(){Yt.vF.logTraceUseEffect("LIGHTBOX - open",t),h(t)}),[t]),(0,Kt.jsx)(Et,{styles:{root:{width:"90%",height:"90%",margin:"auto"},container:{backgroundColor:"rgba(0, 0, 0, .9)"}},open:d,close:function(){return h(!1)},slides:n,index:a,carousel:{finite:!0},controller:{closeOnPullDown:f,closeOnBackdropClick:m},animation:{fade:v,swipe:w},labels:{Next:l("lightbox.next"),Previous:l("lightbox.previous"),Close:l("lightbox.close"),Download:l("lightbox.download")},on:{entered:function(){},exited:s},render:{iconClose:function(){return(0,Kt.jsx)(Ht.Tooltip,{title:l("lightbox.close"),placement:"top",children:(0,Kt.jsx)(Ht.CloseIcon,{})})},iconNext:function(){return(0,Kt.jsx)(Ht.Tooltip,{title:l("lightbox.next"),placement:"top",children:(0,Kt.jsx)(Ht.ArrowRightIcon,{})})},iconPrev:function(){return(0,Kt.jsx)(Ht.Tooltip,{title:l("lightbox.previous"),placement:"top",children:(0,Kt.jsx)(Ht.ArrowLeftIcon,{})})},iconDownload:function(){return(0,Kt.jsx)(Ht.Tooltip,{title:l("lightbox.download"),placement:"top",children:(0,Kt.jsx)(Ht.DownloadIcon,{})})}},plugins:[Mt]})}},99724:(e,t,n)=>{"use strict";n.d(t,{p:()=>d});var r=n(30538),o=n(72666),i=n(93546),a=n(69486),s=n(22264),l=n(66700),c=n(10814),u=n(97282);function d(){var e=(0,o.A)(),t=(0,a.S)(e),n=(0,c.Jh)(),d=(0,s.dY)(),h=(0,s.A6)().setMapInfoExpanded,p="layers.toggleCollapse",f=function(){h(!0)};return(0,r.useEffect)((function(){return l.vF.logTraceUseEffect("MAP-INFO-EXPAND-BUTTON - mount"),function(){var e=document.getElementById("".concat(n,"-mapInfo"));e&&e.removeEventListener("transitionend",f)}}),[]),(0,u.jsx)(i.Box,{children:(0,u.jsx)(i.IconButton,{"aria-label":p,tooltip:p,sx:t.expandButton,onClick:function(){return d?function(){var e=document.getElementById("".concat(n,"-mapInfo"));if(e){var t=e.querySelector(".ol-attribution ul");t&&(t.style.width="0px"),e.style.transition="max-height 300ms ease-out",e.style.maxHeight="25px"}h(!1)}():function(){var e=document.getElementById("".concat(n,"-mapInfo"));if(e){e.style.transition="max-height 300ms ease-in 0s",e.style.maxHeight="80px",e.style.height="80px";var t=e.querySelector(".ol-attribution ul");t&&(t.style.width="100%"),e.addEventListener("transitionend",f,{once:!0})}}()},children:d?(0,u.jsx)(i.ExpandMoreIcon,{}):(0,u.jsx)(i.ExpandLessIcon,{})})})}},88670:(e,t,n)=>{"use strict";n.d(t,{F:()=>f});var r=n(74780),o=n(30538),i=n(43331),a=n(72666),s=n(83232),l=n(93546),c=n(91384),u=n(22264),d=n(5182),h=n(66700),p=n(97282);function f(){var e=(0,i.useTranslation)().t,t=(0,a.A)(),n=(0,s.A)(t.breakpoints.down("md")),f=(0,u.dY)(),g=(0,d.Mk)(),m=(0,d.C0)(),y=(0,d.HA)(),v=(0,d.U6)(),b=v.setFixNorth,w=v.setRotation;return(0,o.useEffect)((function(){h.vF.logTraceUseEffect("MAP-INFO-FIXNORTH-SWITCH - deviceSizeMedUp",n),n&&b(!1)}),[n,b]),(0,p.jsx)(l.Box,{sx:(0,r.A)({},t.breakpoints.down("md"),{display:"none"}),children:f&&"EPSG:".concat(y)===c.M.PROJECTION_NAMES.LCC&&g?(0,p.jsx)(l.Switch,{size:"small",onChange:function(e){b(e.target.checked),e.target.checked||w(0)},title:e("mapctrl.rotation.fixedNorth"),checked:m}):null})}},3778:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(30538),o=n(43331),i=n(72666),a=n(93546),s=n(69486),l=n(5182),c=n(97282);function u(){var e=(0,o.useTranslation)().t,t=(0,i.A)(),n=(0,s.S)(t),u="mapctrl.rotation.resetRotation",d=(0,r.useRef)(null),h=(0,l.uE)(),p=(0,l.U6)().setRotation;return(0,c.jsx)(a.IconButton,{sx:n.rotationButton.rotationButton,tooltipPlacement:"top",tooltip:u,"aria-label":u,title:e("mapctrl.rotation.resetRotation"),onClick:function(){return p(0)},children:(0,c.jsx)(a.ArrowUpIcon,{ref:d,sx:n.rotationButton.rotationIcon,style:{transform:"rotate(".concat(h,"rad)")}})})}},69486:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var r=function(e){return{mapInfoContainer:{flexGrow:1,zIndex:200,display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",width:"calc(100%)",minHeight:"35px",maxHeight:"35px",backdropFilter:"blur(5px)",backgroundColor:e.palette.geoViewColor.bgColor.dark[800],color:"".concat(e.palette.geoViewColor.bgColor.light[800]," !important"),pointerEvents:"all",gap:.5,order:3,fill:"".concat(e.palette.geoViewColor.grey.dark[900]," !important"),position:"absolute",bottom:0,left:"0px","&.interaction-static":{backdropFilter:"unset",backgroundColor:"unset",color:"".concat(e.palette.geoViewColor.grey.dark[900]," !important"),fill:"".concat(e.palette.geoViewColor.grey.dark[900]," !important"),position:"absolute",width:"calc(100% - 60px)",bottom:0,left:"60px","& button svg":{fill:"".concat(e.palette.geoViewColor.grey.dark[900]," !important")},"& button span":{color:"".concat(e.palette.geoViewColor.grey.dark[900]," !important")}}},mouseScaleControlsContainer:{display:"flex",flexDirection:"row","& button":{cursor:"pointer",margin:"auto 0 auto auto"},justifyContent:"end"},rotationControlsContainer:{display:"flex",flexDirection:"column",marginLeft:"20px",alignItems:"flex-end"},expandButton:{display:{xs:"none",sm:"none",md:"flex",lg:"flex",xl:"flex"},alignItems:"center",justifyContent:"center",color:e.palette.geoViewColor.bgColor.light[800],height:"30px",width:"30px",marginLeft:"5px"},rotationButton:{rotationButton:{height:25,width:25,marginRight:5},rotationIcon:{width:"1.5em",height:"1.5em",fontSize:e.palette.geoViewFontSize.default,color:e.palette.geoViewColor.bgColor.light[800]}}}}},82686:(e,t,n)=>{"use strict";n.d(t,{p:()=>A});var r=n(74780),o=n(30538),i=n(72666),a=n(93546),s=n(44366),l=n(44967),c=n(82107),u=n(99724),d=n(3778),h=n(88670),p=n(69486),f=n(5182),g=n(22264),m=n(66700),y=n(10814),v=n(97282);function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t{"use strict";n.d(t,{T:()=>b});var r=n(30538),o=n(83232),i=n(66540),a=n(72666),s=n(37937),l=n(98772),c=n(94650),u=n(62594),d=n(94869),h={mapContainer:{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative","& .ol-overviewmap.ol-custom-overviewmap":{bottom:"auto",left:"auto",right:"5px",top:"5px",margin:5,order:1,padding:0,position:"absolute",borderRadius:4,"& .ol-overviewmap-map":{border:"none",display:"block !important",WebkitTransition:"300ms linear",MozTransition:"300ms linear",OTransition:"300ms linear",msTransition:"300ms linear",transition:"300ms linear"},"&.ol-uncollapsible":{bottom:"auto",left:"auto",right:100,top:100,margin:5},"&:not(.ol-collapsed)":{boxShadow:"0 1px 5px rgb(0 0 0 / 65%)",borderRadius:"4px",border:"none"},"&:is(.ol-collapsed)":{boxShadow:"0 1px 5px rgb(0 0 0 / 65%)",borderRadius:4,border:"none"},"& button":{zIndex:100,position:"absolute",top:0,right:0,left:"auto !important",bottom:"auto !important",backgroundColor:"#cccccc"},"&::before":{content:'""',display:"block",position:"absolute",width:0,height:0,borderRadius:2,zIndex:100,right:0,top:0},"& .ol-overviewmap-box":{backgroundColor:"rgba(0, 0, 0, 0.2)"},"& .ol-viewport":{borderRadius:"4px","& .ol-layer":{backgroundColor:"#FFF"}}}}},p=n(5182),f=n(10814),g=n(10082),m=n(66700),y=n(67475),v=n(97282);function b(e){m.vF.logTraceRender("components/map/map");var t=e.viewer,n=(0,a.A)(),b=(0,r.useRef)(),w=(0,o.A)(n.breakpoints.up("md")),A=(0,f.Jh)(),x=(0,p.JQ)(),S=(0,p.Mk)(),C=(0,p.Nt)(),E=(0,f.oy)(),k=(0,r.useRef)(!1),T=(0,r.useCallback)((function(){var e;m.vF.logTraceUseCallback("map.initCGPVMap"),null==E||null===(e=E.corePackages)||void 0===e||e.forEach((function(e){g.k.loadScript(e).then((function(n){g.k.addPlugin(e,A,n,(0,y.NK)({mapId:A,viewer:t})).catch((function(e){m.vF.logPromiseFailed("api.plugin.addPlugin in useCallback in map",e)}))})).catch((function(e){m.vF.logPromiseFailed("api.plugin.addPlugin in useCallback in map",e)}))}))}),[A,null==E?void 0:E.corePackages,t]);return(0,r.useEffect)((function(){m.vF.logTraceUseEffect("map.initMap"),k.current||(t.createMap(b.current),T(),k.current=!0)}),[T,t]),(0,v.jsx)(i.A,{id:"mapTargetElement-".concat(A),ref:b,sx:h.mapContainer,tabIndex:0,children:C&&(0,v.jsxs)(v.Fragment,{children:[S&&(0,v.jsx)(s.l,{}),(0,v.jsx)(s.g,{}),(0,v.jsx)(l.B,{mapTargetElement:b.current}),(0,v.jsx)(u.n,{}),(0,v.jsx)(d.s,{}),w&&x&&t.map&&(0,v.jsx)(c.G,{olMap:t.map})]})})}},44967:(e,t,n)=>{"use strict";n.d(t,{d:()=>m});var r=n(74780),o=n(1839),i=n(30538),a=n(43331),s=n(72666),l=n(93546),c=n(22264),u=n(5182),d=n(7031),h=function(e){return{mousePosition:{display:"flex",minWidth:"fit-content",padding:e.spacing(0,4),textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",alignItems:"center",width:"auto",backgroundColor:"transparent !important",height:"inherit !important",color:e.palette.geoViewColor.bgColor.light[800],lineHeight:1.5,":hover":{backgroundColor:"transparent !important",color:e.palette.geoViewColor.bgColor.light[600]}},mousePositionTextContainer:(0,r.A)({display:"flex",flexDirection:"column"},e.breakpoints.down("md"),{display:"none"}),mousePositionTextCheckmarkContainer:{display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center","& span":{fontSize:e.palette.geoViewFontSize.default,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}},mousePositionCheckmark:{paddingRight:5},mousePositionText:{fontSize:e.palette.geoViewFontSize.default,textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}},p=n(97282);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g(e){for(var t=1;t{"use strict";n.d(t,{A:()=>h});var r=n(30538),o=n(72666),i=n(93546),a=n(16750),s=n(76467),l=n(22264),c=n(10814),u=n(66700),d=n(97282);function h(){u.vF.logTraceRender("components/nav-bar/buttons/fullscreen");var e=(0,c.Jh)(),t=(0,o.A)(),n=(0,a.S)(t),h=(0,s.kv)(),p=(0,s.dD)().setFullScreenActive,f=(0,l.A6)().setFooterBarIsCollapsed;return(0,r.useEffect)((function(){function e(){document.fullscreenElement||p(!1)}return u.vF.logTraceUseEffect("FULLSCREEN - mount"),document.addEventListener("fullscreenchange",e),document.addEventListener("webkitfullscreenchange",e),document.addEventListener("mozfullscreenchange",e),document.addEventListener("MSFullscreenChange",e),function(){document.removeEventListener("fullscreenchange",e),document.removeEventListener("webkitfullscreenchange",e),document.removeEventListener("mozfullscreenchange",e),document.removeEventListener("MSFullscreenChange",e)}}),[]),(0,d.jsx)(i.IconButton,{id:"fullscreen",tooltip:"mapnav.fullscreen",tooltipPlacement:"left",onClick:function(){var t;(t=document.getElementById("shell-".concat(e)))&&(p(!h,t),f(!0))},sx:n.navButton,children:h?(0,d.jsx)(i.FullscreenExitIcon,{}):(0,d.jsx)(i.FullscreenIcon,{})})}},20166:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(72666),o=n(93546),i=n(16750),a=n(5182),s=n(66700),l=n(97282);function c(){s.vF.logTraceRender("components/nav-bar/buttons/home");var e=(0,r.A)(),t=(0,i.S)(e),n=(0,a.U6)().zoomToInitialExtent;return(0,l.jsx)(o.IconButton,{id:"home",tooltip:"mapnav.home",tooltipPlacement:"left",onClick:function(){n().catch((function(e){s.vF.logPromiseFailed("Failed to zoomToInitialExtent in home.handleZoom",e)}))},sx:t.navButton,children:(0,l.jsx)(o.HomeIcon,{})})}},41334:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(72666),o=n(93546),i=n(16750),a=n(5182),s=n(76467),l=n(66700),c=n(97282);function u(){l.vF.logTraceRender("components/nav-bar/buttons/location");var e=(0,r.A)(),t=(0,i.S)(e),n=(0,a.U6)().zoomToMyLocation,u=(0,s.dD)().addNotification,d=function(e){n(e).catch((function(e){l.vF.logPromiseFailed("Failed to zoomToMyLocation in location.successCallback",e)}))},h=function(e){u({key:"location",message:"ERROR(".concat(e.code,"): ").concat(e.message),notificationType:"warning",count:0})};return(0,c.jsx)(o.IconButton,{id:"location",tooltip:"mapnav.location",tooltipPlacement:"left",onClick:function(){navigator.geolocation.getCurrentPosition(d,h)},sx:t.navButton,children:(0,c.jsx)(o.EmojiPeopleIcon,{})})}},79600:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(72666),o=n(93546),i=n(16750),a=n(5182),s=n(66700),l=n(97282);function c(){s.vF.logTraceRender("components/nav-bar/buttons/zoom-in");var e=(0,r.A)(),t=(0,i.S)(e),n=(0,a.Bm)(),c=(0,a.U6)().setZoom;return(0,l.jsx)(o.IconButton,{id:"zoomIn",tooltip:"mapnav.zoomIn",tooltipPlacement:"left",onClick:function(){return c(n+.5)},sx:t.navButton,children:(0,l.jsx)(o.ZoomInIcon,{})})}},63241:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(72666),o=n(93546),i=n(16750),a=n(5182),s=n(66700),l=n(97282);function c(){s.vF.logTraceRender("components/nav-bar/buttons/zoom-out");var e=(0,r.A)(),t=(0,i.S)(e),n=(0,a.Bm)(),c=(0,a.U6)().setZoom;return(0,l.jsx)(o.IconButton,{id:"zoomOut",tooltip:"mapnav.zoomOut",tooltipPlacement:"left",onClick:function(){return c(n-.5)},sx:t.navButton,children:(0,l.jsx)(o.ZoomOutIcon,{})})}},90447:(e,t,n)=>{"use strict";n.d(t,{v:()=>y});var r=n(59682),o=n(41108),i=n(74780),a=n(52780),s=n(42982);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t{"use strict";n.d(t,{S:()=>r});var r=function(e){return{navBarRef:{position:"absolute",right:e.spacing(5),display:"flex",flexDirection:"row",marginRight:0,zIndex:150,pointerEvents:"all",justifyContent:"center",backgroundColor:"transparent",transition:"bottom 300ms ease-in-out",bottom:"6rem"},navBtnGroupContainer:{display:"flex",position:"relative",flexDirection:"column",pointerEvents:"auto",justifyContent:"end",overflowY:"hidden",padding:5},navBtnGroup:{borderRadius:e.spacing(5),backgroundColor:e.palette.geoViewColor.bgColor.light[500],"&:not(:last-child)":{marginBottom:e.spacing(11)},"& .MuiButtonGroup-grouped:not(:last-child)":{borderColor:e.palette.geoViewColor.bgColor.light[900]}},navButton:{backgroundColor:e.palette.geoViewColor.bgColor.light[500],color:e.palette.geoViewColor.bgColor.dark[900],borderRadius:e.spacing(5),width:"44px",height:"44px",maxWidth:"44px",minWidth:"44px",padding:"initial",transition:"background-color 0.3s ease-in-out","&:not(:last-of-type)":{borderBottomLeftRadius:0,borderBottomRightRadius:0,borderBottom:"1px solid ".concat(e.palette.geoViewColor.bgColor.light[900])},"&:not(:first-of-type)":{borderTopLeftRadius:0,borderTopRightRadius:0},"&:hover":{backgroundColor:e.palette.geoViewColor.bgColor.light[500],color:e.palette.geoViewColor.bgColor.dark[700]},"&:focus":{backgroundColor:e.palette.geoViewColor.bgColor.light[500],color:e.palette.geoViewColor.bgColor.dark[700]},"&:active":{backgroundColor:e.palette.geoViewColor.bgColor.light[500],color:e.palette.geoViewColor.bgColor.dark[950]}}}}},12190:(e,t,n)=>{"use strict";n.d(t,{j:()=>m});var r=n(30538),o=n(43331),i=n(72666),a=n(79600),s=n(63241),l=n(1604),c=n(20166),u=n(41334),d=n(93546),h=n(16750),p=n(22264),f=n(66700),g=n(97282);function m(e){f.vF.logTraceRender("components/nav-bar/nav-bar");var t=e.api,n=(0,o.useTranslation)().t,m=(0,i.A)(),y=(0,h.S)(m),v=(0,r.useRef)(null),b=(0,p.m)();return(0,r.useEffect)((function(){f.vF.logTraceUseEffect("NAV-BAR - mount");var e=function(){return f.vF.logInfo("NavbarCreated")};return t.onNavbarCreated(e),function(){t.offNavbarCreated(e)}}),[t]),(0,g.jsx)(d.Box,{ref:v,sx:[y.navBarRef],children:(0,g.jsxs)(d.Box,{sx:y.navBtnGroupContainer,children:[(0,g.jsxs)(d.ButtonGroup,{orientation:"vertical","aria-label":n("mapnav.arianavbar"),variant:"contained",sx:y.navBtnGroup,children:[(0,g.jsx)(a.A,{}),(0,g.jsx)(s.A,{})]}),(0,g.jsxs)(d.ButtonGroup,{orientation:"vertical","aria-label":n("mapnav.arianavbar"),variant:"contained",sx:y.navBtnGroup,children:[b.includes("fullscreen")&&(0,g.jsx)(l.A,{}),b.includes("location")&&(0,g.jsx)(u.A,{}),b.includes("home")&&(0,g.jsx)(c.A,{})]})]})})}},53795:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(1839),o=n(30538),i=n(91384),a=n(81556),s=n(5182),l=n(66700);const c=function(){var e=(0,o.useState)({angle:0}),t=(0,r.A)(e,2),n=t[0],c=t[1],u=(0,o.useState)(0),d=(0,r.A)(u,2),h=d[0],p=d[1],f=(0,o.useRef)(0),g=(0,s.HA)(),m=(0,s.ej)(),y=(0,s.C0)(),v=(0,s.Bm)(),b=(0,s.uE)(),w=(0,s.a7)(),A=(0,s.ht)(),x=(0,s.U6)(),S=x.getPixelFromCoordinate,C=x.setRotation;return(0,o.useEffect)((function(){if(l.vF.logTraceUseEffect("USEMANAGEARROW - northArrowElement",m,y),"EPSG:".concat(g)===i.M.PROJECTION_NAMES.LCC&&!m.isNorthVisible){var e=parseFloat(m.degreeRotation),t=270-e;if(y&&(Math.round(f.current)!==Math.round(e)||v>7))f.current=e,C((180-e)*(2*Math.PI)/360),c({angle:0});else{var n=y?b*(180/Math.PI):0;c({angle:90-t+n})}!function(e){var t=A[0]/2,n=t-12;if(y||null===S(a.Tg))p(n);else{var o=S(a.Tg),i=o[1],s={x:n,y:S(w)[1],m:1};if(o[0]<2400&&o[1]>-1300&&-o[1]<3e3){var l=(0,r.A)(o,2);s.x=l[0],s.y=l[1],s.m=-1}var c=s.y/Math.sin(.01745329252*e),u=i<0?s.x+s.m*(Math.sin(.01745329252*(90-e))*c)-12:o[0]-24;u=Math.max(n-.25*t,Math.min(u,n+.25*t)),p(u)}}(t)}}),[m,y]),{rotationAngle:n,northOffset:h}}},45202:(e,t,n)=>{"use strict";n.d(t,{d:()=>i,e:()=>o});var r=n(97282);function o(e){var t=e.width,n=e.height;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",focusable:"false",style:{width:t,height:n},children:(0,r.jsxs)("g",{id:"northarrow",transform:"translate(-285.24 -142.234)",children:[(0,r.jsx)("path",{id:"path3770-7",d:"M305.91 156.648a8.652 8.652 0 0 1-8.654 8.653 8.652 8.652 0 0 1-8.653-8.653 8.653 8.653 0 0 1 8.653-8.653 8.653 8.653 0 0 1 8.653 8.653z",fill:"#fff",stroke:"#fff",strokeWidth:".895"}),(0,r.jsx)("path",{id:"path3770",d:"M304.982 156.648a7.725 7.725 0 0 1-7.726 7.726 7.725 7.725 0 0 1-7.726-7.726 7.725 7.725 0 0 1 7.726-7.726 7.725 7.725 0 0 1 7.726 7.726z",fill:"none",stroke:"#6d6d6d",strokeWidth:".799"}),(0,r.jsx)("path",{id:"path3774",d:"M297.256 156.648v-8.525",fill:"none",stroke:"#000",strokeWidth:".067"}),(0,r.jsx)("path",{d:"M297.258 143.48l8.793 22.432-8.811-8.812-8.812 8.812z",id:"path3778",fill:"#fff",stroke:"#fff",strokeWidth:".912"}),(0,r.jsx)("path",{d:"M297.256 144.805l7.726 19.568-7.726-7.726-7.726 7.726z",id:"path3780",fill:"#d6d6d6",stroke:"#000",strokeWidth:".266",strokeLinecap:"square"}),(0,r.jsx)("path",{id:"path6038",d:"M297.256 144.666l-7.726 19.568 7.726-7.726",fill:"#6d6d6d",strokeWidth:".296",strokeLinecap:"square"})]})})}function i(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 0 24 24",width:"24",children:[(0,r.jsx)("path",{d:"M0 0h24v24H0z",fill:"none"}),(0,r.jsx)("path",{d:"M14.4 6L14 4H5v17h2v-7h5.6l.4 2h7V6z"})]})}},37937:(e,t,n)=>{"use strict";n.d(t,{l:()=>f,g:()=>g});var r=n(30538),o=n(72666),i=n(93546),a=n(91384),s=n(45202),l=function(e){var t,n;return{northArrowContainer:{left:"50%",position:"absolute"},northArrow:{width:null===(t=e.overrides)||void 0===t||null===(t=t.northArrow)||void 0===t?void 0:t.size.width,height:null===(n=e.overrides)||void 0===n||null===(n=n.northArrow)||void 0===n?void 0:n.size.height}}},c=n(5182),u=n(53795),d=n(10814),h=n(66700),p=n(97282);function f(){h.vF.logTraceRender("components/north-arrow/north-arrow");var e=(0,o.A)(),t=l(e),n=(0,r.useRef)(null),d=(0,c.HA)(),f=(0,c.ej)(),g=(0,u.A)(),m=g.rotationAngle,y=g.northOffset;return"EPSG:".concat(d)===a.M.PROJECTION_NAMES.LCC?(0,p.jsx)(i.Box,{ref:n,sx:t.northArrowContainer,style:{transition:e.transitions.create(["all","transform"],{duration:e.transitions.duration.standard,easing:e.transitions.easing.easeOut}),transform:"rotate(".concat(m.angle,"deg)"),visibility:f.isNorthVisible?"hidden":"visible",left:y},children:(0,p.jsx)(s.e,{width:t.northArrow.width,height:t.northArrow.height})}):(0,p.jsx)(i.Box,{})}function g(){var e=(0,d.Jh)(),t="".concat(e,"-northpole"),n=(0,r.useRef)(null),o=(0,c.HA)(),l=(0,c.U6)().setOverlayNorthMarkerRef;return setTimeout((function(){return l(n.current)}),0),(0,p.jsx)(i.Box,{ref:n,id:t,style:{visibility:"EPSG:".concat(o)===a.M.PROJECTION_NAMES.LCC?"visible":"hidden"},children:(0,p.jsx)(s.d,{})})}},47765:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(1839),o=n(67970),i=n.n(o),a=n(30538),s=n(43331),l=n(72666),c=n(11956),u=n(78283),d=n(93546),h=function(e){return{notificationPanel:{display:"flex",flexDirection:"column",width:"350px",maxHeight:"500px",overflowY:"hidden",gap:"8px",marginLeft:"15px",backgroundColor:e.palette.geoViewColor.bgColor.light[200],borderRadius:"5px",boxShadow:2,padding:"10px"},notificationsHeader:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",padding:"10px",borderBottom:"1px solid ".concat(e.palette.geoViewColor.bgColor.dark[300],"}")},notificationsTitle:{fontSize:e.palette.geoViewFontSize.default,fontWeight:"700",color:e.palette.geoViewColor.textColor.main},notificationsList:{overflowY:"auto",padding:"0px 0px 10px 0px"},notificationItem:{display:"flex",flexDirection:"row",alignItems:"center",gap:"8px",padding:"10px 15px","&:not(:last-child)":{borderBottom:"1px solid ".concat(e.palette.geoViewColor.bgColor.dark[300])},"& .MuiIconButton-root":{color:e.palette.geoViewColor.textColor.lighten(.2,.4),"&:hover":{color:e.palette.geoViewColor.textColor.lighten(.2,.6)}}},notificationsCount:{backgroundColor:e.palette.geoViewColor.bgColor.dark[800],color:e.palette.geoViewColor.bgColor.light[800],fontSize:e.palette.geoViewFontSize.sm,borderRadius:"10px",height:"20px",width:"40px",textAlign:"center",lineHeight:"20px"}}},p=n(76467),f=n(10814),g=n(66700),m=n(5182),y=n(97119),v=n(97282);function b(){g.vF.logTraceRender("components/notifications/notifications");var e=(0,s.useTranslation)().t,t=(0,l.A)(),n=h(t),o=(0,f.Jh)(),b=document.getElementById("shell-".concat(o)),w=(0,a.useState)(null),A=(0,r.A)(w,2),x=A[0],S=A[1],C=(0,a.useState)(!1),E=(0,r.A)(C,2),k=E[0],T=E[1],_=(0,a.useState)(0),O=(0,r.A)(_,2),P=O[0],I=O[1],M=(0,a.useState)(!1),L=(0,r.A)(M,2),R=L[0],j=L[1],F=(0,p.v9)(),D=(0,m.GT)(),N=(0,p.dD)(),z=N.removeNotification,B=N.removeAllNotifications;(0,a.useEffect)((function(){g.vF.logTraceUseEffect("Notifications - notifications list changed",P,F);var e=i()(F,(function(e){return e.count}));e>P&&T(!0),I(e)}),[F,P]),(0,a.useEffect)((function(){if(g.vF.logTraceUseEffect("Notifications - hasNewNotification change",k),k){var e=setTimeout((function(){return T(!1)}),1e3);return function(){return clearTimeout(e)}}}),[k,P]);var V=function(){R&&j(!1)},$=(0,y.yb)(),G=(0,u.CS)(d.Box);function U(e){switch(e.notificationType){case"success":return(0,v.jsx)(d.CheckCircleIcon,{color:"success"});case"info":return(0,v.jsx)(d.InfoIcon,{color:"info"});case"warning":return(0,v.jsx)(d.WarningIcon,{color:"warning"});default:return(0,v.jsx)(d.ErrorIcon,{color:"error"})}}function W(e,r){return(0,v.jsxs)(d.Box,{sx:n.notificationItem,children:[(0,v.jsx)(d.Box,{children:U(e)}),(0,v.jsx)(d.Box,{sx:{flexGrow:1,fontSize:t.palette.geoViewFontSize.sm,color:t.palette.geoViewColor.textColor.light[250]},children:(0,v.jsx)(d.Box,{component:"span",children:e.message})}),e.count>1?(0,v.jsx)(d.Box,{children:(0,v.jsx)(d.Box,{sx:n.notificationsCount,children:e.count})}):null,(0,v.jsx)(d.IconButton,{onClick:function(){return function(e){z(e.key)}(e)},children:(0,v.jsx)(d.CloseIcon,{})})]},r)}return(0,v.jsx)(c.x,{mouseEvent:"onMouseDown",touchEvent:"onTouchStart",onClickAway:V,children:(0,v.jsxs)(d.Box,{children:[(0,v.jsx)(d.Badge,{badgeContent:P>99?"99+":P,color:"error",children:(0,v.jsxs)(d.IconButton,{id:"notification",tooltip:"appbar.notifications",tooltipPlacement:"bottom-end",onClick:function(e){S(e.currentTarget),j(!R)},className:"".concat("dynamic"===D?"buttonFilled":"style4"," ").concat(R?"active":""),color:"primary",sx:{width:"2.375rem",height:"2.375rem"},children:[!k&&(0,v.jsx)(d.Box,{sx:{display:"inline-flex",alignItems:"center"},children:(0,v.jsx)(d.NotificationsIcon,{})}),k&&(0,v.jsx)(G,{sx:{display:"inline-flex",alignItems:"center"},style:$,children:(0,v.jsx)(d.NotificationsActiveIcon,{})})]})}),(0,v.jsx)(d.Popper,{open:R,anchorEl:x,placement:"right-end",onClose:V,container:b,children:(0,v.jsxs)(d.Paper,{sx:n.notificationPanel,children:[(0,v.jsxs)(d.Box,{sx:n.notificationsHeader,children:[(0,v.jsx)(d.Typography,{component:"h3",sx:n.notificationsTitle,children:e("appbar.notifications")}),(0,v.jsx)(d.Button,{type:"text",variant:"contained",disabled:0===F.length,size:"small",onClick:function(){B()},children:e("appbar.removeAllNotifications")})]}),(0,v.jsx)(d.Box,{sx:n.notificationsList,children:F.length>0?F.map((function(e,t){return W(e,t)})):(0,v.jsx)(d.Typography,{component:"div",sx:{padding:"10px 15px"},children:e("appbar.no_notifications_available")})})]})})]})})}},26834:(e,t,n)=>{"use strict";n.d(t,{I:()=>d});var r=n(1839),o=n(30538),i=n(43331),a=n(93546),s=n(66700),l=n(66540),c={toggleBtn:{transform:"rotate(45deg)",color:"black",zIndex:150,"&:hover":{cursor:"pointer"},"&.minimapOpen":{transform:"rotate(-45deg)"},"&.minimapClosed":{transform:"rotate(135deg)"}},toggleBtnContainer:{zIndex:150,position:"absolute",top:0,right:0}},u=n(97282);function d(e){var t=e.overviewMap,n=(0,(0,i.useTranslation)().t)("mapctrl.overviewmap.toggle"),d=(0,o.useState)(!0),h=(0,r.A)(d,2),p=h[0],f=h[1],g=(0,o.useRef)(null);return(0,o.useEffect)((function(){if(s.vF.logTraceUseEffect("OVERVIEW-MAP-TOGGLE - mount"),g&&g.current){var e=g.current.closest("button");e&&(e.setAttribute("aria-label",n),e.addEventListener("click",(function(){var e=t.getCollapsed();f(!e);var n=t.getOverviewMap().getTargetElement();n&&(e?(n.style.width="40px",n.style.height="40px",n.style.margin="0px"):(n.style.width="150px",n.style.height="150px"))})))}}),[]),(0,u.jsx)(a.Tooltip,{title:n,children:(0,u.jsx)(l.A,{ref:g,sx:c.toggleBtnContainer,children:(0,u.jsx)(l.A,{component:"div",sx:c.toggleBtn,className:p?"minimapOpen":"minimapClosed",style:{margin:0,padding:0,height:"initial",minWidth:"initial"},children:(0,u.jsx)(a.ChevronLeftIcon,{})})})})}},94650:(e,t,n)=>{"use strict";n.d(t,{G:()=>D});var r=n(30538),o=n(17004),i=n(51659),a=n(43331),s=n(98201),l=n(12791),c=n(64874),u=n(55731),d=n(41320),h=n(66143),p=n(67760),f=n(56035),g=n(1841),m=n(8584),y=n(36203),v=n(1970),b=n(99423),w=n(41218),A=n(24363),x=n(17567),S=n(31752);const C=.75,E=.1;class k extends u.A{constructor(e){e=e||{},super({element:document.createElement("div"),render:e.render,target:e.target}),this.boundHandleRotationChanged_=this.handleRotationChanged_.bind(this),this.collapsed_=void 0===e.collapsed||e.collapsed,this.collapsible_=void 0===e.collapsible||e.collapsible,this.collapsible_||(this.collapsed_=!1),this.rotateWithView_=void 0!==e.rotateWithView&&e.rotateWithView,this.viewExtent_=void 0;const t=void 0!==e.className?e.className:"ol-overviewmap",n=void 0!==e.tipLabel?e.tipLabel:"Overview map",r=void 0!==e.collapseLabel?e.collapseLabel:"‹";"string"==typeof r?(this.collapseLabel_=document.createElement("span"),this.collapseLabel_.textContent=r):this.collapseLabel_=r;const o=void 0!==e.label?e.label:"›";"string"==typeof o?(this.label_=document.createElement("span"),this.label_.textContent=o):this.label_=o;const i=this.collapsible_&&!this.collapsed_?this.collapseLabel_:this.label_,a=document.createElement("button");a.setAttribute("type","button"),a.title=n,a.appendChild(i),a.addEventListener(d.A.CLICK,this.handleClick_.bind(this),!1),this.ovmapDiv_=document.createElement("div"),this.ovmapDiv_.className="ol-overviewmap-map",this.view_=e.view;const s=new h.A({view:e.view,controls:new c.A,interactions:new c.A});this.ovmap_=s,e.layers&&e.layers.forEach((function(e){s.addLayer(e)}));const l=document.createElement("div");l.className="ol-overviewmap-box",l.style.boxSizing="border-box",this.boxOverlay_=new m.A({position:[0,0],positioning:"center-center",element:l}),this.ovmap_.addOverlay(this.boxOverlay_);const u=t+" "+b.XI+" "+b.$N+(this.collapsed_&&this.collapsible_?" "+b.nT:"")+(this.collapsible_?"":" ol-uncollapsible"),p=this.element;p.className=u,p.appendChild(this.ovmapDiv_),p.appendChild(a);const f=this,g=this.boxOverlay_,y=this.boxOverlay_.getElement(),v=function(e){const t={clientX:(n=e).clientX,clientY:n.clientY};var n;const r=s.getEventCoordinateInternal(t);g.setPosition(r)},w=function(e){const t=s.getEventCoordinateInternal(e);f.getMap().getView().setCenterInternal(t),window.removeEventListener("mousemove",v),window.removeEventListener("mouseup",w)};y.addEventListener("mousedown",(function(){window.addEventListener("mousemove",v),window.addEventListener("mouseup",w)}))}setMap(e){const t=this.getMap();if(e!==t){if(t){const e=t.getView();e&&this.unbindView_(e),this.ovmap_.setTarget(null)}if(super.setMap(e),e){this.ovmap_.setTarget(this.ovmapDiv_),this.listenerKeys.push((0,A.KT)(e,g.A.PROPERTYCHANGE,this.handleMapPropertyChange_,this));const t=e.getView();t&&(this.bindView_(t),t.isDef()&&(this.ovmap_.updateSize(),this.resetExtent_())),this.ovmap_.isRendered()||this.updateBoxAfterOvmapIsRendered_()}}}handleMapPropertyChange_(e){if(e.key===f.A.VIEW){const t=e.oldValue;t&&this.unbindView_(t);const n=this.getMap().getView();this.bindView_(n)}else this.ovmap_.isRendered()||e.key!==f.A.TARGET&&e.key!==f.A.SIZE||this.ovmap_.updateSize()}bindView_(e){if(!this.view_){const t=new y.Ay({projection:e.getProjection()});this.ovmap_.setView(t)}e.addChangeListener(v.A.ROTATION,this.boundHandleRotationChanged_),this.handleRotationChanged_()}unbindView_(e){e.removeChangeListener(v.A.ROTATION,this.boundHandleRotationChanged_)}handleRotationChanged_(){this.rotateWithView_&&this.ovmap_.getView().setRotation(this.getMap().getView().getRotation())}validateExtent_(){const e=this.getMap(),t=this.ovmap_;if(!e.isRendered()||!t.isRendered())return;const n=e.getSize(),r=e.getView().calculateExtentInternal(n);if(this.viewExtent_&&(0,w.equals)(r,this.viewExtent_))return;this.viewExtent_=r;const o=t.getSize(),i=t.getView().calculateExtentInternal(o),a=t.getPixelFromCoordinateInternal((0,w.getTopLeft)(r)),s=t.getPixelFromCoordinateInternal((0,w.getBottomRight)(r)),l=Math.abs(a[0]-s[0]),c=Math.abs(a[1]-s[1]),u=o[0],d=o[1];lu*C||c>d*C?this.resetExtent_():(0,w.containsExtent)(i,r)||this.recenter_()}resetExtent_(){const e=this.getMap(),t=this.ovmap_,n=e.getSize(),r=e.getView().calculateExtentInternal(n),o=t.getView(),i=Math.log(7.5)/Math.LN2,a=1/(Math.pow(2,i/2)*E);(0,w.scaleFromCenter)(r,a),o.fitInternal((0,x.VY)(r))}recenter_(){const e=this.getMap(),t=this.ovmap_,n=e.getView();t.getView().setCenterInternal(n.getCenterInternal())}updateBox_(){const e=this.getMap(),t=this.ovmap_;if(!e.isRendered()||!t.isRendered())return;const n=e.getSize(),r=e.getView(),o=t.getView(),i=this.rotateWithView_?0:-r.getRotation(),a=this.boxOverlay_,s=this.boxOverlay_.getElement(),l=r.getCenterInternal(),c=r.getResolution(),u=o.getResolution(),d=n[0]*c/u,h=n[1]*c/u;if(a.setPosition(l),s){s.style.width=d+"px",s.style.height=h+"px";const e="rotate("+i+"rad)";s.style.transform=e}}updateBoxAfterOvmapIsRendered_(){this.ovmapPostrenderKey_||(this.ovmapPostrenderKey_=(0,A.Jz)(this.ovmap_,p.A.POSTRENDER,(function(e){delete this.ovmapPostrenderKey_,this.updateBox_()}),this))}handleClick_(e){e.preventDefault(),this.handleToggle_()}handleToggle_(){this.element.classList.toggle(b.nT),this.collapsed_?(0,S.fo)(this.collapseLabel_,this.label_):(0,S.fo)(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_;const e=this.ovmap_;if(!this.collapsed_){if(e.isRendered())return this.viewExtent_=void 0,void e.render();e.updateSize(),this.resetExtent_(),this.updateBoxAfterOvmapIsRendered_()}}getCollapsible(){return this.collapsible_}setCollapsible(e){this.collapsible_!==e&&(this.collapsible_=e,this.element.classList.toggle("ol-uncollapsible"),!e&&this.collapsed_&&this.handleToggle_())}setCollapsed(e){this.collapsible_&&this.collapsed_!==e&&this.handleToggle_()}getCollapsed(){return this.collapsed_}getRotateWithView(){return this.rotateWithView_}setRotateWithView(e){this.rotateWithView_!==e&&(this.rotateWithView_=e,0!==this.getMap().getView().getRotation()&&(this.rotateWithView_?this.handleRotationChanged_():this.ovmap_.getView().setRotation(0),this.viewExtent_=void 0,this.validateExtent_(),this.updateBox_()))}getOverviewMap(){return this.ovmap_}render(e){this.validateExtent_(),this.updateBox_()}}const T=k;var _=n(34630),O=n(26834),P=n(10814),I=n(76467),M=n(5182),L=n(12923),R=n(66700),j=n(66540),F=n(97282);function D(e){R.vF.logTraceRender("components/overview-map/overview-map");var t=e.olMap,n=(0,P.Jh)(),c=(0,M.kg)(),u=(0,M.Bm)(),d=(0,M.HA)(),h=(0,I.t)(),p=(0,I.MF)();return(0,r.useEffect)((function(){R.vF.logTraceUseEffect("OVERVIEW-MAP - zoom level changed");var e=t.getControls().getArray().filter((function(e){return e instanceof T}))[0];e&&(u{"use strict";n.d(t,{F:()=>y});var r=n(74780),o=n(1839),i=n(30538),a=n(43331),s=n(72666),l=n(93546),c=function(e){return{scaleControl:{display:"none"},scaleContainer:{display:"flex",backgroundColor:"transparent",border:"none",height:"100%",":hover":{backgroundColor:"transparent",color:e.palette.geoViewColor.white},"&.interaction-static":{padding:"5px",backdropFilter:"blur(5px)"}},scaleExpandedContainer:{display:"flex",flexDirection:"column",justifyContent:"center",height:"100%",gap:e.spacing(5)},scaleExpandedCheckmarkText:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",height:"18px",maxHeight:"18px"},scaleText:{fontSize:e.palette.geoViewFontSize.default,color:e.palette.geoViewColor.bgColor.light[800],whiteSpace:"nowrap",borderBottom:"2px solid ".concat(e.palette.geoViewColor.primary.light[300]),textTransform:"lowercase",position:"relative",display:"inline-block","&.interaction-static":{fontSize:e.palette.geoViewFontSize.md,fontWeight:"bold",borderBottom:"2px solid","&.hasScaleLine::before, &.hasScaleLine::after":{backgroundColor:"".concat(e.palette.geoViewColor.grey.dark[900]," !important"),width:"2px !important"}},"&.hasScaleLine::before, &.hasScaleLine::after":{content:'""',position:"absolute",bottom:"-1px",width:"1px",height:"8px",backgroundColor:e.palette.geoViewColor.bgColor.light[800]},"&.hasScaleLine::before":{left:"0px"},"&.hasScaleLine::after":{right:"0px"}},scaleCheckmark:{paddingRight:5,color:e.palette.geoViewColor.bgColor.light[800]}}},u=n(5182),d=n(22264),h=n(10814),p=n(66700),f=n(97282);function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t{"use strict";n.d(t,{V:()=>r,e:()=>o});var r=function(e){var t="light"===e.palette.mode?e.palette.geoViewColor.primary.dark[300]:e.palette.geoViewColor.primary.light[300];return{trap:{display:"flex",justifyContent:"center",alignItems:"center",position:"absolute",top:e.spacing(0),left:e.spacing(0),width:"100%",height:"100%",zIndex:e.zIndex.focusDialog,overflow:"hidden"},exitFocus:{border:"unset"},enableFocus:{border:"5px solid ".concat(t,"\n }")}}},o=function(e){return{all:{height:"100%",width:"100%","& .layer-icon":{padding:3,borderRadius:0,border:"1px solid",borderColor:e.palette.geoViewColor.grey.dark[100],boxShadow:2,background:e.palette.geoViewColor.white,objectFit:"scale-down",width:"35px",height:"35px",marginRight:"10px"},"& a[href]":{color:e.palette.geoViewColor.primary.main,"*:hover":{color:e.palette.geoViewColor.primary.dark[300]}},"& *::-webkit-scrollbar":{width:"8px",height:"8px"},"& *::-webkit-scrollbar-track":{background:e.palette.geoViewColor.bgColor.darken(.5,.5),borderRadius:"5px"},"& *::-webkit-scrollbar-thumb":{background:e.palette.geoViewColor.bgColor.darken(.5),borderRadius:"5px"},".bordered":{border:"1px solid ".concat(e.palette.geoViewColor.bgColor.darken(.5,.5)),boxShadow:"0px 12px 9px -13px ".concat(e.palette.geoViewColor.bgColor.darken(.2,.5))},".bordered-primary":{border:"1px solid ".concat(e.palette.geoViewColor.primary.darken(.1,.9)),boxShadow:"0px 12px 9px -13px ".concat(e.palette.geoViewColor.bgColor.dark[200])}},shell:{display:"flex",flexDirection:"column",top:e.spacing(0),right:e.spacing(0),left:e.spacing(0),bottom:e.spacing(0),overflow:"hidden",zIndex:0,height:"100%"},mapShellContainer:{display:"flex",flexDirection:"row",minHeight:"100%",width:"100%",position:"relative",alignItems:"stretch"},mapContainer:{display:"flex",flexDirection:"column",minHeight:"100%",width:"100%",position:"relative",alignItems:"stretch"},skip:{position:"absolute",left:-1e3,height:"1px",width:"1px",textAlign:"left",overflow:"hidden",backgroundColor:e.palette.geoViewColor.white,zIndex:e.zIndex.tooltip,"&:active, &:focus":{left:e.spacing(0),zIndex:e.zIndex.tooltip,width:"auto",height:"auto",overflow:"visible"}}}}},12055:(e,t,n)=>{"use strict";n.d(t,{S:()=>m});var r=n(1839),o=n(30538),i=n(43331),a=n(72666),s=n(83232),l=n(93546),c=n(27127),u=n(33),d=n(81556),h=n(76467),p=n(22264),f=n(66700),g=n(97282);function m(e){f.vF.logTraceRender("containers/focus-trap/focus-trap");var t=e.mapId,n=e.focusTrapId,m=(0,i.useTranslation)().t,y=(0,a.A)(),v=(0,u.V)(y),b=(0,s.A)(y.breakpoints.down("md")),w=(0,o.useState)(!1),A=(0,r.A)(w,2),x=A[0],S=A[1],C=(0,o.useRef)(),E=(0,h.dD)().setCrosshairActive,k=(0,p.A6)().setActiveTrapGeoView,T=(0,h.sd)(),_=T.querySelector('[id^="mapTargetElement-"]'),O=(0,o.useRef)(_);O.current=_;var P=(0,o.useRef)();function I(e){var t;t=e,O.current===document.activeElement&&"Space"===t.code&&t.preventDefault()}function M(){k(!1),T.classList.remove("map-focus-trap"),T.querySelector(".geoview-shell").removeEventListener("keydown",L),document.removeEventListener("keydown",I),setTimeout((function(){var e;return null===(e=document.getElementById("toplink-".concat(n)))||void 0===e?void 0:e.focus()}),0),E(!1)}void 0!==O.current&&(P.current=O.current);var L=function(e){d.xb.includes(e.code)||(_.style.border=v.exitFocus.border),"KeyQ"===e.code&&e.ctrlKey&&M()};function R(e){var r=e.target.id.split("-")[0];("Tab"===e.code&&!e.shiftKey&&"toplink"===r||"Tab"===e.code&&e.shiftKey&&"bottomlink"===r)&&(e.preventDefault(),e.stopPropagation(),C.current="toplink"===r?"bottomlink-".concat(n):"toplink-".concat(n),S(!0),document.addEventListener("keydown",I),T.querySelector(".geoview-shell").addEventListener("mousemove",(function(){S(!1),M(),document.getElementById("mapTargetElement-".concat(t)).style.border=v.exitFocus.border}),{once:!0}))}return(0,o.useEffect)((function(){var e,t;return null===(e=document.getElementById("bottomlink-".concat(n)))||void 0===e||e.addEventListener("keydown",R),null===(t=document.getElementById("toplink-".concat(n)))||void 0===t||t.addEventListener("keydown",R),function(){var e,t;null===(e=document.getElementById("bottomlink-".concat(n)))||void 0===e||e.removeEventListener("keydown",R),null===(t=document.getElementById("toplink-".concat(n)))||void 0===t||t.removeEventListener("keydown",R),document.removeEventListener("keydown",I)}}),[]),(0,g.jsx)(l.Modal,{container:document.getElementById(n),modalId:n,open:x,"aria-labelledby":"wcag-dialog-title","aria-describedby":"wcag-dialog-description",fullScreen:b,sx:v.trap,titleId:"wcag-dialog-title",title:m("keyboardnav.focusdialog.title"),contentTextId:"wcag-dialog-description",contentModal:(0,g.jsx)(c.S,{htmlContent:m("keyboardnav.focusdialog.main")}),actions:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)(l.Button,{id:"enable-focus",tooltip:m("keyboardnav.focusdialog.button.enable"),tooltipPlacement:"top-end",autoFocus:!0,onClick:function(){var e;S(!1),e=T.querySelector(".geoview-shell"),k(!0),e.classList.add("map-focus-trap"),e.addEventListener("keydown",L),setTimeout((function(){var e;return null===(e=document.getElementById("mapTargetElement-".concat(t)))||void 0===e?void 0:e.focus()}),0),E(!0),document.getElementById("mapTargetElement-".concat(t)).style.border=v.enableFocus.border},type:"text",sx:{width:"initial",textTransform:"none"},children:m("keyboardnav.focusdialog.button.enable")}),(0,g.jsx)(l.Button,{id:"skip-focus",tooltip:m("keyboardnav.focusdialog.button.skip"),tooltipPlacement:"top-end",onClick:function(){S(!1),setTimeout((function(){var e;return null===(e=document.getElementById(C.current))||void 0===e?void 0:e.focus()}),0)},type:"text",sx:{width:"initial",textTransform:"none"},children:m("keyboardnav.focusdialog.button.skip")})]})})}},27127:(e,t,n)=>{"use strict";n.d(t,{S:()=>d});var r=n(74780),o=n(74887),i=n(31082);i.domToReact,i.htmlToDOM,i.attributesToProps,i.Element;const a=i;var s=n(66540),l=n(97282);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t{"use strict";n.d(t,{$:()=>R});var r=n(74780),o=n(1839),i=n(30538),a=n(43331),s=n(72666),l=n(82758),c=n(97794),u=n(52604),d=n(12190),h=n(88375),p=n(82686),f=n(93546),g=n(33),m=n(5182),y=n(76467),v=n(22264),b=n(42057),w=n(55997),A=n(66630),x=n(66700),S=n(43123),C=n(35001),E=n(97282);function k(){var e,t,n,r,l;x.vF.logTraceRender("components/data-table/data-table-modal");var c=(0,a.useTranslation)().t,u=(0,s.A)(),d=(0,A.S)(u),h=(0,i.useState)(!0),p=(0,o.A)(h,2),g=p[0],m=p[1],y=(0,v.A6)().closeModal,b=(0,v.NP)().activeElementId,k=(0,w.u1)(),T=(0,S.Xh)(),_=(0,C.bc)(T),O=(0,i.useMemo)((function(){return x.vF.logTraceUseMemo("DATA-TABLE-MODAL - layer",_,k),null==_?void 0:_.find((function(e){return e.layerPath===k}))}),[_,k]),P=(0,i.useCallback)((function(e){return x.vF.logTraceUseCallback("DATA-TABLE-MODAL - getCellValue"),(0,E.jsx)(f.Box,{component:"div",sx:d.tableCell,children:e})}),[d.tableCell]),I=(0,i.useCallback)((function(e){return x.vF.logTraceUseCallback("DATA-TABLE-MODAL - getTableHeader"),(0,E.jsx)(f.Box,{component:"span",sx:{whiteSpace:"nowrap"},children:e})}),[]),M=(0,i.useMemo)((function(){var e;if(x.vF.logTraceUseMemo("DATA-TABLE-MODAL - columns",null==O?void 0:O.features),null==O||!O.fieldInfos)return[];var t=Object.entries(null!==(e=null==O?void 0:O.fieldInfos)&&void 0!==e?e:{}),n=[];return t.forEach((function(e){var t,r=(0,o.A)(e,2),a=r[0],s=r[1];n.push({id:a,accessorFn:function(e){var t,n,r,o;return(0,i.isValidElement)(e[a])?e[a]:("string"==typeof(null===(t=e[a])||void 0===t?void 0:t.value)||"number"==typeof(null===(n=e[a])||void 0===n?void 0:n.value))&&null!==(r=null===(o=e[a])||void 0===o?void 0:o.value)&&void 0!==r?r:""},header:null!==(t=null==s?void 0:s.alias)&&void 0!==t?t:"",Cell:function(e){var t=e.cell;return P(t.getValue())},Header:function(e){var t=e.column;return I(t.columnDef.header)},maxSize:120})})),n}),[null==O?void 0:O.fieldInfos]),L=(0,i.useMemo)((function(){var e,t;return x.vF.logTraceUseMemo("DATA-TABLE-MODAL - rows",null==O?void 0:O.fieldInfos),null!==(e=null==O||null===(t=O.features)||void 0===t?void 0:t.map((function(e){return e.fieldInfo})))&&void 0!==e?e:[]}),[null==O?void 0:O.features,null==O?void 0:O.fieldInfos]);return(0,i.useEffect)((function(){var e,t;x.vF.logTraceUseEffect("DATA-TABLE-MODAL - isLoading",g,k);var n=setTimeout((function(){m(!1)}),(null!==(e=null==O||null===(t=O.features)||void 0===t?void 0:t.length)&&void 0!==e?e:0)>100?1e3:0);return function(){return clearTimeout(n)}}),[g,k]),(0,E.jsxs)(f.Dialog,{open:"layerDataTable"===b,onClose:y,maxWidth:"xl",children:[(0,E.jsx)(f.DialogTitle,{children:"".concat(c("legend.tableDetails")," ").concat(null!==(e=null==O?void 0:O.layerName)&&void 0!==e?e:k)}),(0,E.jsxs)(f.DialogContent,{sx:{overflow:"hidden"},children:[g&&(0,E.jsx)(f.Box,{sx:{minHeight:"300px",minWidth:"450px",position:"relative"},children:(0,E.jsx)(f.CircularProgress,{isLoaded:!g,sx:{backgroundColor:"inherit"}})}),!g&&(0,E.jsx)(f.Table,{columns:M,data:L,enableColumnActions:!1,enablePagination:(null!==(t=null==O||null===(n=O.features)||void 0===n?void 0:n.length)&&void 0!==t?t:0)>50,enableBottomToolbar:(null!==(r=null==O||null===(l=O.features)||void 0===l?void 0:l.length)&&void 0!==r?r:0)>50,initialState:{density:"compact",pagination:{pageSize:50,pageIndex:0}},muiPaginationProps:{rowsPerPageOptions:[50,100]},muiTableContainerProps:{sx:{maxHeight:"60vh"}},enableStickyHeader:!0,enableSorting:!0,positionToolbarAlertBanner:"none",enableGlobalFilter:!1,enableColumnFilters:!1,enableDensityToggle:!1,enableFilters:!1,enableFullScreenToggle:!1,enableHiding:!1,enableTopToolbar:!1})]}),(0,E.jsx)(f.DialogActions,{children:(0,E.jsx)(f.Button,{fullWidth:!0,variant:"contained",className:"buttonOutlineFilled",onClick:y,type:"text",autoFocus:!0,children:c("general.close")})})]})}var T=n(48434),_=n(12200);function O(){var e;x.vF.logTraceRender("components/details/feature-detail-modal");var t=(0,a.useTranslation)().t,n=(0,s.A)(),r=(0,T.S)(n),o=(0,v.A6)().closeModal,l=(0,v.NP)().activeElementId,c=(0,S.j3)(),u=(0,i.useMemo)((function(){var e;return x.vF.logTraceUseMemo("DETAILS PANEL - Feature Detail Modal - featureInfoList"),Object.keys(null!==(e=null==c?void 0:c.fieldInfo)&&void 0!==e?e:{}).map((function(e){return{fieldKey:c.fieldInfo[e].fieldKey,value:c.fieldInfo[e].value,dataType:c.fieldInfo[e].dataType,alias:c.fieldInfo[e].alias?c.fieldInfo[e].alias:e,domain:null}}))}),[c]);return(0,E.jsxs)(f.Dialog,{open:"featureDetailDataTable"===l&&!!c,onClose:o,maxWidth:"lg",disablePortal:!0,sx:r.featureDetailModal,children:[(0,E.jsx)(f.DialogTitle,{children:t("details.featureDetailModalTitle")}),(0,E.jsxs)(f.DialogContent,{children:[(0,E.jsxs)(f.Box,{display:"flex",flexDirection:"row",alignItems:"center",pb:10,children:[(0,E.jsx)(f.Box,{component:"img",alt:null!==(e=null==c?void 0:c.nameField)&&void 0!==e?e:"",src:c.featureIcon.toDataURL().toString(),className:"layer-icon"}),(0,E.jsx)(f.Typography,{sx:{display:"inline-block"},component:"div",children:c.nameField})]}),(0,E.jsx)(f.List,{sx:r.featureDetailListContainer,children:(0,E.jsx)(_.P,{featureInfoList:u})})]}),(0,E.jsx)(f.DialogActions,{children:(0,E.jsx)(f.Button,{fullWidth:!0,variant:"contained",className:"buttonOutlineFilled",onClick:o,type:"text",size:"small",autoFocus:!0,children:t("general.close")})})]})}var P=n(10814),I=n(12055);function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t{"use strict";n.d(t,{O7:()=>b,oy:()=>A,Jh:()=>w});var r=n(51644);const o=e=>(t,n,r)=>{const o=r.subscribe;r.subscribe=(e,t,n)=>{let i=e;if(t){const o=(null==n?void 0:n.equalityFn)||Object.is;let a=e(r.getState());i=n=>{const r=e(n);if(!o(a,r)){const e=a;t(a=r,e)}},(null==n?void 0:n.fireImmediately)&&t(a,a)}return o(i)};return e(t,n,r)};var i=n(80363),a=n.n(i),s=n(5120),l=n(76467),c=n(56619),u=n(55997),d=n(5182),h=n(43123),p=n(42253),f=n(95541),g=n(7590),m=n(22264),y=n(66700),v=n(55231),b=o((function(e,t){return y.vF.logTraceCore("Initializing store core states..."),{mapConfig:void 0,setMapConfig:function(n){var r,o,i;y.vF.logDebug("Sending the map config to the store...",n.mapId);for(var s=a()(n),l=0;l<((null===(c=s.map)||void 0===c||null===(c=c.listOfGeoviewLayerConfig)||void 0===c?void 0:c.length)||0);l++){var c,u=(0,v.si)(s.map.listOfGeoviewLayerConfig[l]);s.map.listOfGeoviewLayerConfig[l]=u}e({mapConfig:s,mapId:n.mapId}),t().appState.setDefaultConfigValues(n),t().mapState.setDefaultConfigValues(n),t().uiState.setDefaultConfigValues(n),null!==(r=n.footerBar)&&void 0!==r&&r.tabs.core.includes("time-slider")&&e({timeSliderState:(0,p.mU)(e,t)}),null!==(o=n.footerBar)&&void 0!==o&&o.tabs.core.includes("geochart")&&e({geochartState:(0,f.Dj)(e,t)}),null!==(i=n.corePackages)&&void 0!==i&&i.includes("swiper")&&e({swiperState:(0,g.eC)(e,t)})},appState:(0,l.$g)(e,t),detailsState:(0,c.yw)(e,t),dataTableState:(0,h.Mo)(e,t),layerState:(0,u.tK)(e,t),mapState:(0,d.aM)(e,t),uiState:(0,m.Oz)(e,t)}})),w=((0,r.vt)()(b),function(){return(0,r.Pj)((0,s.Ni)(),(function(e){return e.mapId}))}),A=function(){return(0,r.Pj)((0,s.Ni)(),(function(e){return e.mapConfig}))}},92687:(e,t,n)=>{"use strict";n.d(t,{Jh:()=>r.Jh,U6:()=>o.U6});var r=n(10814),o=(n(76467),n(43123),n(56619),n(95541),n(55997),n(5182));n(42253),n(22264),n(5120)},76467:(e,t,n)=>{"use strict";n.d(t,{$g:()=>h,D4:()=>p,DR:()=>w,MF:()=>m,_V:()=>v,dD:()=>C,e_:()=>f,iO:()=>S,kv:()=>y,lk:()=>x,sd:()=>b,t:()=>g,v9:()=>A});var r=n(32031),o=n(74780),i=n(51644),a=n(80309),s=n(5120),l=n(66700),c=n(42982);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";n.d(t,{D5:()=>d,Mo:()=>c,Xh:()=>u,_M:()=>h,eQ:()=>g,j3:()=>f,x9:()=>p});var r=n(74780),o=n(51644),i=n(46397),a=n(5120);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{"use strict";n.d(t,{Jr:()=>p,MQ:()=>f,SK:()=>h,aU:()=>u,yU:()=>d,yw:()=>c});var r=n(32031),o=n(74780),i=n(51644),a=n(5120);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{"use strict";n.d(t,{Dj:()=>l,N3:()=>h,bS:()=>u,eq:()=>d,if:()=>c});var r=n(74780),o=n(51644),i=n(5120);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t{"use strict";n.d(t,{$T:()=>y,Uk:()=>b,Yo:()=>f,Zt:()=>p,tK:()=>h,u1:()=>g,wU:()=>v,y5:()=>m});var r=n(32031),o=n(74780),i=n(51644),a=n(5120),s=n(81556),l=n(12923),c=n(57029);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t{"use strict";n.d(t,{Bm:()=>M,C0:()=>y,GT:()=>v,HA:()=>T,JQ:()=>C,KE:()=>k,Mk:()=>A,Nt:()=>w,Rs:()=>m,U6:()=>L,_I:()=>S,a7:()=>f,aM:()=>h,ej:()=>x,gx:()=>O,ht:()=>P,kI:()=>b,kg:()=>E,re:()=>p,uE:()=>_,wE:()=>I,yC:()=>g});var r=n(32031),o=n(74780),i=n(51644),a=n(5120),s=n(91384),l=n(12923),c=n(79378);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t-1||!1,overviewMap:n.components.indexOf("overview-map")>-1||!1,overviewMapHideZoom:void 0!==n.overviewMap?n.overviewMap.hideOnZoom:0,rotation:n.map.viewSettings.rotation||0,zoom:null!==(o=n.map.viewSettings.initialView)&&void 0!==o&&o.zoomAndCenter?n.map.viewSettings.initialView.zoomAndCenter[0]:3.5})})},actions:{createBaseMapFromOptions:function(){return l.d.resetBasemap(t().mapId)},getPixelFromCoordinate:function(e){return l.d.getPixelFromCoordinate(t().mapId,e)},getIndexFromOrderedLayerInfo:function(e){return l.d.getMapIndexFromOrderedLayerInfo(t().mapId,e)},getLegendCollapsedFromOrderedLayerInfo:function(e){return l.d.getMapLegendCollapsedFromOrderedLayerInfo(t().mapId,e)},getVisibilityFromOrderedLayerInfo:function(e){return l.d.getMapVisibilityFromOrderedLayerInfo(t().mapId,e)},showClickMarker:function(e){l.d.clickMarkerIconShow(t().mapId,e)},hideClickMarker:function(){l.d.clickMarkerIconHide(t().mapId)},highlightBBox:function(e,n){l.d.highlightBBox(t().mapId,e,n)},addHighlightedFeature:function(e){l.d.addHighlightedFeature(t().mapId,e)},removeHighlightedFeature:function(e){l.d.removeHighlightedFeature(t().mapId,e)},reorderLayer:function(e,n){l.d.reorderLayer(t().mapId,e,n)},setLegendCollapsed:function(e,n){t().mapState.setterActions.setLegendCollapsed(e,n)},setOrToggleLayerVisibility:function(e,n){l.d.setOrToggleMapLayerVisibility(t().mapId,e,n)},setMapKeyboardPanInteractions:function(e){l.d.setMapKeyboardPanInteractions(t().mapId,e)},setZoom:function(e,n){l.d.zoom(t().mapId,e,n)},setInteraction:function(e){l.d.setInteraction(t().mapId,e)},setRotation:function(e){l.d.rotate(t().mapId,e)},zoomToExtent:function(e,n){return l.d.zoomToExtent(t().mapId,e,n)},zoomToInitialExtent:function(){return l.d.zoomToInitialExtent(t().mapId)},zoomToGeoLocatorLocation:function(e,n){return l.d.zoomToGeoLocatorLocation(t().mapId,e,n)},zoomToMyLocation:function(e){return l.d.zoomToMyLocation(t().mapId,e)},transformPoints:function(e,n){return s.M.transformPoints(e,"EPSG:".concat(t().mapState.currentProjection),"EPSG:".concat(n))},setClickCoordinates:function(e){return l.d.setClickCoordinates(t().mapId,e)},setFixNorth:function(e){t().mapState.setterActions.setFixNorth(e)},setOverlayClickMarkerRef:function(e){var n=t().mapState.overlayClickMarker;void 0!==n&&n.setElement(e)},setOverlayNorthMarkerRef:function(e){var n=t().mapState.overlayNorthMarker;void 0!==n&&n.setElement(e)}},setterActions:{setMapChangeSize:function(n,r){e({mapState:d(d({},t().mapState),{},{size:n,scale:r})})},setMapLoaded:function(n){e({mapState:d(d({},t().mapState),{},{mapLoaded:n})})},setAttribution:function(n){e({mapState:d(d({},t().mapState),{},{attribution:n})})},setInteraction:function(n){e({mapState:d(d({},t().mapState),{},{interaction:n})})},setZoom:function(n){e({mapState:d(d({},t().mapState),{},{zoom:n})})},setRotation:function(n){e({mapState:d(d({},t().mapState),{},{rotation:n})})},setOverlayClickMarker:function(n){e({mapState:d(d({},t().mapState),{},{overlayClickMarker:n})})},setOverlayNorthMarker:function(n){e({mapState:d(d({},t().mapState),{},{overlayNorthMarker:n})})},setProjection:function(n){e({mapState:d(d({},t().mapState),{},{currentProjection:n})})},setMapMoveEnd:function(n,r,o,i,a){e({mapState:d(d({},t().mapState),{},{centerCoordinates:n,northArrowElement:{degreeRotation:o,isNorthVisible:i},scale:a})}),t().mapState.setterActions.setClickMarker(void 0),t().appState.isCrosshairsActive&&t().mapState.setterActions.setPointerPosition(r)},setPointerPosition:function(n){e({mapState:d(d({},t().mapState),{},{pointerPosition:n})})},setClickCoordinates:function(n){e({mapState:d(d({},t().mapState),{},{clickCoordinates:n})})},setFixNorth:function(n){e({mapState:d(d({},t().mapState),{},{fixNorth:n})})},setHighlightedFeatures:function(n){e({mapState:d(d({},t().mapState),{},{highlightedFeatures:n})})},setVisibleLayers:function(n){e({mapState:d(d({},t().mapState),{},{visibleLayers:n})})},setOrderedLayerInfo:function(n){e({mapState:d(d({},t().mapState),{},{orderedLayerInfo:(0,r.A)(n)})})},setHoverable:function(e,n){var r=t().mapState.orderedLayerInfo,o=r.find((function(t){return t.layerPath===e}));o&&(o.hoverable=n,t().mapState.setterActions.setOrderedLayerInfo(r))},setLegendCollapsed:function(e,n){var r=t().mapState.orderedLayerInfo,o=r.find((function(t){return t.layerPath===e}));if(o){var i=n||!o.legendCollapsed;o.legendCollapsed=i,t().mapState.setterActions.setOrderedLayerInfo(r)}},setQueryable:function(e,n){var r=t().mapState.orderedLayerInfo,o=r.find((function(t){return t.layerPath===e}));o&&(o.queryable=n,n&&(o.hoverable=n),t().mapState.setterActions.setOrderedLayerInfo(r))},setClickMarker:function(n){e({mapState:d(d({},t().mapState),{},{clickMarker:n?{lnglat:n}:void 0})})},setHoverFeatureInfo:function(n){e({mapState:d(d({},t().mapState),{},{hoverFeatureInfo:n})})}}}}var p=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.attribution}))},f=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.centerCoordinates}))},g=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.clickMarker}))},m=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.clickCoordinates}))},y=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.fixNorth}))},v=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.interaction}))},b=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.hoverFeatureInfo}))},w=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.mapLoaded}))},A=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.northArrow}))},x=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.northArrowElement}))},S=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.orderedLayerInfo}))},C=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.overviewMap}))},E=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.overviewMapHideZoom}))},k=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.pointerPosition}))},T=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.currentProjection}))},_=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.rotation}))},O=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.scale}))},P=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.size}))},I=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.visibleLayers}))},M=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.zoom}))},L=function(){return(0,i.Pj)((0,a.Ni)(),(function(e){return e.mapState.actions}))}},7590:(e,t,n)=>{"use strict";n.d(t,{eC:()=>c,lT:()=>u});var r=n(74780),o=n(51644),i=n(5120),a=n(34536);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{"use strict";n.d(t,{Gg:()=>d,ky:()=>u,mU:()=>c});var r=n(74780),o=n(51644),i=n(5120),a=n(10223);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t{"use strict";n.d(t,{A6:()=>b,NP:()=>c,OZ:()=>p,Oz:()=>l,PK:()=>v,XP:()=>h,bd:()=>d,dY:()=>m,ex:()=>f,g_:()=>u,m:()=>y,r4:()=>g});var r=n(74780),o=n(51644),i=n(5120);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t{"use strict";n.d(t,{dE:()=>I,Ic:()=>M,gU:()=>L,e4:()=>R,Ni:()=>j});var r=n(74780),o=n(30538),i=n(69249),a=n(51644),s=n(17004);var l=n(80309),c=n(36149),u=n(57029),d=n(12923),h=n(10223),p=n(59387),f=n(46397),g=n(34536),m=new l.K,y=new c.h,v=new u.K,b=new d.d,w=new f.F,A=new h.t,x=new p.U,S=new g.Z;var C=n(10814),E=n(49686),k=n(66700),T=n(42982);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t{const n=(0,o.useRef)(r.count);return(0,o.useEffect)((()=>{n.current+=1,n.current===r.count+1&&(n.current-=1,t.setState(e))})),null};if(i.displayName=`((${e})) devtool`,"undefined"==typeof document)return;if(!n){let t=document.getElementById(`simple-zustand-devtools-${e}`);t||(t=document.createElement("div"),t.id=`simple-zustand-devtools-${e}`),document.body.appendChild(t),n=t}const a=(0,s.H)(n),l=e=>{e&&(a.render(o.createElement(i,Object.assign({},e))),r.count+=1)};l(t.getState()),t.subscribe(l)}("getViewStore-".concat(e.mapId),c)}},M=function(e){return P.getState().stores[null!=e?e:"unknown"]},L=function(e){return(0,T.whenThisThen)((function(){return M(e)}))},R=function(e){var t,n,r,o;t=M(e),m.destroy(),y.destroy(),v.destroy(),b.destroy(),w.destroy(),null!==(n=t.getState().mapConfig.footerBar)&&void 0!==n&&n.tabs.core.includes("time-slider")&&A.destroy(),null!==(r=t.getState().mapConfig.footerBar)&&void 0!==r&&r.tabs.core.includes("geochart")&&x.destroy(),null!==(o=t.getState().mapConfig.corePackages)&&void 0!==o&&o.includes("swiper")&&S.destroy(),delete P.getState().stores[e]},j=function(){var e=(0,o.useContext)(E.w).mapId;return P.getState().stores[null!=e?e:"unknown"]}},27929:(e,t,n)=>{"use strict";var r=n(51659),o=n(43331);const i=JSON.parse('{"general":{"add":"Add","close":"Close","exit":"Exit","layers":"Layers","name":"Name","open":"Open","remove":"Remove","view":"View","openFullscreen":"Open in fullscreen","closeFullscreen":"Close fullscreen","openGuide":"Open guide","guide":"Guide","fullScreen":"Full screen"},"mapnav":{"arianavbar":"Vertical button group for map navigation","fullscreen":"Full screen","home":"Reset to initial view","zoomIn":"Zoom in","zoomOut":"Zoom out","coordinates":"Toggle coordinates format","scale":"Toggle between scale and resolution","location":"Zoom to my location"},"mapctrl":{"rotation":{"resetRotation":"Reset Rotation","fixedNorth":"Fix North"},"mouseposition":{"east":"E","west":"W","north":"N","south":"S"},"overviewmap":{"toggle":"Toggle overview map","error":"Error loading overview map"},"attribution":{"defaultnrcan":"© His Majesty the King in Right of Canada, as represented by the Minister of Natural Resources","tooltip":"Attribution"},"crosshair":"Use Arrows, + and - keys to navigate the map, Enter to select and Shift+Arrow Up or Down to modify the pan value."},"appbar":{"export":"Export","notifications":"Notification","no_notifications_available":"No notifications available","layers":"Layers","share":"Share","version":"About GeoView","repoLink":"Github","removeAllNotifications":"Remove all"},"legend":{"title":"Legend","removeLayer":"Remove layer","zoomTo":"Zoom to layer","addLayer":"Add layer","sortLayers":"Sort layers","sort":"Sort","layerError":"Layer has an error...","layerLoading":"Layer is loading...","tableDetails":"Table details","refreshLayer":"Refresh layer","highlightLayer":"Highlight layer","subLayersCount":"{count} sublayers","itemsCount":"{count} of {totalCount} classes","legendInstructions":"Legend Instructions","noLayersAdded":"No layers added to the map","noLayersAddedDescription":"Add layers to the map by clicking on the \'Layers\' button and adding the layers you want to display."},"layers":{"title":"Layers","subLayersList":"Sublayers list","finish":"Finish","continue":"Continue","back":"Back","or":"or","dropzone":"Drop here","upload":"Choose a file","drop":"Drop the file to upload","url":"Enter URL or Geocore id","layer":"Layer","stepOne":"Upload a file or enter URL/Geocore id","stepTwo":"Select format","stepThree":"Configure layer","stepFour":"Enter name","service":"Service type","name":"Name","layerSelect":"Select layer(s)","errorEmpty":"cannot be empty","errorNone":"No file or source added","errorFile":"Only geoJSON, CSV and GeoPackage files can be used","errorServer":"source is not valid","errorNotLoaded":"An error occured when loading the layer","errorProj":"does not support current map projection","only":"only","opacity":"Opacity","opacityMax":"Maximum from parent","reloadLayer":"Reload layer","visibilityIsAlways":"Visibility is always enabled","toggleVisibility":"Toggle visibility","toggleCollapse":"Toggle collapse","querying":"Querying","layerAdded":"Layer __param__ added","instructionsNoLayersTitle":"No layers visible","instructionsNoLayersBody":"Add visible layers on the map."},"details":{"title":"Details","zoomTo":"Zoom to feature","select":"Highlight feature on map","externalLink":"External Link","feature":"feature","clickOnMap":"Click on map","nextFeatureBtn":"Next feature","previousFeatureBtn":"Previous feature","clearAllfeatures":"Clear all feature highlights","keepFeatureSelected":"Keep feature highlighted","featureDetailsTitle":"Feature {count} of {total}","featureDetailModalTitle":"Feature Detail"},"lightbox":{"next":"Next","previous":"Previous","close":"Close","download":"Download"},"keyboardnav":{"start":"Skip after map element","end":"Skip before map element","focusdialog":{"title":"Keyboard navigation","main":"If enable, we will keep focus locked on the viewer.\\nTo exit, press CTRL + Q","button":{"enable":"Enable","skip":"Skip"}}},"validation":{"layer":{"loadfailed":"Layer [__param__] failed to load on map __param__.","notfound":"The sublayer __param__ of the layer __param__ does not exist on the server","createtwice":"Can not execute the createGeoViewRasterLayers method twice for the layer __param__ on map __param__","usedtwice":"Duplicate use of layer identifier [__param__] on map __param__","multipleUUID":"GeoCore layers may only have one GeoCore id per layer"},"schema":{"notFound":"A schema error was found, check the console to see what is wrong.","wrongPath":"Cannot find schema ([__param__])"},"changeDisplayLanguageLayers":"Layers can not be relaoded because the configuration does not support this language","changeDisplayLanguage":"Only \'en\' and \'fr\' are supported","changeDisplayTheme":"Theme unsupported","changeDisplayProjection":"Projection unsupported","invalidConfig":"Invalid JSON config, default configuration applied."},"exportModal":{"title":"Export map as PNG","cancelBtn":"Cancel","exportBtn":"Export","exportTitle":"Title","approx":"approx"},"geolocator":{"title":"Geolocator","search":"Search","errorMessage":"No matches found for","province":"Province","category":"Category","clearFilters":"Clear filters","noFilter":"No filter"},"hovertooltip":{"alticon":"Selected feature icon"},"dataTable":{"title":"Data Table","icon":"ICON","zoom":"ZOOM","details":"DETAILS","exportBtn":"Export","jsonExportBtn":"Download GeoJSON","downloadAsCSV":"Download CSV","filterMap":"Filter map","stopFilterMap":"Stop filter map","rowsSelected":"{rowsSelected} of {totalRows} row(s) selected","rowsFiltered":"{rowsFiltered} of {totalRows} row(s) filtered","enlargeBtn":"Enlarge","reduceBtn":"Reduce","features":"feature(s)","featureFiltered":"features filtered","images":"Images","close":"Close","noFeatures":"unknown..."},"geoChart":{"noChartAvailable":"Click on the map on a layer with chart"},"guide":{"title":"Guide","errorMessage":"Sorry, unable to find the help document!"},"footerBar":{"focusToMap":"Focus to map","focusToFooter":"Focus to footer","resizeTooltip":"Resize","noTab":"No tab"}}'),a=JSON.parse('{"general":{"add":"Ajouter","close":"Fermer","layers":"Couches","name":"Nom","exit":"Sortir","open":"Ouvrir","remove":"Retirer","view":"Vue","openFullscreen":"Ouvrir en plein écran","closeFullscreen":"Fermer le plein écran","openGuide":"Ouvrir le guide","guide":"Guide","fullScreen":"Plein écran"},"mapnav":{"arianavbar":"Groupe de buttons vertical pour navigation sur la carte","fullscreen":"Plein écran","home":"Retour à la vue initiale","zoomIn":"Zoom avant","zoomOut":"Zoom arrière","coordinates":"Basculer le format des coordonnées","scale":"Basculer entre l\'échelle et la résolution","location":"Zoom sur ma position"},"mapctrl":{"rotation":{"resetRotation":"Réinitialiser la rotation","fixedNorth":"Nord fixe"},"mouseposition":{"east":"E","west":"O","north":"N","south":"S"},"overviewmap":{"toggle":"Basculer la carte d\'aperçu","error":"Erreur lors du chargement de la carte d\'aperçu"},"attribution":{"defaultnrcan":"© Sa Majesté le Roi du Chef du Canada, représentée par le ministre des Ressources naturelle","tooltip":"Attribution"},"crosshair":"Utiliser les touches fléchées, + et - pour naviguer sur la carte, Entrée pour sélectionner et Shift+fléchées Haut et Bas pour modfier le déplacement."},"appbar":{"export":"Exporter","notifications":"Notification","no_notifications_available":"Aucune notification disponible","layers":"Couches","share":"Partager","version":"À propos de GéoView","repoLink":"Github","removeAllNotifications":"Effacer tout"},"legend":{"title":"Légende","removeLayer":"Retirer la couche","zoomTo":"Zoom sur la couche","addLayer":"Ajouter une couche","sortLayers":"Trier les couches","sort":"Trier","layerError":"La couche a une erreur...","layerLoading":"La couche se charge...","tableDetails":"Table détaillée","refreshLayer":"Rafraîchir la couche","highlightLayer":"Couche mise en évidence","subLayersCount":"{count} sous-couches","itemsCount":"{count} sur {totalCount} classes","legendInstructions":"Legend Instructions","noLayersAdded":"Aucune couche ajoutée","noLayersAddedDescription":"Ajoutez des couches à la carte en cliquant sur le bouton \'Couches\' et en sélectionnant les couches que vous souhaitez afficher."},"layers":{"title":"Couches","subLayersList":"Liste des sous-couches","finish":"Terminer","continue":"Continuer","back":"Retour","or":"ou","dropzone":"Déposer ici","upload":"Choisir un fichier","drop":"Déposer le fichier à télécharger","url":"Entrer l\'URL ou l\'identifiant Geocore","layer":"Couche","stepOne":"Ajouter un fichier ou entrer l\'URL/ l\'identifiant Geocore","stepTwo":"Sélectionner le format","stepThree":"Configurer la couche","stepFour":"Entrer le nom","service":"Type de service","name":"Nom","layerSelect":"Sélectionner couche(s)","errorEmpty":"ne peut être vide","errorNone":"Pas de fichier ou de source ajouté","errorFile":"Seuls les fichiers geoJSON, CSV et GeoPackage peuvent être utilisés","errorServer":"source n\'est pas valide","errorNotLoaded":"Une erreur s\'est produite lors du chargement de la couche","errorProj":"ne prend pas en charge la projection cartographique actuelle","only":"seulement","opacity":"Opacité","opacityMax":"Maximum du parent","reloadLayer":"Recharger la couche","visibilityIsAlways":"La visibilité est toujours activée","toggleVisibility":"Basculer la visibilité","toggleCollapse":"Basculer la fermeture","querying":"Requête en cours","layerAdded":"Couche __param__ ajoutée","instructionsNoLayersTitle":"Aucune couche visible","instructionsNoLayersBody":"Ajoutez des couches visibles sur la carte."},"details":{"title":"Détails","zoomTo":"Zoom à l\'élément","select":"Sélectionner l\'élément sur la carte","externalLink":"Lien externe","feature":"élément","clickOnMap":"Cliquer sur la carte","nextFeatureBtn":"Élément suivant","previousFeatureBtn":"Élément précédent","clearAllfeatures":"Déselctionner tout les Élément","keepFeatureSelected":"Garder l\'élément sélectionné","featureDetailsTitle":"Élément {count} sur {total}","featureDetailModalTitle":"Détails de l\'élément"},"lightbox":{"next":"Prochaine","previous":"Précédente","close":"Fermer","download":"Télécharger"},"keyboardnav":{"start":"Aller après l\'élément carte","end":"Aller avant l\'élément carte","focusdialog":{"title":"Navigation clavier","main":"Si activé, le focus sera verrouillé sur le visualiseur. \\nPour sortir, appuyez sur CTRL + Q.","button":{"enable":"Activer","skip":"Sauter"}}},"validation":{"layer":{"loadfailed":"Le chargement de la couche [__param__] a échoué sur la carte __param__.","notfound":"La sous couche __param__ de la couche __param__ n\'existe pas sur le sereur","createtwice":"On ne peut exécuter deux fois la méthode createGeoViewRasterLayers pour la couche __param__ sur la carte __param__","usedtwice":"Utilisation en double de l\'identifiant de couche [__param__] sur la carte __param__","multipleUUID":"Les couches GeoCore ne peuvent avoir qu\'un seul identifiant par couche."},"schema":{"notFound":"Une erreur de schéma a été trouvée, vérifiez la console pour voir ce qui ne va pas.","wrongPath":"Impossible de trouver le schéma ([__param__])"},"changeDisplayLanguageLayers":"Les couches ne peuvent être chargée(s) de nouveau car la configuration ne supporte pas ce langage","changeDisplayLanguage":"Seulement \'en\' et \'fr\' sont supporées","changeDisplayTheme":"Theme non supporté","changeDisplayProjection":"Projection non supportée","invalidConfig":"Configuration JSON non valide, configuration par défaut appliquée."},"exportModal":{"title":"Exporter la carte en PNG","cancelBtn":"Annuler","exportBtn":"Exporter","exportTitle":"Titre","approx":"approx"},"geolocator":{"title":"Géolocalisation","search":"Texte à rechercher","errorMessage":"Aucun résultat correspondant à","province":"Province","category":"Catégorie","clearFilters":"Effacer les filtres","noFilter":"Aucun Filtre"},"hovertooltip":{"alticon":"Symbol de l\'élément sélectionné"},"dataTable":{"title":"Données","icon":"ICÔNE","zoom":"ZOOM","details":"DÉTAILS","exportBtn":"Exporter","jsonExportBtn":"Télécharger GeoJSON","downloadAsCSV":"Télécharger CSV","filterMap":"Filtrer la carte","stopFilterMap":"Arrêt des filtres","rowsSelected":"{rowsSelected} sur {totalRows} ligne(s) sélectionnée(s)","rowsFiltered":"{rowsFiltered} sur {totalRows} ligne(s) filtrée(s)","enlargeBtn":"Agrandir","reduceBtn":"Réduire","features":"Élément(s)","featureFiltered":"élément filtré(s)","images":"Images","close":"Fermer","noFeatures":"inconnue..."},"geochart":{"noChartAvailable":"Cliquer sur une couche de la carte qui contient un graphique"},"guide":{"title":"Guide","errorMessage":"Désolé, impossible de trouver le document d\'aide!"},"footerBar":{"focusToMap":"Aller à la carte","focusToFooter":"Aller au pied de page","resizeTooltip":"Redimensionner","noTab":"Pas d\'onglet"}}');var s=n(66700);r.Ay.use(o.initReactI18next).init({debug:!1,lng:"en",fallbackLng:["en","fr"],supportedLngs:["en","fr"],interpolation:{escapeValue:!1},resources:{en:{translation:i},fr:{translation:a}},react:{useSuspense:!0}}).catch((function(e){s.vF.logPromiseFailed("in init in translation/i18n",e)}))},67475:(e,t,n)=>{"use strict";n.d(t,{KX:()=>o,NK:()=>i});var r=n(74887);n(5120);function o(e){return e}function i(e){if(!(e instanceof Object)||e instanceof Array)throw new Error("Can't convert parameter to TypeJsonObject! typeof = ".concat((0,r.A)(e)));return e}},93153:(e,t,n)=>{"use strict";n.d(t,{z:()=>w});var r=n(80180),o=n(59682),i=n(41108),a=n(64417),s=n.n(a);function l(e,t,n){c(e,t),t.set(e,n)}function c(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function u(e,t){return e.get(h(e,t))}function d(e,t,n){return e.set(h(e,t),n),n}function h(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var p=new WeakMap,f=new WeakMap,g=new WeakMap,m=new WeakMap,y=new WeakMap,v=new WeakMap,b=new WeakSet,w=function(){return(0,i.A)((function e(t){var n,r;if((0,o.A)(this,e),c(n=this,r=b),r.add(n),l(this,p,void 0),l(this,f,void 0),l(this,g,void 0),l(this,m,void 0),l(this,y,void 0),l(this,v,void 0),t<=0)throw new Error("workersCount must be positive");d(f,this,t),d(p,this,t),d(g,this,[]),d(m,this,[]),h(b,this,k).call(this)}),[{key:"withLock",value:(t=(0,r.A)(s().mark((function e(t){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h(b,this,C).call(this);case 2:return e.abrupt("return",h(b,this,A).call(this,t));case 3:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"withLockRunAndForget",value:(e=(0,r.A)(s().mark((function e(t){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h(b,this,C).call(this);case 2:h(b,this,A).call(this,t);case 3:case"end":return e.stop()}}),e,this)}))),function(t){return e.apply(this,arguments)})},{key:"awaitTerminate",value:function(){return u(p,this)0)){var e=function(){},t=new Promise((function(t){e=t}));return u(g,this).push(e),t}d(p,this,u(p,this)-1)}function E(){var e=h(b,this,S).call(this);if(e.length){var t=e.pop();t&&t()}else if(d(p,this,u(p,this)+1),u(p,this)>=u(f,this)){var n=u(y,this);h(b,this,k).call(this),n()}}function k(){var e=function(){};d(v,this,new Promise((function(t){e=t}))),d(y,this,e)}},67504:(e,t,n)=>{"use strict";n.d(t,{O:()=>K});var r=n(74887),o=n(59682),i=n(41108),a=n(74780),s=n(56052),l=n.n(s),c=n(79950),u=n.n(c),d=n(90271),h=n(16146),p=n(18113),f=n(95720),g=n(77109),m=n(77284),y=n(34849),v=n(15268),b=n(57739),w=n(6440),A=n(78673),x=n(55231),S=n(67475),C=n(37450),E=n(81381),k=n(66700),T=n(42982);const _=JSON.parse('{"$id":"https://cgpv/schema","$schema":"http://json-schema.org/draft-07/schema#","title":"GeoView Core Config Schema","type":"object","version":1,"comments":"Configuration for GeoView core packages, each packages manages it own schema. It correspond to the TypeMapFeaturesInstance type.","additionalProperties":false,"definitions":{"TypeLocalizedString":{"additionalProperties":false,"minProperties":1,"type":"object","properties":{"en":{"type":"string","description":"The English version of the string."},"fr":{"type":"string","description":"The French version of the string. "}}},"TypeFeatureInfoLayerConfig":{"additionalProperties":false,"type":"object","properties":{"queryable":{"type":"boolean","default":true,"description":"Allow querying. Default = false."},"nameField":{"$ref":"#/definitions/TypeLocalizedString","description":"The display field (English/French) of the layer. If it is not present the viewer will make an attempt to find the first valid field."},"outfields":{"$ref":"#/definitions/TypeLocalizedString","description":"A comma separated list of attribute names (English/French) that should be requested on query (all by default)."},"fieldTypes":{"type":"string","description":"A comma separated list of types. Type at index i is associated to the variable at index i."},"aliasFields":{"$ref":"#/definitions/TypeLocalizedString","description":"A comma separated list of attribute names (English/French) that should be use for alias. If empty, no alias will be set if not found."}},"required":["queryable"]},"TypeFeatureInfoNotQueryable":{"additionalProperties":false,"type":"object","properties":{"queryable":{"type":"boolean","const":false,"description":"Do not allow querying."}},"required":["queryable"]},"TypeStrokeSymbolConfig":{"minProperties":1,"additionalProperties":false,"type":"object","description":"Stroke style for vector features.","properties":{"color":{"type":"string"},"lineStyle":{"enum":["dash","dash-dot","dash-dot-dot","dot","longDash","longDash-dot","null","shortDash","shortDash-dot","shortDash-dot-dot","solid"]},"width":{"type":"number"}}},"TypeLineStringVectorConfig":{"additionalProperties":false,"type":"object","properties":{"type":{"enum":["lineString"]},"stroke":{"$ref":"#/definitions/TypeStrokeSymbolConfig"}},"required":["type","stroke"]},"TypePolygonVectorConfig":{"additionalProperties":false,"type":"object","properties":{"type":{"enum":["filledPolygon"]},"color":{"type":"string"},"stroke":{"$ref":"#/definitions/TypeStrokeSymbolConfig"},"paternSize":{"type":"number","description":"Distance between patern lines. Default = 8"},"paternWidth":{"type":"number","description":"Patern line width.default = 1."},"fillStyle":{"enum":["solid","backwardDiagonal","cross","diagonalCross","forwardDiagonal","horizontal","null","vertical"],"description":"Kind of filling for vector features. Default = solid. "}},"required":["type","stroke"]},"TypeSimpleSymbolVectorConfig":{"additionalProperties":false,"type":"object","properties":{"type":{"enum":["simpleSymbol"]},"rotation":{"type":"number","description":"Symbol rotation in radians."},"color":{"type":"string"},"stroke":{"$ref":"#/definitions/TypeStrokeSymbolConfig"},"size":{"type":"number"},"offset":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2},"symbol":{"enum":["circle","+","diamond","square","triangle","X","star"]}},"required":["type","symbol"]},"TypeIconSymbolVectorConfig":{"additionalProperties":false,"type":"object","properties":{"type":{"enum":["iconSymbol"]},"mimeType":{"type":"string"},"src":{"type":"string"},"width":{"type":"integer","description":"Icon width in pixel."},"height":{"type":"integer","description":"Icon height in pixel."},"rotation":{"type":"number","description":"Icon rotation in radians."},"opacity":{"type":"number","minimum":0,"maximum":1,"default":1},"offset":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2},"crossOrigin":{"type":"string","description":"The crossOrigin attribute for loaded images. Note that you must provide a crossOrigin value if you want to access pixel data with the Canvas renderer."}},"required":["type","mimeType","src"]},"TypeSimpleStyleConfig":{"additionalProperties":false,"type":"object","properties":{"styleId":{"type":"string"},"styleType":{"enum":["simple"]},"label":{"type":"string"},"settings":{"$ref":"#/definitions/TypeKindOfVectorSettings"}},"required":["styleType","label","settings"]},"TypeUniqueValueStyleConfig":{"additionalProperties":false,"type":"object","properties":{"styleId":{"type":"string"},"styleType":{"enum":["uniqueValue"]},"defaultLabel":{"type":"string","description":"Label used if field/value association is not found."},"defaultVisible":{"type":"boolean","description":"Flag used to show/hide features associated to the default label (default: true)."},"defaultSettings":{"$ref":"#/definitions/TypeKindOfVectorSettings","description":"Settings used if field/value association is not found."},"fields":{"type":"array","items":{"type":"string"},"minItems":1},"uniqueValueStyleInfo":{"$ref":"#/definitions/TypeUniqueValueStyleInfo"}},"required":["styleType","fields","uniqueValueStyleInfo"]},"TypeUniqueValueStyleInfo":{"type":"array","items":{"additionalProperties":false,"type":"object","properties":{"label":{"type":"string"},"visible":{"type":"boolean","description":"Flag used to show/hide features associated to the label (default: true)."},"values":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"minItems":1},"settings":{"$ref":"#/definitions/TypeKindOfVectorSettings"}}},"minItems":1,"required":["label","values","options"]},"TypeClassBreakStyleConfig":{"additionalProperties":false,"type":"object","properties":{"styleId":{"type":"string"},"styleType":{"enum":["classBreaks"]},"defaultLabel":{"type":"string","description":"Label used if field/value association is not found."},"defaultVisible":{"type":"boolean","description":"Flag used to show/hide features associated to the default label (default: true)."},"defaultSettings":{"$ref":"#/definitions/TypeKindOfVectorSettings","description":"Settings used if field/value association is not found."},"field":{"type":"string"},"classBreakStyleInfo":{"$ref":"#/definitions/TypeClassBreakStyleInfo"}},"required":["styleType","field","classBreakStyleInfo"]},"TypeClassBreakStyleInfo":{"additionalProperties":false,"type":"array","items":{"additionalProperties":false,"type":"object","properties":{"label":{"type":"string"},"visible":{"type":"boolean","description":"Flag used to show/hide features associated to the label (default: true)."},"minValue":{"oneOf":[{"type":"string"},{"type":"number"}]},"maxValue":{"oneOf":[{"type":"string"},{"type":"number"}]},"settings":{"$ref":"#/definitions/TypeKindOfVectorSettings"}}},"minItems":1,"required":["label","minValue","maxValue","settings"]},"TypeKindOfVectorSettings":{"oneOf":[{"$ref":"#/definitions/TypeLineStringVectorConfig"},{"$ref":"#/definitions/TypePolygonVectorConfig"},{"$ref":"#/definitions/TypeSimpleSymbolVectorConfig"},{"$ref":"#/definitions/TypeIconSymbolVectorConfig"}]},"TypeStyleSettings":{"oneOf":[{"$ref":"#/definitions/TypeSimpleStyleConfig"},{"$ref":"#/definitions/TypeUniqueValueStyleConfig"},{"$ref":"#/definitions/TypeClassBreakStyleConfig"}]},"TypeStyleConfig":{"additionalProperties":false,"minProperties":1,"type":"object","properties":{"Point":{"$ref":"#/definitions/TypeStyleSettings"},"LineString":{"$ref":"#/definitions/TypeStyleSettings"},"Polygon":{"$ref":"#/definitions/TypeStyleSettings"}}},"TypeLayerControls":{"additionalProperties":false,"type":"object","properties":{"highlight":{"type":"boolean","default":true},"hover":{"type":"boolean","default":true},"opacity":{"type":"boolean","default":true},"query":{"type":"boolean","default":true},"remove":{"type":"boolean","default":true},"table":{"type":"boolean","default":true},"visibility":{"type":"boolean","default":true},"zoom":{"type":"boolean","default":true}},"description":"Which UI controls are available."},"TypeLayerStates":{"additionalProperties":false,"type":"object","properties":{"visible":{"type":"boolean","default":true,"description":"Initial visibility setting."},"legendCollapsed":{"type":"boolean","description":"Is the layer\'s legend initially collapsed."},"opacity":{"type":"number","minimum":0,"maximum":1,"default":1,"description":"Initial opacity setting."},"hoverable":{"type":"boolean","description":"Is the layer hoverable."},"queryable":{"type":"boolean","description":"Is the layer queryable."}},"description":"Initial layer states."},"TypeLayerInitialSettings":{"additionalProperties":false,"type":"object","properties":{"controls":{"$ref":"#/definitions/TypeLayerControls","description":"The status of various controls for the layer (available/unavailable)."},"bounds":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"number"},"description":"The geographic bounding box that contains all the layer\'s features."},"extent":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"number"},"description":"The extent that constrains the view. Called with [minX, minY, maxX, maxY] extent coordinates."},"minZoom":{"type":"integer","minimum":0,"maximum":50,"description":"The minimum view zoom level (exclusive) above which this layer will be visible."},"maxZoom":{"type":"integer","minimum":0,"maximum":50,"description":"The maximum view zoom level (inclusive) above which this layer will be visible."},"className":{"type":"string","description":"A CSS class name to set to the layer element."},"states":{"$ref":"#/definitions/TypeLayerStates","description":"The status of initial states for the layer."}}},"TypeVectorSourceFormats":{"enum":["GeoJSON","EsriJSON","KML","WFS","featureAPI","GeoPackage","CSV"],"description":"The feature format used by the XHR feature loader when access path is set."},"TypeVectorSourceInitialConfig":{"additionalProperties":false,"type":"object","properties":{"dataAccessPath":{"$ref":"#/definitions/TypeLocalizedString","description":"The path (English/French) to reach the data to display. If not specified, metadataAccessPath will be assigned to it."},"postSettings":{"type":"object","properties":{"header":{"type":"object"},"data":{"type":"object"}}},"format":{"$ref":"#/definitions/TypeVectorSourceFormats"},"dataProjection":{"type":"string","description":"The projection code of the source. Used only for GeoJSON format. Default value is EPSG:4326. "},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoLayerConfig"},"strategy":{"enum":["all","bbox"],"default":"all","description":"The loading strategy to use. By default an all strategy is used, a one-off strategy which loads all features at once."},"separator":{"type":"string","description":"The character used to separate columns of csv file"}}},"TypeSourceImageWmsInitialConfig":{"additionalProperties":false,"type":"object","properties":{"dataAccessPath":{"$ref":"#/definitions/TypeLocalizedString","description":"The path (English/French) to reach the data to display. If not specified, metadatAccessPath will be assigne dto it."},"crossOrigin":{"type":"string","description":"The crossOrigin attribute for loaded images. Note that you must provide a crossOrigin value if you want to access pixel data with the Canvas renderer."},"projection":{"type":"integer","description":"Spatial Reference EPSG code supported (https://epsg.io/). We support Web Mercator and Lambert Conical Conform Canada."},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoLayerConfig"},"serverType":{"$ref":"#/definitions/TypeOfServer","description":"The type of the remote WMS server. The default value is mapserver."},"style":{"oneOf":[{"type":"string","description":"Single style to apply"},{"type":"array","items":{"type":"string"},"description":"Array of style to choose."}]}}},"TypeOfServer":{"enum":["mapserver","geoserver","qgis"],"description":"The type of the remote WMS server. The default value is mapserver."},"TypeSourceImageStaticInitialConfig":{"additionalProperties":false,"type":"object","properties":{"dataAccessPath":{"$ref":"#/definitions/TypeLocalizedString","description":"The path (English/French) to reach the data to display. If not specified, metadatAccessPath will be assigne dto it."},"crossOrigin":{"type":"string","description":"The crossOrigin attribute for loaded images. Note that you must provide a crossOrigin value if you want to access pixel data with the Canvas renderer."},"projection":{"type":"integer","description":"Spatial Reference EPSG code supported (https://epsg.io/). We support Web Mercator and Lambert Conical Conform Canada."},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoNotQueryable"},"extent":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"number"},"description":"The extent of the static image. Called with [minX, minY, maxX, maxY] extent coordinates."}}},"TypeSourceImageEsriInitialConfig":{"additionalProperties":false,"type":"object","properties":{"dataAccessPath":{"$ref":"#/definitions/TypeLocalizedString","description":"The path (English/French) to reach the data to display. If not specified, metadatAccessPath will be assigne dto it."},"crossOrigin":{"type":"string","description":"The crossOrigin attribute for loaded images. Note that you must provide a crossOrigin value if you want to access pixel data with the Canvas renderer."},"projection":{"type":"integer","description":"Spatial Reference EPSG code supported (https://epsg.io/). We support Web Mercator and Lambert Conical Conform Canada."},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoLayerConfig"},"format":{"$ref":"#/definitions/TypeEsriFormatParameter"},"transparent":{"type":"boolean","default":true,"description":"If true, the image will be exported with the background color of the map set as its transparent color. Only the .png and .gif formats support transparency."}}},"TypeEsriFormatParameter":{"enum":["png","jpg","gif","svg"],"default":"png","description":"The format of the exported image. The default format is png."},"TypeSourceTileInitialConfig":{"additionalProperties":false,"properties":{"dataAccessPath":{"$ref":"#/definitions/TypeLocalizedString","description":"The path (English/French) to reach the data to display. If not specified, metadatAccessPath will be assigne dto it."},"crossOrigin":{"type":"string","description":"The crossOrigin attribute for loaded images. Note that you must provide a crossOrigin value if you want to access pixel data with the Canvas renderer."},"projection":{"type":"integer","description":"Spatial Reference EPSG code supported (https://epsg.io/). We support Web Mercator and Lambert Conical Conform Canada."},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoNotQueryable"},"tileGrid":{"$ref":"#/definitions/TypeTileGrid"}}},"TypeTileGrid":{"additionalProperties":false,"type":"object","properties":{"extent":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"number"},"description":"The extent that constrains the view. Called with [minX, minY, maxX, maxY] extent coordinates."},"origin":{"type":"array","prefixItems":[{"type":"number"},{"type":"number"}],"description":"The tile grid origin, i.e. where the x and y axes meet ([z, 0, 0]). Tile coordinates increase left to right and downwards. If not specified, extent must be provided."},"resolutions":{"type":"array","items":{"type":"number"},"description":"Resolutions. The array index of each resolution needs to match the zoom level. This means that even if a minZoom is configured, the resolutions array will have a length of maxZoom + 1."},"tileSize":{"type":"array","minItems":2,"maxItems":2,"items":{"type":"number"},"default":[256,256],"description":"The tile grid origin, i.e. where the x and y axes meet ([z, 0, 0]). Tile coordinates increase left to right and downwards. If not specified, extent must be provided."}},"required":["origin","resolutions"]},"TypeVectorLayerEntryConfig":{"additionalProperties":false,"type":"object","properties":{"schemaTag":{"enum":["CSV","GeoJSON","esriFeature","ogcWfs","ogcFeature","GeoPackage"]},"entryType":{"enum":["vector"]},"layerPathEnding":{"type":"string","description":"The ending element of the layer configuration path."},"layerId":{"type":"string","description":"The id of the layer to display on the map."},"layerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"layerFilter":{"type":"string","description":"Filter to apply on feature of this layer."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the layer entry at creation time. Initial settings are inherited from the parent in the configuration tree."},"source":{"$ref":"#/definitions/TypeVectorSourceInitialConfig"},"style":{"$ref":"#/definitions/TypeStyleConfig"},"not":{"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The list of layer entry configurations to use from the GeoView layer group."}}},"required":["schemaTag","entryType","layerId"]},"TypeVectorTileLayerEntryConfig":{"additionalProperties":false,"type":"object","description":"Layer sources providing vector data divided into a tile grid.","properties":{"schemaTag":{"enum":["not used yet"]},"entryType":{"enum":["vector-tile"]},"layerPathEnding":{"type":"string","description":"The ending element of the layer configuration path."},"layerId":{"type":"string","description":"The id of the layer to display on the map."},"layerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"layerFilter":{"type":"string","description":"Filter to apply on feature of this layer."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the layer entry at creation time. Initial settings are inherited from the parent in the configuration tree."},"source":{"$ref":"#/definitions/TypeVectorTileSourceInitialConfig","description":"Information used to configure the source of a vector tile layer."},"style":{"$ref":"#/definitions/TypeStyleConfig"},"not":{"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The list of layer entry configurations to use from the GeoView layer group."}}},"required":["schemaTag","entryType","layerId"]},"TypeVectorTileSourceInitialConfig":{"additionalProperties":false,"type":"object","description":"Layer sources providing vector data divided into a tile grid.","properties":{"dataAccessPath":{"$ref":"#/definitions/TypeLocalizedString","description":"The path (English/French) to reach the data to display. If not specified, metadatAccessPath will be assigne dto it."},"format":{"enum":["GeoJSON","EsriJSON","KML","WFS","MVT","featureAPI"],"description":"The feature format used by the XHR feature loader when access path is set."},"dataProjection":{"type":"string","description":"The projection code of the source. Used only for GeoJSON format. Default value is EPSG:4326."},"featureInfo":{"$ref":"#/definitions/TypeFeatureInfoLayerConfig"},"tileGrid":{"$ref":"#/definitions/TypeTileGrid"}}},"TypeOgcWmsLayerEntryConfig":{"additionalProperties":false,"type":"object","properties":{"schemaTag":{"enum":["ogcWms"]},"entryType":{"enum":["raster-image"]},"layerId":{"type":"string","description":"The id of the layer to display on the map."},"layerPathEnding":{"type":"string","description":"The ending element of the layer configuration path."},"layerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"layerFilter":{"type":"string","description":"Filter to apply on feature of this layer."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the layer entry at creation time. Initial settings are inherited from the parent in the configuration tree."},"source":{"$ref":"#/definitions/TypeSourceImageWmsInitialConfig"},"style":{"$ref":"#/definitions/TypeStyleConfig"},"not":{"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The list of layer entry configurations to use from the GeoView layer group."}}},"required":["schemaTag","entryType","layerId"]},"TypeEsriDynamicLayerEntryConfig":{"additionalProperties":false,"type":"object","properties":{"schemaTag":{"enum":["esriDynamic"]},"entryType":{"enum":["raster-image"]},"layerId":{"type":"string","description":"The id of the layer to display on the map."},"layerPathEnding":{"type":"string","description":"The ending element of the layer configuration path."},"layerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"layerFilter":{"type":"string","description":"Filter to apply on feature of this layer."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the layer entry at creation time. Initial settings are inherited from the parent in the configuration tree."},"source":{"$ref":"#/definitions/TypeSourceImageEsriInitialConfig"},"style":{"$ref":"#/definitions/TypeStyleConfig"},"not":{"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The list of layer entry configurations to use from the GeoView layer group."}}},"required":["schemaTag","entryType","layerId"]},"TypeEsriImageLayerEntryConfig":{"additionalProperties":false,"type":"object","properties":{"schemaTag":{"enum":["esriImage"]},"entryType":{"enum":["raster-image"]},"layerId":{"type":"string","description":"The id of the layer to display on the map."},"layerPathEnding":{"type":"string","description":"The ending element of the layer configuration path."},"layerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"layerFilter":{"type":"string","description":"Filter to apply on feature of this layer."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the layer entry at creation time. Initial settings are inherited from the parent in the configuration tree."},"source":{"$ref":"#/definitions/TypeSourceImageEsriInitialConfig"},"style":{"$ref":"#/definitions/TypeStyleConfig"},"not":{"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The list of layer entry configurations to use from the GeoView layer group."}}},"required":["schemaTag","entryType","layerId"]},"TypeImageStaticLayerEntryConfig":{"additionalProperties":false,"type":"object","properties":{"schemaTag":{"enum":["imageStatic"]},"entryType":{"enum":["raster-image"]},"layerId":{"type":"string","description":"The id of the layer to display on the map."},"layerPathEnding":{"type":"string","description":"The ending element of the layer configuration path."},"layerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the layer entry at creation time. Initial settings are inherited from the parent in the configuration tree."},"source":{"$ref":"#/definitions/TypeSourceImageStaticInitialConfig"},"not":{"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The list of layer entry configurations to use from the GeoView layer group."}}},"required":["schemaTag","entryType","layerId"]},"TypeTileLayerEntryConfig":{"additionalProperties":false,"type":"object","properties":{"schemaTag":{"enum":["ogcWms","xyzTiles","vectorTiles"]},"entryType":{"enum":["raster-tile"]},"layerPathEnding":{"type":"string","description":"The ending element of the layer configuration path."},"layerId":{"type":"string","description":"The id of the layer to display on the map."},"layerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the layer entry at creation time. Initial settings are inherited from the parent in the configuration tree."},"source":{"$ref":"#/definitions/TypeSourceTileInitialConfig"},"not":{"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The list of layer entry configurations to use from the GeoView layer group."}}},"required":["schemaTag","entryType","layerId"]},"TypeLayerEntryType":{"enum":["vector","vector-tile","raster-tile","raster-image","geoCore"],"description":"Layer entry data type."},"TypeLayerGroupEntryConfig":{"additionalProperties":false,"type":"object","description":"Entry used to define a layer Group.","properties":{"entryType":{"enum":["group"]},"layerId":{"type":"string","description":"The id of the layer group to display on the map."},"not":{"layerPathEnding":{"type":"string","description":"The ending element of the layer configuration path."}},"layerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer group (English/French)."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the layer group entries at creation time. Initial settings are inherited from the parent in the configuration tree."},"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The list of layer entry configurations to use from the GeoView layer group."}},"required":["entryType","layerId","listOfLayerEntryConfig"]},"TypeLayerEntryConfig":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeVectorTileLayerEntryConfig"},{"$ref":"#/definitions/TypeVectorLayerEntryConfig"},{"$ref":"#/definitions/TypeOgcWmsLayerEntryConfig"},{"$ref":"#/definitions/TypeEsriDynamicLayerEntryConfig"},{"$ref":"#/definitions/TypeEsriImageLayerEntryConfig"},{"$ref":"#/definitions/TypeTileLayerEntryConfig"}]},"TypeListOfOgcWmsLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeOgcWmsLayerEntryConfig"}]}},"TypeListOfImageStaticLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeImageStaticLayerEntryConfig"}]}},"TypeListOfXyzTilesLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeTileLayerEntryConfig"}]}},"TypeListOfEsriDynamicLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeEsriDynamicLayerEntryConfig"}]}},"TypeListOfEsriFeatureLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeVectorLayerEntryConfig"}]}},"TypeListOfEsriImageLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeEsriImageLayerEntryConfig"}]}},"TypeListOfGeoJSONLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeVectorLayerEntryConfig"}]}},"TypeListOfOgcWfsLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeVectorLayerEntryConfig"}]}},"TypeListOfOgcFeatureLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeVectorLayerEntryConfig"}]}},"TypeListOfGeoPackageLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeVectorLayerEntryConfig"}]}},"TypeListOfCsvLayerEntryConfig":{"description":"This type is used recursively by the IsValidTypeListOfLayerEntryConfig method coded in config-validation.ts file. It completes the validation of the list of layer entry config.","type":"array","minItems":1,"additionalProperties":false,"items":{"oneOf":[{"$ref":"#/definitions/TypeLayerGroupEntryConfig"},{"$ref":"#/definitions/TypeCsvLayerEntryConfig"}]}},"TypeListOfLayerEntryConfig":{"type":"array","minItems":1},"TypeMapConfig":{"additionalProperties":false,"type":"object","properties":{"basemapOptions":{"$ref":"#/definitions/TypeBasemapOptions"},"interaction":{"$ref":"#/definitions/TypeInteraction"},"listOfGeoviewLayerConfig":{"$ref":"#/definitions/TypeListOfGeoviewLayerConfig"},"viewSettings":{"$ref":"#/definitions/TypeViewSettings"},"highlightColor":{"$ref":"#/definitions/TypeHighlightColors"},"extraOptions":{"type":"object","description":"Additional options used for OpenLayers map options"}},"required":["basemapOptions","interaction","viewSettings"]},"TypeBasemapOptions":{"additionalProperties":false,"type":"object","properties":{"basemapId":{"$ref":"#/definitions/TypeBasemapId"},"shaded":{"type":"boolean","default":true,"description":"Enable or disable shaded basemap (if basemap id is set to shaded then this should be false)."},"labeled":{"type":"boolean","default":true,"description":"Enable or disable basemap labels"}},"required":["basemapId","shaded","labeled"]},"TypeBasemapId":{"enum":["transport","osm","simple","nogeom","shaded"],"default":"transport","description":"Id of the basemap to use."},"TypeInteraction":{"enum":["static","dynamic"],"default":"dynamic","description":"If map is dynamic (pan/zoom) or static to act as a thumbnail (no nav bar)."},"TypeHighlightColors":{"enum":["black","white","red","green"],"default":"black","description":"Color to use for feature highlights."},"TypeListOfGeoviewLayerConfig":{"description":"List of GeoView Layers in the order which they should be added to the map.","type":"array","additionalProperties":false,"items":{"anyOf":[{"$ref":"#/definitions/TypeGeoviewLayerConfig"},{"$ref":"#/definitions/TypeGeoCoreLayerConfig"}]}},"TypeGeoviewLayerConfig":{"additionalProperties":false,"type":"object","properties":{"geoviewLayerId":{"type":"string","description":"The id of the layer for referencing within the viewer (does not relate directly to any external service). The id will have the language extension (id-\'lang\')."},"geoviewLayerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"metadataAccessPath":{"$ref":"#/definitions/TypeLocalizedString","description":"The GeoView layer access path (English/French)."},"geoviewLayerType":{"$ref":"#/definitions/TypeGeoviewLayerType","description":"Type of GeoView layer."},"serviceDateFormat":{"type":"string","description":"Date format used by the service endpoint."},"externalDateFormat":{"type":"string","description":"Date format used by the getFeatureInfo to output date variable."},"isTimeAware":{"type":"boolean","description":"Flag to mention if layer will use its time dimension if provided. Used to remove a layer from time enabled functions like time slider."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the GeoView layer at creation time."},"listOfLayerEntryConfig":{"$ref":"#/definitions/TypeListOfLayerEntryConfig","description":"The layer entries to use from the GeoView layer."}},"required":["geoviewLayerType","listOfLayerEntryConfig"]},"TypeGeoCoreLayerConfig":{"additionalProperties":false,"type":"object","properties":{"geoviewLayerId":{"type":"string","description":"The id of the layer for referencing within the viewer (does not relate directly to any external service). The id will have the language extension (id-\'lang\')."},"geoviewLayerType":{"$ref":"#/definitions/TypeGeoCoreLayerType","description":"Type of GeoCore layer."},"geoviewLayerName":{"$ref":"#/definitions/TypeLocalizedString","description":"The display name of the layer (English/French). If it is not present the viewer will make an attempt to scrape this information."},"initialSettings":{"$ref":"#/definitions/TypeLayerInitialSettings","description":"Initial settings to apply to the GeoView layer at creation time."}},"required":["geoviewLayerId","geoviewLayerType"]},"TypeGeoviewLayerType":{"type":"string","items":{"enum":["CSV","esriDynamic","esriFeature","esriImage","GeoJSON","GeoPackage","xyzTiles","ogcFeature","ogcWfs","ogcWms","imageStatic","vectorTiles"]},"description":"Type of GeoView layer."},"TypeGeoCoreLayerType":{"type":"string","items":{"enum":["geoCore"]},"description":"Type of GeoCore layer."},"TypeViewSettings":{"additionalProperties":false,"type":"object","properties":{"initialView":{"$ref":"#/definitions/TypeInitialViewSettings","description":"Settings for the initial viewing area of the map."},"enableRotation":{"type":"boolean","default":true,"description":"Enable rotation. If false, a rotation constraint that always sets the rotation to zero is used."},"maxExtent":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"number"},"default":[-125,30,-60,89],"description":"The extent that constrains the view. Called with [minX, minY, maxX, maxY] extent coordinates."},"minZoom":{"type":"integer","description":"The minimum zoom level used to determine the resolution constraint. If not set, will use default from basemap.","minimum":0,"maximum":50},"maxZoom":{"type":"integer","description":"The maximum zoom level used to determine the resolution constraint. If not set, will use default from basemap.","minimum":0,"maximum":50},"projection":{"$ref":"#/definitions/TypeValidMapProjectionCodes"},"rotation":{"type":"integer","minimum":-360,"maximum":360,"default":0,"description":"The initial rotation for the view in degree (positive rotation clockwise, 0 means North). Will be converted to radiant by the viewer."}}},"TypeInitialViewSettings":{"additionalProperties":false,"type":"object","maxItems":1,"properties":{"zoomAndCenter":{"$ref":"#/definitions/TypeZoomAndCenter"},"extent":{"type":"array","minItems":4,"maxItems":4,"items":{"type":"number"},"description":"The extent for the initial view. Called with [minX, minY, maxX, maxY] extent coordinates."},"layerIds":{"type":"array","minItems":1,"items":{"type":"string"},"description":"ID(s) of layer(s) to use as initial map focus."}}},"TypeZoomAndCenter":{"type":"array","prefixItems":[{"type":"number","minimum":0,"maximum":28,"default":3.5,"description":"Initial map zoom level. Zoom level are define by the basemap zoom levels. Levels between whole numbers are supported to fine tune initial view."},[{"type":"number","minimum":-160,"maximum":160,"default":-90,"description":"Initial longitude value for map center."},{"type":"number","minimum":-80,"maximum":80,"default":60,"description":"Initial latitude value for map center."}]],"description":"Initial zoom and center coordinates to set map view."},"TypeValidMapProjectionCodes":{"enum":[3978,3857],"default":3978,"description":"Spatial Reference EPSG code supported (https://epsg.io/). We support Web Mercator and Lambert Conical Conform Canada."},"TypeNavBarProps":{"type":"array","uniqueItems":true,"items":{"enum":["zoom","fullscreen","home","location"]},"default":["zoom","fullscreen","home"],"description":"Controls available on the navigation bar.","minItems":0},"TypeFooterBarProps":{"type":"object","additionalProperties":false,"properties":{"tabs":{"type":"object","description":"Available tabs","properties":{"core":{"type":"array","items":{"type":"string","enum":["legend","layers","details","data-table","time-slider","geochart"]},"minItems":1,"default":["legend","layers","details","data-table"],"uniqueItems":true,"description":"Default core tabs of footer bar to use. NOTE: config from packages for time-slider and geochart are in the same loaction as core config (<>-<>.json)."},"custom":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"defaultTabs":{"type":"string"},"contentHTML":{"type":"string"}}},"minItems":0,"default":[],"uniqueItems":true,"description":"Custom tabs of footer bar to use"}},"additionalProperties":false},"collapsed":{"type":"boolean","default":false,"description":"State of footer bar when map is loaded (expanded or collapsed)"}},"required":["tabs"]},"TypeAppBarProps":{"type":"object","additionalProperties":false,"properties":{"tabs":{"type":"object","description":"Available tabs - controls","properties":{"core":{"type":"array","items":{"type":"string","enum":["geolocator","export","basemap-panel","geochart","details","legend","guide"]},"minItems":0,"default":["geolocator"],"uniqueItems":true,"description":"Default core tabs of app-bar to use. NOTE: config from packages like geochart are in the same loaction as core config (<>-<>.json)."}},"additionalProperties":false}},"required":["tabs"]},"TypeOverviewMapProps":{"type":"object","additionalProperties":false,"properties":{"hideOnZoom":{"type":"number","minimum":0,"maximum":10,"default":0,"description":"Minimum zoom level to show overview map"}}},"TypeMapComponents":{"type":"array","uniqueItems":true,"items":{"enum":["overview-map","north-arrow"]},"default":["overview-map","north-arrow"],"description":"Core components to initialize on viewer load. The schema for those are inside this file.","minItems":0},"TypeMapCorePackages":{"type":"array","uniqueItems":true,"items":{"enum":["swiper"]},"default":[],"description":"Core map packages to initialize on viewer load. The schema for those are on their own package. NOTE: config from packages are in the same loaction as core config (<>-<>.json).","minItems":0},"TypeExternalPackages":{"type":"array","items":{"additionalProperties":false,"type":"object","properties":{"name":{"type":"string","description":"External Package name. The name must be identical to the window external package object to load."},"configUrl":{"type":"string","description":"The url to the external package configuration setting. The core package will read the configuration and pass it inside the package."}},"required":["name"]},"default":[],"description":"List of external packages to initialize on viewer load.","minItems":0},"TypeServiceUrls":{"additionalProperties":false,"type":"object","description":"Service endpoint urls","properties":{"geocoreUrl":{"type":"string","default":"https://geocore.api.geo.ca","description":"Service end point to access API for layers specification (loading and plugins parameters). By default it is GeoCore but can be another endpoint with similar output."},"proxyUrl":{"type":"string","description":"An optional proxy to be used for dealing with same-origin issues. URL must either be a relative path on the same server or an absolute path on a server which sets CORS headers."},"geolocator":{"type":"string","description":"Service end point to access geo location of searched value."}},"required":["geocoreUrl"]},"TypeDisplayLanguage":{"enum":["en","fr"],"description":"Display languages supported."},"TypeLocalizedLanguages":{"enum":["en","fr"],"description":"ISO 639-1 code indicating the languages supported by the configuration file."},"TypeListOfLocalizedLanguages":{"type":"array","uniqueItems":true,"items":{"$ref":"#/definitions/TypeLocalizedLanguages"},"default":["en","fr"],"description":"ISO 639-1 code indicating the languages supported by the configuration file. It will use value(s) provided here to access bilangual configuration nodes. For value(s) provided here, each bilingual configuration node MUST provide a value.","minItems":1},"TypeValidVersions":{"enum":["1.0"],"description":"The schema version that can be used to validate the configuration file. The schema should enumerate the list of versions accepted by this version of the viewer."},"TypeMapFeaturesInstance":{"description":"The map features configuration. This type is used by the IsValidTypeMapFeaturesInstance method coded in config-validation.ts file. It does the validation down to the list of layer entry config.","additionalProperties":false,"type":"object","properties":{"mapId":{"type":"string"},"map":{"$ref":"#/definitions/TypeMapConfig"},"theme":{"enum":["dark","light","geo.ca"],"default":"dark","description":"Theme style the viewer."},"navBar":{"$ref":"#/definitions/TypeNavBarProps"},"footerBar":{"$ref":"#/definitions/TypeFooterBarProps"},"appBar":{"$ref":"#/definitions/TypeAppBarProps"},"overviewMap":{"$ref":"#/definitions/TypeOverviewMapProps"},"components":{"$ref":"#/definitions/TypeMapComponents"},"corePackages":{"$ref":"#/definitions/TypeMapCorePackages"},"externalPackages":{"$ref":"#/definitions/TypeExternalPackages"},"serviceUrls":{"$ref":"#/definitions/TypeServiceUrls"},"schemaVersionUsed":{"$ref":"#/definitions/TypeValidVersions"}},"required":["map"]}}}');var O,P=n(89027),I=n(73620),M=n(58129),L=n(68046),R=n(58876),j=n(92023),F=n(83866),D=n(88030),N=n(66734),z=n(7881),B=n(38956),V=n(91648),$=n(35893),G=n(10599);function U(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function W(e,t,n){return e.set(q(e,t),n),n}function q(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var H=new WeakMap,Y=new WeakSet,K=function(){function e(t){var n,r;(0,o.A)(this,e),U(n=this,r=Y),r.add(n),function(e,t,n){U(e,t),t.set(e,n)}(this,H,void 0),(0,a.A)(this,"displayLanguage",void 0),W(H,this,(0,T.generateId)()),this.displayLanguage=t}return(0,i.A)(e,[{key:"mapId",get:function(){return t=this,(e=H).get(q(e,t));var e,t},set:function(e){W(H,this,e)}},{key:"validateMapConfigAgainstSchema",value:function(t){var n=new(l())({strict:!1,allErrors:!1});n.compile(_);for(var r=!0,o=0;o{"use strict";n.d(t,{d:()=>m});var r=n(59682),o=n(41108),i=n(95947),a=n(71104),s=n(89153),l=n(79778),c=n(74780),u=n(97905);function d(e,t,n){return t=(0,s.A)(t),(0,i.A)(e,h()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function p(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function f(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var g=new WeakMap,m=function(e){function t(e){var n;return(0,r.A)(this,t),n=d(this,t,[e]),(0,c.A)(n,"layerIdExtension",void 0),p(n,g,void 0),(0,c.A)(n,"filterEquation",void 0),(0,c.A)(n,"legendFilterIsOff",!1),(0,c.A)(n,"source",void 0),(0,c.A)(n,"style",void 0),"style"in n||(n.style=void 0),Object.assign(n,e),n}return(0,l.A)(t,e),(0,o.A)(t,[{key:"getMetadata",value:function(){return t=this,(e=g).get(f(e,t));var e,t}},{key:"setMetadata",value:function(e){var t,n,r;n=this,r=e,(t=g).set(f(t,n),r)}},{key:"getTypeGeometries",value:function(){return Object.keys(this.style||{})}},{key:"getFirstStyleSettings",value:function(){var e=this.getTypeGeometries();if(e.length>0)return this.style[e[0]]}},{key:"onSerialize",value:function(){var e=(0,a.A)((0,s.A)(t.prototype),"onSerialize",this).call(this);return e.layerIdExtension=this.layerIdExtension,e.layerName=this.layerName,e.initialSettings=this.initialSettings,e}}])}(u.c)},97905:(e,t,n)=>{"use strict";n.d(t,{c:()=>y});var r,o=n(59682),i=n(41108),a=n(74780),s=n(52780),l=n(55231),c=n(66700);function u(e,t,n){d(e,t),t.set(e,n)}function d(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function h(e,t){return e.get(p(e,t))}function p(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var f=new WeakMap,g=new WeakMap,m=new WeakSet,y=function(){function e(t){var n,r;(0,o.A)(this,e),d(n=this,r=m),r.add(n),(0,a.A)(this,"_layerId",""),(0,a.A)(this,"_layerPath",""),(0,a.A)(this,"_layerStatus","newInstance"),(0,a.A)(this,"layerIdExtension",void 0),(0,a.A)(this,"layerName",void 0),(0,a.A)(this,"schemaTag",void 0),(0,a.A)(this,"entryType",void 0),(0,a.A)(this,"geoviewLayerConfig",{}),(0,a.A)(this,"initialSettings",{}),(0,a.A)(this,"isMetadataLayerGroup",void 0),(0,a.A)(this,"parentLayerConfig",void 0),u(this,f,!1),u(this,g,[]),Object.assign(this,t),this.geoviewLayerConfig?this._layerPath=v.call(e,t):c.vF.logError("Couldn't calculate layerPath because geoviewLayerConfig has an invalid value")}return(0,i.A)(e,[{key:"layerId",get:function(){return this._layerId},set:function(t){this._layerId=t,this._layerPath=v.call(e,this)}},{key:"layerPath",get:function(){return this._layerPath=v.call(e,this),this._layerPath}},{key:"layerStatus",get:function(){return this._layerStatus},set:function(e){if("loaded"===e&&!(0,l.KD)(this)&&!this.isGreaterThanOrEqualTo("loading")&&!h(f,this))return n=this,r=!0,void(t=f).set(p(t,n),r);var t,n,r;this.isGreaterThanOrEqualTo(e)||(this._layerStatus=e,p(m,this,b).call(this,{layerStatus:e})),"processed"===e&&h(f,this)&&(this.layerStatus="loaded")}},{key:"isGreaterThanOrEqualTo",value:function(e){return w._[this.layerStatus]>=w._[e]}},{key:"serialize",value:function(){return this.onSerialize()}},{key:"onSerialize",value:function(){return{layerIdExtension:this.layerIdExtension,schemaTag:this.schemaTag,entryType:this.entryType,layerStatus:this.layerStatus,isMetadataLayerGroup:this.isMetadataLayerGroup}}},{key:"onLayerStatusChanged",value:function(e){s.A.onEvent(h(g,this),e)}},{key:"offLayerStatusChanged",value:function(e){s.A.offEvent(h(g,this),e)}}],[{key:"allLayerStatusAreGreaterThanOrEqualTo",value:function(e,t){var n=this;return!t.find((function(t){return(0,l.KD)(t)?!n.allLayerStatusAreGreaterThanOrEqualTo(e,t.listOfLayerEntryConfig):!t.isGreaterThanOrEqualTo(e||"newInstance")}))}}])}();function v(e,t){var n=t;return void 0===n&&(n=void 0===e.layerIdExtension?e.layerId:"".concat(e.layerId,".").concat(e.layerIdExtension)),e.parentLayerConfig?p(r,this,v).call(this,e.parentLayerConfig,"".concat(e.parentLayerConfig.layerId,"/").concat(n)):"".concat(e.geoviewLayerConfig.geoviewLayerId,"/").concat(n)}function b(e){s.A.emitEvent(this,h(g,this),e)}r=y;var w={_:{newInstance:10,registered:20,processing:30,processed:40,loading:50,loaded:60,error:70}}},35893:(e,t,n)=>{"use strict";n.d(t,{x:()=>h});var r=n(41108),o=n(59682),i=n(95947),a=n(89153),s=n(79778),l=n(74780),c=n(55231);function u(e,t,n){return t=(0,a.A)(t),(0,i.A)(e,d()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}var h=function(e){function t(e){var n;return(0,o.A)(this,t),n=u(this,t,[e]),(0,l.A)(n,"entryType",c.hJ.GROUP),(0,l.A)(n,"listOfLayerEntryConfig",[]),Object.assign(n,e),n}return(0,s.A)(t,e),(0,r.A)(t)}(n(97905).c)},38956:(e,t,n)=>{"use strict";n.d(t,{q:()=>f});var r=n(41108),o=n(59682),i=n(95947),a=n(89153),s=n(79778),l=n(74780),c=n(37450),u=n(55231);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e,t,n){return t=(0,a.A)(t),(0,i.A)(e,p()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}var f=function(e){function t(e){var n;return(0,o.A)(this,t),n=h(this,t,[e]),(0,l.A)(n,"schemaTag",c.y6.ESRI_DYNAMIC),(0,l.A)(n,"entryType",u.hJ.RASTER_IMAGE),(0,l.A)(n,"layerFilter",void 0),Object.assign(n,e),n.source||(n.source={}),n.source.dataAccessPath||(n.source.dataAccessPath=function(e){for(var t=1;t{"use strict";n.d(t,{Q:()=>f});var r=n(41108),o=n(59682),i=n(95947),a=n(89153),s=n(79778),l=n(74780),c=n(37450),u=n(55231);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e,t,n){return t=(0,a.A)(t),(0,i.A)(e,p()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}var f=function(e){function t(e){var n;if((0,o.A)(this,t),n=h(this,t,[e]),(0,l.A)(n,"schemaTag",c.y6.ESRI_IMAGE),(0,l.A)(n,"entryType",u.hJ.RASTER_IMAGE),(0,l.A)(n,"layerFilter",void 0),Object.assign(n,e),Number.isNaN(n.layerId))throw new Error("The layer entry with layerId equal to ".concat(n.layerPath," must be an integer string"));return n.source||(n.source={}),n.source.dataAccessPath||(n.source.dataAccessPath=function(e){for(var t=1;t{"use strict";n.d(t,{V:()=>p});var r=n(41108),o=n(59682),i=n(95947),a=n(89153),s=n(79778),l=n(74780),c=n(37450),u=n(55231);function d(e,t,n){return t=(0,a.A)(t),(0,i.A)(e,h()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var p=function(e){function t(e){var n;if((0,o.A)(this,t),n=d(this,t,[e]),(0,l.A)(n,"schemaTag",c.y6.IMAGE_STATIC),(0,l.A)(n,"entryType",u.hJ.RASTER_IMAGE),(0,l.A)(n,"layerFilter",void 0),Object.assign(n,e),!n.source.dataAccessPath)throw new Error("source.dataAccessPath on layer entry ".concat(n.layerPath," is mandatory for GeoView layer ").concat(n.geoviewLayerConfig.geoviewLayerId," of type ").concat(n.geoviewLayerConfig.geoviewLayerType));return n}return(0,s.A)(t,e),(0,r.A)(t)}(n(79272).d)},66734:(e,t,n)=>{"use strict";n.d(t,{Q:()=>g});var r=n(41108),o=n(59682),i=n(95947),a=n(89153),s=n(79778),l=n(74780),c=n(37450),u=n(55231),d=n(79272),h=n(42982);function p(e,t,n){return t=(0,a.A)(t),(0,i.A)(e,f()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}var g=function(e){function t(e){var n;return(0,o.A)(this,t),n=p(this,t,[e]),(0,l.A)(n,"schemaTag",c.y6.WMS),(0,l.A)(n,"entryType",u.hJ.RASTER_IMAGE),(0,l.A)(n,"layerFilter",void 0),Object.assign(n,e),n.source||(n.source={}),n.source.dataAccessPath||(n.source.dataAccessPath=(0,h.createLocalizedString)(""),".xml"!==n.geoviewLayerConfig.metadataAccessPath.en.slice(-4).toLowerCase()&&(n.source.dataAccessPath.en=n.geoviewLayerConfig.metadataAccessPath.en),".xml"!==n.geoviewLayerConfig.metadataAccessPath.fr.slice(-4).toLowerCase()&&(n.source.dataAccessPath.fr=n.geoviewLayerConfig.metadataAccessPath.fr)),n.source.serverType||(n.source.serverType="mapserver"),n}return(0,s.A)(t,e),(0,r.A)(t)}(d.d)},68046:(e,t,n)=>{"use strict";n.d(t,{E:()=>d});var r=n(41108),o=n(59682),i=n(95947),a=n(89153),s=n(79778),l=n(74780);function c(e,t,n){return t=(0,a.A)(t),(0,i.A)(e,u()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}var d=function(e){function t(e){var n;if((0,o.A)(this,t),n=c(this,t,[e]),(0,l.A)(n,"tileGrid",void 0),Object.assign(n,e),!e.source.dataAccessPath)throw new Error("source.dataAccessPath on layer entry ".concat(n.layerPath," is mandatory for GeoView layer ").concat(n.geoviewLayerConfig.geoviewLayerId," of type ").concat(n.geoviewLayerConfig.geoviewLayerType));return n}return(0,s.A)(t,e),(0,r.A)(t)}(n(63650).q)},88030:(e,t,n)=>{"use strict";n.d(t,{m:()=>u});var r=n(41108),o=n(59682),i=n(95947),a=n(89153),s=n(79778);function l(e,t,n){return t=(0,a.A)(t),(0,i.A)(e,c()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}var u=function(e){function t(e){var n;if((0,o.A)(this,t),n=l(this,t,[e]),Object.assign(n,e),!n.source.dataAccessPath)throw new Error("source.dataAccessPath on layer entry ".concat(n.layerPath," is mandatory for GeoView layer ").concat(n.geoviewLayerConfig.geoviewLayerId," of type ").concat(n.geoviewLayerConfig.geoviewLayerType));return n}return(0,s.A)(t,e),(0,r.A)(t)}(n(63650).q)},63650:(e,t,n)=>{"use strict";n.d(t,{q:()=>h});var r=n(41108),o=n(59682),i=n(95947),a=n(89153),s=n(79778),l=n(74780),c=n(55231);function u(e,t,n){return t=(0,a.A)(t),(0,i.A)(e,d()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}var h=function(e){function t(e){var n;return(0,o.A)(this,t),n=u(this,t,[e]),(0,l.A)(n,"entryType",c.hJ.RASTER_TILE),Object.assign(n,e),n}return(0,s.A)(t,e),(0,r.A)(t)}(n(79272).d)},85783:(e,t,n)=>{"use strict";n.d(t,{T:()=>h});var r=n(41108),o=n(59682),i=n(95947),a=n(89153),s=n(79778),l=n(74780),c=n(55231);function u(e,t,n){return t=(0,a.A)(t),(0,i.A)(e,d()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}var h=function(e){function t(e){var n;return(0,o.A)(this,t),n=u(this,t,[e]),(0,l.A)(n,"entryType",c.hJ.VECTOR),(0,l.A)(n,"layerFilter",void 0),Object.assign(n,e),n}return(0,s.A)(t,e),(0,r.A)(t)}(n(79272).d)},58129:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(41108),o=n(59682),i=n(95947),a=n(89153),s=n(79778),l=n(74780),c=n(85783),u=n(55231),d=n(91384);function h(e,t,n){return t=(0,a.A)(t),(0,i.A)(e,p()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}var f=function(e){function t(e){var n,r,i,a,s;if((0,o.A)(this,t),s=h(this,t,[e]),(0,l.A)(s,"valueSeparator",","),Object.assign(s,e),!(s.geoviewLayerConfig.metadataAccessPath||null!==(n=s.source)&&void 0!==n&&n.dataAccessPath))throw new Error("dataAccessPath is mandatory for GeoView layer ".concat(s.geoviewLayerConfig.geoviewLayerId," of type CSV when the metadataAccessPath is undefined."));if(void 0===s.entryType&&(s.entryType=u.hJ.VECTOR),s.source||(s.source={format:"CSV",separator:","}),s.source.format||(s.source.format="CSV"),s.source.separator||(s.source.separator=","),!s.source.dataAccessPath){var c=s.geoviewLayerConfig.metadataAccessPath,p=c.en,f=c.fr;p=p.split("/").length>1?p.split("/").slice(0,-1).join("/"):"./",f=f.split("/").length>1?f.split("/").slice(0,-1).join("/"):"./",s.source.dataAccessPath={en:p,fr:f}}return null!==(r=s.source.dataAccessPath.en)&&void 0!==r&&r.startsWith("blob")&&(null===(i=s.source.dataAccessPath.en)||void 0===i||!i.endsWith("/"))||null!==(a=s.source.dataAccessPath.en)&&void 0!==a&&a.toUpperCase().endsWith(".CSV")||(s.source.dataAccessPath.en=s.source.dataAccessPath.en.endsWith("/")?"".concat(s.source.dataAccessPath.en).concat(s.layerId):"".concat(s.source.dataAccessPath.en,"/").concat(s.layerId),s.source.dataAccessPath.fr=s.source.dataAccessPath.fr.endsWith("/")?"".concat(s.source.dataAccessPath.fr).concat(s.layerId):"".concat(s.source.dataAccessPath.fr,"/").concat(s.layerId)),s.source.dataProjection||(s.source.dataProjection=d.M.PROJECTION_NAMES.LNGLAT),s}return(0,s.A)(t,e),(0,r.A)(t)}(c.T)},92023:(e,t,n)=>{"use strict";n.d(t,{h:()=>h});var r=n(74780),o=n(41108),i=n(59682),a=n(95947),s=n(89153),l=n(79778);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e,t,n){return t=(0,s.A)(t),(0,a.A)(e,d()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}var h=function(e){function t(e){var n;if((0,i.A)(this,t),n=u(this,t,[e]),Object.assign(n,e),Number.isNaN(n.layerId))throw new Error("The layer entry with layerId equal to ".concat(n.layerPath," must be an integer string"));return n.source||(n.source={format:"EsriJSON"}),n.source.format||(n.source.format="EsriJSON"),n.source.dataAccessPath||(n.source.dataAccessPath=function(e){for(var t=1;t{"use strict";n.d(t,{d:()=>p});var r=n(41108),o=n(59682),i=n(95947),a=n(89153),s=n(79778),l=n(85783),c=n(55231),u=n(91384);function d(e,t,n){return t=(0,a.A)(t),(0,i.A)(e,h()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var p=function(e){function t(e){var n,r,i,a,s,l,h;if((0,o.A)(this,t),h=d(this,t,[e]),Object.assign(h,e),!(h.geoviewLayerConfig.metadataAccessPath||null!==(n=h.source)&&void 0!==n&&n.dataAccessPath))throw new Error("dataAccessPath is mandatory for GeoView layer ".concat(h.geoviewLayerConfig.geoviewLayerId," of type GeoJSON when the metadataAccessPath is undefined."));if(void 0===h.entryType&&(h.entryType=c.hJ.VECTOR),h.source||(h.source={format:"GeoJSON"}),h.source.format||(h.source.format="GeoJSON"),!h.source.dataAccessPath){var p=h.geoviewLayerConfig.metadataAccessPath,f=p.en,g=p.fr;f=f.split("/").length>1?f.split("/").slice(0,-1).join("/"):"./",g=g.split("/").length>1?g.split("/").slice(0,-1).join("/"):"./",h.source.dataAccessPath={en:f,fr:g}}return null!==(r=h.source.dataAccessPath.en)&&void 0!==r&&r.startsWith("blob")&&(null===(i=h.source.dataAccessPath.en)||void 0===i||!i.endsWith("/"))||null!==(a=h.source.dataAccessPath.en)&&void 0!==a&&a.toUpperCase().endsWith(".JSON")||null!==(s=h.source.dataAccessPath.en)&&void 0!==s&&s.toUpperCase().endsWith(".GEOJSON")||null!==(l=h.source.dataAccessPath.en)&&void 0!==l&&l.toUpperCase().endsWith("=JSON")||(h.source.dataAccessPath.en=h.source.dataAccessPath.en.endsWith("/")?"".concat(h.source.dataAccessPath.en).concat(h.layerId):"".concat(h.source.dataAccessPath.en,"/").concat(h.layerId),h.source.dataAccessPath.fr=h.source.dataAccessPath.fr.endsWith("/")?"".concat(h.source.dataAccessPath.fr).concat(h.layerId):"".concat(h.source.dataAccessPath.fr,"/").concat(h.layerId)),h.source.dataProjection||(h.source.dataProjection=u.M.PROJECTION_NAMES.LNGLAT),h}return(0,s.A)(t,e),(0,r.A)(t)}(l.T)},83866:(e,t,n)=>{"use strict";n.d(t,{X:()=>p});var r=n(41108),o=n(59682),i=n(95947),a=n(89153),s=n(79778),l=n(85783),c=n(55231),u=n(91384);function d(e,t,n){return t=(0,a.A)(t),(0,i.A)(e,h()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var p=function(e){function t(e){var n,r,i,a,s;if((0,o.A)(this,t),s=d(this,t,[e]),Object.assign(s,e),void 0===s.entryType&&(s.entryType=c.hJ.VECTOR),s.source||(s.source={format:"GeoPackage"}),s.source.format||(s.source.format="GeoPackage"),!s.source.dataAccessPath){var l=s.geoviewLayerConfig.metadataAccessPath,h=l.en,p=l.fr;h=h.split("/").length>1?h.split("/").slice(0,-1).join("/"):"./",p=p.split("/").length>1?p.split("/").slice(0,-1).join("/"):"./",s.source.dataAccessPath={en:h,fr:p}}return null!==(n=s.source.dataAccessPath.en)&&void 0!==n&&n.startsWith("blob")&&(null===(r=s.source.dataAccessPath.en)||void 0===r||!r.endsWith("/"))||null!==(i=s.source.dataAccessPath.en)&&void 0!==i&&i.toLowerCase().endsWith(".gpkg")||(s.source.dataAccessPath.en=s.source.dataAccessPath.en.endsWith("/")?"".concat(s.source.dataAccessPath.en).concat(s.layerId):"".concat(s.source.dataAccessPath.en,"/").concat(s.layerId),s.source.dataAccessPath.fr=s.source.dataAccessPath.fr.endsWith("/")?"".concat(s.source.dataAccessPath.fr).concat(s.layerId):"".concat(s.source.dataAccessPath.fr,"/").concat(s.layerId)),null!==(a=s)&&void 0!==a&&null!==(a=a.source)&&void 0!==a&&a.dataProjection||(s.source.dataProjection=u.M.PROJECTION_NAMES.LNGLAT),s}return(0,s.A)(t,e),(0,r.A)(t)}(l.T)},73620:(e,t,n)=>{"use strict";n.d(t,{j:()=>f});var r=n(74780),o=n(41108),i=n(59682),a=n(95947),s=n(89153),l=n(79778),c=n(85783),u=n(91384);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e,t,n){return t=(0,s.A)(t),(0,a.A)(e,p()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}var f=function(e){function t(e){var n,o;return(0,i.A)(this,t),o=h(this,t,[e]),Object.assign(o,e),o.source||(o.source={format:"featureAPI"}),null!==(n=o)&&void 0!==n&&null!==(n=n.source)&&void 0!==n&&n.format||(o.source.format="featureAPI"),o.source.dataAccessPath||(o.source.dataAccessPath=function(e){for(var t=1;t{"use strict";n.d(t,{q:()=>f});var r=n(74780),o=n(41108),i=n(59682),a=n(95947),s=n(89153),l=n(79778),c=n(85783),u=n(91384);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e,t,n){return t=(0,s.A)(t),(0,a.A)(e,p()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}var f=function(e){function t(e){var n;return(0,i.A)(this,t),n=h(this,t,[e]),Object.assign(n,e),n.source||(n.source={format:"WFS"}),n.source.format||(n.source.format="WFS"),n.source.dataAccessPath||(n.source.dataAccessPath=function(e){for(var t=1;t{"use strict";n.d(t,{$r:()=>u,Ax:()=>p,DF:()=>d,Dy:()=>r,Fz:()=>f,LK:()=>h,MK:()=>s,RI:()=>l,Tg:()=>a,Xl:()=>i,un:()=>o,vB:()=>g,xb:()=>c});var r="https://github.com/Canadian-Geospatial-Platform/geoview",o={url:"https://geo.ca/",text:"Geo.ca"},i=500,a=[90,-95],s=[100,100,100,100],l={NEW_INSTANCE:"newInstance",PROCESSING:"processing",LOADING:"loading",LOADED:"loaded",ERROR:"error"},c=["ArrowUp","ArrowRight","ArrowDown","ArrowLefts"],u=[].concat(c,["Space"]),d={LEGEND:"legend",DETAILS:"details",LAYERS:"layers",DATA_TABLE:"data-table",GUIDE:"guide",TIME_SLIDER:"time-slider",GEO_CHART:"geochart"},h={lessThanOrEqualTo:"<=",lessThan:"<",greaterThan:">",greaterThanOrEqualTo:">=",empty:"is null",notEmpty:"is not null",between:">",betweenInclusive:">=",equals:"=",notEquals:"<>"},p={greaterThan:"> date 'value'",greaterThanOrEqualTo:">= date 'value'",lessThan:"< date 'value'",lessThanOrEqualTo:"<= date 'value'",equals:"= date 'value'",empty:"is null",notEmpty:"is not null",notEquals:"<> date 'value'",between:"> date 'value'",betweenInclusive:">= date 'value'"},f={contains:"(filterId) like ('%value%')",startsWith:"(filterId) like ('value%')",endsWith:"(filterId) like ('%value')",empty:"(filterId) is null",notEmpty:"(filterId) is not null",equals:"filterId = 'value'",notEquals:"filterId <> 'value'"},g={APP_BAR:"appBar",FOOTER_BAR:"footerBar"}},99937:(e,t,n)=>{"use strict";n.d(t,{P:()=>E});var r=n(32031),o=n(74887),i=n(1839),a=n(59682),s=n(41108),l=n(78185),c=n.n(l),u=n(31770),d=n.n(u),h=n(75274),p=n.n(h),f=n(13246),g=n.n(f);n(20851),n(47658);function m(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}c().extend(p());var y=[[0,1,2,3],[0,1,2,3],["-","-","T","+","00:00"]],v={year:"YYYY",month:"YYYY-MM",day:"YYYY-MM-DD"},b={hour:"THHZ",minute:"THH:mmZ",second:"THH:mm:ssZ"},w={esriTimeUnitsHours:"H",esriTimeUnitsDays:"D",esriTimeUnitsWeeks:"W",esriTimeUnitsMonths:"M",esriTimeUnitsYears:"Y"};c().extend(d()),c().extend(p()),c().extend(g());var A="Invalid Date",x="Invalid Time Dimension Duration",S=function(e){return c()(e).isValid()},C=function(e){return c().isDuration(c().duration(e))},E=function(){function e(){(0,a.A)(this,e)}return(0,s.A)(e,null,[{key:"convertToLocal",value:function(e){if("string"==typeof e&&!S(e))throw new Error("".concat(A," (convertToLocal)"));return c()(e).local().format()}},{key:"formatDate",value:function(e,t){if("string"==typeof e&&!S(e))throw new Error("".concat(A," (convertToLocal)"));return c()(e).format(t)}},{key:"convertToUTC",value:function(e){return"string"!=typeof e||S(e)?c()(e).utc(!1).format():""}},{key:"format",value:function(e,t,n){if("string"==typeof e&&!S(e))throw new Error("".concat(A," (format)"));var r="".concat(v[t]).concat(void 0!==n?b[n]:"");return c()(e).utc(!1).format(r)}},{key:"convertToMilliseconds",value:function(e){if("string"==typeof e&&!S(e))throw new Error("".concat(A," (convertToMilliseconds)"));return c()(e).valueOf()}},{key:"convertMilisecondsToDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DDTHH:mm:ss";return c()(e).utc(!1).format(t)}},{key:"extractDateFormat",value:function(e){if("string"==typeof e&&!S(e))throw new Error("".concat(A," (extractDateFormat)"));var t,n,r=e.split("T"),o=(0,i.A)(r,2),a=o[0],s=o[1];if(t=3===a.split("-").length?"day":2===a.split("-").length?"month":"year",s){var l=s.slice(0,8).split(":").length;return n=3===l?"second":2===l?"minute":"hour","".concat(v[t]).concat(b[n])}return v[t]}},{key:"createDimensionFromESRI",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.startTimeField,o=e.timeExtent,i=e.timeInterval,a=e.timeIntervalUnits,s="".concat(this.convertMilisecondsToDate(o[0]),"Z/").concat(this.convertMilisecondsToDate(o[1]),"Z").concat((t="",void 0!==a&&void 0!==i&&void 0!==w[a]&&(t="/P".concat(i).concat(w[a])),t)),l=this.createRangeOGC(s);return{field:r,default:l.range[l.range.length-1],unitSymbol:"",range:l,nearestValues:""===r?"absolute":"discrete",singleHandle:n}}},{key:"createDimensionFromOGC",value:function(e){var t="object"===(0,o.A)(e)?e:JSON.parse(e);return{field:t.name,default:t.default,unitSymbol:t.unitSymbol||"",range:this.createRangeOGC(t.values),nearestValues:!1!==t.nearestValues?"absolute":"discrete",singleHandle:!0}}},{key:"createRangeOGC",value:function(t){var n={type:"none",range:[]};if(t.split(",").length>1?n={type:"discrete",range:t.replace(/\s/g,"").split(",")}:!function(e){return 2===e.split("/").length}(t)?function(e){return 3===e.split("/").length}(t)&&(n={type:"discrete",range:m(e,this,k).call(this,t)}):n={type:"relative",range:m(e,this,T).call(this,t)},0===n.range.length)throw"Invalid Time Dimension";return n}},{key:"createDateLocaleTooltip",value:function(e,t){return c()(e).locale("".concat(t,"-CA")).format("".concat(e.split("T").length>1?"LLL":"LL"))}},{key:"getDateFragmentsOrder",value:function(e){var t=[-1,-1,-1,-1],n=[-1,-1,-1,-1],o=[],a=[t,n,o];if(e){var s=e.toUpperCase().replace(/Z/,"+00:00"),l=s,c=(0,r.A)(l.matchAll(/[[\]]/g));if(!(l.startsWith("Y")?[0,2]:[0,2,4]).includes(c.length))throw new Error('The string "'.concat(e,'" is an invalid date format.'));if(l=(l=(l=l.replace(/YYYY\[?[-/]MM\[?[-/]DD\[?[\sT]HH:MM:SS\[?[+-]\d\d:\d\d]?/,"")).replace(/\[?DD[-/]]?MM[-/]]?YYYY\[?[\sT]HH:MM:SS\[?[+-]\d\d:\d\d]?/,"")).replace(/MM[-/]DD[-/]YYYY\[?[\sT]HH:MM:SS[+-]\d\d:\d\d]?|(\[MM[-/]DD[-/]]|MM[-/]\[DD[-/]])YYYY\[[T\s]HH:MM:SS[+-]\d\d:\d\d]/,""))throw new Error('The string "'.concat(e,'" is an invalid date format.'));l=s;for(var u=0;u=0&&(n[t[r]]=r)})),f&&(t[3]=3,n[3]=3,o[4]=f.split(/[+-]/)[1]);for(var m=s.replace(/\[[YMDHMS\d\-+/\sT:]*\]|\[[\sTHMS:]*\]/g,"").split(/-|\/|\s|T|\+/g).length;m<4;m++)n[t[m]]=-1;return a}return y}},{key:"applyInputDateFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return e;var r=t[0],o=t[2],a=e.toUpperCase().replace("Z","+00:00").replaceAll(" ","T").split("T"),s=(0,i.A)(a,2),l=s[0],c=s[1];c||(c="00:00:00");var u=l.replaceAll("/","-").toUpperCase().split("-").map((function(e){return 1===e.length?"0".concat(e):e})),d=[];3===u.length?d=u:(u[0].length<3?d[r[1]]=u[0]:d[r[0]]=u[0],u[1]?u[1].length<3?d[r[1]]=u[1]:d[r[0]]=u[1]:d[r[1]]="01",d[r[2]]="01");var h="".concat(d[r[0]],"-").concat(d[r[1]],"-").concat(d[r[2]],"T").concat(c);return 19===h.length&&(h="".concat(h).concat(o[3]).concat(o[4])),h.endsWith("+00:00")?"Z"===e.slice(-1).toUpperCase()&&(h=h.replace("+00:00","Z")):(n&&(h="".concat(h.slice(0,19)).concat("+"===h.slice(19,20)?"-":"+").concat(h.slice(20))),h=this.convertToUTC(h)),h}},{key:"applyOutputDateFormat",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return e;if(t){var r=t[1],o=t[2],a=this.convertToUTC(e);"Z"===a.slice(-1).toUpperCase()&&(a="".concat(a.slice(0,-1),"+00:00"));var s="+"===o[3]?"-":"+",l=this.convertToUTC("".concat(a.toUpperCase().slice(0,-6)).concat(n?s:o[3]).concat(o[4])).split("T"),c=(0,i.A)(l,2),u=c[0],d=c[1],h=u.toUpperCase().split("-"),p="".concat(r[0]+1?"".concat(h[r[0]]):"");return p&&r[1]+1&&(p="".concat(p).concat(o[0])),r[1]+1&&(p="".concat(p).concat(h[r[1]])),p&&r[2]+1&&(p="".concat(p).concat(o[0])),r[2]+1&&(p="".concat(p).concat(h[r[2]])),r[3]+1&&(p="".concat(p).concat(o[2]).concat(d.slice(0,8))),p}return e}},{key:"deduceDateFormat",value:function(e){var t=null!==e?e.toUpperCase().replaceAll("/","-").replaceAll(" ","T"):"YYYY-MM-DD";return 4===(t=t.replace(/\d{4}/,"YYYY").replace(/^\d{1,2}(?=-\d{1,2}-YYYY)|((?<=^YYYY-\d-)|(?<=^YYYY-\d\d-))\d{1,2}/,"DD").replace(/(?<=^DD-)\d{1,2}(?=-YYYY)|(?<=^YYYY-)\d{1,2}(?=-DD)/,"MM").replace(/(?<=T)\d{1,2}/,"HH").replace(/(?<=THH:)\d{1,2}/,"MM").replace(/(?<=THH:MM:)\d{1,2}/,"SS")).length?t="".concat(t,"-MM-DDTHH:MM:SSZ"):7===t.length?t=t.startsWith("YYYY")?"".concat(t,"-DDTHH:MM:SSZ"):"DD-".concat(t,"THH:MM:SSZ"):10===t.length?t="".concat(t,"THH:MM:SSZ"):19===t.length&&(t="".concat(t,"Z")),t}},{key:"getDayjsDate",value:function(e){return c()(e)}}])}();function k(e){var t=e.split("/"),n=(0,i.A)(t,3),r=n[0],o=n[1],a=n[2];if(!S(r))throw new Error("".concat(A," (createAbsoluteInterval)"));if(!S(o))throw new Error("".concat(A," (createAbsoluteInterval)"));if(!C(a))throw x;var s="Z"===r.slice(-1).toUpperCase(),l=this.extractDateFormat(r),u=s?"".concat(c()(r).utc(!1).format(l).slice(0,-6),"Z"):c()(r).utc(!1).format(l),d=s?"".concat(c()(o).utc(!1).format(l).slice(0,-6),"Z"):c()(o).utc(!1).format(l),h=c().duration(a).asMilliseconds(),p=c().duration(h),f=[],g=0;f.push(u);do{var m=c()(f[g]).add(p).utc(!1).format(l);s&&(m="".concat(m.slice(0,-6),"Z")),f.push(m),31536e6===h&&f[g].slice(4,10)!==f[g+1].slice(4,10)&&(m=c()(f[g]).add(c().duration({milliseconds:316224e5})).utc(!1).format(l),s&&(m="".concat(m.slice(0,-6),"Z")),f[g+1]=m),g++}while(c()(f[f.length-1]).isBefore(d));return f.push(d),f}function T(e){var t=e.split("/"),n=(0,i.A)(t,2),r=n[0],o=n[1];if(!C(o)&&!S(o))throw x;if(!S(r))throw new Error("".concat(A," (createRelativeIntervale)"));var a=this.extractDateFormat(r),s=c().duration(o),l=c()(r).utc(!1).format(a),u=S(o)?c()(o):c()(r).add(s);return[l,c()(u).utc(!1).format(a)]}},66700:(e,t,n)=>{"use strict";n.d(t,{vF:()=>D});var r,o=n(59682),i=n(41108),a=n(74780),s=n(86973),l=n.n(s),c=function(e,t){try{var n=localStorage.getItem(e),r=Number(n);if(r&&!Number.isNaN(r))return r}catch(e){}return t};function u(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function d(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var h,p,f,g=1,m=2,y=3,v=4,b=5,w=6,A=8,x=9,S=10,C=20,E=30,k=40,T=50,_=!!c("GEOVIEW_LOG_ACTIVE"),O=(p=C,f=function(e,t){try{var n=localStorage.getItem(e);if(null!=n&&n.includes(","))return n.split(",").map((function(e){return Number(e.trim())})).filter((function(e){return!!e&&!Number.isNaN(e)}));var r=Number(n);if(r&&!Number.isNaN(r))return r}catch(e){}return t}(h="GEOVIEW_LOG_LEVEL"),void 0!==f?f:(localStorage.setItem(h,p.toString()),p)),P=new WeakSet,I=function(){return(0,i.A)((function e(t){(0,o.A)(this,e),u(this,P),(0,a.A)(this,"loggingLevel",void 0),(0,a.A)(this,"markers",{}),(0,a.A)(this,"trackers",{}),(0,a.A)(this,"trackerInterval",100),this.loggingLevel=t}),[{key:"logTraceDetailed",value:function(){var e;if(_){for(var t=arguments.length,n=new Array(t),r=0;r1?n-1:0),o=1;o1?n-1:0),o=1;o1?n-1:0),o=1;o1?n-1:0),o=1;o1?n-1:0),o=1;o1?n-1:0),o=1;o1?n-1:0),o=1;o1?s-1:0),c=1;c1?t-1:0),r=1;r=C||this.loggingLevel.includes(e):this.loggingLevel<=e}function L(e,t,n){for(var o,i=arguments.length,a=new Array(i>3?i-3:0),s=3;s1?n-1:0),i=1;i1?n-1:0),i=1;i{"use strict";n.d(t,{T$:()=>d,yb:()=>h});var r=n(80180),o=n(74780),i=n(64417),a=n.n(i),s=n(78283);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{addUiComponent:()=>x,createGuideObject:()=>F,createLocalizedString:()=>h,delay:()=>L,escapeRegExp:()=>R,exportPNG:()=>k,findPropertyNameByRegex:()=>T,generateId:()=>m,getLocalizedMessage:()=>f,getLocalizedValue:()=>p,getScriptAndAssetURL:()=>g,getXMLHttpRequest:()=>A,isImage:()=>_,isJsonString:()=>b,parseJSONConfig:()=>E,removeCommentsFromJSON:()=>C,replaceParams:()=>y,sanitizeHtmlContent:()=>S,setAlphaColor:()=>v,stringify:()=>O,whenThisThen:()=>M,whenThisThenThat:()=>I,xmlToJson:()=>w});var r=n(80180),o=n(64417),i=n.n(o),a=n(17004),s=n(51659),l=n(17309),c=n.n(l),u=n(67475),d=n(66700);function h(e){return{en:e,fr:e}}function p(e,t){if(e)return e[t]}function f(e,t){return s.Ay.getFixedT(t)(e)}function g(){var e=document.getElementsByTagName("script"),t="";if(e&&e.length)for(var n=0;n0?e:(Date.now().toString(36)+Math.random().toString(36).substr(2,5)).toUpperCase()}function y(e,t){var n=t;return e.forEach((function(e){n=n.replace("__param__",e)})),n}function v(e,t){var n=e;return n[3]=t,n}function b(e){try{if(""===e)return!1;JSON.parse(e)}catch(t){return d.vF.logError("- Invalid JSON string. String passed to the JSON parser:",e,"- JSON Parser error:",t.message,"- See text above."),!1}return!0}function w(e){var t={};if(1===e.nodeType){var n=(0,u.KX)(e);if(n.attributes&&n.attributes.length>0){t["@attributes"]={};for(var r=0;r=400&&t("{}")},n.onerror=function(){t("{}")},n.send(null)}catch(e){t("{}")}}))}function x(e,t){var n=(0,a.H)(document.getElementById(e));return n.render(t),n}function S(e){return c()(e)}function C(e){return e.split(/(?3&&void 0!==arguments[3]?arguments[3]:1e4,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:100;P(e,t,n,new Date,r,o)}function M(e,t,n){return new Promise((function(r,o){I(e,r,o,t,n)}))}var L=function(e){return new Promise((function(t){setTimeout(t,e)}))};function R(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function j(e){return e.split("\n")[0].trim().split(" ").filter((function(e){return!e.startsWith("#")&&!e.startsWith("!")})).join(" ")}function F(e,t,n){return D.apply(this,arguments)}function D(){return(D=(0,r.A)(i().mark((function e(t,n,r){var o,a,s,l,c,u,h,p,f,g,m,y,v,b,w,A,x,S,C,E,k,T;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("".concat(r,"/locales/").concat(n,"/guide.md"));case 3:return o=e.sent,e.next=6,o.text();case 6:for(a=e.sent,(s=a.replaceAll("{{assetsURL}}",r).split(/=(?=1!)(.*?)=/))[0].trim()||s.shift(),l={},c=0;c1)for(y=1;y{"use strict";n.d(t,{X:()=>ue});var r=n(59682),o=n(41108),i=n(95947),a=n(71104),s=n(89153),l=n(79778),c=n(82449),u=n(22288),d=n(41320),h=n(20662),p=n(31997),f=n(49878),g=n(24438),m=n(1786),y=n(98962),v=n(67087),b=n(4180),w=n(1660),A=n(62767),x=n(80366),S=n(17567),C=n(44999),E=n(83605),k=n(92425),T=n(99565),_=n(41218),O=n(24356),P=n(25899),I=n(45800),M=n(34336),L=n(6819);const R="drawstart",j="drawend",F="drawabort";class D extends u.Ay{constructor(e,t){super(e),this.feature=t}}function N(e,t){return(0,O.hG)(e[0],e[1],t[0],t[1])}function z(e,t){const n=e.length;return t<0?e[t+n]:t>=n?e[t-n]:e[t]}function B(e,t,n){let r,o;ta){return N(q(e,r),q(e,o))}let s=0;if(r=n?r-=n:r<0&&(r+=n);let i=r+1;i>=n&&(i-=n);const a=e[r],s=a[0],l=a[1],c=e[i];return[s+(c[0]-s)*o,l+(c[1]-l)*o]}class H extends x.A{constructor(e){const t=e;t.stopDown||(t.stopDown=k.W8),super(t),this.on,this.once,this.un,this.shouldHandle_=!1,this.downPx_=null,this.downTimeout_,this.lastDragTime_,this.pointerType_,this.freehand_=!1,this.source_=e.source?e.source:null,this.features_=e.features?e.features:null,this.snapTolerance_=e.snapTolerance?e.snapTolerance:12,this.type_=e.type,this.mode_=function(e){switch(e){case"Point":case"MultiPoint":return"Point";case"LineString":case"MultiLineString":return"LineString";case"Polygon":case"MultiPolygon":return"Polygon";case"Circle":return"Circle";default:throw new Error("Invalid type: "+e)}}(this.type_),this.stopClick_=!!e.stopClick,this.minPoints_=e.minPoints?e.minPoints:"Polygon"===this.mode_?3:2,this.maxPoints_="Circle"===this.mode_?2:e.maxPoints?e.maxPoints:1/0,this.finishCondition_=e.finishCondition?e.finishCondition:k.rT,this.geometryLayout_=e.geometryLayout?e.geometryLayout:"XY";let n=e.geometryFunction;if(!n){const e=this.mode_;if("Circle"===e)n=function(e,t,n){const r=t||new c.A([NaN,NaN]),o=(0,M.Ad)(e[0],n),i=(0,I.hG)(o,(0,M.Ad)(e[e.length-1],n));r.setCenterAndRadius(o,Math.sqrt(i),this.geometryLayout_);const a=(0,M.Tf)();return a&&r.transform(n,a),r};else{let t;"Point"===e?t=A.A:"LineString"===e?t=g.A:"Polygon"===e&&(t=S.Ay),n=function(n,r,o){return r?"Polygon"===e?n[0].length?r.setCoordinates([n[0].concat([n[0][0]])],this.geometryLayout_):r.setCoordinates([],this.geometryLayout_):r.setCoordinates(n,this.geometryLayout_):r=new t(n,this.geometryLayout_),r}}}this.geometryFunction_=n,this.dragVertexDelay_=void 0!==e.dragVertexDelay?e.dragVertexDelay:500,this.finishCoordinate_=null,this.sketchFeature_=null,this.sketchPoint_=null,this.sketchCoords_=null,this.sketchLine_=null,this.sketchLineCoords_=null,this.squaredClickTolerance_=e.clickTolerance?e.clickTolerance*e.clickTolerance:36,this.overlay_=new C.A({source:new E.A({useSpatialIndex:!1,wrapX:!!e.wrapX&&e.wrapX}),style:e.style?e.style:Y(),updateWhileInteracting:!0}),this.geometryName_=e.geometryName,this.condition_=e.condition?e.condition:T.TS,this.freehandCondition_,e.freehand?this.freehandCondition_=T.Gk:this.freehandCondition_=e.freehandCondition?e.freehandCondition:T.Kg,this.traceCondition_,this.setTrace(e.trace||!1),this.traceState_={active:!1},this.traceSource_=e.traceSource||e.source||null,this.addChangeListener(f.A.ACTIVE,this.updateState_)}setTrace(e){let t;t=e?!0===e?T.Gk:e:T.Zm,this.traceCondition_=t}setMap(e){super.setMap(e),this.updateState_()}getOverlay(){return this.overlay_}handleEvent(e){e.originalEvent.type===d.A.CONTEXTMENU&&e.originalEvent.preventDefault(),this.freehand_="Point"!==this.mode_&&this.freehandCondition_(e);let t=e.type===y.A.POINTERMOVE,n=!0;if(!this.freehand_&&this.lastDragTime_&&e.type===y.A.POINTERDRAG){Date.now()-this.lastDragTime_>=this.dragVertexDelay_?(this.downPx_=e.pixel,this.shouldHandle_=!this.freehand_,t=!0):this.lastDragTime_=void 0,this.shouldHandle_&&void 0!==this.downTimeout_&&(clearTimeout(this.downTimeout_),this.downTimeout_=void 0)}return this.freehand_&&e.type===y.A.POINTERDRAG&&null!==this.sketchFeature_?(this.addToDrawing_(e.coordinate),n=!1):this.freehand_&&e.type===y.A.POINTERDOWN?n=!1:t&&this.getPointerCount()<2?(n=e.type===y.A.POINTERMOVE,n&&this.freehand_?(this.handlePointerMove_(e),this.shouldHandle_&&e.originalEvent.preventDefault()):("mouse"===e.originalEvent.pointerType||e.type===y.A.POINTERDRAG&&void 0===this.downTimeout_)&&this.handlePointerMove_(e)):e.type===y.A.DBLCLICK&&(n=!1),super.handleEvent(e)&&n}handleDownEvent(e){return this.shouldHandle_=!this.freehand_,this.freehand_?(this.downPx_=e.pixel,this.finishCoordinate_||this.startDrawing_(e.coordinate),!0):this.condition_(e)?(this.lastDragTime_=Date.now(),this.downTimeout_=setTimeout((()=>{this.handlePointerMove_(new m.A(y.A.POINTERMOVE,e.map,e.originalEvent,!1,e.frameState))}),this.dragVertexDelay_),this.downPx_=e.pixel,!0):(this.lastDragTime_=void 0,!1)}deactivateTrace_(){this.traceState_={active:!1}}toggleTraceState_(e){if(!this.traceSource_||!this.traceCondition_(e))return;if(this.traceState_.active)return void this.deactivateTrace_();const t=this.getMap(),n=t.getCoordinateFromPixel([e.pixel[0]-this.snapTolerance_,e.pixel[1]+this.snapTolerance_]),r=t.getCoordinateFromPixel([e.pixel[0]+this.snapTolerance_,e.pixel[1]-this.snapTolerance_]),o=(0,_.boundingExtent)([n,r]),i=this.traceSource_.getFeaturesInExtent(o);if(0===i.length)return;const a=function(e,t){const n=[];for(let r=0;re.endIndex||!n&&te.endIndex)&&this.removeTracedCoordinates_(t,e.endIndex):(this.removeTracedCoordinates_(e.startIndex,e.endIndex),this.addTracedCoordinates_(e,e.startIndex,t))}removeTracedCoordinates_(e,t){if(e===t)return;let n=0;if(e0&&this.removeLastPoints_(n)}addTracedCoordinates_(e,t,n){if(t===n)return;const r=[];if(t=i;--t)r.push(z(e.coordinates,t))}r.length&&this.appendCoordinates(r)}updateTrace_(e){const t=this.traceState_;if(!t.active)return;if(-1===t.targetIndex&&(0,I.Io)(t.startPx,e.pixel)n.startIndex?cn.startIndex&&(c-=r.length)),l=c,s=e)}const c=t.targets[s];let u=c.ring;if(t.targetIndex===s&&u){const e=q(c.coordinates,l),o=n.getPixelFromCoordinate(e);(0,I.Io)(o,t.startPx)>r&&(u=!1)}if(u){const e=c.coordinates,t=e.length,n=c.startIndex,r=l;if(nthis.squaredClickTolerance_:i<=this.squaredClickTolerance_,!this.shouldHandle_)return}this.finishCoordinate_?(this.updateTrace_(e),this.modifyDrawing_(e.coordinate)):this.createOrUpdateSketchPoint_(e.coordinate.slice())}atFinish_(e,t){let n=!1;if(this.sketchFeature_){let r=!1,o=[this.finishCoordinate_];const i=this.mode_;if("Point"===i)n=!0;else if("Circle"===i)n=2===this.sketchCoords_.length;else if("LineString"===i)r=!t&&this.sketchCoords_.length>this.minPoints_;else if("Polygon"===i){const e=this.sketchCoords_;r=e[0].length>this.minPoints_,o=[e[0][0],e[0][e[0].length-2]],o=t?[e[0][0]]:[e[0][0],e[0][e[0].length-2]]}if(r){const t=this.getMap();for(let r=0,i=o.length;r=this.maxPoints_&&(this.freehand_?o.pop():r=!0),o.push(e.slice()),this.geometryFunction_(o,t,n)):"Polygon"===i&&(o=this.sketchCoords_[0],o.length>=this.maxPoints_&&(this.freehand_?o.pop():r=!0),o.push(e.slice()),r&&(this.finishCoordinate_=o[0]),this.geometryFunction_(this.sketchCoords_,t,n)),this.createOrUpdateSketchPoint_(e.slice()),this.updateSketchFeatures_(),r?this.finishDrawing():this.sketchFeature_}removeLastPoints_(e){if(!this.sketchFeature_)return;const t=this.sketchFeature_.getGeometry(),n=this.getMap().getView().getProjection(),r=this.mode_;for(let o=0;o=2){this.finishCoordinate_=e[e.length-2].slice();const t=this.finishCoordinate_.slice();e[e.length-1]=t,this.createOrUpdateSketchPoint_(t)}this.geometryFunction_(e,t,n),"Polygon"===t.getType()&&this.sketchLine_&&this.createOrUpdateCustomSketchLine_(t)}else if("Polygon"===r){e=this.sketchCoords_[0],e.splice(-2,1);const r=this.sketchLine_.getGeometry();if(e.length>=2){const t=e[e.length-2].slice();e[e.length-1]=t,this.createOrUpdateSketchPoint_(t)}r.setCoordinates(e),this.geometryFunction_(this.sketchCoords_,t,n)}if(1===e.length){this.abortDrawing();break}}this.updateSketchFeatures_()}removeLastPoint(){this.removeLastPoints_(1)}finishDrawing(){const e=this.abortDrawing_();if(!e)return null;let t=this.sketchCoords_;const n=e.getGeometry(),r=this.getMap().getView().getProjection();return"LineString"===this.mode_?(t.pop(),this.geometryFunction_(t,n,r)):"Polygon"===this.mode_&&(t[0].pop(),this.geometryFunction_(t,n,r),t=n.getCoordinates()),"MultiPoint"===this.type_?e.setGeometry(new b.A([t])):"MultiLineString"===this.type_?e.setGeometry(new v.A([t])):"MultiPolygon"===this.type_&&e.setGeometry(new w.A([t])),this.dispatchEvent(new D(j,e)),this.features_&&this.features_.push(e),this.source_&&this.source_.addFeature(e),e}abortDrawing_(){this.finishCoordinate_=null;const e=this.sketchFeature_;return this.sketchFeature_=null,this.sketchPoint_=null,this.sketchLine_=null,this.overlay_.getSource().clear(!0),this.deactivateTrace_(),e}abortDrawing(){const e=this.abortDrawing_();e&&this.dispatchEvent(new D(F,e))}appendCoordinates(e){const t=this.mode_,n=!this.sketchFeature_;let r;if(n&&this.startDrawing_(e[0]),"LineString"===t||"Circle"===t)r=this.sketchCoords_;else{if("Polygon"!==t)return;r=this.sketchCoords_&&this.sketchCoords_.length?this.sketchCoords_[0]:[]}n&&r.shift(),r.pop();for(let t=0;t{"use strict";n.d(t,{z:()=>$});var r=n(59682),o=n(41108),i=n(95947),a=n(71104),s=n(89153),l=n(79778),c=n(22288),u=n(20662),d=n(98962),h=n(62767),p=n(80366),f=n(44999),g=n(83605),m=n(99565),y=n(41218),v=n(45800),b=n(25899),w=n(17567),A=n(34336);const x="extentchanged";class S extends c.Ay{constructor(e){super(x),this.extent=e}}class C extends p.A{constructor(e){super(e=e||{}),this.on,this.once,this.un,this.condition_=e.condition?e.condition:m.Gk,this.extent_=null,this.pointerHandler_=null,this.pixelTolerance_=void 0!==e.pixelTolerance?e.pixelTolerance:10,this.snappedToVertex_=!1,this.extentFeature_=null,this.vertexFeature_=null,e||(e={}),this.extentOverlay_=new f.A({source:new g.A({useSpatialIndex:!1,wrapX:!!e.wrapX}),style:e.boxStyle?e.boxStyle:E(),updateWhileAnimating:!0,updateWhileInteracting:!0}),this.vertexOverlay_=new f.A({source:new g.A({useSpatialIndex:!1,wrapX:!!e.wrapX}),style:e.pointerStyle?e.pointerStyle:k(),updateWhileAnimating:!0,updateWhileInteracting:!0}),e.extent&&this.setExtent(e.extent)}snapToVertex_(e,t){const n=t.getCoordinateFromPixelInternal(e),r=function(e,t){return(0,v.$x)(n,e)-(0,v.$x)(n,t)},o=this.getExtentInternal();if(o){const i=function(e){return[[[e[0],e[1]],[e[0],e[3]]],[[e[0],e[3]],[e[2],e[3]]],[[e[2],e[3]],[e[2],e[1]]],[[e[2],e[1]],[e[0],e[1]]]]}(o);i.sort(r);const a=i[0];let s=(0,v.sG)(n,a);const l=t.getPixelFromCoordinateInternal(s);if((0,v.Io)(e,l)<=this.pixelTolerance_){const e=t.getPixelFromCoordinateInternal(a[0]),n=t.getPixelFromCoordinateInternal(a[1]),r=(0,v.hG)(l,e),o=(0,v.hG)(l,n),i=Math.sqrt(Math.min(r,o));return this.snappedToVertex_=i<=this.pixelTolerance_,this.snappedToVertex_&&(s=r>o?a[1]:a[0]),s}}return null}handlePointerMove_(e){const t=e.pixel,n=e.map;let r=this.snapToVertex_(t,n);r||(r=n.getCoordinateFromPixelInternal(t)),this.createOrUpdatePointerFeature_(r)}createOrUpdateExtentFeature_(e){let t=this.extentFeature_;return t?e?t.setGeometry((0,w.VY)(e)):t.setGeometry(void 0):(t=e?new u.A((0,w.VY)(e)):new u.A({}),this.extentFeature_=t,this.extentOverlay_.getSource().addFeature(t)),t}createOrUpdatePointerFeature_(e){let t=this.vertexFeature_;if(t){t.getGeometry().setCoordinates(e)}else t=new u.A(new h.A(e)),this.vertexFeature_=t,this.vertexOverlay_.getSource().addFeature(t);return t}handleEvent(e){return!e.originalEvent||!this.condition_(e)||(e.type!=d.A.POINTERMOVE||this.handlingDownUpSequence||this.handlePointerMove_(e),super.handleEvent(e),!1)}handleDownEvent(e){const t=e.pixel,n=e.map,r=this.getExtentInternal();let o=this.snapToVertex_(t,n);const i=function(e){let t=null,n=null;return e[0]==r[0]?t=r[2]:e[0]==r[2]&&(t=r[0]),e[1]==r[1]?n=r[3]:e[1]==r[3]&&(n=r[1]),null!==t&&null!==n?[t,n]:null};if(o&&r){const e=o[0]==r[0]||o[0]==r[2]?o[0]:null,t=o[1]==r[1]||o[1]==r[3]?o[1]:null;null!==e&&null!==t?this.pointerHandler_=T(i(o)):null!==e?this.pointerHandler_=_(i([e,r[1]]),i([e,r[3]])):null!==t&&(this.pointerHandler_=_(i([r[0],t]),i([r[2],t])))}else o=n.getCoordinateFromPixelInternal(t),this.setExtent([o[0],o[1],o[0],o[1]]),this.pointerHandler_=T(o);return!0}handleDragEvent(e){if(this.pointerHandler_){const t=e.coordinate;this.setExtent(this.pointerHandler_(t)),this.createOrUpdatePointerFeature_(t)}}handleUpEvent(e){this.pointerHandler_=null;const t=this.getExtentInternal();return t&&0!==(0,y.getArea)(t)||this.setExtent(null),!1}setMap(e){this.extentOverlay_.setMap(e),this.vertexOverlay_.setMap(e),super.setMap(e)}getExtent(){return(0,A.JR)(this.getExtentInternal(),this.getMap().getView().getProjection())}getExtentInternal(){return this.extent_}setExtent(e){this.extent_=e||null,this.createOrUpdateExtentFeature_(e),this.dispatchEvent(new S(this.extent_))}}function E(){const e=(0,b.mY)();return function(t,n){return e.Polygon}}function k(){const e=(0,b.mY)();return function(t,n){return e.Point}}function T(e){return function(t){return(0,y.boundingExtent)([e,t])}}function _(e,t){return e[0]==t[0]?function(n){return(0,y.boundingExtent)([e,[n[0],t[1]]])}:e[1]==t[1]?function(n){return(0,y.boundingExtent)([e,[t[0],n[1]]])}:null}const O=C;var P=n(52780),I=n(7031),M=n(87523);function L(e,t,n){return t=(0,s.A)(t),(0,i.A)(e,R()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function R(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(R=function(){return!!e})()}function j(e,t,n){F(e,t),t.set(e,n)}function F(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function D(e,t){return e.get(N(e,t))}function N(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var z=new WeakMap,B=new WeakMap,V=new WeakSet,$=function(e){function t(e){var n,o,i;(0,r.A)(this,t),n=L(this,t,[e]),F(o=n,i=V),i.add(o),j(n,z,void 0),j(n,B,[]);var a={condition:m.Kg,boxStyle:(0,I.convertTypeFeatureStyleToOpenLayersStyle)(e.boxStyle),pixelTolerance:e.pixelTolerance||0};return function(e,t,n){e.set(N(e,t),n)}(z,n,new O(a)),D(z,n).on("extentchanged",N(V,n,G).bind(n)),n}return(0,l.A)(t,e),(0,o.A)(t,[{key:"startInteraction",value:function(){(0,a.A)((0,s.A)(t.prototype),"startInteraction",this).call(this,D(z,this))}},{key:"stopInteraction",value:function(){(0,a.A)((0,s.A)(t.prototype),"stopInteraction",this).call(this,D(z,this))}},{key:"onExtentChanged",value:function(e){P.A.onEvent(D(B,this),e)}},{key:"offExtentChanged",value:function(e){P.A.offEvent(D(B,this),e)}}])}(M.N);function G(e){P.A.emitEvent(this,D(B,this),e)}},87523:(e,t,n)=>{"use strict";n.d(t,{N:()=>a});var r=n(59682),o=n(41108),i=n(74780),a=function(){return(0,o.A)((function e(t){(0,r.A)(this,e),(0,i.A)(this,"mapViewer",void 0),this.mapViewer=t.mapViewer}),[{key:"startInteraction",value:function(e){this.mapViewer.map.addInteraction(e)}},{key:"stopInteraction",value:function(e){this.mapViewer.map.removeInteraction(e)}}])}()},72591:(e,t,n)=>{"use strict";n.d(t,{B:()=>Q});var r=n(59682),o=n(41108),i=n(95947),a=n(71104),s=n(89153),l=n(79778),c=n(64874),u=n(75320),d=n(22288),h=n(41320),p=n(20662),f=n(98962),g=n(62767),m=n(80366),y=n(6013),v=n(10809),b=n(44999),w=n(83605),A=n(99565),x=n(41218),S=n(45800),C=n(25899),E=n(17217),k=n(17567),T=n(34336),_=n(94994);const O=[0,0,0,0],P=[],I="modifystart",M="modifyend";class L extends d.Ay{constructor(e,t,n){super(e),this.features=t,this.mapBrowserEvent=n}}class R extends m.A{constructor(e){let t;if(super(e),this.on,this.once,this.un,this.boundHandleFeatureChange_=this.handleFeatureChange_.bind(this),this.condition_=e.condition?e.condition:A.fs,this.defaultDeleteCondition_=function(e){return(0,A.Js)(e)&&(0,A.t5)(e)},this.deleteCondition_=e.deleteCondition?e.deleteCondition:this.defaultDeleteCondition_,this.insertVertexCondition_=e.insertVertexCondition?e.insertVertexCondition:A.Gk,this.vertexFeature_=null,this.vertexSegments_=null,this.lastPixel_=[0,0],this.ignoreNextSingleClick_=!1,this.featuresBeingModified_=null,this.rBush_=new y.A,this.pixelTolerance_=void 0!==e.pixelTolerance?e.pixelTolerance:10,this.snappedToVertex_=!1,this.changingFeature_=!1,this.dragSegments_=[],this.overlay_=new b.A({source:new w.A({useSpatialIndex:!1,wrapX:!!e.wrapX}),style:e.style?e.style:N(),updateWhileAnimating:!0,updateWhileInteracting:!0}),this.SEGMENT_WRITERS_={Point:this.writePointGeometry_.bind(this),LineString:this.writeLineStringGeometry_.bind(this),LinearRing:this.writeLineStringGeometry_.bind(this),Polygon:this.writePolygonGeometry_.bind(this),MultiPoint:this.writeMultiPointGeometry_.bind(this),MultiLineString:this.writeMultiLineStringGeometry_.bind(this),MultiPolygon:this.writeMultiPolygonGeometry_.bind(this),Circle:this.writeCircleGeometry_.bind(this),GeometryCollection:this.writeGeometryCollectionGeometry_.bind(this)},this.source_=null,this.hitDetection_=null,e.features?t=e.features:e.source&&(this.source_=e.source,t=new c.A(this.source_.getFeatures()),this.source_.addEventListener(v.A.ADDFEATURE,this.handleSourceAdd_.bind(this)),this.source_.addEventListener(v.A.REMOVEFEATURE,this.handleSourceRemove_.bind(this))),!t)throw new Error("The modify interaction requires features, a source or a layer");e.hitDetection&&(this.hitDetection_=e.hitDetection),this.features_=t,this.features_.forEach(this.addFeature_.bind(this)),this.features_.addEventListener(u.A.ADD,this.handleFeatureAdd_.bind(this)),this.features_.addEventListener(u.A.REMOVE,this.handleFeatureRemove_.bind(this)),this.lastPointerEvent_=null,this.delta_=[0,0],this.snapToPointer_=void 0===e.snapToPointer?!this.hitDetection_:e.snapToPointer}addFeature_(e){const t=e.getGeometry();if(t){const n=this.SEGMENT_WRITERS_[t.getType()];n&&n(e,t)}const n=this.getMap();n&&n.isRendered()&&this.getActive()&&this.handlePointerAtPixel_(this.lastPixel_,n),e.addEventListener(h.A.CHANGE,this.boundHandleFeatureChange_)}willModifyFeatures_(e,t){if(!this.featuresBeingModified_){this.featuresBeingModified_=new c.A;const n=this.featuresBeingModified_.getArray();for(let e=0,r=t.length;e=0;--e){const r=n[e];for(let e=this.dragSegments_.length-1;e>=0;--e)this.dragSegments_[e][0]===r&&this.dragSegments_.splice(e,1);t.remove(r)}}setActive(e){this.vertexFeature_&&!e&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),super.setActive(e)}setMap(e){this.overlay_.setMap(e),super.setMap(e)}getOverlay(){return this.overlay_}handleSourceAdd_(e){e.feature&&this.features_.push(e.feature)}handleSourceRemove_(e){e.feature&&this.features_.remove(e.feature)}handleFeatureAdd_(e){this.addFeature_(e.element)}handleFeatureChange_(e){if(!this.changingFeature_){const t=e.target;this.removeFeature_(t),this.addFeature_(t)}}handleFeatureRemove_(e){this.removeFeature_(e.element)}writePointGeometry_(e,t){const n=t.getCoordinates(),r={feature:e,geometry:t,segment:[n,n]};this.rBush_.insert(t.getExtent(),r)}writeMultiPointGeometry_(e,t){const n=t.getCoordinates();for(let r=0,o=n.length;r=0;--e)this.insertVertex_(o[e],i)}return!!this.vertexFeature_}handleUpEvent(e){for(let t=this.dragSegments_.length-1;t>=0;--t){const n=this.dragSegments_[t][0],r=n.geometry;if("Circle"===r.getType()){const t=r.getCenter(),o=n.featureSegments[0],i=n.featureSegments[1];o.segment[0]=t,o.segment[1]=t,i.segment[0]=t,i.segment[1]=t,this.rBush_.update((0,x.createOrUpdateFromCoordinate)(t),o);let a=r;const s=(0,T.Tf)();if(s){const t=e.map.getView().getProjection();a=a.clone().transform(s,t),a=(0,k.nD)(a).transform(t,s)}this.rBush_.update(a.getExtent(),i)}else this.rBush_.update((0,x.boundingExtent)(n.segment),n)}return this.featuresBeingModified_&&(this.dispatchEvent(new L(M,this.featuresBeingModified_,e)),this.featuresBeingModified_=null),!1}handlePointerMove_(e){this.lastPixel_=e.pixel,this.handlePointerAtPixel_(e.pixel,e.map,e.coordinate)}handlePointerAtPixel_(e,t,n){const r=n||t.getCoordinateFromPixel(e),o=t.getView().getProjection(),i=function(e,t){return F(r,e,o)-F(r,t,o)};let a,s;if(this.hitDetection_){const n="object"==typeof this.hitDetection_?e=>e===this.hitDetection_:void 0;t.forEachFeatureAtPixel(e,((e,t,n)=>{n&&"Point"===n.getType()&&(n=new g.A((0,T.te)(n.getCoordinates(),o)));const r=n||e.getGeometry();if(e instanceof p.A&&this.features_.getArray().includes(e)){s=r;const t=e.getGeometry().getFlatCoordinates().slice(0,2);a=[{feature:e,geometry:s,segment:[t,t]}]}return!0}),{layerFilter:n})}if(!a){const e=(0,T.SD)((0,x.createOrUpdateFromCoordinate)(r,O),o),n=t.getView().getResolution()*this.pixelTolerance_,i=(0,T.JR)((0,x.buffer)(e,n,O),o);a=this.rBush_.getInExtent(i)}if(a&&a.length>0){const n=a.sort(i)[0],l=n.segment;let c=D(r,n,o);const u=t.getPixelFromCoordinate(c);let d=(0,S.Io)(e,u);if(s||d<=this.pixelTolerance_){const e={};if(e[(0,_.v6)(l)]=!0,this.snapToPointer_||(this.delta_[0]=c[0]-r[0],this.delta_[1]=c[1]-r[1]),"Circle"===n.geometry.getType()&&1===n.index)this.snappedToVertex_=!0,this.createOrUpdateVertexFeature_(c,[n.feature],[n.geometry]);else{const r=t.getPixelFromCoordinate(l[0]),o=t.getPixelFromCoordinate(l[1]),i=(0,S.hG)(u,r),s=(0,S.hG)(u,o);d=Math.sqrt(Math.min(i,s)),this.snappedToVertex_=d<=this.pixelTolerance_,this.snappedToVertex_&&(c=i>s?l[1]:l[0]),this.createOrUpdateVertexFeature_(c,[n.feature],[n.geometry]);const h={};h[(0,_.v6)(n.geometry)]=!0;for(let t=1,n=a.length;t=0;--a)o=e[a],d=o[0],h=(0,_.v6)(d.feature),d.depth&&(h+="-"+d.depth.join("-")),h in t||(t[h]={}),0===o[1]?(t[h].right=d,t[h].index=d.index):1==o[1]&&(t[h].left=d,t[h].index=d.index+1);for(h in t){switch(u=t[h].right,l=t[h].left,s=t[h].index,c=s-1,d=void 0!==l?l:u,c<0&&(c=0),i=d.geometry,r=i.getCoordinates(),n=r,p=!1,i.getType()){case"MultiLineString":r[d.depth[0]].length>2&&(r[d.depth[0]].splice(s,1),p=!0);break;case"LineString":r.length>2&&(r.splice(s,1),p=!0);break;case"MultiPolygon":n=n[d.depth[1]];case"Polygon":n=n[d.depth[0]],n.length>4&&(s==n.length-1&&(s=0),n.splice(s,1),p=!0,0===s&&(n.pop(),n.push(n[0]),c=n.length-1))}if(p){this.setGeometryCoordinates_(i,r);const t=[];if(void 0!==l&&(this.rBush_.remove(l),t.push(l.segment[0])),void 0!==u&&(this.rBush_.remove(u),t.push(u.segment[1])),void 0!==l&&void 0!==u){const e={depth:d.depth,feature:d.feature,geometry:d.geometry,index:c,segment:t};this.rBush_.insert((0,x.boundingExtent)(e.segment),e)}this.updateSegmentIndices_(i,s,d.depth,-1),this.vertexFeature_&&(this.overlay_.getSource().removeFeature(this.vertexFeature_),this.vertexFeature_=null),e.length=0}}return p}setGeometryCoordinates_(e,t){this.changingFeature_=!0,e.setCoordinates(t),this.changingFeature_=!1}updateSegmentIndices_(e,t,n,r){this.rBush_.forEachInExtent(e.getExtent(),(function(o){o.geometry===e&&(void 0===n||void 0===o.depth||(0,E.aI)(o.depth,n))&&o.index>t&&(o.index+=r)}))}}function j(e,t){return e.index-t.index}function F(e,t,n){const r=t.geometry;if("Circle"===r.getType()){let o=r;if(1===t.index){const t=(0,T.Tf)();t&&(o=o.clone().transform(t,n));const r=(0,S.hG)(o.getCenter(),(0,T.Ad)(e,n)),i=Math.sqrt(r)-o.getRadius();return i*i}}const o=(0,T.Ad)(e,n);return P[0]=(0,T.Ad)(t.segment[0],n),P[1]=(0,T.Ad)(t.segment[1],n),(0,S.$x)(o,P)}function D(e,t,n){const r=t.geometry;if("Circle"===r.getType()&&1===t.index){let t=r;const o=(0,T.Tf)();return o&&(t=t.clone().transform(o,n)),(0,T.te)(t.getClosestPoint((0,T.Ad)(e,n)),n)}const o=(0,T.Ad)(e,n);return P[0]=(0,T.Ad)(t.segment[0],n),P[1]=(0,T.Ad)(t.segment[1],n),(0,T.te)((0,S.sG)(o,P),n)}function N(){const e=(0,C.mY)();return function(t,n){return e.Point}}const z=R;var B=n(52780),V=n(7031),$=n(87523);function G(e,t,n){return t=(0,s.A)(t),(0,i.A)(e,U()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function U(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(U=function(){return!!e})()}function W(e,t,n){q(e,t),t.set(e,n)}function q(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function H(e,t){return e.get(Y(e,t))}function Y(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var K=new WeakMap,X=new WeakMap,Z=new WeakMap,J=new WeakSet,Q=function(e){function t(e){var n,o,i;(0,r.A)(this,t),n=G(this,t,[e]),q(o=n,i=J),i.add(o),W(n,K,void 0),W(n,X,[]),W(n,Z,[]);var a={style:(0,V.convertTypeFeatureStyleToOpenLayersStyle)(e.style)};if(e.features)a.features=e.features;else if(e.geometryGroupKey){var s,l=null===(s=n.mapViewer.layer.geometry)||void 0===s?void 0:s.createGeometryGroup(e.geometryGroupKey);a.source=null==l?void 0:l.vectorSource}return function(e,t,n){e.set(Y(e,t),n)}(K,n,new z(a)),H(K,n).on("modifystart",Y(J,n,ee).bind(n)),H(K,n).on("modifyend",Y(J,n,te).bind(n)),n}return(0,l.A)(t,e),(0,o.A)(t,[{key:"startInteraction",value:function(){(0,a.A)((0,s.A)(t.prototype),"startInteraction",this).call(this,H(K,this))}},{key:"stopInteraction",value:function(){(0,a.A)((0,s.A)(t.prototype),"stopInteraction",this).call(this,H(K,this))}},{key:"onModifyStarted",value:function(e){B.A.onEvent(H(X,this),e)}},{key:"offModifyStarted",value:function(e){B.A.offEvent(H(X,this),e)}},{key:"onModifyEnded",value:function(e){B.A.onEvent(H(Z,this),e)}},{key:"offModifyEnded",value:function(e){B.A.offEvent(H(Z,this),e)}}])}($.N);function ee(e){B.A.emitEvent(this,H(X,this),e)}function te(e){B.A.emitEvent(this,H(Z,this),e)}},10076:(e,t,n)=>{"use strict";n.d(t,{P:()=>j});var r=n(59682),o=n(41108),i=n(95947),a=n(71104),s=n(89153),l=n(79778),c=n(75320),u=n(41320),d=n(80366),h=n(6013),p=n(10809),f=n(92425),g=n(22288);const m="snap";class y extends g.Ay{constructor(e,t){super(e),this.vertex=t.vertex,this.vertexPixel=t.vertexPixel,this.feature=t.feature,this.segment=t.segment}}var v=n(41218),b=n(45800),w=n(17567),A=n(34336),x=n(94994),S=n(24363);function C(e){return e.feature?e.feature:e.element?e.element:null}const E=[];class k extends d.A{constructor(e){const t=e=e||{};t.handleDownEvent||(t.handleDownEvent=f.rT),t.stopDown||(t.stopDown=f.W8),super(t),this.on,this.once,this.un,this.source_=e.source?e.source:null,this.vertex_=void 0===e.vertex||e.vertex,this.edge_=void 0===e.edge||e.edge,this.features_=e.features?e.features:null,this.featuresListenerKeys_=[],this.featureChangeListenerKeys_={},this.indexedFeaturesExtents_={},this.pendingFeatures_={},this.pixelTolerance_=void 0!==e.pixelTolerance?e.pixelTolerance:10,this.rBush_=new h.A,this.GEOMETRY_SEGMENTERS_={Point:this.segmentPointGeometry_.bind(this),LineString:this.segmentLineStringGeometry_.bind(this),LinearRing:this.segmentLineStringGeometry_.bind(this),Polygon:this.segmentPolygonGeometry_.bind(this),MultiPoint:this.segmentMultiPointGeometry_.bind(this),MultiLineString:this.segmentMultiLineStringGeometry_.bind(this),MultiPolygon:this.segmentMultiPolygonGeometry_.bind(this),GeometryCollection:this.segmentGeometryCollectionGeometry_.bind(this),Circle:this.segmentCircleGeometry_.bind(this)}}addFeature(e,t){t=void 0===t||t;const n=(0,x.v6)(e),r=e.getGeometry();if(r){const t=this.GEOMETRY_SEGMENTERS_[r.getType()];if(t){this.indexedFeaturesExtents_[n]=r.getExtent((0,v.createEmpty)());const o=[];if(t(o,r),1===o.length)this.rBush_.insert((0,v.boundingExtent)(o[0]),{feature:e,segment:o[0]});else if(o.length>1){const t=o.map((e=>(0,v.boundingExtent)(e))),n=o.map((t=>({feature:e,segment:t})));this.rBush_.load(t,n)}}}t&&(this.featureChangeListenerKeys_[n]=(0,S.KT)(e,u.A.CHANGE,this.handleFeatureChange_,this))}getFeatures_(){let e;return this.features_?e=this.features_:this.source_&&(e=this.source_.getFeatures()),e}handleEvent(e){const t=this.snapTo(e.pixel,e.coordinate,e.map);return t&&(e.coordinate=t.vertex.slice(0,2),e.pixel=t.vertexPixel,this.dispatchEvent(new y(m,{vertex:e.coordinate,vertexPixel:e.pixel,feature:t.feature,segment:t.segment}))),super.handleEvent(e)}handleFeatureAdd_(e){const t=C(e);t&&this.addFeature(t)}handleFeatureRemove_(e){const t=C(e);t&&this.removeFeature(t)}handleFeatureChange_(e){const t=e.target;if(this.handlingDownUpSequence){const e=(0,x.v6)(t);e in this.pendingFeatures_||(this.pendingFeatures_[e]=t)}else this.updateFeature_(t)}handleUpEvent(e){const t=Object.values(this.pendingFeatures_);return t.length&&(t.forEach(this.updateFeature_.bind(this)),this.pendingFeatures_={}),!1}removeFeature(e,t){const n=void 0===t||t,r=(0,x.v6)(e),o=this.indexedFeaturesExtents_[r];if(o){const t=this.rBush_,n=[];t.forEachInExtent(o,(function(t){e===t.feature&&n.push(t)}));for(let e=n.length-1;e>=0;--e)t.remove(n[e])}n&&((0,S.JH)(this.featureChangeListenerKeys_[r]),delete this.featureChangeListenerKeys_[r])}setMap(e){const t=this.getMap(),n=this.featuresListenerKeys_,r=this.getFeatures_();t&&(n.forEach(S.JH),n.length=0,this.rBush_.clear(),Object.values(this.featureChangeListenerKeys_).forEach(S.JH),this.featureChangeListenerKeys_={}),super.setMap(e),e&&(this.features_?n.push((0,S.KT)(this.features_,c.A.ADD,this.handleFeatureAdd_,this),(0,S.KT)(this.features_,c.A.REMOVE,this.handleFeatureRemove_,this)):this.source_&&n.push((0,S.KT)(this.source_,p.A.ADDFEATURE,this.handleFeatureAdd_,this),(0,S.KT)(this.source_,p.A.REMOVEFEATURE,this.handleFeatureRemove_,this)),r.forEach((e=>this.addFeature(e))))}snapTo(e,t,n){const r=n.getView().getProjection(),o=(0,A.Ad)(t,r),i=(0,A.JR)((0,v.buffer)((0,v.boundingExtent)([o]),n.getView().getResolution()*this.pixelTolerance_),r),a=this.rBush_.getInExtent(i),s=a.length;if(0===s)return null;let l,c,u=1/0,d=null;const h=this.pixelTolerance_*this.pixelTolerance_,p=()=>{if(l){const t=n.getPixelFromCoordinate(l);if((0,b.hG)(e,t)<=h)return{vertex:l,vertexPixel:[Math.round(t[0]),Math.round(t[1])],feature:c,segment:d}}return null};if(this.vertex_){for(let e=0;e{const n=(0,A.Ad)(e,r),i=(0,b.hG)(o,n);i{e.push([t])}))}segmentMultiPolygonGeometry_(e,t){const n=t.getCoordinates();for(let t=0,r=n.length;t{"use strict";n.d(t,{H:()=>j});var r=n(59682),o=n(41108),i=n(95947),a=n(71104),s=n(89153),l=n(79778),c=n(64874),u=n(22288),d=n(20662),h=n(49878),p=n(80366),f=n(92425),g=n(99565),m=n(34336);const y="translatestart",v="translating",b="translateend";class w extends u.Ay{constructor(e,t,n,r,o){super(e),this.features=t,this.coordinate=n,this.startCoordinate=r,this.mapBrowserEvent=o}}class A extends p.A{constructor(e){let t;if(super(e=e||{}),this.on,this.once,this.un,this.lastCoordinate_=null,this.startCoordinate_=null,this.features_=void 0!==e.features?e.features:null,e.layers&&!this.features_)if("function"==typeof e.layers)t=e.layers;else{const n=e.layers;t=function(e){return n.includes(e)}}else t=f.rT;this.layerFilter_=t,this.filter_=e.filter&&!this.features_?e.filter:f.rT,this.hitTolerance_=e.hitTolerance?e.hitTolerance:0,this.condition_=e.condition?e.condition:g.Gk,this.lastFeature_=null,this.addChangeListener(h.A.ACTIVE,this.handleActiveChanged_)}handleDownEvent(e){if(!e.originalEvent||!this.condition_(e))return!1;if(this.lastFeature_=this.featuresAtPixel_(e.pixel,e.map),!this.lastCoordinate_&&this.lastFeature_){this.startCoordinate_=e.coordinate,this.lastCoordinate_=e.coordinate,this.handleMoveEvent(e);const t=this.features_||new c.A([this.lastFeature_]);return this.dispatchEvent(new w(y,t,e.coordinate,this.startCoordinate_,e)),!0}return!1}handleUpEvent(e){if(this.lastCoordinate_){this.lastCoordinate_=null,this.handleMoveEvent(e);const t=this.features_||new c.A([this.lastFeature_]);return this.dispatchEvent(new w(b,t,e.coordinate,this.startCoordinate_,e)),this.startCoordinate_=null,!0}return!1}handleDragEvent(e){if(this.lastCoordinate_){const t=e.coordinate,n=e.map.getView().getProjection(),r=(0,m.Ad)(t,n),o=(0,m.Ad)(this.lastCoordinate_,n),i=r[0]-o[0],a=r[1]-o[1],s=this.features_||new c.A([this.lastFeature_]),l=(0,m.Tf)();s.forEach((function(e){const t=e.getGeometry();l?(t.transform(l,n),t.translate(i,a),t.transform(n,l)):t.translate(i,a),e.setGeometry(t)})),this.lastCoordinate_=t,this.dispatchEvent(new w(v,s,t,this.startCoordinate_,e))}}handleMoveEvent(e){const t=e.map.getViewport();this.featuresAtPixel_(e.pixel,e.map)?(t.classList.remove(this.lastCoordinate_?"ol-grab":"ol-grabbing"),t.classList.add(this.lastCoordinate_?"ol-grabbing":"ol-grab")):t.classList.remove("ol-grab","ol-grabbing")}featuresAtPixel_(e,t){return t.forEachFeatureAtPixel(e,((e,t)=>{if(e instanceof d.A&&this.filter_(e,t)&&(!this.features_||this.features_.getArray().includes(e)))return e}),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_})}getHitTolerance(){return this.hitTolerance_}setHitTolerance(e){this.hitTolerance_=e}setMap(e){const t=this.getMap();super.setMap(e),this.updateState_(t)}handleActiveChanged_(){this.updateState_(null)}updateState_(e){let t=this.getMap();const n=this.getActive();if((!t||!n)&&(t=t||e,t)){t.getViewport().classList.remove("ol-grab","ol-grabbing")}}}const x=A;var S=n(52780),C=n(87523);function E(e,t,n){return t=(0,s.A)(t),(0,i.A)(e,k()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function k(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(k=function(){return!!e})()}function T(e,t,n){_(e,t),t.set(e,n)}function _(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function O(e,t){return e.get(P(e,t))}function P(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var I=new WeakMap,M=new WeakMap,L=new WeakMap,R=new WeakSet,j=function(e){function t(e){var n,o,i;(0,r.A)(this,t),n=E(this,t,[e]),_(o=n,i=R),i.add(o),T(n,I,void 0),T(n,M,[]),T(n,L,[]);var a={};return e.features&&(a.features=e.features),function(e,t,n){e.set(P(e,t),n)}(I,n,new x(a)),O(I,n).on("translatestart",P(R,n,F).bind(n)),O(I,n).on("translateend",P(R,n,D).bind(n)),n}return(0,l.A)(t,e),(0,o.A)(t,[{key:"startInteraction",value:function(){(0,a.A)((0,s.A)(t.prototype),"startInteraction",this).call(this,O(I,this))}},{key:"stopInteraction",value:function(){(0,a.A)((0,s.A)(t.prototype),"stopInteraction",this).call(this,O(I,this))}},{key:"onTranslateStarted",value:function(e){S.A.onEvent(O(M,this),e)}},{key:"offTranslateStarted",value:function(e){S.A.offEvent(O(M,this),e)}},{key:"onTranslateEnded",value:function(e){S.A.onEvent(O(L,this),e)}},{key:"offTranslateEnded",value:function(e){S.A.offEvent(O(L,this),e)}}])}(C.N);function F(e){S.A.emitEvent(this,O(M,this),e)}function D(e){S.A.emitEvent(this,O(L,this),e)}},55690:(e,t,n)=>{"use strict";n.d(t,{i:()=>I});var r=n(80180),o=n(59682),i=n(41108),a=n(74780),s=n(64417),l=n.n(s),c=n(95841),u=n(9063);class d extends u.A{constructor(e){let t;t=void 0!==(e=e||{}).attributions?e.attributions:['© OpenStreetMap contributors.'];const n=void 0!==e.crossOrigin?e.crossOrigin:"anonymous",r=void 0!==e.url?e.url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png";super({attributions:t,attributionsCollapsible:!1,cacheSize:e.cacheSize,crossOrigin:n,interpolate:e.interpolate,maxZoom:void 0!==e.maxZoom?e.maxZoom:19,opaque:void 0===e.opaque||e.opaque,reprojectionErrorThreshold:e.reprojectionErrorThreshold,tileLoadFunction:e.tileLoadFunction,transition:e.transition,url:r,wrapX:e.wrapX,zDirection:e.zDirection})}}const h=d;var p,f=n(70861),g=n(12791),m=n(10599),y=n(67475),v=n(42982),b=n(91384),w=n(12923),A=n(80309),x=n(66700),S=n(52780);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t0||0===o.length&&"nogeom"===m.basemapId)){e.next=34;break}return T={basemapId:i.join(""),layers:o,type:i.join("-"),basemapOptions:m,attribution:"osm"===m.basemapId?["© OpenStreetMap",(0,v.getLocalizedMessage)("mapctrl.attribution.defaultnrcan",A.K.getDisplayLanguage(this.mapId))]:[(0,v.getLocalizedMessage)("mapctrl.attribution.defaultnrcan",A.K.getDisplayLanguage(this.mapId))],zoomLevels:{min:d,max:p},defaultExtent:c,defaultOrigin:s,defaultResolutions:u,name:"",description:"",descSummary:"",altText:"",thumbnailUrl:""},e.abrupt("return",T);case 34:return e.abrupt("return",void 0);case 35:case"end":return e.stop()}}),e,this)}))),function(e,n,r){return t.apply(this,arguments)})},{key:"createCustomBasemap",value:function(e,t,n){var r=this,o=e.name,i=e.description,a=e.thumbnailUrl,s=e.attribution,l=void 0===n?A.K.getDisplayLanguage(this.mapId):n,c=E({},e);return c.name="en"===l?o.en:o.fr,c.layers=e.layers.map((function(e){return E(E({},e),{},{url:"en"===l?e.url.en:e.url.fr,source:new u.A({attributions:s[l],projection:b.M.PROJECTIONS[t],url:"en"===l?e.url.en:e.url.fr,crossOrigin:"Anonymous",tileGrid:new f.A({extent:r.defaultExtent,origin:r.defaultOrigin,resolutions:r.defaultResolutions})})})})),c.type="test",c.description="en"===l?i.en:i.fr,c.altText="en"===l?i.en:i.fr,c.thumbnailUrl="en"===l?a.en:a.fr,c.attribution="en"===l?[s.en]:[s.fr],c}},{key:"loadDefaultBasemaps",value:(e=(0,r.A)(l().mark((function e(t,n){var r;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.createCoreBasemap(w.d.getBasemapOptions(this.mapId),t,n);case 2:(r=e.sent)&&(this.defaultOrigin=null==r?void 0:r.defaultOrigin,this.defaultResolutions=null==r?void 0:r.defaultResolutions,this.defaultExtent=null==r?void 0:r.defaultExtent,this.setBasemap(r));case 4:case"end":return e.stop()}}),e,this)}))),function(t,n){return e.apply(this,arguments)})},{key:"setBasemap",value:function(e){var t=this;if(this.activeBasemap=e,w.d.setMapAttribution(this.mapId,e?e.attribution:[""]),null!=e&&e.layers){for(var n=w.d.getMapViewer(this.mapId).map.getAllLayers(),r=0;r=T&&(i.push(n),P[t]=e)})),h=[(null==O||null===(S=O.origin)||void 0===S?void 0:S.x)||0,(null==O||null===(C=O.origin)||void 0===C?void 0:C.y)||0],a=P[k].level,s=P[T].level,d=[_.xmin,_.ymin,_.xmax,_.ymax],g=M.call(p,n.url),e.abrupt("return",{basemapId:t,type:t,url:n.url,jsonUrl:n.jsonUrl,source:new u.A({attributions:(0,v.getLocalizedMessage)("mapctrl.attribution.defaultnrcan",A.K.getDisplayLanguage(this.mapId)),projection:b.M.PROJECTIONS[g],url:n.url,crossOrigin:"Anonymous",tileGrid:new f.A({extent:d,origin:h,resolutions:i})}),opacity:r,origin:h,extent:d,resolutions:i,minScale:a,maxScale:s});case 26:e.next=31;break;case 28:return e.prev=28,e.t0=e.catch(8),e.abrupt("return",null);case 31:return e.abrupt("return",null);case 32:case"end":return e.stop()}}),e,this,[[8,28]])})))).apply(this,arguments)}function j(e){S.A.emitEvent(this,T(O,this),e)}p=I,(0,a.A)(I,"REQUEST_DELAY_MAX",3e3)},25938:(e,t,n)=>{"use strict";n.d(t,{Kz:()=>g,ns:()=>f});var r=n(41108),o=n(59682),i=n(95947),a=n(89153),s=n(79778),l=n(74780);function c(e,t,n){return t=(0,a.A)(t),(0,i.A)(e,u()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function d(e,t,n){return t=(0,a.A)(t),(0,i.A)(e,h()?Reflect.construct(t,n||[],(0,a.A)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var p=function(e){function t(e,n){var r;return(0,o.A)(this,t),r=d(this,t,[n]),(0,l.A)(r,"geoviewLayerId",void 0),r.message="A generic error happened for layer ".concat(e," on map ").concat(n),r.geoviewLayerId=e,Object.setPrototypeOf(r,t.prototype),r}return(0,s.A)(t,e),(0,r.A)(t)}(function(e){function t(e){var n;return(0,o.A)(this,t),n=c(this,t,["An error happened on map ".concat(e)]),(0,l.A)(n,"mapId",void 0),n.mapId=e,Object.setPrototypeOf(n,t.prototype),n}return(0,s.A)(t,e),(0,r.A)(t)}((0,n(7681).A)(Error))),f=function(e){function t(e,n){var r;return(0,o.A)(this,t),(r=d(this,t,[e,n])).message="Failed to create the layer ".concat(e," on map ").concat(n),Object.setPrototypeOf(r,t.prototype),r}return(0,s.A)(t,e),(0,r.A)(t)}(p),g=function(e){function t(e,n){var r;return(0,o.A)(this,t),r=d(this,t,[e.geoviewLayerId,n]),(0,l.A)(r,"geoviewLayer",void 0),r.message="Can not execute twice the createGeoViewLayers method for layer ".concat(e.geoviewLayerId," on map ").concat(n),r.geoviewLayer=e,Object.setPrototypeOf(r,t.prototype),r}return(0,s.A)(t,e),(0,r.A)(t)}(p)},92259:(e,t,n)=>{"use strict";n.d(t,{p:()=>M});var r=n(59682),o=n(41108),i=n(74780),a=n(44999),s=n(83605),l=n(20662),c=n(24438),u=n(17567),d=n(82449),h=n(62767),p=n(13645),f=n(22840),g=n(25899),m=n(39605),y=n(78862),v=n(52780),b=n(42982),w=n(91384),A=n(12923),x=n(66700);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function C(e){for(var t=1;t{"use strict";n.d(t,{Bq:()=>ge,FB:()=>pe,XY:()=>fe,_B:()=>de,qt:()=>J,y6:()=>ue});var r=n(80180),o=n(59682),i=n(41108),a=n(74780),s=n(64417),l=n.n(s),c=n(64874),u=n(44773),d=n(68784),h=n(42982),p=n(67475),f=n(99937),g=n(66700),m=n(93153),y=n(79272),v=n(35893),b=n(52780),w=n(80309),A=n(57029),x=n(12923),S=n(55231),C=n(25938),E=n(91384),k=n(86266),T=n(97905),_=n(99002);function O(e,t,n){P(e,t),t.set(e,n)}function P(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function I(e,t){return e.get(L(e,t))}function M(e,t,n){return e.set(L(e,t),n),n}function L(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var R={CSV:"CSV Layer",esriDynamic:"Esri Dynamic Layer",esriFeature:"Esri Feature Layer",esriImage:"Esri Image Layer",imageStatic:"Static Image Layer",GeoJSON:"GeoJson Layer",GeoPackage:"GeoPackage Layer",xyzTiles:"XYZ Tiles",vectorTiles:"Vector Tiles",ogcFeature:"OGC Feature Layer",ogcWfs:"WFS Layer",ogcWms:"WMS Layer"},j=new WeakMap,F=new WeakMap,D=new WeakMap,N=new WeakMap,z=new WeakMap,B=new WeakMap,V=new WeakMap,$=new WeakMap,G=new WeakMap,U=new WeakMap,W=new WeakMap,q=new WeakMap,H=new WeakMap,Y=new WeakMap,K=new WeakMap,X=new WeakMap,Z=new WeakSet,J=function(){return(0,i.A)((function e(t,n,r){var i,s,l,c,u,d;(0,o.A)(this,e),P(u=this,d=Z),d.add(u),(0,a.A)(this,"hitTolerance",e.DEFAULT_HIT_TOLERANCE),(0,a.A)(this,"mapId",void 0),(0,a.A)(this,"type",void 0),(0,a.A)(this,"geoviewLayerId",void 0),(0,a.A)(this,"geoviewLayerName",(0,h.createLocalizedString)("")),(0,a.A)(this,"metadataAccessPath",(0,h.createLocalizedString)("")),(0,a.A)(this,"listOfLayerEntryConfig",[]),(0,a.A)(this,"initialSettings",void 0),(0,a.A)(this,"layerLoadError",[]),(0,a.A)(this,"olRootLayer",void 0),(0,a.A)(this,"metadata",null),O(this,j,{}),O(this,F,{}),O(this,D,{}),O(this,N,{}),O(this,z,[]),(0,a.A)(this,"serverDateFragmentsOrder",void 0),(0,a.A)(this,"externalFragmentsOrder",void 0),O(this,B,!0),O(this,V,[]),O(this,$,[]),O(this,G,[]),O(this,U,[]),O(this,W,[]),O(this,q,[]),O(this,H,[]),O(this,Y,[]),O(this,K,[]),O(this,X,[]),this.mapId=r,this.type=t,this.geoviewLayerId=n.geoviewLayerId||(0,h.generateId)(""),this.geoviewLayerName.en=null!=n&&null!==(i=n.geoviewLayerName)&&void 0!==i&&i.en?n.geoviewLayerName.en:R[t],this.geoviewLayerName.fr=null!=n&&null!==(s=n.geoviewLayerName)&&void 0!==s&&s.fr?n.geoviewLayerName.fr:R[t],null!==(l=n.metadataAccessPath)&&void 0!==l&&l.en&&(this.metadataAccessPath.en=n.metadataAccessPath.en.trim()),null!==(c=n.metadataAccessPath)&&void 0!==c&&c.fr&&(this.metadataAccessPath.fr=n.metadataAccessPath.fr.trim()),this.initialSettings=n.initialSettings,this.serverDateFragmentsOrder=n.serviceDateFormat?f.P.getDateFragmentsOrder(n.serviceDateFormat):void 0,this.externalFragmentsOrder=f.P.getDateFragmentsOrder(n.externalDateFormat),M(B,this,void 0===n.isTimeAware||n.isTimeAware),L(Z,this,Q).call(this,n,n.listOfLayerEntryConfig)}),[{key:"getMapViewer",value:function(){return x.d.getMapViewer(this.mapId)}},{key:"getLayerConfig",value:function(e){return this.getMapViewer().layer.getLayerEntryConfig(e)}},{key:"getOLLayer",value:function(e){return this.getMapViewer().layer.getOLLayer(e)}},{key:"getGeoviewLayerId",value:function(){return this.geoviewLayerId}},{key:"getGeoviewLayerName",value:function(){return this.geoviewLayerName}},{key:"getLayerStatus",value:function(e){return this.getLayerConfig(e).layerStatus}},{key:"getLayerName",value:function(e){var t;return I(j,this)[e]?I(j,this)[e]:null===(t=this.getLayerConfig(e))||void 0===t?void 0:t.layerName}},{key:"setLayerName",value:function(e,t){I(j,this)[e]=t,L(Z,this,re).call(this,{layerPath:e,layerName:t})}},{key:"getStyle",value:function(e){return I(N,this)[e]}},{key:"setStyle",value:function(e,t){I(N,this)[e]=t,L(Z,this,le).call(this,{style:t,layerPath:e})}},{key:"getAttributions",value:function(){return I(z,this)}},{key:"setAttributions",value:function(e){M(z,this,e)}},{key:"getLayerMetadata",value:function(e){return I(F,this)[e]}},{key:"setLayerMetadata",value:function(e,t){I(F,this)[e]=t}},{key:"getTemporalDimension",value:function(e){return I(D,this)[e]}},{key:"setTemporalDimension",value:function(e,t){I(D,this)[e]=t}},{key:"getIsTimeAware",value:function(){return I(B,this)}},{key:"countErrorStatus",value:function(){var e=this;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.listOfLayerEntryConfig).reduce((function(t,n){return(0,S.KD)(n)?t+e.countErrorStatus(n.listOfLayerEntryConfig):"error"===n.layerStatus?t+1:t}),0)}},{key:"createGeoViewLayers",value:(he=(0,r.A)(l().mark((function e(){var t;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.olRootLayer){e.next=13;break}return g.vF.logTraceCore("ABSTRACT-GEOVIEW-LAYERS - createGeoViewLayers",this.listOfLayerEntryConfig),this.listOfLayerEntryConfig.length>0&&(t="".concat(this.mapId," | ").concat(this.listOfLayerEntryConfig[0].layerPath)),t&&g.vF.logMarkerStart(t),e.next=6,this.getAdditionalServiceDefinition();case 6:return t&&g.vF.logMarkerCheck(t,"to get additional service definition"),e.next=9,this.processListOfLayerEntryConfig(this.listOfLayerEntryConfig);case 9:this.olRootLayer=e.sent,t&&g.vF.logMarkerCheck(t,"to process list of layer entry config"),e.next=14;break;case 13:throw new C.Kz(this,this.mapId);case 14:case"end":return e.stop()}}),e,this)}))),function(){return he.apply(this,arguments)})},{key:"getAdditionalServiceDefinition",value:(de=(0,r.A)(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.fetchServiceMetadata();case 3:if(!this.listOfLayerEntryConfig.length){e.next=6;break}return e.next=6,this.validateAndExtractLayerMetadata();case 6:e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),g.vF.logError(e.t0);case 11:case"end":return e.stop()}}),e,this,[[0,8]])}))),function(){return de.apply(this,arguments)})},{key:"validateAndExtractLayerMetadata",value:(ue=(0,r.A)(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,this.validateListOfLayerEntryConfig(this.listOfLayerEntryConfig),e.next=4,this.processListOfLayerEntryMetadata(this.listOfLayerEntryConfig);case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),g.vF.logError(e.t0);case 9:case"end":return e.stop()}}),e,this,[[0,6]])}))),function(){return ue.apply(this,arguments)})},{key:"fetchServiceMetadata",value:(te=(0,r.A)(l().mark((function e(){var t,n,r,o;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=(0,h.getLocalizedValue)(this.metadataAccessPath,w.K.getDisplayLanguage(this.mapId)))){e.next=13;break}return e.prev=2,e.next=5,(0,h.getXMLHttpRequest)("".concat(t,"?f=json"));case 5:"{}"===(n=e.sent)?this.metadata=null:(this.metadata=(0,p.NK)(JSON.parse(n)),r=this.metadata.copyrightText,o=this.getAttributions(),r&&!o.includes(r)&&(o.push(r),this.setAttributions(o))),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(2),g.vF.logError(e.t0),this.setAllLayerStatusTo("error",this.listOfLayerEntryConfig,"Unable to read metadata");case 13:case"end":return e.stop()}}),e,this,[[2,9]])}))),function(){return te.apply(this,arguments)})},{key:"processListOfLayerEntryMetadata",value:(J=(0,r.A)(l().mark((function e(t){var n,r,o,i=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.prev=0,n=[],r=0;case 3:if(!(r2&&void 0!==u[2]?u[2]:null,e.prev=1,null!=(i=this.getLayerConfig(n))&&null!==(o=i.source)&&void 0!==o&&null!==(o=o.featureInfo)&&void 0!==o&&o.queryable){e.next=6;break}return g.vF.logError("Layer at path ".concat(i.layerPath," is not queryable")),e.abrupt("return",null);case 6:g.vF.logTraceCore("ABSTRACT-GEOVIEW-LAYERS - getFeatureInfo",t,n),a="".concat(t," | ").concat(n),g.vF.logMarkerStart(a),e.t0=t,e.next="all"===e.t0?12:"at_pixel"===e.t0?14:"at_coordinate"===e.t0?16:"at_long_lat"===e.t0?18:"using_a_bounding_box"===e.t0?20:"using_a_polygon"===e.t0?22:24;break;case 12:return s=this.getAllFeatureInfo(n),e.abrupt("break",26);case 14:return s=this.getFeatureInfoAtPixel(r,n),e.abrupt("break",26);case 16:return s=this.getFeatureInfoAtCoordinate(r,n),e.abrupt("break",26);case 18:return s=this.getFeatureInfoAtLongLat(r,n),e.abrupt("break",26);case 20:return s=this.getFeatureInfoUsingBBox(r,n),e.abrupt("break",26);case 22:return s=this.getFeatureInfoUsingPolygon(r,n),e.abrupt("break",26);case 24:s=Promise.resolve([]),g.vF.logError("Queries using ".concat(t," are invalid."));case 26:return e.next=28,s;case 28:return c=e.sent,g.vF.logMarkerCheck(a,"to getFeatureInfo",c),e.abrupt("return",c);case 33:return e.prev=33,e.t1=e.catch(1),g.vF.logError(e.t1),e.abrupt("return",null);case 37:case"end":return e.stop()}}),e,this,[[1,33]])}))),function(e,t){return s.apply(this,arguments)})},{key:"getAllFeatureInfo",value:function(e){return g.vF.logError("getAllFeatureInfo is not implemented! for ".concat(e)),Promise.resolve(null)}},{key:"getFeatureInfoAtPixel",value:function(e,t){return g.vF.logError("getFeatureInfoAtPixel is not implemented! for ".concat(t," - ").concat(e)),Promise.resolve(null)}},{key:"getFeatureInfoAtCoordinate",value:function(e,t){return g.vF.logError("getFeatureInfoAtCoordinate is not implemented! for ".concat(t," - ").concat(e)),Promise.resolve(null)}},{key:"getFeatureInfoAtLongLat",value:function(e,t){return g.vF.logError("getFeatureInfoAtLongLat is not implemented for ".concat(t," - ").concat(e,"!")),Promise.resolve(null)}},{key:"getFeatureInfoUsingBBox",value:function(e,t){return g.vF.logError("getFeatureInfoUsingBBox is not implemented! for ".concat(t," - ").concat(e)),Promise.resolve(null)}},{key:"getFeatureInfoUsingPolygon",value:function(e,t){return g.vF.logError("getFeatureInfoUsingPolygon is not implemented! for ".concat(t," - ").concat(e)),Promise.resolve(null)}},{key:"queryLegend",value:function(e){var t=this;L(Z,this,oe).call(this,{layerPath:e});var n=this.getLegend(e);return n.then((function(n){n&&(t.updateIconImageCache(n),L(Z,t,ie).call(t,{layerPath:e,legend:n}))})).catch((function(e){g.vF.logPromiseFailed("promiseLegend in queryLegend in AbstractGeoviewLayer",e)})),n}},{key:"updateIconImageCache",value:function(e){var t=this.getMapViewer().iconImageCacheSize;e.styleConfig&&Object.keys(e.styleConfig).forEach((function(n){var r,o,i,a;!e.styleConfig||"uniqueValue"!==(null===(r=e.styleConfig[n])||void 0===r?void 0:r.styleType)&&"classBreaks"!==(null===(o=e.styleConfig[n])||void 0===o?void 0:o.styleType)||(null!==(i=e.styleConfig[n].uniqueValueStyleInfo)&&void 0!==i&&i.length&&(t+=e.styleConfig[n].uniqueValueStyleInfo.length),null!==(a=e.styleConfig[n].classBreakStyleInfo)&&void 0!==a&&a.length&&(t+=e.styleConfig[n].classBreakStyleInfo.length))})),d.ue.setSize(t),this.getMapViewer().iconImageCacheSize=t}},{key:"createLayerGroup",value:function(e,t){var n,r={layers:new c.A,properties:{layerConfig:e}};void 0!==(null==t?void 0:t.extent)&&(r.extent=t.extent),void 0!==(null==t?void 0:t.maxZoom)&&(r.maxZoom=t.maxZoom),void 0!==(null==t?void 0:t.minZoom)&&(r.minZoom=t.minZoom),void 0!==(null==t||null===(n=t.states)||void 0===n?void 0:n.opacity)&&(r.opacity=t.states.opacity);var o=new u.A(r);return this.emitLayerCreation({config:e,layer:o}),o}},{key:"getMetadataBounds",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=function e(n){n.forEach((function(n){var r;(0,S.KD)(n)?e(n.listOfLayerEntryConfig):null!==(r=n.initialSettings)&&void 0!==r&&r.bounds&&(t=t?[Math.min(n.initialSettings.bounds[0],t[0]),Math.min(n.initialSettings.bounds[1],t[1]),Math.max(n.initialSettings.bounds[2],t[2]),Math.max(n.initialSettings.bounds[3],t[3])]:[n.initialSettings.bounds[0],n.initialSettings.bounds[1],n.initialSettings.bounds[2],n.initialSettings.bounds[3]])}))},o=e.includes("/")?this.getLayerConfig(e):this.listOfLayerEntryConfig;return o&&(Array.isArray(o)?r(o):r([o]),n&&t)?E.M.transformExtent(t,"EPSG:4326","EPSG:".concat(n)):t}},{key:"getFieldDomain",value:function(e,t){return g.vF.logWarning("getFieldDomain is not implemented for ".concat(e," - ").concat(t)),null}},{key:"getFieldType",value:function(e,t){return g.vF.logWarning("getFieldType is not implemented for ".concat(e," - ").concat(t)),"string"}},{key:"getExtent",value:function(e){var t=this.getOLLayer(e);return null==t?void 0:t.getExtent()}},{key:"setExtent",value:function(e,t){var n=this.getOLLayer(t);n&&n.setExtent(e)}},{key:"getOpacity",value:function(e){var t=this.getOLLayer(e);return null==t?void 0:t.getOpacity()}},{key:"setOpacity",value:function(e,t){var n=this.getOLLayer(t);n&&(n.setOpacity(e),L(Z,this,ce).call(this,{layerPath:t,opacity:e}))}},{key:"getVisible",value:function(e){var t=this.getOLLayer(e);return null==t?void 0:t.getVisible()}},{key:"setVisible",value:function(e,t){var n=this.getOLLayer(t);if(n){var r=this.getVisible(t);n.setVisible(e),e!==r&&L(Z,this,ae).call(this,{visible:e})}}},{key:"getMinZoom",value:function(e){var t=this.getOLLayer(e);return null==t?void 0:t.getMinZoom()}},{key:"setMinZoom",value:function(e,t){var n=this.getOLLayer(t);n&&n.setMinZoom(e)}},{key:"getMaxZoom",value:function(e){var t=this.getOLLayer(e);return null==t?void 0:t.getMaxZoom()}},{key:"setMaxZoom",value:function(e,t){var n=this.getOLLayer(t);n&&n.setMaxZoom(e)}},{key:"getLegend",value:(n=(0,r.A)(l().mark((function e(t){var n;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=this.type,e.t1=this.getStyle(t),e.next=5,(0,k.qC)(this.getStyle(t));case 5:return e.t2=e.sent,n={type:e.t0,styleConfig:e.t1,legend:e.t2},e.abrupt("return",n);case 10:return e.prev=10,e.t3=e.catch(0),g.vF.logError(e.t3),e.abrupt("return",null);case 14:case"end":return e.stop()}}),e,this,[[0,10]])}))),function(e){return n.apply(this,arguments)})},{key:"getFieldValue",value:function(e,t,n){var r,o=e.get(t);if("date"===n){"string"==typeof o?(this.serverDateFragmentsOrder||(this.serverDateFragmentsOrder=f.P.getDateFragmentsOrder(f.P.deduceDateFormat(o))),r=f.P.applyInputDateFormat(o,this.serverDateFragmentsOrder)):r=f.P.convertToUTC("".concat(f.P.convertMilisecondsToDate(o),"Z"));return this.externalFragmentsOrder&&(r=f.P.applyOutputDateFormat(r,this.externalFragmentsOrder,!0)),r}return o}},{key:"formatFeatureInfoResult",value:(t=(0,r.A)(l().mark((function e(t,n){var o,i,a,s,c,u,d,p,f,y,v,b,x,S,C,E,T,_=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,t.length){e.next=3;break}return e.abrupt("return",[]);case 3:return u=new m.z(1),d=function(){return u.withLock((0,r.A)(l().mark((function e(){var t,r;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==c){e.next=7;break}return c=null,e.next=4,_.queryLegend(n.layerPath);case 4:t=e.sent,(r=A.K.getLayerIconImage(t))&&(c=r[0].iconImage||null);case 7:return e.abrupt("return",c);case 8:case"end":return e.stop()}}),e)}))))},p=null==n||null===(o=n.source)||void 0===o?void 0:o.featureInfo,f=null==p||null===(i=p.fieldTypes)||void 0===i?void 0:i.split(","),y=null===(a=(0,h.getLocalizedValue)(null==p?void 0:p.outfields,w.K.getDisplayLanguage(this.mapId)))||void 0===a?void 0:a.split(","),v=null===(s=(0,h.getLocalizedValue)(null==p?void 0:p.aliasFields,w.K.getDisplayLanguage(this.mapId)))||void 0===s?void 0:s.split(","),b=[],t.forEach((function(e){b.push(new Promise((function(t){(0,k.$G)(e,_.getStyle(n.layerPath),n.filterEquation,n.legendFilterIsOff,d).then((function(n){t({feature:e,canvas:n})})).catch((function(e){g.vF.logPromiseFailed("getFeatureCanvas in featureNeedingItsCanvas loop in formatFeatureInfoResult in AbstractGeoViewLayer",e)}))})))})),x={},S={},C=0,E=0,T=[],e.next=18,Promise.all(b);case 18:return e.sent.forEach((function(e){var t,r,o=e.feature,i=e.canvas;o.getGeometry()&&(r=o.getGeometry().getExtent());var a={featureKey:C++,geoviewLayerType:_.type,extent:r,geometry:o,featureIcon:i,fieldInfo:{},nameField:(0,h.getLocalizedValue)(null==n||null===(t=n.source)||void 0===t||null===(t=t.featureInfo)||void 0===t?void 0:t.nameField,w.K.getDisplayLanguage(_.mapId))||null};o.getKeys().forEach((function(e){if("geometry"!==e){e in x||(x[e]=_.getFieldDomain(e,n));var t=x[e];e in S||(S[e]=_.getFieldType(e,n));var r=S[e];if(null!=y&&y.includes(e)){var i=y.indexOf(e);a.fieldInfo[e]={fieldKey:E++,value:_.getFieldValue(o,e,f[i]),dataType:f[i],alias:v[i],domain:t}}else y||(a.fieldInfo[e]={fieldKey:E++,value:_.getFieldValue(o,e,r),dataType:r,alias:e,domain:t})}})),T.push(a)})),e.abrupt("return",T);case 23:return e.prev=23,e.t0=e.catch(0),g.vF.logError(e.t0),e.abrupt("return",[]);case 27:case"end":return e.stop()}}),e,this,[[0,23]])}))),function(e,n){return t.apply(this,arguments)})},{key:"getLayerFilter",value:function(e){var t=this.getLayerConfig(e);return null==t?void 0:t.layerFilter}},{key:"onLoaded",value:function(e){var t;e.layerStatus="loaded",this.setVisible(!1!==(null===(t=e.initialSettings)||void 0===t||null===(t=t.states)||void 0===t?void 0:t.visible),e.layerPath)}},{key:"onError",value:function(e){e.layerStatus="error"}},{key:"setAllLayerStatusTo",value:function(e,t,n){var r=this;t.forEach((function(t){if((0,S.KD)(t))r.setAllLayerStatusTo(e,t.listOfLayerEntryConfig,n);else{if("error"===t.layerStatus)return;if(t.layerStatus=e,"error"===e){var o=t.layerPath;r.layerLoadError.push({layer:o,loggerMessage:"".concat(n," for layer ").concat(o," of map ").concat(r.mapId)})}}}))}},{key:"allLayerStatusAreGreaterThanOrEqualTo",value:function(e){return T.c.allLayerStatusAreGreaterThanOrEqualTo(e,this.listOfLayerEntryConfig)}},{key:"waitForAllLayerStatusAreGreaterThanOrEqualTo",value:(e=(0,r.A)(l().mark((function e(t,n){var r=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,h.whenThisThen)((function(){return r.allLayerStatusAreGreaterThanOrEqualTo("processed")}),t,n);case 2:return e.abrupt("return",Promise.resolve());case 3:case"end":return e.stop()}}),e)}))),function(t,n){return e.apply(this,arguments)})},{key:"setLayerAndLoadEndListeners",value:function(e,t,n){var r=this;if(!t)throw new Error("An OpenLayer must be provided to register listeners. Layer path ".concat(e.layerPath));if(!n)throw new Error("A listenerType must be provided to register listeners. Layer path ".concat(e.layerPath));if(!_.A.LAYERS_HYBRID_MODE&&e.entryType!==S.hJ.GROUP){var o,i=function(){r.onLoaded(e),t.get("source").un("".concat(n,"loaderror"),o)};o=function(){r.onError(e),t.get("source").un("".concat(n,"loadend"),i)},t.get("source").once("".concat(n,"loaderror"),o),t.get("source").once("".concat(n,"loadend"),i)}}},{key:"getAllLayerEntryConfigs",value:function(){var e=this,t=[];return this.listOfLayerEntryConfig.forEach((function(n){L(Z,e,ne).call(e,t,n)})),t}},{key:"onLayerNameChanged",value:function(e){b.A.onEvent(I(V,this),e)}},{key:"offLayerNameChanged",value:function(e){b.A.offEvent(I(V,this),e)}},{key:"onLegendQuerying",value:function(e){b.A.onEvent(I(G,this),e)}},{key:"offLegendQuerying",value:function(e){b.A.offEvent(I(G,this),e)}},{key:"onLegendQueried",value:function(e){b.A.onEvent(I(U,this),e)}},{key:"offLegendQueried",value:function(e){b.A.offEvent(I(U,this),e)}},{key:"onVisibleChanged",value:function(e){b.A.onEvent(I(W,this),e)}},{key:"offVisibleChanged",value:function(e){b.A.offEvent(I(W,this),e)}},{key:"onLayerEntryProcessed",value:function(e){b.A.onEvent(I(q,this),e)}},{key:"offLayerEntryProcessed",value:function(e){b.A.offEvent(I(q,this),e)}},{key:"emitLayerRequesting",value:function(e){return b.A.emitEvent(this,I(H,this),e)}},{key:"onLayerRequesting",value:function(e){b.A.onEvent(I(H,this),e)}},{key:"offLayerRequesting",value:function(e){b.A.offEvent(I(H,this),e)}},{key:"emitLayerCreation",value:function(e){b.A.emitEvent(this,I(Y,this),e)}},{key:"onLayerCreation",value:function(e){b.A.onEvent(I(Y,this),e)}},{key:"offLayerCreation",value:function(e){b.A.offEvent(I(Y,this),e)}},{key:"emitLayerFilterApplied",value:function(e){b.A.emitEvent(this,I(K,this),e)}},{key:"onLayerFilterApplied",value:function(e){b.A.onEvent(I(K,this),e)}},{key:"offLayerFilterApplied",value:function(e){b.A.offEvent(I(K,this),e)}},{key:"onLayerStyleChanged",value:function(e){b.A.onEvent(I($,this),e)}},{key:"offLayerStyleChanged",value:function(e){b.A.offEvent(I($,this),e)}},{key:"onLayerOpacityChanged",value:function(e){b.A.onEvent(I(X,this),e)}},{key:"offLayerOpacityChanged",value:function(e){b.A.offEvent(I(X,this),e)}}]);var e,t,n,s,v,J,te,ue,de,he}();function Q(e,t){if(0!==t.length){if(1===t.length)this.listOfLayerEntryConfig=t;else{var n=new v.x({geoviewLayerConfig:t[0].geoviewLayerConfig,layerId:this.geoviewLayerId,layerName:this.geoviewLayerName,isMetadataLayerGroup:!1,initialSettings:e.initialSettings,listOfLayerEntryConfig:t});this.listOfLayerEntryConfig=[n],n.listOfLayerEntryConfig.forEach((function(e){e.parentLayerConfig=n}))}this.listOfLayerEntryConfig[0].geoviewLayerConfig.listOfLayerEntryConfig=t}}function ee(e){return te.apply(this,arguments)}function te(){return(te=(0,r.A)(l().mark((function e(t){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.processListOfLayerEntryMetadata(t.listOfLayerEntryConfig);case 3:return t.layerStatus="processed",L(Z,this,se).call(this,{config:t}),e.abrupt("return",t);case 8:e.prev=8,e.t0=e.catch(0),g.vF.logError(e.t0);case 11:return e.abrupt("return",t);case 12:case"end":return e.stop()}}),e,this,[[0,8]])})))).apply(this,arguments)}function ne(e,t){var n,r=this;e.push(t),null===(n=t.listOfLayerEntryConfig)||void 0===n||n.forEach((function(t){L(Z,r,ne).call(r,e,t)}))}function re(e){b.A.emitEvent(this,I(V,this),e)}function oe(e){b.A.emitEvent(this,I(G,this),e)}function ie(e){b.A.emitEvent(this,I(U,this),e)}function ae(e){b.A.emitEvent(this,I(W,this),e)}function se(e){b.A.emitEvent(this,I(q,this),e)}function le(e){b.A.emitEvent(this,I($,this),e)}function ce(e){b.A.emitEvent(this,I(X,this),e)}(0,a.A)(J,"DEFAULT_HIT_TOLERANCE",4);var ue={CSV:"CSV",ESRI_DYNAMIC:"esriDynamic",ESRI_FEATURE:"esriFeature",ESRI_IMAGE:"esriImage",IMAGE_STATIC:"imageStatic",GEOJSON:"GeoJSON",GEOPACKAGE:"GeoPackage",XYZ_TILES:"xyzTiles",VECTOR_TILES:"vectorTiles",OGC_FEATURE:"ogcFeature",WFS:"ogcWfs",WMS:"ogcWms"},de={CSV:"TypeVectorLayerEntryConfig",imageStatic:"TypeImageStaticLayerEntryConfig",esriDynamic:"TypeEsriDynamicLayerEntryConfig",esriFeature:"TypeVectorLayerEntryConfig",esriImage:"TypeEsriImageLayerEntryConfig",GeoJSON:"TypeVectorLayerEntryConfig",GeoPackage:"TypeVectorLayerEntryConfig",xyzTiles:"TypeTileLayerEntryConfig",vectorTiles:"TypeTileLayerEntryConfig",ogcFeature:"TypeVectorLayerEntryConfig",ogcWfs:"TypeVectorLayerEntryConfig",ogcWms:"TypeOgcWmsLayerEntryConfig"},he=[ue.CSV,ue.GEOJSON,ue.ESRI_DYNAMIC,ue.ESRI_FEATURE,ue.ESRI_IMAGE,ue.OGC_FEATURE,ue.WFS,ue.GEOPACKAGE],pe=function(e){return he.includes(null==e?void 0:e.type)},fe=function(e){return(null==e?void 0:e.type)===ue.WMS},ge=function(e){return(null==e?void 0:e.type)===ue.IMAGE_STATIC}},96295:(e,t,n)=>{"use strict";n.d(t,{$A:()=>L,KS:()=>P,Nf:()=>j,RW:()=>M,Sh:()=>O,YX:()=>I,gm:()=>R,mF:()=>T});var r=n(74780),o=n(80180),i=n(64417),a=n.n(i),s=n(95841),l=n(80363),c=n.n(l),u=n(12923),d=n(67475),h=n(42982),p=n(91384),f=n(99937),g=n(66700),m=n(92023),y=n(38956),v=n(35893),b=n(55231),w=n(37450),A=n(77109),x=n(77284),S=n(63271),C=n(80309);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t{"use strict";n.d(t,{A:()=>p});var r=n(59682),o=n(41108),i=n(95947),a=n(71104),s=n(89153),l=n(79778),c=n(37450),u=n(91384);function d(e,t,n){return t=(0,s.A)(t),(0,i.A)(e,h()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var p=function(e){function t(){return(0,r.A)(this,t),d(this,t,arguments)}return(0,l.A)(t,e),(0,o.A)(t,[{key:"getSourceProjection",value:function(e){var n;return(null===(n=(0,a.A)((0,s.A)(t.prototype),"getOLLayer",this).call(this,e).getSource())||void 0===n?void 0:n.getProjection())||void 0}},{key:"getMetadataProjection",value:function(){var e;return u.M.getProjection("EPSG:".concat(null===(e=this.metadata)||void 0===e||null===(e=e.fullExtent)||void 0===e||null===(e=e.spatialReference)||void 0===e?void 0:e.wkid))||void 0}},{key:"getMetadataExtent",value:function(){var e,t,n,r,o;if(null!==(e=this.metadata)&&void 0!==e&&e.fullExtent)return[null===(t=this.metadata)||void 0===t?void 0:t.fullExtent.xmin,null===(n=this.metadata)||void 0===n?void 0:n.fullExtent.ymin,null===(r=this.metadata)||void 0===r?void 0:r.fullExtent.xmax,null===(o=this.metadata)||void 0===o?void 0:o.fullExtent.ymax]}}])}(c.qt)},77109:(e,t,n)=>{"use strict";n.d(t,{IU:()=>F,xM:()=>D,zt:()=>z});var r=n(32031),o=n(1839),i=n(80180),a=n(59682),s=n(41108),l=n(95947),c=n(71104),u=n(89153),d=n(79778),h=n(74780),p=n(64417),f=n.n(p),g=n(76352),m=n(28596),y=n(987),v=n(20662),b=n(92259),w=n(42982),A=n(37450),x=n(7517),S=n(91384),C=n(66700),E=n(99937),k=n(38956),T=n(55231),_=n(96295),O=n(80309);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t0&&(l=s[0]),l||(b={source:a,properties:{layerConfig:n}},void 0!==(null===(d=n.initialSettings)||void 0===d?void 0:d.className)&&(b.className=n.initialSettings.className),void 0!==(null===(h=n.initialSettings)||void 0===h?void 0:h.extent)&&(b.extent=n.initialSettings.extent),void 0!==(null===(p=n.initialSettings)||void 0===p?void 0:p.maxZoom)&&(b.maxZoom=n.initialSettings.maxZoom),void 0!==(null===(y=n.initialSettings)||void 0===y?void 0:y.minZoom)&&(b.minZoom=n.initialSettings.minZoom),void 0!==(null===(v=n.initialSettings)||void 0===v||null===(v=v.states)||void 0===v?void 0:v.opacity)&&(b.opacity=n.initialSettings.states.opacity),l=new m.A(b),this.setLayerAndLoadEndListeners(n,l,"image")),this.emitLayerCreation({config:n,layer:l}),e.abrupt("return",Promise.resolve(l));case 18:case"end":return e.stop()}}),e,this)}))),function(e){return p.apply(this,arguments)})},{key:"getAllFeatureInfo",value:(l=(0,i.A)(f().mark((function e(t){var n,r,i,a,s,l,c,u,d;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=this.getLayerConfig(t),r=n.getTypeGeometries(),i=(0,o.A)(r,1),a=i[0],(s=n.geoviewLayerConfig.metadataAccessPath[O.K.getDisplayLanguage(this.mapId)]).endsWith("/")||(s+="/"),l="".concat(s).concat(n.layerId,"/query?where=1=1&outFields=*&f=json&returnGeometry=false"),e.next=8,fetch(l);case 8:return c=e.sent,e.next=11,c.json();case 11:if(!(u=e.sent).features){e.next=15;break}return d=u.features.map((function(e){var t;if(e.geometry){var n=e.geometry.points||e.geometry.paths||e.geometry.rings||[e.geometry.x,e.geometry.y];t=b.p.createGeometryFromType(a,n)}var r=e.attributes;return new v.A(I(I({},r),{},{geometry:t}))})),e.abrupt("return",this.formatFeatureInfoResult(d,n));case 15:throw new Error("Error querying service. No features were returned.");case 18:return e.prev=18,e.t0=e.catch(0),C.vF.logError("esri-dynamic.getAllFeatureInfo()\n",e.t0),e.abrupt("return",null);case 22:case"end":return e.stop()}}),e,this,[[0,18]])}))),function(e){return l.apply(this,arguments)})},{key:"getFeatureInfoAtPixel",value:function(e,t){return this.getFeatureInfoAtCoordinate(this.getMapViewer().map.getCoordinateFromPixel(e),t)}},{key:"getFeatureInfoAtCoordinate",value:function(e,t){var n=this.getMapViewer().convertCoordinateMapProjToLngLat(e);return this.getFeatureInfoAtLongLat(n,t)}},{key:"getFeatureInfoAtLongLat",value:(n=(0,i.A)(f().mark((function e(t,n){var r,o,i,a,s,l,c,u,d,h,p,g,m,v,b;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,this.getVisible(n)){e.next=3;break}return e.abrupt("return",[]);case 3:if(i=this.getLayerConfig(n),a=this.getOLLayer(n),null!==(r=i.source)&&void 0!==r&&null!==(r=r.featureInfo)&&void 0!==r&&r.queryable){e.next=7;break}return e.abrupt("return",[]);case 7:if(s=(0,w.getLocalizedValue)(null===(o=i.source)||void 0===o?void 0:o.dataAccessPath,O.K.getDisplayLanguage(this.mapId))){e.next=10;break}return e.abrupt("return",[]);case 10:return s=s.endsWith("/")?s:"".concat(s,"/"),l=this.getMapViewer(),c=l.convertExtentMapProjToLngLat(l.getView().calculateExtent()),u={xmin:c[0],ymin:c[1],xmax:c[2],ymax:c[3]},d=a.getSource(),h=(null==d?void 0:d.getParams().layerDefs)||"",p=l.map.getSize(),s="".concat(s,"identify?f=json&tolerance=").concat(this.hitTolerance)+"&mapExtent=".concat(u.xmin,",").concat(u.ymin,",").concat(u.xmax,",").concat(u.ymax)+"&imageDisplay=".concat(p[0],",").concat(p[1],",96")+"&layers=visible:".concat(i.layerId)+"&layerDefs=".concat(h)+"&returnFieldName=true&sr=4326&returnGeometry=true"+"&geometryType=esriGeometryPoint&geometry=".concat(t[0],",").concat(t[1]),e.next=20,fetch(s);case 20:return g=e.sent,e.next=23,g.json();case 23:if(!(m=e.sent).error){e.next=27;break}throw C.vF.logInfo("There is a problem with this query: ",s),new Error("Error code = ".concat(m.error.code," ").concat(m.error.message)||0);case 27:return v=(new y.A).readFeatures({features:m.results},{dataProjection:S.M.PROJECTION_NAMES.LNGLAT,featureProjection:l.getProjection().getCode()}),e.next=30,this.formatFeatureInfoResult(v,i);case 30:return b=e.sent,e.abrupt("return",b);case 34:return e.prev=34,e.t0=e.catch(0),C.vF.logError("esri-dynamic.getFeatureInfoAtLongLat()\n",e.t0),e.abrupt("return",null);case 38:case"end":return e.stop()}}),e,this,[[0,34]])}))),function(e,t){return n.apply(this,arguments)})},{key:"getViewFilter",value:function(e){var n=this.getLayerConfig(e),r=n.layerFilter;if(this.getStyle(n.layerPath)){var o=function(e){void 0===e.defaultVisible&&(e.defaultVisible=!0);for(var t=(0,T.IG)(e)?e.uniqueValueStyleInfo:e.classBreakStyleInfo,n=0;n= ").concat(j(N,this,G).call(this,a.field,a.classBreakStyleInfo[0].minValue,n.source.featureInfo))):!1===a.classBreakStyleInfo[0].visible&&!1!==a.defaultVisible&&(d.push("".concat(a.field," < ").concat(j(N,this,G).call(this,a.field,a.classBreakStyleInfo[0].minValue,n.source.featureInfo))),h=p):!1!==a.classBreakStyleInfo[p].visible&&!1===a.defaultVisible?(d.push("".concat(a.field," > ").concat(j(N,this,G).call(this,a.field,a.classBreakStyleInfo[p].minValue,n.source.featureInfo))),p+1===a.classBreakStyleInfo.length&&d.push("".concat(a.field," <= ").concat(j(N,this,G).call(this,a.field,a.classBreakStyleInfo[p].maxValue,n.source.featureInfo)))):!1===a.classBreakStyleInfo[p].visible&&!1!==a.defaultVisible&&(d.push("".concat(a.field," <= ").concat(j(N,this,G).call(this,a.field,a.classBreakStyleInfo[p].minValue,n.source.featureInfo))),h=p):!1===a.defaultVisible?!1===a.classBreakStyleInfo[p].visible?d.push("".concat(a.field," <= ").concat(j(N,this,G).call(this,a.field,a.classBreakStyleInfo[p-1].maxValue,n.source.featureInfo))):p+1===a.classBreakStyleInfo.length&&d.push("".concat(a.field," <= ").concat(j(N,this,G).call(this,a.field,a.classBreakStyleInfo[p].maxValue,n.source.featureInfo))):!1!==a.classBreakStyleInfo[p].visible?(d.push("".concat(a.field," > ").concat(j(N,this,G).call(this,a.field,a.classBreakStyleInfo[p-1].maxValue,n.source.featureInfo))),h=-1):h=p;if(-1!==h&&d.push("".concat(a.field," > ").concat(j(N,this,G).call(this,a.field,a.classBreakStyleInfo[h].maxValue,n.source.featureInfo))),!1!==a.defaultVisible){var f="".concat(d.slice(0,-1).reduce((function(e,t,n){return 0===n?"(".concat(t," or "):n%2==0?"".concat(e," and ").concat(t,") or "):"".concat(e,"(").concat(t)}),"")).concat(d.slice(-1)[0],")");return"".concat(f).concat(r?" and (".concat(r,")"):"")}var g=d.length?"".concat(d.reduce((function(e,t,n){return 0===n?"((".concat(t," and "):n%2==0?"".concat(e," or (").concat(t," and "):"".concat(e).concat(t,")")}),""),")"):"(1=0)";return"".concat(g).concat(r?" and (".concat(r,")"):"")}}return"(1=1)"}},{key:"onLoaded",value:function(e){(0,c.A)((0,u.A)(t.prototype),"onLoaded",this).call(this,e),this.applyViewFilter(e.layerPath,e.layerFilter||"")}},{key:"applyViewFilter",value:function(e,t){var n=this,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];C.vF.logTraceCore("ESRI-DYNAMIC - applyViewFilter",e);var i=this.getLayerConfig(e),a=this.getOLLayer(e),s=t.replaceAll(/\s{2,}/g," ").trim();i.legendFilterIsOff=!o,i.layerFilter=s,o&&(s=this.getViewFilter(e));var l=(0,r.A)(s.matchAll(/(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/gi));l.reverse(),l.forEach((function(e){var t=![20,25].includes(e[0].length),r=E.P.applyInputDateFormat(e[0],n.externalFragmentsOrder,t);r=(r=r.slice(0,20===r.length?-1:-6)).replace("T"," "),s="".concat(s.slice(0,e.index)).concat(r).concat(s.slice(e.index+e[0].length))})),null==a||a.getSource().updateParams({layerDefs:'{"'.concat(i.layerId,'": "').concat(s,'"}')}),null==a||a.changed(),this.emitLayerFilterApplied({layerPath:e,filter:s})}},{key:"getBounds",value:function(e){var t,n=this.getMetadataExtent();if(n){var r=this.getMetadataProjection();t=this.getMapViewer().convertExtentFromProjToMapProj(n,r)}return t}}]);var n,l,p}(x.A);function B(e){return e.uniqueValueStyleInfo.reduce((function(t,n){return(!1===n.visible&&!1!==e.defaultVisible||!1!==n.visible&&!1===e.defaultVisible)&&n.values.forEach((function(e,n){var r=t[n].find((function(t){return t.value===e}));r?r.nbOccurence++:t[n].push({value:e,nbOccurence:1})})),t}),e.fields.map((function(){return[]})))}function V(e,t){for(var n=e.fields.map((function(){return!0})),r=[],o=0;-1!==o;o=n.findIndex((function(e){return e}))){for(var i=t[o].reduce((function(e,t){return e+t.nbOccurence}),0),a=0;at[a].length||t[o].length===t[a].length&&i{"use strict";n.d(t,{$x:()=>P,sV:()=>O,yl:()=>_});var r=n(74780),o=n(32031),i=n(80180),a=n(59682),s=n(41108),l=n(95947),c=n(71104),u=n(89153),d=n(79778),h=n(64417),p=n.n(h),f=n(76352),g=n(28596),m=n(42982),y=n(99937),v=n(66700),b=n(91648),w=n(37450),A=n(7517),x=n(55231),S=n(96295),C=n(80309),E=n(86266);function k(e,t,n){return t=(0,u.A)(t),(0,l.A)(e,T()?Reflect.construct(t,n||[],(0,u.A)(e).constructor):t.apply(e,n))}function T(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(T=function(){return!!e})()}var _=function(e){return(null==e?void 0:e.geoviewLayerType)===w.y6.ESRI_IMAGE},O=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===w.y6.ESRI_IMAGE},P=function(e){function t(e,n){return(0,a.A)(this,t),n.serviceDateFormat||(n.serviceDateFormat="DD/MM/YYYY HH:MM:SSZ"),k(this,t,[w.y6.ESRI_IMAGE,n,e])}return(0,d.A)(t,e),(0,s.A)(t,[{key:"getLegend",value:(l=(0,i.A)(p().mark((function e(t){var n,r,o,i,a,s,l,c,u,d;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,n=this.getLayerConfig(t)){e.next=4;break}return e.abrupt("return",null);case 4:return r="".concat((0,m.getLocalizedValue)(n.geoviewLayerConfig.metadataAccessPath,C.K.getDisplayLanguage(this.mapId)),"/legend?f=json"),e.next=7,fetch(r);case 7:return o=e.sent,e.next=10,o.json();case 10:if((i=e.sent).layers&&1===i.layers.length?a=i.layers[0].legend:i.layers.length&&(s=i.layers.find((function(e){return e.layerId===n.layerId})))&&(a=s.legend),a){e.next=15;break}return l={type:w.y6.ESRI_IMAGE,styleConfig:this.getStyle(t),legend:null},e.abrupt("return",l);case 15:return c=[],a.forEach((function(e){var t={label:e.label,values:e.label.split(","),settings:{type:"iconSymbol",mimeType:e.contentType,src:e.imageData,width:e.width,height:e.height}};c.push(t)})),u={Point:{styleType:"uniqueValue",fields:["default"],uniqueValueStyleInfo:c}},this.setStyle(t,u),e.t0=w.y6.ESRI_IMAGE,e.t1=u,e.next=24,(0,E.qC)(this.getStyle(t));case 24:return e.t2=e.sent,d={type:e.t0,styleConfig:e.t1,legend:e.t2},e.abrupt("return",d);case 29:return e.prev=29,e.t3=e.catch(0),v.vF.logError("Get Legend for ".concat(t," error"),e.t3),e.abrupt("return",null);case 33:case"end":return e.stop()}}),e,this,[[0,29]])}))),function(e){return l.apply(this,arguments)})},{key:"validateListOfLayerEntryConfig",value:function(e){var t=this;e.forEach((function(e){var n=e.layerPath;(0,x.KD)(e)&&(t.validateListOfLayerEntryConfig(e.listOfLayerEntryConfig),e.listOfLayerEntryConfig.length||(t.layerLoadError.push({layer:n,loggerMessage:"Empty layer group (mapId: ".concat(t.mapId,", layerPath: ").concat(n,")")}),e.layerStatus="error"))}))}},{key:"getFieldType",value:function(e,t){return(0,S.KS)(this,e,t)}},{key:"getFieldDomain",value:function(e,t){return(0,S.YX)(this,e,t)}},{key:"processTemporalDimension",value:function(e,t){(0,S.RW)(this,e,t,!0)}},{key:"processFeatureInfoConfig",value:function(e){(0,S.$A)(this,e)}},{key:"processInitialSettings",value:function(e){(0,S.gm)(this,e)}},{key:"processLayerMetadata",value:function(e){if(!(e instanceof b.Q))throw new Error("Invalid layer configuration type provided");return(0,S.Nf)(this,e)}},{key:"processOneLayerEntry",value:(n=(0,i.A)(p().mark((function e(n){var r,o,i,a,s,l,d,h,y,v;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.A)((0,u.A)(t.prototype),"processOneLayerEntry",this).call(this,n);case 2:if(n instanceof b.Q){e.next=4;break}throw new Error("Invalid layer configuration type provided");case 4:return(r={}).attributions=[this.metadata.copyrightText?this.metadata.copyrightText:""],r.url=(0,m.getLocalizedValue)(n.source.dataAccessPath,C.K.getDisplayLanguage(this.mapId)),r.params={LAYERS:"show:".concat(n.layerId)},n.source.transparent&&Object.defineProperty(r.params,"transparent",n.source.transparent),n.source.format&&Object.defineProperty(r.params,"format",n.source.format),n.source.crossOrigin?r.crossOrigin=n.source.crossOrigin:r.crossOrigin="Anonymous",n.source.projection&&(r.projection="EPSG:".concat(n.source.projection)),o=new f.A(r),(i=this.emitLayerRequesting({config:n,source:o})).length>0&&(a=i[0]),a||(v={source:o,properties:{layerConfig:n}},void 0!==(null===(s=n.initialSettings)||void 0===s?void 0:s.className)&&(v.className=n.initialSettings.className),void 0!==(null===(l=n.initialSettings)||void 0===l?void 0:l.extent)&&(v.extent=n.initialSettings.extent),void 0!==(null===(d=n.initialSettings)||void 0===d?void 0:d.maxZoom)&&(v.maxZoom=n.initialSettings.maxZoom),void 0!==(null===(h=n.initialSettings)||void 0===h?void 0:h.minZoom)&&(v.minZoom=n.initialSettings.minZoom),void 0!==(null===(y=n.initialSettings)||void 0===y||null===(y=y.states)||void 0===y?void 0:y.opacity)&&(v.opacity=n.initialSettings.states.opacity),a=new g.A(v),this.setLayerAndLoadEndListeners(n,a,"image")),this.emitLayerCreation({config:n,layer:a}),e.abrupt("return",Promise.resolve(a));case 18:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"onLoaded",value:function(e){(0,c.A)((0,u.A)(t.prototype),"onLoaded",this).call(this,e),this.applyViewFilter(e.layerPath,e.layerFilter||"")}},{key:"applyViewFilter",value:function(e,t,n){var i=this;v.vF.logTraceCore("ESRIImage - applyViewFilter",e);var a=this.getLayerConfig(e),s=this.getOLLayer(e),l=s.getSource();if(l){var c=t;if(a.legendFilterIsOff=!n,n&&(a.layerFilter=t),c){var u=(c=c.replaceAll(/\s{2,}/g," ").trim()).split(/(?<=\b)\s*=/),d=u[0].trim();c=u[1].trim();var h=(0,o.A)("".concat(c," ").matchAll(/(?<=^date\b\s')[\d/\-T\s:+Z]{4,25}(?=')|(?<=[(\s]date\b\s')[\d/\-T\s:+Z]{4,25}(?=')/gi));h.reverse(),h.forEach((function(e){var t=![20,25].includes(e[0].length),n=y.P.applyInputDateFormat(e[0],i.externalFragmentsOrder,t);c="".concat(c.slice(0,e.index-6)).concat(n).concat(c.slice(e.index+e[0].length+2))})),l.updateParams((0,r.A)({},d,c.replace(/\s*/g,""))),s.changed(),this.emitLayerFilterApplied({layerPath:e,filter:c})}}}},{key:"getBounds",value:function(e){var t,n=this.getMetadataExtent();if(n){var r=this.getMetadataProjection();t=this.getMapViewer().convertExtentFromProjToMapProj(n,r)}return t}}]);var n,l}(A.A)},16146:(e,t,n)=>{"use strict";n.d(t,{HO:()=>_,Qn:()=>O,S6:()=>I});var r=n(80180),o=n(59682),i=n(41108),a=n(95947),s=n(71104),l=n(89153),c=n(79778),u=n(64417),d=n.n(u),h=n(95841),p=n(31421),f=n(28596),g=n(67475),m=n(37450),y=n(7517),v=n(55231),b=n(42982),w=n(66700),A=n(7881),x=n(80309),S=n(86266);function C(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,E()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(E=function(){return!!e})()}function k(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function T(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var _=function(e){return(null==e?void 0:e.geoviewLayerType)===m.y6.IMAGE_STATIC},O=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===m.y6.IMAGE_STATIC},P=new WeakSet,I=function(e){function t(e,n){var r;return(0,o.A)(this,t),k(r=C(this,t,[m.y6.IMAGE_STATIC,n,e]),P),r}return(0,c.A)(t,e),(0,i.A)(t,[{key:"fetchServiceMetadata",value:function(){return new Promise((function(e){e()}))}},{key:"getLegend",value:(a=(0,r.A)(d().mark((function e(t){var n,r,o,i,a,s,l;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,n=this.getLayerConfig(t)){e.next=4;break}return e.abrupt("return",null);case 4:return e.next=6,T(P,this,M).call(this,n);case 6:if(r=e.sent){e.next=10;break}return o={type:m.y6.IMAGE_STATIC,legend:null},e.abrupt("return",o);case 10:return e.next=12,(0,S.yt)(r);case 12:if(!(i=e.sent)){e.next=21;break}return(a=document.createElement("canvas")).width=i.width,a.height=i.height,a.getContext("2d").drawImage(i,0,0),s={type:m.y6.IMAGE_STATIC,legend:a},e.abrupt("return",s);case 21:return l={type:m.y6.IMAGE_STATIC,legend:null},e.abrupt("return",l);case 25:return e.prev=25,e.t0=e.catch(0),w.vF.logError("Error getting legend for ".concat(t),e.t0),e.abrupt("return",null);case 29:case"end":return e.stop()}}),e,this,[[0,25]])}))),function(e){return a.apply(this,arguments)})},{key:"validateListOfLayerEntryConfig",value:function(e){var t=this;e.forEach((function(e){var n,r=e.layerPath;if((0,v.KD)(e)&&(t.validateListOfLayerEntryConfig(e.listOfLayerEntryConfig),!e.listOfLayerEntryConfig.length))return t.layerLoadError.push({layer:r,loggerMessage:"Empty layer group (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")")}),void(e.layerStatus="error");if(e.layerStatus="processing",t.metadata){var o;if(Array.isArray(null===(n=t.metadata)||void 0===n?void 0:n.listOfLayerEntryConfig))return(0,g.KX)(null===(o=t.metadata)||void 0===o?void 0:o.listOfLayerEntryConfig).find((function(t){return t.layerId===e.layerId}))?void 0:(t.layerLoadError.push({layer:r,loggerMessage:"GeoJSON layer not found (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")")}),void(e.layerStatus="error"));throw new Error("Invalid GeoJSON metadata (listOfLayerEntryConfig) prevent loading of layer (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")"))}}))}},{key:"processOneLayerEntry",value:(n=(0,r.A)(d().mark((function e(n){var r,o,i,a,c,u,h,g,m,y,v,w;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.A)((0,l.A)(t.prototype),"processOneLayerEntry",this).call(this,n);case 2:if(n instanceof A.V){e.next=4;break}throw new Error("Invalid layer configuration type provided");case 4:if(null!=n&&null!==(r=n.source)&&void 0!==r&&r.extent){e.next=6;break}throw new Error("Parameter extent is not defined in source element of layerConfig.");case 6:if(a={url:(0,b.getLocalizedValue)(n.source.dataAccessPath,x.K.getDisplayLanguage(this.mapId))||"",imageExtent:n.source.extent},null!=n&&null!==(o=n.source)&&void 0!==o&&o.crossOrigin?a.crossOrigin=n.source.crossOrigin:a.crossOrigin="Anonymous",null==n||null===(i=n.source)||void 0===i||!i.projection){e.next=12;break}a.projection="EPSG:".concat(n.source.projection),e.next=13;break;case 12:throw new Error("Parameter projection is not define in source element of layerConfig.");case 13:return c=new p.A(a),(u=this.emitLayerRequesting({config:n,source:c})).length>0&&(h=u[0]),h||(w={source:c},void 0!==(null===(g=n.initialSettings)||void 0===g?void 0:g.extent)&&(w.extent=n.initialSettings.extent),void 0!==(null===(m=n.initialSettings)||void 0===m?void 0:m.maxZoom)&&(w.maxZoom=n.initialSettings.maxZoom),void 0!==(null===(y=n.initialSettings)||void 0===y?void 0:y.minZoom)&&(w.minZoom=n.initialSettings.minZoom),void 0!==(null===(v=n.initialSettings)||void 0===v||null===(v=v.states)||void 0===v?void 0:v.opacity)&&(w.opacity=n.initialSettings.states.opacity),h=new f.A(w),this.setLayerAndLoadEndListeners(n,h,"image")),this.emitLayerCreation({config:n,layer:h}),e.abrupt("return",Promise.resolve(h));case 19:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"getBounds",value:function(e){var t,n=this.getOLLayer(e),r=this.getSourceProjection(e),o=null==n||null===(t=n.getSource())||void 0===t?void 0:t.getImageExtent();return o&&(o=this.getMapViewer().convertExtentFromProjToMapProj(o,r)),o}}]);var n,a}(y.A);function M(e){var t=this;return new Promise((function(n){var r=(0,b.getLocalizedValue)(e.source.dataAccessPath,x.K.getDisplayLanguage(t.mapId));r?(r=r.toLowerCase().startsWith("http:")?"https".concat(r.slice(4)):r,h.A.get(r,{responseType:"blob",withCredentials:!1}).then((function(e){var t;n((t=(0,g.KX)(e.data),new Promise((function(e){var n=new FileReader;n.onloadend=function(){return e(n.result)},n.onerror=function(){return e(null)},n.readAsDataURL(t)}))))})).catch((function(){return n(null)}))):n(null)}))}},95720:(e,t,n)=>{"use strict";n.d(t,{RZ:()=>Li,Pg:()=>Mi,c9:()=>Ii});var r=n(74780),o=n(80180),i=n(59682),a=n(41108),s=n(95947),l=n(71104),c=n(89153),u=n(79778),d=n(64417),h=n.n(d),p=n(36203),f=n(36116),g=n(73846),m=n(70861),y=n(47616),v=n(13645),b=n(39605),w=n(82607),A=n(22840),x=n(25899),S=n(28371),C=n(92425),E=n(63221),k=n(66749),T=n(51585),_=n(75601),O=n(94994),P=n(45917),I=n(28596),M=n(81571),L=(n(44773),n(42024)),R=n(24438),j=n(67087),F=n(4180),D=n(1660),N=n(60101),z=n(62767),B=n(17567),V=n(14641),$=n(34336),G=n(16897);class U extends L.Ay{constructor(e){super(),e=e||{},this.dataProjection=new V.A({code:"",units:"tile-pixels"}),this.featureClass_=e.featureClass?e.featureClass:w.Ay,this.geometryName_=e.geometryName,this.layerName_=e.layerName?e.layerName:"layer",this.layers_=e.layers?e.layers:null,this.idProperty_=e.idProperty,this.supportedMediaTypes=["application/vnd.mapbox-vector-tile","application/x-protobuf"]}readRawGeometry_(e,t,n,r){e.pos=t.geometry;const o=e.readVarint()+e.pos;let i=1,a=0,s=0,l=0,c=0,u=0;for(;e.pos>3}if(a--,1===i||2===i)s+=e.readSVarint(),l+=e.readSVarint(),1===i&&c>u&&(r.push(c),u=c),n.push(s,l),c+=2;else{if(7!==i)throw new Error("Invalid command found in the PBF");c>u&&(n.push(n[u],n[u+1]),c+=2)}}c>u&&(r.push(c),u=c)}createFeature_(e,t,n){const r=t.type;if(0===r)return null;let o;const i=t.properties;let a;this.idProperty_?(a=i[this.idProperty_],delete i[this.idProperty_]):a=t.id,i[this.layerName_]=t.layer.name;const s=[],l=[];this.readRawGeometry_(e,t,s,l);const c=function(e,t){let n;1===e?n=1===t?"Point":"MultiPoint":2===e?n=1===t?"LineString":"MultiLineString":3===e&&(n="Polygon");return n}(r,l.length);if(this.featureClass_===w.Ay)o=new this.featureClass_(c,s,l,2,i,a),o.transform(n.dataProjection);else{let e;if("Polygon"==c){const t=(0,G.yJ)(s,l);e=t.length>1?new D.A(s,"XY",t):new B.Ay(s,"XY",l)}else e="Point"===c?new z.A(s,"XY"):"LineString"===c?new R.A(s,"XY"):"MultiPoint"===c?new F.A(s,"XY"):"MultiLineString"===c?new j.A(s,"XY",l):null;o=new(0,this.featureClass_),this.geometryName_&&o.setGeometryName(this.geometryName_);const t=(0,L.hX)(e,!1,n);o.setGeometry(t),void 0!==a&&o.setId(a),o.setProperties(i,!0)}return o}getType(){return"arraybuffer"}readFeatures(e,t){const n=this.layers_;t=this.adaptOptions(t);const r=(0,$.Jt)(t.dataProjection);r.setWorldExtent(t.extent),t.dataProjection=r;const o=new N(e),i=o.readFields(W,{}),a=[];for(const e in i){if(n&&!n.includes(e))continue;const s=i[e],l=s?[0,0,s.extent,s.extent]:null;r.setExtent(l);for(let e=0,n=s.length;e>3)?n.readString():2===e?n.readFloat():3===e?n.readDouble():4===e?n.readVarint64():5===e?n.readVarint():6===e?n.readSVarint():7===e?n.readBoolean():null;t.values.push(r)}}function H(e,t,n){if(1==e)t.id=n.readVarint();else if(2==e){const e=n.readVarint()+n.pos;for(;n.posthis._maxQueueLength;)this._queue.shift().callback(null,null)}_dispatch(){if(this._running||0===this._queue.length)return;const e=this._queue.shift();this._job=e;const t=e.inputs[0].width,n=e.inputs[0].height,r=e.inputs.map((function(e){return e.data.buffer})),o=this._workers.length;if(this._running=o,1===o)return void this._workers[0].postMessage({buffers:r,meta:e.meta,imageOps:this._imageOps,width:t,height:n},r);const i=e.inputs[0].data.length,a=4*Math.ceil(i/4/o);for(let i=0;i=200&&t.status<300){let e;try{e=JSON.parse(t.responseText)}catch(e){return void this.handleTileJSONError()}this.handleTileJSONResponse(e)}else this.handleTileJSONError()}onXHRError_(e){this.handleTileJSONError()}getTileJSON(){return this.tileJSON_}handleTileJSONResponse(e){const t=(0,$.Jt)("EPSG:4326"),n=this.getProjection();let r;if(void 0!==e.bounds){const o=(0,$.FO)(t,n);r=(0,le.applyTransform)(e.bounds,o)}const o=(0,Se.kZ)(n),i=e.minzoom||0,a=e.maxzoom||22,s=(0,Se.EN)({extent:o,maxZoom:a,minZoom:i,tileSize:this.tileSize_});if(this.tileGrid=s,this.tileUrlFunction=(0,_.Qz)(e.tiles,s),e.attribution&&!this.getAttributions()){const t=void 0!==r?r:o;this.setAttributions((function(n){return(0,le.intersects)(t,n.extent)?[e.attribution]:null}))}this.tileJSON_=e,this.setState("ready")}handleTileJSONError(){this.setState("error")}}const Ee=Ce;var ke=n(44999),Te=n(83605),_e=n(32753),Oe=n(98949);function Pe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ie,Me={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],rebeccapurple:[102,51,153,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Le(e){return(e=Math.round(e))<0?0:e>255?255:e}function Re(e){return e<0?0:e>1?1:e}function je(e){return"%"===e[e.length-1]?Le(parseFloat(e)/100*255):Le(parseInt(e))}function Fe(e){return"%"===e[e.length-1]?Re(parseFloat(e)/100):Re(parseFloat(e))}function De(e,t,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}try{Ie={}.parseCSSColor=function(e){var t,n=e.replace(/ /g,"").toLowerCase();if(n in Me)return Me[n].slice();if("#"===n[0])return 4===n.length?(t=parseInt(n.substr(1),16))>=0&&t<=4095?[(3840&t)>>4|(3840&t)>>8,240&t|(240&t)>>4,15&t|(15&t)<<4,1]:null:7===n.length&&(t=parseInt(n.substr(1),16))>=0&&t<=16777215?[(16711680&t)>>16,(65280&t)>>8,255&t,1]:null;var r=n.indexOf("("),o=n.indexOf(")");if(-1!==r&&o+1===n.length){var i=n.substr(0,r),a=n.substr(r+1,o-(r+1)).split(","),s=1;switch(i){case"rgba":if(4!==a.length)return null;s=Fe(a.pop());case"rgb":return 3!==a.length?null:[je(a[0]),je(a[1]),je(a[2]),s];case"hsla":if(4!==a.length)return null;s=Fe(a.pop());case"hsl":if(3!==a.length)return null;var l=(parseFloat(a[0])%360+360)%360/360,c=Fe(a[1]),u=Fe(a[2]),d=u<=.5?u*(c+1):u+c-u*c,h=2*u-d;return[Le(255*De(h,d,l+1/3)),Le(255*De(h,d,l)),Le(255*De(h,d,l-1/3)),s];default:return null}}return null}}catch(e){}class Ne{constructor(e,t,n,r=1){this.r=e,this.g=t,this.b=n,this.a=r}static parse(e){if(!e)return;if(e instanceof Ne)return e;if("string"!=typeof e)return;const t=Ie(e);return t?new Ne(t[0]/255*t[3],t[1]/255*t[3],t[2]/255*t[3],t[3]):void 0}toString(){const[e,t,n,r]=this.toArray();return`rgba(${Math.round(e)},${Math.round(t)},${Math.round(n)},${r})`}toArray(){const{r:e,g:t,b:n,a:r}=this;return 0===r?[0,0,0,0]:[255*e/r,255*t/r,255*n/r,r]}toArray01(){const{r:e,g:t,b:n,a:r}=this;return 0===r?[0,0,0,0]:[e/r,t/r,n/r,r]}toArray01PremultipliedAlpha(){const{r:e,g:t,b:n,a:r}=this;return[e,t,n,r]}}Ne.black=new Ne(0,0,0,1),Ne.white=new Ne(1,1,1,1),Ne.transparent=new Ne(0,0,0,0),Ne.red=new Ne(1,0,0,1),Ne.blue=new Ne(0,0,1,1);var ze=Ne;function Be(e){return"object"==typeof e?["literal",e]:e}function Ve(e,t){let n=e.stops;if(!n)return function(e,t){const n=["get",e.property];if(void 0===e.default)return"string"===t.type?["string",n]:n;if("enum"===t.type)return["match",n,Object.keys(t.values),n,e.default];{const r=["color"===t.type?"to-color":t.type,n,Be(e.default)];return"array"===t.type&&r.splice(1,0,t.value,t.length||null),r}}(e,t);const r=n&&"object"==typeof n[0][0],o=r||void 0!==e.property,i=r||!o;return n=n.map((e=>!o&&t.tokens&&"string"==typeof e[1]?[e[0],Ye(e[1])]:[e[0],Be(e[1])])),r?function(e,t,n){const r={},o={},i=[];for(let t=0;t3&&t===e[e.length-2]||(r&&2===e.length||e.push(t),e.push(n))}function He(e,t){return e.type?e.type:t.expression.interpolated?"exponential":"interval"}function Ye(e){const t=["concat"],n=/{([^{}]+)}/g;let r=0;for(let o=n.exec(e);null!==o;o=n.exec(e)){const i=e.slice(r,n.lastIndex-o[0].length);r=n.lastIndex,i.length>0&&t.push(i),t.push(["get",o[1]])}if(1===t.length)return e;if(r`:"value"===e.itemType.kind?"array":`array<${t}>`}return e.kind}const dt=[Qe,et,tt,nt,rt,st,ot,ct(it),lt];function ht(e,t){if("error"===t.kind)return null;if("array"===e.kind){if("array"===t.kind&&(0===t.N&&"value"===t.itemType.kind||!ht(e.itemType,t.itemType))&&("number"!=typeof e.N||e.N===t.N))return null}else{if(e.kind===t.kind)return null;if("value"===e.kind)for(const e of dt)if(!ht(e,t))return null}return`Expected ${ut(e)} but found ${ut(t)} instead.`}function pt(e,t){return t.some((t=>t.kind===e.kind))}function ft(e,t){return t.some((t=>"null"===t?null===e:"array"===t?Array.isArray(e):"object"===t?e&&!Array.isArray(e)&&"object"==typeof e:t===typeof e))}class gt{constructor(e,t,n){this.sensitivity=e?t?"variant":"case":t?"accent":"base",this.locale=n,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}compare(e,t){return this.collator.compare(e,t)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class mt{constructor(e,t,n,r,o){this.text=e.normalize?e.normalize():e,this.image=t,this.scale=n,this.fontStack=r,this.textColor=o}}class yt{constructor(e){this.sections=e}static fromString(e){return new yt([new mt(e,null,null,null,null)])}isEmpty(){return 0===this.sections.length||!this.sections.some((e=>0!==e.text.length||e.image&&0!==e.image.name.length))}static factory(e){return e instanceof yt?e:yt.fromString(e)}toString(){return 0===this.sections.length?"":this.sections.map((e=>e.text)).join("")}serialize(){const e=["format"];for(const t of this.sections){if(t.image){e.push(["image",t.image.name]);continue}e.push(t.text);const n={};t.fontStack&&(n["text-font"]=["literal",t.fontStack.split(",")]),t.scale&&(n["font-scale"]=t.scale),t.textColor&&(n["text-color"]=["rgba"].concat(t.textColor.toArray())),e.push(n)}return e}}class vt{constructor(e){this.name=e.name,this.available=e.available}toString(){return this.name}static fromString(e){return e?new vt({name:e,available:!1}):null}serialize(){return["image",this.name]}}function bt(e,t,n,r){if(!("number"==typeof e&&e>=0&&e<=255&&"number"==typeof t&&t>=0&&t<=255&&"number"==typeof n&&n>=0&&n<=255)){return`Invalid rgba value [${("number"==typeof r?[e,t,n,r]:[e,t,n]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}return void 0===r||"number"==typeof r&&r>=0&&r<=1?null:`Invalid rgba value [${[e,t,n,r].join(", ")}]: 'a' must be between 0 and 1.`}function wt(e){if(null===e)return!0;if("string"==typeof e)return!0;if("boolean"==typeof e)return!0;if("number"==typeof e)return!0;if(e instanceof ze)return!0;if(e instanceof gt)return!0;if(e instanceof yt)return!0;if(e instanceof vt)return!0;if(Array.isArray(e)){for(const t of e)if(!wt(t))return!1;return!0}if("object"==typeof e){for(const t in e)if(!wt(e[t]))return!1;return!0}return!1}function At(e){if(null===e)return Qe;if("string"==typeof e)return tt;if("boolean"==typeof e)return nt;if("number"==typeof e)return et;if(e instanceof ze)return rt;if(e instanceof gt)return at;if(e instanceof yt)return st;if(e instanceof vt)return lt;if(Array.isArray(e)){const t=e.length;let n;for(const t of e){const e=At(t);if(n){if(n===e)continue;n=it;break}n=e}return ct(n||it,t)}return ot}function xt(e){const t=typeof e;return null===e?"":"string"===t||"number"===t||"boolean"===t?String(e):e instanceof ze||e instanceof yt||e instanceof vt?e.toString():JSON.stringify(e)}class St{constructor(e,t){this.type=e,this.value=t}static parse(e,t){if(2!==e.length)return t.error(`'literal' expression requires exactly one argument, but found ${e.length-1} instead.`);if(!wt(e[1]))return t.error("invalid value");const n=e[1];let r=At(n);const o=t.expectedType;return"array"!==r.kind||0!==r.N||!o||"array"!==o.kind||"number"==typeof o.N&&0!==o.N||(r=o),new St(r,n)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}serialize(){return"array"===this.type.kind||"object"===this.type.kind?["literal",this.value]:this.value instanceof ze?["rgba"].concat(this.value.toArray()):this.value instanceof yt?this.value.serialize():this.value}}var Ct=St;var Et=class{constructor(e){this.name="ExpressionEvaluationError",this.message=e}toJSON(){return this.message}};const kt={string:tt,number:et,boolean:nt,object:ot};class Tt{constructor(e,t){this.type=e,this.args=t}static parse(e,t){if(e.length<2)return t.error("Expected at least one argument.");let n,r=1;const o=e[0];if("array"===o){let o,i;if(e.length>2){const n=e[1];if("string"!=typeof n||!(n in kt)||"object"===n)return t.error('The item type argument of "array" must be one of string, number, boolean',1);o=kt[n],r++}else o=it;if(e.length>3){if(null!==e[2]&&("number"!=typeof e[2]||e[2]<0||e[2]!==Math.floor(e[2])))return t.error('The length argument to "array" must be a positive integer literal',2);i=e[2],r++}n=ct(o,i)}else n=kt[o];const i=[];for(;re.outputDefined()))}serialize(){const e=this.type,t=[e.kind];if("array"===e.kind){const n=e.itemType;if("string"===n.kind||"number"===n.kind||"boolean"===n.kind){t.push(n.kind);const r=e.N;("number"==typeof r||this.args.length>1)&&t.push(r)}}return t.concat(this.args.map((e=>e.serialize())))}}var _t=Tt;class Ot{constructor(e){this.type=st,this.sections=e}static parse(e,t){if(e.length<2)return t.error("Expected at least one argument.");const n=e[1];if(!Array.isArray(n)&&"object"==typeof n)return t.error("First argument must be an image or text section.");const r=[];let o=!1;for(let n=1;n<=e.length-1;++n){const i=e[n];if(o&&"object"==typeof i&&!Array.isArray(i)){o=!1;let e=null;if(i["font-scale"]&&(e=t.parse(i["font-scale"],1,et),!e))return null;let n=null;if(i["text-font"]&&(n=t.parse(i["text-font"],1,ct(tt)),!n))return null;let a=null;if(i["text-color"]&&(a=t.parse(i["text-color"],1,rt),!a))return null;const s=r[r.length-1];s.scale=e,s.font=n,s.textColor=a}else{const i=t.parse(e[n],1,it);if(!i)return null;const a=i.type.kind;if("string"!==a&&"value"!==a&&"null"!==a&&"resolvedImage"!==a)return t.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");o=!0,r.push({content:i,scale:null,font:null,textColor:null})}}return new Ot(r)}evaluate(e){return new yt(this.sections.map((t=>{const n=t.content.evaluate(e);return At(n)===lt?new mt("",n,null,null,null):new mt(xt(n),null,t.scale?t.scale.evaluate(e):null,t.font?t.font.evaluate(e).join(","):null,t.textColor?t.textColor.evaluate(e):null)})))}eachChild(e){for(const t of this.sections)e(t.content),t.scale&&e(t.scale),t.font&&e(t.font),t.textColor&&e(t.textColor)}outputDefined(){return!1}serialize(){const e=["format"];for(const t of this.sections){e.push(t.content.serialize());const n={};t.scale&&(n["font-scale"]=t.scale.serialize()),t.font&&(n["text-font"]=t.font.serialize()),t.textColor&&(n["text-color"]=t.textColor.serialize()),e.push(n)}return e}}class Pt{constructor(e){this.type=lt,this.input=e}static parse(e,t){if(2!==e.length)return t.error("Expected two arguments.");const n=t.parse(e[1],1,tt);return n?new Pt(n):t.error("No image name provided.")}evaluate(e){const t=this.input.evaluate(e),n=vt.fromString(t);return n&&e.availableImages&&(n.available=e.availableImages.indexOf(t)>-1),n}eachChild(e){e(this.input)}outputDefined(){return!1}serialize(){return["image",this.input.serialize()]}}const It={"to-boolean":nt,"to-color":rt,"to-number":et,"to-string":tt};class Mt{constructor(e,t){this.type=e,this.args=t}static parse(e,t){if(e.length<2)return t.error("Expected at least one argument.");const n=e[0];if(("to-boolean"===n||"to-string"===n)&&2!==e.length)return t.error("Expected one argument.");const r=It[n],o=[];for(let n=1;n4?`Invalid rbga value ${JSON.stringify(t)}: expected an array containing either three or four numeric values.`:bt(t[0],t[1],t[2],t[3]),!n))return new ze(t[0]/255,t[1]/255,t[2]/255,t[3])}throw new Et(n||`Could not parse color from value '${"string"==typeof t?t:String(JSON.stringify(t))}'`)}if("number"===this.type.kind){let t=null;for(const n of this.args){if(t=n.evaluate(e),null===t)return 0;const r=Number(t);if(!isNaN(r))return r}throw new Et(`Could not convert ${JSON.stringify(t)} to number.`)}return"formatted"===this.type.kind?yt.fromString(xt(this.args[0].evaluate(e))):"resolvedImage"===this.type.kind?vt.fromString(xt(this.args[0].evaluate(e))):xt(this.args[0].evaluate(e))}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every((e=>e.outputDefined()))}serialize(){if("formatted"===this.type.kind)return new Ot([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if("resolvedImage"===this.type.kind)return new Pt(this.args[0]).serialize();const e=[`to-${this.type.kind}`];return this.eachChild((t=>{e.push(t.serialize())})),e}}var Lt=Mt;const Rt=["Unknown","Point","LineString","Polygon"];var jt=class{constructor(){this.globals=null,this.feature=null,this.featureState=null,this.formattedSection=null,this._parseColorCache={},this.availableImages=null,this.canonical=null,this.featureTileCoord=null,this.featureDistanceData=null}id(){return this.feature&&void 0!==this.feature.id?this.feature.id:null}geometryType(){return this.feature?"number"==typeof this.feature.type?Rt[this.feature.type]:this.feature.type:null}geometry(){return this.feature&&"geometry"in this.feature?this.feature.geometry:null}canonicalID(){return this.canonical}properties(){return this.feature&&this.feature.properties||{}}distanceFromCenter(){if(this.featureTileCoord&&this.featureDistanceData){const e=this.featureDistanceData.center,t=this.featureDistanceData.scale,{x:n,y:r}=this.featureTileCoord,o=n*t-e[0],i=r*t-e[1];return this.featureDistanceData.bearing[0]*o+this.featureDistanceData.bearing[1]*i}return 0}parseColor(e){let t=this._parseColorCache[e];return t||(t=this._parseColorCache[e]=ze.parse(e)),t}};class Ft{constructor(e,t,n,r){this.name=e,this.type=t,this._evaluate=n,this.args=r}evaluate(e){return this._evaluate(e,this.args)}eachChild(e){this.args.forEach(e)}outputDefined(){return!1}serialize(){return[this.name].concat(this.args.map((e=>e.serialize())))}static parse(e,t){const n=e[0],r=Ft.definitions[n];if(!r)return t.error(`Unknown expression "${n}". If you wanted a literal array, use ["literal", [...]].`,0);const o=Array.isArray(r)?r[0]:r.type,i=Array.isArray(r)?[[r[1],r[2]]]:r.overloads,a=i.filter((([t])=>!Array.isArray(t)||t.length===e.length-1));let s=null;for(const[r,i]of a){s=new dn(t.registry,t.path,null,t.scope);const a=[];let l=!1;for(let t=1;t{return t=e,Array.isArray(t)?`(${t.map(ut).join(", ")})`:`(${ut(t.type)}...)`;var t})).join(" | "),r=[];for(let n=1;n=t[2])&&(!(e[1]<=t[1])&&!(e[3]>=t[3])))}function $t(e,t){const n=(180+e[0])/360;const r=(o=e[1],(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+o*Math.PI/360)))/360);var o;const i=Math.pow(2,t.z);return[Math.round(n*i*zt),Math.round(r*i*zt)]}function Gt(e,t,n){const r=e[0]-t[0],o=e[1]-t[1],i=e[0]-n[0],a=e[1]-n[1];return r*a-i*o==0&&r*i<=0&&o*a<=0}function Ut(e,t){let n=!1;for(let a=0,s=t.length;ar[1]!=i[1]>r[1]&&r[0]<(i[0]-o[0])*(r[1]-o[1])/(i[1]-o[1])+o[0]&&(n=!n)}}var r,o,i;return n}function Wt(e,t){for(let n=0;n0&&d<0||u<0&&d>0}function Ht(e,t,n,r){const o=[t[0]-e[0],t[1]-e[1]],i=[r[0]-n[0],r[1]-n[1]];return 0!=(a=i)[0]*(s=o)[1]-a[1]*s[0]&&!(!qt(e,t,n,r)||!qt(n,r,e,t));var a,s}function Yt(e,t,n){for(const r of n)for(let n=0;nn[2]){const t=.5*r;let o=e[0]-n[0]>t?-r:n[0]-e[0]>t?r:0;0===o&&(o=e[0]-n[2]>t?-r:n[2]-e[0]>t?r:0),e[0]+=o}Bt(t,e)}function en(e,t,n,r){const o=Math.pow(2,r.z)*zt,i=[r.x*zt,r.y*zt],a=[];if(!e)return a;for(const r of e)for(const e of r){const r=[e.x+i[0],e.y+i[1]];Qt(r,t,n,o),a.push(r)}return a}function tn(e,t,n,r){const o=Math.pow(2,r.z)*zt,i=[r.x*zt,r.y*zt],a=[];if(!e)return a;for(const n of e){const e=[];for(const r of n){const n=[r.x+i[0],r.y+i[1]];Bt(t,n),e.push(n)}a.push(e)}if(t[2]-t[0]<=o/2){(s=t)[0]=s[1]=1/0,s[2]=s[3]=-1/0;for(const e of a)for(const r of e)Qt(r,t,n,o)}var s;return a}class nn{constructor(e,t){this.type=nt,this.geojson=e,this.geometries=t}static parse(e,t){if(2!==e.length)return t.error(`'within' expression requires exactly one argument, but found ${e.length-1} instead.`);if(wt(e[1])){const t=e[1];if("FeatureCollection"===t.type)for(let e=0;e{t&&!on(e)&&(t=!1)})),t}function an(e){if(e instanceof Dt&&"feature-state"===e.name)return!1;let t=!0;return e.eachChild((e=>{t&&!an(e)&&(t=!1)})),t}function sn(e,t){if(e instanceof Dt&&t.indexOf(e.name)>=0)return!1;let n=!0;return e.eachChild((e=>{n&&!sn(e,t)&&(n=!1)})),n}class ln{constructor(e,t){this.type=t.type,this.name=e,this.boundExpression=t}static parse(e,t){if(2!==e.length||"string"!=typeof e[1])return t.error("'var' expression requires exactly one string literal argument.");const n=e[1];return t.scope.has(n)?new ln(n,t.scope.get(n)):t.error(`Unknown variable "${n}". Make sure "${n}" has been bound in an enclosing "let" expression before using it.`,1)}evaluate(e){return this.boundExpression.evaluate(e)}eachChild(){}outputDefined(){return!1}serialize(){return["var",this.name]}}var cn=ln;class un{constructor(e,t=[],n,r=new Je,o=[]){this.registry=e,this.path=t,this.key=t.map((e=>`[${e}]`)).join(""),this.scope=r,this.errors=o,this.expectedType=n}parse(e,t,n,r,o={}){return t?this.concat(t,n,r)._parse(e,o):this._parse(e,o)}_parse(e,t){function n(e,t,n){return"assert"===n?new _t(t,[e]):"coerce"===n?new Lt(t,[e]):e}if(null!==e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e||(e=["literal",e]),Array.isArray(e)){if(0===e.length)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const r=e[0];if("string"!=typeof r)return this.error(`Expression name must be a string, but found ${typeof r} instead. If you wanted a literal array, use ["literal", [...]].`,0),null;const o=this.registry[r];if(o){let r=o.parse(e,this);if(!r)return null;if(this.expectedType){const e=this.expectedType,o=r.type;if("string"!==e.kind&&"number"!==e.kind&&"boolean"!==e.kind&&"object"!==e.kind&&"array"!==e.kind||"value"!==o.kind)if("color"!==e.kind&&"formatted"!==e.kind&&"resolvedImage"!==e.kind||"value"!==o.kind&&"string"!==o.kind){if(this.checkSubtype(e,o))return null}else r=n(r,e,t.typeAnnotation||"coerce");else r=n(r,e,t.typeAnnotation||"assert")}if(!(r instanceof Ct)&&"resolvedImage"!==r.type.kind&&hn(r)){const e=new jt;try{r=new Ct(r.type,r.evaluate(e))}catch(e){return this.error(e.message),null}}return r}return this.error(`Unknown expression "${r}". If you wanted a literal array, use ["literal", [...]].`,0)}return void 0===e?this.error("'undefined' value invalid. Use null instead."):"object"==typeof e?this.error('Bare objects invalid. Use ["literal", {...}] instead.'):this.error(`Expected an array, but found ${typeof e} instead.`)}concat(e,t,n){const r="number"==typeof e?this.path.concat(e):this.path,o=n?this.scope.concat(n):this.scope;return new un(this.registry,r,t||null,o,this.errors)}error(e,...t){const n=`${this.key}${t.map((e=>`[${e}]`)).join("")}`;this.errors.push(new Xe(n,e))}checkSubtype(e,t){const n=ht(e,t);return n&&this.error(n),n}}var dn=un;function hn(e){if(e instanceof cn)return hn(e.boundExpression);if(e instanceof Dt&&"error"===e.name)return!1;if(e instanceof Nt)return!1;if(e instanceof rn)return!1;const t=e instanceof Lt||e instanceof _t;let n=!0;return e.eachChild((e=>{n=t?n&&hn(e):n&&e instanceof Ct})),!!n&&(on(e)&&sn(e,["zoom","heatmap-density","line-progress","sky-radial-progress","accumulated","is-supported-script","pitch","distance-from-center"]))}function pn(e,t){const n=e.length-1;let r,o,i=0,a=n,s=0;for(;i<=a;)if(s=Math.floor((i+a)/2),r=e[s],o=e[s+1],r<=t){if(s===n||tt))throw new Et("Input is not a number.");a=s-1}return 0}class fn{constructor(e,t,n){this.type=e,this.input=t,this.labels=[],this.outputs=[];for(const[e,t]of n)this.labels.push(e),this.outputs.push(t)}static parse(e,t){if(e.length-1<4)return t.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return t.error("Expected an even number of arguments.");const n=t.parse(e[1],1,et);if(!n)return null;const r=[];let o=null;t.expectedType&&"value"!==t.expectedType.kind&&(o=t.expectedType);for(let n=1;n=i)return t.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',s);const c=t.parse(a,l,o);if(!c)return null;o=o||c.type,r.push([i,c])}return new fn(o,n,r)}evaluate(e){const t=this.labels,n=this.outputs;if(1===t.length)return n[0].evaluate(e);const r=this.input.evaluate(e);if(r<=t[0])return n[0].evaluate(e);const o=t.length;if(r>=t[o-1])return n[o-1].evaluate(e);return n[pn(t,r)].evaluate(e)}eachChild(e){e(this.input);for(const t of this.outputs)e(t)}outputDefined(){return this.outputs.every((e=>e.outputDefined()))}serialize(){const e=["step",this.input.serialize()];for(let t=0;t0&&e.push(this.labels[t]),e.push(this.outputs[t].serialize());return e}}var gn=fn,mn=yn;function yn(e,t,n,r){this.cx=3*e,this.bx=3*(n-e)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*t,this.by=3*(r-t)-this.cy,this.ay=1-this.cy-this.by,this.p1x=e,this.p1y=r,this.p2x=n,this.p2y=r}yn.prototype.sampleCurveX=function(e){return((this.ax*e+this.bx)*e+this.cx)*e},yn.prototype.sampleCurveY=function(e){return((this.ay*e+this.by)*e+this.cy)*e},yn.prototype.sampleCurveDerivativeX=function(e){return(3*this.ax*e+2*this.bx)*e+this.cx},yn.prototype.solveCurveX=function(e,t){var n,r,o,i,a;for(void 0===t&&(t=1e-6),o=e,a=0;a<8;a++){if(i=this.sampleCurveX(o)-e,Math.abs(i)(r=1))return r;for(;ni?n=o:r=o,o=.5*(r-n)+n}return o},yn.prototype.solve=function(e,t){return this.sampleCurveY(this.solveCurveX(e,t))};var vn=Pe(mn);function bn(e,t,n){return e*(1-n)+t*n}var wn=Object.freeze({__proto__:null,number:bn,color:function(e,t,n){return new ze(bn(e.r,t.r,n),bn(e.g,t.g,n),bn(e.b,t.b,n),bn(e.a,t.a,n))},array:function(e,t,n){return e.map(((e,r)=>bn(e,t[r],n)))}});const An=.95047,xn=1,Sn=1.08883,Cn=4/29,En=6/29,kn=3*En*En,Tn=En*En*En,_n=Math.PI/180,On=180/Math.PI;function Pn(e){return e>Tn?Math.pow(e,1/3):e/kn+Cn}function In(e){return e>En?e*e*e:kn*(e-Cn)}function Mn(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Ln(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Rn(e){const t=Ln(e.r),n=Ln(e.g),r=Ln(e.b),o=Pn((.4124564*t+.3575761*n+.1804375*r)/An),i=Pn((.2126729*t+.7151522*n+.072175*r)/xn);return{l:116*i-16,a:500*(o-i),b:200*(i-Pn((.0193339*t+.119192*n+.9503041*r)/Sn)),alpha:e.a}}function jn(e){let t=(e.l+16)/116,n=isNaN(e.a)?t:t+e.a/500,r=isNaN(e.b)?t:t-e.b/200;return t=xn*In(t),n=An*In(n),r=Sn*In(r),new ze(Mn(3.2404542*n-1.5371385*t-.4985314*r),Mn(-.969266*n+1.8760108*t+.041556*r),Mn(.0556434*n-.2040259*t+1.0572252*r),e.alpha)}function Fn(e,t,n){const r=t-e;return e+n*(r>180||r<-180?r-360*Math.round(r/360):r)}const Dn={forward:Rn,reverse:jn,interpolate:function(e,t,n){return{l:bn(e.l,t.l,n),a:bn(e.a,t.a,n),b:bn(e.b,t.b,n),alpha:bn(e.alpha,t.alpha,n)}}},Nn={forward:function(e){const{l:t,a:n,b:r}=Rn(e),o=Math.atan2(r,n)*On;return{h:o<0?o+360:o,c:Math.sqrt(n*n+r*r),l:t,alpha:e.a}},reverse:function(e){const t=e.h*_n,n=e.c;return jn({l:e.l,a:Math.cos(t)*n,b:Math.sin(t)*n,alpha:e.alpha})},interpolate:function(e,t,n){return{h:Fn(e.h,t.h,n),c:bn(e.c,t.c,n),l:bn(e.l,t.l,n),alpha:bn(e.alpha,t.alpha,n)}}};class zn{constructor(e,t,n,r,o){this.type=e,this.operator=t,this.interpolation=n,this.input=r,this.labels=[],this.outputs=[];for(const[e,t]of o)this.labels.push(e),this.outputs.push(t)}static interpolationFactor(e,t,n,r){let o=0;if("exponential"===e.name)o=Bn(t,e.base,n,r);else if("linear"===e.name)o=Bn(t,1,n,r);else if("cubic-bezier"===e.name){const i=e.controlPoints;o=new vn(i[0],i[1],i[2],i[3]).solve(Bn(t,1,n,r))}return o}static parse(e,t){let[n,r,o,...i]=e;if(!Array.isArray(r)||0===r.length)return t.error("Expected an interpolation type expression.",1);if("linear"===r[0])r={name:"linear"};else if("exponential"===r[0]){const e=r[1];if("number"!=typeof e)return t.error("Exponential interpolation requires a numeric base.",1,1);r={name:"exponential",base:e}}else{if("cubic-bezier"!==r[0])return t.error(`Unknown interpolation type ${String(r[0])}`,1,0);{const e=r.slice(1);if(4!==e.length||e.some((e=>"number"!=typeof e||e<0||e>1)))return t.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);r={name:"cubic-bezier",controlPoints:e}}}if(e.length-1<4)return t.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return t.error("Expected an even number of arguments.");if(o=t.parse(o,2,et),!o)return null;const a=[];let s=null;"interpolate-hcl"===n||"interpolate-lab"===n?s=rt:t.expectedType&&"value"!==t.expectedType.kind&&(s=t.expectedType);for(let e=0;e=n)return t.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',o);const c=t.parse(r,l,s);if(!c)return null;s=s||c.type,a.push([n,c])}return"number"===s.kind||"color"===s.kind||"array"===s.kind&&"number"===s.itemType.kind&&"number"==typeof s.N?new zn(s,n,r,o,a):t.error(`Type ${ut(s)} is not interpolatable.`)}evaluate(e){const t=this.labels,n=this.outputs;if(1===t.length)return n[0].evaluate(e);const r=this.input.evaluate(e);if(r<=t[0])return n[0].evaluate(e);const o=t.length;if(r>=t[o-1])return n[o-1].evaluate(e);const i=pn(t,r),a=t[i],s=t[i+1],l=zn.interpolationFactor(this.interpolation,r,a,s),c=n[i].evaluate(e),u=n[i+1].evaluate(e);return"interpolate"===this.operator?wn[this.type.kind.toLowerCase()](c,u,l):"interpolate-hcl"===this.operator?Nn.reverse(Nn.interpolate(Nn.forward(c),Nn.forward(u),l)):Dn.reverse(Dn.interpolate(Dn.forward(c),Dn.forward(u),l))}eachChild(e){e(this.input);for(const t of this.outputs)e(t)}outputDefined(){return this.outputs.every((e=>e.outputDefined()))}serialize(){let e;e="linear"===this.interpolation.name?["linear"]:"exponential"===this.interpolation.name?1===this.interpolation.base?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);const t=[this.operator,e,this.input.serialize()];for(let e=0;eht(r,e.type)));return new $n(i?it:n,o)}evaluate(e){let t,n=null,r=0;for(const o of this.args){if(r++,n=o.evaluate(e),n&&n instanceof vt&&!n.available&&(t||(t=n),n=null,r===this.args.length))return t;if(null!==n)break}return n}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every((e=>e.outputDefined()))}serialize(){const e=["coalesce"];return this.eachChild((t=>{e.push(t.serialize())})),e}}var Gn=$n;class Un{constructor(e,t){this.type=t.type,this.bindings=[].concat(e),this.result=t}evaluate(e){return this.result.evaluate(e)}eachChild(e){for(const t of this.bindings)e(t[1]);e(this.result)}static parse(e,t){if(e.length<4)return t.error(`Expected at least 3 arguments, but found ${e.length-1} instead.`);const n=[];for(let r=1;r=n.length)throw new Et(`Array index out of bounds: ${t} > ${n.length-1}.`);if(t!==Math.floor(t))throw new Et(`Array index must be an integer, but found ${t} instead.`);return n[t]}eachChild(e){e(this.index),e(this.input)}outputDefined(){return!1}serialize(){return["at",this.index.serialize(),this.input.serialize()]}}var Hn=qn;class Yn{constructor(e,t){this.type=nt,this.needle=e,this.haystack=t}static parse(e,t){if(3!==e.length)return t.error(`Expected 2 arguments, but found ${e.length-1} instead.`);const n=t.parse(e[1],1,it),r=t.parse(e[2],2,it);return n&&r?pt(n.type,[nt,tt,et,Qe,it])?new Yn(n,r):t.error(`Expected first argument to be of type boolean, string, number or null, but found ${ut(n.type)} instead`):null}evaluate(e){const t=this.needle.evaluate(e),n=this.haystack.evaluate(e);if(null==n)return!1;if(!ft(t,["boolean","string","number","null"]))throw new Et(`Expected first argument to be of type boolean, string, number or null, but found ${ut(At(t))} instead.`);if(!ft(n,["string","array"]))throw new Et(`Expected second argument to be of type array or string, but found ${ut(At(n))} instead.`);return n.indexOf(t)>=0}eachChild(e){e(this.needle),e(this.haystack)}outputDefined(){return!0}serialize(){return["in",this.needle.serialize(),this.haystack.serialize()]}}var Kn=Yn;class Xn{constructor(e,t,n){this.type=et,this.needle=e,this.haystack=t,this.fromIndex=n}static parse(e,t){if(e.length<=2||e.length>=5)return t.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const n=t.parse(e[1],1,it),r=t.parse(e[2],2,it);if(!n||!r)return null;if(!pt(n.type,[nt,tt,et,Qe,it]))return t.error(`Expected first argument to be of type boolean, string, number or null, but found ${ut(n.type)} instead`);if(4===e.length){const o=t.parse(e[3],3,et);return o?new Xn(n,r,o):null}return new Xn(n,r)}evaluate(e){const t=this.needle.evaluate(e),n=this.haystack.evaluate(e);if(!ft(t,["boolean","string","number","null"]))throw new Et(`Expected first argument to be of type boolean, string, number or null, but found ${ut(At(t))} instead.`);if(!ft(n,["string","array"]))throw new Et(`Expected second argument to be of type array or string, but found ${ut(At(n))} instead.`);if(this.fromIndex){const r=this.fromIndex.evaluate(e);return n.indexOf(t,r)}return n.indexOf(t)}eachChild(e){e(this.needle),e(this.haystack),this.fromIndex&&e(this.fromIndex)}outputDefined(){return!1}serialize(){if(null!=this.fromIndex&&void 0!==this.fromIndex){const e=this.fromIndex.serialize();return["index-of",this.needle.serialize(),this.haystack.serialize(),e]}return["index-of",this.needle.serialize(),this.haystack.serialize()]}}var Zn=Xn;class Jn{constructor(e,t,n,r,o,i){this.inputType=e,this.type=t,this.input=n,this.cases=r,this.outputs=o,this.otherwise=i}static parse(e,t){if(e.length<5)return t.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if(e.length%2!=1)return t.error("Expected an even number of arguments.");let n,r;t.expectedType&&"value"!==t.expectedType.kind&&(r=t.expectedType);const o={},i=[];for(let a=2;aNumber.MAX_SAFE_INTEGER)return c.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if("number"==typeof e&&Math.floor(e)!==e)return c.error("Numeric branch labels must be integer values.");if(n){if(c.checkSubtype(n,At(e)))return null}else n=At(e);if(void 0!==o[String(e)])return c.error("Branch labels must be unique.");o[String(e)]=i.length}const u=t.parse(l,a,r);if(!u)return null;r=r||u.type,i.push(u)}const a=t.parse(e[1],1,it);if(!a)return null;const s=t.parse(e[e.length-1],e.length-1,r);return s?"value"!==a.type.kind&&t.concat(1).checkSubtype(n,a.type)?null:new Jn(n,r,a,o,i,s):null}evaluate(e){const t=this.input.evaluate(e);return(At(t)===this.inputType&&this.outputs[this.cases[t]]||this.otherwise).evaluate(e)}eachChild(e){e(this.input),this.outputs.forEach(e),e(this.otherwise)}outputDefined(){return this.outputs.every((e=>e.outputDefined()))&&this.otherwise.outputDefined()}serialize(){const e=["match",this.input.serialize()],t=Object.keys(this.cases).sort(),n=[],r={};for(const e of t){const t=r[this.cases[e]];void 0===t?(r[this.cases[e]]=n.length,n.push([this.cases[e],[e]])):n[t][1].push(e)}const o=e=>"number"===this.inputType.kind?Number(e):e;for(const[t,r]of n)1===r.length?e.push(o(r[0])):e.push(r.map(o)),e.push(this.outputs[t].serialize());return e.push(this.otherwise.serialize()),e}}var Qn=Jn;class er{constructor(e,t,n){this.type=e,this.branches=t,this.otherwise=n}static parse(e,t){if(e.length<4)return t.error(`Expected at least 3 arguments, but found only ${e.length-1}.`);if(e.length%2!=0)return t.error("Expected an odd number of arguments.");let n;t.expectedType&&"value"!==t.expectedType.kind&&(n=t.expectedType);const r=[];for(let o=1;ot.outputDefined()))&&this.otherwise.outputDefined()}serialize(){const e=["case"];return this.eachChild((t=>{e.push(t.serialize())})),e}}var tr=er;class nr{constructor(e,t,n,r){this.type=e,this.input=t,this.beginIndex=n,this.endIndex=r}static parse(e,t){if(e.length<=2||e.length>=5)return t.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const n=t.parse(e[1],1,it),r=t.parse(e[2],2,et);if(!n||!r)return null;if(!pt(n.type,[ct(it),tt,it]))return t.error(`Expected first argument to be of type array or string, but found ${ut(n.type)} instead`);if(4===e.length){const o=t.parse(e[3],3,et);return o?new nr(n.type,n,r,o):null}return new nr(n.type,n,r)}evaluate(e){const t=this.input.evaluate(e),n=this.beginIndex.evaluate(e);if(!ft(t,["string","array"]))throw new Et(`Expected first argument to be of type array or string, but found ${ut(At(t))} instead.`);if(this.endIndex){const r=this.endIndex.evaluate(e);return t.slice(n,r)}return t.slice(n)}eachChild(e){e(this.input),e(this.beginIndex),this.endIndex&&e(this.endIndex)}outputDefined(){return!1}serialize(){if(null!=this.endIndex&&void 0!==this.endIndex){const e=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),e]}return["slice",this.input.serialize(),this.beginIndex.serialize()]}}var rr=nr;function or(e,t){return"=="===e||"!="===e?"boolean"===t.kind||"string"===t.kind||"number"===t.kind||"null"===t.kind||"value"===t.kind:"string"===t.kind||"number"===t.kind||"value"===t.kind}function ir(e,t,n,r){return 0===r.compare(t,n)}function ar(e,t,n){const r="=="!==e&&"!="!==e;return class o{constructor(e,t,n){this.type=nt,this.lhs=e,this.rhs=t,this.collator=n,this.hasUntypedArgument="value"===e.type.kind||"value"===t.type.kind}static parse(e,t){if(3!==e.length&&4!==e.length)return t.error("Expected two or three arguments.");const n=e[0];let i=t.parse(e[1],1,it);if(!i)return null;if(!or(n,i.type))return t.concat(1).error(`"${n}" comparisons are not supported for type '${ut(i.type)}'.`);let a=t.parse(e[2],2,it);if(!a)return null;if(!or(n,a.type))return t.concat(2).error(`"${n}" comparisons are not supported for type '${ut(a.type)}'.`);if(i.type.kind!==a.type.kind&&"value"!==i.type.kind&&"value"!==a.type.kind)return t.error(`Cannot compare types '${ut(i.type)}' and '${ut(a.type)}'.`);r&&("value"===i.type.kind&&"value"!==a.type.kind?i=new _t(a.type,[i]):"value"!==i.type.kind&&"value"===a.type.kind&&(a=new _t(i.type,[a])));let s=null;if(4===e.length){if("string"!==i.type.kind&&"string"!==a.type.kind&&"value"!==i.type.kind&&"value"!==a.type.kind)return t.error("Cannot use collator to compare non-string types.");if(s=t.parse(e[3],3,at),!s)return null}return new o(i,a,s)}evaluate(o){const i=this.lhs.evaluate(o),a=this.rhs.evaluate(o);if(r&&this.hasUntypedArgument){const t=At(i),n=At(a);if(t.kind!==n.kind||"string"!==t.kind&&"number"!==t.kind)throw new Et(`Expected arguments for "${e}" to be (string, string) or (number, number), but found (${t.kind}, ${n.kind}) instead.`)}if(this.collator&&!r&&this.hasUntypedArgument){const e=At(i),n=At(a);if("string"!==e.kind||"string"!==n.kind)return t(o,i,a)}return this.collator?n(o,i,a,this.collator.evaluate(o)):t(o,i,a)}eachChild(e){e(this.lhs),e(this.rhs),this.collator&&e(this.collator)}outputDefined(){return!0}serialize(){const t=[e];return this.eachChild((e=>{t.push(e.serialize())})),t}}}const sr=ar("==",(function(e,t,n){return t===n}),ir),lr=ar("!=",(function(e,t,n){return t!==n}),(function(e,t,n,r){return!ir(0,t,n,r)})),cr=ar("<",(function(e,t,n){return t",(function(e,t,n){return t>n}),(function(e,t,n,r){return r.compare(t,n)>0})),dr=ar("<=",(function(e,t,n){return t<=n}),(function(e,t,n,r){return r.compare(t,n)<=0})),hr=ar(">=",(function(e,t,n){return t>=n}),(function(e,t,n,r){return r.compare(t,n)>=0}));class pr{constructor(e,t,n,r,o,i){this.type=tt,this.number=e,this.locale=t,this.currency=n,this.unit=r,this.minFractionDigits=o,this.maxFractionDigits=i}static parse(e,t){if(3!==e.length)return t.error("Expected two arguments.");const n=t.parse(e[1],1,et);if(!n)return null;const r=e[2];if("object"!=typeof r||Array.isArray(r))return t.error("NumberFormat options argument must be an object.");let o=null;if(r.locale&&(o=t.parse(r.locale,1,tt),!o))return null;let i=null;if(r.currency&&(i=t.parse(r.currency,1,tt),!i))return null;let a=null;if(r.unit&&(a=t.parse(r.unit,1,tt),!a))return null;let s=null;if(r["min-fraction-digits"]&&(s=t.parse(r["min-fraction-digits"],1,et),!s))return null;let l=null;return r["max-fraction-digits"]&&(l=t.parse(r["max-fraction-digits"],1,et),!l)?null:new pr(n,o,i,a,s,l)}evaluate(e){return new Intl.NumberFormat(this.locale?this.locale.evaluate(e):[],{style:(this.currency?"currency":this.unit&&"unit")||"decimal",currency:this.currency?this.currency.evaluate(e):void 0,unit:this.unit?this.unit.evaluate(e):void 0,minimumFractionDigits:this.minFractionDigits?this.minFractionDigits.evaluate(e):void 0,maximumFractionDigits:this.maxFractionDigits?this.maxFractionDigits.evaluate(e):void 0}).format(this.number.evaluate(e))}eachChild(e){e(this.number),this.locale&&e(this.locale),this.currency&&e(this.currency),this.unit&&e(this.unit),this.minFractionDigits&&e(this.minFractionDigits),this.maxFractionDigits&&e(this.maxFractionDigits)}outputDefined(){return!1}serialize(){const e={};return this.locale&&(e.locale=this.locale.serialize()),this.currency&&(e.currency=this.currency.serialize()),this.unit&&(e.unit=this.unit.serialize()),this.minFractionDigits&&(e["min-fraction-digits"]=this.minFractionDigits.serialize()),this.maxFractionDigits&&(e["max-fraction-digits"]=this.maxFractionDigits.serialize()),["number-format",this.number.serialize(),e]}}class fr{constructor(e){this.type=et,this.input=e}static parse(e,t){if(2!==e.length)return t.error(`Expected 1 argument, but found ${e.length-1} instead.`);const n=t.parse(e[1],1);return n?"array"!==n.type.kind&&"string"!==n.type.kind&&"value"!==n.type.kind?t.error(`Expected argument of type string or array, but found ${ut(n.type)} instead.`):new fr(n):null}evaluate(e){const t=this.input.evaluate(e);if("string"==typeof t)return t.length;if(Array.isArray(t))return t.length;throw new Et(`Expected value to be of type string or array, but found ${ut(At(t))} instead.`)}eachChild(e){e(this.input)}outputDefined(){return!1}serialize(){const e=["length"];return this.eachChild((t=>{e.push(t.serialize())})),e}}const gr={"==":sr,"!=":lr,">":ur,"<":cr,">=":hr,"<=":dr,array:_t,at:Hn,boolean:_t,case:tr,coalesce:Gn,collator:Nt,format:Ot,image:Pt,in:Kn,"index-of":Zn,interpolate:Vn,"interpolate-hcl":Vn,"interpolate-lab":Vn,length:fr,let:Wn,literal:Ct,match:Qn,number:_t,"number-format":pr,object:_t,slice:rr,step:gn,string:_t,"to-boolean":Lt,"to-color":Lt,"to-number":Lt,"to-string":Lt,var:cn,within:rn};function mr(e,[t,n,r,o]){t=t.evaluate(e),n=n.evaluate(e),r=r.evaluate(e);const i=o?o.evaluate(e):1,a=bt(t,n,r,i);if(a)throw new Et(a);return new ze(t/255*i,n/255*i,r/255*i,i)}function yr(e,t){return e in t}function vr(e,t){const n=t[e];return void 0===n?null:n}function br(e){return{type:e}}Dt.register(gr,{error:[{kind:"error"},[tt],(e,[t])=>{throw new Et(t.evaluate(e))}],typeof:[tt,[it],(e,[t])=>ut(At(t.evaluate(e)))],"to-rgba":[ct(et,4),[rt],(e,[t])=>t.evaluate(e).toArray()],rgb:[rt,[et,et,et],mr],rgba:[rt,[et,et,et,et],mr],has:{type:nt,overloads:[[[tt],(e,[t])=>yr(t.evaluate(e),e.properties())],[[tt,ot],(e,[t,n])=>yr(t.evaluate(e),n.evaluate(e))]]},get:{type:it,overloads:[[[tt],(e,[t])=>vr(t.evaluate(e),e.properties())],[[tt,ot],(e,[t,n])=>vr(t.evaluate(e),n.evaluate(e))]]},"feature-state":[it,[tt],(e,[t])=>vr(t.evaluate(e),e.featureState||{})],properties:[ot,[],e=>e.properties()],"geometry-type":[tt,[],e=>e.geometryType()],id:[it,[],e=>e.id()],zoom:[et,[],e=>e.globals.zoom],pitch:[et,[],e=>e.globals.pitch||0],"distance-from-center":[et,[],e=>e.distanceFromCenter()],"heatmap-density":[et,[],e=>e.globals.heatmapDensity||0],"line-progress":[et,[],e=>e.globals.lineProgress||0],"sky-radial-progress":[et,[],e=>e.globals.skyRadialProgress||0],accumulated:[it,[],e=>void 0===e.globals.accumulated?null:e.globals.accumulated],"+":[et,br(et),(e,t)=>{let n=0;for(const r of t)n+=r.evaluate(e);return n}],"*":[et,br(et),(e,t)=>{let n=1;for(const r of t)n*=r.evaluate(e);return n}],"-":{type:et,overloads:[[[et,et],(e,[t,n])=>t.evaluate(e)-n.evaluate(e)],[[et],(e,[t])=>-t.evaluate(e)]]},"/":[et,[et,et],(e,[t,n])=>t.evaluate(e)/n.evaluate(e)],"%":[et,[et,et],(e,[t,n])=>t.evaluate(e)%n.evaluate(e)],ln2:[et,[],()=>Math.LN2],pi:[et,[],()=>Math.PI],e:[et,[],()=>Math.E],"^":[et,[et,et],(e,[t,n])=>Math.pow(t.evaluate(e),n.evaluate(e))],sqrt:[et,[et],(e,[t])=>Math.sqrt(t.evaluate(e))],log10:[et,[et],(e,[t])=>Math.log(t.evaluate(e))/Math.LN10],ln:[et,[et],(e,[t])=>Math.log(t.evaluate(e))],log2:[et,[et],(e,[t])=>Math.log(t.evaluate(e))/Math.LN2],sin:[et,[et],(e,[t])=>Math.sin(t.evaluate(e))],cos:[et,[et],(e,[t])=>Math.cos(t.evaluate(e))],tan:[et,[et],(e,[t])=>Math.tan(t.evaluate(e))],asin:[et,[et],(e,[t])=>Math.asin(t.evaluate(e))],acos:[et,[et],(e,[t])=>Math.acos(t.evaluate(e))],atan:[et,[et],(e,[t])=>Math.atan(t.evaluate(e))],min:[et,br(et),(e,t)=>Math.min(...t.map((t=>t.evaluate(e))))],max:[et,br(et),(e,t)=>Math.max(...t.map((t=>t.evaluate(e))))],abs:[et,[et],(e,[t])=>Math.abs(t.evaluate(e))],round:[et,[et],(e,[t])=>{const n=t.evaluate(e);return n<0?-Math.round(-n):Math.round(n)}],floor:[et,[et],(e,[t])=>Math.floor(t.evaluate(e))],ceil:[et,[et],(e,[t])=>Math.ceil(t.evaluate(e))],"filter-==":[nt,[tt,it],(e,[t,n])=>e.properties()[t.value]===n.value],"filter-id-==":[nt,[it],(e,[t])=>e.id()===t.value],"filter-type-==":[nt,[tt],(e,[t])=>e.geometryType()===t.value],"filter-<":[nt,[tt,it],(e,[t,n])=>{const r=e.properties()[t.value],o=n.value;return typeof r==typeof o&&r{const n=e.id(),r=t.value;return typeof n==typeof r&&n":[nt,[tt,it],(e,[t,n])=>{const r=e.properties()[t.value],o=n.value;return typeof r==typeof o&&r>o}],"filter-id->":[nt,[it],(e,[t])=>{const n=e.id(),r=t.value;return typeof n==typeof r&&n>r}],"filter-<=":[nt,[tt,it],(e,[t,n])=>{const r=e.properties()[t.value],o=n.value;return typeof r==typeof o&&r<=o}],"filter-id-<=":[nt,[it],(e,[t])=>{const n=e.id(),r=t.value;return typeof n==typeof r&&n<=r}],"filter->=":[nt,[tt,it],(e,[t,n])=>{const r=e.properties()[t.value],o=n.value;return typeof r==typeof o&&r>=o}],"filter-id->=":[nt,[it],(e,[t])=>{const n=e.id(),r=t.value;return typeof n==typeof r&&n>=r}],"filter-has":[nt,[it],(e,[t])=>t.value in e.properties()],"filter-has-id":[nt,[],e=>null!==e.id()&&void 0!==e.id()],"filter-type-in":[nt,[ct(tt)],(e,[t])=>t.value.indexOf(e.geometryType())>=0],"filter-id-in":[nt,[ct(it)],(e,[t])=>t.value.indexOf(e.id())>=0],"filter-in-small":[nt,[tt,ct(it)],(e,[t,n])=>n.value.indexOf(e.properties()[t.value])>=0],"filter-in-large":[nt,[tt,ct(it)],(e,[t,n])=>function(e,t,n,r){for(;n<=r;){const o=n+r>>1;if(t[o]===e)return!0;t[o]>e?r=o-1:n=o+1}return!1}(e.properties()[t.value],n.value,0,n.value.length-1)],all:{type:nt,overloads:[[[nt,nt],(e,[t,n])=>t.evaluate(e)&&n.evaluate(e)],[br(nt),(e,t)=>{for(const n of t)if(!n.evaluate(e))return!1;return!0}]]},any:{type:nt,overloads:[[[nt,nt],(e,[t,n])=>t.evaluate(e)||n.evaluate(e)],[br(nt),(e,t)=>{for(const n of t)if(n.evaluate(e))return!0;return!1}]]},"!":[nt,[nt],(e,[t])=>!t.evaluate(e)],"is-supported-script":[nt,[tt],(e,[t])=>{const n=e.globals&&e.globals.isSupportedScript;return!n||n(t.evaluate(e))}],upcase:[tt,[tt],(e,[t])=>t.evaluate(e).toUpperCase()],downcase:[tt,[tt],(e,[t])=>t.evaluate(e).toLowerCase()],concat:[tt,br(it),(e,t)=>t.map((t=>xt(t.evaluate(e)))).join("")],"resolved-locale":[tt,[at],(e,[t])=>t.evaluate(e).resolvedLocale()]});var wr=gr;function Ar(e){return{result:"success",value:e}}function xr(e){return{result:"error",value:e}}function Sr(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}class Cr{constructor(e,t){this.expression=e,this._warningHistory={},this._evaluator=new jt,this._defaultValue=t?function(e){return"color"===e.type&&(Sr(e.default)||Array.isArray(e.default))?new ze(0,0,0,0):"color"===e.type?ze.parse(e.default)||null:void 0===e.default?null:e.default}(t):null,this._enumValues=t&&"enum"===t.type?t.values:null}evaluateWithoutErrorHandling(e,t,n,r,o,i,a,s){return this._evaluator.globals=e,this._evaluator.feature=t,this._evaluator.featureState=n,this._evaluator.canonical=r||null,this._evaluator.availableImages=o||null,this._evaluator.formattedSection=i,this._evaluator.featureTileCoord=a||null,this._evaluator.featureDistanceData=s||null,this.expression.evaluate(this._evaluator)}evaluate(e,t,n,r,o,i,a,s){this._evaluator.globals=e,this._evaluator.feature=t||null,this._evaluator.featureState=n||null,this._evaluator.canonical=r||null,this._evaluator.availableImages=o||null,this._evaluator.formattedSection=i||null,this._evaluator.featureTileCoord=a||null,this._evaluator.featureDistanceData=s||null;try{const e=this.expression.evaluate(this._evaluator);if(null==e||"number"==typeof e&&e!=e)return this._defaultValue;if(this._enumValues&&!(e in this._enumValues))throw new Et(`Expected value to be one of ${Object.keys(this._enumValues).map((e=>JSON.stringify(e))).join(", ")}, but found ${JSON.stringify(e)} instead.`);return e}catch(e){return this._warningHistory[e.message]||(this._warningHistory[e.message]=!0,"undefined"!=typeof console&&console.warn(e.message)),this._defaultValue}}}function Er(e,t){const n=new dn(wr,[],t?function(e){const t={color:rt,string:tt,number:et,enum:tt,boolean:nt,formatted:st,resolvedImage:lt};if("array"===e.type)return ct(t[e.value]||it,e.length);return t[e.type]}(t):void 0),r=n.parse(e,void 0,void 0,void 0,t&&"string"===t.type?{typeAnnotation:"coerce"}:void 0);return r?Ar(new Cr(r,t)):xr(n.errors)}class kr{constructor(e,t){this.kind=e,this._styleExpression=t,this.isStateDependent="constant"!==e&&!an(t.expression)}evaluateWithoutErrorHandling(e,t,n,r,o,i){return this._styleExpression.evaluateWithoutErrorHandling(e,t,n,r,o,i)}evaluate(e,t,n,r,o,i){return this._styleExpression.evaluate(e,t,n,r,o,i)}}class Tr{constructor(e,t,n,r){this.kind=e,this.zoomStops=n,this._styleExpression=t,this.isStateDependent="camera"!==e&&!an(t.expression),this.interpolationType=r}evaluateWithoutErrorHandling(e,t,n,r,o,i){return this._styleExpression.evaluateWithoutErrorHandling(e,t,n,r,o,i)}evaluate(e,t,n,r,o,i){return this._styleExpression.evaluate(e,t,n,r,o,i)}interpolationFactor(e,t,n){return this.interpolationType?Vn.interpolationFactor(this.interpolationType,e,t,n):0}}function _r(e,t){if("error"===(e=Er(e,t)).result)return e;const n=e.value.expression,r=on(n);if(!r&&!function(e){return"data-driven"===e["property-type"]}(t))return xr([new Xe("","data expressions not supported")]);const o=sn(n,["zoom","pitch","distance-from-center"]);if(!o&&!function(e){return!!e.expression&&e.expression.parameters.indexOf("zoom")>-1}(t))return xr([new Xe("","zoom expressions not supported")]);const i=Or(n);if(!i&&!o)return xr([new Xe("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.')]);if(i instanceof Xe)return xr([i]);if(i instanceof Vn&&!function(e){return!!e.expression&&e.expression.interpolated}(t))return xr([new Xe("",'"interpolate" expressions cannot be used with this property')]);if(!i)return Ar(new kr(r?"constant":"source",e.value));const a=i instanceof Vn?i.interpolation:void 0;return Ar(new Tr(r?"camera":"composite",e.value,i.labels,a))}function Or(e){let t=null;if(e instanceof Wn)t=Or(e.result);else if(e instanceof Gn){for(const n of e.args)if(t=Or(n),t)break}else(e instanceof gn||e instanceof Vn)&&e.input instanceof Dt&&"zoom"===e.input.name&&(t=e);return t instanceof Xe||e.eachChild((e=>{const n=Or(e);n instanceof Xe?t=n:!t&&n?t=new Xe("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression.'):t&&n&&t!==n&&(t=new Xe("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))})),t}function Pr(e){if(Array.isArray(e))return e.map(Pr);if(e instanceof Object&&!(e instanceof Number||e instanceof String||e instanceof Boolean)){const t={};for(const n in e)t[n]=Pr(e[n]);return t}return function(e){return e instanceof Number||e instanceof String||e instanceof Boolean?e.valueOf():e}(e)}var Ir={$version:8,$root:{version:{required:!0,type:"enum",values:[8]},name:{type:"string"},metadata:{type:"*"},center:{type:"array",value:"number"},zoom:{type:"number"},bearing:{type:"number",default:0,period:360,units:"degrees"},pitch:{type:"number",default:0,units:"degrees"},light:{type:"light"},terrain:{type:"terrain"},fog:{type:"fog"},sources:{required:!0,type:"sources"},sprite:{type:"string"},glyphs:{type:"string"},transition:{type:"transition"},projection:{type:"projection"},layers:{required:!0,type:"array",value:"layer"}},sources:{"*":{type:"source"}},source:["source_vector","source_raster","source_raster_dem","source_geojson","source_video","source_image"],source_vector:{type:{required:!0,type:"enum",values:{vector:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},attribution:{type:"string"},promoteId:{type:"promoteId"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster:{type:{required:!0,type:"enum",values:{raster:{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},scheme:{type:"enum",values:{xyz:{},tms:{}},default:"xyz"},attribution:{type:"string"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_raster_dem:{type:{required:!0,type:"enum",values:{"raster-dem":{}}},url:{type:"string"},tiles:{type:"array",value:"string"},bounds:{type:"array",value:"number",length:4,default:[-180,-85.051129,180,85.051129]},minzoom:{type:"number",default:0},maxzoom:{type:"number",default:22},tileSize:{type:"number",default:512,units:"pixels"},attribution:{type:"string"},encoding:{type:"enum",values:{terrarium:{},mapbox:{}},default:"mapbox"},volatile:{type:"boolean",default:!1},"*":{type:"*"}},source_geojson:{type:{required:!0,type:"enum",values:{geojson:{}}},data:{type:"*"},maxzoom:{type:"number",default:18},attribution:{type:"string"},buffer:{type:"number",default:128,maximum:512,minimum:0},filter:{type:"*"},tolerance:{type:"number",default:.375},cluster:{type:"boolean",default:!1},clusterRadius:{type:"number",default:50,minimum:0},clusterMaxZoom:{type:"number"},clusterMinPoints:{type:"number"},clusterProperties:{type:"*"},lineMetrics:{type:"boolean",default:!1},generateId:{type:"boolean",default:!1},promoteId:{type:"promoteId"}},source_video:{type:{required:!0,type:"enum",values:{video:{}}},urls:{required:!0,type:"array",value:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},source_image:{type:{required:!0,type:"enum",values:{image:{}}},url:{required:!0,type:"string"},coordinates:{required:!0,type:"array",length:4,value:{type:"array",length:2,value:"number"}}},layer:{id:{type:"string",required:!0},type:{type:"enum",values:{fill:{},line:{},symbol:{},circle:{},heatmap:{},"fill-extrusion":{},raster:{},hillshade:{},background:{},sky:{}},required:!0},metadata:{type:"*"},source:{type:"string"},"source-layer":{type:"string"},minzoom:{type:"number",minimum:0,maximum:24},maxzoom:{type:"number",minimum:0,maximum:24},filter:{type:"filter"},layout:{type:"layout"},paint:{type:"paint"}},layout:["layout_fill","layout_line","layout_circle","layout_heatmap","layout_fill-extrusion","layout_symbol","layout_raster","layout_hillshade","layout_background","layout_sky"],layout_background:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_sky:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_fill:{"fill-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_circle:{"circle-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_heatmap:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},"layout_fill-extrusion":{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"},"fill-extrusion-edge-radius":{type:"number",private:!0,default:0,minimum:0,maximum:1,"property-type":"constant"}},layout_line:{"line-cap":{type:"enum",values:{butt:{},round:{},square:{}},default:"butt",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-join":{type:"enum",values:{bevel:{},round:{},miter:{}},default:"miter",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{type:"number",default:2,requires:[{"line-join":"miter"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-round-limit":{type:"number",default:1.05,requires:[{"line-join":"round"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_symbol:{"symbol-placement":{type:"enum",values:{point:{},line:{},"line-center":{}},default:"point",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-spacing":{type:"number",default:250,minimum:1,units:"pixels",requires:[{"symbol-placement":"line"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{type:"boolean",default:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{type:"number",expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{type:"enum",values:{auto:{},"viewport-y":{},source:{}},default:"auto",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{type:"boolean",default:!1,requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-optional":{type:"boolean",default:!1,requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-size":{type:"number",default:1,minimum:0,units:"factor of the original icon size",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{type:"enum",values:{none:{},width:{},height:{},both:{}},default:"none",requires:["icon-image","text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-text-fit-padding":{type:"array",value:"number",length:4,default:[0,0,0,0],units:"pixels",requires:["icon-image","text-field",{"icon-text-fit":["both","width","height"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-image":{type:"resolvedImage",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{type:"boolean",default:!1,requires:["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"icon-offset":{type:"array",value:"number",length:2,default:[0,0],requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{type:"enum",values:{map:{},viewport:{},auto:{}},default:"auto",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-field":{type:"formatted",default:"",tokens:!0,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"],requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-size":{type:"number",default:16,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{type:"number",default:10,minimum:0,units:"ems",requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{type:"number",default:1.2,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-letter-spacing":{type:"number",default:0,units:"ems",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-justify":{type:"enum",values:{auto:{},left:{},center:{},right:{}},default:"center",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{type:"number",units:"ems",default:0,requires:["text-field"],"property-type":"data-driven",expression:{interpolated:!0,parameters:["zoom","feature"]}},"text-variable-anchor":{type:"array",value:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},requires:["text-field",{"symbol-placement":["point"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-anchor":{type:"enum",values:{center:{},left:{},right:{},top:{},bottom:{},"top-left":{},"top-right":{},"bottom-left":{},"bottom-right":{}},default:"center",requires:["text-field",{"!":"text-variable-anchor"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{type:"number",default:45,units:"degrees",requires:["text-field",{"symbol-placement":["line","line-center"]}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-writing-mode":{type:"array",value:"enum",values:{horizontal:{},vertical:{}},requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-rotate":{type:"number",default:0,period:360,units:"degrees",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-padding":{type:"number",default:2,minimum:0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-keep-upright":{type:"boolean",default:!0,requires:["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":["line","line-center"]}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-transform":{type:"enum",values:{none:{},uppercase:{},lowercase:{}},default:"none",requires:["text-field"],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-offset":{type:"array",value:"number",units:"ems",length:2,default:[0,0],requires:["text-field",{"!":"text-radial-offset"}],expression:{interpolated:!0,parameters:["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{type:"boolean",default:!1,requires:["text-field"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-optional":{type:"boolean",default:!1,requires:["text-field","icon-image"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_raster:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},layout_hillshade:{visibility:{type:"enum",values:{visible:{},none:{}},default:"visible","property-type":"constant"}},filter:{type:"array",value:"*"},filter_symbol:{type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature","pitch","distance-from-center"]}},filter_fill:{type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}},filter_line:{type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}},filter_circle:{type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}},"filter_fill-extrusion":{type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}},filter_heatmap:{type:"boolean",default:!1,transition:!1,"property-type":"data-driven",expression:{interpolated:!1,parameters:["zoom","feature"]}},filter_operator:{type:"enum",values:{"==":{},"!=":{},">":{},">=":{},"<":{},"<=":{},in:{},"!in":{},all:{},any:{},none:{},has:{},"!has":{},within:{}}},geometry_type:{type:"enum",values:{Point:{},LineString:{},Polygon:{}}},function:{expression:{type:"expression"},stops:{type:"array",value:"function_stop"},base:{type:"number",default:1,minimum:0},property:{type:"string",default:"$zoom"},type:{type:"enum",values:{identity:{},exponential:{},interval:{},categorical:{}},default:"exponential"},colorSpace:{type:"enum",values:{rgb:{},lab:{},hcl:{}},default:"rgb"},default:{type:"*",required:!1}},function_stop:{type:"array",minimum:0,maximum:24,value:["number","color"],length:2},expression:{type:"array",value:"*",minimum:1},expression_name:{type:"enum",values:{let:{group:"Variable binding"},var:{group:"Variable binding"},literal:{group:"Types"},array:{group:"Types"},at:{group:"Lookup"},in:{group:"Lookup"},"index-of":{group:"Lookup"},slice:{group:"Lookup"},case:{group:"Decision"},match:{group:"Decision"},coalesce:{group:"Decision"},step:{group:"Ramps, scales, curves"},interpolate:{group:"Ramps, scales, curves"},"interpolate-hcl":{group:"Ramps, scales, curves"},"interpolate-lab":{group:"Ramps, scales, curves"},ln2:{group:"Math"},pi:{group:"Math"},e:{group:"Math"},typeof:{group:"Types"},string:{group:"Types"},number:{group:"Types"},boolean:{group:"Types"},object:{group:"Types"},collator:{group:"Types"},format:{group:"Types"},image:{group:"Types"},"number-format":{group:"Types"},"to-string":{group:"Types"},"to-number":{group:"Types"},"to-boolean":{group:"Types"},"to-rgba":{group:"Color"},"to-color":{group:"Types"},rgb:{group:"Color"},rgba:{group:"Color"},get:{group:"Lookup"},has:{group:"Lookup"},length:{group:"Lookup"},properties:{group:"Feature data"},"feature-state":{group:"Feature data"},"geometry-type":{group:"Feature data"},id:{group:"Feature data"},zoom:{group:"Camera"},pitch:{group:"Camera"},"distance-from-center":{group:"Camera"},"heatmap-density":{group:"Heatmap"},"line-progress":{group:"Feature data"},"sky-radial-progress":{group:"sky"},accumulated:{group:"Feature data"},"+":{group:"Math"},"*":{group:"Math"},"-":{group:"Math"},"/":{group:"Math"},"%":{group:"Math"},"^":{group:"Math"},sqrt:{group:"Math"},log10:{group:"Math"},ln:{group:"Math"},log2:{group:"Math"},sin:{group:"Math"},cos:{group:"Math"},tan:{group:"Math"},asin:{group:"Math"},acos:{group:"Math"},atan:{group:"Math"},min:{group:"Math"},max:{group:"Math"},round:{group:"Math"},abs:{group:"Math"},ceil:{group:"Math"},floor:{group:"Math"},distance:{group:"Math"},"==":{group:"Decision"},"!=":{group:"Decision"},">":{group:"Decision"},"<":{group:"Decision"},">=":{group:"Decision"},"<=":{group:"Decision"},all:{group:"Decision"},any:{group:"Decision"},"!":{group:"Decision"},within:{group:"Decision"},"is-supported-script":{group:"String"},upcase:{group:"String"},downcase:{group:"String"},concat:{group:"String"},"resolved-locale":{group:"String"}}},fog:{range:{type:"array",default:[.5,10],minimum:-20,maximum:20,length:2,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"high-color":{type:"color","property-type":"data-constant",default:"#245cdf",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"space-color":{type:"color","property-type":"data-constant",default:["interpolate",["linear"],["zoom"],4,"#010b19",7,"#367ab9"],expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"horizon-blend":{type:"number","property-type":"data-constant",default:["interpolate",["linear"],["zoom"],4,.2,7,.1],minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"star-intensity":{type:"number","property-type":"data-constant",default:["interpolate",["linear"],["zoom"],5,.35,6,0],minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},light:{anchor:{type:"enum",default:"viewport",values:{map:{},viewport:{}},"property-type":"data-constant",transition:!1,expression:{interpolated:!1,parameters:["zoom"]}},position:{type:"array",default:[1.15,210,30],length:3,value:"number","property-type":"data-constant",transition:!0,expression:{interpolated:!0,parameters:["zoom"]}},color:{type:"color","property-type":"data-constant",default:"#ffffff",expression:{interpolated:!0,parameters:["zoom"]},transition:!0},intensity:{type:"number","property-type":"data-constant",default:.5,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0}},projection:{name:{type:"enum",values:{albers:{},equalEarth:{},equirectangular:{},lambertConformalConic:{},mercator:{},naturalEarth:{},winkelTripel:{},globe:{}},default:"mercator",required:!0},center:{type:"array",length:2,value:"number","property-type":"data-constant",minimum:[-180,-90],maximum:[180,90],transition:!1,requires:[{name:["albers","lambertConformalConic"]}]},parallels:{type:"array",length:2,value:"number","property-type":"data-constant",minimum:[-90,-90],maximum:[90,90],transition:!1,requires:[{name:["albers","lambertConformalConic"]}]}},terrain:{source:{type:"string",required:!0},exaggeration:{type:"number","property-type":"data-constant",default:1,minimum:0,maximum:1e3,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,requires:["source"]}},paint:["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background","paint_sky"],paint_fill:{"fill-antialias":{type:"boolean",default:!0,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-outline-color":{type:"color",transition:!0,requires:[{"!":"fill-pattern"},{"fill-antialias":!0}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-pattern":{type:"resolvedImage",transition:!1,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"fill-extrusion-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["fill-extrusion-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{type:"resolvedImage",transition:!1,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"fill-extrusion-height":{type:"number",default:0,minimum:0,units:"meters",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{type:"number",default:0,minimum:0,units:"meters",transition:!0,requires:["fill-extrusion-height"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{type:"boolean",default:!0,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"fill-extrusion-ambient-occlusion-intensity":{"property-type":"data-constant",type:"number",private:!0,default:0,minimum:0,maximum:1,expression:{interpolated:!0,parameters:["zoom"]},transition:!0},"fill-extrusion-ambient-occlusion-radius":{"property-type":"data-constant",type:"number",private:!0,default:3,minimum:0,expression:{interpolated:!0,parameters:["zoom"]},transition:!0,requires:["fill-extrusion-edge-radius"]}},paint_line:{"line-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"line-pattern"}],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["line-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"line-width":{type:"number",default:1,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-gap-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-offset":{type:"number",default:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-dasharray":{type:"array",value:"number",minimum:0,transition:!1,units:"line widths",requires:[{"!":"line-pattern"}],expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-pattern":{type:"resolvedImage",transition:!1,expression:{interpolated:!1,parameters:["zoom","feature"]},"property-type":"data-driven"},"line-gradient":{type:"color",transition:!1,requires:[{"!":"line-pattern"},{source:"geojson",has:{lineMetrics:!0}}],expression:{interpolated:!0,parameters:["line-progress"]},"property-type":"color-ramp"},"line-trim-offset":{type:"array",value:"number",length:2,default:[0,0],minimum:[0,0],maximum:[1,1],transition:!1,requires:[{source:"geojson",has:{lineMetrics:!0}}],"property-type":"constant"}},paint_circle:{"circle-radius":{type:"number",default:5,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-blur":{type:"number",default:0,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["circle-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{type:"enum",values:{map:{},viewport:{}},default:"map",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"circle-stroke-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"}},paint_heatmap:{"heatmap-radius":{type:"number",default:30,minimum:1,transition:!0,units:"pixels",expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-weight":{type:"number",default:1,minimum:0,transition:!1,expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"heatmap-intensity":{type:"number",default:1,minimum:0,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"heatmap-color":{type:"color",default:["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",.1,"royalblue",.3,"cyan",.5,"lime",.7,"yellow",1,"red"],transition:!1,expression:{interpolated:!0,parameters:["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_symbol:{"icon-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-color":{type:"color",default:"#000000",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"icon-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["icon-image"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["icon-image","icon-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"text-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-color":{type:"color",default:"#000000",transition:!0,overridable:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-color":{type:"color",default:"rgba(0, 0, 0, 0)",transition:!0,requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-width":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-halo-blur":{type:"number",default:0,minimum:0,transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom","feature","feature-state"]},"property-type":"data-driven"},"text-translate":{type:"array",value:"number",length:2,default:[0,0],transition:!0,units:"pixels",requires:["text-field"],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{type:"enum",values:{map:{},viewport:{}},default:"map",requires:["text-field","text-translate"],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"}},paint_raster:{"raster-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-hue-rotate":{type:"number",default:0,period:360,transition:!0,units:"degrees",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{type:"number",default:0,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-saturation":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-contrast":{type:"number",default:0,minimum:-1,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"raster-resampling":{type:"enum",values:{linear:{},nearest:{}},default:"linear",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{type:"number",default:300,minimum:0,transition:!1,units:"milliseconds",expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_hillshade:{"hillshade-illumination-direction":{type:"number",default:335,minimum:0,maximum:359,transition:!1,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{type:"enum",values:{map:{},viewport:{}},default:"viewport",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{type:"number",default:.5,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-highlight-color":{type:"color",default:"#FFFFFF",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"hillshade-accent-color":{type:"color",default:"#000000",transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_background:{"background-color":{type:"color",default:"#000000",transition:!0,requires:[{"!":"background-pattern"}],expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"},"background-pattern":{type:"resolvedImage",transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"background-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},paint_sky:{"sky-type":{type:"enum",values:{gradient:{},atmosphere:{}},default:"atmosphere",expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun":{type:"array",value:"number",length:2,units:"degrees",minimum:[0,0],maximum:[360,180],transition:!1,requires:[{"sky-type":"atmosphere"}],expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun-intensity":{type:"number",requires:[{"sky-type":"atmosphere"}],default:10,minimum:0,maximum:100,transition:!1,"property-type":"data-constant"},"sky-gradient-center":{type:"array",requires:[{"sky-type":"gradient"}],value:"number",default:[0,0],length:2,units:"degrees",minimum:[0,0],maximum:[360,180],transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-gradient-radius":{type:"number",requires:[{"sky-type":"gradient"}],default:90,minimum:0,maximum:180,transition:!1,expression:{interpolated:!1,parameters:["zoom"]},"property-type":"data-constant"},"sky-gradient":{type:"color",default:["interpolate",["linear"],["sky-radial-progress"],.8,"#87ceeb",1,"white"],transition:!1,requires:[{"sky-type":"gradient"}],expression:{interpolated:!0,parameters:["sky-radial-progress"]},"property-type":"color-ramp"},"sky-atmosphere-halo-color":{type:"color",default:"white",transition:!1,requires:[{"sky-type":"atmosphere"}],"property-type":"data-constant"},"sky-atmosphere-color":{type:"color",default:"white",transition:!1,requires:[{"sky-type":"atmosphere"}],"property-type":"data-constant"},"sky-opacity":{type:"number",default:1,minimum:0,maximum:1,transition:!0,expression:{interpolated:!0,parameters:["zoom"]},"property-type":"data-constant"}},transition:{duration:{type:"number",default:300,minimum:0,units:"milliseconds"},delay:{type:"number",default:0,minimum:0,units:"milliseconds"}},"property-type":{"data-driven":{type:"property-type"},"color-ramp":{type:"property-type"},"data-constant":{type:"property-type"},constant:{type:"property-type"}},promoteId:{"*":{type:"string"}}};function Mr(e){if(!0===e||!1===e)return!0;if(!Array.isArray(e)||0===e.length)return!1;switch(e[0]){case"has":return e.length>=2&&"$id"!==e[1]&&"$type"!==e[1];case"in":return e.length>=3&&("string"!=typeof e[1]||Array.isArray(e[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return 3!==e.length||Array.isArray(e[1])||Array.isArray(e[2]);case"any":case"all":for(const t of e.slice(1))if(!Mr(t)&&"boolean"!=typeof t)return!1;return!0;default:return!0}}function Lr(e,t="fill"){if(null==e)return{filter:()=>!0,needGeometry:!1,needFeature:!1};Mr(e)||(e=Br(e));const n=e;let r=!0;try{r=function(e){if(!Fr(e))return e;let t=Pr(e);return jr(t),t=Rr(t),t}(n)}catch(e){console.warn(`Failed to extract static filter. Filter will continue working, but at higher memory usage and slower framerate.\nThis is most likely a bug, please report this via https://github.com/mapbox/mapbox-gl-js/issues/new?assignees=&labels=&template=Bug_report.md\nand paste the contents of this message in the report.\nThank you!\nFilter Expression:\n${JSON.stringify(n,null,2)}\n `)}const o=Ir[`filter_${t}`],i=Er(r,o);let a=null;if("error"===i.result)throw new Error(i.value.map((e=>`${e.key}: ${e.message}`)).join(", "));a=(e,t,n)=>i.value.evaluate(e,t,{},n);let s=null,l=null;if(r!==n){const e=Er(n,o);if("error"===e.result)throw new Error(e.value.map((e=>`${e.key}: ${e.message}`)).join(", "));s=(t,n,r,o,i)=>e.value.evaluate(t,n,{},r,void 0,void 0,o,i),l=!on(e.value.expression)}return{filter:a,dynamicFilter:s||void 0,needGeometry:zr(r),needFeature:!!l}}function Rr(e){if(!Array.isArray(e))return e;const t=function(e){if(Dr.has(e[0]))for(let t=1;tRr(e)))}function jr(e){let t=!1;const n=[];if("case"===e[0]){for(let r=1;r",">=","<","<=","to-boolean"]);function Nr(e,t){return et?1:0}function zr(e){if(!Array.isArray(e))return!1;if("within"===e[0])return!0;for(let t=1;t"===t||"<="===t||">="===t?Vr(e[1],e[2],t):"any"===t?(n=e.slice(1),["any"].concat(n.map(Br))):"all"===t?["all"].concat(e.slice(1).map(Br)):"none"===t?["all"].concat(e.slice(1).map(Br).map(Ur)):"in"===t?$r(e[1],e.slice(2)):"!in"===t?Ur($r(e[1],e.slice(2))):"has"===t?Gr(e[1]):"!has"===t?Ur(Gr(e[1])):"within"!==t||e}function Vr(e,t,n){switch(e){case"$type":return[`filter-type-${n}`,t];case"$id":return[`filter-id-${n}`,t];default:return[`filter-${n}`,e,t]}}function $r(e,t){if(0===t.length)return!1;switch(e){case"$type":return["filter-type-in",["literal",t]];case"$id":return["filter-id-in",["literal",t]];default:return t.length>200&&!t.some((e=>typeof e!=typeof t[0]))?["filter-in-large",e,["literal",t.sort(Nr)]]:["filter-in-small",e,["literal",t]]}}function Gr(e){switch(e){case"$type":return!0;case"$id":return["filter-has-id"];default:return["filter-has",e]}}function Ur(e){return["!",e]}var Wr=["type","source","source-layer","minzoom","maxzoom","filter","layout"];function qr(e,t){const n={};for(const t in e)"ref"!==t&&(n[t]=e[t]);return Wr.forEach((e=>{e in t&&(n[e]=t[e])})),n}function Hr(e){e=e.slice();const t=Object.create(null);for(let n=0;n1?d[d.length-2].toLowerCase():"";if(h==p||h==p.replace("-","")||f+"-"+h==p){a=o?a:Yr[p],d.pop(),f&&p.startsWith(f)&&d.pop();break}}o||"number"!=typeof h||(a=h,o=!0);var g=d.join(Kr).replace("Klokantech Noto Sans","Noto Sans");-1!==g.indexOf(Kr)&&(g='"'+g+'"'),l.push(g)}r=Zr[e]=[s,a,l]}return r[0]+Kr+r[1]+Kr+t+"px"+(n?"/"+n:"")+Kr+r[2]}));const Qr="https://api.mapbox.com";function eo(e){const t="mapbox://";return 0!==e.indexOf(t)?"":e.slice(9)}function to(e,t){const n=eo(e);if(!n)return decodeURI(new URL(e,location.href).href);const r="styles/";if(0!==n.indexOf(r))throw new Error(`unexpected style url: ${e}`);const o=n.slice(7);return`${Qr}/styles/v1/${o}?&access_token=${t}`}function no(e,t,n,r){const o=new URL(e,r),i=eo(e);if(!i)return t?(o.searchParams.has(n)||o.searchParams.set(n,t),decodeURI(o.href)):decodeURI(o.href);if("mapbox.satellite"===i){return`https://api.mapbox.com/v4/${i}/{z}/{x}/{y}${window.devicePixelRatio>=1.5?"@2x":""}.webp?access_token=${t}`}return`https://{a-d}.tiles.mapbox.com/v4/${i}/{z}/{x}/{y}.vector.pbf?access_token=${t}`}const ro={},oo={};let io=0;function ao(e){return e.id||(e.id=io++),e.id}function so(e,t){return ao(e)+"."+(0,O.v6)(t)}function lo(e){let t=ro[e.id];return t||(t={},ro[ao(e)]=t),t}function co(e){let t=oo[e.id];return t||(t={},oo[ao(e)]=t),t}function uo(e){return e*Math.PI/180}const ho=function(){const e=[];for(let t=78271.51696402048;e.length<=24;t/=2)e.push(t);return e}();function po(e,t){if("undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"undefined"!=typeof OffscreenCanvas)return new OffscreenCanvas(e,t);const n=document.createElement("canvas");return n.width=e,n.height=t,n}function fo(e,t){let n=0;const r=t.length;for(;no)).then((e=>(e instanceof Request||(e=new Request(e)),e.headers.get("Accept")||e.headers.set("Accept","application/json"),r&&(r.request=e),fetch(e).then((function(e){return delete mo[t],e.ok?e.json():Promise.reject(new Error("Error fetching source "+t))})).catch((function(e){return delete mo[t],Promise.reject(new Error("Error fetching source "+t))})))));return mo[t]=[o,i],i}function vo(e,t){if("string"!=typeof e)return Promise.resolve(e);if(!e.trim().startsWith("{"))return yo("Style",e=to(e,t.accessToken),t);try{const t=JSON.parse(e);return Promise.resolve(t)}catch(e){return Promise.reject(e)}}const bo={};function wo(e,t,n={}){const r=[t,JSON.stringify(e)].toString();let o=bo[r];if(!o||n.transformRequest){let i;n.transformRequest&&(i=(e,t)=>{const r=n.transformRequest&&n.transformRequest(t,"Tiles")||t;if(e instanceof T.A)e.setLoader(((t,n,o)=>{(0,C.hq)((()=>r)).then((n=>{fetch(n).then((e=>e.arrayBuffer())).then((n=>{const r=e.getFormat().readFeatures(n,{extent:t,featureProjection:o});e.setFeatures(r)})).catch((t=>e.setState(k.A.ERROR)))}))}));else{const t=e.getImage();(0,C.hq)((()=>r)).then((n=>{n instanceof Request?fetch(n).then((e=>e.blob())).then((e=>{const n=URL.createObjectURL(e);t.addEventListener("load",(()=>URL.revokeObjectURL(n))),t.addEventListener("error",(()=>URL.revokeObjectURL(n))),t.src=n})).catch((t=>e.setState(k.A.ERROR))):t.src=n}))}});const a=e.url;if(a&&!e.tiles){const r=no(a,n.accessToken,n.accessTokenParam||"access_token",t||location.href);if(a.startsWith("mapbox://"))o=Promise.resolve({tileJson:Object.assign({},e,{url:void 0,tiles:(0,_.Uu)(r)}),tileLoadFunction:i});else{const e={};o=yo("Source",r,n,e).then((function(t){return t.tiles=t.tiles.map((function(r){return"tms"===t.scheme&&(r=r.replace("{y}","{-y}")),no(r,n.accessToken,n.accessTokenParam||"access_token",e.request.url)})),Promise.resolve({tileJson:t,tileLoadFunction:i})}))}}else e=Object.assign({},e,{tiles:e.tiles.map((function(r){return"tms"===e.scheme&&(r=r.replace("{y}","{-y}")),no(r,n.accessToken,n.accessTokenParam||"access_token",t||location.href)}))}),o=Promise.resolve({tileJson:Object.assign({},e),tileLoadFunction:i});bo[r]=o}return o}function Ao(e,t,n,r){const o=[2*n*t.pixelRatio+t.width,2*n*t.pixelRatio+t.height],i=po(o[0],o[1]),a=i.getContext("2d");a.drawImage(e,t.x,t.y,t.width,t.height,n*t.pixelRatio,n*t.pixelRatio,t.width,t.height);const s=a.getImageData(0,0,o[0],o[1]);a.globalCompositeOperation="destination-over",a.fillStyle=`rgba(${255*r.r},${255*r.g},${255*r.b},${r.a})`;const l=s.data;for(let e=0,r=s.width;e0&&a.arc(e,o,n*t.pixelRatio,0,2*Math.PI)}return a.fill(),i}function xo(e,t,n){const r=Math.max(0,Math.min(1,(n-e)/(t-e)));return r*r*(3-2*r)}function So(e,t,n){const r=po(t.width,t.height),o=r.getContext("2d");o.drawImage(e,t.x,t.y,t.width,t.height,0,0,t.width,t.height);const i=o.getImageData(0,0,t.width,t.height),a=i.data;for(let e=0,t=i.width;e0?(a[o+0]=Math.round(255*n.r*l),a[o+1]=Math.round(255*n.g*l),a[o+2]=Math.round(255*n.b*l),a[o+3]=Math.round(255*l)):a[o+3]=0}return o.putImageData(i,0,0),r}const Co=Array(256).join(" ");function Eo(e,t){if(t>=.05){let n="";const r=e.split("\n"),o=Co.slice(0,Math.round(t/.1));for(let e=0,t=r.length;e0&&(n+="\n"),n+=r[e].split("").join(o);return n}return e}let ko;function To(){return ko||(ko=po(1,1).getContext("2d")),ko}function _o(e,t){return To().measureText(e).width+(e.length-1)*t}const Oo={};function Po(e,t,n,r){if(-1!==e.indexOf("\n")){const o=e.split("\n"),i=[];for(let e=0,a=o.length;e1){const e=To();e.font=t;const o=e.measureText("M").width*n;let s="";const l=[];for(let e=0,t=a.length;e1;++e){const n=l[e];if(_o(n,r)<.35*o){const o=e>0?_o(l[e-1],r):1/0,i=e.7*o&&_o(i,r)<.6*o){const a=n.split(" "),s=a.pop();_o(s,r)<.2*o&&(l[e]=a.join(" "),l[e+1]=s+" "+i),t-=1}}i=l.join("\n")}else i=e;i=Eo(i,r),Oo[o]=i}return i}const Io=/font-family: ?([^;]*);/,Mo=/("|')/g;let Lo;function Ro(e){if(!Lo){Lo={};const e=document.styleSheets;for(let t=0,n=e.length;t`${e.key}: ${e.message}`)).join(", "));return n.value},zo={},Bo={zoom:0};let Vo,$o;function Go(e,t,n,r,o,i,a){const s=e.id;i||(i={},console.warn("No functionCache provided to getValue()")),i[s]||(i[s]={});const l=i[s];if(!l[n]){let r=(e[t]||zo)[n];const o=Ir[`${t}_${e.type}`][n];void 0===r&&(r=o.default);let i=(c=r,Array.isArray(c)&&c.length>0&&"string"==typeof c[0]&&c[0]in wr);if(!i&&Sr(r)&&(r=Ve(r,o),i=!0),i){const e=No(r,o);l[n]=e.evaluate.bind(e)}else"color"==o.type&&(r=ze.parse(r)),l[n]=function(){return r}}var c;return Bo.zoom=r,l[n](Bo,o,a)}function Uo(e,t,n,r,o){if(!Go(e,"layout",`${r}-allow-overlap`,t,n,o))return"declutter";return Go(e,"layout",`${r}-ignore-placement`,t,n,o)?"none":"obstacle"}function Wo(e,t,n,r,o){return o||console.warn("No filterCache provided to evaluateFilter()"),e in o||(o[e]=Lr(t).filter),Bo.zoom=r,o[e](Bo,n)}let qo=!1;function Ho(e,t){if(e){if(!qo&&(0===e.a||0===t))return;const n=e.a;return t=void 0===t?1:t,0===n?"transparent":"rgba("+Math.round(255*e.r/n)+","+Math.round(255*e.g/n)+","+Math.round(255*e.b/n)+","+n*t+")"}return e}const Yo=/\{[^{}}]*\}/g;function Ko(e,t){return e.replace(Yo,(function(e){return t[e.slice(1,-1)]||""}))}let Xo=!1;const Zo={};function Jo(e,t,n,r=ho,o=void 0,i=void 0,a=void 0,s=void 0){if("string"==typeof t&&(t=JSON.parse(t)),8!=t.version)throw new Error("glStyle version 8 required.");let l,c,u;if(Zo[so(t,e)]=Array.from(arguments),i)if("undefined"!=typeof Image){const t=new Image;let n;(0,C.hq)((()=>i)).then((e=>{e instanceof Request?fetch(e).then((e=>e.blob())).then((e=>{n=URL.createObjectURL(e),t.src=n})).catch((()=>{})):(t.crossOrigin="anonymous",t.src=e,n&&URL.revokeObjectURL(n))})),t.onload=function(){l=t,c=[t.width,t.height],e.changed(),t.onload=null}}else if("undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope){const e=self;e.postMessage({action:"loadImage",src:i}),e.addEventListener("message",(function(e){"imageLoaded"===e.data.action&&e.data.src===i&&(l=e.data.image,c=[l.width,l.height])}))}const d=Hr(t.layers),h={},p=[],f={},g={},m=lo(t),E=co(t);let k;for(let e=0,r=d.length;e=j.maxzoom)continue;const z=j.filter;if(!z||Wo(F,z,I,k,E)){let r,d,C,E,F,z;L=j;const B=h.index;if(3==P&&("fill"==j.type||"fill-extrusion"==j.type))if(d=Go(j,"paint",j.type+"-opacity",k,I,m,M),j.type+"-pattern"in N){const e=Go(j,"paint",j.type+"-pattern",k,I,m,M);if(e){const t="string"==typeof e?Ko(e,p):e.toString();if(l&&o&&o[t]){++R,z=O[R],z&&z.getFill()&&!z.getStroke()&&!z.getText()||(z=new x.Ay({fill:new v.A}),O[R]=z),C=z.getFill(),z.setZIndex(B);const e=t+"."+d;let n=g[e];if(!n){const r=o[t],i=po(r.width,r.height),a=i.getContext("2d");a.globalAlpha=d,a.drawImage(l,r.x,r.y,r.width,r.height,0,0,r.width,r.height),n=a.createPattern(i,"repeat"),g[e]=n}C.setColor(n)}}}else r=Ho(Go(j,"paint",j.type+"-color",k,I,m,M),d),j.type+"-outline-color"in N&&(F=Ho(Go(j,"paint",j.type+"-outline-color",k,I,m,M),d)),F||(F=r),(r||F)&&(++R,z=O[R],(!z||r&&!z.getFill()||!r&&z.getFill()||F&&!z.getStroke()||!F&&z.getStroke()||z.getText())&&(z=new x.Ay({fill:r?new v.A:void 0,stroke:F?new A.A:void 0}),O[R]=z),r&&(C=z.getFill(),C.setColor(r)),F&&(E=z.getStroke(),E.setColor(F),E.setWidth(.5)),z.setZIndex(B));if(1!=P&&"line"==j.type){r="line-pattern"in N?void 0:Ho(Go(j,"paint","line-color",k,I,m,M),Go(j,"paint","line-opacity",k,I,m,M));const e=Go(j,"paint","line-width",k,I,m,M);r&&e>0&&(++R,z=O[R],z&&z.getStroke()&&!z.getFill()&&!z.getText()||(z=new x.Ay({stroke:new A.A}),O[R]=z),E=z.getStroke(),E.setLineCap(Go(j,"layout","line-cap",k,I,m,M)),E.setLineJoin(Go(j,"layout","line-join",k,I,m,M)),E.setMiterLimit(Go(j,"layout","line-miter-limit",k,I,m,M)),E.setColor(r),E.setWidth(e),E.setLineDash(N["line-dasharray"]?Go(j,"paint","line-dasharray",k,I,m,M).map((function(t){return t*e})):null),z.setZIndex(B))}let V,$,G,U,W,q,H,Y,K,X=!1,Z=null,J=0;if((1==P||2==P)&&"icon-image"in D){const t=Go(j,"layout","icon-image",k,I,m,M);if(t){let r;V="string"==typeof t?Ko(t,p):t.toString();const a=s?s(e,V):void 0;if(l&&o&&o[V]||a){const e=Go(j,"layout","icon-rotation-alignment",k,I,m,M);if(2==P){const t=n.getGeometry();if(t.getFlatMidpoint||t.getFlatMidpoints){const n=t.getExtent();if(Math.sqrt(Math.max(Math.pow((n[2]-n[0])/i,2),Math.pow((n[3]-n[1])/i,2)))>150){const n="MultiLineString"===t.getType()?t.getFlatMidpoints():t.getFlatMidpoint();$o||(Vo=[NaN,NaN],$o=new w.Ay("Point",Vo,[],2,{},void 0)),r=$o,Vo[0]=n[0],Vo[1]=n[1];if("line"===Go(j,"layout","symbol-placement",k,I,m,M)&&"map"===e){const e=t.getStride(),r=t.getFlatCoordinates();for(let t=0,o=r.length-e;t=l&&n[0]<=u&&n[1]>=c&&n[1]<=d){J=Math.atan2(i-s,a-o);break}}}}}}if(2!==P||r){const t=Go(j,"layout","icon-size",k,I,m,M),n=void 0!==N["icon-color"]?Go(j,"paint","icon-color",k,I,m,M):null;if(!n||0!==n.a){const r=Go(j,"paint","icon-halo-color",k,I,m,M),i=Go(j,"paint","icon-halo-width",k,I,m,M);let s=`${V}.${t}.${i}.${r}`;if(null!==n&&(s+=`.${n}`),$=f[s],!$){const d=Uo(j,k,I,"icon",m);let h;"icon-offset"in D&&(h=Go(j,"layout","icon-offset",k,I,m,M).slice(0),h[0]*=t,h[1]*=-t);let p=n?[255*n.r,255*n.g,255*n.b,n.a]:void 0;if(a){const n={color:p,rotateWithView:"map"===e,displacement:h,declutterMode:d,scale:t};"string"==typeof a?n.src=a:(n.img=a,n.imgSize=[a.width,a.height]),$=new b.A(n)}else{const a=o[V];let s,f,g;i?a.sdf?(s=Ao(So(l,a,n||[0,0,0,1]),{x:0,y:0,width:a.width,height:a.height,pixelRatio:a.pixelRatio},i,r),p=void 0):s=Ao(l,a,i,r):(a.sdf?(u||(u=So(l,{x:0,y:0,width:c[0],height:c[1]},{r:1,g:1,b:1,a:1})),s=u):s=l,f=[a.width,a.height],g=[a.x,a.y]),$=new b.A({color:p,img:s,imgSize:c,size:f,offset:g,rotateWithView:"map"===e,scale:t/a.pixelRatio,displacement:h,declutterMode:d})}f[s]=$}}$&&(++R,z=O[R],z&&z.getImage()&&!z.getFill()&&!z.getStroke()||(z=new x.Ay,O[R]=z),z.setGeometry(r),$.setRotation(J+uo(Go(j,"layout","icon-rotate",k,I,m,M))),$.setOpacity(Go(j,"paint","icon-opacity",k,I,m,M)),$.setAnchor(Do[Go(j,"layout","icon-anchor",k,I,m,M)]),z.setImage($),Z=z.getText(),z.setText(void 0),z.setZIndex(B),X=!0,G=!1)}else G=!0}}}if(1==P&&"circle"===j.type){++R,z=O[R],z&&z.getImage()&&!z.getFill()&&!z.getStroke()||(z=new x.Ay,O[R]=z);const e="circle-radius"in N?Go(j,"paint","circle-radius",k,I,m,M):5,t=Ho(Go(j,"paint","circle-stroke-color",k,I,m,M),Go(j,"paint","circle-stroke-opacity",k,I,m,M)),n=Go(j,"paint","circle-translate",k,I,m,M),r=Ho(Go(j,"paint","circle-color",k,I,m,M),Go(j,"paint","circle-opacity",k,I,m,M)),o=Go(j,"paint","circle-stroke-width",k,I,m,M),i=e+"."+t+"."+r+"."+o+"."+n[0]+"."+n[1];$=f[i],$||($=new y.A({radius:e,displacement:[n[0],-n[1]],stroke:t&&o>0?new A.A({width:o,color:t}):void 0,fill:r?new v.A({color:r}):void 0,declutterMode:"none"}),f[i]=$),z.setImage($),Z=z.getText(),z.setText(void 0),z.setGeometry(void 0),z.setZIndex(B),X=!0}if("text-field"in D){H=Math.round(Go(j,"layout","text-size",k,I,m,M));const e=Go(j,"layout","text-font",k,I,m,M);q=Go(j,"layout","text-line-height",k,I,m,M),W=Jr(a?a(e,t.metadata?t.metadata["ol:webfonts"]:void 0):e,H,q),W.includes("sans-serif")||(W+=",sans-serif"),Y=Go(j,"layout","text-letter-spacing",k,I,m,M),K=Go(j,"layout","text-max-width",k,I,m,M);const n=Go(j,"layout","text-field",k,I,m,M);U="object"==typeof n&&n.sections?1===n.sections.length?n.toString():n.sections.reduce(((t,n,r)=>{const o=n.fontStack?n.fontStack.split(","):e,i=Jr(a?a(o):o,H*(n.scale||1),q);let s=n.text;if("\n"===s)return t.push("\n",""),t;if(2!=P){s=Po(s,i,K,Y).split("\n");for(let e=0,n=s.length;e0&&t.push("\n",""),t.push(s[e],i);return t}t.push(Eo(s,Y),i)}),[]):Ko(n,p).trim(),d=Go(j,"paint","text-opacity",k,I,m,M)}if(U&&d&&!G){X||(++R,z=O[R],z&&z.getText()&&!z.getFill()&&!z.getStroke()||(z=new x.Ay,O[R]=z),z.setImage(void 0),z.setGeometry(void 0));const e=Uo(j,k,I,"text",m);z.getText()||z.setText(Z),Z=z.getText(),(!Z||"getDeclutterMode"in Z&&Z.getDeclutterMode()!==e)&&(Z=new S.A({padding:[2,2,2,2],declutterMode:e}),z.setText(Z));const t=Go(j,"layout","text-transform",k,I,m,M);"uppercase"==t?U=Array.isArray(U)?U.map(((e,t)=>t%2?e:e.toUpperCase())):U.toUpperCase():"lowercase"==t&&(U=Array.isArray(U)?U.map(((e,t)=>t%2?e:e.toLowerCase())):U.toLowerCase());const n=Array.isArray(U)?U:2==P?Eo(U,Y):Po(U,W,K,Y);Z.setText(n),Z.setFont(W),Z.setRotation(uo(Go(j,"layout","text-rotate",k,I,m,M)));const r=Go(j,"layout","text-anchor",k,I,m,M),o=X||1==P?"point":Go(j,"layout","symbol-placement",k,I,m,M);let i;if("line-center"===o?(Z.setPlacement("line"),i="center"):Z.setPlacement(o),"line"===o&&"function"==typeof Z.setRepeat){const e=Go(j,"layout","symbol-spacing",k,I,m,M);Z.setRepeat(2*e)}Z.setOverflow("point"===o);let a=Go(j,"paint","text-halo-width",k,I,m,M);const s=Go(j,"layout","text-offset",k,I,m,M),l=Go(j,"paint","text-translate",k,I,m,M);let c=0,u=0;if("point"==o){i="center",-1!==r.indexOf("left")?(i="left",u=a):-1!==r.indexOf("right")&&(i="right",u=-a);const e=Go(j,"layout","text-rotation-alignment",k,I,m,M);Z.setRotateWithView("map"==e)}else Z.setMaxAngle(uo(Go(j,"layout","text-max-angle",k,I,m,M))*U.length/n.length),Z.setRotateWithView(!1);Z.setTextAlign(i);let h="middle";0==r.indexOf("bottom")?(h="bottom",c=-a-.5*(q-1)*H):0==r.indexOf("top")&&(h="top",c=a+.5*(q-1)*H),Z.setTextBaseline(h);const p=Go(j,"layout","text-justify",k,I,m,M);Z.setJustify("auto"===p?void 0:p),Z.setOffsetX(s[0]*H+u+l[0]),Z.setOffsetY(s[1]*H+c+l[1]),_.setColor(Ho(Go(j,"paint","text-color",k,I,m,M),d)),Z.setFill(_);const f=Ho(Go(j,"paint","text-halo-color",k,I,m,M),d);if(f&&a>0){T.setColor(f),a*=2;const e=.5*H;T.setWidth(a<=e?a:e),Z.setStroke(T)}else Z.setStroke(void 0);const g=Go(j,"layout","text-padding",k,I,m,M),y=Z.getPadding();g!==y[0]&&(y[0]=g,y[1]=g,y[2]=g,y[3]=g),z.setZIndex(B)}}}return R>-1?(O.length=R+1,Xo&&("set"in n?n.set("mapbox-layer",L):n.getProperties()["mapbox-layer"]=L),O):void 0};return e.setStyle(P),e.set("mapbox-source",k),e.set("mapbox-layers",p),e.set("mapbox-featurestate",e.get("mapbox-featurestate")||{}),P}function Qo(e,t){const n=e[0],r=n.width,o=n.height,i=n.data,a=new Uint8ClampedArray(i.length),s=2*t.resolution,l=r-1,c=o-1,u=[0,0,0,0],d=2*Math.PI,h=Math.PI/2,p=Math.PI*t.sunEl/180,f=Math.PI*t.sunAz/180,g=Math.cos(p),m=Math.sin(p),y=t.highlightColor,v=t.shadowColor,b=t.accentColor,w=t.encoding;let A,x,S,C,E,k,T,_,O,P,I,M,L,R,j,F,D,N,z,B,V,$;function G(e,t="mapbox"){return"mapbox"===t?.1*(256*e[0]*256+256*e[1]+e[2])-1e4:"terrarium"===t?256*e[0]+e[1]+e[2]/256-32768:void 0}for(x=0;x<=c;++x)for(E=0===x?0:x-1,k=x===c?c:x+1,A=0;A<=l;++A)S=0===A?0:A-1,C=A===l?l:A+1,T=4*(x*r+S),u[0]=i[T],u[1]=i[T+1],u[2]=i[T+2],u[3]=i[T+3],_=t.vert*G(u,w),T=4*(x*r+C),u[0]=i[T],u[1]=i[T+1],u[2]=i[T+2],u[3]=i[T+3],O=t.vert*G(u,w),P=(O-_)/s,T=4*(E*r+A),u[0]=i[T],u[1]=i[T+1],u[2]=i[T+2],u[3]=i[T+3],_=t.vert*G(u,w),T=4*(k*r+A),u[0]=i[T],u[1]=i[T+1],u[2]=i[T+2],u[3]=i[T+3],O=t.vert*G(u,w),I=(O-_)/s,L=Math.atan2(I,-P),L=L<0?h-L:L>h?d-L+h:h-L,M=Math.atan(Math.sqrt(P*P+I*I)),$=m*Math.cos(M)+g*Math.sin(M)*Math.cos(f-L),R=Math.cos(M),j=255*$,z=Math.min(Math.max(2*t.sunEl,0),1),B=1.875-1.75*t.opacity,V=.5!==t.opacity?h*((Math.pow(B,M)-1)/(Math.pow(B,h)-1)):M,D={r:(1-R)*b.r*z*255,g:(1-R)*b.g*z*255,b:(1-R)*b.b*z*255,a:(1-R)*b.a*z*255},F=Math.abs(((L+f)/Math.PI+.5)%2-1),N={r:(y.r*(1-F)+v.r*F)*j,g:(y.g*(1-F)+v.g*F)*j,b:(y.b*(1-F)+v.b*F)*j,a:(y.a*(1-F)+v.a*F)*j},T=4*(x*r+A),a[T]=D.r*(1-F)+N.r,a[T+1]=D.g*(1-F)+N.g,a[T+2]=D.b*(1-F)+N.b,a[T+3]=i[T+3]*t.opacity*z*Math.sin(V);return new ImageData(a,r,o)}function ei(e,t=512){return e.getExtent()?(0,Se.EN)({extent:e.getExtent(),tileSize:t,maxZoom:22}).getResolutions():ho}function ti(e,t){if(!t.accessToken){t=Object.assign({},t);new URL(e).searchParams.forEach(((e,n)=>{t.accessToken=e,t.accessTokenParam=n}))}return t}function ni(e,t,n="",r={},o=void 0){let i,a,s,l,c=!0;return"string"==typeof n||Array.isArray(n)?l=n:(s=n,l=s.source||s.layers,r=s),"string"==typeof r?(i=r,s={}):(i=r.styleUrl,s=r),!1===s.updateSource&&(c=!1),o||(o=s.resolutions),i||"string"!=typeof t||t.trim().startsWith("{")||(i=t),i&&(i=i.startsWith("data:")?location.href:to(i,s.accessToken),s=ti(i,s)),new Promise((function(n,r){vo(t,s).then((function(t){if(8!=t.version)return r(new Error("glStyle version 8 required."));if(!(e instanceof ke.A||e instanceof f.A))return r(new Error("Can only apply to VectorLayer or VectorTileLayer"));const u=e instanceof f.A?"vector":"geojson";if(l?a=Array.isArray(l)?t.layers.find((function(e){return e.id===l[0]})).source:l:(a=Object.keys(t.sources).find((function(e){return t.sources[e].type===u})),l=a),!a)return r(new Error(`No ${u} source found in the glStyle.`));function d(){if(!c)return Promise.resolve();if(e instanceof f.A)return li(t.sources[a],i,s).then((function(t){const n=e.getSource();n?t!==n&&(n.setTileUrlFunction(t.getTileUrlFunction()),"function"==typeof n.setUrls&&"function"==typeof t.getUrls&&n.setUrls(t.getUrls()),n.format_||(n.format_=t.format_),n.getAttributions()||n.setAttributions(t.getAttributions()),n.getTileLoadFunction()===g.Y&&n.setTileLoadFunction(t.getTileLoadFunction()),(0,$.tI)(n.getProjection(),t.getProjection())&&(n.tileGrid=t.getTileGrid())):e.setSource(t);const r=e.getSource().getTileGrid();!isFinite(e.getMaxResolution())&&!isFinite(e.getMinZoom())&&r.getMinZoom()>0&&e.setMaxResolution(go(Math.max(0,r.getMinZoom()-1e-12),r.getResolutions()))}));const n=t.sources[a];let r=e.getSource();r&&r.get("mapbox-source")===n||(r=hi(n,i,s));const o=e.getSource();return o?r!==o&&(o.getAttributions()||o.setAttributions(r.getAttributions()),o.format_||(o.format_=r.getFormat()),o.url_=r.getUrl()):e.setSource(r),Promise.resolve()}let h,p,m,y;function v(){if(y||t.sprite&&!p)y?(e.setStyle(y),d().then(n).catch(r)):r(new Error("Something went wrong trying to apply style."));else{if(s.projection&&!o){const e=(0,$.Jt)(s.projection).getUnits();"m"!==e&&(o=ho.map((t=>t/_e.I[e])))}y=Jo(e,t,l,o,p,m,((e,t=s.webfonts)=>function(e,t="https://cdn.jsdelivr.net/npm/@fontsource/{font-family}/{fontweight}{-fontstyle}.css"){const n=e.toString();if(n in jo)return jo[n];const r=[];for(let t=0,n=e.length;t=1.5?.5:1;const n=.5==h?"@2x":"";let o=e.origin+e.pathname+n+".json"+e.search;new Promise((function(t,n){yo("Sprite",o,s).then(t).catch((function(r){o=e.origin+e.pathname+".json"+e.search,yo("Sprite",o,s).then(t).catch(n)}))})).then((function(t){if(void 0===t&&r(new Error("No sprites found.")),p=t,m=e.origin+e.pathname+n+".png"+e.search,s.transformRequest){const e=s.transformRequest(m,"SpriteImage")||m;(e instanceof Request||e instanceof Promise)&&(m=e)}v()})).catch((function(e){r(new Error(`Sprites cannot be loaded: ${o}: ${e.message}`))}))}else v()})).catch(r)}))}const ri={};function oi(e,t){let n;return e.some((function(e){if(e.id==t)return n=e.source,!0})),n}function ii(e,t,n){const r=new Ee({tileJSON:t,tileSize:e.tileSize||t.tileSize||512}),o=r.getTileJSON(),i=r.getTileGrid(),a=(0,$.Jt)(n.projection||"EPSG:3857"),s=function(e,t){const n=e.bounds;if(n){const e=(0,$.Rb)([n[0],n[1]],t),r=(0,$.Rb)([n[2],n[3]],t);return[e[0],e[1],r[0],r[1]]}return(0,$.Jt)(t).getExtent()}(o,a),l=a.getExtent(),c=o.minzoom||0,u=o.maxzoom||22,d={attributions:r.getAttributions(),projection:a,tileGrid:new m.A({origin:l?(0,le.getTopLeft)(l):i.getOrigin(0),extent:s||i.getExtent(),minZoom:c,resolutions:ei(a,t.tileSize).slice(0,u+1),tileSize:i.getTileSize(0)})};return Array.isArray(o.tiles)?d.urls=o.tiles:d.url=o.tiles,d}function ai(e,t,n,r){const o={id:e.id,type:e.type},i=e.layout||{},a=e.paint||{};o.paint=a;const s=fo(t,n.resolutions||ho);let l;const c=Go(o,"paint","background-color",s,ri,r);return void 0!==a["background-opacity"]&&(l=Go(o,"paint","background-opacity",s,ri,r)),"none"==i.visibility?void 0:Ho(c,l)}function si(e,t,n){const r=document.createElement("div");return r.className="ol-mapbox-style-background",r.style.position="absolute",r.style.width="100%",r.style.height="100%",new M.A({source:new ne.A({}),render(o){const i=ai(e,o.viewState.resolution,t,n);return r.style.backgroundColor=i,r}})}function li(e,t,n){return new Promise((function(r,o){wo(e,t,n).then((function({tileJson:t,tileLoadFunction:o}){const i=ii(e,t,n);i.tileLoadFunction=o,i.format=new K,r(new g.A(i))})).catch(o)}))}function ci(e){return`{bbox-${(e?e.getCode():"EPSG:3857").toLowerCase().replace(/[^a-z0-9]/g,"-")}}`}function ui(e,t,n){return new Promise((function(r,o){wo(e,t,n).then((function({tileJson:t,tileLoadFunction:o}){const i=new Ee({interpolate:void 0===n.interpolate||n.interpolate,transition:0,crossOrigin:"anonymous",tileJSON:t});i.tileGrid=ii(e,t,n).tileGrid,n.projection&&(i.projection=(0,$.Jt)(n.projection));const a=i.getTileUrlFunction();o&&i.setTileLoadFunction(o),i.setTileUrlFunction((function(e,t,n){const r=ci(n);let o=a(e,t,n);if(-1!=o.indexOf(r)){const t=i.getTileGrid().getTileCoordExtent(e);o=o.replace(r,t.toString())}return o})),i.set("mapbox-source",e),r(i)})).catch((function(e){o(e)}))}))}function di(e,t,n){const r=new re.A;return ui(e,t,n).then((function(e){r.setSource(e)})).catch((function(){r.setSource(void 0)})),r}function hi(e,t,n){const r=n.projection?new P.A({dataProjection:n.projection}):new P.A,o=e.data,i={};if("string"==typeof o){const i=no(o,n.accessToken,n.accessTokenParam||"access_token",t||location.href);if(/\{bbox-[0-9a-z-]+\}/.test(i)){const t=(e,t,n)=>{const r=ci(n);return i.replace(r,`${e.join(",")}`)},o=new Te.A({attributions:e.attribution,format:r,loader:(e,r,i,a,s)=>{yo("GeoJSON","function"==typeof t?t(e,r,i):t,n).then((e=>{const t=o.getFormat().readFeatures(e,{featureProjection:i});o.addFeatures(t),a(t)})).catch((t=>{o.removeLoadedExtent(e),s()}))},strategy:Oe.Qk});return o.set("mapbox-source",e),o}const a=new Te.A({attributions:e.attribution,format:r,url:i,loader:(e,t,r,o,s)=>{yo("GeoJSON",i,n).then((e=>{const t=a.getFormat().readFeatures(e,{featureProjection:r});a.addFeatures(t),o(t)})).catch((t=>{a.removeLoadedExtent(e),s()}))}});return a}i.features=r.readFeatures(o,{featureProjection:(0,$.Tf)()||"EPSG:3857"});const a=new Te.A(Object.assign({attributions:e.attribution,format:r},i));return a.set("mapbox-source",e),a}function pi(e,t,n){let r=null;return function(o){e.paint&&"raster-opacity"in e.paint&&o.frameState.viewState.zoom!==r&&(r=o.frameState.viewState.zoom,delete n[e.id],function(e,t,n,r){const o=Go(e,"paint","raster-opacity",n,ri,r);t.setOpacity(o)}(e,t,r,n))}}function fi(e,t,n,r){const o=lo(e),i=e.layers,a=n.type,s=n.source||oi(i,n.ref),l=e.sources[s];let c;if("background"==a)c=si(n,r,o);else if("vector"==l.type)c=function(e,t,n){const r=new f.A({declutter:!0,visible:!1});return li(e,t,n).then((function(t){t.set("mapbox-source",e),r.setSource(t)})).catch((function(e){r.setSource(void 0)})),r}(l,t,r);else if("raster"==l.type)c=di(l,t,r),c.setVisible(!n.layout||"none"!==n.layout.visibility),c.on("prerender",pi(n,c,o));else if("geojson"==l.type)c=function(e,t,n){return new ke.A({declutter:!0,source:hi(e,t,n),visible:!1})}(l,t,r);else if("raster-dem"==l.type&&"hillshade"==n.type){const e=function(e,t,n){const r=di(e,t,n);return new I.A({source:new Ae({operationType:"image",operation:Qo,sources:[r]})})}(l,t,r);c=e,e.getSource().on("beforeoperations",(function(e){const t=e.data;t.resolution=(0,$.hO)(r.projection||"EPSG:3857",e.resolution,(0,le.getCenter)(e.extent),"m");const i=fo(e.resolution,r.resolutions||ho);t.encoding=l.encoding,t.vert=5*Go(n,"paint","hillshade-exaggeration",i,ri,o),t.sunAz=Go(n,"paint","hillshade-illumination-direction",i,ri,o),t.sunEl=35,t.opacity=.3,t.highlightColor=Go(n,"paint","hillshade-highlight-color",i,ri,o),t.shadowColor=Go(n,"paint","hillshade-shadow-color",i,ri,o),t.accentColor=Go(n,"paint","hillshade-accent-color",i,ri,o)})),c.setVisible(!n.layout||"none"!==n.layout.visibility)}const u=s;return c&&c.set("mapbox-source",u),c}function gi(e,t,n,r){const o=[];let i=null;if(t instanceof X.A){if(i=t.getView(),!i.isDef()&&!i.getRotation()&&!i.getResolutions()){const e=r.projection?(0,$.Jt)(r.projection):i.getProjection();i=new p.Ay(Object.assign(i.getProperties(),{maxResolution:ho[0]/_e.I[e.getUnits()],projection:r.projection||i.getProjection()})),t.setView(i)}"center"in e&&!i.getCenter()&&i.setCenter((0,$.Rb)(e.center,i.getProjection())),"zoom"in e&&void 0===i.getZoom()&&i.setResolution(ho[0]/_e.I[i.getProjection().getUnits()]/Math.pow(2,e.zoom)),i.getCenter()&&void 0!==i.getZoom()||i.fit(i.getProjection().getExtent(),{nearest:!0,size:t.getSize()})}t.set("mapbox-style",e),t.set("mapbox-metadata",{styleUrl:n,options:r});const a=e.layers;let s,l,c,u=[];for(let i=0,d=a.length;i0||n>0)&&e.setMaxResolution(Math.min(go(Math.max(0,a-1e-12),ho),go(Math.max(0,n-1e-12),t.getResolutions()))),s<24&&e.setMinResolution(go(s,ho))}}else a>0&&e.setMaxResolution(go(Math.max(0,a-1e-12),ho));u instanceof Te.A||u instanceof g.A?ni(e,n,t,Object.assign({styleUrl:r},i)).then((function(){!function(e,t){function n(){const n=t.get("mapbox-style");if(!n)return;const r=Hr(n.layers),o=e.get("mapbox-layers"),i=r.filter((function(e){return o.includes(e.id)})).some((function(e){return!e.layout||!e.layout.visibility||"visible"===e.layout.visibility}));e.get("visible")!==i&&e.setVisible(i)}e.on("change",n),n()}(e,o),l()})).catch(c):l()}else c(new Error("Error accessing data for source "+e.get("mapbox-source")))};e.set("mapbox-layers",t);const d=o.getLayers();-1===d.getArray().indexOf(e)&&d.push(e),e.getSource()?u():e.once("change:source",u)}))}J.Ay;f.A;var vi=n(37450),bi=n(7517),wi=n(55231),Ai=n(42982),xi=n(67475),Si=n(10599),Ci=n(68046),Ei=n(66700),ki=n(80309);function Ti(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _i(e){for(var t=1;t0&&(A=w[0]),A||(T={source:b},void 0!==(null===(x=n.initialSettings)||void 0===x?void 0:x.className)&&(T.className=n.initialSettings.className),void 0!==(null===(S=n.initialSettings)||void 0===S?void 0:S.extent)&&(T.extent=n.initialSettings.extent),void 0!==(null===(C=n.initialSettings)||void 0===C?void 0:C.maxZoom)&&(T.maxZoom=n.initialSettings.maxZoom),void 0!==(null===(E=n.initialSettings)||void 0===E?void 0:E.minZoom)&&(T.minZoom=n.initialSettings.minZoom),void 0!==(null===(k=n.initialSettings)||void 0===k||null===(k=k.states)||void 0===k?void 0:k.opacity)&&(T.opacity=n.initialSettings.states.opacity),_="LYR2"!==this.mapId,A=new f.A(_i(_i({},T),{},{declutter:_})),this.setLayerAndLoadEndListeners(n,A,"tile")),this.emitLayerCreation({config:n,layer:A}),O=i.tileGrid.getResolutions(),null!==(o=this.metadata)&&void 0!==o&&o.defaultStyles&&ni(A,"".concat((0,Ai.getLocalizedValue)(this.metadataAccessPath,ki.K.getDisplayLanguage(this.mapId))).concat(this.metadata.defaultStyles,"/root.json"),{resolutions:null!=O&&O.length?O:[]}).catch((function(e){Ei.vF.logPromiseFailed("applyStyle in processOneLayerEntry in VectorTiles",e)})),e.abrupt("return",Promise.resolve(A));case 23:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"processLayerMetadata",value:function(e){if(!(e instanceof Ci.E))throw new Error("Invalid layer configuration type provided");if(this.metadata){var t,n=this.metadata.tileInfo,r=this.metadata.fullExtent,o={extent:[r.xmin,r.ymin,r.xmax,r.ymax],origin:[n.origin.x,n.origin.y],resolutions:n.lods.map((function(e){return e.resolution})),tileSize:[n.rows,n.cols]};e.source.tileGrid=o,null!==(t=e.initialSettings)&&void 0!==t&&t.extent&&(e.initialSettings.extent=this.getMapViewer().convertExtentLngLatToMapProj(e.initialSettings.extent))}return Promise.resolve(e)}},{key:"getBounds",value:function(e){var t,n=this.getOLLayer(e),r=this.getSourceProjection(e),o=null==n||null===(t=n.getSource())||void 0===t||null===(t=t.getTileGrid())||void 0===t?void 0:t.getExtent();return o&&(o=this.getMapViewer().convertExtentFromProjToMapProj(o,r)),o}},{key:"setVectorTileStyle",value:function(e,t){return ni(this.getMapViewer().layer.getOLLayer(e),t)}}],[{key:"addVectorTileLayer",value:(n=(0,o.A)(h().mark((function e(){return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,mi("LYR3","https://tiles.arcgis.com/tiles/HsjBaDykC1mjhXz9/arcgis/rest/services/CBMT3978_v11/VectorTileServer/resources/styles/root.json?f=json");case 2:e.sent.setView(new p.Ay({projection:"EPSG:3857",center:[-1843634.2627000008,4121569.7534000017],zoom:5}));case 4:case"end":return e.stop()}}),e)}))),function(){return n.apply(this,arguments)})}]);var n,r}(bi.A)},90271:(e,t,n)=>{"use strict";n.d(t,{GB:()=>$,Xx:()=>z,w6:()=>B});var r=n(74887),o=n(1839),i=n(32031),a=n(80180),s=n(59682),l=n(41108),c=n(95947),u=n(71104),d=n(89153),h=n(79778),p=n(74780),f=n(64417),g=n.n(f),m=n(95841),y=n(28596),v=n(86253),b=n(72192),w=n(80363),A=n.n(w),x=n(67475),S=n(37450),C=n(7517),E=n(55231),k=n(42982),T=n(99937),_=n(7031),O=n(10599),P=n(12923),I=n(66700),M=n(66734),L=n(80309),R=n(86266);function j(e,t,n){return t=(0,d.A)(t),(0,c.A)(e,F()?Reflect.construct(t,n||[],(0,d.A)(e).constructor):t.apply(e,n))}function F(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(F=function(){return!!e})()}function D(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function N(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var z=function(e){return(null==e?void 0:e.geoviewLayerType)===S.y6.WMS},B=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===S.y6.WMS},V=new WeakSet,$=function(e){function t(e,n){var r;return(0,s.A)(this,t),D(r=j(this,t,[S.y6.WMS,n,e]),V),(0,p.A)(r,"WMSStyles",void 0),r.WMSStyles=[],r}return(0,h.A)(t,e),(0,l.A)(t,[{key:"fetchServiceMetadata",value:(f=(0,a.A)(g().mark((function e(){var t,n,r,o,i,a,s,l,c,u,d=this;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=(0,k.getLocalizedValue)(this.metadataAccessPath,L.K.getDisplayLanguage(this.mapId)))){e.next=40;break}if(".xml"!==t.slice(-4).toLowerCase()){e.next=8;break}return e.next=6,N(V,this,W).call(this,t);case 6:e.next=38;break;case 8:if(0!==(n=N(V,this,K).call(this)).length){e.next=23;break}return e.prev=10,e.next=13,N(V,this,G).call(this,"".concat(t,"?service=WMS&version=1.3.0&request=GetCapabilities"));case 13:r=e.sent,this.metadata=r,N(V,this,X).call(this),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(10),I.vF.logError("Unable to read service metadata for GeoView layer ".concat(this.geoviewLayerId," of map ").concat(this.mapId,"."));case 21:e.next=38;break;case 23:return o=[],n.forEach((function(e,r){for(i=0;n[i].layerId!==e.layerId;i++);i===r?o.push(N(V,d,G).call(d,"".concat(t,"?service=WMS&version=1.3.0&request=GetCapabilities&Layers=").concat(e.layerId))):o.push(o[i])})),e.prev=25,e.next=28,Promise.all(o);case 28:for(a=e.sent,i=0;i1)for(this.WMSStyles=[],p=0;p0&&(w=b[0]),w||(_={source:m,properties:{layerCapabilities:r,layerConfig:n}},void 0!==(null===(A=n.initialSettings)||void 0===A?void 0:A.className)&&(_.className=n.initialSettings.className),void 0!==(null===(x=n.initialSettings)||void 0===x?void 0:x.extent)&&(_.extent=n.initialSettings.extent),void 0!==(null===(C=n.initialSettings)||void 0===C?void 0:C.maxZoom)&&(_.maxZoom=n.initialSettings.maxZoom),void 0!==(null===(E=n.initialSettings)||void 0===E?void 0:E.minZoom)&&(_.minZoom=n.initialSettings.minZoom),void 0!==(null===(T=n.initialSettings)||void 0===T||null===(T=T.states)||void 0===T?void 0:T.opacity)&&(_.opacity=n.initialSettings.states.opacity),w=new y.A(_),this.setLayerAndLoadEndListeners(n,w,"image")),this.emitLayerCreation({config:n,layer:w}),e.abrupt("return",Promise.resolve(w));case 22:return O.FHQ.maps[this.mapId].notifications.showError("validation.layer.notfound",[n.layerId,this.geoviewLayerId]),e.abrupt("return",Promise.resolve(void 0));case 24:return I.vF.logError("geoviewLayerType must be ".concat(S.y6.WMS)),e.abrupt("return",Promise.resolve(void 0));case 26:case"end":return e.stop()}}),e,this)}))),function(e){return c.apply(this,arguments)})},{key:"processLayerMetadata",value:function(e){if(!(e instanceof M.Q))throw new Error("Invalid layer configuration type provided");if(B(e)){var t=N(V,this,J).call(this,e.layerId);if(this.setLayerMetadata(e.layerPath,t),t){var n,r,o,i=this.getAttributions();if(t.Attribution&&!i.includes(null===(n=t.Attribution)||void 0===n?void 0:n.Title)&&(i.push(t.Attribution.Title),this.setAttributions(i)),e.source.featureInfo||(e.source.featureInfo={queryable:!!t.queryable}),P.d.setMapLayerQueryable(this.mapId,e.layerPath,e.source.featureInfo.queryable),null!==(r=e.initialSettings)&&void 0!==r&&r.extent&&(e.initialSettings.extent=this.getMapViewer().convertExtentLngLatToMapProj(e.initialSettings.extent)),null!==(o=e.initialSettings)&&void 0!==o&&o.bounds||!t.EX_GeographicBoundingBox||(e.initialSettings.bounds=t.EX_GeographicBoundingBox),t.Dimension){var a=t.Dimension.find((function(e){return"time"===e.name}));a&&this.processTemporalDimension(a,e)}}}return Promise.resolve(e)}},{key:"processTemporalDimension",value:function(e,t){void 0!==e&&this.setTemporalDimension(t.layerPath,T.P.createDimensionFromOGC(e))}},{key:"getFeatureInfoAtPixel",value:function(e,t){return this.getFeatureInfoAtCoordinate(this.getMapViewer().map.getCoordinateFromPixel(e),t)}},{key:"getFeatureInfoAtCoordinate",value:function(e,t){var n=this.getMapViewer().convertCoordinateMapProjToLngLat(e);return this.getFeatureInfoAtLongLat(n,t)}},{key:"getFeatureInfoAtLongLat",value:(r=(0,a.A)(g().mark((function e(n,r){var o,i,a,s,l,c,u,d,h,p,f,y,v,b,w,A,x,S,C,E,T,_,O,P;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,i=this.getLayerConfig(r),a=this.getOLLayer(r),this.getVisible(r)){e.next=5;break}return e.abrupt("return",[]);case 5:if(s=this.getMapViewer().convertCoordinateLngLatToMapProj(n),!(n[0]1)){e.next=16;break}a=0;case 8:if(!(a1?i:void 0},e.abrupt("return",r);case 32:return e.prev=32,e.t0=e.catch(0),I.vF.logError("wms.getLegend()\n",e.t0),e.abrupt("return",null);case 36:case"end":return e.stop()}}),e,this,[[0,32]])}))),function(e){return n.apply(this,arguments)})},{key:"setWmsStyle",value:function(e,t){var n,r=this.getOLLayer(t);r&&(null===(n=r.getSource())||void 0===n||n.updateParams({STYLES:e}))}},{key:"onLoaded",value:function(e){(0,u.A)((0,d.A)(t.prototype),"onLoaded",this).call(this,e),this.applyViewFilter(e.layerPath,e.layerFilter||"")}},{key:"applyViewFilter",value:function(e,t){var n=this,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=this.getLayerConfig(e),a=this.getOLLayer(e);I.vF.logTraceCore("WMS - applyViewFilter",e);var s=a.getSource();if(s){var l=t;if(o.legendFilterIsOff=!r,r&&(o.layerFilter=t),l){var c=(l=l.replaceAll(/\s{2,}/g," ").trim()).split(/(?<=\b)\s*=/),u=c[0].trim();l=c[1].trim();var d=(0,i.A)("".concat(l," ").matchAll(/(?<=^date\b\s')[\d/\-T\s:+Z]{4,25}(?=')|(?<=[(\s]date\b\s')[\d/\-T\s:+Z]{4,25}(?=')/gi));d.reverse(),d.forEach((function(e){var t=![20,25].includes(e[0].length),r=T.P.applyInputDateFormat(e[0],n.externalFragmentsOrder,t);l="".concat(l.slice(0,e.index-6)).concat(r).concat(l.slice(e.index+e[0].length+2))})),s.updateParams((0,p.A)({},u,l.replace(/\s*/g,""))),a.changed(),this.emitLayerFilterApplied({layerPath:e,filter:l})}}}},{key:"getBounds",value:function(e){var t,n=this.getLayerConfig(e),r=this.getSourceProjection(e),i=null==n||null===(t=n.initialSettings)||void 0===t?void 0:t.bounds;i&&(i=this.getMapViewer().convertExtentFromProjToMapProj(i,"EPSG:4326"));var a,s=N(V,this,ie).call(this,(null==r?void 0:r.getCode())||"");if(s){var l=(0,o.A)(s,2),c=l[0],u=l[1];a=this.getMapViewer().convertExtentFromProjToMapProj(u,c)}return i&&a&&(a=(0,_.getExtentIntersection)(a,i)),a||i}}]);var n,r,c,f}(C.A);function G(e){return U.apply(this,arguments)}function U(){return(U=(0,a.A)(g().mark((function e(t){var n,r,o,i;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(t);case 3:return n=e.sent,e.next=6,n.text();case 6:return r=e.sent,o=new b.A,i=o.read(r),e.abrupt("return",i);case 12:return e.prev=12,e.t0=e.catch(0),this.setAllLayerStatusTo("error",this.listOfLayerEntryConfig,"Unable to read metadata"),e.abrupt("return",null);case 16:case"end":return e.stop()}}),e,this,[[0,12]])})))).apply(this,arguments)}function W(e){return q.apply(this,arguments)}function q(){return(q=(0,a.A)(g().mark((function e(t){var n,r,o,i,a,s,l;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new b.A,e.next=4,fetch(t);case 4:return r=e.sent,e.next=7,r.text();case 7:o=e.sent,this.metadata=n.read(o),this.metadata?(N(V,this,X).call(this),s=null===(i=this.metadata)||void 0===i?void 0:i.Capability.Request.GetMap.DCPType[0].HTTP.Get.OnlineResource,this.metadataAccessPath.en=s,this.metadataAccessPath.fr=s,l=null===(a=this.metadata)||void 0===a?void 0:a.Capability.Request.GetMap.DCPType[0].HTTP.Get.OnlineResource,function e(t){t.forEach((function(t){(0,E.KD)(t)?e(t.listOfLayerEntryConfig):(t.source.dataAccessPath.en=l,t.source.dataAccessPath.fr=l)}))}(this.listOfLayerEntryConfig)):this.setAllLayerStatusTo("error",this.listOfLayerEntryConfig,"Unable to read metadata"),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),this.setAllLayerStatusTo("error",this.listOfLayerEntryConfig,"Unable to read metadata");case 15:case"end":return e.stop()}}),e,this,[[0,12]])})))).apply(this,arguments)}function H(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=(0,i.A)(n);if(Array.isArray(t))for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:e.listOfLayerEntryConfig;r.length&&r.forEach((function(e){(0,E.KD)(e)?n(e.listOfLayerEntryConfig):t.push(e)}))}(),t}function X(e){var t,n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=this.metadata)||void 0===t||null===(t=t.Capability)||void 0===t?void 0:t.Layer;e&&r&&(void 0===r.EX_GeographicBoundingBox&&(r.EX_GeographicBoundingBox=e.EX_GeographicBoundingBox),void 0===r.queryable&&(r.queryable=e.queryable),void 0===r.cascaded&&(r.cascaded=e.cascaded),void 0===r.opaque&&(r.opaque=e.opaque),void 0===r.noSubsets&&(r.noSubsets=e.noSubsets),void 0===r.fixedWidth&&(r.fixedWidth=e.fixedWidth),void 0===r.fixedHeight&&(r.fixedHeight=e.fixedHeight),void 0===r.MinScaleDenominator&&(r.MinScaleDenominator=e.MinScaleDenominator),void 0===r.MaxScaleDenominator&&(r.MaxScaleDenominator=e.MaxScaleDenominator),void 0===r.BoundingBox&&(r.BoundingBox=e.BoundingBox),void 0===r.Dimension&&(r.Dimension=e.Dimension),void 0===r.Attribution&&(r.Attribution=e.Attribution),void 0===r.MaxScaleDenominator&&(r.MaxScaleDenominator=e.MaxScaleDenominator),void 0===r.MaxScaleDenominator&&(r.MaxScaleDenominator=e.MaxScaleDenominator),e.Style&&(r.Style||(r.Style=[]),e.Style.forEach((function(e){r.Style.find((function(t){return t.Name===e.Name}))||r.Style.push(e)}))),e.CRS&&(r.CRS||(r.CRS=[]),e.CRS.forEach((function(e){r.CRS.find((function(t){return t.Name===e}))||r.CRS.push(e)})))),void 0!==(null==r?void 0:r.Layer)&&r.Layer.forEach((function(e){return N(V,n,X).call(n,r,e)}))}function Z(e,t){var n=this,r=[];(Array.isArray(e.Layer)?e.Layer:[e.Layer]).forEach((function(e){I.vF.logTraceCore("WMS - createGroupLayer","Cloning the layer config",t.layerPath);var o=A()(t);o.parentLayerConfig=(0,x.KX)(t),o.layerId=e.Name,o.layerName={en:e.Title,fr:e.Title},r.push(o),n.getMapViewer().layer.registerLayerConfigInit(o)}));var o=(0,x.KX)(t);o.entryType=E.hJ.GROUP,o.layerName={en:e.Title,fr:e.Title},o.isMetadataLayerGroup=!0,o.listOfLayerEntryConfig=r,this.validateListOfLayerEntryConfig(r)}function J(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=this.metadata)||void 0===t||null===(t=t.Capability)||void 0===t?void 0:t.Layer;if(!n)return null;if("Name"in n&&n.Name===e)return n;if("Layer"in n){if(Array.isArray(n.Layer)){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:"";Object.keys(t).forEach((function(o){if(!o.endsWith("Geometry")&&!o.startsWith("@")){var i=o.split(":").slice(-1)[0];"object"===(0,r.A)(t[o])?"#text"in t[o]?g.fieldInfo["".concat(n).concat(n?".":"").concat(i)]={fieldKey:f++,value:t[o]["#text"],dataType:"string",alias:"".concat(n).concat(n?".":"").concat(i),domain:null}:e(t[o],i):g.fieldInfo["".concat(n).concat(n?".":"").concat(i)]={fieldKey:f++,value:t[o],dataType:"string",alias:"".concat(n).concat(n?".":"").concat(i),domain:null}}}))}(e),c)?(f=0,Object.keys(g.fieldInfo).filter((function(e){if(null!=c&&c.includes(e)){var t=c.indexOf(e);return g.fieldInfo[e].fieldKey=f++,g.fieldInfo[e].alias=d[t],g.fieldInfo[e].dataType=u[t],!1}return!0})).forEach((function(e){delete g.fieldInfo[e]})),h.push(g)):h.push(g);return h}function oe(e,t){var n=Object.keys(e).find((function(e){return e.endsWith(t)}));return n?e[n]:void 0}function ie(e){var t,n=null===(t=this.metadata)||void 0===t?void 0:t.Capability.Layer.BoundingBox;if(n){for(var r=0;r0)return[n[0].crs,[n[0].extent[1],n[0].extent[0],n[0].extent[3],n[0].extent[2]]]}}},18113:(e,t,n)=>{"use strict";n.d(t,{P5:()=>T,ik:()=>k,nd:()=>_});var r=n(80180),o=n(59682),i=n(41108),a=n(95947),s=n(71104),l=n(89153),c=n(79778),u=n(64417),d=n.n(u),h=n(12791),p=n(9063),f=n(70861),g=n(79950),m=n.n(g),y=n(37450),v=n(7517),b=n(55231),w=n(42982),A=n(67475),x=n(88030),S=n(80309);function C(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,E()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(E=function(){return!!e})()}var k=function(e){return(null==e?void 0:e.geoviewLayerType)===y.y6.XYZ_TILES},T=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===y.y6.XYZ_TILES},_=function(e){function t(e,n){return(0,o.A)(this,t),C(this,t,[y.y6.XYZ_TILES,n,e])}return(0,c.A)(t,e),(0,i.A)(t,[{key:"getFieldType",value:function(e,t){var n,r=this.getLayerMetadata(t.layerPath).source.featureInfo,o=null===(n=(0,w.getLocalizedValue)((0,A.KX)(r.outfields),S.K.getDisplayLanguage(this.mapId)))||void 0===n?void 0:n.split(",").indexOf(e);return o&&-1!==o?r.fieldTypes.split(",")[o]:"string"}},{key:"validateListOfLayerEntryConfig",value:function(e){var t=this;e.forEach((function(e){var n,r=e.layerPath;if((0,b.KD)(e)&&(t.validateListOfLayerEntryConfig(e.listOfLayerEntryConfig),!e.listOfLayerEntryConfig.length))return t.layerLoadError.push({layer:r,loggerMessage:"Empty layer group (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")")}),void(e.layerStatus="error");if(e.layerStatus="processing",t.metadata){var o;if(Array.isArray(null===(n=t.metadata)||void 0===n?void 0:n.listOfLayerEntryConfig))return(0,A.KX)(null===(o=t.metadata)||void 0===o?void 0:o.listOfLayerEntryConfig).find((function(t){return t.layerId===e.layerId}))?void 0:(t.layerLoadError.push({layer:r,loggerMessage:"XYZ layer not found (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")")}),void(e.layerStatus="error"));throw new Error("Invalid GeoJSON metadata (listOfLayerEntryConfig) prevent loading of layer (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")"))}}))}},{key:"processOneLayerEntry",value:(n=(0,r.A)(d().mark((function e(n){var r,o,i,a,c,u,g,m,y,v,b,A,C,E,k,T,_;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,s.A)((0,l.A)(t.prototype),"processOneLayerEntry",this).call(this,n);case 2:if(n instanceof x.m){e.next=4;break}throw new Error("Invalid layer configuration type provided");case 4:return r={url:(0,w.getLocalizedValue)(n.source.dataAccessPath,S.K.getDisplayLanguage(this.mapId))},n.source.crossOrigin?r.crossOrigin=n.source.crossOrigin:r.crossOrigin="Anonymous",n.source.projection&&(r.projection="EPSG:".concat(n.source.projection)),n.source.tileGrid&&(m={origin:null===(o=n.source.tileGrid)||void 0===o?void 0:o.origin,resolutions:null===(i=n.source.tileGrid)||void 0===i?void 0:i.resolutions},null!==(a=n.source.tileGrid)&&void 0!==a&&a.tileSize&&(m.tileSize=null===(c=n.source.tileGrid)||void 0===c?void 0:c.tileSize),null!==(u=n.source.tileGrid)&&void 0!==u&&u.extent&&(m.extent=null===(g=n.source.tileGrid)||void 0===g?void 0:g.extent),r.tileGrid=new f.A(m)),y=new p.A(r),(v=this.emitLayerRequesting({config:n,source:y})).length>0&&(b=v[0]),b||(_={source:y},void 0!==(null===(A=n.initialSettings)||void 0===A?void 0:A.className)&&(_.className=n.initialSettings.className),void 0!==(null===(C=n.initialSettings)||void 0===C?void 0:C.extent)&&(_.extent=n.initialSettings.extent),void 0!==(null===(E=n.initialSettings)||void 0===E?void 0:E.maxZoom)&&(_.maxZoom=n.initialSettings.maxZoom),void 0!==(null===(k=n.initialSettings)||void 0===k?void 0:k.minZoom)&&(_.minZoom=n.initialSettings.minZoom),void 0!==(null===(T=n.initialSettings)||void 0===T||null===(T=T.states)||void 0===T?void 0:T.opacity)&&(_.opacity=n.initialSettings.states.opacity),b=new h.A(_),this.setLayerAndLoadEndListeners(n,b,"tile")),this.emitLayerCreation({config:n,layer:b}),e.abrupt("return",Promise.resolve(b));case 14:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"processLayerMetadata",value:function(e){if(!(e instanceof x.m))throw new Error("Invalid layer configuration type provided");if(this.metadata){var t,n,r=(0,A.KX)(null===(t=this.metadata)||void 0===t?void 0:t.listOfLayerEntryConfig).find((function(t){return t.layerId===e.layerId}));this.setLayerMetadata(e.layerPath,(0,A.NK)(r)),e.source=m()(e.source,r.source),e.initialSettings=m()(e.initialSettings,r.initialSettings),null!==(n=e.initialSettings)&&void 0!==n&&n.extent&&(e.initialSettings.extent=this.getMapViewer().convertExtentLngLatToMapProj(e.initialSettings.extent))}return Promise.resolve(e)}},{key:"getBounds",value:function(e){var t,n=this.getOLLayer(e),r=this.getSourceProjection(e),o=null==n||null===(t=n.getSource())||void 0===t||null===(t=t.getTileGrid())||void 0===t?void 0:t.getExtent();return o&&(o=this.getMapViewer().convertExtentFromProjToMapProj(o,r)),o}}]);var n}(v.A)},37682:(e,t,n)=>{"use strict";n.d(t,{W:()=>ne});var r=n(32031),o=n(74780),i=n(80180),a=n(59682),s=n(41108),l=n(95947),c=n(71104),u=n(89153),d=n(79778),h=n(64417),p=n.n(h),f=n(20662),g=n(83605),m=n(20687),y=n(70945),v=n(75079),b=n(41320),w=n(69473),A=n(39124),x=n(37565),S=n(25914),C=n(10840),E=n(4668),k=n(41218);class T extends y.A{constructor(e){super(e),this.vectorRenderer_=new v.A(e),this.layerImageRatio_=e.getImageRatio(),this.coordinateToVectorPixelTransform_=(0,C.vt)(),this.renderedPixelToCoordinateTransform_=null}disposeInternal(){this.vectorRenderer_.dispose(),super.disposeInternal()}getFeatures(e){if(!this.vectorRenderer_)return Promise.resolve([]);const t=(0,C.Bb)(this.coordinateToVectorPixelTransform_,(0,C.Bb)(this.renderedPixelToCoordinateTransform_,e.slice()));return this.vectorRenderer_.getFeatures(t)}handleFontsChanged(){this.vectorRenderer_.handleFontsChanged()}prepareFrame(e){const t=e.pixelRatio,n=e.viewState,r=n.resolution,o=e.viewHints,i=this.vectorRenderer_;let a=e.extent;1!==this.layerImageRatio_&&(a=a.slice(0),(0,k.scaleFromCenter)(a,this.layerImageRatio_));const s=(0,k.getWidth)(a)/r,l=(0,k.getHeight)(a)/r;if(!o[S.A.ANIMATING]&&!o[S.A.INTERACTING]&&!(0,k.isEmpty)(a)){i.useContainer(null,null);const o=i.context,c=e.layerStatesArray[e.layerIndex],u=Object.assign({},c,{opacity:1}),d=Object.assign({},e,{extent:a,size:[s,l],viewState:Object.assign({},e.viewState,{rotation:0}),layerStatesArray:[u],layerIndex:0,declutter:null}),h=this.getLayer().getDeclutter();h&&(d.declutter={[h]:new x(9)});let p=!0;const f=new w.A(a,r,t,o.canvas,(function(e){i.prepareFrame(d)&&i.replayGroupChanged&&(i.clipping=!1,i.renderFrame(d,null)&&(i.renderDeclutter(d),i.renderDeferred(d),p=!1),e())}));f.addEventListener(b.A.CHANGE,(()=>{if(f.getState()!==A.A.LOADED)return;this.image_=p?null:f;const e=f.getPixelRatio(),r=(0,E.m)(f.getResolution())*t/e;this.renderedResolution=r,this.coordinateToVectorPixelTransform_=(0,C.Zz)(this.coordinateToVectorPixelTransform_,s/2,l/2,1/r,-1/r,0,-n.center[0],-n.center[1])})),f.load()}return this.image_&&(this.renderedPixelToCoordinateTransform_=e.pixelToCoordinateTransform.slice()),!!this.image_}preRender(){}postRender(){}renderDeclutter(){}forEachFeatureAtCoordinate(e,t,n,r,o){return this.vectorRenderer_?this.vectorRenderer_.forEachFeatureAtCoordinate(e,t,n,r,o):super.forEachFeatureAtCoordinate(e,t,n,r,o)}}const _=T;class O extends m.A{constructor(e){e=e||{};const t=Object.assign({},e);delete t.imageRatio,super(t),this.imageRatio_=void 0!==e.imageRatio?e.imageRatio:1}getImageRatio(){return this.imageRatio_}createRenderer(){return new _(this)}}const P=O;var I=n(98949),M=n(62767),L=n(10599),R=n(37450),j=n(42982),F=n(99937),D=n(69250),N=(n(81556),n(66700)),z=n(85783),B=n(67475),V=n(80309),$=n(86266),G=n(49567),U=n(12923),W=n(91384);function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function H(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getAttributions().length>0&&(a.attributions=this.getAttributions()),a.strategy="bbox"===e.source.strategy?I.Qk:I.Q7,a.loader=function(a,l,c,u,d){var h,f,g=n.getUrl();"function"==typeof g&&(g=g(a,l,c));var m=new XMLHttpRequest;if(null!==(h=e.source)&&void 0!==h&&h.postSettings){var y=e.source.postSettings;m.open("POST",g),y.header&&Object.keys(y.header).forEach((function(e){m.setRequestHeader(e,y.header[e])}))}else m.open("GET",g);var v=function(){n.removeLoadedExtent(a),d&&d()};m.onerror=v,m.onload=(0,i.A)(p().mark((function i(){var l,d,h,f,y,b,w,A,x,S,C,E;return p().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(200!==m.status){i.next=17;break}if(e.schemaTag!==R.y6.CSV){i.next=5;break}l=t.convertCsv(o.mapId,m.responseText,e),i.next=11;break;case 5:if(l=n.getFormat().readFeatures(m.responseText,H(H({},s),{},{featureProjection:c,extent:a})),-1!==m.responseText.search("0&&(f=l[0],y=Object.keys(f.getProperties()),b=Object.values(f.getProperties()),ae.call(t,y,b,ee,e)),null!==(h=e.source)&&void 0!==h&&null!==(h=h.featureInfo)&&void 0!==h&&h.queryable&&(A=e.source.featureInfo,x=null===(w=A.fieldTypes)||void 0===w?void 0:w.split(","),S=(0,j.getLocalizedValue)(A.outfields,V.K.getDisplayLanguage(o.mapId)).split(","),null!=(C=null==x?void 0:x.reduce((function(e,t,n){return"date"===t&&e.push(S[n]),e}),[]))&&C.length&&l.forEach((function(e){C.forEach((function(t){var n=e.get(t);if("number"==typeof n){var r=F.P.convertMilisecondsToDate(n);r=F.P.applyInputDateFormat(r,o.serverDateFragmentsOrder),e.set(t,F.P.convertToMilliseconds(r),!0)}else o.serverDateFragmentsOrder||(o.serverDateFragmentsOrder=F.P.getDateFragmentsOrder(F.P.deduceDateFormat(n))),n=F.P.applyInputDateFormat(n,o.serverDateFragmentsOrder),e.set(t,F.P.convertToMilliseconds(n),!0)}))}))),n.addFeatures(l)),u&&u(l),null==(E=o.getOLLayer(e.layerPath))||E.changed(),i.next=18;break;case 17:v();case 18:case"end":return i.stop()}}),i)}))),m.send(JSON.stringify(null===(f=e.source.postSettings)||void 0===f?void 0:f.data))},n=new g.A(a)}},{key:"createVectorLayer",value:function(e,t){var n,r=this,o=V.K.getDisplayLanguage(this.mapId),i=(0,j.getLocalizedValue)(e.layerName,o)||e.layerId,a=this.emitLayerRequesting({config:e,source:t});if(a.length>0&&(n=a[0]),!n){var s,l,c,u,d={properties:{layerConfig:e},source:t,style:function(t){return G.p.calculateStyleForFeature(r,t,i,e.layerPath,e.filterEquation,e.legendFilterIsOff)}};void 0!==(null===(s=e.initialSettings)||void 0===s?void 0:s.extent)&&(d.extent=e.initialSettings.extent),void 0!==(null===(l=e.initialSettings)||void 0===l?void 0:l.maxZoom)&&(d.maxZoom=e.initialSettings.maxZoom),void 0!==(null===(c=e.initialSettings)||void 0===c?void 0:c.minZoom)&&(d.minZoom=e.initialSettings.minZoom),void 0!==(null===(u=e.initialSettings)||void 0===u||null===(u=u.states)||void 0===u?void 0:u.opacity)&&(d.opacity=e.initialSettings.states.opacity),n=new P(d),this.setLayerAndLoadEndListeners(e,n,"features")}return this.emitLayerCreation({config:e,layer:n}),n}},{key:"getAllFeatureInfo",value:(n=(0,i.A)(p().mark((function e(t){var n,r,o,i;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=this.getLayerConfig(t),r=this.getOLLayer(t),o=r.getSource().getFeatures(),e.next=6,this.formatFeatureInfoResult(o,n);case 6:return i=e.sent,e.abrupt("return",i);case 10:return e.prev=10,e.t0=e.catch(0),N.vF.logError("abstract-geoview-vector.getAllFeatureInfo()\n",e.t0),e.abrupt("return",null);case 14:case"end":return e.stop()}}),e,this,[[0,10]])}))),function(e){return n.apply(this,arguments)})},{key:"getFeatureInfoAtPixel",value:function(e,t){try{var n,r=null===(n=this.getOLLayer(t))||void 0===n?void 0:n.get("source"),o=this.getMapViewer().map.getFeaturesAtPixel(e,{hitTolerance:this.hitTolerance,layerFilter:function(e){var t=e.get("source");return r&&t&&r===t}});return this.formatFeatureInfoResult(o,this.getLayerConfig(t))}catch(e){return N.vF.logError("abstract-geoview-vector.getFeatureInfoAtPixel()\n",e),Promise.resolve(null)}}},{key:"getFeatureInfoAtCoordinate",value:function(e,t){return this.getFeatureInfoAtPixel(this.getMapViewer().map.getPixelFromCoordinate(e),t)}},{key:"getFeatureInfoAtLongLat",value:function(e,t){var n=this.getMapViewer().convertCoordinateLngLatToMapProj(e);return this.getFeatureInfoAtPixel(this.getMapViewer().map.getPixelFromCoordinate(n),t)}},{key:"getBounds",value:function(e){var t,n=this.getOLLayer(e);return null==n||null===(t=n.getSource())||void 0===t?void 0:t.getExtent()}},{key:"onLoaded",value:function(e){(0,c.A)((0,u.A)(t.prototype),"onLoaded",this).call(this,e),this.applyViewFilter(e.layerPath,e.layerFilter||"")}},{key:"applyViewFilter",value:function(e,t){var n,o=this,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];N.vF.logTraceCore("ABSTRACT-GEOVIEW-VECTOR - applyViewFilter",e);var a=this.getLayerConfig(e),s=this.getOLLayer(e),l=t.replaceAll(/\s{2,}/g," ").trim();a.legendFilterIsOff=!i,i&&(a.layerFilter=t);var c=(0,r.A)("".concat(null===(n=l)||void 0===n?void 0:n.replaceAll(/\s{2,}/g," ").trim()," ").matchAll(/(?<=^date\b\s')[\d/\-T\s:+Z]{4,25}(?=')|(?<=[(\s]date\b\s')[\d/\-T\s:+Z]{4,25}(?=')/gi));c.reverse(),c.forEach((function(e){var t=![20,25].includes(e[0].length),n=F.P.applyInputDateFormat(e[0],o.externalFragmentsOrder,t);l="".concat(l.slice(0,e.index)).concat(n).concat(l.slice(e.index+e[0].length))}));try{var u=(0,$.WN)([{nodeType:D.Z6.unprocessedNode,nodeValue:l}]);a.filterEquation=u}catch(t){throw new Error("Invalid vector layer filter (".concat(t.message,").\nfilter = ").concat(this.getLayerFilter(e),"\ninternal filter = ").concat(l))}null==s||s.changed(),this.emitLayerFilterApplied({layerPath:e,filter:l})}}],[{key:"convertCsv",value:function(e,n,r){for(var o,i,a=r.source.dataProjection||W.M.PROJECTION_NAMES.LNGLAT,s=U.d.getMapViewer(e).getProjection().getCode(),l=[],c=ie.call(t,n,r.source.separator||","),u=c[0],d=0;d{"use strict";n.d(t,{WW:()=>b,fK:()=>w,pf:()=>A});var r=n(59682),o=n(41108),i=n(95947),a=n(71104),s=n(89153),l=n(79778),c=n(45917),u=n(28514),d=n(37450),h=n(37682),p=n(55231),f=n(42982),g=n(85783),m=n(80309);function y(e,t,n){return t=(0,s.A)(t),(0,i.A)(e,v()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(v=function(){return!!e})()}var b=function(e){return(null==e?void 0:e.geoviewLayerType)===d.y6.CSV},w=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===d.y6.CSV},A=function(e){function t(e,n){return(0,r.A)(this,t),y(this,t,[d.y6.CSV,n,e])}return(0,l.A)(t,e),(0,o.A)(t,[{key:"fetchServiceMetadata",value:function(){return Promise.resolve()}},{key:"validateListOfLayerEntryConfig",value:function(e){var t=this;e.forEach((function(e){var n=e.layerPath;if((0,p.KD)(e))return t.validateListOfLayerEntryConfig(e.listOfLayerEntryConfig),void(e.listOfLayerEntryConfig.length||(t.layerLoadError.push({layer:n,loggerMessage:"Empty layer group (mapId: ".concat(t.mapId,", layerPath: ").concat(n,")")}),e.layerStatus="error"));if(t.metadata)throw new Error("Invalid CSV metadata (listOfLayerEntryConfig) prevent loading of layer (mapId: ".concat(t.mapId,", layerPath: ").concat(n,")"))}))}},{key:"processLayerMetadata",value:function(e){if(!(e instanceof g.T))throw new Error("Invalid layer configuration type provided");return this.setLayerMetadata(e.layerPath,(0,u.K)(e)),Promise.resolve(e)}},{key:"createVectorSource",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r.dataProjection=e.source.dataProjection,n.url=(0,f.getLocalizedValue)(e.source.dataAccessPath,m.K.getDisplayLanguage(this.mapId)),n.format=new c.A,(0,a.A)((0,s.A)(t.prototype),"createVectorSource",this).call(this,e,n,r)}}])}(h.W)},77284:(e,t,n)=>{"use strict";n.d(t,{$f:()=>v,SP:()=>b,Uw:()=>w});var r=n(59682),o=n(41108),i=n(95947),a=n(71104),s=n(89153),l=n(79778),c=n(987),u=n(42982),d=n(37682),h=n(92023),p=n(37450),f=n(96295),g=n(80309);function m(e,t,n){return t=(0,s.A)(t),(0,i.A)(e,y()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function(){return!!e})()}var v=function(e){return(null==e?void 0:e.geoviewLayerType)===p.y6.ESRI_FEATURE},b=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===p.y6.ESRI_FEATURE},w=function(e){function t(e,n){return(0,r.A)(this,t),m(this,t,[p.y6.ESRI_FEATURE,n,e])}return(0,l.A)(t,e),(0,o.A)(t,[{key:"fetchServiceMetadata",value:function(){return(0,f.mF)(this)}},{key:"validateListOfLayerEntryConfig",value:function(e){(0,f.Sh)(this,e)}},{key:"esriChildHasDetectedAnError",value:function(e,t){return"Feature Layer"!==this.metadata.layers[t].type&&(this.layerLoadError.push({layer:e.layerPath,loggerMessage:"LayerId ".concat(e.layerPath," of map ").concat(this.mapId," is not a feature layer")}),!0)}},{key:"getFieldType",value:function(e,t){return(0,f.KS)(this,e,t)}},{key:"getFieldDomain",value:function(e,t){return(0,f.YX)(this,e,t)}},{key:"processTemporalDimension",value:function(e,t){(0,f.RW)(this,e,t)}},{key:"processFeatureInfoConfig",value:function(e){(0,f.$A)(this,e)}},{key:"processInitialSettings",value:function(e){(0,f.gm)(this,e)}},{key:"processLayerMetadata",value:function(e){if(!(e instanceof h.h))throw new Error("Invalid layer configuration type provided");return(0,f.Nf)(this,e)}},{key:"createVectorSource",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.url=(0,u.getLocalizedValue)(e.source.dataAccessPath,g.K.getDisplayLanguage(this.mapId)),n.url="".concat(n.url,"/").concat(e.layerId,"/query?f=json&outfields=*&where=1%3D1"),n.format=new c.A,(0,a.A)((0,s.A)(t.prototype),"createVectorSource",this).call(this,e,n,r)}}])}(d.W)},57739:(e,t,n)=>{"use strict";n.d(t,{eq:()=>C,kx:()=>E,vM:()=>S});var r=n(74780),o=n(59682),i=n(41108),a=n(95947),s=n(71104),l=n(89153),c=n(79778),u=n(45917),d=n(79950),h=n.n(d),p=n(37450),f=n(37682),g=n(55231),m=n(67475),y=n(42982),v=n(85783),b=n(80309);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,x()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function x(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(x=function(){return!!e})()}var S=function(e){return(null==e?void 0:e.geoviewLayerType)===p.y6.GEOJSON},C=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===p.y6.GEOJSON},E=function(e){function t(e,n){return(0,o.A)(this,t),A(this,t,[p.y6.GEOJSON,n,e])}return(0,c.A)(t,e),(0,i.A)(t,[{key:"validateListOfLayerEntryConfig",value:function(e){var t=this;e.forEach((function(e){var n,r=e.layerPath;if((0,g.KD)(e))return t.validateListOfLayerEntryConfig(e.listOfLayerEntryConfig),void(e.listOfLayerEntryConfig.length||(t.layerLoadError.push({layer:r,loggerMessage:"Empty layer group (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")")}),e.layerStatus="error"));if(e.layerStatus="processing",t.metadata){var o;if(Array.isArray(null===(n=t.metadata)||void 0===n?void 0:n.listOfLayerEntryConfig))return(0,m.KX)(null===(o=t.metadata)||void 0===o?void 0:o.listOfLayerEntryConfig).find((function(t){return t.layerId===e.layerId&&t.layerIdExtension===e.layerIdExtension}))?void 0:(t.layerLoadError.push({layer:r,loggerMessage:"GeoJSON layer not found (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")")}),void(e.layerStatus="error"));throw new Error("Invalid GeoJSON metadata (listOfLayerEntryConfig) prevent loading of layer (mapId: ".concat(t.mapId,", layerPath: ").concat(r,")"))}}))}},{key:"processLayerMetadata",value:function(e){if(!(e instanceof v.T))throw new Error("Invalid layer configuration type provided");if(this.metadata){var t,n,o=(0,m.KX)(null===(t=this.metadata)||void 0===t?void 0:t.listOfLayerEntryConfig).find((function(t){return t.layerId===e.layerId&&t.layerIdExtension===e.layerIdExtension}));if(o){var i;e.layerName=e.layerName||o.layerName,e.source=h()(e.source,o.source),e.initialSettings=h()(e.initialSettings,o.initialSettings),e.style=h()(e.style,o.style);var a,s,l=(0,y.getLocalizedValue)(null===(i=e.geoviewLayerConfig)||void 0===i?void 0:i.metadataAccessPath,b.K.getDisplayLanguage(this.mapId));if(l)l=l.split("/").length>1?l.split("/").slice(0,-1).join("/"):"./","".concat(l,"/").concat(e.layerId)===(0,y.getLocalizedValue)(null===(a=e.source)||void 0===a?void 0:a.dataAccessPath,b.K.getDisplayLanguage(this.mapId))&&(0,y.getLocalizedValue)(null===(s=o.source)||void 0===s?void 0:s.dataAccessPath,b.K.getDisplayLanguage(this.mapId))&&(e.source.dataAccessPath=function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r.dataProjection=e.source.dataProjection,n.url=(0,y.getLocalizedValue)(e.source.dataAccessPath,b.K.getDisplayLanguage(this.mapId)),n.format=new u.A,(0,s.A)((0,l.A)(t.prototype),"createVectorSource",this).call(this,e,n,r)}}])}(f.W)},78673:(e,t,n)=>{"use strict";n.d(t,{OH:()=>ie,wm:()=>oe,P0:()=>re});var r=n(74887),o=n(80180),i=n(74780),a=n(1839),s=n(59682),l=n(41108),c=n(95947),u=n(71104),d=n(89153),h=n(79778),p=n(64417),f=n.n(p),g=n(20662),m=n(42024),y=n(31997),v=n(24438),b=n(67087),w=n(4180),A=n(1660),x=n(62767),S=n(17567),C=n(34336),E=n(6819);const k=1,T=2,_=3,O=4,P=5,I=6,M=7,L=15,R=16,j=17;class F{constructor(e){this.view_=e,this.pos_=0,this.initialized_=!1,this.isLittleEndian_=!1,this.hasZ_=!1,this.hasM_=!1,this.srid_=null,this.layout_="XY"}readUint8(){return this.view_.getUint8(this.pos_++)}readUint32(e){return this.view_.getUint32((this.pos_+=4)-4,void 0!==e?e:this.isLittleEndian_)}readDouble(e){return this.view_.getFloat64((this.pos_+=8)-8,void 0!==e?e:this.isLittleEndian_)}readPoint(){const e=[];return e.push(this.readDouble()),e.push(this.readDouble()),this.hasZ_&&e.push(this.readDouble()),this.hasM_&&e.push(this.readDouble()),e}readLineString(){const e=this.readUint32(),t=[];for(let n=0;n0,n=this.readUint32(t),r=Math.floor((268435455&n)/1e3),o=Boolean(2147483648&n)||1===r||3===r,i=Boolean(1073741824&n)||2===r||3===r,a=Boolean(536870912&n),s=(268435455&n)%1e3,l=["XY",o?"Z":"",i?"M":""].join(""),c=a?this.readUint32(t):null;if(void 0!==e&&e!==s)throw new Error("Unexpected WKB geometry type "+s);if(this.initialized_){if(this.isLittleEndian_!==t)throw new Error("Inconsistent endian");if(this.layout_!==l)throw new Error("Inconsistent geometry layout");if(c&&this.srid_!==c)throw new Error("Inconsistent coordinate system (SRID)")}else this.isLittleEndian_=t,this.hasZ_=o,this.hasM_=i,this.layout_=l,this.srid_=c,this.initialized_=!0;return s}readWkbPayload(e){switch(e){case k:return this.readPoint();case T:return this.readLineString();case _:case j:return this.readPolygon();case O:return this.readMultiPoint();case P:return this.readMultiLineString();case I:case L:case R:return this.readMultiPolygon();case M:return this.readGeometryCollection();default:throw new Error("Unsupported WKB geometry type "+e+" is found")}}readWkbBlock(e){return this.readWkbPayload(this.readWkbHeader(e))}readWkbCollection(e,t){const n=this.readUint32(),r=[];for(let o=0;o({[t]:e[n]}))));for(const e of this.layout_)this.writeDouble(e in n?n[e]:this.nodata_[e])}writeLineString(e,t){this.writeUint32(e.length);for(let n=0;ne+t[0]),0),t=new ArrayBuffer(e),n=new DataView(t);let r=0;return this.writeQueue_.forEach((e=>{switch(e[0]){case 1:n.setUint8(r,e[1]);break;case 4:n.setUint32(r,e[1],this.isLittleEndian_);break;case 8:n.setFloat64(r,e[1],this.isLittleEndian_)}r+=e[0]})),t}}class N extends m.Ay{constructor(e){super(),e=e||{},this.splitCollection=Boolean(e.splitCollection),this.viewCache_=null,this.hex_=!1!==e.hex,this.littleEndian_=!1!==e.littleEndian,this.ewkb_=!1!==e.ewkb,this.layout_=e.geometryLayout,this.nodataZ_=e.nodataZ||0,this.nodataM_=e.nodataM||0,this.srid_=e.srid}getType(){return this.hex_?"text":"arraybuffer"}readFeature(e,t){return new g.A({geometry:this.readGeometry(e,t)})}readFeatures(e,t){let n=[];const r=this.readGeometry(e,t);return n=this.splitCollection&&r instanceof y.A?r.getGeometriesArray():[r],n.map((e=>new g.A({geometry:e})))}readGeometry(e,t){const n=z(e);if(!n)return null;const r=new F(n).readGeometry();return this.viewCache_=n,t=this.getReadOptions(e,t),this.viewCache_=null,(0,m.hX)(r,!1,t)}readProjection(e){const t=this.viewCache_||z(e);if(!t)return;const n=new F(t);return n.readWkbHeader(),n.getSrid()&&(0,C.Jt)("EPSG:"+n.getSrid())||void 0}writeFeature(e,t){return this.writeGeometry(e.getGeometry(),t)}writeFeatures(e,t){return this.writeGeometry(new y.A(e.map((e=>e.getGeometry()))),t)}writeGeometry(e,t){t=this.adaptOptions(t);const n=new D({layout:this.layout_,littleEndian:this.littleEndian_,ewkb:this.ewkb_,nodata:{Z:this.nodataZ_,M:this.nodataM_}});let r=Number.isInteger(this.srid_)?Number(this.srid_):null;if(!1!==this.srid_&&!Number.isInteger(this.srid_)){const e=t.dataProjection&&(0,C.Jt)(t.dataProjection);if(e){const t=e.getCode();t.startsWith("EPSG:")&&(r=Number(t.substring(5)))}}n.writeGeometry((0,m.hX)(e,!0,t),r);const o=n.getBuffer();return this.hex_?function(e){const t=new Uint8Array(e);return Array.from(t.values()).map((e=>(e<16?"0":"")+Number(e).toString(16).toUpperCase())).join("")}(o):o}}function z(e){return"string"==typeof e?function(e){const t=new Uint8Array(e.length/2);for(let n=0;n1?(t||(t=n.createLayerGroup(e[0].parentLayerConfig,e[0].initialSettings)),e.forEach((function(o){if((0,Y.KD)(o)){var i=n.createLayerGroup(o,o.initialSettings);n.processListOfLayerEntryConfig(o.listOfLayerEntryConfig,i).then((function(i){i?t.getLayers().push(i):(n.layerLoadError.push({layer:e[0].layerPath,loggerMessage:"Unable to create group layer ".concat(o.layerPath," on map ").concat(n.mapId)}),r(void 0))})).catch((function(e){J.vF.logPromiseFailed("processListOfLayerEntryConfig (2) in processListOfLayerEntryConfig in GeoPackage",e)}))}else n.processOneLayerEntry(o).then((function(r){r?(t.getLayers().push(r),o.layerStatus="processed"):(n.layerLoadError.push({layer:e[0].layerPath,loggerMessage:"Unable to create layer ".concat(o.layerPath," on map ").concat(n.mapId)}),o.layerStatus="error")})).catch((function(e){J.vF.logPromiseFailed("processListOfLayerEntryConfig (3) in processListOfLayerEntryConfig in GeoPackage",e)}))})),t&&r(t)):n.processOneLayerEntry(e[0],t).then((function(t){t?(e[0].layerStatus="processed",r(t)):(n.layerLoadError.push({layer:e[0].layerPath,loggerMessage:"Unable to create layer ".concat(e[0].layerPath," on map ").concat(n.mapId)}),e[0].layerStatus="error")})).catch((function(e){J.vF.logPromiseFailed("processListOfLayerEntryConfig (4) in processListOfLayerEntryConfig in GeoPackage",e)}))}))}},{key:"extractGeopackageData",value:function(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise((function(i){var s=(0,Z.getLocalizedValue)(e.source.dataAccessPath,K.K.getDisplayLanguage(n.mapId)),l=n.getAttributions();l.length>0&&(r.attributions=l);var c=[],u={},d=new XMLHttpRequest;d.responseType="arraybuffer",G()({locateFile:function(e){return"https://sql.js.org/dist/".concat(e)}}).then((function(e){d.open("GET",s),d.onload=function(){if(200===d.status){for(var s=new e.Database(new Uint8Array(d.response)),l=[],h=s.prepare("\n SELECT gpkg_contents.table_name, gpkg_contents.srs_id,\n gpkg_geometry_columns.column_name\n FROM gpkg_contents JOIN gpkg_geometry_columns\n WHERE gpkg_contents.data_type='features' AND\n gpkg_contents.table_name=gpkg_geometry_columns.table_name;\n ");h.step();){var p,f=h.get();l.unshift({table_name:f[0],srs_id:null===(p=f[1])||void 0===p?void 0:p.toString(),geometry_column_name:f[2]})}if((h=s.prepare("\n SELECT gpkg_contents.table_name\n FROM gpkg_contents\n WHERE gpkg_contents.table_name='layer_styles'\n ")).step())for(h=s.prepare("SELECT f_table_name, styleSLD FROM layer_styles");h.step();){var g=h.get();if(g[1]){var m=(0,a.A)(g,2);u[g[0]]=m[1]}}for(var y=new B,v=function(){var e,i=l[b],a=i.table_name,u="EPSG:".concat(i.srs_id),d=i.geometry_column_name,p=[];for(h=s.prepare("SELECT * FROM '".concat(a,"'"));h.step();){var f=(e=h.getAsObject())[d];delete e[d];var g=t.parseGpkgGeom(f),m=y.readFeatures(g,ee(ee({},o),{},{dataProjection:u,featureProjection:n.getMapViewer().getProjection().getCode()}));m[0].setProperties(e),p.push(m[0])}var v=new V.A(ee(ee({},r),{},{loader:function(e,t,n,r,o){void 0!==p?(v.addFeatures(p),r(p)):o()}}));c.push({name:a,source:v,properties:e})},b=0;b>1&7){case 0:t=0;break;case 1:t=32;break;case 2:case 3:t=48;break;case 4:t=64;break;default:throw new Error("Invalid geometry envelope size flag in GeoPackage")}return e.subarray(t+8)}}]);var n}(H.W);function ae(e,t){var n,o;if(t.source||(t.source={}),t.source.featureInfo||(t.source.featureInfo={queryable:!0}),null===(n=t.source.featureInfo.outfields)||void 0===n||!n.en||null===(o=t.source.featureInfo.aliasFields)||void 0===o||!o.en){var i,a,s,l,c,u,d,h=!(null!==(i=t.source.featureInfo.outfields)&&void 0!==i&&i.en),p=!(null!==(a=t.source.featureInfo.aliasFields)&&void 0!==a&&a.en);h&&(t.source.featureInfo.outfields={en:""},t.source.featureInfo.fieldTypes=""),p&&(t.source.featureInfo.aliasFields={en:""}),Object.keys(e).forEach((function(n){if(e[n]&&"Geometry"!==e[n].type){if(h){t.source.featureInfo.outfields.en="".concat(t.source.featureInfo.outfields.en).concat(n,",");var o="string";"date"===e[n].type?o="date":["bigint","number"].includes((0,r.A)(e[n]))&&(o="number"),t.source.featureInfo.fieldTypes="".concat(t.source.featureInfo.fieldTypes).concat(o,",")}t.source.featureInfo.aliasFields.en="".concat(t.source.featureInfo.aliasFields.en).concat(n,",")}})),t.source.featureInfo.outfields.en=null===(s=t.source.featureInfo.outfields)||void 0===s||null===(s=s.en)||void 0===s?void 0:s.slice(0,-1),t.source.featureInfo.fieldTypes=null===(l=t.source.featureInfo.fieldTypes)||void 0===l?void 0:l.slice(0,-1),t.source.featureInfo.aliasFields.en=null===(c=t.source.featureInfo.aliasFields)||void 0===c||null===(c=c.en)||void 0===c?void 0:c.slice(0,-1),t.source.featureInfo.outfields.fr=null===(u=t.source.featureInfo.outfields)||void 0===u?void 0:u.en,t.source.featureInfo.aliasFields.fr=null===(d=t.source.featureInfo.aliasFields)||void 0===d?void 0:d.en}if(!t.source.featureInfo.nameField){var f,g,m=(null===(f=t.source.featureInfo.outfields.en)||void 0===f?void 0:f.split(",")[0])||(null===(g=t.source.featureInfo.outfields.fr)||void 0===g?void 0:g.split(",")[0]),y=m;m&&(t.source.featureInfo.nameField={en:m,fr:y})}}},15268:(e,t,n)=>{"use strict";n.d(t,{UU:()=>E,dr:()=>C,ke:()=>k});var r=n(80180),o=n(59682),i=n(41108),a=n(95947),s=n(71104),l=n(89153),c=n(79778),u=n(64417),d=n.n(u),h=n(95841),p=n(45917),f=n(37450),g=n(37682),m=n(55231),y=n(91384),v=n(66700),b=n(85783),w=n(42982),A=n(80309);function x(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,S()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(S=function(){return!!e})()}var C=function(e){return(null==e?void 0:e.geoviewLayerType)===f.y6.OGC_FEATURE},E=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===f.y6.OGC_FEATURE},k=function(e){function t(e,n){return(0,o.A)(this,t),x(this,t,[f.y6.OGC_FEATURE,n,e])}return(0,c.A)(t,e),(0,i.A)(t,[{key:"getFieldType",value:function(e,t){var n=this.getLayerMetadata(t.layerPath)[e].type.split(":").slice(-1)[0];return"date"===n?"date":["int","number"].includes(n)?"number":"string"}},{key:"fetchServiceMetadata",value:function(){var e=this;return new Promise((function(t){var n=(0,w.getLocalizedValue)(e.metadataAccessPath,A.K.getDisplayLanguage(e.mapId));if(n){var r=n.endsWith("/")?"".concat(n,"collections?f=json"):"".concat(n,"/collections?f=json");h.A.get(r).then((function(n){e.metadata=n.data,t()})).catch((function(n){e.setAllLayerStatusTo("error",e.listOfLayerEntryConfig,"Unable to read metadata"),v.vF.logError("Unable to fetch metadata",e.metadataAccessPath,n),t()}))}else e.setAllLayerStatusTo("error",e.listOfLayerEntryConfig,"Unable to read metadata")}))}},{key:"validateListOfLayerEntryConfig",value:function(e){var t=this;e.forEach((function(e){var n=e.layerPath;if((0,m.KD)(e)&&(t.validateListOfLayerEntryConfig(e.listOfLayerEntryConfig),!e.listOfLayerEntryConfig.length))return t.layerLoadError.push({layer:n,loggerMessage:"Empty layer group (mapId: ".concat(t.mapId,", layerPath: ").concat(n,")")}),void(e.layerStatus="error");if(e.layerStatus="processing",Array.isArray(t.metadata.collections)){var r,o,i,a,s=t.metadata.collections.find((function(t){return t.id===e.layerId}));return s?(s.description&&(e.layerName={en:s.description,fr:s.description}),null!==(r=e.initialSettings)&&void 0!==r&&r.extent&&(e.initialSettings.extent=t.getMapViewer().convertExtentLngLatToMapProj(e.initialSettings.extent)),void(null!==(o=e.initialSettings)&&void 0!==o&&o.bounds||null===(i=s.extent)||void 0===i||null===(i=i.spatial)||void 0===i||!i.bbox||null===(a=s.extent)||void 0===a||null===(a=a.spatial)||void 0===a||!a.crs||(e.initialSettings.bounds=t.getMapViewer().convertExtentFromProjToMapProj(s.extent.spatial.bbox[0],y.M.getProjection(s.extent.spatial.crs))))):(t.layerLoadError.push({layer:n,loggerMessage:"OGC feature layer not found (mapId: ".concat(t.mapId,", layerPath: ").concat(n,")")}),void(e.layerStatus="error"))}throw new Error("Invalid collection's metadata prevent loading of layer (mapId: ".concat(t.mapId,", layerPath: ").concat(n,")"))}))}},{key:"processLayerMetadata",value:(n=(0,r.A)(d().mark((function e(n){var r,o,i;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n instanceof b.T){e.next=2;break}throw new Error("Invalid layer configuration type provided");case 2:if(e.prev=2,!(r=(0,w.getLocalizedValue)(this.metadataAccessPath,A.K.getDisplayLanguage(this.mapId)))){e.next=10;break}return o=r.endsWith("/")?"".concat(r,"collections/").concat(n.layerId,"/queryables?f=json"):"".concat(r,"/collections/").concat(n.layerId,"/queryables?f=json"),e.next=8,h.A.get(o);case 8:(i=e.sent).data.properties&&(this.setLayerMetadata(n.layerPath,i.data.properties),T.call(t,i.data.properties,n));case 10:e.next=16;break;case 12:e.prev=12,e.t0=e.catch(2),v.vF.logError('Error processing layer metadata for layer path "'.concat(n.layerPath),e.t0),n.layerStatus="error";case 16:return e.abrupt("return",n);case 17:case"end":return e.stop()}}),e,this,[[2,12]])}))),function(e){return n.apply(this,arguments)})},{key:"createVectorSource",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r.dataProjection=e.source.dataProjection,n.url=(0,w.getLocalizedValue)(e.source.dataAccessPath,A.K.getDisplayLanguage(this.mapId)),n.url="".concat(n.url,"/collections/").concat(e.layerId,"/items?f=json"),n.format=new p.A,(0,s.A)((0,l.A)(t.prototype),"createVectorSource",this).call(this,e,n,r)}}]);var n}(g.W);function T(e,t){var n,r;if(t.source||(t.source={}),t.source.featureInfo||(t.source.featureInfo={queryable:!0}),null===(n=t.source.featureInfo.outfields)||void 0===n||!n.en||null===(r=t.source.featureInfo.aliasFields)||void 0===r||!r.en){var o,i,a,s,l,c,u,d=!(null!==(o=t.source.featureInfo.outfields)&&void 0!==o&&o.en),h=!(null!==(i=t.source.featureInfo.aliasFields)&&void 0!==i&&i.en);d&&(t.source.featureInfo.outfields={en:""},t.source.featureInfo.fieldTypes=""),h&&(t.source.featureInfo.aliasFields={en:""}),Object.keys(e).forEach((function(n){if("Geometry"!==e[n].type){var r;if(d)t.source.featureInfo.outfields.en="".concat(t.source.featureInfo.outfields.en).concat(n,","),r="date"===e[n].type?"date":["int","number"].includes(e[n].type)?"number":"string",t.source.featureInfo.fieldTypes="".concat(t.source.featureInfo.fieldTypes).concat(r,",");t.source.featureInfo.aliasFields.en="".concat(t.source.featureInfo.aliasFields.en).concat(n,",")}})),t.source.featureInfo.outfields.en=null===(a=t.source.featureInfo.outfields)||void 0===a||null===(a=a.en)||void 0===a?void 0:a.slice(0,-1),t.source.featureInfo.fieldTypes=null===(s=t.source.featureInfo.fieldTypes)||void 0===s?void 0:s.slice(0,-1),t.source.featureInfo.aliasFields.en=null===(l=t.source.featureInfo.aliasFields)||void 0===l||null===(l=l.en)||void 0===l?void 0:l.slice(0,-1),t.source.featureInfo.outfields.fr=null===(c=t.source.featureInfo.outfields)||void 0===c?void 0:c.en,t.source.featureInfo.aliasFields.fr=null===(u=t.source.featureInfo.aliasFields)||void 0===u?void 0:u.en}if(!t.source.featureInfo.nameField){var p,f,g=(null===(p=t.source.featureInfo.outfields.en)||void 0===p?void 0:p.split(",")[0])||(null===(f=t.source.featureInfo.outfields.fr)||void 0===f?void 0:f.split(",")[0]),m=g;g&&(t.source.featureInfo.nameField={en:g,fr:m})}}},34849:(e,t,n)=>{"use strict";n.d(t,{dS:()=>rt,Vk:()=>et,OV:()=>Qe});var r=n(80180),o=n(59682),i=n(41108),a=n(95947),s=n(71104),l=n(89153),c=n(79778),u=n(64417),d=n.n(u),h=n(20662),p=n(78853),f=n(24438),g=n(62650),m=n(67087),y=n(4180),v=n(1660),b=n(62767),w=n(17567),A=n(42024),x=n(94994),S=n(17217),C=n(98785);class E extends A.Ay{constructor(){super(),this.xmlSerializer_=(0,C.mc)()}getType(){return"xml"}readFeature(e,t){if(!e)return null;if("string"==typeof e){const n=(0,C.qg)(e);return this.readFeatureFromDocument(n,t)}return(0,C.wz)(e)?this.readFeatureFromDocument(e,t):this.readFeatureFromNode(e,t)}readFeatureFromDocument(e,t){const n=this.readFeaturesFromDocument(e,t);return n.length>0?n[0]:null}readFeatureFromNode(e,t){return null}readFeatures(e,t){if(!e)return[];if("string"==typeof e){const n=(0,C.qg)(e);return this.readFeaturesFromDocument(n,t)}return(0,C.wz)(e)?this.readFeaturesFromDocument(e,t):this.readFeaturesFromNode(e,t)}readFeaturesFromDocument(e,t){const n=[];for(let r=e.firstChild;r;r=r.nextSibling)r.nodeType==Node.ELEMENT_NODE&&(0,S.X$)(n,this.readFeaturesFromNode(r,t));return n}readFeaturesFromNode(e,t){return(0,x.b0)()}readGeometry(e,t){if(!e)return null;if("string"==typeof e){const n=(0,C.qg)(e);return this.readGeometryFromDocument(n,t)}return(0,C.wz)(e)?this.readGeometryFromDocument(e,t):this.readGeometryFromNode(e,t)}readGeometryFromDocument(e,t){return null}readGeometryFromNode(e,t){return null}readProjection(e){if(!e)return null;if("string"==typeof e){const t=(0,C.qg)(e);return this.readProjectionFromDocument(t)}return(0,C.wz)(e)?this.readProjectionFromDocument(e):this.readProjectionFromNode(e)}readProjectionFromDocument(e){return this.dataProjection}readProjectionFromNode(e){return this.dataProjection}writeFeature(e,t){const n=this.writeFeatureNode(e,t);return this.xmlSerializer_.serializeToString(n)}writeFeatureNode(e,t){return null}writeFeatures(e,t){const n=this.writeFeaturesNode(e,t);return this.xmlSerializer_.serializeToString(n)}writeFeaturesNode(e,t){return null}writeGeometry(e,t){const n=this.writeGeometryNode(e,t);return this.xmlSerializer_.serializeToString(n)}writeGeometryNode(e,t){return null}}const k=E;var T=n(34336);const _="http://www.opengis.net/gml",O=/^\s*$/;class P extends k{constructor(e){super(),e=e||{},this.featureType=e.featureType,this.featureNS=e.featureNS,this.srsName=e.srsName,this.schemaLocation="",this.FEATURE_COLLECTION_PARSERS={},this.FEATURE_COLLECTION_PARSERS[this.namespace]={featureMember:(0,C.VT)(this.readFeaturesInternal),featureMembers:(0,C.Tb)(this.readFeaturesInternal)},this.supportedMediaTypes=["application/gml+xml"]}readFeaturesInternal(e,t){const n=e.localName;let r=null;if("FeatureCollection"==n)r=(0,C.eY)([],this.FEATURE_COLLECTION_PARSERS,e,t,this);else if("featureMembers"==n||"featureMember"==n||"member"==n){const o=t[0];let i=o.featureType,a=o.featureNS;const s="p",l="p0";if(!i&&e.childNodes){i=[],a={};for(let t=0,n=e.childNodes.length;t0&&!(e instanceof p.A)){e={_content_:e};for(let t=0;t=2,"At least 2 conditions are required")}};const H=class extends q{constructor(e){super("And",Array.prototype.slice.call(arguments))}};const Y=class extends U{constructor(e,t,n){if(super("BBOX"),this.geometryName=e,this.extent=t,4!==t.length)throw new Error("Expected an extent with four values ([minX, minY, maxX, maxY])");this.srsName=n}};const K={"http://www.opengis.net/gml":{boundedBy:(0,C.kW)(I.prototype.readExtentElement,"bounds")},"http://www.opengis.net/wfs/2.0":{member:(0,C.VT)(I.prototype.readFeaturesInternal)}},X={"http://www.opengis.net/wfs":{totalInserted:(0,C.kW)(L.yg),totalUpdated:(0,C.kW)(L.yg),totalDeleted:(0,C.kW)(L.yg)},"http://www.opengis.net/wfs/2.0":{totalInserted:(0,C.kW)(L.yg),totalUpdated:(0,C.kW)(L.yg),totalDeleted:(0,C.kW)(L.yg)}},Z={"http://www.opengis.net/wfs":{TransactionSummary:(0,C.kW)(le,"transactionSummary"),InsertResults:(0,C.kW)(he,"insertIds")},"http://www.opengis.net/wfs/2.0":{TransactionSummary:(0,C.kW)(le,"transactionSummary"),InsertResults:(0,C.kW)(he,"insertIds")}},J={"http://www.opengis.net/wfs":{PropertyName:(0,C.mm)(L.uB)},"http://www.opengis.net/wfs/2.0":{PropertyName:(0,C.mm)(L.uB)}},Q={"http://www.opengis.net/wfs":{Insert:(0,C.mm)(pe),Update:(0,C.mm)(ye),Delete:(0,C.mm)(me),Property:(0,C.mm)(ve),Native:(0,C.mm)(be)},"http://www.opengis.net/wfs/2.0":{Insert:(0,C.mm)(pe),Update:(0,C.mm)(ye),Delete:(0,C.mm)(me),Property:(0,C.mm)(ve),Native:(0,C.mm)(be)}},ee="feature",te="http://www.w3.org/2000/xmlns/",ne={"2.0.0":"http://www.opengis.net/ogc/1.1","1.1.0":"http://www.opengis.net/ogc","1.0.0":"http://www.opengis.net/ogc"},re={"2.0.0":"http://www.opengis.net/wfs/2.0","1.1.0":"http://www.opengis.net/wfs","1.0.0":"http://www.opengis.net/wfs"},oe={"2.0.0":"http://www.opengis.net/fes/2.0","1.1.0":"http://www.opengis.net/fes","1.0.0":"http://www.opengis.net/fes"},ie={"2.0.0":"http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd","1.1.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd","1.0.0":"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/wfs.xsd"},ae={"2.0.0":G,"1.1.0":V,"1.0.0":D};function se(e,t,n,r){(0,C.NQ)(r,Q,(0,C.X1)(e),t,n)}function le(e,t){return(0,C.eY)({},X,e,t)}const ce={"http://www.opengis.net/ogc":{FeatureId:(0,C.VT)((function(e,t){return e.getAttribute("fid")}))},"http://www.opengis.net/ogc/1.1":{FeatureId:(0,C.VT)((function(e,t){return e.getAttribute("fid")}))}};function ue(e,t){(0,C.UN)(ce,e,t)}const de={"http://www.opengis.net/wfs":{Feature:ue},"http://www.opengis.net/wfs/2.0":{Feature:ue}};function he(e,t){return(0,C.eY)([],de,e,t)}function pe(e,t,n){const r=n[n.length-1],o=r.featureType,i=r.featureNS,a=r.gmlVersion,s=(0,C.qq)(i,o);e.appendChild(s),2===a?D.prototype.writeFeatureElement(s,t,n):3===a?V.prototype.writeFeatureElement(s,t,n):G.prototype.writeFeatureElement(s,t,n)}function fe(e,t,n){const r=n[n.length-1].version,o=ne[r],i=(0,C.qq)(o,"Filter"),a=(0,C.qq)(o,"FeatureId");i.appendChild(a),a.setAttribute("fid",t),e.appendChild(i)}function ge(e,t){const n=(e=e||ee)+":";return t.startsWith(n)?t:n+t}function me(e,t,n){const r=n[n.length-1];(0,W.v)(void 0!==t.getId(),"Features must have an id set");const o=r.featureType,i=r.featurePrefix,a=r.featureNS,s=ge(i,o);e.setAttribute("typeName",s),e.setAttributeNS(te,"xmlns:"+i,a);const l=t.getId();void 0!==l&&fe(e,l,n)}function ye(e,t,n){const r=n[n.length-1];(0,W.v)(void 0!==t.getId(),"Features must have an id set");const o=r.version,i=r.featureType,a=r.featurePrefix,s=r.featureNS,l=ge(a,i),c=t.getGeometryName();e.setAttribute("typeName",l),e.setAttributeNS(te,"xmlns:"+a,s);const u=t.getId();if(void 0!==u){const i=t.getKeys(),a=[];for(let e=0,n=i.length;e{const o=this.combineBboxAndFilter(r.geometryName,r.bbox,e.srsName,e.filter);Object.assign(n,{geometryName:r.geometryName,filter:o}),De(t,[r.name],[n])}));return t}combineBboxAndFilter(e,t,n,r){const o=function(e,t,n){return new Y(e,t,n)}(e,t,n);return r?function(e){const t=[null].concat(Array.prototype.slice.call(arguments));return new(Function.prototype.bind.apply(H,t))}(r,o):o}writeTransaction(e,t,n,r){const o=[],i=r.version?r.version:this.version_,a=(0,C.qq)(re[i],"Transaction");let s;a.setAttribute("service","WFS"),a.setAttribute("version",i),r&&(s=r.gmlOptions?r.gmlOptions:{},r.handle&&a.setAttribute("handle",r.handle)),a.setAttributeNS(C.pF,"xsi:schemaLocation",ie[i]);const l=function(e,t,n,r){const o=r.featurePrefix?r.featurePrefix:ee;let i;"1.0.0"===n?i=2:"1.1.0"===n?i=3:"2.0.0"===n&&(i=3.2);const a=Object.assign({node:e},{version:n,featureNS:r.featureNS,featureType:r.featureType,featurePrefix:o,gmlVersion:i,hasZ:r.hasZ,srsName:r.srsName},t);return a}(a,s,i,r);return e&&se("Insert",e,o,l),t&&se("Update",t,o,l),n&&se("Delete",n,o,l),r.nativeElements&&se("Native",r.nativeElements,o,l),a}readProjectionFromDocument(e){for(let t=e.firstChild;t;t=t.nextSibling)if(t.nodeType==Node.ELEMENT_NODE)return this.readProjectionFromNode(t);return null}readProjectionFromNode(e){if(e.firstElementChild&&e.firstElementChild.firstElementChild)for(let t=(e=e.firstElementChild.firstElementChild).firstElementChild;t;t=t.nextElementSibling)if(0!==t.childNodes.length&&(1!==t.childNodes.length||3!==t.firstChild.nodeType)){const e=[{}];return this.gmlFormat_.readGeometryElement(t,e),(0,T.Jt)(e.pop().srsName)}return null}};var Be=n(98949),Ve=n(37450),$e=n(37682),Ge=n(55231),Ue=n(42982),We=n(66700),qe=n(85783),He=n(80309);function Ye(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,Ke()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function Ke(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ke=function(){return!!e})()}function Xe(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ze(e,t){return e.get(Je(e,t))}function Je(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Qe=function(e){return(null==e?void 0:e.geoviewLayerType)===Ve.y6.WFS},et=function(e){var t;return(null==e||null===(t=e.geoviewLayerConfig)||void 0===t?void 0:t.geoviewLayerType)===Ve.y6.WFS},tt=new WeakMap,nt=new WeakSet,rt=function(e){function t(e,n){var r,i,a;return(0,o.A)(this,t),r=Ye(this,t,[Ve.y6.WFS,n,e]),Xe(i=r,a=nt),a.add(i),function(e,t,n){Xe(e,t),t.set(e,n)}(r,tt,"2.0.0"),r}return(0,c.A)(t,e),(0,i.A)(t,[{key:"getFieldType",value:function(e,t){var n=this.getLayerMetadata(t.layerPath).find((function(t){return t.name===e}));if(!n)return"string";var r=n.type.split(":").slice(-1)[0];return"date"===r?"date":["int","number"].includes(r)?"number":"string"}},{key:"fetchServiceMetadata",value:function(){var e=this;return new Promise((function(t){var n=(0,Ue.getLocalizedValue)(e.metadataAccessPath,He.K.getDisplayLanguage(e.mapId)),r=n.indexOf("?")>-1?n.substring(n.indexOf("?")):"?service=WFS&request=GetCapabilities";(n=n.indexOf("?")>-1?n.substring(0,n.indexOf("?")):n)?(0,Ue.getXMLHttpRequest)("".concat(n).concat(r)).then((function(n){if("{}"===n)e.setAllLayerStatusTo("error",e.listOfLayerEntryConfig,"Unable to read metadata");else{var r=(new DOMParser).parseFromString(n,"text/xml"),o=(0,Ue.xmlToJson)(r),i=(0,Ue.findPropertyNameByRegex)(o,/(?:WFS_Capabilities)/);e.metadata=i,a=tt,s=e,l=i["@attributes"].version,a.set(Je(a,s),l),t()}var a,s,l})).catch((function(n){e.setAllLayerStatusTo("error",e.listOfLayerEntryConfig,"Unable to read metadata"),We.vF.logError("Unableto fetch metadata",e.metadataAccessPath,n),t()})):e.setAllLayerStatusTo("error",e.listOfLayerEntryConfig,"Unable to read metadata")}))}},{key:"validateListOfLayerEntryConfig",value:function(e){var t=this;e.forEach((function(e){var n,r,o,i=e.layerPath;if((0,Ge.KD)(e)&&(t.validateListOfLayerEntryConfig(e.listOfLayerEntryConfig),!e.listOfLayerEntryConfig.length))return t.layerLoadError.push({layer:i,loggerMessage:"Empty layer group (mapId: ".concat(t.mapId,", layerPath: ").concat(i,")")}),void(e.layerStatus="error");if(e.layerStatus="processing",Array.isArray(null===(n=t.metadata)||void 0===n||null===(n=n.FeatureTypeList)||void 0===n?void 0:n.FeatureType)||(t.metadata.FeatureTypeList.FeatureType=[null===(r=t.metadata)||void 0===r||null===(r=r.FeatureTypeList)||void 0===r?void 0:r.FeatureType]),Array.isArray(null===(o=t.metadata)||void 0===o||null===(o=o.FeatureTypeList)||void 0===o?void 0:o.FeatureType)){var a,s,l,c=(null===(a=t.metadata)||void 0===a?void 0:a.FeatureTypeList.FeatureType).find((function(t){return(t.Name&&t.Name["#text"]).includes(e.layerId)}));if(!c)return t.layerLoadError.push({layer:i,loggerMessage:"WFS feature layer not found (mapId: ".concat(t.mapId,", layerPath: ").concat(i,")")}),void(e.layerStatus="error");if(null!==(s=e.initialSettings)&&void 0!==s&&s.extent&&(e.initialSettings.extent=t.getMapViewer().convertExtentLngLatToMapProj(e.initialSettings.extent)),(null===(l=e.initialSettings)||void 0===l||!l.bounds)&&c["ows:WGS84BoundingBox"]){var u=c["ows:WGS84BoundingBox"]["ows:LowerCorner"]["#text"].split(" "),d=c["ows:WGS84BoundingBox"]["ows:UpperCorner"]["#text"].split(" "),h=[Number(u[0]),Number(u[1]),Number(d[0]),Number(d[1])];e.initialSettings.bounds=t.getMapViewer().convertExtentLngLatToMapProj(h)}}}))}},{key:"processLayerMetadata",value:(n=(0,r.A)(d().mark((function e(t){var n,r,o,i,a,s,l,c,u,h,p,f,g;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t instanceof qe.T){e.next=2;break}throw new Error("Invalid layer configuration type provided");case 2:if(e.prev=2,n=(n=(0,Ue.getLocalizedValue)(t.source.dataAccessPath,He.K.getDisplayLanguage(this.mapId))).indexOf("?")>-1?n.substring(0,n.indexOf("?")):n,r=this.metadata["ows:OperationsMetadata"]["ows:Operation"][1]["ows:Parameter"],o=(0,Ue.findPropertyNameByRegex)(r,/(?:Value)/),i="",void 0!==o&&(i=Array.isArray(o["ows:Value"])?o["ows:Value"][0]["#text"]:void 0===o["ows:Value"]?o[0]["#text"]:o["ows:Value"]["#text"]),!(a="".concat(n,"?service=WFS&request=DescribeFeatureType&version=").concat(Ze(tt,this),"&outputFormat=").concat(encodeURIComponent(i),"&typeName=").concat(t.layerId))||"application/json"!==i){e.next=19;break}return e.next=13,fetch(a);case 13:return e.next=15,e.sent.json();case 15:s=e.sent,Array.isArray(s.featureTypes)&&Array.isArray(s.featureTypes[0].properties)&&(this.setLayerMetadata(t.layerPath,s.featureTypes[0].properties),Je(nt,this,ot).call(this,s.featureTypes[0].properties,t)),e.next=31;break;case 19:if(!a||!i.toUpperCase().includes("XML")){e.next=31;break}return e.next=22,fetch(a);case 22:return e.next=24,e.sent.text();case 24:l=e.sent,c=(new DOMParser).parseFromString(l,"text/xml"),u=(0,Ue.xmlToJson)(c),h=Object.keys(u)[0].includes("xsd:")?"xsd:":"",p=u["".concat(h,"schema")],f=void 0!==p["".concat(h,"complexType")]?p["".concat(h,"complexType")]["".concat(h,"complexContent")]["".concat(h,"extension")]["".concat(h,"sequence")]["".concat(h,"element")]:[],Array.isArray(f)&&(g=[],f.forEach((function(e){g.push(e["@attributes"])})),this.setLayerMetadata(t.layerPath,g),Je(nt,this,ot).call(this,g,t));case 31:e.next=37;break;case 33:e.prev=33,e.t0=e.catch(2),We.vF.logError('Error processing layer metadata for layer path "'.concat(t.layerPath),e.t0),t.layerStatus="error";case 37:return e.abrupt("return",t);case 38:case"end":return e.stop()}}),e,this,[[2,33]])}))),function(e){return n.apply(this,arguments)})},{key:"createVectorSource",value:function(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return o.dataProjection=e.source.dataProjection,r.url=function(t){var o=(0,Ue.getLocalizedValue)(e.source.dataAccessPath,He.K.getDisplayLanguage(n.mapId));return o=o.indexOf("?")>-1?o.substring(0,o.indexOf("?")):o,o="".concat(o,"?service=WFS&request=getFeature&version=").concat(Ze(tt,n)),o="".concat(o,"&typeName=").concat(e.layerId),r.strategy===Be.Qk&&Number.isFinite(t[0])&&(o="".concat(o,"&bbox=").concat(t,",").concat(n.getMapViewer().getProjection().getCode())),o},r.format=new ze({version:Ze(tt,this)}),(0,s.A)((0,l.A)(t.prototype),"createVectorSource",this).call(this,e,r,o)}}]);var n}($e.W);function ot(e,t){var n,r,o=this;if(t.source||(t.source={}),t.source.featureInfo||(t.source.featureInfo={queryable:!0}),null===(n=t.source.featureInfo.outfields)||void 0===n||!n.en||null===(r=t.source.featureInfo.aliasFields)||void 0===r||!r.en){var i,a,s,l,c,u,d,h=!(null!==(i=t.source.featureInfo.outfields)&&void 0!==i&&i.en),p=!(null!==(a=t.source.featureInfo.aliasFields)&&void 0!==a&&a.en);h&&(t.source.featureInfo.outfields={en:""},t.source.featureInfo.fieldTypes=""),p&&(t.source.featureInfo.aliasFields={en:""}),e.forEach((function(e){"Geometry"!==e.type.split(":").slice(-1)[0]&&(h&&(t.source.featureInfo.outfields.en="".concat(t.source.featureInfo.outfields.en).concat(e.name,","),t.source.featureInfo.fieldTypes="".concat(t.source.featureInfo.fieldTypes).concat(o.getFieldType(e.name,t),",")),t.source.featureInfo.aliasFields.en="".concat(t.source.featureInfo.aliasFields.en).concat(e.name,","))})),t.source.featureInfo.outfields.en=null===(s=t.source.featureInfo.outfields)||void 0===s||null===(s=s.en)||void 0===s?void 0:s.slice(0,-1),t.source.featureInfo.fieldTypes=null===(l=t.source.featureInfo.fieldTypes)||void 0===l?void 0:l.slice(0,-1),t.source.featureInfo.aliasFields.en=null===(c=t.source.featureInfo.aliasFields)||void 0===c||null===(c=c.en)||void 0===c?void 0:c.slice(0,-1),t.source.featureInfo.outfields.fr=null===(u=t.source.featureInfo.outfields)||void 0===u?void 0:u.en,t.source.featureInfo.aliasFields.fr=null===(d=t.source.featureInfo.aliasFields)||void 0===d?void 0:d.en}if(!t.source.featureInfo.nameField){var f,g,m=(null===(f=t.source.featureInfo.outfields.en)||void 0===f?void 0:f.split(",")[1])||(null===(g=t.source.featureInfo.outfields.fr)||void 0===g?void 0:g.split(",")[1]),y=m;m&&(t.source.featureInfo.nameField={en:m,fr:y})}}},46187:(e,t,n)=>{"use strict";n.d(t,{Z:()=>W});var r=n(80180),o=n(59682),i=n(41108),a=n(74780),s=n(64417),l=n.n(s),c=n(12791),u=n(36116),d=n(20687),h=n(28596),p=n(68784),f=n(42982),g=n(99937),m=n(66700),y=n(93153),v=n(52780),b=n(57029),w=n(86266),A=n(12923);function x(e,t,n){S(e,t),t.set(e,n)}function S(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function C(e,t){return e.get(k(e,t))}function E(e,t,n){return e.set(k(e,t),n),n}function k(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var T=new WeakMap,_=new WeakMap,O=new WeakMap,P=new WeakMap,I=new WeakMap,M=new WeakMap,L=new WeakMap,R=new WeakMap,j=new WeakMap,F=new WeakMap,D=new WeakMap,N=new WeakMap,z=new WeakMap,B=new WeakMap,V=new WeakMap,$=new WeakMap,G=new WeakMap,U=new WeakSet,W=function(){return(0,i.A)((function e(t,n,r){var i,s;(0,o.A)(this,e),S(i=this,s=U),s.add(i),(0,a.A)(this,"hitTolerance",e.DEFAULT_HIT_TOLERANCE),x(this,T,void 0),(0,a.A)(this,"olLayer",void 0),x(this,_,void 0),x(this,O,void 0),x(this,P,void 0),x(this,I,void 0),x(this,M,void 0),x(this,L,void 0),x(this,R,void 0),x(this,j,void 0),x(this,F,!0),x(this,D,[]),x(this,N,[]),x(this,z,[]),x(this,B,[]),x(this,V,[]),x(this,$,[]),x(this,G,[]),E(T,this,t),E(_,this,n),E(O,this,r),E(I,this,r.layerName),E(P,this,"loading"),E(R,this,r.geoviewLayerConfig.serviceDateFormat?g.P.getDateFragmentsOrder(r.geoviewLayerConfig.serviceDateFormat):void 0),E(j,this,g.P.getDateFragmentsOrder(r.geoviewLayerConfig.externalDateFormat)),E(F,this,void 0===r.geoviewLayerConfig.isTimeAware||r.geoviewLayerConfig.isTimeAware)}),[{key:"init",value:function(){var e;if(this.olLayer instanceof h.A)e="image";else if(this.olLayer instanceof u.A||this.olLayer instanceof c.A)e="tile";else{if(!(this.olLayer instanceof d.A))throw new Error("Unsupported OpenLayer type: ".concat(this.olLayer.constructor.name));e="features"}var t=C(_,this).getState();"ready"===t?this.onLoaded():"error"===t?this.onError():(C(_,this).once("".concat(e,"loadend"),this.onLoaded.bind(this)),C(_,this).once("".concat(e,"loaderror"),this.onError.bind(this)))}},{key:"getMapId",value:function(){return C(T,this)}},{key:"getMapViewer",value:function(){return A.d.getMapViewer(this.getMapId())}},{key:"getOLLayer",value:function(){return this.olLayer}},{key:"getOLSource",value:function(){return C(_,this)}},{key:"getLayerConfig",value:function(){return C(O,this)}},{key:"getLayerPath",value:function(){return C(O,this).layerPath}},{key:"getGeoviewLayerId",value:function(){return C(O,this).geoviewLayerConfig.geoviewLayerId}},{key:"getGeoviewLayerName",value:function(){return C(O,this).geoviewLayerConfig.geoviewLayerName}},{key:"getLayerStatus",value:function(){return C(P,this)}},{key:"getLayerConfigStatus",value:function(){return C(O,this).layerStatus}},{key:"getLayerName",value:function(e){return C(I,this)}},{key:"setLayerName",value:function(e,t){E(I,this,t),k(U,this,q).call(this,{layerPath:e,layerName:t})}},{key:"getStyle",value:function(e){return C(M,this)}},{key:"setStyle",value:function(e,t){E(M,this,t),k(U,this,Z).call(this,{style:t,layerPath:e})}},{key:"getAttributions",value:function(){var e,t=null===(e=this.getOLSource().getAttributions())||void 0===e?void 0:e({});return t?"string"==typeof t?[t]:t:[]}},{key:"getTemporalDimension",value:function(){return C(L,this)}},{key:"setTemporalDimension",value:function(e){E(L,this,e)}},{key:"getIsTimeAware",value:function(){return C(F,this)}},{key:"getExternalFragmentsOrder",value:function(){return C(j,this)}},{key:"onLoaded",value:function(){var e;C(O,this).layerStatus="loaded",E(P,this,"loaded"),this.setVisible(!1!==(null===(e=C(O,this).initialSettings)||void 0===e||null===(e=e.states)||void 0===e?void 0:e.visible))}},{key:"onError",value:function(){C(O,this).layerStatus="error",E(P,this,"error")}},{key:"getFeatureInfo",value:(n=(0,r.A)(l().mark((function e(t,n){var r,o,i,a,s,c,u=arguments;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=u.length>2&&void 0!==u[2]?u[2]:null,e.prev=1,i=this.getLayerConfig(),null!==(o=i.source)&&void 0!==o&&null!==(o=o.featureInfo)&&void 0!==o&&o.queryable){e.next=6;break}return m.vF.logError("Layer at path ".concat(i.layerPath," is not queryable")),e.abrupt("return",null);case 6:m.vF.logTraceCore("ABSTRACT-GV-LAYERS - getFeatureInfo",t),a="".concat(t),m.vF.logMarkerStart(a),e.t0=t,e.next="all"===e.t0?12:"at_pixel"===e.t0?14:"at_coordinate"===e.t0?16:"at_long_lat"===e.t0?18:"using_a_bounding_box"===e.t0?20:"using_a_polygon"===e.t0?22:24;break;case 12:return s=this.getAllFeatureInfo(),e.abrupt("break",26);case 14:return s=this.getFeatureInfoAtPixel(r),e.abrupt("break",26);case 16:return s=this.getFeatureInfoAtCoordinate(r),e.abrupt("break",26);case 18:return s=this.getFeatureInfoAtLongLat(r),e.abrupt("break",26);case 20:return s=this.getFeatureInfoUsingBBox(r),e.abrupt("break",26);case 22:return s=this.getFeatureInfoUsingPolygon(r),e.abrupt("break",26);case 24:s=Promise.resolve([]),m.vF.logError("Queries using ".concat(t," are invalid."));case 26:return e.next=28,s;case 28:return c=e.sent,m.vF.logMarkerCheck(a,"to getFeatureInfo",c),e.abrupt("return",c);case 33:return e.prev=33,e.t1=e.catch(1),m.vF.logError(e.t1),e.abrupt("return",null);case 37:case"end":return e.stop()}}),e,this,[[1,33]])}))),function(e,t){return n.apply(this,arguments)})},{key:"getAllFeatureInfo",value:function(){throw new Error("Not implemented exception getAllFeatureInfo on layer path ".concat(this.getLayerPath()))}},{key:"getFeatureInfoAtPixel",value:function(e){throw new Error("Not implemented exception for getFeatureInfoAtPixel on layer path ".concat(this.getLayerPath()))}},{key:"getFeatureInfoAtCoordinate",value:function(e){throw new Error("Not implemented exception for getFeatureInfoAtCoordinate on layer path ".concat(this.getLayerPath()))}},{key:"getFeatureInfoAtLongLat",value:function(e){throw new Error("Not implemented exception for getFeatureInfoAtLongLat on layer path ".concat(this.getLayerPath()))}},{key:"getFeatureInfoUsingBBox",value:function(e){throw new Error("Not implemented exception for getFeatureInfoUsingBBox on layer path ".concat(this.getLayerPath()))}},{key:"getFeatureInfoUsingPolygon",value:function(e){throw new Error("Not implemented exception for getFeatureInfoUsingPolygon on layer path ".concat(this.getLayerPath()))}},{key:"getFieldDomain",value:function(e){return m.vF.logWarning("getFieldDomain is not implemented for ".concat(e," on layer path ").concat(this.getLayerPath())),null}},{key:"getFieldType",value:function(e){return m.vF.logWarning("getFieldType is not implemented for ".concat(e," on layer path ").concat(this.getLayerPath())),"string"}},{key:"getExtent",value:function(){return this.getOLLayer().getExtent()}},{key:"setExtent",value:function(e){this.getOLLayer().setExtent(e)}},{key:"getOpacity",value:function(){return this.getOLLayer().getOpacity()}},{key:"setOpacity",value:function(e){this.getOLLayer().setOpacity(e),k(U,this,X).call(this,{layerPath:this.getLayerPath(),opacity:e})}},{key:"getVisible",value:function(){return this.getOLLayer().getVisible()}},{key:"setVisible",value:function(e){var t=this.getVisible();this.getOLLayer().setVisible(e),e!==t&&k(U,this,K).call(this,{visible:e})}},{key:"getMinZoom",value:function(){return this.getOLLayer().getMinZoom()}},{key:"setMinZoom",value:function(e){this.getOLLayer().setMinZoom(e)}},{key:"getMaxZoom",value:function(){return this.getOLLayer().getMaxZoom()}},{key:"setMaxZoom",value:function(e){this.getOLLayer().setMaxZoom(e)}},{key:"queryLegend",value:function(){var e=this;k(U,this,H).call(this);var t=this.getLegend();return t.then((function(t){t&&(e.updateIconImageCache(t),k(U,e,Y).call(e,{legend:t}))})).catch((function(e){m.vF.logPromiseFailed("promiseLegend in queryLegend in AbstractGVLayer",e)})),t}},{key:"updateIconImageCache",value:function(e){var t=this.getMapViewer().iconImageCacheSize;e.styleConfig&&Object.keys(e.styleConfig).forEach((function(n){var r,o,i,a;!e.styleConfig||"uniqueValue"!==(null===(r=e.styleConfig[n])||void 0===r?void 0:r.styleType)&&"classBreaks"!==(null===(o=e.styleConfig[n])||void 0===o?void 0:o.styleType)||(null!==(i=e.styleConfig[n].uniqueValueStyleInfo)&&void 0!==i&&i.length&&(t+=e.styleConfig[n].uniqueValueStyleInfo.length),null!==(a=e.styleConfig[n].classBreakStyleInfo)&&void 0!==a&&a.length&&(t+=e.styleConfig[n].classBreakStyleInfo.length))})),p.ue.setSize(t),this.getMapViewer().iconImageCacheSize=t}},{key:"getLegend",value:(t=(0,r.A)(l().mark((function e(){var t;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=this.getLayerConfig().geoviewLayerConfig.geoviewLayerType,e.t1=this.getStyle(this.getLayerPath()),e.next=5,(0,w.qC)(this.getStyle(this.getLayerPath()));case 5:return e.t2=e.sent,t={type:e.t0,styleConfig:e.t1,legend:e.t2},e.abrupt("return",t);case 10:return e.prev=10,e.t3=e.catch(0),m.vF.logError(e.t3),e.abrupt("return",null);case 14:case"end":return e.stop()}}),e,this,[[0,10]])}))),function(){return t.apply(this,arguments)})},{key:"getFieldValue",value:function(e,t,n){var r,o=e.get(t);if("date"===n){"string"==typeof o?(C(R,this)||E(R,this,g.P.getDateFragmentsOrder(g.P.deduceDateFormat(o))),r=g.P.applyInputDateFormat(o,C(R,this))):r=g.P.convertToUTC("".concat(g.P.convertMilisecondsToDate(o),"Z"));return C(j,this)&&(r=g.P.applyOutputDateFormat(r,C(j,this),!0)),r}return o}},{key:"formatFeatureInfoResult",value:(e=(0,r.A)(l().mark((function e(t,n){var o,i,a,s,c,u,d,h,p,g,v,A,x,S,C,E,k,T=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,t.length){e.next=3;break}return e.abrupt("return",[]);case 3:return u=new y.z(1),d=function(){return u.withLock((0,r.A)(l().mark((function e(){var t,n;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==c){e.next=7;break}return c=null,e.next=4,T.queryLegend();case 4:t=e.sent,(n=b.K.getLayerIconImage(t))&&(c=n[0].iconImage||null);case 7:return e.abrupt("return",c);case 8:case"end":return e.stop()}}),e)}))))},h=null==n||null===(o=n.source)||void 0===o?void 0:o.featureInfo,p=null==h||null===(i=h.fieldTypes)||void 0===i?void 0:i.split(","),g=null===(a=(0,f.getLocalizedValue)(null==h?void 0:h.outfields,"en"))||void 0===a?void 0:a.split(","),v=null===(s=(0,f.getLocalizedValue)(null==h?void 0:h.aliasFields,"en"))||void 0===s?void 0:s.split(","),A=[],t.forEach((function(e){A.push(new Promise((function(t){(0,w.$G)(e,T.getStyle(n.layerPath),n.filterEquation,n.legendFilterIsOff,d).then((function(n){t({feature:e,canvas:n})})).catch((function(e){m.vF.logPromiseFailed("getFeatureCanvas in featureNeedingItsCanvas loop in formatFeatureInfoResult in AbstractGVLayer",e)}))})))})),x={},S={},C=0,E=0,k=[],e.next=18,Promise.all(A);case 18:return e.sent.forEach((function(e){var t,r,o=e.feature,i=e.canvas;o.getGeometry()&&(r=o.getGeometry().getExtent());var a={featureKey:C++,geoviewLayerType:T.getLayerConfig().geoviewLayerConfig.geoviewLayerType,extent:r,geometry:o,featureIcon:i,fieldInfo:{},nameField:(0,f.getLocalizedValue)(null==n||null===(t=n.source)||void 0===t||null===(t=t.featureInfo)||void 0===t?void 0:t.nameField,"en")||null};o.getKeys().forEach((function(e){if("geometry"!==e){e in x||(x[e]=T.getFieldDomain(e));var t=x[e];e in S||(S[e]=T.getFieldType(e));var n=S[e];if(null!=g&&g.includes(e)){var r=g.indexOf(e);a.fieldInfo[e]={fieldKey:E++,value:T.getFieldValue(o,e,p[r]),dataType:p[r],alias:v[r],domain:t}}else g||(a.fieldInfo[e]={fieldKey:E++,value:T.getFieldValue(o,e,n),dataType:n,alias:e,domain:t})}})),k.push(a)})),e.abrupt("return",k);case 23:return e.prev=23,e.t0=e.catch(0),m.vF.logError(e.t0),e.abrupt("return",[]);case 27:case"end":return e.stop()}}),e,null,[[0,23]])}))),function(t,n){return e.apply(this,arguments)})},{key:"getLayerFilter",value:function(e){var t=this.getLayerConfig();return null==t?void 0:t.layerFilter}},{key:"onLayerNameChanged",value:function(e){v.A.onEvent(C(D,this),e)}},{key:"offLayerNameChanged",value:function(e){v.A.offEvent(C(D,this),e)}},{key:"onLegendQuerying",value:function(e){v.A.onEvent(C(z,this),e)}},{key:"offLegendQuerying",value:function(e){v.A.offEvent(C(z,this),e)}},{key:"onLegendQueried",value:function(e){v.A.onEvent(C(B,this),e)}},{key:"offLegendQueried",value:function(e){v.A.offEvent(C(B,this),e)}},{key:"onVisibleChanged",value:function(e){v.A.onEvent(C(V,this),e)}},{key:"offVisibleChanged",value:function(e){v.A.offEvent(C(V,this),e)}},{key:"emitLayerFilterApplied",value:function(e){v.A.emitEvent(this,C($,this),e)}},{key:"onLayerFilterApplied",value:function(e){v.A.onEvent(C($,this),e)}},{key:"offLayerFilterApplied",value:function(e){v.A.offEvent(C($,this),e)}},{key:"onLayerOpacityChanged",value:function(e){v.A.onEvent(C(G,this),e)}},{key:"offLayerOpacityChanged",value:function(e){v.A.offEvent(C(G,this),e)}},{key:"onLayerStyleChanged",value:function(e){v.A.onEvent(C(N,this),e)}},{key:"offLayerStyleChanged",value:function(e){v.A.offEvent(C(N,this),e)}}],[{key:"initOptionsWithInitialSettings",value:function(e,t){var n,r,o,i,a;void 0!==(null===(n=t.initialSettings)||void 0===n?void 0:n.className)&&(e.className=t.initialSettings.className),void 0!==(null===(r=t.initialSettings)||void 0===r?void 0:r.extent)&&(e.extent=t.initialSettings.extent),void 0!==(null===(o=t.initialSettings)||void 0===o?void 0:o.maxZoom)&&(e.maxZoom=t.initialSettings.maxZoom),void 0!==(null===(i=t.initialSettings)||void 0===i?void 0:i.minZoom)&&(e.minZoom=t.initialSettings.minZoom),void 0!==(null===(a=t.initialSettings)||void 0===a||null===(a=a.states)||void 0===a?void 0:a.opacity)&&(e.opacity=t.initialSettings.states.opacity)}}]);var e,t,n}();function q(e){v.A.emitEvent(this,C(D,this),e)}function H(){v.A.emitEvent(this,C(z,this),void 0)}function Y(e){v.A.emitEvent(this,C(B,this),e)}function K(e){v.A.emitEvent(this,C(V,this),e)}function X(e){v.A.emitEvent(this,C(G,this),e)}function Z(e){v.A.emitEvent(this,C(N,this),e)}(0,a.A)(W,"DEFAULT_HIT_TOLERANCE",4)},95875:(e,t,n)=>{"use strict";n.d(t,{z:()=>h});var r=n(59682),o=n(41108),i=n(95947),a=n(71104),s=n(89153),l=n(79778),c=n(91384);function u(e,t,n){return t=(0,s.A)(t),(0,i.A)(e,d()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function d(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(d=function(){return!!e})()}var h=function(e){function t(){return(0,r.A)(this,t),u(this,t,arguments)}return(0,l.A)(t,e),(0,o.A)(t,[{key:"getOLLayer",value:function(){return(0,a.A)((0,s.A)(t.prototype),"getOLLayer",this).call(this)}},{key:"getMetadataProjection",value:function(){var e;return c.M.getProjection("EPSG:".concat(null===(e=this.getLayerConfig().getMetadata())||void 0===e||null===(e=e.fullExtent)||void 0===e||null===(e=e.spatialReference)||void 0===e?void 0:e.wkid))||void 0}},{key:"getMetadataExtent",value:function(){var e=this.getLayerConfig().getMetadata();if(null!=e&&e.fullExtent)return[null==e?void 0:e.fullExtent.xmin,null==e?void 0:e.fullExtent.ymin,null==e?void 0:e.fullExtent.xmax,null==e?void 0:e.fullExtent.ymax]}}])}(n(46187).Z)},28704:(e,t,n)=>{"use strict";n.d(t,{Y:()=>R});var r=n(32031),o=n(1839),i=n(80180),a=n(59682),s=n(41108),l=n(95947),c=n(71104),u=n(89153),d=n(79778),h=n(74780),p=n(64417),f=n.n(p),g=n(28596),m=n(987),y=n(20662),v=n(92259),b=n(42982),w=n(91384),A=n(80309),x=n(66700),S=n(99937),C=n(55231),E=n(88794),k=n(95875);function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t= ").concat(M(L,this,z).call(this,i.field,i.classBreakStyleInfo[0].minValue,e.source.featureInfo))):!1===i.classBreakStyleInfo[0].visible&&!1!==i.defaultVisible&&(u.push("".concat(i.field," < ").concat(M(L,this,z).call(this,i.field,i.classBreakStyleInfo[0].minValue,e.source.featureInfo))),d=h):!1!==i.classBreakStyleInfo[h].visible&&!1===i.defaultVisible?(u.push("".concat(i.field," > ").concat(M(L,this,z).call(this,i.field,i.classBreakStyleInfo[h].minValue,e.source.featureInfo))),h+1===i.classBreakStyleInfo.length&&u.push("".concat(i.field," <= ").concat(M(L,this,z).call(this,i.field,i.classBreakStyleInfo[h].maxValue,e.source.featureInfo)))):!1===i.classBreakStyleInfo[h].visible&&!1!==i.defaultVisible&&(u.push("".concat(i.field," <= ").concat(M(L,this,z).call(this,i.field,i.classBreakStyleInfo[h].minValue,e.source.featureInfo))),d=h):!1===i.defaultVisible?!1===i.classBreakStyleInfo[h].visible?u.push("".concat(i.field," <= ").concat(M(L,this,z).call(this,i.field,i.classBreakStyleInfo[h-1].maxValue,e.source.featureInfo))):h+1===i.classBreakStyleInfo.length&&u.push("".concat(i.field," <= ").concat(M(L,this,z).call(this,i.field,i.classBreakStyleInfo[h].maxValue,e.source.featureInfo))):!1!==i.classBreakStyleInfo[h].visible?(u.push("".concat(i.field," > ").concat(M(L,this,z).call(this,i.field,i.classBreakStyleInfo[h-1].maxValue,e.source.featureInfo))),d=-1):d=h;if(-1!==d&&u.push("".concat(i.field," > ").concat(M(L,this,z).call(this,i.field,i.classBreakStyleInfo[d].maxValue,e.source.featureInfo))),!1!==i.defaultVisible){var p="".concat(u.slice(0,-1).reduce((function(e,t,n){return 0===n?"(".concat(t," or "):n%2==0?"".concat(e," and ").concat(t,") or "):"".concat(e,"(").concat(t)}),"")).concat(u.slice(-1)[0],")");return"".concat(p).concat(n?" and (".concat(n,")"):"")}var f=u.length?"".concat(u.reduce((function(e,t,n){return 0===n?"((".concat(t," and "):n%2==0?"".concat(e," or (").concat(t," and "):"".concat(e).concat(t,")")}),""),")"):"(1=0)";return"".concat(f).concat(n?" and (".concat(n,")"):"")}}return"(1=1)"}},{key:"onLoaded",value:function(){(0,c.A)((0,u.A)(t.prototype),"onLoaded",this).call(this),this.applyViewFilter("",this.getLayerConfig().layerFilter||"")}},{key:"applyViewFilter",value:function(e,t){var n=this,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];x.vF.logTraceCore("GV-ESRI-DYNAMIC - applyViewFilter");var i=this.getLayerConfig(),a=this.getOLLayer(),s=t.replaceAll(/\s{2,}/g," ").trim();i.legendFilterIsOff=!o,i.layerFilter=s,o&&(s=this.getViewFilter());var l=(0,r.A)(s.matchAll(/(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/gi));l.reverse(),l.forEach((function(e){var t=![20,25].includes(e[0].length),r=S.P.applyInputDateFormat(e[0],n.getExternalFragmentsOrder(),t);r=(r=r.slice(0,20===r.length?-1:-6)).replace("T"," "),s="".concat(s.slice(0,e.index)).concat(r).concat(s.slice(e.index+e[0].length))})),null==a||a.getSource().updateParams({layerDefs:'{"'.concat(i.layerId,'": "').concat(s,'"}')}),null==a||a.changed(),this.emitLayerFilterApplied({layerPath:e,filter:s})}},{key:"getBounds",value:function(e){var t,n=this.getMetadataExtent();if(n){var r=this.getMetadataProjection();t=this.getMapViewer().convertExtentFromProjToMapProj(n,r)}return t}}]);var n,l}(k.z);function j(e){return e.uniqueValueStyleInfo.reduce((function(t,n){return(!1===n.visible&&!1!==e.defaultVisible||!1!==n.visible&&!1===e.defaultVisible)&&n.values.forEach((function(e,n){var r=t[n].find((function(t){return t.value===e}));r?r.nbOccurence++:t[n].push({value:e,nbOccurence:1})})),t}),e.fields.map((function(){return[]})))}function F(e,t){for(var n=e.fields.map((function(){return!0})),r=[],o=0;-1!==o;o=n.findIndex((function(e){return e}))){for(var i=t[o].reduce((function(e,t){return e+t.nbOccurence}),0),a=0;at[a].length||t[o].length===t[a].length&&i{"use strict";n.d(t,{o:()=>E});var r=n(74780),o=n(32031),i=n(80180),a=n(59682),s=n(41108),l=n(95947),c=n(71104),u=n(89153),d=n(79778),h=n(64417),p=n.n(h),f=n(28596),g=n(42982),m=n(99937),y=n(66700),v=n(37450),b=n(88794),w=n(80309),A=n(86266),x=n(95875);function S(e,t,n){return t=(0,u.A)(t),(0,l.A)(e,C()?Reflect.construct(t,n||[],(0,u.A)(e).constructor):t.apply(e,n))}function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(C=function(){return!!e})()}var E=function(e){function t(e,n,r){var o;(0,a.A)(this,t),o=S(this,t,[e,n,r]);var i={source:n,properties:{layerConfig:r}};return x.z.initOptionsWithInitialSettings(i,r),o.olLayer=new f.A(i),o}return(0,d.A)(t,e),(0,s.A)(t,[{key:"getOLLayer",value:function(){return(0,c.A)((0,u.A)(t.prototype),"getOLLayer",this).call(this)}},{key:"getOLSource",value:function(){return(0,c.A)((0,u.A)(t.prototype),"getOLSource",this).call(this)}},{key:"getLayerConfig",value:function(){return(0,c.A)((0,u.A)(t.prototype),"getLayerConfig",this).call(this)}},{key:"getFieldType",value:function(e){return(0,b.UB)(this.getLayerConfig(),e)}},{key:"getFieldDomain",value:function(e){return(0,b.k7)(this.getLayerConfig(),e)}},{key:"getLegend",value:(n=(0,i.A)(p().mark((function e(){var t,n,r,o,i,a,s,l,c,u;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.getLayerConfig(),e.prev=1,t){e.next=4;break}return e.abrupt("return",null);case 4:return n="".concat((0,g.getLocalizedValue)(t.geoviewLayerConfig.metadataAccessPath,w.K.getDisplayLanguage(this.getMapId())),"/legend?f=json"),e.next=7,fetch(n);case 7:return r=e.sent,e.next=10,r.json();case 10:if((o=e.sent).layers&&1===o.layers.length?i=o.layers[0].legend:o.layers.length&&(a=o.layers.find((function(e){return e.layerId===t.layerId})))&&(i=a.legend),i){e.next=15;break}return s={type:v.y6.ESRI_IMAGE,styleConfig:this.getStyle(t.layerPath),legend:null},e.abrupt("return",s);case 15:return l=[],i.forEach((function(e){var t={label:e.label,values:e.label.split(","),settings:{type:"iconSymbol",mimeType:e.contentType,src:e.imageData,width:e.width,height:e.height}};l.push(t)})),c={Point:{styleType:"uniqueValue",fields:["default"],uniqueValueStyleInfo:l}},this.setStyle(t.layerPath,c),e.t0=v.y6.ESRI_IMAGE,e.t1=c,e.next=24,(0,A.qC)(this.getStyle(t.layerPath));case 24:return e.t2=e.sent,u={type:e.t0,styleConfig:e.t1,legend:e.t2},e.abrupt("return",u);case 29:return e.prev=29,e.t3=e.catch(1),y.vF.logError("Get Legend for ".concat(t.layerPath," error"),e.t3),e.abrupt("return",null);case 33:case"end":return e.stop()}}),e,this,[[1,29]])}))),function(){return n.apply(this,arguments)})},{key:"onLoaded",value:function(){(0,c.A)((0,u.A)(t.prototype),"onLoaded",this).call(this),this.applyViewFilter("",this.getLayerConfig().layerFilter||"")}},{key:"applyViewFilter",value:function(e,t,n){var i=this;y.vF.logTraceCore("GV-ESRI-IMAGE - applyViewFilter",e);var a=this.getLayerConfig(),s=this.getOLLayer(),l=s.getSource();if(l){var c=t;if(a.legendFilterIsOff=!n,n&&(a.layerFilter=t),c){var u=(c=c.replaceAll(/\s{2,}/g," ").trim()).split(/(?<=\b)\s*=/),d=u[0].trim();c=u[1].trim();var h=(0,o.A)("".concat(c," ").matchAll(/(?<=^date\b\s')[\d/\-T\s:+Z]{4,25}(?=')|(?<=[(\s]date\b\s')[\d/\-T\s:+Z]{4,25}(?=')/gi));h.reverse(),h.forEach((function(e){var t=![20,25].includes(e[0].length),n=m.P.applyInputDateFormat(e[0],i.getExternalFragmentsOrder(),t);c="".concat(c.slice(0,e.index-6)).concat(n).concat(c.slice(e.index+e[0].length+2))})),l.updateParams((0,r.A)({},d,c.replace(/\s*/g,""))),s.changed(),this.emitLayerFilterApplied({layerPath:e,filter:c})}}}},{key:"getBounds",value:function(e){var t,n=this.getMetadataExtent();if(n){var r=this.getMetadataProjection();t=this.getMapViewer().convertExtentFromProjToMapProj(n,r)}return t}}]);var n}(x.z)},81036:(e,t,n)=>{"use strict";n.d(t,{V:()=>M});var r=n(74887),o=n(1839),i=n(32031),a=n(80180),s=n(59682),l=n(41108),c=n(95947),u=n(71104),d=n(89153),h=n(79778),p=n(74780),f=n(64417),g=n.n(f),m=n(95841),y=n(28596),v=n(67475),b=n(37450),w=n(42982),A=n(99937),x=n(7031),S=n(66700),C=n(80309),E=n(86266),k=n(95875);function T(e,t,n){return t=(0,d.A)(t),(0,c.A)(e,_()?Reflect.construct(t,n||[],(0,d.A)(e).constructor):t.apply(e,n))}function _(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_=function(){return!!e})()}function O(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function P(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var I=new WeakSet,M=function(e){function t(e,n,r,o){var i;if((0,s.A)(this,t),O(i=T(this,t,[e,n,r]),I),(0,p.A)(i,"WMSStyles",[]),!o)throw new Error("No layer capabilities were provided");var a={source:n,properties:{layerCapabilities:o,layerConfig:r}};return k.z.initOptionsWithInitialSettings(a,r),i.olLayer=new y.A(a),i}return(0,h.A)(t,e),(0,l.A)(t,[{key:"getOLLayer",value:function(){return(0,u.A)((0,d.A)(t.prototype),"getOLLayer",this).call(this)}},{key:"getOLSource",value:function(){return(0,u.A)((0,d.A)(t.prototype),"getOLSource",this).call(this)}},{key:"getLayerConfig",value:function(){return(0,u.A)((0,d.A)(t.prototype),"getLayerConfig",this).call(this)}},{key:"getFeatureInfoAtPixel",value:function(e){return this.getFeatureInfoAtCoordinate(this.getMapViewer().map.getCoordinateFromPixel(e))}},{key:"getFeatureInfoAtCoordinate",value:function(e){var t=this.getMapViewer().convertCoordinateMapProjToLngLat(e);return this.getFeatureInfoAtLongLat(t)}},{key:"getFeatureInfoAtLongLat",value:(r=(0,a.A)(g().mark((function e(n){var r,o,i,a,s,l,c,u,d,h,p,f,y,v,b,A,x,C,E,k;return g().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,this.getVisible()){e.next=3;break}return e.abrupt("return",[]);case 3:if(o=this.getLayerConfig(),i=this.getMapViewer().convertCoordinateLngLatToMapProj(n),!(n[0]1)){e.next=16;break}i=0;case 8:if(!(i1?o:void 0},e.abrupt("return",n);case 32:return e.prev=32,e.t0=e.catch(0),S.vF.logError("gv-wms.getLegend()\n",e.t0),e.abrupt("return",null);case 36:case"end":return e.stop()}}),e,this,[[0,32]])}))),function(){return n.apply(this,arguments)})},{key:"setWmsStyle",value:function(e,t){var n;null===(n=this.getOLSource())||void 0===n||n.updateParams({STYLES:e})}},{key:"onLoaded",value:function(){(0,u.A)((0,d.A)(t.prototype),"onLoaded",this).call(this),this.applyViewFilter("",this.getLayerConfig().layerFilter||"")}},{key:"applyViewFilter",value:function(e,t){var n=this,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=this.getLayerConfig(),a=this.getOLLayer();S.vF.logTraceCore("GVWMS - applyViewFilter",e);var s=a.getSource();if(s){var l=t;if(o.legendFilterIsOff=!r,r&&(o.layerFilter=t),l){var c=(l=l.replaceAll(/\s{2,}/g," ").trim()).split(/(?<=\b)\s*=/),u=c[0].trim();l=c[1].trim();var d=(0,i.A)("".concat(l," ").matchAll(/(?<=^date\b\s')[\d/\-T\s:+Z]{4,25}(?=')|(?<=[(\s]date\b\s')[\d/\-T\s:+Z]{4,25}(?=')/gi));d.reverse(),d.forEach((function(e){var t=![20,25].includes(e[0].length),r=A.P.applyInputDateFormat(e[0],n.getExternalFragmentsOrder(),t);l="".concat(l.slice(0,e.index-6)).concat(r).concat(l.slice(e.index+e[0].length+2))})),s.updateParams((0,p.A)({},u,l.replace(/\s*/g,""))),a.changed(),this.emitLayerFilterApplied({layerPath:e,filter:l})}}}},{key:"getBounds",value:function(e){var t,n=this.getLayerConfig(),r=this.getOLSource().getProjection()||void 0,i=null==n||null===(t=n.initialSettings)||void 0===t?void 0:t.bounds;i&&(i=this.getMapViewer().convertExtentFromProjToMapProj(i,"EPSG:4326"));var a,s=P(I,this,B).call(this,(null==r?void 0:r.getCode())||"");if(s){var l=(0,o.A)(s,2),c=l[0],u=l[1];a=this.getMapViewer().convertExtentFromProjToMapProj(u,c)}return i&&a&&(a=(0,x.getExtentIntersection)(a,i)),a}}]);var n,r}(k.z);function L(e,t){var n=P(I,this,R).call(this,e.layerId);if(Array.isArray(null==n?void 0:n.Style)){var r,i,a=!1;if(n.Style.forEach((function(e){"default"===e.Name&&(a=!0)})),t){var s=n.Style.filter((function(e){return e.Name===t}));i=(0,o.A)(s,1)[0]}else i=null==n?void 0:n.Style.find((function(t){var n,r;return null!=e&&null!==(n=e.source)&&void 0!==n&&n.style&&!Array.isArray(null==e||null===(r=e.source)||void 0===r?void 0:r.style)?e.source.style===t.Name:a?"default"===t.Name:t.Name}));if(Array.isArray(null===(r=i)||void 0===r?void 0:r.LegendURL))return i.LegendURL.find((function(e){return"image/png"===e.Format}))||null}return null}function R(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=this.getLayerConfig().getMetadata())||void 0===t||null===(t=t.Capability)||void 0===t?void 0:t.Layer;if(!n)return null;if("Name"in n&&n.Name===e)return n;if("Layer"in n){if(Array.isArray(n.Layer)){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:"";Object.keys(t).forEach((function(o){if(!o.endsWith("Geometry")&&!o.startsWith("@")){var i=o.split(":").slice(-1)[0];"object"===(0,r.A)(t[o])?"#text"in t[o]?g.fieldInfo["".concat(n).concat(n?".":"").concat(i)]={fieldKey:f++,value:t[o]["#text"],dataType:"string",alias:"".concat(n).concat(n?".":"").concat(i),domain:null}:e(t[o],i):g.fieldInfo["".concat(n).concat(n?".":"").concat(i)]={fieldKey:f++,value:t[o],dataType:"string",alias:"".concat(n).concat(n?".":"").concat(i),domain:null}}}))}(e),c)?(f=0,Object.keys(g.fieldInfo).filter((function(e){if(null!=c&&c.includes(e)){var t=c.indexOf(e);return g.fieldInfo[e].fieldKey=f++,g.fieldInfo[e].alias=d[t],g.fieldInfo[e].dataType=u[t],!1}return!0})).forEach((function(e){delete g.fieldInfo[e]})),h.push(g)):h.push(g);return h}function z(e,t){var n=Object.keys(e).find((function(e){return e.endsWith(t)}));return n?e[n]:void 0}function B(e){var t,n=null===(t=this.getLayerConfig().getMetadata())||void 0===t?void 0:t.Capability.Layer.BoundingBox;if(n){for(var r=0;r0)return[n[0].crs,[n[0].extent[1],n[0].extent[0],n[0].extent[3],n[0].extent[2]]]}}},88794:(e,t,n)=>{"use strict";n.d(t,{UB:()=>a,Vk:()=>i,k7:()=>s});n(64417);var r=n(67475),o=(n(66700),n(42982));function i(e,t,n){var i,a=e.getMetadata().source.featureInfo,s=null===(i=(0,o.getLocalizedValue)((0,r.KX)(a.outfields),n))||void 0===i?void 0:i.split(",").indexOf(t);return s&&-1!==s?a.fieldTypes.split(",")[s]:"string"}function a(e,t){var n,r=(null===(n=e.getMetadata())||void 0===n?void 0:n.fields).find((function(e){return e.name===t}));if(!r)return"string";var o=r.type;return"esriFieldTypeDate"===o?"date":["esriFieldTypeDouble","esriFieldTypeInteger","esriFieldTypeSingle","esriFieldTypeSmallInteger","esriFieldTypeOID"].includes(o)?"number":"string"}function s(e,t){var n,o=(null===(n=e.getMetadata())||void 0===n?void 0:n.fields).find((function(e){return e.name===t}));return o?(0,r.KX)(o.domain):null}},49567:(e,t,n)=>{"use strict";n.d(t,{p:()=>C});var r=n(74780),o=n(32031),i=n(59682),a=n(41108),s=n(95947),l=n(71104),c=n(89153),u=n(79778),d=n(44999),h=n(99937),p=n(69250),f=n(80309),g=n(66700),m=n(86266),y=n(88794),v=n(46187),b=n(42982);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t2&&void 0!==arguments[2])||arguments[2];g.vF.logTraceCore("ABSTRACT-GV-VECTOR - applyViewFilter");var a=this.getLayerConfig(),s=this.getOLLayer(),l=t.replaceAll(/\s{2,}/g," ").trim();a.legendFilterIsOff=!i,i&&(a.layerFilter=t);var c=(0,o.A)("".concat(null===(n=l)||void 0===n?void 0:n.replaceAll(/\s{2,}/g," ").trim()," ").matchAll(/(?<=^date\b\s')[\d/\-T\s:+Z]{4,25}(?=')|(?<=[(\s]date\b\s')[\d/\-T\s:+Z]{4,25}(?=')/gi));c.reverse(),c.forEach((function(e){var t=![20,25].includes(e[0].length),n=h.P.applyInputDateFormat(e[0],r.getExternalFragmentsOrder(),t);l="".concat(l.slice(0,e.index)).concat(n).concat(l.slice(e.index+e[0].length))}));try{var u=(0,m.WN)([{nodeType:p.Z6.unprocessedNode,nodeValue:l}]);a.filterEquation=u}catch(t){throw new Error("Invalid vector layer filter (".concat(t.message,").\nfilter = ").concat(this.getLayerFilter(e),"\ninternal filter = ").concat(l))}s.changed(),this.emitLayerFilterApplied({layerPath:e,filter:l})}},{key:"getBounds",value:function(e){return this.getOLSource().getExtent()}}],[{key:"calculateStyleForFeature",value:function(e,t,n,o,i,a){var s=e.getStyle(o)||{};return(0,m.nS)(t,s,n,i,a,(function(t,n){g.vF.logDebug("A new style has been created on-the-fly",t,e),e.setStyle(o,A(A({},s),(0,r.A)({},t,n)))}))}}])}(v.Z)},98663:(e,t,n)=>{"use strict";n.d(t,{M:()=>I});var r=n(80180),o=n(59682),i=n(41108),a=n(74780),s=n(64417),l=n.n(s),c=n(52780),u=n(42982),d=n(97905),h=n(80309),p=n(77109),f=n(37682),g=n(90271),m=n(28704),y=n(49567),v=n(81036),b=n(66700);function w(e,t,n){A(e,t),t.set(e,n)}function A(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function x(e,t){return e.get(C(e,t))}function S(e,t,n){return e.set(C(e,t),n),n}function C(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var E=new WeakMap,k=new WeakMap,T=new WeakMap,_=new WeakMap,O=new WeakMap,P=new WeakSet,I=function(){return(0,i.A)((function e(t){var n,r;(0,o.A)(this,e),A(n=this,r=P),r.add(n),(0,a.A)(this,"layerApi",void 0),(0,a.A)(this,"resultSet",{}),w(this,E,!1),w(this,k,[]),w(this,T,[]),w(this,_,void 0),w(this,O,void 0),this.layerApi=t,S(_,this,C(P,this,L).bind(this)),S(O,this,C(P,this,R).bind(this))}),[{key:"getMapId",value:function(){return this.layerApi.getMapId()}},{key:"registerLayerConfig",value:function(e){this.onRegisterLayerConfigCheck(e)&&!(e.layerPath in this.resultSet)&&(this.onRegisterLayerConfig(e),this.onPropagateToStore(this.resultSet[e.layerPath],"config-registration"),this.onLayerSetUpdatedProcess(e.layerPath)),C(P,this,M).call(this,e)}},{key:"onRegisterLayerConfigCheck",value:function(e){return x(E,this)}},{key:"onRegisterLayerConfig",value:function(e){this.resultSet[e.layerPath]={layerPath:e.layerPath,layerStatus:e.layerStatus,layerName:(0,u.getLocalizedValue)(e.layerName,h.K.getDisplayLanguage(this.getMapId()))},e.onLayerStatusChanged(x(_,this))}},{key:"registerLayer",value:(e=(0,r.A)(l().mark((function e(t,n){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,u.whenThisThen)((function(){var e;return"loaded"===(null===(e=t.getLayerConfig(n))||void 0===e?void 0:e.layerStatus)}),2e4);case 2:if(!x(k,this).includes(n)){e.next=4;break}return e.abrupt("return");case 4:this.onRegisterLayerCheck(t,n)&&(this.onRegisterLayer(t,n),this.onPropagateToStore(this.resultSet[n],"layer-registration"),this.onLayerSetUpdatedProcess(n));case 5:case"end":return e.stop()}}),e,this)}))),function(t,n){return e.apply(this,arguments)})},{key:"onRegisterLayerCheck",value:function(e,t){var n;return"group"!==(null===(n=this.layerApi.getGeoviewLayerHybrid(t))||void 0===n||null===(n=n.getLayerConfig(t))||void 0===n?void 0:n.entryType)}},{key:"onRegisterLayer",value:function(e,t){var n=(0,u.getLocalizedValue)(e.getLayerName(t),h.K.getDisplayLanguage(this.getMapId()));t in this.resultSet?(this.resultSet[t].layerStatus=e.getLayerStatus(t),this.resultSet[t].layerName=n):this.resultSet[t]={layerPath:t,layerStatus:e.getLayerStatus(t),layerName:n},x(k,this).push(t),e.onLayerNameChanged(x(O,this))}},{key:"unregister",value:function(e){this.onUnregisterLayerConfig(this.layerApi.getLayerEntryConfig(e)),this.onUnregisterLayer(this.layerApi.getGeoviewLayerHybrid(e)),this.onDeleteFromStore(e),delete this.resultSet[e],this.onLayerSetUpdatedProcess(e)}},{key:"onUnregisterLayerConfig",value:function(e){null==e||e.offLayerStatusChanged(x(_,this))}},{key:"onUnregisterLayer",value:function(e){null==e||e.offLayerNameChanged(x(O,this))}},{key:"onProcessLayerStatusChanged",value:function(e,t){this.resultSet[e.layerPath].layerStatus=t,this.resultSet[e.layerPath].layerName=(0,u.getLocalizedValue)(e.layerName||e.geoviewLayerConfig.geoviewLayerName,h.K.getDisplayLanguage(this.getMapId()))}},{key:"onProcessNameChanged",value:function(e,t){this.resultSet[e].layerName=t}},{key:"onLayerSetUpdatedProcess",value:function(e){C(P,this,j).call(this,{layerPath:e,resultSet:this.resultSet})}},{key:"onLayerSetUpdated",value:function(e){c.A.onEvent(x(T,this),e)}},{key:"offLayerSetUpdated",value:function(e){c.A.offEvent(x(T,this),e)}}],[{key:"queryLayerFeatures",value:function(e,t,n,r){return t.getFeatureInfo(n,e.layerPath,r)}},{key:"isQueryableType",value:function(e){return e instanceof f.W||e instanceof y.p||e instanceof p.zt||e instanceof m.Y||e instanceof g.GB||e instanceof v.V}},{key:"isSourceQueryable",value:function(e,t){var n;return!(!1===(null===(n=e.getLayerConfig(t))||void 0===n||null===(n=n.source)||void 0===n||null===(n=n.featureInfo)||void 0===n?void 0:n.queryable))}},{key:"isStateQueryable",value:function(e,t){var n;return!(!1===(null===(n=e.getLayerConfig(t))||void 0===n||null===(n=n.initialSettings)||void 0===n||null===(n=n.states)||void 0===n?void 0:n.queryable))}}]);var e}();function M(e){var t=this;e.onLayerStatusChanged((function(){try{if("loaded"===e.layerStatus){if(e.parentLayerConfig){var n=e.parentLayerConfig.listOfLayerEntryConfig.map((function(e){return t.layerApi.getLayerEntryConfig(e.layerPath)})).filter((function(e){return e}));if(d.c.allLayerStatusAreGreaterThanOrEqualTo("loaded",n)){var r=t.layerApi.getLayerEntryConfig(e.parentLayerConfig.layerPath);r&&(r.layerStatus="loaded")}}var o=t.layerApi.getGeoviewLayerHybrid(e.layerPath);o&&t.registerLayer(o,e.layerPath).catch((function(e){b.vF.logPromiseFailed("in registerLayer in registerLayerConfig",e)}))}}catch(e){b.vF.logError("Error trying to register the layer coming from the layer config",e)}}))}function L(e,t){try{this.onProcessLayerStatusChanged(e,t.layerStatus),this.resultSet[e.layerPath]&&this.onPropagateToStore(this.resultSet[e.layerPath],"layerStatus"),this.onLayerSetUpdatedProcess(e.layerPath)}catch(t){b.vF.logError("CAUGHT in handleLayerStatusChanged",e.layerPath,t)}}function R(e,t){try{this.resultSet[t.layerPath]&&(this.onProcessNameChanged(t.layerPath,(0,u.getLocalizedValue)(t.layerName,h.K.getDisplayLanguage(this.getMapId()))),this.onPropagateToStore(this.resultSet[t.layerPath],"layerName"),this.onLayerSetUpdatedProcess(t.layerPath))}catch(e){b.vF.logError("CAUGHT in handleLayerStatusChanged",t.layerPath,e)}}function j(e){c.A.emitEvent(this,x(T,this),e)}},89266:(e,t,n)=>{"use strict";n.d(t,{P:()=>A});var r=n(80180),o=n(59682),i=n(41108),a=n(95947),s=n(71104),l=n(89153),c=n(79778),u=n(64417),d=n.n(u),h=n(46397),p=n(90271),f=n(81036),g=n(98663);function m(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,y()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function(){return!!e})()}function v(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function b(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var w=new WeakSet,A=function(e){function t(){var e;(0,o.A)(this,t);for(var n=arguments.length,r=new Array(n),i=0;i1&&void 0!==a[1]?a[1]:"all",!this.resultSet[t]){e.next=21;break}if(this.resultSet[t].eventListenerEnabled){e.next=4;break}return e.abrupt("return",Promise.resolve());case 4:if(!(r=this.layerApi.getGeoviewLayerHybrid(t))){e.next=18;break}if(g.M.isStateQueryable(r,t)){e.next=8;break}return e.abrupt("return",Promise.resolve());case 8:return this.resultSet[t].queryStatus="processing",b(w,this,x).call(this,this.resultSet[t]),o=g.M.queryLayerFeatures(this.resultSet[t],r,n,t),e.next=13,o;case 13:i=e.sent,this.resultSet[t].features=i,this.resultSet[t].queryStatus=i?"processed":"error",e.next=20;break;case 18:this.resultSet[t].features=null,this.resultSet[t].queryStatus="error";case 20:b(w,this,x).call(this,this.resultSet[t]);case 21:return e.abrupt("return",this.resultSet);case 22:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})}]);var n}(g.M);function x(e){"loaded"===e.layerStatus&&h.F.propagateFeatureInfoToStore(this.getMapId(),e)}},22976:(e,t,n)=>{"use strict";n.d(t,{I:()=>C});var r=n(80180),o=n(59682),i=n(41108),a=n(95947),s=n(71104),l=n(89153),c=n(79778),u=n(64417),d=n.n(u),h=n(36149),p=n(52780),f=n(66700),g=n(98663),m=n(42982);function y(e,t,n){return t=(0,l.A)(t),(0,a.A)(e,v()?Reflect.construct(t,n||[],(0,l.A)(e).constructor):t.apply(e,n))}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(v=function(){return!!e})()}function b(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function w(e,t){return e.get(A(e,t))}function A(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var x=new WeakMap,S=new WeakSet,C=function(e){function t(e){var n,r,i;return(0,o.A)(this,t),n=y(this,t,[e]),b(r=n,i=S),i.add(r),function(e,t,n){b(e,t),t.set(e,n)}(n,x,[]),n.layerApi.mapViewer.onMapSingleClick((function(e,t){n.queryLayers(t.lnglat).catch((function(e){f.vF.logPromiseFailed("queryLayers in onMapSingleClick in FeatureInfoLayerSet",e)}))})),n}return(0,c.A)(t,e),(0,i.A)(t,[{key:"onRegisterLayerCheck",value:function(e,n){return(0,s.A)((0,l.A)(t.prototype),"onRegisterLayerCheck",this).call(this,e,n)&&g.M.isQueryableType(e)&&g.M.isSourceQueryable(e,n)}},{key:"onRegisterLayer",value:function(e,n){(0,s.A)((0,l.A)(t.prototype),"onRegisterLayer",this).call(this,e,n),this.resultSet[n].eventListenerEnabled=!0,this.resultSet[n].queryStatus="processed",this.resultSet[n].features=[]}},{key:"onPropagateToStore",value:function(e,t){A(S,this,E).call(this,e,"layerName"===t?"name":"click")}},{key:"onDeleteFromStore",value:function(e){h.h.deleteFeatureInfo(this.getMapId(),e)}},{key:"queryLayers",value:(n=(0,r.A)(d().mark((function e(t){var n,r=this;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=[],Object.keys(this.resultSet).forEach((function(e){if(r.resultSet[e].eventListenerEnabled){var o=r.layerApi.getGeoviewLayerHybrid(e);if(o){if(!g.M.isStateQueryable(o,e))return;r.resultSet[e].features=void 0,r.resultSet[e].queryStatus="processing",A(S,r,E).call(r,r.resultSet[e]);var i=g.M.queryLayerFeatures(r.resultSet[e],o,"at_long_lat",t);n.push(i),i.then((function(t){null!=t&&t.length&&r.patchMissingMetadataIfNecessary(e,t[0]),r.resultSet[e].features=t,r.resultSet[e].queryStatus=t?"processed":"error",A(S,r,E).call(r,r.resultSet[e])})).catch((function(e){f.vF.logPromiseFailed("queryLayerFeatures in queryLayers in FeatureInfoLayerSet",e)}))}else r.resultSet[e].features=null,r.resultSet[e].queryStatus="error"}})),e.next=5,Promise.allSettled(n);case 5:return A(S,this,T).call(this,{coordinate:t,resultSet:this.resultSet,eventType:"click"}),e.abrupt("return",this.resultSet);case 7:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"enableClickListener",value:function(e){var t=this;e?A(S,this,k).call(this,e,!0):Object.keys(this.resultSet).forEach((function(e){A(S,t,k).call(t,e,!0)}))}},{key:"disableClickListener",value:function(e){var t=this;e?A(S,this,k).call(this,e,!1):Object.keys(this.resultSet).forEach((function(e){A(S,t,k).call(t,e,!1)}))}},{key:"isClickListenerEnabled",value:function(e){var t,n,r=this;return e?!(null===(t=this.resultSet)||void 0===t||null===(t=t[e])||void 0===t||!t.eventListenerEnabled):(Object.keys(this.resultSet).forEach((function(e,t){0===t&&(n=r.resultSet[e].eventListenerEnabled),n!==r.resultSet[e].eventListenerEnabled&&(n=void 0)})),n)}},{key:"patchMissingMetadataIfNecessary",value:function(e,t){var n,r=this.layerApi.getLayerEntryConfig(e);r.source||(r.source={}),null!==(n=r.source)&&void 0!==n&&n.featureInfo||(r.source.featureInfo={queryable:!0});var o=r.source.featureInfo;if(!o.outfields){var i,a,s=Object.keys(t.fieldInfo);o.outfields=(0,m.createLocalizedString)(s.join(","));var l=[];s.forEach((function(e){var n;null!==(n=t.fieldInfo[e])&&void 0!==n&&n.alias&&l.push(t.fieldInfo[e].alias)}));var c=l.join(",");null!==(i=o.aliasFields)&&void 0!==i&&null!==(i=i.en)&&void 0!==i&&i.split(",").length||c.length!==s.length?null!==(a=o.aliasFields)&&void 0!==a&&null!==(a=a.en)&&void 0!==a&&a.split(",").length||(o.aliasFields=o.outfields):o.aliasFields=(0,m.createLocalizedString)(c);var u=s.map((function(e){var n;if(null!==(n=t.fieldInfo[e])&&void 0!==n&&n.dataType)return t.fieldInfo[e].dataType}));o.fieldTypes=u.join(",")}}},{key:"onQueryEnded",value:function(e){p.A.onEvent(w(x,this),e)}},{key:"offQueryEnded",value:function(e){p.A.offEvent(w(x,this),e)}}]);var n}(g.M);function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"click";h.h.propagateFeatureInfoToStore(this.getMapId(),t,e).catch((function(e){f.vF.logPromiseFailed("FeatureInfoEventProcessor.propagateToStore in FeatureInfoLayerSet",e)}))}function k(e,t){this.resultSet[e].eventListenerEnabled=t,this.resultSet[e].features=[],A(S,this,E).call(this,this.resultSet[e])}function T(e){p.A.emitEvent(this,w(x,this),e)}},41762:(e,t,n)=>{"use strict";n.d(t,{E:()=>v});var r=n(59682),o=n(41108),i=n(95947),a=n(71104),s=n(89153),l=n(79778),c=n(44481),u=n.n(c),d=n(66700),h=n(90271),p=n(81036),f=n(98663),g=n(12923);function m(e,t,n){return t=(0,s.A)(t),(0,i.A)(e,y()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(y=function(){return!!e})()}var v=function(e){function t(e){var n;return(0,r.A)(this,t),n=m(this,t,[e]),e.mapViewer.onMapPointerMove(u()((function(e,t){n.queryLayers(t.pixel)}),750).bind(n)),n}return(0,l.A)(t,e),(0,o.A)(t,[{key:"onRegisterLayerCheck",value:function(e,n){return(0,a.A)((0,s.A)(t.prototype),"onRegisterLayerCheck",this).call(this,e,n)&&f.M.isQueryableType(e)&&!(e instanceof h.GB)&&!(e instanceof p.V)&&f.M.isSourceQueryable(e,n)}},{key:"onRegisterLayer",value:function(e,n){(0,a.A)((0,s.A)(t.prototype),"onRegisterLayer",this).call(this,e,n),this.resultSet[n].eventListenerEnabled=!0,this.resultSet[n].queryStatus="processed",this.resultSet[n].feature=void 0}},{key:"onPropagateToStore",value:function(e,t){}},{key:"onDeleteFromStore",value:function(e){}},{key:"queryLayers",value:function(e){var t=this;Object.keys(this.resultSet).forEach((function(n){if(t.resultSet[n].eventListenerEnabled){var r=t.layerApi.getGeoviewLayerHybrid(n);if(r){if(!f.M.isStateQueryable(r,n))return;t.resultSet[n].feature=void 0,t.resultSet[n].queryStatus="init",g.d.setMapHoverFeatureInfo(t.getMapId(),t.resultSet[n].feature),f.M.queryLayerFeatures(t.resultSet[n],r,"at_pixel",e).then((function(e){if(null===e)t.resultSet[n].queryStatus="error",t.resultSet[n].feature=null;else{if(null!=e&&e.length){var r=e[0].nameField||Object.entries(e[0].fieldInfo)[0],o=e[0].fieldInfo[r];t.resultSet[n].feature={featureIcon:e[0].featureIcon,fieldInfo:o,geoviewLayerType:e[0].geoviewLayerType,nameField:r}}else t.resultSet[n].feature=void 0;t.resultSet[n].queryStatus="processed"}g.d.setMapHoverFeatureInfo(t.getMapId(),t.resultSet[n].feature)})).catch((function(e){d.vF.logPromiseFailed("queryLayerFeatures in queryLayers in hoverFeatureInfoLayerSet",e)}))}else t.resultSet[n].feature=null,t.resultSet[n].queryStatus="error",g.d.setMapHoverFeatureInfo(t.getMapId(),t.resultSet[n].feature)}}))}},{key:"enableHoverListener",value:function(e){var t=this;e?this.resultSet[e].eventListenerEnabled=!0:Object.keys(this.resultSet).forEach((function(e){t.resultSet[e].eventListenerEnabled=!0}))}},{key:"disableHoverListener",value:function(e){var t=this;e?this.resultSet[e].eventListenerEnabled=!1:Object.keys(this.resultSet).forEach((function(e){t.resultSet[e].eventListenerEnabled=!1}))}},{key:"isHoverListenerEnabled",value:function(e){var t,n,r=this;return e?!(null===(t=this.resultSet)||void 0===t||null===(t=t[e])||void 0===t||!t.eventListenerEnabled):(Object.keys(this.resultSet).forEach((function(e,t){0===t&&(n=r.resultSet[e].eventListenerEnabled),n!==r.resultSet[e].eventListenerEnabled&&(n=void 0)})),n)}}])}(f.M)},76329:(e,t,n)=>{"use strict";n.d(t,{C:()=>v});var r=n(59682),o=n(41108),i=n(95947),a=n(71104),s=n(89153),l=n(79778),c=n(57029),u=n(66700),d=n(98663);function h(e,t,n){return t=(0,s.A)(t),(0,i.A)(e,p()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}function f(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function g(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var m=new WeakMap,y=new WeakSet,v=function(e){function t(e){var n,o,i;return(0,r.A)(this,t),n=h(this,t,[e]),f(o=n,i=y),i.add(o),function(e,t,n){f(e,t),t.set(e,n)}(n,m,void 0),function(e,t,n){e.set(g(e,t),n)}(m,n,g(y,n,x).bind(n)),n}return(0,l.A)(t,e),(0,o.A)(t,[{key:"onRegisterLayerConfigCheck",value:function(e){return!0}},{key:"onRegisterLayerCheck",value:function(e,t){return!0}},{key:"onRegisterLayerConfig",value:function(e){(0,a.A)((0,s.A)(t.prototype),"onRegisterLayerConfig",this).call(this,e),this.resultSet[e.layerPath].legendQueryStatus="init",g(y,this,w).call(this,e.layerPath,!1)}},{key:"onRegisterLayer",value:function(e,n){var r,o;(0,a.A)((0,s.A)(t.prototype),"onRegisterLayer",this).call(this,e,n),e.onLayerStyleChanged((o=this,(r=m).get(g(r,o))))}},{key:"onProcessLayerStatusChanged",value:function(e,n){(0,a.A)((0,s.A)(t.prototype),"onProcessLayerStatusChanged",this).call(this,e,n),g(y,this,w).call(this,e.layerPath,!1)}},{key:"onPropagateToStore",value:function(e,t){g(y,this,b).call(this,e)}},{key:"onDeleteFromStore",value:function(e){c.K.deleteLayerFromLegendLayers(this.getMapId(),e)}}])}(d.M);function b(e){c.K.propagateLegendToStore(this.getMapId(),e)}function w(e,t){var n=this,r=this.layerApi.getGeoviewLayerHybrid(e),o=null==r?void 0:r.getLayerConfig(e);if(r&&o&&"querying"!==this.resultSet[e].legendQueryStatus&&(g(y,this,A).call(this,o)||t)){this.resultSet[e].legendQueryStatus="querying",g(y,this,b).call(this,this.resultSet[e]);var i=r.queryLegend(e);null==i||i.then((function(t){t&&(n.resultSet[e].legendQueryStatus="queried",n.resultSet[e].data=t,g(y,n,b).call(n,n.resultSet[e]),n.onLayerSetUpdatedProcess(e))})).catch((function(e){u.vF.logPromiseFailed("legendPromise in #checkQueryLegend in LegendsLayerSet",e)}))}}function A(e){return!(null==e||!e.isGreaterThanOrEqualTo("processed"))&&"init"===this.resultSet[e.layerPath].legendQueryStatus}function x(e,t){g(y,this,w).call(this,t.layerPath,!0)}},99002:(e,t,n)=>{"use strict";n.d(t,{A:()=>St});var r=n(80180),o=n(32031),i=n(59682),a=n(41108),s=n(74780),l=n(64417),c=n.n(l),u=n(76352),d=n(86253),h=n(73846),p=n(9063),f=n(31421),g=n(83605),m=n(98016),y=n(92259),v=n(84830),b=n(12923),w=n(67504),A=n(42982),x=n(66700),S=n(55231),C=n(57739),E=n(78673),k=n(90271),T=n(77109),_=n(77284),O=n(81381),P=n(16146),I=n(34849),M=n(15268),L=n(18113),R=n(95720),j=n(6440),F=n(41762),D=n(89266),N=n(76329),z=n(22976),B=n(25938),V=n(7031),$=n(52780),G=n(10599),U=n(10223),W=n(59387),q=n(34536),H=n(79272),Y=n(28704),K=n(78364),X=n(95947),Z=n(71104),J=n(89153),Q=n(79778),ee=n(28596),te=n(95841),ne=n(67475),re=n(37450),oe=n(80309),ie=n(86266),ae=n(95875);function se(e,t,n){return t=(0,J.A)(t),(0,X.A)(e,le()?Reflect.construct(t,n||[],(0,J.A)(e).constructor):t.apply(e,n))}function le(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(le=function(){return!!e})()}function ce(e,t){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function ue(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var de=new WeakSet,he=function(e){function t(e,n,r){var o;(0,i.A)(this,t),ce(o=se(this,t,[e,n,r]),de);var a={source:n};return ae.z.initOptionsWithInitialSettings(a,r),o.olLayer=new ee.A(a),o}return(0,Q.A)(t,e),(0,a.A)(t,[{key:"getOLLayer",value:function(){return(0,Z.A)((0,J.A)(t.prototype),"getOLLayer",this).call(this)}},{key:"getOLSource",value:function(){return(0,Z.A)((0,J.A)(t.prototype),"getOLSource",this).call(this)}},{key:"getLayerConfig",value:function(){return(0,Z.A)((0,J.A)(t.prototype),"getLayerConfig",this).call(this)}},{key:"getLegend",value:(n=(0,r.A)(c().mark((function e(){var t,n,r,o,i,a,s;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.getLayerConfig(),e.prev=1,e.next=4,ue(de,this,pe).call(this,t);case 4:if(n=e.sent){e.next=8;break}return r={type:re.y6.IMAGE_STATIC,legend:null},e.abrupt("return",r);case 8:return e.next=10,(0,ie.yt)(n);case 10:if(!(o=e.sent)){e.next=19;break}return(i=document.createElement("canvas")).width=o.width,i.height=o.height,i.getContext("2d").drawImage(o,0,0),a={type:re.y6.IMAGE_STATIC,legend:i},e.abrupt("return",a);case 19:return s={type:re.y6.IMAGE_STATIC,legend:null},e.abrupt("return",s);case 23:return e.prev=23,e.t0=e.catch(1),x.vF.logError("Error getting legend for ".concat(t.layerPath),e.t0),e.abrupt("return",null);case 27:case"end":return e.stop()}}),e,this,[[1,23]])}))),function(){return n.apply(this,arguments)})},{key:"getBounds",value:function(e){var t,n=this.getOLSource().getProjection()||void 0,r=null===(t=this.getOLSource())||void 0===t?void 0:t.getImageExtent();return r&&(r=this.getMapViewer().convertExtentFromProjToMapProj(r,n)),r}}]);var n}(ae.z);function pe(e){var t=this;return new Promise((function(n){var r=(0,A.getLocalizedValue)(e.source.dataAccessPath,oe.K.getDisplayLanguage(t.getMapId()));r?(r=r.toLowerCase().startsWith("http:")?"https".concat(r.slice(4)):r,te.A.get(r,{responseType:"blob",withCredentials:!1}).then((function(e){var t;n((t=(0,ne.KX)(e.data),new Promise((function(e){var n=new FileReader;n.onloadend=function(){return e(n.result)},n.onerror=function(){return e(null)},n.readAsDataURL(t)}))))})).catch((function(){return n(null)}))):n(null)}))}var fe=n(81036),ge=n(12791),me=n(46187);function ye(e,t,n){return t=(0,J.A)(t),(0,X.A)(e,ve()?Reflect.construct(t,n||[],(0,J.A)(e).constructor):t.apply(e,n))}function ve(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ve=function(){return!!e})()}var be=function(e){function t(){return(0,i.A)(this,t),ye(this,t,arguments)}return(0,Q.A)(t,e),(0,a.A)(t,[{key:"getOLLayer",value:function(){return(0,Z.A)((0,J.A)(t.prototype),"getOLLayer",this).call(this)}}])}(me.Z),we=n(88794);function Ae(e,t,n){return t=(0,J.A)(t),(0,X.A)(e,xe()?Reflect.construct(t,n||[],(0,J.A)(e).constructor):t.apply(e,n))}function xe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(xe=function(){return!!e})()}var Se=function(e){function t(e,n,r){var o;(0,i.A)(this,t),o=Ae(this,t,[e,n,r]);var a={source:n};return be.initOptionsWithInitialSettings(a,r),o.olLayer=new ge.A(a),o}return(0,Q.A)(t,e),(0,a.A)(t,[{key:"getOLLayer",value:function(){return(0,Z.A)((0,J.A)(t.prototype),"getOLLayer",this).call(this)}},{key:"getOLSource",value:function(){return(0,Z.A)((0,J.A)(t.prototype),"getOLSource",this).call(this)}},{key:"getLayerConfig",value:function(){return(0,Z.A)((0,J.A)(t.prototype),"getLayerConfig",this).call(this)}},{key:"getFieldType",value:function(e){return(0,we.Vk)(this.getLayerConfig(),e,oe.K.getDisplayLanguage(this.getMapId()))}},{key:"getBounds",value:function(e){var t,n,r=this.getOLLayer(),o=(null===(t=this.getOLSource())||void 0===t?void 0:t.getProjection())||void 0,i=null==r||null===(n=r.getSource())||void 0===n||null===(n=n.getTileGrid())||void 0===n?void 0:n.getExtent();return i&&(i=this.getMapViewer().convertExtentFromProjToMapProj(i,o)),i}}])}(be),Ce=n(49567);function Ee(e,t,n){return t=(0,J.A)(t),(0,X.A)(e,ke()?Reflect.construct(t,n||[],(0,J.A)(e).constructor):t.apply(e,n))}function ke(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ke=function(){return!!e})()}var Te=function(e){function t(e,n,r){return(0,i.A)(this,t),Ee(this,t,[e,n,r])}return(0,Q.A)(t,e),(0,a.A)(t,[{key:"getOLLayer",value:function(){return(0,Z.A)((0,J.A)(t.prototype),"getOLLayer",this).call(this)}},{key:"getLayerConfig",value:function(){return(0,Z.A)((0,J.A)(t.prototype),"getLayerConfig",this).call(this)}},{key:"getFieldType",value:function(e){return(0,we.UB)(this.getLayerConfig(),e)}},{key:"getFieldDomain",value:function(e){return(0,we.k7)(this.getLayerConfig(),e)}}])}(Ce.p);function _e(e,t,n){return t=(0,J.A)(t),(0,X.A)(e,Oe()?Reflect.construct(t,n||[],(0,J.A)(e).constructor):t.apply(e,n))}function Oe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Oe=function(){return!!e})()}var Pe=function(e){function t(e,n,r){return(0,i.A)(this,t),_e(this,t,[e,n,r])}return(0,Q.A)(t,e),(0,a.A)(t,[{key:"getLayerConfig",value:function(){return(0,Z.A)((0,J.A)(t.prototype),"getLayerConfig",this).call(this)}}])}(Ce.p);function Ie(e,t,n){return t=(0,J.A)(t),(0,X.A)(e,Me()?Reflect.construct(t,n||[],(0,J.A)(e).constructor):t.apply(e,n))}function Me(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Me=function(){return!!e})()}var Le=function(e){function t(e,n,r){return(0,i.A)(this,t),Ie(this,t,[e,n,r])}return(0,Q.A)(t,e),(0,a.A)(t,[{key:"getLayerConfig",value:function(){return(0,Z.A)((0,J.A)(t.prototype),"getLayerConfig",this).call(this)}},{key:"getFieldType",value:function(e){var t=this.getLayerConfig().getMetadata()[e].type.split(":").slice(-1)[0];return"date"===t?"date":["int","number"].includes(t)?"number":"string"}}])}(Ce.p),Re=n(36116);function je(e,t,n){return t=(0,J.A)(t),(0,X.A)(e,Fe()?Reflect.construct(t,n||[],(0,J.A)(e).constructor):t.apply(e,n))}function Fe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Fe=function(){return!!e})()}var De=function(e){function t(){return(0,i.A)(this,t),je(this,t,arguments)}return(0,Q.A)(t,e),(0,a.A)(t,[{key:"getOLLayer",value:function(){return(0,Z.A)((0,J.A)(t.prototype),"getOLLayer",this).call(this)}},{key:"getOLSource",value:function(){return(0,Z.A)((0,J.A)(t.prototype),"getOLSource",this).call(this)}},{key:"getBounds",value:function(e){var t,n=this.getOLSource().getProjection()||void 0,r=null===(t=this.getOLSource().getTileGrid())||void 0===t?void 0:t.getExtent();return r&&(r=this.getMapViewer().convertExtentFromProjToMapProj(r,n)),r}}])}(me.Z);function Ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ze(e,t,n){return t=(0,J.A)(t),(0,X.A)(e,Be()?Reflect.construct(t,n||[],(0,J.A)(e).constructor):t.apply(e,n))}function Be(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Be=function(){return!!e})()}var Ve=function(e){function t(e,n,r){var o;(0,i.A)(this,t),o=ze(this,t,[e,n,r]);var a={source:n};return De.initOptionsWithInitialSettings(a,r),o.olLayer=new Re.A(function(e){for(var t=1;t0;return this.getGeoviewLayers().forEach((function(t){t.allLayerStatusAreGreaterThanOrEqualTo(e)||(null==n||n(t),r=!1)})),[r,Object.keys(ut(gt,this)).length]}},{key:"checkFeatureInfoLayerResultSetsReady",value:function(e){var t=this,n=!0;return this.getLayerEntryConfigs().forEach((function(r){var o;if(r instanceof H.d&&null!==(o=r.source)&&void 0!==o&&null!==(o=o.featureInfo)&&void 0!==o&&o.queryable){var i=t.featureInfoLayerSet.resultSet;Object.keys(i).includes(r.layerPath)||(null==e||e(r),n=!1)}})),n}},{key:"removeAllGeoviewLayers",value:function(){var e=this;this.getGeoviewLayersHybrid().forEach((function(t){e.removeLayerUsingPath(t.getGeoviewLayerId())}))}},{key:"removeLayerUsingPath",value:function(e){var t,n,r=this,o=e.split("/"),i=ut(ft,this)[e]?null===(t=ut(ft,this)[e].parentLayerConfig)||void 0===t?void 0:t.listOfLayerEntryConfig.findIndex((function(t){return t===ut(ft,r)[e]})):void 0,a=null===(n=ut(ft,this)[e])||void 0===n||null===(n=n.parentLayerConfig)||void 0===n?void 0:n.listOfLayerEntryConfig;if(this.getLayerEntryConfigIds().forEach((function(t){t.startsWith(e)&&(r.getOLLayer(t)&&r.mapViewer.map.removeLayer(r.getOLLayer(t)),r.unregisterLayerConfig(r.getLayerEntryConfig(t)),delete ut(ft,r)[e])})),a&&a.splice(i,1),ut(gt,this)[o[0]]){var s=ut(gt,this)[o[0]];if(1===o.length||2===o.length&&1===s.listOfLayerEntryConfig.length){var l;null===(l=s.olRootLayer)||void 0===l||l.dispose(),delete ut(gt,this)[o[0]];var c=this.mapViewer.mapFeaturesConfig;c.map.listOfGeoviewLayerConfig&&(c.map.listOfGeoviewLayerConfig=c.map.listOfGeoviewLayerConfig.filter((function(t){return t.geoviewLayerId!==e})))}else if(2===o.length){var u=s.listOfLayerEntryConfig.filter((function(e){return e.layerId!==o[1]}));s.listOfLayerEntryConfig=u}else for(var d=s.listOfLayerEntryConfig.find((function(e){return e.layerId===o[1]})),h=function(e){if(e===o.length-1&&d){var t=d.listOfLayerEntryConfig.filter((function(t){return t.layerId!==o[e]}));s.listOfLayerEntryConfig=t}else d&&(d=d.listOfLayerEntryConfig.find((function(t){return t.layerId===o[e]})))},p=1;p0&&void 0!==arguments[0]?arguments[0]:Object.keys(ut(ft,this)),n=[];return t.forEach((function(t){Object.keys(ut(ft,e)).filter((function(e){return e.startsWith(t)})).forEach((function(t){var r=st.K.getLayerBounds(e.getMapId(),t);!n.length&&r?n=r:r&&(n=(0,V.getMinOrMaxExtents)(n,r))}))})),n}},{key:"refreshLayers",value:function(){var e=this;this.getGeoviewLayers().forEach((function(t){t.olRootLayer&&e.refreshBaseLayer(t.olRootLayer)}))}},{key:"refreshBaseLayer",value:function(e){var t=this,n=e.get("layers");n?n.forEach((function(e){t.refreshBaseLayer(e)})):e.get("source").refresh()}},{key:"setItemVisibility",value:function(e,t,n){var r,o,i,a,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],l=this.getGeoviewLayerHybrid(e);if(n&&!b.d.getMapVisibilityFromOrderedLayerInfo(this.getMapId(),e)&&b.d.setOrToggleMapLayerVisibility(this.getMapId(),e,!0),"classBreaks"===(null==l||null===(r=l.getStyle(e))||void 0===r||null===(r=r[t.geometryType])||void 0===r?void 0:r.styleType)){var c=l.getStyle(e)[t.geometryType],u=c.classBreakStyleInfo.find((function(e){return e.label===t.name}));u?u.visible=n:c.defaultVisible=n}else if("uniqueValue"===(null==l||null===(o=l.getStyle(e))||void 0===o||null===(o=o[t.geometryType])||void 0===o?void 0:o.styleType)){var d=l.getStyle(e)[t.geometryType],h=d.uniqueValueStyleInfo.find((function(e){return e.label===t.name}));h?h.visible=n:d.defaultVisible=n}s&&st.K.setItemVisibility(this.getMapId(),t,n),null===(i=(a=this.getGeoviewLayerHybrid(e)).applyViewFilter)||void 0===i||i.call(a,e,""),ht(xt,this,zt).call(this,{layerPath:e,itemName:t.name,visibility:n})}},{key:"setAllLayersVisibility",value:function(e){var t=this;this.getLayerEntryConfigIds().forEach((function(n){t.setOrToggleLayerVisibility(n,e)}))}},{key:"setOrToggleLayerVisibility",value:function(e,t){b.d.setOrToggleMapLayerVisibility(this.getMapId(),e,t)}},{key:"setLayerName",value:function(e,t){var n=this.getGeoviewLayerHybrid(e);n?n.setLayerName(e,(0,A.createLocalizedString)(t)):x.vF.logError("Unable to find layer ".concat(e))}},{key:"redefineFeatureFields",value:function(e,t,n){var r,o=ut(ft,this)[e];o?null!==(r=o.source)&&void 0!==r&&r.featureInfo&&!1!==o.source.featureInfo.queryable?o.source.featureInfo[n]=(0,A.createLocalizedString)(t):x.vF.logError("".concat(e," is not queryable")):x.vF.logError("Unable to find layer ".concat(e))}},{key:"calculateBounds",value:function(e){var t,n=this.getLayerEntryConfig(e),r=[];return n&&ht(xt,this,Ft).call(this,n,r),r.forEach((function(e){t=(0,V.getExtentUnionMaybe)(t,e)})),t}},{key:"onLayerAdded",value:function(e){$.A.onEvent(ut(bt,this),e)}},{key:"offLayerAdded",value:function(e){$.A.offEvent(ut(bt,this),e)}},{key:"onLayerRemoved",value:function(e){$.A.onEvent(ut(wt,this),e)}},{key:"offLayerRemoved",value:function(e){$.A.offEvent(ut(wt,this),e)}},{key:"onLayerItemVisibilityToggled",value:function(e){$.A.onEvent(ut(At,this),e)}},{key:"offLayerItemVisibilityToggled",value:function(e){$.A.offEvent(ut(At,this),e)}}],[{key:"generateArrayOfLayerOrderInfo",value:function(e){var t=[],n=function e(n,r){var o,i,a,s,l,c,u,d,h,p=r.endsWith(n.layerId)?r:"".concat(r,"/").concat(n.layerId),f={layerPath:p,visible:!1!==(null===(o=n.initialSettings)||void 0===o||null===(o=o.states)||void 0===o?void 0:o.visible),queryable:void 0===(null===(i=n.source)||void 0===i||null===(i=i.featureInfo)||void 0===i?void 0:i.queryable)||(null===(a=n.source)||void 0===a||null===(a=a.featureInfo)||void 0===a?void 0:a.queryable),hoverable:void 0===(null===(s=n.initialSettings)||void 0===s||null===(s=s.states)||void 0===s?void 0:s.hoverable)||(null===(l=n.initialSettings)||void 0===l||null===(l=l.states)||void 0===l?void 0:l.hoverable),legendCollapsed:void 0!==(null===(c=n.initialSettings)||void 0===c||null===(c=c.states)||void 0===c?void 0:c.legendCollapsed)&&(null===(u=n.initialSettings)||void 0===u||null===(u=u.states)||void 0===u?void 0:u.legendCollapsed)};(t.push(f),null!==(d=n.listOfLayerEntryConfig)&&void 0!==d&&d.length)&&(null===(h=n.listOfLayerEntryConfig)||void 0===h||h.forEach((function(t){e(t,p)})))};if(e.geoviewLayerId)if(e.listOfLayerEntryConfig.length>1){var r,o,i,a="".concat(e.geoviewLayerId,"/").concat(e.geoviewLayerId),s={layerPath:a,legendCollapsed:void 0!==(null===(r=e.initialSettings)||void 0===r||null===(r=r.states)||void 0===r?void 0:r.legendCollapsed)&&(null===(o=e.initialSettings)||void 0===o||null===(o=o.states)||void 0===o?void 0:o.legendCollapsed),visible:!1!==(null===(i=e.initialSettings)||void 0===i||null===(i=i.states)||void 0===i?void 0:i.visible)};t.push(s),e.listOfLayerEntryConfig.forEach((function(e){n(e,a)}))}else{var l=e.listOfLayerEntryConfig[0];n(l,l.layerPath)}else n(e,e.layerPath);return t}}]);var t}();function Ct(e){var t=this;return e&&e.length>0?e.filter((function(n,r){for(var o=0;oo)return ht(xt,t,Et).call(t,n),!1;return!0})):[]}function Et(e){G.FHQ.maps[this.getMapId()].notifications.showError("validation.layer.usedtwice",[e.geoviewLayerId,this.getMapId()]),x.vF.logError("Duplicate use of geoview layer identifier ".concat(e.geoviewLayerId," on map ").concat(this.getMapId()))}function kt(e){var t,n=this;if((0,C.vM)(e)?t=new C.kx(this.getMapId(),e):(0,E.P0)(e)?t=new E.OH(this.getMapId(),e):(0,j.WW)(e)?t=new j.pf(this.getMapId(),e):(0,k.Xx)(e)?t=new k.GB(this.getMapId(),e):(0,T.IU)(e)?t=new T.zt(this.getMapId(),e):(0,_.$f)(e)?t=new _.Uw(this.getMapId(),e):(0,O.yl)(e)?t=new O.$x(this.getMapId(),e):(0,P.HO)(e)?t=new P.S6(this.getMapId(),e):(0,I.OV)(e)?t=new I.dS(this.getMapId(),e):(0,M.dr)(e)?t=new M.ke(this.getMapId(),e):(0,L.ik)(e)?t=new L.nd(this.getMapId(),e):(0,R.c9)(e)&&(t=new R.RZ(this.getMapId(),e)),t){ut(gt,this)[t.geoviewLayerId]=t,t.getAllLayerEntryConfigs().forEach((function(e){x.vF.logDebug("Layer entry config being registered for ".concat(e.layerPath," on map ").concat(n.getMapId()),e),n.registerLayerConfigInit(e)})),t.onLayerEntryProcessed((function(e,t){x.vF.logDebug("Layer entry config processed for ".concat(t.config.layerPath," on map ").concat(n.getMapId()),t.config)})),t.onLayerRequesting((function(e,t){if(x.vF.logDebug("Requesting layer for ".concat(t.config.layerPath," on map ").concat(n.getMapId()),t.config),He.LAYERS_HYBRID_MODE){var r=ht(xt,n,Tt).call(n,n.getMapId(),e,t.source,t.config,t.extraConfig);if(r)return r.getOLLayer()}})),t.onLayerCreation((function(e,t){x.vF.logDebug("OpenLayer created for ".concat(t.config.layerPath," on map ").concat(n.getMapId()),t.config),ut(mt,n)[t.config.layerPath]=t.layer}));var r=new Promise((function(e,r){t.createGeoViewLayers().then((function(){ht(xt,n,_t).call(n,t),e(),ht(xt,n,Dt).call(n,{layer:t})})).catch((function(e){r(e)}))}));return{layer:t,promiseLayer:r}}}function Tt(e,t,n,r,o){var i,a,s,l;if(He.LAYERS_HYBRID_MODE&&(i=t.getLayerMetadata(r.layerPath),a=t.getTemporalDimension(r.layerPath),s=t.getStyle(r.layerPath),r instanceof H.d&&i&&r.setMetadata(i)),n instanceof u.A&&r instanceof Xe.q?l=new Y.Y(e,n,r):n instanceof u.A&&r instanceof et.Q?l=new K.o(e,n,r):n instanceof f.A&&r instanceof tt.V?l=new he(e,n,r):n instanceof d.A&&r instanceof Qe.Q?l=new fe.V(e,n,r,o.layerCapabilities):n instanceof g.A&&r instanceof Ke.h?l=new Te(e,n,r):n instanceof g.A&&r instanceof Ze.d?l=new Pe(e,n,r):n instanceof g.A&&r instanceof Je.j?l=new Le(e,n,r):n instanceof g.A&&r instanceof ot.q?l=new Ue(e,n,r):n instanceof g.A&&r instanceof it.A?l=new Ye(e,n,r):n instanceof h.A&&r instanceof nt.E?l=new Ve(e,n,r):n instanceof p.A&&r instanceof rt.m&&(l=new Se(e,n,r)),l)return ut(yt,this)[r.layerPath]=l,a&&l.setTemporalDimension(a),s&&l.setStyle(r.layerPath,s),l.init(),l;x.vF.logError("Unsupported GVLayer for ".concat(r.layerPath))}function _t(e){var t=this;0!==e.layerLoadError.length&&e.layerLoadError.forEach((function(e){var n=e.layer,r=e.loggerMessage;x.vF.logError(r),G.FHQ.maps[t.getMapId()].notifications.showError("validation.layer.loadfailed",[n,t.getMapId()])})),e.allLayerStatusAreGreaterThanOrEqualTo("error")||this.mapViewer.map.addLayer(e.olRootLayer),x.vF.logInfo("GeoView Layer ".concat(e.geoviewLayerId," added to map ").concat(this.getMapId()),e),b.d.setLayerZIndices(this.getMapId())}function Ot(e){if(-1===b.d.getMapIndexFromOrderedLayerInfo(this.getMapId(),e.layerPath)){var t=e.layerPath.split(".")[1];if(-1!==b.d.getMapIndexFromOrderedLayerInfo(this.getMapId(),t))b.d.replaceOrderedLayerInfo(this.getMapId(),e,t);else if(e.parentLayerConfig){var n=e.layerPath.split("/");n.pop();var r=n.join("/"),o=b.d.getMapIndexFromOrderedLayerInfo(this.getMapId(),r),i=b.d.getMapOrderedLayerInfo(this.getMapId()).filter((function(e){return e.layerPath.startsWith(r)})).length;-1!==o?b.d.addOrderedLayerInfo(this.getMapId(),e,o+i):b.d.addOrderedLayerInfo(this.getMapId(),e.parentLayerConfig)}else b.d.addOrderedLayerInfo(this.getMapId(),e)}}function Pt(e){return It.apply(this,arguments)}function It(){return(It=(0,r.A)(c().mark((function e(t){var n;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,A.whenThisThen)((function(){return t.isGreaterThanOrEqualTo("processed")}),Bt._);case 3:(n=this.getGeoviewLayerHybrid(t.layerPath))&&n.getIsTimeAware()&&U.t.checkInitTimeSliderLayerAndApplyFilters(this.getMapId(),t),e.next=9;break;case 7:e.prev=7,e.t0=e.catch(0);case 9:case"end":return e.stop()}}),e,this,[[0,7]])})))).apply(this,arguments)}function Mt(e){b.d.removeOrderedLayerInfo(this.getMapId(),e.layerPath)}function Lt(e){U.t.removeTimeSliderLayer(this.getMapId(),e.layerPath)}function Rt(e){W.U.removeGeochartChart(this.getMapId(),e.layerPath)}function jt(e){q.Z.removeLayerPath(this.getMapId(),e.layerPath)}function Ft(e,t){var n=this;if((0,S.KD)(e))e.listOfLayerEntryConfig.forEach((function(e){ht(xt,n,Ft).call(n,e,t)}));else{var r,o=null===(r=this.getGeoviewLayerHybrid(e.layerPath))||void 0===r?void 0:r.getBounds(e.layerPath);o&&t.push(o)}}function Dt(e){$.A.emitEvent(this,ut(bt,this),e)}function Nt(e){$.A.emitEvent(this,ut(wt,this),e)}function zt(e){$.A.emitEvent(this,ut(At,this),e)}He=St;var Bt={_:2e4};(0,s.A)(St,"LAYERS_HYBRID_MODE",!1)},98016:(e,t,n)=>{"use strict";n.d(t,{h:()=>B});var r=n(80180),o=n(59682),i=n(41108),a=n(64417),s=n.n(a),l=n(74780),c=n(95841),u=n(55231),d=n(37450),h=n(42982),p=n(66700),f=n(89027),g=n(73620),m=n(68046),y=n(58876),v=n(92023),b=n(83866),w=n(88030),A=n(7881),x=n(66734),S=n(38956);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t0){var i=r.layers[0];if(i){var a=i.layerType,s=i.layerEntries,l=i.name,c=i.url,C=i.id,E=i.serverType,k=i.isTimeAware,T=c.indexOf("FeatureServer")>-1;if(a!==d.y6.ESRI_DYNAMIC||T)if(T)for(var _=function(){var e="".concat(c,"/").concat(s[O].index),t={geoviewLayerId:"".concat(C),geoviewLayerName:(0,h.createLocalizedString)(l),metadataAccessPath:(0,h.createLocalizedString)(e),geoviewLayerType:d.y6.ESRI_FEATURE,isTimeAware:k,listOfLayerEntryConfig:[]};t.listOfLayerEntryConfig=s.map((function(e){return new v.h({geoviewLayerConfig:t,schemaTag:d.y6.ESRI_FEATURE,entryType:u.hJ.VECTOR,layerId:"".concat(e.index),source:{format:"EsriJSON",dataAccessPath:(0,h.createLocalizedString)(c)}})})),n.push(t)},O=0;O{"use strict";n.d(t,{H:()=>j});var r=n(59682),o=n(41108),i=n(74780),a=n(94994),s=n(44999),l=n(83605),c=n(13645),u=n(25899),d=n(22840),h=n(47616),p=n(20662),f=n(17567),g=n(24438),m=n(67087),y=n(4180),v=n(62767),b=n(1660),w=n(41218),A=n(66700);function x(e,t,n){S(e,t),t.set(e,n)}function S(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function C(e,t,n){return e.set(k(e,t),n),n}function E(e,t){return e.get(k(e,t))}function k(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var T=new WeakMap,_=new WeakMap,O=new WeakMap,P=new WeakMap,I=new WeakMap,M=new WeakMap,L=new WeakMap,R=new WeakSet,j=function(){return(0,o.A)((function e(t){var n,o;(0,r.A)(this,e),S(n=this,o=R),o.add(n),x(this,T,new l.A),(0,i.A)(this,"overlayLayer",void 0),x(this,_,"black"),x(this,O,new c.A({color:[0,0,0,.3]})),x(this,P,new u.Ay({stroke:new d.A({color:"black",width:1.25}),fill:E(O,this)})),x(this,I,new u.Ay({stroke:new d.A({color:"black",width:1.25})})),x(this,M,[]),x(this,L,null),this.overlayLayer=new s.A({source:E(T,this),map:t.map})}),[{key:"changeHighlightColor",value:function(e){C(_,this,e);var t=new d.A({color:"black",width:1.25}),n=[0,0,0,.3];switch(e){case"white":n=[255,255,255,.3],t=new d.A({color:"white",width:1.25});break;case"red":n=[255,0,0,.3],t=new d.A({color:"red",width:1.25});break;case"green":n=[0,255,255,.3],t=new d.A({color:"green",width:1.25});break;case"black":break;default:A.vF.logWarning("Ineligible color - defaulted to black")}E(O,this).setColor(n),E(P,this).setStroke(t),E(P,this).setFill(E(O,this))}},{key:"removeHighlight",value:function(e){if("all"===e&&E(M,this).length){for(var t=0;t=0;n--)(E(M,this)[n]===e||E(M,this)[n].startsWith("".concat(e,"-")))&&(E(T,this).getFeatureById(E(M,this)[n])&&E(T,this).removeFeature(E(T,this).getFeatureById(E(M,this)[n])),E(M,this).splice(n,1))}},{key:"highlightFeature",value:function(e){var t=e.geometry.getGeometry();if(t instanceof f.Ay){var n=e.geometry.getGeometry(),r=new p.A(n),o=(0,a.v6)(e.geometry);k(R,this,F).call(this,r,o)}else if(t instanceof g.A||t instanceof m.A){var i,s=null===(i=e.geometry)||void 0===i?void 0:i.getGeometry(),l=new p.A(s),c=(0,a.v6)(e.geometry);k(R,this,F).call(this,l,c)}else if(t instanceof y.A)for(var A=e.featureIcon,x=A.height,S=A.width,C=Math.min(x,S)/2-2<7?7:Math.min(x,S)/2-2,T=t.getCoordinates(),P=(0,a.v6)(e.geometry),I=0;I1&&void 0!==arguments[1]&&arguments[1];E(T,this).getFeatureById("geoLocatorFeature")&&(E(T,this).removeFeature(E(T,this).getFeatureById("geoLocatorFeature")),clearTimeout(E(L,this)));var r=(0,f.VY)(e),o=new p.A(r),i=E(I,this);o.setStyle(i),o.setId("geoLocatorFeature"),E(T,this).addFeature(o),n||C(L,this,setTimeout((function(){return E(T,t).removeFeature(E(T,t).getFeatureById("geoLocatorFeature"))}),5e3))}},{key:"removeBBoxHighlight",value:function(){E(T,this).removeFeature(E(T,this).getFeatureById("geoLocatorFeature"))}}])}();function F(e,t){e.setStyle(E(P,this)),e.setId(t),E(M,this).push(t),E(T,this).addFeature(e)}},55231:(e,t,n)=>{"use strict";n.d(t,{$h:()=>g,C:()=>u,I0:()=>s,IG:()=>f,KD:()=>a,NF:()=>c,cw:()=>d,hJ:()=>o,hc:()=>h,s0:()=>p,si:()=>l,wB:()=>i});var r=n(37450),o={VECTOR:"vector",VECTOR_TILE:"vector-tile",RASTER_TILE:"raster-tile",RASTER_IMAGE:"raster-image",GROUP:"group",GEOCORE:"geoCore"},i=function(e){switch(e){case r.y6.CSV:case r.y6.GEOJSON:case r.y6.GEOPACKAGE:case r.y6.OGC_FEATURE:case r.y6.WFS:case r.y6.ESRI_FEATURE:return o.VECTOR;case r.y6.IMAGE_STATIC:case r.y6.ESRI_DYNAMIC:case r.y6.ESRI_IMAGE:case r.y6.WMS:return o.RASTER_IMAGE;case r.y6.XYZ_TILES:case r.y6.VECTOR_TILES:return o.RASTER_TILE;default:throw new Error("Unsupported layer type ".concat(e," to convert to layer entry"))}},a=function(e){return(null==e?void 0:e.entryType)===o.GROUP},s=function(e){return e.geoviewLayerType===o.GEOCORE},l=function(e){if(s(e))return{geoviewLayerId:e.geoviewLayerId,geoviewLayerName:e.geoviewLayerName,geoviewLayerType:e.geoviewLayerType};for(var t=e,n={geoviewLayerId:t.geoviewLayerId,geoviewLayerName:t.geoviewLayerName,geoviewLayerType:t.geoviewLayerType,metadataAccessPath:t.metadataAccessPath,serviceDateFormat:t.serviceDateFormat,externalDateFormat:t.externalDateFormat,initialSettings:t.initialSettings,isTimeAware:t.isTimeAware,listOfLayerEntryConfig:[]},r=0;r<((null===(o=t.listOfLayerEntryConfig)||void 0===o?void 0:o.length)||0);r++){var o;if("serialize"in t.listOfLayerEntryConfig[r]){var i=t.listOfLayerEntryConfig[r].serialize();n.listOfLayerEntryConfig.push(i)}else n.listOfLayerEntryConfig.push(t.listOfLayerEntryConfig[r])}return n},c=function(e){return"lineString"===(null==e?void 0:e.type)},u=function(e){return"filledPolygon"===(null==e?void 0:e.type)},d=function(e){return"simpleSymbol"===(null==e?void 0:e.type)},h=function(e){return"iconSymbol"===(null==e?void 0:e.type)},p=function(e){return"simple"===(null==e?void 0:e.styleType)},f=function(e){return"uniqueValue"===(null==e?void 0:e.styleType)},g=function(e){return"classBreaks"===(null==e?void 0:e.styleType)}},94652:(e,t,n)=>{"use strict";n.d(t,{F:()=>ut});var r=n(1839),o=n(80180),i=n(59682),a=n(41108),s=n(74780),l=n(44481),c=n.n(l),u=n(64417),d=n.n(u),h=n(66143),p=n(36203),f=n(86458),g=n(79378),m=n(5120),y=n(55690),v=n(99002),b=n(91384),w=n(10599),A=n(10082),x=n(93887),S=n(90447),C=n(96783),E=n(32031),k=n(59387),T=n(57029),_=n(12923),O=n(34536),P=n(10223),I=n(66700),M=n(52780);function L(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function R(e,t){return e.get(j(e,t))}function j(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var F=new WeakMap,D=new WeakSet,N=function(){return(0,a.A)((function e(t){var n,r;(0,i.A)(this,e),L(n=this,r=D),r.add(n),(0,s.A)(this,"mapId",void 0),function(e,t,n){L(e,t),t.set(e,n)}(this,F,[]),this.mapId=t}),[{key:"getLayerPanelState",value:function(e){return T.K.getLayerPanelState(this.mapId,e)}},{key:"getLegendLayerInfo",value:function(e){return T.K.getLegendLayerInfo(this.mapId,e)}},{key:"getLegendCollapsedState",value:function(e){return _.d.getMapLegendCollapsedFromOrderedLayerInfo(this.mapId,e)}},{key:"getPluginState",value:function(e,t){if("geochart"===e){if(["geochartChartsConfig","layerDataArray","layerDataArrayBatchLayerPathBypass","selectedLayerPath"].includes(t))return k.U.getSingleGeochartState(this.mapId,t);I.vF.logError("".concat(t," not available from geochart"))}if("swiper"===e){if("layerPaths"===t)return O.Z.getLayerPaths(this.mapId);I.vF.logError("".concat(t," not available from swiper"))}if("time-slider"===e){if("timeSliderLayers"===t)return P.t.getTimeSliderLayers(this.mapId);I.vF.logError("".concat(t," not available from time slider"))}}},{key:"setLegendCollapsedState",value:function(e,t){_.d.setMapLegendCollapsed(this.mapId,e,t)}},{key:"setSelectedLayersTabLayer",value:function(e){T.K.setSelectedLayersTabLayer(this.mapId,e)}},{key:"reorderLayers",value:function(e,t,n){for(var r=n<0?-1:1,o=Math.abs(n),i=(0,E.A)(_.d.getMapLayerOrder(this.mapId)),a=-1,s=0;s0;)(u+=r)===i.length||0===u?o=0:i[u].layerPath.split("/").length===d&&o--;i.splice.apply(i,[u,0].concat((0,E.A)(c))),_.d.setMapOrderedLayerInfo(e,i),j(D,this,z).call(this,{orderedLayers:i})}},{key:"onLayersReordered",value:function(e){M.A.onEvent(R(F,this),e)}},{key:"offLayersReordered",value:function(e){M.A.offEvent(R(F,this),e)}}])}();function z(e){M.A.emitEvent(this,R(F,this),e)}var B=n(95947),V=n(71104),$=n(89153),G=n(79778),U=n(64874),W=n(75320),q=n(22288),H=n(20662),Y=n(33611),K=n(44999),X=n(92425),Z=n(62821),J=n(25899),Q=n(17217),ee=n(94994),te=n(99565);const ne="select";class re extends q.Ay{constructor(e,t,n,r){super(e),this.selected=t,this.deselected=n,this.mapBrowserEvent=r}}const oe={};class ie extends Y.Ay{constructor(e){let t;if(super(),this.on,this.once,this.un,e=e||{},this.boundAddFeature_=this.addFeature_.bind(this),this.boundRemoveFeature_=this.removeFeature_.bind(this),this.condition_=e.condition?e.condition:te.t5,this.addCondition_=e.addCondition?e.addCondition:te.Zm,this.removeCondition_=e.removeCondition?e.removeCondition:te.Zm,this.toggleCondition_=e.toggleCondition?e.toggleCondition:te.Kg,this.multi_=!!e.multi&&e.multi,this.filter_=e.filter?e.filter:X.rT,this.hitTolerance_=e.hitTolerance?e.hitTolerance:0,this.style_=void 0!==e.style?e.style:function(){const e=(0,J.mY)();return(0,Q.X$)(e.Polygon,e.LineString),(0,Q.X$)(e.GeometryCollection,e.LineString),function(t){return t.getGeometry()?e[t.getGeometry().getType()]:null}}(),this.features_=e.features||new U.A,e.layers)if("function"==typeof e.layers)t=e.layers;else{const n=e.layers;t=function(e){return n.includes(e)}}else t=X.rT;this.layerFilter_=t,this.featureLayerAssociation_={}}addFeatureLayerAssociation_(e,t){this.featureLayerAssociation_[(0,ee.v6)(e)]=t}getFeatures(){return this.features_}getHitTolerance(){return this.hitTolerance_}getLayer(e){return this.featureLayerAssociation_[(0,ee.v6)(e)]}setHitTolerance(e){this.hitTolerance_=e}setMap(e){this.getMap()&&this.style_&&this.features_.forEach(this.restorePreviousStyle_.bind(this)),super.setMap(e),e?(this.features_.addEventListener(W.A.ADD,this.boundAddFeature_),this.features_.addEventListener(W.A.REMOVE,this.boundRemoveFeature_),this.style_&&this.features_.forEach(this.applySelectedStyle_.bind(this))):(this.features_.removeEventListener(W.A.ADD,this.boundAddFeature_),this.features_.removeEventListener(W.A.REMOVE,this.boundRemoveFeature_))}addFeature_(e){const t=e.element;if(this.style_&&this.applySelectedStyle_(t),!this.getLayer(t)){const e=this.getMap().getAllLayers().find((function(e){if(e instanceof K.A&&e.getSource()&&e.getSource().hasFeature(t))return e}));e&&this.addFeatureLayerAssociation_(t,e)}}removeFeature_(e){this.style_&&this.restorePreviousStyle_(e.element)}getStyle(){return this.style_}applySelectedStyle_(e){const t=(0,ee.v6)(e);t in oe||(oe[t]=e.getStyle()),e.setStyle(this.style_)}restorePreviousStyle_(e){const t=this.getMap().getInteractions().getArray();for(let n=t.length-1;n>=0;--n){const r=t[n];if(r!==this&&r instanceof ie&&r.getStyle()&&-1!==r.getFeatures().getArray().lastIndexOf(e))return void e.setStyle(r.getStyle())}const n=(0,ee.v6)(e);e.setStyle(oe[n]),delete oe[n]}removeFeatureLayerAssociation_(e){delete this.featureLayerAssociation_[(0,ee.v6)(e)]}handleEvent(e){if(!this.condition_(e))return!0;const t=this.addCondition_(e),n=this.removeCondition_(e),r=this.toggleCondition_(e),o=!t&&!n&&!r,i=e.map,a=this.getFeatures(),s=[],l=[];if(o){(0,Z.I)(this.featureLayerAssociation_),i.forEachFeatureAtPixel(e.pixel,((e,t)=>{if(e instanceof H.A&&this.filter_(e,t))return this.addFeatureLayerAssociation_(e,t),l.push(e),!this.multi_}),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_});for(let e=a.getLength()-1;e>=0;--e){const t=a.item(e),n=l.indexOf(t);n>-1?l.splice(n,1):(a.remove(t),s.push(t))}0!==l.length&&a.extend(l)}else{i.forEachFeatureAtPixel(e.pixel,((e,o)=>{if(e instanceof H.A&&this.filter_(e,o))return!t&&!r||a.getArray().includes(e)?(n||r)&&a.getArray().includes(e)&&(s.push(e),this.removeFeatureLayerAssociation_(e)):(this.addFeatureLayerAssociation_(e,o),l.push(e)),!this.multi_}),{layerFilter:this.layerFilter_,hitTolerance:this.hitTolerance_});for(let e=s.length-1;e>=0;--e)a.remove(s[e]);a.extend(l)}return(l.length>0||s.length>0)&&this.dispatchEvent(new re(ne,l,s,e)),!0}}const ae=ie;var se=n(7031),le=n(87523);function ce(e,t,n){return t=(0,$.A)(t),(0,B.A)(e,ue()?Reflect.construct(t,n||[],(0,$.A)(e).constructor):t.apply(e,n))}function ue(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ue=function(){return!!e})()}function de(e,t,n){he(e,t),t.set(e,n)}function he(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function pe(e,t){return e.get(fe(e,t))}function fe(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var ge=new WeakMap,me=new WeakMap,ye=new WeakSet,ve=function(e){function t(e){var n,r,o;(0,i.A)(this,t),n=ce(this,t,[e]),he(r=n,o=ye),o.add(r),de(n,ge,void 0),de(n,me,[]);var a={features:e.features,style:(0,se.convertTypeFeatureStyleToOpenLayersStyle)(e.style),hitTolerance:e.hitTolerance||0};return function(e,t,n){e.set(fe(e,t),n)}(ge,n,new ae(a)),pe(ge,n).on("select",fe(ye,n,be).bind(n)),n}return(0,G.A)(t,e),(0,a.A)(t,[{key:"startInteraction",value:function(){(0,V.A)((0,$.A)(t.prototype),"startInteraction",this).call(this,pe(ge,this))}},{key:"stopInteraction",value:function(){(0,V.A)((0,$.A)(t.prototype),"stopInteraction",this).call(this,pe(ge,this))}},{key:"getFeatures",value:function(){return pe(ge,this).getFeatures()}},{key:"onSelectChanged",value:function(e){M.A.onEvent(pe(me,this),e)}},{key:"offSelectChanged",value:function(e){M.A.offEvent(pe(me,this),e)}}])}(le.N);function be(e){M.A.emitEvent(this,pe(me,this),e)}var we=n(3216),Ae=n(20107),xe=n(72591),Se=n(10076),Ce=n(10643),Ee=n(93546),ke=n(42982),Te=n(81556),_e=n(80309);function Oe(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Pe(e,t){return e.get(Ie(e,t))}function Ie(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Me=new WeakMap,Le=new WeakSet,Re=function(){return(0,a.A)((function e(t){var n,r;(0,i.A)(this,e),Oe(n=this,r=Le),r.add(n),(0,s.A)(this,"mapId",void 0),function(e,t,n){Oe(e,t),t.set(e,n)}(this,Me,[]),this.mapId=t}),[{key:"addNotificationMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];Ie(Le,this,Fe).call(this,"info",e,t)}},{key:"addNotificationSuccess",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];Ie(Le,this,Fe).call(this,"success",e,t)}},{key:"addNotificationWarning",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];Ie(Le,this,Fe).call(this,"warning",e,t)}},{key:"addNotificationError",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];Ie(Le,this,Fe).call(this,"error",e,t)}},{key:"showMessage",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Ie(Le,this,De).call(this,"info",e,t,r),n&&this.addNotificationMessage(e,t)}},{key:"showSuccess",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Ie(Le,this,De).call(this,"success",e,t,r),n&&this.addNotificationSuccess(e,t)}},{key:"showWarning",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Ie(Le,this,De).call(this,"warning",e,t,r),n&&this.addNotificationWarning(e,t)}},{key:"showError",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Ie(Le,this,De).call(this,"error",e,t,r),n&&this.addNotificationError(e,t)}},{key:"onSnackbarOpen",value:function(e){M.A.onEvent(Pe(Me,this),e)}},{key:"offSnackbarOpen",value:function(e){M.A.offEvent(Pe(Me,this),e)}}])}();function je(e,t){var n=(0,ke.getLocalizedMessage)(e,_e.K.getDisplayLanguage(this.mapId));return t.length>0&&(n=(0,ke.replaceParams)(t,n)),n}function Fe(e,t,n){var r={key:(0,ke.generateId)(),notificationType:e,message:Ie(Le,this,je).call(this,t,n),count:1};_e.K.addNotification(this.mapId,r).catch((function(e){I.vF.logPromiseFailed("addNotification in Notifications",e)}))}function De(e,t,n,r){var o={snackbarType:e,message:Ie(Le,this,je).call(this,t,n),button:r};Ie(Le,this,Ne).call(this,o)}function Ne(e){M.A.emitEvent(this,Pe(Me,this),e)}function ze(e,t,n){Be(e,t),t.set(e,n)}function Be(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Ve(e,t,n){return e.set(Ge(e,t),n),n}function $e(e,t){return e.get(Ge(e,t))}function Ge(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var Ue=new WeakMap,We=new WeakMap,qe=new WeakMap,He=new WeakMap,Ye=new WeakMap,Ke=new WeakMap,Xe=new WeakMap,Ze=new WeakMap,Je=new WeakMap,Qe=new WeakMap,et=new WeakMap,tt=new WeakMap,nt=new WeakMap,rt=new WeakMap,ot=new WeakMap,it=new WeakMap,at=new WeakMap,st=new WeakMap,lt=new WeakMap,ct=new WeakSet,ut=function(){return(0,a.A)((function e(t,n){var r,o;(0,i.A)(this,e),Be(r=this,o=ct),o.add(r),(0,s.A)(this,"mapFeaturesConfig",void 0),(0,s.A)(this,"mapId",void 0),(0,s.A)(this,"map",void 0),(0,s.A)(this,"plugins",{}),(0,s.A)(this,"overviewRoot",void 0),(0,s.A)(this,"appBarApi",void 0),(0,s.A)(this,"navBarApi",void 0),(0,s.A)(this,"footerBarApi",void 0),(0,s.A)(this,"stateApi",void 0),(0,s.A)(this,"basemap",void 0),(0,s.A)(this,"notifications",void 0),(0,s.A)(this,"layer",void 0),(0,s.A)(this,"modal",void 0),(0,s.A)(this,"iconImageCacheSize",void 0),ze(this,Ue,void 0),ze(this,We,!1),ze(this,qe,!1),ze(this,He,!1),ze(this,Ye,!1),ze(this,Ke,[]),ze(this,Xe,[]),ze(this,Ze,[]),ze(this,Je,[]),ze(this,Qe,[]),ze(this,et,[]),ze(this,tt,[]),ze(this,nt,[]),ze(this,rt,[]),ze(this,ot,[]),ze(this,it,[]),ze(this,at,[]),ze(this,st,[]),ze(this,lt,void 0),this.mapId=t.mapId,this.mapFeaturesConfig=t,Ve(Ue,this,n),this.iconImageCacheSize=1,this.appBarApi=new x.r(this.mapId),this.navBarApi=new S.v(this.mapId),this.footerBarApi=new C.x(this.mapId),this.stateApi=new N(this.mapId),this.notifications=new Re(this.mapId),this.modal=new Ee.ModalApi,this.basemap=new y.i(_.d.getBasemapOptions(this.mapId),this.mapId)}),[{key:"mapInit",get:function(){return $e(We,this)}},{key:"mapReady",get:function(){return $e(qe,this)}},{key:"mapLayersProcessed",get:function(){return $e(He,this)}},{key:"mapLayersLoaded",get:function(){return $e(Ye,this)}},{key:"createMap",value:function(e){var t,n,r,o,i,a,s=null===(t=this.mapFeaturesConfig)||void 0===t?void 0:t.map.viewSettings,l=b.M.PROJECTIONS[s.projection];s.maxExtent&&(a=b.M.transformExtent(s.maxExtent,b.M.PROJECTION_NAMES.LNGLAT,l.getCode()));var c=new h.A({target:e,layers:[(0,se.createEmptyBasemap)()],view:new p.Ay({projection:l,center:b.M.transformFromLonLat(null!==(n=s.initialView)&&void 0!==n&&n.zoomAndCenter?null===(r=s.initialView)||void 0===r?void 0:r.zoomAndCenter[1]:g.VN[s.projection],l),zoom:null!==(o=s.initialView)&&void 0!==o&&o.zoomAndCenter?null===(i=s.initialView)||void 0===i?void 0:i.zoomAndCenter[0]:3.5,extent:a||void 0,minZoom:s.minZoom||0,maxZoom:s.maxZoom||17}),controls:[],keyboardEventTarget:document.getElementById("map-".concat(this.mapId))});return this.map=c,this.initMap(),c}},{key:"initMap",value:function(){this.map.on("moveend",Ge(ct,this,ht).bind(this)),Ge(ct,this,dt).call(this,this.getView()),"static"!==this.mapFeaturesConfig.map.interaction&&(this.map.on("pointermove",c()(Ge(ct,this,ft).bind(this),10,{leading:!0}).bind(this)),this.map.on("singleclick",c()(Ge(ct,this,gt).bind(this),1e3,{leading:!0}).bind(this))),Ve(lt,this,Date.now()),this.layer=new v.A(this),this.layer.loadListOfGeoviewLayer(this.mapFeaturesConfig.map.listOfGeoviewLayerConfig).catch((function(e){I.vF.logPromiseFailed("loadListOfGeoviewLayer in initMap in MapViewer",e)})),this.loadGeometries(),Ve(We,this,!0),Ge(ct,this,kt).call(this),_.d.resetBasemap(this.mapId).then().catch((function(e){I.vF.logPromiseFailed(" MapEventProcessor.resetBasemap in map-viewer",e)})),Ge(ct,this,wt).call(this)}},{key:"addComponent",value:function(e,t){e&&t&&Ge(ct,this,Ft).call(this,{mapComponentId:e,component:t})}},{key:"removeComponent",value:function(e){e&&Ge(ct,this,Dt).call(this,{mapComponentId:e})}},{key:"addLocalizeRessourceBundle",value:function(e,t){$e(Ue,this).addResourceBundle(e,"translation",t,!0,!1)}},{key:"getDisplayLanguage",value:function(){return _e.K.getDisplayLanguage(this.mapId)}},{key:"getDisplayTheme",value:function(){return _e.K.getDisplayTheme(this.mapId)}},{key:"getMapState",value:function(){return _.d.getMapState(this.mapId)}},{key:"getView",value:function(){return this.map.getView()}},{key:"getProjection",value:function(){return this.getView().getProjection()}},{key:"getMapLayerOrderInfo",value:function(){return _.d.getMapLayerOrder(this.mapId)}},{key:"setInteraction",value:function(e){_.d.setInteraction(this.mapId,e)}},{key:"setLanguage",value:function(e,t){if(g.ns.includes(e)){var n=_e.K.setDisplayLanguage(this.mapId,e);return t&&I.vF.logInfo("reset layers not implemented yet"),Ge(ct,this,Nt).call(this,{language:e}),n}return this.notifications.addNotificationError((0,ke.getLocalizedMessage)("validation.changeDisplayLanguage",e)),Promise.resolve([void 0,void 0])}},{key:"setProjection",value:function(e){return g.if.includes(Number(e))?_.d.setProjection(this.mapId,e):(this.notifications.addNotificationError("validation.changeDisplayProjection"),Promise.resolve())}},{key:"rotate",value:function(e){this.getView().animate({rotation:e})}},{key:"setTheme",value:function(e){g.qf.includes(e)?_e.K.setDisplayTheme(this.mapId,e):this.notifications.addNotificationError((0,ke.getLocalizedMessage)("validation.changeDisplayTheme",this.getDisplayLanguage()))}},{key:"setView",value:function(e){var t,n,r,o,i=this.getView(),a={};a.projection="EPSG:".concat(e.projection),a.zoom=null!==(t=e.initialView)&&void 0!==t&&t.zoomAndCenter?null===(n=e.initialView)||void 0===n?void 0:n.zoomAndCenter[0]:i.getZoom(),a.center=null!==(r=e.initialView)&&void 0!==r&&r.zoomAndCenter?b.M.transformFromLonLat(null===(o=e.initialView)||void 0===o?void 0:o.zoomAndCenter[1],a.projection):b.M.transformFromLonLat(b.M.transformToLonLat(i.getCenter(),i.getProjection()),a.projection),a.minZoom=e.minZoom?e.minZoom:i.getMinZoom(),a.maxZoom=e.maxZoom?e.maxZoom:i.getMaxZoom(),e.maxExtent&&(a.extent=b.M.transformExtent(e.maxExtent,b.M.PROJECTION_NAMES.LNGLAT,"EPSG:".concat(e.projection)));var s=new p.Ay(a);this.map.setView(s),Ge(ct,this,dt).call(this,s)}},{key:"setCenter",value:function(e){var t=this.getView(),n=b.M.transformFromLonLat(e,t.getProjection());t.setCenter(n)}},{key:"setZoomLevel",value:function(e){this.getView().setZoom(e)}},{key:"setMinZoomLevel",value:function(e){this.getView().setMinZoom(e)}},{key:"setMaxZoomLevel",value:function(e){this.getView().setMaxZoom(e)}},{key:"setExtent",value:(e=(0,o.A)(d().mark((function e(t){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_.d.zoomToExtent(this.mapId,t);case 2:case"end":return e.stop()}}),e,this)}))),function(t){return e.apply(this,arguments)})},{key:"setMaxExtent",value:function(e){var t=this.getView(),n={initialView:{zoomAndCenter:[t.getZoom(),this.convertCoordinateLngLatToMapProj(t.getCenter())]},minZoom:t.getMinZoom(),maxZoom:t.getMaxZoom(),maxExtent:b.M.transformExtent(e,b.M.PROJECTION_NAMES.LNGLAT,t.getProjection()),projection:t.getProjection().getCode().split(":")[1]};this.setView(n)}},{key:"refreshLayers",value:function(){var e=this;return this.layer.refreshLayers(),new Promise((function(t){e.map.once("rendercomplete",(function(){t()}))}))}},{key:"clickMarkerIconHide",value:function(){_.d.clickMarkerIconHide(this.mapId)}},{key:"clickMarkerIconShow",value:function(e){_.d.clickMarkerIconShow(this.mapId,e)}},{key:"loadGeometries",value:function(){var e,t=this,n=(null===(e=this.map.getTargetElement())||void 0===e||null===(e=e.closest(".geoview-map"))||void 0===e?void 0:e.getAttribute("data-geometry-endpoint"))||"",r=f.parse(location.search);r.geoms&&""!==n&&r.geoms.split(",").forEach((function(e){fetch("".concat(n).concat(e)).then((function(e){200===e.status&&e.json().then((function(e){void 0!==e.geometry&&t.layer.geometry.addPolygon(e.geometry.coordinates,void 0,(0,ke.generateId)(null))})).catch((function(e){I.vF.logPromiseFailed("response.json in loadGeometry in MapViewer",e)}))})).catch((function(e){I.vF.logPromiseFailed("fetch in loadGeometries in MapViewer",e)}))}))}},{key:"remove",value:function(e){var t=this,n=document.getElementById(this.mapId);return n.classList.remove("geoview-map"),A.k.removePlugins(this.mapId).then((function(){var r;try{t.layer.removeAllGeoviewLayers()}catch(e){}t.overviewRoot&&(null===(r=t.overviewRoot)||void 0===r||r.unmount()),(0,w.d1f)(t.mapId),(0,m.e4)(t.mapId),e&&n.remove(),setTimeout((function(){return delete w.FHQ.maps[t.mapId]}),1e3)})).catch((function(e){I.vF.logError("Couldn't remove map in map-viewer",e)})),n}},{key:"reload",value:function(){var e=this.remove(!1),t=_.d.getStoreConfig(this.mapId);setTimeout((function(){return w.FHQ.createMapFromConfig(e.id,JSON.stringify(t)).catch((function(e){I.vF.logError("Couldn't reload the map in map-viewer",e)}))}),1500)}},{key:"zoomToExtent",value:function(e,t){return _.d.zoomToExtent(this.mapId,e,t)}},{key:"zoomToLngLatExtentOrCoordinate",value:function(e,t){var n=2===e.length?[e[0],e[1],e[0],e[1]]:e,r=b.M.transformExtent(n,b.M.PROJECTION_NAMES.LNGLAT,"EPSG:".concat(this.getMapState().currentProjection));return _.d.zoomToExtent(this.mapId,r,t)}},{key:"fitBounds",value:function(e){var t,n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(e){var o=this.getMapState().currentProjection;t=r?b.M.transformExtent(e,"EPSG:".concat(r),b.M.PROJECTIONS[o],20):b.M.transformExtent(e,b.M.PROJECTIONS[o],b.M.PROJECTIONS[o],25)}else this.layer.getGeoviewLayerIds().forEach((function(e){var r;if(t){var o,i=null===(o=n.layer.getGeoviewLayer(e))||void 0===o?void 0:o.getMetadataBounds(e);i&&(t=[Math.min(i[0],t[0]),Math.min(i[1],t[1]),Math.max(i[2],t[2]),Math.max(i[3],t[3])])}else t=null===(r=n.layer.getGeoviewLayer(e))||void 0===r?void 0:r.getMetadataBounds(e)}));t&&(this.getView().fit(t,{size:this.map.getSize()}),this.getView().setZoom(this.getView().getZoom()-.15))}},{key:"initSelectInteractions",value:function(){var e=new ve({mapViewer:this,hitTolerance:5});return e.startInteraction(),e}},{key:"initExtentInteractions",value:function(){var e=new Ae.z({mapViewer:this,pixelTolerance:5});return e.startInteraction(),e}},{key:"initTranslateInteractions",value:function(){var e=this.initSelectInteractions().getFeatures(),t=new Ce.H({mapViewer:this,features:e});return t.startInteraction(),t}},{key:"initDrawInteractions",value:function(e,t,n){var r=new we.X({mapViewer:this,geometryGroupKey:e,type:t,style:n});return r.startInteraction(),r}},{key:"initModifyInteractions",value:function(e){var t=new xe.B({mapViewer:this,geometryGroupKey:e});return t.startInteraction(),t}},{key:"initSnapInteractions",value:function(e){var t=new Se.P({mapViewer:this,geometryGroupKey:e});return t.startInteraction(),t}},{key:"checkNorth",value:function(){var e=[this.map.getSize()[0]/2,1],t=b.M.transformToLonLat(this.map.getCoordinateFromPixel(e),this.getView().getProjection());return!t||t[0]>0}},{key:"getNorthArrowAngle",value:function(){try{var e={x:Te.Tg[1],y:Te.Tg[0]},t=this.getView().calculateExtent(),n=b.M.transformToLonLat([(t[0]+t[2])/2,t[1]],this.getView().getProjection()),r={x:n[0],y:n[1]},o=(r.x-e.x)*Math.PI/180,i=e.y*Math.PI/180,a=r.y*Math.PI/180,s=Math.sin(o)*Math.cos(a),l=Math.cos(i)*Math.sin(a)-Math.sin(i)*Math.cos(a)*Math.cos(o);return((180*Math.atan2(s,l)/Math.PI+360)%360).toFixed(1)}catch(e){return"180.0"}}},{key:"convertCoordinateLngLatToMapProj",value:function(e){return this.convertCoordinateFromProjToMapProj(e,b.M.PROJECTION_NAMES.LNGLAT)}},{key:"convertCoordinateMapProjToLngLat",value:function(e){return this.convertCoordinateFromMapProjToProj(e,b.M.PROJECTION_NAMES.LNGLAT)}},{key:"convertExtentLngLatToMapProj",value:function(e){return this.convertExtentFromProjToMapProj(e,b.M.PROJECTION_NAMES.LNGLAT)}},{key:"convertExtentMapProjToLngLat",value:function(e){return this.convertExtentFromMapProjToProj(e,b.M.PROJECTION_NAMES.LNGLAT)}},{key:"convertCoordinateFromProjToMapProj",value:function(e,t){return t!==this.getProjection().getCode()?b.M.transform(e,t,this.getProjection()):e}},{key:"convertCoordinateFromMapProjToProj",value:function(e,t){return t!==this.getProjection().getCode()?b.M.transform(e,this.getProjection(),t):e}},{key:"convertExtentFromProjToMapProj",value:function(e,t){return t!==this.getProjection().getCode()?b.M.transformExtent(e,t,this.getProjection()):e}},{key:"convertExtentFromMapProjToProj",value:function(e,t){return t!==this.getProjection().getCode()?b.M.transformExtent(e,this.getProjection(),t):e}},{key:"onMapInit",value:function(e){M.A.onEvent($e(Ke,this),e)}},{key:"offMapInit",value:function(e){M.A.offEvent($e(Ke,this),e)}},{key:"onMapReady",value:function(e){M.A.onEvent($e(Xe,this),e)}},{key:"offMapReady",value:function(e){M.A.offEvent($e(Xe,this),e)}},{key:"onMapLayersProcessed",value:function(e){M.A.onEvent($e(Ze,this),e)}},{key:"offMapLayersProcessed",value:function(e){M.A.offEvent($e(Ze,this),e)}},{key:"onMapLayersLoaded",value:function(e){M.A.onEvent($e(Je,this),e)}},{key:"offMapLayersLoaded",value:function(e){M.A.offEvent($e(Je,this),e)}},{key:"onMapMoveEnd",value:function(e){M.A.onEvent($e(Qe,this),e)}},{key:"offMapMoveEnd",value:function(e){M.A.offEvent($e(Qe,this),e)}},{key:"onMapPointerMove",value:function(e){M.A.onEvent($e(et,this),e)}},{key:"offMapPointerMove",value:function(e){M.A.offEvent($e(et,this),e)}},{key:"onMapSingleClick",value:function(e){M.A.onEvent($e(tt,this),e)}},{key:"offMapSingleClick",value:function(e){M.A.offEvent($e(tt,this),e)}},{key:"onMapZoomEnd",value:function(e){M.A.onEvent($e(nt,this),e)}},{key:"offMapZoomEnd",value:function(e){M.A.offEvent($e(nt,this),e)}},{key:"onMapRotation",value:function(e){M.A.onEvent($e(rt,this),e)}},{key:"offMapRotation",value:function(e){M.A.offEvent($e(rt,this),e)}},{key:"onMapChangeSize",value:function(e){M.A.onEvent($e(ot,this),e)}},{key:"offMapChangeSize",value:function(e){M.A.offEvent($e(ot,this),e)}},{key:"onMapComponentAdded",value:function(e){M.A.onEvent($e(it,this),e)}},{key:"offMapComponentAdded",value:function(e){M.A.offEvent($e(it,this),e)}},{key:"onMapComponentRemoved",value:function(e){M.A.onEvent($e(at,this),e)}},{key:"offMapComponentRemoved",value:function(e){M.A.offEvent($e(at,this),e)}},{key:"onMapLanguageChanged",value:function(e){M.A.onEvent($e(st,this),e)}},{key:"offMapLanguageChanged",value:function(e){M.A.offEvent($e(st,this),e)}}],[{key:"setFullscreen",value:function(e,t){e&&(t.requestFullscreen?t.requestFullscreen().catch((function(e){I.vF.logPromiseFailed("element.requestFullscreen",e)})):t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen?t.msRequestFullscreen():t.mozRequestFullScreen&&t.mozRequestFullScreen()),e||(document.exitFullscreen?document.exitFullscreen().catch((function(e){I.vF.logPromiseFailed("document.exitFullscreen",e)})):document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen&&document.mozCancelFullScreen())}}]);var e}();function dt(e){e.on("change:resolution",c()(Ge(ct,this,mt).bind(this),100).bind(this)),e.on("change:rotation",c()(Ge(ct,this,yt).bind(this),100).bind(this))}function ht(e){return pt.apply(this,arguments)}function pt(){return(pt=(0,o.A)(d().mark((function e(t){var n,r,o,i,a,s;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=this.getView().getCenter(),r=this.getView().getProjection().getCode(),o={projected:n,pixel:this.map.getPixelFromCoordinate(n),lnglat:b.M.transformPoints([n],r,b.M.PROJECTION_NAMES.LNGLAT)[0],dragging:!1},i=this.getNorthArrowAngle(),a=this.checkNorth(),e.next=8,_.d.getScaleInfoFromDomElement(this.mapId);case 8:s=e.sent,_.d.setMapMoveEnd(this.mapId,n,o,i,a,s),Ge(ct,this,Pt).call(this,{lnglat:n}),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(0),I.vF.logError("Failed in MapViewer.#handleMapMoveEnd",e.t0);case 16:case"end":return e.stop()}}),e,this,[[0,13]])})))).apply(this,arguments)}function ft(e){try{var t=this.getView().getProjection().getCode(),n={projected:e.coordinate,pixel:e.pixel,lnglat:b.M.transformPoints([e.coordinate],t,b.M.PROJECTION_NAMES.LNGLAT)[0],dragging:e.dragging};_.d.setMapPointerPosition(this.mapId,n),Ge(ct,this,It).call(this,n)}catch(e){I.vF.logError("Failed in MapViewer.#handleMapPointerMove",e)}}function gt(e){try{var t=this.getView().getProjection().getCode(),n={projected:e.coordinate,pixel:e.pixel,lnglat:b.M.transformPoints([e.coordinate],t,b.M.PROJECTION_NAMES.LNGLAT)[0],dragging:e.dragging};_.d.setClickCoordinates(this.mapId,n).catch((function(e){I.vF.logPromiseFailed("setClickCoordinates in #handleMapSingleClick in MapViewer",e)})),Ge(ct,this,Mt).call(this,n)}catch(e){I.vF.logError("Failed in MapViewer.#handleMapSingleClick",e)}}function mt(e){try{var t=this.getView().getZoom();_.d.setZoom(this.mapId,t),Ge(ct,this,Lt).call(this,{zoom:t})}catch(e){I.vF.logError("Failed in MapViewer.#handleMapZoomEnd",e)}}function yt(e){try{var t=this.getView().getRotation();_.d.setRotation(this.mapId,t),Ge(ct,this,Rt).call(this,{rotation:t})}catch(e){I.vF.logError("Failed in MapViewer.#handleMapRotation",e)}}function vt(e){return bt.apply(this,arguments)}function bt(){return(bt=(0,o.A)(d().mark((function e(t){var n,r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,_.d.getScaleInfoFromDomElement(this.mapId);case 3:n=e.sent,r=this.map.getSize(),_.d.setMapChangeSize(this.mapId,r,n),Ge(ct,this,jt).call(this,{size:r}),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),I.vF.logError("Failed in MapViewer.#handleMapChangeSize",e.t0);case 12:case"end":return e.stop()}}),e,this,[[0,9]])})))).apply(this,arguments)}function wt(){var e=this;I.vF.logMarkerStart("mapReady-".concat(this.mapId));var t=setInterval((function(){if(e.layer){var n=e.layer.checkLayerStatus("registered",e.mapFeaturesConfig.map.listOfGeoviewLayerConfig,(function(e){I.vF.logTraceDetailed("checkMapReady - 1 - waiting on layer registration...",e.geoviewLayerId)})),o=(0,r.A)(n,2),i=o[0],a=o[1];i&&(clearInterval(t),I.vF.logInfo("Map is ready with ".concat(a," registered layers"),e.mapId),I.vF.logMarkerCheck("mapReady-".concat(e.mapId),"for map to be ready. Layers are still being processed..."),Ge(ct,e,At).call(e).catch((function(e){I.vF.logPromiseFailed("checkMapReadyGo in checkMapReady in MapViewer",e)})))}}),250)}function At(){return xt.apply(this,arguments)}function xt(){return(xt=(0,o.A)(d().mark((function e(){var t,n,r,o;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Ve(qe,this,!0),Ge(ct,this,Tt).call(this),_.d.initMapControls(this.mapId),_e.K.setGuide(this.mapId).catch((function(e){I.vF.logPromiseFailed("in setGuide in #checkMapReadyGo",e)})),this.map.on("change:size",Ge(ct,this,vt).bind(this)),this.map.dispatchEvent("change:size"),(r=this.map.getTargetElement()).addEventListener("wheel",(function(e){e.preventDefault(),r.focus()})),r.addEventListener("mouseleave",(function(e){r.blur()})),Ge(ct,this,Et).call(this).catch((function(e){I.vF.logError("Failed in #checkLayerResultSetReady",e)})),null===(t=this.mapFeaturesConfig.map.viewSettings.initialView)||void 0===t||!t.extent){e.next=13;break}return e.next=13,this.zoomToExtent(b.M.transformExtent(null===(n=this.mapFeaturesConfig.map.viewSettings.initialView)||void 0===n?void 0:n.extent,b.M.PROJECTION_NAMES.LNGLAT,"EPSG:".concat(this.mapFeaturesConfig.map.viewSettings.projection)));case 13:return Ge(ct,this,St).call(this),o=Date.now()-$e(lt,this),e.next=17,(0,ke.delay)(zt._-o);case 17:_.d.setMapLoaded(this.mapId,!0);case 18:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}function St(){var e=this,t=setInterval((function(){if(e.layer){var n=e.layer.checkLayerStatus("processed",e.mapFeaturesConfig.map.listOfGeoviewLayerConfig,(function(e){I.vF.logTraceDetailed("checkMapReady - 2 - waiting on layer processed...",e.geoviewLayerId)})),o=(0,r.A)(n,2),i=o[0],a=o[1];if(i){var s;if(clearInterval(t),I.vF.logInfo("Map is ready with ".concat(a," processed layers"),e.mapId),I.vF.logMarkerCheck("mapReady-".concat(e.mapId),"for all ".concat(a," layers to be processed")),null!==(s=e.mapFeaturesConfig.map.viewSettings.initialView)&&void 0!==s&&s.layerIds){var l=e.layer.getExtentOfMultipleLayers(e.mapFeaturesConfig.map.viewSettings.initialView.layerIds);l.includes(1/0)&&(l=b.M.transformExtent(g.Nt[e.mapFeaturesConfig.map.viewSettings.projection],b.M.PROJECTION_NAMES.LNGLAT,"EPSG:".concat(e.mapFeaturesConfig.map.viewSettings.projection))),l.length&&e.zoomToExtent(l).catch((function(e){return I.vF.logPromiseFailed("promiseMapLayers in #checkMapLayersProcessed in map-viewer",e)}))}Ve(He,e,!0),Ge(ct,e,_t).call(e),Ge(ct,e,Ct).call(e)}}}),250)}function Ct(){var e=this,t=setInterval((function(){if(e.layer){var n=e.layer.checkLayerStatus("loaded",e.mapFeaturesConfig.map.listOfGeoviewLayerConfig,(function(e){I.vF.logTraceDetailed("checkMapReady - 3 - waiting on layer loaded/error status...",e.geoviewLayerId)})),o=(0,r.A)(n,2),i=o[0],a=o[1];i&&(clearInterval(t),I.vF.logInfo("Map is ready with ".concat(a," loaded layers"),e.mapId),I.vF.logMarkerCheck("mapReady-".concat(e.mapId),"for all ".concat(a," layers to be loaded")),Ve(Ye,e,!0),Ge(ct,e,Ot).call(e))}}),250)}function Et(){var e=this;return new Promise((function(t){var n=setInterval((function(){if(e.layer&&e.layer.checkFeatureInfoLayerResultSetsReady((function(e){I.vF.logTraceDetailed("checkMapReady - 4 - waiting on layer resultSet...",e.layerPath)}))){clearInterval(n);var r=Object.keys(e.layer.featureInfoLayerSet.resultSet).length;I.vF.logMarkerCheck("mapReady-".concat(e.mapId),"for layer result set of ".concat(r," layers to be instanciated")),t()}}),250)}))}function kt(){M.A.emitEvent(this,$e(Ke,this),void 0)}function Tt(){M.A.emitEvent(this,$e(Xe,this),void 0)}function _t(){M.A.emitEvent(this,$e(Ze,this),void 0)}function Ot(){M.A.emitEvent(this,$e(Je,this),void 0)}function Pt(e){M.A.emitEvent(this,$e(Qe,this),e)}function It(e){M.A.emitEvent(this,$e(et,this),e)}function Mt(e){M.A.emitEvent(this,$e(tt,this),e)}function Lt(e){M.A.emitEvent(this,$e(nt,this),e)}function Rt(e){M.A.emitEvent(this,$e(rt,this),e)}function jt(e){M.A.emitEvent(this,$e(ot,this),e)}function Ft(e){M.A.emitEvent(this,$e(it,this),e)}function Dt(e){M.A.emitEvent(this,$e(at,this),e)}function Nt(e){M.A.emitEvent(this,$e(st,this),e)}var zt={_:2e3}},91384:(e,t,n)=>{"use strict";n.d(t,{M:()=>Zn});var r=n(59682),o=n(41108),i=n(74780);var a=1,s=2,l=3,c=5,u=6378137,d=6356752.314,h=.0066943799901413165,p=484813681109536e-20,f=Math.PI/2,g=.16666666666666666,m=.04722222222222222,y=.022156084656084655,v=1e-10,b=.017453292519943295,w=57.29577951308232,A=Math.PI/4,x=2*Math.PI,S=3.14159265359,C={greenwich:0,lisbon:-9.131906111111,paris:2.337229166667,bogota:-74.080916666667,madrid:-3.687938888889,rome:12.452333333333,bern:7.439583333333,jakarta:106.807719444444,ferro:-17.666666666667,brussels:4.367975,stockholm:18.058277777778,athens:23.7163375,oslo:10.722916666667};const E={ft:{to_meter:.3048},"us-ft":{to_meter:1200/3937}};var k=/[\s_\-\/\(\)]/g;function T(e,t){if(e[t])return e[t];for(var n,r=Object.keys(e),o=t.toLowerCase().replace(k,""),i=-1;++i=this.text.length)return;e=this.text[this.place++]}switch(this.state){case P:return this.neutral(e);case 2:return this.keyword(e);case 4:return this.quoted(e);case 5:return this.afterquote(e);case 3:return this.number(e);case-1:return}},F.prototype.afterquote=function(e){if('"'===e)return this.word+='"',void(this.state=4);if(R.test(e))return this.word=this.word.trim(),void this.afterItem(e);throw new Error("havn't handled \""+e+'" in afterquote yet, index '+this.place)},F.prototype.afterItem=function(e){return","===e?(null!==this.word&&this.currentObject.push(this.word),this.word=null,void(this.state=P)):"]"===e?(this.level--,null!==this.word&&(this.currentObject.push(this.word),this.word=null),this.state=P,this.currentObject=this.stack.pop(),void(this.currentObject||(this.state=-1))):void 0},F.prototype.number=function(e){if(!j.test(e)){if(R.test(e))return this.word=parseFloat(this.word),void this.afterItem(e);throw new Error("havn't handled \""+e+'" in number yet, index '+this.place)}this.word+=e},F.prototype.quoted=function(e){'"'!==e?this.word+=e:this.state=5},F.prototype.keyword=function(e){if(L.test(e))this.word+=e;else{if("["===e){var t=[];return t.push(this.word),this.level++,null===this.root?this.root=t:this.currentObject.push(t),this.stack.push(this.currentObject),this.currentObject=t,void(this.state=P)}if(!R.test(e))throw new Error("havn't handled \""+e+'" in keyword yet, index '+this.place);this.afterItem(e)}},F.prototype.neutral=function(e){if(M.test(e))return this.word=e,void(this.state=2);if('"'===e)return this.word="",void(this.state=4);if(j.test(e))return this.word=e,void(this.state=3);if(!R.test(e))throw new Error("havn't handled \""+e+'" in neutral yet, index '+this.place);this.afterItem(e)},F.prototype.output=function(){for(;this.place0?90:-90)):(e.lat0=B(e.lat1>0?90:-90),e.lat_ts=e.lat1)}(o),o}function $(e){var t=this;if(2===arguments.length){var n=arguments[1];"string"==typeof n?"+"===n.charAt(0)?$[e]=_(arguments[1]):$[e]=V(arguments[1]):$[e]=n}else if(1===arguments.length){if(Array.isArray(e))return e.map((function(e){Array.isArray(e)?$.apply(t,e):$(e)}));if("string"==typeof e){if(e in $)return $[e]}else"EPSG"in e?$["EPSG:"+e.EPSG]=e:"ESRI"in e?$["ESRI:"+e.ESRI]=e:"IAU2000"in e?$["IAU2000:"+e.IAU2000]=e:console.log(e);return}}!function(e){e("EPSG:4326","+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees"),e("EPSG:4269","+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees"),e("EPSG:3857","+title=WGS 84 / Pseudo-Mercator +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"),e.WGS84=e["EPSG:4326"],e["EPSG:3785"]=e["EPSG:3857"],e.GOOGLE=e["EPSG:3857"],e["EPSG:900913"]=e["EPSG:3857"],e["EPSG:102113"]=e["EPSG:3857"]}($);const G=$;var U=["PROJECTEDCRS","PROJCRS","GEOGCS","GEOCCS","PROJCS","LOCAL_CS","GEODCRS","GEODETICCRS","GEODETICDATUM","ENGCRS","ENGINEERINGCRS"];var W=["3857","900913","3785","102113"];const q=function(e){if(!function(e){return"string"==typeof e}(e))return e;if(function(e){return e in G}(e))return G[e];if(function(e){return U.some((function(t){return e.indexOf(t)>-1}))}(e)){var t=V(e);if(function(e){var t=T(e,"authority");if(t){var n=T(t,"epsg");return n&&W.indexOf(n)>-1}}(t))return G["EPSG:3857"];var n=function(e){var t=T(e,"extension");if(t)return T(t,"proj4")}(t);return n?_(n):t}return function(e){return"+"===e[0]}(e)?_(e):void 0};function H(e,t){var n,r;if(e=e||{},!t)return e;for(r in t)void 0!==(n=t[r])&&(e[r]=n);return e}function Y(e,t,n){var r=e*t;return n/Math.sqrt(1-r*r)}function K(e){return e<0?-1:1}function X(e){return Math.abs(e)<=S?e:e-K(e)*x}function Z(e,t,n){var r=e*n,o=.5*e;return r=Math.pow((1-r)/(1+r),o),Math.tan(.5*(f-t))/r}function J(e,t){for(var n,r,o=.5*e,i=f-2*Math.atan(t),a=0;a<=15;a++)if(n=e*Math.sin(i),i+=r=f-2*Math.atan(t*Math.pow((1-n)/(1+n),o))-i,Math.abs(r)<=1e-10)return i;return-9999}function Q(e){return e}var ee=[{init:function(){var e=this.b/this.a;this.es=1-e*e,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=Y(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)},forward:function(e){var t,n,r=e.x,o=e.y;if(o*w>90&&o*w<-90&&r*w>180&&r*w<-180)return null;if(Math.abs(Math.abs(o)-f)<=v)return null;if(this.sphere)t=this.x0+this.a*this.k0*X(r-this.long0),n=this.y0+this.a*this.k0*Math.log(Math.tan(A+.5*o));else{var i=Math.sin(o),a=Z(this.e,o,i);t=this.x0+this.a*this.k0*X(r-this.long0),n=this.y0-this.a*this.k0*Math.log(a)}return e.x=t,e.y=n,e},inverse:function(e){var t,n,r=e.x-this.x0,o=e.y-this.y0;if(this.sphere)n=f-2*Math.atan(Math.exp(-o/(this.a*this.k0)));else{var i=Math.exp(-o/(this.a*this.k0));if(-9999===(n=J(this.e,i)))return null}return t=X(this.long0+r/(this.a*this.k0)),e.x=t,e.y=n,e},names:["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"]},{init:function(){},forward:Q,inverse:Q,names:["longlat","identity"]}],te={},ne=[];function re(e,t){var n=ne.length;return e.names?(ne[n]=e,e.names.forEach((function(e){te[e.toLowerCase()]=n})),this):(console.log(t),!0)}const oe={start:function(){ee.forEach(re)},add:re,get:function(e){if(!e)return!1;var t=e.toLowerCase();return void 0!==te[t]&&ne[te[t]]?ne[te[t]]:void 0}};var ie={MERIT:{a:6378137,rf:298.257,ellipseName:"MERIT 1983"},SGS85:{a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},GRS80:{a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},IAU76:{a:6378140,rf:298.257,ellipseName:"IAU 1976"},airy:{a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},APL4:{a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},NWL9D:{a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},mod_airy:{a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},andrae:{a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},aust_SA:{a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},GRS67:{a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},bessel:{a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},bess_nam:{a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},clrk66:{a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},clrk80:{a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},clrk80ign:{a:6378249.2,b:6356515,rf:293.4660213,ellipseName:"Clarke 1880 (IGN)"},clrk58:{a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},CPM:{a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},delmbr:{a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},engelis:{a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},evrst30:{a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},evrst48:{a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},evrst56:{a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},evrst69:{a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},evrstSS:{a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},fschr60:{a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},fschr60m:{a:6378155,rf:298.3,ellipseName:"Fischer 1960"},fschr68:{a:6378150,rf:298.3,ellipseName:"Fischer 1968"},helmert:{a:6378200,rf:298.3,ellipseName:"Helmert 1906"},hough:{a:6378270,rf:297,ellipseName:"Hough"},intl:{a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},kaula:{a:6378163,rf:298.24,ellipseName:"Kaula 1961"},lerch:{a:6378139,rf:298.257,ellipseName:"Lerch 1979"},mprts:{a:6397300,rf:191,ellipseName:"Maupertius 1738"},new_intl:{a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},plessis:{a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},krass:{a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},SEasia:{a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},walbeck:{a:6376896,b:6355834.8467,ellipseName:"Walbeck"},WGS60:{a:6378165,rf:298.3,ellipseName:"WGS 60"},WGS66:{a:6378145,rf:298.25,ellipseName:"WGS 66"},WGS7:{a:6378135,rf:298.26,ellipseName:"WGS 72"}},ae=ie.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"};ie.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"};var se={};se.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},se.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},se.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},se.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},se.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},se.potsdam={towgs84:"598.1,73.7,418.2,0.202,0.045,-2.455,6.7",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},se.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},se.hermannskogel={towgs84:"577.326,90.129,463.919,5.137,1.474,5.297,2.4232",ellipse:"bessel",datumName:"Hermannskogel"},se.militargeographische_institut={towgs84:"577.326,90.129,463.919,5.137,1.474,5.297,2.4232",ellipse:"bessel",datumName:"Militar-Geographische Institut"},se.osni52={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"airy",datumName:"Irish National"},se.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},se.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},se.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},se.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},se.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},se.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},se.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},se.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"};const le=function(e,t,n,r,o,i,u){var d={};return d.datum_type=void 0===e||"none"===e?c:4,t&&(d.datum_params=t.map(parseFloat),0===d.datum_params[0]&&0===d.datum_params[1]&&0===d.datum_params[2]||(d.datum_type=a),d.datum_params.length>3&&(0===d.datum_params[3]&&0===d.datum_params[4]&&0===d.datum_params[5]&&0===d.datum_params[6]||(d.datum_type=s,d.datum_params[3]*=p,d.datum_params[4]*=p,d.datum_params[5]*=p,d.datum_params[6]=d.datum_params[6]/1e6+1))),u&&(d.datum_type=l,d.grids=u),d.a=n,d.b=r,d.es=o,d.ep2=i,d};var ce={};function ue(e){if(0===e.length)return null;var t="@"===e[0];return t&&(e=e.slice(1)),"null"===e?{name:"null",mandatory:!t,grid:null,isNull:!0}:{name:e,mandatory:!t,grid:ce[e]||null,isNull:!1}}function de(e){return e/3600*Math.PI/180}function he(e,t,n){return String.fromCharCode.apply(null,new Uint8Array(e.buffer.slice(t,n)))}function pe(e){return e.map((function(e){return[de(e.longitudeShift),de(e.latitudeShift)]}))}function fe(e,t,n){return{name:he(e,t+8,t+16).trim(),parent:he(e,t+24,t+24+8).trim(),lowerLatitude:e.getFloat64(t+72,n),upperLatitude:e.getFloat64(t+88,n),lowerLongitude:e.getFloat64(t+104,n),upperLongitude:e.getFloat64(t+120,n),latitudeInterval:e.getFloat64(t+136,n),longitudeInterval:e.getFloat64(t+152,n),gridNodeCount:e.getInt32(t+168,n)}}function ge(e,t,n,r){for(var o=t+176,i=[],a=0;a-1.001*f)l=-f;else if(l>f&&l<1.001*f)l=f;else{if(l<-f)return{x:-1/0,y:-1/0,z:e.z};if(l>f)return{x:1/0,y:1/0,z:e.z}}return s>Math.PI&&(s-=2*Math.PI),o=Math.sin(l),a=Math.cos(l),i=o*o,{x:((r=n/Math.sqrt(1-t*i))+c)*a*Math.cos(s),y:(r+c)*a*Math.sin(s),z:(r*(1-t)+c)*o}}function be(e,t,n,r){var o,i,a,s,l,c,u,d,h,p,f,g,m,y,v,b=1e-12,w=e.x,A=e.y,x=e.z?e.z:0;if(o=Math.sqrt(w*w+A*A),i=Math.sqrt(w*w+A*A+x*x),o/n1e-24&&m<30);return{x:y,y:Math.atan(f/Math.abs(p)),z:v}}function we(e){return e===a||e===s}function Ae(e,t,n){if(function(e,t){return e.datum_type===t.datum_type&&!(e.a!==t.a||Math.abs(e.es-t.es)>5e-11)&&(e.datum_type===a?e.datum_params[0]===t.datum_params[0]&&e.datum_params[1]===t.datum_params[1]&&e.datum_params[2]===t.datum_params[2]:e.datum_type!==s||e.datum_params[0]===t.datum_params[0]&&e.datum_params[1]===t.datum_params[1]&&e.datum_params[2]===t.datum_params[2]&&e.datum_params[3]===t.datum_params[3]&&e.datum_params[4]===t.datum_params[4]&&e.datum_params[5]===t.datum_params[5]&&e.datum_params[6]===t.datum_params[6])}(e,t))return n;if(e.datum_type===c||t.datum_type===c)return n;var r=e.a,o=e.es;if(e.datum_type===l){if(0!==xe(e,!1,n))return;r=u,o=h}var i=t.a,p=t.b,f=t.es;if(t.datum_type===l&&(i=u,p=d,f=h),o===f&&r===i&&!we(e.datum_type)&&!we(t.datum_type))return n;if((n=ve(n,o,r),we(e.datum_type)&&(n=function(e,t,n){if(t===a)return{x:e.x+n[0],y:e.y+n[1],z:e.z+n[2]};if(t===s){var r=n[0],o=n[1],i=n[2],l=n[3],c=n[4],u=n[5],d=n[6];return{x:d*(e.x-u*e.y+c*e.z)+r,y:d*(u*e.x+e.y-l*e.z)+o,z:d*(-c*e.x+l*e.y+e.z)+i}}}(n,e.datum_type,e.datum_params)),we(t.datum_type)&&(n=function(e,t,n){if(t===a)return{x:e.x-n[0],y:e.y-n[1],z:e.z-n[2]};if(t===s){var r=n[0],o=n[1],i=n[2],l=n[3],c=n[4],u=n[5],d=n[6],h=(e.x-r)/d,p=(e.y-o)/d,f=(e.z-i)/d;return{x:h+u*p-c*f,y:-u*h+p+l*f,z:c*h-l*p+f}}}(n,t.datum_type,t.datum_params)),n=be(n,f,i,p),t.datum_type===l)&&0!==xe(t,!0,n))return;return n}function xe(e,t,n){if(null===e.grids||0===e.grids.length)return console.log("Grid shift grids not found"),-1;var r={x:-n.x,y:n.y},o={x:Number.NaN,y:Number.NaN},i=[];e:for(var a=0;ar.y||p>r.x||m1e-12&&Math.abs(a.y)>1e-12);if(l<0)return console.log("Inverse grid shift iterator failed to converge."),r;r.x=X(i.x+n.ll[0]),r.y=i.y+n.ll[1]}else isNaN(i.x)||(r.x=e.x+i.x,r.y=e.y+i.y);return r}function Ce(e,t){var n,r={x:e.x/t.del[0],y:e.y/t.del[1]},o=Math.floor(r.x),i=Math.floor(r.y),a=r.x-1*o,s=r.y-1*i,l={x:Number.NaN,y:Number.NaN};if(o<0||o>=t.lim[0])return l;if(i<0||i>=t.lim[1])return l;n=i*t.lim[0]+o;var c=t.cvs[n][0],u=t.cvs[n][1];n++;var d=t.cvs[n][0],h=t.cvs[n][1];n+=t.lim[0];var p=t.cvs[n][0],f=t.cvs[n][1];n--;var g=t.cvs[n][0],m=t.cvs[n][1],y=a*s,v=a*(1-s),b=(1-a)*(1-s),w=(1-a)*s;return l.x=b*c+v*d+w*g+y*p,l.y=b*u+v*h+w*m+y*f,l}function Ee(e,t,n){var r,o,i,a=n.x,s=n.y,l=n.z||0,c={};for(i=0;i<3;i++)if(!t||2!==i||void 0!==n.z)switch(0===i?(r=a,o=-1!=="ew".indexOf(e.axis[i])?"x":"y"):1===i?(r=s,o=-1!=="ns".indexOf(e.axis[i])?"y":"x"):(r=l,o="z"),e.axis[i]){case"e":case"n":c[o]=r;break;case"w":case"s":c[o]=-r;break;case"u":void 0!==n[o]&&(c.z=r);break;case"d":void 0!==n[o]&&(c.z=-r);break;default:return null}return c}function ke(e){var t={x:e[0],y:e[1]};return e.length>2&&(t.z=e[2]),e.length>3&&(t.m=e[3]),t}function Te(e){if("function"==typeof Number.isFinite){if(Number.isFinite(e))return;throw new TypeError("coordinates must be finite numbers")}if("number"!=typeof e||e!=e||!isFinite(e))throw new TypeError("coordinates must be finite numbers")}function _e(e,t,n,r){var o,i=void 0!==(n=Array.isArray(n)?ke(n):{x:n.x,y:n.y,z:n.z,m:n.m}).z;if(function(e){Te(e.x),Te(e.y)}(n),e.datum&&t.datum&&function(e,t){return(e.datum.datum_type===a||e.datum.datum_type===s||e.datum.datum_type===l)&&"WGS84"!==t.datumCode||(t.datum.datum_type===a||t.datum.datum_type===s||t.datum.datum_type===l)&&"WGS84"!==e.datumCode}(e,t)&&(n=_e(e,o=new ye("WGS84"),n,r),e=o),r&&"enu"!==e.axis&&(n=Ee(e,!1,n)),"longlat"===e.projName)n={x:n.x*b,y:n.y*b,z:n.z||0};else if(e.to_meter&&(n={x:n.x*e.to_meter,y:n.y*e.to_meter,z:n.z||0}),!(n=e.inverse(n)))return;if(e.from_greenwich&&(n.x+=e.from_greenwich),n=Ae(e.datum,t.datum,n))return t.from_greenwich&&(n={x:n.x-t.from_greenwich,y:n.y,z:n.z||0}),"longlat"===t.projName?n={x:n.x*w,y:n.y*w,z:n.z||0}:(n=t.forward(n),t.to_meter&&(n={x:n.x/t.to_meter,y:n.y/t.to_meter,z:n.z||0})),r&&"enu"!==t.axis?Ee(t,!0,n):(n&&!i&&delete n.z,n)}var Oe=ye("WGS84");function Pe(e,t,n,r){var o,i,a;return Array.isArray(n)?(o=_e(e,t,n,r)||{x:NaN,y:NaN},n.length>2?void 0!==e.name&&"geocent"===e.name||void 0!==t.name&&"geocent"===t.name?"number"==typeof o.z?[o.x,o.y,o.z].concat(n.splice(3)):[o.x,o.y,n[2]].concat(n.splice(3)):[o.x,o.y].concat(n.splice(2)):[o.x,o.y]):(i=_e(e,t,n,r),2===(a=Object.keys(n)).length||a.forEach((function(r){if(void 0!==e.name&&"geocent"===e.name||void 0!==t.name&&"geocent"===t.name){if("x"===r||"y"===r||"z"===r)return}else if("x"===r||"y"===r)return;i[r]=n[r]})),i)}function Ie(e){return e instanceof ye?e:e.oProj?e.oProj:ye(e)}const Me=function(e,t,n){e=Ie(e);var r,o=!1;return void 0===t?(t=e,e=Oe,o=!0):(void 0!==t.x||Array.isArray(t))&&(n=t,t=e,e=Oe,o=!0),t=Ie(t),n?Pe(e,t,n):(r={forward:function(n,r){return Pe(e,t,n,r)},inverse:function(n,r){return Pe(t,e,n,r)}},o&&(r.oProj=t),r)};var Le=6,Re="AJSAJS",je="AFAFAF",Fe=65,De=73,Ne=79,ze=86,Be=90;const Ve={forward:$e,inverse:function(e){var t=qe(Ke(e.toUpperCase()));if(t.lat&&t.lon)return[t.lon,t.lat,t.lon,t.lat];return[t.left,t.bottom,t.right,t.top]},toPoint:Ge};function $e(e,t){return t=t||5,function(e,t){var n="00000"+e.easting,r="00000"+e.northing;return e.zoneNumber+e.zoneLetter+(p=e.easting,f=e.northing,g=e.zoneNumber,m=Ye(g),y=Math.floor(p/1e5),v=Math.floor(f/1e5)%20,o=y,i=v,a=m,s=a-1,l=Re.charCodeAt(s),c=je.charCodeAt(s),u=l+o-1,d=c+i,h=!1,u>Be&&(u=u-Be+Fe-1,h=!0),(u===De||lDe||(u>De||lNe||(u>Ne||lBe&&(u=u-Be+Fe-1),d>ze?(d=d-ze+Fe-1,h=!0):h=!1,(d===De||cDe||(d>De||cNe||(d>Ne||cze&&(d=d-ze+Fe-1),String.fromCharCode(u)+String.fromCharCode(d))+n.substr(n.length-5,t)+r.substr(r.length-5,t);var o,i,a,s,l,c,u,d,h;var p,f,g,m,y,v}(function(e){var t,n,r,o,i,a,s,l,c=e.lat,u=e.lon,d=6378137,h=.00669438,p=.9996,f=Ue(c),g=Ue(u);l=Math.floor((u+180)/6)+1,180===u&&(l=60);c>=56&&c<64&&u>=3&&u<12&&(l=32);c>=72&&c<84&&(u>=0&&u<9?l=31:u>=9&&u<21?l=33:u>=21&&u<33?l=35:u>=33&&u<42&&(l=37));s=Ue(6*(l-1)-180+3),t=h/(1-h),n=d/Math.sqrt(1-h*Math.sin(f)*Math.sin(f)),r=Math.tan(f)*Math.tan(f),o=t*Math.cos(f)*Math.cos(f),i=Math.cos(f)*(g-s),a=d*((1-h/4-3*h*h/64-5*h*h*h/256)*f-(3*h/8+3*h*h/32+45*h*h*h/1024)*Math.sin(2*f)+(15*h*h/256+45*h*h*h/1024)*Math.sin(4*f)-35*h*h*h/3072*Math.sin(6*f));var m=p*n*(i+(1-r+o)*i*i*i/6+(5-18*r+r*r+72*o-58*t)*i*i*i*i*i/120)+5e5,y=p*(a+n*Math.tan(f)*(i*i/2+(5-r+9*o+4*o*o)*i*i*i*i/24+(61-58*r+r*r+600*o-330*t)*i*i*i*i*i*i/720));c<0&&(y+=1e7);return{northing:Math.round(y),easting:Math.round(m),zoneNumber:l,zoneLetter:He(c)}}({lat:e[1],lon:e[0]}),t)}function Ge(e){var t=qe(Ke(e.toUpperCase()));return t.lat&&t.lon?[t.lon,t.lat]:[(t.left+t.right)/2,(t.top+t.bottom)/2]}function Ue(e){return e*(Math.PI/180)}function We(e){return e/Math.PI*180}function qe(e){var t=e.northing,n=e.easting,r=e.zoneLetter,o=e.zoneNumber;if(o<0||o>60)return null;var i,a,s,l,c,u,d,h,p,f=.9996,g=6378137,m=.00669438,y=(1-Math.sqrt(.99330562))/(1+Math.sqrt(.99330562)),v=n-5e5,b=t;r<"N"&&(b-=1e7),d=6*(o-1)-180+3,i=.006739496752268451,p=(h=b/f/6367449.145945056)+(3*y/2-27*y*y*y/32)*Math.sin(2*h)+(21*y*y/16-55*y*y*y*y/32)*Math.sin(4*h)+151*y*y*y/96*Math.sin(6*h),a=g/Math.sqrt(1-m*Math.sin(p)*Math.sin(p)),s=Math.tan(p)*Math.tan(p),l=i*Math.cos(p)*Math.cos(p),c=.99330562*g/Math.pow(1-m*Math.sin(p)*Math.sin(p),1.5),u=v/(a*f);var w=p-a*Math.tan(p)/c*(u*u/2-(5+3*s+10*l-4*l*l-9*i)*u*u*u*u/24+(61+90*s+298*l+45*s*s-1.6983531815716497-3*l*l)*u*u*u*u*u*u/720);w=We(w);var A,x=(u-(1+2*s+l)*u*u*u/6+(5-2*l+28*s-3*l*l+8*i+24*s*s)*u*u*u*u*u/120)/Math.cos(p);if(x=d+We(x),e.accuracy){var S=qe({northing:e.northing+e.accuracy,easting:e.easting+e.accuracy,zoneLetter:e.zoneLetter,zoneNumber:e.zoneNumber});A={top:S.lat,right:S.lon,bottom:w,left:x}}else A={lat:w,lon:x};return A}function He(e){var t="Z";return 84>=e&&e>=72?t="X":72>e&&e>=64?t="W":64>e&&e>=56?t="V":56>e&&e>=48?t="U":48>e&&e>=40?t="T":40>e&&e>=32?t="S":32>e&&e>=24?t="R":24>e&&e>=16?t="Q":16>e&&e>=8?t="P":8>e&&e>=0?t="N":0>e&&e>=-8?t="M":-8>e&&e>=-16?t="L":-16>e&&e>=-24?t="K":-24>e&&e>=-32?t="J":-32>e&&e>=-40?t="H":-40>e&&e>=-48?t="G":-48>e&&e>=-56?t="F":-56>e&&e>=-64?t="E":-64>e&&e>=-72?t="D":-72>e&&e>=-80&&(t="C"),t}function Ye(e){var t=e%Le;return 0===t&&(t=Le),t}function Ke(e){if(e&&0===e.length)throw"MGRSPoint coverting from nothing";for(var t,n=e.length,r=null,o="",i=0;!/[A-Z]/.test(t=e.charAt(i));){if(i>=2)throw"MGRSPoint bad conversion from: "+e;o+=t,i++}var a=parseInt(o,10);if(0===i||i+3>n)throw"MGRSPoint bad conversion from: "+e;var s=e.charAt(i++);if(s<="A"||"B"===s||"Y"===s||s>="Z"||"I"===s||"O"===s)throw"MGRSPoint zone letter "+s+" not handled: "+e;r=e.substring(i,i+=2);for(var l=Ye(a),c=function(e,t){var n=Re.charCodeAt(t-1),r=1e5,o=!1;for(;n!==e.charCodeAt(0);){if(++n===De&&n++,n===Ne&&n++,n>Be){if(o)throw"Bad character: "+e;n=Fe,o=!0}r+=1e5}return r}(r.charAt(0),l),u=function(e,t){if(e>"V")throw"MGRSPoint given invalid Northing "+e;var n=je.charCodeAt(t-1),r=0,o=!1;for(;n!==e.charCodeAt(0);){if(++n===De&&n++,n===Ne&&n++,n>ze){if(o)throw"Bad character: "+e;n=Fe,o=!0}r+=1e5}return r}(r.charAt(1),l);u0&&(h=1e5/Math.pow(10,g),p=e.substring(i,i+g),m=parseFloat(p)*h,f=e.substring(i+g),y=parseFloat(f)*h),{easting:m+c,northing:y+u,zoneLetter:s,zoneNumber:a,accuracy:h}}function Xe(e){var t;switch(e){case"C":t=11e5;break;case"D":t=2e6;break;case"E":t=28e5;break;case"F":t=37e5;break;case"G":t=46e5;break;case"H":t=55e5;break;case"J":t=64e5;break;case"K":t=73e5;break;case"L":t=82e5;break;case"M":t=91e5;break;case"N":t=0;break;case"P":t=8e5;break;case"Q":t=17e5;break;case"R":t=26e5;break;case"S":t=35e5;break;case"T":t=44e5;break;case"U":t=53e5;break;case"V":t=62e5;break;case"W":t=7e6;break;case"X":t=79e5;break;default:t=-1}if(t>=0)return t;throw"Invalid zone letter: "+e}function Ze(e,t,n){if(!(this instanceof Ze))return new Ze(e,t,n);if(Array.isArray(e))this.x=e[0],this.y=e[1],this.z=e[2]||0;else if("object"==typeof e)this.x=e.x,this.y=e.y,this.z=e.z||0;else if("string"==typeof e&&void 0===t){var r=e.split(",");this.x=parseFloat(r[0],10),this.y=parseFloat(r[1],10),this.z=parseFloat(r[2],10)||0}else this.x=e,this.y=t,this.z=n||0;console.warn("proj4.Point will be removed in version 3, use proj4.toPoint")}Ze.fromMGRS=function(e){return new Ze(Ge(e))},Ze.prototype.toMGRS=function(e){return $e([this.x,this.y],e)};const Je=Ze;var Qe=1,et=.25,tt=.046875,nt=.01953125,rt=.01068115234375,ot=.75,it=.46875,at=.013020833333333334,st=.007120768229166667,lt=.3645833333333333,ct=.005696614583333333,ut=.3076171875;function dt(e){var t=[];t[0]=Qe-e*(et+e*(tt+e*(nt+e*rt))),t[1]=e*(ot-e*(tt+e*(nt+e*rt)));var n=e*e;return t[2]=n*(it-e*(at+e*st)),n*=e,t[3]=n*(lt-e*ct),t[4]=n*e*ut,t}function ht(e,t,n,r){return n*=t,t*=t,r[0]*e-n*(r[1]+t*(r[2]+t*(r[3]+t*r[4])))}var pt=20;function ft(e,t,n){for(var r=1/(1-t),o=e,i=pt;i;--i){var a=Math.sin(o),s=1-t*a*a;if(o-=s=(ht(o,a,Math.cos(o),n)-e)*(s*Math.sqrt(s))*r,Math.abs(s)v?Math.tan(i):0,f=Math.pow(p,2),g=Math.pow(f,2);t=1-this.es*Math.pow(s,2),c/=Math.sqrt(t);var m=ht(i,s,l,this.en);n=this.a*(this.k0*c*(1+u/6*(1-f+d+u/20*(5-18*f+g+14*d-58*f*d+u/42*(61+179*g-g*f-479*f)))))+this.x0,r=this.a*(this.k0*(m-this.ml0+s*a*c/2*(1+u/12*(5-f+9*d+4*h+u/30*(61+g-58*f+270*d-330*f*d+u/56*(1385+543*g-g*f-3111*f))))))+this.y0}else{var y=l*Math.sin(a);if(Math.abs(Math.abs(y)-1)=1){if(y-1>v)return 93;r=0}else r=Math.acos(r);i<0&&(r=-r),r=this.a*this.k0*(r-this.lat0)+this.y0}return e.x=n,e.y=r,e},inverse:function(e){var t,n,r,o,i=(e.x-this.x0)*(1/this.a),a=(e.y-this.y0)*(1/this.a);if(this.es)if(n=ft(t=this.ml0+a/this.k0,this.es,this.en),Math.abs(n)v?Math.tan(n):0,u=this.ep2*Math.pow(l,2),d=Math.pow(u,2),h=Math.pow(c,2),p=Math.pow(h,2);t=1-this.es*Math.pow(s,2);var g=i*Math.sqrt(t)/this.k0,m=Math.pow(g,2);r=n-(t*=c)*m/(1-this.es)*.5*(1-m/12*(5+3*h-9*u*h+u-4*d-m/30*(61+90*h-252*u*h+45*p+46*u-m/56*(1385+3633*h+4095*p+1574*p*h)))),o=X(this.long0+g*(1-m/6*(1+2*h+u-m/20*(5+28*h+24*p+8*u*h+6*u-m/42*(61+662*h+1320*p+720*p*h))))/l)}else r=f*K(a),o=0;else{var y=Math.exp(i/this.k0),b=.5*(y-1/y),w=this.lat0+a/this.k0,A=Math.cos(w);t=Math.sqrt((1-Math.pow(A,2))/(1+Math.pow(b,2))),r=Math.asin(t),a<0&&(r=-r),o=0===b&&0===A?0:X(Math.atan2(b,A)+this.long0)}return e.x=o,e.y=r,e},names:["Fast_Transverse_Mercator","Fast Transverse Mercator"]};function mt(e){var t=Math.exp(e);return t=(t-1/t)/2}function yt(e,t){e=Math.abs(e),t=Math.abs(t);var n=Math.max(e,t),r=Math.min(e,t)/(n||1);return n*Math.sqrt(1+Math.pow(r,2))}function vt(e){var t=Math.abs(e);return t=function(e){var t=1+e,n=t-1;return 0===n?e:e*Math.log(t)/n}(t*(1+t/(yt(1,t)+1))),e<0?-t:t}function bt(e,t){for(var n,r=2*Math.cos(2*t),o=e.length-1,i=e[o],a=0;--o>=0;)n=r*i-a+e[o],a=i,i=n;return t+n*Math.sin(2*t)}function wt(e,t,n){for(var r,o,i=Math.sin(t),a=Math.cos(t),s=mt(n),l=function(e){var t=Math.exp(e);return(t+1/t)/2}(n),c=2*a*l,u=-2*i*s,d=e.length-1,h=e[d],p=0,f=0,g=0;--d>=0;)r=f,o=p,h=c*(f=h)-r-u*(p=g)+e[d],g=u*f-o+c*p;return[(c=i*l)*h-(u=a*s)*g,c*g+u*h]}const At={init:function(){if(!this.approx&&(isNaN(this.es)||this.es<=0))throw new Error('Incorrect elliptical usage. Try using the +approx option in the proj string, or PROJECTION["Fast_Transverse_Mercator"] in the WKT.');this.approx&&(gt.init.apply(this),this.forward=gt.forward,this.inverse=gt.inverse),this.x0=void 0!==this.x0?this.x0:0,this.y0=void 0!==this.y0?this.y0:0,this.long0=void 0!==this.long0?this.long0:0,this.lat0=void 0!==this.lat0?this.lat0:0,this.cgb=[],this.cbg=[],this.utg=[],this.gtu=[];var e=this.es/(1+Math.sqrt(1-this.es)),t=e/(2-e),n=t;this.cgb[0]=t*(2+t*(-2/3+t*(t*(116/45+t*(26/45+t*(-2854/675)))-2))),this.cbg[0]=t*(t*(2/3+t*(4/3+t*(-82/45+t*(32/45+t*(4642/4725)))))-2),n*=t,this.cgb[1]=n*(7/3+t*(t*(-227/45+t*(2704/315+t*(2323/945)))-1.6)),this.cbg[1]=n*(5/3+t*(-16/15+t*(-13/9+t*(904/315+t*(-1522/945))))),n*=t,this.cgb[2]=n*(56/15+t*(-136/35+t*(-1262/105+t*(73814/2835)))),this.cbg[2]=n*(-26/15+t*(34/21+t*(1.6+t*(-12686/2835)))),n*=t,this.cgb[3]=n*(4279/630+t*(-332/35+t*(-399572/14175))),this.cbg[3]=n*(1237/630+t*(t*(-24832/14175)-2.4)),n*=t,this.cgb[4]=n*(4174/315+t*(-144838/6237)),this.cbg[4]=n*(-734/315+t*(109598/31185)),n*=t,this.cgb[5]=n*(601676/22275),this.cbg[5]=n*(444337/155925),n=Math.pow(t,2),this.Qn=this.k0/(1+t)*(1+n*(1/4+n*(1/64+n/256))),this.utg[0]=t*(t*(2/3+t*(-37/96+t*(1/360+t*(81/512+t*(-96199/604800)))))-.5),this.gtu[0]=t*(.5+t*(-2/3+t*(5/16+t*(41/180+t*(-127/288+t*(7891/37800)))))),this.utg[1]=n*(-1/48+t*(-1/15+t*(437/1440+t*(-46/105+t*(1118711/3870720))))),this.gtu[1]=n*(13/48+t*(t*(557/1440+t*(281/630+t*(-1983433/1935360)))-.6)),n*=t,this.utg[2]=n*(-17/480+t*(37/840+t*(209/4480+t*(-5569/90720)))),this.gtu[2]=n*(61/240+t*(-103/140+t*(15061/26880+t*(167603/181440)))),n*=t,this.utg[3]=n*(-4397/161280+t*(11/504+t*(830251/7257600))),this.gtu[3]=n*(49561/161280+t*(-179/168+t*(6601661/7257600))),n*=t,this.utg[4]=n*(-4583/161280+t*(108847/3991680)),this.gtu[4]=n*(34729/80640+t*(-3418889/1995840)),n*=t,this.utg[5]=n*(-20648693/638668800),this.gtu[5]=.6650675310896665*n;var r=bt(this.cbg,this.lat0);this.Zb=-this.Qn*(r+function(e,t){for(var n,r=2*Math.cos(t),o=e.length-1,i=e[o],a=0;--o>=0;)n=r*i-a+e[o],a=i,i=n;return Math.sin(t)*n}(this.gtu,2*r))},forward:function(e){var t=X(e.x-this.long0),n=e.y;n=bt(this.cbg,n);var r=Math.sin(n),o=Math.cos(n),i=Math.sin(t),a=Math.cos(t);n=Math.atan2(r,a*o),t=Math.atan2(i*o,yt(r,o*a)),t=vt(Math.tan(t));var s,l,c=wt(this.gtu,2*n,2*t);return n+=c[0],t+=c[1],Math.abs(t)<=2.623395162778?(s=this.a*(this.Qn*t)+this.x0,l=this.a*(this.Qn*n+this.Zb)+this.y0):(s=1/0,l=1/0),e.x=s,e.y=l,e},inverse:function(e){var t,n,r=(e.x-this.x0)*(1/this.a),o=(e.y-this.y0)*(1/this.a);if(o=(o-this.Zb)/this.Qn,r/=this.Qn,Math.abs(r)<=2.623395162778){var i=wt(this.utg,2*o,2*r);o+=i[0],r+=i[1],r=Math.atan(mt(r));var a=Math.sin(o),s=Math.cos(o),l=Math.sin(r),c=Math.cos(r);o=Math.atan2(a*c,yt(l,c*s)),t=X((r=Math.atan2(l,c*s))+this.long0),n=bt(this.cgb,o)}else t=1/0,n=1/0;return e.x=t,e.y=n,e},names:["Extended_Transverse_Mercator","Extended Transverse Mercator","etmerc","Transverse_Mercator","Transverse Mercator","Gauss Kruger","Gauss_Kruger","tmerc"]};const xt={init:function(){var e=function(e,t){if(void 0===e){if((e=Math.floor(30*(X(t)+Math.PI)/Math.PI)+1)<0)return 0;if(e>60)return 60}return e}(this.zone,this.long0);if(void 0===e)throw new Error("unknown utm zone");this.lat0=0,this.long0=(6*Math.abs(e)-183)*b,this.x0=5e5,this.y0=this.utmSouth?1e7:0,this.k0=.9996,At.init.apply(this),this.forward=At.forward,this.inverse=At.inverse},names:["Universal Transverse Mercator System","utm"],dependsOn:"etmerc"};function St(e,t){return Math.pow((1-e)/(1+e),t)}const Ct={init:function(){var e=Math.sin(this.lat0),t=Math.cos(this.lat0);t*=t,this.rc=Math.sqrt(1-this.es)/(1-this.es*e*e),this.C=Math.sqrt(1+this.es*t*t/(1-this.es)),this.phic0=Math.asin(e/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+A)/(Math.pow(Math.tan(.5*this.lat0+A),this.C)*St(this.e*e,this.ratexp))},forward:function(e){var t=e.x,n=e.y;return e.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*n+A),this.C)*St(this.e*Math.sin(n),this.ratexp))-f,e.x=this.C*t,e},inverse:function(e){for(var t=e.x/this.C,n=e.y,r=Math.pow(Math.tan(.5*n+A)/this.K,1/this.C),o=20;o>0&&(n=2*Math.atan(r*St(this.e*Math.sin(e.y),-.5*this.e))-f,!(Math.abs(n-e.y)<1e-14));--o)e.y=n;return o?(e.x=t,e.y=n,e):null},names:["gauss"]};const Et={init:function(){Ct.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))},forward:function(e){var t,n,r,o;return e.x=X(e.x-this.long0),Ct.forward.apply(this,[e]),t=Math.sin(e.y),n=Math.cos(e.y),r=Math.cos(e.x),o=this.k0*this.R2/(1+this.sinc0*t+this.cosc0*n*r),e.x=o*n*Math.sin(e.x),e.y=o*(this.cosc0*t-this.sinc0*n*r),e.x=this.a*e.x+this.x0,e.y=this.a*e.y+this.y0,e},inverse:function(e){var t,n,r,o,i;if(e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,i=yt(e.x,e.y)){var a=2*Math.atan2(i,this.R2);t=Math.sin(a),n=Math.cos(a),o=Math.asin(n*this.sinc0+e.y*t*this.cosc0/i),r=Math.atan2(e.x*t,i*this.cosc0*n-e.y*this.sinc0*t)}else o=this.phic0,r=0;return e.x=r,e.y=o,Ct.inverse.apply(this,[e]),e.x=X(e.x+this.long0),e},names:["Stereographic_North_Pole","Oblique_Stereographic","sterea","Oblique Stereographic Alternative","Double_Stereographic"]};const kt={init:function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=v&&(this.k0=.5*(1+K(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=v&&(this.lat0>0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=v&&Math.abs(Math.cos(this.lat_ts))>v&&(this.k0=.5*this.cons*Y(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/Z(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=Y(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-f,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))},forward:function(e){var t,n,r,o,i,a,s=e.x,l=e.y,c=Math.sin(l),u=Math.cos(l),d=X(s-this.long0);return Math.abs(Math.abs(s-this.long0)-Math.PI)<=v&&Math.abs(l+this.lat0)<=v?(e.x=NaN,e.y=NaN,e):this.sphere?(t=2*this.k0/(1+this.sinlat0*c+this.coslat0*u*Math.cos(d)),e.x=this.a*t*u*Math.sin(d)+this.x0,e.y=this.a*t*(this.coslat0*c-this.sinlat0*u*Math.cos(d))+this.y0,e):(n=2*Math.atan(this.ssfn_(l,c,this.e))-f,o=Math.cos(n),r=Math.sin(n),Math.abs(this.coslat0)<=v?(i=Z(this.e,l*this.con,this.con*c),a=2*this.a*this.k0*i/this.cons,e.x=this.x0+a*Math.sin(s-this.long0),e.y=this.y0-this.con*a*Math.cos(s-this.long0),e):(Math.abs(this.sinlat0)0?X(this.long0+Math.atan2(e.x,-1*e.y)):X(this.long0+Math.atan2(e.x,e.y)):X(this.long0+Math.atan2(e.x*Math.sin(s),a*this.coslat0*Math.cos(s)-e.y*this.sinlat0*Math.sin(s))),e.x=t,e.y=n,e)}if(Math.abs(this.coslat0)<=v){if(a<=v)return n=this.lat0,t=this.long0,e.x=t,e.y=n,e;e.x*=this.con,e.y*=this.con,r=a*this.cons/(2*this.a*this.k0),n=this.con*J(this.e,r),t=this.con*X(this.con*this.long0+Math.atan2(e.x,-1*e.y))}else o=2*Math.atan(a*this.cosX0/(2*this.a*this.k0*this.ms1)),t=this.long0,a<=v?i=this.X0:(i=Math.asin(Math.cos(o)*this.sinX0+e.y*Math.sin(o)*this.cosX0/a),t=X(this.long0+Math.atan2(e.x*Math.sin(o),a*this.cosX0*Math.cos(o)-e.y*this.sinX0*Math.sin(o)))),n=-1*J(this.e,Math.tan(.5*(f+i)));return e.x=t,e.y=n,e},names:["stere","Stereographic_South_Pole","Polar Stereographic (variant B)","Polar_Stereographic"],ssfn_:function(e,t,n){return t*=n,Math.tan(.5*(f+e))*Math.pow((1-t)/(1+t),.5*n)}};const Tt={init:function(){var e=this.lat0;this.lambda0=this.long0;var t=Math.sin(e),n=this.a,r=1/this.rf,o=2*r-Math.pow(r,2),i=this.e=Math.sqrt(o);this.R=this.k0*n*Math.sqrt(1-o)/(1-o*Math.pow(t,2)),this.alpha=Math.sqrt(1+o/(1-o)*Math.pow(Math.cos(e),4)),this.b0=Math.asin(t/this.alpha);var a=Math.log(Math.tan(Math.PI/4+this.b0/2)),s=Math.log(Math.tan(Math.PI/4+e/2)),l=Math.log((1+i*t)/(1-i*t));this.K=a-this.alpha*s+this.alpha*i/2*l},forward:function(e){var t=Math.log(Math.tan(Math.PI/4-e.y/2)),n=this.e/2*Math.log((1+this.e*Math.sin(e.y))/(1-this.e*Math.sin(e.y))),r=-this.alpha*(t+n)+this.K,o=2*(Math.atan(Math.exp(r))-Math.PI/4),i=this.alpha*(e.x-this.lambda0),a=Math.atan(Math.sin(i)/(Math.sin(this.b0)*Math.tan(o)+Math.cos(this.b0)*Math.cos(i))),s=Math.asin(Math.cos(this.b0)*Math.sin(o)-Math.sin(this.b0)*Math.cos(o)*Math.cos(i));return e.y=this.R/2*Math.log((1+Math.sin(s))/(1-Math.sin(s)))+this.y0,e.x=this.R*a+this.x0,e},inverse:function(e){for(var t=e.x-this.x0,n=e.y-this.y0,r=t/this.R,o=2*(Math.atan(Math.exp(n/this.R))-Math.PI/4),i=Math.asin(Math.cos(this.b0)*Math.sin(o)+Math.sin(this.b0)*Math.cos(o)*Math.cos(r)),a=Math.atan(Math.sin(r)/(Math.cos(this.b0)*Math.cos(r)-Math.sin(this.b0)*Math.tan(o))),s=this.lambda0+a/this.alpha,l=0,c=i,u=-1e3,d=0;Math.abs(c-u)>1e-7;){if(++d>20)return;l=1/this.alpha*(Math.log(Math.tan(Math.PI/4+i/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(c))/2)),u=c,c=2*Math.atan(Math.exp(l))-Math.PI/2}return e.x=s,e.y=c,e},names:["somerc"]};var _t=1e-7;const Ot={init:function(){var e,t,n,r,o,i,a,s,l,c,u,d,h,p=0,g=0,m=0,y=0,w=0,S=0,C=0;this.no_off=(h="object"==typeof(d=this).PROJECTION?Object.keys(d.PROJECTION)[0]:d.PROJECTION,"no_uoff"in d||"no_off"in d||-1!==["Hotine_Oblique_Mercator","Hotine_Oblique_Mercator_Azimuth_Natural_Origin"].indexOf(h)),this.no_rot="no_rot"in this;var E=!1;"alpha"in this&&(E=!0);var k=!1;if("rectified_grid_angle"in this&&(k=!0),E&&(C=this.alpha),k&&(p=this.rectified_grid_angle*b),E||k)g=this.longc;else if(m=this.long1,w=this.lat1,y=this.long2,S=this.lat2,Math.abs(w-S)<=_t||(e=Math.abs(w))<=_t||Math.abs(e-f)<=_t||Math.abs(Math.abs(this.lat0)-f)<=_t||Math.abs(Math.abs(S)-f)<=_t)throw new Error;var T=1-this.es;t=Math.sqrt(T),Math.abs(this.lat0)>v?(s=Math.sin(this.lat0),n=Math.cos(this.lat0),e=1-this.es*s*s,this.B=n*n,this.B=Math.sqrt(1+this.es*this.B*this.B/T),this.A=this.B*this.k0*t/e,(o=(r=this.B*t/(n*Math.sqrt(e)))*r-1)<=0?o=0:(o=Math.sqrt(o),this.lat0<0&&(o=-o)),this.E=o+=r,this.E*=Math.pow(Z(this.e,this.lat0,s),this.B)):(this.B=1/t,this.A=this.k0,this.E=r=o=1),E||k?(E?(u=Math.asin(Math.sin(C)/r),k||(p=C)):(u=p,C=Math.asin(r*Math.sin(u))),this.lam0=g-Math.asin(.5*(o-1/o)*Math.tan(u))/this.B):(i=Math.pow(Z(this.e,w,Math.sin(w)),this.B),a=Math.pow(Z(this.e,S,Math.sin(S)),this.B),o=this.E/i,l=(a-i)/(a+i),c=((c=this.E*this.E)-a*i)/(c+a*i),(e=m-y)<-Math.pi?y-=x:e>Math.pi&&(y+=x),this.lam0=X(.5*(m+y)-Math.atan(c*Math.tan(.5*this.B*(m-y))/l)/this.B),u=Math.atan(2*Math.sin(this.B*X(m-this.lam0))/(o-1/o)),p=C=Math.asin(r*Math.sin(u))),this.singam=Math.sin(u),this.cosgam=Math.cos(u),this.sinrot=Math.sin(p),this.cosrot=Math.cos(p),this.rB=1/this.B,this.ArB=this.A*this.rB,this.BrA=1/this.ArB,this.A,this.B,this.no_off?this.u_0=0:(this.u_0=Math.abs(this.ArB*Math.atan(Math.sqrt(r*r-1)/Math.cos(C))),this.lat0<0&&(this.u_0=-this.u_0)),o=.5*u,this.v_pole_n=this.ArB*Math.log(Math.tan(A-o)),this.v_pole_s=this.ArB*Math.log(Math.tan(A+o))},forward:function(e){var t,n,r,o,i,a,s,l,c={};if(e.x=e.x-this.lam0,Math.abs(Math.abs(e.y)-f)>v){if(t=.5*((i=this.E/Math.pow(Z(this.e,e.y,Math.sin(e.y)),this.B))-(a=1/i)),n=.5*(i+a),o=Math.sin(this.B*e.x),r=(t*this.singam-o*this.cosgam)/n,Math.abs(Math.abs(r)-1)0?this.v_pole_n:this.v_pole_s,s=this.ArB*e.y;return this.no_rot?(c.x=s,c.y=l):(s-=this.u_0,c.x=l*this.cosrot+s*this.sinrot,c.y=s*this.cosrot-l*this.sinrot),c.x=this.a*c.x+this.x0,c.y=this.a*c.y+this.y0,c},inverse:function(e){var t,n,r,o,i,a,s,l={};if(e.x=(e.x-this.x0)*(1/this.a),e.y=(e.y-this.y0)*(1/this.a),this.no_rot?(n=e.y,t=e.x):(n=e.x*this.cosrot-e.y*this.sinrot,t=e.y*this.cosrot+e.x*this.sinrot+this.u_0),o=.5*((r=Math.exp(-this.BrA*n))-1/r),i=.5*(r+1/r),s=((a=Math.sin(this.BrA*t))*this.cosgam+o*this.singam)/i,Math.abs(Math.abs(s)-1)v?this.ns=Math.log(r/s)/Math.log(o/l):this.ns=t,isNaN(this.ns)&&(this.ns=t),this.f0=r/(this.ns*Math.pow(o,this.ns)),this.rh=this.a*this.f0*Math.pow(c,this.ns),this.title||(this.title="Lambert Conformal Conic")}},forward:function(e){var t=e.x,n=e.y;Math.abs(2*Math.abs(n)-Math.PI)<=v&&(n=K(n)*(f-2*v));var r,o,i=Math.abs(Math.abs(n)-f);if(i>v)r=Z(this.e,n,Math.sin(n)),o=this.a*this.f0*Math.pow(r,this.ns);else{if((i=n*this.ns)<=0)return null;o=0}var a=this.ns*X(t-this.long0);return e.x=this.k0*(o*Math.sin(a))+this.x0,e.y=this.k0*(this.rh-o*Math.cos(a))+this.y0,e},inverse:function(e){var t,n,r,o,i,a=(e.x-this.x0)/this.k0,s=this.rh-(e.y-this.y0)/this.k0;this.ns>0?(t=Math.sqrt(a*a+s*s),n=1):(t=-Math.sqrt(a*a+s*s),n=-1);var l=0;if(0!==t&&(l=Math.atan2(n*a,n*s)),0!==t||this.ns>0){if(n=1/this.ns,r=Math.pow(t/(this.a*this.f0),n),-9999===(o=J(this.e,r)))return null}else o=-f;return i=X(l/this.ns+this.long0),e.x=i,e.y=o,e},names:["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_1SP","Lambert_Conformal_Conic_2SP","lcc","Lambert Conic Conformal (1SP)","Lambert Conic Conformal (2SP)"]};const It={init:function(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq},forward:function(e){var t,n,r,o,i,a,s,l=e.x,c=e.y,u=X(l-this.long0);return t=Math.pow((1+this.e*Math.sin(c))/(1-this.e*Math.sin(c)),this.alfa*this.e/2),n=2*(Math.atan(this.k*Math.pow(Math.tan(c/2+this.s45),this.alfa)/t)-this.s45),r=-u*this.alfa,o=Math.asin(Math.cos(this.ad)*Math.sin(n)+Math.sin(this.ad)*Math.cos(n)*Math.cos(r)),i=Math.asin(Math.cos(n)*Math.sin(r)/Math.cos(o)),a=this.n*i,s=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(o/2+this.s45),this.n),e.y=s*Math.cos(a)/1,e.x=s*Math.sin(a)/1,this.czech||(e.y*=-1,e.x*=-1),e},inverse:function(e){var t,n,r,o,i,a,s,l=e.x;e.x=e.y,e.y=l,this.czech||(e.y*=-1,e.x*=-1),i=Math.sqrt(e.x*e.x+e.y*e.y),o=Math.atan2(e.y,e.x)/Math.sin(this.s0),r=2*(Math.atan(Math.pow(this.ro0/i,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),t=Math.asin(Math.cos(this.ad)*Math.sin(r)-Math.sin(this.ad)*Math.cos(r)*Math.cos(o)),n=Math.asin(Math.cos(r)*Math.sin(o)/Math.cos(t)),e.x=this.long0-n/this.alfa,a=t,s=0;var c=0;do{e.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(t/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(a))/(1-this.e*Math.sin(a)),this.e/2))-this.s45),Math.abs(a-e.y)<1e-10&&(s=1),a=e.y,c+=1}while(0===s&&c<15);return c>=15?null:e},names:["Krovak","krovak"]};function Mt(e,t,n,r,o){return e*o-t*Math.sin(2*o)+n*Math.sin(4*o)-r*Math.sin(6*o)}function Lt(e){return 1-.25*e*(1+e/16*(3+1.25*e))}function Rt(e){return.375*e*(1+.25*e*(1+.46875*e))}function jt(e){return.05859375*e*e*(1+.75*e)}function Ft(e){return e*e*e*(35/3072)}function Dt(e,t,n){var r=t*n;return e/Math.sqrt(1-r*r)}function Nt(e){return Math.abs(e)1e-7?(1-e*e)*(t/(1-(n=e*t)*n)-.5/e*Math.log((1-n)/(1+n))):2*t}var $t=.3333333333333333,Gt=.17222222222222222,Ut=.10257936507936508,Wt=.06388888888888888,qt=.0664021164021164,Ht=.016415012942191543;const Yt={init:function(){var e,t=Math.abs(this.lat0);if(Math.abs(t-f)0)switch(this.qp=Vt(this.e,1),this.mmf=.5/(1-this.es),this.apa=function(e){var t,n=[];return n[0]=e*$t,t=e*e,n[0]+=t*Gt,n[1]=t*Wt,t*=e,n[0]+=t*Ut,n[1]+=t*qt,n[2]=t*Ht,n}(this.es),this.mode){case this.N_POLE:case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),e=Math.sin(this.lat0),this.sinb1=Vt(this.e,e)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*e*e)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))},forward:function(e){var t,n,r,o,i,a,s,l,c,u,d=e.x,h=e.y;if(d=X(d-this.long0),this.sphere){if(i=Math.sin(h),u=Math.cos(h),r=Math.cos(d),this.mode===this.OBLIQ||this.mode===this.EQUIT){if((n=this.mode===this.EQUIT?1+u*r:1+this.sinph0*i+this.cosph0*u*r)<=v)return null;t=(n=Math.sqrt(2/n))*u*Math.sin(d),n*=this.mode===this.EQUIT?i:this.cosph0*i-this.sinph0*u*r}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(r=-r),Math.abs(h+this.lat0)=0?(t=(c=Math.sqrt(a))*o,n=r*(this.mode===this.S_POLE?c:-c)):t=n=0}}return e.x=this.a*t+this.x0,e.y=this.a*n+this.y0,e},inverse:function(e){e.x-=this.x0,e.y-=this.y0;var t,n,r,o,i,a,s,l,c,u,d=e.x/this.a,h=e.y/this.a;if(this.sphere){var p,g=0,m=0;if((n=.5*(p=Math.sqrt(d*d+h*h)))>1)return null;switch(n=2*Math.asin(n),this.mode!==this.OBLIQ&&this.mode!==this.EQUIT||(m=Math.sin(n),g=Math.cos(n)),this.mode){case this.EQUIT:n=Math.abs(p)<=v?0:Math.asin(h*m/p),d*=m,h=g*p;break;case this.OBLIQ:n=Math.abs(p)<=v?this.lat0:Math.asin(g*this.sinph0+h*m*this.cosph0/p),d*=m*this.cosph0,h=(g-Math.sin(n)*this.sinph0)*p;break;case this.N_POLE:h=-h,n=f-n;break;case this.S_POLE:n-=f}t=0!==h||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(d,h):0}else{if(s=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(d/=this.dd,h*=this.dd,(a=Math.sqrt(d*d+h*h))1&&(e=e>1?1:-1),Math.asin(e)}const Xt={init:function(){Math.abs(this.lat1+this.lat2)v?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},forward:function(e){var t=e.x,n=e.y;this.sin_phi=Math.sin(n),this.cos_phi=Math.cos(n);var r=Vt(this.e3,this.sin_phi),o=this.a*Math.sqrt(this.c-this.ns0*r)/this.ns0,i=this.ns0*X(t-this.long0),a=o*Math.sin(i)+this.x0,s=this.rh-o*Math.cos(i)+this.y0;return e.x=a,e.y=s,e},inverse:function(e){var t,n,r,o,i,a;return e.x-=this.x0,e.y=this.rh-e.y+this.y0,this.ns0>=0?(t=Math.sqrt(e.x*e.x+e.y*e.y),r=1):(t=-Math.sqrt(e.x*e.x+e.y*e.y),r=-1),o=0,0!==t&&(o=Math.atan2(r*e.x,r*e.y)),r=t*this.ns0/this.a,this.sphere?a=Math.asin((this.c-r*r)/(2*this.ns0)):(n=(this.c-r*r)/this.ns0,a=this.phi1z(this.e3,n)),i=X(o/this.ns0+this.long0),e.x=i,e.y=a,e},names:["Albers_Conic_Equal_Area","Albers","aea"],phi1z:function(e,t){var n,r,o,i,a=Kt(.5*t);if(e0||Math.abs(i)<=v?(a=this.x0+1*this.a*n*Math.sin(r)/i,s=this.y0+1*this.a*(this.cos_p14*t-this.sin_p14*n*o)/i):(a=this.x0+this.infinity_dist*n*Math.sin(r),s=this.y0+this.infinity_dist*(this.cos_p14*t-this.sin_p14*n*o)),e.x=a,e.y=s,e},inverse:function(e){var t,n,r,o,i,a;return e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,e.x/=this.k0,e.y/=this.k0,(t=Math.sqrt(e.x*e.x+e.y*e.y))?(o=Math.atan2(t,this.rc),n=Math.sin(o),a=Kt((r=Math.cos(o))*this.sin_p14+e.y*n*this.cos_p14/t),i=Math.atan2(e.x*n,t*this.cos_p14*r-e.y*this.sin_p14*n),i=X(this.long0+i)):(a=this.phic0,i=0),e.x=i,e.y=a,e},names:["gnom"]};const Jt={init:function(){this.sphere||(this.k0=Y(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))},forward:function(e){var t,n,r=e.x,o=e.y,i=X(r-this.long0);if(this.sphere)t=this.x0+this.a*i*Math.cos(this.lat_ts),n=this.y0+this.a*Math.sin(o)/Math.cos(this.lat_ts);else{var a=Vt(this.e,Math.sin(o));t=this.x0+this.a*this.k0*i,n=this.y0+this.a*a*.5/this.k0}return e.x=t,e.y=n,e},inverse:function(e){var t,n;return e.x-=this.x0,e.y-=this.y0,this.sphere?(t=X(this.long0+e.x/this.a/Math.cos(this.lat_ts)),n=Math.asin(e.y/this.a*Math.cos(this.lat_ts))):(n=function(e,t){var n=1-(1-e*e)/(2*e)*Math.log((1-e)/(1+e));if(Math.abs(Math.abs(t)-n)<1e-6)return t<0?-1*f:f;for(var r,o,i,a,s=Math.asin(.5*t),l=0;l<30;l++)if(o=Math.sin(s),i=Math.cos(s),a=e*o,s+=r=Math.pow(1-a*a,2)/(2*i)*(t/(1-e*e)-o/(1-a*a)+.5/e*Math.log((1-a)/(1+a))),Math.abs(r)<=1e-10)return s;return NaN}(this.e,2*e.y*this.k0/this.a),t=X(this.long0+e.x/(this.a*this.k0))),e.x=t,e.y=n,e},names:["cea"]};const Qt={init:function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)},forward:function(e){var t=e.x,n=e.y,r=X(t-this.long0),o=Nt(n-this.lat0);return e.x=this.x0+this.a*r*this.rc,e.y=this.y0+this.a*o,e},inverse:function(e){var t=e.x,n=e.y;return e.x=X(this.long0+(t-this.x0)/(this.a*this.rc)),e.y=Nt(this.lat0+(n-this.y0)/this.a),e},names:["Equirectangular","Equidistant_Cylindrical","eqc"]};const en={init:function(){this.temp=this.b/this.a,this.es=1-Math.pow(this.temp,2),this.e=Math.sqrt(this.es),this.e0=Lt(this.es),this.e1=Rt(this.es),this.e2=jt(this.es),this.e3=Ft(this.es),this.ml0=this.a*Mt(this.e0,this.e1,this.e2,this.e3,this.lat0)},forward:function(e){var t,n,r,o=e.x,i=e.y,a=X(o-this.long0);if(r=a*Math.sin(i),this.sphere)Math.abs(i)<=v?(t=this.a*a,n=-1*this.a*this.lat0):(t=this.a*Math.sin(r)/Math.tan(i),n=this.a*(Nt(i-this.lat0)+(1-Math.cos(r))/Math.tan(i)));else if(Math.abs(i)<=v)t=this.a*a,n=-1*this.ml0;else{var s=Dt(this.a,this.e,Math.sin(i))/Math.tan(i);t=s*Math.sin(r),n=this.a*Mt(this.e0,this.e1,this.e2,this.e3,i)-this.ml0+s*(1-Math.cos(r))}return e.x=t+this.x0,e.y=n+this.y0,e},inverse:function(e){var t,n,r,o,i,a,s,l,c;if(r=e.x-this.x0,o=e.y-this.y0,this.sphere)if(Math.abs(o+this.a*this.lat0)<=v)t=X(r/this.a+this.long0),n=0;else{var u;for(a=this.lat0+o/this.a,s=r*r/this.a/this.a+a*a,l=a,i=20;i;--i)if(l+=c=-1*(a*(l*(u=Math.tan(l))+1)-l-.5*(l*l+s)*u)/((l-a)/u-1),Math.abs(c)<=v){n=l;break}t=X(this.long0+Math.asin(r*Math.tan(l)/this.a)/Math.sin(n))}else if(Math.abs(o+this.ml0)<=v)n=0,t=X(this.long0+r/this.a);else{var d,h,p,f,g;for(a=(this.ml0+o)/this.a,s=r*r/this.a/this.a+a*a,l=a,i=20;i;--i)if(g=this.e*Math.sin(l),d=Math.sqrt(1-g*g)*Math.tan(l),h=this.a*Mt(this.e0,this.e1,this.e2,this.e3,l),p=this.e0-2*this.e1*Math.cos(2*l)+4*this.e2*Math.cos(4*l)-6*this.e3*Math.cos(6*l),l-=c=(a*(d*(f=h/this.a)+1)-f-.5*d*(f*f+s))/(this.es*Math.sin(2*l)*(f*f+s-2*a*f)/(4*d)+(a-f)*(d*p-2/Math.sin(2*l))-p),Math.abs(c)<=v){n=l;break}d=Math.sqrt(1-this.es*Math.pow(Math.sin(n),2))*Math.tan(n),t=X(this.long0+Math.asin(r*d/this.a)/Math.sin(n))}return e.x=t,e.y=n,e},names:["Polyconic","poly"]};const tn={init:function(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013},forward:function(e){var t,n=e.x,r=e.y-this.lat0,o=n-this.long0,i=r/p*1e-5,a=o,s=1,l=0;for(t=1;t<=10;t++)s*=i,l+=this.A[t]*s;var c,u=l,d=a,h=1,f=0,g=0,m=0;for(t=1;t<=6;t++)c=f*u+h*d,h=h*u-f*d,f=c,g=g+this.B_re[t]*h-this.B_im[t]*f,m=m+this.B_im[t]*h+this.B_re[t]*f;return e.x=m*this.a+this.x0,e.y=g*this.a+this.y0,e},inverse:function(e){var t,n,r=e.x,o=e.y,i=r-this.x0,a=(o-this.y0)/this.a,s=i/this.a,l=1,c=0,u=0,d=0;for(t=1;t<=6;t++)n=c*a+l*s,l=l*a-c*s,c=n,u=u+this.C_re[t]*l-this.C_im[t]*c,d=d+this.C_im[t]*l+this.C_re[t]*c;for(var h=0;h.999999999999&&(n=.999999999999),t=Math.asin(n);var r=X(this.long0+e.x/(.900316316158*this.a*Math.cos(t)));r<-Math.PI&&(r=-Math.PI),r>Math.PI&&(r=Math.PI),n=(2*t+Math.sin(2*t))/Math.PI,Math.abs(n)>1&&(n=1);var o=Math.asin(n);return e.x=r,e.y=o,e},names:["Mollweide","moll"]};const an={init:function(){Math.abs(this.lat1+this.lat2)=0?(n=Math.sqrt(e.x*e.x+e.y*e.y),t=1):(n=-Math.sqrt(e.x*e.x+e.y*e.y),t=-1);var i=0;return 0!==n&&(i=Math.atan2(t*e.x,t*e.y)),this.sphere?(o=X(this.long0+i/this.ns),r=Nt(this.g-n/this.a),e.x=o,e.y=r,e):(r=zt(this.g-n/this.a,this.e0,this.e1,this.e2,this.e3),o=X(this.long0+i/this.ns),e.x=o,e.y=r,e)},names:["Equidistant_Conic","eqdc"]};const sn={init:function(){this.R=this.a},forward:function(e){var t,n,r=e.x,o=e.y,i=X(r-this.long0);Math.abs(o)<=v&&(t=this.x0+this.R*i,n=this.y0);var a=Kt(2*Math.abs(o/Math.PI));(Math.abs(i)<=v||Math.abs(Math.abs(o)-f)<=v)&&(t=this.x0,n=o>=0?this.y0+Math.PI*this.R*Math.tan(.5*a):this.y0+Math.PI*this.R*-Math.tan(.5*a));var s=.5*Math.abs(Math.PI/i-i/Math.PI),l=s*s,c=Math.sin(a),u=Math.cos(a),d=u/(c+u-1),h=d*d,p=d*(2/c-1),g=p*p,m=Math.PI*this.R*(s*(d-g)+Math.sqrt(l*(d-g)*(d-g)-(g+l)*(h-g)))/(g+l);i<0&&(m=-m),t=this.x0+m;var y=l+d;return m=Math.PI*this.R*(p*y-s*Math.sqrt((g+l)*(l+1)-y*y))/(g+l),n=o>=0?this.y0+m:this.y0-m,e.x=t,e.y=n,e},inverse:function(e){var t,n,r,o,i,a,s,l,c,u,d,h;return e.x-=this.x0,e.y-=this.y0,d=Math.PI*this.R,i=(r=e.x/d)*r+(o=e.y/d)*o,d=3*(o*o/(l=-2*(a=-Math.abs(o)*(1+i))+1+2*o*o+i*i)+(2*(s=a-2*o*o+r*r)*s*s/l/l/l-9*a*s/l/l)/27)/(c=(a-s*s/3/l)/l)/(u=2*Math.sqrt(-c/3)),Math.abs(d)>1&&(d=d>=0?1:-1),h=Math.acos(d)/3,n=e.y>=0?(-u*Math.cos(h+Math.PI/3)-s/3/l)*Math.PI:-(-u*Math.cos(h+Math.PI/3)-s/3/l)*Math.PI,t=Math.abs(r)2*f*this.a)return;return n=t/this.a,r=Math.sin(n),o=Math.cos(n),i=this.long0,Math.abs(t)<=v?a=this.lat0:(a=Kt(o*this.sin_p12+e.y*r*this.cos_p12/t),s=Math.abs(this.lat0)-f,i=Math.abs(s)<=v?this.lat0>=0?X(this.long0+Math.atan2(e.x,-e.y)):X(this.long0-Math.atan2(-e.x,e.y)):X(this.long0+Math.atan2(e.x*r,t*this.cos_p12*o-e.y*this.sin_p12*r))),e.x=i,e.y=a,e}return l=Lt(this.es),c=Rt(this.es),u=jt(this.es),d=Ft(this.es),Math.abs(this.sin_p12-1)<=v?(a=zt(((h=this.a*Mt(l,c,u,d,f))-(t=Math.sqrt(e.x*e.x+e.y*e.y)))/this.a,l,c,u,d),i=X(this.long0+Math.atan2(e.x,-1*e.y)),e.x=i,e.y=a,e):Math.abs(this.sin_p12+1)<=v?(h=this.a*Mt(l,c,u,d,f),a=zt(((t=Math.sqrt(e.x*e.x+e.y*e.y))-h)/this.a,l,c,u,d),i=X(this.long0+Math.atan2(e.x,e.y)),e.x=i,e.y=a,e):(t=Math.sqrt(e.x*e.x+e.y*e.y),m=Math.atan2(e.x,e.y),p=Dt(this.a,this.e,this.sin_p12),y=Math.cos(m),w=-(b=this.e*this.cos_p12*y)*b/(1-this.es),A=3*this.es*(1-w)*this.sin_p12*this.cos_p12*y/(1-this.es),C=1-w*(S=(x=t/p)-w*(1+w)*Math.pow(x,3)/6-A*(1+3*w)*Math.pow(x,4)/24)*S/2-x*S*S*S/6,g=Math.asin(this.sin_p12*Math.cos(S)+this.cos_p12*Math.sin(S)*y),i=X(this.long0+Math.asin(Math.sin(m)*Math.sin(S)/Math.cos(g))),E=Math.sin(g),a=Math.atan2((E-this.es*C*this.sin_p12)*Math.tan(g),E*(1-this.es)),e.x=i,e.y=a,e)},names:["Azimuthal_Equidistant","aeqd"]};const cn={init:function(){this.sin_p14=Math.sin(this.lat0),this.cos_p14=Math.cos(this.lat0)},forward:function(e){var t,n,r,o,i,a,s,l=e.x,c=e.y;return r=X(l-this.long0),t=Math.sin(c),n=Math.cos(c),o=Math.cos(r),((i=this.sin_p14*t+this.cos_p14*n*o)>0||Math.abs(i)<=v)&&(a=1*this.a*n*Math.sin(r),s=this.y0+1*this.a*(this.cos_p14*t-this.sin_p14*n*o)),e.x=a,e.y=s,e},inverse:function(e){var t,n,r,o,i,a,s;return e.x-=this.x0,e.y-=this.y0,n=Kt((t=Math.sqrt(e.x*e.x+e.y*e.y))/this.a),r=Math.sin(n),o=Math.cos(n),a=this.long0,Math.abs(t)<=v?(s=this.lat0,e.x=a,e.y=s,e):(s=Kt(o*this.sin_p14+e.y*r*this.cos_p14/t),i=Math.abs(this.lat0)-f,Math.abs(i)<=v?(a=this.lat0>=0?X(this.long0+Math.atan2(e.x,-e.y)):X(this.long0-Math.atan2(-e.x,e.y)),e.x=a,e.y=s,e):(a=X(this.long0+Math.atan2(e.x*r,t*this.cos_p14*o-e.y*this.sin_p14*r)),e.x=a,e.y=s,e))},names:["ortho"]};var un=1,dn=2,hn=3,pn=4,fn=5,gn=6,mn={AREA_0:1,AREA_1:2,AREA_2:3,AREA_3:4};function yn(e,t,n,r){var o;return eA&&o<=f+A?(r.value=mn.AREA_1,o-=f):o>f+A||o<=-(f+A)?(r.value=mn.AREA_2,o=o>=0?o-S:o+S):(r.value=mn.AREA_3,o+=f)),o}function vn(e,t){var n=e+t;return n<-S?n+=x:n>+S&&(n-=x),n}const bn={init:function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Quadrilateralized Spherical Cube",this.lat0>=f-A/2?this.face=fn:this.lat0<=-(f-A/2)?this.face=gn:Math.abs(this.long0)<=A?this.face=un:Math.abs(this.long0)<=f+A?this.face=this.long0>0?dn:pn:this.face=hn,0!==this.es&&(this.one_minus_f=1-(this.a-this.b)/this.a,this.one_minus_f_squared=this.one_minus_f*this.one_minus_f)},forward:function(e){var t,n,r,o,i,a,s={x:0,y:0},l={value:0};if(e.x-=this.long0,t=0!==this.es?Math.atan(this.one_minus_f_squared*Math.tan(e.y)):e.y,n=e.x,this.face===fn)o=f-t,n>=A&&n<=f+A?(l.value=mn.AREA_0,r=n-f):n>f+A||n<=-(f+A)?(l.value=mn.AREA_1,r=n>0?n-S:n+S):n>-(f+A)&&n<=-A?(l.value=mn.AREA_2,r=n+f):(l.value=mn.AREA_3,r=n);else if(this.face===gn)o=f+t,n>=A&&n<=f+A?(l.value=mn.AREA_0,r=-n+f):n=-A?(l.value=mn.AREA_1,r=-n):n<-A&&n>=-(f+A)?(l.value=mn.AREA_2,r=-n-f):(l.value=mn.AREA_3,r=n>0?-n+S:-n-S);else{var c,u,d,h,p,g;this.face===dn?n=vn(n,+f):this.face===hn?n=vn(n,+S):this.face===pn&&(n=vn(n,-f)),h=Math.sin(t),p=Math.cos(t),g=Math.sin(n),c=p*Math.cos(n),u=p*g,d=h,this.face===un?r=yn(o=Math.acos(c),d,u,l):this.face===dn?r=yn(o=Math.acos(u),d,-c,l):this.face===hn?r=yn(o=Math.acos(-c),d,-u,l):this.face===pn?r=yn(o=Math.acos(-u),d,c,l):(o=r=0,l.value=mn.AREA_0)}return a=Math.atan(12/S*(r+Math.acos(Math.sin(r)*Math.cos(A))-f)),i=Math.sqrt((1-Math.cos(o))/(Math.cos(a)*Math.cos(a))/(1-Math.cos(Math.atan(1/Math.cos(r))))),l.value===mn.AREA_1?a+=f:l.value===mn.AREA_2?a+=S:l.value===mn.AREA_3&&(a+=1.5*S),s.x=i*Math.cos(a),s.y=i*Math.sin(a),s.x=s.x*this.a+this.x0,s.y=s.y*this.a+this.y0,e.x=s.x,e.y=s.y,e},inverse:function(e){var t,n,r,o,i,a,s,l,c,u,d,h,p={lam:0,phi:0},g={value:0};if(e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a,n=Math.atan(Math.sqrt(e.x*e.x+e.y*e.y)),t=Math.atan2(e.y,e.x),e.x>=0&&e.x>=Math.abs(e.y)?g.value=mn.AREA_0:e.y>=0&&e.y>=Math.abs(e.x)?(g.value=mn.AREA_1,t-=f):e.x<0&&-e.x>=Math.abs(e.y)?(g.value=mn.AREA_2,t=t<0?t+S:t-S):(g.value=mn.AREA_3,t+=f),c=S/12*Math.tan(t),i=Math.sin(c)/(Math.cos(c)-1/Math.sqrt(2)),a=Math.atan(i),(s=1-(r=Math.cos(t))*r*(o=Math.tan(n))*o*(1-Math.cos(Math.atan(1/Math.cos(a)))))<-1?s=-1:s>1&&(s=1),this.face===fn)l=Math.acos(s),p.phi=f-l,g.value===mn.AREA_0?p.lam=a+f:g.value===mn.AREA_1?p.lam=a<0?a+S:a-S:g.value===mn.AREA_2?p.lam=a-f:p.lam=a;else if(this.face===gn)l=Math.acos(s),p.phi=l-f,g.value===mn.AREA_0?p.lam=-a+f:g.value===mn.AREA_1?p.lam=-a:g.value===mn.AREA_2?p.lam=-a-f:p.lam=a<0?-a-S:-a+S;else{var m,y,v;c=(m=s)*m,y=(c+=(v=c>=1?0:Math.sqrt(1-c)*Math.sin(a))*v)>=1?0:Math.sqrt(1-c),g.value===mn.AREA_1?(c=y,y=-v,v=c):g.value===mn.AREA_2?(y=-y,v=-v):g.value===mn.AREA_3&&(c=y,y=v,v=-c),this.face===dn?(c=m,m=-y,y=c):this.face===hn?(m=-m,y=-y):this.face===pn&&(c=m,m=y,y=-c),p.phi=Math.acos(-v)-f,p.lam=Math.atan2(y,m),this.face===dn?p.lam=vn(p.lam,-f):this.face===hn?p.lam=vn(p.lam,-S):this.face===pn&&(p.lam=vn(p.lam,+f))}return 0!==this.es&&(u=p.phi<0?1:0,d=Math.tan(p.phi),h=this.b/Math.sqrt(d*d+this.one_minus_f_squared),p.phi=Math.atan(Math.sqrt(this.a*this.a-h*h)/(this.one_minus_f*h)),u&&(p.phi=-p.phi)),p.lam+=this.long0,e.x=p.lam,e.y=p.phi,e},names:["Quadrilateralized Spherical Cube","Quadrilateralized_Spherical_Cube","qsc"]};var wn=[[1,22199e-21,-715515e-10,31103e-10],[.9986,-482243e-9,-24897e-9,-13309e-10],[.9954,-83103e-8,-448605e-10,-9.86701e-7],[.99,-.00135364,-59661e-9,36777e-10],[.9822,-.00167442,-449547e-11,-572411e-11],[.973,-.00214868,-903571e-10,1.8736e-8],[.96,-.00305085,-900761e-10,164917e-11],[.9427,-.00382792,-653386e-10,-26154e-10],[.9216,-.00467746,-10457e-8,481243e-11],[.8962,-.00536223,-323831e-10,-543432e-11],[.8679,-.00609363,-113898e-9,332484e-11],[.835,-.00698325,-640253e-10,9.34959e-7],[.7986,-.00755338,-500009e-10,9.35324e-7],[.7597,-.00798324,-35971e-9,-227626e-11],[.7186,-.00851367,-701149e-10,-86303e-10],[.6732,-.00986209,-199569e-9,191974e-10],[.6213,-.010418,883923e-10,624051e-11],[.5722,-.00906601,182e-6,624051e-11],[.5322,-.00677797,275608e-9,624051e-11]],An=[[-520417e-23,.0124,121431e-23,-845284e-16],[.062,.0124,-1.26793e-9,4.22642e-10],[.124,.0124,5.07171e-9,-1.60604e-9],[.186,.0123999,-1.90189e-8,6.00152e-9],[.248,.0124002,7.10039e-8,-2.24e-8],[.31,.0123992,-2.64997e-7,8.35986e-8],[.372,.0124029,9.88983e-7,-3.11994e-7],[.434,.0123893,-369093e-11,-4.35621e-7],[.4958,.0123198,-102252e-10,-3.45523e-7],[.5571,.0121916,-154081e-10,-5.82288e-7],[.6176,.0119938,-241424e-10,-5.25327e-7],[.6769,.011713,-320223e-10,-5.16405e-7],[.7346,.0113541,-397684e-10,-6.09052e-7],[.7903,.0109107,-489042e-10,-104739e-11],[.8435,.0103431,-64615e-9,-1.40374e-9],[.8936,.00969686,-64636e-9,-8547e-9],[.9394,.00840947,-192841e-9,-42106e-10],[.9761,.00616527,-256e-6,-42106e-10],[1,.00328947,-319159e-9,-42106e-10]],xn=.8487,Sn=1.3523,Cn=w/5,En=1/Cn,kn=18,Tn=function(e,t){return e[0]+t*(e[1]+t*(e[2]+t*e[3]))};const _n={init:function(){this.x0=this.x0||0,this.y0=this.y0||0,this.long0=this.long0||0,this.es=0,this.title=this.title||"Robinson"},forward:function(e){var t=X(e.x-this.long0),n=Math.abs(e.y),r=Math.floor(n*Cn);r<0?r=0:r>=kn&&(r=17);var o={x:Tn(wn[r],n=w*(n-En*r))*t,y:Tn(An[r],n)};return e.y<0&&(o.y=-o.y),o.x=o.x*this.a*xn+this.x0,o.y=o.y*this.a*Sn+this.y0,o},inverse:function(e){var t={x:(e.x-this.x0)/(this.a*xn),y:Math.abs(e.y-this.y0)/(this.a*Sn)};if(t.y>=1)t.x/=wn[18][0],t.y=e.y<0?-f:f;else{var n=Math.floor(t.y*kn);for(n<0?n=0:n>=kn&&(n=17);;)if(An[n][0]>t.y)--n;else{if(!(An[n+1][0]<=t.y))break;++n}var r=An[n],o=5*(t.y-r[0])/(An[n+1][0]-r[0]);o=function(e,t,n,r){for(var o=t;r;--r){var i=e(o);if(o-=i,Math.abs(i)1e10)throw new Error;if(this.radius_g=1+this.radius_g_1,this.C=this.radius_g*this.radius_g-1,0!==this.es){var e=1-this.es,t=1/e;this.radius_p=Math.sqrt(e),this.radius_p2=e,this.radius_p_inv2=t,this.shape="ellipse"}else this.radius_p=1,this.radius_p2=1,this.radius_p_inv2=1,this.shape="sphere";this.title||(this.title="Geostationary Satellite View")},forward:function(e){var t,n,r,o,i=e.x,a=e.y;if(i-=this.long0,"ellipse"===this.shape){a=Math.atan(this.radius_p2*Math.tan(a));var s=this.radius_p/yt(this.radius_p*Math.cos(a),Math.sin(a));if(n=s*Math.cos(i)*Math.cos(a),r=s*Math.sin(i)*Math.cos(a),o=s*Math.sin(a),(this.radius_g-n)*n-r*r-o*o*this.radius_p_inv2<0)return e.x=Number.NaN,e.y=Number.NaN,e;t=this.radius_g-n,this.flip_axis?(e.x=this.radius_g_1*Math.atan(r/yt(o,t)),e.y=this.radius_g_1*Math.atan(o/t)):(e.x=this.radius_g_1*Math.atan(r/t),e.y=this.radius_g_1*Math.atan(o/yt(r,t)))}else"sphere"===this.shape&&(t=Math.cos(a),n=Math.cos(i)*t,r=Math.sin(i)*t,o=Math.sin(a),t=this.radius_g-n,this.flip_axis?(e.x=this.radius_g_1*Math.atan(r/yt(o,t)),e.y=this.radius_g_1*Math.atan(o/t)):(e.x=this.radius_g_1*Math.atan(r/t),e.y=this.radius_g_1*Math.atan(o/yt(r,t))));return e.x=e.x*this.a,e.y=e.y*this.a,e},inverse:function(e){var t,n,r,o,i=-1,a=0,s=0;if(e.x=e.x/this.a,e.y=e.y/this.a,"ellipse"===this.shape){this.flip_axis?(s=Math.tan(e.y/this.radius_g_1),a=Math.tan(e.x/this.radius_g_1)*yt(1,s)):(a=Math.tan(e.x/this.radius_g_1),s=Math.tan(e.y/this.radius_g_1)*yt(1,a));var l=s/this.radius_p;if(t=a*a+l*l+i*i,(r=(n=2*this.radius_g*i)*n-4*t*this.C)<0)return e.x=Number.NaN,e.y=Number.NaN,e;o=(-n-Math.sqrt(r))/(2*t),i=this.radius_g+o*i,a*=o,s*=o,e.x=Math.atan2(a,i),e.y=Math.atan(s*Math.cos(e.x)/i),e.y=Math.atan(this.radius_p_inv2*Math.tan(e.y))}else if("sphere"===this.shape){if(this.flip_axis?(s=Math.tan(e.y/this.radius_g_1),a=Math.tan(e.x/this.radius_g_1)*Math.sqrt(1+s*s)):(a=Math.tan(e.x/this.radius_g_1),s=Math.tan(e.y/this.radius_g_1)*Math.sqrt(1+a*a)),t=a*a+s*s+i*i,(r=(n=2*this.radius_g*i)*n-4*t*this.C)<0)return e.x=Number.NaN,e.y=Number.NaN,e;o=(-n-Math.sqrt(r))/(2*t),i=this.radius_g+o*i,a*=o,s*=o,e.x=Math.atan2(a,i),e.y=Math.atan(s*Math.cos(e.x)/i)}return e.x=e.x+this.long0,e},names:["Geostationary Satellite View","Geostationary_Satellite","geos"]};var Dn=1.340264,Nn=-.081106,zn=893e-6,Bn=.003796,Vn=Math.sqrt(3)/2;const $n={init:function(){this.es=0,this.long0=void 0!==this.long0?this.long0:0},forward:function(e){var t=X(e.x-this.long0),n=e.y,r=Math.asin(Vn*Math.sin(n)),o=r*r,i=o*o*o;return e.x=t*Math.cos(r)/(Vn*(Dn+3*Nn*o+i*(7*zn+9*Bn*o))),e.y=r*(Dn+Nn*o+i*(zn+Bn*o)),e.x=this.a*e.x+this.x0,e.y=this.a*e.y+this.y0,e},inverse:function(e){e.x=(e.x-this.x0)/this.a,e.y=(e.y-this.y0)/this.a;var t,n,r,o,i=e.y;for(o=0;o<12&&(i-=r=(i*(Dn+Nn*(t=i*i)+(n=t*t*t)*(zn+Bn*t))-e.y)/(Dn+3*Nn*t+n*(7*zn+9*Bn*t)),!(Math.abs(r)<1e-9));++o);return n=(t=i*i)*t*t,e.x=Vn*e.x*(Dn+3*Nn*t+n*(7*zn+9*Bn*t))/Math.cos(i),e.y=Math.asin(Math.sin(i)/Vn),e.x=X(e.x+this.long0),e},names:["eqearth","Equal Earth","Equal_Earth"]};Me.defaultDatum="WGS84",Me.Proj=ye,Me.WGS84=new Me.Proj("WGS84"),Me.Point=Je,Me.toPoint=ke,Me.defs=G,Me.nadgrid=function(e,t){var n=new DataView(t),r=function(e){var t=e.getInt32(8,!1);if(11===t)return!1;t=e.getInt32(8,!0),11!==t&&console.warn("Failed to detect nadgrid endian-ness, defaulting to little-endian");return!0}(n),o=function(e,t){return{nFields:e.getInt32(8,t),nSubgridFields:e.getInt32(24,t),nSubgrids:e.getInt32(40,t),shiftType:he(e,56,64).trim(),fromSemiMajorAxis:e.getFloat64(120,t),fromSemiMinorAxis:e.getFloat64(136,t),toSemiMajorAxis:e.getFloat64(152,t),toSemiMinorAxis:e.getFloat64(168,t)}}(n,r),i=function(e,t,n){for(var r=176,o=[],i=0;i3&&void 0!==arguments[3]?arguments[3]:25,o=[],i=e[2]-e[0],a=e[3]-e[1],s=0;s0&&Array.isArray(e[0]))for(var o=0;o{"use strict";n.d(t,{Aw:()=>b});var r=n(78862),o=n(55231),i=n(66700),a=function(e){return"uniqueValue"===(null==e?void 0:e.type)},s=function(e){return"esriSMS"===(null==e?void 0:e.type)},l=function(e){return"esriSFS"===(null==e?void 0:e.type)},c=function(e){return"esriSLS"===(null==e?void 0:e.type)},u=function(e){return"esriPMS"===(null==e?void 0:e.type)},d=function(e){return"simple"===(null==e?void 0:e.type)},h=function(e){return"classBreaks"===(null==e?void 0:e.type)};function p(e){switch(e){case"esriSLSDash":return"dash";case"esriSLSDashDot":return"dash-dot";case"esriSLSDashDotDot":return"dash-dot-dot";case"esriSLSDot":return"dot";case"esriSLSLongDash":return"longDash";case"esriSLSLongDashDot":return"longDash-dot";case"esriSLSNull":return"null";case"esriSLSShortDash":return"shortDash";case"esriSLSShortDashDot":return"shortDash-dot";case"esriSLSShortDashDotDot":return"shortDash-dot-dot";case"esriSLSSolid":case null:case void 0:return"solid";default:return i.vF.logInfo("Handling of ESRI renderer line style '".concat(e,"' is not coded, 'solid' will be used instead.")),"solid"}}function f(e){switch(e){case"esriSFSBackwardDiagonal":return"backwardDiagonal";case"esriSFSCross":return"cross";case"esriSFSDiagonalCross":return"diagonalCross";case"esriSFSForwardDiagonal":return"forwardDiagonal";case"esriSFSHorizontal":return"horizontal";case"esriSFSNull":case"esriSFSSolid":return"solid";case"esriSFSVertical":return"vertical";default:return i.vF.logInfo("Handling of ESRI renderer fill style '".concat(e,"' is not coded, 'solid' will be used instead.")),"solid"}}function g(e){switch(e){case"esriSMSCircle":return"circle";case"esriSMSCross":return"+";case"esriSMSDiamond":return"diamond";case"esriSMSSquare":return"square";case"esriSMSTriangle":return"triangle";case"esriSMSX":return"X";default:return i.vF.logInfo("Handling of ESRI renderer symbol style '".concat(e,"' is not coded, 'circle' will be used instead.")),"circle"}}function m(e){return e?(0,r.oJ)([e[0],e[1],e[2],e[3]/255]):"rgba(0,0,0,0)"}function y(e){if(e){if(s(e)){var t,n,r,o,a=[void 0!==e.xoffset?e.xoffset:0,void 0!==e.yoffset?e.yoffset:0];return{type:"simpleSymbol",rotation:void 0!==e.angle?e.angle:0,color:m(null==e?void 0:e.color),stroke:{color:m(null==e||null===(t=e.outline)||void 0===t?void 0:t.color),lineStyle:p(null==e||null===(n=e.outline)||void 0===n?void 0:n.style),width:null!==(r=null==e||null===(o=e.outline)||void 0===o?void 0:o.width)&&void 0!==r?r:0},size:.667*e.size,symbol:g(e.style),offset:a}}var d,h,y,v,b;if(c(e))return{type:"lineString",stroke:{color:m(null==e?void 0:e.color),lineStyle:p(null==e?void 0:e.style),width:null!==(d=null==e?void 0:e.width)&&void 0!==d?d:0}};if(l(e))return{type:"filledPolygon",color:m(null==e?void 0:e.color),stroke:{color:m(null==e||null===(h=e.outline)||void 0===h?void 0:h.color),lineStyle:p(null==e||null===(y=e.outline)||void 0===y?void 0:y.style),width:null!==(v=null==e||null===(b=e.outline)||void 0===b?void 0:b.width)&&void 0!==v?v:0},fillStyle:f(e.style)};if(u(e)){var w=[void 0!==e.xoffset?e.xoffset:0,void 0!==e.yoffset?e.yoffset:0];return{type:"iconSymbol",mimeType:e.contentType,src:e.imageData,rotation:void 0!==e.angle?e.angle:0,opacity:1,offset:w}}i.vF.logInfo("Handling of ESRI renderer symbol '".concat(e,"' is not coded, default GeoView settings will be used instead."))}}function v(e){return(0,o.hc)(e)||(0,o.cw)(e)?"Point":(0,o.C)(e)?"Polygon":(0,o.NF)(e)?"LineString":void 0}function b(e){return a(e)?function(e){var t={},n=null===e.defaultLabel?void 0:e.defaultLabel,r=!!e.defaultSymbol,i=y(e.defaultSymbol),a=[e.field1];e.field2&&a.push(e.field2),e.field3&&a.push(e.field3);var s=[];e.uniqueValueInfos.forEach((function(t){var n=y(t.symbol);n&&("geographic"===e.rotationType&&((0,o.hc)(n)||(0,o.cw)(n))&&(n.rotation=Math.PI/2-n.rotation),s.push({label:t.label,visible:!0,values:t.value.split(e.fieldDelimiter),settings:n}))}));var l=v(s[0].settings),c={styleType:"uniqueValue",defaultLabel:n,defaultVisible:r,defaultSettings:i,fields:a,uniqueValueStyleInfo:s};if(l)return t[l]=c,t}(e):d(e)?function(e){var t={},n=e.label,r=y(e.symbol);if(r){"geographic"===e.rotationType&&((0,o.hc)(r)||(0,o.cw)(r))&&(r.rotation=Math.PI/2-r.rotation);var i=v(r),a={styleType:"simple",label:n,settings:r};if(i)return t[i]=a,t}}(e):h(e)?function(e){for(var t={},n=null===e.defaultLabel?void 0:e.defaultLabel,r=y(e.defaultSymbol),i=!!e.defaultLabel,a=e.field,s=[],l=0;l{"use strict";n.d(t,{A$:()=>s,MU:()=>i,Z6:()=>o,eQ:()=>a,fT:()=>r,r7:()=>l});var r=["#800000","#008000","#000080","#808000","#800080","#008080","#ff0000","#00ff00","#0000ff","#ffff00","#ff00ff","#00ffff","#ffa500","#faebd7","#7fffd4","#ffe4c4","#deb887","#d2691e","#ff7f50","#6495ed","#fff8dc","#dc143c","#b8860b","#a9a9a9","#006400","#bdb76b","#8b008b","#556b2f","#ff8c00","#9932cc","#8b0000","#e9967a","#8fbc8f","#483d8b","#2f4f4f","#00ced1","#9400d3","#ff1493","#00bfff","#696969","#1e90ff","#b22222","#fffaf0","#228b22","#dcdcdc","#ffd700","#adff2f","#ff69b4","#cd5c5c","#4b0082","#f0e68c","#e6e6fa","#7cfc00","#add8e6","#f08080","#e0ffff","#90ee90","#ffb6c1","#20b2aa","#87cefa","#ba55d3","#9370db","#3cb371","#ffdead"],o=function(e){return e[e.unprocessedNode=0]="unprocessedNode",e[e.keyword=1]="keyword",e[e.variable=2]="variable",e[e.string=3]="string",e[e.number=4]="number",e[e.unary=5]="unary",e[e.binary=6]="binary",e[e.group=7]="group",e}({}),i=["is","is not","in","like","and","or","<","<=","=","<>",">",">=","||","/","*",","],a=["not","upper","lower","date"],s=["(",")"],l=[{key:"date",priority:15},{key:"upper",priority:15},{key:"lower",priority:15},{key:"u+",priority:15},{key:"u-",priority:15},{key:"*",priority:14},{key:"/",priority:14},{key:"+",priority:13},{key:"-",priority:13},{key:"||",priority:13},{key:",",priority:12},{key:"=",priority:11},{key:"<",priority:10},{key:">",priority:9},{key:"<=",priority:8},{key:">=",priority:7},{key:"<>",priority:6},{key:"is not",priority:5},{key:"is",priority:5},{key:"like",priority:4},{key:"in",priority:3},{key:"not",priority:2},{key:"and",priority:1},{key:"or",priority:0}]},86266:(e,t,n)=>{"use strict";n.d(t,{$G:()=>ge,WN:()=>ve,nS:()=>fe,qC:()=>ce,yt:()=>B});var r=n(74780),o=n(74887),i=n(1839),a=n(80180),s=n(64417),l=n.n(s),c=n(78862),u=n(22840),d=n(13645),h=n(25899),p=n(47616),f=n(64745),g=n(39605),m=n(62767),y=n(24438),v=n(17567),b=n(11574),w=n(42982),A=n(99937),x=n(55231),S=n(69250),C=n(66700);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function k(e){for(var t=1;t1&&void 0!==arguments[1]&&arguments[1],n=(0,c.oJ)((0,w.setAlphaColor)((0,c._j)(S.fT[T]),e));return t&&T++,n}var O=function(e){var t,n=null===(t=e.getGeometry())||void 0===t?void 0:t.getType();if(!n)throw new Error("Features must have a geometry type.");return n.startsWith("Multi")?n.slice(5):n},P="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAADACAMAAAB/Pny7AAAAYFBMVEX///8AAADr6+vk5ORWVlZsbGxKSko5OTn5+fnz8/OKiopvb28VFRUJCQmRkZH29va1tbXV1dW7u7suLi7GxsZeXl4/Pz/Pz8+lpaVjY2N7e3uurq7c3Nyenp5FRUUiIiJlLbf0AAAGlElEQVR4nN3d6XajMAwFYAOZhFCysBQ62Xj/txx3J4l1MWDLYvSbnvFXG8kydFDqK8pN9BmbWi09jlX0HdXCNen516I1Jbj0kAiJ+EAM8LiJ+tGUxIU6kmwlI07XsohTg+UW3cea1myfLg4VebXKyuSBcziuny5cIc3z5aEi35yOSX9waWn6Va/K5xkUNzfRB6fujbRsjFet6SyQPtxiYWO3Pv5o6py4CNWb4451vAPRXb/HVdEXgQxddnxjtYjs6w6vzavsPfKavG9+NwwiIt9vvzR0ctrQWUAZ00awqM6fI03LFXkNqDdKUIbWsWqVhYacG1N5Che7LP7W0MMCGfogaqX9JF9z3fyMBtQbokSFiVP8PS6Q09AeWpKma22GtUF7AUGaq7LRVMdFzM1t2xsWnQUqVG/kaOLfUaElcwMaOSut7Y0q+UNfdzuSGjk57WqJQRoxK+1ki9EaemdTrnfMYRziizUmWtOatN5nrHEyroWVPQbt09Itb5iH2ozA6JxGLjTmiF9M49v0rhjEwOrJGi4wUS5kbpxg4LkAYzjCdGAvwBeOMFED6g1buMKgesMWzjASNO4wcJ/GEw4x4euNS0wUBda4xeRhNW4xupMOmQUcY6LbOaDGNSZohnaOgb2nUMyKPoFqzqHqzVTMHjy/qUJVz8mYtKZP1TeBNNMxCmgC7QVmYFQLNOelYdBzzy7E3MzCIE2ILDAPo2r6uWfFn6FnYrCGu3rOxaT1K6lpuDVzMeoANNy7ztkYPTf0SmPe2czHKLwXWBhGqYJ+/afjrJ5OMKoAL2UwatxgVIv2AmxZwBFG1a/kW4DNeat4whUmBZobl8YVBlZPLo0zjIR64w4DswBPf+MSo1rwGgOHxilGXcArjQwatxjV0vdN7v++cYxB9cZ/f+MagzL0xrfGNSZot+Ycg+fmzWv1dI/RWYDW+L1vfGDQKYfX+8YLBmv8ZWg/GFRvqjdvGk8YuE/zpvGFQXPT+Vpp3jAop3We5sYfJkCG9ojRGnKf5qd6+sSk9V/6lMOHxifmfQ9NYfTcuF9pfjHwaZT7bs0zRhWcvadvDOyk35aGUQVdPSPHGdo/BnXSndvTQQaMAhnabb3hwBy46g0HBp8LOKw3LBi8T3OnYcKgnOZuD82FQZrclYYNA+fm6kbDh1GF9/uGEeM/C3BiVPvXr4YVo1r6teLqOr968mJUQc9Nd509N8wYvNLmzg03xmsWYMdgzbx6w49B9SafVz0DYNBeYDdrbkJgUE6L5mSBIBitoTvpGZowGJ2h6Sfs0zWBMCnQTO+kA2H8aEJhYL2Zeg4dDuOh9wyIUQk9N3f/880iMCpB59AT/oGgGFRvdhOyQFiM7tZc1pvAGKTZjO49Q2NgtzZWExyjCrDSRmrCY9AeOh93LiAAg7q13ahuTQLG2dyIwKC5GXMCJQODctqIbk0IBlZP65wmBYMzdDz886IwqjCOZNTcyME4qJ6CMFpDzo3d+wKSMLOfrYnCqMu86ikLoy6gk94PaoRhVAJObgfnRhpGXeicFg3lNHEYlKHzAY08jK6e1EdJhuqNQIzWTKyeEjGov4Ga2DjUwBjYre1pzfYkEaNzGqmJMlpjLLrBMWgvgKqnqeiGx2gNfXIL+hvDAhWAQTmtg5rHH5OAmZqhn44TRGCmah7bIhkYqNmDlXY/YiEYdQH3Dag391lACmZqt3bXsorBoOqJ9gL9X4IcDNSgvcDvjwnCoN5zh/YCPz8mCTO19/zRiMKoy4ns1iKQob9/CcOYLGb8egl4gziH9eZDM/yVkzXrh2XoP/TS+zRQbz7K1PD3Z3Y5a4CvjoK9QNq+a0Z8GSh8VHS9Sd93Nv1vNsUnUR9jNQQ6gdJ7gX1fd6VziZRA1fO1/50zaR+WNQbS3M8U+BNYMQH2aXcRZ6FHahG55XPP9LyAdQa7tbtVB4595ISlJn2Tn88iWG/6YT6QFheov+kF+BatqLDSHN7At88lhdVK2+6XkNEiy7lJskUkAd1JW739ANo9SYHObHqa6zKyQGdVbw71n0XcOF1mVT2T6+sSOJaaNDmfGum9mu1K0xEXZXZarSUE+D/vbTV6fg7bWEIUdEOf2600SZHQe0bLfZqkSOjnN7sFakApX95Ku/xX9w3QWNYbSQGeEYzI0FLi/5obkKFv7fCPCwvyOLwR8W3skZEYXzQT8L3iSWGcm4Va3u+bp5zWLNViyNChvoPpJB40i7Y8aBZuudMs3tLbQ9/Xl38GJru99HKKPgAAAABJRU5ErkJggg==",I={dash:[16,4],"dash-dot":[16,4,2,4],"dash-dot-dot":[16,4,2,4,2,4],dot:[2,2],longDash:[25,5],"longDash-dot":[25,5,2,5],null:[0,3],shortDash:[7,3],"shortDash-dot":[7,3,2,3],"shortDash-dot-dot":[7,3,2,3,2,3],solid:void 0},M=[{moveTo:[1,0],lineTo:[2,1]},{moveTo:[0,0],lineTo:[2,2]},{moveTo:[0,1],lineTo:[1,2]}],L=[{moveTo:[1,0],lineTo:[1,2]},{moveTo:[0,1],lineTo:[2,1]}],R=[{moveTo:[0,0],lineTo:[2,2]},{moveTo:[0,2],lineTo:[2,0]}],j=[{moveTo:[0,1],lineTo:[1,0]},{moveTo:[0,2],lineTo:[2,0]},{moveTo:[2,1],lineTo:[1,2]}],F=[{moveTo:[0,1],lineTo:[2,1]}],D=[{moveTo:[1,0],lineTo:[1,2]}],N=50,z=50;function B(e){return new Promise((function(t){var n=new Image;n.src=e,n.decode().then((function(){return t(n)})).catch((function(n){C.vF.logError("GeoviewRenderer.loadImage(src) - Error while loading the src image =",e,n),t(null)}))}))}function V(e){return $.apply(this,arguments)}function $(){return($=(0,a.A)(l().mark((function e(t){var n,r,o,i,a,s,c;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=null==t?void 0:t.getImage(),e.next=4,B(n.getSrc());case 4:if(!(r=e.sent)){e.next=16;break}return o=n.getSize(),i=Array.isArray(o)?o[0]:r.width||N,a=Array.isArray(o)?o[1]:r.height||z,(s=document.createElement("canvas")).width=i,s.height=a,(c=s.getContext("2d")).globalAlpha=n.getOpacity(),c.drawImage(r,0,0),e.abrupt("return",s);case 16:return e.abrupt("return",null);case 19:return e.prev=19,e.t0=e.catch(0),C.vF.logError("Error creating incon canvas for pointStyle",e.t0),e.abrupt("return",null);case 23:case"end":return e.stop()}}),e,null,[[0,19]])})))).apply(this,arguments)}function G(e){return U.apply(this,arguments)}function U(){return(U=(0,a.A)(l().mark((function e(t){var n,r,o,i;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,B(t);case 3:if(!(n=e.sent)){e.next=13;break}return r=n.width||N,o=n.height||z,(i=document.createElement("canvas")).width=r,i.height=o,i.getContext("2d").drawImage(n,0,0),e.abrupt("return",i);case 13:return e.abrupt("return",null);case 16:return e.prev=16,e.t0=e.catch(0),C.vF.logError("Error creating incon canvas for pointStyle",e.t0),e.abrupt("return",null);case 20:case"end":return e.stop()}}),e,null,[[0,16]])})))).apply(this,arguments)}function W(e){var t=e.getImage().getSize(),n=Array.isArray(t)?t:[N,z],r=(0,i.A)(n,2),o=r[0],a=r[1],s=document.createElement("canvas");s.width=o+4,s.height=a+4;var l=(0,b.toContext)(s.getContext("2d"));return l.setStyle(e),l.setTransform([1,0,0,1,0,0]),l.drawGeometry(new m.A([s.width/2,s.width/2])),s}function q(e){var t=document.createElement("canvas");t.width=N,t.height=z;var n=t.getContext("2d"),r=n.createLinearGradient(0,t.height,t.width,0);r.addColorStop(0,"#7f7f7f"),r.addColorStop(.667,"#ffffff"),r.addColorStop(1,"#ffffff"),n.fillStyle=r,n.fillRect(0,0,t.width,t.height);var o=(0,b.toContext)(n);return o.setStyle(e),o.setTransform([1,0,0,1,0,0]),o.drawGeometry(new y.A([[4,t.height-4],[t.width-4,4]])),t}function H(e){var t=document.createElement("canvas");t.width=N,t.height=z;var n=t.getContext("2d"),r=n.createLinearGradient(0,t.height,t.width,0);r.addColorStop(0,"#7f7f7f"),r.addColorStop(.667,"#ffffff"),r.addColorStop(1,"#ffffff"),n.fillStyle=r,n.fillRect(0,0,t.width,t.height);var o=(0,b.toContext)(n);return o.setStyle(e),o.setTransform([1,0,0,1,0,0]),o.drawGeometry(new v.Ay([[[4,4],[t.width-4,4],[t.width-4,t.height-4],[4,t.height-4],[4,4]]])),n.getImageData(0,0,t.width,t.height),t}function Y(e){var t,n,r,o;return void 0===e.stroke&&(e.stroke={}),void 0===e.stroke.color&&(e.stroke.color="color"in e?(0,c.oJ)((0,w.setAlphaColor)((0,c._j)(e.color),1)):_(1,!0)),{color:null===(t=e.stroke)||void 0===t?void 0:t.color,width:null===(n=e.stroke)||void 0===n?void 0:n.width,lineCap:"butt",lineJoin:"bevel",lineDash:I[void 0!==(null===(r=e.stroke)||void 0===r?void 0:r.lineStyle)?null===(o=e.stroke)||void 0===o?void 0:o.lineStyle:"solid"]}}function K(e,t){if(e.nodeType!==S.Z6.binary){if(e.nodeType===S.Z6.unary){if(t.length<1||"("===t[t.length-1].nodeValue)throw new Error("unary operator error");var n=t.pop();switch(e.nodeValue){case"not":if("boolean"!=typeof n.nodeValue)throw new Error("not operator error");t.push({nodeType:S.Z6.variable,nodeValue:!n.nodeValue});break;case"u-":if("number"!=typeof n.nodeValue)throw new Error("unary - operator error");t.push({nodeType:S.Z6.variable,nodeValue:-n.nodeValue});break;case"u+":if("number"!=typeof n.nodeValue)throw new Error("unary + operator error");t.push({nodeType:S.Z6.variable,nodeValue:n.nodeValue});break;case"date":if(null===n.nodeValue)t.push(n);else{if("string"!=typeof n.nodeValue)throw new Error("DATE operator error");n.nodeValue=A.P.applyInputDateFormat(n.nodeValue),t.push({nodeType:S.Z6.variable,nodeValue:A.P.convertToMilliseconds(A.P.convertToUTC(n.nodeValue))})}break;case"upper":if(null===n.nodeValue)t.push(n);else{if("string"!=typeof n.nodeValue)throw new Error("UPPER operator error");t.push({nodeType:S.Z6.variable,nodeValue:n.nodeValue.toUpperCase()})}break;case"lower":if(null===n.nodeValue)t.push(n);else{if("string"!=typeof n.nodeValue)throw new Error("LOWER operator error");t.push({nodeType:S.Z6.variable,nodeValue:n.nodeValue.toLowerCase()})}break;default:throw new Error("unknown operator error")}}}else{if(t.length<2||"("===t[t.length-2].nodeValue)throw new Error("binary operator error - operator = '".concat(e.nodeValue,"'"));var r,i=t.pop(),a=t.pop();switch(e.nodeValue){case"is not":if(null!==i.nodeValue)throw new Error("Invalid is not null operator syntax");t.push({nodeType:S.Z6.variable,nodeValue:null!==a.nodeValue});break;case"is":if(null!==i.nodeValue)throw new Error("Invalid is null operator syntax");t.push({nodeType:S.Z6.variable,nodeValue:null===a.nodeValue});break;case"=":null===a.nodeValue||null===i.nodeValue?t.push({nodeType:S.Z6.variable,nodeValue:null}):t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue===i.nodeValue});break;case"<":null===a.nodeValue||null===i.nodeValue?t.push({nodeType:S.Z6.variable,nodeValue:null}):t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue":null===a.nodeValue||null===i.nodeValue?t.push({nodeType:S.Z6.variable,nodeValue:null}):t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue>i.nodeValue});break;case"<=":null===a.nodeValue||null===i.nodeValue?t.push({nodeType:S.Z6.variable,nodeValue:null}):t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue<=i.nodeValue});break;case">=":null===a.nodeValue||null===i.nodeValue?t.push({nodeType:S.Z6.variable,nodeValue:null}):t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue>=i.nodeValue});break;case"<>":null===a.nodeValue||null===i.nodeValue?t.push({nodeType:S.Z6.variable,nodeValue:null}):t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue!==i.nodeValue});break;case"and":if(null===a.nodeValue&&(null===i.nodeValue||!0===i.nodeValue)||!0===a.nodeValue&&null===i.nodeValue)t.push({nodeType:S.Z6.variable,nodeValue:null});else if(null===a.nodeValue&&!1===i.nodeValue||!1===a.nodeValue&&null===i.nodeValue)t.push({nodeType:S.Z6.variable,nodeValue:!1});else{if("boolean"!=typeof a.nodeValue||"boolean"!=typeof i.nodeValue)throw new Error("and operator error");t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue&&i.nodeValue})}break;case"or":if(null===a.nodeValue&&(null===i.nodeValue||!1===i.nodeValue)||!1===a.nodeValue&&null===i.nodeValue)t.push({nodeType:S.Z6.variable,nodeValue:null});else if(null===a.nodeValue&&!0===i.nodeValue||!0===a.nodeValue&&null===i.nodeValue)t.push({nodeType:S.Z6.variable,nodeValue:!0});else{if("boolean"!=typeof a.nodeValue||"boolean"!=typeof i.nodeValue)throw new Error("or operator error");t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue||i.nodeValue})}break;case"+":if("number"!=typeof a.nodeValue||"number"!=typeof i.nodeValue)throw new Error("+ operator error");t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue+i.nodeValue});break;case"-":if("number"!=typeof a.nodeValue||"number"!=typeof i.nodeValue)throw new Error("- operator error");t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue-i.nodeValue});break;case"*":if("number"!=typeof a.nodeValue||"number"!=typeof i.nodeValue)throw new Error("* operator error");t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue*i.nodeValue});break;case"/":if("number"!=typeof a.nodeValue||"number"!=typeof i.nodeValue)throw new Error("/ operator error");t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue/i.nodeValue});break;case"||":if("string"!=typeof a.nodeValue&&null!==a.nodeValue||"string"!=typeof i.nodeValue)throw new Error("|| operator error");t.push({nodeType:S.Z6.variable,nodeValue:null===a.nodeValue?null:"".concat(a.nodeValue).concat(i.nodeValue)});break;case"like":if("string"!=typeof a.nodeValue&&null!==a.nodeValue||"string"!=typeof i.nodeValue)throw new Error("like operator error");var s,l=new RegExp(i.nodeValue.toLowerCase().replaceAll(".","\\.").replaceAll("%",".*").replaceAll("_","."),""),c=a.nodeValue?a.nodeValue.toLowerCase().match(l):null;t.push({nodeType:S.Z6.variable,nodeValue:null!==c&&c[0]===(null===(s=a.nodeValue)||void 0===s?void 0:s.toLowerCase())});break;case",":if(r={nodeType:S.Z6.variable,nodeValue:Array.isArray(i.nodeValue)?[a.nodeValue].concat(i.nodeValue):[a.nodeValue,i.nodeValue]},(0,o.A)(r.nodeValue[0])!==(0,o.A)(r.nodeValue[1]))throw new Error("IN clause can't mix types");t.push(r);break;case"in":Array.isArray(i.nodeValue)?t.push({nodeType:S.Z6.variable,nodeValue:i.nodeValue.includes(a.nodeValue)}):t.push({nodeType:S.Z6.variable,nodeValue:a.nodeValue===i.nodeValue});break;default:throw new Error("unknown operator error")}}}function X(e,t){var n=[],r=[],o=function(e,t){return e<0&&t.length+e>=0?t[t.length+e]:e>0&&ei(t[a]);K(n.pop(),r))u=o(-2,n);n.push(k({},t[a]))}for(var d=o(-1,n);d&&"("!==d.nodeValue;K(n.pop(),r))d=o(-2,n);n.pop()}catch(e){throw new Error("Invalid vector layer filter (".concat(e.message,")."))}if(1!==r.length||r[0].nodeType!==S.Z6.variable)throw new Error("Invalid vector layer filter (invalid structure).");var h=r.pop();return h?!h.nodeValue:void 0}function Z(e,t,n){void 0===e.color&&(e.color=_(.25,!0));var r={color:e.color},o=Y(e),i={radius:void 0!==e.size?e.size:6,radius2:void 0!==e.size?e.size/3:2,angle:n,points:t};return i.stroke=new u.A(o),i.fill=new d.A(r),void 0!==e.offset&&(i.displacement=e.offset),void 0!==e.rotation&&(i.rotation=e.rotation),new h.Ay({image:new f.A(i)})}function J(e,t,n,r){void 0===e.color&&(e.color=_(.25,!0));var o={color:e.color},i=Y(e),a={radius:void 0!==e.size?e.size:6,angle:n,scale:r,points:t};return a.stroke=new u.A(i),a.fill=new d.A(o),void 0!==e.offset&&(a.displacement=e.offset),void 0!==e.rotation&&(a.rotation=e.rotation),new h.Ay({image:new f.A(a)})}var Q={circle:function(e){void 0===e.color&&(e.color=_(.25,!0));var t={color:e.color},n=Y(e),r={radius:void 0!==e.size?e.size:4};return r.stroke=new u.A(n),r.fill=new d.A(t),void 0!==e.offset&&(r.displacement=e.offset),void 0!==e.rotation&&(r.rotation=e.rotation),new h.Ay({image:new p.A(r)})},"+":function(e){return Z(e,4,0)},diamond:function(e){return J(e,4,0,[.75,1])},square:function(e){return J(e,4,Math.PI/4,[1,1])},triangle:function(e){return J(e,3,0,[1,1])},X:function(e){return Z(e,4,Math.PI/4)},star:function(e){return Z(e,5,0)}};function ee(e,t,n){if(void 0===n||0===n.length||!t||!X(t,n)){var r=(0,x.s0)(e)?e.settings:e;if((0,x.cw)(r)){var o=r.symbol;return Q[o].call("",r)}return(0,x.hc)(r)?function(e){var t={};return t.src="data:".concat(e.mimeType,";base64,").concat(e.src),void 0!==e.width&&void 0!==e.height&&(t.size=[e.width,e.height]),void 0!==e.offset&&(t.offset=e.offset),void 0!==e.rotation&&(t.rotation=e.rotation),void 0!==e.opacity&&(t.opacity=e.opacity),new h.Ay({image:new g.A(t)})}(r):void 0}}function te(e,t,n){if(void 0===n||0===n.length||!t||!X(t,n)){var r,o=(0,x.s0)(e)?e.settings:e;if(t&&(r=t.getGeometry()),(0,x.NF)(o)){var i=Y(o);return new h.Ay({stroke:new u.A(i),geometry:r})}}}function ne(e,t,n){var r=void 0!==e.paternSize?e.paternSize:8;void 0===e.color&&(e.color=_(.25,!0));var o={color:e.color},i=Y(e),a=document.createElement("canvas");a.width=2*r,a.height=2*r;var s=a.getContext("2d");s.strokeStyle=e.color,s.lineCap="butt",s.lineWidth=void 0!==e.paternWidth?e.paternWidth:1,s.beginPath();for(var l=0;l=t[0].minValue&&o<=t[0].maxValue)return 0;for(var i=1;it[i].minValue&&o<=t[i].maxValue)return i}}var pe={simple:{Point:ee,LineString:te,Polygon:oe},uniqueValue:{Point:function(e,t,n,r){if((void 0===n||0===n.length||!t||!X(t,n))&&(0,x.IG)(e)){var o=e.defaultSettings,i=e.fields,a=e.uniqueValueStyleInfo,s=de(i,a,t);if(void 0!==s&&(r||!1!==a[s].visible))return ee(a[s].settings);if(void 0===s&&void 0!==o&&(r||!1!==e.defaultVisible))return ee(o)}},LineString:function(e,t,n,r){if((void 0===n||0===n.length||!t||!X(t,n))&&(0,x.IG)(e)){var o=e.defaultSettings,i=e.fields,a=e.uniqueValueStyleInfo,s=de(i,a,t);if(void 0!==s&&(r||!1!==a[s].visible))return te(a[s].settings,t);if(void 0===s&&void 0!==o&&(r||!1!==e.defaultVisible))return te(o,t)}},Polygon:function(e,t,n,r){if((void 0===n||0===n.length||!t||!X(t,n))&&(0,x.IG)(e)){var o=e.defaultSettings,i=e.fields,a=e.uniqueValueStyleInfo,s=de(i,a,t);if(void 0!==s&&(r||!1!==a[s].visible))return oe(a[s].settings,t);if(void 0===s&&void 0!==o&&(r||!1!==e.defaultVisible))return oe(o,t)}}},classBreaks:{Point:function(e,t,n,r){if((void 0===n||0===n.length||!t||!X(t,n))&&(0,x.$h)(e)){var o=e.defaultSettings,i=e.field,a=e.classBreakStyleInfo,s=he(i,a,t);if(void 0!==s&&(r||!1!==a[s].visible))return ee(a[s].settings);if(void 0===s&&void 0!==o&&(r||!1!==e.defaultVisible))return ee(o)}},LineString:function(e,t,n,r){if((void 0===n||0===n.length||!t||!X(t,n))&&(0,x.$h)(e)){var o=e.defaultSettings,i=e.field,a=e.classBreakStyleInfo,s=he(i,a,t);if(void 0!==s&&(r||!1!==a[s].visible))return te(a[s].settings,t);if(void 0===s&&void 0!==o&&(r||!1!==e.defaultVisible))return te(o,t)}},Polygon:function(e,t,n,r){if((void 0===n||0===n.length||!t||!X(t,n))&&(0,x.$h)(e)){var o=e.defaultSettings,i=e.field,a=e.classBreakStyleInfo,s=he(i,a,t);if(void 0!==s&&(r||!1!==a[s].visible))return oe(a[s].settings,t);if(void 0===s&&void 0!==o&&(r||!1!==e.defaultVisible))return oe(o,t)}}}};function fe(e,t,n,o,i,a){var s=O(e),l=t;if(!t||!t[s]){var c=function(e,t){return"Point"===e?{styleType:"simple",label:t,settings:{type:"simpleSymbol",color:_(.25),stroke:{color:_(1,!0),lineStyle:"solid",width:1},symbol:"circle"}}:"LineString"===e?{styleType:"simple",label:t,settings:{type:"lineString",stroke:{color:_(1,!0)}}}:"Polygon"===e?{styleType:"simple",label:t,settings:{type:"filledPolygon",color:_(.25),stroke:{color:_(1,!0)},fillStyle:"solid"}}:void C.vF.logError("Geometry type ".concat(e," is not supported by the GeoView viewer."))}(s,n);c&&(t?l[s]=c:l=(0,r.A)({},s,c),null==a||a(s,c))}if(l[s]){var u=t[s],d=u.styleType;return pe[d][s].call("",u,e,o,i)}}function ge(e,t,n,r,o){return me.apply(this,arguments)}function me(){return(me=(0,a.A)(l().mark((function e(t,n,r,o,i){var a,s,c,u,d,h;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.getGeometry()){e.next=21;break}if(s=O(t),!n[s]){e.next=21;break}if(c=n[s],u=c.styleType,!(d=pe[u][s](c,t,r,o))){e.next=21;break}if("Point"!==s){e.next=20;break}if(!((0,x.s0)(c)&&(0,x.cw)(c.settings)||(0,x.IG)(c)&&(0,x.cw)(c.uniqueValueStyleInfo[0].settings)||(0,x.$h)(c)&&(0,x.cw)(c.classBreakStyleInfo[0].settings))){e.next=12;break}a=W(d),e.next=18;break;case 12:return e.next=14,V(d);case 14:if(e.t0=e.sent,e.t0){e.next=17;break}e.t0=void 0;case 17:a=e.t0;case 18:e.next=21;break;case 20:a="LineString"===s?q(d):H(d);case 21:if(!a){e.next=23;break}return e.abrupt("return",a);case 23:return e.next=25,null==i?void 0:i();case 25:if(!(h=e.sent)){e.next=35;break}return e.next=29,G(h);case 29:if(e.t1=e.sent,e.t1){e.next=32;break}e.t1=void 0;case 32:if(!(a=e.t1)){e.next=35;break}return e.abrupt("return",a);case 35:return e.next=37,G(P);case 37:return e.abrupt("return",e.sent);case 38:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ye(e,t,n){var r=function(e){return["+","-"].includes(e)?S.Z6.unprocessedNode:S.MU.includes(e)?S.Z6.binary:S.eQ.includes(e)?S.Z6.unary:S.A$.includes(e)?S.Z6.group:S.Z6.keyword};return e.reduce((function(e,o){return o.nodeType!==S.Z6.unprocessedNode?e.push(o):e=e.concat(o.nodeValue.trim().split(void 0===n?t:n).reduce((function(e,n){return""===n?(e.push({nodeType:r(t),nodeValue:t}),e):(e.push({nodeType:S.Z6.unprocessedNode,nodeValue:n.trim()}),e.push({nodeType:r(t),nodeValue:t}),e)}),[]).slice(0,-1)),e}),[])}function ve(e){var t,n=e;if(n[0].nodeValue=n[0].nodeValue.replaceAll(/\s{2,}/g," ").trim(),n[0].nodeValue=n[0].nodeValue.split(/^date '|(?<=\s)date '/gi).join("date°'"),n=function(e){var t=!1,n=!1,r=0,o="",i=e.reduce((function(e,i){return n?(i.nodeType===S.Z6.unprocessedNode?t?(o="".concat(o).concat(i.nodeValue),t=!1):(e.push({nodeType:S.Z6.string,nodeValue:o}),e.push(i),o="",n=!1,t=!1,r=0):2===(r+=1)&&(o="".concat(o,"'"),t=!0,r=0),e):(i.nodeType===S.Z6.keyword?(n=!0,t=!0):e.push(i),e)}),[]);if(n){if(t||1!==r)throw new Error("string not closed");i.push({nodeType:S.Z6.string,nodeValue:o})}return i}(n=ye(n,"'")),n=ye(n,"("),(n=ye(n,")")).reduce((function(e,t){return t.nodeType===S.Z6.group?e+1:e}),0)%2)throw new Error("unbalanced parentheses");return n=ye(n,"date",/^date°$|^date°|(?<=\s)date°/g),n=ye(n,"upper",/^upper\b|(?<=\s)upper\b/gi),n=ye(n,"lower",/^lower\b|(?<=\s)lower\b/gi),n=ye(n,"is not",/^is\s+not\b|(?<=\s)is\s+not\b/gi),n=ye(n,"is",/^is\b(?!\s*not\b)|(?<=\s)is\b(?!\s*not\b)/gi),n=ye(n,"in",/^in\b|(?<=\s)in\b/gi),n=ye(n,","),n=ye(n,"not",/^not\b|(?<=\s)not\b/gi),n=ye(n,"and",/^and\b|(?<=\s)and\b/gi),n=ye(n,"or",/^or\b|(?<=\s)or\b/gi),n=ye(n,"like",/^like\b|(?<=\s)like\b/gi),n=ye(n,"=",/(?<])=/g),n=ye(n,"<",/<(?![>=])/g),n=ye(n,">",/(?(?!=)/g),n=ye(n,"<>"),n=ye(n,"<="),n=ye(n,">="),n=ye(n,"+"),n=ye(n,"-"),n=ye(n,"*"),n=ye(n,"/"),n=ye(n,"||"),n=(t=n).map((function(e,n){if(e.nodeType===S.Z6.unprocessedNode){if(Number.isNaN(Number(e.nodeValue.slice(0,1))))return["+","-"].includes(e.nodeValue)?0!==n&&[S.Z6.number,S.Z6.string,S.Z6.variable].includes(t[n-1].nodeType)?e.nodeType=S.Z6.binary:(e.nodeType=S.Z6.unary,e.nodeValue="u".concat(e.nodeValue)):"string"==typeof e.nodeValue&&"null"===e.nodeValue.toLowerCase()?(e.nodeType=S.Z6.variable,e.nodeValue=null):e.nodeType=S.Z6.variable,e;if(e.nodeType=S.Z6.number,e.nodeValue=Number(e.nodeValue),Number.isNaN(e.nodeValue))throw new Error("".concat(e.nodeValue," is an invalid number"));return e}return e}))}},7031:(e,t,n)=>{"use strict";n.r(t),n.d(t,{convertTypeFeatureStyleToOpenLayersStyle:()=>ye,coordFormatDMS:()=>me,createEmptyBasemap:()=>pe,extentToPolygon:()=>Se,geojsonToGeometry:()=>ue,geometryToWKT:()=>le,getArea:()=>de,getDefaultDrawingStyle:()=>he,getESRIServiceMetadata:()=>ee,getExtentIntersection:()=>Ae,getExtentIntersectionMaybe:()=>xe,getExtentUnion:()=>be,getExtentUnionMaybe:()=>we,getLegendStylesFromConfig:()=>fe,getMapServerUrl:()=>ae,getMinOrMaxExtents:()=>ve,getOGCServerUrl:()=>se,getTranslateValues:()=>ge,getWFSServiceMetadata:()=>oe,getWMSServiceMetadata:()=>ne,layerTypes:()=>Q,polygonToExtent:()=>Ce,wktToGeometry:()=>ce});var r=n(80180),o=n(64417),i=n.n(o),a=n(95841),s=n(72192),l=n(20662),c=n(31997),u=n(24438),d=n(67087),h=n(4180),p=n(1660),f=n(62767),g=n(17567),m=n(42024),y=n(94994);class v extends m.Ay{constructor(){super()}getType(){return"text"}readFeature(e,t){return this.readFeatureFromText(b(e),this.adaptOptions(t))}readFeatureFromText(e,t){return(0,y.b0)()}readFeatures(e,t){return this.readFeaturesFromText(b(e),this.adaptOptions(t))}readFeaturesFromText(e,t){return(0,y.b0)()}readGeometry(e,t){return this.readGeometryFromText(b(e),this.adaptOptions(t))}readGeometryFromText(e,t){return(0,y.b0)()}readProjection(e){return this.readProjectionFromText(b(e))}readProjectionFromText(e){return this.dataProjection}writeFeature(e,t){return this.writeFeatureText(e,this.adaptOptions(t))}writeFeatureText(e,t){return(0,y.b0)()}writeFeatures(e,t){return this.writeFeaturesText(e,this.adaptOptions(t))}writeFeaturesText(e,t){return(0,y.b0)()}writeGeometry(e,t){return this.writeGeometryText(e,this.adaptOptions(t))}writeGeometryText(e,t){return(0,y.b0)()}}function b(e){return"string"==typeof e?e:""}const w=v,A={POINT:f.A,LINESTRING:u.A,POLYGON:g.Ay,MULTIPOINT:h.A,MULTILINESTRING:d.A,MULTIPOLYGON:p.A},x="EMPTY",S="Z",C="M",E=0,k=1,T=2,_=3,O=4,P=5,I=6,M={Point:"POINT",LineString:"LINESTRING",Polygon:"POLYGON",MultiPoint:"MULTIPOINT",MultiLineString:"MULTILINESTRING",MultiPolygon:"MULTIPOLYGON",GeometryCollection:"GEOMETRYCOLLECTION",Circle:"CIRCLE"};class L{constructor(e){this.wkt=e,this.index_=-1}isAlpha_(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"}isNumeric_(e,t){return t=void 0!==t&&t,e>="0"&&e<="9"||"."==e&&!t}isWhiteSpace_(e){return" "==e||"\t"==e||"\r"==e||"\n"==e}nextChar_(){return this.wkt.charAt(++this.index_)}nextToken(){const e=this.nextChar_(),t=this.index_;let n,r=e;if("("==e)n=T;else if(","==e)n=P;else if(")"==e)n=_;else if(this.isNumeric_(e)||"-"==e)n=O,r=this.readNumber_();else if(this.isAlpha_(e))n=k,r=this.readText_();else{if(this.isWhiteSpace_(e))return this.nextToken();if(""!==e)throw new Error("Unexpected character: "+e);n=I}return{position:t,value:r,type:n}}readNumber_(){let e;const t=this.index_;let n=!1,r=!1;do{"."==e?n=!0:"e"!=e&&"E"!=e||(r=!0),e=this.nextChar_()}while(this.isNumeric_(e,n)||!r&&("e"==e||"E"==e)||r&&("-"==e||"+"==e));return parseFloat(this.wkt.substring(t,this.index_--))}readText_(){let e;const t=this.index_;do{e=this.nextChar_()}while(this.isAlpha_(e));return this.wkt.substring(t,this.index_--).toUpperCase()}}class R{constructor(e){this.lexer_=e,this.token_={position:0,type:E},this.layout_="XY"}consume_(){this.token_=this.lexer_.nextToken()}isTokenType(e){return this.token_.type==e}match(e){const t=this.isTokenType(e);return t&&this.consume_(),t}parse(){return this.consume_(),this.parseGeometry_()}parseGeometryLayout_(){let e="XY";const t=this.token_;if(this.isTokenType(k)){const n=t.value;n===S?e="XYZ":n===C?e="XYM":"ZM"===n&&(e="XYZM"),"XY"!==e&&this.consume_()}return e}parseGeometryCollectionText_(){if(this.match(T)){const e=[];do{e.push(this.parseGeometry_())}while(this.match(P));if(this.match(_))return e}throw new Error(this.formatErrorMessage_())}parsePointText_(){if(this.match(T)){const e=this.parsePoint_();if(this.match(_))return e}throw new Error(this.formatErrorMessage_())}parseLineStringText_(){if(this.match(T)){const e=this.parsePointList_();if(this.match(_))return e}throw new Error(this.formatErrorMessage_())}parsePolygonText_(){if(this.match(T)){const e=this.parseLineStringTextList_();if(this.match(_))return e}throw new Error(this.formatErrorMessage_())}parseMultiPointText_(){if(this.match(T)){let e;if(e=this.token_.type==T?this.parsePointTextList_():this.parsePointList_(),this.match(_))return e}throw new Error(this.formatErrorMessage_())}parseMultiLineStringText_(){if(this.match(T)){const e=this.parseLineStringTextList_();if(this.match(_))return e}throw new Error(this.formatErrorMessage_())}parseMultiPolygonText_(){if(this.match(T)){const e=this.parsePolygonTextList_();if(this.match(_))return e}throw new Error(this.formatErrorMessage_())}parsePoint_(){const e=[],t=this.layout_.length;for(let n=0;n0&&(r+=" "+t)}return 0===n.length?r+" "+x:r+"("+n+")"}const B=class extends w{constructor(e){super(),e=e||{},this.splitCollection_=void 0!==e.splitCollection&&e.splitCollection}parse_(e){const t=new L(e);return new R(t).parse()}readFeatureFromText(e,t){const n=this.readGeometryFromText(e,t),r=new l.A;return r.setGeometry(n),r}readFeaturesFromText(e,t){let n=[];const r=this.readGeometryFromText(e,t);n=this.splitCollection_&&"GeometryCollection"==r.getType()?r.getGeometriesArray():[r];const o=[];for(let e=0,t=n.length;e0&&(o=o.concat("&layers=".concat(n))),e.next=5,fetch(o);case 5:return a=e.sent,e.t0=r,e.next=9,a.text();case 9:return e.t1=e.sent,l=e.t0.read.call(e.t0,e.t1),e.abrupt("return",l);case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function oe(e){return ie.apply(this,arguments)}function ie(){return(ie=(0,r.A)(i().mark((function e(t){var n,r,o,s;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a.A.get(t,{params:{request:"getcapabilities",service:"WFS"}});case 2:return n=e.sent,r=(new DOMParser).parseFromString(n.data,"text/xml"),o=(0,X.xmlToJson)(r),s=o["wfs:WFS_Capabilities"],e.abrupt("return",s);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ae(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e;if(n.includes("MapServer")&&(n=n.slice(0,n.indexOf("MapServer")+9)),n.includes("FeatureServer")&&(n=n.slice(0,n.indexOf("FeatureServer")+13)),t){var r=n.slice(n.indexOf("/services/"));n="".concat(n.slice(0,e.indexOf("services/")),"rest").concat(r)}return n}function se(e){var t=e;return t.includes("collections")&&(t=t.slice(0,t.indexOf("collections"))),t}function le(e){return e?(new B).writeGeometry(e):null}function ce(e,t){return e?(new B).readGeometry(e,t):null}function ue(e,t){return e?(new V.A).readGeometry(e,t):null}function de(e){return(0,q.UG)(e)}function he(e,t,n){return new $.Ay({stroke:new G.A({color:e||"orange",width:t||2}),fill:new U.A({color:n||"transparent"}),image:new W.A({radius:4,fill:new U.A({color:n||"orange"}),stroke:new G.A({color:e||"orange",width:t||2})})})}function pe(){var e={basemapId:"empty",source:new H.A,type:"empty",opacity:0,resolutions:[],origin:[],minScale:0,maxScale:17,extent:[0,0,0,0]},t=new Y.A(e);return t.set("mapId","basemap"),t}function fe(e){return(0,J.qC)(e)}function ge(e){var t=(0,K.KX)(window.getComputedStyle(e)),n=t.transform||t.webkitTransform||t.mozTransform,r={x:0,y:0,z:0};if("none"===n||void 0===n)return r;var o=n.includes("3d")?"3d":"2d",i=n.match(/matrix.*\((.+)\)/),a=i&&i[1].split(", ");return"2d"===o?{x:Number(a&&a[4]),y:Number(a&&a[5]),z:0}:"3d"===o?{x:Number(a&&a[12]),y:Number(a&&a[13]),z:Number(a&&a[14])}:r}function me(e){var t=String.fromCharCode(176),n=Math.floor(Math.abs(e))*(e<0?-1:1),r=Math.floor(Math.abs(60*(e-n))),o=Math.round(3600*(Math.abs(e)-Math.abs(n)-r/60));return"".concat(Math.abs(n)).concat(t," ").concat(r>=10?"".concat(r):"0".concat(r),"' ").concat(o>=10?"".concat(o):"0".concat(o),'"')}function ye(e){return he(null==e?void 0:e.strokeColor,null==e?void 0:e.strokeWidth,null==e?void 0:e.fillColor)}function ve(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"max",r=[];return"max"===n?r=[Math.min(e[0],t[0]),Math.min(e[1],t[1]),Math.max(e[2],t[2]),Math.max(e[3],t[3])]:"min"===n&&(r=[Math.max(e[0],t[0]),Math.max(e[1],t[1]),Math.min(e[2],t[2]),Math.min(e[3],t[3])]),r}function be(e,t){return t?[Math.min(e[0],t[0]),Math.min(e[1],t[1]),Math.max(e[2],t[2]),Math.max(e[3],t[3])]:e}function we(e,t){return e?be(e,t):t}function Ae(e,t){return t?[Math.max(e[0],t[0]),Math.max(e[1],t[1]),Math.min(e[2],t[2]),Math.min(e[3],t[3])]:e}function xe(e,t){return e?Ae(e,t):t}function Se(e){return new g.Ay([[[e[0],e[1]],[e[0],e[3]],[e[2],e[3]],[e[2],e[1]]]])}function Ce(e){for(var t=e.getCoordinates()[0],n=t[0][0],r=t[0][1],o=t[0][0],i=t[0][1],a=1;a{"use strict";n.d(t,{c:()=>u});var r=n(74780),o=n(72666),i=n(27878),a=function(e){var t;return{vertical:{alignSelf:"center",height:40,width:"1px !important",backgroundColor:e.palette.primary.contrastText},horizontal:{height:1,backgroundColor:e.palette.primary.contrastText},grow:{flexGrow:1,backgroundColor:null===(t=e.palette.geoViewColor)||void 0===t?void 0:t.primary.main}}},s=n(97282);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t{"use strict";n.r(t),n.d(t,{Accordion:()=>xe,AddCircleOutlineIcon:()=>Xs,AddIcon:()=>Ks,AppBarUI:()=>Le,AppsIcon:()=>Zs,ArrowBackIcon:()=>Js.A,ArrowBackIosOutlinedIcon:()=>Qs,ArrowDownIcon:()=>ki,ArrowDownwardIcon:()=>el.A,ArrowForwardIcon:()=>tl.A,ArrowForwardIosOutlinedIcon:()=>nl,ArrowLeftIcon:()=>rl,ArrowRightIcon:()=>ol,ArrowUpIcon:()=>il.A,Autocomplete:()=>Pr,Avatar:()=>Vr,Badge:()=>Zr,Box:()=>a.A,BrowserNotSupportedIcon:()=>al,Button:()=>zo,ButtonDropDown:()=>Pi,ButtonGroup:()=>Ci,CONST_PANEL_TYPES:()=>fm.v,Card:()=>Zi,CardMedia:()=>ia,ChartIcon:()=>gc.A,CheckBoxIcon:()=>cl,CheckBoxOutinedIcon:()=>dl,CheckBoxOutlineBlankIcon:()=>ul,CheckCircleIcon:()=>ll,CheckIcon:()=>sl,Checkbox:()=>ba,CheckboxList:()=>zd,ChevronLeftIcon:()=>hl,ChevronRightIcon:()=>pl,CircularProgress:()=>Va,CircularProgressBase:()=>Da,ClickMapMarker:()=>Dc,CloseIcon:()=>fl.A,Collapse:()=>Bd,CollapseIcon:()=>Yl,Container:()=>lu,CustomSelect:()=>ky,CustomStepper:()=>Tb,CustomTextField:()=>cj,DefaultPanel:()=>pm,DeleteIcon:()=>gl,DeleteOutlineIcon:()=>ml,DetailsIcon:()=>yl,Dialog:()=>vu,DialogActions:()=>xu,DialogContent:()=>Vu,DialogTitle:()=>Tu,Divider:()=>$a.c,DownloadIcon:()=>vl,DownloadingIcon:()=>bl,Drawer:()=>Is,EmojiPeopleIcon:()=>Al,ErrorIcon:()=>xl,ExpandIcon:()=>Sl,ExpandLessIcon:()=>Cl,ExpandMoreIcon:()=>El,Fade:()=>Ms,FileUploadIcon:()=>kl,FilterAltIcon:()=>Tl,FilterAltOffIcon:()=>_l,FullscreenExitIcon:()=>Pl,FullscreenIcon:()=>Ol,GeoCaIcon:()=>Rb,GitHubIcon:()=>Il.A,Grid:()=>qs,GroupIcon:()=>Ml,GroupWorkIcon:()=>Ll,GroupWorkOutlinedIcon:()=>Rl,HandleIcon:()=>wl,HeightIcon:()=>Bl,HelpIcon:()=>jl,HighlightIcon:()=>Dl,HighlightOutlinedIcon:()=>Fl,HomeIcon:()=>Nl,HubOutlinedIcon:()=>zl.A,IconButton:()=>Hs,InfoIcon:()=>$l,InfoOutlinedIcon:()=>Gl.A,KeyboardArrowDownIcon:()=>Ul,KeyboardArrowLeftIcon:()=>Hl,KeyboardArrowRightIcon:()=>ql,KeyboardArrowUpIcon:()=>Wl,LayersClearOutlinedIcon:()=>Xl,LayersIcon:()=>Kl,LayersOutlinedIcon:()=>Zl.A,Link:()=>_u.A,List:()=>ch,ListAltIcon:()=>Jl,ListItem:()=>ih,ListItemButton:()=>Hd,ListItemIcon:()=>Yd,ListItemText:()=>th,LoadingButton:()=>Zu,LockIcon:()=>ec,LockOpenIcon:()=>tc,LoopIcon:()=>nc,MRT_ActionMenuItem:()=>fL,MRT_AggregationFns:()=>GM,MRT_BottomToolbar:()=>jR,MRT_ColumnActionMenu:()=>uR,MRT_ColumnPinningButtons:()=>FR,MRT_CopyButton:()=>qL,MRT_DefaultColumn:()=>ML,MRT_DefaultDisplayColumn:()=>LL,MRT_EditActionButtons:()=>aL,MRT_EditCellTextField:()=>HL,MRT_EditRowModal:()=>_R,MRT_ExpandAllButton:()=>xL,MRT_ExpandButton:()=>SL,MRT_FilterCheckbox:()=>hR,MRT_FilterFns:()=>oL,MRT_FilterOptionMenu:()=>cR,MRT_FilterRangeFields:()=>fR,MRT_FilterRangeSlider:()=>gR,MRT_FilterTextField:()=>pR,MRT_GlobalFilterTextField:()=>WR,MRT_GrabHandleButton:()=>bL,MRT_LinearProgressBar:()=>IR,MRT_RowActionMenu:()=>gL,MRT_RowPinButton:()=>kL,MRT_SelectCheckbox:()=>_L,MRT_ShowHideColumnsButton:()=>zR,MRT_ShowHideColumnsMenu:()=>NR,MRT_ShowHideColumnsMenuItems:()=>DR,MRT_SortingFns:()=>jM,MRT_Table:()=>ER,MRT_TableBody:()=>QL,MRT_TableBodyCell:()=>YL,MRT_TableBodyCellValue:()=>WL,MRT_TableBodyRow:()=>ZL,MRT_TableBodyRowGrabHandle:()=>wL,MRT_TableBodyRowPinButton:()=>TL,MRT_TableContainer:()=>PR,MRT_TableDetailPanel:()=>XL,MRT_TableFooter:()=>rR,MRT_TableFooterCell:()=>tR,MRT_TableFooterRow:()=>nR,MRT_TableHead:()=>CR,MRT_TableHeadCell:()=>AR,MRT_TableHeadCellColumnActionsButton:()=>dR,MRT_TableHeadCellFilterContainer:()=>mR,MRT_TableHeadCellFilterLabel:()=>yR,MRT_TableHeadCellGrabHandle:()=>vR,MRT_TableHeadCellResizeHandle:()=>bR,MRT_TableHeadCellSortLabel:()=>wR,MRT_TableHeadRow:()=>xR,MRT_TableLoadingOverlay:()=>kR,MRT_TablePagination:()=>LR,MRT_TablePaper:()=>HR,MRT_ToggleDensePaddingButton:()=>BR,MRT_ToggleFiltersButton:()=>VR,MRT_ToggleFullScreenButton:()=>$R,MRT_ToggleGlobalFilterButton:()=>GR,MRT_ToggleRowActionMenuButton:()=>yL,MRT_ToolbarAlertBanner:()=>SR,MRT_ToolbarDropZone:()=>RR,MRT_ToolbarInternalButtons:()=>UR,MRT_TopToolbar:()=>qR,MapIcon:()=>ic.A,MaterialReactTable:()=>YR,Memo_MRT_TableBody:()=>eR,Memo_MRT_TableBodyCell:()=>KL,Memo_MRT_TableBodyRow:()=>JL,Menu:()=>Dh,MenuIcon:()=>ac,MenuItem:()=>hh,Modal:()=>um,ModalApi:()=>Yh,MoreHorizIcon:()=>sc,MoreVertIcon:()=>lc,MoveDownRoundedIcon:()=>cc,MoveUpRoundedIcon:()=>uc,NotificationsActiveIcon:()=>oc,NotificationsIcon:()=>rc,OpacityIcon:()=>dc,OpenInBrowserIcon:()=>hc,Panel:()=>Sm,Paper:()=>hm,PauseIcon:()=>pc,PlayArrowIcon:()=>fc,Popover:()=>km,Popper:()=>kj,ProgressBar:()=>yd,QuestionMarkIcon:()=>mc.A,RadioButtonCheckedIcon:()=>yc,RadioButtonUncheckedIcon:()=>vc,RemoveCircleOutlineIcon:()=>wc,ReorderIcon:()=>Vl,RestartAltIcon:()=>Ac,SchoolIcon:()=>xc,SearchIcon:()=>Sc,Select:()=>Iy,SendIcon:()=>Cc,Skeleton:()=>Ky,Slider:()=>tv,Snackbar:()=>Pv,Stack:()=>Du,Stepper:()=>Mb,StorageIcon:()=>Ec.A,Switch:()=>Hb,SwitchLeftIcon:()=>Tc,SwitchRightIcon:()=>kc,Table:()=>XR,TableChartOutlinedIcon:()=>Oc,TableViewIcon:()=>_c.A,Tabs:()=>ij,TextField:()=>hj,TimeSliderIcon:()=>Ys,TodoIcon:()=>Ql,Toolbar:()=>vj,Tooltip:()=>Aj,Typography:()=>xj.o,UndoIcon:()=>Pc,UploadFileIcon:()=>Ic,VisibilityIcon:()=>Mc,VisibilityOffIcon:()=>Lc,VisibilityOffOutlinedIcon:()=>jc,VisibilityOutlinedIcon:()=>Rc,WarningIcon:()=>Fc,ZoomInIcon:()=>Ks,ZoomInSearchIcon:()=>Nc,ZoomOutIcon:()=>bc,ZoomOutSearchIcon:()=>zc,cgpvTheme:()=>Lb.w,createMRTColumnHelper:()=>vM,createRow:()=>bM,defaultDisplayColumnProps:()=>CM,flexRender:()=>yM,getAllLeafColumnDefs:()=>dM,getCanRankRows:()=>NM,getColumnFilterInfo:()=>gM,getColumnId:()=>uM,getDefaultColumnFilterFn:()=>fM,getDefaultColumnOrderIds:()=>RM,getIsRankingRows:()=>zM,getIsRowSelected:()=>BM,getLeadingDisplayColumnIds:()=>MM,getMRT_RowSelectionHandler:()=>VM,getMRT_Rows:()=>DM,getMRT_SelectAllHandler:()=>$M,getTheme:()=>Lb.O,getTrailingDisplayColumnIds:()=>LM,isCellEditable:()=>xM,mrtFilterOptions:()=>oR,openEditingCell:()=>SM,prepareColumns:()=>hM,rankGlobalFuzzy:()=>FM,reorderColumn:()=>pM,showRowActionsColumn:()=>_M,showRowDragColumn:()=>kM,showRowExpandColumn:()=>TM,showRowNumbersColumn:()=>PM,showRowPinningColumn:()=>EM,showRowSelectionColumn:()=>OM,showRowSpacerColumn:()=>IM,useDropdownOptions:()=>mM,useMRT_ColumnVirtualizer:()=>VL,useMRT_Effects:()=>DL,useMRT_RowVirtualizer:()=>$L,useMRT_Rows:()=>GL,useMRT_TableInstance:()=>NL,useMRT_TableOptions:()=>RL,useMaterialReactTable:()=>zL});var r=n(32031),o=n(1839),i=n(30538),a=n(66540),s=n(64033),l=n(74112),c=(n(91272),n(87286)),u=n(67529),d=n(88168),h=n(4433),p=n(45974),f=n(95491);const g=!1;var m=n(59780),y=function(e){return e.scrollTop},v="unmounted",b="exited",w="entering",A="entered",x="exiting",S=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=b,r.appearStatus=w):o=A:o=t.unmountOnExit||t.mountOnEnter?v:b,r.state={status:o},r.nextCallback=null,r}(0,p.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===v?{status:b}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==w&&n!==A&&(t=w):n!==w&&n!==A||(t=x)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===w){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:f.findDOMNode(this);n&&y(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===b&&this.setState({status:v})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[f.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||g?this.safeSetState({status:A},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:w},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:A},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:f.findDOMNode(this);t&&!g?(this.props.onExit(r),this.safeSetState({status:x},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:b},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:b},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:f.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===v)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,l.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(m.A.Provider,{value:null},"function"==typeof n?n(e,r):i.cloneElement(i.Children.only(n),r))},t}(i.Component);function C(){}S.contextType=m.A,S.propTypes={},S.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:C,onEntering:C,onEntered:C,onExit:C,onExiting:C,onExited:C},S.UNMOUNTED=v,S.EXITED=b,S.ENTERING=w,S.ENTERED=A,S.EXITING=x;const E=S;var k=n(55306),T=n(96574),_=n(2600);const O=e=>e.scrollTop;function P(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof o?o:o[t.mode]||0,easing:null!=(r=a.transitionTimingFunction)?r:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}var I=n(72666),M=n(63371),L=n(70715),R=n(62047);function j(e){return(0,R.Ay)("MuiCollapse",e)}(0,L.A)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var F=n(97282);const D=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],N=(0,h.Ay)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})((({theme:e,ownerState:t})=>(0,s.A)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&(0,s.A)({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"}))),z=(0,h.Ay)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})((({ownerState:e})=>(0,s.A)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),B=(0,h.Ay)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})((({ownerState:e})=>(0,s.A)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"}))),V=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiCollapse"}),{addEndListener:r,children:o,className:a,collapsedSize:d="0px",component:h,easing:p,in:f,onEnter:g,onEntered:m,onEntering:y,onExit:v,onExited:b,onExiting:w,orientation:A="vertical",style:x,timeout:S=_.p0.standard,TransitionComponent:C=E}=n,O=(0,l.A)(n,D),L=(0,s.A)({},n,{orientation:A,collapsedSize:d}),R=(e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return(0,u.A)(r,j,n)})(L),V=(0,I.A)(),$=(0,k.A)(),G=i.useRef(null),U=i.useRef(),W="number"==typeof d?`${d}px`:d,q="horizontal"===A,H=q?"width":"height",Y=i.useRef(null),K=(0,M.A)(t,Y),X=e=>t=>{if(e){const n=Y.current;void 0===t?e(n):e(n,t)}},Z=()=>G.current?G.current[q?"clientWidth":"clientHeight"]:0,J=X(((e,t)=>{G.current&&q&&(G.current.style.position="absolute"),e.style[H]=W,g&&g(e,t)})),Q=X(((e,t)=>{const n=Z();G.current&&q&&(G.current.style.position="");const{duration:r,easing:o}=P({style:x,timeout:S,easing:p},{mode:"enter"});if("auto"===S){const t=V.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,U.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[H]=`${n}px`,e.style.transitionTimingFunction=o,y&&y(e,t)})),ee=X(((e,t)=>{e.style[H]="auto",m&&m(e,t)})),te=X((e=>{e.style[H]=`${Z()}px`,v&&v(e)})),ne=X(b),re=X((e=>{const t=Z(),{duration:n,easing:r}=P({style:x,timeout:S,easing:p},{mode:"exit"});if("auto"===S){const n=V.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,U.current=n}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[H]=W,e.style.transitionTimingFunction=r,w&&w(e)}));return(0,F.jsx)(C,(0,s.A)({in:f,onEnter:J,onEntered:ee,onEntering:Q,onExit:te,onExited:ne,onExiting:re,addEndListener:e=>{"auto"===S&&$.start(U.current||0,e),r&&r(Y.current,e)},nodeRef:Y,timeout:"auto"===S?null:S},O,{children:(e,t)=>(0,F.jsx)(N,(0,s.A)({as:h,className:(0,c.A)(R.root,a,{entered:R.entered,exited:!f&&"0px"===W&&R.hidden}[e]),style:(0,s.A)({[q?"minWidth":"minHeight"]:W},x),ref:K},t,{ownerState:(0,s.A)({},L,{state:e}),children:(0,F.jsx)(z,{ownerState:(0,s.A)({},L,{state:e}),className:R.wrapper,ref:G,children:(0,F.jsx)(B,{ownerState:(0,s.A)({},L,{state:e}),className:R.wrapperInner,children:o})})}))}))}));V.muiSupportAuto=!0;const $=V;var G=n(18565);const U=i.createContext({});var W=n(36150),q=n(4169),H=n(21670),Y=n(160),K=n(52725);const X=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],Z=["component","slots","slotProps"],J=["component"];function Q(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,getSlotOwnerState:a,internalForwardedProps:c}=t,u=(0,l.A)(t,X),{component:d,slots:h={[e]:void 0},slotProps:p={[e]:void 0}}=i,f=(0,l.A)(i,Z),g=h[e]||r,m=(0,H.Y)(p[e],o),y=(0,Y.p)((0,s.A)({className:n},u,{externalForwardedProps:"root"===e?f:void 0,externalSlotProps:m})),{props:{component:v},internalRef:b}=y,w=(0,l.A)(y.props,J),A=(0,q.A)(b,null==m?void 0:m.ref,t.ref),x=a?a(w):{},S=(0,s.A)({},o,x),C="root"===e?v||d:v,E=(0,K.X)(g,(0,s.A)({},"root"===e&&!d&&!h[e]&&c,"root"!==e&&!h[e]&&c,w,C&&{as:C},{ref:A}),S);return Object.keys(x).forEach((e=>{delete E[e]})),[g,E]}function ee(e){return(0,R.Ay)("MuiAccordion",e)}const te=(0,L.A)("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),ne=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","slots","slotProps","TransitionComponent","TransitionProps"],re=(0,d.h)("MuiAccordion"),oe=(0,h.Ay)(G.A,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${te.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${te.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${te.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),(({theme:e})=>({variants:[{props:e=>!e.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:e=>!e.disableGutters,style:{[`&.${te.expanded}`]:{margin:"16px 0"}}}]}))),ie=i.forwardRef((function(e,t){const n=re({props:e,name:"MuiAccordion"}),{children:r,className:o,defaultExpanded:a=!1,disabled:d=!1,disableGutters:h=!1,expanded:p,onChange:f,square:g=!1,slots:m={},slotProps:y={},TransitionComponent:v,TransitionProps:b}=n,w=(0,l.A)(n,ne),[A,x]=(0,W.A)({controlled:p,default:a,name:"Accordion",state:"expanded"}),S=i.useCallback((e=>{x(!A),f&&f(e,!A)}),[A,f,x]),[C,...E]=i.Children.toArray(r),k=i.useMemo((()=>({expanded:A,disabled:d,disableGutters:h,toggle:S})),[A,d,h,S]),T=(0,s.A)({},n,{square:g,disabled:d,disableGutters:h,expanded:A}),_=(e=>{const{classes:t,square:n,expanded:r,disabled:o,disableGutters:i}=e,a={root:["root",!n&&"rounded",r&&"expanded",o&&"disabled",!i&&"gutters"],region:["region"]};return(0,u.A)(a,ee,t)})(T),O=(0,s.A)({transition:v},m),P=(0,s.A)({transition:b},y),[I,M]=Q("transition",{elementType:$,externalForwardedProps:{slots:O,slotProps:P},ownerState:T});return(0,F.jsxs)(oe,(0,s.A)({className:(0,c.A)(_.root,o),ref:t,ownerState:T,square:g},w,{children:[(0,F.jsx)(U.Provider,{value:k,children:C}),(0,F.jsx)(I,(0,s.A)({in:A,timeout:"auto"},M,{children:(0,F.jsx)("div",{"aria-labelledby":C.props.id,id:C.props["aria-controls"],role:"region",className:_.region,children:E})}))]}))}));var ae=n(81645);function se(e){return(0,R.Ay)("MuiAccordionSummary",e)}const le=(0,L.A)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),ce=["children","className","expandIcon","focusVisibleClassName","onClick"],ue=(0,d.h)("MuiAccordionSummary"),de=(0,h.Ay)(ae.A,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${le.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${le.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${le.disabled})`]:{cursor:"pointer"},variants:[{props:e=>!e.disableGutters,style:{[`&.${le.expanded}`]:{minHeight:64}}}]}})),he=(0,h.Ay)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})((({theme:e})=>({display:"flex",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${le.expanded}`]:{margin:"20px 0"}}}]}))),pe=(0,h.Ay)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})((({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${le.expanded}`]:{transform:"rotate(180deg)"}}))),fe=i.forwardRef((function(e,t){const n=ue({props:e,name:"MuiAccordionSummary"}),{children:r,className:o,expandIcon:a,focusVisibleClassName:d,onClick:h}=n,p=(0,l.A)(n,ce),{disabled:f=!1,disableGutters:g,expanded:m,toggle:y}=i.useContext(U),v=(0,s.A)({},n,{expanded:m,disabled:f,disableGutters:g}),b=(e=>{const{classes:t,expanded:n,disabled:r,disableGutters:o}=e,i={root:["root",n&&"expanded",r&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return(0,u.A)(i,se,t)})(v);return(0,F.jsxs)(de,(0,s.A)({focusRipple:!1,disableRipple:!0,disabled:f,component:"div","aria-expanded":m,className:(0,c.A)(b.root,o),focusVisibleClassName:(0,c.A)(b.focusVisible,d),onClick:e=>{y&&y(e),h&&h(e)},ref:t,ownerState:v},p,{children:[(0,F.jsx)(he,{className:b.content,ownerState:v,children:r}),a&&(0,F.jsx)(pe,{className:b.expandIconWrapper,ownerState:v,children:a})]}))}));function ge(e){return(0,R.Ay)("MuiAccordionDetails",e)}(0,L.A)("MuiAccordionDetails",["root"]);const me=["className"],ye=(0,d.h)("MuiAccordionDetails"),ve=(0,h.Ay)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({padding:e.spacing(1,2,2)}))),be=i.forwardRef((function(e,t){const n=ye({props:e,name:"MuiAccordionDetails"}),{className:r}=n,o=(0,l.A)(n,me),i=n,a=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},ge,t)})(i);return(0,F.jsx)(ve,(0,s.A)({className:(0,c.A)(a.root,r),ref:t,ownerState:i},o))}));var we=n(42982),Ae={loadingIcon:{animation:"rotate 1s infinite linear","@keyframes rotate":{from:{transform:"rotate(360deg)"},to:{transform:"rotate(0deg)"}}}};function xe(e){var t=e.id,n=e.sx,s=e.items,l=e.className,c=e.defaultExpanded,u=void 0!==c&&c,d=e.showLoadingIcon,h=void 0!==d&&d,p=(0,i.useState)(Array(s.length).fill(u)),f=(0,o.A)(p,2),g=f[0],m=f[1],y=(0,i.useState)(Array(s.length).fill(!1)),v=(0,o.A)(y,2),b=v[0],w=v[1],A=function(e){return function(t,n){var o=(0,r.A)(g);o[e]=n,m(o)}},x=(0,i.useCallback)((function(e){return function(t){if(!g[e]&&h){var n=(0,r.A)(b);if(n[e]=!0,w(n),"height"===t.propertyName){var o=(0,r.A)(b);o[e]=!1,w(o)}}}}),[g,h,b]);return(0,F.jsx)(a.A,{id:(0,we.generateId)(t),sx:n,className:"accordion-group",children:s.map((function(e,t){return(0,F.jsxs)(ie,{className:l,expanded:g[t],onChange:A(t),onTransitionEnd:x(t),children:[(0,F.jsx)(fe,{expandIcon:h&&b[t]?(0,F.jsx)(nc,{sx:Ae.loadingIcon}):(0,F.jsx)(El,{}),"aria-controls":"accordion-panel-".concat(t,"-a-content"),children:(0,F.jsx)("div",{children:e.title})}),(0,F.jsx)(be,{children:e.content})]},t)}))})}var Se=n(74780),Ce=n(18489);function Ee(e){return(0,R.Ay)("MuiAppBar",e)}(0,L.A)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const ke=["className","color","enableColorOnDark","position"],Te=(e,t)=>e?`${null==e?void 0:e.replace(")","")}, ${t})`:t,_e=(0,h.Ay)(G.A,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,Ce.A)(n.position)}`],t[`color${(0,Ce.A)(n.color)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return(0,s.A)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===t.position&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===t.position&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===t.position&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"static"===t.position&&{position:"static"},"relative"===t.position&&{position:"relative"},!e.vars&&(0,s.A)({},"default"===t.color&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&"default"!==t.color&&"inherit"!==t.color&&"transparent"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},"inherit"===t.color&&{color:"inherit"},"dark"===e.palette.mode&&!t.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===t.color&&(0,s.A)({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"})),e.vars&&(0,s.A)({},"default"===t.color&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Te(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Te(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Te(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Te(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===t.color?"inherit":"var(--AppBar-color)"},"transparent"===t.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))})),Oe=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiAppBar"}),{className:r,color:o="primary",enableColorOnDark:i=!1,position:a="fixed"}=n,d=(0,l.A)(n,ke),h=(0,s.A)({},n,{color:o,position:a,enableColorOnDark:i}),p=(e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${(0,Ce.A)(t)}`,`position${(0,Ce.A)(n)}`]};return(0,u.A)(o,Ee,r)})(h);return(0,F.jsx)(_e,(0,s.A)({square:!0,component:"header",ownerState:h,elevation:4,className:(0,c.A)(p.root,r,"fixed"===a&&"mui-fixed"),ref:t},d))}));var Pe=n(78283),Ie=n(97119);function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Le(e){var t=(0,Ie.T$)(),n=(0,Pe.CS)(Oe);return(0,F.jsx)(n,function(e){for(var t=1;t{const t=i.useRef({});return i.useEffect((()=>{t.current=e})),t.current};var ze=n(34665),Be=n(44219);function Ve(e){return void 0!==e.normalize?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}function $e(e,t){for(let n=0;n{let c=a?s.trim():s;n&&(c=c.toLowerCase()),t&&(c=Ve(c));const u=c?e.filter((e=>{let r=(i||l)(e);return n&&(r=r.toLowerCase()),t&&(r=Ve(r)),"start"===o?0===r.indexOf(c):r.indexOf(c)>-1})):e;return"number"==typeof r?u.slice(0,r):u}}(),Ue=e=>{var t;return null!==e.current&&(null==(t=e.current.parentElement)?void 0:t.contains(document.activeElement))};function We(e){const{unstable_isActiveElementInListbox:t=Ue,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:o=!1,autoSelect:a=!1,blurOnSelect:l=!1,clearOnBlur:c=!e.freeSolo,clearOnEscape:u=!1,componentName:d="useAutocomplete",defaultValue:h=(e.multiple?[]:null),disableClearable:p=!1,disableCloseOnSelect:f=!1,disabled:g,disabledItemsFocusable:m=!1,disableListWrap:y=!1,filterOptions:v=Ge,filterSelectedOptions:b=!1,freeSolo:w=!1,getOptionDisabled:A,getOptionKey:x,getOptionLabel:S=(e=>{var t;return null!=(t=e.label)?t:e}),groupBy:C,handleHomeEndKeys:E=!e.freeSolo,id:k,includeInputInList:T=!1,inputValue:_,isOptionEqualToValue:O=((e,t)=>e===t),multiple:P=!1,onChange:I,onClose:M,onHighlightChange:L,onInputChange:R,onOpen:j,open:F,openOnFocus:D=!1,options:N,readOnly:z=!1,selectOnFocus:B=!e.freeSolo,value:V}=e,$=(0,Fe.A)(k);let G=S;G=e=>{const t=S(e);return"string"!=typeof t?String(t):t};const U=i.useRef(!1),W=i.useRef(!0),q=i.useRef(null),H=i.useRef(null),[Y,K]=i.useState(null),[X,Z]=i.useState(-1),J=o?0:-1,Q=i.useRef(J),[ee,te]=(0,De.A)({controlled:V,default:h,name:d}),[ne,re]=(0,De.A)({controlled:_,default:"",name:d,state:"inputValue"}),[oe,ie]=i.useState(!1),ae=i.useCallback(((e,t)=>{if(!(P?ee.length!b||!(P?ee:[ee]).some((t=>null!==t&&O(e,t))))),{inputValue:de&&ce?"":ne,getOptionLabel:G}):[],fe=Ne({filteredOptions:pe,value:ee,inputValue:ne});i.useEffect((()=>{const e=ee!==fe.value;oe&&!e||w&&!e||ae(null,ee)}),[ee,ae,oe,fe.value,w]);const ge=se&&pe.length>0&&!z;const me=(0,ze.A)((e=>{-1===e?q.current.focus():Y.querySelector(`[data-tag-index="${e}"]`).focus()}));i.useEffect((()=>{P&&X>ee.length-1&&(Z(-1),me(-1))}),[ee,P,X,me]);const ye=(0,ze.A)((({event:e,index:t,reason:r="auto"})=>{if(Q.current=t,-1===t?q.current.removeAttribute("aria-activedescendant"):q.current.setAttribute("aria-activedescendant",`${$}-option-${t}`),L&&L(e,-1===t?null:pe[t],r),!H.current)return;const o=H.current.querySelector(`[role="option"].${n}-focused`);o&&(o.classList.remove(`${n}-focused`),o.classList.remove(`${n}-focusVisible`));let i=H.current;if("listbox"!==H.current.getAttribute("role")&&(i=H.current.parentElement.querySelector('[role="listbox"]')),!i)return;if(-1===t)return void(i.scrollTop=0);const a=H.current.querySelector(`[data-option-index="${t}"]`);if(a&&(a.classList.add(`${n}-focused`),"keyboard"===r&&a.classList.add(`${n}-focusVisible`),i.scrollHeight>i.clientHeight&&"mouse"!==r&&"touch"!==r)){const e=a,t=i.clientHeight+i.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?i.scrollTop=n-i.clientHeight:e.offsetTop-e.offsetHeight*(C?1.3:0){if(!he)return;const i=function(e,t){if(!H.current||e<0||e>=pe.length)return-1;let n=e;for(;;){const r=H.current.querySelector(`[data-option-index="${n}"]`),o=!m&&(!r||r.disabled||"true"===r.getAttribute("aria-disabled"));if(r&&r.hasAttribute("tabindex")&&!o)return n;if(n="next"===t?(n+1)%pe.length:(n-1+pe.length)%pe.length,n===e)return-1}}((()=>{const e=pe.length-1;if("reset"===t)return J;if("start"===t)return 0;if("end"===t)return e;const n=Q.current+t;return n<0?-1===n&&T?-1:y&&-1!==Q.current||Math.abs(t)>1?0:e:n>e?n===e+1&&T?-1:y||Math.abs(t)>1?e:0:n})(),n);if(ye({index:i,reason:o,event:e}),r&&"reset"!==t)if(-1===i)q.current.value=ne;else{const e=G(pe[i]);q.current.value=e;0===e.toLowerCase().indexOf(ne.toLowerCase())&&ne.length>0&&q.current.setSelectionRange(ne.length,e.length)}})),be=i.useCallback((()=>{if(!he)return;const e=(()=>{if(-1!==Q.current&&fe.filteredOptions&&fe.filteredOptions.length!==pe.length&&fe.inputValue===ne&&(P?ee.length===fe.value.length&&fe.value.every(((e,t)=>G(ee[t])===G(e))):(e=fe.value,t=ee,(e?G(e):"")===(t?G(t):"")))){const e=fe.filteredOptions[Q.current];if(e)return $e(pe,(t=>G(t)===G(e)))}var e,t;return-1})();if(-1!==e)return void(Q.current=e);const t=P?ee[0]:ee;if(0!==pe.length&&null!=t){if(H.current)if(null==t)Q.current>=pe.length-1?ye({index:pe.length-1}):ye({index:Q.current});else{const e=pe[Q.current];if(P&&e&&-1!==$e(ee,(t=>O(e,t))))return;const n=$e(pe,(e=>O(e,t)));-1===n?ve({diff:"reset"}):ye({index:n})}}else ve({diff:"reset"})}),[pe.length,!P&&ee,b,ve,ye,he,ne,P]),we=(0,ze.A)((e=>{(0,Be.A)(H,e),e&&be()}));i.useEffect((()=>{be()}),[be]);const Ae=e=>{se||(le(!0),ue(!0),j&&j(e))},xe=(e,t)=>{se&&(le(!1),M&&M(e,t))},Se=(e,t,n,r)=>{if(P){if(ee.length===t.length&&ee.every(((e,n)=>e===t[n])))return}else if(ee===t)return;I&&I(e,t,n,r),te(t)},Ce=i.useRef(!1),Ee=(e,t,n="selectOption",r="options")=>{let o=n,i=t;if(P){i=Array.isArray(ee)?ee.slice():[];const e=$e(i,(e=>O(t,e)));-1===e?i.push(t):"freeSolo"!==r&&(i.splice(e,1),o="removeOption")}ae(e,i),Se(e,i,o,{option:t}),f||e&&(e.ctrlKey||e.metaKey)||xe(e,o),(!0===l||"touch"===l&&Ce.current||"mouse"===l&&!Ce.current)&&q.current.blur()};const ke=(e,t)=>{if(!P)return;""===ne&&xe(e,"toggleInput");let n=X;-1===X?""===ne&&"previous"===t&&(n=ee.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===ee.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===ee.length||"previous"===t&&-1===n)return-1;const e=Y.querySelector(`[data-tag-index="${n}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),Z(n),me(n)},Te=e=>{U.current=!0,re(""),R&&R(e,"","clear"),Se(e,P?[]:null,"clear")},_e=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1!==X&&-1===["ArrowLeft","ArrowRight"].indexOf(t.key)&&(Z(-1),me(-1)),229!==t.which))switch(t.key){case"Home":he&&E&&(t.preventDefault(),ve({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":he&&E&&(t.preventDefault(),ve({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),ve({diff:-5,direction:"previous",reason:"keyboard",event:t}),Ae(t);break;case"PageDown":t.preventDefault(),ve({diff:5,direction:"next",reason:"keyboard",event:t}),Ae(t);break;case"ArrowDown":t.preventDefault(),ve({diff:1,direction:"next",reason:"keyboard",event:t}),Ae(t);break;case"ArrowUp":t.preventDefault(),ve({diff:-1,direction:"previous",reason:"keyboard",event:t}),Ae(t);break;case"ArrowLeft":ke(t,"previous");break;case"ArrowRight":ke(t,"next");break;case"Enter":if(-1!==Q.current&&he){const e=pe[Q.current],n=!!A&&A(e);if(t.preventDefault(),n)return;Ee(t,e,"selectOption"),r&&q.current.setSelectionRange(q.current.value.length,q.current.value.length)}else w&&""!==ne&&!1===de&&(P&&t.preventDefault(),Ee(t,ne,"createOption","freeSolo"));break;case"Escape":he?(t.preventDefault(),t.stopPropagation(),xe(t,"escape")):u&&(""!==ne||P&&ee.length>0)&&(t.preventDefault(),t.stopPropagation(),Te(t));break;case"Backspace":if(P&&!z&&""===ne&&ee.length>0){const e=-1===X?ee.length-1:X,n=ee.slice();n.splice(e,1),Se(t,n,"removeOption",{option:ee[e]})}break;case"Delete":if(P&&!z&&""===ne&&ee.length>0&&-1!==X){const e=X,n=ee.slice();n.splice(e,1),Se(t,n,"removeOption",{option:ee[e]})}}},Oe=e=>{ie(!0),D&&!U.current&&Ae(e)},Pe=e=>{t(H)?q.current.focus():(ie(!1),W.current=!0,U.current=!1,a&&-1!==Q.current&&he?Ee(e,pe[Q.current],"blur"):a&&w&&""!==ne?Ee(e,ne,"blur","freeSolo"):c&&ae(e,ee),xe(e,"blur"))},Ie=e=>{const t=e.target.value;ne!==t&&(re(t),ue(!1),R&&R(e,t,"input")),""===t?p||P||Se(e,null,"clear"):Ae(e)},Me=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Q.current!==t&&ye({event:e,index:t,reason:"mouse"})},Le=e=>{ye({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),Ce.current=!0},Re=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Ee(e,pe[t],"selectOption"),Ce.current=!1},je=e=>t=>{const n=ee.slice();n.splice(e,1),Se(t,n,"removeOption",{option:ee[e]})},Ve=e=>{se?xe(e,"toggleInput"):Ae(e)},We=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==$&&e.preventDefault()},qe=e=>{e.currentTarget.contains(e.target)&&(q.current.focus(),B&&W.current&&q.current.selectionEnd-q.current.selectionStart==0&&q.current.select(),W.current=!1)},He=e=>{g||""!==ne&&se||Ve(e)};let Ye=w&&ne.length>0;Ye=Ye||(P?ee.length>0:null!==ee);let Ke=pe;if(C){new Map;Ke=pe.reduce(((e,t,n)=>{const r=C(t);return e.length>0&&e[e.length-1].group===r?e[e.length-1].options.push(t):e.push({key:n,index:n,group:r,options:[t]}),e}),[])}return g&&oe&&Pe(),{getRootProps:(e={})=>(0,s.A)({"aria-owns":ge?`${$}-listbox`:null},e,{onKeyDown:_e(e),onMouseDown:We,onClick:qe}),getInputLabelProps:()=>({id:`${$}-label`,htmlFor:$}),getInputProps:()=>({id:$,value:ne,onBlur:Pe,onFocus:Oe,onChange:Ie,onMouseDown:He,"aria-activedescendant":he?"":null,"aria-autocomplete":r?"both":"list","aria-controls":ge?`${$}-listbox`:void 0,"aria-expanded":ge,autoComplete:"off",ref:q,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:g}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Te}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Ve}),getTagProps:({index:e})=>(0,s.A)({key:e,"data-tag-index":e,tabIndex:-1},!z&&{onDelete:je(e)}),getListboxProps:()=>({role:"listbox",id:`${$}-listbox`,"aria-labelledby":`${$}-label`,ref:we,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{var n;const r=(P?ee:[ee]).some((e=>null!=e&&O(t,e))),o=!!A&&A(t);return{key:null!=(n=null==x?void 0:x(t))?n:G(t),tabIndex:-1,role:"option",id:`${$}-option-${e}`,onMouseMove:Me,onClick:Re,onTouchStart:Le,"data-option-index":e,"aria-disabled":o,"aria-selected":r}},id:$,inputValue:ne,value:ee,dirty:Ye,expanded:he&&Y,popupOpen:he,focused:oe||-1!==X,anchorEl:Y,setAnchorEl:K,focusedTag:X,groupedOptions:Ke}}var qe=n(33498),He=n(207),Ye=n(27443);function Ke(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Xe(e){return e instanceof Ke(e).Element||e instanceof Element}function Ze(e){return e instanceof Ke(e).HTMLElement||e instanceof HTMLElement}function Je(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ke(e).ShadowRoot||e instanceof ShadowRoot)}var Qe=Math.max,et=Math.min,tt=Math.round;function nt(){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 rt(){return!/^((?!chrome|android).)*safari/i.test(nt())}function ot(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&Ze(e)&&(o=e.offsetWidth>0&&tt(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&tt(r.height)/e.offsetHeight||1);var a=(Xe(e)?Ke(e):window).visualViewport,s=!rt()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/o,c=(r.top+(s&&a?a.offsetTop:0))/i,u=r.width/o,d=r.height/i;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function it(e){var t=Ke(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function at(e){return e?(e.nodeName||"").toLowerCase():null}function st(e){return((Xe(e)?e.ownerDocument:e.document)||window.document).documentElement}function lt(e){return ot(st(e)).left+it(e).scrollLeft}function ct(e){return Ke(e).getComputedStyle(e)}function ut(e){var t=ct(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function dt(e,t,n){void 0===n&&(n=!1);var r,o,i=Ze(t),a=Ze(t)&&function(e){var t=e.getBoundingClientRect(),n=tt(t.width)/e.offsetWidth||1,r=tt(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=st(t),l=ot(e,a,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==at(t)||ut(s))&&(c=(r=t)!==Ke(r)&&Ze(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:it(r)),Ze(t)?((u=ot(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=lt(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function ht(e){var t=ot(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function pt(e){return"html"===at(e)?e:e.assignedSlot||e.parentNode||(Je(e)?e.host:null)||st(e)}function ft(e){return["html","body","#document"].indexOf(at(e))>=0?e.ownerDocument.body:Ze(e)&&ut(e)?e:ft(pt(e))}function gt(e,t){var n;void 0===t&&(t=[]);var r=ft(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=Ke(r),a=o?[i].concat(i.visualViewport||[],ut(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(gt(pt(a)))}function mt(e){return["table","td","th"].indexOf(at(e))>=0}function yt(e){return Ze(e)&&"fixed"!==ct(e).position?e.offsetParent:null}function vt(e){for(var t=Ke(e),n=yt(e);n&&mt(n)&&"static"===ct(n).position;)n=yt(n);return n&&("html"===at(n)||"body"===at(n)&&"static"===ct(n).position)?t:n||function(e){var t=/firefox/i.test(nt());if(/Trident/i.test(nt())&&Ze(e)&&"fixed"===ct(e).position)return null;var n=pt(e);for(Je(n)&&(n=n.host);Ze(n)&&["html","body"].indexOf(at(n))<0;){var r=ct(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var bt="top",wt="bottom",At="right",xt="left",St="auto",Ct=[bt,wt,At,xt],Et="start",kt="end",Tt="clippingParents",_t="viewport",Ot="popper",Pt="reference",It=Ct.reduce((function(e,t){return e.concat([t+"-"+Et,t+"-"+kt])}),[]),Mt=[].concat(Ct,[St]).reduce((function(e,t){return e.concat([t,t+"-"+Et,t+"-"+kt])}),[]),Lt=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Rt(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var jt={placement:"bottom",modifiers:[],strategy:"absolute"};function Ft(){for(var e=arguments.length,t=new Array(e),n=0;n=0?"x":"y"}function $t(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?zt(o):null,a=o?Bt(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case bt:t={x:s,y:n.y-r.height};break;case wt:t={x:s,y:n.y+n.height};break;case At:t={x:n.x+n.width,y:l};break;case xt:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=i?Vt(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case Et:t[c]=t[c]-(n[u]/2-r[u]/2);break;case kt:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}var Gt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ut(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,h=a.x,p=void 0===h?0:h,f=a.y,g=void 0===f?0:f,m="function"==typeof u?u({x:p,y:g}):{x:p,y:g};p=m.x,g=m.y;var y=a.hasOwnProperty("x"),v=a.hasOwnProperty("y"),b=xt,w=bt,A=window;if(c){var x=vt(n),S="clientHeight",C="clientWidth";if(x===Ke(n)&&"static"!==ct(x=st(n)).position&&"absolute"===s&&(S="scrollHeight",C="scrollWidth"),o===bt||(o===xt||o===At)&&i===kt)w=wt,g-=(d&&x===A&&A.visualViewport?A.visualViewport.height:x[S])-r.height,g*=l?1:-1;if(o===xt||(o===bt||o===wt)&&i===kt)b=At,p-=(d&&x===A&&A.visualViewport?A.visualViewport.width:x[C])-r.width,p*=l?1:-1}var E,k=Object.assign({position:s},c&&Gt),T=!0===u?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:tt(n*o)/o||0,y:tt(r*o)/o||0}}({x:p,y:g},Ke(n)):{x:p,y:g};return p=T.x,g=T.y,l?Object.assign({},k,((E={})[w]=v?"0":"",E[b]=y?"0":"",E.transform=(A.devicePixelRatio||1)<=1?"translate("+p+"px, "+g+"px)":"translate3d("+p+"px, "+g+"px, 0)",E)):Object.assign({},k,((t={})[w]=v?g+"px":"",t[b]=y?p+"px":"",t.transform="",t))}const Wt={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];Ze(o)&&at(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});Ze(r)&&at(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};const qt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Mt.reduce((function(e,n){return e[n]=function(e,t,n){var r=zt(e),o=[xt,bt].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[xt,At].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=a}};var Ht={left:"right",right:"left",bottom:"top",top:"bottom"};function Yt(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ht[e]}))}var Kt={start:"end",end:"start"};function Xt(e){return e.replace(/start|end/g,(function(e){return Kt[e]}))}function Zt(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Je(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Jt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Qt(e,t,n){return t===_t?Jt(function(e,t){var n=Ke(e),r=st(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=rt();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+lt(e),y:l}}(e,n)):Xe(t)?function(e,t){var n=ot(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Jt(function(e){var t,n=st(e),r=it(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=Qe(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Qe(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+lt(e),l=-r.scrollTop;return"rtl"===ct(o||n).direction&&(s+=Qe(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(st(e)))}function en(e,t,n,r){var o="clippingParents"===t?function(e){var t=gt(pt(e)),n=["absolute","fixed"].indexOf(ct(e).position)>=0&&Ze(e)?vt(e):e;return Xe(n)?t.filter((function(e){return Xe(e)&&Zt(e,n)&&"body"!==at(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=Qt(e,n,r);return t.top=Qe(o.top,t.top),t.right=et(o.right,t.right),t.bottom=et(o.bottom,t.bottom),t.left=Qe(o.left,t.left),t}),Qt(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function tn(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function nn(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function rn(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,l=void 0===s?Tt:s,c=n.rootBoundary,u=void 0===c?_t:c,d=n.elementContext,h=void 0===d?Ot:d,p=n.altBoundary,f=void 0!==p&&p,g=n.padding,m=void 0===g?0:g,y=tn("number"!=typeof m?m:nn(m,Ct)),v=h===Ot?Pt:Ot,b=e.rects.popper,w=e.elements[f?v:h],A=en(Xe(w)?w:w.contextElement||st(e.elements.popper),l,u,a),x=ot(e.elements.reference),S=$t({reference:x,element:b,strategy:"absolute",placement:o}),C=Jt(Object.assign({},b,S)),E=h===Ot?C:x,k={top:A.top-E.top+y.top,bottom:E.bottom-A.bottom+y.bottom,left:A.left-E.left+y.left,right:E.right-A.right+y.right},T=e.modifiersData.offset;if(h===Ot&&T){var _=T[o];Object.keys(k).forEach((function(e){var t=[At,wt].indexOf(e)>=0?1:-1,n=[bt,wt].indexOf(e)>=0?"y":"x";k[e]+=_[n]*t}))}return k}function on(e,t,n){return Qe(e,et(t,n))}const an={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,h=n.tether,p=void 0===h||h,f=n.tetherOffset,g=void 0===f?0:f,m=rn(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),y=zt(t.placement),v=Bt(t.placement),b=!v,w=Vt(y),A="x"===w?"y":"x",x=t.modifiersData.popperOffsets,S=t.rects.reference,C=t.rects.popper,E="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,k="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),T=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(x){if(i){var O,P="y"===w?bt:xt,I="y"===w?wt:At,M="y"===w?"height":"width",L=x[w],R=L+m[P],j=L-m[I],F=p?-C[M]/2:0,D=v===Et?S[M]:C[M],N=v===Et?-C[M]:-S[M],z=t.elements.arrow,B=p&&z?ht(z):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=V[P],G=V[I],U=on(0,S[M],B[M]),W=b?S[M]/2-F-U-$-k.mainAxis:D-U-$-k.mainAxis,q=b?-S[M]/2+F+U+G+k.mainAxis:N+U+G+k.mainAxis,H=t.elements.arrow&&vt(t.elements.arrow),Y=H?"y"===w?H.clientTop||0:H.clientLeft||0:0,K=null!=(O=null==T?void 0:T[w])?O:0,X=L+q-K,Z=on(p?et(R,L+W-K-Y):R,L,p?Qe(j,X):j);x[w]=Z,_[w]=Z-L}if(s){var J,Q="x"===w?bt:xt,ee="x"===w?wt:At,te=x[A],ne="y"===A?"height":"width",re=te+m[Q],oe=te-m[ee],ie=-1!==[bt,xt].indexOf(y),ae=null!=(J=null==T?void 0:T[A])?J:0,se=ie?re:te-S[ne]-C[ne]-ae+k.altAxis,le=ie?te+S[ne]+C[ne]-ae-k.altAxis:oe,ce=p&&ie?function(e,t,n){var r=on(e,t,n);return r>n?n:r}(se,te,le):on(p?se:re,te,p?le:oe);x[A]=ce,_[A]=ce-te}t.modifiersData[r]=_}},requiresIfExists:["offset"]};const sn={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=zt(n.placement),l=Vt(s),c=[xt,At].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return tn("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:nn(e,Ct))}(o.padding,n),d=ht(i),h="y"===l?bt:xt,p="y"===l?wt:At,f=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],g=a[l]-n.rects.reference[l],m=vt(i),y=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,v=f/2-g/2,b=u[h],w=y-d[c]-u[p],A=y/2-d[c]/2+v,x=on(b,A,w),S=l;n.modifiersData[r]=((t={})[S]=x,t.centerOffset=x-A,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Zt(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ln(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function cn(e){return[bt,At,wt,xt].some((function(t){return e[t]>=0}))}var un=Dt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=Ke(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,Nt)})),s&&l.addEventListener("resize",n.update,Nt),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Nt)})),s&&l.removeEventListener("resize",n.update,Nt)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=$t({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:zt(t.placement),variation:Bt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Ut(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ut(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Wt,qt,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,p=n.flipVariations,f=void 0===p||p,g=n.allowedAutoPlacements,m=t.options.placement,y=zt(m),v=l||(y===m||!f?[Yt(m)]:function(e){if(zt(e)===St)return[];var t=Yt(e);return[Xt(e),t,Xt(t)]}(m)),b=[m].concat(v).reduce((function(e,n){return e.concat(zt(n)===St?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Mt:l,u=Bt(r),d=u?s?It:It.filter((function(e){return Bt(e)===u})):Ct,h=d.filter((function(e){return c.indexOf(e)>=0}));0===h.length&&(h=d);var p=h.reduce((function(t,n){return t[n]=rn(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[zt(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:g}):n)}),[]),w=t.rects.reference,A=t.rects.popper,x=new Map,S=!0,C=b[0],E=0;E=0,P=O?"width":"height",I=rn(t,{placement:k,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),M=O?_?At:xt:_?wt:bt;w[P]>A[P]&&(M=Yt(M));var L=Yt(M),R=[];if(i&&R.push(I[T]<=0),s&&R.push(I[M]<=0,I[L]<=0),R.every((function(e){return e}))){C=k,S=!1;break}x.set(k,R)}if(S)for(var j=function(e){var t=b.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},F=f?3:1;F>0;F--){if("break"===j(F))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},an,sn,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=rn(t,{elementContext:"reference"}),s=rn(t,{altBoundary:!0}),l=ln(a,r),c=ln(s,o,i),u=cn(l),d=cn(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});const dn=i.forwardRef((function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[a,s]=i.useState(null),l=(0,q.A)(i.isValidElement(n)?n.ref:null,t);if((0,He.A)((()=>{o||s(function(e){return"function"==typeof e?e():e}(r)||document.body)}),[r,o]),(0,He.A)((()=>{if(a&&!o)return(0,Be.A)(t,a),()=>{(0,Be.A)(t,null)}}),[t,a,o]),o){if(i.isValidElement(n)){const e={ref:l};return i.cloneElement(n,e)}return(0,F.jsx)(i.Fragment,{children:n})}return(0,F.jsx)(i.Fragment,{children:a?f.createPortal(n,a):a})}));const hn="base";function pn(e,t){const n=R.li[t];return n?`${hn}--${n}`:function(e,t){return`${hn}-${e}-${t}`}(e,t)}const fn="Popper";function gn(e){return pn(fn,e)}!function(e,t){const n={};t.forEach((t=>{n[t]=pn(e,t)}))}(fn,["root"]);var mn=n(11894);const yn={disableDefaultClasses:!1},vn=i.createContext(yn);const bn=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],wn=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function An(e){return"function"==typeof e?e():e}function xn(e){return void 0!==e.nodeType}const Sn=()=>(0,u.A)({root:["root"]},function(e){const{disableDefaultClasses:t}=i.useContext(vn);return n=>t?"":e(n)}(gn)),Cn={},En=i.forwardRef((function(e,t){var n;const{anchorEl:r,children:o,direction:a,disablePortal:c,modifiers:u,open:d,placement:h,popperOptions:p,popperRef:f,slotProps:g={},slots:m={},TransitionProps:y}=e,v=(0,l.A)(e,bn),b=i.useRef(null),w=(0,q.A)(b,t),A=i.useRef(null),x=(0,q.A)(A,f),S=i.useRef(x);(0,He.A)((()=>{S.current=x}),[x]),i.useImperativeHandle(f,(()=>A.current),[]);const C=function(e,t){if("ltr"===t)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}}(h,a),[E,k]=i.useState(C),[T,_]=i.useState(An(r));i.useEffect((()=>{A.current&&A.current.forceUpdate()})),i.useEffect((()=>{r&&_(An(r))}),[r]),(0,He.A)((()=>{if(!T||!d)return;let e=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{k(e.placement)}}];null!=u&&(e=e.concat(u)),p&&null!=p.modifiers&&(e=e.concat(p.modifiers));const t=un(T,b.current,(0,s.A)({placement:C},p,{modifiers:e}));return S.current(t),()=>{t.destroy(),S.current(null)}}),[T,c,u,d,p,C]);const O={placement:E};null!==y&&(O.TransitionProps=y);const P=Sn(),I=null!=(n=m.root)?n:"div",M=(0,mn.Q)({elementType:I,externalSlotProps:g.root,externalForwardedProps:v,additionalProps:{role:"tooltip",ref:w},ownerState:e,className:P.root});return(0,F.jsx)(I,(0,s.A)({},M,{children:"function"==typeof o?o(O):o}))})),kn=i.forwardRef((function(e,t){const{anchorEl:n,children:r,container:o,direction:a="ltr",disablePortal:c=!1,keepMounted:u=!1,modifiers:d,open:h,placement:p="bottom",popperOptions:f=Cn,popperRef:g,style:m,transition:y=!1,slotProps:v={},slots:b={}}=e,w=(0,l.A)(e,wn),[A,x]=i.useState(!0);if(!u&&!h&&(!y||A))return null;let S;if(o)S=o;else if(n){const e=An(n);S=e&&xn(e)?(0,Ye.A)(e).body:(0,Ye.A)(null).body}const C=h||!u||y&&!A?void 0:"none",E=y?{in:h,onEnter:()=>{x(!1)},onExited:()=>{x(!0)}}:void 0;return(0,F.jsx)(dn,{disablePortal:c,container:S,children:(0,F.jsx)(En,(0,s.A)({anchorEl:n,direction:a,disablePortal:c,modifiers:d,ref:t,open:y?!A:h,placement:p,popperOptions:f,popperRef:g,slotProps:v,slots:b},w,{style:(0,s.A)({position:"fixed",top:0,left:0,display:C},m),TransitionProps:E,children:r}))})}));var Tn=n(19950);const _n=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],On=(0,h.Ay)(kn,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Pn=i.forwardRef((function(e,t){var n;const r=(0,Tn.A)(),o=(0,T.A)({props:e,name:"MuiPopper"}),{anchorEl:i,component:a,components:c,componentsProps:u,container:d,disablePortal:h,keepMounted:p,modifiers:f,open:g,placement:m,popperOptions:y,popperRef:v,transition:b,slots:w,slotProps:A}=o,x=(0,l.A)(o,_n),S=null!=(n=null==w?void 0:w.root)?n:null==c?void 0:c.Root,C=(0,s.A)({anchorEl:i,container:d,disablePortal:h,keepMounted:p,modifiers:f,open:g,placement:m,popperOptions:y,popperRef:v,transition:b},x);return(0,F.jsx)(On,(0,s.A)({as:a,direction:null==r?void 0:r.direction,slots:{root:S},slotProps:null!=A?A:u},C,{ref:t}))})),In=Pn;function Mn(e){return(0,R.Ay)("MuiListSubheader",e)}(0,L.A)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const Ln=["className","color","component","disableGutters","disableSticky","inset"],Rn=(0,h.Ay)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,Ce.A)(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})((({theme:e,ownerState:t})=>(0,s.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"===t.color&&{color:(e.vars||e).palette.primary.main},"inherit"===t.color&&{color:"inherit"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.inset&&{paddingLeft:72},!t.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}))),jn=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiListSubheader"}),{className:r,color:o="default",component:i="li",disableGutters:a=!1,disableSticky:d=!1,inset:h=!1}=n,p=(0,l.A)(n,Ln),f=(0,s.A)({},n,{color:o,component:i,disableGutters:a,disableSticky:d,inset:h}),g=(e=>{const{classes:t,color:n,disableGutters:r,inset:o,disableSticky:i}=e,a={root:["root","default"!==n&&`color${(0,Ce.A)(n)}`,!r&&"gutters",o&&"inset",!i&&"sticky"]};return(0,u.A)(a,Mn,t)})(f);return(0,F.jsx)(Rn,(0,s.A)({as:i,className:(0,c.A)(g.root,r),ref:t,ownerState:f},p))}));jn.muiSkipListHighlight=!0;const Fn=jn;function Dn(e){return(0,R.Ay)("MuiIconButton",e)}const Nn=(0,L.A)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),zn=["edge","children","className","color","disabled","disableFocusRipple","size"],Bn=(0,h.Ay)(ae.A,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${(0,Ce.A)(n.color)}`],n.edge&&t[`edge${(0,Ce.A)(n.edge)}`],t[`size${(0,Ce.A)(n.size)}`]]}})((({theme:e,ownerState:t})=>(0,s.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})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,qe.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})),(({theme:e,ownerState:t})=>{var n;const r=null==(n=(e.vars||e).palette)?void 0:n[t.color];return(0,s.A)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,s.A)({color:null==r?void 0:r.main},!t.disableRipple&&{"&:hover":(0,s.A)({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,qe.X4)(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${Nn.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})})),Vn=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiIconButton"}),{edge:r=!1,children:o,className:i,color:a="default",disabled:d=!1,disableFocusRipple:h=!1,size:p="medium"}=n,f=(0,l.A)(n,zn),g=(0,s.A)({},n,{edge:r,color:a,disabled:d,disableFocusRipple:h,size:p}),m=(e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,a={root:["root",n&&"disabled","default"!==r&&`color${(0,Ce.A)(r)}`,o&&`edge${(0,Ce.A)(o)}`,`size${(0,Ce.A)(i)}`]};return(0,u.A)(a,Dn,t)})(g);return(0,F.jsx)(Bn,(0,s.A)({className:(0,c.A)(m.root,i),centerRipple:!0,focusRipple:!h,disabled:d,ref:t},f,{ownerState:g,children:o}))}));var $n=n(91224);const Gn=(0,$n.A)((0,F.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");function Un(e){return(0,R.Ay)("MuiChip",e)}const Wn=(0,L.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"]),qn=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],Hn=(0,h.Ay)("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:o,clickable:i,onDelete:a,size:s,variant:l}=n;return[{[`& .${Wn.avatar}`]:t.avatar},{[`& .${Wn.avatar}`]:t[`avatar${(0,Ce.A)(s)}`]},{[`& .${Wn.avatar}`]:t[`avatarColor${(0,Ce.A)(r)}`]},{[`& .${Wn.icon}`]:t.icon},{[`& .${Wn.icon}`]:t[`icon${(0,Ce.A)(s)}`]},{[`& .${Wn.icon}`]:t[`iconColor${(0,Ce.A)(o)}`]},{[`& .${Wn.deleteIcon}`]:t.deleteIcon},{[`& .${Wn.deleteIcon}`]:t[`deleteIcon${(0,Ce.A)(s)}`]},{[`& .${Wn.deleteIcon}`]:t[`deleteIconColor${(0,Ce.A)(r)}`]},{[`& .${Wn.deleteIcon}`]:t[`deleteIcon${(0,Ce.A)(l)}Color${(0,Ce.A)(r)}`]},t.root,t[`size${(0,Ce.A)(s)}`],t[`color${(0,Ce.A)(r)}`],i&&t.clickable,i&&"default"!==r&&t[`clickableColor${(0,Ce.A)(r)})`],a&&t.deletable,a&&"default"!==r&&t[`deletableColor${(0,Ce.A)(r)}`],t[l],t[`${l}${(0,Ce.A)(r)}`]]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return(0,s.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",[`&.${Wn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Wn.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:n,fontSize:e.typography.pxToRem(12)},[`& .${Wn.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Wn.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Wn.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Wn.icon}`]:(0,s.A)({marginLeft:5,marginRight:-6},"small"===t.size&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&(0,s.A)({color:e.vars?e.vars.palette.Chip.defaultIconColor:n},"default"!==t.color&&{color:"inherit"})),[`& .${Wn.deleteIcon}`]:(0,s.A)({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:(0,qe.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,qe.X4)(e.palette.text.primary,.4)}},"small"===t.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==t.color&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:(0,qe.X4)(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},"small"===t.size&&{height:24},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${Wn.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,qe.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&"default"!==t.color&&{[`&.${Wn.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})}),(({theme:e,ownerState:t})=>(0,s.A)({},t.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,qe.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Wn.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,qe.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&"default"!==t.color&&{[`&:hover, &.${Wn.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})),(({theme:e,ownerState:t})=>(0,s.A)({},"outlined"===t.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]}`,[`&.${Wn.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Wn.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Wn.avatar}`]:{marginLeft:4},[`& .${Wn.avatarSmall}`]:{marginLeft:2},[`& .${Wn.icon}`]:{marginLeft:4},[`& .${Wn.iconSmall}`]:{marginLeft:2},[`& .${Wn.deleteIcon}`]:{marginRight:5},[`& .${Wn.deleteIconSmall}`]:{marginRight:3}},"outlined"===t.variant&&"default"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,qe.X4)(e.palette[t.color].main,.7)}`,[`&.${Wn.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,qe.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${Wn.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,qe.X4)(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${Wn.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,qe.X4)(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}}))),Yn=(0,h.Ay)("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${(0,Ce.A)(r)}`]]}})((({ownerState:e})=>(0,s.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 Kn(e){return"Backspace"===e.key||"Delete"===e.key}const Xn=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiChip"}),{avatar:r,className:o,clickable:a,color:d="default",component:h,deleteIcon:p,disabled:f=!1,icon:g,label:m,onClick:y,onDelete:v,onKeyDown:b,onKeyUp:w,size:A="medium",variant:x="filled",tabIndex:S,skipFocusWhenDisabled:C=!1}=n,E=(0,l.A)(n,qn),k=i.useRef(null),_=(0,M.A)(k,t),O=e=>{e.stopPropagation(),v&&v(e)},P=!(!1===a||!y)||a,I=P||v?ae.A:h||"div",L=(0,s.A)({},n,{component:I,disabled:f,size:A,color:d,iconColor:i.isValidElement(g)&&g.props.color||d,onDelete:!!v,clickable:P,variant:x}),R=(e=>{const{classes:t,disabled:n,size:r,color:o,iconColor:i,onDelete:a,clickable:s,variant:l}=e,c={root:["root",l,n&&"disabled",`size${(0,Ce.A)(r)}`,`color${(0,Ce.A)(o)}`,s&&"clickable",s&&`clickableColor${(0,Ce.A)(o)}`,a&&"deletable",a&&`deletableColor${(0,Ce.A)(o)}`,`${l}${(0,Ce.A)(o)}`],label:["label",`label${(0,Ce.A)(r)}`],avatar:["avatar",`avatar${(0,Ce.A)(r)}`,`avatarColor${(0,Ce.A)(o)}`],icon:["icon",`icon${(0,Ce.A)(r)}`,`iconColor${(0,Ce.A)(i)}`],deleteIcon:["deleteIcon",`deleteIcon${(0,Ce.A)(r)}`,`deleteIconColor${(0,Ce.A)(o)}`,`deleteIcon${(0,Ce.A)(l)}Color${(0,Ce.A)(o)}`]};return(0,u.A)(c,Un,t)})(L),j=I===ae.A?(0,s.A)({component:h||"div",focusVisibleClassName:R.focusVisible},v&&{disableRipple:!0}):{};let D=null;v&&(D=p&&i.isValidElement(p)?i.cloneElement(p,{className:(0,c.A)(p.props.className,R.deleteIcon),onClick:O}):(0,F.jsx)(Gn,{className:(0,c.A)(R.deleteIcon),onClick:O}));let N=null;r&&i.isValidElement(r)&&(N=i.cloneElement(r,{className:(0,c.A)(R.avatar,r.props.className)}));let z=null;return g&&i.isValidElement(g)&&(z=i.cloneElement(g,{className:(0,c.A)(R.icon,g.props.className)})),(0,F.jsxs)(Hn,(0,s.A)({as:I,className:(0,c.A)(R.root,o),disabled:!(!P||!f)||void 0,onClick:y,onKeyDown:e=>{e.currentTarget===e.target&&Kn(e)&&e.preventDefault(),b&&b(e)},onKeyUp:e=>{e.currentTarget===e.target&&(v&&Kn(e)?v(e):"Escape"===e.key&&k.current&&k.current.blur()),w&&w(e)},ref:_,tabIndex:C&&f?-1:S,ownerState:L},j,E,{children:[N||z,(0,F.jsx)(Yn,{className:(0,c.A)(R.label),ownerState:L,children:m}),D]}))}));var Zn=n(76924),Jn=n(38680);function Qn(e){return(0,R.Ay)("MuiOutlinedInput",e)}const er=(0,s.A)({},Jn.A,(0,L.A)("MuiOutlinedInput",["root","notchedOutline","input"]));function tr(e){return(0,R.Ay)("MuiFilledInput",e)}const nr=(0,s.A)({},Jn.A,(0,L.A)("MuiFilledInput",["root","underline","input"])),rr=(0,$n.A)((0,F.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");var or=n(36633);function ir(e){return(0,R.Ay)("MuiAutocomplete",e)}const ar=(0,L.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 sr,lr;const cr=["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"],ur=["ref"],dr=["key"],hr=["key"],pr=(0,d.h)("MuiAutocomplete"),fr=(0,h.Ay)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:o,hasPopupIcon:i,inputFocused:a,size:s}=n;return[{[`& .${ar.tag}`]:t.tag},{[`& .${ar.tag}`]:t[`tagSize${(0,Ce.A)(s)}`]},{[`& .${ar.inputRoot}`]:t.inputRoot},{[`& .${ar.input}`]:t.input},{[`& .${ar.input}`]:a&&t.inputFocused},t.root,r&&t.fullWidth,i&&t.hasPopupIcon,o&&t.hasClearIcon]}})({[`&.${ar.focused} .${ar.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${ar.clearIndicator}`]:{visibility:"visible"}},[`& .${ar.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${ar.inputRoot}`]:{[`.${ar.hasPopupIcon}&, .${ar.hasClearIcon}&`]:{paddingRight:30},[`.${ar.hasPopupIcon}.${ar.hasClearIcon}&`]:{paddingRight:56},[`& .${ar.input}`]:{width:0,minWidth:30}},[`& .${Zn.A.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${Zn.A.root}.${Jn.A.sizeSmall}`]:{[`& .${Zn.A.input}`]:{padding:"2px 4px 3px 0"}},[`& .${er.root}`]:{padding:9,[`.${ar.hasPopupIcon}&, .${ar.hasClearIcon}&`]:{paddingRight:39},[`.${ar.hasPopupIcon}.${ar.hasClearIcon}&`]:{paddingRight:65},[`& .${ar.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${ar.endAdornment}`]:{right:9}},[`& .${er.root}.${Jn.A.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${ar.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${nr.root}`]:{paddingTop:19,paddingLeft:8,[`.${ar.hasPopupIcon}&, .${ar.hasClearIcon}&`]:{paddingRight:39},[`.${ar.hasPopupIcon}.${ar.hasClearIcon}&`]:{paddingRight:65},[`& .${nr.input}`]:{padding:"7px 4px"},[`& .${ar.endAdornment}`]:{right:9}},[`& .${nr.root}.${Jn.A.sizeSmall}`]:{paddingBottom:1,[`& .${nr.input}`]:{padding:"2.5px 4px"}},[`& .${Jn.A.hiddenLabel}`]:{paddingTop:8},[`& .${nr.root}.${Jn.A.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${ar.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${nr.root}.${Jn.A.hiddenLabel}.${Jn.A.sizeSmall}`]:{[`& .${ar.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${ar.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${ar.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${ar.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${ar.inputRoot}`]:{flexWrap:"wrap"}}}]}),gr=(0,h.Ay)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),mr=(0,h.Ay)(Vn,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),yr=(0,h.Ay)(Vn,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:({ownerState:e},t)=>(0,s.A)({},t.popupIndicator,e.popupOpen&&t.popupIndicatorOpen)})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),vr=(0,h.Ay)(In,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ar.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})((({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),br=(0,h.Ay)(G.A,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})((({theme:e})=>(0,s.A)({},e.typography.body1,{overflow:"auto"}))),wr=(0,h.Ay)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),Ar=(0,h.Ay)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),xr=(0,h.Ay)("div",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${ar.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"},[`&.${ar.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"},[`&.${ar.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,qe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ar.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,qe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${ar.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,qe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),Sr=(0,h.Ay)(Fn,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})((({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),Cr=(0,h.Ay)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${ar.option}`]:{paddingLeft:24}}),Er=i.forwardRef((function(e,t){var n,r,o,a;const d=pr({props:e,name:"MuiAutocomplete"}),{autoComplete:h=!1,autoHighlight:p=!1,autoSelect:f=!1,blurOnSelect:g=!1,ChipProps:m,className:y,clearIcon:v=sr||(sr=(0,F.jsx)(rr,{fontSize:"small"})),clearOnBlur:b=!d.freeSolo,clearOnEscape:w=!1,clearText:A="Clear",closeText:x="Close",componentsProps:S={},defaultValue:C=(d.multiple?[]:null),disableClearable:E=!1,disableCloseOnSelect:k=!1,disabled:T=!1,disabledItemsFocusable:_=!1,disableListWrap:O=!1,disablePortal:P=!1,filterSelectedOptions:I=!1,forcePopupIcon:L="auto",freeSolo:R=!1,fullWidth:j=!1,getLimitTagsText:D=(e=>`+${e}`),getOptionLabel:N,groupBy:z,handleHomeEndKeys:B=!d.freeSolo,includeInputInList:V=!1,limitTags:$=-1,ListboxComponent:U="ul",ListboxProps:W,loading:q=!1,loadingText:H="Loading…",multiple:Y=!1,noOptionsText:K="No options",openOnFocus:X=!1,openText:Z="Open",PaperComponent:J=G.A,PopperComponent:Q=In,popupIcon:ee=lr||(lr=(0,F.jsx)(or.A,{})),readOnly:te=!1,renderGroup:ne,renderInput:re,renderOption:oe,renderTags:ie,selectOnFocus:ae=!d.freeSolo,size:se="medium",slotProps:le={}}=d,ce=(0,l.A)(d,cr),{getRootProps:ue,getInputProps:de,getInputLabelProps:he,getPopupIndicatorProps:pe,getClearProps:fe,getTagProps:ge,getListboxProps:me,getOptionProps:ye,value:ve,dirty:be,expanded:we,id:Ae,popupOpen:xe,focused:Se,focusedTag:Ee,anchorEl:ke,setAnchorEl:Te,inputValue:_e,groupedOptions:Oe}=We((0,s.A)({},d,{componentName:"Autocomplete"})),Pe=!E&&!T&&be&&!te,Ie=(!R||!0===L)&&!1!==L,{onMouseDown:Me}=de(),{ref:Le}=null!=W?W:{},Re=me(),{ref:je}=Re,Fe=(0,l.A)(Re,ur),De=(0,M.A)(je,Le),Ne=N||(e=>{var t;return null!=(t=e.label)?t:e}),ze=(0,s.A)({},d,{disablePortal:P,expanded:we,focused:Se,fullWidth:j,getOptionLabel:Ne,hasClearIcon:Pe,hasPopupIcon:Ie,inputFocused:-1===Ee,popupOpen:xe,size:se}),Be=(e=>{const{classes:t,disablePortal:n,expanded:r,focused:o,fullWidth:i,hasClearIcon:a,hasPopupIcon:s,inputFocused:l,popupOpen:c,size:d}=e,h={root:["root",r&&"expanded",o&&"focused",i&&"fullWidth",a&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${(0,Ce.A)(d)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return(0,u.A)(h,ir,t)})(ze);let Ve;if(Y&&ve.length>0){const e=e=>(0,s.A)({className:Be.tag,disabled:T},ge(e));Ve=ie?ie(ve,e,ze):ve.map(((t,n)=>{const r=e({index:n}),{key:o}=r,i=(0,l.A)(r,dr);return(0,F.jsx)(Xn,(0,s.A)({label:Ne(t),size:se},i,m),o)}))}if($>-1&&Array.isArray(Ve)){const e=Ve.length-$;!Se&&e>0&&(Ve=Ve.splice(0,$),Ve.push((0,F.jsx)("span",{className:Be.tag,children:D(e)},Ve.length)))}const $e=ne||(e=>(0,F.jsxs)("li",{children:[(0,F.jsx)(Sr,{className:Be.groupLabel,ownerState:ze,component:"div",children:e.group}),(0,F.jsx)(Cr,{className:Be.groupUl,ownerState:ze,children:e.children})]},e.key)),Ge=oe||((e,t)=>{const{key:n}=e,r=(0,l.A)(e,hr);return(0,F.jsx)("li",(0,s.A)({},r,{children:Ne(t)}),n)}),Ue=(e,t)=>{const n=ye({option:e,index:t});return Ge((0,s.A)({},n,{className:Be.option}),e,{selected:n["aria-selected"],index:t,inputValue:_e},ze)},qe=null!=(n=le.clearIndicator)?n:S.clearIndicator,He=null!=(r=le.paper)?r:S.paper,Ye=null!=(o=le.popper)?o:S.popper,Ke=null!=(a=le.popupIndicator)?a:S.popupIndicator,Xe=e=>(0,F.jsx)(vr,(0,s.A)({as:Q,disablePortal:P,style:{width:ke?ke.clientWidth:null},ownerState:ze,role:"presentation",anchorEl:ke,open:xe},Ye,{className:(0,c.A)(Be.popper,null==Ye?void 0:Ye.className),children:(0,F.jsx)(br,(0,s.A)({ownerState:ze,as:J},He,{className:(0,c.A)(Be.paper,null==He?void 0:He.className),children:e}))}));let Ze=null;return Oe.length>0?Ze=Xe((0,F.jsx)(xr,(0,s.A)({as:U,className:Be.listbox,ownerState:ze},Fe,W,{ref:De,children:Oe.map(((e,t)=>z?$e({key:e.key,group:e.group,children:e.options.map(((t,n)=>Ue(t,e.index+n)))}):Ue(e,t)))}))):q&&0===Oe.length?Ze=Xe((0,F.jsx)(wr,{className:Be.loading,ownerState:ze,children:H})):0!==Oe.length||R||q||(Ze=Xe((0,F.jsx)(Ar,{className:Be.noOptions,ownerState:ze,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:K}))),(0,F.jsxs)(i.Fragment,{children:[(0,F.jsx)(fr,(0,s.A)({ref:t,className:(0,c.A)(Be.root,y),ownerState:ze},ue(ce),{children:re({id:Ae,disabled:T,fullWidth:!0,size:"small"===se?"small":void 0,InputLabelProps:he(),InputProps:(0,s.A)({ref:Te,className:Be.inputRoot,startAdornment:Ve,onClick:e=>{e.target===e.currentTarget&&Me(e)}},(Pe||Ie)&&{endAdornment:(0,F.jsxs)(gr,{className:Be.endAdornment,ownerState:ze,children:[Pe?(0,F.jsx)(mr,(0,s.A)({},fe(),{"aria-label":A,title:A,ownerState:ze},qe,{className:(0,c.A)(Be.clearIndicator,null==qe?void 0:qe.className),children:v})):null,Ie?(0,F.jsx)(yr,(0,s.A)({},pe(),{disabled:T,"aria-label":xe?x:Z,title:xe?x:Z,ownerState:ze},Ke,{className:(0,c.A)(Be.popupIndicator,null==Ke?void 0:Ke.className),children:ee})):null]})}),inputProps:(0,s.A)({className:Be.input,disabled:T,readOnly:te},de())})})),ke?Ze:null]})})),kr=Er;var Tr=["fullWidth"];function _r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Or(e){for(var t=1;t{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.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,s.A)({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:(0,s.A)({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]}))),Fr=(0,h.Ay)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Dr=(0,h.Ay)(Ir,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});const Nr=i.forwardRef((function(e,t){const n=Rr({props:e,name:"MuiAvatar"}),{alt:r,children:o,className:a,component:d="div",slots:h={},slotProps:p={},imgProps:f,sizes:g,src:m,srcSet:y,variant:v="circular"}=n,b=(0,l.A)(n,Lr);let w=null;const A=function({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,a]=i.useState(!1);return i.useEffect((()=>{if(!n&&!r)return;a(!1);let o=!0;const i=new Image;return i.onload=()=>{o&&a("loaded")},i.onerror=()=>{o&&a("error")},i.crossOrigin=e,i.referrerPolicy=t,i.src=n,r&&(i.srcset=r),()=>{o=!1}}),[e,t,n,r]),o}((0,s.A)({},f,{src:m,srcSet:y})),x=m||y,S=x&&"error"!==A,C=(0,s.A)({},n,{colorDefault:!S,component:d,variant:v}),E=(e=>{const{classes:t,variant:n,colorDefault:r}=e,o={root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]};return(0,u.A)(o,Mr,t)})(C),[k,T]=Q("img",{className:E.img,elementType:Fr,externalForwardedProps:{slots:h,slotProps:{img:(0,s.A)({},f,p.img)}},additionalProps:{alt:r,src:m,srcSet:y,sizes:g},ownerState:C});return w=S?(0,F.jsx)(k,(0,s.A)({},T)):o||0===o?o:x&&r?r[0]:(0,F.jsx)(Dr,{ownerState:C,className:E.fallback}),(0,F.jsx)(jr,(0,s.A)({as:d,ownerState:C,className:(0,c.A)(E.root,a),ref:t},b,{children:w}))}));function zr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Br(e){for(var t=1;tt.root})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),Hr=(0,h.Ay)("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.badge,t[n.variant],t[`anchorOrigin${(0,Ce.A)(n.anchorOrigin.vertical)}${(0,Ce.A)(n.anchorOrigin.horizontal)}${(0,Ce.A)(n.overlap)}`],"default"!==n.color&&t[`color${(0,Ce.A)(n.color)}`],n.invisible&&t.invisible]}})((({theme:e})=>{var t;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!=(t=e.vars)?t:e).palette).filter((t=>{var n,r;return(null!=(n=e.vars)?n:e).palette[t].main&&(null!=(r=e.vars)?r:e).palette[t].contrastText})).map((t=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].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%",[`&.${Gr.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%",[`&.${Gr.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%",[`&.${Gr.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%",[`&.${Gr.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%",[`&.${Gr.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%",[`&.${Gr.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%",[`&.${Gr.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%",[`&.${Gr.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})}}]}})),Yr=i.forwardRef((function(e,t){var n,r,o,i,a,d;const h=Wr({props:e,name:"MuiBadge"}),{anchorOrigin:p={vertical:"top",horizontal:"right"},className:f,component:g,components:m={},componentsProps:y={},children:v,overlap:b="rectangular",color:w="default",invisible:A=!1,max:x=99,badgeContent:S,slots:C,slotProps:E,showZero:k=!1,variant:T="standard"}=h,_=(0,l.A)(h,Ur),{badgeContent:O,invisible:P,max:I,displayValue:M}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:o=!1}=e,i=Ne({badgeContent:t,max:r});let a=n;!1!==n||0!==t||o||(a=!0);const{badgeContent:s,max:l=r}=a?i:e;return{badgeContent:s,invisible:a,max:l,displayValue:s&&Number(s)>l?`${l}+`:s}}({max:x,invisible:A,badgeContent:S,showZero:k}),L=Ne({anchorOrigin:p,color:w,overlap:b,variant:T,badgeContent:S}),R=P||null==O&&"dot"!==T,{color:j=w,overlap:D=b,anchorOrigin:N=p,variant:z=T}=R?L:h,B="dot"!==z?M:void 0,V=(0,s.A)({},h,{badgeContent:O,invisible:R,max:I,displayValue:B,showZero:k,anchorOrigin:N,color:j,overlap:D,variant:z}),$=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:o,variant:i,classes:a={}}=e,s={root:["root"],badge:["badge",i,r&&"invisible",`anchorOrigin${(0,Ce.A)(n.vertical)}${(0,Ce.A)(n.horizontal)}`,`anchorOrigin${(0,Ce.A)(n.vertical)}${(0,Ce.A)(n.horizontal)}${(0,Ce.A)(o)}`,`overlap${(0,Ce.A)(o)}`,"default"!==t&&`color${(0,Ce.A)(t)}`]};return(0,u.A)(s,$r,a)})(V),G=null!=(n=null!=(r=null==C?void 0:C.root)?r:m.Root)?n:qr,U=null!=(o=null!=(i=null==C?void 0:C.badge)?i:m.Badge)?o:Hr,W=null!=(a=null==E?void 0:E.root)?a:y.root,q=null!=(d=null==E?void 0:E.badge)?d:y.badge,H=(0,mn.Q)({elementType:G,externalSlotProps:W,externalForwardedProps:_,additionalProps:{ref:t,as:g},ownerState:V,className:(0,c.A)(null==W?void 0:W.className,$.root,f)}),Y=(0,mn.Q)({elementType:U,externalSlotProps:q,ownerState:V,className:(0,c.A)($.badge,null==q?void 0:q.className)});return(0,F.jsxs)(G,(0,s.A)({},H,{children:[v,(0,F.jsx)(U,(0,s.A)({},Y,{children:B}))]}))})),Kr=Yr;function Xr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zr(e){return(0,F.jsx)(Kr,function(e){for(var t=1;tt=>{if(e){const n=S.current;void 0===t?e(n):e(n,t)}},_=T(h),L=T(((e,t)=>{O(e);const{duration:n,delay:r,easing:o}=P({style:m,timeout:y,easing:a},{mode:"enter"});let i;"auto"===y?(i=x.transitions.getAutoHeightDuration(e.clientHeight),A.current=i):i=n,e.style.transition=[x.transitions.create("opacity",{duration:i,delay:r}),x.transitions.create("transform",{duration:oo?i:.666*i,delay:r,easing:o})].join(","),u&&u(e,t)})),R=T(d),j=T(g),D=T((e=>{const{duration:t,delay:n,easing:r}=P({style:m,timeout:y,easing:a},{mode:"exit"});let o;"auto"===y?(o=x.transitions.getAutoHeightDuration(e.clientHeight),A.current=o):o=t,e.style.transition=[x.transitions.create("opacity",{duration:o,delay:n}),x.transitions.create("transform",{duration:oo?o:.666*o,delay:oo?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=no(.75),p&&p(e)})),N=T(f);return(0,F.jsx)(v,(0,s.A)({appear:r,in:c,nodeRef:S,onEnter:L,onEntered:R,onEntering:_,onExit:D,onExited:N,onExiting:j,addEndListener:e=>{"auto"===y&&w.start(A.current||0,e),n&&n(S.current,e)},timeout:"auto"===y?null:y},b,{children:(e,t)=>i.cloneElement(o,(0,s.A)({style:(0,s.A)({opacity:0,transform:no(.75),visibility:"exited"!==e||c?void 0:"hidden"},ro[e],m,o.props.style),ref:C},t))}))}));io.muiSupportAuto=!0;const ao=io;var so=n(42425),lo=n(36157),co=n(65930);function uo(e){return(0,R.Ay)("MuiTooltip",e)}const ho=(0,L.A)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),po=["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 fo=(0,h.Ay)(In,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})((({theme:e,ownerState:t,open:n})=>(0,s.A)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${ho.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${ho.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${ho.arrow}`]:(0,s.A)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${ho.arrow}`]:(0,s.A)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})}))),go=(0,h.Ay)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${(0,Ce.A)(n.placement.split("-")[0])}`]]}})((({theme:e,ownerState:t})=>{return(0,s.A)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,qe.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},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:e.typography.fontWeightRegular},{[`.${ho.popper}[data-popper-placement*="left"] &`]:(0,s.A)({transformOrigin:"right center"},t.isRtl?(0,s.A)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):(0,s.A)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${ho.popper}[data-popper-placement*="right"] &`]:(0,s.A)({transformOrigin:"left center"},t.isRtl?(0,s.A)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):(0,s.A)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${ho.popper}[data-popper-placement*="top"] &`]:(0,s.A)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${ho.popper}[data-popper-placement*="bottom"] &`]:(0,s.A)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var n})),mo=(0,h.Ay)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,qe.X4)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let yo=!1;const vo=new k.E;let bo={x:0,y:0};function wo(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const Ao=i.forwardRef((function(e,t){var n,r,o,a,d,h,p,f,g,m,y,v,b,w,A,x,S,C,E;const _=(0,T.A)({props:e,name:"MuiTooltip"}),{arrow:O=!1,children:P,components:L={},componentsProps:R={},describeChild:j=!1,disableFocusListener:D=!1,disableHoverListener:N=!1,disableInteractive:z=!1,disableTouchListener:B=!1,enterDelay:V=100,enterNextDelay:$=0,enterTouchDelay:G=700,followCursor:U=!1,id:q,leaveDelay:H=0,leaveTouchDelay:Y=1500,onClose:X,onOpen:Z,open:J,placement:Q="bottom",PopperComponent:ee,PopperProps:te={},slotProps:ne={},slots:re={},title:oe,TransitionComponent:ie=ao,TransitionProps:ae}=_,se=(0,l.A)(_,po),le=i.isValidElement(P)?P:(0,F.jsx)("span",{children:P}),ce=(0,I.A)(),ue=(0,eo.I)(),[de,he]=i.useState(),[pe,fe]=i.useState(null),ge=i.useRef(!1),me=z||U,ye=(0,k.A)(),ve=(0,k.A)(),be=(0,k.A)(),we=(0,k.A)(),[Ae,xe]=(0,W.A)({controlled:J,default:!1,name:"Tooltip",state:"open"});let Se=Ae;const Ee=(0,lo.A)(q),ke=i.useRef(),Te=(0,so.A)((()=>{void 0!==ke.current&&(document.body.style.WebkitUserSelect=ke.current,ke.current=void 0),we.clear()}));i.useEffect((()=>Te),[Te]);const _e=e=>{vo.clear(),yo=!0,xe(!0),Z&&!Se&&Z(e)},Oe=(0,so.A)((e=>{vo.start(800+H,(()=>{yo=!1})),xe(!1),X&&Se&&X(e),ye.start(ce.transitions.duration.shortest,(()=>{ge.current=!1}))})),Pe=e=>{ge.current&&"touchstart"!==e.type||(de&&de.removeAttribute("title"),ve.clear(),be.clear(),V||yo&&$?ve.start(yo?$:V,(()=>{_e(e)})):_e(e))},Ie=e=>{ve.clear(),be.start(H,(()=>{Oe(e)}))},{isFocusVisibleRef:Me,onBlur:Le,onFocus:Re,ref:je}=(0,co.A)(),[,Fe]=i.useState(!1),De=e=>{Le(e),!1===Me.current&&(Fe(!1),Ie(e))},Ne=e=>{de||he(e.currentTarget),Re(e),!0===Me.current&&(Fe(!0),Pe(e))},ze=e=>{ge.current=!0;const t=le.props;t.onTouchStart&&t.onTouchStart(e)},Be=e=>{ze(e),be.clear(),ye.clear(),Te(),ke.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",we.start(G,(()=>{document.body.style.WebkitUserSelect=ke.current,Pe(e)}))},Ve=e=>{le.props.onTouchEnd&&le.props.onTouchEnd(e),Te(),be.start(Y,(()=>{Oe(e)}))};i.useEffect((()=>{if(Se)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||Oe(e)}}),[Oe,Se]);const $e=(0,M.A)(le.ref,je,he,t);oe||0===oe||(Se=!1);const Ge=i.useRef(),Ue={},We="string"==typeof oe;j?(Ue.title=Se||!We||N?null:oe,Ue["aria-describedby"]=Se?Ee:null):(Ue["aria-label"]=We?oe:null,Ue["aria-labelledby"]=Se&&!We?Ee:null);const qe=(0,s.A)({},Ue,se,le.props,{className:(0,c.A)(se.className,le.props.className),onTouchStart:ze,ref:$e},U?{onMouseMove:e=>{const t=le.props;t.onMouseMove&&t.onMouseMove(e),bo={x:e.clientX,y:e.clientY},Ge.current&&Ge.current.update()}}:{});const He={};B||(qe.onTouchStart=Be,qe.onTouchEnd=Ve),N||(qe.onMouseOver=wo(Pe,qe.onMouseOver),qe.onMouseLeave=wo(Ie,qe.onMouseLeave),me||(He.onMouseOver=Pe,He.onMouseLeave=Ie)),D||(qe.onFocus=wo(Ne,qe.onFocus),qe.onBlur=wo(De,qe.onBlur),me||(He.onFocus=Ne,He.onBlur=De));const Ye=i.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(pe),options:{element:pe,padding:4}}];return null!=(e=te.popperOptions)&&e.modifiers&&(t=t.concat(te.popperOptions.modifiers)),(0,s.A)({},te.popperOptions,{modifiers:t})}),[pe,te]),Ke=(0,s.A)({},_,{isRtl:ue,arrow:O,disableInteractive:me,placement:Q,PopperComponentProp:ee,touch:ge.current}),Xe=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${(0,Ce.A)(i.split("-")[0])}`],arrow:["arrow"]};return(0,u.A)(a,uo,t)})(Ke),Ze=null!=(n=null!=(r=re.popper)?r:L.Popper)?n:fo,Je=null!=(o=null!=(a=null!=(d=re.transition)?d:L.Transition)?a:ie)?o:ao,Qe=null!=(h=null!=(p=re.tooltip)?p:L.Tooltip)?h:go,et=null!=(f=null!=(g=re.arrow)?g:L.Arrow)?f:mo,tt=(0,K.X)(Ze,(0,s.A)({},te,null!=(m=ne.popper)?m:R.popper,{className:(0,c.A)(Xe.popper,null==te?void 0:te.className,null==(y=null!=(v=ne.popper)?v:R.popper)?void 0:y.className)}),Ke),nt=(0,K.X)(Je,(0,s.A)({},ae,null!=(b=ne.transition)?b:R.transition),Ke),rt=(0,K.X)(Qe,(0,s.A)({},null!=(w=ne.tooltip)?w:R.tooltip,{className:(0,c.A)(Xe.tooltip,null==(A=null!=(x=ne.tooltip)?x:R.tooltip)?void 0:A.className)}),Ke),ot=(0,K.X)(et,(0,s.A)({},null!=(S=ne.arrow)?S:R.arrow,{className:(0,c.A)(Xe.arrow,null==(C=null!=(E=ne.arrow)?E:R.arrow)?void 0:C.className)}),Ke);return(0,F.jsxs)(i.Fragment,{children:[i.cloneElement(le,qe),(0,F.jsx)(Ze,(0,s.A)({as:null!=ee?ee:In,placement:Q,anchorEl:U?{getBoundingClientRect:()=>({top:bo.y,left:bo.x,right:bo.x,bottom:bo.y,width:0,height:0})}:de,popperRef:Ge,open:!!de&&Se,id:Ee,transition:!0},He,tt,{popperOptions:Ye,children:({TransitionProps:e})=>(0,F.jsx)(Je,(0,s.A)({timeout:ce.transitions.duration.shorter},e,nt,{children:(0,F.jsxs)(Qe,(0,s.A)({},rt,{children:[oe,O?(0,F.jsx)(et,(0,s.A)({},ot,{ref:fe})):null]}))}))}))]})})),xo=Ao,So=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Co={entering:{opacity:1},entered:{opacity:1}},Eo=i.forwardRef((function(e,t){const n=(0,I.A)(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:a=!0,children:c,easing:u,in:d,onEnter:h,onEntered:p,onEntering:f,onExit:g,onExited:m,onExiting:y,style:v,timeout:b=r,TransitionComponent:w=E}=e,A=(0,l.A)(e,So),x=i.useRef(null),S=(0,M.A)(x,c.ref,t),C=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},k=C(f),T=C(((e,t)=>{O(e);const r=P({style:v,timeout:b,easing:u},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),h&&h(e,t)})),_=C(p),L=C(y),R=C((e=>{const t=P({style:v,timeout:b,easing:u},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),g&&g(e)})),j=C(m);return(0,F.jsx)(w,(0,s.A)({appear:a,in:d,nodeRef:x,onEnter:T,onEntered:_,onEntering:k,onExit:R,onExited:j,onExiting:L,addEndListener:e=>{o&&o(x.current,e)},timeout:b},A,{children:(e,t)=>i.cloneElement(c,(0,s.A)({style:(0,s.A)({opacity:0,visibility:"exited"!==e||d?void 0:"hidden"},Co[e],v,c.props.style),ref:S},t))}))})),ko=Eo;var To=n(46777),_o=n(34773);function Oo(e){return(0,R.Ay)("MuiButton",e)}const Po=(0,L.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"]);const Io=i.createContext({});const Mo=i.createContext(void 0),Lo=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Ro=e=>(0,s.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}}),jo=(0,h.Ay)(ae.A,{shouldForwardProp:e=>(0,_o.A)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,Ce.A)(n.color)}`],t[`size${(0,Ce.A)(n.size)}`],t[`${n.variant}Size${(0,Ce.A)(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,s.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,s.A)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,qe.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,qe.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,qe.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,s.A)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Po.focusVisible}`]:(0,s.A)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Po.disabled}`]:(0,s.A)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,qe.X4)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Po.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Po.disabled}`]:{boxShadow:"none"}})),Fo=(0,h.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${(0,Ce.A)(n.size)}`]]}})((({ownerState:e})=>(0,s.A)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Ro(e)))),Do=(0,h.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${(0,Ce.A)(n.size)}`]]}})((({ownerState:e})=>(0,s.A)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Ro(e)))),No=i.forwardRef((function(e,t){const n=i.useContext(Io),r=i.useContext(Mo),o=(0,To.A)(n,e),a=(0,T.A)({props:o,name:"MuiButton"}),{children:d,color:h="primary",component:p="button",className:f,disabled:g=!1,disableElevation:m=!1,disableFocusRipple:y=!1,endIcon:v,focusVisibleClassName:b,fullWidth:w=!1,size:A="medium",startIcon:x,type:S,variant:C="text"}=a,E=(0,l.A)(a,Lo),k=(0,s.A)({},a,{color:h,component:p,disabled:g,disableElevation:m,disableFocusRipple:y,fullWidth:w,size:A,type:S,variant:C}),_=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e,l={root:["root",i,`${i}${(0,Ce.A)(t)}`,`size${(0,Ce.A)(o)}`,`${i}Size${(0,Ce.A)(o)}`,`color${(0,Ce.A)(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${(0,Ce.A)(o)}`],endIcon:["icon","endIcon",`iconSize${(0,Ce.A)(o)}`]},c=(0,u.A)(l,Oo,a);return(0,s.A)({},a,c)})(k),O=x&&(0,F.jsx)(Fo,{className:_.startIcon,ownerState:k,children:x}),P=v&&(0,F.jsx)(Do,{className:_.endIcon,ownerState:k,children:v}),I=r||"";return(0,F.jsxs)(jo,(0,s.A)({ownerState:k,className:(0,c.A)(n.className,_.root,f,I),component:p,disabled:g,focusRipple:!y,focusVisibleClassName:(0,c.A)(_.focusVisible,b),ref:t,type:S},E,{classes:_,children:[O,d,P]}))}));function zo(e){var t=e.id,n=e.sx,r=e.variant,o=e.tooltip,i=e.tooltipPlacement,a=e.onClick,s=e.className,l=e.children,c=e.autoFocus,u=e.disabled,d=e.disableRipple,h=void 0!==d&&d,p=e.startIcon,f=e.endIcon,g=e.size,m=e.makeResponsive,y=e.fullWidth,v=(0,Jr.useTranslation)().t,b=(0,I.A)(),w=(0,Qr.A)(b.breakpoints.down("md"));return(0,F.jsx)(xo,{title:v(o||""),placement:i||"bottom",TransitionComponent:ko,children:(0,F.jsx)(No,{fullWidth:y,id:t,size:g||"medium",sx:n,variant:r||"text",className:"".concat(s||""),onClick:a,autoFocus:c,disabled:u,disableRipple:h,startIcon:p,endIcon:f,children:m&&w?null:l})})}var Bo=n(11956),Vo=n(25225);const $o=i.createContext({});function Go(e){return(0,R.Ay)("MuiList",e)}(0,L.A)("MuiList",["root","padding","dense","subheader"]);const Uo=["children","className","component","dense","disablePadding","subheader"],Wo=(0,h.Ay)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>(0,s.A)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0}))),qo=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiList"}),{children:r,className:o,component:a="ul",dense:d=!1,disablePadding:h=!1,subheader:p}=n,f=(0,l.A)(n,Uo),g=i.useMemo((()=>({dense:d})),[d]),m=(0,s.A)({},n,{component:a,dense:d,disablePadding:h}),y=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e,i={root:["root",!n&&"padding",r&&"dense",o&&"subheader"]};return(0,u.A)(i,Go,t)})(m);return(0,F.jsx)($o.Provider,{value:g,children:(0,F.jsxs)(Wo,(0,s.A)({as:a,className:(0,c.A)(y.root,o),ref:t,ownerState:m},f,{children:[p,r]}))})}));function Ho(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}const Yo=Ho;var Ko=n(64443);const Xo=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Zo(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Jo(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Qo(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function ei(e,t,n,r,o,i){let a=!1,s=o(e,t,!!t&&n);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&Qo(s,i)&&!t)return s.focus(),!0;s=o(e,s,n)}return!1}const ti=i.forwardRef((function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:a,className:c,disabledItemsFocusable:u=!1,disableListWrap:d=!1,onKeyDown:h,variant:p="selectedMenu"}=e,f=(0,l.A)(e,Xo),g=i.useRef(null),m=i.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,Ko.A)((()=>{r&&g.current.focus()}),[r]),i.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!g.current.style.width;if(e.clientHeight{i.isValidElement(e)?(e.props.disabled||("selectedMenu"===p&&e.props.selected||-1===v)&&(v=t),v===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(v+=1,v>=a.length&&(v=-1))):v===t&&(v+=1,v>=a.length&&(v=-1))}));const b=i.Children.map(a,((e,t)=>{if(t===v){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===p&&(t.tabIndex=0),i.cloneElement(e,t)}return e}));return(0,F.jsx)(qo,(0,s.A)({role:"menu",ref:y,className:c,onKeyDown:e=>{const t=g.current,n=e.key,r=(0,Vo.A)(t).activeElement;if("ArrowDown"===n)e.preventDefault(),ei(t,r,d,u,Zo);else if("ArrowUp"===n)e.preventDefault(),ei(t,r,d,u,Jo);else if("Home"===n)e.preventDefault(),ei(t,null,d,u,Zo);else if("End"===n)e.preventDefault(),ei(t,null,d,u,Jo);else if(1===n.length){const o=m.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const s=r&&!o.repeating&&Qo(r,o);o.previousKeyMatched&&(s||ei(t,r,!1,u,Zo,o))?e.preventDefault():o.previousKeyMatched=!1}h&&h(e)},tabIndex:r?0:-1},f,{children:b}))})),ni=ti;var ri=n(89148);function oi(e){return(0,R.Ay)("MuiListItemIcon",e)}const ii=(0,L.A)("MuiListItemIcon",["root","alignItemsFlexStart"]);function ai(e){return(0,R.Ay)("MuiListItemText",e)}const si=(0,L.A)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);function li(e){return(0,R.Ay)("MuiMenuItem",e)}const ci=(0,L.A)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),ui=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],di=(0,h.Ay)(ae.A,{shouldForwardProp:e=>(0,_o.A)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>(0,s.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"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ci.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,qe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ci.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,qe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ci.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,qe.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,qe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${ci.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ci.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${ri.A.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${ri.A.inset}`]:{marginLeft:52},[`& .${si.root}`]:{marginTop:0,marginBottom:0},[`& .${si.inset}`]:{paddingLeft:36},[`& .${ii.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&(0,s.A)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${ii.root} svg`]:{fontSize:"1.25rem"}})))),hi=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:a=!1,divider:d=!1,disableGutters:h=!1,focusVisibleClassName:p,role:f="menuitem",tabIndex:g,className:m}=n,y=(0,l.A)(n,ui),v=i.useContext($o),b=i.useMemo((()=>({dense:a||v.dense||!1,disableGutters:h})),[v.dense,a,h]),w=i.useRef(null);(0,Ko.A)((()=>{r&&w.current&&w.current.focus()}),[r]);const A=(0,s.A)({},n,{dense:b.dense,divider:d,disableGutters:h}),x=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e,l={root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},c=(0,u.A)(l,li,a);return(0,s.A)({},a,c)})(n),S=(0,M.A)(w,t);let C;return n.disabled||(C=void 0!==g?g:-1),(0,F.jsx)($o.Provider,{value:b,children:(0,F.jsx)(di,(0,s.A)({ref:S,role:f,tabIndex:C,component:o,focusVisibleClassName:(0,c.A)(x.focusVisible,p),className:(0,c.A)(x.root,m)},y,{ownerState:A,classes:x}))})})),pi=hi;function fi(e){return(0,R.Ay)("MuiButtonGroup",e)}const gi=(0,L.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"]),mi=["children","className","color","component","disabled","disableElevation","disableFocusRipple","disableRipple","fullWidth","orientation","size","variant"],yi=(0,h.Ay)("div",{name:"MuiButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${gi.grouped}`]:t.grouped},{[`& .${gi.grouped}`]:t[`grouped${(0,Ce.A)(n.orientation)}`]},{[`& .${gi.grouped}`]:t[`grouped${(0,Ce.A)(n.variant)}`]},{[`& .${gi.grouped}`]:t[`grouped${(0,Ce.A)(n.variant)}${(0,Ce.A)(n.orientation)}`]},{[`& .${gi.grouped}`]:t[`grouped${(0,Ce.A)(n.variant)}${(0,Ce.A)(n.color)}`]},{[`& .${gi.firstButton}`]:t.firstButton},{[`& .${gi.lastButton}`]:t.lastButton},{[`& .${gi.middleButton}`]:t.middleButton},t.root,t[n.variant],!0===n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,"vertical"===n.orientation&&t.vertical]}})((({theme:e,ownerState:t})=>(0,s.A)({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[2]},t.disableElevation&&{boxShadow:"none"},t.fullWidth&&{width:"100%"},"vertical"===t.orientation&&{flexDirection:"column"},{[`& .${gi.grouped}`]:(0,s.A)({minWidth:40,"&:hover":(0,s.A)({},"contained"===t.variant&&{boxShadow:"none"})},"contained"===t.variant&&{boxShadow:"none"}),[`& .${gi.firstButton},& .${gi.middleButton}`]:(0,s.A)({},"horizontal"===t.orientation&&{borderTopRightRadius:0,borderBottomRightRadius:0},"vertical"===t.orientation&&{borderBottomRightRadius:0,borderBottomLeftRadius:0},"text"===t.variant&&"horizontal"===t.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)"),[`&.${gi.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},"text"===t.variant&&"vertical"===t.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)"),[`&.${gi.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},"text"===t.variant&&"inherit"!==t.color&&{borderColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:(0,qe.X4)(e.palette[t.color].main,.5)},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"transparent"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"transparent"},"contained"===t.variant&&"horizontal"===t.orientation&&{borderRight:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${gi.disabled}`]:{borderRight:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===t.variant&&"vertical"===t.orientation&&{borderBottom:`1px solid ${(e.vars||e).palette.grey[400]}`,[`&.${gi.disabled}`]:{borderBottom:`1px solid ${(e.vars||e).palette.action.disabled}`}},"contained"===t.variant&&"inherit"!==t.color&&{borderColor:(e.vars||e).palette[t.color].dark},{"&:hover":(0,s.A)({},"outlined"===t.variant&&"horizontal"===t.orientation&&{borderRightColor:"currentColor"},"outlined"===t.variant&&"vertical"===t.orientation&&{borderBottomColor:"currentColor"})}),[`& .${gi.lastButton},& .${gi.middleButton}`]:(0,s.A)({},"horizontal"===t.orientation&&{borderTopLeftRadius:0,borderBottomLeftRadius:0},"vertical"===t.orientation&&{borderTopRightRadius:0,borderTopLeftRadius:0},"outlined"===t.variant&&"horizontal"===t.orientation&&{marginLeft:-1},"outlined"===t.variant&&"vertical"===t.orientation&&{marginTop:-1})}))),vi=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiButtonGroup"}),{children:r,className:o,color:a="primary",component:d="div",disabled:h=!1,disableElevation:p=!1,disableFocusRipple:f=!1,disableRipple:g=!1,fullWidth:m=!1,orientation:y="horizontal",size:v="medium",variant:b="outlined"}=n,w=(0,l.A)(n,mi),A=(0,s.A)({},n,{color:a,component:d,disabled:h,disableElevation:p,disableFocusRipple:f,disableRipple:g,fullWidth:m,orientation:y,size:v,variant:b}),x=(e=>{const{classes:t,color:n,disabled:r,disableElevation:o,fullWidth:i,orientation:a,variant:s}=e,l={root:["root",s,"vertical"===a&&"vertical",i&&"fullWidth",o&&"disableElevation"],grouped:["grouped",`grouped${(0,Ce.A)(a)}`,`grouped${(0,Ce.A)(s)}`,`grouped${(0,Ce.A)(s)}${(0,Ce.A)(a)}`,`grouped${(0,Ce.A)(s)}${(0,Ce.A)(n)}`,r&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]};return(0,u.A)(l,fi,t)})(A),S=i.useMemo((()=>({className:x.grouped,color:a,disabled:h,disableElevation:p,disableFocusRipple:f,disableRipple:g,fullWidth:m,size:v,variant:b})),[a,h,p,f,g,m,v,b,x.grouped]),C=function(e){return i.Children.toArray(e).filter((e=>i.isValidElement(e)))}(r),E=C.length,k=e=>{const t=0===e,n=e===E-1;return t&&n?"":t?x.firstButton:n?x.lastButton:x.middleButton};return(0,F.jsx)(yi,(0,s.A)({as:d,role:"group",className:(0,c.A)(x.root,o),ref:t,ownerState:A},w,{children:(0,F.jsx)(Io.Provider,{value:S,children:C.map(((e,t)=>(0,F.jsx)(Mo.Provider,{value:k(t),children:e},t)))})}))})),bi=vi;var wi=["children"];function Ai(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xi(e){for(var t=1;tt.root})((()=>({overflow:"hidden"}))),Ri=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiCard"}),{className:r,raised:o=!1}=n,i=(0,l.A)(n,Mi),a=(0,s.A)({},n,{raised:o}),d=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},Ii,t)})(a);return(0,F.jsx)(Li,(0,s.A)({className:(0,c.A)(d.root,r),elevation:o?8:void 0,ref:t,ownerState:a},i))}));var ji=n(76194);function Fi(e){return(0,R.Ay)("MuiCardHeader",e)}const Di=(0,L.A)("MuiCardHeader",["root","avatar","action","content","title","subheader"]),Ni=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],zi=(0,h.Ay)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>(0,s.A)({[`& .${Di.title}`]:t.title,[`& .${Di.subheader}`]:t.subheader},t.root)})({display:"flex",alignItems:"center",padding:16}),Bi=(0,h.Ay)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),Vi=(0,h.Ay)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,t)=>t.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),$i=(0,h.Ay)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,t)=>t.content})({flex:"1 1 auto"}),Gi=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiCardHeader"}),{action:r,avatar:o,className:i,component:a="div",disableTypography:d=!1,subheader:h,subheaderTypographyProps:p,title:f,titleTypographyProps:g}=n,m=(0,l.A)(n,Ni),y=(0,s.A)({},n,{component:a,disableTypography:d}),v=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},Fi,t)})(y);let b=f;null==b||b.type===ji.A||d||(b=(0,F.jsx)(ji.A,(0,s.A)({variant:o?"body2":"h5",className:v.title,component:"span",display:"block"},g,{children:b})));let w=h;return null==w||w.type===ji.A||d||(w=(0,F.jsx)(ji.A,(0,s.A)({variant:o?"body2":"body1",className:v.subheader,color:"text.secondary",component:"span",display:"block"},p,{children:w}))),(0,F.jsxs)(zi,(0,s.A)({className:(0,c.A)(v.root,i),as:a,ref:t,ownerState:y},m,{children:[o&&(0,F.jsx)(Bi,{className:v.avatar,ownerState:y,children:o}),(0,F.jsxs)($i,{className:v.content,ownerState:y,children:[b,w]}),r&&(0,F.jsx)(Vi,{className:v.action,ownerState:y,children:r})]}))}));function Ui(e){return(0,R.Ay)("MuiCardContent",e)}(0,L.A)("MuiCardContent",["root"]);const Wi=["className","component"],qi=(0,h.Ay)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})((()=>({padding:16,"&:last-child":{paddingBottom:24}}))),Hi=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiCardContent"}),{className:r,component:o="div"}=n,i=(0,l.A)(n,Wi),a=(0,s.A)({},n,{component:o}),d=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},Ui,t)})(a);return(0,F.jsx)(qi,(0,s.A)({as:o,className:(0,c.A)(d.root,r),ownerState:a,ref:t},i))}));var Yi=["title","contentCard"];function Ki(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xi(e){for(var t=1;t{const{ownerState:n}=e,{isMediaComponent:r,isImageComponent:o}=n;return[t.root,r&&t.media,o&&t.img]}})((({ownerState:e})=>(0,s.A)({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"}))),ta=["video","audio","picture","iframe","img"],na=["picture","img"],ra=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiCardMedia"}),{children:r,className:o,component:i="div",image:a,src:d,style:h}=n,p=(0,l.A)(n,Qi),f=-1!==ta.indexOf(i),g=!f&&a?(0,s.A)({backgroundImage:`url("${a}")`},h):h,m=(0,s.A)({},n,{component:i,isMediaComponent:f,isImageComponent:-1!==na.indexOf(i)}),y=(e=>{const{classes:t,isMediaComponent:n,isImageComponent:r}=e,o={root:["root",n&&"media",r&&"img"]};return(0,u.A)(o,Ji,t)})(m);return(0,F.jsx)(ea,(0,s.A)({className:(0,c.A)(y.root,o),as:i,role:!f&&a?"img":void 0,ref:t,style:g,ownerState:m,src:f?a||d:void 0},p,{children:r}))})),oa=ra;function ia(e){var t=e.sx,n=e.src,r=e.alt,o=e.click,i=e.keyDown;return(0,F.jsx)(oa,{component:"img",sx:t,alt:r,src:n,tabIndex:0,onClick:o,onKeyDown:i})}var aa=n(11219);const sa=(0,$n.A)((0,F.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"),la=(0,$n.A)((0,F.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"),ca=(0,$n.A)((0,F.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");function ua(e){return(0,R.Ay)("MuiCheckbox",e)}const da=(0,L.A)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),ha=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],pa=(0,h.Ay)(aa.A,{shouldForwardProp:e=>(0,_o.A)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${(0,Ce.A)(n.size)}`],"default"!==n.color&&t[`color${(0,Ce.A)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,s.A)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,qe.X4)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${da.checked}, &.${da.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${da.disabled}`]:{color:(e.vars||e).palette.action.disabled}}))),fa=(0,F.jsx)(la,{}),ga=(0,F.jsx)(sa,{}),ma=(0,F.jsx)(ca,{}),ya=i.forwardRef((function(e,t){var n,r;const o=(0,T.A)({props:e,name:"MuiCheckbox"}),{checkedIcon:a=fa,color:d="primary",icon:h=ga,indeterminate:p=!1,indeterminateIcon:f=ma,inputProps:g,size:m="medium",className:y}=o,v=(0,l.A)(o,ha),b=p?f:h,w=p?f:a,A=(0,s.A)({},o,{color:d,indeterminate:p,size:m}),x=(e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,i={root:["root",n&&"indeterminate",`color${(0,Ce.A)(r)}`,`size${(0,Ce.A)(o)}`]},a=(0,u.A)(i,ua,t);return(0,s.A)({},t,a)})(A);return(0,F.jsx)(pa,(0,s.A)({type:"checkbox",inputProps:(0,s.A)({"data-indeterminate":p},g),icon:i.cloneElement(b,{fontSize:null!=(n=b.props.fontSize)?n:m}),checkedIcon:i.cloneElement(w,{fontSize:null!=(r=w.props.fontSize)?r:m}),ownerState:A,ref:t,className:(0,c.A)(x.root,y)},v,{classes:x}))}));function va(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ba=(0,i.forwardRef)((function(e,t){return(0,F.jsx)(ya,function(e){for(var t=1;te;const _a=44,Oa=(0,wa.i7)(Sa||(Sa=Ta` 0% { transform: rotate(0deg); } @@ -93,7 +85,7 @@ function P(e,t){return O(e,t)}["a","abbr","address","area","article","aside","au 100% { transform: rotate(360deg); } -`,vr=fr.i7` +`)),Pa=(0,wa.i7)(Ca||(Ca=Ta` 0% { stroke-dasharray: 1px, 200px; stroke-dashoffset: 0; @@ -108,11 +100,11 @@ function P(e,t){return O(e,t)}["a","abbr","address","area","article","aside","au stroke-dasharray: 100px, 200px; stroke-dashoffset: -125px; } -`,br="string"!=typeof yr?fr.AH` - animation: ${yr} 1.4s linear infinite; - `:null,wr="string"!=typeof vr?fr.AH` - animation: ${vr} 1.4s ease-in-out infinite; - `:null,xr=(0,u.Ay)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${(0,U.A)(n.color)}`]]}})((0,d.A)((({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:br||{animation:`${yr} 1.4s linear infinite`}},...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})))]})))),Ar=(0,u.Ay)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),Sr=(0,u.Ay)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${(0,U.A)(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((0,d.A)((({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:wr||{animation:`${vr} 1.4s ease-in-out infinite`}}]})))),Cr=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiCircularProgress"}),{className:r,color:i="primary",disableShrink:o=!1,size:a=40,style:s,thickness:u=3.6,value:d=0,variant:p="indeterminate",...f}=n,g={...n,color:i,disableShrink:o,size:a,thickness:u,value:d,variant:p},m=(e=>{const{classes:t,variant:n,color:r,disableShrink:i}=e,o={root:["root",n,`color${(0,U.A)(r)}`],svg:["svg"],circle:["circle",`circle${(0,U.A)(n)}`,i&&"circleDisableShrink"]};return(0,c.A)(o,gr,t)})(g),y={},v={},b={};if("determinate"===p){const e=2*Math.PI*((mr-u)/2);y.strokeDasharray=e.toFixed(3),b["aria-valuenow"]=Math.round(d),y.strokeDashoffset=`${((100-d)/100*e).toFixed(3)}px`,v.transform="rotate(-90deg)"}return(0,k.jsx)(xr,{className:(0,l.A)(m.root,r),style:{width:a,height:a,...v,...s},ownerState:g,ref:t,role:"progressbar",...b,...f,children:(0,k.jsx)(Ar,{className:m.svg,ownerState:g,viewBox:"22 22 44 44",children:(0,k.jsx)(Sr,{className:m.circle,style:y,ownerState:g,cx:mr,cy:mr,r:(mr-u)/2,fill:"none",strokeWidth:u})})})})),Er=Cr;function kr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tr(e){return(0,k.jsx)(Er,function(e){for(var t=1;t{const i=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==i&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===i?t.push(e):n.push({documentOrder:r,tabIndex:i,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function Br(){return!0}const zr=function(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:a=Nr,isEnabled:s=Br,open:l}=e,c=o.useRef(!1),u=o.useRef(null),d=o.useRef(null),h=o.useRef(null),p=o.useRef(null),f=o.useRef(!1),g=o.useRef(null),m=(0,y.A)((0,jr.A)(t),g),v=o.useRef(null);o.useEffect((()=>{l&&g.current&&(f.current=!n)}),[n,l]),o.useEffect((()=>{if(!l||!g.current)return;const e=(0,Fr.A)(g.current);return g.current.contains(e.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),f.current&&g.current.focus()),()=>{i||(h.current&&h.current.focus&&(c.current=!0,h.current.focus()),h.current=null)}}),[l]),o.useEffect((()=>{if(!l||!g.current)return;const e=(0,Fr.A)(g.current),t=t=>{v.current=t,!r&&s()&&"Tab"===t.key&&e.activeElement===g.current&&t.shiftKey&&(c.current=!0,d.current&&d.current.focus())},n=()=>{const t=g.current;if(null===t)return;if(!e.hasFocus()||!s()||c.current)return void(c.current=!1);if(t.contains(e.activeElement))return;if(r&&e.activeElement!==u.current&&e.activeElement!==d.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let n=[];if(e.activeElement!==u.current&&e.activeElement!==d.current||(n=a(g.current)),n.length>0){const e=Boolean(v.current?.shiftKey&&"Tab"===v.current?.key),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const i=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(i),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,r,i,s,l,a]);const b=e=>{null===h.current&&(h.current=e.relatedTarget),f.current=!0};return(0,k.jsxs)(o.Fragment,{children:[(0,k.jsx)("div",{tabIndex:l?0:-1,onFocus:b,ref:u,"data-testid":"sentinelStart"}),o.cloneElement(t,{ref:m,onFocus:e=>{null===h.current&&(h.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,k.jsx)("div",{tabIndex:l?0:-1,onFocus:b,ref:d,"data-testid":"sentinelEnd"})]})};var Vr=n(39225);function $r(e){return(0,S.Ay)("MuiBackdrop",e)}(0,A.A)("MuiBackdrop",["root","invisible"]);const Gr=(0,u.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({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",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),Ur=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiBackdrop"}),{children:r,className:i,component:o="div",invisible:a=!1,open:s,components:u={},componentsProps:d={},slotProps:p={},slots:f={},TransitionComponent:g,transitionDuration:m,...y}=n,v={...n,component:o,invisible:a},b=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,c.A)(r,$r,t)})(v),w={slots:{transition:g,root:u.Root,...f},slotProps:{...d,...p}},[A,S]=x("root",{elementType:Gr,externalForwardedProps:w,className:(0,l.A)(b.root,i),ownerState:v}),[C,E]=x("transition",{elementType:Dt.A,externalForwardedProps:w,ownerState:v});return delete E.ownerState,(0,k.jsx)(C,{in:s,timeout:m,...y,...E,children:(0,k.jsx)(A,{"aria-hidden":!0,...S,classes:b,ref:t,children:r})})}));var Wr=n(9690),qr=n(18244),Hr=n(85790);function Yr(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Kr(e){return parseInt((0,Hr.A)(e).getComputedStyle(e).paddingRight,10)||0}function Xr(e,t,n,r,i){const o=[t,n,...r];[].forEach.call(e.children,(e=>{const t=-1===o.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&Yr(e,i)}))}function Zr(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function Jr(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,Fr.A)(e);return t.body===e?(0,Hr.A)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=qt((0,Fr.A)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Kr(r)+e}px`;const t=(0,Fr.A)(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Kr(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=(0,Fr.A)(r).body;else{const t=r.parentElement,n=(0,Hr.A)(r);e="HTML"===t?.nodeName&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}const Qr=new class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Yr(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Xr(t,e.mount,e.modalRef,r,!0);const i=Zr(this.containers,(e=>e.container===t));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=Zr(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=Jr(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=Zr(this.containers,(t=>-1!==t.modals.indexOf(e))),i=this.containers[r];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(n,1),0===i.modals.length)i.restore&&i.restore(),e.modalRef&&Yr(e.modalRef,t),Xr(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=i.modals[i.modals.length-1];e.modalRef&&Yr(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};const ei=function(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:i=Qr,closeAfterTransition:a=!1,onTransitionEnter:s,onTransitionExited:l,children:c,onClose:u,open:d,rootRef:h}=e,p=o.useRef({}),f=o.useRef(null),g=o.useRef(null),m=(0,y.A)(g,h),[v,b]=o.useState(!d),w=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let x=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(x=!1);const A=()=>(p.current.modalRef=g.current,p.current.mount=f.current,p.current),S=()=>{i.mount(A(),{disableScrollLock:r}),g.current&&(g.current.scrollTop=0)},C=(0,oe.A)((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||(0,Fr.A)(f.current).body;i.add(A(),e),g.current&&S()})),E=o.useCallback((()=>i.isTopModal(A())),[i]),k=(0,oe.A)((e=>{f.current=e,e&&(d&&E()?S():g.current&&Yr(g.current,x))})),T=o.useCallback((()=>{i.remove(A(),x)}),[x,i]);o.useEffect((()=>()=>{T()}),[T]),o.useEffect((()=>{d?C():w&&a||T()}),[d,T,w,a,C]);const _=e=>t=>{e.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&E()&&(n||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},O=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const n=(0,qr.A)(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r={...n,...t};return{role:"presentation",...r,onKeyDown:_(r),ref:m}},getBackdropProps:(e={})=>{const t=e;return{"aria-hidden":!0,...t,onClick:O(t),open:d}},getTransitionProps:()=>({onEnter:(0,Wr.A)((()=>{b(!1),s&&s()}),c?.props.onEnter),onExited:(0,Wr.A)((()=>{b(!0),l&&l(),a&&T()}),c?.props.onExited)}),rootRef:m,portalRef:k,isTopModal:E,exited:v,hasTransition:w}};function ti(e){return(0,S.Ay)("MuiModal",e)}(0,A.A)("MuiModal",["root","hidden","backdrop"]);const ni=(0,u.Ay)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((0,d.A)((({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]})))),ri=(0,u.Ay)(Ur,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),ii=o.forwardRef((function(e,t){const n=(0,h.b)({name:"MuiModal",props:e}),{BackdropComponent:r=ri,BackdropProps:i,classes:a,className:s,closeAfterTransition:u=!1,children:d,container:p,component:f,components:g={},componentsProps:m={},disableAutoFocus:y=!1,disableEnforceFocus:v=!1,disableEscapeKeyDown:b=!1,disablePortal:w=!1,disableRestoreFocus:A=!1,disableScrollLock:S=!1,hideBackdrop:C=!1,keepMounted:E=!1,onBackdropClick:T,onClose:_,onTransitionEnter:O,onTransitionExited:P,open:I,slotProps:M={},slots:L={},theme:R,...j}=n,F={...n,closeAfterTransition:u,disableAutoFocus:y,disableEnforceFocus:v,disableEscapeKeyDown:b,disablePortal:w,disableRestoreFocus:A,disableScrollLock:S,hideBackdrop:C,keepMounted:E},{getRootProps:D,getBackdropProps:N,getTransitionProps:B,portalRef:z,isTopModal:V,exited:$,hasTransition:G}=ei({...F,rootRef:t}),U={...F,exited:$},W=(e=>{const{open:t,exited:n,classes:r}=e,i={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,c.A)(i,ti,r)})(U),q={};if(void 0===d.props.tabIndex&&(q.tabIndex="-1"),G){const{onEnter:e,onExited:t}=B();q.onEnter=e,q.onExited=t}const H={slots:{root:g.Root,backdrop:g.Backdrop,...L},slotProps:{...m,...M}},[Y,K]=x("root",{elementType:ni,externalForwardedProps:H,getSlotProps:D,additionalProps:{ref:t,as:f},ownerState:U,className:(0,l.A)(s,W?.root,!U.open&&U.exited&&W?.hidden)}),[X,Z]=x("backdrop",{elementType:r,externalForwardedProps:H,additionalProps:i,getSlotProps:e=>N({...e,onClick:t=>{T&&T(t),e?.onClick&&e.onClick(t)}}),className:(0,l.A)(i?.className,W?.backdrop),ownerState:U}),J=(0,we.A)(i?.ref,Z.ref);return E||I||G&&!$?(0,k.jsx)(Vr.A,{ref:z,container:p,disablePortal:w,children:(0,k.jsxs)(Y,{...K,...j,children:[!C&&r?(0,k.jsx)(X,{...Z,ref:J}):null,(0,k.jsx)(zr,{disableEnforceFocus:v,disableAutoFocus:y,disableRestoreFocus:A,isEnabled:V,open:I,children:o.cloneElement(d,q)})]})}):null}));var oi=n(89272),ai=n(94035),si=n(96406),li=n(58233);function ci(e,t,n){var r;const i=function(e,t,n){const r=t.getBoundingClientRect(),i=n&&n.getBoundingClientRect(),o=(0,li.A)(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const e=o.getComputedStyle(t);a=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(a&&"none"!==a&&"string"==typeof a){const e=a.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?i?`translateX(${i.right+s-r.left}px)`:`translateX(${o.innerWidth+s-r.left}px)`:"right"===e?i?`translateX(-${r.right-i.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:"up"===e?i?`translateY(${i.bottom+l-r.top}px)`:`translateY(${o.innerHeight+l-r.top}px)`:i?`translateY(-${r.top-i.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}(e,t,"function"==typeof(r=n)?r():r);i&&(t.style.webkitTransform=i,t.style.transform=i)}const ui=o.forwardRef((function(e,t){const n=(0,St.A)(),r={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},i={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,container:c,direction:u="down",easing:d=r,in:h,onEnter:p,onEntered:f,onEntering:g,onExit:m,onExited:y,onExiting:v,style:b,timeout:w=i,TransitionComponent:x=oi.Ay,...A}=e,S=o.useRef(null),C=(0,we.A)((0,jr.A)(l),S,t),E=e=>t=>{e&&(void 0===t?e(S.current):e(S.current,t))},T=E(((e,t)=>{ci(u,e,c),(0,si.q)(e),p&&p(e,t)})),_=E(((e,t)=>{const r=(0,si.c)({timeout:w,style:b,easing:d},{mode:"enter"});e.style.webkitTransition=n.transitions.create("-webkit-transform",{...r}),e.style.transition=n.transitions.create("transform",{...r}),e.style.webkitTransform="none",e.style.transform="none",g&&g(e,t)})),O=E(f),P=E(v),I=E((e=>{const t=(0,si.c)({timeout:w,style:b,easing:d},{mode:"exit"});e.style.webkitTransition=n.transitions.create("-webkit-transform",t),e.style.transition=n.transitions.create("transform",t),ci(u,e,c),m&&m(e)})),M=E((e=>{e.style.webkitTransition="",e.style.transition="",y&&y(e)})),L=o.useCallback((()=>{S.current&&ci(u,S.current,c)}),[u,c]);return o.useEffect((()=>{if(h||"down"===u||"right"===u)return;const e=(0,ai.A)((()=>{S.current&&ci(u,S.current,c)})),t=(0,li.A)(S.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[u,h,c]),o.useEffect((()=>{h||L()}),[h,L]),(0,k.jsx)(x,{nodeRef:S,onEnter:T,onEntered:O,onEntering:_,onExit:I,onExited:M,onExiting:P,addEndListener:e=>{a&&a(S.current,e)},appear:s,in:h,timeout:w,...A,children:(e,t)=>o.cloneElement(l,{ref:C,style:{visibility:"exited"!==e||h?void 0:"hidden",...b,...l.props.style},...t})})})),di=ui;function hi(e){return(0,S.Ay)("MuiDrawer",e)}(0,A.A)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const pi=(e,t)=>{const{ownerState:n}=e;return[t.root,("permanent"===n.variant||"persistent"===n.variant)&&t.docked,t.modal]},fi=(0,u.Ay)(ii,{name:"MuiDrawer",slot:"Root",overridesResolver:pi})((0,d.A)((({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})))),gi=(0,u.Ay)("div",{shouldForwardProp:kt.A,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:pi})({flex:"0 0 auto"}),mi=(0,u.Ay)(f.A,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${(0,U.A)(n.anchor)}`],"temporary"!==n.variant&&t[`paperAnchorDocked${(0,U.A)(n.anchor)}`]]}})((0,d.A)((({theme:e})=>({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,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:({ownerState:e})=>"left"===e.anchor&&"temporary"!==e.variant,style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"top"===e.anchor&&"temporary"!==e.variant,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"right"===e.anchor&&"temporary"!==e.variant,style:{borderLeft:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>"bottom"===e.anchor&&"temporary"!==e.variant,style:{borderTop:`1px solid ${(e.vars||e).palette.divider}`}}]})))),yi={left:"right",right:"left",top:"down",bottom:"up"};const vi=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiDrawer"}),r=(0,St.A)(),i=(0,Rr.I)(),a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{anchor:s="left",BackdropProps:u,children:d,className:p,elevation:f=16,hideBackdrop:g=!1,ModalProps:{BackdropProps:m,...y}={},onClose:v,open:b=!1,PaperProps:w={},SlideProps:x,TransitionComponent:A=di,transitionDuration:S=a,variant:C="temporary",...E}=n,T=o.useRef(!1);o.useEffect((()=>{T.current=!0}),[]);const _=function({direction:e},t){return"rtl"===e&&function(e){return["left","right"].includes(e)}(t)?yi[t]:t}({direction:i?"rtl":"ltr"},s),O=s,P={...n,anchor:O,elevation:f,open:b,variant:C,...E},I=(e=>{const{classes:t,anchor:n,variant:r}=e,i={root:["root"],docked:[("permanent"===r||"persistent"===r)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,U.A)(n)}`,"temporary"!==r&&`paperAnchorDocked${(0,U.A)(n)}`]};return(0,c.A)(i,hi,t)})(P),M=(0,k.jsx)(mi,{elevation:"temporary"===C?f:0,square:!0,...w,className:(0,l.A)(I.paper,w.className),ownerState:P,children:d});if("permanent"===C)return(0,k.jsx)(gi,{className:(0,l.A)(I.root,I.docked,p),ownerState:P,ref:t,...E,children:M});const L=(0,k.jsx)(A,{in:b,direction:yi[_],timeout:S,appear:T.current,...x,children:M});return"persistent"===C?(0,k.jsx)(gi,{className:(0,l.A)(I.root,I.docked,p),ownerState:P,ref:t,...E,children:L}):(0,k.jsx)(fi,{BackdropProps:{...u,...m,transitionDuration:S},className:(0,l.A)(I.root,I.modal,p),open:b,ownerState:P,onClose:v,hideBackdrop:g,ref:t,...E,...y,children:L})})),bi=vi;var wi=function(e){return{drawer:{width:200,flexShrink:0,whiteSpace:"nowrap"},drawerOpen:{width:200,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),"& $toolbar":{justifyContent:"flex-end"}},drawerClose:{transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:"61px","& $toolbar":{justifyContent:"center"}},toolbar:{display:"flex",alignItems:"center",justifyContent:"center",padding:e.spacing(0,1)}}},xi=n(6335),Ai=["variant","status","className","style","children"];function Si(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ci(e){for(var t=1;t{const r=e.keys[0];if(Array.isArray(t))t.forEach(((t,r)=>{n(((t,n)=>{r<=e.keys.length-1&&(0===r?Object.assign(t,n):t[e.up(e.keys[r])]=n)}),t)}));else if(t&&"object"==typeof t){const a=Object.keys(t).length>e.keys.length?e.keys:(i=e.keys,o=Object.keys(t),i.filter((e=>o.includes(e))));a.forEach((i=>{if(e.keys.includes(i)){const o=t[i];void 0!==o&&n(((t,n)=>{r===i?Object.assign(t,n):t[e.up(i)]=n}),o)}}))}else"number"!=typeof t&&"string"!=typeof t||n(((e,t)=>{Object.assign(e,t)}),t);var i,o};function Ni(e){return e?`Level${e}`:""}function Bi(e){return e.unstable_level>0&&e.container}function zi(e){return function(t){return 0===e.unstable_level?`var(--Grid-${t}Spacing)`:`var(--Grid-${t}Spacing${Ni(e.unstable_level-1)})`}}function Vi(e){return 0===e.unstable_level?"var(--Grid-columns)":`var(--Grid-columns${Ni(e.unstable_level-1)})`}const $i=({theme:e,ownerState:t})=>{const n=zi(t),r={};return Di(e.breakpoints,t.size,((e,i)=>{let o={};"grow"===i&&(o={flexBasis:0,flexGrow:1,maxWidth:"100%"}),"auto"===i&&(o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"}),"number"==typeof i&&(o={flexGrow:0,flexBasis:"auto",width:`calc(100% * ${i} / ${Vi(t)} - (${Vi(t)} - ${i}) * (${n("column")} / ${Vi(t)}))`}),e(r,o)})),r},Gi=({theme:e,ownerState:t})=>{const n=zi(t),r={};return Di(e.breakpoints,t.offset,((e,i)=>{let o={};"auto"===i&&(o={marginLeft:"auto"}),"number"==typeof i&&(o={marginLeft:0===i?"0px":`calc(100% * ${i} / ${Vi(t)} + ${n("column")} * ${i} / ${Vi(t)})`}),e(r,o)})),r},Ui=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=Bi(t)?{[`--Grid-columns${Ni(t.unstable_level)}`]:Vi(t)}:{"--Grid-columns":12};return Di(e.breakpoints,t.columns,((e,r)=>{e(n,{[`--Grid-columns${Ni(t.unstable_level)}`]:r})})),n},Wi=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=zi(t),r=Bi(t)?{[`--Grid-rowSpacing${Ni(t.unstable_level)}`]:n("row")}:{};return Di(e.breakpoints,t.rowSpacing,((n,i)=>{n(r,{[`--Grid-rowSpacing${Ni(t.unstable_level)}`]:"string"==typeof i?i:e.spacing?.(i)})})),r},qi=({theme:e,ownerState:t})=>{if(!t.container)return{};const n=zi(t),r=Bi(t)?{[`--Grid-columnSpacing${Ni(t.unstable_level)}`]:n("column")}:{};return Di(e.breakpoints,t.columnSpacing,((n,i)=>{n(r,{[`--Grid-columnSpacing${Ni(t.unstable_level)}`]:"string"==typeof i?i:e.spacing?.(i)})})),r},Hi=({theme:e,ownerState:t})=>{if(!t.container)return{};const n={};return Di(e.breakpoints,t.direction,((e,t)=>{e(n,{flexDirection:t})})),n},Yi=({ownerState:e})=>{const t=function(e){return function(t){return`var(--Grid-${t}Spacing${Ni(e.unstable_level)})`}}(e);return{minWidth:0,boxSizing:"border-box",...e.container&&{display:"flex",flexWrap:"wrap",...e.wrap&&"wrap"!==e.wrap&&{flexWrap:e.wrap},gap:`${t("row")} ${t("column")}`}}},Ki=e=>{const t=[];return Object.entries(e).forEach((([e,n])=>{!1!==n&&void 0!==n&&t.push(`grid-${e}-${String(n)}`)})),t},Xi=(e,t="xs")=>{function n(e){return void 0!==e&&("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e&&e>0)}if(n(e))return[`spacing-${t}-${String(e)}`];if("object"==typeof e&&!Array.isArray(e)){const t=[];return Object.entries(e).forEach((([e,r])=>{n(r)&&t.push(`spacing-${e}-${String(r)}`)})),t}return[]},Zi=e=>void 0===e?[]:"object"==typeof e?Object.entries(e).map((([e,t])=>`direction-${e}-${t}`)):[`direction-xs-${String(e)}`],Ji=(0,Fi.A)(),Qi=Mi("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>t.root});function eo(e){return(0,Li.A)({props:e,name:"MuiGrid",defaultTheme:Ji})}var to=n(72305);const no=function(e={}){const{createStyledComponent:t=Qi,useThemeProps:n=eo,componentName:r="MuiGrid"}=e;function i(e,t,n=()=>!0){const r={};return null===e||(Array.isArray(e)?e.forEach(((e,i)=>{null!==e&&n(e)&&t.keys[i]&&(r[t.keys[i]]=e)})):"object"==typeof e?Object.keys(e).forEach((t=>{const i=e[t];null!=i&&n(i)&&(r[t]=i)})):r[t.keys[0]]=e),r}const a=t(Ui,qi,Wi,$i,Hi,Yi,Gi),s=o.forwardRef((function(e,t){const s=(0,Ri.A)(),u=n(e),d=(0,ji.A)(u),{className:h,children:p,columns:f=12,container:g=!1,component:m="div",direction:y="row",wrap:v="wrap",size:b={},offset:w={},spacing:x=0,rowSpacing:A=x,columnSpacing:C=x,unstable_level:E=0,...T}=d,_=i(b,s.breakpoints,(e=>!1!==e)),O=i(w,s.breakpoints),P=e.columns??(E?void 0:f),I=e.spacing??(E?void 0:x),M=e.rowSpacing??e.spacing??(E?void 0:A),L=e.columnSpacing??e.spacing??(E?void 0:C),R={...d,level:E,columns:P,container:g,direction:y,wrap:v,spacing:I,rowSpacing:M,columnSpacing:L,size:_,offset:O},j=((e,t)=>{const{container:n,direction:i,spacing:o,wrap:a,size:s}=e,l={root:["root",n&&"container","wrap"!==a&&`wrap-xs-${String(a)}`,...Zi(i),...Ki(s),...n?Xi(o,t.breakpoints.keys[0]):[]]};return(0,c.A)(l,(e=>(0,S.Ay)(r,e)),{})})(R,s);return(0,k.jsx)(a,{ref:t,as:m,ownerState:R,className:(0,l.A)(j.root,h),...T,children:o.Children.map(p,(e=>o.isValidElement(e)&&(0,Pi.A)(e,["Grid"])?o.cloneElement(e,{unstable_level:e.props?.unstable_level??E+1}):e))})}));return s.muiName="Grid",s}({createStyledComponent:(0,u.Ay)("div",{name:"MuiGrid2",slot:"Root",overridesResolver:(e,t)=>t.root}),componentName:"MuiGrid2",useThemeProps:e=>(0,to.A)({props:e,name:"MuiGrid2"})}),ro=no;var io=n(9617);const oo=(0,ve.A)([(0,k.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,k.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"AccessTime"),ao=(0,ve.A)((0,k.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add"),so=(0,ve.A)((0,k.jsx)("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"AddCircleOutline"),lo=(0,ve.A)((0,k.jsx)("path",{d:"M4 8h4V4H4zm6 12h4v-4h-4zm-6 0h4v-4H4zm0-6h4v-4H4zm6 0h4v-4h-4zm6-10v4h4V4zm-6 4h4V4h-4zm6 6h4v-4h-4zm0 6h4v-4h-4z"}),"Apps");var co=n(81981);const uo=(0,ve.A)((0,k.jsx)("path",{d:"M17.51 3.87 15.73 2.1 5.84 12l9.9 9.9 1.77-1.77L9.38 12z"}),"ArrowBackIosOutlined");var ho=n(3856),po=n(58541);const fo=(0,ve.A)((0,k.jsx)("path",{d:"M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"}),"ArrowForwardIosOutlined"),go=(0,ve.A)((0,k.jsx)("path",{d:"m14 7-5 5 5 5z"}),"ArrowLeft"),mo=(0,ve.A)((0,k.jsx)("path",{d:"m10 17 5-5-5-5z"}),"ArrowRight");var yo=n(45709),vo=n(65158);const bo=(0,ve.A)((0,k.jsx)("path",{d:"M19 6v10.5l1.95 1.95c.03-.15.05-.3.05-.45V6c0-1.1-.9-2-2-2H6.5l2 2zM3.22 3.32 1.95 4.59 3 5.64V18c0 1.1.9 2 2 2h12.36l2.06 2.06 1.27-1.27zM15 18H5V7.64L15.36 18z"}),"BrowserNotSupported"),wo=(0,ve.A)((0,k.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),xo=(0,ve.A)((0,k.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"),Ao=(0,ve.A)((0,k.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-2m-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckBox"),So=(0,ve.A)((0,k.jsx)("path",{d:"M19 5v14H5V5zm0-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-2"}),"CheckBoxOutlineBlank"),Co=(0,ve.A)((0,k.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-2m0 16H5V5h14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"}),"CheckBoxOutlined"),Eo=(0,ve.A)((0,k.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft"),ko=(0,ve.A)((0,k.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");var To=n(24199),_o=n(69826);const Oo=(0,ve.A)((0,k.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"),Po=(0,ve.A)((0,k.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"}),"DeleteOutline"),Io=(0,ve.A)((0,k.jsx)("path",{d:"M12 3 2 21h20zm1 5.92L18.6 19H13zm-2 0V19H5.4z"}),"Details"),Mo=(0,ve.A)((0,k.jsx)("path",{d:"M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"}),"Download"),Lo=(0,ve.A)((0,k.jsx)("path",{d:"M18.32 4.26C16.84 3.05 15.01 2.25 13 2.05v2.02c1.46.18 2.79.76 3.9 1.62zM19.93 11h2.02c-.2-2.01-1-3.84-2.21-5.32L18.31 7.1c.86 1.11 1.44 2.44 1.62 3.9m-1.62 5.9 1.43 1.43c1.21-1.48 2.01-3.32 2.21-5.32h-2.02c-.18 1.45-.76 2.78-1.62 3.89M13 19.93v2.02c2.01-.2 3.84-1 5.32-2.21l-1.43-1.43c-1.1.86-2.43 1.44-3.89 1.62M13 12V7h-2v5H7l5 5 5-5zm-2 7.93v2.02c-5.05-.5-9-4.76-9-9.95s3.95-9.45 9-9.95v2.02C7.05 4.56 4 7.92 4 12s3.05 7.44 7 7.93"}),"Downloading"),Ro=(0,ve.A)((0,k.jsx)("path",{d:"M20 9H4v2h16zM4 15h16v-2H4z"}),"DragHandle"),jo=(0,ve.A)([(0,k.jsx)("circle",{cx:"12",cy:"4",r:"2"},"0"),(0,k.jsx)("path",{d:"M15.89 8.11C15.5 7.72 14.83 7 13.53 7h-2.54C8.24 6.99 6 4.75 6 2H4c0 3.16 2.11 5.84 5 6.71V22h2v-6h2v6h2V10.05L18.95 14l1.41-1.41z"},"1")],"EmojiPeople"),Fo=(0,ve.A)((0,k.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 15h-2v-2h2zm0-4h-2V7h2z"}),"Error"),Do=(0,ve.A)((0,k.jsx)("path",{d:"M4 20h16v2H4zM4 2h16v2H4zm9 7h3l-4-4-4 4h3v6H8l4 4 4-4h-3z"}),"Expand"),No=(0,ve.A)((0,k.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess"),Bo=(0,ve.A)((0,k.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),zo=(0,ve.A)((0,k.jsx)("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload"),Vo=(0,ve.A)((0,k.jsx)("path",{d:"M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39c.51-.66.04-1.61-.79-1.61H5.04c-.83 0-1.3.95-.79 1.61"}),"FilterAlt"),$o=(0,ve.A)((0,k.jsx)("path",{d:"M19.79 5.61C20.3 4.95 19.83 4 19 4H6.83l7.97 7.97zM2.81 2.81 1.39 4.22 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-2.17l5.78 5.78 1.41-1.41z"}),"FilterAltOff"),Go=(0,ve.A)((0,k.jsx)("path",{d:"M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z"}),"Fullscreen"),Uo=(0,ve.A)((0,k.jsx)("path",{d:"M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"}),"FullscreenExit");var Wo=n(70200);const qo=(0,ve.A)((0,k.jsx)("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"Group"),Ho=(0,ve.A)((0,k.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M8 17.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5M9.5 8c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5S9.5 9.38 9.5 8m6.5 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5"}),"GroupWork"),Yo=(0,ve.A)([(0,k.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.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"},"0"),(0,k.jsx)("circle",{cx:"8",cy:"14",r:"2"},"1"),(0,k.jsx)("circle",{cx:"12",cy:"8",r:"2"},"2"),(0,k.jsx)("circle",{cx:"16",cy:"14",r:"2"},"3")],"GroupWorkOutlined"),Ko=(0,ve.A)((0,k.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"),Xo=(0,ve.A)((0,k.jsx)("path",{d:"m6 14 3 3v5h6v-5l3-3V9H6zm2-3h8v2.17l-3 3V20h-2v-3.83l-3-3zm3-9h2v3h-2zM3.502 5.874 4.916 4.46l2.122 2.12-1.414 1.415zm13.458.708 2.123-2.12 1.413 1.416-2.123 2.12z"}),"HighlightOutlined"),Zo=(0,ve.A)((0,k.jsx)("path",{d:"m6 14 3 3v5h6v-5l3-3V9H6zm5-12h2v3h-2zM3.5 5.88l1.41-1.41 2.12 2.12L5.62 8zm13.46.71 2.12-2.12 1.41 1.41L18.38 8z"}),"Highlight"),Jo=(0,ve.A)((0,k.jsx)("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"}),"Home");var Qo=n(34730);const ea=(0,ve.A)((0,k.jsx)("path",{d:"M13 6.99h3L12 3 8 6.99h3v10.02H8L12 21l4-3.99h-3z"}),"Height"),ta=(0,ve.A)((0,k.jsx)("path",{d:"M9 3 5 6.99h3V14h2V6.99h3zm7 14.01V10h-2v7.01h-3L15 21l4-3.99z"}),"ImportExport"),na=(0,ve.A)((0,k.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 15h-2v-6h2zm0-8h-2V7h2z"}),"Info");var ra=n(1145);const ia=(0,ve.A)((0,k.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown"),oa=(0,ve.A)((0,k.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp"),aa=(0,ve.A)((0,k.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight"),sa=(0,ve.A)((0,k.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6z"}),"KeyboardArrowLeft"),la=(0,ve.A)([(0,k.jsx)("path",{d:"M6 17.59 7.41 19 12 14.42 16.59 19 18 17.59l-6-6z"},"0"),(0,k.jsx)("path",{d:"m6 11 1.41 1.41L12 7.83l4.59 4.58L18 11l-6-6z"},"1")],"KeyboardDoubleArrowUp"),ca=(0,ve.A)((0,k.jsx)("path",{d:"m11.99 18.54-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27z"}),"Layers"),ua=(0,ve.A)((0,k.jsx)("path",{d:"M12 4.53 17.74 9l-1.89 1.47 1.43 1.42L21 9l-9-7-2.59 2.02 1.42 1.42zm9 9.54-1.63-1.27-.67.52 1.43 1.43zM3.41.86 2 2.27l4.22 4.22L3 9l9 7 2.1-1.63 1.42 1.42-3.53 2.75-7.37-5.73L3 14.07l9 7 4.95-3.85L20.73 21l1.41-1.41zM12 13.47 6.26 9l1.39-1.08 5.02 5.02z"}),"LayersClearOutlined");var da=n(61555);const ha=(0,ve.A)((0,k.jsx)("path",{d:"M19 5v14H5V5zm1.1-2H3.9c-.5 0-.9.4-.9.9v16.2c0 .4.4.9.9.9h16.2c.4 0 .9-.5.9-.9V3.9c0-.5-.5-.9-.9-.9M11 7h6v2h-6zm0 4h6v2h-6zm0 4h6v2h-6zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7z"}),"ListAlt"),pa=(0,ve.A)((0,k.jsx)("path",{d:"M19 2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h4l3 3 3-3h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-6 16h-2v-2h2zm2.07-7.75-.9.92C13.45 11.9 13 12.5 13 14h-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"}),"LiveHelp"),fa=(0,ve.A)((0,k.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1z"}),"Lock"),ga=(0,ve.A)((0,k.jsx)("path",{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m0 12H6V10h12z"}),"LockOpen"),ma=(0,ve.A)((0,k.jsx)("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"}),"Loop"),ya=(0,ve.A)((0,k.jsx)("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2m6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1z"}),"Notifications"),va=(0,ve.A)((0,k.jsx)("path",{d:"M7.58 4.08 6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42m12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02 1.45 3.39 3.77 3.54 6.42M18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18q.15-.36.15-.78h-4c.01 1.1.9 2 2.01 2"}),"NotificationsActive");var ba=n(65981);const wa=(0,ve.A)((0,k.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu"),xa=(0,ve.A)((0,k.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"),Aa=(0,ve.A)((0,k.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"),Sa=(0,ve.A)((0,k.jsx)("path",{d:"M3.01 10.72c-.14 2.57 1.66 4.73 4.07 5.18l-.79-.79a.996.996 0 0 1 0-1.41c.39-.39 1.02-.39 1.41 0l2.59 2.59c.39.39.39 1.02 0 1.41l-2.58 2.6c-.39.39-1.02.39-1.41 0a.996.996 0 0 1 0-1.41l.88-.88v-.06c-3.64-.43-6.43-3.65-6.15-7.47C1.29 6.78 4.55 4 8.26 4H10c.55 0 1 .45 1 1s-.45 1-1 1H8.22c-2.7 0-5.07 2.04-5.21 4.72M15 11h5c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-5c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2m5-2h-5V6h5zm0 11h-5c-1.1 0-2-.9-2-2v-3c0-1.1.9-2 2-2h5c1.1 0 2 .9 2 2v3c0 1.1-.9 2-2 2"}),"MoveDownRounded"),Ca=(0,ve.A)((0,k.jsx)("path",{d:"M3.01 13.28c-.14-2.57 1.66-4.73 4.07-5.18l-.79.78c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0l2.59-2.59c.39-.39.39-1.02 0-1.41L7.71 3.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l.88.88v.06C3.54 6.48.75 9.7 1.03 13.52 1.29 17.22 4.55 20 8.26 20H10c.55 0 1-.45 1-1s-.45-1-1-1H8.22c-2.7 0-5.07-2.04-5.21-4.72M13 15v3c0 1.1.9 2 2 2h5c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2h-5c-1.1 0-2 .9-2 2m7 3h-5v-3h5zm0-14h-5c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h5c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2"}),"MoveUpRounded"),Ea=(0,ve.A)((0,k.jsx)("path",{d:"M17.66 8 12 2.35 6.34 8C4.78 9.56 4 11.64 4 13.64s.78 4.11 2.34 5.67 3.61 2.35 5.66 2.35 4.1-.79 5.66-2.35S20 15.64 20 13.64 19.22 9.56 17.66 8M6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14z"}),"Opacity"),ka=(0,ve.A)((0,k.jsx)("path",{d:"M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h4v-2H5V8h14v10h-4v2h4c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m-7 6-4 4h3v6h2v-6h3z"}),"OpenInBrowser"),Ta=(0,ve.A)((0,k.jsx)("path",{d:"M6 19h4V5H6zm8-14v14h4V5z"}),"Pause"),_a=(0,ve.A)((0,k.jsx)("path",{d:"M8 5v14l11-7z"}),"PlayArrow");var Oa=n(16774),Pa=n(33544),Ia=n(46066);const Ma=(0,ve.A)((0,k.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"),La=(0,ve.A)((0,k.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"),Ra=(0,ve.A)((0,k.jsx)("path",{d:"M19 13H5v-2h14z"}),"Remove"),ja=(0,ve.A)((0,k.jsx)("path",{d:"M7 11v2h10v-2zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"RemoveCircleOutline"),Fa=(0,ve.A)((0,k.jsx)("path",{d:"M12 5V2L8 6l4 4V7c3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93 0-4.42-3.58-8-8-8m-6 8c0-1.65.67-3.15 1.76-4.24L6.34 7.34C4.9 8.79 4 10.79 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91"}),"RestartAlt");var Da=n(4998);const Na=(0,ve.A)((0,k.jsx)("path",{d:"M5 13.18v4L12 21l7-3.82v-4L12 17zM12 3 1 9l11 6 9-4.91V17h2V9z"}),"School"),Ba=(0,ve.A)((0,k.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"),za=(0,ve.A)((0,k.jsx)("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"}),"Send");var Va=n(13396),$a=n(1078);const Ga=(0,ve.A)((0,k.jsx)("path",{d:"M15.5 15.38V8.62L18.88 12zM14 19l7-7-7-7zm-4 0V5l-7 7z"}),"SwitchRight"),Ua=(0,ve.A)((0,k.jsx)("path",{d:"M8.5 8.62v6.76L5.12 12zM10 5l-7 7 7 7zm4 0v14l7-7z"}),"SwitchLeft");var Wa=n(57114);const qa=(0,ve.A)((0,k.jsx)("path",{d:"M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 2v3H5V5zm-5 14h-5v-9h5zM5 10h3v9H5zm12 9v-9h3v9z"}),"TableChartOutlined"),Ha=(0,ve.A)((0,k.jsx)("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8"}),"Undo"),Ya=(0,ve.A)((0,k.jsx)("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5zM8 15.01l1.41 1.41L11 14.84V19h2v-4.16l1.59 1.59L16 15.01 12.01 11z"}),"UploadFile"),Ka=(0,ve.A)((0,k.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility"),Xa=(0,ve.A)((0,k.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"),Za=(0,ve.A)((0,k.jsx)("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5C19.17 14.87 15.79 17 12 17s-7.17-2.13-8.82-5.5C4.83 8.13 8.21 6 12 6m0-2C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4m0 5c1.38 0 2.5 1.12 2.5 2.5S13.38 14 12 14s-2.5-1.12-2.5-2.5S10.62 9 12 9m0-2c-2.48 0-4.5 2.02-4.5 4.5S9.52 16 12 16s4.5-2.02 4.5-4.5S14.48 7 12 7"}),"VisibilityOutlined"),Ja=(0,ve.A)((0,k.jsx)("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5-.59 1.22-1.42 2.27-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6m-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14M2.01 3.87l2.68 2.68C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45zm7.5 7.5 2.61 2.61c-.04.01-.08.02-.12.02-1.38 0-2.5-1.12-2.5-2.5 0-.05.01-.08.01-.13m-3.4-3.4 1.75 1.75c-.23.55-.36 1.15-.36 1.78 0 2.48 2.02 4.5 4.5 4.5.63 0 1.23-.13 1.77-.36l.98.98c-.88.24-1.8.38-2.75.38-3.79 0-7.17-2.13-8.82-5.5.7-1.43 1.72-2.61 2.93-3.53"}),"VisibilityOffOutlined"),Qa=(0,ve.A)((0,k.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning"),es=(0,ve.A)((0,k.jsx)("path",{d:"M12 2c3.86 0 7 3.14 7 7 0 5.25-7 13-7 13S5 14.25 5 9c0-3.86 3.14-7 7-7m-1.53 12L17 7.41 15.6 6l-5.13 5.18L8.4 9.09 7 10.5z"}),"WhereToVote"),ts=(0,ve.A)([(0,k.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,k.jsx)("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2z"},"1")],"ZoomIn"),ns=(0,ve.A)((0,k.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 14M7 9h5v1H7z"}),"ZoomOut");var rs=n(49840);const is=(0,Fi.A)(),os=Mi("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${(0,rs.A)(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),as=e=>(0,Li.A)({props:e,name:"MuiContainer",defaultTheme:is});const ss=function(e={}){const{createStyledComponent:t=os,useThemeProps:n=as,componentName:r="MuiContainer"}=e,i=t((({theme:e,ownerState:t})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}})),(({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce(((t,n)=>{const r=n,i=e.breakpoints.values[r];return 0!==i&&(t[e.breakpoints.up(r)]={maxWidth:`${i}${e.breakpoints.unit}`}),t}),{})),(({theme:e,ownerState:t})=>({..."xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},...t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}}}))),a=o.forwardRef((function(e,t){const o=n(e),{className:a,component:s="div",disableGutters:u=!1,fixed:d=!1,maxWidth:h="lg",classes:p,...f}=o,g={...o,component:s,disableGutters:u,fixed:d,maxWidth:h},m=((e,t)=>{const{classes:n,fixed:r,disableGutters:i,maxWidth:o}=e,a={root:["root",o&&`maxWidth${(0,rs.A)(String(o))}`,r&&"fixed",i&&"disableGutters"]};return(0,c.A)(a,(e=>(0,S.Ay)(t,e)),n)})(g,r);return(0,k.jsx)(i,{as:s,ownerState:g,className:(0,l.A)(m.root,a),ref:t,...f})}));return a}({createStyledComponent:(0,u.Ay)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${(0,U.A)(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,to.A)({props:e,name:"MuiContainer"})}),ls=ss;function cs(e){return(0,S.Ay)("MuiDialog",e)}const us=(0,A.A)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);const ds=o.createContext({}),hs=(0,u.Ay)(Ur,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),ps=(0,u.Ay)(ii,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),fs=(0,u.Ay)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${(0,U.A)(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),gs=(0,u.Ay)(f.A,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${(0,U.A)(n.scroll)}`],t[`paperWidth${(0,U.A)(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})((0,d.A)((({theme:e})=>({margin:32,position:"relative","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${us.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter((e=>"xs"!==e)).map((t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${us.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}}}))),{props:({ownerState:e})=>e.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${us.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]})))),ms=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiDialog"}),r=(0,St.A)(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":s,BackdropComponent:u,BackdropProps:d,children:p,className:g,disableEscapeKeyDown:m=!1,fullScreen:y=!1,fullWidth:v=!1,maxWidth:b="sm",onBackdropClick:w,onClick:x,onClose:A,open:S,PaperComponent:C=f.A,PaperProps:E={},scroll:T="paper",TransitionComponent:_=Dt.A,transitionDuration:O=i,TransitionProps:P,...I}=n,M={...n,disableEscapeKeyDown:m,fullScreen:y,fullWidth:v,maxWidth:b,scroll:T},L=(e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:i,fullScreen:o}=e,a={root:["root"],container:["container",`scroll${(0,U.A)(n)}`],paper:["paper",`paperScroll${(0,U.A)(n)}`,`paperWidth${(0,U.A)(String(r))}`,i&&"paperFullWidth",o&&"paperFullScreen"]};return(0,c.A)(a,cs,t)})(M),R=o.useRef(),j=(0,ne.A)(s),F=o.useMemo((()=>({titleId:j})),[j]);return(0,k.jsx)(ps,{className:(0,l.A)(L.root,g),closeAfterTransition:!0,components:{Backdrop:hs},componentsProps:{backdrop:{transitionDuration:O,as:u,...d}},disableEscapeKeyDown:m,onClose:A,open:S,ref:t,onClick:e=>{x&&x(e),R.current&&(R.current=null,w&&w(e),A&&A(e,"backdropClick"))},ownerState:M,...I,children:(0,k.jsx)(_,{appear:!0,in:S,timeout:O,role:"presentation",...P,children:(0,k.jsx)(fs,{className:(0,l.A)(L.container),onMouseDown:e=>{R.current=e.target===e.currentTarget},ownerState:M,children:(0,k.jsx)(gs,{as:C,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":j,...E,className:(0,l.A)(L.paper,E.className),ownerState:M,children:(0,k.jsx)(ds.Provider,{value:F,children:p})})})})})})),ys=ms;function vs(e){return(0,S.Ay)("MuiDialogActions",e)}(0,A.A)("MuiDialogActions",["root","spacing"]);const bs=(0,u.Ay)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),ws=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiDialogActions"}),{className:r,disableSpacing:i=!1,...o}=n,a={...n,disableSpacing:i},s=(e=>{const{classes:t,disableSpacing:n}=e,r={root:["root",!n&&"spacing"]};return(0,c.A)(r,vs,t)})(a);return(0,k.jsx)(bs,{className:(0,l.A)(s.root,r),ownerState:a,ref:t,...o})}));function xs(e){return(0,S.Ay)("MuiDialogTitle",e)}const As=(0,A.A)("MuiDialogTitle",["root"]),Ss=(0,u.Ay)(In.A,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),Cs=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiDialogTitle"}),{className:r,id:i,...a}=n,s=n,u=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"]},xs,t)})(s),{titleId:d=i}=o.useContext(ds);return(0,k.jsx)(Ss,{component:"h2",className:(0,l.A)(u.root,r),ownerState:s,ref:t,variant:"h6",id:i??d,...a})}));var Es=n(92837),ks=n(37958),Ts=n(63983),_s=n(5928);const Os=(0,Fi.A)(),Ps=Mi("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Is(e){return(0,Li.A)({props:e,name:"MuiStack",defaultTheme:Os})}function Ms(e,t){const n=o.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,i)=>(e.push(r),i{let n={display:"flex",flexDirection:"column",...(0,Ts.NI)({theme:t},(0,Ts.kW)({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e})))};if(e.spacing){const r=(0,_s.LX)(t),i=Object.keys(t.breakpoints.values).reduce(((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t)),{}),o=(0,Ts.kW)({values:e.direction,base:i}),a=(0,Ts.kW)({values:e.spacing,base:i});"object"==typeof o&&Object.keys(o).forEach(((e,t,n)=>{if(!o[e]){const r=t>0?o[n[t-1]]:"column";o[e]=r}}));const s=(t,n)=>{return e.useFlexGap?{gap:(0,_s._W)(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${i=n?o[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[i]}`]:(0,_s._W)(r,t)}};var i};n=(0,ks.A)(n,(0,Ts.NI)({theme:t},a,s))}return n=(0,Ts.iZ)(t.breakpoints,n),n};const Rs=function(e={}){const{createStyledComponent:t=Ps,useThemeProps:n=Is,componentName:r="MuiStack"}=e,i=t(Ls),a=o.forwardRef((function(e,t){const o=n(e),a=(0,ji.A)(o),{component:s="div",direction:u="column",spacing:d=0,divider:h,children:p,className:f,useFlexGap:g=!1,...m}=a,y={direction:u,spacing:d,useFlexGap:g},v=(0,c.A)({root:["root"]},(e=>(0,S.Ay)(r,e)),{});return(0,k.jsx)(i,{as:s,ownerState:y,ref:t,className:(0,l.A)(v.root,f),...m,children:h?Ms(p,h):p})}));return a}({createStyledComponent:(0,u.Ay)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,to.A)({props:e,name:"MuiStack"})}),js=Rs;function Fs(e){return(0,S.Ay)("MuiDialogContent",e)}(0,A.A)("MuiDialogContent",["root","dividers"]);const Ds=(0,u.Ay)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})((0,d.A)((({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:e})=>e.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${As.root} + &`]:{paddingTop:0}}}]})))),Ns=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiDialogContent"}),{className:r,dividers:i=!1,...o}=n,a={...n,dividers:i},s=(e=>{const{classes:t,dividers:n}=e,r={root:["root",n&&"dividers"]};return(0,c.A)(r,Fs,t)})(a);return(0,k.jsx)(Ds,{className:(0,l.A)(s.root,r),ownerState:a,ref:t,...o})}));var Bs=n(74056);function zs(e){return(0,S.Ay)("MuiLoadingButton",e)}const Vs=(0,A.A)("MuiLoadingButton",["root","label","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]),$s=(0,u.Ay)(jt,{shouldForwardProp:e=>(e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e)(e)||"classes"===e,name:"MuiLoadingButton",slot:"Root",overridesResolver:(e,t)=>[t.root,t.startIconLoadingStart&&{[`& .${Vs.startIconLoadingStart}`]:t.startIconLoadingStart},t.endIconLoadingEnd&&{[`& .${Vs.endIconLoadingEnd}`]:t.endIconLoadingEnd}]})((0,d.A)((({theme:e})=>({display:"inline-flex",[`& .${Vs.startIconLoadingStart}, & .${Vs.endIconLoadingEnd}`]:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0},variants:[{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${Vs.loading}`]:{color:"transparent"}}},{props:({ownerState:e})=>"start"===e.loadingPosition&&e.fullWidth,style:{[`& .${Vs.startIconLoadingStart}, & .${Vs.endIconLoadingEnd}`]:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0,marginRight:-8}}},{props:({ownerState:e})=>"end"===e.loadingPosition&&e.fullWidth,style:{[`& .${Vs.startIconLoadingStart}, & .${Vs.endIconLoadingEnd}`]:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0,marginLeft:-8}}}]})))),Gs=(0,u.Ay)("span",{name:"MuiLoadingButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.loadingIndicator,t[`loadingIndicator${(0,U.A)(n.loadingPosition)}`]]}})((0,d.A)((({theme:e})=>({position:"absolute",visibility:"visible",display:"flex",variants:[{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:({loadingPosition:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{left:14}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:({loadingPosition:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{right:14}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:({ownerState:e})=>"start"===e.loadingPosition&&e.fullWidth,style:{position:"relative",left:-10}},{props:({ownerState:e})=>"end"===e.loadingPosition&&e.fullWidth,style:{position:"relative",right:-10}}]})))),Us=(0,u.Ay)("span",{name:"MuiLoadingButton",slot:"Label",overridesResolver:(e,t)=>[t.label]})({display:"inherit",alignItems:"inherit",justifyContent:"inherit"}),Ws=o.forwardRef((function(e,t){const n=o.useContext(Ot),r=(0,Et.A)(n,e),i=(0,h.b)({props:r,name:"MuiLoadingButton"}),{children:a,disabled:s=!1,id:l,loading:c=!1,loadingIndicator:u,loadingPosition:d="center",variant:p="text",...f}=i,g=(0,Bs.A)(l),m=u??(0,k.jsx)(Er,{"aria-labelledby":g,color:"inherit",size:16}),y={...i,disabled:s,loading:c,loadingIndicator:m,loadingPosition:d,variant:p},v=(e=>{const{loading:t,loadingPosition:n,classes:r}=e,i=function(e,t,n){const r={};for(const i in e){const o=e[i];let a="";for(let e=0;e{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${(0,Ce.A)(n.color)}`]]}})((({ownerState:e,theme:t})=>(0,s.A)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main})),(({ownerState:e})=>"indeterminate"===e.variant&&(0,wa.AH)(Ea||(Ea=Ta` + animation: ${0} 1.4s linear infinite; + `),Oa))),Ma=(0,h.Ay)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),La=(0,h.Ay)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${(0,Ce.A)(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})((({ownerState:e,theme:t})=>(0,s.A)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0})),(({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,wa.AH)(ka||(ka=Ta` + animation: ${0} 1.4s ease-in-out infinite; + `),Pa))),Ra=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiCircularProgress"}),{className:r,color:o="primary",disableShrink:i=!1,size:a=40,style:d,thickness:h=3.6,value:p=0,variant:f="indeterminate"}=n,g=(0,l.A)(n,xa),m=(0,s.A)({},n,{color:o,disableShrink:i,size:a,thickness:h,value:p,variant:f}),y=(e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${(0,Ce.A)(r)}`],svg:["svg"],circle:["circle",`circle${(0,Ce.A)(n)}`,o&&"circleDisableShrink"]};return(0,u.A)(i,Aa,t)})(m),v={},b={},w={};if("determinate"===f){const e=2*Math.PI*((_a-h)/2);v.strokeDasharray=e.toFixed(3),w["aria-valuenow"]=Math.round(p),v.strokeDashoffset=`${((100-p)/100*e).toFixed(3)}px`,b.transform="rotate(-90deg)"}return(0,F.jsx)(Ia,(0,s.A)({className:(0,c.A)(y.root,r),style:(0,s.A)({width:a,height:a},b,d),ownerState:m,ref:t,role:"progressbar"},w,g,{children:(0,F.jsx)(Ma,{className:y.svg,ownerState:m,viewBox:"22 22 44 44",children:(0,F.jsx)(La,{className:y.circle,style:v,ownerState:m,cx:_a,cy:_a,r:(_a-h)/2,fill:"none",strokeWidth:h})})}))})),ja=Ra;function Fa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Da(e){return(0,F.jsx)(ja,function(e){for(var t=1;t{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&qa(e,o)}))}function Ka(e,t){let n=-1;return e.some(((e,r)=>!!t(e)&&(n=r,!0))),n}function Xa(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,Ye.A)(e);return t.body===e?(0,Wa.A)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Ho((0,Ye.A)(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Ha(r)+e}px`;const t=(0,Ye.A)(r).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Ha(t)+e}px`}))}let e;if(r.parentNode instanceof DocumentFragment)e=(0,Ye.A)(r).body;else{const t=r.parentElement,n=(0,Wa.A)(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}const Za=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&qa(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Ya(t,e.mount,e.modalRef,r,!0);const o=Ka(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=Ka(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[n];r.restore||(r.restore=Xa(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=Ka(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&qa(e.modalRef,t),Ya(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&qa(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function Ja(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=Za,closeAfterTransition:a=!1,onTransitionEnter:l,onTransitionExited:c,children:u,onClose:d,open:h,rootRef:p}=e,f=i.useRef({}),g=i.useRef(null),m=i.useRef(null),y=(0,q.A)(m,p),[v,b]=i.useState(!h),w=function(e){return!!e&&e.props.hasOwnProperty("in")}(u);let A=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(A=!1);const x=()=>(f.current.modalRef=m.current,f.current.mount=g.current,f.current),S=()=>{o.mount(x(),{disableScrollLock:r}),m.current&&(m.current.scrollTop=0)},C=(0,ze.A)((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||(0,Ye.A)(g.current).body;o.add(x(),e),m.current&&S()})),E=i.useCallback((()=>o.isTopModal(x())),[o]),k=(0,ze.A)((e=>{g.current=e,e&&(h&&E()?S():m.current&&qa(m.current,A))})),T=i.useCallback((()=>{o.remove(x(),A)}),[A,o]);i.useEffect((()=>()=>{T()}),[T]),i.useEffect((()=>{h?C():w&&a||T()}),[h,T,w,a,C]);const _=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&E()&&(n||(t.stopPropagation(),d&&d(t,"escapeKeyDown")))},O=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&d&&d(t,"backdropClick")};return{getRootProps:(t={})=>{const n=(0,Ua.h)(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=(0,s.A)({},n,t);return(0,s.A)({role:"presentation"},r,{onKeyDown:_(r),ref:y})},getBackdropProps:(e={})=>{const t=e;return(0,s.A)({"aria-hidden":!0},t,{onClick:O(t),open:h})},getTransitionProps:()=>({onEnter:(0,Ga.A)((()=>{b(!1),l&&l()}),null==u?void 0:u.props.onEnter),onExited:(0,Ga.A)((()=>{b(!0),c&&c(),a&&T()}),null==u?void 0:u.props.onExited)}),rootRef:y,portalRef:k,isTopModal:E,exited:v,hasTransition:w}}const Qa=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function es(e){const t=[],n=[];return Array.from(e.querySelectorAll(Qa)).forEach(((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function ts(){return!0}function ns(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:a=es,isEnabled:s=ts,open:l}=e,c=i.useRef(!1),u=i.useRef(null),d=i.useRef(null),h=i.useRef(null),p=i.useRef(null),f=i.useRef(!1),g=i.useRef(null),m=(0,q.A)(t.ref,g),y=i.useRef(null);i.useEffect((()=>{l&&g.current&&(f.current=!n)}),[n,l]),i.useEffect((()=>{if(!l||!g.current)return;const e=(0,Ye.A)(g.current);return g.current.contains(e.activeElement)||(g.current.hasAttribute("tabIndex")||g.current.setAttribute("tabIndex","-1"),f.current&&g.current.focus()),()=>{o||(h.current&&h.current.focus&&(c.current=!0,h.current.focus()),h.current=null)}}),[l]),i.useEffect((()=>{if(!l||!g.current)return;const e=(0,Ye.A)(g.current),t=t=>{y.current=t,!r&&s()&&"Tab"===t.key&&e.activeElement===g.current&&t.shiftKey&&(c.current=!0,d.current&&d.current.focus())},n=()=>{const t=g.current;if(null===t)return;if(!e.hasFocus()||!s()||c.current)return void(c.current=!1);if(t.contains(e.activeElement))return;if(r&&e.activeElement!==u.current&&e.activeElement!==d.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let n=[];if(e.activeElement!==u.current&&e.activeElement!==d.current||(n=a(g.current)),n.length>0){var o,i;const e=Boolean((null==(o=y.current)?void 0:o.shiftKey)&&"Tab"===(null==(i=y.current)?void 0:i.key)),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,r,o,s,l,a]);const v=e=>{null===h.current&&(h.current=e.relatedTarget),f.current=!0};return(0,F.jsxs)(i.Fragment,{children:[(0,F.jsx)("div",{tabIndex:l?0:-1,onFocus:v,ref:u,"data-testid":"sentinelStart"}),i.cloneElement(t,{ref:m,onFocus:e=>{null===h.current&&(h.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),(0,F.jsx)("div",{tabIndex:l?0:-1,onFocus:v,ref:d,"data-testid":"sentinelEnd"})]})}function rs(e){return(0,R.Ay)("MuiBackdrop",e)}(0,L.A)("MuiBackdrop",["root","invisible"]);const os=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],is=(0,h.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>(0,s.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"}))),as=i.forwardRef((function(e,t){var n,r,o;const i=(0,T.A)({props:e,name:"MuiBackdrop"}),{children:a,className:d,component:h="div",components:p={},componentsProps:f={},invisible:g=!1,open:m,slotProps:y={},slots:v={},TransitionComponent:b=ko,transitionDuration:w}=i,A=(0,l.A)(i,os),x=(0,s.A)({},i,{component:h,invisible:g}),S=(e=>{const{classes:t,invisible:n}=e,r={root:["root",n&&"invisible"]};return(0,u.A)(r,rs,t)})(x),C=null!=(n=y.root)?n:f.root;return(0,F.jsx)(b,(0,s.A)({in:m,timeout:w},A,{children:(0,F.jsx)(is,(0,s.A)({"aria-hidden":!0},C,{as:null!=(r=null!=(o=v.root)?o:p.Root)?r:h,className:(0,c.A)(S.root,d,null==C?void 0:C.className),ownerState:(0,s.A)({},x,null==C?void 0:C.ownerState),classes:S,ref:t,children:a}))}))}));function ss(e){return(0,R.Ay)("MuiModal",e)}(0,L.A)("MuiModal",["root","hidden","backdrop"]);const ls=["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"],cs=(0,h.Ay)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>(0,s.A)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),us=(0,h.Ay)(as,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),ds=i.forwardRef((function(e,t){var n,r,o,a,d,h;const p=(0,T.A)({name:"MuiModal",props:e}),{BackdropComponent:f=us,BackdropProps:g,className:m,closeAfterTransition:y=!1,children:v,container:b,component:w,components:A={},componentsProps:x={},disableAutoFocus:S=!1,disableEnforceFocus:C=!1,disableEscapeKeyDown:E=!1,disablePortal:k=!1,disableRestoreFocus:_=!1,disableScrollLock:O=!1,hideBackdrop:P=!1,keepMounted:I=!1,onBackdropClick:M,open:L,slotProps:R,slots:j}=p,D=(0,l.A)(p,ls),N=(0,s.A)({},p,{closeAfterTransition:y,disableAutoFocus:S,disableEnforceFocus:C,disableEscapeKeyDown:E,disablePortal:k,disableRestoreFocus:_,disableScrollLock:O,hideBackdrop:P,keepMounted:I}),{getRootProps:z,getBackdropProps:B,getTransitionProps:V,portalRef:$,isTopModal:G,exited:U,hasTransition:W}=Ja((0,s.A)({},N,{rootRef:t})),q=(0,s.A)({},N,{exited:U}),H=(e=>{const{open:t,exited:n,classes:r}=e,o={root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]};return(0,u.A)(o,ss,r)})(q),Y={};if(void 0===v.props.tabIndex&&(Y.tabIndex="-1"),W){const{onEnter:e,onExited:t}=V();Y.onEnter=e,Y.onExited=t}const K=null!=(n=null!=(r=null==j?void 0:j.root)?r:A.Root)?n:cs,X=null!=(o=null!=(a=null==j?void 0:j.backdrop)?a:A.Backdrop)?o:f,Z=null!=(d=null==R?void 0:R.root)?d:x.root,J=null!=(h=null==R?void 0:R.backdrop)?h:x.backdrop,Q=(0,mn.Q)({elementType:K,externalSlotProps:Z,externalForwardedProps:D,getSlotProps:z,additionalProps:{ref:t,as:w},ownerState:q,className:(0,c.A)(m,null==Z?void 0:Z.className,null==H?void 0:H.root,!q.open&&q.exited&&(null==H?void 0:H.hidden))}),ee=(0,mn.Q)({elementType:X,externalSlotProps:J,additionalProps:g,getSlotProps:e=>B((0,s.A)({},e,{onClick:t=>{M&&M(t),null!=e&&e.onClick&&e.onClick(t)}})),className:(0,c.A)(null==J?void 0:J.className,null==g?void 0:g.className,null==H?void 0:H.backdrop),ownerState:q});return I||L||W&&!U?(0,F.jsx)(dn,{ref:$,container:b,disablePortal:k,children:(0,F.jsxs)(K,(0,s.A)({},Q,{children:[!P&&f?(0,F.jsx)(X,(0,s.A)({},ee)):null,(0,F.jsx)(ns,{disableEnforceFocus:C,disableAutoFocus:S,disableRestoreFocus:_,isEnabled:G,open:L,children:i.cloneElement(v,Y)})]}))}):null})),hs=ds;var ps=n(59596),fs=n(30456);const gs=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function ms(e,t,n){var r;const o=function(e,t,n){const r=t.getBoundingClientRect(),o=n&&n.getBoundingClientRect(),i=(0,fs.A)(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const e=i.getComputedStyle(t);a=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(a&&"none"!==a&&"string"==typeof a){const e=a.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?o?`translateX(${o.right+s-r.left}px)`:`translateX(${i.innerWidth+s-r.left}px)`:"right"===e?o?`translateX(-${r.right-o.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:"up"===e?o?`translateY(${o.bottom+l-r.top}px)`:`translateY(${i.innerHeight+l-r.top}px)`:o?`translateY(-${r.top-o.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}(e,t,"function"==typeof(r=n)?r():r);o&&(t.style.webkitTransform=o,t.style.transform=o)}const ys=i.forwardRef((function(e,t){const n=(0,I.A)(),r={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:c=!0,children:u,container:d,direction:h="down",easing:p=r,in:f,onEnter:g,onEntered:m,onEntering:y,onExit:v,onExited:b,onExiting:w,style:A,timeout:x=o,TransitionComponent:S=E}=e,C=(0,l.A)(e,gs),k=i.useRef(null),T=(0,M.A)(u.ref,k,t),_=e=>t=>{e&&(void 0===t?e(k.current):e(k.current,t))},L=_(((e,t)=>{ms(h,e,d),O(e),g&&g(e,t)})),R=_(((e,t)=>{const r=P({timeout:x,style:A,easing:p},{mode:"enter"});e.style.webkitTransition=n.transitions.create("-webkit-transform",(0,s.A)({},r)),e.style.transition=n.transitions.create("transform",(0,s.A)({},r)),e.style.webkitTransform="none",e.style.transform="none",y&&y(e,t)})),j=_(m),D=_(w),N=_((e=>{const t=P({timeout:x,style:A,easing:p},{mode:"exit"});e.style.webkitTransition=n.transitions.create("-webkit-transform",t),e.style.transition=n.transitions.create("transform",t),ms(h,e,d),v&&v(e)})),z=_((e=>{e.style.webkitTransition="",e.style.transition="",b&&b(e)})),B=i.useCallback((()=>{k.current&&ms(h,k.current,d)}),[h,d]);return i.useEffect((()=>{if(f||"down"===h||"right"===h)return;const e=(0,ps.A)((()=>{k.current&&ms(h,k.current,d)})),t=(0,fs.A)(k.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[h,f,d]),i.useEffect((()=>{f||B()}),[f,B]),(0,F.jsx)(S,(0,s.A)({nodeRef:k,onEnter:L,onEntered:j,onEntering:R,onExit:N,onExited:z,onExiting:D,addEndListener:e=>{a&&a(k.current,e)},appear:c,in:f,timeout:x},C,{children:(e,t)=>i.cloneElement(u,(0,s.A)({ref:T,style:(0,s.A)({visibility:"exited"!==e||f?void 0:"hidden"},A,u.props.style)},t))}))})),vs=ys;function bs(e){return(0,R.Ay)("MuiDrawer",e)}(0,L.A)("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const ws=["BackdropProps"],As=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],xs=(e,t)=>{const{ownerState:n}=e;return[t.root,("permanent"===n.variant||"persistent"===n.variant)&&t.docked,t.modal]},Ss=(0,h.Ay)(hs,{name:"MuiDrawer",slot:"Root",overridesResolver:xs})((({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer}))),Cs=(0,h.Ay)("div",{shouldForwardProp:_o.A,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:xs})({flex:"0 0 auto"}),Es=(0,h.Ay)(G.A,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${(0,Ce.A)(n.anchor)}`],"temporary"!==n.variant&&t[`paperAnchorDocked${(0,Ce.A)(n.anchor)}`]]}})((({theme:e,ownerState:t})=>(0,s.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"===t.anchor&&{left:0},"top"===t.anchor&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},"right"===t.anchor&&{right:0},"bottom"===t.anchor&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},"left"===t.anchor&&"temporary"!==t.variant&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},"top"===t.anchor&&"temporary"!==t.variant&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},"right"===t.anchor&&"temporary"!==t.variant&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"bottom"===t.anchor&&"temporary"!==t.variant&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`}))),ks={left:"right",right:"left",top:"down",bottom:"up"};const Ts=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiDrawer"}),r=(0,I.A)(),o=(0,eo.I)(),a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{anchor:d="left",BackdropProps:h,children:p,className:f,elevation:g=16,hideBackdrop:m=!1,ModalProps:{BackdropProps:y}={},onClose:v,open:b=!1,PaperProps:w={},SlideProps:A,TransitionComponent:x=vs,transitionDuration:S=a,variant:C="temporary"}=n,E=(0,l.A)(n.ModalProps,ws),k=(0,l.A)(n,As),_=i.useRef(!1);i.useEffect((()=>{_.current=!0}),[]);const O=function({direction:e},t){return"rtl"===e&&function(e){return-1!==["left","right"].indexOf(e)}(t)?ks[t]:t}({direction:o?"rtl":"ltr"},d),P=d,M=(0,s.A)({},n,{anchor:P,elevation:g,open:b,variant:C},k),L=(e=>{const{classes:t,anchor:n,variant:r}=e,o={root:["root"],docked:[("permanent"===r||"persistent"===r)&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${(0,Ce.A)(n)}`,"temporary"!==r&&`paperAnchorDocked${(0,Ce.A)(n)}`]};return(0,u.A)(o,bs,t)})(M),R=(0,F.jsx)(Es,(0,s.A)({elevation:"temporary"===C?g:0,square:!0},w,{className:(0,c.A)(L.paper,w.className),ownerState:M,children:p}));if("permanent"===C)return(0,F.jsx)(Cs,(0,s.A)({className:(0,c.A)(L.root,L.docked,f),ownerState:M,ref:t},k,{children:R}));const j=(0,F.jsx)(x,(0,s.A)({in:b,direction:ks[O],timeout:S,appear:_.current},A,{children:R}));return"persistent"===C?(0,F.jsx)(Cs,(0,s.A)({className:(0,c.A)(L.root,L.docked,f),ownerState:M,ref:t},k,{children:j})):(0,F.jsx)(Ss,(0,s.A)({BackdropProps:(0,s.A)({},h,y,{transitionDuration:S}),className:(0,c.A)(L.root,L.modal,f),open:b,ownerState:M,onClose:v,hideBackdrop:m,ref:t},k,E,{children:j}))})),_s=Ts;var Os=function(e){return{drawer:{width:200,flexShrink:0,whiteSpace:"nowrap"},drawerOpen:{width:200,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),"& $toolbar":{justifyContent:"flex-end"}},drawerClose:{transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:"61px","& $toolbar":{justifyContent:"center"}},toolbar:{display:"flex",alignItems:"center",justifyContent:"center",padding:e.spacing(0,1)}}},Ps=n(66700);function Is(e){var t=e.variant,n=e.status,r=e.className,s=e.style,l=e.children,c=(0,Jr.useTranslation)().t,u=(0,I.A)(),d=Os(u),h=(0,i.useState)(!1),p=(0,o.A)(h,2),f=p[0],g=p[1];return(0,i.useEffect)((function(){Ps.vF.logTraceUseEffect("DRAWER - status",n),void 0!==n&&g(n)}),[n]),(0,F.jsxs)(_s,{variant:t||"permanent",sx:f?d.drawerOpen:d.drawerClose,classes:{paper:r},style:s||void 0,children:[(0,F.jsx)(a.A,{sx:d.toolbar,children:(0,F.jsx)(Hs,{tooltip:c(f?"general.close":"general.open"),tooltipPlacement:"right",onClick:function(){g(!f)},size:"large",children:f?(0,F.jsx)(hl,{}):(0,F.jsx)(pl,{})})}),void 0!==l&&l]})}function Ms(e){var t=e.in,n=e.children;return(0,F.jsx)(ko,{in:t,children:n&&n})}var Ls=n(12127),Rs=n(18114);const js=i.createContext();function Fs(e){return(0,R.Ay)("MuiGrid",e)}const Ds=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12],Ns=(0,L.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}`)),...Ds.map((e=>`grid-xs-${e}`)),...Ds.map((e=>`grid-sm-${e}`)),...Ds.map((e=>`grid-md-${e}`)),...Ds.map((e=>`grid-lg-${e}`)),...Ds.map((e=>`grid-xl-${e}`))]),zs=Ns,Bs=["className","columns","columnSpacing","component","container","direction","item","rowSpacing","spacing","wrap","zeroMinWidth"];function Vs(e){const t=parseFloat(e);return`${t}${String(e).replace(String(t),"")||"px"}`}function $s({breakpoints:e,values:t}){let n="";Object.keys(t).forEach((e=>{""===n&&0!==t[e]&&(n=e)}));const r=Object.keys(e).sort(((t,n)=>e[t]-e[n]));return r.slice(0,r.indexOf(n))}const Gs=(0,h.Ay)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:o,item:i,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:c}=n;let u=[];r&&(u=function(e,t,n={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach((t=>{const o=e[t];Number(o)>0&&r.push(n[`spacing-${t}-${String(o)}`])})),r}(a,c,t));const d=[];return c.forEach((e=>{const r=n[e];r&&d.push(t[`grid-${e}-${String(r)}`])})),[t.root,r&&t.container,i&&t.item,l&&t.zeroMinWidth,...u,"row"!==o&&t[`direction-xs-${String(o)}`],"wrap"!==s&&t[`wrap-xs-${String(s)}`],...d]}})((({ownerState:e})=>(0,s.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:t}){const n=(0,Ls.kW)({values:t.direction,breakpoints:e.breakpoints.values});return(0,Ls.NI)({theme:e},n,(e=>{const t={flexDirection:e};return 0===e.indexOf("column")&&(t[`& > .${zs.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let o={};if(n&&0!==r){const t=(0,Ls.kW)({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=$s({breakpoints:e.breakpoints.values,values:t})),o=(0,Ls.NI)({theme:e},t,((t,r)=>{var o;const i=e.spacing(t);return"0px"!==i?{marginTop:`-${Vs(i)}`,[`& > .${zs.item}`]:{paddingTop:Vs(i)}}:null!=(o=n)&&o.includes(r)?{}:{marginTop:0,[`& > .${zs.item}`]:{paddingTop:0}}}))}return o}),(function({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let o={};if(n&&0!==r){const t=(0,Ls.kW)({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=$s({breakpoints:e.breakpoints.values,values:t})),o=(0,Ls.NI)({theme:e},t,((t,r)=>{var o;const i=e.spacing(t);return"0px"!==i?{width:`calc(100% + ${Vs(i)})`,marginLeft:`-${Vs(i)}`,[`& > .${zs.item}`]:{paddingLeft:Vs(i)}}:null!=(o=n)&&o.includes(r)?{}:{width:"100%",marginLeft:0,[`& > .${zs.item}`]:{paddingLeft:0}}}))}return o}),(function({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce(((r,o)=>{let i={};if(t[o]&&(n=t[o]),!n)return r;if(!0===n)i={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===n)i={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const a=(0,Ls.kW)({values:t.columns,breakpoints:e.breakpoints.values}),l="object"==typeof a?a[o]:a;if(null==l)return r;const c=Math.round(n/l*1e8)/1e6+"%";let u={};if(t.container&&t.item&&0!==t.columnSpacing){const n=e.spacing(t.columnSpacing);if("0px"!==n){const e=`calc(${c} + ${Vs(n)})`;u={flexBasis:e,maxWidth:e}}}i=(0,s.A)({flexBasis:c,flexGrow:0,maxWidth:c},u)}return 0===e.breakpoints.values[o]?Object.assign(r,i):r[e.breakpoints.up(o)]=i,r}),{})}));const Us=e=>{const{classes:t,container:n,direction:r,item:o,spacing:i,wrap:a,zeroMinWidth:s,breakpoints:l}=e;let c=[];n&&(c=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const n=[];return t.forEach((t=>{const r=e[t];if(Number(r)>0){const e=`spacing-${t}-${String(r)}`;n.push(e)}})),n}(i,l));const d=[];l.forEach((t=>{const n=e[t];n&&d.push(`grid-${t}-${String(n)}`)}));const h={root:["root",n&&"container",o&&"item",s&&"zeroMinWidth",...c,"row"!==r&&`direction-xs-${String(r)}`,"wrap"!==a&&`wrap-xs-${String(a)}`,...d]};return(0,u.A)(h,Fs,t)},Ws=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiGrid"}),{breakpoints:r}=(0,I.A)(),o=(0,Rs.A)(n),{className:a,columns:u,columnSpacing:d,component:h="div",container:p=!1,direction:f="row",item:g=!1,rowSpacing:m,spacing:y=0,wrap:v="wrap",zeroMinWidth:b=!1}=o,w=(0,l.A)(o,Bs),A=m||y,x=d||y,S=i.useContext(js),C=p?u||12:S,E={},k=(0,s.A)({},w);r.keys.forEach((e=>{null!=w[e]&&(E[e]=w[e],delete k[e])}));const _=(0,s.A)({},o,{columns:C,container:p,direction:f,item:g,rowSpacing:A,columnSpacing:x,wrap:v,zeroMinWidth:b,spacing:y},E,{breakpoints:r.keys}),O=Us(_);return(0,F.jsx)(js.Provider,{value:C,children:(0,F.jsx)(Gs,(0,s.A)({ownerState:_,className:(0,c.A)(O.root,a),as:h,ref:t},k))})}));const qs=Ws;function Hs(e){var t=e.sx,n=e.className,r=e.style,o=e.children,i=e.onClick,a=e["aria-label"],s=e.tooltip,l=e.tooltipPlacement,c=e.id,u=e.tabIndex,d=e.iconRef,h=e.size,p=e.disabled,f=e.color,g=(0,Jr.useTranslation)().t;function m(){return(0,F.jsx)(Vn,{id:c,sx:t,"aria-label":g(a)||g(s),style:r,className:n,onClick:i,tabIndex:u,size:h,ref:d,disabled:p,color:f,children:o&&o})}return p?m():(0,F.jsx)(xo,{title:g(s||""),placement:l,TransitionComponent:ko,children:m()})}const Ys=(0,$n.A)([(0,F.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,F.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"AccessTime"),Ks=(0,$n.A)((0,F.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add"),Xs=(0,$n.A)((0,F.jsx)("path",{d:"M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"AddCircleOutline"),Zs=(0,$n.A)((0,F.jsx)("path",{d:"M4 8h4V4H4zm6 12h4v-4h-4zm-6 0h4v-4H4zm0-6h4v-4H4zm6 0h4v-4h-4zm6-10v4h4V4zm-6 4h4V4h-4zm6 6h4v-4h-4zm0 6h4v-4h-4z"}),"Apps");var Js=n(48333);const Qs=(0,$n.A)((0,F.jsx)("path",{d:"M17.51 3.87 15.73 2.1 5.84 12l9.9 9.9 1.77-1.77L9.38 12z"}),"ArrowBackIosOutlined");var el=n(2912),tl=n(62621);const nl=(0,$n.A)((0,F.jsx)("path",{d:"M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"}),"ArrowForwardIosOutlined"),rl=(0,$n.A)((0,F.jsx)("path",{d:"m14 7-5 5 5 5z"}),"ArrowLeft"),ol=(0,$n.A)((0,F.jsx)("path",{d:"m10 17 5-5-5-5z"}),"ArrowRight");var il=n(69309);const al=(0,$n.A)((0,F.jsx)("path",{d:"M19 6v10.5l1.95 1.95c.03-.15.05-.3.05-.45V6c0-1.1-.9-2-2-2H6.5l2 2zM3.22 3.32 1.95 4.59 3 5.64V18c0 1.1.9 2 2 2h12.36l2.06 2.06 1.27-1.27zM15 18H5V7.64L15.36 18z"}),"BrowserNotSupported"),sl=(0,$n.A)((0,F.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),ll=(0,$n.A)((0,F.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"),cl=(0,$n.A)((0,F.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-2m-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckBox"),ul=(0,$n.A)((0,F.jsx)("path",{d:"M19 5v14H5V5zm0-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-2"}),"CheckBoxOutlineBlank"),dl=(0,$n.A)((0,F.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-2m0 16H5V5h14zM17.99 9l-1.41-1.42-6.59 6.59-2.58-2.57-1.42 1.41 4 3.99z"}),"CheckBoxOutlined"),hl=(0,$n.A)((0,F.jsx)("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"ChevronLeft"),pl=(0,$n.A)((0,F.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight");var fl=n(84919);const gl=(0,$n.A)((0,F.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"),ml=(0,$n.A)((0,F.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"}),"DeleteOutline"),yl=(0,$n.A)((0,F.jsx)("path",{d:"M12 3 2 21h20zm1 5.92L18.6 19H13zm-2 0V19H5.4z"}),"Details"),vl=(0,$n.A)((0,F.jsx)("path",{d:"M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"}),"Download"),bl=(0,$n.A)((0,F.jsx)("path",{d:"M18.32 4.26C16.84 3.05 15.01 2.25 13 2.05v2.02c1.46.18 2.79.76 3.9 1.62zM19.93 11h2.02c-.2-2.01-1-3.84-2.21-5.32L18.31 7.1c.86 1.11 1.44 2.44 1.62 3.9m-1.62 5.9 1.43 1.43c1.21-1.48 2.01-3.32 2.21-5.32h-2.02c-.18 1.45-.76 2.78-1.62 3.89M13 19.93v2.02c2.01-.2 3.84-1 5.32-2.21l-1.43-1.43c-1.1.86-2.43 1.44-3.89 1.62M13 12V7h-2v5H7l5 5 5-5zm-2 7.93v2.02c-5.05-.5-9-4.76-9-9.95s3.95-9.45 9-9.95v2.02C7.05 4.56 4 7.92 4 12s3.05 7.44 7 7.93"}),"Downloading"),wl=(0,$n.A)((0,F.jsx)("path",{d:"M20 9H4v2h16zM4 15h16v-2H4z"}),"DragHandle"),Al=(0,$n.A)([(0,F.jsx)("circle",{cx:"12",cy:"4",r:"2"},"0"),(0,F.jsx)("path",{d:"M15.89 8.11C15.5 7.72 14.83 7 13.53 7h-2.54C8.24 6.99 6 4.75 6 2H4c0 3.16 2.11 5.84 5 6.71V22h2v-6h2v6h2V10.05L18.95 14l1.41-1.41z"},"1")],"EmojiPeople"),xl=(0,$n.A)((0,F.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 15h-2v-2h2zm0-4h-2V7h2z"}),"Error"),Sl=(0,$n.A)((0,F.jsx)("path",{d:"M4 20h16v2H4zM4 2h16v2H4zm9 7h3l-4-4-4 4h3v6H8l4 4 4-4h-3z"}),"Expand"),Cl=(0,$n.A)((0,F.jsx)("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess"),El=(0,$n.A)((0,F.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),kl=(0,$n.A)((0,F.jsx)("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload"),Tl=(0,$n.A)((0,F.jsx)("path",{d:"M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39c.51-.66.04-1.61-.79-1.61H5.04c-.83 0-1.3.95-.79 1.61"}),"FilterAlt"),_l=(0,$n.A)((0,F.jsx)("path",{d:"M19.79 5.61C20.3 4.95 19.83 4 19 4H6.83l7.97 7.97zM2.81 2.81 1.39 4.22 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-2.17l5.78 5.78 1.41-1.41z"}),"FilterAltOff"),Ol=(0,$n.A)((0,F.jsx)("path",{d:"M7 14H5v5h5v-2H7zm-2-4h2V7h3V5H5zm12 7h-3v2h5v-5h-2zM14 5v2h3v3h2V5z"}),"Fullscreen"),Pl=(0,$n.A)((0,F.jsx)("path",{d:"M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"}),"FullscreenExit");var Il=n(71944);const Ml=(0,$n.A)((0,F.jsx)("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"Group"),Ll=(0,$n.A)((0,F.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M8 17.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5M9.5 8c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5S9.5 9.38 9.5 8m6.5 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5"}),"GroupWork"),Rl=(0,$n.A)([(0,F.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.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"},"0"),(0,F.jsx)("circle",{cx:"8",cy:"14",r:"2"},"1"),(0,F.jsx)("circle",{cx:"12",cy:"8",r:"2"},"2"),(0,F.jsx)("circle",{cx:"16",cy:"14",r:"2"},"3")],"GroupWorkOutlined"),jl=(0,$n.A)((0,F.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"),Fl=(0,$n.A)((0,F.jsx)("path",{d:"m6 14 3 3v5h6v-5l3-3V9H6zm2-3h8v2.17l-3 3V20h-2v-3.83l-3-3zm3-9h2v3h-2zM3.502 5.874 4.916 4.46l2.122 2.12-1.414 1.415zm13.458.708 2.123-2.12 1.413 1.416-2.123 2.12z"}),"HighlightOutlined"),Dl=(0,$n.A)((0,F.jsx)("path",{d:"m6 14 3 3v5h6v-5l3-3V9H6zm5-12h2v3h-2zM3.5 5.88l1.41-1.41 2.12 2.12L5.62 8zm13.46.71 2.12-2.12 1.41 1.41L18.38 8z"}),"Highlight"),Nl=(0,$n.A)((0,F.jsx)("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"}),"Home");var zl=n(57338);const Bl=(0,$n.A)((0,F.jsx)("path",{d:"M13 6.99h3L12 3 8 6.99h3v10.02H8L12 21l4-3.99h-3z"}),"Height"),Vl=(0,$n.A)((0,F.jsx)("path",{d:"M9 3 5 6.99h3V14h2V6.99h3zm7 14.01V10h-2v7.01h-3L15 21l4-3.99z"}),"ImportExport"),$l=(0,$n.A)((0,F.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 15h-2v-6h2zm0-8h-2V7h2z"}),"Info");var Gl=n(57769);const Ul=(0,$n.A)((0,F.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown"),Wl=(0,$n.A)((0,F.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp"),ql=(0,$n.A)((0,F.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight"),Hl=(0,$n.A)((0,F.jsx)("path",{d:"M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6z"}),"KeyboardArrowLeft"),Yl=(0,$n.A)([(0,F.jsx)("path",{d:"M6 17.59 7.41 19 12 14.42 16.59 19 18 17.59l-6-6z"},"0"),(0,F.jsx)("path",{d:"m6 11 1.41 1.41L12 7.83l4.59 4.58L18 11l-6-6z"},"1")],"KeyboardDoubleArrowUp"),Kl=(0,$n.A)((0,F.jsx)("path",{d:"m11.99 18.54-7.37-5.73L3 14.07l9 7 9-7-1.63-1.27zM12 16l7.36-5.73L21 9l-9-7-9 7 1.63 1.27z"}),"Layers"),Xl=(0,$n.A)((0,F.jsx)("path",{d:"M12 4.53 17.74 9l-1.89 1.47 1.43 1.42L21 9l-9-7-2.59 2.02 1.42 1.42zm9 9.54-1.63-1.27-.67.52 1.43 1.43zM3.41.86 2 2.27l4.22 4.22L3 9l9 7 2.1-1.63 1.42 1.42-3.53 2.75-7.37-5.73L3 14.07l9 7 4.95-3.85L20.73 21l1.41-1.41zM12 13.47 6.26 9l1.39-1.08 5.02 5.02z"}),"LayersClearOutlined");var Zl=n(8835);const Jl=(0,$n.A)((0,F.jsx)("path",{d:"M19 5v14H5V5zm1.1-2H3.9c-.5 0-.9.4-.9.9v16.2c0 .4.4.9.9.9h16.2c.4 0 .9-.5.9-.9V3.9c0-.5-.5-.9-.9-.9M11 7h6v2h-6zm0 4h6v2h-6zm0 4h6v2h-6zM7 7h2v2H7zm0 4h2v2H7zm0 4h2v2H7z"}),"ListAlt"),Ql=(0,$n.A)((0,F.jsx)("path",{d:"M19 2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h4l3 3 3-3h4c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-6 16h-2v-2h2zm2.07-7.75-.9.92C13.45 11.9 13 12.5 13 14h-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"}),"LiveHelp"),ec=(0,$n.A)((0,F.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1z"}),"Lock"),tc=(0,$n.A)((0,F.jsx)("path",{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m0 12H6V10h12z"}),"LockOpen"),nc=(0,$n.A)((0,F.jsx)("path",{d:"M12 4V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1.01-.25 1.97-.7 2.8l1.46 1.46C19.54 15.03 20 13.57 20 12c0-4.42-3.58-8-8-8m0 14c-3.31 0-6-2.69-6-6 0-1.01.25-1.97.7-2.8L5.24 7.74C4.46 8.97 4 10.43 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4z"}),"Loop"),rc=(0,$n.A)((0,F.jsx)("path",{d:"M12 22c1.1 0 2-.9 2-2h-4c0 1.1.89 2 2 2m6-6v-5c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1z"}),"Notifications"),oc=(0,$n.A)((0,F.jsx)("path",{d:"M7.58 4.08 6.15 2.65C3.75 4.48 2.17 7.3 2.03 10.5h2c.15-2.65 1.51-4.97 3.55-6.42m12.39 6.42h2c-.15-3.2-1.73-6.02-4.12-7.85l-1.42 1.43c2.02 1.45 3.39 3.77 3.54 6.42M18 11c0-3.07-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.63 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-6 11c.14 0 .27-.01.4-.04.65-.14 1.18-.58 1.44-1.18.1-.24.15-.5.15-.78h-4c.01 1.1.9 2 2.01 2"}),"NotificationsActive");var ic=n(94445);const ac=(0,$n.A)((0,F.jsx)("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"}),"Menu"),sc=(0,$n.A)((0,F.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"),lc=(0,$n.A)((0,F.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"),cc=(0,$n.A)((0,F.jsx)("path",{d:"M3.01 10.72c-.14 2.57 1.66 4.73 4.07 5.18l-.79-.79a.9959.9959 0 0 1 0-1.41c.39-.39 1.02-.39 1.41 0l2.59 2.59c.39.39.39 1.02 0 1.41l-2.58 2.6c-.39.39-1.02.39-1.41 0a.9959.9959 0 0 1 0-1.41l.88-.88v-.06c-3.64-.43-6.43-3.65-6.15-7.47C1.29 6.78 4.55 4 8.26 4H10c.55 0 1 .45 1 1s-.45 1-1 1H8.22c-2.7 0-5.07 2.04-5.21 4.72M15 11h5c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2h-5c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2m5-2h-5V6h5zm0 11h-5c-1.1 0-2-.9-2-2v-3c0-1.1.9-2 2-2h5c1.1 0 2 .9 2 2v3c0 1.1-.9 2-2 2"}),"MoveDownRounded"),uc=(0,$n.A)((0,F.jsx)("path",{d:"M3.01 13.28c-.14-2.57 1.66-4.73 4.07-5.18l-.79.78c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0l2.59-2.59c.39-.39.39-1.02 0-1.41L7.71 3.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l.88.88v.06C3.54 6.48.75 9.7 1.03 13.52 1.29 17.22 4.55 20 8.26 20H10c.55 0 1-.45 1-1s-.45-1-1-1H8.22c-2.7 0-5.07-2.04-5.21-4.72M13 15v3c0 1.1.9 2 2 2h5c1.1 0 2-.9 2-2v-3c0-1.1-.9-2-2-2h-5c-1.1 0-2 .9-2 2m7 3h-5v-3h5zm0-14h-5c-1.1 0-2 .9-2 2v3c0 1.1.9 2 2 2h5c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2"}),"MoveUpRounded"),dc=(0,$n.A)((0,F.jsx)("path",{d:"M17.66 8 12 2.35 6.34 8C4.78 9.56 4 11.64 4 13.64s.78 4.11 2.34 5.67 3.61 2.35 5.66 2.35 4.1-.79 5.66-2.35S20 15.64 20 13.64 19.22 9.56 17.66 8M6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14z"}),"Opacity"),hc=(0,$n.A)((0,F.jsx)("path",{d:"M19 4H5c-1.11 0-2 .9-2 2v12c0 1.1.89 2 2 2h4v-2H5V8h14v10h-4v2h4c1.1 0 2-.9 2-2V6c0-1.1-.89-2-2-2m-7 6-4 4h3v6h2v-6h3z"}),"OpenInBrowser"),pc=(0,$n.A)((0,F.jsx)("path",{d:"M6 19h4V5H6zm8-14v14h4V5z"}),"Pause"),fc=(0,$n.A)((0,F.jsx)("path",{d:"M8 5v14l11-7z"}),"PlayArrow");var gc=n(27896),mc=n(15938);const yc=(0,$n.A)((0,F.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"),vc=(0,$n.A)((0,F.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"),bc=(0,$n.A)((0,F.jsx)("path",{d:"M19 13H5v-2h14z"}),"Remove"),wc=(0,$n.A)((0,F.jsx)("path",{d:"M7 11v2h10v-2zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"}),"RemoveCircleOutline"),Ac=(0,$n.A)((0,F.jsx)("path",{d:"M12 5V2L8 6l4 4V7c3.31 0 6 2.69 6 6 0 2.97-2.17 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93 0-4.42-3.58-8-8-8m-6 8c0-1.65.67-3.15 1.76-4.24L6.34 7.34C4.9 8.79 4 10.79 4 13c0 4.08 3.05 7.44 7 7.93v-2.02c-2.83-.48-5-2.94-5-5.91"}),"RestartAlt"),xc=(0,$n.A)((0,F.jsx)("path",{d:"M5 13.18v4L12 21l7-3.82v-4L12 17zM12 3 1 9l11 6 9-4.91V17h2V9z"}),"School"),Sc=(0,$n.A)((0,F.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"),Cc=(0,$n.A)((0,F.jsx)("path",{d:"M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"}),"Send");var Ec=n(37126);const kc=(0,$n.A)((0,F.jsx)("path",{d:"M15.5 15.38V8.62L18.88 12zM14 19l7-7-7-7zm-4 0V5l-7 7z"}),"SwitchRight"),Tc=(0,$n.A)((0,F.jsx)("path",{d:"M8.5 8.62v6.76L5.12 12zM10 5l-7 7 7 7zm4 0v14l7-7z"}),"SwitchLeft");var _c=n(17130);const Oc=(0,$n.A)((0,F.jsx)("path",{d:"M20 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 2v3H5V5zm-5 14h-5v-9h5zM5 10h3v9H5zm12 9v-9h3v9z"}),"TableChartOutlined"),Pc=(0,$n.A)((0,F.jsx)("path",{d:"M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8"}),"Undo"),Ic=(0,$n.A)((0,F.jsx)("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5zM8 15.01l1.41 1.41L11 14.84V19h2v-4.16l1.59 1.59L16 15.01 12.01 11z"}),"UploadFile"),Mc=(0,$n.A)((0,F.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility"),Lc=(0,$n.A)((0,F.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"),Rc=(0,$n.A)((0,F.jsx)("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5C19.17 14.87 15.79 17 12 17s-7.17-2.13-8.82-5.5C4.83 8.13 8.21 6 12 6m0-2C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4m0 5c1.38 0 2.5 1.12 2.5 2.5S13.38 14 12 14s-2.5-1.12-2.5-2.5S10.62 9 12 9m0-2c-2.48 0-4.5 2.02-4.5 4.5S9.52 16 12 16s4.5-2.02 4.5-4.5S14.48 7 12 7"}),"VisibilityOutlined"),jc=(0,$n.A)((0,F.jsx)("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5-.59 1.22-1.42 2.27-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6m-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14M2.01 3.87l2.68 2.68C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45zm7.5 7.5 2.61 2.61c-.04.01-.08.02-.12.02-1.38 0-2.5-1.12-2.5-2.5 0-.05.01-.08.01-.13m-3.4-3.4 1.75 1.75c-.23.55-.36 1.15-.36 1.78 0 2.48 2.02 4.5 4.5 4.5.63 0 1.23-.13 1.77-.36l.98.98c-.88.24-1.8.38-2.75.38-3.79 0-7.17-2.13-8.82-5.5.7-1.43 1.72-2.61 2.93-3.53"}),"VisibilityOffOutlined"),Fc=(0,$n.A)((0,F.jsx)("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"}),"Warning"),Dc=(0,$n.A)((0,F.jsx)("path",{d:"M12 2c3.86 0 7 3.14 7 7 0 5.25-7 13-7 13S5 14.25 5 9c0-3.86 3.14-7 7-7m-1.53 12L17 7.41 15.6 6l-5.13 5.18L8.4 9.09 7 10.5z"}),"WhereToVote"),Nc=(0,$n.A)([(0,F.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,F.jsx)("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2z"},"1")],"ZoomIn"),zc=(0,$n.A)((0,F.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 14M7 9h5v1H7z"}),"ZoomOut");var Bc=n(13413),Vc=n(22012),$c=n(91661),Gc=n(6739),Uc=n(69276),Wc=n(21940);const qc=["ownerState"],Hc=["variants"],Yc=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Kc(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Xc=(0,Uc.A)(),Zc=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Jc({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function Qc(e){return e?(t,n)=>n[e]:null}function eu(e,t){let{ownerState:n}=t,r=(0,l.A)(t,qc);const o="function"==typeof e?e((0,s.A)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap((e=>eu(e,(0,s.A)({ownerState:n},r))));if(o&&"object"==typeof o&&Array.isArray(o.variants)){const{variants:e=[]}=o;let t=(0,l.A)(o,Hc);return e.forEach((e=>{let o=!0;"function"==typeof e.props?o=e.props((0,s.A)({ownerState:n},r,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&r[t]!==e.props[t]&&(o=!1)})),o&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,s.A)({ownerState:n},r,n)):e.style))})),t}return o}const tu=function(e={}){const{themeId:t,defaultTheme:n=Xc,rootShouldForwardProp:r=Kc,slotShouldForwardProp:o=Kc}=e,i=e=>(0,Wc.A)((0,s.A)({},e,{theme:Jc((0,s.A)({},e,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{(0,$c.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:c,slot:u,skipVariantsResolver:d,skipSx:h,overridesResolver:p=Qc(Zc(u))}=a,f=(0,l.A)(a,Yc),g=void 0!==d?d:u&&"Root"!==u&&"root"!==u||!1,m=h||!1;let y=Kc;"Root"===u||"root"===u?y=r:u?y=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(y=void 0);const v=(0,$c.default)(e,(0,s.A)({shouldForwardProp:y,label:undefined},f)),b=e=>"function"==typeof e&&e.__emotion_real!==e||(0,Gc.Q)(e)?r=>eu(e,(0,s.A)({},r,{theme:Jc({theme:r.theme,defaultTheme:n,themeId:t})})):e,w=(r,...o)=>{let a=b(r);const l=o?o.map(b):[];c&&p&&l.push((e=>{const r=Jc((0,s.A)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[c]||!r.components[c].styleOverrides)return null;const o=r.components[c].styleOverrides,i={};return Object.entries(o).forEach((([t,n])=>{i[t]=eu(n,(0,s.A)({},e,{theme:r}))})),p(e,i)})),c&&!g&&l.push((e=>{var r;const o=Jc((0,s.A)({},e,{defaultTheme:n,themeId:t}));return eu({variants:null==o||null==(r=o.components)||null==(r=r[c])?void 0:r.variants},(0,s.A)({},e,{theme:o}))})),m||l.push(i);const u=l.length-o.length;if(Array.isArray(r)&&u>0){const e=new Array(u).fill("");a=[...r,...e],a.raw=[...r.raw,...e]}const d=v(a,...l);return e.muiName&&(d.muiName=e.muiName),d};return v.withConfig&&(w.withConfig=v.withConfig),w}}(),nu=tu,ru=["className","component","disableGutters","fixed","maxWidth","classes"],ou=(0,Uc.A)(),iu=nu("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${(0,Bc.A)(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),au=e=>(0,Vc.A)({props:e,name:"MuiContainer",defaultTheme:ou});const su=function(e={}){const{createStyledComponent:t=iu,useThemeProps:n=au,componentName:r="MuiContainer"}=e,o=t((({theme:e,ownerState:t})=>(0,s.A)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}})),(({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce(((t,n)=>{const r=n,o=e.breakpoints.values[r];return 0!==o&&(t[e.breakpoints.up(r)]={maxWidth:`${o}${e.breakpoints.unit}`}),t}),{})),(({theme:e,ownerState:t})=>(0,s.A)({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}}))),a=i.forwardRef((function(e,t){const i=n(e),{className:a,component:d="div",disableGutters:h=!1,fixed:p=!1,maxWidth:f="lg"}=i,g=(0,l.A)(i,ru),m=(0,s.A)({},i,{component:d,disableGutters:h,fixed:p,maxWidth:f}),y=((e,t)=>{const{classes:n,fixed:r,disableGutters:o,maxWidth:i}=e,a={root:["root",i&&`maxWidth${(0,Bc.A)(String(i))}`,r&&"fixed",o&&"disableGutters"]};return(0,u.A)(a,(e=>(0,R.Ay)(t,e)),n)})(m,r);return(0,F.jsx)(o,(0,s.A)({as:d,ownerState:m,className:(0,c.A)(y.root,a),ref:t},g))}));return a}({createStyledComponent:(0,h.Ay)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${(0,Ce.A)(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,T.A)({props:e,name:"MuiContainer"})}),lu=su;function cu(e){return(0,R.Ay)("MuiDialog",e)}const uu=(0,L.A)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);const du=i.createContext({}),hu=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],pu=(0,h.Ay)(as,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),fu=(0,h.Ay)(hs,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),gu=(0,h.Ay)("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${(0,Ce.A)(n.scroll)}`]]}})((({ownerState:e})=>(0,s.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"}}))),mu=(0,h.Ay)(G.A,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${(0,Ce.A)(n.scroll)}`],t[`paperWidth${(0,Ce.A)(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})((({theme:e,ownerState:t})=>(0,s.A)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===t.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===t.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===t.maxWidth&&{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${uu.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&"xs"!==t.maxWidth&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${uu.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${uu.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}))),yu=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiDialog"}),r=(0,I.A)(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":d,BackdropComponent:h,BackdropProps:p,children:f,className:g,disableEscapeKeyDown:m=!1,fullScreen:y=!1,fullWidth:v=!1,maxWidth:b="sm",onBackdropClick:w,onClick:A,onClose:x,open:S,PaperComponent:C=G.A,PaperProps:E={},scroll:k="paper",TransitionComponent:_=ko,transitionDuration:O=o,TransitionProps:P}=n,M=(0,l.A)(n,hu),L=(0,s.A)({},n,{disableEscapeKeyDown:m,fullScreen:y,fullWidth:v,maxWidth:b,scroll:k}),R=(e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:o,fullScreen:i}=e,a={root:["root"],container:["container",`scroll${(0,Ce.A)(n)}`],paper:["paper",`paperScroll${(0,Ce.A)(n)}`,`paperWidth${(0,Ce.A)(String(r))}`,o&&"paperFullWidth",i&&"paperFullScreen"]};return(0,u.A)(a,cu,t)})(L),j=i.useRef(),D=(0,Fe.A)(d),N=i.useMemo((()=>({titleId:D})),[D]);return(0,F.jsx)(fu,(0,s.A)({className:(0,c.A)(R.root,g),closeAfterTransition:!0,components:{Backdrop:pu},componentsProps:{backdrop:(0,s.A)({transitionDuration:O,as:h},p)},disableEscapeKeyDown:m,onClose:x,open:S,ref:t,onClick:e=>{A&&A(e),j.current&&(j.current=null,w&&w(e),x&&x(e,"backdropClick"))},ownerState:L},M,{children:(0,F.jsx)(_,(0,s.A)({appear:!0,in:S,timeout:O,role:"presentation"},P,{children:(0,F.jsx)(gu,{className:(0,c.A)(R.container),onMouseDown:e=>{j.current=e.target===e.currentTarget},ownerState:L,children:(0,F.jsx)(mu,(0,s.A)({as:C,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":D},E,{className:(0,c.A)(R.paper,E.className),ownerState:L,children:(0,F.jsx)(du.Provider,{value:N,children:f})}))})}))}))})),vu=yu;function bu(e){return(0,R.Ay)("MuiDialogActions",e)}(0,L.A)("MuiDialogActions",["root","spacing"]);const wu=["className","disableSpacing"],Au=(0,h.Ay)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})((({ownerState:e})=>(0,s.A)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}}))),xu=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiDialogActions"}),{className:r,disableSpacing:o=!1}=n,i=(0,l.A)(n,wu),a=(0,s.A)({},n,{disableSpacing:o}),d=(e=>{const{classes:t,disableSpacing:n}=e,r={root:["root",!n&&"spacing"]};return(0,u.A)(r,bu,t)})(a);return(0,F.jsx)(Au,(0,s.A)({className:(0,c.A)(d.root,r),ownerState:a,ref:t},i))}));function Su(e){return(0,R.Ay)("MuiDialogTitle",e)}const Cu=(0,L.A)("MuiDialogTitle",["root"]),Eu=["className","id"],ku=(0,h.Ay)(ji.A,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),Tu=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiDialogTitle"}),{className:r,id:o}=n,a=(0,l.A)(n,Eu),d=n,h=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},Su,t)})(d),{titleId:p=o}=i.useContext(du);return(0,F.jsx)(ku,(0,s.A)({component:"h2",className:(0,c.A)(h.root,r),ownerState:d,ref:t,variant:"h6",id:null!=o?o:p},a))}));var _u=n(25454),Ou=n(52865);const Pu=["component","direction","spacing","divider","children","className","useFlexGap"],Iu=(0,Uc.A)(),Mu=nu("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function Lu(e){return(0,Vc.A)({props:e,name:"MuiStack",defaultTheme:Iu})}function Ru(e,t){const n=i.Children.toArray(e).filter(Boolean);return n.reduce(((e,r,o)=>(e.push(r),o{let n=(0,s.A)({display:"flex",flexDirection:"column"},(0,Ls.NI)({theme:t},(0,Ls.kW)({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e}))));if(e.spacing){const r=(0,Ou.LX)(t),o=Object.keys(t.breakpoints.values).reduce(((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t)),{}),i=(0,Ls.kW)({values:e.direction,base:o}),a=(0,Ls.kW)({values:e.spacing,base:o});"object"==typeof i&&Object.keys(i).forEach(((e,t,n)=>{if(!i[e]){const r=t>0?i[n[t-1]]:"column";i[e]=r}}));const s=(t,n)=>{return e.useFlexGap?{gap:(0,Ou._W)(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=n?i[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:(0,Ou._W)(r,t)}};var o};n=(0,Gc.A)(n,(0,Ls.NI)({theme:t},a,s))}return n=(0,Ls.iZ)(t.breakpoints,n),n};const Fu=function(e={}){const{createStyledComponent:t=Mu,useThemeProps:n=Lu,componentName:r="MuiStack"}=e,o=t(ju),a=i.forwardRef((function(e,t){const i=n(e),a=(0,Rs.A)(i),{component:d="div",direction:h="column",spacing:p=0,divider:f,children:g,className:m,useFlexGap:y=!1}=a,v=(0,l.A)(a,Pu),b={direction:h,spacing:p,useFlexGap:y},w=(0,u.A)({root:["root"]},(e=>(0,R.Ay)(r,e)),{});return(0,F.jsx)(o,(0,s.A)({as:d,ownerState:b,ref:t,className:(0,c.A)(w.root,m)},v,{children:f?Ru(g,f):g}))}));return a}({createStyledComponent:(0,h.Ay)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,T.A)({props:e,name:"MuiStack"})}),Du=Fu;function Nu(e){return(0,R.Ay)("MuiDialogContent",e)}(0,L.A)("MuiDialogContent",["root","dividers"]);const zu=["className","dividers"],Bu=(0,h.Ay)("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})((({theme:e,ownerState:t})=>(0,s.A)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${Cu.root} + &`]:{paddingTop:0}}))),Vu=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiDialogContent"}),{className:r,dividers:o=!1}=n,i=(0,l.A)(n,zu),a=(0,s.A)({},n,{dividers:o}),d=(e=>{const{classes:t,dividers:n}=e,r={root:["root",n&&"dividers"]};return(0,u.A)(r,Nu,t)})(a);return(0,F.jsx)(Bu,(0,s.A)({className:(0,c.A)(d.root,r),ownerState:a,ref:t},i))}));function $u(e){return(0,R.Ay)("MuiLoadingButton",e)}const Gu=(0,L.A)("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]),Uu=["children","disabled","id","loading","loadingIndicator","loadingPosition","variant"],Wu=(0,h.Ay)(No,{shouldForwardProp:e=>(e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e)(e)||"classes"===e,name:"MuiLoadingButton",slot:"Root",overridesResolver:(e,t)=>[t.root,t.startIconLoadingStart&&{[`& .${Gu.startIconLoadingStart}`]:t.startIconLoadingStart},t.endIconLoadingEnd&&{[`& .${Gu.endIconLoadingEnd}`]:t.endIconLoadingEnd}]})((({ownerState:e,theme:t})=>(0,s.A)({[`& .${Gu.startIconLoadingStart}, & .${Gu.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},"center"===e.loadingPosition&&{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),[`&.${Gu.loading}`]:{color:"transparent"}},"start"===e.loadingPosition&&e.fullWidth&&{[`& .${Gu.startIconLoadingStart}, & .${Gu.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginRight:-8}},"end"===e.loadingPosition&&e.fullWidth&&{[`& .${Gu.startIconLoadingStart}, & .${Gu.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginLeft:-8}}))),qu=(0,h.Ay)("span",{name:"MuiLoadingButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.loadingIndicator,t[`loadingIndicator${(0,Ce.A)(n.loadingPosition)}`]]}})((({theme:e,ownerState:t})=>(0,s.A)({position:"absolute",visibility:"visible",display:"flex"},"start"===t.loadingPosition&&("outlined"===t.variant||"contained"===t.variant)&&{left:"small"===t.size?10:14},"start"===t.loadingPosition&&"text"===t.variant&&{left:6},"center"===t.loadingPosition&&{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled},"end"===t.loadingPosition&&("outlined"===t.variant||"contained"===t.variant)&&{right:"small"===t.size?10:14},"end"===t.loadingPosition&&"text"===t.variant&&{right:6},"start"===t.loadingPosition&&t.fullWidth&&{position:"relative",left:-10},"end"===t.loadingPosition&&t.fullWidth&&{position:"relative",right:-10}))),Hu=i.forwardRef((function(e,t){const n=i.useContext(Io),r=(0,To.A)(n,e),o=(0,T.A)({props:r,name:"MuiLoadingButton"}),{children:a,disabled:c=!1,id:d,loading:h=!1,loadingIndicator:p,loadingPosition:f="center",variant:g="text"}=o,m=(0,l.A)(o,Uu),y=(0,lo.A)(d),v=null!=p?p:(0,F.jsx)(ja,{"aria-labelledby":y,color:"inherit",size:16}),b=(0,s.A)({},o,{disabled:c,loading:h,loadingIndicator:v,loadingPosition:f,variant:g}),w=(e=>{const{loading:t,loadingPosition:n,classes:r}=e,o={root:["root",t&&"loading"],startIcon:[t&&`startIconLoading${(0,Ce.A)(n)}`],endIcon:[t&&`endIconLoading${(0,Ce.A)(n)}`],loadingIndicator:["loadingIndicator",t&&`loadingIndicator${(0,Ce.A)(n)}`]},i=(0,u.A)(o,$u,r);return(0,s.A)({},r,i)})(b),A=h?(0,F.jsx)(qu,{className:w.loadingIndicator,ownerState:b,children:v}):null;return(0,F.jsxs)(Wu,(0,s.A)({disabled:c||h,id:y,ref:t},m,{variant:g,classes:w,ownerState:b,children:["end"===b.loadingPosition?a:A,"end"===b.loadingPosition?A:a]}))}));var Yu=["children"];function Ku(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xu(e){for(var t=1;te;const sd=(0,wa.i7)(ed||(ed=ad` 0% { left: -35%; right: 100%; @@ -127,9 +119,7 @@ function P(e,t){return O(e,t)}["a","abbr","address","area","article","aside","au left: 100%; right: -90%; } -`,Js="string"!=typeof Zs?fr.AH` - animation: ${Zs} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; - `:null,Qs=fr.i7` +`)),ld=(0,wa.i7)(td||(td=ad` 0% { left: -200%; right: 100%; @@ -144,9 +134,7 @@ function P(e,t){return O(e,t)}["a","abbr","address","area","article","aside","au left: 107%; right: -8%; } -`,el="string"!=typeof Qs?fr.AH` - animation: ${Qs} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; - `:null,tl=fr.i7` +`)),cd=(0,wa.i7)(nd||(nd=ad` 0% { opacity: 1; background-position: 0 -23px; @@ -161,16 +149,22 @@ function P(e,t){return O(e,t)}["a","abbr","address","area","article","aside","au opacity: 1; background-position: -200px -23px; } -`,nl="string"!=typeof tl?fr.AH` - animation: ${tl} 3s infinite linear; - `:null,rl=(e,t)=>e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?(0,te.a)(e.palette[t].main,.62):(0,te.e$)(e.palette[t].main,.5),il=(0,u.Ay)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,U.A)(n.color)}`],t[n.variant]]}})((0,d.A)((({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{backgroundColor:rl(e,t)}}))),{props:({ownerState:e})=>"inherit"===e.color&&"buffer"!==e.variant,style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]})))),ol=(0,u.Ay)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${(0,U.A)(n.color)}`]]}})((0,d.A)((({theme:e})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>{const n=rl(e,t);return{props:{color:t},style:{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`}}}))]}))),nl||{animation:`${tl} 3s infinite linear`}),al=(0,u.Ay)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,U.A)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar1Indeterminate,"determinate"===n.variant&&t.bar1Determinate,"buffer"===n.variant&&t.bar1Buffer]}})((0,d.A)((({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main}}))),{props:{variant:"determinate"},style:{transition:"transform .4s linear"}},{props:{variant:"buffer"},style:{zIndex:1,transition:"transform .4s linear"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:Js||{animation:`${Zs} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]})))),sl=(0,u.Ay)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,U.A)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar2Indeterminate,"buffer"===n.variant&&t.bar2Buffer]}})((0,d.A)((({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[t].main}}))),{props:({ownerState:e})=>"buffer"!==e.variant&&"inherit"!==e.color,style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t,variant:"buffer"},style:{backgroundColor:rl(e,t),transition:"transform .4s linear"}}))),{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:el||{animation:`${Qs} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]})))),ll=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiLinearProgress"}),{className:r,color:i="primary",value:o,valueBuffer:a,variant:s="indeterminate",...u}=n,d={...n,color:i,variant:s},p=(e=>{const{classes:t,variant:n,color:r}=e,i={root:["root",`color${(0,U.A)(r)}`,n],dashed:["dashed",`dashedColor${(0,U.A)(r)}`],bar1:["bar",`barColor${(0,U.A)(r)}`,("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","buffer"!==n&&`barColor${(0,U.A)(r)}`,"buffer"===n&&`color${(0,U.A)(r)}`,("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]};return(0,c.A)(i,Xs,t)})(d),f=(0,Rr.I)(),g={},m={bar1:{},bar2:{}};if("determinate"===s||"buffer"===s)if(void 0!==o){g["aria-valuenow"]=Math.round(o),g["aria-valuemin"]=0,g["aria-valuemax"]=100;let e=o-100;f&&(e=-e),m.bar1.transform=`translateX(${e}%)`}else 0;if("buffer"===s)if(void 0!==a){let e=(a||0)-100;f&&(e=-e),m.bar2.transform=`translateX(${e}%)`}else 0;return(0,k.jsxs)(il,{className:(0,l.A)(p.root,r),ownerState:d,role:"progressbar",...g,ref:t,...u,children:["buffer"===s?(0,k.jsx)(ol,{className:p.dashed,ownerState:d}):null,(0,k.jsx)(al,{className:p.bar1,ownerState:d,style:m.bar1}),"determinate"===s?null:(0,k.jsx)(sl,{className:p.bar2,ownerState:d,style:m.bar2})]})})),cl=ll;var ul=["className","variant","value"];function dl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hl(e){var t=e.className,n=void 0===t?"":t,r=e.variant,i=void 0===r?"indeterminate":r,o=e.value,a=void 0===o?0:o,s=(0,Q.A)(e,ul);return(0,k.jsx)(cl,function(e){for(var t=1;t=0,t)}(e.value)},children:[(0,k.jsx)(fl.A,{sx:d.listItemIcon,children:(0,k.jsx)(dr,{edge:"start",checked:f.includes(e.value),tabIndex:-1,disableRipple:!0,inputProps:{"aria-labelledby":n},"aria-hidden":"true"})}),(0,k.jsx)(In.A,{sx:d.typography,variant:"body2",noWrap:!0,component:"ul",children:e.display}),(0,k.jsx)(s.A,{sx:d.boxcontent,className:"Checkbox-content-root",onClick:function(e){return function(e){e.stopPropagation()}(e)},children:e.contentRight})]},e.value)}))})}var yl=n(51922);function vl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bl(e){for(var t=1;t"number"==typeof e?`${e}px`:e)).join(" ")}function kl(e){return"function"==typeof e?e():e}const Tl=(0,u.Ay)(ii,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),_l=(0,u.Ay)(f.A,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Ol=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiPopover"}),{action:r,anchorEl:i,anchorOrigin:a={vertical:"top",horizontal:"left"},anchorPosition:s,anchorReference:u="anchorEl",children:d,className:p,container:f,elevation:g=8,marginThreshold:m=16,open:y,PaperProps:v={},slots:b={},slotProps:w={},transformOrigin:A={vertical:"top",horizontal:"left"},TransitionComponent:S=$t.A,transitionDuration:C="auto",TransitionProps:{onEntering:E,...T}={},disableScrollLock:_=!1,...O}=n,P=w?.paper??v,I=o.useRef(),M={...n,anchorOrigin:a,anchorReference:u,elevation:g,marginThreshold:m,externalPaperSlotProps:P,transformOrigin:A,TransitionComponent:S,transitionDuration:C,TransitionProps:T},L=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"],paper:["paper"]},Al,t)})(M),R=o.useCallback((()=>{if("anchorPosition"===u)return s;const e=kl(i),t=(e&&1===e.nodeType?e:(0,Ut.A)(I.current).body).getBoundingClientRect();return{top:t.top+Sl(t,a.vertical),left:t.left+Cl(t,a.horizontal)}}),[i,a.horizontal,a.vertical,s,u]),j=o.useCallback((e=>({vertical:Sl(e,A.vertical),horizontal:Cl(e,A.horizontal)})),[A.horizontal,A.vertical]),F=o.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=j(t);if("none"===u)return{top:null,left:null,transformOrigin:El(n)};const r=R();let o=r.top-n.vertical,a=r.left-n.horizontal;const s=o+t.height,l=a+t.width,c=(0,li.A)(kl(i)),d=c.innerHeight-m,h=c.innerWidth-m;if(null!==m&&od){const e=s-d;o-=e,n.vertical+=e}if(null!==m&&ah){const e=l-h;a-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(a)}px`,transformOrigin:El(n)}}),[i,u,R,j,m]),[D,N]=o.useState(y),B=o.useCallback((()=>{const e=I.current;if(!e)return;const t=F(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,N(!0)}),[F]);o.useEffect((()=>(_&&window.addEventListener("scroll",B),()=>window.removeEventListener("scroll",B))),[i,_,B]);o.useEffect((()=>{y&&B()})),o.useImperativeHandle(r,(()=>y?{updatePosition:()=>{B()}}:null),[y,B]),o.useEffect((()=>{if(!y)return;const e=(0,ai.A)((()=>{B()})),t=(0,li.A)(i);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[i,y,B]);let z=C;"auto"!==C||S.muiSupportAuto||(z=void 0);const V=f||(i?(0,Ut.A)(kl(i)).body:void 0),$={slots:b,slotProps:{...w,paper:P}},[G,U]=x("paper",{elementType:_l,externalForwardedProps:$,additionalProps:{elevation:g,className:(0,l.A)(L.paper,P?.className),style:D?P.style:{...P.style,opacity:0}},ownerState:M}),[W,{slotProps:q,...H}]=x("root",{elementType:Tl,externalForwardedProps:$,additionalProps:{slotProps:{backdrop:{invisible:!0}},container:V,open:y},ownerState:M,className:(0,l.A)(L.root,p)}),Y=(0,we.A)(I,U.ref);return(0,k.jsx)(W,{...H,...!(0,xl.A)(W)&&{slotProps:q,disableScrollLock:_},...O,ref:t,children:(0,k.jsx)(S,{appear:!0,in:y,onEntering:(e,t)=>{E&&E(e,t),B()},onExited:()=>{N(!1)},timeout:z,...T,children:(0,k.jsx)(G,{...U,ref:Y,children:d})})})}));function Pl(e){return(0,S.Ay)("MuiMenu",e)}(0,A.A)("MuiMenu",["root","paper","list"]);const Il={vertical:"top",horizontal:"right"},Ml={vertical:"top",horizontal:"left"},Ll=(0,u.Ay)(Ol,{shouldForwardProp:e=>(0,kt.A)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Rl=(0,u.Ay)(_l,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),jl=(0,u.Ay)(en,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Fl=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiMenu"}),{autoFocus:r=!0,children:i,className:a,disableAutoFocusItem:s=!1,MenuListProps:u={},onClose:d,open:p,PaperProps:f={},PopoverClasses:g,transitionDuration:m="auto",TransitionProps:{onEntering:y,...v}={},variant:b="selectedMenu",slots:w={},slotProps:x={},...A}=n,S=(0,Rr.I)(),C={...n,autoFocus:r,disableAutoFocusItem:s,MenuListProps:u,onEntering:y,PaperProps:f,transitionDuration:m,TransitionProps:v,variant:b},E=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"],paper:["paper"],list:["list"]},Pl,t)})(C),T=r&&!s&&p,_=o.useRef(null);let O=-1;o.Children.map(i,((e,t)=>{o.isValidElement(e)&&(e.props.disabled||("selectedMenu"===b&&e.props.selected||-1===O)&&(O=t))}));const P=w.paper??Rl,I=x.paper??f,M=(0,ht.A)({elementType:w.root,externalSlotProps:x.root,ownerState:C,className:[E.root,a]}),L=(0,ht.A)({elementType:P,externalSlotProps:I,ownerState:C,className:E.paper});return(0,k.jsx)(Ll,{onClose:d,anchorOrigin:{vertical:"bottom",horizontal:S?"right":"left"},transformOrigin:S?Il:Ml,slots:{paper:P,root:w.root},slotProps:{root:M,paper:L},open:p,ref:t,transitionDuration:m,TransitionProps:{onEntering:(e,t)=>{_.current&&_.current.adjustStyleForScrollbar(e,{direction:S?"rtl":"ltr"}),y&&y(e,t)},...v},ownerState:C,...A,classes:g,children:(0,k.jsx)(jl,{onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),d&&d(e,"tabKeyDown"))},actions:_,autoFocus:r&&(-1===O||s),autoFocusItem:T,variant:b,...u,className:(0,l.A)(E.list,u.className),children:i})})})),Dl=Fl;function Nl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Bl(e){for(var t=1;t<+~=|^:(),"'`\s])/g,xc="undefined"!=typeof CSS&&CSS.escape,Ac=function(e){return xc?xc(e):e.replace(wc,"\\$1")},Sc=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,i=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var i=t;n&&!1===n.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var o=null==i||!1===i,a=e in this.style;if(o&&!a&&!r)return this;var s=o&&a;if(s?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var l=this.options.sheet;return l&&l.attached,this},e}(),Cc=function(e){function t(t,n,r){var i;i=e.call(this,t,n,r)||this;var o=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return o?i.selectorText=o:!1!==a&&(i.id=l((0,uc.A)((0,uc.A)(i)),s),i.selectorText="."+Ac(i.id)),i}(0,cc.A)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=mc(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,nc.A)({},e,{allowEmpty:!0}):e;return bc(this.selectorText,this.style,n)},lc(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(Sc),Ec={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new Cc(e,t,n)}},kc={indent:1,children:!0},Tc=/@([\w-]+)/,_c=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var r=e.match(Tc);for(var i in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Jc((0,nc.A)({},n,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=kc);var t=yc(e).linebreak;if(null==e.indent&&(e.indent=kc.indent),null==e.children&&(e.children=kc.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),Oc=/@container|@media|@supports\s+/,Pc={onCreateRule:function(e,t,n){return Oc.test(e)?new _c(e,t,n):null}},Ic={indent:1,children:!0},Mc=/@keyframes\s+([\w-]+)/,Lc=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var r=e.match(Mc);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var i=n.scoped,o=n.sheet,a=n.generateId;for(var s in this.id=!1===i?this.name:Ac(a(this,o)),this.rules=new Jc((0,nc.A)({},n,{parent:this})),t)this.rules.add(s,t[s],(0,nc.A)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=Ic);var t=yc(e).linebreak;if(null==e.indent&&(e.indent=Ic.indent),null==e.children&&(e.children=Ic.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),Rc=/@keyframes\s+/,jc=/\$([\w-]+)/g,Fc=function(e,t){return"string"==typeof e?e.replace(jc,(function(e,n){return n in t?t[n]:e})):e},Dc=function(e,t,n){var r=e[t],i=Fc(r,n);i!==r&&(e[t]=i)},Nc={onCreateRule:function(e,t,n){return"string"==typeof e&&Rc.test(e)?new Lc(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&Dc(e,"animation-name",n.keyframes),"animation"in e&&Dc(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return Fc(e,r.keyframes);default:return e}}},Bc=function(e){function t(){return e.apply(this,arguments)||this}return(0,cc.A)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,nc.A)({},e,{allowEmpty:!0}):e;return bc(this.key,this.style,n)},t}(Sc),zc={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new Bc(e,t,n):null}},Vc=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=yc(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=(0,dc.A)(t,["attached"]),i=yc(r).linebreak,o="",a=0;a-1?r.substr(0,i-1):r;e.style.setProperty(t,o,i>-1?"important":"")}}catch(e){return!1}return!0},uu=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},du=function(e,t){return e.selectorText=t,e.selectorText===t},hu=su((function(){return document.querySelector("head")}));function pu(e){var t=nu.registry;if(t.length>0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var i=function(e){for(var t=hu(),n=0;nn?n:t},yu=function(){function e(e){this.getPropertyValue=lu,this.setProperty=cu,this.removeProperty=uu,this.setSelector=du,this.hasInsertedRules=!1,this.cssRules=[],e&&nu.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,i=t.element;this.element=i||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var o=fu();o&&this.element.setAttribute("nonce",o)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=pu(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var i=n,o=i.parentNode;o&&o.insertBefore(e,i.nextSibling)}else hu().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n"inherit"===t?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?(0,qe.a)(e.palette[t].main,.62):(0,qe.e$)(e.palette[t].main,.5),dd=(0,h.Ay)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${(0,Ce.A)(n.color)}`],t[n.variant]]}})((({ownerState:e,theme:t})=>(0,s.A)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:ud(t,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)"}))),hd=(0,h.Ay)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${(0,Ce.A)(n.color)}`]]}})((({ownerState:e,theme:t})=>{const n=ud(t,e.color);return(0,s.A)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===e.color&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})}),(0,wa.AH)(rd||(rd=ad` + animation: ${0} 3s infinite linear; + `),cd)),pd=(0,h.Ay)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,Ce.A)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar1Indeterminate,"determinate"===n.variant&&t.bar1Determinate,"buffer"===n.variant&&t.bar1Buffer]}})((({ownerState:e,theme:t})=>(0,s.A)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).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,wa.AH)(od||(od=ad` + width: auto; + animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; + `),sd))),fd=(0,h.Ay)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${(0,Ce.A)(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar2Indeterminate,"buffer"===n.variant&&t.bar2Buffer]}})((({ownerState:e,theme:t})=>(0,s.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":(t.vars||t).palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:ud(t,e.color),transition:"transform .4s linear"})),(({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,wa.AH)(id||(id=ad` + width: auto; + animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; + `),ld))),gd=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiLinearProgress"}),{className:r,color:o="primary",value:i,valueBuffer:a,variant:d="indeterminate"}=n,h=(0,l.A)(n,Qu),p=(0,s.A)({},n,{color:o,variant:d}),f=(e=>{const{classes:t,variant:n,color:r}=e,o={root:["root",`color${(0,Ce.A)(r)}`,n],dashed:["dashed",`dashedColor${(0,Ce.A)(r)}`],bar1:["bar",`barColor${(0,Ce.A)(r)}`,("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","buffer"!==n&&`barColor${(0,Ce.A)(r)}`,"buffer"===n&&`color${(0,Ce.A)(r)}`,("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]};return(0,u.A)(o,Ju,t)})(p),g=(0,eo.I)(),m={},y={bar1:{},bar2:{}};if("determinate"===d||"buffer"===d)if(void 0!==i){m["aria-valuenow"]=Math.round(i),m["aria-valuemin"]=0,m["aria-valuemax"]=100;let e=i-100;g&&(e=-e),y.bar1.transform=`translateX(${e}%)`}else 0;if("buffer"===d)if(void 0!==a){let e=(a||0)-100;g&&(e=-e),y.bar2.transform=`translateX(${e}%)`}else 0;return(0,F.jsxs)(dd,(0,s.A)({className:(0,c.A)(f.root,r),ownerState:p,role:"progressbar"},m,{ref:t},h,{children:["buffer"===d?(0,F.jsx)(hd,{className:f.dashed,ownerState:p}):null,(0,F.jsx)(pd,{className:f.bar1,ownerState:p,style:y.bar1}),"determinate"===d?null:(0,F.jsx)(fd,{className:f.bar2,ownerState:p,style:y.bar2})]}))})),md=gd;function yd(e){var t=e.className,n=void 0===t?"":t,r=e.variant,o=void 0===r?"indeterminate":r,i=e.value,a=void 0===i?0:i;return(0,F.jsx)(md,{variant:o,value:a,className:n})}var vd=n(70692),bd=n(46973);function wd(e){return(0,R.Ay)("MuiListItem",e)}const Ad=(0,L.A)("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function xd(e){return(0,R.Ay)("MuiListItemButton",e)}const Sd=(0,L.A)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function Cd(e){return(0,R.Ay)("MuiListItemSecondaryAction",e)}(0,L.A)("MuiListItemSecondaryAction",["root","disableGutters"]);const Ed=["className"],kd=(0,h.Ay)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>(0,s.A)({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),Td=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiListItemSecondaryAction"}),{className:r}=n,o=(0,l.A)(n,Ed),a=i.useContext($o),d=(0,s.A)({},n,{disableGutters:a.disableGutters}),h=(e=>{const{disableGutters:t,classes:n}=e,r={root:["root",t&&"disableGutters"]};return(0,u.A)(r,Cd,n)})(d);return(0,F.jsx)(kd,(0,s.A)({className:(0,c.A)(h.root,r),ownerState:d,ref:t},o))}));Td.muiName="ListItemSecondaryAction";const _d=Td,Od=["className"],Pd=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Id=(0,h.Ay)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})((({theme:e,ownerState:t})=>(0,s.A)({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&(0,s.A)({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Sd.root}`]:{paddingRight:48}},{[`&.${Ad.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ad.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,qe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ad.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,qe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ad.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ad.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,qe.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,qe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),Md=(0,h.Ay)("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Ld=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiListItem"}),{alignItems:r="center",autoFocus:o=!1,button:a=!1,children:d,className:h,component:p,components:f={},componentsProps:g={},ContainerComponent:m="li",ContainerProps:{className:y}={},dense:v=!1,disabled:b=!1,disableGutters:w=!1,disablePadding:A=!1,divider:x=!1,focusVisibleClassName:S,secondaryAction:C,selected:E=!1,slotProps:k={},slots:_={}}=n,O=(0,l.A)(n.ContainerProps,Od),P=(0,l.A)(n,Pd),I=i.useContext($o),L=i.useMemo((()=>({dense:v||I.dense||!1,alignItems:r,disableGutters:w})),[r,I.dense,v,w]),R=i.useRef(null);(0,Ko.A)((()=>{o&&R.current&&R.current.focus()}),[o]);const j=i.Children.toArray(d),D=j.length&&(0,bd.A)(j[j.length-1],["ListItemSecondaryAction"]),N=(0,s.A)({},n,{alignItems:r,autoFocus:o,button:a,dense:L.dense,disabled:b,disableGutters:w,disablePadding:A,divider:x,hasSecondaryAction:D,selected:E}),z=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:i,disableGutters:a,disablePadding:s,divider:l,hasSecondaryAction:c,selected:d}=e,h={root:["root",o&&"dense",!a&&"gutters",!s&&"padding",l&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",d&&"selected"],container:["container"]};return(0,u.A)(h,wd,r)})(N),B=(0,M.A)(R,t),V=_.root||f.Root||Id,$=k.root||g.root||{},G=(0,s.A)({className:(0,c.A)(z.root,$.className,h),disabled:b},P);let U=p||"li";return a&&(G.component=p||"div",G.focusVisibleClassName=(0,c.A)(Ad.focusVisible,S),U=ae.A),D?(U=G.component||p?U:"div","li"===m&&("li"===U?U="div":"li"===G.component&&(G.component="div")),(0,F.jsx)($o.Provider,{value:L,children:(0,F.jsxs)(Md,(0,s.A)({as:m,className:(0,c.A)(z.container,y),ref:B,ownerState:N},O,{children:[(0,F.jsx)(V,(0,s.A)({},$,!(0,vd.g)(V)&&{as:U,ownerState:(0,s.A)({},N,$.ownerState)},G,{children:j})),j.pop()]}))})):(0,F.jsx)($o.Provider,{value:L,children:(0,F.jsxs)(V,(0,s.A)({},$,{as:U,ref:B},!(0,vd.g)(V)&&{ownerState:(0,s.A)({},N,$.ownerState)},G,{children:[j,C&&(0,F.jsx)(_d,{children:C})]}))})})),Rd=Ld,jd=["className"],Fd=(0,h.Ay)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>(0,s.A)({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8}))),Dd=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=(0,l.A)(n,jd),a=i.useContext($o),d=(0,s.A)({},n,{alignItems:a.alignItems}),h=(e=>{const{alignItems:t,classes:n}=e,r={root:["root","flex-start"===t&&"alignItemsFlexStart"]};return(0,u.A)(r,oi,n)})(d);return(0,F.jsx)(Fd,(0,s.A)({className:(0,c.A)(h.root,r),ownerState:d,ref:t},o))}));var Nd=function(e){var t;return{list:{padding:0},typography:{padding:0},listItem:{height:"28px",padding:0,color:e.palette.secondary.contrastText,"&:hover":{backgroundColor:"#dddddd",color:null===(t=e.palette.geoViewColor)||void 0===t?void 0:t.primary.dark}},listItemIcon:{minWidth:"0px"},boxcontent:{padding:0}}};function zd(e){var t=e.listItems,n=e.checkedValues,s=e.multiselect,l=e.onChecked,c=(0,I.A)(),u=Nd(c),d=(0,i.useState)(n),h=(0,o.A)(d,2),p=h[0],f=h[1];return(0,i.useEffect)((function(){Ps.vF.logTraceUseEffect("CHECKBOX-LIST - checkedValues",n),n&&f(n)}),[n]),(0,F.jsx)(qo,{sx:u.list,children:t.map((function(e,t){var n="checkbox-list-label-".concat(t);return(0,F.jsxs)(Rd,{sx:u.listItem,title:e.display,dense:!0,onClick:function(){return function(e){var t;if(s){var n=p.indexOf(e);t=(0,r.A)(p),-1===n?t.push(e):t.splice(n,1)}else t=[e];f(t),null==l||l(e,t.indexOf(e)>=0,t)}(e.value)},children:[(0,F.jsx)(Dd,{sx:u.listItemIcon,children:(0,F.jsx)(ya,{edge:"start",checked:p.includes(e.value),tabIndex:-1,disableRipple:!0,inputProps:{"aria-labelledby":n},"aria-hidden":"true"})}),(0,F.jsx)(ji.A,{sx:u.typography,variant:"body2",noWrap:!0,component:"ul",children:e.display}),(0,F.jsx)(a.A,{sx:u.boxcontent,className:"Checkbox-content-root",onClick:function(e){return function(e){e.stopPropagation()}(e)},children:e.contentRight})]},e.value)}))})}function Bd(e){var t=e.children,n=e.className,r=e.style,o=e.timeout,i=e.unmountOnExit,a=e.in;return(0,F.jsx)($,{className:n||"",style:r||void 0,in:a,timeout:o,unmountOnExit:i,children:void 0!==t&&t})}zd.defaultProps={onChecked:null};const Vd=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],$d=(0,h.Ay)(ae.A,{shouldForwardProp:e=>(0,_o.A)(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>(0,s.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"}},[`&.${Sd.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,qe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Sd.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,qe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Sd.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,qe.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,qe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Sd.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Sd.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},"flex-start"===t.alignItems&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4}))),Gd=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiListItemButton"}),{alignItems:r="center",autoFocus:o=!1,component:a="div",children:d,dense:h=!1,disableGutters:p=!1,divider:f=!1,focusVisibleClassName:g,selected:m=!1,className:y}=n,v=(0,l.A)(n,Vd),b=i.useContext($o),w=i.useMemo((()=>({dense:h||b.dense||!1,alignItems:r,disableGutters:p})),[r,b.dense,h,p]),A=i.useRef(null);(0,Ko.A)((()=>{o&&A.current&&A.current.focus()}),[o]);const x=(0,s.A)({},n,{alignItems:r,dense:w.dense,disableGutters:p,divider:f,selected:m}),S=(e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:i,divider:a,selected:l}=e,c={root:["root",r&&"dense",!i&&"gutters",a&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",l&&"selected"]},d=(0,u.A)(c,xd,n);return(0,s.A)({},n,d)})(x),C=(0,M.A)(A,t);return(0,F.jsx)($o.Provider,{value:w,children:(0,F.jsx)($d,(0,s.A)({ref:C,href:v.href||v.to,component:(v.href||v.to)&&"div"===a?"button":a,focusVisibleClassName:(0,c.A)(S.focusVisible,g),ownerState:x,className:(0,c.A)(S.root,y)},v,{classes:S,children:d}))})})),Ud=Gd;function Wd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qd(e){for(var t=1;t{const{ownerState:n}=e;return[{[`& .${si.primary}`]:t.primary},{[`& .${si.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})((({ownerState:e})=>(0,s.A)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56}))),Zd=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiListItemText"}),{children:r,className:o,disableTypography:a=!1,inset:d=!1,primary:h,primaryTypographyProps:p,secondary:f,secondaryTypographyProps:g}=n,m=(0,l.A)(n,Kd),{dense:y}=i.useContext($o);let v=null!=h?h:r,b=f;const w=(0,s.A)({},n,{disableTypography:a,inset:d,primary:!!v,secondary:!!b,dense:y}),A=(e=>{const{classes:t,inset:n,primary:r,secondary:o,dense:i}=e,a={root:["root",n&&"inset",i&&"dense",r&&o&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,u.A)(a,ai,t)})(w);return null==v||v.type===ji.A||a||(v=(0,F.jsx)(ji.A,(0,s.A)({variant:y?"body2":"body1",className:A.primary,component:null!=p&&p.variant?void 0:"span",display:"block"},p,{children:v}))),null==b||b.type===ji.A||a||(b=(0,F.jsx)(ji.A,(0,s.A)({variant:"body2",className:A.secondary,color:"text.secondary",display:"block"},g,{children:b}))),(0,F.jsxs)(Xd,(0,s.A)({className:(0,c.A)(A.root,o),ownerState:w,ref:t},m,{children:[v,b]}))}));function Jd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qd(e){for(var t=1;t"number"==typeof e?`${e}px`:e)).join(" ")}function wh(e){return"function"==typeof e?e():e}const Ah=(0,h.Ay)(hs,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),xh=(0,h.Ay)(G.A,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Sh=i.forwardRef((function(e,t){var n,r,o;const a=(0,T.A)({props:e,name:"MuiPopover"}),{action:d,anchorEl:h,anchorOrigin:p={vertical:"top",horizontal:"left"},anchorPosition:f,anchorReference:g="anchorEl",children:m,className:y,container:v,elevation:b=8,marginThreshold:w=16,open:A,PaperProps:x={},slots:S,slotProps:C,transformOrigin:E={vertical:"top",horizontal:"left"},TransitionComponent:k=ao,transitionDuration:_="auto",TransitionProps:{onEntering:O}={},disableScrollLock:P=!1}=a,I=(0,l.A)(a.TransitionProps,fh),L=(0,l.A)(a,gh),R=null!=(n=null==C?void 0:C.paper)?n:x,j=i.useRef(),D=(0,M.A)(j,R.ref),N=(0,s.A)({},a,{anchorOrigin:p,anchorReference:g,elevation:b,marginThreshold:w,externalPaperSlotProps:R,transformOrigin:E,TransitionComponent:k,transitionDuration:_,TransitionProps:I}),z=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],paper:["paper"]},ph,t)})(N),B=i.useCallback((()=>{if("anchorPosition"===g)return f;const e=wh(h),t=(e&&1===e.nodeType?e:(0,Vo.A)(j.current).body).getBoundingClientRect();return{top:t.top+yh(t,p.vertical),left:t.left+vh(t,p.horizontal)}}),[h,p.horizontal,p.vertical,f,g]),V=i.useCallback((e=>({vertical:yh(e,E.vertical),horizontal:vh(e,E.horizontal)})),[E.horizontal,E.vertical]),$=i.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=V(t);if("none"===g)return{top:null,left:null,transformOrigin:bh(n)};const r=B();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,s=i+t.width,l=(0,fs.A)(wh(h)),c=l.innerHeight-w,u=l.innerWidth-w;if(null!==w&&oc){const e=a-c;o-=e,n.vertical+=e}if(null!==w&&iu){const e=s-u;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:bh(n)}}),[h,g,B,V,w]),[G,U]=i.useState(A),W=i.useCallback((()=>{const e=j.current;if(!e)return;const t=$(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,U(!0)}),[$]);i.useEffect((()=>(P&&window.addEventListener("scroll",W),()=>window.removeEventListener("scroll",W))),[h,P,W]);i.useEffect((()=>{A&&W()})),i.useImperativeHandle(d,(()=>A?{updatePosition:()=>{W()}}:null),[A,W]),i.useEffect((()=>{if(!A)return;const e=(0,ps.A)((()=>{W()})),t=(0,fs.A)(h);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[h,A,W]);let q=_;"auto"!==_||k.muiSupportAuto||(q=void 0);const H=v||(h?(0,Vo.A)(wh(h)).body:void 0),Y=null!=(r=null==S?void 0:S.root)?r:Ah,K=null!=(o=null==S?void 0:S.paper)?o:xh,X=(0,mn.Q)({elementType:K,externalSlotProps:(0,s.A)({},R,{style:G?R.style:(0,s.A)({},R.style,{opacity:0})}),additionalProps:{elevation:b,ref:D},ownerState:N,className:(0,c.A)(z.paper,null==R?void 0:R.className)}),Z=(0,mn.Q)({elementType:Y,externalSlotProps:(null==C?void 0:C.root)||{},externalForwardedProps:L,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:H,open:A},ownerState:N,className:(0,c.A)(z.root,y)}),{slotProps:J}=Z,Q=(0,l.A)(Z,mh);return(0,F.jsx)(Y,(0,s.A)({},Q,!(0,vd.g)(Y)&&{slotProps:J,disableScrollLock:P},{children:(0,F.jsx)(k,(0,s.A)({appear:!0,in:A,onEntering:(e,t)=>{O&&O(e,t),W()},onExited:()=>{U(!1)},timeout:q},I,{children:(0,F.jsx)(K,(0,s.A)({},X,{children:m}))}))}))})),Ch=Sh;function Eh(e){return(0,R.Ay)("MuiMenu",e)}(0,L.A)("MuiMenu",["root","paper","list"]);const kh=["onEntering"],Th=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],_h={vertical:"top",horizontal:"right"},Oh={vertical:"top",horizontal:"left"},Ph=(0,h.Ay)(Ch,{shouldForwardProp:e=>(0,_o.A)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Ih=(0,h.Ay)(xh,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Mh=(0,h.Ay)(ni,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Lh=i.forwardRef((function(e,t){var n,r;const o=(0,T.A)({props:e,name:"MuiMenu"}),{autoFocus:a=!0,children:d,className:h,disableAutoFocusItem:p=!1,MenuListProps:f={},onClose:g,open:m,PaperProps:y={},PopoverClasses:v,transitionDuration:b="auto",TransitionProps:{onEntering:w}={},variant:A="selectedMenu",slots:x={},slotProps:S={}}=o,C=(0,l.A)(o.TransitionProps,kh),E=(0,l.A)(o,Th),k=(0,eo.I)(),_=(0,s.A)({},o,{autoFocus:a,disableAutoFocusItem:p,MenuListProps:f,onEntering:w,PaperProps:y,transitionDuration:b,TransitionProps:C,variant:A}),O=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],paper:["paper"],list:["list"]},Eh,t)})(_),P=a&&!p&&m,I=i.useRef(null);let M=-1;i.Children.map(d,((e,t)=>{i.isValidElement(e)&&(e.props.disabled||("selectedMenu"===A&&e.props.selected||-1===M)&&(M=t))}));const L=null!=(n=x.paper)?n:Ih,R=null!=(r=S.paper)?r:y,j=(0,mn.Q)({elementType:x.root,externalSlotProps:S.root,ownerState:_,className:[O.root,h]}),D=(0,mn.Q)({elementType:L,externalSlotProps:R,ownerState:_,className:O.paper});return(0,F.jsx)(Ph,(0,s.A)({onClose:g,anchorOrigin:{vertical:"bottom",horizontal:k?"right":"left"},transformOrigin:k?_h:Oh,slots:{paper:L,root:x.root},slotProps:{root:j,paper:D},open:m,ref:t,transitionDuration:b,TransitionProps:(0,s.A)({onEntering:(e,t)=>{I.current&&I.current.adjustStyleForScrollbar(e,{direction:k?"rtl":"ltr"}),w&&w(e,t)}},C),ownerState:_},E,{classes:v,children:(0,F.jsx)(Mh,(0,s.A)({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),g&&g(e,"tabKeyDown"))},actions:I,autoFocus:a&&(-1===M||p),autoFocusItem:P,variant:A},f,{className:(0,c.A)(O.list,f.className),children:d}))}))})),Rh=Lh;function jh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fh(e){for(var t=1;t<+~=|^:(),"'`\s])/g,dp="undefined"!=typeof CSS&&CSS.escape,hp=function(e){return dp?dp(e):e.replace(up,"\\$1")},pp=function(){function e(e,t,n){this.type="style",this.isProcessed=!1;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var l=this.options.sheet;return l&&l.attached,this},e}(),fp=function(e){function t(t,n,r){var o;o=e.call(this,t,n,r)||this;var i=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l((0,tp.A)((0,tp.A)(o)),s),o.selectorText="."+hp(o.id)),o}(0,p.A)(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=ap(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,s.A)({},e,{allowEmpty:!0}):e;return cp(this.selectorText,this.style,n)},(0,zh.A)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(pp),gp={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new fp(e,t,n)}},mp={indent:1,children:!0},yp=/@([\w-]+)/,vp=function(){function e(e,t,n){this.type="conditional",this.isProcessed=!1,this.key=e;var r=e.match(yp);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new $p((0,s.A)({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.toString=function(e){void 0===e&&(e=mp);var t=sp(e).linebreak;if(null==e.indent&&(e.indent=mp.indent),null==e.children&&(e.children=mp.children),!1===e.children)return this.query+" {}";var n=this.rules.toString(e);return n?this.query+" {"+t+n+t+"}":""},e}(),bp=/@container|@media|@supports\s+/,wp={onCreateRule:function(e,t,n){return bp.test(e)?new vp(e,t,n):null}},Ap={indent:1,children:!0},xp=/@keyframes\s+([\w-]+)/,Sp=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var r=e.match(xp);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,i=n.sheet,a=n.generateId;for(var l in this.id=!1===o?this.name:hp(a(this,i)),this.rules=new $p((0,s.A)({},n,{parent:this})),t)this.rules.add(l,t[l],(0,s.A)({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=Ap);var t=sp(e).linebreak;if(null==e.indent&&(e.indent=Ap.indent),null==e.children&&(e.children=Ap.children),!1===e.children)return this.at+" "+this.id+" {}";var n=this.rules.toString(e);return n&&(n=""+t+n+t),this.at+" "+this.id+" {"+n+"}"},e}(),Cp=/@keyframes\s+/,Ep=/\$([\w-]+)/g,kp=function(e,t){return"string"==typeof e?e.replace(Ep,(function(e,n){return n in t?t[n]:e})):e},Tp=function(e,t,n){var r=e[t],o=kp(r,n);o!==r&&(e[t]=o)},_p={onCreateRule:function(e,t,n){return"string"==typeof e&&Cp.test(e)?new Sp(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&Tp(e,"animation-name",n.keyframes),"animation"in e&&Tp(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return kp(e,r.keyframes);default:return e}}},Op=function(e){function t(){return e.apply(this,arguments)||this}return(0,p.A)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?(0,s.A)({},e,{allowEmpty:!0}):e;return cp(this.key,this.style,n)},t}(pp),Pp={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new Op(e,t,n):null}},Ip=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){var t=sp(e).linebreak;if(Array.isArray(this.style)){for(var n="",r=0;r=this.index)t.push(e);else for(var r=0;rn)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=(0,l.A)(t,["attached"]),o=sp(r).linebreak,i="",a=0;a-1?r.substr(0,o-1):r;e.style.setProperty(t,i,o>-1?"important":"")}}catch(e){return!1}return!0},ef=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},tf=function(e,t){return e.selectorText=t,e.selectorText===t},nf=Zp((function(){return document.querySelector("head")}));function rf(e){var t=qp.registry;if(t.length>0){var n=function(e,t){for(var n=0;nt.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if(n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e),n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var o=function(e){for(var t=nf(),n=0;nn?n:t},lf=function(){function e(e){this.getPropertyValue=Jp,this.setProperty=Qp,this.removeProperty=ef,this.setSelector=tf,this.hasInsertedRules=!1,this.cssRules=[],e&&qp.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=of();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=rf(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else nf().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n{n[e]&&(i[e]=`${t[e]} ${n[e]}`)})),i}const Cu={set:(e,t,n,r)=>{let i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)},get:(e,t,n)=>{const r=e.get(t);return r?r.get(n):void 0},delete:(e,t,n)=>{e.get(t).delete(n)}},Eu=Cu;var ku=n(94354);function Tu(){const e=(0,ku.A)();return e?.$$material??e}var _u=n(89469);const Ou=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var Pu=Date.now(),Iu="fnValues"+Pu,Mu="fnStyle"+ ++Pu;const Lu=function(){return{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=fc(e,{},n);return r[Mu]=t,r},onProcessStyle:function(e,t){if(Iu in t||Mu in t)return e;var n={};for(var r in e){var i=e[r];"function"==typeof i&&(delete e[r],n[r]=i)}return t[Iu]=n,e},onUpdate:function(e,t,n,r){var i=t,o=i[Mu];o&&(i.style=o(e)||{});var a=i[Iu];if(a)for(var s in a)i.prop(s,a[s](e),r)}}};var Ru="@global",ju="@global ",Fu=function(){function e(e,t,n){for(var r in this.type="global",this.at=Ru,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new Jc((0,nc.A)({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),Du=function(){function e(e,t,n){this.type="global",this.at=Ru,this.isProcessed=!1,this.key=e,this.options=n;var r=e.substr(8);this.rule=n.jss.createRule(r,t,(0,nc.A)({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Nu=/\s*,\s*/g;function Bu(e,t){for(var n=e.split(Nu),r="",i=0;ie.length)&&(t=e.length);for(var n=0,r=Array(t);n-1){var i=Dd[e];if(!Array.isArray(i))return gd.js+xd(i)in t&&gd.css+i;if(!r)return!1;for(var o=0;ot?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},i=Object.keys(t).sort(e),o=0;o(o+=1,o);return(e,o)=>{const s=o.options.name;if(s&&s.startsWith("Mui")&&!o.options.link&&!t){if(-1!==Ou.indexOf(e.key))return`Mui-${e.key}`;const t=`${i}${s}-${e.key}`;return o.options.theme[_u.A]&&""===r?`${t}-${a()}`:t}return`${i}${n}${a()}`}}(),ih={disableGeneration:!1,generateClassName:rh,jss:nh,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},oh=o.createContext(ih);let ah=-1e9;function sh(e){return 0===e.length}function lh(e){const t="function"==typeof e;return{create:(n,r)=>{let i;try{i=t?e(n):e}catch(e){throw e}if(!r||!n.components||!n.components[r]||!n.components[r].styleOverrides&&!n.components[r].variants)return i;const o=n.components[r].styleOverrides||{},a=n.components[r].variants||[],s={...i};return Object.keys(o).forEach((e=>{s[e]=(0,ks.A)(s[e]||{},o[e])})),a.forEach((e=>{const t=function(e){const{variant:t,...n}=e;let r=t||"";return Object.keys(n).sort().forEach((t=>{r+="color"===t?sh(r)?e[t]:(0,rs.A)(e[t]):`${sh(r)?t:(0,rs.A)(t)}${(0,rs.A)(e[t].toString())}`})),r}(e.props);s[t]=(0,ks.A)(s[t]||{},e.style)})),s},options:{}}}const ch={};function uh({state:e,theme:t,stylesOptions:n,stylesCreator:r,name:i},o){if(n.disableGeneration)return;let a=Eu.get(n.sheetsManager,r,t);a||(a={refs:0,staticSheet:null,dynamicStyles:null},Eu.set(n.sheetsManager,r,t,a));const s={...r.options,...n,theme:t,flip:"boolean"==typeof n.flip?n.flip:"rtl"===t.direction};s.generateId=s.serverGenerateClassName||s.generateClassName;const l=n.sheetsRegistry;if(0===a.refs){let e;n.sheetsCache&&(e=Eu.get(n.sheetsCache,r,t));const o=r.create(t,i);e||(e=n.jss.createStyleSheet(o,{link:!1,...s}),e.attach(),n.sheetsCache&&Eu.set(n.sheetsCache,r,t,e)),l&&l.add(e),a.staticSheet=e,a.dynamicStyles=Au(o)}if(a.dynamicStyles){const t=n.jss.createStyleSheet(a.dynamicStyles,{link:!0,...s});t.update(o),t.attach(),e.dynamicSheet=t,e.classes=Su({baseClasses:a.staticSheet.classes,newClasses:t.classes}),l&&l.add(t)}else e.classes=a.staticSheet.classes;a.refs+=1}function dh(e,t={}){const{name:n,classNamePrefix:r,Component:i,defaultTheme:a=ch,...s}=t,l=lh(e),c=n||r||"makeStyles";l.options={index:(ah+=1,ah),name:n,meta:c,classNamePrefix:c};return(e={})=>{const t=Tu()||a,r={...o.useContext(oh),...s},c=o.useRef(),u=o.useRef();!function(e,t){const n=o.useRef([]);let r;const i=o.useMemo((()=>({})),t);n.current!==i&&(n.current=i,r=e()),o.useEffect((()=>()=>{r&&r()}),[i])}((()=>{const i={name:n,state:{},stylesCreator:l,stylesOptions:r,theme:t};return uh(i,e),u.current=!1,c.current=i,()=>{!function({state:e,theme:t,stylesOptions:n,stylesCreator:r}){if(n.disableGeneration)return;const i=Eu.get(n.sheetsManager,r,t);i.refs-=1;const o=n.sheetsRegistry;0===i.refs&&(Eu.delete(n.sheetsManager,r,t),n.jss.removeStyleSheet(i.staticSheet),o&&o.remove(i.staticSheet)),e.dynamicSheet&&(n.jss.removeStyleSheet(e.dynamicSheet),o&&o.remove(e.dynamicSheet))}(i)}}),[t,l]),o.useEffect((()=>{u.current&&function({state:e},t){e.dynamicSheet&&e.dynamicSheet.update(t)}(c.current,e),u.current=!0}));const d=function({state:e,stylesOptions:t},n,r){if(t.disableGeneration)return n||{};e.cacheClasses||(e.cacheClasses={value:null,lastProp:null,lastJSS:{}});let i=!1;return e.classes!==e.cacheClasses.lastJSS&&(e.cacheClasses.lastJSS=e.classes,i=!0),n!==e.cacheClasses.lastProp&&(e.cacheClasses.lastProp=n,i=!0),i&&(e.cacheClasses.value=Su({baseClasses:e.cacheClasses.lastJSS,newClasses:n,Component:r})),e.cacheClasses.value}(c.current,e.classes,i);return d}}const hh=(e,t={})=>n=>{const{defaultTheme:r,withTheme:i=!1,name:a,...s}=t;let l=a;const c=dh(e,{defaultTheme:r,Component:n,name:a||n.displayName,classNamePrefix:l,...s}),u=o.forwardRef((function(e,t){const{classes:o,...s}=e,l=c({...n.defaultProps,...e});let u,d=s;return("string"==typeof a||i)&&(u=Tu()||r,a&&(d=function(e){const{theme:t,name:n,props:r}=e;if(!(t&&t.components&&t.components[n]&&t.components[n].defaultProps))return r;const i={...r},o=t.components[n].defaultProps;let a;for(a in o)void 0===i[a]&&(i[a]=o[a]);return i}({theme:u,name:a,props:s})),i&&!d.theme&&(d.theme=u)),(0,k.jsx)(n,{ref:t,classes:l,...d})}));return tc()(u,n),u};var ph=n(27415),fh=function(e){var t;return{dialog:{position:"absolute","& ~ & > div[class*='backdrop']":{backgroundColor:"transparent"},"& .MuiPaper-root":{width:450,height:"auto",borderRadius:"6px"}},backdrop:{position:"absolute",background:null===(t=e.palette)||void 0===t?void 0:t.backdrop},content:{padding:e.spacing(5,0),whiteSpace:"pre-line"},modalTitleContainer:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"5px 10px"},modalTitleLabel:{display:"flex",justifyContent:"flex-start"},modalTitleActions:{display:"flex",justifyContent:"flex-end"},headerActionsContainer:{display:"flex",padding:"5px 10px","& > *:not(:last-child)":{marginRight:e.spacing(3)}},closedModal:{display:"none"},createdAction:{width:"30%",alignSelf:"flex-end","& > * ":{textAlign:"center"}}}};function gh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mh(e){for(var t=1;t=1?(0,k.jsx)(s.A,{sx:E.headerActionsContainer,children:null===(u=t.header)||void 0===u?void 0:u.actions.map((function(e){return"string"==typeof e.content?(0,k.jsx)(o.Fragment,{children:(0,k.jsx)(ph.S,{extraOptions:{id:e.actionId},htmlContent:e.content})},e.actionId):(0,k.jsx)(o.Fragment,{children:e.content},e.actionId)}))}):null,(0,k.jsx)(io.K,{id:"".concat(r,"-close-button"),tooltip:S("close"),tooltipPlacement:"right",onClick:t.close,className:y.headerActionsContainer,children:(0,k.jsx)(To.A,{})})]})]}),(0,k.jsx)(Ns,{children:(0,k.jsx)(s.A,{component:"div",id:v,className:"".concat(E.content," ").concat(b&&b),style:w,children:"string"==typeof t.content?(0,k.jsx)(ph.S,{htmlContent:t.content}):t.content})}),null!==(p=t.footer)&&void 0!==p&&p.actions&&(null===(g=t.footer)||void 0===g?void 0:g.actions.length)>=1?(0,k.jsx)(ws,{children:(null===(m=t.footer)||void 0===m?void 0:m.actions.map((function(e){return"string"==typeof e.content?(0,k.jsx)(o.Fragment,{children:(0,k.jsx)(ph.S,{extraOptions:{id:e.actionId},htmlContent:e.content})},e.actionId):(0,k.jsx)(o.Fragment,{children:e.content},e.actionId)})))||null}):null]})})),(0,k.jsx)(n,{}))||(0,k.jsxs)(ys,{open:h,sx:E.dialog,className:"".concat(c&&c),style:mh(mh({},u),{},{position:"fixed"}),"aria-labelledby":x,"aria-describedby":A,fullScreen:f,container:d,children:[(0,k.jsx)(Cs,{id:l,children:a}),(0,k.jsx)(Ns,{className:m,style:y,children:(0,k.jsx)("div",{id:v,className:"".concat(E.content," ").concat(b&&b),style:w,children:g})}),(0,k.jsx)(ws,{children:p})]})}function vh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bh(e){var t=(0,X.T$)(),n=(0,K.CS)(f.A);return(0,k.jsx)(n,function(e){for(var t=1;t{const{ownerState:n}=e;return[{[`&.${Vh.select}`]:t.select},{[`&.${Vh.select}`]:t[n.variant]},{[`&.${Vh.error}`]:t.error},{[`&.${Vh.multiple}`]:t.multiple}]}})({[`&.${Vh.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Uh=(0,u.Ay)(Dh.nE,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${(0,U.A)(n.variant)}`],n.open&&t.iconOpen]}})({}),Wh=(0,u.Ay)("input",{shouldForwardProp:e=>(0,Bh.A)(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function qh(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function Hh(e){return null==e||"string"==typeof e&&!e.trim()}const Yh=o.forwardRef((function(e,t){const{"aria-describedby":n,"aria-label":r,autoFocus:i,autoWidth:a,children:s,className:u,defaultOpen:d,defaultValue:h,disabled:p,displayEmpty:f,error:g=!1,IconComponent:y,inputRef:v,labelId:b,MenuProps:w={},multiple:x,name:A,onBlur:S,onChange:C,onClose:E,onFocus:T,onOpen:_,open:O,readOnly:P,renderValue:I,SelectDisplayProps:M={},tabIndex:L,type:R,value:j,variant:F="standard",...D}=e,[N,B]=(0,m.A)({controlled:j,default:h,name:"Select"}),[z,V]=(0,m.A)({controlled:O,default:d,name:"Select"}),$=o.useRef(null),G=o.useRef(null),[W,q]=o.useState(null),{current:H}=o.useRef(null!=O),[Y,K]=o.useState(),X=(0,we.A)(t,v),Z=o.useCallback((e=>{G.current=e,e&&q(e)}),[]),J=W?.parentNode;o.useImperativeHandle(X,(()=>({focus:()=>{G.current.focus()},node:$.current,value:N})),[N]),o.useEffect((()=>{d&&z&&W&&!H&&(K(a?null:J.clientWidth),G.current.focus())}),[W,a]),o.useEffect((()=>{i&&G.current.focus()}),[i]),o.useEffect((()=>{if(!b)return;const e=(0,Ut.A)(G.current).getElementById(b);if(e){const t=()=>{getSelection().isCollapsed&&G.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[b]);const Q=(e,t)=>{e?_&&_(t):E&&E(t),H||(K(a?null:J.clientWidth),V(e))},ee=o.Children.toArray(s),te=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(x){n=Array.isArray(N)?N.slice():[];const t=N.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),N!==n&&(B(n),C)){const r=t.nativeEvent||t,i=new r.constructor(r.type,r);Object.defineProperty(i,"target",{writable:!0,value:{value:n,name:A}}),C(i,e)}x||Q(!1,t)}},re=null!==W&&z;let ie,oe;delete D["aria-invalid"];const ae=[];let se=!1,le=!1;((0,Nh.lq)({value:N})||f)&&(I?ie=I(N):se=!0);const ce=ee.map((e=>{if(!o.isValidElement(e))return null;let t;if(x){if(!Array.isArray(N))throw new Error((0,Fh.A)(2));t=N.some((t=>qh(t,e.props.value))),t&&se&&ae.push(e.props.children)}else t=qh(N,e.props.value),t&&se&&(oe=e.props.children);return t&&(le=!0),o.cloneElement(e,{"aria-selected":t?"true":"false",onClick:te(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));se&&(ie=x?0===ae.length?null:ae.reduce(((e,t,n)=>(e.push(t),n{const{classes:t,variant:n,disabled:r,multiple:i,open:o,error:a}=e,s={select:["select",n,r&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${(0,U.A)(n)}`,o&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return(0,c.A)(s,zh,t)})(pe),ge={...w.PaperProps,...w.slotProps?.paper},me=(0,ne.A)();return(0,k.jsxs)(o.Fragment,{children:[(0,k.jsx)(Gh,{as:"div",ref:Z,tabIndex:ue,role:"combobox","aria-controls":me,"aria-disabled":p?"true":void 0,"aria-expanded":re?"true":"false","aria-haspopup":"listbox","aria-label":r,"aria-labelledby":[b,he].filter(Boolean).join(" ")||void 0,"aria-describedby":n,onKeyDown:e=>{if(!P){[" ","ArrowUp","ArrowDown","Enter"].includes(e.key)&&(e.preventDefault(),Q(!0,e))}},onMouseDown:p||P?null:e=>{0===e.button&&(e.preventDefault(),G.current.focus(),Q(!0,e))},onBlur:e=>{!re&&S&&(Object.defineProperty(e,"target",{writable:!0,value:{value:N,name:A}}),S(e))},onFocus:T,...M,ownerState:pe,className:(0,l.A)(M.className,fe.select,u),id:he,children:Hh(ie)?$h||($h=(0,k.jsx)("span",{className:"notranslate",children:"​"})):ie}),(0,k.jsx)(Wh,{"aria-invalid":g,value:Array.isArray(N)?N.join(","):N,name:A,ref:$,"aria-hidden":!0,onChange:e=>{const t=ee.find((t=>t.props.value===e.target.value));void 0!==t&&(B(t.props.value),C&&C(e,t))},tabIndex:-1,disabled:p,className:fe.nativeInput,autoFocus:i,...D,ownerState:pe}),(0,k.jsx)(Uh,{as:y,className:fe.icon,ownerState:pe}),(0,k.jsx)(Dl,{id:`menu-${A||""}`,anchorEl:J,open:re,onClose:e=>{Q(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...w,MenuListProps:{"aria-labelledby":b,role:"listbox","aria-multiselectable":x?"true":void 0,disableListWrap:!0,id:me,...w.MenuListProps},slotProps:{...w.slotProps,paper:{...ge,style:{minWidth:de,...null!=ge?ge.style:null}}},children:ce})]})})),Kh=Yh;var Xh=n(40074),Zh=n(18816),Jh=n(90139),Qh=n(79955);const ep=(0,u.Ay)(Qh.Sh,{shouldForwardProp:e=>(0,kt.A)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...(0,Qh.WC)(e,t),!n.disableUnderline&&t.underline]}})((0,d.A)((({theme:e})=>{const t="light"===e.palette.mode,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",o=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{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:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Me.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Me.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:o},variants:[{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{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"},[`&.${Me.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Me.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})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Me.disabled}, .${Me.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Me.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{disableUnderline:!1,color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}}))),{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:12}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:12}},{props:({ownerState:e})=>e.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}}]}}))),tp=(0,u.Ay)(Qh.ck,{name:"MuiFilledInput",slot:"Input",overridesResolver:Qh.Oj})((0,d.A)((({theme:e})=>({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"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]})))),np=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiFilledInput"}),{disableUnderline:r=!1,components:i={},componentsProps:o,fullWidth:a=!1,hiddenLabel:s,inputComponent:l="input",multiline:u=!1,slotProps:d,slots:p={},type:f="text",...g}=n,m={...n,disableUnderline:r,fullWidth:a,inputComponent:l,multiline:u,type:f},y=(e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:i,size:o,hiddenLabel:a,multiline:s}=e,l={root:["root",!n&&"underline",r&&"adornedStart",i&&"adornedEnd","small"===o&&`size${(0,U.A)(o)}`,a&&"hiddenLabel",s&&"multiline"],input:["input"]},u=(0,c.A)(l,Ie,t);return{...t,...u}})(n),v={root:{ownerState:m},input:{ownerState:m}},b=d??o?(0,ks.A)(v,d??o):v,w=p.root??i.Root??ep,x=p.input??i.Input??tp;return(0,k.jsx)(Qh.Ay,{slots:{root:w,input:x},componentsProps:b,fullWidth:a,inputComponent:l,multiline:u,ref:t,type:f,...g,classes:y})}));np&&(np.muiName="Input");const rp=np;var ip;const op=(0,u.Ay)("fieldset",{shouldForwardProp:kt.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%"}),ap=(0,u.Ay)("legend",{shouldForwardProp:kt.A})((0,d.A)((({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]}))));const sp=(0,u.Ay)(Qh.Sh,{shouldForwardProp:e=>(0,kt.A)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:Qh.WC})((0,d.A)((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Pe.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},[`&.${Pe.focused} .${Pe.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{[`&.${Pe.focused} .${Pe.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}}))),{props:{},style:{"@media (hover: none)":{[`&:hover .${Pe.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${Pe.error} .${Pe.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Pe.disabled} .${Pe.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{padding:"8.5px 14px"}}]}}))),lp=(0,u.Ay)((function(e){const{children:t,classes:n,className:r,label:i,notched:o,...a}=e,s=null!=i&&""!==i,l={...e,notched:o,withLabel:s};return(0,k.jsx)(op,{"aria-hidden":!0,className:r,ownerState:l,...a,children:(0,k.jsx)(ap,{ownerState:l,children:s?(0,k.jsx)("span",{children:i}):ip||(ip=(0,k.jsx)("span",{className:"notranslate",children:"​"}))})})}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((0,d.A)((({theme:e})=>{const t="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)`:t}}))),cp=(0,u.Ay)(Qh.ck,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Qh.Oj})((0,d.A)((({theme:e})=>({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"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]})))),up=o.forwardRef((function(e,t){var n;const r=(0,h.b)({props:e,name:"MuiOutlinedInput"}),{components:i={},fullWidth:a=!1,inputComponent:s="input",label:l,multiline:u=!1,notched:d,slots:p={},type:f="text",...g}=r,m=(e=>{const{classes:t}=e,n=(0,c.A)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Oe,t);return{...t,...n}})(r),y=(0,Zh.A)(),v=(0,Xh.A)({props:r,muiFormControl:y,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),b={...r,color:v.color||"primary",disabled:v.disabled,error:v.error,focused:v.focused,formControl:y,fullWidth:a,hiddenLabel:v.hiddenLabel,multiline:u,size:v.size,type:f},w=p.root??i.Root??sp,x=p.input??i.Input??cp;return(0,k.jsx)(Qh.Ay,{slots:{root:w,input:x},renderSuffix:e=>(0,k.jsx)(lp,{ownerState:b,className:m.notchedOutline,label:null!=l&&""!==l&&v.required?n||(n=(0,k.jsxs)(o.Fragment,{children:[l," ","*"]})):l,notched:void 0!==d?d:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:a,inputComponent:s,multiline:u,ref:t,type:f,...g,classes:{...m,notchedOutline:null}})}));up&&(up.muiName="Input");const dp=up,hp={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>(0,kt.A)(e)&&"variant"!==e,slot:"Root"},pp=(0,u.Ay)(Jh.A,hp)(""),fp=(0,u.Ay)(dp,hp)(""),gp=(0,u.Ay)(rp,hp)(""),mp=o.forwardRef((function(e,t){const n=(0,to.A)({name:"MuiSelect",props:e}),{autoWidth:r=!1,children:i,classes:a={},className:s,defaultOpen:c=!1,displayEmpty:u=!1,IconComponent:d=Re.A,id:h,input:p,inputProps:f,label:g,labelId:m,MenuProps:y,multiple:v=!1,native:b=!1,onClose:w,onOpen:x,open:A,renderValue:S,SelectDisplayProps:C,variant:E="outlined",...T}=n,_=b?Dh.Ay:Kh,O=(0,Zh.A)(),P=(0,Xh.A)({props:n,muiFormControl:O,states:["variant","error"]}),I=P.variant||E,M={...n,variant:I,classes:a},L=(e=>{const{classes:t}=e;return t})(M),{root:R,...j}=L,F=p||{standard:(0,k.jsx)(pp,{ownerState:M}),outlined:(0,k.jsx)(fp,{label:g,ownerState:M}),filled:(0,k.jsx)(gp,{ownerState:M})}[I],D=(0,we.A)(t,(0,jr.A)(F));return(0,k.jsx)(o.Fragment,{children:o.cloneElement(F,{inputComponent:_,inputProps:{children:i,error:P.error,IconComponent:d,variant:I,type:void 0,multiple:v,...b?{id:h}:{autoWidth:r,defaultOpen:c,displayEmpty:u,labelId:m,MenuProps:y,onClose:w,onOpen:x,open:A,renderValue:S,SelectDisplayProps:{id:h,...C}},...f,classes:f?(0,ks.A)(j,f.classes):j,...p?p.props.inputProps:{}},...(v&&b||u)&&"outlined"===I?{notched:!0}:{},ref:D,className:(0,l.A)(F.props.className,s,L.root),...!p&&{variant:I},...T})})}));mp.muiName="Select";const yp=mp;function vp(e){return(0,S.Ay)("MuiFormHelperText",e)}const bp=(0,A.A)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var wp;const xp=(0,u.Ay)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${(0,U.A)(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})((0,d.A)((({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${bp.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${bp.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]})))),Ap=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiFormHelperText"}),{children:r,className:i,component:o="p",disabled:a,error:s,filled:u,focused:d,margin:p,required:f,variant:g,...m}=n,y=(0,Zh.A)(),v=(0,Xh.A)({props:n,muiFormControl:y,states:["variant","size","disabled","error","filled","focused","required"]}),b={...n,component:o,contained:"filled"===v.variant||"outlined"===v.variant,variant:v.variant,size:v.size,disabled:v.disabled,error:v.error,filled:v.filled,focused:v.focused,required:v.required};delete b.ownerState;const w=(e=>{const{classes:t,contained:n,size:r,disabled:i,error:o,filled:a,focused:s,required:l}=e,u={root:["root",i&&"disabled",o&&"error",r&&`size${(0,U.A)(r)}`,n&&"contained",s&&"focused",a&&"filled",l&&"required"]};return(0,c.A)(u,vp,t)})(b);return(0,k.jsx)(xp,{as:o,className:(0,l.A)(w.root,i),ref:t,...m,ownerState:b,children:" "===r?wp||(wp=(0,k.jsx)("span",{className:"notranslate",children:"​"})):r})}));var Sp=function(e){var t,n,r;return{formControl:{width:"50%","& .MuiFormLabel-root.Mui-focused":{color:e.palette.primary.contrastText,background:null===(t=e.palette.geoViewColor)||void 0===t?void 0:t.primary.light},"& .MuiOutlinedInput-root.Mui-focused":{border:"1px solid ".concat(null===(n=e.palette.geoViewColor)||void 0===n?void 0:n.primary.contrastText)}},label:{position:"absolute",left:0,top:0,transform:"translate(14px, -9px) scale(0.75)",background:null===(r=e.palette.geoViewColor)||void 0===r?void 0:r.primary.light},select:{width:"100%"}}},Cp=["className","style","labelId","label","selectItems","callBack","helperText","multiple"];function Ep(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kp(e){for(var t=1;t{n[e]&&(o[e]=`${t[e]} ${n[e]}`)})),o}const gf={set:(e,t,n,r)=>{let o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:(e,t,n)=>{const r=e.get(t);return r?r.get(n):void 0},delete:(e,t,n)=>{e.get(t).delete(n)}},mf=gf;var yf=n(73579);function vf(){var e;const t=(0,yf.A)();return null!=(e=null==t?void 0:t.$$material)?e:t}var bf=n(98522);const wf=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];var Af=Date.now(),xf="fnValues"+Af,Sf="fnStyle"+ ++Af;const Cf=function(){return{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=op(e,{},n);return r[Sf]=t,r},onProcessStyle:function(e,t){if(xf in t||Sf in t)return e;var n={};for(var r in e){var o=e[r];"function"==typeof o&&(delete e[r],n[r]=o)}return t[xf]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[Sf];i&&(o.style=i(e)||{});var a=o[xf];if(a)for(var s in a)o.prop(s,a[s](e),r)}}};var Ef="@global",kf="@global ",Tf=function(){function e(e,t,n){for(var r in this.type="global",this.at=Ef,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new $p((0,s.A)({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.replaceRule=function(e,t,n){var r=this.rules.replace(e,t,n);return r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),_f=function(){function e(e,t,n){this.type="global",this.at=Ef,this.isProcessed=!1,this.key=e,this.options=n;var r=e.substr(8);this.rule=n.jss.createRule(r,t,(0,s.A)({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Of=/\s*,\s*/g;function Pf(e,t){for(var n=e.split(Of),r="",o=0;o-1){var o=kg[e];if(!Array.isArray(o))return og.js+ug(o)in t&&og.css+o;if(!r)return!1;for(var i=0;it?1:-1:e.length-t.length};return{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i(i+=1,i);return(e,i)=>{const s=i.options.name;if(s&&0===s.indexOf("Mui")&&!i.options.link&&!t){if(-1!==wf.indexOf(e.key))return`Mui-${e.key}`;const t=`${o}${s}-${e.key}`;return i.options.theme[bf.A]&&""===r?`${t}-${a()}`:t}return`${o}${n}${a()}`}}(),Hg={disableGeneration:!1,generateClassName:qg,jss:Wg,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},Yg=i.createContext(Hg);let Kg=-1e9;const Xg=["variant"];function Zg(e){return 0===e.length}function Jg(e){const t="function"==typeof e;return{create:(n,r)=>{let o;try{o=t?e(n):e}catch(e){throw e}if(!r||!n.components||!n.components[r]||!n.components[r].styleOverrides&&!n.components[r].variants)return o;const i=n.components[r].styleOverrides||{},a=n.components[r].variants||[],c=(0,s.A)({},o);return Object.keys(i).forEach((e=>{c[e]=(0,Gc.A)(c[e]||{},i[e])})),a.forEach((e=>{const t=function(e){const{variant:t}=e,n=(0,l.A)(e,Xg);let r=t||"";return Object.keys(n).sort().forEach((t=>{r+="color"===t?Zg(r)?e[t]:(0,Bc.A)(e[t]):`${Zg(r)?t:(0,Bc.A)(t)}${(0,Bc.A)(e[t].toString())}`})),r}(e.props);c[t]=(0,Gc.A)(c[t]||{},e.style)})),c},options:{}}}const Qg={},em=["name","classNamePrefix","Component","defaultTheme"];function tm({state:e,theme:t,stylesOptions:n,stylesCreator:r,name:o},i){if(n.disableGeneration)return;let a=mf.get(n.sheetsManager,r,t);a||(a={refs:0,staticSheet:null,dynamicStyles:null},mf.set(n.sheetsManager,r,t,a));const l=(0,s.A)({},r.options,n,{theme:t,flip:"boolean"==typeof n.flip?n.flip:"rtl"===t.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;const c=n.sheetsRegistry;if(0===a.refs){let e;n.sheetsCache&&(e=mf.get(n.sheetsCache,r,t));const i=r.create(t,o);e||(e=n.jss.createStyleSheet(i,(0,s.A)({link:!1},l)),e.attach(),n.sheetsCache&&mf.set(n.sheetsCache,r,t,e)),c&&c.add(e),a.staticSheet=e,a.dynamicStyles=pf(i)}if(a.dynamicStyles){const t=n.jss.createStyleSheet(a.dynamicStyles,(0,s.A)({link:!0},l));t.update(i),t.attach(),e.dynamicSheet=t,e.classes=ff({baseClasses:a.staticSheet.classes,newClasses:t.classes}),c&&c.add(t)}else e.classes=a.staticSheet.classes;a.refs+=1}function nm(e,t={}){const{name:n,classNamePrefix:r,Component:o,defaultTheme:a=Qg}=t,c=(0,l.A)(t,em),u=Jg(e),d=n||r||"makeStyles";u.options={index:(Kg+=1,Kg),name:n,meta:d,classNamePrefix:d};return(e={})=>{const t=vf()||a,r=(0,s.A)({},i.useContext(Yg),c),l=i.useRef(),d=i.useRef();!function(e,t){const n=i.useRef([]);let r;const o=i.useMemo((()=>({})),t);n.current!==o&&(n.current=o,r=e()),i.useEffect((()=>()=>{r&&r()}),[o])}((()=>{const o={name:n,state:{},stylesCreator:u,stylesOptions:r,theme:t};return tm(o,e),d.current=!1,l.current=o,()=>{!function({state:e,theme:t,stylesOptions:n,stylesCreator:r}){if(n.disableGeneration)return;const o=mf.get(n.sheetsManager,r,t);o.refs-=1;const i=n.sheetsRegistry;0===o.refs&&(mf.delete(n.sheetsManager,r,t),n.jss.removeStyleSheet(o.staticSheet),i&&i.remove(o.staticSheet)),e.dynamicSheet&&(n.jss.removeStyleSheet(e.dynamicSheet),i&&i.remove(e.dynamicSheet))}(o)}}),[t,u]),i.useEffect((()=>{d.current&&function({state:e},t){e.dynamicSheet&&e.dynamicSheet.update(t)}(l.current,e),d.current=!0}));const h=function({state:e,stylesOptions:t},n,r){if(t.disableGeneration)return n||{};e.cacheClasses||(e.cacheClasses={value:null,lastProp:null,lastJSS:{}});let o=!1;return e.classes!==e.cacheClasses.lastJSS&&(e.cacheClasses.lastJSS=e.classes,o=!0),n!==e.cacheClasses.lastProp&&(e.cacheClasses.lastProp=n,o=!0),o&&(e.cacheClasses.value=ff({baseClasses:e.cacheClasses.lastJSS,newClasses:n,Component:r})),e.cacheClasses.value}(l.current,e.classes,o);return h}}const rm=["defaultTheme","withTheme","name"],om=["classes"],im=(e,t={})=>n=>{const{defaultTheme:r,withTheme:o=!1,name:a}=t,c=(0,l.A)(t,rm);let u=a;const d=nm(e,(0,s.A)({defaultTheme:r,Component:n,name:a||n.displayName,classNamePrefix:u},c)),h=i.forwardRef((function(e,t){const i=(0,l.A)(e,om),c=d((0,s.A)({},n.defaultProps,e));let u,h=i;return("string"==typeof a||o)&&(u=vf()||r,a&&(h=function(e){const{theme:t,name:n,props:r}=e;if(!(t&&t.components&&t.components[n]&&t.components[n].defaultProps))return r;const o=(0,s.A)({},r),i=t.components[n].defaultProps;let a;for(a in i)void 0===o[a]&&(o[a]=i[a]);return o}({theme:u,name:a,props:i})),o&&!h.theme&&(h.theme=u)),(0,F.jsx)(n,(0,s.A)({ref:t,classes:c},h))}));return Jh()(h,n),h};var am=n(27127),sm=function(e){var t;return{dialog:{position:"absolute","& ~ & > div[class*='backdrop']":{backgroundColor:"transparent"},"& .MuiPaper-root":{width:450}},backdrop:{position:"absolute",background:null===(t=e.palette)||void 0===t?void 0:t.backdrop},content:{padding:e.spacing(5,0),whiteSpace:"pre-line"},modalTitleContainer:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"5px 10px"},modalTitleLabel:{display:"flex",justifyContent:"flex-start"},modalTitleActions:{display:"flex",justifyContent:"flex-end"},headerActionsContainer:{display:"flex",padding:"5px 10px","& > *:not(:last-child)":{marginRight:e.spacing(3)}},closedModal:{display:"none"},createdAction:{width:"30%",alignSelf:"flex-end","& > * ":{textAlign:"center"}}}};function lm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cm(e){for(var t=1;t=1?(0,F.jsx)(a.A,{sx:E.headerActionsContainer,children:null===(u=t.header)||void 0===u?void 0:u.actions.map((function(e){return"string"==typeof e.content?(0,F.jsx)(i.Fragment,{children:(0,F.jsx)(am.S,{extraOptions:{id:e.actionId},htmlContent:e.content})},e.actionId):(0,F.jsx)(i.Fragment,{children:e.content},e.actionId)}))}):null,(0,F.jsx)(Hs,{id:"".concat(r,"-close-button"),tooltip:S("close"),tooltipPlacement:"right",onClick:t.close,className:y.headerActionsContainer,children:(0,F.jsx)(fl.A,{})})]})]}),(0,F.jsx)(Vu,{children:(0,F.jsx)(a.A,{component:"div",id:v,className:"".concat(E.content," ").concat(b&&b),style:w,children:"string"==typeof t.content?(0,F.jsx)(am.S,{htmlContent:t.content}):t.content})}),null!==(p=t.footer)&&void 0!==p&&p.actions&&(null===(g=t.footer)||void 0===g?void 0:g.actions.length)>=1?(0,F.jsx)(xu,{children:(null===(m=t.footer)||void 0===m?void 0:m.actions.map((function(e){return"string"==typeof e.content?(0,F.jsx)(i.Fragment,{children:(0,F.jsx)(am.S,{extraOptions:{id:e.actionId},htmlContent:e.content})},e.actionId):(0,F.jsx)(i.Fragment,{children:e.content},e.actionId)})))||null}):null]})})),(0,F.jsx)(n,{}))||(0,F.jsxs)(vu,{open:h,sx:E.dialog,className:"".concat(c&&c),style:cm(cm({},u),{},{position:"absolute"}),"aria-labelledby":A,"aria-describedby":x,fullScreen:f,container:d,children:[(0,F.jsx)(Tu,{id:l,children:s}),(0,F.jsx)(Vu,{className:m,style:y,children:(0,F.jsx)("div",{id:v,className:"".concat(E.content," ").concat(b&&b),style:w,children:g})}),(0,F.jsx)(xu,{children:p})]})}function dm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hm(e){var t=(0,Ie.T$)(),n=(0,Pe.CS)(G.A);return(0,F.jsx)(n,function(e){for(var t=1;t{const{ownerState:n}=e;return[{[`&.${Lm.select}`]:t.select},{[`&.${Lm.select}`]:t[n.variant]},{[`&.${Lm.error}`]:t.error},{[`&.${Lm.multiple}`]:t.multiple}]}})(Om.Ku,{[`&.${Lm.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Dm=(0,h.Ay)("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${(0,Ce.A)(n.variant)}`],n.open&&t.iconOpen]}})(Om.XV),Nm=(0,h.Ay)("input",{shouldForwardProp:e=>(0,Im.A)(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function zm(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function Bm(e){return null==e||"string"==typeof e&&!e.trim()}const Vm=i.forwardRef((function(e,t){var n;const{"aria-describedby":r,"aria-label":o,autoFocus:a,autoWidth:d,children:h,className:p,defaultOpen:f,defaultValue:g,disabled:m,displayEmpty:y,error:v=!1,IconComponent:b,inputRef:w,labelId:A,MenuProps:x={},multiple:S,name:C,onBlur:E,onChange:k,onClose:T,onFocus:_,onOpen:O,open:P,readOnly:I,renderValue:L,SelectDisplayProps:R={},tabIndex:j,value:D,variant:N="standard"}=e,z=(0,l.A)(e,jm),[B,V]=(0,W.A)({controlled:D,default:g,name:"Select"}),[$,G]=(0,W.A)({controlled:P,default:f,name:"Select"}),U=i.useRef(null),q=i.useRef(null),[H,Y]=i.useState(null),{current:K}=i.useRef(null!=P),[X,Z]=i.useState(),J=(0,M.A)(t,w),Q=i.useCallback((e=>{q.current=e,e&&Y(e)}),[]),ee=null==H?void 0:H.parentNode;i.useImperativeHandle(J,(()=>({focus:()=>{q.current.focus()},node:U.current,value:B})),[B]),i.useEffect((()=>{f&&$&&H&&!K&&(Z(d?null:ee.clientWidth),q.current.focus())}),[H,d]),i.useEffect((()=>{a&&q.current.focus()}),[a]),i.useEffect((()=>{if(!A)return;const e=(0,Vo.A)(q.current).getElementById(A);if(e){const t=()=>{getSelection().isCollapsed&&q.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}}),[A]);const te=(e,t)=>{e?O&&O(t):T&&T(t),K||(Z(d?null:ee.clientWidth),G(e))},ne=i.Children.toArray(h),re=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(S){n=Array.isArray(B)?B.slice():[];const t=B.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),B!==n&&(V(n),k)){const r=t.nativeEvent||t,o=new r.constructor(r.type,r);Object.defineProperty(o,"target",{writable:!0,value:{value:n,name:C}}),k(o,e)}S||te(!1,t)}},oe=null!==H&&$;let ie,ae;delete z["aria-invalid"];const se=[];let le=!1,ce=!1;((0,Pm.lq)({value:B})||y)&&(L?ie=L(B):le=!0);const ue=ne.map((e=>{if(!i.isValidElement(e))return null;let t;if(S){if(!Array.isArray(B))throw new Error((0,_m.A)(2));t=B.some((t=>zm(t,e.props.value))),t&&le&&se.push(e.props.children)}else t=zm(B,e.props.value),t&&le&&(ae=e.props.children);return t&&(ce=!0),i.cloneElement(e,{"aria-selected":t?"true":"false",onClick:re(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));le&&(ie=S?0===se.length?null:se.reduce(((e,t,n)=>(e.push(t),n{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,s={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${(0,Ce.A)(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return(0,u.A)(s,Mm,t)})(fe),me=(0,s.A)({},x.PaperProps,null==(n=x.slotProps)?void 0:n.paper),ye=(0,Fe.A)();return(0,F.jsxs)(i.Fragment,{children:[(0,F.jsx)(Fm,(0,s.A)({ref:Q,tabIndex:de,role:"combobox","aria-controls":ye,"aria-disabled":m?"true":void 0,"aria-expanded":oe?"true":"false","aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[A,pe].filter(Boolean).join(" ")||void 0,"aria-describedby":r,onKeyDown:e=>{if(!I){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),te(!0,e))}},onMouseDown:m||I?null:e=>{0===e.button&&(e.preventDefault(),q.current.focus(),te(!0,e))},onBlur:e=>{!oe&&E&&(Object.defineProperty(e,"target",{writable:!0,value:{value:B,name:C}}),E(e))},onFocus:_},R,{ownerState:fe,className:(0,c.A)(R.className,ge.select,p),id:pe,children:Bm(ie)?Rm||(Rm=(0,F.jsx)("span",{className:"notranslate",children:"​"})):ie})),(0,F.jsx)(Nm,(0,s.A)({"aria-invalid":v,value:Array.isArray(B)?B.join(","):B,name:C,ref:U,"aria-hidden":!0,onChange:e=>{const t=ne.find((t=>t.props.value===e.target.value));void 0!==t&&(V(t.props.value),k&&k(e,t))},tabIndex:-1,disabled:m,className:ge.nativeInput,autoFocus:a,ownerState:fe},z)),(0,F.jsx)(Dm,{as:b,className:ge.icon,ownerState:fe}),(0,F.jsx)(Rh,(0,s.A)({id:`menu-${C||""}`,anchorEl:ee,open:oe,onClose:e=>{te(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},x,{MenuListProps:(0,s.A)({"aria-labelledby":A,role:"listbox","aria-multiselectable":S?"true":void 0,disableListWrap:!0,id:ye},x.MenuListProps),slotProps:(0,s.A)({},x.slotProps,{paper:(0,s.A)({},me,{style:(0,s.A)({minWidth:he},null!=me?me.style:null)})}),children:ue}))]})})),$m=Vm;var Gm=n(88961),Um=n(13755),Wm=n(21350),qm=n(17303);const Hm=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],Ym=(0,h.Ay)(qm.Sh,{shouldForwardProp:e=>(0,_o.A)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...(0,qm.WC)(e,t),!n.disableUnderline&&t.underline]}})((({theme:e,ownerState:t})=>{var n;const r="light"===e.palette.mode,o=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,s.A)({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,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:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${nr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${nr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:l}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(n=(e.vars||e).palette[t.color||"primary"])?void 0:n.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"},[`&.${nr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${nr.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(.${nr.disabled}, .${nr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${nr.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&(0,s.A)({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))})),Km=(0,h.Ay)(qm.f3,{name:"MuiFilledInput",slot:"Input",overridesResolver:qm.Oj})((({theme:e,ownerState:t})=>(0,s.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"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}))),Xm=i.forwardRef((function(e,t){var n,r,o,i;const a=(0,T.A)({props:e,name:"MuiFilledInput"}),{components:c={},componentsProps:d,fullWidth:h=!1,inputComponent:p="input",multiline:f=!1,slotProps:g,slots:m={},type:y="text"}=a,v=(0,l.A)(a,Hm),b=(0,s.A)({},a,{fullWidth:h,inputComponent:p,multiline:f,type:y}),w=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},o=(0,u.A)(r,tr,t);return(0,s.A)({},t,o)})(a),A={root:{ownerState:b},input:{ownerState:b}},x=(null!=g?g:d)?(0,Gc.A)(A,null!=g?g:d):A,S=null!=(n=null!=(r=m.root)?r:c.Root)?n:Ym,C=null!=(o=null!=(i=m.input)?i:c.Input)?o:Km;return(0,F.jsx)(qm.Ay,(0,s.A)({slots:{root:S,input:C},componentsProps:x,fullWidth:h,inputComponent:p,multiline:f,ref:t,type:y},v,{classes:w}))}));Xm.muiName="Input";const Zm=Xm;var Jm;const Qm=["children","classes","className","label","notched"],ey=(0,h.Ay)("fieldset",{shouldForwardProp:_o.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%"}),ty=(0,h.Ay)("legend",{shouldForwardProp:_o.A})((({ownerState:e,theme:t})=>(0,s.A)({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&(0,s.A)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})}))));const ny=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],ry=(0,h.Ay)(qm.Sh,{shouldForwardProp:e=>(0,_o.A)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:qm.WC})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,s.A)({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${er.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${er.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${er.focused} .${er.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${er.error} .${er.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${er.disabled} .${er.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&(0,s.A)({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))})),oy=(0,h.Ay)((function(e){const{className:t,label:n,notched:r}=e,o=(0,l.A)(e,Qm),i=null!=n&&""!==n,a=(0,s.A)({},e,{notched:r,withLabel:i});return(0,F.jsx)(ey,(0,s.A)({"aria-hidden":!0,className:t,ownerState:a},o,{children:(0,F.jsx)(ty,{ownerState:a,children:i?(0,F.jsx)("span",{children:n}):Jm||(Jm=(0,F.jsx)("span",{className:"notranslate",children:"​"}))})}))}),{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="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)`:t}})),iy=(0,h.Ay)(qm.f3,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:qm.Oj})((({theme:e,ownerState:t})=>(0,s.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"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0}))),ay=i.forwardRef((function(e,t){var n,r,o,a,c;const d=(0,T.A)({props:e,name:"MuiOutlinedInput"}),{components:h={},fullWidth:p=!1,inputComponent:f="input",label:g,multiline:m=!1,notched:y,slots:v={},type:b="text"}=d,w=(0,l.A)(d,ny),A=(e=>{const{classes:t}=e,n=(0,u.A)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Qn,t);return(0,s.A)({},t,n)})(d),x=(0,Um.A)(),S=(0,Gm.A)({props:d,muiFormControl:x,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),C=(0,s.A)({},d,{color:S.color||"primary",disabled:S.disabled,error:S.error,focused:S.focused,formControl:x,fullWidth:p,hiddenLabel:S.hiddenLabel,multiline:m,size:S.size,type:b}),E=null!=(n=null!=(r=v.root)?r:h.Root)?n:ry,k=null!=(o=null!=(a=v.input)?a:h.Input)?o:iy;return(0,F.jsx)(qm.Ay,(0,s.A)({slots:{root:E,input:k},renderSuffix:e=>(0,F.jsx)(oy,{ownerState:C,className:A.notchedOutline,label:null!=g&&""!==g&&S.required?c||(c=(0,F.jsxs)(i.Fragment,{children:[g," ","*"]})):g,notched:void 0!==y?y:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:p,inputComponent:f,multiline:m,ref:t,type:b},w,{classes:(0,s.A)({},A,{notchedOutline:null})}))}));ay.muiName="Input";const sy=ay,ly=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],cy=["root"],uy={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>(0,_o.A)(e)&&"variant"!==e,slot:"Root"},dy=(0,h.Ay)(Wm.A,uy)(""),hy=(0,h.Ay)(sy,uy)(""),py=(0,h.Ay)(Zm,uy)(""),fy=i.forwardRef((function(e,t){const n=(0,T.A)({name:"MuiSelect",props:e}),{autoWidth:r=!1,children:o,classes:a={},className:u,defaultOpen:d=!1,displayEmpty:h=!1,IconComponent:p=or.A,id:f,input:g,inputProps:m,label:y,labelId:v,MenuProps:b,multiple:w=!1,native:A=!1,onClose:x,onOpen:S,open:C,renderValue:E,SelectDisplayProps:k,variant:_="outlined"}=n,O=(0,l.A)(n,ly),P=A?Om.Ay:$m,I=(0,Um.A)(),L=(0,Gm.A)({props:n,muiFormControl:I,states:["variant","error"]}),R=L.variant||_,j=(0,s.A)({},n,{variant:R,classes:a}),D=(e=>{const{classes:t}=e;return t})(j),N=(0,l.A)(D,cy),z=g||{standard:(0,F.jsx)(dy,{ownerState:j}),outlined:(0,F.jsx)(hy,{label:y,ownerState:j}),filled:(0,F.jsx)(py,{ownerState:j})}[R],B=(0,M.A)(t,z.ref);return(0,F.jsx)(i.Fragment,{children:i.cloneElement(z,(0,s.A)({inputComponent:P,inputProps:(0,s.A)({children:o,error:L.error,IconComponent:p,variant:R,type:void 0,multiple:w},A?{id:f}:{autoWidth:r,defaultOpen:d,displayEmpty:h,labelId:v,MenuProps:b,onClose:x,onOpen:S,open:C,renderValue:E,SelectDisplayProps:(0,s.A)({id:f},k)},m,{classes:m?(0,Gc.A)(N,m.classes):N},g?g.props.inputProps:{})},(w&&A||h)&&"outlined"===R?{notched:!0}:{},{ref:B,className:(0,c.A)(z.props.className,u,D.root)},!g&&{variant:R},O))})}));fy.muiName="Select";const gy=fy;function my(e){return(0,R.Ay)("MuiFormHelperText",e)}const yy=(0,L.A)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var vy;const by=["children","className","component","disabled","error","filled","focused","margin","required","variant"],wy=(0,h.Ay)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${(0,Ce.A)(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})((({theme:e,ownerState:t})=>(0,s.A)({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${yy.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${yy.error}`]:{color:(e.vars||e).palette.error.main}},"small"===t.size&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14}))),Ay=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiFormHelperText"}),{children:r,className:o,component:i="p"}=n,a=(0,l.A)(n,by),d=(0,Um.A)(),h=(0,Gm.A)({props:n,muiFormControl:d,states:["variant","size","disabled","error","filled","focused","required"]}),p=(0,s.A)({},n,{component:i,contained:"filled"===h.variant||"outlined"===h.variant,variant:h.variant,size:h.size,disabled:h.disabled,error:h.error,filled:h.filled,focused:h.focused,required:h.required}),f=(e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:a,focused:s,required:l}=e,c={root:["root",o&&"disabled",i&&"error",r&&`size${(0,Ce.A)(r)}`,n&&"contained",s&&"focused",a&&"filled",l&&"required"]};return(0,u.A)(c,my,t)})(p);return(0,F.jsx)(wy,(0,s.A)({as:i,ownerState:p,className:(0,c.A)(f.root,o),ref:t},a,{children:" "===r?vy||(vy=(0,F.jsx)("span",{className:"notranslate",children:"​"})):r}))}));var xy=function(e){var t,n,r;return{formControl:{width:"50%","& .MuiFormLabel-root.Mui-focused":{color:e.palette.primary.contrastText,background:null===(t=e.palette.geoViewColor)||void 0===t?void 0:t.primary.light},"& .MuiOutlinedInput-root.Mui-focused":{border:"1px solid ".concat(null===(n=e.palette.geoViewColor)||void 0===n?void 0:n.primary.contrastText)}},label:{position:"absolute",left:0,top:0,transform:"translate(14px, -9px) scale(0.75)",background:null===(r=e.palette.geoViewColor)||void 0===r?void 0:r.primary.light},select:{width:"100%"}}},Sy=["className","style","labelId","label","selectItems","callBack","helperText","multiple"];function Cy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ey(e){for(var t=1;te;const $y=(0,wa.i7)(Dy||(Dy=Vy` 0% { opacity: 1; } @@ -182,7 +176,7 @@ function P(e,t){return O(e,t)}["a","abbr","address","area","article","aside","au 100% { opacity: 1; } -`,Dp=fr.i7` +`)),Gy=(0,wa.i7)(Ny||(Ny=Vy` 0% { transform: translateX(-100%); } @@ -195,11 +189,32 @@ function P(e,t){return O(e,t)}["a","abbr","address","area","article","aside","au 100% { transform: translateX(100%); } -`,Np="string"!=typeof Fp?fr.AH` - animation: ${Fp} 2s ease-in-out 0.5s infinite; - `:null,Bp="string"!=typeof Dp?fr.AH` - animation: ${Dp} 2s linear 0.5s infinite; - `:null,zp=(0,u.Ay)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!1!==n.animation&&t[n.animation],n.hasChildren&&t.withChildren,n.hasChildren&&!n.width&&t.fitContent,n.hasChildren&&!n.height&&t.heightAuto]}})((0,d.A)((({theme:e})=>{const t=Lp(e.shape.borderRadius)||"px",n=Rp(e.shape.borderRadius);return{display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:(0,te.X4)(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${n}${t}/${Math.round(n/.6*10)/10}${t}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:({ownerState:e})=>e.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:e})=>e.hasChildren&&!e.width,style:{maxWidth:"fit-content"}},{props:({ownerState:e})=>e.hasChildren&&!e.height,style:{height:"auto"}},{props:{animation:"pulse"},style:Np||{animation:`${Fp} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(\n 90deg,\n transparent,\n ${(e.vars||e).palette.action.hover},\n transparent\n )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:{"&::after":Bp||{animation:`${Dp} 2s linear 0.5s infinite`}}}]}}))),Vp=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiSkeleton"}),{animation:r="pulse",className:i,component:o="span",height:a,style:s,variant:u="text",width:d,...p}=n,f={...n,animation:r,component:o,variant:u,hasChildren:Boolean(p.children)},g=(e=>{const{classes:t,variant:n,animation:r,hasChildren:i,width:o,height:a}=e,s={root:["root",n,r,i&&"withChildren",i&&!o&&"fitContent",i&&!a&&"heightAuto"]};return(0,c.A)(s,jp,t)})(f);return(0,k.jsx)(zp,{as:o,ref:t,className:(0,l.A)(g.root,i),ownerState:f,...p,style:{width:d,height:a,...s}})})),$p=Vp;var Gp=["variant","width","height"];function Up(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wp(e){var t=e.variant,n=e.width,r=void 0===n?250:n,i=e.height,o=void 0===i?250:i,a=(0,Q.A)(e,Gp);return(0,k.jsx)($p,function(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:"horizontal",i=e?e.getBoundingClientRect():null,o=t.getBoundingClientRect(),a=n?n.getBoundingClientRect():null,s=!1,l=!1;return i&&(s="vertical"===r?i.bottom+10>o.top:i.right+10>o.left),a&&(l="vertical"===r?o.bottom+10>a.top:o.right+10>a.left),s||l},E=function(){var e;xi.vF.logTraceCore("UI.SLIDER - removeLabelOverlap");for(var t=g?(null===(e=document.getElementById(g))||void 0===e?void 0:e.getElementsByClassName("MuiSlider-markLabel"))||[]:document.getElementsByClassName("MuiSlider-markLabel"),n=0;nt.length/2;u--)C(null,t[u],t[c])?t[u].classList.add("MuiSlider-markLabel-overlap"):(c=c-u!=1?u:c-1,a=u);if(i.push(o,a),i=(0,r.A)(new Set(i)).sort((function(e,t){return e-t})),t.length>2)for(var d=0,h=1;h{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,U.A)(n.color||n.severity)}`]]}})((0,d.A)((({theme:e})=>{const t="light"===e.palette.mode?te.e$:te.a,n="light"===e.palette.mode?te.a:te.e$;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter((([,e])=>e&&e.main&&e.light)).map((([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${Qp.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}}))),...Object.entries(e.palette).filter((([,e])=>e&&e.main&&e.light)).map((([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),border:`1px solid ${(e.vars||e).palette[n].light}`,[`& .${Qp.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}}))),...Object.entries(e.palette).filter((([,e])=>e&&e.main&&e.dark)).map((([t])=>({props:{colorSeverity:t,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${t}FilledColor`],backgroundColor:e.vars.palette.Alert[`${t}FilledBg`]}:{backgroundColor:"dark"===e.palette.mode?e.palette[t].dark:e.palette[t].main,color:e.palette.getContrastText(e.palette[t].main)}}})))]}}))),af=(0,u.Ay)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),sf=(0,u.Ay)("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),lf=(0,u.Ay)("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),cf={success:(0,k.jsx)(ef,{fontSize:"inherit"}),warning:(0,k.jsx)(tf,{fontSize:"inherit"}),error:(0,k.jsx)(nf,{fontSize:"inherit"}),info:(0,k.jsx)(rf,{fontSize:"inherit"})},uf=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiAlert"}),{action:r,children:i,className:o,closeText:a="Close",color:s,components:u={},componentsProps:d={},icon:p,iconMapping:f=cf,onClose:g,role:m="alert",severity:y="success",slotProps:v={},slots:b={},variant:w="standard",...A}=n,S={...n,color:s,severity:y,variant:w,colorSeverity:s||y},C=(e=>{const{variant:t,color:n,severity:r,classes:i}=e,o={root:["root",`color${(0,U.A)(n||r)}`,`${t}${(0,U.A)(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return(0,c.A)(o,Jp,i)})(S),E={slots:{closeButton:u.CloseButton,closeIcon:u.CloseIcon,...b},slotProps:{...d,...v}},[T,_]=x("closeButton",{elementType:ye.A,externalForwardedProps:E,ownerState:S}),[O,P]=x("closeIcon",{elementType:Le,externalForwardedProps:E,ownerState:S});return(0,k.jsxs)(of,{role:m,elevation:0,ownerState:S,className:(0,l.A)(C.root,o),ref:t,...A,children:[!1!==p?(0,k.jsx)(af,{ownerState:S,className:C.icon,children:p||f[y]||cf[y]}):null,(0,k.jsx)(sf,{ownerState:S,className:C.message,children:i}),null!=r?(0,k.jsx)(lf,{ownerState:S,className:C.action,children:r}):null,null==r&&g?(0,k.jsx)(lf,{ownerState:S,className:C.action,children:(0,k.jsx)(T,{size:"small","aria-label":a,title:a,color:"inherit",onClick:g,..._,children:(0,k.jsx)(O,{fontSize:"small",...P})})}):null]})}));var df=n(58494);const hf=function(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:i,resumeHideDuration:a}=e,s=(0,df.A)();o.useEffect((()=>{if(i)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){e.defaultPrevented||"Escape"===e.key&&r?.(e,"escapeKeyDown")}}),[i,r]);const l=(0,oe.A)(((e,t)=>{r?.(e,t)})),c=(0,oe.A)((e=>{r&&null!=e&&s.start(e,(()=>{l(null,"timeout")}))}));o.useEffect((()=>(i&&c(t),s.clear)),[i,t,c,s]);const u=s.clear,d=o.useCallback((()=>{null!=t&&c(null!=a?a:.5*t)}),[t,a,c]),h=e=>t=>{const n=e.onFocus;n?.(t),u()},p=e=>t=>{const n=e.onMouseEnter;n?.(t),u()},f=e=>t=>{const n=e.onMouseLeave;n?.(t),d()};return o.useEffect((()=>{if(!n&&i)return window.addEventListener("focus",d),window.addEventListener("blur",u),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",u)}}),[n,i,d,u]),{getRootProps:(t={})=>{const n={...(0,qr.A)(e),...(0,qr.A)(t)};return{role:"presentation",...t,...n,onBlur:(r=n,e=>{const t=r.onBlur;t?.(e),d()}),onFocus:h(n),onMouseEnter:p(n),onMouseLeave:f(n)};var r},onClickAway:e=>{r?.(e,"clickaway")}}};function pf(e){return(0,S.Ay)("MuiSnackbarContent",e)}(0,A.A)("MuiSnackbarContent",["root","message","action"]);const ff=(0,u.Ay)(f.A,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})((0,d.A)((({theme:e})=>{const t="light"===e.palette.mode?.8:.98,n=(0,te.tL)(e.palette.background.default,t);return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}}))),gf=(0,u.Ay)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),mf=(0,u.Ay)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),yf=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiSnackbarContent"}),{action:r,className:i,message:o,role:a="alert",...s}=n,u=n,d=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"],action:["action"],message:["message"]},pf,t)})(u);return(0,k.jsxs)(ff,{role:a,square:!0,elevation:6,className:(0,l.A)(d.root,i),ownerState:u,ref:t,...s,children:[(0,k.jsx)(gf,{className:d.message,ownerState:u,children:o}),r?(0,k.jsx)(mf,{className:d.action,ownerState:u,children:r}):null]})}));function vf(e){return(0,S.Ay)("MuiSnackbar",e)}(0,A.A)("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const bf=(0,u.Ay)("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${(0,U.A)(n.anchorOrigin.vertical)}${(0,U.A)(n.anchorOrigin.horizontal)}`]]}})((0,d.A)((({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical,style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:e})=>"top"!==e.anchorOrigin.vertical,style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:e})=>"left"===e.anchorOrigin.horizontal,style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:e})=>"right"===e.anchorOrigin.horizontal,style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:e})=>"center"===e.anchorOrigin.horizontal,style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]})))),wf=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiSnackbar"}),r=(0,St.A)(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{action:a,anchorOrigin:{vertical:s,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:u=null,children:d,className:p,ClickAwayListenerProps:f,ContentProps:g,disableWindowBlurListener:m=!1,message:y,onBlur:v,onClose:b,onFocus:w,onMouseEnter:x,onMouseLeave:A,open:S,resumeHideDuration:C,TransitionComponent:E=$t.A,transitionDuration:T=i,TransitionProps:{onEnter:_,onExited:O,...P}={},...I}=n,M={...n,anchorOrigin:{vertical:s,horizontal:l},autoHideDuration:u,disableWindowBlurListener:m,TransitionComponent:E,transitionDuration:T},L=(e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${(0,U.A)(n.vertical)}${(0,U.A)(n.horizontal)}`]};return(0,c.A)(r,vf,t)})(M),{getRootProps:R,onClickAway:j}=hf({...M}),[F,D]=o.useState(!0),N=(0,ht.A)({elementType:bf,getSlotProps:R,externalForwardedProps:I,ownerState:M,additionalProps:{ref:t},className:[L.root,p]});return!S&&F?null:(0,k.jsx)(Gt.x,{onClickAway:j,...f,children:(0,k.jsx)(bf,{...N,children:(0,k.jsx)(E,{appear:!0,in:S,timeout:T,direction:"top"===s?"down":"up",onEnter:(e,t)=>{D(!1),_&&_(e,t)},onExited:e=>{D(!0),O&&O(e)},...P,children:d||(0,k.jsx)(yf,{message:y,action:a,...g})})})})})),xf=wf;var Af=["snackBarId","open","message","type","button","onClose"];function Sf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cf(e){for(var t=1;t{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})({flex:"1 1 auto",variants:[{props:{orientation:"vertical"},style:{marginLeft:12}},{props:{alternativeLabel:!0},style:{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}}]}),Rf=(0,u.Ay)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.line,t[`line${(0,U.A)(n.orientation)}`]]}})((0,d.A)((({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600];return{display:"block",borderColor:e.vars?e.vars.palette.StepConnector.border:t,variants:[{props:{orientation:"horizontal"},style:{borderTopStyle:"solid",borderTopWidth:1}},{props:{orientation:"vertical"},style:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}]}}))),jf=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiStepConnector"}),{className:r,...i}=n,{alternativeLabel:a,orientation:s="horizontal"}=o.useContext(Of),{active:u,disabled:d,completed:p}=o.useContext(If),f={...n,alternativeLabel:a,orientation:s,active:u,completed:p,disabled:d},g=(e=>{const{classes:t,orientation:n,alternativeLabel:r,active:i,completed:o,disabled:a}=e,s={root:["root",n,r&&"alternativeLabel",i&&"active",o&&"completed",a&&"disabled"],line:["line",`line${(0,U.A)(n)}`]};return(0,c.A)(s,Mf,t)})(f);return(0,k.jsx)(Lf,{className:(0,l.A)(g.root,r),ref:t,ownerState:f,...i,children:(0,k.jsx)(Rf,{className:g.line,ownerState:f})})})),Ff=(0,u.Ay)("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.nonLinear&&t.nonLinear]}})({display:"flex",variants:[{props:{orientation:"horizontal"},style:{flexDirection:"row",alignItems:"center"}},{props:{orientation:"vertical"},style:{flexDirection:"column"}},{props:{alternativeLabel:!0},style:{alignItems:"flex-start"}}]}),Df=(0,k.jsx)(jf,{}),Nf=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiStepper"}),{activeStep:r=0,alternativeLabel:i=!1,children:a,className:s,component:u="div",connector:d=Df,nonLinear:p=!1,orientation:f="horizontal",...g}=n,m={...n,nonLinear:p,alternativeLabel:i,orientation:f,component:u},y=(e=>{const{orientation:t,nonLinear:n,alternativeLabel:r,classes:i}=e,o={root:["root",t,n&&"nonLinear",r&&"alternativeLabel"]};return(0,c.A)(o,Tf,i)})(m),v=o.Children.toArray(a).filter(Boolean),b=v.map(((e,t)=>o.cloneElement(e,{index:t,last:t+1===v.length,...e.props}))),w=o.useMemo((()=>({activeStep:r,alternativeLabel:i,connector:d,nonLinear:p,orientation:f})),[r,i,d,p,f]);return(0,k.jsx)(Of.Provider,{value:w,children:(0,k.jsx)(Ff,{as:u,ownerState:m,className:(0,l.A)(y.root,s),ref:t,...g,children:b})})})),Bf=Nf;function zf(e){return(0,S.Ay)("MuiStep",e)}(0,A.A)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);const Vf=(0,u.Ay)("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})({variants:[{props:{orientation:"horizontal"},style:{paddingLeft:8,paddingRight:8}},{props:{alternativeLabel:!0},style:{flex:1,position:"relative"}}]}),$f=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiStep"}),{active:r,children:i,className:a,component:s="div",completed:u,disabled:d,expanded:p=!1,index:f,last:g,...m}=n,{activeStep:y,connector:v,alternativeLabel:b,orientation:w,nonLinear:x}=o.useContext(Of);let[A=!1,S=!1,C=!1]=[r,u,d];y===f?A=void 0===r||r:!x&&y>f?S=void 0===u||u:!x&&y({index:f,last:g,expanded:p,icon:f+1,active:A,completed:S,disabled:C})),[f,g,p,A,S,C]),T={...n,active:A,orientation:w,alternativeLabel:b,completed:S,disabled:C,expanded:p,component:s},_=(e=>{const{classes:t,orientation:n,alternativeLabel:r,completed:i}=e,o={root:["root",n,r&&"alternativeLabel",i&&"completed"]};return(0,c.A)(o,zf,t)})(T),O=(0,k.jsxs)(Vf,{as:s,className:(0,l.A)(_.root,a),ref:t,ownerState:T,...m,children:[v&&b&&0!==f?v:null,i]});return(0,k.jsx)(If.Provider,{value:E,children:v&&!b&&0!==f?(0,k.jsxs)(o.Fragment,{children:[v,O]}):O})})),Gf=$f,Uf=(0,ve.A)((0,k.jsx)("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),Wf=(0,ve.A)((0,k.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");var qf=n(58025);function Hf(e){return(0,S.Ay)("MuiStepIcon",e)}const Yf=(0,A.A)("MuiStepIcon",["root","active","completed","error","text"]);var Kf;const Xf=(0,u.Ay)(qf.A,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((0,d.A)((({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${Yf.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${Yf.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${Yf.error}`]:{color:(e.vars||e).palette.error.main}})))),Zf=(0,u.Ay)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})((0,d.A)((({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily})))),Jf=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiStepIcon"}),{active:r=!1,className:i,completed:o=!1,error:a=!1,icon:s,...u}=n,d={...n,active:r,completed:o,error:a},p=(e=>{const{classes:t,active:n,completed:r,error:i}=e,o={root:["root",n&&"active",r&&"completed",i&&"error"],text:["text"]};return(0,c.A)(o,Hf,t)})(d);if("number"==typeof s||"string"==typeof s){const e=(0,l.A)(i,p.root);return a?(0,k.jsx)(Xf,{as:Wf,className:e,ref:t,ownerState:d,...u}):o?(0,k.jsx)(Xf,{as:Uf,className:e,ref:t,ownerState:d,...u}):(0,k.jsxs)(Xf,{className:e,ref:t,ownerState:d,...u,children:[Kf||(Kf=(0,k.jsx)("circle",{cx:"12",cy:"12",r:"12"})),(0,k.jsx)(Zf,{className:p.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:d,children:s})]})}return s}));function Qf(e){return(0,S.Ay)("MuiStepLabel",e)}const eg=(0,A.A)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),tg=(0,u.Ay)("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation]]}})({display:"flex",alignItems:"center",[`&.${eg.alternativeLabel}`]:{flexDirection:"column"},[`&.${eg.disabled}`]:{cursor:"default"},variants:[{props:{orientation:"vertical"},style:{textAlign:"left",padding:"8px 0"}}]}),ng=(0,u.Ay)("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})((0,d.A)((({theme:e})=>({...e.typography.body2,display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${eg.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${eg.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${eg.alternativeLabel}`]:{marginTop:16},[`&.${eg.error}`]:{color:(e.vars||e).palette.error.main}})))),rg=(0,u.Ay)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})({flexShrink:0,display:"flex",paddingRight:8,[`&.${eg.alternativeLabel}`]:{paddingRight:0}}),ig=(0,u.Ay)("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((0,d.A)((({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary,[`&.${eg.alternativeLabel}`]:{textAlign:"center"}})))),og=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiStepLabel"}),{children:r,className:i,componentsProps:a={},error:s=!1,icon:u,optional:d,slots:p={},slotProps:f={},StepIconComponent:g,StepIconProps:m,...y}=n,{alternativeLabel:v,orientation:b}=o.useContext(Of),{active:w,disabled:A,completed:S,icon:C}=o.useContext(If),E=u||C;let T=g;E&&!T&&(T=Jf);const _={...n,active:w,alternativeLabel:v,completed:S,disabled:A,error:s,orientation:b},O=(e=>{const{classes:t,orientation:n,active:r,completed:i,error:o,disabled:a,alternativeLabel:s}=e,l={root:["root",n,o&&"error",a&&"disabled",s&&"alternativeLabel"],label:["label",r&&"active",i&&"completed",o&&"error",a&&"disabled",s&&"alternativeLabel"],iconContainer:["iconContainer",r&&"active",i&&"completed",o&&"error",a&&"disabled",s&&"alternativeLabel"],labelContainer:["labelContainer",s&&"alternativeLabel"]};return(0,c.A)(l,Qf,t)})(_),P={slots:p,slotProps:{stepIcon:m,...a,...f}},[I,M]=x("label",{elementType:ng,externalForwardedProps:P,ownerState:_}),[L,R]=x("stepIcon",{elementType:T,externalForwardedProps:P,ownerState:_});return(0,k.jsxs)(tg,{className:(0,l.A)(O.root,i),ref:t,ownerState:_,...y,children:[E||L?(0,k.jsx)(rg,{className:O.iconContainer,ownerState:_,children:(0,k.jsx)(L,{completed:S,active:w,error:s,icon:E,...R})}):null,(0,k.jsxs)(ig,{className:O.labelContainer,ownerState:_,children:[r?(0,k.jsx)(I,{...M,className:(0,l.A)(O.label,M?.className),children:r}):null,d]})]})}));og&&(og.muiName="StepLabel");const ag=og;function sg(e){return(0,S.Ay)("MuiStepContent",e)}(0,A.A)("MuiStepContent",["root","last","transition"]);const lg=(0,u.Ay)("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.last&&t.last]}})((0,d.A)((({theme:e})=>({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:e.vars?`1px solid ${e.vars.palette.StepContent.border}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]}`,variants:[{props:{last:!0},style:{borderLeft:"none"}}]})))),cg=(0,u.Ay)(p.A,{name:"MuiStepContent",slot:"Transition",overridesResolver:(e,t)=>t.transition})({}),ug=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiStepContent"}),{children:r,className:i,TransitionComponent:a=p.A,transitionDuration:s="auto",TransitionProps:u,...d}=n,{orientation:f}=o.useContext(Of),{active:g,last:m,expanded:y}=o.useContext(If),v={...n,last:m},b=(e=>{const{classes:t,last:n}=e,r={root:["root",n&&"last"],transition:["transition"]};return(0,c.A)(r,sg,t)})(v);let w=s;return"auto"!==s||a.muiSupportAuto||(w=void 0),(0,k.jsx)(lg,{className:(0,l.A)(b.root,i),ref:t,ownerState:v,...d,children:(0,k.jsx)(cg,{as:a,in:g||y,className:b.transition,ownerState:v,timeout:w,unmountOnExit:!0,...u,children:r})})}));var dg=n(18747);function hg(e){return(0,S.Ay)("MuiStepButton",e)}const pg=(0,A.A)("MuiStepButton",["root","horizontal","vertical","touchRipple"]),fg=(0,u.Ay)(P.A,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${pg.touchRipple}`]:t.touchRipple},t.root,t[n.orientation]]}})({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box",[`& .${pg.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"},variants:[{props:{orientation:"vertical"},style:{justifyContent:"flex-start",padding:"8px",margin:"-8px"}}]}),gg=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiStepButton"}),{children:r,className:i,icon:a,optional:s,...u}=n,{disabled:d,active:p}=o.useContext(If),{orientation:f}=o.useContext(Of),g={...n,orientation:f},m=(e=>{const{classes:t,orientation:n}=e,r={root:["root",n],touchRipple:["touchRipple"]};return(0,c.A)(r,hg,t)})(g),y={icon:a,optional:s},v=(0,dg.A)(r,["StepLabel"])?o.cloneElement(r,y):(0,k.jsx)(ag,{...y,children:r});return(0,k.jsx)(fg,{focusRipple:!0,disabled:d,TouchRippleProps:{className:m.touchRipple},className:(0,l.A)(m.root,i),ref:t,ownerState:g,"aria-current":p?"step":void 0,...u,children:v})}));var mg=function(e){var t;return{stepperContainer:{padding:15,width:500,minWidth:150,border:"0.5px solid grey",flexWrap:"wrap","& .MuiSvgIcon-root.Mui-active":{color:"#90caf9"},"& .MuiSvgIcon-root.Mui-completed":{color:"#666666"}},actionContainer:{marginTop:20,width:"100%",display:"flex",flexWrap:"wrap",flexDirection:"row",justifyContent:"space-between","&>*:first-child":{width:"100%",marginBottom:8},"& > button":{width:"30%"},"& > button > *":{textAlign:"center"}},disabledButton:{color:"".concat(null===(t=e.palette.geoViewColor)||void 0===t?void 0:t.primary.contrastText,"!important")}}},yg=["className","style","stepperId","orientation","alternativeLabel","nonLinear","buttonedLabels","steps","backButtonText","nextButtonText","resetButtonText"];function vg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bg(e){for(var t=1;t{const{ownerState:n}=e;return[{[`& .${Og.label}`]:t.label},t.root,t[`labelPlacement${(0,U.A)(n.labelPlacement)}`]]}})((0,d.A)((({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Og.disabled}`]:{cursor:"default"},[`& .${Og.label}`]:{[`&.${Og.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:e})=>"start"===e||"top"===e||"bottom"===e,style:{marginLeft:16}}]})))),Ig=(0,u.Ay)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((0,d.A)((({theme:e})=>({[`&.${Og.error}`]:{color:(e.vars||e).palette.error.main}})))),Mg=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiFormControlLabel"}),{checked:r,className:i,componentsProps:a={},control:s,disabled:u,disableTypography:d,inputRef:p,label:f,labelPlacement:g="end",name:m,onChange:y,required:v,slots:b={},slotProps:w={},value:A,...S}=n,C=(0,Zh.A)(),E=u??s.props.disabled??C?.disabled,T=v??s.props.required,_={disabled:E,required:T};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===s.props[e]&&void 0!==n[e]&&(_[e]=n[e])}));const O=(0,Xh.A)({props:n,muiFormControl:C,states:["error"]}),P={...n,disabled:E,labelPlacement:g,required:T,error:O.error},I=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:i,required:o}=e,a={root:["root",n&&"disabled",`labelPlacement${(0,U.A)(r)}`,i&&"error",o&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",i&&"error"]};return(0,c.A)(a,_g,t)})(P),M={slots:b,slotProps:{...a,...w}},[L,R]=x("typography",{elementType:In.A,externalForwardedProps:M,ownerState:P});let j=f;return null==j||j.type===In.A||d||(j=(0,k.jsx)(L,{component:"span",...R,className:(0,l.A)(I.label,R?.className),children:j})),(0,k.jsxs)(Pg,{className:(0,l.A)(I.root,i),ownerState:P,ref:t,...S,children:[o.cloneElement(s,_),T?(0,k.jsxs)("div",{children:[j,(0,k.jsxs)(Ig,{ownerState:P,"aria-hidden":!0,className:I.asterisk,children:[" ","*"]})]}):j]})})),Lg=Mg;var Rg=n(24417),jg=function(e){var t;return{formControl:{width:"100%",marginRight:"5px",marginLeft:"5px","& .MuiSwitch-switchBase.Mui-focusVisible":{color:e.palette.primary.contrastText,background:null===(t=e.palette.geoViewColor)||void 0===t?void 0:t.primary.light},"& .MuiFormControlLabel-label":{fontSize:e.palette.geoViewFontSize.default,color:"inherit",whiteSpace:"nowrap"}}}},Fg=["title"];function Dg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ng(e){for(var t=1;t{t.setState((t=>({...t,[e]:zg(n,t[e])})))}}function $g(e){return e instanceof Function}function Gg(e,t){const n=[],r=e=>{e.forEach((e=>{n.push(e);const i=t(e);null!=i&&i.length&&r(i)}))};return r(e),n}function Ug(e,t,n){let r,i=[];return o=>{let a;n.key&&n.debug&&(a=Date.now());const s=e(o),l=s.length!==i.length||s.some(((e,t)=>i[t]!==e));if(!l)return r;let c;if(i=s,n.key&&n.debug&&(c=Date.now()),r=t(...s),null==n||null==n.onChange||n.onChange(r),n.key&&n.debug&&null!=n&&n.debug()){const e=Math.round(100*(Date.now()-a))/100,t=Math.round(100*(Date.now()-c))/100,r=t/16,i=(e,t)=>{for(e=String(e);e.length{var n;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},key:!1,onChange:r}}const qg="debugHeaders";function Hg(e,t,n){var r;let i={id:null!=(r=n.id)?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const e=[],t=n=>{n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(t),e.push(n)};return t(i),e},getContext:()=>({table:e,header:i,column:t})};return e._features.forEach((t=>{null==t.createHeader||t.createHeader(i,e)})),i}const Yg={createTable:e=>{e.getHeaderGroups=Ug((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,i)=>{var o,a;const s=null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[],l=null!=(a=null==i?void 0:i.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?a:[];return Kg(t,[...s,...n.filter((e=>!(null!=r&&r.includes(e.id)||null!=i&&i.includes(e.id)))),...l],e)}),Wg(e.options,qg)),e.getCenterHeaderGroups=Ug((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,i)=>Kg(t,n=n.filter((e=>!(null!=r&&r.includes(e.id)||null!=i&&i.includes(e.id)))),e,"center")),Wg(e.options,qg)),e.getLeftHeaderGroups=Ug((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,n,r)=>{var i;return Kg(t,null!=(i=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?i:[],e,"left")}),Wg(e.options,qg)),e.getRightHeaderGroups=Ug((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,n,r)=>{var i;return Kg(t,null!=(i=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?i:[],e,"right")}),Wg(e.options,qg)),e.getFooterGroups=Ug((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),Wg(e.options,qg)),e.getLeftFooterGroups=Ug((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),Wg(e.options,qg)),e.getCenterFooterGroups=Ug((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),Wg(e.options,qg)),e.getRightFooterGroups=Ug((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),Wg(e.options,qg)),e.getFlatHeaders=Ug((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Wg(e.options,qg)),e.getLeftFlatHeaders=Ug((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Wg(e.options,qg)),e.getCenterFlatHeaders=Ug((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Wg(e.options,qg)),e.getRightFlatHeaders=Ug((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Wg(e.options,qg)),e.getCenterLeafHeaders=Ug((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Wg(e.options,qg)),e.getLeftLeafHeaders=Ug((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Wg(e.options,qg)),e.getRightLeafHeaders=Ug((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Wg(e.options,qg)),e.getLeafHeaders=Ug((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,n)=>{var r,i,o,a,s,l;return[...null!=(r=null==(i=e[0])?void 0:i.headers)?r:[],...null!=(o=null==(a=t[0])?void 0:a.headers)?o:[],...null!=(s=null==(l=n[0])?void 0:l.headers)?s:[]].map((e=>e.getLeafHeaders())).flat()}),Wg(e.options,qg))}};function Kg(e,t,n,r){var i,o;let a=0;const s=function(e,t){void 0===t&&(t=1),a=Math.max(a,t),e.filter((e=>e.getIsVisible())).forEach((e=>{var n;null!=(n=e.columns)&&n.length&&s(e.columns,t+1)}),0)};s(e);let l=[];const c=(e,t)=>{const i={depth:t,id:[r,`${t}`].filter(Boolean).join("_"),headers:[]},o=[];e.forEach((e=>{const a=[...o].reverse()[0];let s,l=!1;if(e.column.depth===i.depth&&e.column.parent?s=e.column.parent:(s=e.column,l=!0),a&&(null==a?void 0:a.column)===s)a.subHeaders.push(e);else{const i=Hg(n,s,{id:[r,t,s.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:l,placeholderId:l?`${o.filter((e=>e.column===s)).length}`:void 0,depth:t,index:o.length});i.subHeaders.push(e),o.push(i)}i.headers.push(e),e.headerGroup=i})),l.push(i),t>0&&c(o,t-1)},u=t.map(((e,t)=>Hg(n,e,{depth:a,index:t})));c(u,a-1),l.reverse();const d=e=>e.filter((e=>e.column.getIsVisible())).map((e=>{let t=0,n=0,r=[0];e.subHeaders&&e.subHeaders.length?(r=[],d(e.subHeaders).forEach((e=>{let{colSpan:n,rowSpan:i}=e;t+=n,r.push(i)}))):t=1;return n+=Math.min(...r),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}}));return d(null!=(i=null==(o=l[0])?void 0:o.headers)?i:[]),l}const Xg=(e,t,n,r,i,o,a)=>{let s={id:t,index:r,original:n,depth:i,parentId:a,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(s._valuesCache.hasOwnProperty(t))return s._valuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?(s._valuesCache[t]=n.accessorFn(s.original,r),s._valuesCache[t]):void 0},getUniqueValues:t=>{if(s._uniqueValuesCache.hasOwnProperty(t))return s._uniqueValuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?n.columnDef.getUniqueValues?(s._uniqueValuesCache[t]=n.columnDef.getUniqueValues(s.original,r),s._uniqueValuesCache[t]):(s._uniqueValuesCache[t]=[s.getValue(t)],s._uniqueValuesCache[t]):void 0},renderValue:t=>{var n;return null!=(n=s.getValue(t))?n:e.options.renderFallbackValue},subRows:null!=o?o:[],getLeafRows:()=>Gg(s.subRows,(e=>e.subRows)),getParentRow:()=>s.parentId?e.getRow(s.parentId,!0):void 0,getParentRows:()=>{let e=[],t=s;for(;;){const n=t.getParentRow();if(!n)break;e.push(n),t=n}return e.reverse()},getAllCells:Ug((()=>[e.getAllLeafColumns()]),(t=>t.map((t=>function(e,t,n,r){const i={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:()=>{var t;return null!=(t=i.getValue())?t:e.options.renderFallbackValue},getContext:Ug((()=>[e,n,t,i]),((e,t,n,r)=>({table:e,column:t,row:n,cell:r,getValue:r.getValue,renderValue:r.renderValue})),Wg(e.options,"debugCells"))};return e._features.forEach((r=>{null==r.createCell||r.createCell(i,n,t,e)}),{}),i}(e,s,t,t.id)))),Wg(e.options,"debugRows")),_getAllCellsByColumnId:Ug((()=>[s.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),Wg(e.options,"debugRows"))};for(let t=0;t{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},Jg=(e,t,n)=>{var r,i;const o=null==n||null==(r=n.toString())?void 0:r.toLowerCase();return Boolean(null==(i=e.getValue(t))||null==(i=i.toString())||null==(i=i.toLowerCase())?void 0:i.includes(o))};Jg.autoRemove=e=>lm(e);const Qg=(e,t,n)=>{var r;return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.includes(n))};Qg.autoRemove=e=>lm(e);const em=(e,t,n)=>{var r;return(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.toLowerCase())===(null==n?void 0:n.toLowerCase())};em.autoRemove=e=>lm(e);const tm=(e,t,n)=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)};tm.autoRemove=e=>lm(e)||!(null!=e&&e.length);const nm=(e,t,n)=>!n.some((n=>{var r;return!(null!=(r=e.getValue(t))&&r.includes(n))}));nm.autoRemove=e=>lm(e)||!(null!=e&&e.length);const rm=(e,t,n)=>n.some((n=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)}));rm.autoRemove=e=>lm(e)||!(null!=e&&e.length);const im=(e,t,n)=>e.getValue(t)===n;im.autoRemove=e=>lm(e);const om=(e,t,n)=>e.getValue(t)==n;om.autoRemove=e=>lm(e);const am=(e,t,n)=>{let[r,i]=n;const o=e.getValue(t);return o>=r&&o<=i};am.resolveFilterValue=e=>{let[t,n]=e,r="number"!=typeof t?parseFloat(t):t,i="number"!=typeof n?parseFloat(n):n,o=null===t||Number.isNaN(r)?-1/0:r,a=null===n||Number.isNaN(i)?1/0:i;if(o>a){const e=o;o=a,a=e}return[o,a]},am.autoRemove=e=>lm(e)||lm(e[0])&&lm(e[1]);const sm={includesString:Jg,includesStringSensitive:Qg,equalsString:em,arrIncludes:tm,arrIncludesAll:nm,arrIncludesSome:rm,equals:im,weakEquals:om,inNumberRange:am};function lm(e){return null==e||""===e}const cm={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:Vg("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"string"==typeof r?sm.includesString:"number"==typeof r?sm.inNumberRange:"boolean"==typeof r||null!==r&&"object"==typeof r?sm.equals:Array.isArray(r)?sm.arrIncludes:sm.weakEquals},e.getFilterFn=()=>{var n,r;return $g(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(r=t.options.filterFns)?void 0:r[e.columnDef.filterFn])?n:sm[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,i;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(r=t.options.enableColumnFilters)||r)&&(null==(i=t.options.enableFilters)||i)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return null==(n=t.getState().columnFilters)||null==(n=n.find((t=>t.id===e.id)))?void 0:n.value},e.getFilterIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().columnFilters)?void 0:r.findIndex((t=>t.id===e.id)))?n:-1},e.setFilterValue=n=>{t.setColumnFilters((t=>{const r=e.getFilterFn(),i=null==t?void 0:t.find((t=>t.id===e.id)),o=zg(n,i?i.value:void 0);var a;if(um(r,o,e))return null!=(a=null==t?void 0:t.filter((t=>t.id!==e.id)))?a:[];const s={id:e.id,value:o};var l;return i?null!=(l=null==t?void 0:t.map((t=>t.id===e.id?s:t)))?l:[]:null!=t&&t.length?[...t,s]:[s]}))}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange((e=>{var r;return null==(r=zg(t,e))?void 0:r.filter((e=>{const t=n.find((t=>t.id===e.id));if(t){if(um(t.getFilterFn(),e.value,t))return!1}return!0}))}))},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.columnFilters)?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function um(e,t,n){return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}const dm={sum:(e,t,n)=>n.reduce(((t,n)=>{const r=n.getValue(e);return t+("number"==typeof r?r:0)}),0),min:(e,t,n)=>{let r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(r>n||void 0===r&&n>=n)&&(r=n)})),r},max:(e,t,n)=>{let r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(r=n)&&(r=n)})),r},extent:(e,t,n)=>{let r,i;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(void 0===r?n>=n&&(r=i=n):(r>n&&(r=n),i{let n=0,r=0;if(t.forEach((t=>{let i=t.getValue(e);null!=i&&(i=+i)>=i&&(++n,r+=i)})),n)return r/n},median:(e,t)=>{if(!t.length)return;const n=t.map((t=>t.getValue(e)));if(r=n,!Array.isArray(r)||!r.every((e=>"number"==typeof e)))return;var r;if(1===n.length)return n[0];const i=Math.floor(n.length/2),o=n.sort(((e,t)=>e-t));return n.length%2!=0?o[i]:(o[i-1]+o[i])/2},unique:(e,t)=>Array.from(new Set(t.map((t=>t.getValue(e)))).values()),uniqueCount:(e,t)=>new Set(t.map((t=>t.getValue(e)))).size,count:(e,t)=>t.length},hm={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return null!=(t=null==(n=e.getValue())||null==n.toString?void 0:n.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:Vg("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?t:[],e.id]))},e.getCanGroup=()=>{var n,r;return(null==(n=e.columnDef.enableGrouping)||n)&&(null==(r=t.options.enableGrouping)||r)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"number"==typeof r?dm.sum:"[object Date]"===Object.prototype.toString.call(r)?dm.extent:void 0},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return $g(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(r=t.options.aggregationFns)?void 0:r[e.columnDef.aggregationFn])?n:dm[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.grouping)?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const r=t.getColumn(n);return null!=r&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(t=n.subRows)||!t.length)}}};const pm={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Vg("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=Ug((e=>[bm(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),Wg(t.options,"debugColumns")),e.getIsFirstColumn=n=>{var r;return(null==(r=bm(t,n)[0])?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;const i=bm(t,n);return(null==(r=i[i.length-1])?void 0:r.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:null!=(n=e.initialState.columnOrder)?n:[])},e._getOrderColumnsFn=Ug((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,t,n)=>r=>{let i=[];if(null!=e&&e.length){const t=[...e],n=[...r];for(;n.length&&t.length;){const e=t.shift(),r=n.findIndex((t=>t.id===e));r>-1&&i.push(n.splice(r,1)[0])}i=[...i,...n]}else i=r;return function(e,t,n){if(null==t||!t.length||!n)return e;const r=e.filter((e=>!t.includes(e.id)));return"remove"===n?r:[...t.map((t=>e.find((e=>e.id===t)))).filter(Boolean),...r]}(i,t,n)}),Wg(e.options,"debugTable"))}},fm={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:Vg("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map((e=>e.id)).filter(Boolean);t.setColumnPinning((e=>{var t,i,o,a,s,l;return"right"===n?{left:(null!=(o=null==e?void 0:e.left)?o:[]).filter((e=>!(null!=r&&r.includes(e)))),right:[...(null!=(a=null==e?void 0:e.right)?a:[]).filter((e=>!(null!=r&&r.includes(e)))),...r]}:"left"===n?{left:[...(null!=(s=null==e?void 0:e.left)?s:[]).filter((e=>!(null!=r&&r.includes(e)))),...r],right:(null!=(l=null==e?void 0:e.right)?l:[]).filter((e=>!(null!=r&&r.includes(e))))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter((e=>!(null!=r&&r.includes(e)))),right:(null!=(i=null==e?void 0:e.right)?i:[]).filter((e=>!(null!=r&&r.includes(e))))}}))},e.getCanPin=()=>e.getLeafColumns().some((e=>{var n,r,i;return(null==(n=e.columnDef.enablePinning)||n)&&(null==(r=null!=(i=t.options.enableColumnPinning)?i:t.options.enablePinning)||r)})),e.getIsPinned=()=>{const n=e.getLeafColumns().map((e=>e.id)),{left:r,right:i}=t.getState().columnPinning,o=n.some((e=>null==r?void 0:r.includes(e))),a=n.some((e=>null==i?void 0:i.includes(e)));return o?"left":!!a&&"right"},e.getPinnedIndex=()=>{var n,r;const i=e.getIsPinned();return i?null!=(n=null==(r=t.getState().columnPinning)||null==(r=r[i])?void 0:r.indexOf(e.id))?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=Ug((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!r.includes(e.column.id)))}),Wg(t.options,"debugRows")),e.getLeftVisibleCells=Ug((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"left"})))),Wg(t.options,"debugRows")),e.getRightVisibleCells=Ug((()=>[e._getAllVisibleCells(),t.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"right"})))),Wg(t.options,"debugRows"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?{left:[],right:[]}:null!=(n=null==(r=e.initialState)?void 0:r.columnPinning)?n:{left:[],right:[]})},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;var i,o;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(i=r.left)?void 0:i.length)||(null==(o=r.right)?void 0:o.length))},e.getLeftLeafColumns=Ug((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),Wg(e.options,"debugColumns")),e.getRightLeafColumns=Ug((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),Wg(e.options,"debugColumns")),e.getCenterLeafColumns=Ug((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!r.includes(e.id)))}),Wg(e.options,"debugColumns"))}},gm={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},mm={getDefaultColumnDef:()=>gm,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:Vg("columnSizing",e),onColumnSizingInfoChange:Vg("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,i;const o=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:gm.minSize,null!=(r=null!=o?o:e.columnDef.size)?r:gm.size),null!=(i=e.columnDef.maxSize)?i:gm.maxSize)},e.getStart=Ug((e=>[e,bm(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),Wg(t.options,"debugColumns")),e.getAfter=Ug((e=>[e,bm(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),Wg(t.options,"debugColumns")),e.resetSize=()=>{t.setColumnSizing((t=>{let{[e.id]:n,...r}=t;return r}))},e.getCanResize=()=>{var n,r;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(r=t.options.enableColumnResizing)||r)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0;const n=e=>{var r;e.subHeaders.length?e.subHeaders.forEach(n):t+=null!=(r=e.column.getSize())?r:0};return n(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=n=>{const r=t.getColumn(e.column.id),i=null==r?void 0:r.getCanResize();return o=>{if(!r||!i)return;if(null==o.persist||o.persist(),vm(o)&&o.touches&&o.touches.length>1)return;const a=e.getSize(),s=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[r.id,r.getSize()]],l=vm(o)?Math.round(o.touches[0].clientX):o.clientX,c={},u=(e,n)=>{"number"==typeof n&&(t.setColumnSizingInfo((e=>{var r,i;const o="rtl"===t.options.columnResizeDirection?-1:1,a=(n-(null!=(r=null==e?void 0:e.startOffset)?r:0))*o,s=Math.max(a/(null!=(i=null==e?void 0:e.startSize)?i:0),-.999999);return e.columnSizingStart.forEach((e=>{let[t,n]=e;c[t]=Math.round(100*Math.max(n+n*s,0))/100})),{...e,deltaOffset:a,deltaPercentage:s}})),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing((e=>({...e,...c}))))},d=e=>u("move",e),h=e=>{u("end",e),t.setColumnSizingInfo((e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})))},p=n||"undefined"!=typeof document?document:null,f={moveHandler:e=>d(e.clientX),upHandler:e=>{null==p||p.removeEventListener("mousemove",f.moveHandler),null==p||p.removeEventListener("mouseup",f.upHandler),h(e.clientX)}},g={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),d(e.touches[0].clientX),!1),upHandler:e=>{var t;null==p||p.removeEventListener("touchmove",g.moveHandler),null==p||p.removeEventListener("touchend",g.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),h(null==(t=e.touches[0])?void 0:t.clientX)}},m=!!function(){if("boolean"==typeof ym)return ym;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch(t){e=!1}return ym=e,ym}()&&{passive:!1};vm(o)?(null==p||p.addEventListener("touchmove",g.moveHandler,m),null==p||p.addEventListener("touchend",g.upHandler,m)):(null==p||p.addEventListener("mousemove",f.moveHandler,m),null==p||p.addEventListener("mouseup",f.upHandler,m)),t.setColumnSizingInfo((e=>({...e,startOffset:l,startSize:a,deltaOffset:0,deltaPercentage:0,columnSizingStart:s,isResizingColumn:r.id})))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:null!=(n=e.initialState.columnSizing)?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}:null!=(n=e.initialState.columnSizingInfo)?n:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]})},e.getTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getLeftTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getLeftHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getCenterTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getCenterHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getRightTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getRightHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0}}};let ym=null;function vm(e){return"touchstart"===e.type}function bm(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const wm={getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:Vg("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,i;if(t){if(null!=(r=null!=(i=e.options.autoResetAll)?i:e.options.autoResetPageIndex)?r:!e.options.manualPagination){if(n)return;n=!0,e._queue((()=>{e.resetPageIndex(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>zg(t,e))),e.resetPagination=t=>{var n;e.setPagination(t?{pageIndex:0,pageSize:10}:null!=(n=e.initialState.pagination)?n:{pageIndex:0,pageSize:10})},e.setPageIndex=t=>{e.setPagination((n=>{let r=zg(t,n.pageIndex);const i=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return r=Math.max(0,Math.min(r,i)),{...n,pageIndex:r}}))},e.resetPageIndex=t=>{var n,r;e.setPageIndex(t?0:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageIndex)?n:0)},e.resetPageSize=t=>{var n,r;e.setPageSize(t?10:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageSize)?n:10)},e.setPageSize=t=>{e.setPagination((e=>{const n=Math.max(1,zg(t,e.pageSize)),r=e.pageSize*e.pageIndex,i=Math.floor(r/n);return{...e,pageIndex:i,pageSize:n}}))},e.setPageCount=t=>e.setPagination((n=>{var r;let i=zg(t,null!=(r=e.options.pageCount)?r:-1);return"number"==typeof i&&(i=Math.max(-1,i)),{...n,pageCount:i}})),e.getPageOptions=Ug((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),Wg(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:t}=e.getState().pagination,n=e.getPageCount();return-1===n||0!==n&&te.setPageIndex((e=>e-1)),e.nextPage=()=>e.setPageIndex((e=>e+1)),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},xm={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Vg("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:null!=(n=e.initialState.rowSelection)?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection((n=>{t=void 0!==t?t:!e.getIsAllRowsSelected();const r={...n},i=e.getPreGroupedRowModel().flatRows;return t?i.forEach((e=>{e.getCanSelect()&&(r[e.id]=!0)})):i.forEach((e=>{delete r[e.id]})),r}))},e.toggleAllPageRowsSelected=t=>e.setRowSelection((n=>{const r=void 0!==t?t:!e.getIsAllPageRowsSelected(),i={...n};return e.getRowModel().rows.forEach((t=>{Am(i,t.id,r,!0,e)})),i})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=Ug((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?Sm(e,n):{rows:[],flatRows:[],rowsById:{}}),Wg(e.options,"debugTable")),e.getFilteredSelectedRowModel=Ug((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?Sm(e,n):{rows:[],flatRows:[],rowsById:{}}),Wg(e.options,"debugTable")),e.getGroupedSelectedRowModel=Ug((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?Sm(e,n):{rows:[],flatRows:[],rowsById:{}}),Wg(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=Boolean(t.length&&Object.keys(n).length);return r&&t.some((e=>e.getCanSelect()&&!n[e.id]))&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter((e=>e.getCanSelect())),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some((e=>!n[e.id]))&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return n>0&&n{const t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter((e=>e.getCanSelect())).some((e=>e.getIsSelected()||e.getIsSomeSelected()))},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{const i=e.getIsSelected();t.setRowSelection((o=>{var a;if(n=void 0!==n?n:!i,e.getCanSelect()&&i===n)return o;const s={...o};return Am(s,e.id,n,null==(a=null==r?void 0:r.selectChildren)||a,t),s}))},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return Cm(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return"some"===Em(e,n)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return"all"===Em(e,n)},e.getCanSelect=()=>{var n;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(n=t.options.enableRowSelection)||n},e.getCanSelectSubRows=()=>{var n;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(n=t.options.enableSubRowSelection)||n},e.getCanMultiSelect=()=>{var n;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(n=t.options.enableMultiRowSelection)||n},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return n=>{var r;t&&e.toggleSelected(null==(r=n.target)?void 0:r.checked)}}}},Am=(e,t,n,r,i)=>{var o;const a=i.getRow(t,!0);n?(a.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),a.getCanSelect()&&(e[t]=!0)):delete e[t],r&&null!=(o=a.subRows)&&o.length&&a.getCanSelectSubRows()&&a.subRows.forEach((t=>Am(e,t.id,n,r,i)))};function Sm(e,t){const n=e.getState().rowSelection,r=[],i={},o=function(e,t){return e.map((e=>{var t;const a=Cm(e,n);if(a&&(r.push(e),i[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:o(e.subRows)}),a)return e})).filter(Boolean)};return{rows:o(t.rows),flatRows:r,rowsById:i}}function Cm(e,t){var n;return null!=(n=t[e.id])&&n}function Em(e,t,n){var r;if(null==(r=e.subRows)||!r.length)return!1;let i=!0,o=!1;return e.subRows.forEach((e=>{if((!o||i)&&(e.getCanSelect()&&(Cm(e,t)?o=!0:i=!1),e.subRows&&e.subRows.length)){const n=Em(e,t);"all"===n?o=!0:"some"===n?(o=!0,i=!1):i=!1}})),i?"all":!!o&&"some"}const km=/([0-9]+)/gm;function Tm(e,t){return e===t?0:e>t?1:-1}function _m(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function Om(e,t){const n=e.split(km).filter(Boolean),r=t.split(km).filter(Boolean);for(;n.length&&r.length;){const e=n.shift(),t=r.shift(),i=parseInt(e,10),o=parseInt(t,10),a=[i,o].sort();if(isNaN(a[0])){if(e>t)return 1;if(t>e)return-1}else{if(isNaN(a[1]))return isNaN(i)?-1:1;if(i>o)return 1;if(o>i)return-1}}return n.length-r.length}const Pm={alphanumeric:(e,t,n)=>Om(_m(e.getValue(n)).toLowerCase(),_m(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>Om(_m(e.getValue(n)),_m(t.getValue(n))),text:(e,t,n)=>Tm(_m(e.getValue(n)).toLowerCase(),_m(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>Tm(_m(e.getValue(n)),_m(t.getValue(n))),datetime:(e,t,n)=>{const r=e.getValue(n),i=t.getValue(n);return r>i?1:rTm(e.getValue(n),t.getValue(n))},Im=[Yg,{getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Vg("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility((t=>({...t,[e.id]:null!=n?n:!e.getIsVisible()})))},e.getIsVisible=()=>{var n,r;const i=e.columns;return null==(n=i.length?i.some((e=>e.getIsVisible())):null==(r=t.getState().columnVisibility)?void 0:r[e.id])||n},e.getCanHide=()=>{var n,r;return(null==(n=e.columnDef.enableHiding)||n)&&(null==(r=t.options.enableHiding)||r)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=Ug((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),Wg(t.options,"debugRows")),e.getVisibleCells=Ug((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),Wg(t.options,"debugRows"))},createTable:e=>{const t=(t,n)=>Ug((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),Wg(e.options,"debugColumns"));e.getVisibleFlatColumns=t(0,(()=>e.getAllFlatColumns())),e.getVisibleLeafColumns=t(0,(()=>e.getAllLeafColumns())),e.getLeftVisibleLeafColumns=t(0,(()=>e.getLeftLeafColumns())),e.getRightVisibleLeafColumns=t(0,(()=>e.getRightLeafColumns())),e.getCenterVisibleLeafColumns=t(0,(()=>e.getCenterLeafColumns())),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var n;e.setColumnVisibility(t?{}:null!=(n=e.initialState.columnVisibility)?n:{})},e.toggleAllColumnsVisible=t=>{var n;t=null!=(n=t)?n:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce(((e,n)=>({...e,[n.id]:t||!(null!=n.getCanHide&&n.getCanHide())})),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some((e=>!(null!=e.getIsVisible&&e.getIsVisible()))),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some((e=>null==e.getIsVisible?void 0:e.getIsVisible())),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var n;e.toggleAllColumnsVisible(null==(n=t.target)?void 0:n.checked)}}},pm,fm,Zg,cm,{createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},{getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:Vg("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue();return"string"==typeof r||"number"==typeof r}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,r,i,o;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(r=t.options.enableGlobalFilter)||r)&&(null==(i=t.options.enableFilters)||i)&&(null==(o=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||o)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>sm.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return $g(r)?r:"auto"===r?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[r])?t:sm[r]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},{getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:Vg("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const t of n){const n=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(n))return Pm.datetime;if("string"==typeof n&&(r=!0,n.split(km).length>1))return Pm.alphanumeric}return r?Pm.text:Pm.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==n?void 0:n.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw new Error;return $g(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(r=t.options.sortingFns)?void 0:r[e.columnDef.sortingFn])?n:Pm[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const i=e.getNextSortingOrder(),o=null!=n;t.setSorting((a=>{const s=null==a?void 0:a.find((t=>t.id===e.id)),l=null==a?void 0:a.findIndex((t=>t.id===e.id));let c,u=[],d=o?n:"desc"===i;var h;(c=null!=a&&a.length&&e.getCanMultiSort()&&r?s?"toggle":"add":null!=a&&a.length&&l!==a.length-1?"replace":s?"toggle":"replace","toggle"===c&&(o||i||(c="remove")),"add"===c)?(u=[...a,{id:e.id,desc:d}],u.splice(0,u.length-(null!=(h=t.options.maxMultiSortColCount)?h:Number.MAX_SAFE_INTEGER))):u="toggle"===c?a.map((t=>t.id===e.id?{...t,desc:d}:t)):"remove"===c?a.filter((t=>t.id!==e.id)):[{id:e.id,desc:d}];return u}))},e.getFirstSortDir=()=>{var n,r;return(null!=(n=null!=(r=e.columnDef.sortDescFirst)?r:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=n=>{var r,i;const o=e.getFirstSortDir(),a=e.getIsSorted();return a?!!(a===o||null!=(r=t.options.enableSortingRemoval)&&!r||n&&null!=(i=t.options.enableMultiRemove)&&!i)&&("desc"===a?"asc":"desc"):o},e.getCanSort=()=>{var n,r;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(r=t.options.enableSorting)||r)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return null!=(n=null!=(r=e.columnDef.enableMultiSort)?r:t.options.enableMultiSort)?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=null==(n=t.getState().sorting)?void 0:n.find((t=>t.id===e.id));return!!r&&(r.desc?"desc":"asc")},e.getSortIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().sorting)?void 0:r.findIndex((t=>t.id===e.id)))?n:-1},e.clearSorting=()=>{t.setSorting((t=>null!=t&&t.length?t.filter((t=>t.id!==e.id)):[]))},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return r=>{n&&(null==r.persist||r.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(r))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},hm,{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Vg("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,i;if(t){if(null!=(r=null!=(i=e.options.autoResetAll)?i:e.options.autoResetExpanded)?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue((()=>{e.resetExpanded(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var n,r;e.setExpanded(t?{}:null!=(n=null==(r=e.initialState)?void 0:r.expanded)?n:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some((e=>e.getCanExpand())),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{const t=e.getState().expanded;return"boolean"==typeof t?!0===t:!!Object.keys(t).length&&!e.getRowModel().flatRows.some((e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach((e=>{const n=e.split(".");t=Math.max(t,n.length)})),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded((r=>{var i;const o=!0===r||!(null==r||!r[e.id]);let a={};if(!0===r?Object.keys(t.getRowModel().rowsById).forEach((e=>{a[e]=!0})):a=r,n=null!=(i=n)?i:!o,!o&&n)return{...a,[e.id]:!0};if(o&&!n){const{[e.id]:t,...n}=a;return n}return r}))},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!(null!=(n=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?n:!0===r||(null==r?void 0:r[e.id]))},e.getCanExpand=()=>{var n,r,i;return null!=(n=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?n:(null==(r=t.options.enableExpanding)||r)&&!(null==(i=e.subRows)||!i.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},wm,{getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:Vg("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,r,i)=>{const o=r?e.getLeafRows().map((e=>{let{id:t}=e;return t})):[],a=i?e.getParentRows().map((e=>{let{id:t}=e;return t})):[],s=new Set([...a,e.id,...o]);t.setRowPinning((e=>{var t,r,i,o,a,l;return"bottom"===n?{top:(null!=(i=null==e?void 0:e.top)?i:[]).filter((e=>!(null!=s&&s.has(e)))),bottom:[...(null!=(o=null==e?void 0:e.bottom)?o:[]).filter((e=>!(null!=s&&s.has(e)))),...Array.from(s)]}:"top"===n?{top:[...(null!=(a=null==e?void 0:e.top)?a:[]).filter((e=>!(null!=s&&s.has(e)))),...Array.from(s)],bottom:(null!=(l=null==e?void 0:e.bottom)?l:[]).filter((e=>!(null!=s&&s.has(e))))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter((e=>!(null!=s&&s.has(e)))),bottom:(null!=(r=null==e?void 0:e.bottom)?r:[]).filter((e=>!(null!=s&&s.has(e))))}}))},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:i}=t.options;return"function"==typeof r?r(e):null==(n=null!=r?r:i)||n},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:i}=t.getState().rowPinning,o=n.some((e=>null==r?void 0:r.includes(e))),a=n.some((e=>null==i?void 0:i.includes(e)));return o?"top":!!a&&"bottom"},e.getPinnedIndex=()=>{var n,r;const i=e.getIsPinned();if(!i)return-1;const o=null==(n="top"===i?t.getTopRows():t.getBottomRows())?void 0:n.map((e=>{let{id:t}=e;return t}));return null!=(r=null==o?void 0:o.indexOf(e.id))?r:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?{top:[],bottom:[]}:null!=(n=null==(r=e.initialState)?void 0:r.rowPinning)?n:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;var i,o;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(i=r.top)?void 0:i.length)||(null==(o=r.bottom)?void 0:o.length))},e._getPinnedRows=(t,n,r)=>{var i;return(null==(i=e.options.keepPinnedRows)||i?(null!=n?n:[]).map((t=>{const n=e.getRow(t,!0);return n.getIsAllParentsExpanded()?n:null})):(null!=n?n:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({...e,position:r})))},e.getTopRows=Ug((()=>[e.getRowModel().rows,e.getState().rowPinning.top]),((t,n)=>e._getPinnedRows(t,n,"top")),Wg(e.options,"debugRows")),e.getBottomRows=Ug((()=>[e.getRowModel().rows,e.getState().rowPinning.bottom]),((t,n)=>e._getPinnedRows(t,n,"bottom")),Wg(e.options,"debugRows")),e.getCenterRows=Ug((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,n)=>{const r=new Set([...null!=t?t:[],...null!=n?n:[]]);return e.filter((e=>!r.has(e.id)))}),Wg(e.options,"debugRows"))}},xm,mm];function Mm(e){var t,n;const r=[...Im,...null!=(t=e._features)?t:[]];let i={_features:r};const o=i._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(i))),{});let a={...null!=(n=e.initialState)?n:{}};i._features.forEach((e=>{var t;a=null!=(t=null==e.getInitialState?void 0:e.getInitialState(a))?t:a}));const s=[];let l=!1;const c={_features:r,options:{...o,...e},initialState:a,_queue:e=>{s.push(e),l||(l=!0,Promise.resolve().then((()=>{for(;s.length;)s.shift()();l=!1})).catch((e=>setTimeout((()=>{throw e})))))},reset:()=>{i.setState(i.initialState)},setOptions:e=>{const t=zg(e,i.options);i.options=(e=>i.options.mergeOptions?i.options.mergeOptions(o,e):{...o,...e})(t)},getState:()=>i.options.state,setState:e=>{null==i.options.onStateChange||i.options.onStateChange(e)},_getRowId:(e,t,n)=>{var r;return null!=(r=null==i.options.getRowId?void 0:i.options.getRowId(e,t,n))?r:`${n?[n.id,t].join("."):t}`},getCoreRowModel:()=>(i._getCoreRowModel||(i._getCoreRowModel=i.options.getCoreRowModel(i)),i._getCoreRowModel()),getRowModel:()=>i.getPaginationRowModel(),getRow:(e,t)=>{let n=(t?i.getPrePaginationRowModel():i.getRowModel()).rowsById[e];if(!n&&(n=i.getCoreRowModel().rowsById[e],!n))throw new Error;return n},_getDefaultColumnDef:Ug((()=>[i.options.defaultColumn]),(e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{const t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,n;return null!=(t=null==(n=e.renderValue())||null==n.toString?void 0:n.toString())?t:null},...i._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())),{}),...e}}),Wg(e,"debugColumns")),_getColumnDefs:()=>i.options.columns,getAllColumns:Ug((()=>[i._getColumnDefs()]),(e=>{const t=function(e,n,r){return void 0===r&&(r=0),e.map((e=>{const o=function(e,t,n,r){var i,o;const a={...e._getDefaultColumnDef(),...t},s=a.accessorKey;let l,c=null!=(i=null!=(o=a.id)?o:s?"function"==typeof String.prototype.replaceAll?s.replaceAll(".","_"):s.replace(/\./g,"_"):void 0)?i:"string"==typeof a.header?a.header:void 0;if(a.accessorFn?l=a.accessorFn:s&&(l=s.includes(".")?e=>{let t=e;for(const e of s.split(".")){var n;t=null==(n=t)?void 0:n[e]}return t}:e=>e[a.accessorKey]),!c)throw new Error;let u={id:`${String(c)}`,accessorFn:l,parent:r,depth:n,columnDef:a,columns:[],getFlatColumns:Ug((()=>[!0]),(()=>{var e;return[u,...null==(e=u.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),Wg(e.options,"debugColumns")),getLeafColumns:Ug((()=>[e._getOrderColumnsFn()]),(e=>{var t;if(null!=(t=u.columns)&&t.length){let t=u.columns.flatMap((e=>e.getLeafColumns()));return e(t)}return[u]}),Wg(e.options,"debugColumns"))};for(const t of e._features)null==t.createColumn||t.createColumn(u,e);return u}(i,e,r,n),a=e;return o.columns=a.columns?t(a.columns,o,r+1):[],o}))};return t(e)}),Wg(e,"debugColumns")),getAllFlatColumns:Ug((()=>[i.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),Wg(e,"debugColumns")),_getAllFlatColumnsById:Ug((()=>[i.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),Wg(e,"debugColumns")),getAllLeafColumns:Ug((()=>[i.getAllColumns(),i._getOrderColumnsFn()]),((e,t)=>t(e.flatMap((e=>e.getLeafColumns())))),Wg(e,"debugColumns")),getColumn:e=>i._getAllFlatColumnsById()[e]};Object.assign(i,c);for(let e=0;e{var r;t.push(e),null!=(r=e.subRows)&&r.length&&e.getIsExpanded()&&e.subRows.forEach(n)};return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function Rm(e,t,n){return n.options.filterFromLeafRows?function(e,t,n){var r;const i=[],o={},a=null!=(r=n.options.maxLeafRowFilterDepth)?r:100,s=function(e,r){void 0===r&&(r=0);const l=[];for(let u=0;uUg((()=>[e.getState().grouping,e.getPreGroupedRowModel()]),((t,n)=>{if(!n.rows.length||!t.length)return n.rows.forEach((e=>{e.depth=0,e.parentId=void 0})),n;const r=t.filter((t=>e.getColumn(t))),i=[],o={},a=function(t,n,s){if(void 0===n&&(n=0),n>=r.length)return t.map((e=>(e.depth=n,i.push(e),o[e.id]=e,e.subRows&&(e.subRows=a(e.subRows,n+1,e.id)),e)));const l=r[n],c=function(e,t){const n=new Map;return e.reduce(((e,n)=>{const r=`${n.getGroupingValue(t)}`,i=e.get(r);return i?i.push(n):e.set(r,[n]),e}),n)}(t,l),u=Array.from(c.entries()).map(((t,c)=>{let[u,d]=t,h=`${l}:${u}`;h=s?`${s}>${h}`:h;const p=a(d,n+1,h);p.forEach((e=>{e.parentId=h}));const f=n?Gg(d,(e=>e.subRows)):d,g=Xg(e,h,f[0].original,c,n,void 0,s);return Object.assign(g,{groupingColumnId:l,groupingValue:u,subRows:p,leafRows:f,getValue:t=>{if(r.includes(t)){if(g._valuesCache.hasOwnProperty(t))return g._valuesCache[t];var n;if(d[0])g._valuesCache[t]=null!=(n=d[0].getValue(t))?n:void 0;return g._valuesCache[t]}if(g._groupingValuesCache.hasOwnProperty(t))return g._groupingValuesCache[t];const i=e.getColumn(t),o=null==i?void 0:i.getAggregationFn();return o?(g._groupingValuesCache[t]=o(t,f,d),g._groupingValuesCache[t]):void 0}}),p.forEach((e=>{i.push(e),o[e.id]=e})),g}));return u},s=a(n.rows,0);return s.forEach((e=>{i.push(e),o[e.id]=e})),{rows:s,flatRows:i,rowsById:o}}),Wg(e.options,"debugTable",0,(()=>{e._queue((()=>{e._autoResetExpanded(),e._autoResetPageIndex()}))})))} +`)),Uy=(0,h.Ay)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!1!==n.animation&&t[n.animation],n.hasChildren&&t.withChildren,n.hasChildren&&!n.width&&t.fitContent,n.hasChildren&&!n.height&&t.heightAuto]}})((({theme:e,ownerState:t})=>{const n=My(e.shape.borderRadius)||"px",r=Ly(e.shape.borderRadius);return(0,s.A)({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:(0,Ry.X4)(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em"},"text"===t.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${r}${n}/${Math.round(r/.6*10)/10}${n}`,"&:empty:before":{content:'"\\00a0"'}},"circular"===t.variant&&{borderRadius:"50%"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})}),(({ownerState:e})=>"pulse"===e.animation&&(0,wa.AH)(zy||(zy=Vy` + animation: ${0} 2s ease-in-out 0.5s infinite; + `),$y)),(({ownerState:e,theme:t})=>"wave"===e.animation&&(0,wa.AH)(By||(By=Vy` + position: relative; + overflow: hidden; + + /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */ + -webkit-mask-image: -webkit-radial-gradient(white, black); + + &::after { + animation: ${0} 2s linear 0.5s infinite; + background: linear-gradient( + 90deg, + transparent, + ${0}, + transparent + ); + content: ''; + position: absolute; + transform: translateX(-100%); /* Avoid flash during server-side hydration */ + bottom: 0; + left: 0; + right: 0; + top: 0; + } + `),Gy,(t.vars||t).palette.action.hover))),Wy=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiSkeleton"}),{animation:r="pulse",className:o,component:i="span",height:a,style:d,variant:h="text",width:p}=n,f=(0,l.A)(n,Fy),g=(0,s.A)({},n,{animation:r,component:i,variant:h,hasChildren:Boolean(f.children)}),m=(e=>{const{classes:t,variant:n,animation:r,hasChildren:o,width:i,height:a}=e,s={root:["root",n,r,o&&"withChildren",o&&!i&&"fitContent",o&&!a&&"heightAuto"]};return(0,u.A)(s,jy,t)})(g);return(0,F.jsx)(Uy,(0,s.A)({as:i,ref:t,className:(0,c.A)(m.root,o),ownerState:g},f,{style:(0,s.A)({width:p,height:a},d)}))})),qy=Wy;var Hy=["variant","width","height"];function Yy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ky(e){var t=e.variant,n=e.width,r=void 0===n?250:n,o=e.height,i=void 0===o?250:o,a=(0,Re.A)(e,Hy);return(0,F.jsx)(qy,function(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:"horizontal",o=e?e.getBoundingClientRect():null,i=t.getBoundingClientRect(),a=n?n.getBoundingClientRect():null,s=!1,l=!1;return o&&(s="vertical"===r?o.bottom+10>i.top:o.right+10>i.left),a&&(l="vertical"===r?i.bottom+10>a.top:i.right+10>a.left),s||l},E=function(){var e;Ps.vF.logTraceCore("UI.SLIDER - removeLabelOverlap");for(var t=g?(null===(e=document.getElementById(g))||void 0===e?void 0:e.getElementsByClassName("MuiSlider-markLabel"))||[]:document.getElementsByClassName("MuiSlider-markLabel"),n=0;nt.length/2;u--)C(null,t[u],t[c])?t[u].classList.add("MuiSlider-markLabel-overlap"):(c=c-u!=1?u:c-1,a=u);if(o.push(i,a),o=(0,r.A)(new Set(o)).sort((function(e,t){return e-t})),t.length>2)for(var d=0,h=1;h{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${(0,Ce.A)(n.color||n.severity)}`]]}})((({theme:e})=>{const t="light"===e.palette.mode?qe.e$:qe.a,n="light"===e.palette.mode?qe.a:qe.e$;return(0,s.A)({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter((([,e])=>e.main&&e.light)).map((([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${rv.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}}))),...Object.entries(e.palette).filter((([,e])=>e.main&&e.light)).map((([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),border:`1px solid ${(e.vars||e).palette[n].light}`,[`& .${rv.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}}))),...Object.entries(e.palette).filter((([,e])=>e.main&&e.dark)).map((([t])=>({props:{colorSeverity:t,variant:"filled"},style:(0,s.A)({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${t}FilledColor`],backgroundColor:e.vars.palette.Alert[`${t}FilledBg`]}:{backgroundColor:"dark"===e.palette.mode?e.palette[t].dark:e.palette[t].main,color:e.palette.getContrastText(e.palette[t].main)})})))]})})),dv=(0,h.Ay)("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),hv=(0,h.Ay)("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),pv=(0,h.Ay)("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),fv={success:(0,F.jsx)(ov,{fontSize:"inherit"}),warning:(0,F.jsx)(iv,{fontSize:"inherit"}),error:(0,F.jsx)(av,{fontSize:"inherit"}),info:(0,F.jsx)(sv,{fontSize:"inherit"})},gv=i.forwardRef((function(e,t){const n=cv({props:e,name:"MuiAlert"}),{action:r,children:o,className:i,closeText:a="Close",color:d,components:h={},componentsProps:p={},icon:f,iconMapping:g=fv,onClose:m,role:y="alert",severity:v="success",slotProps:b={},slots:w={},variant:A="standard"}=n,x=(0,l.A)(n,lv),S=(0,s.A)({},n,{color:d,severity:v,variant:A,colorSeverity:d||v}),C=(e=>{const{variant:t,color:n,severity:r,classes:o}=e,i={root:["root",`color${(0,Ce.A)(n||r)}`,`${t}${(0,Ce.A)(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]};return(0,u.A)(i,nv,o)})(S),E={slots:(0,s.A)({closeButton:h.CloseButton,closeIcon:h.CloseIcon},w),slotProps:(0,s.A)({},p,b)},[k,T]=Q("closeButton",{elementType:Vn,externalForwardedProps:E,ownerState:S}),[_,O]=Q("closeIcon",{elementType:rr,externalForwardedProps:E,ownerState:S});return(0,F.jsxs)(uv,(0,s.A)({role:y,elevation:0,ownerState:S,className:(0,c.A)(C.root,i),ref:t},x,{children:[!1!==f?(0,F.jsx)(dv,{ownerState:S,className:C.icon,children:f||g[v]||fv[v]}):null,(0,F.jsx)(hv,{ownerState:S,className:C.message,children:o}),null!=r?(0,F.jsx)(pv,{ownerState:S,className:C.action,children:r}):null,null==r&&m?(0,F.jsx)(pv,{ownerState:S,className:C.action,children:(0,F.jsx)(k,(0,s.A)({size:"small","aria-label":a,title:a,color:"inherit",onClick:m},T,{children:(0,F.jsx)(_,(0,s.A)({fontSize:"small"},O))}))}):null]}))}));function mv(e){return(0,R.Ay)("MuiSnackbarContent",e)}(0,L.A)("MuiSnackbarContent",["root","message","action"]);const yv=["action","className","message","role"],vv=(0,h.Ay)(G.A,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{const t="light"===e.palette.mode?.8:.98,n=(0,qe.tL)(e.palette.background.default,t);return(0,s.A)({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(n),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})})),bv=(0,h.Ay)("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),wv=(0,h.Ay)("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),Av=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiSnackbarContent"}),{action:r,className:o,message:i,role:a="alert"}=n,d=(0,l.A)(n,yv),h=n,p=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],action:["action"],message:["message"]},mv,t)})(h);return(0,F.jsxs)(vv,(0,s.A)({role:a,square:!0,elevation:6,className:(0,c.A)(p.root,o),ownerState:h,ref:t},d,{children:[(0,F.jsx)(bv,{className:p.message,ownerState:h,children:i}),r?(0,F.jsx)(wv,{className:p.action,ownerState:h,children:r}):null]}))}));function xv(e){return(0,R.Ay)("MuiSnackbar",e)}(0,L.A)("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const Sv=["onEnter","onExited"],Cv=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],Ev=(0,h.Ay)("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${(0,Ce.A)(n.anchorOrigin.vertical)}${(0,Ce.A)(n.anchorOrigin.horizontal)}`]]}})((({theme:e,ownerState:t})=>(0,s.A)({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===t.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===t.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===t.anchorOrigin.horizontal&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:(0,s.A)({},"top"===t.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===t.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===t.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===t.anchorOrigin.horizontal&&{right:24,left:"auto"})}))),kv=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiSnackbar"}),r=(0,I.A)(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{action:a,anchorOrigin:{vertical:c,horizontal:d}={vertical:"bottom",horizontal:"left"},autoHideDuration:h=null,children:p,className:f,ClickAwayListenerProps:g,ContentProps:m,disableWindowBlurListener:y=!1,message:v,open:b,TransitionComponent:w=ao,transitionDuration:A=o,TransitionProps:{onEnter:x,onExited:S}={}}=n,C=(0,l.A)(n.TransitionProps,Sv),E=(0,l.A)(n,Cv),_=(0,s.A)({},n,{anchorOrigin:{vertical:c,horizontal:d},autoHideDuration:h,disableWindowBlurListener:y,TransitionComponent:w,transitionDuration:A}),O=(e=>{const{classes:t,anchorOrigin:n}=e,r={root:["root",`anchorOrigin${(0,Ce.A)(n.vertical)}${(0,Ce.A)(n.horizontal)}`]};return(0,u.A)(r,xv,t)})(_),{getRootProps:P,onClickAway:M}=function(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:o,resumeHideDuration:a}=e,l=(0,k.A)();i.useEffect((()=>{if(o)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){e.defaultPrevented||"Escape"!==e.key&&"Esc"!==e.key||null==r||r(e,"escapeKeyDown")}}),[o,r]);const c=(0,ze.A)(((e,t)=>{null==r||r(e,t)})),u=(0,ze.A)((e=>{r&&null!=e&&l.start(e,(()=>{c(null,"timeout")}))}));i.useEffect((()=>(o&&u(t),l.clear)),[o,t,u,l]);const d=l.clear,h=i.useCallback((()=>{null!=t&&u(null!=a?a:.5*t)}),[t,a,u]),p=e=>t=>{const n=e.onFocus;null==n||n(t),d()},f=e=>t=>{const n=e.onMouseEnter;null==n||n(t),d()},g=e=>t=>{const n=e.onMouseLeave;null==n||n(t),h()};return i.useEffect((()=>{if(!n&&o)return window.addEventListener("focus",h),window.addEventListener("blur",d),()=>{window.removeEventListener("focus",h),window.removeEventListener("blur",d)}}),[n,o,h,d]),{getRootProps:(t={})=>{const n=(0,s.A)({},(0,Ua.h)(e),(0,Ua.h)(t));return(0,s.A)({role:"presentation"},t,n,{onBlur:(r=n,e=>{const t=r.onBlur;null==t||t(e),h()}),onFocus:p(n),onMouseEnter:f(n),onMouseLeave:g(n)});var r},onClickAway:e=>{null==r||r(e,"clickaway")}}}((0,s.A)({},_)),[L,R]=i.useState(!0),j=(0,mn.Q)({elementType:Ev,getSlotProps:P,externalForwardedProps:E,ownerState:_,additionalProps:{ref:t},className:[O.root,f]});return!b&&L?null:(0,F.jsx)(Bo.x,(0,s.A)({onClickAway:M},g,{children:(0,F.jsx)(Ev,(0,s.A)({},j,{children:(0,F.jsx)(w,(0,s.A)({appear:!0,in:b,timeout:A,direction:"top"===c?"down":"up",onEnter:(e,t)=>{R(!1),x&&x(e,t)},onExited:e=>{R(!0),S&&S(e)}},C,{children:p||(0,F.jsx)(Av,(0,s.A)({message:v,action:a},m))}))}))}))})),Tv=kv;function _v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Ov=(0,i.forwardRef)((function(e,t){return(0,F.jsx)(gv,function(e){for(var t=1;t{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})((({ownerState:e})=>(0,s.A)({flex:"1 1 auto"},"vertical"===e.orientation&&{marginLeft:12},e.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}))),zv=(0,h.Ay)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.line,t[`line${(0,Ce.A)(n.orientation)}`]]}})((({ownerState:e,theme:t})=>{const n="light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600];return(0,s.A)({display:"block",borderColor:t.vars?t.vars.palette.StepConnector.border:n},"horizontal"===e.orientation&&{borderTopStyle:"solid",borderTopWidth:1},"vertical"===e.orientation&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})})),Bv=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiStepConnector"}),{className:r}=n,o=(0,l.A)(n,Dv),{alternativeLabel:a,orientation:d="horizontal"}=i.useContext(Lv),{active:h,disabled:p,completed:f}=i.useContext(jv),g=(0,s.A)({},n,{alternativeLabel:a,orientation:d,active:h,completed:f,disabled:p}),m=(e=>{const{classes:t,orientation:n,alternativeLabel:r,active:o,completed:i,disabled:a}=e,s={root:["root",n,r&&"alternativeLabel",o&&"active",i&&"completed",a&&"disabled"],line:["line",`line${(0,Ce.A)(n)}`]};return(0,u.A)(s,Fv,t)})(g);return(0,F.jsx)(Nv,(0,s.A)({className:(0,c.A)(m.root,r),ref:t,ownerState:g},o,{children:(0,F.jsx)(zv,{className:m.line,ownerState:g})}))})),Vv=["activeStep","alternativeLabel","children","className","component","connector","nonLinear","orientation"],$v=(0,h.Ay)("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel]}})((({ownerState:e})=>(0,s.A)({display:"flex"},"horizontal"===e.orientation&&{flexDirection:"row",alignItems:"center"},"vertical"===e.orientation&&{flexDirection:"column"},e.alternativeLabel&&{alignItems:"flex-start"}))),Gv=(0,F.jsx)(Bv,{}),Uv=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiStepper"}),{activeStep:r=0,alternativeLabel:o=!1,children:a,className:d,component:h="div",connector:p=Gv,nonLinear:f=!1,orientation:g="horizontal"}=n,m=(0,l.A)(n,Vv),y=(0,s.A)({},n,{alternativeLabel:o,orientation:g,component:h}),v=(e=>{const{orientation:t,alternativeLabel:n,classes:r}=e,o={root:["root",t,n&&"alternativeLabel"]};return(0,u.A)(o,Iv,r)})(y),b=i.Children.toArray(a).filter(Boolean),w=b.map(((e,t)=>i.cloneElement(e,(0,s.A)({index:t,last:t+1===b.length},e.props)))),A=i.useMemo((()=>({activeStep:r,alternativeLabel:o,connector:p,nonLinear:f,orientation:g})),[r,o,p,f,g]);return(0,F.jsx)(Lv.Provider,{value:A,children:(0,F.jsx)($v,(0,s.A)({as:h,ownerState:y,className:(0,c.A)(v.root,d),ref:t},m,{children:w}))})})),Wv=Uv;function qv(e){return(0,R.Ay)("MuiStep",e)}(0,L.A)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);const Hv=["active","children","className","component","completed","disabled","expanded","index","last"],Yv=(0,h.Ay)("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.alternativeLabel&&t.alternativeLabel,n.completed&&t.completed]}})((({ownerState:e})=>(0,s.A)({},"horizontal"===e.orientation&&{paddingLeft:8,paddingRight:8},e.alternativeLabel&&{flex:1,position:"relative"}))),Kv=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiStep"}),{active:r,children:o,className:a,component:d="div",completed:h,disabled:p,expanded:f=!1,index:g,last:m}=n,y=(0,l.A)(n,Hv),{activeStep:v,connector:b,alternativeLabel:w,orientation:A,nonLinear:x}=i.useContext(Lv);let[S=!1,C=!1,E=!1]=[r,h,p];v===g?S=void 0===r||r:!x&&v>g?C=void 0===h||h:!x&&v({index:g,last:m,expanded:f,icon:g+1,active:S,completed:C,disabled:E})),[g,m,f,S,C,E]),_=(0,s.A)({},n,{active:S,orientation:A,alternativeLabel:w,completed:C,disabled:E,expanded:f,component:d}),O=(e=>{const{classes:t,orientation:n,alternativeLabel:r,completed:o}=e,i={root:["root",n,r&&"alternativeLabel",o&&"completed"]};return(0,u.A)(i,qv,t)})(_),P=(0,F.jsxs)(Yv,(0,s.A)({as:d,className:(0,c.A)(O.root,a),ref:t,ownerState:_},y,{children:[b&&w&&0!==g?b:null,o]}));return(0,F.jsx)(jv.Provider,{value:k,children:b&&!w&&0!==g?(0,F.jsxs)(i.Fragment,{children:[b,P]}):P})})),Xv=Kv,Zv=(0,$n.A)((0,F.jsx)("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),Jv=(0,$n.A)((0,F.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");var Qv=n(20114);function eb(e){return(0,R.Ay)("MuiStepIcon",e)}const tb=(0,L.A)("MuiStepIcon",["root","active","completed","error","text"]);var nb;const rb=["active","className","completed","error","icon"],ob=(0,h.Ay)(Qv.A,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${tb.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${tb.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${tb.error}`]:{color:(e.vars||e).palette.error.main}}))),ib=(0,h.Ay)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})((({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily}))),ab=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiStepIcon"}),{active:r=!1,className:o,completed:i=!1,error:a=!1,icon:d}=n,h=(0,l.A)(n,rb),p=(0,s.A)({},n,{active:r,completed:i,error:a}),f=(e=>{const{classes:t,active:n,completed:r,error:o}=e,i={root:["root",n&&"active",r&&"completed",o&&"error"],text:["text"]};return(0,u.A)(i,eb,t)})(p);if("number"==typeof d||"string"==typeof d){const e=(0,c.A)(o,f.root);return a?(0,F.jsx)(ob,(0,s.A)({as:Jv,className:e,ref:t,ownerState:p},h)):i?(0,F.jsx)(ob,(0,s.A)({as:Zv,className:e,ref:t,ownerState:p},h)):(0,F.jsxs)(ob,(0,s.A)({className:e,ref:t,ownerState:p},h,{children:[nb||(nb=(0,F.jsx)("circle",{cx:"12",cy:"12",r:"12"})),(0,F.jsx)(ib,{className:f.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:p,children:d})]}))}return d}));function sb(e){return(0,R.Ay)("MuiStepLabel",e)}const lb=(0,L.A)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),cb=["children","className","componentsProps","error","icon","optional","slotProps","StepIconComponent","StepIconProps"],ub=(0,h.Ay)("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation]]}})((({ownerState:e})=>(0,s.A)({display:"flex",alignItems:"center",[`&.${lb.alternativeLabel}`]:{flexDirection:"column"},[`&.${lb.disabled}`]:{cursor:"default"}},"vertical"===e.orientation&&{textAlign:"left",padding:"8px 0"}))),db=(0,h.Ay)("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})((({theme:e})=>(0,s.A)({},e.typography.body2,{display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${lb.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${lb.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${lb.alternativeLabel}`]:{marginTop:16},[`&.${lb.error}`]:{color:(e.vars||e).palette.error.main}}))),hb=(0,h.Ay)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})((()=>({flexShrink:0,display:"flex",paddingRight:8,[`&.${lb.alternativeLabel}`]:{paddingRight:0}}))),pb=(0,h.Ay)("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary,[`&.${lb.alternativeLabel}`]:{textAlign:"center"}}))),fb=i.forwardRef((function(e,t){var n;const r=(0,T.A)({props:e,name:"MuiStepLabel"}),{children:o,className:a,componentsProps:d={},error:h=!1,icon:p,optional:f,slotProps:g={},StepIconComponent:m,StepIconProps:y}=r,v=(0,l.A)(r,cb),{alternativeLabel:b,orientation:w}=i.useContext(Lv),{active:A,disabled:x,completed:S,icon:C}=i.useContext(jv),E=p||C;let k=m;E&&!k&&(k=ab);const _=(0,s.A)({},r,{active:A,alternativeLabel:b,completed:S,disabled:x,error:h,orientation:w}),O=(e=>{const{classes:t,orientation:n,active:r,completed:o,error:i,disabled:a,alternativeLabel:s}=e,l={root:["root",n,i&&"error",a&&"disabled",s&&"alternativeLabel"],label:["label",r&&"active",o&&"completed",i&&"error",a&&"disabled",s&&"alternativeLabel"],iconContainer:["iconContainer",r&&"active",o&&"completed",i&&"error",a&&"disabled",s&&"alternativeLabel"],labelContainer:["labelContainer",s&&"alternativeLabel"]};return(0,u.A)(l,sb,t)})(_),P=null!=(n=g.label)?n:d.label;return(0,F.jsxs)(ub,(0,s.A)({className:(0,c.A)(O.root,a),ref:t,ownerState:_},v,{children:[E||k?(0,F.jsx)(hb,{className:O.iconContainer,ownerState:_,children:(0,F.jsx)(k,(0,s.A)({completed:S,active:A,error:h,icon:E},y))}):null,(0,F.jsxs)(pb,{className:O.labelContainer,ownerState:_,children:[o?(0,F.jsx)(db,(0,s.A)({ownerState:_},P,{className:(0,c.A)(O.label,null==P?void 0:P.className),children:o})):null,f]})]}))}));fb.muiName="StepLabel";const gb=fb;function mb(e){return(0,R.Ay)("MuiStepContent",e)}(0,L.A)("MuiStepContent",["root","last","transition"]);const yb=["children","className","TransitionComponent","transitionDuration","TransitionProps"],vb=(0,h.Ay)("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.last&&t.last]}})((({ownerState:e,theme:t})=>(0,s.A)({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:t.vars?`1px solid ${t.vars.palette.StepContent.border}`:`1px solid ${"light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600]}`},e.last&&{borderLeft:"none"}))),bb=(0,h.Ay)($,{name:"MuiStepContent",slot:"Transition",overridesResolver:(e,t)=>t.transition})({}),wb=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiStepContent"}),{children:r,className:o,TransitionComponent:a=$,transitionDuration:d="auto",TransitionProps:h}=n,p=(0,l.A)(n,yb),{orientation:f}=i.useContext(Lv),{active:g,last:m,expanded:y}=i.useContext(jv),v=(0,s.A)({},n,{last:m}),b=(e=>{const{classes:t,last:n}=e,r={root:["root",n&&"last"],transition:["transition"]};return(0,u.A)(r,mb,t)})(v);let w=d;return"auto"!==d||a.muiSupportAuto||(w=void 0),(0,F.jsx)(vb,(0,s.A)({className:(0,c.A)(b.root,o),ref:t,ownerState:v},p,{children:(0,F.jsx)(bb,(0,s.A)({as:a,in:g||y,className:b.transition,ownerState:v,timeout:w,unmountOnExit:!0},h,{children:r}))}))}));function Ab(e){return(0,R.Ay)("MuiStepButton",e)}const xb=(0,L.A)("MuiStepButton",["root","horizontal","vertical","touchRipple"]),Sb=["children","className","icon","optional"],Cb=(0,h.Ay)(ae.A,{name:"MuiStepButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${xb.touchRipple}`]:t.touchRipple},t.root,t[n.orientation]]}})((({ownerState:e})=>(0,s.A)({width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},"vertical"===e.orientation&&{justifyContent:"flex-start",padding:"8px",margin:"-8px"},{[`& .${xb.touchRipple}`]:{color:"rgba(0, 0, 0, 0.3)"}}))),Eb=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiStepButton"}),{children:r,className:o,icon:a,optional:d}=n,h=(0,l.A)(n,Sb),{disabled:p,active:f}=i.useContext(jv),{orientation:g}=i.useContext(Lv),m=(0,s.A)({},n,{orientation:g}),y=(e=>{const{classes:t,orientation:n}=e,r={root:["root",n],touchRipple:["touchRipple"]};return(0,u.A)(r,Ab,t)})(m),v={icon:a,optional:d},b=(0,bd.A)(r,["StepLabel"])?i.cloneElement(r,v):(0,F.jsx)(gb,(0,s.A)({},v,{children:r}));return(0,F.jsx)(Cb,(0,s.A)({focusRipple:!0,disabled:p,TouchRippleProps:{className:y.touchRipple},className:(0,c.A)(y.root,o),ref:t,ownerState:m,"aria-current":f?"step":void 0},h,{children:b}))}));var kb=function(e){var t;return{stepperContainer:{padding:15,width:500,minWidth:150,border:"0.5px solid grey",flexWrap:"wrap","& .MuiSvgIcon-root.Mui-active":{color:"#90caf9"},"& .MuiSvgIcon-root.Mui-completed":{color:"#666666"}},actionContainer:{marginTop:20,width:"100%",display:"flex",flexWrap:"wrap",flexDirection:"row",justifyContent:"space-between","&>*:first-child":{width:"100%",marginBottom:8},"& > button":{width:"30%"},"& > button > *":{textAlign:"center"}},disabledButton:{color:"".concat(null===(t=e.palette.geoViewColor)||void 0===t?void 0:t.primary.contrastText,"!important")}}};function Tb(e){var t=e.className,n=e.style,r=e.stepperId,s=e.orientation,l=e.alternativeLabel,c=e.nonLinear,u=e.buttonedLabels,d=e.steps,h=e.backButtonText,p=e.nextButtonText,f=e.resetButtonText,g=(0,I.A)(),m=kb(g),y=(0,i.useState)(0),v=(0,o.A)(y,2),b=v[0],w=v[1],A=(0,i.useState)({}),x=(0,o.A)(A,2),S=x[0],C=x[1],E=(0,i.useState)(!1),k=(0,o.A)(E,2),T=k[0],_=k[1],O=function(){return d&&d.length},P=function(){return Object.keys(S).length},M=function(){return P()===O()},L=function(){if(c){var e=b!==O()-1||M()?b+1:d.findIndex((function(e,t){return!(t in S)}));M()&&e!==O()&&_(!0),c&&e===d.length&&_(!0),w(e)}c||w((function(e){return e+1})),c||b!==d.length-1||_(!0)},R=void 0!==s?s:"horizontal",j=d.findIndex((function(e){return e.disableStepMovement})),D=b===j;return(0,F.jsx)(a.A,{children:(0,F.jsxs)(Wv,{className:"".concat(m.stepperContainer," ").concat(t&&t),style:n||void 0,id:r||"",orientation:R,activeStep:b,alternativeLabel:"horizontal"===R&&(void 0===l||l),nonLinear:c||u||!1,children:[null==d?void 0:d.map((function(e,t){return(0,F.jsx)(Xv,{completed:c?S[t]:void 0,children:(0,F.jsxs)(F.Fragment,{children:[u||(0,F.jsx)(gb,{children:(0,F.jsx)(ji.A,{variant:"caption",children:e.label})}),"vertical"===s&&(0,F.jsx)(wb,{children:"string"==typeof e.description?(0,F.jsx)(am.S,{htmlContent:e.description}):e.description}),u&&(0,F.jsx)(Eb,{onClick:(n=t,function(){w(n)}),children:e.label})]})},e.label);var n})),(0,F.jsx)(a.A,{sx:m.actionContainer,children:(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(ji.A,{children:T?"Steps Completed":"Step ".concat(b+1)}),!T&&(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(zo,{type:"text",disabled:b<1,sx:b<1?m.disabledButton:{},onClick:function(){w((function(e){return e-1}))},children:h||"Back"}),(0,F.jsx)(zo,{type:"text",onClick:L,disabled:D,sx:D?m.disabledButton:{},children:p||"Next"}),c&&b!==d.length&&(S[b]?(0,F.jsxs)(ji.A,{variant:"caption",sx:{display:"inline-block"},children:["Step ",b+1," already completed"]}):(0,F.jsx)(zo,{type:"text",onClick:function(){var e=S;e[b]=!0,C(e),L()},children:P()===O()-1?"Finish":"Complete Step"}))]}),T&&(0,F.jsx)(zo,{type:"text",onClick:function(){w(0),C({}),_(!1)},children:f||"Reset"})]})})]})})}var _b=function(e){return{stepper:{color:e.palette.text.primary}}},Ob=["steps"];function Pb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ib(e){for(var t=1;t{const{ownerState:n}=e;return[{[`& .${Fb.label}`]:t.label},t.root,t[`labelPlacement${(0,Ce.A)(n.labelPlacement)}`]]}})((({theme:e,ownerState:t})=>(0,s.A)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${Fb.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${Fb.label}`]:{[`&.${Fb.disabled}`]:{color:(e.vars||e).palette.text.disabled}}}))),zb=(0,h.Ay)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((({theme:e})=>({[`&.${Fb.error}`]:{color:(e.vars||e).palette.error.main}}))),Bb=i.forwardRef((function(e,t){var n,r;const o=(0,T.A)({props:e,name:"MuiFormControlLabel"}),{className:a,componentsProps:d={},control:h,disabled:p,disableTypography:f,label:g,labelPlacement:m="end",required:y,slotProps:v={}}=o,b=(0,l.A)(o,Db),w=(0,Um.A)(),A=null!=(n=null!=p?p:h.props.disabled)?n:null==w?void 0:w.disabled,x=null!=y?y:h.props.required,S={disabled:A,required:x};["checked","name","onChange","value","inputRef"].forEach((e=>{void 0===h.props[e]&&void 0!==o[e]&&(S[e]=o[e])}));const C=(0,Gm.A)({props:o,muiFormControl:w,states:["error"]}),E=(0,s.A)({},o,{disabled:A,labelPlacement:m,required:x,error:C.error}),k=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:i}=e,a={root:["root",n&&"disabled",`labelPlacement${(0,Ce.A)(r)}`,o&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return(0,u.A)(a,jb,t)})(E),_=null!=(r=v.typography)?r:d.typography;let O=g;return null==O||O.type===ji.A||f||(O=(0,F.jsx)(ji.A,(0,s.A)({component:"span"},_,{className:(0,c.A)(k.label,null==_?void 0:_.className),children:O}))),(0,F.jsxs)(Nb,(0,s.A)({className:(0,c.A)(k.root,a),ownerState:E,ref:t},b,{children:[i.cloneElement(h,S),x?(0,F.jsxs)(Du,{display:"block",children:[O,(0,F.jsxs)(zb,{ownerState:E,"aria-hidden":!0,className:k.asterisk,children:[" ","*"]})]}):O]}))})),Vb=Bb;var $b=n(39126),Gb=function(e){var t;return{formControl:{width:"100%",marginRight:"5px",marginLeft:"5px","& .MuiSwitch-switchBase.Mui-focusVisible":{color:e.palette.primary.contrastText,background:null===(t=e.palette.geoViewColor)||void 0===t?void 0:t.primary.light},"& .MuiFormControlLabel-label":{fontSize:e.palette.geoViewFontSize.default,color:"inherit",whiteSpace:"nowrap"}}}},Ub=["title"];function Wb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qb(e){for(var t=1;t{t.setState((t=>({...t,[e]:Yb(n,t[e])})))}}function Xb(e){return e instanceof Function}function Zb(e,t){const n=[],r=e=>{e.forEach((e=>{n.push(e);const o=t(e);null!=o&&o.length&&r(o)}))};return r(e),n}function Jb(e,t,n){let r,o=[];return i=>{let a;n.key&&n.debug&&(a=Date.now());const s=e(i),l=s.length!==o.length||s.some(((e,t)=>o[t]!==e));if(!l)return r;let c;if(o=s,n.key&&n.debug&&(c=Date.now()),r=t(...s),null==n||null==n.onChange||n.onChange(r),n.key&&n.debug&&null!=n&&n.debug()){const e=Math.round(100*(Date.now()-a))/100,t=Math.round(100*(Date.now()-c))/100,r=t/16,o=(e,t)=>{for(e=String(e);e.length{var n;return null!=(n=null==e?void 0:e.debugAll)?n:e[t]},key:!1,onChange:r}}const ew="debugHeaders";function tw(e,t,n){var r;let o={id:null!=(r=n.id)?r:t.id,column:t,index:n.index,isPlaceholder:!!n.isPlaceholder,placeholderId:n.placeholderId,depth:n.depth,subHeaders:[],colSpan:0,rowSpan:0,headerGroup:null,getLeafHeaders:()=>{const e=[],t=n=>{n.subHeaders&&n.subHeaders.length&&n.subHeaders.map(t),e.push(n)};return t(o),e},getContext:()=>({table:e,header:o,column:t})};return e._features.forEach((t=>{null==t.createHeader||t.createHeader(o,e)})),o}const nw={createTable:e=>{e.getHeaderGroups=Jb((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,o)=>{var i,a;const s=null!=(i=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?i:[],l=null!=(a=null==o?void 0:o.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?a:[];return rw(t,[...s,...n.filter((e=>!(null!=r&&r.includes(e.id)||null!=o&&o.includes(e.id)))),...l],e)}),Qb(e.options,ew)),e.getCenterHeaderGroups=Jb((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((t,n,r,o)=>rw(t,n=n.filter((e=>!(null!=r&&r.includes(e.id)||null!=o&&o.includes(e.id)))),e,"center")),Qb(e.options,ew)),e.getLeftHeaderGroups=Jb((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.left]),((t,n,r)=>{var o;return rw(t,null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[],e,"left")}),Qb(e.options,ew)),e.getRightHeaderGroups=Jb((()=>[e.getAllColumns(),e.getVisibleLeafColumns(),e.getState().columnPinning.right]),((t,n,r)=>{var o;return rw(t,null!=(o=null==r?void 0:r.map((e=>n.find((t=>t.id===e)))).filter(Boolean))?o:[],e,"right")}),Qb(e.options,ew)),e.getFooterGroups=Jb((()=>[e.getHeaderGroups()]),(e=>[...e].reverse()),Qb(e.options,ew)),e.getLeftFooterGroups=Jb((()=>[e.getLeftHeaderGroups()]),(e=>[...e].reverse()),Qb(e.options,ew)),e.getCenterFooterGroups=Jb((()=>[e.getCenterHeaderGroups()]),(e=>[...e].reverse()),Qb(e.options,ew)),e.getRightFooterGroups=Jb((()=>[e.getRightHeaderGroups()]),(e=>[...e].reverse()),Qb(e.options,ew)),e.getFlatHeaders=Jb((()=>[e.getHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Qb(e.options,ew)),e.getLeftFlatHeaders=Jb((()=>[e.getLeftHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Qb(e.options,ew)),e.getCenterFlatHeaders=Jb((()=>[e.getCenterHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Qb(e.options,ew)),e.getRightFlatHeaders=Jb((()=>[e.getRightHeaderGroups()]),(e=>e.map((e=>e.headers)).flat()),Qb(e.options,ew)),e.getCenterLeafHeaders=Jb((()=>[e.getCenterFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Qb(e.options,ew)),e.getLeftLeafHeaders=Jb((()=>[e.getLeftFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Qb(e.options,ew)),e.getRightLeafHeaders=Jb((()=>[e.getRightFlatHeaders()]),(e=>e.filter((e=>{var t;return!(null!=(t=e.subHeaders)&&t.length)}))),Qb(e.options,ew)),e.getLeafHeaders=Jb((()=>[e.getLeftHeaderGroups(),e.getCenterHeaderGroups(),e.getRightHeaderGroups()]),((e,t,n)=>{var r,o,i,a,s,l;return[...null!=(r=null==(o=e[0])?void 0:o.headers)?r:[],...null!=(i=null==(a=t[0])?void 0:a.headers)?i:[],...null!=(s=null==(l=n[0])?void 0:l.headers)?s:[]].map((e=>e.getLeafHeaders())).flat()}),Qb(e.options,ew))}};function rw(e,t,n,r){var o,i;let a=0;const s=function(e,t){void 0===t&&(t=1),a=Math.max(a,t),e.filter((e=>e.getIsVisible())).forEach((e=>{var n;null!=(n=e.columns)&&n.length&&s(e.columns,t+1)}),0)};s(e);let l=[];const c=(e,t)=>{const o={depth:t,id:[r,`${t}`].filter(Boolean).join("_"),headers:[]},i=[];e.forEach((e=>{const a=[...i].reverse()[0];let s,l=!1;if(e.column.depth===o.depth&&e.column.parent?s=e.column.parent:(s=e.column,l=!0),a&&(null==a?void 0:a.column)===s)a.subHeaders.push(e);else{const o=tw(n,s,{id:[r,t,s.id,null==e?void 0:e.id].filter(Boolean).join("_"),isPlaceholder:l,placeholderId:l?`${i.filter((e=>e.column===s)).length}`:void 0,depth:t,index:i.length});o.subHeaders.push(e),i.push(o)}o.headers.push(e),e.headerGroup=o})),l.push(o),t>0&&c(i,t-1)},u=t.map(((e,t)=>tw(n,e,{depth:a,index:t})));c(u,a-1),l.reverse();const d=e=>e.filter((e=>e.column.getIsVisible())).map((e=>{let t=0,n=0,r=[0];e.subHeaders&&e.subHeaders.length?(r=[],d(e.subHeaders).forEach((e=>{let{colSpan:n,rowSpan:o}=e;t+=n,r.push(o)}))):t=1;return n+=Math.min(...r),e.colSpan=t,e.rowSpan=n,{colSpan:t,rowSpan:n}}));return d(null!=(o=null==(i=l[0])?void 0:i.headers)?o:[]),l}const ow=(e,t,n,r,o,i,a)=>{let s={id:t,index:r,original:n,depth:o,parentId:a,_valuesCache:{},_uniqueValuesCache:{},getValue:t=>{if(s._valuesCache.hasOwnProperty(t))return s._valuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?(s._valuesCache[t]=n.accessorFn(s.original,r),s._valuesCache[t]):void 0},getUniqueValues:t=>{if(s._uniqueValuesCache.hasOwnProperty(t))return s._uniqueValuesCache[t];const n=e.getColumn(t);return null!=n&&n.accessorFn?n.columnDef.getUniqueValues?(s._uniqueValuesCache[t]=n.columnDef.getUniqueValues(s.original,r),s._uniqueValuesCache[t]):(s._uniqueValuesCache[t]=[s.getValue(t)],s._uniqueValuesCache[t]):void 0},renderValue:t=>{var n;return null!=(n=s.getValue(t))?n:e.options.renderFallbackValue},subRows:null!=i?i:[],getLeafRows:()=>Zb(s.subRows,(e=>e.subRows)),getParentRow:()=>s.parentId?e.getRow(s.parentId,!0):void 0,getParentRows:()=>{let e=[],t=s;for(;;){const n=t.getParentRow();if(!n)break;e.push(n),t=n}return e.reverse()},getAllCells:Jb((()=>[e.getAllLeafColumns()]),(t=>t.map((t=>function(e,t,n,r){const o={id:`${t.id}_${n.id}`,row:t,column:n,getValue:()=>t.getValue(r),renderValue:()=>{var t;return null!=(t=o.getValue())?t:e.options.renderFallbackValue},getContext:Jb((()=>[e,n,t,o]),((e,t,n,r)=>({table:e,column:t,row:n,cell:r,getValue:r.getValue,renderValue:r.renderValue})),Qb(e.options,"debugCells"))};return e._features.forEach((r=>{null==r.createCell||r.createCell(o,n,t,e)}),{}),o}(e,s,t,t.id)))),Qb(e.options,"debugRows")),_getAllCellsByColumnId:Jb((()=>[s.getAllCells()]),(e=>e.reduce(((e,t)=>(e[t.column.id]=t,e)),{})),Qb(e.options,"debugRows"))};for(let t=0;t{e._getFacetedRowModel=t.options.getFacetedRowModel&&t.options.getFacetedRowModel(t,e.id),e.getFacetedRowModel=()=>e._getFacetedRowModel?e._getFacetedRowModel():t.getPreFilteredRowModel(),e._getFacetedUniqueValues=t.options.getFacetedUniqueValues&&t.options.getFacetedUniqueValues(t,e.id),e.getFacetedUniqueValues=()=>e._getFacetedUniqueValues?e._getFacetedUniqueValues():new Map,e._getFacetedMinMaxValues=t.options.getFacetedMinMaxValues&&t.options.getFacetedMinMaxValues(t,e.id),e.getFacetedMinMaxValues=()=>{if(e._getFacetedMinMaxValues)return e._getFacetedMinMaxValues()}}},aw=(e,t,n)=>{var r;const o=n.toLowerCase();return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())||null==(r=r.toLowerCase())?void 0:r.includes(o))};aw.autoRemove=e=>mw(e);const sw=(e,t,n)=>{var r;return Boolean(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.includes(n))};sw.autoRemove=e=>mw(e);const lw=(e,t,n)=>{var r;return(null==(r=e.getValue(t))||null==(r=r.toString())?void 0:r.toLowerCase())===(null==n?void 0:n.toLowerCase())};lw.autoRemove=e=>mw(e);const cw=(e,t,n)=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)};cw.autoRemove=e=>mw(e)||!(null!=e&&e.length);const uw=(e,t,n)=>!n.some((n=>{var r;return!(null!=(r=e.getValue(t))&&r.includes(n))}));uw.autoRemove=e=>mw(e)||!(null!=e&&e.length);const dw=(e,t,n)=>n.some((n=>{var r;return null==(r=e.getValue(t))?void 0:r.includes(n)}));dw.autoRemove=e=>mw(e)||!(null!=e&&e.length);const hw=(e,t,n)=>e.getValue(t)===n;hw.autoRemove=e=>mw(e);const pw=(e,t,n)=>e.getValue(t)==n;pw.autoRemove=e=>mw(e);const fw=(e,t,n)=>{let[r,o]=n;const i=e.getValue(t);return i>=r&&i<=o};fw.resolveFilterValue=e=>{let[t,n]=e,r="number"!=typeof t?parseFloat(t):t,o="number"!=typeof n?parseFloat(n):n,i=null===t||Number.isNaN(r)?-1/0:r,a=null===n||Number.isNaN(o)?1/0:o;if(i>a){const e=i;i=a,a=e}return[i,a]},fw.autoRemove=e=>mw(e)||mw(e[0])&&mw(e[1]);const gw={includesString:aw,includesStringSensitive:sw,equalsString:lw,arrIncludes:cw,arrIncludesAll:uw,arrIncludesSome:dw,equals:hw,weakEquals:pw,inNumberRange:fw};function mw(e){return null==e||""===e}const yw={getDefaultColumnDef:()=>({filterFn:"auto"}),getInitialState:e=>({columnFilters:[],...e}),getDefaultOptions:e=>({onColumnFiltersChange:Kb("columnFilters",e),filterFromLeafRows:!1,maxLeafRowFilterDepth:100}),createColumn:(e,t)=>{e.getAutoFilterFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"string"==typeof r?gw.includesString:"number"==typeof r?gw.inNumberRange:"boolean"==typeof r||null!==r&&"object"==typeof r?gw.equals:Array.isArray(r)?gw.arrIncludes:gw.weakEquals},e.getFilterFn=()=>{var n,r;return Xb(e.columnDef.filterFn)?e.columnDef.filterFn:"auto"===e.columnDef.filterFn?e.getAutoFilterFn():null!=(n=null==(r=t.options.filterFns)?void 0:r[e.columnDef.filterFn])?n:gw[e.columnDef.filterFn]},e.getCanFilter=()=>{var n,r,o;return(null==(n=e.columnDef.enableColumnFilter)||n)&&(null==(r=t.options.enableColumnFilters)||r)&&(null==(o=t.options.enableFilters)||o)&&!!e.accessorFn},e.getIsFiltered=()=>e.getFilterIndex()>-1,e.getFilterValue=()=>{var n;return null==(n=t.getState().columnFilters)||null==(n=n.find((t=>t.id===e.id)))?void 0:n.value},e.getFilterIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().columnFilters)?void 0:r.findIndex((t=>t.id===e.id)))?n:-1},e.setFilterValue=n=>{t.setColumnFilters((t=>{const r=e.getFilterFn(),o=null==t?void 0:t.find((t=>t.id===e.id)),i=Yb(n,o?o.value:void 0);var a;if(vw(r,i,e))return null!=(a=null==t?void 0:t.filter((t=>t.id!==e.id)))?a:[];const s={id:e.id,value:i};var l;return o?null!=(l=null==t?void 0:t.map((t=>t.id===e.id?s:t)))?l:[]:null!=t&&t.length?[...t,s]:[s]}))}},createRow:(e,t)=>{e.columnFilters={},e.columnFiltersMeta={}},createTable:e=>{e.setColumnFilters=t=>{const n=e.getAllLeafColumns();null==e.options.onColumnFiltersChange||e.options.onColumnFiltersChange((e=>{var r;return null==(r=Yb(t,e))?void 0:r.filter((e=>{const t=n.find((t=>t.id===e.id));if(t){if(vw(t.getFilterFn(),e.value,t))return!1}return!0}))}))},e.resetColumnFilters=t=>{var n,r;e.setColumnFilters(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.columnFilters)?n:[])},e.getPreFilteredRowModel=()=>e.getCoreRowModel(),e.getFilteredRowModel=()=>(!e._getFilteredRowModel&&e.options.getFilteredRowModel&&(e._getFilteredRowModel=e.options.getFilteredRowModel(e)),e.options.manualFiltering||!e._getFilteredRowModel?e.getPreFilteredRowModel():e._getFilteredRowModel())}};function vw(e,t,n){return!(!e||!e.autoRemove)&&e.autoRemove(t,n)||void 0===t||"string"==typeof t&&!t}const bw={sum:(e,t,n)=>n.reduce(((t,n)=>{const r=n.getValue(e);return t+("number"==typeof r?r:0)}),0),min:(e,t,n)=>{let r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(r>n||void 0===r&&n>=n)&&(r=n)})),r},max:(e,t,n)=>{let r;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(r=n)&&(r=n)})),r},extent:(e,t,n)=>{let r,o;return n.forEach((t=>{const n=t.getValue(e);null!=n&&(void 0===r?n>=n&&(r=o=n):(r>n&&(r=n),o{let n=0,r=0;if(t.forEach((t=>{let o=t.getValue(e);null!=o&&(o=+o)>=o&&(++n,r+=o)})),n)return r/n},median:(e,t)=>{if(!t.length)return;const n=t.map((t=>t.getValue(e)));if(r=n,!Array.isArray(r)||!r.every((e=>"number"==typeof e)))return;var r;if(1===n.length)return n[0];const o=Math.floor(n.length/2),i=n.sort(((e,t)=>e-t));return n.length%2!=0?i[o]:(i[o-1]+i[o])/2},unique:(e,t)=>Array.from(new Set(t.map((t=>t.getValue(e)))).values()),uniqueCount:(e,t)=>new Set(t.map((t=>t.getValue(e)))).size,count:(e,t)=>t.length},ww={getDefaultColumnDef:()=>({aggregatedCell:e=>{var t,n;return null!=(t=null==(n=e.getValue())||null==n.toString?void 0:n.toString())?t:null},aggregationFn:"auto"}),getInitialState:e=>({grouping:[],...e}),getDefaultOptions:e=>({onGroupingChange:Kb("grouping",e),groupedColumnMode:"reorder"}),createColumn:(e,t)=>{e.toggleGrouping=()=>{t.setGrouping((t=>null!=t&&t.includes(e.id)?t.filter((t=>t!==e.id)):[...null!=t?t:[],e.id]))},e.getCanGroup=()=>{var n,r;return(null==(n=e.columnDef.enableGrouping)||n)&&(null==(r=t.options.enableGrouping)||r)&&(!!e.accessorFn||!!e.columnDef.getGroupingValue)},e.getIsGrouped=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.includes(e.id)},e.getGroupedIndex=()=>{var n;return null==(n=t.getState().grouping)?void 0:n.indexOf(e.id)},e.getToggleGroupingHandler=()=>{const t=e.getCanGroup();return()=>{t&&e.toggleGrouping()}},e.getAutoAggregationFn=()=>{const n=t.getCoreRowModel().flatRows[0],r=null==n?void 0:n.getValue(e.id);return"number"==typeof r?bw.sum:"[object Date]"===Object.prototype.toString.call(r)?bw.extent:void 0},e.getAggregationFn=()=>{var n,r;if(!e)throw new Error;return Xb(e.columnDef.aggregationFn)?e.columnDef.aggregationFn:"auto"===e.columnDef.aggregationFn?e.getAutoAggregationFn():null!=(n=null==(r=t.options.aggregationFns)?void 0:r[e.columnDef.aggregationFn])?n:bw[e.columnDef.aggregationFn]}},createTable:e=>{e.setGrouping=t=>null==e.options.onGroupingChange?void 0:e.options.onGroupingChange(t),e.resetGrouping=t=>{var n,r;e.setGrouping(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.grouping)?n:[])},e.getPreGroupedRowModel=()=>e.getFilteredRowModel(),e.getGroupedRowModel=()=>(!e._getGroupedRowModel&&e.options.getGroupedRowModel&&(e._getGroupedRowModel=e.options.getGroupedRowModel(e)),e.options.manualGrouping||!e._getGroupedRowModel?e.getPreGroupedRowModel():e._getGroupedRowModel())},createRow:(e,t)=>{e.getIsGrouped=()=>!!e.groupingColumnId,e.getGroupingValue=n=>{if(e._groupingValuesCache.hasOwnProperty(n))return e._groupingValuesCache[n];const r=t.getColumn(n);return null!=r&&r.columnDef.getGroupingValue?(e._groupingValuesCache[n]=r.columnDef.getGroupingValue(e.original),e._groupingValuesCache[n]):e.getValue(n)},e._groupingValuesCache={}},createCell:(e,t,n,r)=>{e.getIsGrouped=()=>t.getIsGrouped()&&t.id===n.groupingColumnId,e.getIsPlaceholder=()=>!e.getIsGrouped()&&t.getIsGrouped(),e.getIsAggregated=()=>{var t;return!e.getIsGrouped()&&!e.getIsPlaceholder()&&!(null==(t=n.subRows)||!t.length)}}};const Aw={getInitialState:e=>({columnOrder:[],...e}),getDefaultOptions:e=>({onColumnOrderChange:Kb("columnOrder",e)}),createColumn:(e,t)=>{e.getIndex=Jb((e=>[_w(t,e)]),(t=>t.findIndex((t=>t.id===e.id))),Qb(t.options,"debugColumns")),e.getIsFirstColumn=n=>{var r;return(null==(r=_w(t,n)[0])?void 0:r.id)===e.id},e.getIsLastColumn=n=>{var r;const o=_w(t,n);return(null==(r=o[o.length-1])?void 0:r.id)===e.id}},createTable:e=>{e.setColumnOrder=t=>null==e.options.onColumnOrderChange?void 0:e.options.onColumnOrderChange(t),e.resetColumnOrder=t=>{var n;e.setColumnOrder(t?[]:null!=(n=e.initialState.columnOrder)?n:[])},e._getOrderColumnsFn=Jb((()=>[e.getState().columnOrder,e.getState().grouping,e.options.groupedColumnMode]),((e,t,n)=>r=>{let o=[];if(null!=e&&e.length){const t=[...e],n=[...r];for(;n.length&&t.length;){const e=t.shift(),r=n.findIndex((t=>t.id===e));r>-1&&o.push(n.splice(r,1)[0])}o=[...o,...n]}else o=r;return function(e,t,n){if(null==t||!t.length||!n)return e;const r=e.filter((e=>!t.includes(e.id)));return"remove"===n?r:[...t.map((t=>e.find((e=>e.id===t)))).filter(Boolean),...r]}(o,t,n)}),Qb(e.options,"debugTable"))}},xw={getInitialState:e=>({columnPinning:{left:[],right:[]},...e}),getDefaultOptions:e=>({onColumnPinningChange:Kb("columnPinning",e)}),createColumn:(e,t)=>{e.pin=n=>{const r=e.getLeafColumns().map((e=>e.id)).filter(Boolean);t.setColumnPinning((e=>{var t,o,i,a,s,l;return"right"===n?{left:(null!=(i=null==e?void 0:e.left)?i:[]).filter((e=>!(null!=r&&r.includes(e)))),right:[...(null!=(a=null==e?void 0:e.right)?a:[]).filter((e=>!(null!=r&&r.includes(e)))),...r]}:"left"===n?{left:[...(null!=(s=null==e?void 0:e.left)?s:[]).filter((e=>!(null!=r&&r.includes(e)))),...r],right:(null!=(l=null==e?void 0:e.right)?l:[]).filter((e=>!(null!=r&&r.includes(e))))}:{left:(null!=(t=null==e?void 0:e.left)?t:[]).filter((e=>!(null!=r&&r.includes(e)))),right:(null!=(o=null==e?void 0:e.right)?o:[]).filter((e=>!(null!=r&&r.includes(e))))}}))},e.getCanPin=()=>e.getLeafColumns().some((e=>{var n,r,o;return(null==(n=e.columnDef.enablePinning)||n)&&(null==(r=null!=(o=t.options.enableColumnPinning)?o:t.options.enablePinning)||r)})),e.getIsPinned=()=>{const n=e.getLeafColumns().map((e=>e.id)),{left:r,right:o}=t.getState().columnPinning,i=n.some((e=>null==r?void 0:r.includes(e))),a=n.some((e=>null==o?void 0:o.includes(e)));return i?"left":!!a&&"right"},e.getPinnedIndex=()=>{var n,r;const o=e.getIsPinned();return o?null!=(n=null==(r=t.getState().columnPinning)||null==(r=r[o])?void 0:r.indexOf(e.id))?n:-1:0}},createRow:(e,t)=>{e.getCenterVisibleCells=Jb((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left,t.getState().columnPinning.right]),((e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!r.includes(e.column.id)))}),Qb(t.options,"debugRows")),e.getLeftVisibleCells=Jb((()=>[e._getAllVisibleCells(),t.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"left"})))),Qb(t.options,"debugRows")),e.getRightVisibleCells=Jb((()=>[e._getAllVisibleCells(),t.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.column.id===t)))).filter(Boolean).map((e=>({...e,position:"right"})))),Qb(t.options,"debugRows"))},createTable:e=>{e.setColumnPinning=t=>null==e.options.onColumnPinningChange?void 0:e.options.onColumnPinningChange(t),e.resetColumnPinning=t=>{var n,r;return e.setColumnPinning(t?{left:[],right:[]}:null!=(n=null==(r=e.initialState)?void 0:r.columnPinning)?n:{left:[],right:[]})},e.getIsSomeColumnsPinned=t=>{var n;const r=e.getState().columnPinning;var o,i;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(o=r.left)?void 0:o.length)||(null==(i=r.right)?void 0:i.length))},e.getLeftLeafColumns=Jb((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),Qb(e.options,"debugColumns")),e.getRightLeafColumns=Jb((()=>[e.getAllLeafColumns(),e.getState().columnPinning.right]),((e,t)=>(null!=t?t:[]).map((t=>e.find((e=>e.id===t)))).filter(Boolean)),Qb(e.options,"debugColumns")),e.getCenterLeafColumns=Jb((()=>[e.getAllLeafColumns(),e.getState().columnPinning.left,e.getState().columnPinning.right]),((e,t,n)=>{const r=[...null!=t?t:[],...null!=n?n:[]];return e.filter((e=>!r.includes(e.id)))}),Qb(e.options,"debugColumns"))}},Sw={size:150,minSize:20,maxSize:Number.MAX_SAFE_INTEGER},Cw={getDefaultColumnDef:()=>Sw,getInitialState:e=>({columnSizing:{},columnSizingInfo:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]},...e}),getDefaultOptions:e=>({columnResizeMode:"onEnd",columnResizeDirection:"ltr",onColumnSizingChange:Kb("columnSizing",e),onColumnSizingInfoChange:Kb("columnSizingInfo",e)}),createColumn:(e,t)=>{e.getSize=()=>{var n,r,o;const i=t.getState().columnSizing[e.id];return Math.min(Math.max(null!=(n=e.columnDef.minSize)?n:Sw.minSize,null!=(r=null!=i?i:e.columnDef.size)?r:Sw.size),null!=(o=e.columnDef.maxSize)?o:Sw.maxSize)},e.getStart=Jb((e=>[e,_w(t,e),t.getState().columnSizing]),((t,n)=>n.slice(0,e.getIndex(t)).reduce(((e,t)=>e+t.getSize()),0)),Qb(t.options,"debugColumns")),e.getAfter=Jb((e=>[e,_w(t,e),t.getState().columnSizing]),((t,n)=>n.slice(e.getIndex(t)+1).reduce(((e,t)=>e+t.getSize()),0)),Qb(t.options,"debugColumns")),e.resetSize=()=>{t.setColumnSizing((t=>{let{[e.id]:n,...r}=t;return r}))},e.getCanResize=()=>{var n,r;return(null==(n=e.columnDef.enableResizing)||n)&&(null==(r=t.options.enableColumnResizing)||r)},e.getIsResizing=()=>t.getState().columnSizingInfo.isResizingColumn===e.id},createHeader:(e,t)=>{e.getSize=()=>{let t=0;const n=e=>{var r;e.subHeaders.length?e.subHeaders.forEach(n):t+=null!=(r=e.column.getSize())?r:0};return n(e),t},e.getStart=()=>{if(e.index>0){const t=e.headerGroup.headers[e.index-1];return t.getStart()+t.getSize()}return 0},e.getResizeHandler=n=>{const r=t.getColumn(e.column.id),o=null==r?void 0:r.getCanResize();return i=>{if(!r||!o)return;if(null==i.persist||i.persist(),kw(i)&&i.touches&&i.touches.length>1)return;const a=e.getSize(),s=e?e.getLeafHeaders().map((e=>[e.column.id,e.column.getSize()])):[[r.id,r.getSize()]],l=kw(i)?Math.round(i.touches[0].clientX):i.clientX,c={},u=(e,n)=>{"number"==typeof n&&(t.setColumnSizingInfo((e=>{var r,o;const i="rtl"===t.options.columnResizeDirection?-1:1,a=(n-(null!=(r=null==e?void 0:e.startOffset)?r:0))*i,s=Math.max(a/(null!=(o=null==e?void 0:e.startSize)?o:0),-.999999);return e.columnSizingStart.forEach((e=>{let[t,n]=e;c[t]=Math.round(100*Math.max(n+n*s,0))/100})),{...e,deltaOffset:a,deltaPercentage:s}})),"onChange"!==t.options.columnResizeMode&&"end"!==e||t.setColumnSizing((e=>({...e,...c}))))},d=e=>u("move",e),h=e=>{u("end",e),t.setColumnSizingInfo((e=>({...e,isResizingColumn:!1,startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,columnSizingStart:[]})))},p=n||"undefined"!=typeof document?document:null,f={moveHandler:e=>d(e.clientX),upHandler:e=>{null==p||p.removeEventListener("mousemove",f.moveHandler),null==p||p.removeEventListener("mouseup",f.upHandler),h(e.clientX)}},g={moveHandler:e=>(e.cancelable&&(e.preventDefault(),e.stopPropagation()),d(e.touches[0].clientX),!1),upHandler:e=>{var t;null==p||p.removeEventListener("touchmove",g.moveHandler),null==p||p.removeEventListener("touchend",g.upHandler),e.cancelable&&(e.preventDefault(),e.stopPropagation()),h(null==(t=e.touches[0])?void 0:t.clientX)}},m=!!function(){if("boolean"==typeof Ew)return Ew;let e=!1;try{const t={get passive(){return e=!0,!1}},n=()=>{};window.addEventListener("test",n,t),window.removeEventListener("test",n)}catch(t){e=!1}return Ew=e,Ew}()&&{passive:!1};kw(i)?(null==p||p.addEventListener("touchmove",g.moveHandler,m),null==p||p.addEventListener("touchend",g.upHandler,m)):(null==p||p.addEventListener("mousemove",f.moveHandler,m),null==p||p.addEventListener("mouseup",f.upHandler,m)),t.setColumnSizingInfo((e=>({...e,startOffset:l,startSize:a,deltaOffset:0,deltaPercentage:0,columnSizingStart:s,isResizingColumn:r.id})))}}},createTable:e=>{e.setColumnSizing=t=>null==e.options.onColumnSizingChange?void 0:e.options.onColumnSizingChange(t),e.setColumnSizingInfo=t=>null==e.options.onColumnSizingInfoChange?void 0:e.options.onColumnSizingInfoChange(t),e.resetColumnSizing=t=>{var n;e.setColumnSizing(t?{}:null!=(n=e.initialState.columnSizing)?n:{})},e.resetHeaderSizeInfo=t=>{var n;e.setColumnSizingInfo(t?{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]}:null!=(n=e.initialState.columnSizingInfo)?n:{startOffset:null,startSize:null,deltaOffset:null,deltaPercentage:null,isResizingColumn:!1,columnSizingStart:[]})},e.getTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getLeftTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getLeftHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getCenterTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getCenterHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0},e.getRightTotalSize=()=>{var t,n;return null!=(t=null==(n=e.getRightHeaderGroups()[0])?void 0:n.headers.reduce(((e,t)=>e+t.getSize()),0))?t:0}}};let Ew=null;function kw(e){return"touchstart"===e.type}const Tw={getInitialState:e=>({columnVisibility:{},...e}),getDefaultOptions:e=>({onColumnVisibilityChange:Kb("columnVisibility",e)}),createColumn:(e,t)=>{e.toggleVisibility=n=>{e.getCanHide()&&t.setColumnVisibility((t=>({...t,[e.id]:null!=n?n:!e.getIsVisible()})))},e.getIsVisible=()=>{var n,r;const o=e.columns;return null==(n=o.length?o.some((e=>e.getIsVisible())):null==(r=t.getState().columnVisibility)?void 0:r[e.id])||n},e.getCanHide=()=>{var n,r;return(null==(n=e.columnDef.enableHiding)||n)&&(null==(r=t.options.enableHiding)||r)},e.getToggleVisibilityHandler=()=>t=>{null==e.toggleVisibility||e.toggleVisibility(t.target.checked)}},createRow:(e,t)=>{e._getAllVisibleCells=Jb((()=>[e.getAllCells(),t.getState().columnVisibility]),(e=>e.filter((e=>e.column.getIsVisible()))),Qb(t.options,"debugRows")),e.getVisibleCells=Jb((()=>[e.getLeftVisibleCells(),e.getCenterVisibleCells(),e.getRightVisibleCells()]),((e,t,n)=>[...e,...t,...n]),Qb(t.options,"debugRows"))},createTable:e=>{const t=(t,n)=>Jb((()=>[n(),n().filter((e=>e.getIsVisible())).map((e=>e.id)).join("_")]),(e=>e.filter((e=>null==e.getIsVisible?void 0:e.getIsVisible()))),Qb(e.options,"debugColumns"));e.getVisibleFlatColumns=t(0,(()=>e.getAllFlatColumns())),e.getVisibleLeafColumns=t(0,(()=>e.getAllLeafColumns())),e.getLeftVisibleLeafColumns=t(0,(()=>e.getLeftLeafColumns())),e.getRightVisibleLeafColumns=t(0,(()=>e.getRightLeafColumns())),e.getCenterVisibleLeafColumns=t(0,(()=>e.getCenterLeafColumns())),e.setColumnVisibility=t=>null==e.options.onColumnVisibilityChange?void 0:e.options.onColumnVisibilityChange(t),e.resetColumnVisibility=t=>{var n;e.setColumnVisibility(t?{}:null!=(n=e.initialState.columnVisibility)?n:{})},e.toggleAllColumnsVisible=t=>{var n;t=null!=(n=t)?n:!e.getIsAllColumnsVisible(),e.setColumnVisibility(e.getAllLeafColumns().reduce(((e,n)=>({...e,[n.id]:t||!(null!=n.getCanHide&&n.getCanHide())})),{}))},e.getIsAllColumnsVisible=()=>!e.getAllLeafColumns().some((e=>!(null!=e.getIsVisible&&e.getIsVisible()))),e.getIsSomeColumnsVisible=()=>e.getAllLeafColumns().some((e=>null==e.getIsVisible?void 0:e.getIsVisible())),e.getToggleAllColumnsVisibilityHandler=()=>t=>{var n;e.toggleAllColumnsVisible(null==(n=t.target)?void 0:n.checked)}}};function _w(e,t){return t?"center"===t?e.getCenterVisibleLeafColumns():"left"===t?e.getLeftVisibleLeafColumns():e.getRightVisibleLeafColumns():e.getVisibleLeafColumns()}const Ow={getInitialState:e=>({...e,pagination:{pageIndex:0,pageSize:10,...null==e?void 0:e.pagination}}),getDefaultOptions:e=>({onPaginationChange:Kb("pagination",e)}),createTable:e=>{let t=!1,n=!1;e._autoResetPageIndex=()=>{var r,o;if(t){if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetPageIndex)?r:!e.options.manualPagination){if(n)return;n=!0,e._queue((()=>{e.resetPageIndex(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setPagination=t=>null==e.options.onPaginationChange?void 0:e.options.onPaginationChange((e=>Yb(t,e))),e.resetPagination=t=>{var n;e.setPagination(t?{pageIndex:0,pageSize:10}:null!=(n=e.initialState.pagination)?n:{pageIndex:0,pageSize:10})},e.setPageIndex=t=>{e.setPagination((n=>{let r=Yb(t,n.pageIndex);const o=void 0===e.options.pageCount||-1===e.options.pageCount?Number.MAX_SAFE_INTEGER:e.options.pageCount-1;return r=Math.max(0,Math.min(r,o)),{...n,pageIndex:r}}))},e.resetPageIndex=t=>{var n,r;e.setPageIndex(t?0:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageIndex)?n:0)},e.resetPageSize=t=>{var n,r;e.setPageSize(t?10:null!=(n=null==(r=e.initialState)||null==(r=r.pagination)?void 0:r.pageSize)?n:10)},e.setPageSize=t=>{e.setPagination((e=>{const n=Math.max(1,Yb(t,e.pageSize)),r=e.pageSize*e.pageIndex,o=Math.floor(r/n);return{...e,pageIndex:o,pageSize:n}}))},e.setPageCount=t=>e.setPagination((n=>{var r;let o=Yb(t,null!=(r=e.options.pageCount)?r:-1);return"number"==typeof o&&(o=Math.max(-1,o)),{...n,pageCount:o}})),e.getPageOptions=Jb((()=>[e.getPageCount()]),(e=>{let t=[];return e&&e>0&&(t=[...new Array(e)].fill(null).map(((e,t)=>t))),t}),Qb(e.options,"debugTable")),e.getCanPreviousPage=()=>e.getState().pagination.pageIndex>0,e.getCanNextPage=()=>{const{pageIndex:t}=e.getState().pagination,n=e.getPageCount();return-1===n||0!==n&&te.setPageIndex((e=>e-1)),e.nextPage=()=>e.setPageIndex((e=>e+1)),e.firstPage=()=>e.setPageIndex(0),e.lastPage=()=>e.setPageIndex(e.getPageCount()-1),e.getPrePaginationRowModel=()=>e.getExpandedRowModel(),e.getPaginationRowModel=()=>(!e._getPaginationRowModel&&e.options.getPaginationRowModel&&(e._getPaginationRowModel=e.options.getPaginationRowModel(e)),e.options.manualPagination||!e._getPaginationRowModel?e.getPrePaginationRowModel():e._getPaginationRowModel()),e.getPageCount=()=>{var t;return null!=(t=e.options.pageCount)?t:Math.ceil(e.getRowCount()/e.getState().pagination.pageSize)},e.getRowCount=()=>{var t;return null!=(t=e.options.rowCount)?t:e.getPrePaginationRowModel().rows.length}}},Pw={getInitialState:e=>({rowPinning:{top:[],bottom:[]},...e}),getDefaultOptions:e=>({onRowPinningChange:Kb("rowPinning",e)}),createRow:(e,t)=>{e.pin=(n,r,o)=>{const i=r?e.getLeafRows().map((e=>{let{id:t}=e;return t})):[],a=o?e.getParentRows().map((e=>{let{id:t}=e;return t})):[],s=new Set([...a,e.id,...i]);t.setRowPinning((e=>{var t,r,o,i,a,l;return"bottom"===n?{top:(null!=(o=null==e?void 0:e.top)?o:[]).filter((e=>!(null!=s&&s.has(e)))),bottom:[...(null!=(i=null==e?void 0:e.bottom)?i:[]).filter((e=>!(null!=s&&s.has(e)))),...Array.from(s)]}:"top"===n?{top:[...(null!=(a=null==e?void 0:e.top)?a:[]).filter((e=>!(null!=s&&s.has(e)))),...Array.from(s)],bottom:(null!=(l=null==e?void 0:e.bottom)?l:[]).filter((e=>!(null!=s&&s.has(e))))}:{top:(null!=(t=null==e?void 0:e.top)?t:[]).filter((e=>!(null!=s&&s.has(e)))),bottom:(null!=(r=null==e?void 0:e.bottom)?r:[]).filter((e=>!(null!=s&&s.has(e))))}}))},e.getCanPin=()=>{var n;const{enableRowPinning:r,enablePinning:o}=t.options;return"function"==typeof r?r(e):null==(n=null!=r?r:o)||n},e.getIsPinned=()=>{const n=[e.id],{top:r,bottom:o}=t.getState().rowPinning,i=n.some((e=>null==r?void 0:r.includes(e))),a=n.some((e=>null==o?void 0:o.includes(e)));return i?"top":!!a&&"bottom"},e.getPinnedIndex=()=>{var n,r;const o=e.getIsPinned();if(!o)return-1;const i=null==(n=t._getPinnedRows(o))?void 0:n.map((e=>{let{id:t}=e;return t}));return null!=(r=null==i?void 0:i.indexOf(e.id))?r:-1}},createTable:e=>{e.setRowPinning=t=>null==e.options.onRowPinningChange?void 0:e.options.onRowPinningChange(t),e.resetRowPinning=t=>{var n,r;return e.setRowPinning(t?{top:[],bottom:[]}:null!=(n=null==(r=e.initialState)?void 0:r.rowPinning)?n:{top:[],bottom:[]})},e.getIsSomeRowsPinned=t=>{var n;const r=e.getState().rowPinning;var o,i;return t?Boolean(null==(n=r[t])?void 0:n.length):Boolean((null==(o=r.top)?void 0:o.length)||(null==(i=r.bottom)?void 0:i.length))},e._getPinnedRows=Jb((t=>[e.getRowModel().rows,e.getState().rowPinning[t],t]),((t,n,r)=>{var o;return(null==(o=e.options.keepPinnedRows)||o?(null!=n?n:[]).map((t=>{const n=e.getRow(t,!0);return n.getIsAllParentsExpanded()?n:null})):(null!=n?n:[]).map((e=>t.find((t=>t.id===e))))).filter(Boolean).map((e=>({...e,position:r})))}),Qb(e.options,"debugRows")),e.getTopRows=()=>e._getPinnedRows("top"),e.getBottomRows=()=>e._getPinnedRows("bottom"),e.getCenterRows=Jb((()=>[e.getRowModel().rows,e.getState().rowPinning.top,e.getState().rowPinning.bottom]),((e,t,n)=>{const r=new Set([...null!=t?t:[],...null!=n?n:[]]);return e.filter((e=>!r.has(e.id)))}),Qb(e.options,"debugRows"))}},Iw={getInitialState:e=>({rowSelection:{},...e}),getDefaultOptions:e=>({onRowSelectionChange:Kb("rowSelection",e),enableRowSelection:!0,enableMultiRowSelection:!0,enableSubRowSelection:!0}),createTable:e=>{e.setRowSelection=t=>null==e.options.onRowSelectionChange?void 0:e.options.onRowSelectionChange(t),e.resetRowSelection=t=>{var n;return e.setRowSelection(t?{}:null!=(n=e.initialState.rowSelection)?n:{})},e.toggleAllRowsSelected=t=>{e.setRowSelection((n=>{t=void 0!==t?t:!e.getIsAllRowsSelected();const r={...n},o=e.getPreGroupedRowModel().flatRows;return t?o.forEach((e=>{e.getCanSelect()&&(r[e.id]=!0)})):o.forEach((e=>{delete r[e.id]})),r}))},e.toggleAllPageRowsSelected=t=>e.setRowSelection((n=>{const r=void 0!==t?t:!e.getIsAllPageRowsSelected(),o={...n};return e.getRowModel().rows.forEach((t=>{Mw(o,t.id,r,!0,e)})),o})),e.getPreSelectedRowModel=()=>e.getCoreRowModel(),e.getSelectedRowModel=Jb((()=>[e.getState().rowSelection,e.getCoreRowModel()]),((t,n)=>Object.keys(t).length?Lw(e,n):{rows:[],flatRows:[],rowsById:{}}),Qb(e.options,"debugTable")),e.getFilteredSelectedRowModel=Jb((()=>[e.getState().rowSelection,e.getFilteredRowModel()]),((t,n)=>Object.keys(t).length?Lw(e,n):{rows:[],flatRows:[],rowsById:{}}),Qb(e.options,"debugTable")),e.getGroupedSelectedRowModel=Jb((()=>[e.getState().rowSelection,e.getSortedRowModel()]),((t,n)=>Object.keys(t).length?Lw(e,n):{rows:[],flatRows:[],rowsById:{}}),Qb(e.options,"debugTable")),e.getIsAllRowsSelected=()=>{const t=e.getFilteredRowModel().flatRows,{rowSelection:n}=e.getState();let r=Boolean(t.length&&Object.keys(n).length);return r&&t.some((e=>e.getCanSelect()&&!n[e.id]))&&(r=!1),r},e.getIsAllPageRowsSelected=()=>{const t=e.getPaginationRowModel().flatRows.filter((e=>e.getCanSelect())),{rowSelection:n}=e.getState();let r=!!t.length;return r&&t.some((e=>!n[e.id]))&&(r=!1),r},e.getIsSomeRowsSelected=()=>{var t;const n=Object.keys(null!=(t=e.getState().rowSelection)?t:{}).length;return n>0&&n{const t=e.getPaginationRowModel().flatRows;return!e.getIsAllPageRowsSelected()&&t.filter((e=>e.getCanSelect())).some((e=>e.getIsSelected()||e.getIsSomeSelected()))},e.getToggleAllRowsSelectedHandler=()=>t=>{e.toggleAllRowsSelected(t.target.checked)},e.getToggleAllPageRowsSelectedHandler=()=>t=>{e.toggleAllPageRowsSelected(t.target.checked)}},createRow:(e,t)=>{e.toggleSelected=(n,r)=>{const o=e.getIsSelected();t.setRowSelection((i=>{var a;if(n=void 0!==n?n:!o,e.getCanSelect()&&o===n)return i;const s={...i};return Mw(s,e.id,n,null==(a=null==r?void 0:r.selectChildren)||a,t),s}))},e.getIsSelected=()=>{const{rowSelection:n}=t.getState();return Rw(e,n)},e.getIsSomeSelected=()=>{const{rowSelection:n}=t.getState();return"some"===jw(e,n)},e.getIsAllSubRowsSelected=()=>{const{rowSelection:n}=t.getState();return"all"===jw(e,n)},e.getCanSelect=()=>{var n;return"function"==typeof t.options.enableRowSelection?t.options.enableRowSelection(e):null==(n=t.options.enableRowSelection)||n},e.getCanSelectSubRows=()=>{var n;return"function"==typeof t.options.enableSubRowSelection?t.options.enableSubRowSelection(e):null==(n=t.options.enableSubRowSelection)||n},e.getCanMultiSelect=()=>{var n;return"function"==typeof t.options.enableMultiRowSelection?t.options.enableMultiRowSelection(e):null==(n=t.options.enableMultiRowSelection)||n},e.getToggleSelectedHandler=()=>{const t=e.getCanSelect();return n=>{var r;t&&e.toggleSelected(null==(r=n.target)?void 0:r.checked)}}}},Mw=(e,t,n,r,o)=>{var i;const a=o.getRow(t,!0);n?(a.getCanMultiSelect()||Object.keys(e).forEach((t=>delete e[t])),a.getCanSelect()&&(e[t]=!0)):delete e[t],r&&null!=(i=a.subRows)&&i.length&&a.getCanSelectSubRows()&&a.subRows.forEach((t=>Mw(e,t.id,n,r,o)))};function Lw(e,t){const n=e.getState().rowSelection,r=[],o={},i=function(e,t){return e.map((e=>{var t;const a=Rw(e,n);if(a&&(r.push(e),o[e.id]=e),null!=(t=e.subRows)&&t.length&&(e={...e,subRows:i(e.subRows)}),a)return e})).filter(Boolean)};return{rows:i(t.rows),flatRows:r,rowsById:o}}function Rw(e,t){var n;return null!=(n=t[e.id])&&n}function jw(e,t,n){var r;if(null==(r=e.subRows)||!r.length)return!1;let o=!0,i=!1;return e.subRows.forEach((e=>{if((!i||o)&&(e.getCanSelect()&&(Rw(e,t)?i=!0:o=!1),e.subRows&&e.subRows.length)){const n=jw(e,t);"all"===n?i=!0:"some"===n?(i=!0,o=!1):o=!1}})),o?"all":!!i&&"some"}const Fw=/([0-9]+)/gm;function Dw(e,t){return e===t?0:e>t?1:-1}function Nw(e){return"number"==typeof e?isNaN(e)||e===1/0||e===-1/0?"":String(e):"string"==typeof e?e:""}function zw(e,t){const n=e.split(Fw).filter(Boolean),r=t.split(Fw).filter(Boolean);for(;n.length&&r.length;){const e=n.shift(),t=r.shift(),o=parseInt(e,10),i=parseInt(t,10),a=[o,i].sort();if(isNaN(a[0])){if(e>t)return 1;if(t>e)return-1}else{if(isNaN(a[1]))return isNaN(o)?-1:1;if(o>i)return 1;if(i>o)return-1}}return n.length-r.length}const Bw={alphanumeric:(e,t,n)=>zw(Nw(e.getValue(n)).toLowerCase(),Nw(t.getValue(n)).toLowerCase()),alphanumericCaseSensitive:(e,t,n)=>zw(Nw(e.getValue(n)),Nw(t.getValue(n))),text:(e,t,n)=>Dw(Nw(e.getValue(n)).toLowerCase(),Nw(t.getValue(n)).toLowerCase()),textCaseSensitive:(e,t,n)=>Dw(Nw(e.getValue(n)),Nw(t.getValue(n))),datetime:(e,t,n)=>{const r=e.getValue(n),o=t.getValue(n);return r>o?1:rDw(e.getValue(n),t.getValue(n))},Vw=[nw,Tw,Aw,xw,iw,yw,{createTable:e=>{e._getGlobalFacetedRowModel=e.options.getFacetedRowModel&&e.options.getFacetedRowModel(e,"__global__"),e.getGlobalFacetedRowModel=()=>e.options.manualFiltering||!e._getGlobalFacetedRowModel?e.getPreFilteredRowModel():e._getGlobalFacetedRowModel(),e._getGlobalFacetedUniqueValues=e.options.getFacetedUniqueValues&&e.options.getFacetedUniqueValues(e,"__global__"),e.getGlobalFacetedUniqueValues=()=>e._getGlobalFacetedUniqueValues?e._getGlobalFacetedUniqueValues():new Map,e._getGlobalFacetedMinMaxValues=e.options.getFacetedMinMaxValues&&e.options.getFacetedMinMaxValues(e,"__global__"),e.getGlobalFacetedMinMaxValues=()=>{if(e._getGlobalFacetedMinMaxValues)return e._getGlobalFacetedMinMaxValues()}}},{getInitialState:e=>({globalFilter:void 0,...e}),getDefaultOptions:e=>({onGlobalFilterChange:Kb("globalFilter",e),globalFilterFn:"auto",getColumnCanGlobalFilter:t=>{var n;const r=null==(n=e.getCoreRowModel().flatRows[0])||null==(n=n._getAllCellsByColumnId()[t.id])?void 0:n.getValue();return"string"==typeof r||"number"==typeof r}}),createColumn:(e,t)=>{e.getCanGlobalFilter=()=>{var n,r,o,i;return(null==(n=e.columnDef.enableGlobalFilter)||n)&&(null==(r=t.options.enableGlobalFilter)||r)&&(null==(o=t.options.enableFilters)||o)&&(null==(i=null==t.options.getColumnCanGlobalFilter?void 0:t.options.getColumnCanGlobalFilter(e))||i)&&!!e.accessorFn}},createTable:e=>{e.getGlobalAutoFilterFn=()=>gw.includesString,e.getGlobalFilterFn=()=>{var t,n;const{globalFilterFn:r}=e.options;return Xb(r)?r:"auto"===r?e.getGlobalAutoFilterFn():null!=(t=null==(n=e.options.filterFns)?void 0:n[r])?t:gw[r]},e.setGlobalFilter=t=>{null==e.options.onGlobalFilterChange||e.options.onGlobalFilterChange(t)},e.resetGlobalFilter=t=>{e.setGlobalFilter(t?void 0:e.initialState.globalFilter)}}},{getInitialState:e=>({sorting:[],...e}),getDefaultColumnDef:()=>({sortingFn:"auto",sortUndefined:1}),getDefaultOptions:e=>({onSortingChange:Kb("sorting",e),isMultiSortEvent:e=>e.shiftKey}),createColumn:(e,t)=>{e.getAutoSortingFn=()=>{const n=t.getFilteredRowModel().flatRows.slice(10);let r=!1;for(const t of n){const n=null==t?void 0:t.getValue(e.id);if("[object Date]"===Object.prototype.toString.call(n))return Bw.datetime;if("string"==typeof n&&(r=!0,n.split(Fw).length>1))return Bw.alphanumeric}return r?Bw.text:Bw.basic},e.getAutoSortDir=()=>{const n=t.getFilteredRowModel().flatRows[0];return"string"==typeof(null==n?void 0:n.getValue(e.id))?"asc":"desc"},e.getSortingFn=()=>{var n,r;if(!e)throw new Error;return Xb(e.columnDef.sortingFn)?e.columnDef.sortingFn:"auto"===e.columnDef.sortingFn?e.getAutoSortingFn():null!=(n=null==(r=t.options.sortingFns)?void 0:r[e.columnDef.sortingFn])?n:Bw[e.columnDef.sortingFn]},e.toggleSorting=(n,r)=>{const o=e.getNextSortingOrder(),i=null!=n;t.setSorting((a=>{const s=null==a?void 0:a.find((t=>t.id===e.id)),l=null==a?void 0:a.findIndex((t=>t.id===e.id));let c,u=[],d=i?n:"desc"===o;var h;(c=null!=a&&a.length&&e.getCanMultiSort()&&r?s?"toggle":"add":null!=a&&a.length&&l!==a.length-1?"replace":s?"toggle":"replace","toggle"===c&&(i||o||(c="remove")),"add"===c)?(u=[...a,{id:e.id,desc:d}],u.splice(0,u.length-(null!=(h=t.options.maxMultiSortColCount)?h:Number.MAX_SAFE_INTEGER))):u="toggle"===c?a.map((t=>t.id===e.id?{...t,desc:d}:t)):"remove"===c?a.filter((t=>t.id!==e.id)):[{id:e.id,desc:d}];return u}))},e.getFirstSortDir=()=>{var n,r;return(null!=(n=null!=(r=e.columnDef.sortDescFirst)?r:t.options.sortDescFirst)?n:"desc"===e.getAutoSortDir())?"desc":"asc"},e.getNextSortingOrder=n=>{var r,o;const i=e.getFirstSortDir(),a=e.getIsSorted();return a?!!(a===i||null!=(r=t.options.enableSortingRemoval)&&!r||n&&null!=(o=t.options.enableMultiRemove)&&!o)&&("desc"===a?"asc":"desc"):i},e.getCanSort=()=>{var n,r;return(null==(n=e.columnDef.enableSorting)||n)&&(null==(r=t.options.enableSorting)||r)&&!!e.accessorFn},e.getCanMultiSort=()=>{var n,r;return null!=(n=null!=(r=e.columnDef.enableMultiSort)?r:t.options.enableMultiSort)?n:!!e.accessorFn},e.getIsSorted=()=>{var n;const r=null==(n=t.getState().sorting)?void 0:n.find((t=>t.id===e.id));return!!r&&(r.desc?"desc":"asc")},e.getSortIndex=()=>{var n,r;return null!=(n=null==(r=t.getState().sorting)?void 0:r.findIndex((t=>t.id===e.id)))?n:-1},e.clearSorting=()=>{t.setSorting((t=>null!=t&&t.length?t.filter((t=>t.id!==e.id)):[]))},e.getToggleSortingHandler=()=>{const n=e.getCanSort();return r=>{n&&(null==r.persist||r.persist(),null==e.toggleSorting||e.toggleSorting(void 0,!!e.getCanMultiSort()&&(null==t.options.isMultiSortEvent?void 0:t.options.isMultiSortEvent(r))))}}},createTable:e=>{e.setSorting=t=>null==e.options.onSortingChange?void 0:e.options.onSortingChange(t),e.resetSorting=t=>{var n,r;e.setSorting(t?[]:null!=(n=null==(r=e.initialState)?void 0:r.sorting)?n:[])},e.getPreSortedRowModel=()=>e.getGroupedRowModel(),e.getSortedRowModel=()=>(!e._getSortedRowModel&&e.options.getSortedRowModel&&(e._getSortedRowModel=e.options.getSortedRowModel(e)),e.options.manualSorting||!e._getSortedRowModel?e.getPreSortedRowModel():e._getSortedRowModel())}},ww,{getInitialState:e=>({expanded:{},...e}),getDefaultOptions:e=>({onExpandedChange:Kb("expanded",e),paginateExpandedRows:!0}),createTable:e=>{let t=!1,n=!1;e._autoResetExpanded=()=>{var r,o;if(t){if(null!=(r=null!=(o=e.options.autoResetAll)?o:e.options.autoResetExpanded)?r:!e.options.manualExpanding){if(n)return;n=!0,e._queue((()=>{e.resetExpanded(),n=!1}))}}else e._queue((()=>{t=!0}))},e.setExpanded=t=>null==e.options.onExpandedChange?void 0:e.options.onExpandedChange(t),e.toggleAllRowsExpanded=t=>{(null!=t?t:!e.getIsAllRowsExpanded())?e.setExpanded(!0):e.setExpanded({})},e.resetExpanded=t=>{var n,r;e.setExpanded(t?{}:null!=(n=null==(r=e.initialState)?void 0:r.expanded)?n:{})},e.getCanSomeRowsExpand=()=>e.getPrePaginationRowModel().flatRows.some((e=>e.getCanExpand())),e.getToggleAllRowsExpandedHandler=()=>t=>{null==t.persist||t.persist(),e.toggleAllRowsExpanded()},e.getIsSomeRowsExpanded=()=>{const t=e.getState().expanded;return!0===t||Object.values(t).some(Boolean)},e.getIsAllRowsExpanded=()=>{const t=e.getState().expanded;return"boolean"==typeof t?!0===t:!!Object.keys(t).length&&!e.getRowModel().flatRows.some((e=>!e.getIsExpanded()))},e.getExpandedDepth=()=>{let t=0;return(!0===e.getState().expanded?Object.keys(e.getRowModel().rowsById):Object.keys(e.getState().expanded)).forEach((e=>{const n=e.split(".");t=Math.max(t,n.length)})),t},e.getPreExpandedRowModel=()=>e.getSortedRowModel(),e.getExpandedRowModel=()=>(!e._getExpandedRowModel&&e.options.getExpandedRowModel&&(e._getExpandedRowModel=e.options.getExpandedRowModel(e)),e.options.manualExpanding||!e._getExpandedRowModel?e.getPreExpandedRowModel():e._getExpandedRowModel())},createRow:(e,t)=>{e.toggleExpanded=n=>{t.setExpanded((r=>{var o;const i=!0===r||!(null==r||!r[e.id]);let a={};if(!0===r?Object.keys(t.getRowModel().rowsById).forEach((e=>{a[e]=!0})):a=r,n=null!=(o=n)?o:!i,!i&&n)return{...a,[e.id]:!0};if(i&&!n){const{[e.id]:t,...n}=a;return n}return r}))},e.getIsExpanded=()=>{var n;const r=t.getState().expanded;return!!(null!=(n=null==t.options.getIsRowExpanded?void 0:t.options.getIsRowExpanded(e))?n:!0===r||(null==r?void 0:r[e.id]))},e.getCanExpand=()=>{var n,r,o;return null!=(n=null==t.options.getRowCanExpand?void 0:t.options.getRowCanExpand(e))?n:(null==(r=t.options.enableExpanding)||r)&&!(null==(o=e.subRows)||!o.length)},e.getIsAllParentsExpanded=()=>{let n=!0,r=e;for(;n&&r.parentId;)r=t.getRow(r.parentId,!0),n=r.getIsExpanded();return n},e.getToggleExpandedHandler=()=>{const t=e.getCanExpand();return()=>{t&&e.toggleExpanded()}}}},Ow,Pw,Iw,Cw];function $w(e){var t,n;const r=[...Vw,...null!=(t=e._features)?t:[]];let o={_features:r};const i=o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultOptions?void 0:t.getDefaultOptions(o))),{});let a={...null!=(n=e.initialState)?n:{}};o._features.forEach((e=>{var t;a=null!=(t=null==e.getInitialState?void 0:e.getInitialState(a))?t:a}));const s=[];let l=!1;const c={_features:r,options:{...i,...e},initialState:a,_queue:e=>{s.push(e),l||(l=!0,Promise.resolve().then((()=>{for(;s.length;)s.shift()();l=!1})).catch((e=>setTimeout((()=>{throw e})))))},reset:()=>{o.setState(o.initialState)},setOptions:e=>{const t=Yb(e,o.options);o.options=(e=>o.options.mergeOptions?o.options.mergeOptions(i,e):{...i,...e})(t)},getState:()=>o.options.state,setState:e=>{null==o.options.onStateChange||o.options.onStateChange(e)},_getRowId:(e,t,n)=>{var r;return null!=(r=null==o.options.getRowId?void 0:o.options.getRowId(e,t,n))?r:`${n?[n.id,t].join("."):t}`},getCoreRowModel:()=>(o._getCoreRowModel||(o._getCoreRowModel=o.options.getCoreRowModel(o)),o._getCoreRowModel()),getRowModel:()=>o.getPaginationRowModel(),getRow:(e,t)=>{let n=(t?o.getPrePaginationRowModel():o.getRowModel()).rowsById[e];if(!n&&(n=o.getCoreRowModel().rowsById[e],!n))throw new Error;return n},_getDefaultColumnDef:Jb((()=>[o.options.defaultColumn]),(e=>{var t;return e=null!=(t=e)?t:{},{header:e=>{const t=e.header.column.columnDef;return t.accessorKey?t.accessorKey:t.accessorFn?t.id:null},cell:e=>{var t,n;return null!=(t=null==(n=e.renderValue())||null==n.toString?void 0:n.toString())?t:null},...o._features.reduce(((e,t)=>Object.assign(e,null==t.getDefaultColumnDef?void 0:t.getDefaultColumnDef())),{}),...e}}),Qb(e,"debugColumns")),_getColumnDefs:()=>o.options.columns,getAllColumns:Jb((()=>[o._getColumnDefs()]),(e=>{const t=function(e,n,r){return void 0===r&&(r=0),e.map((e=>{const i=function(e,t,n,r){var o,i;const a={...e._getDefaultColumnDef(),...t},s=a.accessorKey;let l,c=null!=(o=null!=(i=a.id)?i:s?s.replace(".","_"):void 0)?o:"string"==typeof a.header?a.header:void 0;if(a.accessorFn?l=a.accessorFn:s&&(l=s.includes(".")?e=>{let t=e;for(const e of s.split(".")){var n;t=null==(n=t)?void 0:n[e]}return t}:e=>e[a.accessorKey]),!c)throw new Error;let u={id:`${String(c)}`,accessorFn:l,parent:r,depth:n,columnDef:a,columns:[],getFlatColumns:Jb((()=>[!0]),(()=>{var e;return[u,...null==(e=u.columns)?void 0:e.flatMap((e=>e.getFlatColumns()))]}),Qb(e.options,"debugColumns")),getLeafColumns:Jb((()=>[e._getOrderColumnsFn()]),(e=>{var t;if(null!=(t=u.columns)&&t.length){let t=u.columns.flatMap((e=>e.getLeafColumns()));return e(t)}return[u]}),Qb(e.options,"debugColumns"))};for(const t of e._features)null==t.createColumn||t.createColumn(u,e);return u}(o,e,r,n),a=e;return i.columns=a.columns?t(a.columns,i,r+1):[],i}))};return t(e)}),Qb(e,"debugColumns")),getAllFlatColumns:Jb((()=>[o.getAllColumns()]),(e=>e.flatMap((e=>e.getFlatColumns()))),Qb(e,"debugColumns")),_getAllFlatColumnsById:Jb((()=>[o.getAllFlatColumns()]),(e=>e.reduce(((e,t)=>(e[t.id]=t,e)),{})),Qb(e,"debugColumns")),getAllLeafColumns:Jb((()=>[o.getAllColumns(),o._getOrderColumnsFn()]),((e,t)=>t(e.flatMap((e=>e.getLeafColumns())))),Qb(e,"debugColumns")),getColumn:e=>o._getAllFlatColumnsById()[e]};Object.assign(o,c);for(let e=0;e{var r;t.push(e),null!=(r=e.subRows)&&r.length&&e.getIsExpanded()&&e.subRows.forEach(n)};return e.rows.forEach(n),{rows:t,flatRows:e.flatRows,rowsById:e.rowsById}}function Uw(e,t,n){return n.options.filterFromLeafRows?function(e,t,n){var r;const o=[],i={},a=null!=(r=n.options.maxLeafRowFilterDepth)?r:100,s=function(e,r){void 0===r&&(r=0);const l=[];for(let u=0;uJb((()=>[e.getState().grouping,e.getPreGroupedRowModel()]),((t,n)=>{if(!n.rows.length||!t.length)return n;const r=t.filter((t=>e.getColumn(t))),o=[],i={},a=function(t,n,s){if(void 0===n&&(n=0),n>=r.length)return t.map((e=>(e.depth=n,o.push(e),i[e.id]=e,e.subRows&&(e.subRows=a(e.subRows,n+1,e.id)),e)));const l=r[n],c=function(e,t){const n=new Map;return e.reduce(((e,n)=>{const r=`${n.getGroupingValue(t)}`,o=e.get(r);return o?o.push(n):e.set(r,[n]),e}),n)}(t,l),u=Array.from(c.entries()).map(((t,c)=>{let[u,d]=t,h=`${l}:${u}`;h=s?`${s}>${h}`:h;const p=a(d,n+1,h),f=n?Zb(d,(e=>e.subRows)):d,g=ow(e,h,f[0].original,c,n,void 0,s);return Object.assign(g,{groupingColumnId:l,groupingValue:u,subRows:p,leafRows:f,getValue:t=>{if(r.includes(t)){if(g._valuesCache.hasOwnProperty(t))return g._valuesCache[t];var n;if(d[0])g._valuesCache[t]=null!=(n=d[0].getValue(t))?n:void 0;return g._valuesCache[t]}if(g._groupingValuesCache.hasOwnProperty(t))return g._groupingValuesCache[t];const o=e.getColumn(t),i=null==o?void 0:o.getAggregationFn();return i?(g._groupingValuesCache[t]=i(t,f,d),g._groupingValuesCache[t]):void 0}}),p.forEach((e=>{o.push(e),i[e.id]=e})),g}));return u},s=a(n.rows,0);return s.forEach((e=>{o.push(e),i[e.id]=e})),{rows:s,flatRows:o,rowsById:i}}),Qb(e.options,"debugTable",0,(()=>{e._queue((()=>{e._autoResetExpanded(),e._autoResetPageIndex()}))})))} /** * match-sorter-utils * @@ -210,14 +225,14 @@ function P(e,t){return O(e,t)}["a","abbr","address","area","article","aside","au * * @license MIT */ -const Fm={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Ấ:"A",Ắ:"A",Ẳ:"A",Ẵ:"A",Ặ:"A",Æ:"AE",Ầ:"A",Ằ:"A",Ȃ:"A",Ç:"C",Ḉ:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ế:"E",Ḗ:"E",Ề:"E",Ḕ:"E",Ḝ:"E",Ȇ:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ḯ:"I",Ȋ:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",Ố:"O",Ṍ:"O",Ṓ:"O",Ȏ:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ý:"Y",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",ấ:"a",ắ:"a",ẳ:"a",ẵ:"a",ặ:"a",æ:"ae",ầ:"a",ằ:"a",ȃ:"a",ç:"c",ḉ:"c",è:"e",é:"e",ê:"e",ë:"e",ế:"e",ḗ:"e",ề:"e",ḕ:"e",ḝ:"e",ȇ:"e",ì:"i",í:"i",î:"i",ï:"i",ḯ:"i",ȋ:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",ố:"o",ṍ:"o",ṓ:"o",ȏ:"o",ù:"u",ú:"u",û:"u",ü:"u",ý:"y",ÿ:"y",Ā:"A",ā:"a",Ă:"A",ă:"a",Ą:"A",ą:"a",Ć:"C",ć:"c",Ĉ:"C",ĉ:"c",Ċ:"C",ċ:"c",Č:"C",č:"c",C̆:"C",c̆:"c",Ď:"D",ď:"d",Đ:"D",đ:"d",Ē:"E",ē:"e",Ĕ:"E",ĕ:"e",Ė:"E",ė:"e",Ę:"E",ę:"e",Ě:"E",ě:"e",Ĝ:"G",Ǵ:"G",ĝ:"g",ǵ:"g",Ğ:"G",ğ:"g",Ġ:"G",ġ:"g",Ģ:"G",ģ:"g",Ĥ:"H",ĥ:"h",Ħ:"H",ħ:"h",Ḫ:"H",ḫ:"h",Ĩ:"I",ĩ:"i",Ī:"I",ī:"i",Ĭ:"I",ĭ:"i",Į:"I",į:"i",İ:"I",ı:"i",IJ:"IJ",ij:"ij",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",Ḱ:"K",ḱ:"k",K̆:"K",k̆:"k",Ĺ:"L",ĺ:"l",Ļ:"L",ļ:"l",Ľ:"L",ľ:"l",Ŀ:"L",ŀ:"l",Ł:"l",ł:"l",Ḿ:"M",ḿ:"m",M̆:"M",m̆:"m",Ń:"N",ń:"n",Ņ:"N",ņ:"n",Ň:"N",ň:"n",ʼn:"n",N̆:"N",n̆:"n",Ō:"O",ō:"o",Ŏ:"O",ŏ:"o",Ő:"O",ő:"o",Œ:"OE",œ:"oe",P̆:"P",p̆:"p",Ŕ:"R",ŕ:"r",Ŗ:"R",ŗ:"r",Ř:"R",ř:"r",R̆:"R",r̆:"r",Ȓ:"R",ȓ:"r",Ś:"S",ś:"s",Ŝ:"S",ŝ:"s",Ş:"S",Ș:"S",ș:"s",ş:"s",Š:"S",š:"s",Ţ:"T",ţ:"t",ț:"t",Ț:"T",Ť:"T",ť:"t",Ŧ:"T",ŧ:"t",T̆:"T",t̆:"t",Ũ:"U",ũ:"u",Ū:"U",ū:"u",Ŭ:"U",ŭ:"u",Ů:"U",ů:"u",Ű:"U",ű:"u",Ų:"U",ų:"u",Ȗ:"U",ȗ:"u",V̆:"V",v̆:"v",Ŵ:"W",ŵ:"w",Ẃ:"W",ẃ:"w",X̆:"X",x̆:"x",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Y̆:"Y",y̆:"y",Ź:"Z",ź:"z",Ż:"Z",ż:"z",Ž:"Z",ž:"z",ſ:"s",ƒ:"f",Ơ:"O",ơ:"o",Ư:"U",ư:"u",Ǎ:"A",ǎ:"a",Ǐ:"I",ǐ:"i",Ǒ:"O",ǒ:"o",Ǔ:"U",ǔ:"u",Ǖ:"U",ǖ:"u",Ǘ:"U",ǘ:"u",Ǚ:"U",ǚ:"u",Ǜ:"U",ǜ:"u",Ứ:"U",ứ:"u",Ṹ:"U",ṹ:"u",Ǻ:"A",ǻ:"a",Ǽ:"AE",ǽ:"ae",Ǿ:"O",ǿ:"o",Þ:"TH",þ:"th",Ṕ:"P",ṕ:"p",Ṥ:"S",ṥ:"s",X́:"X",x́:"x",Ѓ:"Г",ѓ:"г",Ќ:"К",ќ:"к",A̋:"A",a̋:"a",E̋:"E",e̋:"e",I̋:"I",i̋:"i",Ǹ:"N",ǹ:"n",Ồ:"O",ồ:"o",Ṑ:"O",ṑ:"o",Ừ:"U",ừ:"u",Ẁ:"W",ẁ:"w",Ỳ:"Y",ỳ:"y",Ȁ:"A",ȁ:"a",Ȅ:"E",ȅ:"e",Ȉ:"I",ȉ:"i",Ȍ:"O",ȍ:"o",Ȑ:"R",ȑ:"r",Ȕ:"U",ȕ:"u",B̌:"B",b̌:"b",Č̣:"C",č̣:"c",Ê̌:"E",ê̌:"e",F̌:"F",f̌:"f",Ǧ:"G",ǧ:"g",Ȟ:"H",ȟ:"h",J̌:"J",ǰ:"j",Ǩ:"K",ǩ:"k",M̌:"M",m̌:"m",P̌:"P",p̌:"p",Q̌:"Q",q̌:"q",Ř̩:"R",ř̩:"r",Ṧ:"S",ṧ:"s",V̌:"V",v̌:"v",W̌:"W",w̌:"w",X̌:"X",x̌:"x",Y̌:"Y",y̌:"y",A̧:"A",a̧:"a",B̧:"B",b̧:"b",Ḑ:"D",ḑ:"d",Ȩ:"E",ȩ:"e",Ɛ̧:"E",ɛ̧:"e",Ḩ:"H",ḩ:"h",I̧:"I",i̧:"i",Ɨ̧:"I",ɨ̧:"i",M̧:"M",m̧:"m",O̧:"O",o̧:"o",Q̧:"Q",q̧:"q",U̧:"U",u̧:"u",X̧:"X",x̧:"x",Z̧:"Z",z̧:"z"},Dm=Object.keys(Fm).join("|"),Nm=new RegExp(Dm,"g"); +const qw={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",Ấ:"A",Ắ:"A",Ẳ:"A",Ẵ:"A",Ặ:"A",Æ:"AE",Ầ:"A",Ằ:"A",Ȃ:"A",Ç:"C",Ḉ:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ế:"E",Ḗ:"E",Ề:"E",Ḕ:"E",Ḝ:"E",Ȇ:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ḯ:"I",Ȋ:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",Ố:"O",Ṍ:"O",Ṓ:"O",Ȏ:"O",Ù:"U",Ú:"U",Û:"U",Ü:"U",Ý:"Y",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",ấ:"a",ắ:"a",ẳ:"a",ẵ:"a",ặ:"a",æ:"ae",ầ:"a",ằ:"a",ȃ:"a",ç:"c",ḉ:"c",è:"e",é:"e",ê:"e",ë:"e",ế:"e",ḗ:"e",ề:"e",ḕ:"e",ḝ:"e",ȇ:"e",ì:"i",í:"i",î:"i",ï:"i",ḯ:"i",ȋ:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",ố:"o",ṍ:"o",ṓ:"o",ȏ:"o",ù:"u",ú:"u",û:"u",ü:"u",ý:"y",ÿ:"y",Ā:"A",ā:"a",Ă:"A",ă:"a",Ą:"A",ą:"a",Ć:"C",ć:"c",Ĉ:"C",ĉ:"c",Ċ:"C",ċ:"c",Č:"C",č:"c",C̆:"C",c̆:"c",Ď:"D",ď:"d",Đ:"D",đ:"d",Ē:"E",ē:"e",Ĕ:"E",ĕ:"e",Ė:"E",ė:"e",Ę:"E",ę:"e",Ě:"E",ě:"e",Ĝ:"G",Ǵ:"G",ĝ:"g",ǵ:"g",Ğ:"G",ğ:"g",Ġ:"G",ġ:"g",Ģ:"G",ģ:"g",Ĥ:"H",ĥ:"h",Ħ:"H",ħ:"h",Ḫ:"H",ḫ:"h",Ĩ:"I",ĩ:"i",Ī:"I",ī:"i",Ĭ:"I",ĭ:"i",Į:"I",į:"i",İ:"I",ı:"i",IJ:"IJ",ij:"ij",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",Ḱ:"K",ḱ:"k",K̆:"K",k̆:"k",Ĺ:"L",ĺ:"l",Ļ:"L",ļ:"l",Ľ:"L",ľ:"l",Ŀ:"L",ŀ:"l",Ł:"l",ł:"l",Ḿ:"M",ḿ:"m",M̆:"M",m̆:"m",Ń:"N",ń:"n",Ņ:"N",ņ:"n",Ň:"N",ň:"n",ʼn:"n",N̆:"N",n̆:"n",Ō:"O",ō:"o",Ŏ:"O",ŏ:"o",Ő:"O",ő:"o",Œ:"OE",œ:"oe",P̆:"P",p̆:"p",Ŕ:"R",ŕ:"r",Ŗ:"R",ŗ:"r",Ř:"R",ř:"r",R̆:"R",r̆:"r",Ȓ:"R",ȓ:"r",Ś:"S",ś:"s",Ŝ:"S",ŝ:"s",Ş:"S",Ș:"S",ș:"s",ş:"s",Š:"S",š:"s",Ţ:"T",ţ:"t",ț:"t",Ț:"T",Ť:"T",ť:"t",Ŧ:"T",ŧ:"t",T̆:"T",t̆:"t",Ũ:"U",ũ:"u",Ū:"U",ū:"u",Ŭ:"U",ŭ:"u",Ů:"U",ů:"u",Ű:"U",ű:"u",Ų:"U",ų:"u",Ȗ:"U",ȗ:"u",V̆:"V",v̆:"v",Ŵ:"W",ŵ:"w",Ẃ:"W",ẃ:"w",X̆:"X",x̆:"x",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Y̆:"Y",y̆:"y",Ź:"Z",ź:"z",Ż:"Z",ż:"z",Ž:"Z",ž:"z",ſ:"s",ƒ:"f",Ơ:"O",ơ:"o",Ư:"U",ư:"u",Ǎ:"A",ǎ:"a",Ǐ:"I",ǐ:"i",Ǒ:"O",ǒ:"o",Ǔ:"U",ǔ:"u",Ǖ:"U",ǖ:"u",Ǘ:"U",ǘ:"u",Ǚ:"U",ǚ:"u",Ǜ:"U",ǜ:"u",Ứ:"U",ứ:"u",Ṹ:"U",ṹ:"u",Ǻ:"A",ǻ:"a",Ǽ:"AE",ǽ:"ae",Ǿ:"O",ǿ:"o",Þ:"TH",þ:"th",Ṕ:"P",ṕ:"p",Ṥ:"S",ṥ:"s",X́:"X",x́:"x",Ѓ:"Г",ѓ:"г",Ќ:"К",ќ:"к",A̋:"A",a̋:"a",E̋:"E",e̋:"e",I̋:"I",i̋:"i",Ǹ:"N",ǹ:"n",Ồ:"O",ồ:"o",Ṑ:"O",ṑ:"o",Ừ:"U",ừ:"u",Ẁ:"W",ẁ:"w",Ỳ:"Y",ỳ:"y",Ȁ:"A",ȁ:"a",Ȅ:"E",ȅ:"e",Ȉ:"I",ȉ:"i",Ȍ:"O",ȍ:"o",Ȑ:"R",ȑ:"r",Ȕ:"U",ȕ:"u",B̌:"B",b̌:"b",Č̣:"C",č̣:"c",Ê̌:"E",ê̌:"e",F̌:"F",f̌:"f",Ǧ:"G",ǧ:"g",Ȟ:"H",ȟ:"h",J̌:"J",ǰ:"j",Ǩ:"K",ǩ:"k",M̌:"M",m̌:"m",P̌:"P",p̌:"p",Q̌:"Q",q̌:"q",Ř̩:"R",ř̩:"r",Ṧ:"S",ṧ:"s",V̌:"V",v̌:"v",W̌:"W",w̌:"w",X̌:"X",x̌:"x",Y̌:"Y",y̌:"y",A̧:"A",a̧:"a",B̧:"B",b̧:"b",Ḑ:"D",ḑ:"d",Ȩ:"E",ȩ:"e",Ɛ̧:"E",ɛ̧:"e",Ḩ:"H",ḩ:"h",I̧:"I",i̧:"i",Ɨ̧:"I",ɨ̧:"i",M̧:"M",m̧:"m",O̧:"O",o̧:"o",Q̧:"Q",q̧:"q",U̧:"U",u̧:"u",X̧:"X",x̧:"x",Z̧:"Z",z̧:"z"},Hw=Object.keys(qw).join("|"),Yw=new RegExp(Hw,"g"); /** * @name match-sorter * @license MIT license. * @copyright (c) 2099 Kent C. Dodds * @author Kent C. Dodds (https://kentcdodds.com) */ -const Bm={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0};function zm(e,t,n){var r;if((n=n||{}).threshold=null!=(r=n.threshold)?r:Bm.MATCHES,!n.accessors){const r=Vm(e,t,n);return{rankedValue:e,rank:r,accessorIndex:-1,accessorThreshold:n.threshold,passed:r>=n.threshold}}const i=function(e,t){const n=[];for(let r=0,i=t.length;r=Bm.MATCHES?a=s:a>l&&(a=l),a=Math.min(a,l),a>=c&&a>o.rank&&(o.rank=a,o.passed=!0,o.accessorIndex=e,o.accessorThreshold=c,o.rankedValue=r.itemValue)}return o}function Vm(e,t,n){return e=$m(e,n),(t=$m(t,n)).length>e.length?Bm.NO_MATCH:e===t?Bm.CASE_SENSITIVE_EQUAL:(e=e.toLowerCase())===(t=t.toLowerCase())?Bm.EQUAL:e.startsWith(t)?Bm.STARTS_WITH:e.includes(` ${t}`)?Bm.WORD_STARTS_WITH:e.includes(t)?Bm.CONTAINS:1===t.length?Bm.NO_MATCH:function(e){let t="";return e.split(" ").forEach((e=>{e.split("-").forEach((e=>{t+=e.substr(0,1)}))})),t}(e).includes(t)?Bm.ACRONYM:function(e,t){let n=0,r=0;function i(e,t,r){for(let i=r,o=t.length;i-1))return Bm.NO_MATCH}return o(r-a)}(e,t)}function $m(e,t){let{keepDiacritics:n}=t;return e=`${e}`,n||(e=e.replace(Nm,(e=>Fm[e]))),e}function Gm(e,t){let n=t;"object"==typeof t&&(n=t.accessor);const r=n(e);return null==r?[]:Array.isArray(r)?r:[String(r)]}const Um={maxRanking:1/0,minRanking:-1/0};function Wm(e){return"function"==typeof e?Um:{...Um,...e}}const qm=(0,ve.A)((0,k.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"),Hm=(0,ve.A)((0,k.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"),Ym=(0,u.Ay)("span",{shouldForwardProp:kt.A})({position:"relative",display:"flex"}),Km=(0,u.Ay)(qm)({transform:"scale(1)"}),Xm=(0,u.Ay)(Hm)((0,d.A)((({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]}))));const Zm=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,i={...e,checked:t};return(0,k.jsxs)(Ym,{className:n.root,ownerState:i,children:[(0,k.jsx)(Km,{fontSize:r,className:n.background,ownerState:i}),(0,k.jsx)(Xm,{fontSize:r,className:n.dot,ownerState:i})]})};var Jm=n(89194);const Qm=o.createContext(void 0);function ey(e){return(0,S.Ay)("MuiRadio",e)}const ty=(0,A.A)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),ny=(0,u.Ay)(tr.A,{shouldForwardProp:e=>(0,kt.A)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"medium"!==n.size&&t[`size${(0,U.A)(n.size)}`],t[`color${(0,U.A)(n.color)}`]]}})((0,d.A)((({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${ty.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,te.X4)(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,te.X4)(e.palette[t].main,e.palette.action.hoverOpacity)}}}))),...Object.entries(e.palette).filter((([,e])=>e&&e.main)).map((([t])=>({props:{color:t},style:{[`&.${ty.checked}`]:{color:(e.vars||e).palette[t].main}}}))),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))));const ry=(0,k.jsx)(Zm,{checked:!0}),iy=(0,k.jsx)(Zm,{}),oy=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiRadio"}),{checked:r,checkedIcon:i=ry,color:a="primary",icon:s=iy,name:u,onChange:d,size:p="medium",className:f,disableRipple:g=!1,...m}=n,y={...n,disableRipple:g,color:a,size:p},v=(e=>{const{classes:t,color:n,size:r}=e,i={root:["root",`color${(0,U.A)(n)}`,"medium"!==r&&`size${(0,U.A)(r)}`]};return{...t,...(0,c.A)(i,ey,t)}})(y),b=o.useContext(Qm);let w=r;const x=(0,Jm.A)(d,b&&b.onChange);let A=u;var S,C;return b&&(void 0===w&&(S=b.value,w="object"==typeof(C=n.value)&&null!==C?S===C:String(S)===String(C)),void 0===A&&(A=b.name)),(0,k.jsx)(ny,{type:"radio",icon:o.cloneElement(s,{fontSize:iy.props.fontSize??p}),checkedIcon:o.cloneElement(i,{fontSize:ry.props.fontSize??p}),ownerState:y,classes:v,name:A,checked:w,onChange:x,ref:t,className:(0,l.A)(v.root,f),...m})}));var ay=n(10476),sy=n(20138),ly=n(42053),cy=n(76821),uy=n(46740),dy=n(82931),hy=n(72651),py=n(90395),fy=n(41636),gy=n(97404),my=n(43036),yy=n(13955),vy=n(68650),by=n(5299),wy=n(89634),xy=n(36738),Ay=n(63593),Sy=n(96352),Cy=n(93422),Ey=n(49682),ky=n(30386),Ty=n(82762),_y=n(99104),Oy=n(74442),Py=n(75393),Iy=n(30336),My=n(6473),Ly=n(54958),Ry=n(46315),jy=n(18082),Fy=n(84915),Dy=n(6465),Ny=n(5856),By=n(49330);function zy(e,t,n){let r,i=n.initialDeps??[];return()=>{var o,a,s,l;let c;n.key&&(null==(o=n.debug)?void 0:o.call(n))&&(c=Date.now());const u=e(),d=u.length!==i.length||u.some(((e,t)=>i[t]!==e));if(!d)return r;let h;if(i=u,n.key&&(null==(a=n.debug)?void 0:a.call(n))&&(h=Date.now()),r=t(...u),n.key&&(null==(s=n.debug)?void 0:s.call(n))){const e=Math.round(100*(Date.now()-c))/100,t=Math.round(100*(Date.now()-h))/100,r=t/16,i=(e,t)=>{for(e=String(e);e.length{let r;return function(...i){e.clearTimeout(r),r=e.setTimeout((()=>t.apply(this,i)),n)}},Gy=e=>e,Uy=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let e=t;e<=n;e++)r.push(e);return r},Wy=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;const i=e=>{const{width:n,height:r}=e;t({width:Math.round(n),height:Math.round(r)})};if(i(n.getBoundingClientRect()),!r.ResizeObserver)return()=>{};const o=new r.ResizeObserver((e=>{const t=e[0];if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0];if(e)return void i({width:e.inlineSize,height:e.blockSize})}i(n.getBoundingClientRect())}));return o.observe(n,{box:"border-box"}),()=>{o.unobserve(n)}},qy={passive:!0},Hy="undefined"==typeof window||"onscrollend"in window,Yy=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e.targetWindow;if(!r)return;let i=0;const o=Hy?()=>{}:$y(r,(()=>{t(i,!1)}),e.options.isScrollingResetDelay),a=r=>()=>{const{horizontal:a,isRtl:s}=e.options;i=a?n.scrollLeft*(s?-1:1):n.scrollTop,o(),t(i,r)},s=a(!0),l=a(!1);return l(),n.addEventListener("scroll",s,qy),n.addEventListener("scrollend",l,qy),()=>{n.removeEventListener("scroll",s),n.removeEventListener("scrollend",l)}},Ky=(e,t,n)=>{if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0];if(e){return Math.round(e[n.options.horizontal?"inlineSize":"blockSize"])}}return Math.round(e.getBoundingClientRect()[n.options.horizontal?"width":"height"])},Xy=(e,{adjustments:t=0,behavior:n},r)=>{var i,o;const a=e+t;null==(o=null==(i=r.scrollElement)?void 0:i.scrollTo)||o.call(i,{[r.options.horizontal?"left":"top"]:a,behavior:n})};class Zy{constructor(e){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null;const t=()=>e||(this.targetWindow&&this.targetWindow.ResizeObserver?e=new this.targetWindow.ResizeObserver((e=>{e.forEach((e=>{this._measureElement(e.target,e)}))})):null);return{disconnect:()=>{var e;return null==(e=t())?void 0:e.disconnect()},observe:e=>{var n;return null==(n=t())?void 0:n.observe(e,{box:"border-box"})},unobserve:e=>{var n;return null==(n=t())?void 0:n.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach((([t,n])=>{void 0===n&&delete e[t]})),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:Gy,rangeExtractor:Uy,onChange:()=>{},measureElement:Ky,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,isRtl:!1,...e}},this.notify=e=>{var t,n;null==(n=(t=this.options).onChange)||n.call(t,this,e)},this.maybeNotify=zy((()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null])),(e=>{this.notify(e)}),{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach((e=>e())),this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.observer.disconnect(),this.elementsCache.clear()},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;const t=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==t){if(this.cleanup(),!t)return void this.maybeNotify();this.scrollElement=t,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=(null==(e=this.scrollElement)?void 0:e.window)??null,this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,(e=>{this.scrollRect=e,this.maybeNotify()}))),this.unsubs.push(this.options.observeElementOffset(this,((e,t)=>{this.scrollAdjustments=0,this.scrollDirection=t?this.getScrollOffset()this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??("function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,t)=>{const n=new Map,r=new Map;for(let i=t-1;i>=0;i--){const t=e[i];if(n.has(t.lane))continue;const o=r.get(t.lane);if(null==o||t.end>o.end?r.set(t.lane,t):t.ende.end===t.end?e.index-t.index:e.end-t.end))[0]:void 0},this.getMeasurementOptions=zy((()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled]),((e,t,n,r,i)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i})),{key:!1}),this.getMeasurements=zy((()=>[this.getMeasurementOptions(),this.itemSizeCache]),(({count:e,paddingStart:t,scrollMargin:n,getItemKey:r,enabled:i},o)=>{if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),[];0===this.measurementsCache.length&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach((e=>{this.itemSizeCache.set(e.key,e.size)})));const a=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const s=this.measurementsCache.slice(0,a);for(let i=a;ithis.options.debug}),this.calculateRange=zy((()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()]),((e,t,n)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:n}){const r=e.length-1,i=t=>e[t].start,o=Jy(0,r,i,n);let a=o;for(;athis.options.debug}),this.getIndexes=zy((()=>[this.options.rangeExtractor,this.calculateRange(),this.options.overscan,this.options.count]),((e,t,n,r)=>null===t?[]:e({startIndex:t.startIndex,endIndex:t.endIndex,overscan:n,count:r})),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{const t=this.options.indexAttribute,n=e.getAttribute(t);return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{const n=this.indexFromElement(e),r=this.measurementsCache[n];if(!r)return;const i=r.key,o=this.elementsCache.get(i);o!==e&&(o&&this.observer.unobserve(o),this.observer.observe(e),this.elementsCache.set(i,e)),e.isConnected&&this.resizeItem(n,this.options.measureElement(e,t,this))},this.resizeItem=(e,t)=>{const n=this.measurementsCache[e];if(!n)return;const r=t-(this.itemSizeCache.get(n.key)??n.size);0!==r&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(n,r,this):n.start{e?this._measureElement(e,void 0):this.elementsCache.forEach(((e,t)=>{e.isConnected||(this.observer.unobserve(e),this.elementsCache.delete(t))}))},this.getVirtualItems=zy((()=>[this.getIndexes(),this.getMeasurements()]),((e,t)=>{const n=[];for(let r=0,i=e.length;rthis.options.debug}),this.getVirtualItemForOffset=e=>{const t=this.getMeasurements();if(0!==t.length)return Vy(t[Jy(0,t.length-1,(e=>Vy(t[e]).start),e)])},this.getOffsetForAlignment=(e,t)=>{const n=this.getSize(),r=this.getScrollOffset();"auto"===t&&(t=e<=r?"start":e>=r+n?"end":"start"),"start"===t||("end"===t?e-=n:"center"===t&&(e-=n/2));const i=this.options.horizontal?"scrollWidth":"scrollHeight",o=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[i]:this.scrollElement[i]:0)-n;return Math.max(Math.min(o,e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));const n=this.measurementsCache[e];if(!n)return;const r=this.getSize(),i=this.getScrollOffset();if("auto"===t)if(n.end>=i+r-this.options.scrollPaddingEnd)t="end";else{if(!(n.start<=i+this.options.scrollPaddingStart))return[i,t];t="start"}const o="end"===t?n.end+this.options.scrollPaddingEnd:n.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(o,t),t]},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{null!==this.scrollToIndexTimeoutId&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:t="start",behavior:n}={})=>{this.cancelScrollToIndex(),"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:n})},this.scrollToIndex=(e,{align:t="auto",behavior:n}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const r=this.getOffsetForIndex(e,t);if(!r)return;const[i,o]=r;this._scrollToOffset(i,{adjustments:void 0,behavior:n}),"smooth"!==n&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout((()=>{this.scrollToIndexTimeoutId=null;if(this.elementsCache.has(this.options.getItemKey(e))){const[i]=Vy(this.getOffsetForIndex(e,o));t=i,r=this.getScrollOffset(),Math.abs(t-r)<1||this.scrollToIndex(e,{align:o,behavior:n})}else this.scrollToIndex(e,{align:o,behavior:n});var t,r})))},this.scrollBy=(e,{behavior:t}={})=>{this.cancelScrollToIndex(),"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:t})},this.getTotalSize=()=>{var e;const t=this.getMeasurements();let n;return n=0===t.length?this.options.paddingStart:1===this.options.lanes?(null==(e=t[t.length-1])?void 0:e.end)??0:Math.max(...t.slice(-this.options.lanes).map((e=>e.end))),n-this.options.scrollMargin+this.options.paddingEnd},this._scrollToOffset=(e,{adjustments:t,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(e)}}const Jy=(e,t,n,r)=>{for(;e<=t;){const i=(e+t)/2|0,o=n(i);if(or))return i;t=i-1}}return e>0?e-1:0};var Qy=n(95491);const ev="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function tv(e){const t=o.useReducer((()=>({})),{})[1],n={...e,onChange:(n,r)=>{var i;r?(0,Qy.flushSync)(t):t(),null==(i=e.onChange)||i.call(e,n,r)}},[r]=o.useState((()=>new Zy(n)));return r.setOptions(n),o.useEffect((()=>r._didMount()),[]),ev((()=>r._willUpdate())),r}function nv(e){return tv({observeElementRect:Wy,observeElementOffset:Yy,scrollToFn:Xy,...e})}function rv(e){return(0,S.Ay)("MuiTableContainer",e)}(0,A.A)("MuiTableContainer",["root"]);const iv=(0,u.Ay)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),ov=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiTableContainer"}),{className:r,component:i="div",...o}=n,a={...n,component:i},s=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"]},rv,t)})(a);return(0,k.jsx)(iv,{ref:t,as:i,className:(0,l.A)(s.root,r),ownerState:a,...o})}));const av=o.createContext();function sv(e){return(0,S.Ay)("MuiTable",e)}(0,A.A)("MuiTable",["root","stickyHeader"]);const lv=(0,u.Ay)("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})((0,d.A)((({theme:e})=>({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":{...e.typography.body2,padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"},variants:[{props:({ownerState:e})=>e.stickyHeader,style:{borderCollapse:"separate"}}]})))),cv="table",uv=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiTable"}),{className:r,component:i=cv,padding:a="normal",size:s="medium",stickyHeader:u=!1,...d}=n,p={...n,component:i,padding:a,size:s,stickyHeader:u},f=(e=>{const{classes:t,stickyHeader:n}=e,r={root:["root",n&&"stickyHeader"]};return(0,c.A)(r,sv,t)})(p),g=o.useMemo((()=>({padding:a,size:s,stickyHeader:u})),[a,s,u]);return(0,k.jsx)(av.Provider,{value:g,children:(0,k.jsx)(lv,{as:i,role:i===cv?null:"table",ref:t,className:(0,l.A)(f.root,r),ownerState:p,...d})})}));const dv=o.createContext();function hv(e){return(0,S.Ay)("MuiTableBody",e)}(0,A.A)("MuiTableBody",["root"]);const pv=(0,u.Ay)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),fv={variant:"body"},gv="tbody",mv=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiTableBody"}),{className:r,component:i=gv,...o}=n,a={...n,component:i},s=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"]},hv,t)})(a);return(0,k.jsx)(dv.Provider,{value:fv,children:(0,k.jsx)(pv,{className:(0,l.A)(s.root,r),as:i,ref:t,role:i===gv?null:"rowgroup",ownerState:a,...o})})}));function yv(e){return(0,S.Ay)("MuiTableRow",e)}const vv=(0,A.A)("MuiTableRow",["root","selected","hover","head","footer"]),bv=(0,u.Ay)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((0,d.A)((({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${vv.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${vv.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,te.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,te.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})))),wv="tr",xv=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiTableRow"}),{className:r,component:i=wv,hover:a=!1,selected:s=!1,...u}=n,d=o.useContext(dv),p={...n,component:i,hover:a,selected:s,head:d&&"head"===d.variant,footer:d&&"footer"===d.variant},f=(e=>{const{classes:t,selected:n,hover:r,head:i,footer:o}=e,a={root:["root",n&&"selected",r&&"hover",i&&"head",o&&"footer"]};return(0,c.A)(a,yv,t)})(p);return(0,k.jsx)(bv,{as:i,ref:t,className:(0,l.A)(f.root,r),role:i===wv?null:"row",ownerState:p,...u})})),Av=xv;function Sv(e){return(0,S.Ay)("MuiTableCell",e)}const Cv=(0,A.A)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),Ev=(0,u.Ay)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${(0,U.A)(n.size)}`],"normal"!==n.padding&&t[`padding${(0,U.A)(n.padding)}`],"inherit"!==n.align&&t[`align${(0,U.A)(n.align)}`],n.stickyHeader&&t.stickyHeader]}})((0,d.A)((({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid\n ${"light"===e.palette.mode?(0,te.a)((0,te.X4)(e.palette.divider,1),.88):(0,te.e$)((0,te.X4)(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${Cv.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:e})=>e.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]})))),kv=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiTableCell"}),{align:r="inherit",className:i,component:a,padding:s,scope:u,size:d,sortDirection:p,variant:f,...g}=n,m=o.useContext(av),y=o.useContext(dv),v=y&&"head"===y.variant;let b;b=a||(v?"th":"td");let w=u;"td"===b?w=void 0:!w&&v&&(w="col");const x=f||y&&y.variant,A={...n,align:r,component:b,padding:s||(m&&m.padding?m.padding:"normal"),size:d||(m&&m.size?m.size:"medium"),sortDirection:p,stickyHeader:"head"===x&&m&&m.stickyHeader,variant:x},S=(e=>{const{classes:t,variant:n,align:r,padding:i,size:o,stickyHeader:a}=e,s={root:["root",n,a&&"stickyHeader","inherit"!==r&&`align${(0,U.A)(r)}`,"normal"!==i&&`padding${(0,U.A)(i)}`,`size${(0,U.A)(o)}`]};return(0,c.A)(s,Sv,t)})(A);let C=null;return p&&(C="asc"===p?"ascending":"descending"),(0,k.jsx)(Ev,{as:b,ref:t,className:(0,l.A)(S.root,i),"aria-sort":C,scope:w,ownerState:A,...g})})),Tv=kv;let _v=36,Ov="";for(;_v--;)Ov+=_v.toString(36);function Pv(e=11){let t="",n=e;for(;n--;)t+=Ov[36*Math.random()|0];return t}const Iv=({terms:e,matchExactly:t=!1})=>{try{const n=/^([/~@;%#'])(.*?)\1([gimsuy]*)$/.exec(e);return n?new RegExp(n[2],n[3]):new RegExp((({terms:e,matchExactly:t=!1})=>{if("string"!=typeof e)throw new TypeError("Expected a string");const n=e.trim().replace(/[|\\{}()[\]^$+*?.-]/g,(e=>`\\${e}`));return`(${t?n:(e=>e.replace(/\s{2,}/g," ").split(" ").join("|"))(n)})`})({terms:e,matchExactly:t}),"ig")}catch(e){throw new TypeError("Expected terms to be either a string or a RegExp!")}},Mv=(Lv="match",e=>null!==e&&"object"==typeof e&&Lv in e);var Lv;const Rv=e=>void 0!==e;function jv({curr:e,next:t,prev:n,clipBy:r=3}){const i=e.text.split(" "),o=i.length;if(e.match||r>=o)return e.text;const a="...";return Rv(t)&&Rv(n)&&Mv(n)&&Mv(t)?o>2*r?[...i.slice(0,r),a,...i.slice(-r)].join(" "):e.text:Rv(t)&&Mv(t)?[a,...i.slice(-r)].join(" "):Rv(n)&&Mv(n)?[...i.slice(0,r),a].join(" "):e.text}var Fv=Object.defineProperty,Dv=Object.defineProperties,Nv=Object.getOwnPropertyDescriptors,Bv=Object.getOwnPropertySymbols,zv=Object.prototype.hasOwnProperty,Vv=Object.prototype.propertyIsEnumerable,$v=(e,t,n)=>t in e?Fv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gv=(e,t)=>{for(var n in t||(t={}))zv.call(t,n)&&$v(e,n,t[n]);if(Bv)for(var n of Bv(t))Vv.call(t,n)&&$v(e,n,t[n]);return e};const Uv=e=>e.length>0,Wv=({text:e,query:t,clipBy:n,matchExactly:r=!1})=>{const i="string"==typeof t?t.trim():t;if(""===i)return[{key:Pv(),text:e,match:!1}];const o=Iv({terms:t,matchExactly:r});return e.split(o).filter(Uv).map((e=>({key:Pv(),text:e,match:r?e.toLowerCase()===i.toLowerCase():o.test(e)}))).map(((e,t,r)=>{return Gv(Gv({},e),"number"==typeof n&&{text:jv((i=Gv(Gv({curr:e},t0&&{prev:r[t-1]}),o={clipBy:n},Dv(i,Nv(o))))});var i,o}))};function qv(e){return(0,S.Ay)("MuiTextField",e)}(0,A.A)("MuiTextField",["root"]);const Hv={standard:Jh.A,filled:rp,outlined:dp},Yv=(0,u.Ay)(ee.A,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Kv=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiTextField"}),{autoComplete:r,autoFocus:i=!1,children:o,className:a,color:s="primary",defaultValue:u,disabled:d=!1,error:p=!1,FormHelperTextProps:f,fullWidth:g=!1,helperText:m,id:y,InputLabelProps:v,inputProps:b,InputProps:w,inputRef:A,label:S,maxRows:C,minRows:E,multiline:T=!1,name:_,onBlur:O,onChange:P,onFocus:I,placeholder:M,required:L=!1,rows:R,select:j=!1,SelectProps:F,slots:D={},slotProps:N={},type:B,value:z,variant:V="outlined",...$}=n,G={...n,autoFocus:i,color:s,disabled:d,error:p,fullWidth:g,multiline:T,required:L,select:j,variant:V},U=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"]},qv,t)})(G);const W=(0,ne.A)(y),q=m&&W?`${W}-helper-text`:void 0,H=S&&W?`${W}-label`:void 0,Y=Hv[V],K={slots:D,slotProps:{input:w,inputLabel:v,htmlInput:b,formHelperText:f,select:F,...N}},X={},Z=K.slotProps.inputLabel;"outlined"===V&&(Z&&void 0!==Z.shrink&&(X.notched=Z.shrink),X.label=S),j&&(F&&F.native||(X.id=void 0),X["aria-describedby"]=void 0);const[J,Q]=x("input",{elementType:Y,externalForwardedProps:K,additionalProps:X,ownerState:G}),[ee,te]=x("inputLabel",{elementType:jh.A,externalForwardedProps:K,ownerState:G}),[re,ie]=x("htmlInput",{elementType:"input",externalForwardedProps:K,ownerState:G}),[oe,ae]=x("formHelperText",{elementType:Ap,externalForwardedProps:K,ownerState:G}),[se,le]=x("select",{elementType:yp,externalForwardedProps:K,ownerState:G}),ce=(0,k.jsx)(J,{"aria-describedby":q,autoComplete:r,autoFocus:i,defaultValue:u,fullWidth:g,multiline:T,name:_,rows:R,maxRows:C,minRows:E,type:B,value:z,id:W,inputRef:A,onBlur:O,onChange:P,onFocus:I,placeholder:M,inputProps:ie,slots:{input:D.htmlInput?re:void 0},...Q});return(0,k.jsxs)(Yv,{className:(0,l.A)(U.root,a),disabled:d,error:p,fullWidth:g,ref:t,required:L,color:s,variant:V,ownerState:G,...$,children:[null!=S&&""!==S&&(0,k.jsx)(ee,{htmlFor:W,id:H,...te,children:S}),j?(0,k.jsx)(se,{"aria-describedby":q,id:W,labelId:H,value:z,input:ce,...le,children:o}):ce,m&&(0,k.jsx)(oe,{id:q,...ae,children:m})]})}));function Xv(e){return(0,S.Ay)("MuiTableFooter",e)}(0,A.A)("MuiTableFooter",["root"]);const Zv=(0,u.Ay)("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),Jv={variant:"footer"},Qv="tfoot",eb=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiTableFooter"}),{className:r,component:i=Qv,...o}=n,a={...n,component:i},s=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"]},Xv,t)})(a);return(0,k.jsx)(dv.Provider,{value:Jv,children:(0,k.jsx)(Zv,{as:i,className:(0,l.A)(s.root,r),ref:t,role:i===Qv?null:"rowgroup",ownerState:a,...o})})}));function tb(e){return(0,S.Ay)("MuiTableHead",e)}(0,A.A)("MuiTableHead",["root"]);const nb=(0,u.Ay)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),rb={variant:"head"},ib="thead",ob=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiTableHead"}),{className:r,component:i=ib,...o}=n,a={...n,component:i},s=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"]},tb,t)})(a);return(0,k.jsx)(dv.Provider,{value:rb,children:(0,k.jsx)(nb,{as:i,className:(0,l.A)(s.root,r),ref:t,role:i===ib?null:"rowgroup",ownerState:a,...o})})}));var ab=n(31596);function sb(e){return(0,S.Ay)("MuiInputAdornment",e)}const lb=(0,A.A)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var cb;const ub=(0,u.Ay)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,U.A)(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((0,d.A)((({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${lb.positionStart}&:not(.${lb.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]})))),db=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiInputAdornment"}),{children:r,className:i,component:a="div",disablePointerEvents:s=!1,disableTypography:u=!1,position:d,variant:p,...f}=n,g=(0,Zh.A)()||{};let m=p;p&&g.variant,g&&!m&&(m=g.variant);const y={...n,hiddenLabel:g.hiddenLabel,size:g.size,disablePointerEvents:s,position:d,variant:m},v=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:i,size:o,variant:a}=e,s={root:["root",n&&"disablePointerEvents",i&&`position${(0,U.A)(i)}`,a,r&&"hiddenLabel",o&&`size${(0,U.A)(o)}`]};return(0,c.A)(s,sb,t)})(y);return(0,k.jsx)(ab.A.Provider,{value:null,children:(0,k.jsx)(ub,{as:a,ownerState:y,className:(0,l.A)(v.root,i),ref:t,...f,children:"string"!=typeof r||u?(0,k.jsxs)(o.Fragment,{children:["start"===d?cb||(cb=(0,k.jsx)("span",{className:"notranslate",children:"​"})):null,r]}):(0,k.jsx)(In.A,{color:"textSecondary",children:r})})})}));var hb=n(22300),pb=n.n(hb);const fb=function(e,t,n){return"function"==typeof e?e(t,n):e},gb=pb().oneOfType([pb().func,pb().object]),mb=(e,t)=>e.length===t.length&&t.every((t=>e.includes(t))),yb=({openTo:e,defaultOpenTo:t,views:n,defaultViews:r})=>{const i=n??r;let o;if(null!=e)o=e;else if(i.includes(t))o=t;else{if(!(i.length>0))throw new Error("MUI X: The `views` prop must contain at least one view.");o=i[0]}return{views:i,openTo:o}},vb=(e,t,n)=>{let r=t;return r=e.setHours(r,e.getHours(n)),r=e.setMinutes(r,e.getMinutes(n)),r=e.setSeconds(r,e.getSeconds(n)),r=e.setMilliseconds(r,e.getMilliseconds(n)),r},bb=({date:e,disableFuture:t,disablePast:n,maxDate:r,minDate:i,isDateDisabled:o,utils:a,timezone:s})=>{const l=vb(a,a.date(void 0,s),e);n&&a.isBefore(i,l)&&(i=l),t&&a.isAfter(r,l)&&(r=l);let c=e,u=e;for(a.isBefore(e,i)&&(c=i,u=null),a.isAfter(e,r)&&(u&&(u=r),c=null);c||u;){if(c&&a.isAfter(c,r)&&(c=null),u&&a.isBefore(u,i)&&(u=null),c){if(!o(c))return c;c=a.addDays(c,1)}if(u){if(!o(u))return u;u=a.addDays(u,-1)}}return null},wb=(e,t,n)=>null!=t&&e.isValid(t)?t:n,xb=(e,t)=>{const n=[e.startOfYear(t)];for(;n.length<12;){const t=n[n.length-1];n.push(e.addMonths(t,1))}return n},Ab=(e,t,n)=>"date"===n?e.startOfDay(e.date(void 0,t)):e.date(void 0,t),Sb=(e,t)=>{const n=e.setHours(e.date(),"am"===t?2:14);return e.format(n,"meridiem")},Cb=["year","month","day"],Eb=e=>Cb.includes(e),kb=(e,{format:t,views:n},r)=>{if(null!=t)return t;const i=e.formats;return mb(n,["year"])?i.year:mb(n,["month"])?i.month:mb(n,["day"])?i.dayOfMonth:mb(n,["month","year"])?`${i.month} ${i.year}`:mb(n,["day","month"])?`${i.month} ${i.dayOfMonth}`:r?/en/.test(e.getCurrentLocaleCode())?i.normalDateWithWeekday:i.normalDate:i.keyboardDate},Tb=(e,t)=>{const n=e.startOfWeek(t);return[0,1,2,3,4,5,6].map((t=>e.addDays(n,t)))},_b=["hours","minutes","seconds"],Ob=e=>_b.includes(e),Pb=e=>_b.includes(e)||"meridiem"===e,Ib=(e,t)=>e?t.getHours(e)>=12?"pm":"am":null,Mb=(e,t,n)=>{if(n){if((e>=12?"pm":"am")!==t)return"am"===t?e-12:e+12}return e},Lb=(e,t,n,r)=>{const i=Mb(r.getHours(e),t,n);return r.setHours(e,i)},Rb=(e,t)=>3600*t.getHours(e)+60*t.getMinutes(e)+t.getSeconds(e),jb=(e,t)=>(n,r)=>e?t.isAfter(n,r):Rb(n,t)>Rb(r,t),Fb=(e,{format:t,views:n,ampm:r})=>{if(null!=t)return t;const i=e.formats;return mb(n,["hours"])?r?`${i.hours12h} ${i.meridiem}`:i.hours24h:mb(n,["minutes"])?i.minutes:mb(n,["seconds"])?i.seconds:mb(n,["minutes","seconds"])?`${i.minutes}:${i.seconds}`:mb(n,["hours","minutes","seconds"])?r?`${i.hours12h}:${i.minutes}:${i.seconds} ${i.meridiem}`:`${i.hours24h}:${i.minutes}:${i.seconds}`:r?`${i.hours12h}:${i.minutes} ${i.meridiem}`:`${i.hours24h}:${i.minutes}`},Db={year:1,month:2,day:3,hours:4,minutes:5,seconds:6,milliseconds:7},Nb=(e,t,n)=>{if(t===Db.year)return e.startOfYear(n);if(t===Db.month)return e.startOfMonth(n);if(t===Db.day)return e.startOfDay(n);let r=n;return t{const n=e.formatTokenMap[t];if(null==n)throw new Error([`MUI X: The token "${t}" is not supported by the Date and Time Pickers.`,"Please try using another token or open an issue on https://github.com/mui/mui-x/issues/new/choose if you think it should be supported."].join("\n"));return"string"==typeof n?{type:n,contentType:"meridiem"===n?"letter":"digit",maxLength:void 0}:{type:n.sectionType,contentType:n.contentType,maxLength:n.maxLength}},zb=(e,t,n)=>{const r=[],i=e.date(void 0,t),o=e.startOfWeek(i),a=e.endOfWeek(i);let s=o;for(;e.isBefore(s,a);)r.push(s),s=e.addDays(s,1);return r.map((t=>e.formatByString(t,n)))},Vb=(e,t,n,r)=>{switch(n){case"month":return xb(e,e.date(void 0,t)).map((t=>e.formatByString(t,r)));case"weekDay":return zb(e,t,r);case"meridiem":{const n=e.date(void 0,t);return[e.startOfDay(n),e.endOfDay(n)].map((t=>e.formatByString(t,r)))}default:return[]}},$b=["0","1","2","3","4","5","6","7","8","9"],Gb=(e,t)=>{if("0"===t[0])return e;const n=[];let r="";for(let i=0;i-1&&(n.push(o.toString()),r="")}return n.join("")},Ub=(e,t)=>"0"===t[0]?e:e.split("").map((e=>t[Number(e)])).join(""),Wb=(e,t)=>{const n=Gb(e,t);return" "!==n&&!Number.isNaN(Number(n))},qb=(e,t)=>{let n=e;for(n=Number(n).toString();n.length{if("day"===i.type&&"digit-with-letter"===i.contentType){const r=e.setDate(n.longestMonth,t);return e.formatByString(r,i.format)}let o=t.toString();return i.hasLeadingZerosInInput&&(o=qb(o,i.maxLength)),Ub(o,r)},Yb=(e,t,n,r,i,o,a,s)=>{const l=(e=>{switch(e){case"ArrowUp":return 1;case"ArrowDown":return-1;case"PageUp":return 5;case"PageDown":return-5;default:return 0}})(r),c="Home"===r,u="End"===r,d=""===n.value||c||u;return"digit"===n.contentType||"digit-with-letter"===n.contentType?(()=>{const r=i[n.type]({currentDate:a,format:n.format,contentType:n.contentType}),h=t=>Hb(e,t,r,o,n),p="minutes"===n.type&&s?.minutesStep?s.minutesStep:1;let f=parseInt(Gb(n.value,o),10)+l*p;if(d){if("year"===n.type&&!u&&!c)return e.formatByString(e.date(void 0,t),n.format);f=l>0||c?r.minimum:r.maximum}return f%p!=0&&((l<0||c)&&(f+=p-(p+f)%p),(l>0||u)&&(f-=f%p)),f>r.maximum?h(r.minimum+(f-r.maximum-1)%(r.maximum-r.minimum+1)):f{const r=Vb(e,t,n.type,n.format);if(0===r.length)return n.value;if(d)return l>0||c?r[0]:r[r.length-1];const i=r.indexOf(n.value);return r[((i+l)%r.length+r.length)%r.length]})()},Kb=(e,t,n)=>{let r=e.value||e.placeholder;const i="non-input"===t?e.hasLeadingZerosInFormat:e.hasLeadingZerosInInput;"non-input"===t&&e.hasLeadingZerosInInput&&!e.hasLeadingZerosInFormat&&(r=Number(Gb(r,n)).toString());return["input-rtl","input-ltr"].includes(t)&&"digit"===e.contentType&&!i&&1===r.length&&(r=`${r}‎`),"input-rtl"===t&&(r=`⁨${r}⁩`),r},Xb=(e,t,n,r)=>e.formatByString(e.parse(t,n),r),Zb=(e,t,n)=>4===e.formatByString(e.date(void 0,t),n).length,Jb=(e,t,n,r,i)=>{if("digit"!==n)return!1;const o=e.date(void 0,t);switch(r){case"year":if(Zb(e,t,i)){return"0001"===e.formatByString(e.setYear(o,1),i)}return"01"===e.formatByString(e.setYear(o,2001),i);case"month":return e.formatByString(e.startOfYear(o),i).length>1;case"day":return e.formatByString(e.startOfMonth(o),i).length>1;case"weekDay":return e.formatByString(e.startOfWeek(o),i).length>1;case"hours":return e.formatByString(e.setHours(o,1),i).length>1;case"minutes":return e.formatByString(e.setMinutes(o,1),i).length>1;case"seconds":return e.formatByString(e.setSeconds(o,1),i).length>1;default:throw new Error("Invalid section type")}};const Qb=(e,t)=>{0},ew={year:1,month:2,day:3,weekDay:4,hours:5,minutes:6,seconds:7,meridiem:8,empty:9},tw=(e,t,n,r,i,o)=>[...r].sort(((e,t)=>ew[e.type]-ew[t.type])).reduce(((r,i)=>!o||i.modified?((e,t,n,r,i)=>{switch(n.type){case"year":return e.setYear(i,e.getYear(r));case"month":return e.setMonth(i,e.getMonth(r));case"weekDay":{const i=zb(e,t,n.format),o=e.formatByString(r,n.format),a=i.indexOf(o),s=i.indexOf(n.value)-a;return e.addDays(r,s)}case"day":return e.setDate(i,e.getDate(r));case"meridiem":{const t=e.getHours(r)<12,n=e.getHours(i);return t&&n>=12?e.addHours(i,-12):!t&&n<12?e.addHours(i,12):i}case"hours":return e.setHours(i,e.getHours(r));case"minutes":return e.setMinutes(i,e.getMinutes(r));case"seconds":return e.setSeconds(i,e.getSeconds(r));default:return i}})(e,t,i,n,r):r),i),nw=(e,t)=>null==e?null:"all"===e?"all":"string"==typeof e?t.findIndex((t=>t.type===e)):e,rw=(e,t)=>{if(e.value)switch(e.type){case"month":{if("digit"===e.contentType)return t.format(t.setMonth(t.date(),Number(e.value)-1),"month");const n=t.parse(e.value,e.format);return n?t.format(n,"month"):void 0}case"day":return"digit"===e.contentType?t.format(t.setDate(t.startOfYear(t.date()),Number(e.value)),"dayOfMonthFull"):e.value;default:return}},iw=(e,t)=>{if(e.value)switch(e.type){case"weekDay":if("letter"===e.contentType)return;return Number(e.value);case"meridiem":{const n=t.parse(`01:00 ${e.value}`,`${t.formats.hours12h}:${t.formats.minutes} ${e.format}`);return n?t.getHours(n)>=12?1:0:void 0}case"day":return"digit-with-letter"===e.contentType?parseInt(e.value,10):Number(e.value);case"month":{if("digit"===e.contentType)return Number(e.value);const n=t.parse(e.value,e.format);return n?t.getMonth(n)+1:void 0}default:return"letter"!==e.contentType?Number(e.value):void 0}},ow=["value","referenceDate"],aw={emptyValue:null,getTodayValue:Ab,getInitialReferenceValue:e=>{let{value:t,referenceDate:n}=e,r=(0,dc.A)(e,ow);return null!=t&&r.utils.isValid(t)?t:null!=n?n:(({props:e,utils:t,granularity:n,timezone:r,getTodayDate:i})=>{let o=i?i():Nb(t,n,Ab(t,r));null!=e.minDate&&t.isAfterDay(e.minDate,o)&&(o=Nb(t,n,e.minDate)),null!=e.maxDate&&t.isBeforeDay(e.maxDate,o)&&(o=Nb(t,n,e.maxDate));const a=jb(e.disableIgnoringDatePartForTimeValidation??!1,t);return null!=e.minTime&&a(e.minTime,o)&&(o=Nb(t,n,e.disableIgnoringDatePartForTimeValidation?e.minTime:vb(t,o,e.minTime))),null!=e.maxTime&&a(o,e.maxTime)&&(o=Nb(t,n,e.disableIgnoringDatePartForTimeValidation?e.maxTime:vb(t,o,e.maxTime))),o})(r)},cleanValue:(e,t)=>null!=t&&e.isValid(t)?t:null,areValuesEqual:(e,t,n)=>!e.isValid(t)&&null!=t&&!e.isValid(n)&&null!=n||e.isEqual(t,n),isSameError:(e,t)=>e===t,hasError:e=>null!=e,defaultErrorState:null,getTimezone:(e,t)=>null!=t&&e.isValid(t)?e.getTimezone(t):null,setTimezone:(e,t,n)=>null==n?null:e.setTimezone(n,t)},sw={updateReferenceValue:(e,t,n)=>null!=t&&e.isValid(t)?t:n,getSectionsFromValue:(e,t,n,r)=>!e.isValid(t)&&!!n?n:r(t),getV7HiddenInputValueFromSections:e=>e.map((e=>`${e.startSeparator}${e.value||e.placeholder}${e.endSeparator}`)).join(""),getV6InputValueFromSections:(e,t,n)=>{const r=e.map((e=>{const r=Kb(e,n?"input-rtl":"input-ltr",t);return`${e.startSeparator}${r}${e.endSeparator}`})).join("");return n?`⁦${r}⁩`:r},getActiveDateManager:(e,t)=>({date:t.value,referenceDate:t.referenceValue,getSections:e=>e,getNewValuesFromNewActiveDate:n=>({value:n,referenceValue:null!=n&&e.isValid(n)?n:t.referenceValue})}),parseValueStr:(e,t,n)=>n(e.trim(),t)};var lw=n(21945);const cw={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"Open previous view",openNextView:"Open next view",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"year view is open, switch to calendar view":"calendar view is open, switch to year view",start:"Start",end:"End",startDate:"Start date",startTime:"Start time",endDate:"End date",endTime:"End time",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerToolbarTitle:"Select date",dateTimePickerToolbarTitle:"Select date & time",timePickerToolbarTitle:"Select time",dateRangePickerToolbarTitle:"Select date range",clockLabelText:(e,t,n)=>`Select ${e}. ${null===t?"No time selected":`Selected time is ${n.format(t,"fullTime")}`}`,hoursClockNumberText:e=>`${e} hours`,minutesClockNumberText:e=>`${e} minutes`,secondsClockNumberText:e=>`${e} seconds`,selectViewText:e=>`Select ${e}`,calendarWeekNumberHeaderLabel:"Week number",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Week ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t)=>null!==e&&t.isValid(e)?`Choose date, selected date is ${t.format(e,"fullDate")}`:"Choose date",openTimePickerDialogue:(e,t)=>null!==e&&t.isValid(e)?`Choose time, selected time is ${t.format(e,"fullTime")}`:"Choose time",fieldClearLabel:"Clear value",timeTableLabel:"pick time",dateTableLabel:"pick date",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Year",month:"Month",day:"Day",weekDay:"Week day",hours:"Hours",minutes:"Minutes",seconds:"Seconds",meridiem:"Meridiem",empty:"Empty"},uw=cw;dw=cw,(0,nc.A)({},dw);var dw;const hw=()=>{const e=o.useContext(lw.F);if(null===e)throw new Error(["MUI X: Can not find the date and time pickers localization context.","It looks like you forgot to wrap your component in LocalizationProvider.","This can also happen if you are bundling multiple versions of the `@mui/x-date-pickers` package"].join("\n"));if(null===e.utils)throw new Error(["MUI X: Can not find the date and time pickers adapter from its localization context.","It looks like you forgot to pass a `dateAdapter` to your LocalizationProvider."].join("\n"));const t=o.useMemo((()=>(0,nc.A)({},uw,e.localeText)),[e.localeText]);return o.useMemo((()=>(0,nc.A)({},e,{localeText:t})),[e,t])},pw=()=>hw().utils,fw=()=>hw().defaultDates,gw=e=>{const t=pw(),n=o.useRef();return void 0===n.current&&(n.current=t.date(void 0,e)),n.current};function mw(e,t,n=void 0){const r={};return Object.keys(e).forEach((i=>{r[i]=e[i].reduce(((e,r)=>{if(r){const i=t(r);""!==i&&e.push(i),n&&n[r]&&e.push(n[r])}return e}),[]).join(" ")})),r}const yw=e=>e,vw=(()=>{let e=yw;return{configure(t){e=t},generate:t=>e(t),reset(){e=yw}}})(),bw={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 ww(e,t,n="Mui"){const r=bw[t];return r?`${n}-${r}`:`${vw.generate(e)}-${t}`}function xw(e,t,n="Mui"){const r={};return t.forEach((t=>{r[t]=ww(e,t,n)})),r}function Aw(e){return ww("MuiPickersToolbar",e)}const Sw=xw("MuiPickersToolbar",["root","content"]),Cw=["children","className","toolbarTitle","hidden","titleId","isLandscape","classes","landscapeDirection"],Ew=(0,u.Ay)("div",{name:"MuiPickersToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:e.spacing(2,3),variants:[{props:{isLandscape:!0},style:{height:"auto",maxWidth:160,padding:16,justifyContent:"flex-start",flexWrap:"wrap"}}]}))),kw=(0,u.Ay)("div",{name:"MuiPickersToolbar",slot:"Content",overridesResolver:(e,t)=>t.content})({display:"flex",flexWrap:"wrap",width:"100%",flex:1,justifyContent:"space-between",alignItems:"center",flexDirection:"row",variants:[{props:{isLandscape:!0},style:{justifyContent:"flex-start",alignItems:"flex-start",flexDirection:"column"}},{props:{isLandscape:!0,landscapeDirection:"row"},style:{flexDirection:"row"}}]}),Tw=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiPickersToolbar"}),{children:r,className:i,toolbarTitle:o,hidden:a,titleId:s}=n,c=(0,dc.A)(n,Cw),u=n,d=(e=>{const{classes:t,isLandscape:n}=e;return mw({root:["root"],content:["content"],penIconButton:["penIconButton",n&&"penIconButtonLandscape"]},Aw,t)})(u);return a?null:(0,k.jsxs)(Ew,(0,nc.A)({ref:t,className:(0,l.A)(d.root,i),ownerState:u},c,{children:[(0,k.jsx)(In.A,{color:"text.secondary",variant:"overline",id:s,children:o}),(0,k.jsx)(kw,{className:d.content,ownerState:u,children:r})]}))})),_w=()=>hw().localeText;function Ow(e){return ww("MuiDatePickerToolbar",e)}xw("MuiDatePickerToolbar",["root","title"]);const Pw=["value","isLandscape","onChange","toolbarFormat","toolbarPlaceholder","views","className","onViewChange","view"],Iw=(0,u.Ay)(Tw,{name:"MuiDatePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Mw=(0,u.Ay)(In.A,{name:"MuiDatePickerToolbar",slot:"Title",overridesResolver:(e,t)=>t.title})({variants:[{props:{isLandscape:!0},style:{margin:"auto 16px auto auto"}}]}),Lw=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiDatePickerToolbar"}),{value:r,isLandscape:i,toolbarFormat:a,toolbarPlaceholder:s="––",views:c,className:u}=n,d=(0,dc.A)(n,Pw),h=pw(),p=_w(),f=(e=>{const{classes:t}=e;return mw({root:["root"],title:["title"]},Ow,t)})(n),g=o.useMemo((()=>{if(!r)return s;const e=kb(h,{format:a,views:c},!0);return h.formatByString(r,e)}),[r,a,s,h,c]),m=n;return(0,k.jsx)(Iw,(0,nc.A)({ref:t,toolbarTitle:p.datePickerToolbarTitle,isLandscape:i,className:(0,l.A)(f.root,u)},d,{children:(0,k.jsx)(Mw,{variant:"h4",align:i?"left":"center",ownerState:m,className:f.title,children:g})}))}));function Rw(e,t){const n=pw(),r=fw(),i=(0,to.A)({props:e,name:t}),a=o.useMemo((()=>null==i.localeText?.toolbarTitle?i.localeText:(0,nc.A)({},i.localeText,{datePickerToolbarTitle:i.localeText.toolbarTitle})),[i.localeText]);return(0,nc.A)({},i,{localeText:a},yb({views:i.views,openTo:i.openTo,defaultViews:["year","day"],defaultOpenTo:"day"}),{disableFuture:i.disableFuture??!1,disablePast:i.disablePast??!1,minDate:wb(n,i.minDate,r.minDate),maxDate:wb(n,i.maxDate,r.maxDate),slots:(0,nc.A)({toolbar:Lw},i.slots)})}const jw=({props:e,value:t,adapter:n})=>{if(null===t)return null;const{shouldDisableDate:r,shouldDisableMonth:i,shouldDisableYear:o,disablePast:a,disableFuture:s,timezone:l}=e,c=n.utils.date(void 0,l),u=wb(n.utils,e.minDate,n.defaultDates.minDate),d=wb(n.utils,e.maxDate,n.defaultDates.maxDate);switch(!0){case!n.utils.isValid(t):return"invalidDate";case Boolean(r&&r(t)):return"shouldDisableDate";case Boolean(i&&i(t)):return"shouldDisableMonth";case Boolean(o&&o(t)):return"shouldDisableYear";case Boolean(s&&n.utils.isAfterDay(t,c)):return"disableFuture";case Boolean(a&&n.utils.isBeforeDay(t,c)):return"disablePast";case Boolean(u&&n.utils.isBeforeDay(t,u)):return"minDate";case Boolean(d&&n.utils.isAfterDay(t,d)):return"maxDate";default:return null}};function Fw(...e){return o.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(e,t)}))}),e)}const Dw=function(e){return"string"==typeof e};const Nw=function(e,t,n){return void 0===e||Dw(e)?t:(0,nc.A)({},t,{ownerState:(0,nc.A)({},t.ownerState,n)})};const Bw=function(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n};const zw=function(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t};const Vw=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:o}=e;if(!t){const e=(0,l.A)(null==n?void 0:n.className,o,null==i?void 0:i.className,null==r?void 0:r.className),t=(0,nc.A)({},null==n?void 0:n.style,null==i?void 0:i.style,null==r?void 0:r.style),a=(0,nc.A)({},n,i,r);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=Bw((0,nc.A)({},i,r)),s=zw(r),c=zw(i),u=t(a),d=(0,l.A)(null==u?void 0:u.className,null==n?void 0:n.className,o,null==i?void 0:i.className,null==r?void 0:r.className),h=(0,nc.A)({},null==u?void 0:u.style,null==n?void 0:n.style,null==i?void 0:i.style,null==r?void 0:r.style),p=(0,nc.A)({},u,n,c,s);return d.length>0&&(p.className=d),Object.keys(h).length>0&&(p.style=h),{props:p,internalRef:u.ref}},$w=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];const Gw=function(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i,skipResolvingSlotProps:o=!1}=e,a=(0,dc.A)(e,$w),s=o?{}:fb(r,i),{props:l,internalRef:c}=Vw((0,nc.A)({},a,{externalSlotProps:s})),u=Fw(c,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref);return Nw(n,(0,nc.A)({},l,{ref:u}),i)};let Uw=0;const Ww=a["useId".toString()];function qw(e){if(void 0!==Ww){const t=Ww();return null!=e?e:t}return function(e){const[t,n]=o.useState(e),r=e||t;return o.useEffect((()=>{null==t&&(Uw+=1,n(`mui-${Uw}`))}),[t]),r}(e)}const Hw="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;const Yw=function(e){const t=o.useRef(e);return Hw((()=>{t.current=e})),o.useRef(((...e)=>(0,t.current)(...e))).current};function Kw(e){return e&&e.ownerDocument||document}function Xw(e){return ww("MuiPickersPopper",e)}xw("MuiPickersPopper",["root","paper"]);function Zw(e,t){return Array.isArray(t)?t.every((t=>-1!==e.indexOf(t))):-1!==e.indexOf(t)}const Jw=(e=document)=>{const t=e.activeElement;return t?t.shadowRoot?Jw(t.shadowRoot):t:null},Qw="@media (pointer: fine)",ex="undefined"!=typeof navigator&&navigator.userAgent.match(/android\s(\d+)|OS\s(\d+)/i),tx=ex&&ex[1]?parseInt(ex[1],10):null,nx=ex&&ex[2]?parseInt(ex[2],10):null,rx=tx&&tx<10||nx&&nx<13||!1,ix=()=>(0,Ct.A)("@media (prefers-reduced-motion: reduce)",{defaultMatches:!1})||rx,ox=["PaperComponent","popperPlacement","ownerState","children","paperSlotProps","paperClasses","onPaperClick","onPaperTouchStart"],ax=(0,u.Ay)(he.A,{name:"MuiPickersPopper",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({zIndex:e.zIndex.modal}))),sx=(0,u.Ay)(f.A,{name:"MuiPickersPopper",slot:"Paper",overridesResolver:(e,t)=>t.paper})({outline:0,transformOrigin:"top center",variants:[{props:({placement:e})=>["top","top-start","top-end"].includes(e),style:{transformOrigin:"bottom center"}}]});const lx=o.forwardRef(((e,t)=>{const{PaperComponent:n,popperPlacement:r,ownerState:i,children:o,paperSlotProps:a,paperClasses:s,onPaperClick:l,onPaperTouchStart:c}=e,u=(0,dc.A)(e,ox),d=(0,nc.A)({},i,{placement:r}),h=Gw({elementType:n,externalSlotProps:a,additionalProps:{tabIndex:-1,elevation:8,ref:t},className:s,ownerState:d});return(0,k.jsx)(n,(0,nc.A)({},u,h,{onClick:e=>{l(e),h.onClick?.(e)},onTouchStart:e=>{c(e),h.onTouchStart?.(e)},ownerState:d,children:o}))}));function cx(e){const t=(0,to.A)({props:e,name:"MuiPickersPopper"}),{anchorEl:n,children:r,containerRef:i=null,shouldRestoreFocus:a,onBlur:s,onDismiss:l,open:c,role:u,placement:d,slots:h,slotProps:p,reduceAnimations:f}=t;o.useEffect((()=>{function e(e){c&&"Escape"===e.key&&l()}return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[l,c]);const g=o.useRef(null);o.useEffect((()=>{"tooltip"===u||a&&!a()||(c?g.current=Jw(document):g.current&&g.current instanceof HTMLElement&&setTimeout((()=>{g.current instanceof HTMLElement&&g.current.focus()})))}),[c,u,a]);const[m,y,v]=function(e,t){const n=o.useRef(!1),r=o.useRef(!1),i=o.useRef(null),a=o.useRef(!1);o.useEffect((()=>{if(e)return document.addEventListener("mousedown",t,!0),document.addEventListener("touchstart",t,!0),()=>{document.removeEventListener("mousedown",t,!0),document.removeEventListener("touchstart",t,!0),a.current=!1};function t(){a.current=!0}}),[e]);const s=Yw((e=>{if(!a.current)return;const o=r.current;r.current=!1;const s=Kw(i.current);if(!i.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth-1:!s.documentElement.contains(e.target)||i.current.contains(e.target),l||o||t(e)})),l=()=>{r.current=!0};return o.useEffect((()=>{if(e){const e=Kw(i.current),t=()=>{n.current=!0};return e.addEventListener("touchstart",s),e.addEventListener("touchmove",t),()=>{e.removeEventListener("touchstart",s),e.removeEventListener("touchmove",t)}}}),[e,s]),o.useEffect((()=>{if(e){const e=Kw(i.current);return e.addEventListener("click",s),()=>{e.removeEventListener("click",s),r.current=!1}}}),[e,s]),[i,l,l]}(c,s??l),b=Fw(o.useRef(null),i),w=Fw(b,m),x=t,A=(e=>{const{classes:t}=e;return mw({root:["root"],paper:["paper"]},Xw,t)})(x),S=ix(),C=f??S,E=h?.desktopTransition??C?Dt.A:$t.A,T=h?.desktopTrapFocus??zr,_=h?.desktopPaper??sx,O=h?.popper??ax,P=Gw({elementType:O,externalSlotProps:p?.popper,additionalProps:{transition:!0,role:u,open:c,anchorEl:n,placement:d,onKeyDown:e=>{"Escape"===e.key&&(e.stopPropagation(),l())}},className:A.root,ownerState:t});return(0,k.jsx)(O,(0,nc.A)({},P,{children:({TransitionProps:e,placement:t})=>(0,k.jsx)(T,(0,nc.A)({open:c,disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:"tooltip"===u,isEnabled:()=>!0},p?.desktopTrapFocus,{children:(0,k.jsx)(E,(0,nc.A)({},e,p?.desktopTransition,{children:(0,k.jsx)(lx,{PaperComponent:_,ownerState:x,popperPlacement:t,ref:w,onPaperClick:y,onPaperTouchStart:v,paperClasses:A.paper,paperSlotProps:p?.desktopPaper,children:r})}))}))}))}function ux(e,t,n,r){const{value:i,onError:a}=e,s=hw(),l=o.useRef(r),c=t({adapter:s,value:i,props:e});return o.useEffect((()=>{a&&!n(c,l.current)&&a(c,i),l.current=c}),[n,a,l,c,i]),c}function dx({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=o.useRef(void 0!==e),[a,s]=o.useState(t);return[i?e:a,o.useCallback((e=>{i||s(e)}),[])]}const hx=({timezone:e,value:t,defaultValue:n,onChange:r,valueManager:i})=>{const a=pw(),s=o.useRef(n),l=t??s.current??i.emptyValue,c=o.useMemo((()=>i.getTimezone(a,l)),[a,i,l]),u=Yw((e=>null==c?e:i.setTimezone(a,c,e))),d=e??c??"default";return{value:o.useMemo((()=>i.setTimezone(a,d,l)),[i,a,d,l]),handleValueChange:Yw(((e,...t)=>{const n=u(e);r?.(n,...t)})),timezone:d}},px=({name:e,timezone:t,value:n,defaultValue:r,onChange:i,valueManager:o})=>{const[a,s]=dx({name:e,state:"value",controlled:n,default:r??o.emptyValue}),l=Yw(((e,...t)=>{s(e),i?.(e,...t)}));return hx({timezone:t,value:a,defaultValue:void 0,onChange:l,valueManager:o})},fx=({props:e,valueManager:t,valueType:n,wrapperVariant:r,validator:i})=>{const{onAccept:a,onChange:s,value:l,defaultValue:c,closeOnSelect:u="desktop"===r,timezone:d}=e,{current:h}=o.useRef(c),{current:p}=o.useRef(void 0!==l);const f=pw(),g=hw(),{isOpen:m,setIsOpen:y}=(({open:e,onOpen:t,onClose:n})=>{const r=o.useRef("boolean"==typeof e).current,[i,a]=o.useState(!1);return o.useEffect((()=>{if(r){if("boolean"!=typeof e)throw new Error("You must not mix controlling and uncontrolled mode for `open` prop");a(e)}}),[r,e]),{isOpen:i,setIsOpen:o.useCallback((e=>{r||a(e),e&&t&&t(),!e&&n&&n()}),[r,t,n])}})(e),{timezone:v,value:b,handleValueChange:w}=hx({timezone:d,value:l,defaultValue:h,onChange:s,valueManager:t}),[x,A]=o.useState((()=>{let e;return e=void 0!==b?b:void 0!==h?h:t.emptyValue,{draft:e,lastPublishedValue:e,lastCommittedValue:e,lastControlledValue:b,hasBeenModifiedSinceMount:!1}}));ux((0,nc.A)({},e,{value:x.draft,timezone:v}),i,t.isSameError,t.defaultErrorState);const S=Yw((n=>{const r={action:n,dateState:x,hasChanged:e=>!t.areValuesEqual(f,n.value,e),isControlled:p,closeOnSelect:u},o=(e=>{const{action:t,hasChanged:n,dateState:r,isControlled:i}=e,o=!i&&!r.hasBeenModifiedSinceMount;return"setValueFromField"===t.name||("setValueFromAction"===t.name?!(!o||!["accept","today","clear"].includes(t.pickerAction))||n(r.lastPublishedValue):("setValueFromView"===t.name&&"shallow"!==t.selectionState||"setValueFromShortcut"===t.name)&&(!!o||n(r.lastPublishedValue)))})(r),s=(e=>{const{action:t,hasChanged:n,dateState:r,isControlled:i,closeOnSelect:o}=e,a=!i&&!r.hasBeenModifiedSinceMount;return"setValueFromAction"===t.name?!(!a||!["accept","today","clear"].includes(t.pickerAction))||n(r.lastCommittedValue):"setValueFromView"===t.name&&"finish"===t.selectionState&&o?!!a||n(r.lastCommittedValue):"setValueFromShortcut"===t.name&&"accept"===t.changeImportance&&n(r.lastCommittedValue)})(r),l=(e=>{const{action:t,closeOnSelect:n}=e;return"setValueFromAction"===t.name||("setValueFromView"===t.name?"finish"===t.selectionState&&n:"setValueFromShortcut"===t.name&&"accept"===t.changeImportance)})(r);A((e=>(0,nc.A)({},e,{draft:n.value,lastPublishedValue:o?n.value:e.lastPublishedValue,lastCommittedValue:s?n.value:e.lastCommittedValue,hasBeenModifiedSinceMount:!0})));let c=null;const d=()=>{if(!c){const t="setValueFromField"===n.name?n.context.validationError:i({adapter:g,value:n.value,props:(0,nc.A)({},e,{value:n.value,timezone:v})});c={validationError:t},"setValueFromShortcut"===n.name&&(c.shortcut=n.shortcut)}return c};o&&w(n.value,d()),s&&a&&a(n.value,d()),l&&y(!1)}));if(void 0!==b&&(void 0===x.lastControlledValue||!t.areValuesEqual(f,x.lastControlledValue,b))){const e=t.areValuesEqual(f,x.draft,b);A((t=>(0,nc.A)({},t,{lastControlledValue:b},e?{}:{lastCommittedValue:b,lastPublishedValue:b,draft:b,hasBeenModifiedSinceMount:!0})))}const C=Yw((()=>{S({value:t.emptyValue,name:"setValueFromAction",pickerAction:"clear"})})),E=Yw((()=>{S({value:x.lastPublishedValue,name:"setValueFromAction",pickerAction:"accept"})})),k=Yw((()=>{S({value:x.lastPublishedValue,name:"setValueFromAction",pickerAction:"dismiss"})})),T=Yw((()=>{S({value:x.lastCommittedValue,name:"setValueFromAction",pickerAction:"cancel"})})),_=Yw((()=>{S({value:t.getTodayValue(f,v,n),name:"setValueFromAction",pickerAction:"today"})})),O=Yw((e=>{e.preventDefault(),y(!0)})),P=Yw((e=>{e?.preventDefault(),y(!1)})),I=Yw(((e,t="partial")=>S({name:"setValueFromView",value:e,selectionState:t}))),M=Yw(((e,t,n)=>S({name:"setValueFromShortcut",value:e,changeImportance:t,shortcut:n}))),L=Yw(((e,t)=>S({name:"setValueFromField",value:e,context:t}))),R={onClear:C,onAccept:E,onDismiss:k,onCancel:T,onSetToday:_,onOpen:O,onClose:P},j={value:x.draft,onChange:L},F=o.useMemo((()=>t.cleanValue(f,x.draft)),[f,t,x.draft]);return{open:m,fieldProps:j,viewProps:{value:F,onChange:I,onClose:P,open:m},layoutProps:(0,nc.A)({},R,{value:F,onChange:I,onSelectShortcut:M,isValid:n=>{const r=i({adapter:g,value:n,props:(0,nc.A)({},e,{value:n,timezone:v})});return!t.hasError(r)}}),actions:R}};function gx({onChange:e,onViewChange:t,openTo:n,view:r,views:i,autoFocus:a,focusedView:s,onFocusedViewChange:l}){const c=o.useRef(n),u=o.useRef(i),d=o.useRef(i.includes(n)?n:i[0]),[h,p]=dx({name:"useViews",state:"view",controlled:r,default:d.current}),f=o.useRef(a?h:null),[g,m]=dx({name:"useViews",state:"focusedView",controlled:s,default:f.current});o.useEffect((()=>{(c.current&&c.current!==n||u.current&&u.current.some((e=>!i.includes(e))))&&(p(i.includes(n)?n:i[0]),u.current=i,c.current=n)}),[n,p,h,i]);const y=i.indexOf(h),v=i[y-1]??null,b=i[y+1]??null,w=Yw(((e,t)=>{m(t?e:t=>e===t?null:t),l?.(e,t)})),x=Yw((e=>{w(e,!0),e!==h&&(p(e),t&&t(e))})),A=Yw((()=>{b&&x(b)})),S=Yw(((t,n,r)=>{const o="finish"===n,a=r?i.indexOf(r){const{orientation:i}=e,a=((e,t)=>{const[n,r]=o.useState(yx);return Hw((()=>{const e=()=>{r(yx())};return window.addEventListener("orientationchange",e),()=>{window.removeEventListener("orientationchange",e)}}),[]),!Zw(e,["hours","minutes","seconds"])&&"landscape"===(t||n)})(n.views,i),s=(0,Rr.I)();return{layoutProps:(0,nc.A)({},n,t,{isLandscape:a,isRtl:s,wrapperVariant:r,disabled:e.disabled,readOnly:e.readOnly})}},bx=({props:e,valueManager:t,valueType:n,wrapperVariant:r,additionalViewProps:i,validator:a,autoFocusView:s,rendererInterceptor:l,fieldRef:c})=>{const u=fx({props:e,valueManager:t,valueType:n,wrapperVariant:r,validator:a}),d=(({props:e,propsFromPickerValue:t,additionalViewProps:n,autoFocusView:r,rendererInterceptor:i,fieldRef:a})=>{const{onChange:s,open:l,onClose:c}=t,{view:u,views:d,openTo:h,onViewChange:p,viewRenderers:f,timezone:g}=e,m=(0,dc.A)(e,mx),{view:y,setView:v,defaultView:b,focusedView:w,setFocusedView:x,setValueAndGoToNextView:A}=gx({view:u,views:d,openTo:h,onChange:s,onViewChange:p,autoFocus:r}),{hasUIView:S,viewModeLookup:C}=o.useMemo((()=>d.reduce(((e,t)=>{let n;return n=null!=f[t]?"UI":"field",e.viewModeLookup[t]=n,"UI"===n&&(e.hasUIView=!0),e}),{hasUIView:!1,viewModeLookup:{}})),[f,d]),E=o.useMemo((()=>d.reduce(((e,t)=>null!=f[t]&&Ob(t)?e+1:e),0)),[f,d]),k=C[y],T=Yw((()=>"UI"===k)),[_,O]=o.useState("UI"===k?y:null);return _!==y&&"UI"===C[y]&&O(y),Hw((()=>{"field"===k&&l&&(c(),setTimeout((()=>{a?.current?.setSelectedSections(y),a?.current?.focusField(y)})))}),[y]),Hw((()=>{if(!l)return;let e=y;"field"===k&&null!=_&&(e=_),e!==b&&"UI"===C[e]&&"UI"===C[b]&&(e=b),e!==y&&v(e),x(e,!0)}),[l]),{hasUIView:S,shouldRestoreFocus:T,layoutProps:{views:d,view:_,onViewChange:v},renderCurrentView:()=>{if(null==_)return null;const e=f[_];if(null==e)return null;const r=(0,nc.A)({},m,n,t,{views:d,timezone:g,onChange:A,view:_,onViewChange:v,focusedView:w,onFocusedViewChange:x,showViewSwitcher:E>1,timeViewsCount:E});return i?i(f,_,r):e(r)}}})({props:e,additionalViewProps:i,autoFocusView:s,fieldRef:c,propsFromPickerValue:u.viewProps,rendererInterceptor:l}),h=vx({props:e,wrapperVariant:r,propsFromPickerValue:u.layoutProps,propsFromPickerViews:d.layoutProps});return{open:u.open,actions:u.actions,fieldProps:u.fieldProps,renderCurrentView:d.renderCurrentView,hasUIView:d.hasUIView,shouldRestoreFocus:d.shouldRestoreFocus,layoutProps:h.layoutProps}};function wx(e){return ww("MuiPickersLayout",e)}const xx=xw("MuiPickersLayout",["root","landscape","contentWrapper","toolbar","actionBar","tabs","shortcuts"]),Ax=["onAccept","onClear","onCancel","onSetToday","actions"];function Sx(e){const{onAccept:t,onClear:n,onCancel:r,onSetToday:i,actions:o}=e,a=(0,dc.A)(e,Ax),s=_w();if(null==o||0===o.length)return null;const l=o?.map((e=>{switch(e){case"clear":return(0,k.jsx)(jt,{onClick:n,children:s.clearButtonLabel},e);case"cancel":return(0,k.jsx)(jt,{onClick:r,children:s.cancelButtonLabel},e);case"accept":return(0,k.jsx)(jt,{onClick:t,children:s.okButtonLabel},e);case"today":return(0,k.jsx)(jt,{onClick:i,children:s.todayButtonLabel},e);default:return null}}));return(0,k.jsx)(ws,(0,nc.A)({},a,{children:l}))}const Cx=320,Ex=336,kx=48,Tx=["items","changeImportance","isLandscape","onChange","isValid"],_x=["getValue"];function Ox(e){const{items:t,changeImportance:n="accept",onChange:r,isValid:i}=e,o=(0,dc.A)(e,Tx);if(null==t||0===t.length)return null;const a=t.map((e=>{let{getValue:t}=e,o=(0,dc.A)(e,_x);const a=t({isValid:i});return(0,nc.A)({},o,{label:o.label,onClick:()=>{r(a,n,o)},disabled:!i(a)})}));return(0,k.jsx)(Wt.A,(0,nc.A)({dense:!0,sx:[{maxHeight:Ex,maxWidth:200,overflow:"auto"},...Array.isArray(o.sx)?o.sx:[o.sx]]},o,{children:a.map((e=>(0,k.jsx)(pl.Ay,{children:(0,k.jsx)(ke,(0,nc.A)({},e))},e.id??e.label)))}))}const Px=e=>{const{wrapperVariant:t,onAccept:n,onClear:r,onCancel:i,onSetToday:o,view:a,views:s,onViewChange:l,value:c,onChange:u,onSelectShortcut:d,isValid:h,isLandscape:p,disabled:f,readOnly:g,children:m,slots:y,slotProps:v}=e,b=(e=>{const{classes:t,isLandscape:n}=e;return mw({root:["root",n&&"landscape"],contentWrapper:["contentWrapper"],toolbar:["toolbar"],actionBar:["actionBar"],tabs:["tabs"],landscape:["landscape"],shortcuts:["shortcuts"]},wx,t)})(e),w=y?.actionBar??Sx,x=Gw({elementType:w,externalSlotProps:v?.actionBar,additionalProps:{onAccept:n,onClear:r,onCancel:i,onSetToday:o,actions:"desktop"===t?[]:["cancel","accept"]},className:b.actionBar,ownerState:(0,nc.A)({},e,{wrapperVariant:t})}),A=(0,k.jsx)(w,(0,nc.A)({},x)),S=y?.toolbar,C=Gw({elementType:S,externalSlotProps:v?.toolbar,additionalProps:{isLandscape:p,onChange:u,value:c,view:a,onViewChange:l,views:s,disabled:f,readOnly:g},className:b.toolbar,ownerState:(0,nc.A)({},e,{wrapperVariant:t})}),E=function(e){return null!==e.view}(C)&&S?(0,k.jsx)(S,(0,nc.A)({},C)):null,T=m,_=y?.tabs,O=a&&_?(0,k.jsx)(_,(0,nc.A)({view:a,onViewChange:l,className:b.tabs},v?.tabs)):null,P=y?.shortcuts??Ox,I=Gw({elementType:P,externalSlotProps:v?.shortcuts,additionalProps:{isValid:h,isLandscape:p,onChange:d},className:b.shortcuts,ownerState:{isValid:h,isLandscape:p,onChange:d,wrapperVariant:t}});return{toolbar:E,content:T,tabs:O,actionBar:A,shortcuts:a&&P?(0,k.jsx)(P,(0,nc.A)({},I)):null}},Ix=(0,u.Ay)("div",{name:"MuiPickersLayout",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"grid",gridAutoColumns:"max-content auto max-content",gridAutoRows:"max-content auto max-content",[`& .${xx.actionBar}`]:{gridColumn:"1 / 4",gridRow:3},variants:[{props:{isLandscape:!0},style:{[`& .${xx.toolbar}`]:{gridColumn:1,gridRow:"2 / 3"},[`.${xx.shortcuts}`]:{gridColumn:"2 / 4",gridRow:1}}},{props:{isLandscape:!0,isRtl:!0},style:{[`& .${xx.toolbar}`]:{gridColumn:3}}},{props:{isLandscape:!1},style:{[`& .${xx.toolbar}`]:{gridColumn:"2 / 4",gridRow:1},[`& .${xx.shortcuts}`]:{gridColumn:1,gridRow:"2 / 3"}}},{props:{isLandscape:!1,isRtl:!0},style:{[`& .${xx.shortcuts}`]:{gridColumn:3}}}]}),Mx=(0,u.Ay)("div",{name:"MuiPickersLayout",slot:"ContentWrapper",overridesResolver:(e,t)=>t.contentWrapper})({gridColumn:2,gridRow:2,display:"flex",flexDirection:"column"}),Lx=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiPickersLayout"}),{toolbar:r,content:i,tabs:a,actionBar:s,shortcuts:c}=Px(n),{sx:u,className:d,isLandscape:h,wrapperVariant:p}=n,f=(e=>{const{isLandscape:t,classes:n}=e;return mw({root:["root",t&&"landscape"],contentWrapper:["contentWrapper"]},wx,n)})(n);return(0,k.jsxs)(Ix,{ref:t,sx:u,className:(0,l.A)(d,f.root),ownerState:n,children:[h?c:r,h?r:c,(0,k.jsx)(Mx,{className:f.contentWrapper,children:"desktop"===p?(0,k.jsxs)(o.Fragment,{children:[i,a]}):(0,k.jsxs)(o.Fragment,{children:[a,i]})}),s]})})),Rx=["props","getOpenDialogAriaText"],jx=["ownerState"],Fx=["ownerState"],Dx=e=>{let{props:t,getOpenDialogAriaText:n}=e,r=(0,dc.A)(e,Rx);const{slots:i,slotProps:a,className:s,sx:l,format:c,formatDensity:u,enableAccessibleFieldDOMStructure:d,selectedSections:h,onSelectedSectionsChange:p,timezone:f,name:g,label:m,inputRef:y,readOnly:v,disabled:b,autoFocus:w,localeText:x,reduceAnimations:A}=t,S=pw(),C=o.useRef(null),E=o.useRef(null),T=qw(),_=a?.toolbar?.hidden??!1,{open:O,actions:P,hasUIView:I,layoutProps:M,renderCurrentView:L,shouldRestoreFocus:R,fieldProps:j}=bx((0,nc.A)({},r,{props:t,fieldRef:E,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"desktop"})),F=i.inputAdornment??db,D=Gw({elementType:F,externalSlotProps:a?.inputAdornment,additionalProps:{position:"end"},ownerState:t}),N=(0,dc.A)(D,jx),B=i.openPickerButton??ye.A,z=Gw({elementType:B,externalSlotProps:a?.openPickerButton,additionalProps:{disabled:b||v,onClick:O?P.onClose:P.onOpen,"aria-label":n(j.value,S),edge:N.position},ownerState:t}),V=(0,dc.A)(z,Fx),$=i.openPickerIcon,G=i.field,U=Gw({elementType:G,externalSlotProps:a?.field,additionalProps:(0,nc.A)({},j,_&&{id:T},{readOnly:v,disabled:b,className:s,sx:l,format:c,formatDensity:u,enableAccessibleFieldDOMStructure:d,selectedSections:h,onSelectedSectionsChange:p,timezone:f,label:m,name:g,autoFocus:w&&!t.open,focused:!!O||void 0},y?{inputRef:y}:{}),ownerState:t});I&&(U.InputProps=(0,nc.A)({},U.InputProps,{ref:C},!t.disableOpenPicker&&{[`${N.position}Adornment`]:(0,k.jsx)(F,(0,nc.A)({},N,{children:(0,k.jsx)(B,(0,nc.A)({},V,{children:(0,k.jsx)($,(0,nc.A)({},a?.openPickerIcon))}))}))}));const W=(0,nc.A)({textField:i.textField,clearIcon:i.clearIcon,clearButton:i.clearButton},U.slots),q=i.layout??Lx;let H=T;_&&(H=m?`${T}-label`:void 0);const Y=(0,nc.A)({},a,{toolbar:(0,nc.A)({},a?.toolbar,{titleId:T}),popper:(0,nc.A)({"aria-labelledby":H},a?.popper)}),K=Fw(E,U.unstableFieldRef);return{renderPicker:()=>(0,k.jsxs)(lw.$,{localeText:x,children:[(0,k.jsx)(G,(0,nc.A)({},U,{slots:W,slotProps:Y,unstableFieldRef:K})),(0,k.jsx)(cx,(0,nc.A)({role:"dialog",placement:"bottom-start",anchorEl:C.current},P,{open:O,slots:i,slotProps:Y,shouldRestoreFocus:R,reduceAnimations:A,children:(0,k.jsx)(q,(0,nc.A)({},M,Y?.layout,{slots:i,slotProps:Y,children:L()}))}))]})}},Nx=(0,ve.A)((0,k.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),Bx=(0,ve.A)((0,k.jsx)("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),zx=(0,ve.A)((0,k.jsx)("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),Vx=(0,ve.A)((0,k.jsx)("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar"),$x=(0,ve.A)((0,k.jsxs)(o.Fragment,{children:[(0,k.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 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,k.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock"),Gx=(0,ve.A)((0,k.jsx)("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange"),Ux=(0,ve.A)((0,k.jsxs)(o.Fragment,{children:[(0,k.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 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,k.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Time"),Wx=(0,ve.A)((0,k.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"),qx=(e,t,n,r,i)=>{switch(r.type){case"year":return n.fieldYearPlaceholder({digitAmount:e.formatByString(e.date(void 0,t),i).length,format:i});case"month":return n.fieldMonthPlaceholder({contentType:r.contentType,format:i});case"day":return n.fieldDayPlaceholder({format:i});case"weekDay":return n.fieldWeekDayPlaceholder({contentType:r.contentType,format:i});case"hours":return n.fieldHoursPlaceholder({format:i});case"minutes":return n.fieldMinutesPlaceholder({format:i});case"seconds":return n.fieldSecondsPlaceholder({format:i});case"meridiem":return n.fieldMeridiemPlaceholder({format:i});default:return i}},Hx=({utils:e,timezone:t,date:n,shouldRespectLeadingZeros:r,localeText:i,localizedDigits:o,now:a,token:s,startSeparator:l})=>{if(""===s)throw new Error("MUI X: Should not call `commitToken` with an empty token");const c=Bb(e,s),u=Jb(e,t,c.contentType,c.type,s),d=r?u:"digit"===c.contentType,h=null!=n&&e.isValid(n);let p=h?e.formatByString(n,s):"",f=null;if(d)if(u)f=""===p?e.formatByString(a,s).length:p.length;else{if(null==c.maxLength)throw new Error(`MUI X: The token ${s} should have a 'maxDigitNumber' property on it's adapter`);f=c.maxLength,h&&(p=Ub(qb(Gb(p,o),f),o))}return(0,nc.A)({},c,{format:s,maxLength:f,value:p,placeholder:qx(e,t,i,c,s),hasLeadingZerosInFormat:u,hasLeadingZerosInInput:d,startSeparator:l,endSeparator:"",modified:!1})},Yx=e=>{let t=(({utils:e,format:t})=>{let n=10,r=t,i=e.expandFormat(t);for(;i!==r;)if(r=i,i=e.expandFormat(r),n-=1,n<0)throw new Error("MUI X: The format expansion seems to be in an infinite loop. Please open an issue with the format passed to the picker component.");return i})(e);e.isRtl&&e.enableAccessibleFieldDOMStructure&&(t=t.split(" ").reverse().join(" "));const n=(({utils:e,expandedFormat:t})=>{const n=[],{start:r,end:i}=e.escapedCharacters,o=new RegExp(`(\\${r}[^\\${i}]*\\${i})+`,"g");let a=null;for(;a=o.exec(t);)n.push({start:a.index,end:o.lastIndex-1});return n})((0,nc.A)({},e,{expandedFormat:t})),r=(e=>{const{utils:t,expandedFormat:n,escapedParts:r}=e,i=t.date(void 0),o=[];let a="";const s=Object.keys(t.formatTokenMap).sort(((e,t)=>t.length-e.length)),l=/^([a-zA-Z]+)/,c=new RegExp(`^(${s.join("|")})*$`),u=new RegExp(`^(${s.join("|")})`),d=e=>r.find((t=>t.start<=e&&t.end>=e));let h=0;for(;h0;){const n=u.exec(t)[1];t=t.slice(n.length),o.push(Hx((0,nc.A)({},e,{now:i,token:n,startSeparator:a}))),a=""}h+=s.length}else{const e=n[h];r&&t?.start===h||t?.end===h||(0===o.length?a+=e:o[o.length-1].endSeparator+=e),h+=1}}return 0===o.length&&a.length>0&&o.push({type:"empty",contentType:"letter",maxLength:null,format:"",value:"",placeholder:"",hasLeadingZerosInFormat:!1,hasLeadingZerosInInput:!1,startSeparator:a,endSeparator:"",modified:!1}),o})((0,nc.A)({},e,{expandedFormat:t,escapedParts:n}));return(({isRtl:e,formatDensity:t,sections:n})=>n.map((n=>{const r=n=>{let r=n;return e&&null!==r&&r.includes(" ")&&(r=`⁩${r}⁦`),"spacious"===t&&["/",".","-"].includes(r)&&(r=` ${r} `),r};return n.startSeparator=r(n.startSeparator),n.endSeparator=r(n.endSeparator),n})))((0,nc.A)({},e,{sections:r}))},Kx=e=>{const t=pw(),n=_w(),r=hw(),i=(0,Rr.I)(),{valueManager:a,fieldValueManager:s,valueType:l,validator:c,internalProps:u,internalProps:{value:d,defaultValue:h,referenceDate:p,onChange:f,format:g,formatDensity:m="dense",selectedSections:y,onSelectedSectionsChange:v,shouldRespectLeadingZeros:b=!1,timezone:w,enableAccessibleFieldDOMStructure:x=!1}}=e,{timezone:A,value:S,handleValueChange:C}=hx({timezone:w,value:d,defaultValue:h,onChange:f,valueManager:a}),E=o.useMemo((()=>(e=>{const t=e.date(void 0);return"0"===e.formatByString(e.setSeconds(t,0),"s")?$b:Array.from({length:10}).map(((n,r)=>e.formatByString(e.setSeconds(t,r),"s")))})(t)),[t]),k=o.useMemo((()=>((e,t,n)=>{const r=e.date(void 0,n),i=e.endOfYear(r),o=e.endOfDay(r),{maxDaysInMonth:a,longestMonth:s}=xb(e,r).reduce(((t,n)=>{const r=e.getDaysInMonth(n);return r>t.maxDaysInMonth?{maxDaysInMonth:r,longestMonth:n}:t}),{maxDaysInMonth:0,longestMonth:null});return{year:({format:t})=>({minimum:0,maximum:Zb(e,n,t)?9999:99}),month:()=>({minimum:1,maximum:e.getMonth(i)+1}),day:({currentDate:t})=>({minimum:1,maximum:null!=t&&e.isValid(t)?e.getDaysInMonth(t):a,longestMonth:s}),weekDay:({format:t,contentType:r})=>{if("digit"===r){const r=zb(e,n,t).map(Number);return{minimum:Math.min(...r),maximum:Math.max(...r)}}return{minimum:1,maximum:7}},hours:({format:n})=>{const i=e.getHours(o);return Gb(e.formatByString(e.endOfDay(r),n),t)!==i.toString()?{minimum:1,maximum:Number(Gb(e.formatByString(e.startOfDay(r),n),t))}:{minimum:0,maximum:i}},minutes:()=>({minimum:0,maximum:e.getMinutes(o)}),seconds:()=>({minimum:0,maximum:e.getSeconds(o)}),meridiem:()=>({minimum:0,maximum:1}),empty:()=>({minimum:0,maximum:0})}})(t,E,A)),[t,E,A]),T=o.useCallback(((e,r=null)=>s.getSectionsFromValue(t,e,r,(e=>Yx({utils:t,timezone:A,localeText:n,localizedDigits:E,format:g,date:e,formatDensity:m,shouldRespectLeadingZeros:b,enableAccessibleFieldDOMStructure:x,isRtl:i})))),[s,g,n,E,i,b,t,m,A,x]),[_,O]=o.useState((()=>{const e=T(S);Qb();const n={sections:e,value:S,referenceValue:a.emptyValue,tempValueStrAndroid:null},r=(e=>Math.max(...e.map((e=>Db[e.type]??1))))(e),i=a.getInitialReferenceValue({referenceDate:p,value:S,utils:t,props:u,granularity:r,timezone:A});return(0,nc.A)({},n,{referenceValue:i})})),[P,I]=dx({controlled:y,default:null,name:"useField",state:"selectedSections"}),M=e=>{I(e),v?.(e)},L=o.useMemo((()=>nw(P,_.sections)),[P,_.sections]),R="all"===L?0:L,j=({value:e,referenceValue:n,sections:i})=>{if(O((t=>(0,nc.A)({},t,{sections:i,value:e,referenceValue:n,tempValueStrAndroid:null}))),a.areValuesEqual(t,_.value,e))return;const o={validationError:c({adapter:r,value:e,props:(0,nc.A)({},u,{value:e,timezone:A})})};C(e,o)},F=(e,t)=>{const n=[..._.sections];return n[e]=(0,nc.A)({},n[e],{value:t,modified:!0}),n};return o.useEffect((()=>{const e=T(_.value);Qb(),O((t=>(0,nc.A)({},t,{sections:e})))}),[g,t.locale,i]),o.useEffect((()=>{let e;e=!a.areValuesEqual(t,_.value,S)||a.getTimezone(t,_.value)!==a.getTimezone(t,S),e&&O((e=>(0,nc.A)({},e,{value:S,referenceValue:s.updateReferenceValue(t,S,e.referenceValue),sections:T(S)})))}),[S]),{state:_,activeSectionIndex:R,parsedSelectedSections:L,setSelectedSections:M,clearValue:()=>{j({value:a.emptyValue,referenceValue:_.referenceValue,sections:T(a.emptyValue)})},clearActiveSection:()=>{if(null==R)return;const e=_.sections[R],n=s.getActiveDateManager(t,_,e),r=n.getSections(_.sections).filter((e=>""!==e.value)).length===(""===e.value?0:1),i=F(R,""),o=r?null:t.getInvalidDate(),a=n.getNewValuesFromNewActiveDate(o);j((0,nc.A)({},a,{sections:i}))},updateSectionValue:({activeSection:e,newSectionValue:n,shouldGoToNextSection:r})=>{r&&R<_.sections.length-1&&M(R+1);const i=s.getActiveDateManager(t,_,e),o=F(R,n),a=i.getSections(o),l=((e,t,n)=>{const r=t.some((e=>"day"===e.type)),i=[],o=[];for(let e=0;e(0,nc.A)({},e,c,{sections:o,tempValueStrAndroid:null})))},updateValueFromValueStr:e=>{const r=s.parseValueStr(e,_.referenceValue,((e,r)=>{const o=t.parse(e,g);if(null==o||!t.isValid(o))return null;const a=Yx({utils:t,timezone:A,localeText:n,localizedDigits:E,format:g,date:o,formatDensity:m,shouldRespectLeadingZeros:b,enableAccessibleFieldDOMStructure:x,isRtl:i});return tw(t,A,o,a,r,!1)})),o=s.updateReferenceValue(t,r,_.referenceValue);j({value:r,referenceValue:o,sections:T(r,_.sections)})},setTempAndroidValueStr:e=>O((t=>(0,nc.A)({},t,{tempValueStrAndroid:e}))),getSectionsFromValue:T,sectionsValueBoundaries:k,localizedDigits:E,timezone:A}},Xx=e=>null!=e.saveQuery,Zx=({sections:e,updateSectionValue:t,sectionsValueBoundaries:n,localizedDigits:r,setTempAndroidValueStr:i,timezone:a})=>{const s=pw(),[l,c]=o.useState(null),u=Yw((()=>c(null)));o.useEffect((()=>{null!=l&&e[l.sectionIndex]?.type!==l.sectionType&&u()}),[e,l,u]),o.useEffect((()=>{if(null!=l){const e=setTimeout((()=>u()),5e3);return()=>{clearTimeout(e)}}return()=>{}}),[l,u]);const d=({keyPressed:t,sectionIndex:n},r,i)=>{const o=t.toLowerCase(),a=e[n];if(null!=l&&(!i||i(l.value))&&l.sectionIndex===n){const e=`${l.value}${o}`,t=r(e,a);if(!Xx(t))return c({sectionIndex:n,value:e,sectionType:a.type}),t}const s=r(o,a);return Xx(s)&&!s.saveQuery?(u(),null):(c({sectionIndex:n,value:o,sectionType:a.type}),Xx(s)?null:s)};return{applyCharacterEditing:Yw((o=>{const l=e[o.sectionIndex],c=Wb(o.keyPressed,r)?(e=>{const t=(e,t)=>{const i=Gb(e,r),o=Number(i),a=n[t.type]({currentDate:null,format:t.format,contentType:t.contentType});if(o>a.maximum)return{saveQuery:!1};if(oa.maximum||i.length===a.maximum.toString().length;return{sectionValue:Hb(s,o,a,r,t),shouldGoToNextSection:l}};return d(e,((e,n)=>{if("digit"===n.contentType||"digit-with-letter"===n.contentType)return t(e,n);if("month"===n.type){const r=Jb(s,a,"digit","month","MM"),i=t(e,{type:n.type,format:"MM",hasLeadingZerosInFormat:r,hasLeadingZerosInInput:!0,contentType:"digit",maxLength:2});if(Xx(i))return i;const o=Xb(s,i.sectionValue,"MM",n.format);return(0,nc.A)({},i,{sectionValue:o})}if("weekDay"===n.type){const r=t(e,n);if(Xx(r))return r;const i=zb(s,a,n.format)[Number(r.sectionValue)-1];return(0,nc.A)({},r,{sectionValue:i})}return{saveQuery:!1}}),(e=>Wb(e,r)))})((0,nc.A)({},o,{keyPressed:Ub(o.keyPressed,r)})):(e=>{const t=(e,t,n)=>{const r=t.filter((e=>e.toLowerCase().startsWith(n)));return 0===r.length?{saveQuery:!1}:{sectionValue:r[0],shouldGoToNextSection:1===r.length}},n=(e,n,r,i)=>{const o=e=>Vb(s,a,n.type,e);if("letter"===n.contentType)return t(n.format,o(n.format),e);if(r&&null!=i&&"letter"===Bb(s,r).contentType){const n=o(r),a=t(0,n,e);return Xx(a)?{saveQuery:!1}:(0,nc.A)({},a,{sectionValue:i(a.sectionValue,n)})}return{saveQuery:!1}};return d(e,((e,t)=>{switch(t.type){case"month":{const r=e=>Xb(s,e,s.formats.month,t.format);return n(e,t,s.formats.month,r)}case"weekDay":{const r=(e,t)=>t.indexOf(e).toString();return n(e,t,s.formats.weekday,r)}case"meridiem":return n(e,t);default:return{saveQuery:!1}}}))})(o);null!=c?t({activeSection:l,newSectionValue:c.sectionValue,shouldGoToNextSection:c.shouldGoToNextSection}):i(null)})),resetCharacterQuery:u}},Jx=e=>{const{internalProps:{disabled:t,readOnly:n=!1},forwardedProps:{sectionListRef:r,onBlur:i,onClick:a,onFocus:s,onInput:l,onPaste:c,focused:u,autoFocus:d=!1},fieldValueManager:h,applyCharacterEditing:p,resetCharacterQuery:f,setSelectedSections:g,parsedSelectedSections:m,state:y,clearActiveSection:v,clearValue:b,updateSectionValue:w,updateValueFromValueStr:x,sectionOrder:A,areAllSectionsEmpty:S,sectionsValueBoundaries:C}=e,E=o.useRef(null),k=Fw(r,E),T=_w(),_=pw(),O=qw(),[P,I]=o.useState(!1),M=o.useMemo((()=>({syncSelectionToDOM:()=>{if(!E.current)return;const e=document.getSelection();if(!e)return;if(null==m)return e.rangeCount>0&&E.current.getRoot().contains(e.getRangeAt(0).startContainer)&&e.removeAllRanges(),void(P&&E.current.getRoot().blur());if(!E.current.getRoot().contains(Jw(document)))return;const t=new window.Range;let n;if("all"===m)n=E.current.getRoot();else{n="empty"===y.sections[m].type?E.current.getSectionContainer(m):E.current.getSectionContent(m)}t.selectNodeContents(n),n.focus(),e.removeAllRanges(),e.addRange(t)},getActiveSectionIndexFromDOM:()=>{const e=Jw(document);return e&&E.current&&E.current.getRoot().contains(e)?E.current.getSectionIndexFromDOMElement(e):null},focusField:(e=0)=>{if(!E.current)return;const t=nw(e,y.sections);I(!0),E.current.getSectionContent(t).focus()},setSelectedSections:e=>{if(!E.current)return;const t=nw(e,y.sections);I(null!==("all"===t?0:t)),g(e)},isFieldFocused:()=>{const e=Jw(document);return!!E.current&&E.current.getRoot().contains(e)}})),[m,g,y.sections,P]),L=Yw((e=>{if(!E.current)return;const t=y.sections[e];E.current.getSectionContent(e).innerHTML=t.value||t.placeholder,M.syncSelectionToDOM()})),R=Yw(((e,...t)=>{if(!e.isDefaultPrevented()&&E.current)if(I(!0),a?.(e,...t),"all"===m)setTimeout((()=>{const e=document.getSelection().getRangeAt(0).startOffset;if(0===e)return void g(A.startIndex);let t=0,n=0;for(;n{if(l?.(e),!E.current||"all"!==m)return;const t=e.target.textContent??"";E.current.getRoot().innerHTML=y.sections.map((e=>`${e.startSeparator}${e.value||e.placeholder}${e.endSeparator}`)).join(""),M.syncSelectionToDOM(),0===t.length||10===t.charCodeAt(0)?(f(),b(),g("all")):t.length>1?x(t):p({keyPressed:t,sectionIndex:0})})),F=Yw((e=>{if(c?.(e),n||"all"!==m)return void e.preventDefault();const t=e.clipboardData.getData("text");e.preventDefault(),f(),x(t)})),D=Yw(((...e)=>{if(s?.(...e),P||!E.current)return;I(!0);null!=E.current.getSectionIndexFromDOMElement(Jw(document))||g(A.startIndex)})),N=Yw(((...e)=>{i?.(...e),setTimeout((()=>{if(!E.current)return;const e=Jw(document);!E.current.getRoot().contains(e)&&(I(!1),g(null))}))})),B=Yw((e=>t=>{t.isDefaultPrevented()||g(e)})),z=Yw((e=>{e.preventDefault()})),V=Yw((e=>()=>{g(e)})),$=Yw((e=>{if(e.preventDefault(),n||t||"number"!=typeof m)return;const r=y.sections[m],i=e.clipboardData.getData("text"),o=/^[a-zA-Z]+$/.test(i),a=/^[0-9]+$/.test(i),s=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(i);"letter"===r.contentType&&o||"digit"===r.contentType&&a||"digit-with-letter"===r.contentType&&s?(f(),w({activeSection:r,newSectionValue:i,shouldGoToNextSection:!0})):o||a||(f(),x(i))})),G=Yw((e=>{e.preventDefault(),e.dataTransfer.dropEffect="none"})),U=Yw((e=>{if(!E.current)return;const t=e.target,r=t.textContent??"",i=E.current.getSectionIndexFromDOMElement(t),o=y.sections[i];if(!n&&E.current){if(0===r.length){if(""===o.value)return void L(i);const t=e.nativeEvent.inputType;return"insertParagraph"===t||"insertLineBreak"===t?void L(i):(f(),void v())}p({keyPressed:r,sectionIndex:i}),L(i)}else L(i)}));Hw((()=>{if(P&&E.current)if("all"===m)E.current.getRoot().focus();else if("number"==typeof m){const e=E.current.getSectionContent(m);e&&e.focus()}}),[m,P]);const W=o.useMemo((()=>y.sections.reduce(((e,t)=>(e[t.type]=C[t.type]({currentDate:null,contentType:t.contentType,format:t.format}),e)),{})),[C,y.sections]),q="all"===m,H=o.useMemo((()=>y.sections.map(((e,r)=>{const i=!q&&!t&&!n;return{container:{"data-sectionindex":r,onClick:B(r)},content:{tabIndex:q||r>0?-1:0,contentEditable:!q&&!t&&!n,role:"spinbutton",id:`${O}-${e.type}`,"aria-labelledby":`${O}-${e.type}`,"aria-readonly":n,"aria-valuenow":iw(e,_),"aria-valuemin":W[e.type].minimum,"aria-valuemax":W[e.type].maximum,"aria-valuetext":e.value?rw(e,_):T.empty,"aria-label":T[e.type],"aria-disabled":t,spellCheck:!i&&void 0,autoCapitalize:i?"off":void 0,autoCorrect:i?"off":void 0,[parseInt(o.version,10)>=17?"enterKeyHint":"enterkeyhint"]:i?"next":void 0,children:e.value||e.placeholder,onInput:U,onPaste:$,onFocus:V(r),onDragOver:G,onMouseUp:z,inputMode:"letter"===e.contentType?"text":"numeric"},before:{children:e.startSeparator},after:{children:e.endSeparator}}}))),[y.sections,V,$,G,U,B,z,t,n,q,T,_,W,O]),Y=Yw((e=>{x(e.target.value)})),K=o.useMemo((()=>S?"":h.getV7HiddenInputValueFromSections(y.sections)),[S,y.sections,h]);return o.useEffect((()=>{if(null==E.current)throw new Error(["MUI X: The `sectionListRef` prop has not been initialized by `PickersSectionList`","You probably tried to pass a component to the `textField` slot that contains an `` element instead of a `PickersSectionList`.","","If you want to keep using an `` HTML element for the editing, please remove the `enableAccessibleFieldDOMStructure` prop from your picker or field component:","","","","Learn more about the field accessible DOM structure on the MUI documentation: https://mui.com/x/react-date-pickers/fields/#fields-to-edit-a-single-element"].join("\n"));d&&E.current&&E.current.getSectionContent(A.startIndex).focus()}),[]),{interactions:M,returnedValue:{autoFocus:d,readOnly:n,focused:u??P,sectionListRef:k,onBlur:N,onClick:R,onFocus:D,onInput:j,onPaste:F,enableAccessibleFieldDOMStructure:!0,elements:H,tabIndex:0===m?-1:0,contentEditable:q,value:K,onChange:Y,areAllSectionsEmpty:S}}},Qx=e=>e.replace(/[\u2066\u2067\u2068\u2069]/g,""),eA=e=>{const t=(0,Rr.I)(),n=o.useRef(),r=o.useRef(),{forwardedProps:{onFocus:i,onClick:a,onPaste:s,onBlur:l,inputRef:c,placeholder:u},internalProps:{readOnly:d=!1,disabled:h=!1},parsedSelectedSections:p,activeSectionIndex:f,state:g,fieldValueManager:m,valueManager:y,applyCharacterEditing:v,resetCharacterQuery:b,updateSectionValue:w,updateValueFromValueStr:x,clearActiveSection:A,clearValue:S,setTempAndroidValueStr:C,setSelectedSections:E,getSectionsFromValue:k,areAllSectionsEmpty:T,localizedDigits:_}=e,O=o.useRef(null),P=Fw(c,O),I=o.useMemo((()=>((e,t,n)=>{let r=0,i=n?1:0;const o=[];for(let a=0;a({syncSelectionToDOM:()=>{if(!O.current)return;if(null==p)return void(O.current.scrollLeft&&(O.current.scrollLeft=0));if(O.current!==Jw(document))return;const e=O.current.scrollTop;if("all"===p)O.current.select();else{const e=I[p],t="empty"===e.type?e.startInInput-e.startSeparator.length:e.startInInput,n="empty"===e.type?e.endInInput+e.endSeparator.length:e.endInInput;t===O.current.selectionStart&&n===O.current.selectionEnd||O.current===Jw(document)&&O.current.setSelectionRange(t,n),clearTimeout(r.current),r.current=setTimeout((()=>{!O.current||O.current!==Jw(document)||O.current.selectionStart!==O.current.selectionEnd||O.current.selectionStart===t&&O.current.selectionEnd===n||M.syncSelectionToDOM()}))}O.current.scrollTop=e},getActiveSectionIndexFromDOM:()=>{const e=O.current.selectionStart??0,t=O.current.selectionEnd??0;if(0===e&&0===t)return null;const n=e<=I[0].startInInput?1:I.findIndex((t=>t.startInInput-t.startSeparator.length>e));return-1===n?I.length-1:n-1},focusField:(e=0)=>{O.current?.focus(),E(e)},setSelectedSections:e=>E(e),isFieldFocused:()=>O.current===Jw(document)})),[O,p,I,E]),L=()=>{const e=O.current.selectionStart??0;let t;t=e<=I[0].startInInput||e>=I[I.length-1].endInInput?1:I.findIndex((t=>t.startInInput-t.startSeparator.length>e));const n=-1===t?I.length-1:t-1;E(n)},R=Yw(((...e)=>{i?.(...e);const t=O.current;clearTimeout(n.current),n.current=setTimeout((()=>{t&&t===O.current&&null==f&&(t.value.length&&Number(t.selectionEnd)-Number(t.selectionStart)===t.value.length?E("all"):L())}))})),j=Yw(((e,...t)=>{e.isDefaultPrevented()||(a?.(e,...t),L())})),F=Yw((e=>{if(s?.(e),e.preventDefault(),d||h)return;const t=e.clipboardData.getData("text");if("number"==typeof p){const e=g.sections[p],n=/^[a-zA-Z]+$/.test(t),r=/^[0-9]+$/.test(t),i=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(t);if("letter"===e.contentType&&n||"digit"===e.contentType&&r||"digit-with-letter"===e.contentType&&i)return b(),void w({activeSection:e,newSectionValue:t,shouldGoToNextSection:!0});if(n||r)return}b(),x(t)})),D=Yw(((...e)=>{l?.(...e),E(null)})),N=Yw((e=>{if(d)return;const n=e.target.value;if(""===n)return b(),void S();const r=e.nativeEvent.data,i=r&&r.length>1,o=i?r:n,a=Qx(o);if(null==f||i)return void x(i?r:a);let s;if("all"===p&&1===a.length)s=a;else{const e=Qx(m.getV6InputValueFromSections(I,_,t));let n=-1,r=-1;for(let t=0;ti.end)return;const o=a.length-e.length+i.end-Qx(i.endSeparator||"").length;s=a.slice(i.start+Qx(i.startSeparator||"").length,o)}if(0===s.length)return navigator.userAgent.toLowerCase().includes("android")&&C(o),b(),void A();v({keyPressed:s,sectionIndex:f})})),B=o.useMemo((()=>void 0!==u?u:m.getV6InputValueFromSections(k(y.emptyValue),_,t)),[u,m,k,y.emptyValue,_,t]),z=o.useMemo((()=>g.tempValueStrAndroid??m.getV6InputValueFromSections(g.sections,_,t)),[g.sections,m,g.tempValueStrAndroid,_,t]);o.useEffect((()=>(O.current&&O.current===Jw(document)&&E("all"),()=>{clearTimeout(n.current),clearTimeout(r.current)})),[]);const V=o.useMemo((()=>null==f||"letter"===g.sections[f].contentType?"text":"numeric"),[f,g.sections]),$=O.current&&O.current===Jw(document);return{interactions:M,returnedValue:{readOnly:d,onBlur:D,onClick:j,onFocus:R,onPaste:F,inputRef:P,enableAccessibleFieldDOMStructure:!1,placeholder:B,inputMode:V,autoComplete:"off",value:!$&&T?"":z,onChange:N}}},tA=e=>{const t=pw(),{internalProps:n,internalProps:{unstableFieldRef:r,minutesStep:i,enableAccessibleFieldDOMStructure:a=!1,disabled:s=!1,readOnly:l=!1},forwardedProps:{onKeyDown:c,error:u,clearable:d,onClear:h},fieldValueManager:p,valueManager:f,validator:g}=e,m=(0,Rr.I)(),y=Kx(e),{state:v,activeSectionIndex:b,parsedSelectedSections:w,setSelectedSections:x,clearValue:A,clearActiveSection:S,updateSectionValue:C,setTempAndroidValueStr:E,sectionsValueBoundaries:k,localizedDigits:T,timezone:_}=y,O=Zx({sections:v.sections,updateSectionValue:C,sectionsValueBoundaries:k,localizedDigits:T,setTempAndroidValueStr:E,timezone:_}),{resetCharacterQuery:P}=O,I=f.areValuesEqual(t,v.value,f.emptyValue),M=a?Jx:eA,L=o.useMemo((()=>((e,t)=>{const n={};if(!t)return e.forEach(((t,r)=>{const i=0===r?null:r-1,o=r===e.length-1?null:r+1;n[r]={leftIndex:i,rightIndex:o}})),{neighbors:n,startIndex:0,endIndex:e.length-1};const r={},i={};let o=0,a=0,s=e.length-1;for(;s>=0;){a=e.findIndex(((e,t)=>t>=o&&e.endSeparator?.includes(" ")&&" / "!==e.endSeparator)),-1===a&&(a=e.length-1);for(let e=a;e>=o;e-=1)i[e]=s,r[s]=e,s-=1;o=a+1}return e.forEach(((t,o)=>{const a=i[o],s=0===a?null:r[a-1],l=a===e.length-1?null:r[a+1];n[o]={leftIndex:s,rightIndex:l}})),{neighbors:n,startIndex:r[0],endIndex:r[e.length-1]}})(v.sections,m&&!a)),[v.sections,m,a]),{returnedValue:R,interactions:j}=M((0,nc.A)({},e,y,O,{areAllSectionsEmpty:I,sectionOrder:L})),F=Yw((e=>{if(c?.(e),!s)switch(!0){case(e.ctrlKey||e.metaKey)&&"a"===e.key.toLowerCase()&&!e.shiftKey&&!e.altKey:e.preventDefault(),x("all");break;case"ArrowRight"===e.key:if(e.preventDefault(),null==w)x(L.startIndex);else if("all"===w)x(L.endIndex);else{const e=L.neighbors[w].rightIndex;null!==e&&x(e)}break;case"ArrowLeft"===e.key:if(e.preventDefault(),null==w)x(L.endIndex);else if("all"===w)x(L.startIndex);else{const e=L.neighbors[w].leftIndex;null!==e&&x(e)}break;case"Delete"===e.key:if(e.preventDefault(),l)break;null==w||"all"===w?A():S(),P();break;case["ArrowUp","ArrowDown","Home","End","PageUp","PageDown"].includes(e.key):{if(e.preventDefault(),l||null==b)break;const n=v.sections[b],r=p.getActiveDateManager(t,v,n),o=Yb(t,_,n,e.key,k,T,r.date,{minutesStep:i});C({activeSection:n,newSectionValue:o,shouldGoToNextSection:!1});break}}}));Hw((()=>{j.syncSelectionToDOM()}));const D=ux((0,nc.A)({},n,{value:v.value,timezone:_}),g,f.isSameError,f.defaultErrorState),N=o.useMemo((()=>void 0!==u?u:f.hasError(D)),[f,D,u]);o.useEffect((()=>{N||null!=b||P()}),[v.referenceValue,b,N]),o.useEffect((()=>{null!=v.tempValueStrAndroid&&null!=b&&(P(),S())}),[v.sections]),o.useImperativeHandle(r,(()=>({getSections:()=>v.sections,getActiveSectionIndex:j.getActiveSectionIndexFromDOM,setSelectedSections:j.setSelectedSections,focusField:j.focusField,isFieldFocused:j.isFieldFocused})));const B={onKeyDown:F,onClear:Yw(((e,...t)=>{e.preventDefault(),h?.(e,...t),A(),j.isFieldFocused()?x(L.startIndex):j.focusField(0)})),error:N,clearable:Boolean(d&&!I&&!l&&!s)},z={disabled:s,readOnly:l};return(0,nc.A)({},e.forwardedProps,B,z,R)},nA=["disablePast","disableFuture","minDate","maxDate","shouldDisableDate","shouldDisableMonth","shouldDisableYear"],rA=["disablePast","disableFuture","minTime","maxTime","shouldDisableTime","minutesStep","ampm","disableIgnoringDatePartForTimeValidation"],iA=["minDateTime","maxDateTime"],oA=[...nA,...rA,...iA],aA=e=>oA.reduce(((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t)),{}),sA=["value","defaultValue","referenceDate","format","formatDensity","onChange","timezone","onError","shouldRespectLeadingZeros","selectedSections","onSelectedSectionsChange","unstableFieldRef","enableAccessibleFieldDOMStructure","disabled","readOnly","dateSeparator"],lA=(e,t)=>{const n=(0,nc.A)({},e),r={},i=e=>{n.hasOwnProperty(e)&&(r[e]=n[e],delete n[e])};return sA.forEach(i),"date"===t?nA.forEach(i):"time"===t?rA.forEach(i):"date-time"===t&&(nA.forEach(i),rA.forEach(i),iA.forEach(i)),{forwardedProps:n,internalProps:r}},cA=e=>{const t=(e=>{const t=pw(),n=fw();return(0,nc.A)({},e,{disablePast:e.disablePast??!1,disableFuture:e.disableFuture??!1,format:e.format??t.formats.keyboardDate,minDate:wb(t,e.minDate,n.minDate),maxDate:wb(t,e.maxDate,n.maxDate)})})(e),{forwardedProps:n,internalProps:r}=lA(t,"date");return tA({forwardedProps:n,internalProps:r,valueManager:aw,fieldValueManager:sw,validator:jw,valueType:"date"})},uA=["clearable","onClear","InputProps","sx","slots","slotProps"],dA=["ownerState"],hA=e=>{const t=_w(),{clearable:n,onClear:r,InputProps:i,sx:a,slots:s,slotProps:l}=e,c=(0,dc.A)(e,uA),u=s?.clearButton??ye.A,d=Gw({elementType:u,externalSlotProps:l?.clearButton,ownerState:{},className:"clearButton",additionalProps:{title:t.fieldClearLabel}}),h=(0,dc.A)(d,dA),p=s?.clearIcon??Wx,f=Gw({elementType:p,externalSlotProps:l?.clearIcon,ownerState:{}});return(0,nc.A)({},c,{InputProps:(0,nc.A)({},i,{endAdornment:(0,k.jsxs)(o.Fragment,{children:[n&&(0,k.jsx)(db,{position:"end",sx:{marginRight:i?.endAdornment?-1:-1.5},children:(0,k.jsx)(u,(0,nc.A)({},h,{onClick:r,children:(0,k.jsx)(p,(0,nc.A)({fontSize:"small"},f))}))}),i?.endAdornment]})}),sx:[{"& .clearButton":{opacity:1},"@media (pointer: fine)":{"& .clearButton":{opacity:0},"&:hover, &:focus-within":{".clearButton":{opacity:1}}}},...Array.isArray(a)?a:[a]]})};function pA(e){return ww("MuiPickersTextField",e)}xw("MuiPickersTextField",["root","focused","disabled","error","required"]);function fA(e){return ww("MuiPickersInputBase",e)}const gA=xw("MuiPickersInputBase",["root","focused","disabled","error","notchedOutline","sectionContent","sectionBefore","sectionAfter","adornedStart","adornedEnd","input"]);function mA(e){return ww("MuiPickersOutlinedInput",e)}const yA=(0,nc.A)({},gA,xw("MuiPickersOutlinedInput",["root","notchedOutline","input"])),vA=["children","className","label","notched","shrink"],bA=(0,u.Ay)("fieldset",{name:"MuiPickersOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{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%",borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),wA=(0,u.Ay)("span")((({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:"inherit"}))),xA=(0,u.Ay)("legend")((({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:{withLabel:!1},style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:{withLabel:!0},style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:{withLabel:!0,notched:!0},style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function AA(e){const{className:t,label:n}=e,r=(0,dc.A)(e,vA),i=null!=n&&""!==n,o=(0,nc.A)({},e,{withLabel:i});return(0,k.jsx)(bA,(0,nc.A)({"aria-hidden":!0,className:t},r,{ownerState:o,children:(0,k.jsx)(xA,{ownerState:o,children:i?(0,k.jsx)(wA,{children:n}):(0,k.jsx)(wA,{className:"notranslate",children:"​"})})}))}function SA(e){if("string"!=typeof e)throw new Error(function(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;et.root})({direction:"ltr /*! @noflip */",outline:"none"}),OA=(0,u.Ay)("span",{name:"MuiPickersSectionList",slot:"Section",overridesResolver:(e,t)=>t.section})({}),PA=(0,u.Ay)("span",{name:"MuiPickersSectionList",slot:"SectionSeparator",overridesResolver:(e,t)=>t.sectionSeparator})({whiteSpace:"pre"}),IA=(0,u.Ay)("span",{name:"MuiPickersSectionList",slot:"SectionContent",overridesResolver:(e,t)=>t.sectionContent})({outline:"none"});function MA(e){const{slots:t,slotProps:n,element:r,classes:i}=e,o=t?.section??OA,a=Gw({elementType:o,externalSlotProps:n?.section,externalForwardedProps:r.container,className:i.section,ownerState:{}}),s=t?.sectionContent??IA,l=Gw({elementType:s,externalSlotProps:n?.sectionContent,externalForwardedProps:r.content,additionalProps:{suppressContentEditableWarning:!0},className:i.sectionContent,ownerState:{}}),c=t?.sectionSeparator??PA,u=Gw({elementType:c,externalSlotProps:n?.sectionSeparator,externalForwardedProps:r.before,ownerState:{position:"before"}}),d=Gw({elementType:c,externalSlotProps:n?.sectionSeparator,externalForwardedProps:r.after,ownerState:{position:"after"}});return(0,k.jsxs)(o,(0,nc.A)({},a,{children:[(0,k.jsx)(c,(0,nc.A)({},u)),(0,k.jsx)(s,(0,nc.A)({},l)),(0,k.jsx)(c,(0,nc.A)({},d))]}))}const LA=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiPickersSectionList"}),{slots:r,slotProps:i,elements:a,sectionListRef:s}=n,l=(0,dc.A)(n,TA),c=(e=>{const{classes:t}=e;return mw({root:["root"],section:["section"],sectionContent:["sectionContent"]},EA,t)})(n),u=o.useRef(null),d=Fw(t,u),h=e=>{if(!u.current)throw new Error(`MUI X: Cannot call sectionListRef.${e} before the mount of the component.`);return u.current};o.useImperativeHandle(s,(()=>({getRoot:()=>h("getRoot"),getSectionContainer:e=>h("getSectionContainer").querySelector(`.${kA.section}[data-sectionindex="${e}"]`),getSectionContent:e=>h("getSectionContent").querySelector(`.${kA.section}[data-sectionindex="${e}"] .${kA.sectionContent}`),getSectionIndexFromDOMElement(e){const t=h("getSectionIndexFromDOMElement");if(null==e||!t.contains(e))return null;let n=null;return e.classList.contains(kA.section)?n=e:e.classList.contains(kA.sectionContent)&&(n=e.parentElement),null==n?null:Number(n.dataset.sectionindex)}})));const p=r?.root??_A,f=Gw({elementType:p,externalSlotProps:i?.root,externalForwardedProps:l,additionalProps:{ref:d,suppressContentEditableWarning:!0},className:c.root,ownerState:{}});return(0,k.jsx)(p,(0,nc.A)({},f,{children:f.contentEditable?a.map((({content:e,before:t,after:n})=>`${t.children}${e.children}${n.children}`)).join(""):(0,k.jsx)(o.Fragment,{children:a.map(((e,t)=>(0,k.jsx)(MA,{slots:r,slotProps:i,element:e,classes:c},t)))})}))})),RA=["elements","areAllSectionsEmpty","defaultValue","label","value","onChange","id","autoFocus","endAdornment","startAdornment","renderSuffix","slots","slotProps","contentEditable","tabIndex","onInput","onPaste","onKeyDown","fullWidth","name","readOnly","inputProps","inputRef","sectionListRef"],jA=(0,u.Ay)("div",{name:"MuiPickersInputBase",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{return(0,nc.A)({},e.typography.body1,{color:(e.vars||e).palette.text.primary,cursor:"text",padding:0,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",boxSizing:"border-box",letterSpacing:(t=.15/16,Math.round(1e5*t)/1e5)+"em",variants:[{props:{fullWidth:!0},style:{width:"100%"}}]});var t})),FA=(0,u.Ay)(_A,{name:"MuiPickersInputBase",slot:"SectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})((({theme:e})=>({padding:"4px 0 5px",fontFamily:e.typography.fontFamily,fontSize:"inherit",lineHeight:"1.4375em",flexGrow:1,outline:"none",display:"flex",flexWrap:"nowrap",overflow:"hidden",letterSpacing:"inherit",width:"182px",variants:[{props:{isRtl:!0},style:{textAlign:"right /*! @noflip */"}},{props:{size:"small"},style:{paddingTop:1}},{props:{adornedStart:!1,focused:!1,filled:!1},style:{color:"currentColor",opacity:0}},{props:({adornedStart:e,focused:t,filled:n,label:r})=>!e&&!t&&!n&&null==r,style:e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:"light"===e.palette.mode?.42:.5}}]}))),DA=(0,u.Ay)(OA,{name:"MuiPickersInputBase",slot:"Section",overridesResolver:(e,t)=>t.section})((({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:"inherit",letterSpacing:"inherit",lineHeight:"1.4375em",display:"flex"}))),NA=(0,u.Ay)(IA,{name:"MuiPickersInputBase",slot:"SectionContent",overridesResolver:(e,t)=>t.content})((({theme:e})=>({fontFamily:e.typography.fontFamily,lineHeight:"1.4375em",letterSpacing:"inherit",width:"fit-content",outline:"none"}))),BA=(0,u.Ay)(PA,{name:"MuiPickersInputBase",slot:"Separator",overridesResolver:(e,t)=>t.separator})((()=>({whiteSpace:"pre",letterSpacing:"inherit"}))),zA=(0,u.Ay)("input",{name:"MuiPickersInputBase",slot:"Input",overridesResolver:(e,t)=>t.hiddenInput})((0,nc.A)({},CA)),VA=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiPickersInputBase"}),{elements:r,areAllSectionsEmpty:i,value:a,onChange:s,id:l,endAdornment:c,startAdornment:u,renderSuffix:d,slots:h,slotProps:p,contentEditable:f,tabIndex:g,onInput:m,onPaste:y,onKeyDown:v,name:b,readOnly:w,inputProps:x,inputRef:A,sectionListRef:S}=n,C=(0,dc.A)(n,RA),E=Fw(t,o.useRef(null)),T=Fw(x?.ref,A),_=(0,Rr.I)(),O=(0,Zh.A)();if(!O)throw new Error("MUI X: PickersInputBase should always be used inside a PickersTextField component");o.useEffect((()=>{O&&O.setAdornedStart(Boolean(u))}),[O,u]),o.useEffect((()=>{O&&(i?O.onEmpty():O.onFilled())}),[O,i]);const P=(0,nc.A)({},n,O,{isRtl:_}),I=(e=>{const{focused:t,disabled:n,error:r,classes:i,fullWidth:o,readOnly:a,color:s,size:l,endAdornment:c,startAdornment:u}=e;return mw({root:["root",t&&!n&&"focused",n&&"disabled",a&&"readOnly",r&&"error",o&&"fullWidth",`color${SA(s)}`,"small"===l&&"inputSizeSmall",Boolean(u)&&"adornedStart",Boolean(c)&&"adornedEnd"],notchedOutline:["notchedOutline"],input:["input"],sectionsContainer:["sectionsContainer"],sectionContent:["sectionContent"],sectionBefore:["sectionBefore"],sectionAfter:["sectionAfter"]},fA,i)})(P),M=h?.root||jA,L=Gw({elementType:M,externalSlotProps:p?.root,externalForwardedProps:C,additionalProps:{"aria-invalid":O.error,ref:E},className:I.root,ownerState:P}),R=h?.input||FA;return(0,k.jsxs)(M,(0,nc.A)({},L,{children:[u,(0,k.jsx)(LA,{sectionListRef:S,elements:r,contentEditable:f,tabIndex:g,className:I.sectionsContainer,onFocus:e=>{O.disabled?e.stopPropagation():O.onFocus?.(e)},onBlur:O.onBlur,onInput:m,onPaste:y,onKeyDown:v,slots:{root:R,section:DA,sectionContent:NA,sectionSeparator:BA},slotProps:{root:{ownerState:P},sectionContent:{className:gA.sectionContent},sectionSeparator:({position:e})=>({className:"before"===e?gA.sectionBefore:gA.sectionAfter})}}),c,d?d((0,nc.A)({},O)):null,(0,k.jsx)(zA,(0,nc.A)({name:b,className:I.input,value:a,onChange:s,id:l,"aria-hidden":"true",tabIndex:-1,readOnly:w,required:O.required,disabled:O.disabled},x,{ref:T}))]}))})),$A=["label","autoFocus","ownerState","notched"],GA=(0,u.Ay)(jA,{name:"MuiPickersOutlinedInput",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{padding:"0 14px",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${yA.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${yA.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${yA.focused} .${yA.notchedOutline}`]:{borderStyle:"solid",borderWidth:2},[`&.${yA.disabled}`]:{[`& .${yA.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled},"*":{color:(e.vars||e).palette.action.disabled}},[`&.${yA.error} .${yA.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},variants:Object.keys((e.vars??e).palette).filter((t=>(e.vars??e).palette[t]?.main??!1)).map((t=>({props:{color:t},style:{[`&.${yA.focused}:not(.${yA.error}) .${yA.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})))}})),UA=(0,u.Ay)(FA,{name:"MuiPickersOutlinedInput",slot:"SectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})({padding:"16.5px 0",variants:[{props:{size:"small"},style:{padding:"8.5px 0"}}]}),WA=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiPickersOutlinedInput"}),{label:r,ownerState:i,notched:a}=n,s=(0,dc.A)(n,$A),l=(0,Zh.A)(),c=(0,nc.A)({},n,i,l,{color:l?.color||"primary"}),u=(e=>{const{classes:t}=e,n=mw({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},mA,t);return(0,nc.A)({},t,n)})(c);return(0,k.jsx)(VA,(0,nc.A)({slots:{root:GA,input:UA},renderSuffix:e=>(0,k.jsx)(AA,{shrink:Boolean(a||e.adornedStart||e.focused||e.filled),notched:Boolean(a||e.adornedStart||e.focused||e.filled),className:u.notchedOutline,label:null!=r&&""!==r&&l?.required?(0,k.jsxs)(o.Fragment,{children:[r," ","*"]}):r,ownerState:c})},s,{label:r,classes:u,ref:t}))}));function qA(e){return ww("MuiPickersFilledInput",e)}WA.muiName="Input";const HA=(0,nc.A)({},gA,xw("MuiPickersFilledInput",["root","underline","input"])),YA=["label","autoFocus","disableUnderline","ownerState"],KA=(0,u.Ay)(jA,{name:"MuiPickersFilledInput",slot:"Root",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>(0,Ii.MC)(e)&&"disableUnderline"!==e})((({theme:e})=>{const t="light"===e.palette.mode,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",o=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{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:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${HA.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${HA.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:o},variants:[...Object.keys((e.vars??e).palette).filter((t=>(e.vars??e).palette[t].main)).map((t=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}}))),{props:{disableUnderline:!1},style:{"&::after":{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"},[`&.${HA.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${HA.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})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${HA.disabled}, .${HA.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${HA.disabled}:before`]:{borderBottomStyle:"dotted"}}},{props:({startAdornment:e})=>!!e,style:{paddingLeft:12}},{props:({endAdornment:e})=>!!e,style:{paddingRight:12}}]}})),XA=(0,u.Ay)(FA,{name:"MuiPickersFilledInput",slot:"sectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({startAdornment:e})=>!!e,style:{paddingLeft:0}},{props:({endAdornment:e})=>!!e,style:{paddingRight:0}},{props:{hiddenLabel:!0},style:{paddingTop:16,paddingBottom:17}},{props:{hiddenLabel:!0,size:"small"},style:{paddingTop:8,paddingBottom:9}}]}),ZA=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiPickersFilledInput"}),{label:r,disableUnderline:i=!1,ownerState:o}=n,a=(0,dc.A)(n,YA),s=(0,Zh.A)(),l=(e=>{const{classes:t,disableUnderline:n}=e,r=mw({root:["root",!n&&"underline"],input:["input"]},qA,t);return(0,nc.A)({},t,r)})((0,nc.A)({},n,o,s,{color:s?.color||"primary"}));return(0,k.jsx)(VA,(0,nc.A)({slots:{root:KA,input:XA},slotProps:{root:{disableUnderline:i}}},a,{label:r,classes:l,ref:t}))}));function JA(e){return ww("MuiPickersFilledInput",e)}ZA.muiName="Input";const QA=(0,nc.A)({},gA,xw("MuiPickersInput",["root","input"])),eS=["label","autoFocus","disableUnderline","ownerState"],tS=(0,u.Ay)(jA,{name:"MuiPickersInput",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{"label + &":{marginTop:16},variants:[...Object.keys((e.vars??e).palette).filter((t=>(e.vars??e).palette[t].main)).map((t=>({props:{color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))),{props:{disableUnderline:!1},style:{"&::after":{background:"red",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"},[`&.${QA.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${QA.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${QA.disabled}, .${QA.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${QA.disabled}:before`]:{borderBottomStyle:"dotted"}}}]}})),nS=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiPickersInput"}),{label:r,disableUnderline:i=!1,ownerState:o}=n,a=(0,dc.A)(n,eS),s=(0,Zh.A)(),l=(e=>{const{classes:t,disableUnderline:n}=e,r=mw({root:["root",!n&&"underline"],input:["input"]},JA,t);return(0,nc.A)({},t,r)})((0,nc.A)({},n,o,s,{disableUnderline:i,color:s?.color||"primary"}));return(0,k.jsx)(VA,(0,nc.A)({slots:{root:tS}},a,{label:r,classes:l,ref:t}))}));nS.muiName="Input";const rS=["onFocus","onBlur","className","color","disabled","error","variant","required","InputProps","inputProps","inputRef","sectionListRef","elements","areAllSectionsEmpty","onClick","onKeyDown","onKeyUp","onPaste","onInput","endAdornment","startAdornment","tabIndex","contentEditable","focused","value","onChange","fullWidth","id","name","helperText","FormHelperTextProps","label","InputLabelProps"],iS={standard:nS,filled:ZA,outlined:WA},oS=(0,u.Ay)(ee.A,{name:"MuiPickersTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),aS=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiPickersTextField"}),{onFocus:r,onBlur:i,className:a,color:s="primary",disabled:c=!1,error:u=!1,variant:d="outlined",required:h=!1,InputProps:p,inputProps:f,inputRef:g,sectionListRef:m,elements:y,areAllSectionsEmpty:v,onClick:b,onKeyDown:w,onKeyUp:x,onPaste:A,onInput:S,endAdornment:C,startAdornment:E,tabIndex:T,contentEditable:_,focused:O,value:P,onChange:I,fullWidth:M,id:L,name:R,helperText:j,FormHelperTextProps:F,label:D,InputLabelProps:N}=n,B=(0,dc.A)(n,rS),z=Fw(t,o.useRef(null)),V=qw(L),$=j&&V?`${V}-helper-text`:void 0,G=D&&V?`${V}-label`:void 0,U=(0,nc.A)({},n,{color:s,disabled:c,error:u,focused:O,required:h,variant:d}),W=(e=>{const{focused:t,disabled:n,classes:r,required:i}=e;return mw({root:["root",t&&!n&&"focused",n&&"disabled",i&&"required"]},pA,r)})(U),q=iS[d];return(0,k.jsxs)(oS,(0,nc.A)({className:(0,l.A)(W.root,a),ref:z,focused:O,onFocus:r,onBlur:i,disabled:c,variant:d,error:u,color:s,fullWidth:M,required:h,ownerState:U},B,{children:[(0,k.jsx)(jh.A,(0,nc.A)({htmlFor:V,id:G},N,{children:D})),(0,k.jsx)(q,(0,nc.A)({elements:y,areAllSectionsEmpty:v,onClick:b,onKeyDown:w,onKeyUp:x,onInput:S,onPaste:A,endAdornment:C,startAdornment:E,tabIndex:T,contentEditable:_,value:P,onChange:I,id:V,fullWidth:M,inputProps:f,inputRef:g,sectionListRef:m,label:D,name:R,role:"group","aria-labelledby":G},p)),j&&(0,k.jsx)(Ap,(0,nc.A)({id:$},F,{children:j}))]}))})),sS=["enableAccessibleFieldDOMStructure"],lS=["InputProps","readOnly"],cS=["onPaste","onKeyDown","inputMode","readOnly","InputProps","inputProps","inputRef"],uS=e=>{let{enableAccessibleFieldDOMStructure:t}=e,n=(0,dc.A)(e,sS);if(t){const{InputProps:e,readOnly:t}=n,r=(0,dc.A)(n,lS);return(0,nc.A)({},r,{InputProps:(0,nc.A)({},e??{},{readOnly:t})})}const{onPaste:r,onKeyDown:i,inputMode:o,readOnly:a,InputProps:s,inputProps:l,inputRef:c}=n,u=(0,dc.A)(n,cS);return(0,nc.A)({},u,{InputProps:(0,nc.A)({},s??{},{readOnly:a}),inputProps:(0,nc.A)({},l??{},{inputMode:o,onPaste:r,onKeyDown:i,ref:c})})},dS=["slots","slotProps","InputProps","inputProps"],hS=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiDateField"}),{slots:r,slotProps:i,InputProps:o,inputProps:a}=n,s=(0,dc.A)(n,dS),l=n,c=r?.textField??(e.enableAccessibleFieldDOMStructure?aS:Kv),u=Gw({elementType:c,externalSlotProps:i?.textField,externalForwardedProps:s,additionalProps:{ref:t},ownerState:l});u.inputProps=(0,nc.A)({},a,u.inputProps),u.InputProps=(0,nc.A)({},o,u.InputProps);const d=cA(u),h=uS(d),p=hA((0,nc.A)({},h,{slots:r,slotProps:i}));return(0,k.jsx)(c,(0,nc.A)({},p))})),pS=({shouldDisableDate:e,shouldDisableMonth:t,shouldDisableYear:n,minDate:r,maxDate:i,disableFuture:a,disablePast:s,timezone:l})=>{const c=hw();return o.useCallback((o=>null!==jw({adapter:c,value:o,props:{shouldDisableDate:e,shouldDisableMonth:t,shouldDisableYear:n,minDate:r,maxDate:i,disableFuture:a,disablePast:s,timezone:l}})),[c,e,t,n,r,i,a,s,l])},fS=e=>{const{value:t,referenceDate:n,disableFuture:r,disablePast:i,disableSwitchToMonthOnDayFocus:a=!1,maxDate:s,minDate:l,onMonthChange:c,reduceAnimations:u,shouldDisableDate:d,timezone:h}=e,p=pw(),f=o.useRef(((e,t,n)=>(r,i)=>{switch(i.type){case"changeMonth":return(0,nc.A)({},r,{slideDirection:i.direction,currentMonth:i.newMonth,isMonthSwitchingAnimating:!e});case"finishMonthSwitchingAnimation":return(0,nc.A)({},r,{isMonthSwitchingAnimating:!1});case"changeFocusedDay":{if(null!=r.focusedDay&&null!=i.focusedDay&&n.isSameDay(i.focusedDay,r.focusedDay))return r;const o=null!=i.focusedDay&&!t&&!n.isSameMonth(r.currentMonth,i.focusedDay);return(0,nc.A)({},r,{focusedDay:i.focusedDay,isMonthSwitchingAnimating:o&&!e&&!i.withoutMonthSwitchingAnimation,currentMonth:o?n.startOfMonth(i.focusedDay):r.currentMonth,slideDirection:null!=i.focusedDay&&n.isAfterDay(i.focusedDay,r.currentMonth)?"left":"right"})}default:throw new Error("missing support")}})(Boolean(u),a,p)).current,g=o.useMemo((()=>aw.getInitialReferenceValue({value:t,utils:p,timezone:h,props:e,referenceDate:n,granularity:Db.day})),[]),[m,y]=o.useReducer(f,{isMonthSwitchingAnimating:!1,focusedDay:g,currentMonth:p.startOfMonth(g),slideDirection:"left"}),v=o.useCallback((e=>{y((0,nc.A)({type:"changeMonth"},e)),c&&c(e.newMonth)}),[c]),b=o.useCallback((e=>{const t=e;p.isSameMonth(t,m.currentMonth)||v({newMonth:p.startOfMonth(t),direction:p.isAfterDay(t,m.currentMonth)?"left":"right"})}),[m.currentMonth,v,p]),w=pS({shouldDisableDate:d,minDate:l,maxDate:s,disableFuture:r,disablePast:i,timezone:h}),x=o.useCallback((()=>{y({type:"finishMonthSwitchingAnimation"})}),[]),A=Yw(((e,t)=>{w(e)||y({type:"changeFocusedDay",focusedDay:e,withoutMonthSwitchingAnimation:t})}));return{referenceDate:g,calendarState:m,changeMonth:b,changeFocusedDay:A,isDateDisabled:w,onMonthSwitchingAnimationEnd:x,handleChangeMonth:v}};var gS=n(37091);const mS=e=>ww("MuiPickersFadeTransitionGroup",e),yS=(xw("MuiPickersFadeTransitionGroup",["root"]),(0,u.Ay)(gS.A,{name:"MuiPickersFadeTransitionGroup",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"block",position:"relative"}));function vS(e){const t=(0,to.A)({props:e,name:"MuiPickersFadeTransitionGroup"}),{children:n,className:r,reduceAnimations:i,transKey:o}=t,a=(e=>{const{classes:t}=e;return mw({root:["root"]},mS,t)})(t),s=(0,St.A)();return i?n:(0,k.jsx)(yS,{className:(0,l.A)(a.root,r),children:(0,k.jsx)(Dt.A,{appear:!1,mountOnEnter:!0,unmountOnExit:!0,timeout:{appear:s.transitions.duration.enteringScreen,enter:s.transitions.duration.enteringScreen,exit:0},children:n},o)})}function bS(e){return ww("MuiPickersDay",e)}const wS=xw("MuiPickersDay",["root","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","today","selected","disabled"]),xS=["autoFocus","className","day","disabled","disableHighlightToday","disableMargin","hidden","isAnimating","onClick","onDaySelect","onFocus","onBlur","onKeyDown","onMouseDown","onMouseEnter","outsideCurrentMonth","selected","showDaysOutsideCurrentMonth","children","today","isFirstVisibleCell","isLastVisibleCell"],AS=({theme:e})=>(0,nc.A)({},e.typography.caption,{width:36,height:36,borderRadius:"50%",padding:0,backgroundColor:"transparent",transition:e.transitions.create("background-color",{duration:e.transitions.duration.short}),color:(e.vars||e).palette.text.primary,"@media (pointer: fine)":{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,te.X4)(e.palette.primary.main,e.palette.action.hoverOpacity)}},"&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,te.X4)(e.palette.primary.main,e.palette.action.focusOpacity),[`&.${wS.selected}`]:{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${wS.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,fontWeight:e.typography.fontWeightMedium,"&:hover":{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${wS.disabled}:not(.${wS.selected})`]:{color:(e.vars||e).palette.text.disabled},[`&.${wS.disabled}&.${wS.selected}`]:{opacity:.6},variants:[{props:{disableMargin:!1},style:{margin:"0 2px"}},{props:{outsideCurrentMonth:!0,showDaysOutsideCurrentMonth:!0},style:{color:(e.vars||e).palette.text.secondary}},{props:{disableHighlightToday:!1,today:!0},style:{[`&:not(.${wS.selected})`]:{border:`1px solid ${(e.vars||e).palette.text.secondary}`}}}]}),SS=(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableMargin&&t.dayWithMargin,!n.disableHighlightToday&&n.today&&t.today,!n.outsideCurrentMonth&&n.showDaysOutsideCurrentMonth&&t.dayOutsideMonth,n.outsideCurrentMonth&&!n.showDaysOutsideCurrentMonth&&t.hiddenDaySpacingFiller]},CS=(0,u.Ay)(P.A,{name:"MuiPickersDay",slot:"Root",overridesResolver:SS})(AS),ES=(0,u.Ay)("div",{name:"MuiPickersDay",slot:"Root",overridesResolver:SS})((({theme:e})=>(0,nc.A)({},AS({theme:e}),{opacity:0,pointerEvents:"none"}))),kS=()=>{},TS=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiPickersDay"}),{autoFocus:r=!1,className:i,day:a,disabled:s=!1,disableHighlightToday:c=!1,disableMargin:u=!1,isAnimating:d,onClick:h,onDaySelect:p,onFocus:f=kS,onBlur:g=kS,onKeyDown:m=kS,onMouseDown:y=kS,onMouseEnter:v=kS,outsideCurrentMonth:b,selected:w=!1,showDaysOutsideCurrentMonth:x=!1,children:A,today:S=!1}=n,C=(0,dc.A)(n,xS),E=(0,nc.A)({},n,{autoFocus:r,disabled:s,disableHighlightToday:c,disableMargin:u,selected:w,showDaysOutsideCurrentMonth:x,today:S}),T=(e=>{const{selected:t,disableMargin:n,disableHighlightToday:r,today:i,disabled:o,outsideCurrentMonth:a,showDaysOutsideCurrentMonth:s,classes:l}=e,c=a&&!s;return mw({root:["root",t&&!c&&"selected",o&&"disabled",!n&&"dayWithMargin",!r&&i&&"today",a&&s&&"dayOutsideMonth",c&&"hiddenDaySpacingFiller"],hiddenDaySpacingFiller:["hiddenDaySpacingFiller"]},bS,l)})(E),_=pw(),O=o.useRef(null),P=Fw(O,t);Hw((()=>{!r||s||d||b||O.current.focus()}),[r,s,d,b]);return b&&!x?(0,k.jsx)(ES,{className:(0,l.A)(T.root,T.hiddenDaySpacingFiller,i),ownerState:E,role:C.role}):(0,k.jsx)(CS,(0,nc.A)({className:(0,l.A)(T.root,i),ref:P,centerRipple:!0,disabled:s,tabIndex:w?0:-1,onKeyDown:e=>m(e,a),onFocus:e=>f(e,a),onBlur:e=>g(e,a),onMouseEnter:e=>v(e,a),onClick:e=>{s||p(a),b&&e.currentTarget.focus(),h&&h(e)},onMouseDown:e=>{y(e),b&&e.preventDefault()}},C,{ownerState:E,children:A||_.format(a,"dayOfMonth")}))})),_S=o.memo(TS);function OS(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var PS=n(97814),IS=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=OS(n.className,r):n.setAttribute("class",OS(n.className&&n.className.baseVal||"",r)));var n,r}))},MS=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;iww("MuiPickersSlideTransition",e),jS=xw("MuiPickersSlideTransition",["root","slideEnter-left","slideEnter-right","slideEnterActive","slideExit","slideExitActiveLeft-left","slideExitActiveLeft-right"]),FS=["children","className","reduceAnimations","slideDirection","transKey","classes"],DS=(0,u.Ay)(gS.A,{name:"MuiPickersSlideTransition",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`.${jS["slideEnter-left"]}`]:t["slideEnter-left"]},{[`.${jS["slideEnter-right"]}`]:t["slideEnter-right"]},{[`.${jS.slideEnterActive}`]:t.slideEnterActive},{[`.${jS.slideExit}`]:t.slideExit},{[`.${jS["slideExitActiveLeft-left"]}`]:t["slideExitActiveLeft-left"]},{[`.${jS["slideExitActiveLeft-right"]}`]:t["slideExitActiveLeft-right"]}]})((({theme:e})=>{const t=e.transitions.create("transform",{duration:e.transitions.duration.complex,easing:"cubic-bezier(0.35, 0.8, 0.4, 1)"});return{display:"block",position:"relative",overflowX:"hidden","& > *":{position:"absolute",top:0,right:0,left:0},[`& .${jS["slideEnter-left"]}`]:{willChange:"transform",transform:"translate(100%)",zIndex:1},[`& .${jS["slideEnter-right"]}`]:{willChange:"transform",transform:"translate(-100%)",zIndex:1},[`& .${jS.slideEnterActive}`]:{transform:"translate(0%)",transition:t},[`& .${jS.slideExit}`]:{transform:"translate(0%)"},[`& .${jS["slideExitActiveLeft-left"]}`]:{willChange:"transform",transform:"translate(-100%)",transition:t,zIndex:0},[`& .${jS["slideExitActiveLeft-right"]}`]:{willChange:"transform",transform:"translate(100%)",transition:t,zIndex:0}}}));const NS=e=>ww("MuiDayCalendar",e),BS=(xw("MuiDayCalendar",["root","header","weekDayLabel","loadingContainer","slideTransition","monthContainer","weekContainer","weekNumberLabel","weekNumber"]),["parentProps","day","focusableDay","selectedDays","isDateDisabled","currentMonthNumber","isViewFocused"]),zS=["ownerState"],VS=(0,u.Ay)("div",{name:"MuiDayCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),$S=(0,u.Ay)("div",{name:"MuiDayCalendar",slot:"Header",overridesResolver:(e,t)=>t.header})({display:"flex",justifyContent:"center",alignItems:"center"}),GS=(0,u.Ay)(In.A,{name:"MuiDayCalendar",slot:"WeekDayLabel",overridesResolver:(e,t)=>t.weekDayLabel})((({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:(e.vars||e).palette.text.secondary}))),US=(0,u.Ay)(In.A,{name:"MuiDayCalendar",slot:"WeekNumberLabel",overridesResolver:(e,t)=>t.weekNumberLabel})((({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:e.palette.text.disabled}))),WS=(0,u.Ay)(In.A,{name:"MuiDayCalendar",slot:"WeekNumber",overridesResolver:(e,t)=>t.weekNumber})((({theme:e})=>(0,nc.A)({},e.typography.caption,{width:36,height:36,padding:0,margin:"0 2px",color:e.palette.text.disabled,fontSize:"0.75rem",alignItems:"center",justifyContent:"center",display:"inline-flex"}))),qS=(0,u.Ay)("div",{name:"MuiDayCalendar",slot:"LoadingContainer",overridesResolver:(e,t)=>t.loadingContainer})({display:"flex",justifyContent:"center",alignItems:"center",minHeight:240}),HS=(0,u.Ay)((function(e){const t=(0,to.A)({props:e,name:"MuiPickersSlideTransition"}),{children:n,className:r,reduceAnimations:i,transKey:a}=t,s=(0,dc.A)(t,FS),c=(e=>{const{classes:t,slideDirection:n}=e;return mw({root:["root"],exit:["slideExit"],enterActive:["slideEnterActive"],enter:[`slideEnter-${n}`],exitActive:[`slideExitActiveLeft-${n}`]},RS,t)})(t),u=(0,St.A)();if(i)return(0,k.jsx)("div",{className:(0,l.A)(c.root,r),children:n});const d={exit:c.exit,enterActive:c.enterActive,enter:c.enter,exitActive:c.exitActive};return(0,k.jsx)(DS,{className:(0,l.A)(c.root,r),childFactory:e=>o.cloneElement(e,{classNames:d}),role:"presentation",children:(0,k.jsx)(LS,(0,nc.A)({mountOnEnter:!0,unmountOnExit:!0,timeout:u.transitions.duration.complex,classNames:d},s,{children:n}),a)})}),{name:"MuiDayCalendar",slot:"SlideTransition",overridesResolver:(e,t)=>t.slideTransition})({minHeight:240}),YS=(0,u.Ay)("div",{name:"MuiDayCalendar",slot:"MonthContainer",overridesResolver:(e,t)=>t.monthContainer})({overflow:"hidden"}),KS=(0,u.Ay)("div",{name:"MuiDayCalendar",slot:"WeekContainer",overridesResolver:(e,t)=>t.weekContainer})({margin:"2px 0",display:"flex",justifyContent:"center"});function XS(e){let{parentProps:t,day:n,focusableDay:r,selectedDays:i,isDateDisabled:a,currentMonthNumber:s,isViewFocused:l}=e,c=(0,dc.A)(e,BS);const{disabled:u,disableHighlightToday:d,isMonthSwitchingAnimating:h,showDaysOutsideCurrentMonth:p,slots:f,slotProps:g,timezone:m}=t,y=pw(),v=gw(m),b=null!==r&&y.isSameDay(n,r),w=i.some((e=>y.isSameDay(e,n))),x=y.isSameDay(n,v),A=f?.day??_S,S=Gw({elementType:A,externalSlotProps:g?.day,additionalProps:(0,nc.A)({disableHighlightToday:d,showDaysOutsideCurrentMonth:p,role:"gridcell",isAnimating:h,"data-timestamp":y.toJsDate(n).valueOf()},c),ownerState:(0,nc.A)({},t,{day:n,selected:w})}),C=(0,dc.A)(S,zS),E=o.useMemo((()=>u||a(n)),[u,a,n]),T=o.useMemo((()=>y.getMonth(n)!==s),[y,n,s]),_=o.useMemo((()=>{const e=y.startOfMonth(y.setMonth(n,s));return p?y.isSameDay(n,y.startOfWeek(e)):y.isSameDay(n,e)}),[s,n,p,y]),O=o.useMemo((()=>{const e=y.endOfMonth(y.setMonth(n,s));return p?y.isSameDay(n,y.endOfWeek(e)):y.isSameDay(n,e)}),[s,n,p,y]);return(0,k.jsx)(A,(0,nc.A)({},C,{day:n,disabled:E,autoFocus:l&&b,today:x,outsideCurrentMonth:T,isFirstVisibleCell:_,isLastVisibleCell:O,selected:w,tabIndex:b?0:-1,"aria-selected":w,"aria-current":x?"date":void 0}))}function ZS(e){const t=(0,to.A)({props:e,name:"MuiDayCalendar"}),n=pw(),{onFocusedDayChange:r,className:i,currentMonth:a,selectedDays:s,focusedDay:c,loading:u,onSelectedDaysChange:d,onMonthSwitchingAnimationEnd:h,readOnly:p,reduceAnimations:f,renderLoading:g=()=>(0,k.jsx)("span",{children:"..."}),slideDirection:m,TransitionProps:y,disablePast:v,disableFuture:b,minDate:w,maxDate:x,shouldDisableDate:A,shouldDisableMonth:S,shouldDisableYear:C,dayOfWeekFormatter:E=e=>n.format(e,"weekdayShort").charAt(0).toUpperCase(),hasFocus:T,onFocusedViewChange:_,gridLabelId:O,displayWeekNumber:P,fixedWeekNumber:I,autoFocus:M,timezone:L}=t,R=gw(L),j=(e=>{const{classes:t}=e;return mw({root:["root"],header:["header"],weekDayLabel:["weekDayLabel"],loadingContainer:["loadingContainer"],slideTransition:["slideTransition"],monthContainer:["monthContainer"],weekContainer:["weekContainer"],weekNumberLabel:["weekNumberLabel"],weekNumber:["weekNumber"]},NS,t)})(t),F=(0,Rr.I)(),D=pS({shouldDisableDate:A,shouldDisableMonth:S,shouldDisableYear:C,minDate:w,maxDate:x,disablePast:v,disableFuture:b,timezone:L}),N=_w(),[B,z]=dx({name:"DayCalendar",state:"hasFocus",controlled:T,default:M??!1}),[V,$]=o.useState((()=>c||R)),G=Yw((e=>{p||d(e)})),U=e=>{D(e)||(r(e),$(e),_?.(!0),z(!0))},W=Yw(((e,t)=>{switch(e.key){case"ArrowUp":U(n.addDays(t,-7)),e.preventDefault();break;case"ArrowDown":U(n.addDays(t,7)),e.preventDefault();break;case"ArrowLeft":{const r=n.addDays(t,F?1:-1),i=n.addMonths(t,F?1:-1),o=bb({utils:n,date:r,minDate:F?r:n.startOfMonth(i),maxDate:F?n.endOfMonth(i):r,isDateDisabled:D,timezone:L});U(o||r),e.preventDefault();break}case"ArrowRight":{const r=n.addDays(t,F?-1:1),i=n.addMonths(t,F?-1:1),o=bb({utils:n,date:r,minDate:F?n.startOfMonth(i):r,maxDate:F?r:n.endOfMonth(i),isDateDisabled:D,timezone:L});U(o||r),e.preventDefault();break}case"Home":U(n.startOfWeek(t)),e.preventDefault();break;case"End":U(n.endOfWeek(t)),e.preventDefault();break;case"PageUp":U(n.addMonths(t,1)),e.preventDefault();break;case"PageDown":U(n.addMonths(t,-1)),e.preventDefault()}})),q=Yw(((e,t)=>U(t))),H=Yw(((e,t)=>{B&&n.isSameDay(V,t)&&_?.(!1)})),Y=n.getMonth(a),K=n.getYear(a),X=o.useMemo((()=>s.filter((e=>!!e)).map((e=>n.startOfDay(e)))),[n,s]),Z=`${K}-${Y}`,J=o.useMemo((()=>o.createRef()),[Z]),Q=n.startOfWeek(R),ee=o.useMemo((()=>{const e=n.startOfMonth(a),t=n.endOfMonth(a);return D(V)||n.isAfterDay(V,t)||n.isBeforeDay(V,e)?bb({utils:n,date:V,minDate:e,maxDate:t,disablePast:v,disableFuture:b,isDateDisabled:D,timezone:L}):V}),[a,b,v,V,D,n,L]),te=o.useMemo((()=>{const e=n.setTimezone(a,L),t=n.getWeekArray(e);let r=n.addMonths(e,1);for(;I&&t.length{t.length(0,k.jsx)(GS,{variant:"caption",role:"columnheader","aria-label":n.format(n.addDays(Q,t),"weekday"),className:j.weekDayLabel,children:E(e)},t.toString())))]}),u?(0,k.jsx)(qS,{className:j.loadingContainer,children:g()}):(0,k.jsx)(HS,(0,nc.A)({transKey:Z,onExited:h,reduceAnimations:f,slideDirection:m,className:(0,l.A)(i,j.slideTransition)},y,{nodeRef:J,children:(0,k.jsx)(YS,{ref:J,role:"rowgroup",className:j.monthContainer,children:te.map(((e,r)=>(0,k.jsxs)(KS,{role:"row",className:j.weekContainer,"aria-rowindex":r+1,children:[P&&(0,k.jsx)(WS,{className:j.weekNumber,role:"rowheader","aria-label":N.calendarWeekNumberAriaLabelText(n.getWeekNumber(e[0])),children:N.calendarWeekNumberText(n.getWeekNumber(e[0]))}),e.map(((e,n)=>(0,k.jsx)(XS,{parentProps:t,day:e,selectedDays:X,focusableDay:ee,onKeyDown:W,onFocus:q,onBlur:H,onDaySelect:G,isDateDisabled:D,currentMonthNumber:Y,isViewFocused:B,"aria-colindex":n+1},e.toString())))]},`week-${e[0]}`)))})}))]})}function JS(e){return ww("MuiPickersMonth",e)}const QS=xw("MuiPickersMonth",["root","monthButton","disabled","selected"]),eC=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","aria-label","monthsPerRow","slots","slotProps"],tC=(0,u.Ay)("div",{name:"MuiPickersMonth",slot:"Root",overridesResolver:(e,t)=>[t.root]})({display:"flex",alignItems:"center",justifyContent:"center",flexBasis:"33.3%",variants:[{props:{monthsPerRow:4},style:{flexBasis:"25%"}}]}),nC=(0,u.Ay)("button",{name:"MuiPickersMonth",slot:"MonthButton",overridesResolver:(e,t)=>[t.monthButton,{[`&.${QS.disabled}`]:t.disabled},{[`&.${QS.selected}`]:t.selected}]})((({theme:e})=>(0,nc.A)({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"8px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,te.X4)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,te.X4)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${QS.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${QS.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}}))),rC=o.memo((function(e){const t=(0,to.A)({props:e,name:"MuiPickersMonth"}),{autoFocus:n,className:r,children:i,disabled:a,selected:s,value:c,tabIndex:u,onClick:d,onKeyDown:h,onFocus:p,onBlur:f,"aria-current":g,"aria-label":m,slots:y,slotProps:v}=t,b=(0,dc.A)(t,eC),w=o.useRef(null),x=(e=>{const{disabled:t,selected:n,classes:r}=e;return mw({root:["root"],monthButton:["monthButton",t&&"disabled",n&&"selected"]},JS,r)})(t);Hw((()=>{n&&w.current?.focus()}),[n]);const A=y?.monthButton??nC,S=Gw({elementType:A,externalSlotProps:v?.monthButton,additionalProps:{children:i,disabled:a,tabIndex:u,ref:w,type:"button",role:"radio","aria-current":g,"aria-checked":s,"aria-label":m,onClick:e=>d(e,c),onKeyDown:e=>h(e,c),onFocus:e=>p(e,c),onBlur:e=>f(e,c)},ownerState:t,className:x.monthButton});return(0,k.jsx)(tC,(0,nc.A)({className:(0,l.A)(x.root,r),ownerState:t},b,{children:(0,k.jsx)(A,(0,nc.A)({},S))}))}));function iC(e){return ww("MuiMonthCalendar",e)}xw("MuiMonthCalendar",["root"]);const oC=["className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","shouldDisableMonth","readOnly","disableHighlightToday","autoFocus","onMonthFocus","hasFocus","onFocusedViewChange","monthsPerRow","timezone","gridLabelId","slots","slotProps"];const aC=(0,u.Ay)("div",{name:"MuiMonthCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexWrap:"wrap",alignContent:"stretch",padding:"0 4px",width:Cx,boxSizing:"border-box"}),sC=o.forwardRef((function(e,t){const n=function(e,t){const n=pw(),r=fw(),i=(0,to.A)({props:e,name:t});return(0,nc.A)({disableFuture:!1,disablePast:!1},i,{minDate:wb(n,i.minDate,r.minDate),maxDate:wb(n,i.maxDate,r.maxDate)})}(e,"MuiMonthCalendar"),{className:r,value:i,defaultValue:a,referenceDate:s,disabled:c,disableFuture:u,disablePast:d,maxDate:h,minDate:p,onChange:f,shouldDisableMonth:g,readOnly:m,autoFocus:y=!1,onMonthFocus:v,hasFocus:b,onFocusedViewChange:w,monthsPerRow:x=3,timezone:A,gridLabelId:S,slots:C,slotProps:E}=n,T=(0,dc.A)(n,oC),{value:_,handleValueChange:O,timezone:P}=px({name:"MonthCalendar",timezone:A,value:i,defaultValue:a,onChange:f,valueManager:aw}),I=gw(P),M=(0,Rr.I)(),L=pw(),R=o.useMemo((()=>aw.getInitialReferenceValue({value:_,utils:L,props:n,timezone:P,referenceDate:s,granularity:Db.month})),[]),j=n,F=(e=>{const{classes:t}=e;return mw({root:["root"]},iC,t)})(j),D=o.useMemo((()=>L.getMonth(I)),[L,I]),N=o.useMemo((()=>null!=_?L.getMonth(_):null),[_,L]),[B,z]=o.useState((()=>N||L.getMonth(R))),[V,$]=dx({name:"MonthCalendar",state:"hasFocus",controlled:b,default:y??!1}),G=Yw((e=>{$(e),w&&w(e)})),U=o.useCallback((e=>{const t=L.startOfMonth(d&&L.isAfter(I,p)?I:p),n=L.startOfMonth(u&&L.isBefore(I,h)?I:h),r=L.startOfMonth(e);return!!L.isBefore(r,t)||(!!L.isAfter(r,n)||!!g&&g(r))}),[u,d,h,p,I,g,L]),W=Yw(((e,t)=>{if(m)return;const n=L.setMonth(_??R,t);O(n)})),q=Yw((e=>{U(L.setMonth(_??R,e))||(z(e),G(!0),v&&v(e))}));o.useEffect((()=>{z((e=>null!==N&&e!==N?N:e))}),[N]);const H=Yw(((e,t)=>{const n=12;switch(e.key){case"ArrowUp":q((n+t-3)%n),e.preventDefault();break;case"ArrowDown":q((n+t+3)%n),e.preventDefault();break;case"ArrowLeft":q((n+t+(M?1:-1))%n),e.preventDefault();break;case"ArrowRight":q((n+t+(M?-1:1))%n),e.preventDefault()}})),Y=Yw(((e,t)=>{q(t)})),K=Yw(((e,t)=>{B===t&&G(!1)}));return(0,k.jsx)(aC,(0,nc.A)({ref:t,className:(0,l.A)(F.root,r),ownerState:j,role:"radiogroup","aria-labelledby":S},T,{children:xb(L,_??R).map((e=>{const t=L.getMonth(e),n=L.format(e,"monthShort"),r=L.format(e,"month"),i=t===N,o=c||U(e);return(0,k.jsx)(rC,{selected:i,value:t,onClick:W,onKeyDown:H,autoFocus:V&&t===B,disabled:o,tabIndex:t!==B||o?-1:0,onFocus:Y,onBlur:K,"aria-current":D===t?"date":void 0,"aria-label":r,monthsPerRow:x,slots:C,slotProps:E,children:n},n)}))}))}));function lC(e){return ww("MuiPickersYear",e)}const cC=xw("MuiPickersYear",["root","yearButton","selected","disabled"]),uC=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","yearsPerRow","slots","slotProps"],dC=(0,u.Ay)("div",{name:"MuiPickersYear",slot:"Root",overridesResolver:(e,t)=>[t.root]})({display:"flex",alignItems:"center",justifyContent:"center",flexBasis:"33.3%",variants:[{props:{yearsPerRow:4},style:{flexBasis:"25%"}}]}),hC=(0,u.Ay)("button",{name:"MuiPickersYear",slot:"YearButton",overridesResolver:(e,t)=>[t.yearButton,{[`&.${cC.disabled}`]:t.disabled},{[`&.${cC.selected}`]:t.selected}]})((({theme:e})=>(0,nc.A)({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"6px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.focusOpacity})`:(0,te.X4)(e.palette.action.active,e.palette.action.focusOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,te.X4)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${cC.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${cC.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}}))),pC=o.memo((function(e){const t=(0,to.A)({props:e,name:"MuiPickersYear"}),{autoFocus:n,className:r,children:i,disabled:a,selected:s,value:c,tabIndex:u,onClick:d,onKeyDown:h,onFocus:p,onBlur:f,"aria-current":g,slots:m,slotProps:y}=t,v=(0,dc.A)(t,uC),b=o.useRef(null),w=(e=>{const{disabled:t,selected:n,classes:r}=e;return mw({root:["root"],yearButton:["yearButton",t&&"disabled",n&&"selected"]},lC,r)})(t);Hw((()=>{n&&b.current?.focus()}),[n]);const x=m?.yearButton??hC,A=Gw({elementType:x,externalSlotProps:y?.yearButton,additionalProps:{children:i,disabled:a,tabIndex:u,ref:b,type:"button",role:"radio","aria-current":g,"aria-checked":s,onClick:e=>d(e,c),onKeyDown:e=>h(e,c),onFocus:e=>p(e,c),onBlur:e=>f(e,c)},ownerState:t,className:w.yearButton});return(0,k.jsx)(dC,(0,nc.A)({className:(0,l.A)(w.root,r),ownerState:t},v,{children:(0,k.jsx)(x,(0,nc.A)({},A))}))}));function fC(e){return ww("MuiYearCalendar",e)}xw("MuiYearCalendar",["root"]);const gC=["autoFocus","className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","readOnly","shouldDisableYear","disableHighlightToday","onYearFocus","hasFocus","onFocusedViewChange","yearsPerRow","timezone","gridLabelId","slots","slotProps"];const mC=(0,u.Ay)("div",{name:"MuiYearCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"row",flexWrap:"wrap",overflowY:"auto",height:"100%",padding:"0 4px",width:Cx,maxHeight:280,boxSizing:"border-box",position:"relative"}),yC=o.forwardRef((function(e,t){const n=function(e,t){const n=pw(),r=fw(),i=(0,to.A)({props:e,name:t});return(0,nc.A)({disablePast:!1,disableFuture:!1},i,{yearsPerRow:i.yearsPerRow??3,minDate:wb(n,i.minDate,r.minDate),maxDate:wb(n,i.maxDate,r.maxDate)})}(e,"MuiYearCalendar"),{autoFocus:r,className:i,value:a,defaultValue:s,referenceDate:c,disabled:u,disableFuture:d,disablePast:h,maxDate:p,minDate:f,onChange:g,readOnly:m,shouldDisableYear:y,onYearFocus:v,hasFocus:b,onFocusedViewChange:w,yearsPerRow:x,timezone:A,gridLabelId:S,slots:C,slotProps:E}=n,T=(0,dc.A)(n,gC),{value:_,handleValueChange:O,timezone:P}=px({name:"YearCalendar",timezone:A,value:a,defaultValue:s,onChange:g,valueManager:aw}),I=gw(P),M=(0,Rr.I)(),L=pw(),R=o.useMemo((()=>aw.getInitialReferenceValue({value:_,utils:L,props:n,timezone:P,referenceDate:c,granularity:Db.year})),[]),j=n,F=(e=>{const{classes:t}=e;return mw({root:["root"]},fC,t)})(j),D=o.useMemo((()=>L.getYear(I)),[L,I]),N=o.useMemo((()=>null!=_?L.getYear(_):null),[_,L]),[B,z]=o.useState((()=>N||L.getYear(R))),[V,$]=dx({name:"YearCalendar",state:"hasFocus",controlled:b,default:r??!1}),G=Yw((e=>{$(e),w&&w(e)})),U=o.useCallback((e=>{if(h&&L.isBeforeYear(e,I))return!0;if(d&&L.isAfterYear(e,I))return!0;if(f&&L.isBeforeYear(e,f))return!0;if(p&&L.isAfterYear(e,p))return!0;if(!y)return!1;const t=L.startOfYear(e);return y(t)}),[d,h,p,f,I,y,L]),W=Yw(((e,t)=>{if(m)return;const n=L.setYear(_??R,t);O(n)})),q=Yw((e=>{U(L.setYear(_??R,e))||(z(e),G(!0),v?.(e))}));o.useEffect((()=>{z((e=>null!==N&&e!==N?N:e))}),[N]);const H=Yw(((e,t)=>{switch(e.key){case"ArrowUp":q(t-x),e.preventDefault();break;case"ArrowDown":q(t+x),e.preventDefault();break;case"ArrowLeft":q(t+(M?1:-1)),e.preventDefault();break;case"ArrowRight":q(t+(M?-1:1)),e.preventDefault()}})),Y=Yw(((e,t)=>{q(t)})),K=Yw(((e,t)=>{B===t&&G(!1)})),X=o.useRef(null),Z=Fw(t,X);return o.useEffect((()=>{if(r||null===X.current)return;const e=X.current.querySelector('[tabindex="0"]');if(!e)return;const t=e.offsetHeight,n=e.offsetTop,i=X.current.clientHeight,o=X.current.scrollTop,a=n+t;t>i||n{const t=L.getYear(e),n=t===N,r=u||U(e);return(0,k.jsx)(pC,{selected:n,value:t,onClick:W,onKeyDown:H,autoFocus:V&&t===B,disabled:r,tabIndex:t!==B||r?-1:0,onFocus:Y,onBlur:K,"aria-current":D===t?"date":void 0,yearsPerRow:x,slots:C,slotProps:E,children:L.format(e,"year")},L.format(e,"year"))}))}))}));function vC(e){return ww("MuiPickersArrowSwitcher",e)}xw("MuiPickersArrowSwitcher",["root","spacer","button","previousIconButton","nextIconButton","leftArrowIcon","rightArrowIcon"]);const bC=["children","className","slots","slotProps","isNextDisabled","isNextHidden","onGoToNext","nextLabel","isPreviousDisabled","isPreviousHidden","onGoToPrevious","previousLabel","labelId"],wC=["ownerState"],xC=["ownerState"],AC=(0,u.Ay)("div",{name:"MuiPickersArrowSwitcher",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex"}),SC=(0,u.Ay)("div",{name:"MuiPickersArrowSwitcher",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})((({theme:e})=>({width:e.spacing(3)}))),CC=(0,u.Ay)(ye.A,{name:"MuiPickersArrowSwitcher",slot:"Button",overridesResolver:(e,t)=>t.button})({variants:[{props:{hidden:!0},style:{visibility:"hidden"}}]}),EC=o.forwardRef((function(e,t){const n=(0,Rr.I)(),r=(0,to.A)({props:e,name:"MuiPickersArrowSwitcher"}),{children:i,className:o,slots:a,slotProps:s,isNextDisabled:c,isNextHidden:u,onGoToNext:d,nextLabel:h,isPreviousDisabled:p,isPreviousHidden:f,onGoToPrevious:g,previousLabel:m,labelId:y}=r,v=(0,dc.A)(r,bC),b=r,w=(e=>{const{classes:t}=e;return mw({root:["root"],spacer:["spacer"],button:["button"],previousIconButton:["previousIconButton"],nextIconButton:["nextIconButton"],leftArrowIcon:["leftArrowIcon"],rightArrowIcon:["rightArrowIcon"]},vC,t)})(b),x={isDisabled:c,isHidden:u,goTo:d,label:h},A={isDisabled:p,isHidden:f,goTo:g,label:m},S=a?.previousIconButton??CC,C=Gw({elementType:S,externalSlotProps:s?.previousIconButton,additionalProps:{size:"medium",title:A.label,"aria-label":A.label,disabled:A.isDisabled,edge:"end",onClick:A.goTo},ownerState:(0,nc.A)({},b,{hidden:A.isHidden}),className:(0,l.A)(w.button,w.previousIconButton)}),E=a?.nextIconButton??CC,T=Gw({elementType:E,externalSlotProps:s?.nextIconButton,additionalProps:{size:"medium",title:x.label,"aria-label":x.label,disabled:x.isDisabled,edge:"start",onClick:x.goTo},ownerState:(0,nc.A)({},b,{hidden:x.isHidden}),className:(0,l.A)(w.button,w.nextIconButton)}),_=a?.leftArrowIcon??Bx,O=Gw({elementType:_,externalSlotProps:s?.leftArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:b,className:w.leftArrowIcon}),P=(0,dc.A)(O,wC),I=a?.rightArrowIcon??zx,M=Gw({elementType:I,externalSlotProps:s?.rightArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:b,className:w.rightArrowIcon}),L=(0,dc.A)(M,xC);return(0,k.jsxs)(AC,(0,nc.A)({ref:t,className:(0,l.A)(w.root,o),ownerState:b},v,{children:[(0,k.jsx)(S,(0,nc.A)({},C,{children:n?(0,k.jsx)(I,(0,nc.A)({},L)):(0,k.jsx)(_,(0,nc.A)({},P))})),i?(0,k.jsx)(In.A,{variant:"subtitle1",component:"span",id:y,children:i}):(0,k.jsx)(SC,{className:w.spacer,ownerState:b}),(0,k.jsx)(E,(0,nc.A)({},T,{children:n?(0,k.jsx)(_,(0,nc.A)({},P)):(0,k.jsx)(I,(0,nc.A)({},L))}))]}))}));function kC(e,t,n,r){const i=pw();return{meridiemMode:Ib(e,i),handleMeridiemChange:o.useCallback((o=>{const a=null==e?null:Lb(e,o,Boolean(t),i);n(a,r??"partial")}),[t,e,n,r,i])}}const TC=e=>ww("MuiPickersCalendarHeader",e),_C=xw("MuiPickersCalendarHeader",["root","labelContainer","label","switchViewButton","switchViewIcon"]),OC=["slots","slotProps","currentMonth","disabled","disableFuture","disablePast","maxDate","minDate","onMonthChange","onViewChange","view","reduceAnimations","views","labelId","className","timezone","format"],PC=["ownerState"],IC=(0,u.Ay)("div",{name:"MuiPickersCalendarHeader",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",alignItems:"center",marginTop:12,marginBottom:4,paddingLeft:24,paddingRight:12,maxHeight:40,minHeight:40}),MC=(0,u.Ay)("div",{name:"MuiPickersCalendarHeader",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((({theme:e})=>(0,nc.A)({display:"flex",overflow:"hidden",alignItems:"center",cursor:"pointer",marginRight:"auto"},e.typography.body1,{fontWeight:e.typography.fontWeightMedium}))),LC=(0,u.Ay)("div",{name:"MuiPickersCalendarHeader",slot:"Label",overridesResolver:(e,t)=>t.label})({marginRight:6}),RC=(0,u.Ay)(ye.A,{name:"MuiPickersCalendarHeader",slot:"SwitchViewButton",overridesResolver:(e,t)=>t.switchViewButton})({marginRight:"auto",variants:[{props:{view:"year"},style:{[`.${_C.switchViewIcon}`]:{transform:"rotate(180deg)"}}}]}),jC=(0,u.Ay)(Nx,{name:"MuiPickersCalendarHeader",slot:"SwitchViewIcon",overridesResolver:(e,t)=>t.switchViewIcon})((({theme:e})=>({willChange:"transform",transition:e.transitions.create("transform"),transform:"rotate(0deg)"}))),FC=o.forwardRef((function(e,t){const n=_w(),r=pw(),i=(0,to.A)({props:e,name:"MuiPickersCalendarHeader"}),{slots:a,slotProps:s,currentMonth:c,disabled:u,disableFuture:d,disablePast:h,maxDate:p,minDate:f,onMonthChange:g,onViewChange:m,view:y,reduceAnimations:v,views:b,labelId:w,className:x,timezone:A,format:S=`${r.formats.month} ${r.formats.year}`}=i,C=(0,dc.A)(i,OC),E=i,T=(e=>{const{classes:t}=e;return mw({root:["root"],labelContainer:["labelContainer"],label:["label"],switchViewButton:["switchViewButton"],switchViewIcon:["switchViewIcon"]},TC,t)})(i),_=a?.switchViewButton??RC,O=Gw({elementType:_,externalSlotProps:s?.switchViewButton,additionalProps:{size:"small","aria-label":n.calendarViewSwitchingButtonAriaLabel(y)},ownerState:E,className:T.switchViewButton}),P=a?.switchViewIcon??jC,I=Gw({elementType:P,externalSlotProps:s?.switchViewIcon,ownerState:E,className:T.switchViewIcon}),M=(0,dc.A)(I,PC),L=function(e,{disableFuture:t,maxDate:n,timezone:r}){const i=pw();return o.useMemo((()=>{const o=i.date(void 0,r),a=i.startOfMonth(t&&i.isBefore(o,n)?o:n);return!i.isAfter(a,e)}),[t,n,e,i,r])}(c,{disableFuture:d,maxDate:p,timezone:A}),R=function(e,{disablePast:t,minDate:n,timezone:r}){const i=pw();return o.useMemo((()=>{const o=i.date(void 0,r),a=i.startOfMonth(t&&i.isAfter(o,n)?o:n);return!i.isBefore(a,e)}),[t,n,e,i,r])}(c,{disablePast:h,minDate:f,timezone:A});if(1===b.length&&"year"===b[0])return null;const j=r.formatByString(c,S);return(0,k.jsxs)(IC,(0,nc.A)({},C,{ownerState:E,className:(0,l.A)(x,T.root),ref:t,children:[(0,k.jsxs)(MC,{role:"presentation",onClick:()=>{if(1!==b.length&&m&&!u)if(2===b.length)m(b.find((e=>e!==y))||b[0]);else{const e=0!==b.indexOf(y)?0:1;m(b[e])}},ownerState:E,"aria-live":"polite",className:T.labelContainer,children:[(0,k.jsx)(vS,{reduceAnimations:v,transKey:j,children:(0,k.jsx)(LC,{id:w,ownerState:E,className:T.label,children:j})}),b.length>1&&!u&&(0,k.jsx)(_,(0,nc.A)({},O,{children:(0,k.jsx)(P,(0,nc.A)({},M))}))]}),(0,k.jsx)(Dt.A,{in:"day"===y,children:(0,k.jsx)(EC,{slots:a,slotProps:s,onGoToPrevious:()=>g(r.addMonths(c,-1),"right"),isPreviousDisabled:R,previousLabel:n.previousMonth,onGoToNext:()=>g(r.addMonths(c,1),"left"),isNextDisabled:L,nextLabel:n.nextMonth})})]}))})),DC=(0,u.Ay)("div")({overflow:"hidden",width:Cx,maxHeight:Ex,display:"flex",flexDirection:"column",margin:"0 auto"}),NC=e=>ww("MuiDateCalendar",e),BC=(xw("MuiDateCalendar",["root","viewTransitionContainer"]),["autoFocus","onViewChange","value","defaultValue","referenceDate","disableFuture","disablePast","onChange","onYearChange","onMonthChange","reduceAnimations","shouldDisableDate","shouldDisableMonth","shouldDisableYear","view","views","openTo","className","disabled","readOnly","minDate","maxDate","disableHighlightToday","focusedView","onFocusedViewChange","showDaysOutsideCurrentMonth","fixedWeekNumber","dayOfWeekFormatter","slots","slotProps","loading","renderLoading","displayWeekNumber","yearsPerRow","monthsPerRow","timezone"]);const zC=(0,u.Ay)(DC,{name:"MuiDateCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",height:Ex}),VC=(0,u.Ay)(vS,{name:"MuiDateCalendar",slot:"ViewTransitionContainer",overridesResolver:(e,t)=>t.viewTransitionContainer})({}),$C=o.forwardRef((function(e,t){const n=pw(),r=qw(),i=function(e,t){const n=pw(),r=fw(),i=ix(),o=(0,to.A)({props:e,name:t});return(0,nc.A)({},o,{loading:o.loading??!1,disablePast:o.disablePast??!1,disableFuture:o.disableFuture??!1,openTo:o.openTo??"day",views:o.views??["year","day"],reduceAnimations:o.reduceAnimations??i,renderLoading:o.renderLoading??(()=>(0,k.jsx)("span",{children:"..."})),minDate:wb(n,o.minDate,r.minDate),maxDate:wb(n,o.maxDate,r.maxDate)})}(e,"MuiDateCalendar"),{autoFocus:a,onViewChange:s,value:c,defaultValue:u,referenceDate:d,disableFuture:h,disablePast:p,onChange:f,onYearChange:g,onMonthChange:m,reduceAnimations:y,shouldDisableDate:v,shouldDisableMonth:b,shouldDisableYear:w,view:x,views:A,openTo:S,className:C,disabled:E,readOnly:T,minDate:_,maxDate:O,disableHighlightToday:P,focusedView:I,onFocusedViewChange:M,showDaysOutsideCurrentMonth:L,fixedWeekNumber:R,dayOfWeekFormatter:j,slots:F,slotProps:D,loading:N,renderLoading:B,displayWeekNumber:z,yearsPerRow:V,monthsPerRow:$,timezone:G}=i,U=(0,dc.A)(i,BC),{value:W,handleValueChange:q,timezone:H}=px({name:"DateCalendar",timezone:G,value:c,defaultValue:u,onChange:f,valueManager:aw}),{view:Y,setView:K,focusedView:X,setFocusedView:Z,goToNextView:J,setValueAndGoToNextView:Q}=gx({view:x,views:A,openTo:S,onChange:q,onViewChange:s,autoFocus:a,focusedView:I,onFocusedViewChange:M}),{referenceDate:ee,calendarState:te,changeFocusedDay:ne,changeMonth:re,handleChangeMonth:ie,isDateDisabled:oe,onMonthSwitchingAnimationEnd:ae}=fS({value:W,referenceDate:d,reduceAnimations:y,onMonthChange:m,minDate:_,maxDate:O,shouldDisableDate:v,disablePast:p,disableFuture:h,timezone:H}),se=E&&W||_,le=E&&W||O,ce=`${r}-grid-label`,ue=null!==X,de=F?.calendarHeader??FC,he=Gw({elementType:de,externalSlotProps:D?.calendarHeader,additionalProps:{views:A,view:Y,currentMonth:te.currentMonth,onViewChange:K,onMonthChange:(e,t)=>ie({newMonth:e,direction:t}),minDate:se,maxDate:le,disabled:E,disablePast:p,disableFuture:h,reduceAnimations:y,timezone:H,labelId:ce},ownerState:i}),pe=Yw((e=>{const t=n.startOfMonth(e),r=n.endOfMonth(e),i=oe(e)?bb({utils:n,date:e,minDate:n.isBefore(_,t)?t:_,maxDate:n.isAfter(O,r)?r:O,disablePast:p,disableFuture:h,isDateDisabled:oe,timezone:H}):e;i?(Q(i,"finish"),m?.(t)):(J(),re(t)),ne(i,!0)})),fe=Yw((e=>{const t=n.startOfYear(e),r=n.endOfYear(e),i=oe(e)?bb({utils:n,date:e,minDate:n.isBefore(_,t)?t:_,maxDate:n.isAfter(O,r)?r:O,disablePast:p,disableFuture:h,isDateDisabled:oe,timezone:H}):e;i?(Q(i,"finish"),g?.(i)):(J(),re(t)),ne(i,!0)})),ge=Yw((e=>q(e?vb(n,e,W??ee):e,"finish",Y)));o.useEffect((()=>{null!=W&&n.isValid(W)&&re(W)}),[W]);const me=i,ye=(e=>{const{classes:t}=e;return mw({root:["root"],viewTransitionContainer:["viewTransitionContainer"]},NC,t)})(me),ve={disablePast:p,disableFuture:h,maxDate:O,minDate:_},be={disableHighlightToday:P,readOnly:T,disabled:E,timezone:H,gridLabelId:ce,slots:F,slotProps:D},we=o.useRef(Y);o.useEffect((()=>{we.current!==Y&&(X===we.current&&Z(Y,!0),we.current=Y)}),[X,Z,Y]);const xe=o.useMemo((()=>[W]),[W]);return(0,k.jsxs)(zC,(0,nc.A)({ref:t,className:(0,l.A)(ye.root,C),ownerState:me},U,{children:[(0,k.jsx)(de,(0,nc.A)({},he,{slots:F,slotProps:D})),(0,k.jsx)(VC,{reduceAnimations:y,className:ye.viewTransitionContainer,transKey:Y,ownerState:me,children:(0,k.jsxs)("div",{children:["year"===Y&&(0,k.jsx)(yC,(0,nc.A)({},ve,be,{value:W,onChange:fe,shouldDisableYear:w,hasFocus:ue,onFocusedViewChange:e=>Z("year",e),yearsPerRow:V,referenceDate:ee})),"month"===Y&&(0,k.jsx)(sC,(0,nc.A)({},ve,be,{hasFocus:ue,className:C,value:W,onChange:pe,shouldDisableMonth:b,onFocusedViewChange:e=>Z("month",e),monthsPerRow:$,referenceDate:ee})),"day"===Y&&(0,k.jsx)(ZS,(0,nc.A)({},te,ve,be,{onMonthSwitchingAnimationEnd:ae,onFocusedDayChange:ne,reduceAnimations:y,selectedDays:xe,onSelectedDaysChange:ge,shouldDisableDate:v,shouldDisableMonth:b,shouldDisableYear:w,hasFocus:ue,onFocusedViewChange:e=>Z("day",e),showDaysOutsideCurrentMonth:L,fixedWeekNumber:R,dayOfWeekFormatter:j,displayWeekNumber:z,loading:N,renderLoading:B}))]})})]}))})),GC=({view:e,onViewChange:t,views:n,focusedView:r,onFocusedViewChange:i,value:o,defaultValue:a,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:h,minDate:p,maxDate:f,shouldDisableDate:g,shouldDisableMonth:m,shouldDisableYear:y,reduceAnimations:v,onMonthChange:b,monthsPerRow:w,onYearChange:x,yearsPerRow:A,slots:S,slotProps:C,loading:E,renderLoading:T,disableHighlightToday:_,readOnly:O,disabled:P,showDaysOutsideCurrentMonth:I,dayOfWeekFormatter:M,sx:L,autoFocus:R,fixedWeekNumber:j,displayWeekNumber:F,timezone:D})=>(0,k.jsx)($C,{view:e,onViewChange:t,views:n.filter(Eb),focusedView:r&&Eb(r)?r:null,onFocusedViewChange:i,value:o,defaultValue:a,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:h,minDate:p,maxDate:f,shouldDisableDate:g,shouldDisableMonth:m,shouldDisableYear:y,reduceAnimations:v,onMonthChange:b,monthsPerRow:w,onYearChange:x,yearsPerRow:A,slots:S,slotProps:C,loading:E,renderLoading:T,disableHighlightToday:_,readOnly:O,disabled:P,showDaysOutsideCurrentMonth:I,dayOfWeekFormatter:M,sx:L,autoFocus:R,fixedWeekNumber:j,displayWeekNumber:F,timezone:D}),UC=o.forwardRef((function(e,t){const n=_w(),r=pw(),i=Rw(e,"MuiDesktopDatePicker"),o=(0,nc.A)({day:GC,month:GC,year:GC},i.viewRenderers),a=(0,nc.A)({},i,{viewRenderers:o,format:kb(r,i,!1),yearsPerRow:i.yearsPerRow??4,slots:(0,nc.A)({openPickerIcon:Vx,field:hS},i.slots),slotProps:(0,nc.A)({},i.slotProps,{field:e=>(0,nc.A)({},fb(i.slotProps?.field,e),aA(i),{ref:t}),toolbar:(0,nc.A)({hidden:!0},i.slotProps?.toolbar)})}),{renderPicker:s}=Dx({props:a,valueManager:aw,valueType:"date",getOpenDialogAriaText:a.localeText?.openDatePickerDialogue??n.openDatePickerDialogue,validator:jw});return s()}));UC.propTypes={autoFocus:pb().bool,className:pb().string,closeOnSelect:pb().bool,dayOfWeekFormatter:pb().func,defaultValue:pb().object,disabled:pb().bool,disableFuture:pb().bool,disableHighlightToday:pb().bool,disableOpenPicker:pb().bool,disablePast:pb().bool,displayWeekNumber:pb().bool,enableAccessibleFieldDOMStructure:pb().any,fixedWeekNumber:pb().number,format:pb().string,formatDensity:pb().oneOf(["dense","spacious"]),inputRef:gb,label:pb().node,loading:pb().bool,localeText:pb().object,maxDate:pb().object,minDate:pb().object,monthsPerRow:pb().oneOf([3,4]),name:pb().string,onAccept:pb().func,onChange:pb().func,onClose:pb().func,onError:pb().func,onMonthChange:pb().func,onOpen:pb().func,onSelectedSectionsChange:pb().func,onViewChange:pb().func,onYearChange:pb().func,open:pb().bool,openTo:pb().oneOf(["day","month","year"]),orientation:pb().oneOf(["landscape","portrait"]),readOnly:pb().bool,reduceAnimations:pb().bool,referenceDate:pb().object,renderLoading:pb().func,selectedSections:pb().oneOfType([pb().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),pb().number]),shouldDisableDate:pb().func,shouldDisableMonth:pb().func,shouldDisableYear:pb().func,showDaysOutsideCurrentMonth:pb().bool,slotProps:pb().object,slots:pb().object,sx:pb().oneOfType([pb().arrayOf(pb().oneOfType([pb().func,pb().object,pb().bool])),pb().func,pb().object]),timezone:pb().string,value:pb().object,view:pb().oneOf(["day","month","year"]),viewRenderers:pb().shape({day:pb().func,month:pb().func,year:pb().func}),views:pb().arrayOf(pb().oneOf(["day","month","year"]).isRequired),yearsPerRow:pb().oneOf([3,4])};const WC=(0,u.Ay)(ys)({[`& .${us.container}`]:{outline:0},[`& .${us.paper}`]:{outline:0,minWidth:Cx}}),qC=(0,u.Ay)(Ns)({"&:first-of-type":{padding:0}});function HC(e){const{children:t,onDismiss:n,open:r,slots:i,slotProps:o}=e,a=i?.dialog??WC,s=i?.mobileTransition??Dt.A;return(0,k.jsx)(a,(0,nc.A)({open:r,onClose:n},o?.dialog,{TransitionComponent:s,TransitionProps:o?.mobileTransition,PaperComponent:i?.mobilePaper,PaperProps:o?.mobilePaper,children:(0,k.jsx)(qC,{children:t})}))}const YC=["props","getOpenDialogAriaText"],KC=e=>{let{props:t,getOpenDialogAriaText:n}=e,r=(0,dc.A)(e,YC);const{slots:i,slotProps:a,className:s,sx:l,format:c,formatDensity:u,enableAccessibleFieldDOMStructure:d,selectedSections:h,onSelectedSectionsChange:p,timezone:f,name:g,label:m,inputRef:y,readOnly:v,disabled:b,localeText:w}=t,x=pw(),A=o.useRef(null),S=qw(),C=a?.toolbar?.hidden??!1,{open:E,actions:T,layoutProps:_,renderCurrentView:O,fieldProps:P}=bx((0,nc.A)({},r,{props:t,fieldRef:A,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"mobile"})),I=i.field,M=Gw({elementType:I,externalSlotProps:a?.field,additionalProps:(0,nc.A)({},P,C&&{id:S},!(b||v)&&{onClick:T.onOpen,onKeyDown:(L=T.onOpen,e=>{"Enter"!==e.key&&" "!==e.key||(L(e),e.preventDefault(),e.stopPropagation()),R&&R(e)})},{readOnly:v??!0,disabled:b,className:s,sx:l,format:c,formatDensity:u,enableAccessibleFieldDOMStructure:d,selectedSections:h,onSelectedSectionsChange:p,timezone:f,label:m,name:g},y?{inputRef:y}:{}),ownerState:t});var L,R;M.inputProps=(0,nc.A)({},M.inputProps,{"aria-label":n(P.value,x)});const j=(0,nc.A)({textField:i.textField},M.slots),F=i.layout??Lx;let D=S;C&&(D=m?`${S}-label`:void 0);const N=(0,nc.A)({},a,{toolbar:(0,nc.A)({},a?.toolbar,{titleId:S}),mobilePaper:(0,nc.A)({"aria-labelledby":D},a?.mobilePaper)}),B=Fw(A,M.unstableFieldRef);return{renderPicker:()=>(0,k.jsxs)(lw.$,{localeText:w,children:[(0,k.jsx)(I,(0,nc.A)({},M,{slots:j,slotProps:N,unstableFieldRef:B})),(0,k.jsx)(HC,(0,nc.A)({},T,{open:E,slots:i,slotProps:N,children:(0,k.jsx)(F,(0,nc.A)({},_,N?.layout,{slots:i,slotProps:N,children:O()}))}))]})}},XC=o.forwardRef((function(e,t){const n=_w(),r=pw(),i=Rw(e,"MuiMobileDatePicker"),o=(0,nc.A)({day:GC,month:GC,year:GC},i.viewRenderers),a=(0,nc.A)({},i,{viewRenderers:o,format:kb(r,i,!1),slots:(0,nc.A)({field:hS},i.slots),slotProps:(0,nc.A)({},i.slotProps,{field:e=>(0,nc.A)({},fb(i.slotProps?.field,e),aA(i),{ref:t}),toolbar:(0,nc.A)({hidden:!1},i.slotProps?.toolbar)})}),{renderPicker:s}=KC({props:a,valueManager:aw,valueType:"date",getOpenDialogAriaText:a.localeText?.openDatePickerDialogue??n.openDatePickerDialogue,validator:jw});return s()}));XC.propTypes={autoFocus:pb().bool,className:pb().string,closeOnSelect:pb().bool,dayOfWeekFormatter:pb().func,defaultValue:pb().object,disabled:pb().bool,disableFuture:pb().bool,disableHighlightToday:pb().bool,disableOpenPicker:pb().bool,disablePast:pb().bool,displayWeekNumber:pb().bool,enableAccessibleFieldDOMStructure:pb().any,fixedWeekNumber:pb().number,format:pb().string,formatDensity:pb().oneOf(["dense","spacious"]),inputRef:gb,label:pb().node,loading:pb().bool,localeText:pb().object,maxDate:pb().object,minDate:pb().object,monthsPerRow:pb().oneOf([3,4]),name:pb().string,onAccept:pb().func,onChange:pb().func,onClose:pb().func,onError:pb().func,onMonthChange:pb().func,onOpen:pb().func,onSelectedSectionsChange:pb().func,onViewChange:pb().func,onYearChange:pb().func,open:pb().bool,openTo:pb().oneOf(["day","month","year"]),orientation:pb().oneOf(["landscape","portrait"]),readOnly:pb().bool,reduceAnimations:pb().bool,referenceDate:pb().object,renderLoading:pb().func,selectedSections:pb().oneOfType([pb().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),pb().number]),shouldDisableDate:pb().func,shouldDisableMonth:pb().func,shouldDisableYear:pb().func,showDaysOutsideCurrentMonth:pb().bool,slotProps:pb().object,slots:pb().object,sx:pb().oneOfType([pb().arrayOf(pb().oneOfType([pb().func,pb().object,pb().bool])),pb().func,pb().object]),timezone:pb().string,value:pb().object,view:pb().oneOf(["day","month","year"]),viewRenderers:pb().shape({day:pb().func,month:pb().func,year:pb().func}),views:pb().arrayOf(pb().oneOf(["day","month","year"]).isRequired),yearsPerRow:pb().oneOf([3,4])};const ZC=["desktopModeMediaQuery"],JC=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiDatePicker"}),{desktopModeMediaQuery:r=Qw}=n,i=(0,dc.A)(n,ZC);return(0,Ct.A)(r,{defaultMatches:!0})?(0,k.jsx)(UC,(0,nc.A)({ref:t},i)):(0,k.jsx)(XC,(0,nc.A)({ref:t},i))}));var QC=n(5963);const eE=({adapter:e,value:t,props:n})=>{if(null===t)return null;const{minTime:r,maxTime:i,minutesStep:o,shouldDisableTime:a,disableIgnoringDatePartForTimeValidation:s=!1,disablePast:l,disableFuture:c,timezone:u}=n,d=e.utils.date(void 0,u),h=jb(s,e.utils);switch(!0){case!e.utils.isValid(t):return"invalidDate";case Boolean(r&&h(r,t)):return"minTime";case Boolean(i&&h(t,i)):return"maxTime";case Boolean(c&&e.utils.isAfter(t,d)):return"disableFuture";case Boolean(l&&e.utils.isBefore(t,d)):return"disablePast";case Boolean(a&&a(t,"hours")):return"shouldDisableTime-hours";case Boolean(a&&a(t,"minutes")):return"shouldDisableTime-minutes";case Boolean(a&&a(t,"seconds")):return"shouldDisableTime-seconds";case Boolean(o&&e.utils.getMinutes(t)%o!=0):return"minutesStep";default:return null}},tE=({props:e,value:t,adapter:n})=>{const r=jw({adapter:n,value:t,props:e});return null!==r?r:eE({adapter:n,value:t,props:e})},nE=e=>{const t=(e=>{const t=pw(),n=fw(),r=e.ampm??t.is12HourCycleInCurrentLocale()?t.formats.keyboardDateTime12h:t.formats.keyboardDateTime24h;return(0,nc.A)({},e,{disablePast:e.disablePast??!1,disableFuture:e.disableFuture??!1,format:e.format??r,disableIgnoringDatePartForTimeValidation:Boolean(e.minDateTime||e.maxDateTime),minDate:wb(t,e.minDateTime??e.minDate,n.minDate),maxDate:wb(t,e.maxDateTime??e.maxDate,n.maxDate),minTime:e.minDateTime??e.minTime,maxTime:e.maxDateTime??e.maxTime})})(e),{forwardedProps:n,internalProps:r}=lA(t,"date-time");return tA({forwardedProps:n,internalProps:r,valueManager:aw,fieldValueManager:sw,validator:tE,valueType:"date-time"})},rE=["slots","slotProps","InputProps","inputProps"],iE=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiDateTimeField"}),{slots:r,slotProps:i,InputProps:o,inputProps:a}=n,s=(0,dc.A)(n,rE),l=n,c=r?.textField??(e.enableAccessibleFieldDOMStructure?aS:Kv),u=Gw({elementType:c,externalSlotProps:i?.textField,externalForwardedProps:s,ownerState:l,additionalProps:{ref:t}});u.inputProps=(0,nc.A)({},a,u.inputProps),u.InputProps=(0,nc.A)({},o,u.InputProps);const d=nE(u),h=uS(d),p=hA((0,nc.A)({},h,{slots:r,slotProps:i}));return(0,k.jsx)(c,(0,nc.A)({},p))}));function oE(e){return(0,S.Ay)("MuiTab",e)}const aE=(0,A.A)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),sE=(0,u.Ay)(P.A,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${(0,U.A)(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${aE.iconWrapper}`]:t.iconWrapper},{[`& .${aE.icon}`]:t.icon}]}})((0,d.A)((({theme:e})=>({...e.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:e})=>e.label&&("top"===e.iconPosition||"bottom"===e.iconPosition),style:{flexDirection:"column"}},{props:({ownerState:e})=>e.label&&"top"!==e.iconPosition&&"bottom"!==e.iconPosition,style:{flexDirection:"row"}},{props:({ownerState:e})=>e.icon&&e.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"top"===t,style:{[`& > .${aE.icon}`]:{marginBottom:6}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"bottom"===t,style:{[`& > .${aE.icon}`]:{marginTop:6}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"start"===t,style:{[`& > .${aE.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"end"===t,style:{[`& > .${aE.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${aE.selected}`]:{opacity:1},[`&.${aE.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${aE.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${aE.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${aE.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${aE.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:e})=>e.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:e})=>e.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]})))),lE=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiTab"}),{className:r,disabled:i=!1,disableFocusRipple:a=!1,fullWidth:s,icon:u,iconPosition:d="top",indicator:p,label:f,onChange:g,onClick:m,onFocus:y,selected:v,selectionFollowsFocus:b,textColor:w="inherit",value:x,wrapped:A=!1,...S}=n,C={...n,disabled:i,disableFocusRipple:a,selected:v,icon:!!u,iconPosition:d,label:!!f,fullWidth:s,textColor:w,wrapped:A},E=(e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:i,icon:o,label:a,selected:s,disabled:l}=e,u={root:["root",o&&a&&"labelIcon",`textColor${(0,U.A)(n)}`,r&&"fullWidth",i&&"wrapped",s&&"selected",l&&"disabled"],icon:["iconWrapper","icon"]};return(0,c.A)(u,oE,t)})(C),T=u&&f&&o.isValidElement(u)?o.cloneElement(u,{className:(0,l.A)(E.icon,u.props.className)}):u;return(0,k.jsxs)(sE,{focusRipple:!a,className:(0,l.A)(E.root,r),ref:t,role:"tab","aria-selected":v,disabled:i,onClick:e=>{!v&&g&&g(e,x),m&&m(e)},onFocus:e=>{b&&!v&&g&&g(e,x),y&&y(e)},ownerState:C,tabIndex:v?0:-1,...S,children:["top"===d||"start"===d?(0,k.jsxs)(o.Fragment,{children:[T,f]}):(0,k.jsxs)(o.Fragment,{children:[f,T]}),p]})}));function cE(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}const uE={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};const dE=(0,ve.A)((0,k.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),hE=(0,ve.A)((0,k.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function pE(e){return(0,S.Ay)("MuiTabScrollButton",e)}const fE=(0,A.A)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),gE=(0,u.Ay)(P.A,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${fE.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),mE=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiTabScrollButton"}),{className:r,slots:i={},slotProps:o={},direction:a,orientation:s,disabled:u,...d}=n,p=(0,Rr.I)(),f={isRtl:p,...n},g=(e=>{const{classes:t,orientation:n,disabled:r}=e,i={root:["root",n,r&&"disabled"]};return(0,c.A)(i,pE,t)})(f),m=i.StartScrollButtonIcon??dE,y=i.EndScrollButtonIcon??hE,v=(0,ht.A)({elementType:m,externalSlotProps:o.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:f}),b=(0,ht.A)({elementType:y,externalSlotProps:o.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:f});return(0,k.jsx)(gE,{component:"div",className:(0,l.A)(g.root,r),ref:t,role:null,ownerState:f,tabIndex:null,...d,style:{...d.style,..."vertical"===s&&{"--TabScrollButton-svgRotate":`rotate(${p?-90:90}deg)`}},children:"left"===a?(0,k.jsx)(m,{...v}):(0,k.jsx)(y,{...b})})}));var yE=n(5974);function vE(e){return(0,S.Ay)("MuiTabs",e)}const bE=(0,A.A)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),wE=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,xE=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,AE=(e,t,n)=>{let r=!1,i=n(e,t);for(;i;){if(i===e.firstChild){if(r)return;r=!0}const t=i.disabled||"true"===i.getAttribute("aria-disabled");if(i.hasAttribute("tabindex")&&!t)return void i.focus();i=n(e,i)}},SE=(0,u.Ay)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${bE.scrollButtons}`]:t.scrollButtons},{[`& .${bE.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((0,d.A)((({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.scrollButtonsHideMobile,style:{[`& .${bE.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]})))),CE=(0,u.Ay)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),EE=(0,u.Ay)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),kE=(0,u.Ay)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((0,d.A)((({theme:e})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:e})=>e.vertical,style:{height:"100%",width:2,right:0}}]})))),TE=(0,u.Ay)((function(e){const{onChange:t,...n}=e,r=o.useRef(),i=o.useRef(null),a=()=>{r.current=i.current.offsetHeight-i.current.clientHeight};return(0,Yt.A)((()=>{const e=(0,ai.A)((()=>{const e=r.current;a(),e!==r.current&&t(r.current)})),n=(0,li.A)(i.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}}),[t]),o.useEffect((()=>{a(),t(r.current)}),[t]),(0,k.jsx)("div",{style:uE,ref:i,...n})}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),_E={};const OE=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiTabs"}),r=(0,St.A)(),i=(0,Rr.I)(),{"aria-label":a,"aria-labelledby":s,action:u,centered:d=!1,children:p,className:f,component:g="div",allowScrollButtonsMobile:m=!1,indicatorColor:y="primary",onChange:v,orientation:b="horizontal",ScrollButtonComponent:w=mE,scrollButtons:x="auto",selectionFollowsFocus:A,slots:S={},slotProps:C={},TabIndicatorProps:E={},TabScrollButtonProps:T={},textColor:_="primary",value:O,variant:P="standard",visibleScrollbar:I=!1,...M}=n,L="scrollable"===P,R="vertical"===b,j=R?"scrollTop":"scrollLeft",F=R?"top":"left",D=R?"bottom":"right",N=R?"clientHeight":"clientWidth",B=R?"height":"width",z={...n,component:g,allowScrollButtonsMobile:m,indicatorColor:y,orientation:b,vertical:R,scrollButtons:x,textColor:_,variant:P,visibleScrollbar:I,fixed:!L,hideScrollbar:L&&!I,scrollableX:L&&!R,scrollableY:L&&R,centered:d&&!L,scrollButtonsHideMobile:!m},V=(e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:i,scrollableY:o,centered:a,scrollButtonsHideMobile:s,classes:l}=e,u={root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,c.A)(u,vE,l)})(z),$=(0,ht.A)({elementType:S.StartScrollButtonIcon,externalSlotProps:C.startScrollButtonIcon,ownerState:z}),G=(0,ht.A)({elementType:S.EndScrollButtonIcon,externalSlotProps:C.endScrollButtonIcon,ownerState:z});const[U,W]=o.useState(!1),[q,H]=o.useState(_E),[Y,K]=o.useState(!1),[X,Z]=o.useState(!1),[J,Q]=o.useState(!1),[ee,te]=o.useState({overflow:"hidden",scrollbarWidth:0}),ne=new Map,re=o.useRef(null),ie=o.useRef(null),oe=()=>{const e=re.current;let t,n;if(e){const n=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollWidth:e.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(e&&!1!==O){const e=ie.current.children;if(e.length>0){const t=e[ne.get(O)];0,n=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:n}},ae=(0,yE.A)((()=>{const{tabsMeta:e,tabMeta:t}=oe();let n,r=0;R?(n="top",t&&e&&(r=t.top-e.top+e.scrollTop)):(n=i?"right":"left",t&&e&&(r=(i?-1:1)*(t[n]-e[n]+e.scrollLeft)));const o={[n]:r,[B]:t?t[B]:0};if("number"!=typeof q[n]||"number"!=typeof q[B])H(o);else{const e=Math.abs(q[n]-o[n]),t=Math.abs(q[B]-o[B]);(e>=1||t>=1)&&H(o)}})),se=(e,{animation:t=!0}={})=>{t?function(e,t,n,r={},i=()=>{}){const{ease:o=cE,duration:a=300}=r;let s=null;const l=t[e];let c=!1;const u=()=>{c=!0},d=r=>{if(c)return void i(new Error("Animation cancelled"));null===s&&(s=r);const u=Math.min(1,(r-s)/a);t[e]=o(u)*(n-l)+l,u>=1?requestAnimationFrame((()=>{i(null)})):requestAnimationFrame(d)};l===n?i(new Error("Element already at target position")):requestAnimationFrame(d)}(j,re.current,e,{duration:r.transitions.duration.standard}):re.current[j]=e},le=e=>{let t=re.current[j];t+=R?e:e*(i?-1:1),se(t)},ce=()=>{const e=re.current[N];let t=0;const n=Array.from(ie.current.children);for(let r=0;re){0===r&&(t=e);break}t+=i[N]}return t},ue=()=>{le(-1*ce())},de=()=>{le(ce())},he=o.useCallback((e=>{te({overflow:null,scrollbarWidth:e})}),[]),pe=(0,yE.A)((e=>{const{tabsMeta:t,tabMeta:n}=oe();if(n&&t)if(n[F]t[D]){const r=t[j]+(n[D]-t[D]);se(r,{animation:e})}})),fe=(0,yE.A)((()=>{L&&!1!==x&&Q(!J)}));o.useEffect((()=>{const e=(0,ai.A)((()=>{re.current&&ae()}));let t;const n=n=>{n.forEach((e=>{e.removedNodes.forEach((e=>{t?.unobserve(e)})),e.addedNodes.forEach((e=>{t?.observe(e)}))})),e(),fe()},r=(0,li.A)(re.current);let i;return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(ie.current.children).forEach((e=>{t.observe(e)}))),"undefined"!=typeof MutationObserver&&(i=new MutationObserver(n),i.observe(ie.current,{childList:!0})),()=>{e.clear(),r.removeEventListener("resize",e),i?.disconnect(),t?.disconnect()}}),[ae,fe]),o.useEffect((()=>{const e=Array.from(ie.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&L&&!1!==x){const n=e[0],r=e[t-1],i={root:re.current,threshold:.99},o=new IntersectionObserver((e=>{K(!e[0].isIntersecting)}),i);o.observe(n);const a=new IntersectionObserver((e=>{Z(!e[0].isIntersecting)}),i);return a.observe(r),()=>{o.disconnect(),a.disconnect()}}}),[L,x,J,p?.length]),o.useEffect((()=>{W(!0)}),[]),o.useEffect((()=>{ae()})),o.useEffect((()=>{pe(_E!==q)}),[pe,q]),o.useImperativeHandle(u,(()=>({updateIndicator:ae,updateScrollButtons:fe})),[ae,fe]);const ge=(0,k.jsx)(kE,{...E,className:(0,l.A)(V.indicator,E.className),ownerState:z,style:{...q,...E.style}});let me=0;const ye=o.Children.map(p,(e=>{if(!o.isValidElement(e))return null;const t=void 0===e.props.value?me:e.props.value;ne.set(t,me);const n=t===O;return me+=1,o.cloneElement(e,{fullWidth:"fullWidth"===P,indicator:n&&!U&&ge,selected:n,selectionFollowsFocus:A,onChange:v,textColor:_,value:t,...1!==me||!1!==O||e.props.tabIndex?{}:{tabIndex:0}})})),ve=(()=>{const e={};e.scrollbarSizeListener=L?(0,k.jsx)(TE,{onChange:he,className:(0,l.A)(V.scrollableX,V.hideScrollbar)}):null;const t=L&&("auto"===x&&(Y||X)||!0===x);return e.scrollButtonStart=t?(0,k.jsx)(w,{slots:{StartScrollButtonIcon:S.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:$},orientation:b,direction:i?"right":"left",onClick:ue,disabled:!Y,...T,className:(0,l.A)(V.scrollButtons,T.className)}):null,e.scrollButtonEnd=t?(0,k.jsx)(w,{slots:{EndScrollButtonIcon:S.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:G},orientation:b,direction:i?"left":"right",onClick:de,disabled:!X,...T,className:(0,l.A)(V.scrollButtons,T.className)}):null,e})();return(0,k.jsxs)(SE,{className:(0,l.A)(V.root,f),ownerState:z,ref:t,as:g,...M,children:[ve.scrollButtonStart,ve.scrollbarSizeListener,(0,k.jsxs)(CE,{className:V.scroller,ownerState:z,style:{overflow:ee.overflow,[R?"margin"+(i?"Left":"Right"):"marginBottom"]:I?void 0:-ee.scrollbarWidth},ref:re,children:[(0,k.jsx)(EE,{"aria-label":a,"aria-labelledby":s,"aria-orientation":"vertical"===b?"vertical":null,className:V.flexContainer,ownerState:z,onKeyDown:e=>{const t=ie.current,n=(0,Ut.A)(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===b?"ArrowLeft":"ArrowUp",o="horizontal"===b?"ArrowRight":"ArrowDown";switch("horizontal"===b&&i&&(r="ArrowRight",o="ArrowLeft"),e.key){case r:e.preventDefault(),AE(t,n,xE);break;case o:e.preventDefault(),AE(t,n,wE);break;case"Home":e.preventDefault(),AE(t,null,wE);break;case"End":e.preventDefault(),AE(t,null,xE)}},ref:ie,role:"tablist",children:ye}),U&&ge]}),ve.scrollButtonEnd]})})),PE=OE;function IE(e){return ww("MuiDateTimePickerTabs",e)}xw("MuiDateTimePickerTabs",["root"]);const ME=e=>Eb(e)?"date":"time",LE=(0,u.Ay)(PE,{name:"MuiDateTimePickerTabs",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({boxShadow:`0 -1px 0 0 inset ${(e.vars||e).palette.divider}`,"&:last-child":{boxShadow:`0 1px 0 0 inset ${(e.vars||e).palette.divider}`,[`& .${bE.indicator}`]:{bottom:"auto",top:0}}}))),RE=function(e){const t=(0,to.A)({props:e,name:"MuiDateTimePickerTabs"}),{dateIcon:n=(0,k.jsx)(Gx,{}),onViewChange:r,timeIcon:i=(0,k.jsx)(Ux,{}),view:a,hidden:s="undefined"==typeof window||window.innerHeight<667,className:c,sx:u}=t,d=_w(),h=(e=>{const{classes:t}=e;return mw({root:["root"]},IE,t)})(t);return s?null:(0,k.jsxs)(LE,{ownerState:t,variant:"fullWidth",value:ME(a),onChange:(e,t)=>{r("date"===t?"day":"hours")},className:(0,l.A)(c,h.root),sx:u,children:[(0,k.jsx)(lE,{value:"date","aria-label":d.dateTableLabel,icon:(0,k.jsx)(o.Fragment,{children:n})}),(0,k.jsx)(lE,{value:"time","aria-label":d.timeTableLabel,icon:(0,k.jsx)(o.Fragment,{children:i})})]})};function jE(e){return ww("MuiPickersToolbarText",e)}const FE=xw("MuiPickersToolbarText",["root","selected"]),DE=["className","selected","value"],NE=(0,u.Ay)(In.A,{name:"MuiPickersToolbarText",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`&.${FE.selected}`]:t.selected}]})((({theme:e})=>({transition:e.transitions.create("color"),color:(e.vars||e).palette.text.secondary,[`&.${FE.selected}`]:{color:(e.vars||e).palette.text.primary}}))),BE=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiPickersToolbarText"}),{className:r,value:i}=n,o=(0,dc.A)(n,DE),a=(e=>{const{classes:t,selected:n}=e;return mw({root:["root",n&&"selected"]},jE,t)})(n);return(0,k.jsx)(NE,(0,nc.A)({ref:t,className:(0,l.A)(r,a.root),component:"span"},o,{children:i}))})),zE=["align","className","selected","typographyClassName","value","variant","width"],VE=(0,u.Ay)(jt,{name:"MuiPickersToolbarButton",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:0,minWidth:16,textTransform:"none"}),$E=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiPickersToolbarButton"}),{align:r,className:i,selected:o,typographyClassName:a,value:s,variant:c,width:u}=n,d=(0,dc.A)(n,zE),h=(e=>{const{classes:t}=e;return mw({root:["root"]},Aw,t)})(n);return(0,k.jsx)(VE,(0,nc.A)({variant:"text",ref:t,className:(0,l.A)(i,h.root)},u?{sx:{width:u}}:{},d,{children:(0,k.jsx)(BE,{align:r,className:a,variant:c,value:s,selected:o})}))}));function GE(e){return ww("MuiDateTimePickerToolbar",e)}const UE=xw("MuiDateTimePickerToolbar",["root","dateContainer","timeContainer","timeDigitsContainer","separator","timeLabelReverse","ampmSelection","ampmLandscape","ampmLabel"]),WE=["ampm","ampmInClock","value","onChange","view","isLandscape","onViewChange","toolbarFormat","toolbarPlaceholder","views","disabled","readOnly","toolbarVariant","toolbarTitle","className"],qE=e=>{const{classes:t,isLandscape:n,isRtl:r}=e;return mw({root:["root"],dateContainer:["dateContainer"],timeContainer:["timeContainer",r&&"timeLabelReverse"],timeDigitsContainer:["timeDigitsContainer",r&&"timeLabelReverse"],separator:["separator"],ampmSelection:["ampmSelection",n&&"ampmLandscape"],ampmLabel:["ampmLabel"]},GE,t)},HE=(0,u.Ay)(Tw,{name:"MuiDateTimePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({paddingLeft:16,paddingRight:16,justifyContent:"space-around",position:"relative",variants:[{props:{toolbarVariant:"desktop"},style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,[`& .${Sw.content} .${FE.selected}`]:{color:(e.vars||e).palette.primary.main,fontWeight:e.typography.fontWeightBold}}},{props:{toolbarVariant:"desktop",isLandscape:!0},style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:{toolbarVariant:"desktop",isLandscape:!1},style:{paddingLeft:24,paddingRight:0}}]}))),YE=(0,u.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"DateContainer",overridesResolver:(e,t)=>t.dateContainer})({display:"flex",flexDirection:"column",alignItems:"flex-start"}),KE=(0,u.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"TimeContainer",overridesResolver:(e,t)=>t.timeContainer})({display:"flex",flexDirection:"row",variants:[{props:{isRtl:!0},style:{flexDirection:"row-reverse"}},{props:{toolbarVariant:"desktop",isLandscape:!1},style:{gap:9,marginRight:4,alignSelf:"flex-end"}},{props:({isLandscape:e,toolbarVariant:t})=>e&&"desktop"!==t,style:{flexDirection:"column"}},{props:({isLandscape:e,toolbarVariant:t,isRtl:n})=>e&&"desktop"!==t&&n,style:{flexDirection:"column-reverse"}}]}),XE=(0,u.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"TimeDigitsContainer",overridesResolver:(e,t)=>t.timeDigitsContainer})({display:"flex",variants:[{props:{isRtl:!0},style:{flexDirection:"row-reverse"}},{props:{toolbarVariant:"desktop"},style:{gap:1.5}}]}),ZE=(0,u.Ay)(BE,{name:"MuiDateTimePickerToolbar",slot:"Separator",overridesResolver:(e,t)=>t.separator})({margin:"0 4px 0 2px",cursor:"default",variants:[{props:{toolbarVariant:"desktop"},style:{margin:0}}]}),JE=(0,u.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"AmPmSelection",overridesResolver:(e,t)=>[{[`.${UE.ampmLabel}`]:t.ampmLabel},{[`&.${UE.ampmLandscape}`]:t.ampmLandscape},t.ampmSelection]})({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12,[`& .${UE.ampmLabel}`]:{fontSize:17},variants:[{props:{isLandscape:!0},style:{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",width:"100%"}}]});function QE(e){const t=(0,to.A)({props:e,name:"MuiDateTimePickerToolbar"}),{ampm:n,ampmInClock:r,value:i,onChange:a,view:s,isLandscape:c,onViewChange:u,toolbarFormat:d,toolbarPlaceholder:h="––",views:p,disabled:f,readOnly:g,toolbarVariant:m="mobile",toolbarTitle:y,className:v}=t,b=(0,dc.A)(t,WE),w=(0,Rr.I)(),x=(0,nc.A)({},t,{isRtl:w}),A=pw(),{meridiemMode:S,handleMeridiemChange:C}=kC(i,n,a),E=Boolean(n&&!r),T="desktop"===m,_=_w(),O=qE(x),P=y??_.dateTimePickerToolbarTitle,I=o.useMemo((()=>i?d?A.formatByString(i,d):A.format(i,"shortDate"):h),[i,d,h,A]);return(0,k.jsxs)(HE,(0,nc.A)({isLandscape:c,className:(0,l.A)(O.root,v),toolbarTitle:P},b,{ownerState:x,children:[(0,k.jsxs)(YE,{className:O.dateContainer,ownerState:x,children:[p.includes("year")&&(0,k.jsx)($E,{tabIndex:-1,variant:"subtitle1",onClick:()=>u("year"),selected:"year"===s,value:i?A.format(i,"year"):"–"}),p.includes("day")&&(0,k.jsx)($E,{tabIndex:-1,variant:T?"h5":"h4",onClick:()=>u("day"),selected:"day"===s,value:I})]}),(0,k.jsxs)(KE,{className:O.timeContainer,ownerState:x,children:[(0,k.jsxs)(XE,{className:O.timeDigitsContainer,ownerState:x,children:[p.includes("hours")&&(0,k.jsxs)(o.Fragment,{children:[(0,k.jsx)($E,{variant:T?"h5":"h3",width:T&&!c?kx:void 0,onClick:()=>u("hours"),selected:"hours"===s,value:i?(M=i,n?A.format(M,"hours12h"):A.format(M,"hours24h")):"--"}),(0,k.jsx)(ZE,{variant:T?"h5":"h3",value:":",className:O.separator,ownerState:x}),(0,k.jsx)($E,{variant:T?"h5":"h3",width:T&&!c?kx:void 0,onClick:()=>u("minutes"),selected:"minutes"===s||!p.includes("minutes")&&"hours"===s,value:i?A.format(i,"minutes"):"--",disabled:!p.includes("minutes")})]}),p.includes("seconds")&&(0,k.jsxs)(o.Fragment,{children:[(0,k.jsx)(ZE,{variant:T?"h5":"h3",value:":",className:O.separator,ownerState:x}),(0,k.jsx)($E,{variant:T?"h5":"h3",width:T&&!c?kx:void 0,onClick:()=>u("seconds"),selected:"seconds"===s,value:i?A.format(i,"seconds"):"--"})]})]}),E&&!T&&(0,k.jsxs)(JE,{className:O.ampmSelection,ownerState:x,children:[(0,k.jsx)($E,{variant:"subtitle2",selected:"am"===S,typographyClassName:O.ampmLabel,value:Sb(A,"am"),onClick:g?void 0:()=>C("am"),disabled:f}),(0,k.jsx)($E,{variant:"subtitle2",selected:"pm"===S,typographyClassName:O.ampmLabel,value:Sb(A,"pm"),onClick:g?void 0:()=>C("pm"),disabled:f})]}),n&&T&&(0,k.jsx)($E,{variant:"h5",onClick:()=>u("meridiem"),selected:"meridiem"===s,value:i&&S?Sb(A,S):"--",width:kx})]})]}));var M}function ek(e,t){const n=pw(),r=fw(),i=(0,to.A)({props:e,name:t}),a=i.ampm??n.is12HourCycleInCurrentLocale(),s=o.useMemo((()=>null==i.localeText?.toolbarTitle?i.localeText:(0,nc.A)({},i.localeText,{dateTimePickerToolbarTitle:i.localeText.toolbarTitle})),[i.localeText]);return(0,nc.A)({},i,yb({views:i.views,openTo:i.openTo,defaultViews:["year","day","hours","minutes"],defaultOpenTo:"day"}),{ampm:a,localeText:s,orientation:i.orientation??"portrait",disableIgnoringDatePartForTimeValidation:i.disableIgnoringDatePartForTimeValidation??Boolean(i.minDateTime||i.maxDateTime||i.disablePast||i.disableFuture),disableFuture:i.disableFuture??!1,disablePast:i.disablePast??!1,minDate:wb(n,i.minDateTime??i.minDate,r.minDate),maxDate:wb(n,i.maxDateTime??i.maxDate,r.maxDate),minTime:i.minDateTime??i.minTime,maxTime:i.maxDateTime??i.maxTime,slots:(0,nc.A)({toolbar:QE,tabs:RE},i.slots),slotProps:(0,nc.A)({},i.slotProps,{toolbar:(0,nc.A)({ampm:a},i.slotProps?.toolbar)})})}const tk=["views","format"],nk=(e,t,n)=>{let{views:r,format:i}=t,o=(0,dc.A)(t,tk);if(i)return i;const a=[],s=[];if(r.forEach((e=>{Ob(e)?s.push(e):Eb(e)&&a.push(e)})),0===s.length)return kb(e,(0,nc.A)({views:a},o),!1);if(0===a.length)return Fb(e,(0,nc.A)({views:s},o));const l=Fb(e,(0,nc.A)({views:s},o));return`${n?e.formats.keyboardDate:kb(e,(0,nc.A)({views:a},o),!1)} ${l}`},rk=(e,t,n)=>n?t.filter((e=>!Pb(e)||"hours"===e)):e?[...t,"meridiem"]:t;function ik({thresholdToRenderTimeInASingleColumn:e,ampm:t,timeSteps:n,views:r}){const i=e??24,o=(0,nc.A)({hours:1,minutes:5,seconds:5},n),a=((e,t)=>1440/((e.hours??1)*(e.minutes??5))<=t)(o,i);return{thresholdToRenderTimeInASingleColumn:i,timeSteps:o,shouldRenderTimeInASingleColumn:a,views:rk(t,r,a)}}function ok(e){return ww("MuiTimeClock",e)}xw("MuiTimeClock",["root","arrowSwitcher"]);const ak=220,sk=36,lk={x:ak/2,y:ak/2},ck=lk.x-lk.x,uk=0-lk.y,dk=(e,t,n)=>{const r=t-lk.x,i=n-lk.y,o=Math.atan2(ck,uk)-Math.atan2(r,i);let a=o*(180/Math.PI);a=Math.round(a/e)*e,a%=360;const s=r**2+i**2;return{value:Math.floor(a/e)||0,distance:Math.sqrt(s)}};function hk(e){return ww("MuiClockPointer",e)}xw("MuiClockPointer",["root","thumb"]);const pk=["className","hasSelected","isInner","type","viewValue"],fk=e=>{const{classes:t}=e;return mw({root:["root"],thumb:["thumb"]},hk,t)},gk=(0,u.Ay)("div",{name:"MuiClockPointer",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({width:2,backgroundColor:(e.vars||e).palette.primary.main,position:"absolute",left:"calc(50% - 1px)",bottom:"50%",transformOrigin:"center bottom 0px",variants:[{props:{shouldAnimate:!0},style:{transition:e.transitions.create(["transform","height"])}}]}))),mk=(0,u.Ay)("div",{name:"MuiClockPointer",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((({theme:e})=>({width:4,height:4,backgroundColor:(e.vars||e).palette.primary.contrastText,borderRadius:"50%",position:"absolute",top:-21,left:"calc(50% - 18px)",border:`16px solid ${(e.vars||e).palette.primary.main}`,boxSizing:"content-box",variants:[{props:{hasSelected:!0},style:{backgroundColor:(e.vars||e).palette.primary.main}}]})));function yk(e){const t=(0,to.A)({props:e,name:"MuiClockPointer"}),{className:n,isInner:r,type:i,viewValue:a}=t,s=(0,dc.A)(t,pk),c=o.useRef(i);o.useEffect((()=>{c.current=i}),[i]);const u=(0,nc.A)({},t,{shouldAnimate:c.current!==i}),d=fk(u);return(0,k.jsx)(gk,(0,nc.A)({style:(()=>{let e=360/("hours"===i?12:60)*a;return"hours"===i&&a>12&&(e-=360),{height:Math.round((r?.26:.4)*ak),transform:`rotateZ(${e}deg)`}})(),className:(0,l.A)(n,d.root),ownerState:u},s,{children:(0,k.jsx)(mk,{ownerState:u,className:d.thumb})}))}function vk(e){return ww("MuiClock",e)}xw("MuiClock",["root","clock","wrapper","squareMask","pin","amButton","pmButton","meridiemText","selected"]);const bk=(0,u.Ay)("div",{name:"MuiClock",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",justifyContent:"center",alignItems:"center",margin:e.spacing(2)}))),wk=(0,u.Ay)("div",{name:"MuiClock",slot:"Clock",overridesResolver:(e,t)=>t.clock})({backgroundColor:"rgba(0,0,0,.07)",borderRadius:"50%",height:220,width:220,flexShrink:0,position:"relative",pointerEvents:"none"}),xk=(0,u.Ay)("div",{name:"MuiClock",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({"&:focus":{outline:"none"}}),Ak=(0,u.Ay)("div",{name:"MuiClock",slot:"SquareMask",overridesResolver:(e,t)=>t.squareMask})({width:"100%",height:"100%",position:"absolute",pointerEvents:"auto",outline:0,touchAction:"none",userSelect:"none",variants:[{props:{disabled:!1},style:{"@media (pointer: fine)":{cursor:"pointer",borderRadius:"50%"},"&:active":{cursor:"move"}}}]}),Sk=(0,u.Ay)("div",{name:"MuiClock",slot:"Pin",overridesResolver:(e,t)=>t.pin})((({theme:e})=>({width:6,height:6,borderRadius:"50%",backgroundColor:(e.vars||e).palette.primary.main,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}))),Ck=(e,t)=>({zIndex:1,bottom:8,paddingLeft:4,paddingRight:4,width:sk,variants:[{props:{meridiemMode:t},style:{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:hover":{backgroundColor:(e.vars||e).palette.primary.light}}}]}),Ek=(0,u.Ay)(ye.A,{name:"MuiClock",slot:"AmButton",overridesResolver:(e,t)=>t.amButton})((({theme:e})=>(0,nc.A)({},Ck(e,"am"),{position:"absolute",left:8}))),kk=(0,u.Ay)(ye.A,{name:"MuiClock",slot:"PmButton",overridesResolver:(e,t)=>t.pmButton})((({theme:e})=>(0,nc.A)({},Ck(e,"pm"),{position:"absolute",right:8}))),Tk=(0,u.Ay)(In.A,{name:"MuiClock",slot:"meridiemText",overridesResolver:(e,t)=>t.meridiemText})({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});function _k(e){const t=(0,to.A)({props:e,name:"MuiClock"}),{ampm:n,ampmInClock:r,autoFocus:i,children:a,value:s,handleMeridiemChange:c,isTimeDisabled:u,meridiemMode:d,minutesStep:h=1,onChange:p,selectedId:f,type:g,viewValue:m,disabled:y=!1,readOnly:v,className:b}=t,w=t,x=pw(),A=_w(),S=o.useRef(!1),C=(e=>{const{classes:t,meridiemMode:n}=e;return mw({root:["root"],clock:["clock"],wrapper:["wrapper"],squareMask:["squareMask"],pin:["pin"],amButton:["amButton","am"===n&&"selected"],pmButton:["pmButton","pm"===n&&"selected"],meridiemText:["meridiemText"]},vk,t)})(w),E=u(m,g),T=!n&&"hours"===g&&(m<1||m>12),_=(e,t)=>{y||v||u(e,g)||p(e,t)},O=(e,t)=>{let{offsetX:r,offsetY:i}=e;if(void 0===r){const t=e.target.getBoundingClientRect();r=e.changedTouches[0].clientX-t.left,i=e.changedTouches[0].clientY-t.top}const o="seconds"===g||"minutes"===g?((e,t,n=1)=>{const r=6*n;let{value:i}=dk(r,e,t);return i=i*n%60,i})(r,i,h):((e,t,n)=>{const{value:r,distance:i}=dk(30,e,t);let o=r||12;return n?o%=12:i{S.current=!0,O(e,"shallow")},I=o.useMemo((()=>"hours"===g||m%5==0),[g,m]),M="minutes"===g?h:1,L=o.useRef(null);Hw((()=>{i&&L.current.focus()}),[i]);return(0,k.jsxs)(bk,{className:(0,l.A)(b,C.root),children:[(0,k.jsxs)(wk,{className:C.clock,children:[(0,k.jsx)(Ak,{onTouchMove:P,onTouchStart:P,onTouchEnd:e=>{S.current&&(O(e,"finish"),S.current=!1)},onMouseUp:e=>{S.current&&(S.current=!1),O(e.nativeEvent,"finish")},onMouseMove:e=>{e.buttons>0&&O(e.nativeEvent,"shallow")},ownerState:{disabled:y},className:C.squareMask}),!E&&(0,k.jsxs)(o.Fragment,{children:[(0,k.jsx)(Sk,{className:C.pin}),null!=s&&(0,k.jsx)(yk,{type:g,viewValue:m,isInner:T,hasSelected:I})]}),(0,k.jsx)(xk,{"aria-activedescendant":f,"aria-label":A.clockLabelText(g,s,x),ref:L,role:"listbox",onKeyDown:e=>{if(!S.current)switch(e.key){case"Home":_(0,"partial"),e.preventDefault();break;case"End":_("minutes"===g?59:23,"partial"),e.preventDefault();break;case"ArrowUp":_(m+M,"partial"),e.preventDefault();break;case"ArrowDown":_(m-M,"partial"),e.preventDefault();break;case"Enter":case" ":_(m,"finish"),e.preventDefault()}},tabIndex:0,className:C.wrapper,children:a})]}),n&&r&&(0,k.jsxs)(o.Fragment,{children:[(0,k.jsx)(Ek,{onClick:v?void 0:()=>c("am"),disabled:y||null===d,ownerState:w,className:C.amButton,title:Sb(x,"am"),children:(0,k.jsx)(Tk,{variant:"caption",className:C.meridiemText,children:Sb(x,"am")})}),(0,k.jsx)(kk,{disabled:y||null===d,onClick:v?void 0:()=>c("pm"),ownerState:w,className:C.pmButton,title:Sb(x,"pm"),children:(0,k.jsx)(Tk,{variant:"caption",className:C.meridiemText,children:Sb(x,"pm")})})]})]})}function Ok(e){return ww("MuiClockNumber",e)}const Pk=xw("MuiClockNumber",["root","selected","disabled"]),Ik=["className","disabled","index","inner","label","selected"],Mk=(0,u.Ay)("span",{name:"MuiClockNumber",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`&.${Pk.disabled}`]:t.disabled},{[`&.${Pk.selected}`]:t.selected}]})((({theme:e})=>({height:sk,width:sk,position:"absolute",left:"calc((100% - 36px) / 2)",display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",color:(e.vars||e).palette.text.primary,fontFamily:e.typography.fontFamily,"&:focused":{backgroundColor:(e.vars||e).palette.background.paper},[`&.${Pk.selected}`]:{color:(e.vars||e).palette.primary.contrastText},[`&.${Pk.disabled}`]:{pointerEvents:"none",color:(e.vars||e).palette.text.disabled},variants:[{props:{inner:!0},style:(0,nc.A)({},e.typography.body2,{color:(e.vars||e).palette.text.secondary})}]})));function Lk(e){const t=(0,to.A)({props:e,name:"MuiClockNumber"}),{className:n,disabled:r,index:i,inner:o,label:a,selected:s}=t,c=(0,dc.A)(t,Ik),u=t,d=(e=>{const{classes:t,selected:n,disabled:r}=e;return mw({root:["root",n&&"selected",r&&"disabled"]},Ok,t)})(u),h=i%12/12*Math.PI*2-Math.PI/2,p=(ak-sk-2)/2*(o?.65:1),f=Math.round(Math.cos(h)*p),g=Math.round(Math.sin(h)*p);return(0,k.jsx)(Mk,(0,nc.A)({className:(0,l.A)(n,d.root),"aria-disabled":!!r||void 0,"aria-selected":!!s||void 0,role:"option",style:{transform:`translate(${f}px, ${g+(ak-sk)/2}px`},ownerState:u},c,{children:a}))}const Rk=({ampm:e,value:t,getClockNumberText:n,isDisabled:r,selectedId:i,utils:o})=>{const a=t?o.getHours(t):null,s=[],l=e?12:23,c=t=>null!==a&&(e?12===t?12===a||0===a:a===t||a-12===t:a===t);for(let t=e?1:0;t<=l;t+=1){let a=t.toString();0===t&&(a="00");const l=!e&&(0===t||t>12);a=o.formatNumber(a);const u=c(t);s.push((0,k.jsx)(Lk,{id:u?i:void 0,index:t,inner:l,selected:u,disabled:r(t),label:a,"aria-label":n(a)},t))}return s},jk=({utils:e,value:t,isDisabled:n,getClockNumberText:r,selectedId:i})=>{const o=e.formatNumber;return[[5,o("05")],[10,o("10")],[15,o("15")],[20,o("20")],[25,o("25")],[30,o("30")],[35,o("35")],[40,o("40")],[45,o("45")],[50,o("50")],[55,o("55")],[0,o("00")]].map((([e,o],a)=>{const s=e===t;return(0,k.jsx)(Lk,{label:o,id:s?i:void 0,index:a+1,inner:!1,disabled:n(e),selected:s,"aria-label":r(o)},e)}))},Fk=({value:e,referenceDate:t,utils:n,props:r,timezone:i})=>{const a=o.useMemo((()=>aw.getInitialReferenceValue({value:e,utils:n,props:r,referenceDate:t,granularity:Db.day,timezone:i,getTodayDate:()=>Ab(n,i,"date")})),[]);return e??a},Dk=["ampm","ampmInClock","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","showViewSwitcher","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","timezone"],Nk=(0,u.Ay)(DC,{name:"MuiTimeClock",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",position:"relative"}),Bk=(0,u.Ay)(EC,{name:"MuiTimeClock",slot:"ArrowSwitcher",overridesResolver:(e,t)=>t.arrowSwitcher})({position:"absolute",right:12,top:15}),zk=["hours","minutes"],Vk=o.forwardRef((function(e,t){const n=pw(),r=(0,to.A)({props:e,name:"MuiTimeClock"}),{ampm:i=n.is12HourCycleInCurrentLocale(),ampmInClock:a=!1,autoFocus:s,slots:c,slotProps:u,value:d,defaultValue:h,referenceDate:p,disableIgnoringDatePartForTimeValidation:f=!1,maxTime:g,minTime:m,disableFuture:y,disablePast:v,minutesStep:b=1,shouldDisableTime:w,showViewSwitcher:x,onChange:A,view:S,views:C=zk,openTo:E,onViewChange:T,focusedView:_,onFocusedViewChange:O,className:P,disabled:I,readOnly:M,timezone:L}=r,R=(0,dc.A)(r,Dk),{value:j,handleValueChange:F,timezone:D}=px({name:"TimeClock",timezone:L,value:d,defaultValue:h,onChange:A,valueManager:aw}),N=Fk({value:j,referenceDate:p,utils:n,props:r,timezone:D}),B=_w(),z=gw(D),{view:V,setView:$,previousView:G,nextView:U,setValueAndGoToNextView:W}=gx({view:S,views:C,openTo:E,onViewChange:T,onChange:F,focusedView:_,onFocusedViewChange:O}),{meridiemMode:q,handleMeridiemChange:H}=kC(N,i,W),Y=o.useCallback(((e,t)=>{const r=jb(f,n),o="hours"===t||"minutes"===t&&C.includes("seconds"),a=({start:e,end:t})=>(!m||!r(m,t))&&((!g||!r(e,g))&&((!y||!r(e,z))&&(!v||!r(z,o?t:e)))),s=(e,r=1)=>{if(e%r!=0)return!1;if(w)switch(t){case"hours":return!w(n.setHours(N,e),"hours");case"minutes":return!w(n.setMinutes(N,e),"minutes");case"seconds":return!w(n.setSeconds(N,e),"seconds");default:return!1}return!0};switch(t){case"hours":{const t=Mb(e,q,i),r=n.setHours(N,t);return!a({start:n.setSeconds(n.setMinutes(r,0),0),end:n.setSeconds(n.setMinutes(r,59),59)})||!s(t)}case"minutes":{const t=n.setMinutes(N,e);return!a({start:n.setSeconds(t,0),end:n.setSeconds(t,59)})||!s(e,b)}case"seconds":{const t=n.setSeconds(N,e);return!a({start:t,end:t})||!s(e)}default:throw new Error("not supported")}}),[i,N,f,g,q,m,b,w,n,y,v,z,C]),K=qw(),X=o.useMemo((()=>{switch(V){case"hours":{const e=(e,t)=>{const r=Mb(e,q,i);W(n.setHours(N,r),t,"hours")};return{onChange:e,viewValue:n.getHours(N),children:Rk({value:j,utils:n,ampm:i,onChange:e,getClockNumberText:B.hoursClockNumberText,isDisabled:e=>I||Y(e,"hours"),selectedId:K})}}case"minutes":{const e=n.getMinutes(N),t=(e,t)=>{W(n.setMinutes(N,e),t,"minutes")};return{viewValue:e,onChange:t,children:jk({utils:n,value:e,onChange:t,getClockNumberText:B.minutesClockNumberText,isDisabled:e=>I||Y(e,"minutes"),selectedId:K})}}case"seconds":{const e=n.getSeconds(N),t=(e,t)=>{W(n.setSeconds(N,e),t,"seconds")};return{viewValue:e,onChange:t,children:jk({utils:n,value:e,onChange:t,getClockNumberText:B.secondsClockNumberText,isDisabled:e=>I||Y(e,"seconds"),selectedId:K})}}default:throw new Error("You must provide the type for ClockView")}}),[V,n,j,i,B.hoursClockNumberText,B.minutesClockNumberText,B.secondsClockNumberText,q,W,N,Y,K,I]),Z=r,J=(e=>{const{classes:t}=e;return mw({root:["root"],arrowSwitcher:["arrowSwitcher"]},ok,t)})(Z);return(0,k.jsxs)(Nk,(0,nc.A)({ref:t,className:(0,l.A)(J.root,P),ownerState:Z},R,{children:[(0,k.jsx)(_k,(0,nc.A)({autoFocus:s??!!_,ampmInClock:a&&C.includes("hours"),value:j,type:V,ampm:i,minutesStep:b,isTimeDisabled:Y,meridiemMode:q,handleMeridiemChange:H,selectedId:K,disabled:I,readOnly:M},X)),x&&(0,k.jsx)(Bk,{className:J.arrowSwitcher,slots:c,slotProps:u,onGoToPrevious:()=>$(G),isPreviousDisabled:!G,previousLabel:B.openPreviousView,onGoToNext:()=>$(U),isNextDisabled:!U,nextLabel:B.openNextView,ownerState:Z})]}))}));function $k(e){return ww("MuiDigitalClock",e)}const Gk=xw("MuiDigitalClock",["root","list","item"]),Uk=["ampm","timeStep","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","onChange","view","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","views","skipDisabled","timezone"],Wk=(0,u.Ay)(DC,{name:"MuiDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})({overflowY:"auto",width:"100%","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"auto"},maxHeight:232,variants:[{props:{alreadyRendered:!0},style:{"@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"smooth"}}}]}),qk=(0,u.Ay)(en,{name:"MuiDigitalClock",slot:"List",overridesResolver:(e,t)=>t.list})({padding:0}),Hk=(0,u.Ay)(un,{name:"MuiDigitalClock",slot:"Item",overridesResolver:(e,t)=>t.item})((({theme:e})=>({padding:"8px 16px",margin:"2px 4px","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,te.X4)(e.palette.primary.main,e.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,te.X4)(e.palette.primary.main,e.palette.action.focusOpacity)}}))),Yk=o.forwardRef((function(e,t){const n=pw(),r=o.useRef(null),i=Fw(t,r),a=(0,to.A)({props:e,name:"MuiDigitalClock"}),{ampm:s=n.is12HourCycleInCurrentLocale(),timeStep:c=30,autoFocus:u,slots:d,slotProps:h,value:p,defaultValue:f,referenceDate:g,disableIgnoringDatePartForTimeValidation:m=!1,maxTime:y,minTime:v,disableFuture:b,disablePast:w,minutesStep:x=1,shouldDisableTime:A,onChange:S,view:C,openTo:E,onViewChange:T,focusedView:_,onFocusedViewChange:O,className:P,disabled:I,readOnly:M,views:L=["hours"],skipDisabled:R=!1,timezone:j}=a,F=(0,dc.A)(a,Uk),{value:D,handleValueChange:N,timezone:B}=px({name:"DigitalClock",timezone:j,value:p,defaultValue:f,onChange:S,valueManager:aw}),z=_w(),V=gw(B),$=o.useMemo((()=>(0,nc.A)({},a,{alreadyRendered:!!r.current})),[a]),G=(e=>{const{classes:t}=e;return mw({root:["root"],list:["list"],item:["item"]},$k,t)})($),U=d?.digitalClockItem??Hk,W=Gw({elementType:U,externalSlotProps:h?.digitalClockItem,ownerState:{},className:G.item}),q=Fk({value:D,referenceDate:g,utils:n,props:a,timezone:B}),H=Yw((e=>N(e,"finish","hours"))),{setValueAndGoToNextView:Y}=gx({view:C,views:L,openTo:E,onViewChange:T,onChange:H,focusedView:_,onFocusedViewChange:O}),K=Yw((e=>{Y(e,"finish")}));o.useEffect((()=>{if(null===r.current)return;const e=r.current.querySelector('[role="listbox"] [role="option"][tabindex="0"], [role="listbox"] [role="option"][aria-selected="true"]');if(!e)return;const t=e.offsetTop;(u||_)&&e.focus(),r.current.scrollTop=t-4}));const X=o.useCallback((e=>{const t=jb(m,n);return!!(v&&t(v,e)||y&&t(e,y)||b&&t(e,V)||w&&t(V,e))||!!(n.getMinutes(e)%x!=0||A&&A(e,"hours"))}),[m,n,v,y,b,V,w,x,A]),Z=o.useMemo((()=>{const e=n.startOfDay(q);return[e,...Array.from({length:Math.ceil(1440/c)-1},((t,r)=>n.addMinutes(e,c*(r+1))))]}),[q,c,n]),J=Z.findIndex((e=>n.isEqual(e,q)));return(0,k.jsx)(Wk,(0,nc.A)({ref:i,className:(0,l.A)(G.root,P),ownerState:$},F,{children:(0,k.jsx)(qk,{role:"listbox","aria-label":z.timePickerToolbarTitle,className:G.list,children:Z.map(((e,t)=>{if(R&&X(e))return null;const r=n.isEqual(e,D),i=n.format(e,s?"fullTime12h":"fullTime24h"),o=J===t||-1===J&&0===t?0:-1;return(0,k.jsx)(U,(0,nc.A)({onClick:()=>!M&&K(e),selected:r,disabled:I||X(e),disableRipple:M,role:"option","aria-disabled":M,"aria-selected":r,tabIndex:o},W,{children:i}),i)}))})}))}));function Kk(e){return ww("MuiMultiSectionDigitalClock",e)}const Xk=xw("MuiMultiSectionDigitalClock",["root"]);function Zk(e){return ww("MuiMultiSectionDigitalClockSection",e)}const Jk=xw("MuiMultiSectionDigitalClockSection",["root","item"]),Qk=["autoFocus","onChange","className","disabled","readOnly","items","active","slots","slotProps","skipDisabled"],eT=(0,u.Ay)(en,{name:"MuiMultiSectionDigitalClockSection",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({maxHeight:232,width:56,padding:0,overflow:"hidden","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"auto"},"@media (pointer: fine)":{"&:hover":{overflowY:"auto"}},"@media (pointer: none), (pointer: coarse)":{overflowY:"auto"},"&:not(:first-of-type)":{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"&::after":{display:"block",content:'""',height:"calc(100% - 40px - 6px)"},variants:[{props:{alreadyRendered:!0},style:{"@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"smooth"}}}]}))),tT=(0,u.Ay)(un,{name:"MuiMultiSectionDigitalClockSection",slot:"Item",overridesResolver:(e,t)=>t.item})((({theme:e})=>({padding:8,margin:"2px 4px",width:kx,justifyContent:"center","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,te.X4)(e.palette.primary.main,e.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,te.X4)(e.palette.primary.main,e.palette.action.focusOpacity)}}))),nT=o.forwardRef((function(e,t){const n=o.useRef(null),r=Fw(t,n),i=o.useRef(null),a=(0,to.A)({props:e,name:"MuiMultiSectionDigitalClockSection"}),{autoFocus:s,onChange:c,className:u,disabled:d,readOnly:h,items:p,active:f,slots:g,slotProps:m,skipDisabled:y}=a,v=(0,dc.A)(a,Qk),b=o.useMemo((()=>(0,nc.A)({},a,{alreadyRendered:!!n.current})),[a]),w=(e=>{const{classes:t}=e;return mw({root:["root"],item:["item"]},Zk,t)})(b),x=g?.digitalClockSectionItem??tT;o.useEffect((()=>{if(null===n.current)return;const e=n.current.querySelector('[role="option"][tabindex="0"], [role="option"][aria-selected="true"]');if(f&&s&&e&&e.focus(),!e||i.current===e)return;i.current=e;const t=e.offsetTop;n.current.scrollTop=t-4}));const A=p.findIndex((e=>e.isFocused(e.value)));return(0,k.jsx)(eT,(0,nc.A)({ref:r,className:(0,l.A)(w.root,u),ownerState:b,autoFocusItem:s&&f,role:"listbox"},v,{children:p.map(((e,t)=>{const n=e.isDisabled?.(e.value),r=d||n;if(y&&r)return null;const i=e.isSelected(e.value),o=A===t||-1===A&&0===t?0:-1;return(0,k.jsx)(x,(0,nc.A)({onClick:()=>!h&&c(e.value),selected:i,disabled:r,disableRipple:h,role:"option","aria-disabled":h||r||void 0,"aria-label":e.ariaLabel,"aria-selected":i,tabIndex:o,className:w.item},m?.digitalClockSectionItem,{children:e.label}),e.label)}))}))})),rT=({now:e,value:t,utils:n,ampm:r,isDisabled:i,resolveAriaLabel:o,timeStep:a,valueOrReferenceDate:s})=>{const l=t?n.getHours(t):null,c=[],u=(e,t)=>{const n=t??l;return null!==n&&(r?12===e?12===n||0===n:n===e||n-12===e:n===e)},d=e=>u(e,n.getHours(s)),h=r?11:23;for(let t=0;t<=h;t+=a){let a=n.format(n.setHours(e,t),r?"hours12h":"hours24h");const s=o(parseInt(a,10).toString());a=n.formatNumber(a),c.push({value:t,label:a,isSelected:u,isDisabled:i,isFocused:d,ariaLabel:s})}return c},iT=({value:e,utils:t,isDisabled:n,timeStep:r,resolveLabel:i,resolveAriaLabel:o,hasValue:a=!0})=>{const s=t=>null!==e&&(a&&e===t),l=t=>e===t;return[...Array.from({length:Math.ceil(60/r)},((e,a)=>{const c=r*a;return{value:c,label:t.formatNumber(i(c)),isDisabled:n,isSelected:s,isFocused:l,ariaLabel:o(c.toString())}}))]},oT=["ampm","timeSteps","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","skipDisabled","timezone"],aT=(0,u.Ay)(DC,{name:"MuiMultiSectionDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",flexDirection:"row",width:"100%",borderBottom:`1px solid ${(e.vars||e).palette.divider}`}))),sT=o.forwardRef((function(e,t){const n=pw(),r=(0,Rr.I)(),i=(0,to.A)({props:e,name:"MuiMultiSectionDigitalClock"}),{ampm:a=n.is12HourCycleInCurrentLocale(),timeSteps:s,autoFocus:c,slots:u,slotProps:d,value:h,defaultValue:p,referenceDate:f,disableIgnoringDatePartForTimeValidation:g=!1,maxTime:m,minTime:y,disableFuture:v,disablePast:b,minutesStep:w=1,shouldDisableTime:x,onChange:A,view:S,views:C=["hours","minutes"],openTo:E,onViewChange:T,focusedView:_,onFocusedViewChange:O,className:P,disabled:I,readOnly:M,skipDisabled:L=!1,timezone:R}=i,j=(0,dc.A)(i,oT),{value:F,handleValueChange:D,timezone:N}=px({name:"MultiSectionDigitalClock",timezone:R,value:h,defaultValue:p,onChange:A,valueManager:aw}),B=_w(),z=gw(N),V=o.useMemo((()=>(0,nc.A)({hours:1,minutes:5,seconds:5},s)),[s]),$=Fk({value:F,referenceDate:f,utils:n,props:i,timezone:N}),G=Yw(((e,t,n)=>D(e,t,n))),U=o.useMemo((()=>a&&C.includes("hours")?C.includes("meridiem")?C:[...C,"meridiem"]:C),[a,C]),{view:W,setValueAndGoToNextView:q,focusedView:H}=gx({view:S,views:U,openTo:E,onViewChange:T,onChange:G,focusedView:_,onFocusedViewChange:O}),Y=Yw((e=>{q(e,"finish","meridiem")})),{meridiemMode:K,handleMeridiemChange:X}=kC($,a,Y,"finish"),Z=o.useCallback(((e,t)=>{const r=jb(g,n),i="hours"===t||"minutes"===t&&U.includes("seconds"),o=({start:e,end:t})=>(!y||!r(y,t))&&((!m||!r(e,m))&&((!v||!r(e,z))&&(!b||!r(z,i?t:e)))),s=(e,r=1)=>{if(e%r!=0)return!1;if(x)switch(t){case"hours":return!x(n.setHours($,e),"hours");case"minutes":return!x(n.setMinutes($,e),"minutes");case"seconds":return!x(n.setSeconds($,e),"seconds");default:return!1}return!0};switch(t){case"hours":{const t=Mb(e,K,a),r=n.setHours($,t);return!o({start:n.setSeconds(n.setMinutes(r,0),0),end:n.setSeconds(n.setMinutes(r,59),59)})||!s(t)}case"minutes":{const t=n.setMinutes($,e);return!o({start:n.setSeconds(t,0),end:n.setSeconds(t,59)})||!s(e,w)}case"seconds":{const t=n.setSeconds($,e);return!o({start:t,end:t})||!s(e)}default:throw new Error("not supported")}}),[a,$,g,m,K,y,w,x,n,v,b,z,U]),J=o.useCallback((e=>{switch(e){case"hours":return{onChange:e=>{const t=Mb(e,K,a);q(n.setHours($,t),"finish","hours")},items:rT({now:z,value:F,ampm:a,utils:n,isDisabled:e=>Z(e,"hours"),timeStep:V.hours,resolveAriaLabel:B.hoursClockNumberText,valueOrReferenceDate:$})};case"minutes":return{onChange:e=>{q(n.setMinutes($,e),"finish","minutes")},items:iT({value:n.getMinutes($),utils:n,isDisabled:e=>Z(e,"minutes"),resolveLabel:e=>n.format(n.setMinutes(z,e),"minutes"),timeStep:V.minutes,hasValue:!!F,resolveAriaLabel:B.minutesClockNumberText})};case"seconds":return{onChange:e=>{q(n.setSeconds($,e),"finish","seconds")},items:iT({value:n.getSeconds($),utils:n,isDisabled:e=>Z(e,"seconds"),resolveLabel:e=>n.format(n.setSeconds(z,e),"seconds"),timeStep:V.seconds,hasValue:!!F,resolveAriaLabel:B.secondsClockNumberText})};case"meridiem":{const e=Sb(n,"am"),t=Sb(n,"pm");return{onChange:X,items:[{value:"am",label:e,isSelected:()=>!!F&&"am"===K,isFocused:()=>!!$&&"am"===K,ariaLabel:e},{value:"pm",label:t,isSelected:()=>!!F&&"pm"===K,isFocused:()=>!!$&&"pm"===K,ariaLabel:t}]}}default:throw new Error(`Unknown view: ${e} found.`)}}),[z,F,a,n,V.hours,V.minutes,V.seconds,B.hoursClockNumberText,B.minutesClockNumberText,B.secondsClockNumberText,K,q,$,Z,X]),Q=o.useMemo((()=>{if(!r)return U;const e=U.filter((e=>"meridiem"!==e)).toReversed();return U.includes("meridiem")&&e.push("meridiem"),e}),[r,U]),ee=o.useMemo((()=>U.reduce(((e,t)=>(0,nc.A)({},e,{[t]:J(t)})),{})),[U,J]),te=i,ne=(e=>{const{classes:t}=e;return mw({root:["root"]},Kk,t)})(te);return(0,k.jsx)(aT,(0,nc.A)({ref:t,className:(0,l.A)(ne.root,P),ownerState:te,role:"group"},j,{children:Q.map((e=>(0,k.jsx)(nT,{items:ee[e].items,onChange:ee[e].onChange,active:W===e,autoFocus:c??H===e,disabled:I,readOnly:M,slots:u,slotProps:d,skipDisabled:L,"aria-label":B.selectViewText(e)},e)))}))})),lT=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:i,value:o,defaultValue:a,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:h,minTime:p,maxTime:f,shouldDisableTime:g,minutesStep:m,ampm:y,ampmInClock:v,slots:b,slotProps:w,readOnly:x,disabled:A,sx:S,autoFocus:C,showViewSwitcher:E,disableIgnoringDatePartForTimeValidation:T,timezone:_})=>(0,k.jsx)(Vk,{view:e,onViewChange:t,focusedView:n&&Ob(n)?n:null,onFocusedViewChange:r,views:i.filter(Ob),value:o,defaultValue:a,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:h,minTime:p,maxTime:f,shouldDisableTime:g,minutesStep:m,ampm:y,ampmInClock:v,slots:b,slotProps:w,readOnly:x,disabled:A,sx:S,autoFocus:C,showViewSwitcher:E,disableIgnoringDatePartForTimeValidation:T,timezone:_}),cT=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:i,value:o,defaultValue:a,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:h,minTime:p,maxTime:f,shouldDisableTime:g,minutesStep:m,ampm:y,slots:v,slotProps:b,readOnly:w,disabled:x,sx:A,autoFocus:S,disableIgnoringDatePartForTimeValidation:C,timeSteps:E,skipDisabled:T,timezone:_})=>(0,k.jsx)(Yk,{view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:i.filter(Ob),value:o,defaultValue:a,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:h,minTime:p,maxTime:f,shouldDisableTime:g,minutesStep:m,ampm:y,slots:v,slotProps:b,readOnly:w,disabled:x,sx:A,autoFocus:S,disableIgnoringDatePartForTimeValidation:C,timeStep:E?.minutes,skipDisabled:T,timezone:_}),uT=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:i,value:o,defaultValue:a,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:h,minTime:p,maxTime:f,shouldDisableTime:g,minutesStep:m,ampm:y,slots:v,slotProps:b,readOnly:w,disabled:x,sx:A,autoFocus:S,disableIgnoringDatePartForTimeValidation:C,timeSteps:E,skipDisabled:T,timezone:_})=>(0,k.jsx)(sT,{view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:i.filter(Ob),value:o,defaultValue:a,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:h,minTime:p,maxTime:f,shouldDisableTime:g,minutesStep:m,ampm:y,slots:v,slotProps:b,readOnly:w,disabled:x,sx:A,autoFocus:S,disableIgnoringDatePartForTimeValidation:C,timeSteps:E,skipDisabled:T,timezone:_}),dT=o.forwardRef((function(e,t){const n=(0,Rr.I)(),{toolbar:r,tabs:i,content:o,actionBar:a,shortcuts:s}=Px(e),{sx:c,className:u,isLandscape:d,classes:h}=e,p=a&&(a.props.actions?.length??0)>0,f=(0,nc.A)({},e,{isRtl:n});return(0,k.jsxs)(Ix,{ref:t,className:(0,l.A)(u,xx.root,h?.root),sx:[{[`& .${xx.tabs}`]:{gridRow:4,gridColumn:"1 / 4"},[`& .${xx.actionBar}`]:{gridRow:5}},...Array.isArray(c)?c:[c]],ownerState:f,children:[d?s:r,d?r:s,(0,k.jsxs)(Mx,{className:(0,l.A)(xx.contentWrapper,h?.contentWrapper),sx:{display:"grid"},children:[o,i,p&&(0,k.jsx)(QC.A,{sx:{gridRow:3,gridColumn:"1 / 4"}})]}),a]})})),hT=["openTo","focusedView","timeViewsCount"],pT=function(e,t,n){const{openTo:r,focusedView:i,timeViewsCount:a}=n,s=(0,dc.A)(n,hT),l=(0,nc.A)({},s,{focusedView:null,sx:[{[`&.${Xk.root}`]:{borderBottom:0},[`&.${Xk.root}, .${Jk.root}, &.${Gk.root}`]:{maxHeight:Ex}}]}),c=Pb(t);return(0,k.jsxs)(o.Fragment,{children:[e[c?"day":t]?.((0,nc.A)({},n,{view:c?"day":t,focusedView:i&&Eb(i)?i:null,views:n.views.filter(Eb),sx:[{gridColumn:1},...l.sx]})),a>0&&(0,k.jsxs)(o.Fragment,{children:[(0,k.jsx)(QC.A,{orientation:"vertical",sx:{gridColumn:2}}),e[c?t:"hours"]?.((0,nc.A)({},l,{view:c?t:"hours",focusedView:i&&Pb(i)?i:null,openTo:Pb(r)?r:"hours",views:n.views.filter(Pb),sx:[{gridColumn:3},...l.sx]}))]})]})},fT=o.forwardRef((function(e,t){const n=_w(),r=pw(),i=ek(e,"MuiDesktopDateTimePicker"),{shouldRenderTimeInASingleColumn:o,thresholdToRenderTimeInASingleColumn:a,views:s,timeSteps:l}=ik(i),c=o?cT:uT,u=(0,nc.A)({day:GC,month:GC,year:GC,hours:c,minutes:c,seconds:c,meridiem:c},i.viewRenderers),d=i.ampmInClock??!0,h=u.hours?.name===uT.name?s:s.filter((e=>"meridiem"!==e)),p=o?[]:["accept"],f=(0,nc.A)({},i,{viewRenderers:u,format:nk(r,i),views:h,yearsPerRow:i.yearsPerRow??4,ampmInClock:d,timeSteps:l,thresholdToRenderTimeInASingleColumn:a,shouldRenderTimeInASingleColumn:o,slots:(0,nc.A)({field:iE,layout:dT,openPickerIcon:Vx},i.slots),slotProps:(0,nc.A)({},i.slotProps,{field:e=>(0,nc.A)({},fb(i.slotProps?.field,e),aA(i),{ref:t}),toolbar:(0,nc.A)({hidden:!0,ampmInClock:d,toolbarVariant:"desktop"},i.slotProps?.toolbar),tabs:(0,nc.A)({hidden:!0},i.slotProps?.tabs),actionBar:e=>(0,nc.A)({actions:p},fb(i.slotProps?.actionBar,e))})}),{renderPicker:g}=Dx({props:f,valueManager:aw,valueType:"date-time",getOpenDialogAriaText:f.localeText?.openDatePickerDialogue??n.openDatePickerDialogue,validator:tE,rendererInterceptor:pT});return g()}));fT.propTypes={ampm:pb().bool,ampmInClock:pb().bool,autoFocus:pb().bool,className:pb().string,closeOnSelect:pb().bool,dayOfWeekFormatter:pb().func,defaultValue:pb().object,disabled:pb().bool,disableFuture:pb().bool,disableHighlightToday:pb().bool,disableIgnoringDatePartForTimeValidation:pb().bool,disableOpenPicker:pb().bool,disablePast:pb().bool,displayWeekNumber:pb().bool,enableAccessibleFieldDOMStructure:pb().any,fixedWeekNumber:pb().number,format:pb().string,formatDensity:pb().oneOf(["dense","spacious"]),inputRef:gb,label:pb().node,loading:pb().bool,localeText:pb().object,maxDate:pb().object,maxDateTime:pb().object,maxTime:pb().object,minDate:pb().object,minDateTime:pb().object,minTime:pb().object,minutesStep:pb().number,monthsPerRow:pb().oneOf([3,4]),name:pb().string,onAccept:pb().func,onChange:pb().func,onClose:pb().func,onError:pb().func,onMonthChange:pb().func,onOpen:pb().func,onSelectedSectionsChange:pb().func,onViewChange:pb().func,onYearChange:pb().func,open:pb().bool,openTo:pb().oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),orientation:pb().oneOf(["landscape","portrait"]),readOnly:pb().bool,reduceAnimations:pb().bool,referenceDate:pb().object,renderLoading:pb().func,selectedSections:pb().oneOfType([pb().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),pb().number]),shouldDisableDate:pb().func,shouldDisableMonth:pb().func,shouldDisableTime:pb().func,shouldDisableYear:pb().func,showDaysOutsideCurrentMonth:pb().bool,skipDisabled:pb().bool,slotProps:pb().object,slots:pb().object,sx:pb().oneOfType([pb().arrayOf(pb().oneOfType([pb().func,pb().object,pb().bool])),pb().func,pb().object]),thresholdToRenderTimeInASingleColumn:pb().number,timeSteps:pb().shape({hours:pb().number,minutes:pb().number,seconds:pb().number}),timezone:pb().string,value:pb().object,view:pb().oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),viewRenderers:pb().shape({day:pb().func,hours:pb().func,meridiem:pb().func,minutes:pb().func,month:pb().func,seconds:pb().func,year:pb().func}),views:pb().arrayOf(pb().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsPerRow:pb().oneOf([3,4])};const gT=o.forwardRef((function(e,t){const n=_w(),r=pw(),i=ek(e,"MuiMobileDateTimePicker"),o=(0,nc.A)({day:GC,month:GC,year:GC,hours:lT,minutes:lT,seconds:lT},i.viewRenderers),a=i.ampmInClock??!1,s=(0,nc.A)({},i,{viewRenderers:o,format:nk(r,i),ampmInClock:a,slots:(0,nc.A)({field:iE},i.slots),slotProps:(0,nc.A)({},i.slotProps,{field:e=>(0,nc.A)({},fb(i.slotProps?.field,e),aA(i),{ref:t}),toolbar:(0,nc.A)({hidden:!1,ampmInClock:a},i.slotProps?.toolbar),tabs:(0,nc.A)({hidden:!1},i.slotProps?.tabs)})}),{renderPicker:l}=KC({props:s,valueManager:aw,valueType:"date-time",getOpenDialogAriaText:s.localeText?.openDatePickerDialogue??n.openDatePickerDialogue,validator:tE});return l()}));gT.propTypes={ampm:pb().bool,ampmInClock:pb().bool,autoFocus:pb().bool,className:pb().string,closeOnSelect:pb().bool,dayOfWeekFormatter:pb().func,defaultValue:pb().object,disabled:pb().bool,disableFuture:pb().bool,disableHighlightToday:pb().bool,disableIgnoringDatePartForTimeValidation:pb().bool,disableOpenPicker:pb().bool,disablePast:pb().bool,displayWeekNumber:pb().bool,enableAccessibleFieldDOMStructure:pb().any,fixedWeekNumber:pb().number,format:pb().string,formatDensity:pb().oneOf(["dense","spacious"]),inputRef:gb,label:pb().node,loading:pb().bool,localeText:pb().object,maxDate:pb().object,maxDateTime:pb().object,maxTime:pb().object,minDate:pb().object,minDateTime:pb().object,minTime:pb().object,minutesStep:pb().number,monthsPerRow:pb().oneOf([3,4]),name:pb().string,onAccept:pb().func,onChange:pb().func,onClose:pb().func,onError:pb().func,onMonthChange:pb().func,onOpen:pb().func,onSelectedSectionsChange:pb().func,onViewChange:pb().func,onYearChange:pb().func,open:pb().bool,openTo:pb().oneOf(["day","hours","minutes","month","seconds","year"]),orientation:pb().oneOf(["landscape","portrait"]),readOnly:pb().bool,reduceAnimations:pb().bool,referenceDate:pb().object,renderLoading:pb().func,selectedSections:pb().oneOfType([pb().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),pb().number]),shouldDisableDate:pb().func,shouldDisableMonth:pb().func,shouldDisableTime:pb().func,shouldDisableYear:pb().func,showDaysOutsideCurrentMonth:pb().bool,slotProps:pb().object,slots:pb().object,sx:pb().oneOfType([pb().arrayOf(pb().oneOfType([pb().func,pb().object,pb().bool])),pb().func,pb().object]),timezone:pb().string,value:pb().object,view:pb().oneOf(["day","hours","minutes","month","seconds","year"]),viewRenderers:pb().shape({day:pb().func,hours:pb().func,minutes:pb().func,month:pb().func,seconds:pb().func,year:pb().func}),views:pb().arrayOf(pb().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsPerRow:pb().oneOf([3,4])};const mT=["desktopModeMediaQuery"],yT=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiDateTimePicker"}),{desktopModeMediaQuery:r=Qw}=n,i=(0,dc.A)(n,mT);return(0,Ct.A)(r,{defaultMatches:!0})?(0,k.jsx)(fT,(0,nc.A)({ref:t},i)):(0,k.jsx)(gT,(0,nc.A)({ref:t},i))})),vT=e=>{const t=(e=>{const t=pw(),n=e.ampm??t.is12HourCycleInCurrentLocale()?t.formats.fullTime12h:t.formats.fullTime24h;return(0,nc.A)({},e,{disablePast:e.disablePast??!1,disableFuture:e.disableFuture??!1,format:e.format??n})})(e),{forwardedProps:n,internalProps:r}=lA(t,"time");return tA({forwardedProps:n,internalProps:r,valueManager:aw,fieldValueManager:sw,validator:eE,valueType:"time"})},bT=["slots","slotProps","InputProps","inputProps"],wT=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiTimeField"}),{slots:r,slotProps:i,InputProps:o,inputProps:a}=n,s=(0,dc.A)(n,bT),l=n,c=r?.textField??(e.enableAccessibleFieldDOMStructure?aS:Kv),u=Gw({elementType:c,externalSlotProps:i?.textField,externalForwardedProps:s,ownerState:l,additionalProps:{ref:t}});u.inputProps=(0,nc.A)({},a,u.inputProps),u.InputProps=(0,nc.A)({},o,u.InputProps);const d=vT(u),h=uS(d),p=hA((0,nc.A)({},h,{slots:r,slotProps:i}));return(0,k.jsx)(c,(0,nc.A)({},p))}));function xT(e){return ww("MuiTimePickerToolbar",e)}const AT=xw("MuiTimePickerToolbar",["root","separator","hourMinuteLabel","hourMinuteLabelLandscape","hourMinuteLabelReverse","ampmSelection","ampmLandscape","ampmLabel"]),ST=["ampm","ampmInClock","value","isLandscape","onChange","view","onViewChange","views","disabled","readOnly","className"],CT=e=>{const{isLandscape:t,classes:n,isRtl:r}=e;return mw({root:["root"],separator:["separator"],hourMinuteLabel:["hourMinuteLabel",t&&"hourMinuteLabelLandscape",r&&"hourMinuteLabelReverse"],ampmSelection:["ampmSelection",t&&"ampmLandscape"],ampmLabel:["ampmLabel"]},xT,n)},ET=(0,u.Ay)(Tw,{name:"MuiTimePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),kT=(0,u.Ay)(BE,{name:"MuiTimePickerToolbar",slot:"Separator",overridesResolver:(e,t)=>t.separator})({outline:0,margin:"0 4px 0 2px",cursor:"default"}),TT=(0,u.Ay)("div",{name:"MuiTimePickerToolbar",slot:"HourMinuteLabel",overridesResolver:(e,t)=>[{[`&.${AT.hourMinuteLabelLandscape}`]:t.hourMinuteLabelLandscape,[`&.${AT.hourMinuteLabelReverse}`]:t.hourMinuteLabelReverse},t.hourMinuteLabel]})({display:"flex",justifyContent:"flex-end",alignItems:"flex-end",variants:[{props:{isRtl:!0},style:{flexDirection:"row-reverse"}},{props:{isLandscape:!0},style:{marginTop:"auto"}}]}),_T=(0,u.Ay)("div",{name:"MuiTimePickerToolbar",slot:"AmPmSelection",overridesResolver:(e,t)=>[{[`.${AT.ampmLabel}`]:t.ampmLabel},{[`&.${AT.ampmLandscape}`]:t.ampmLandscape},t.ampmSelection]})({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12,[`& .${AT.ampmLabel}`]:{fontSize:17},variants:[{props:{isLandscape:!0},style:{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",flexBasis:"100%"}}]});function OT(e){const t=(0,to.A)({props:e,name:"MuiTimePickerToolbar"}),{ampm:n,ampmInClock:r,value:i,isLandscape:o,onChange:a,view:s,onViewChange:c,views:u,disabled:d,readOnly:h,className:p}=t,f=(0,dc.A)(t,ST),g=pw(),m=_w(),y=(0,Rr.I)(),v=Boolean(n&&!r&&u.includes("hours")),{meridiemMode:b,handleMeridiemChange:w}=kC(i,n,a),x=(0,nc.A)({},t,{isRtl:y}),A=CT(x),S=(0,k.jsx)(kT,{tabIndex:-1,value:":",variant:"h3",selected:!1,className:A.separator});return(0,k.jsxs)(ET,(0,nc.A)({landscapeDirection:"row",toolbarTitle:m.timePickerToolbarTitle,isLandscape:o,ownerState:x,className:(0,l.A)(A.root,p)},f,{children:[(0,k.jsxs)(TT,{className:A.hourMinuteLabel,ownerState:x,children:[Zw(u,"hours")&&(0,k.jsx)($E,{tabIndex:-1,variant:"h3",onClick:()=>c("hours"),selected:"hours"===s,value:i?(C=i,n?g.format(C,"hours12h"):g.format(C,"hours24h")):"--"}),Zw(u,["hours","minutes"])&&S,Zw(u,"minutes")&&(0,k.jsx)($E,{tabIndex:-1,variant:"h3",onClick:()=>c("minutes"),selected:"minutes"===s,value:i?g.format(i,"minutes"):"--"}),Zw(u,["minutes","seconds"])&&S,Zw(u,"seconds")&&(0,k.jsx)($E,{variant:"h3",onClick:()=>c("seconds"),selected:"seconds"===s,value:i?g.format(i,"seconds"):"--"})]}),v&&(0,k.jsxs)(_T,{className:A.ampmSelection,ownerState:x,children:[(0,k.jsx)($E,{disableRipple:!0,variant:"subtitle2",selected:"am"===b,typographyClassName:A.ampmLabel,value:Sb(g,"am"),onClick:h?void 0:()=>w("am"),disabled:d}),(0,k.jsx)($E,{disableRipple:!0,variant:"subtitle2",selected:"pm"===b,typographyClassName:A.ampmLabel,value:Sb(g,"pm"),onClick:h?void 0:()=>w("pm"),disabled:d})]})]}));var C}function PT(e,t){const n=pw(),r=(0,to.A)({props:e,name:t}),i=r.ampm??n.is12HourCycleInCurrentLocale(),a=o.useMemo((()=>null==r.localeText?.toolbarTitle?r.localeText:(0,nc.A)({},r.localeText,{timePickerToolbarTitle:r.localeText.toolbarTitle})),[r.localeText]);return(0,nc.A)({},r,{ampm:i,localeText:a},yb({views:r.views,openTo:r.openTo,defaultViews:["hours","minutes"],defaultOpenTo:"hours"}),{disableFuture:r.disableFuture??!1,disablePast:r.disablePast??!1,slots:(0,nc.A)({toolbar:OT},r.slots),slotProps:(0,nc.A)({},r.slotProps,{toolbar:(0,nc.A)({ampm:i,ampmInClock:r.ampmInClock},r.slotProps?.toolbar)})})}const IT=o.forwardRef((function(e,t){const n=_w(),r=pw(),i=PT(e,"MuiDesktopTimePicker"),{shouldRenderTimeInASingleColumn:o,views:a,timeSteps:s}=ik(i),l=o?cT:uT,c=(0,nc.A)({hours:l,minutes:l,seconds:l,meridiem:l},i.viewRenderers),u=i.ampmInClock??!0,d=o?[]:["accept"],h=c.hours?.name===uT.name?a:a.filter((e=>"meridiem"!==e)),p=(0,nc.A)({},i,{ampmInClock:u,timeSteps:s,viewRenderers:c,format:Fb(r,i),views:o?["hours"]:h,slots:(0,nc.A)({field:wT,openPickerIcon:$x},i.slots),slotProps:(0,nc.A)({},i.slotProps,{field:e=>(0,nc.A)({},fb(i.slotProps?.field,e),aA(i),{ref:t}),toolbar:(0,nc.A)({hidden:!0,ampmInClock:u},i.slotProps?.toolbar),actionBar:(0,nc.A)({actions:d},i.slotProps?.actionBar)})}),{renderPicker:f}=Dx({props:p,valueManager:aw,valueType:"time",getOpenDialogAriaText:p.localeText?.openTimePickerDialogue??n.openTimePickerDialogue,validator:eE});return f()}));IT.propTypes={ampm:pb().bool,ampmInClock:pb().bool,autoFocus:pb().bool,className:pb().string,closeOnSelect:pb().bool,defaultValue:pb().object,disabled:pb().bool,disableFuture:pb().bool,disableIgnoringDatePartForTimeValidation:pb().bool,disableOpenPicker:pb().bool,disablePast:pb().bool,enableAccessibleFieldDOMStructure:pb().any,format:pb().string,formatDensity:pb().oneOf(["dense","spacious"]),inputRef:gb,label:pb().node,localeText:pb().object,maxTime:pb().object,minTime:pb().object,minutesStep:pb().number,name:pb().string,onAccept:pb().func,onChange:pb().func,onClose:pb().func,onError:pb().func,onOpen:pb().func,onSelectedSectionsChange:pb().func,onViewChange:pb().func,open:pb().bool,openTo:pb().oneOf(["hours","meridiem","minutes","seconds"]),orientation:pb().oneOf(["landscape","portrait"]),readOnly:pb().bool,reduceAnimations:pb().bool,referenceDate:pb().object,selectedSections:pb().oneOfType([pb().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),pb().number]),shouldDisableTime:pb().func,skipDisabled:pb().bool,slotProps:pb().object,slots:pb().object,sx:pb().oneOfType([pb().arrayOf(pb().oneOfType([pb().func,pb().object,pb().bool])),pb().func,pb().object]),thresholdToRenderTimeInASingleColumn:pb().number,timeSteps:pb().shape({hours:pb().number,minutes:pb().number,seconds:pb().number}),timezone:pb().string,value:pb().object,view:pb().oneOf(["hours","meridiem","minutes","seconds"]),viewRenderers:pb().shape({hours:pb().func,meridiem:pb().func,minutes:pb().func,seconds:pb().func}),views:pb().arrayOf(pb().oneOf(["hours","minutes","seconds"]).isRequired)};const MT=o.forwardRef((function(e,t){const n=_w(),r=pw(),i=PT(e,"MuiMobileTimePicker"),o=(0,nc.A)({hours:lT,minutes:lT,seconds:lT},i.viewRenderers),a=i.ampmInClock??!1,s=(0,nc.A)({},i,{ampmInClock:a,viewRenderers:o,format:Fb(r,i),slots:(0,nc.A)({field:wT},i.slots),slotProps:(0,nc.A)({},i.slotProps,{field:e=>(0,nc.A)({},fb(i.slotProps?.field,e),aA(i),{ref:t}),toolbar:(0,nc.A)({hidden:!1,ampmInClock:a},i.slotProps?.toolbar)})}),{renderPicker:l}=KC({props:s,valueManager:aw,valueType:"time",getOpenDialogAriaText:s.localeText?.openTimePickerDialogue??n.openTimePickerDialogue,validator:eE});return l()}));MT.propTypes={ampm:pb().bool,ampmInClock:pb().bool,autoFocus:pb().bool,className:pb().string,closeOnSelect:pb().bool,defaultValue:pb().object,disabled:pb().bool,disableFuture:pb().bool,disableIgnoringDatePartForTimeValidation:pb().bool,disableOpenPicker:pb().bool,disablePast:pb().bool,enableAccessibleFieldDOMStructure:pb().any,format:pb().string,formatDensity:pb().oneOf(["dense","spacious"]),inputRef:gb,label:pb().node,localeText:pb().object,maxTime:pb().object,minTime:pb().object,minutesStep:pb().number,name:pb().string,onAccept:pb().func,onChange:pb().func,onClose:pb().func,onError:pb().func,onOpen:pb().func,onSelectedSectionsChange:pb().func,onViewChange:pb().func,open:pb().bool,openTo:pb().oneOf(["hours","minutes","seconds"]),orientation:pb().oneOf(["landscape","portrait"]),readOnly:pb().bool,reduceAnimations:pb().bool,referenceDate:pb().object,selectedSections:pb().oneOfType([pb().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),pb().number]),shouldDisableTime:pb().func,slotProps:pb().object,slots:pb().object,sx:pb().oneOfType([pb().arrayOf(pb().oneOfType([pb().func,pb().object,pb().bool])),pb().func,pb().object]),timezone:pb().string,value:pb().object,view:pb().oneOf(["hours","minutes","seconds"]),viewRenderers:pb().shape({hours:pb().func,minutes:pb().func,seconds:pb().func}),views:pb().arrayOf(pb().oneOf(["hours","minutes","seconds"]).isRequired)};const LT=["desktopModeMediaQuery"],RT=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiTimePicker"}),{desktopModeMediaQuery:r=Qw}=n,i=(0,dc.A)(n,LT);return(0,Ct.A)(r,{defaultMatches:!0})?(0,k.jsx)(IT,(0,nc.A)({ref:t},i)):(0,k.jsx)(MT,(0,nc.A)({ref:t},i))})),jT=(0,ve.A)((0,k.jsx)("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function FT(e){return(0,S.Ay)("MuiTableSortLabel",e)}const DT=(0,A.A)("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc","directionDesc","directionAsc"]),NT=(0,u.Ay)(P.A,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.active&&t.active]}})((0,d.A)((({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${DT.icon}`]:{opacity:.5}},[`&.${DT.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${DT.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}})))),BT=(0,u.Ay)("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${(0,U.A)(n.direction)}`]]}})((0,d.A)((({theme:e})=>({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none",variants:[{props:{direction:"desc"},style:{transform:"rotate(0deg)"}},{props:{direction:"asc"},style:{transform:"rotate(180deg)"}}]})))),zT=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiTableSortLabel"}),{active:r=!1,children:i,className:o,direction:a="asc",hideSortIcon:s=!1,IconComponent:u=jT,...d}=n,p={...n,active:r,direction:a,hideSortIcon:s,IconComponent:u},f=(e=>{const{classes:t,direction:n,active:r}=e,i={root:["root",r&&"active",`direction${(0,U.A)(n)}`],icon:["icon",`iconDirection${(0,U.A)(n)}`]};return(0,c.A)(i,FT,t)})(p);return(0,k.jsxs)(NT,{className:(0,l.A)(f.root,o),component:"span",disableRipple:!0,ownerState:p,ref:t,...d,children:[i,s&&!r?null:(0,k.jsx)(BT,{as:u,className:(0,l.A)(f.icon),ownerState:p})]})}));function VT(e){return(0,S.Ay)("MuiAlertTitle",e)}(0,A.A)("MuiAlertTitle",["root"]);const $T=(0,u.Ay)(In.A,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(e,t)=>t.root})((0,d.A)((({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2})))),GT=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiAlertTitle"}),{className:r,...i}=n,o=n,a=(e=>{const{classes:t}=e;return(0,c.A)({root:["root"]},VT,t)})(o);return(0,k.jsx)($T,{gutterBottom:!0,component:"div",ownerState:o,ref:t,className:(0,l.A)(a.root,r),...i})}));function UT(e){return(0,S.Ay)("MuiPagination",e)}(0,A.A)("MuiPagination",["root","ul","outlined","text"]);function WT(e){return(0,S.Ay)("MuiPaginationItem",e)}const qT=(0,A.A)("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]),HT=(0,ve.A)((0,k.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),YT=(0,ve.A)((0,k.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),KT=(0,ve.A)((0,k.jsx)("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),XT=(0,ve.A)((0,k.jsx)("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),ZT=(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${(0,U.A)(n.size)}`],"text"===n.variant&&t[`text${(0,U.A)(n.color)}`],"outlined"===n.variant&&t[`outlined${(0,U.A)(n.color)}`],"rounded"===n.shape&&t.rounded,"page"===n.type&&t.page,("start-ellipsis"===n.type||"end-ellipsis"===n.type)&&t.ellipsis,("previous"===n.type||"next"===n.type)&&t.previousNext,("first"===n.type||"last"===n.type)&&t.firstLast]},JT=(0,u.Ay)("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:ZT})((0,d.A)((({theme:e})=>({...e.typography.body2,borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${qT.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:{size:"small"},style:{minWidth:26,borderRadius:13,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)}}]})))),QT=(0,u.Ay)(P.A,{name:"MuiPaginationItem",slot:"Root",overridesResolver:ZT})((0,d.A)((({theme:e})=>({...e.typography.body2,borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${qT.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${qT.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${qT.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,te.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${qT.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,te.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${qT.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}},variants:[{props:{size:"small"},style:{minWidth:26,height:26,borderRadius:13,margin:"0 1px",padding:"0 4px"}},{props:{size:"large"},style:{minWidth:40,height:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)}},{props:{shape:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"outlined"},style:{border: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)"),[`&.${qT.selected}`]:{[`&.${qT.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}}}},{props:{variant:"text"},style:{[`&.${qT.selected}`]:{[`&.${qT.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}},...Object.entries(e.palette).filter((([,e])=>e&&e.main&&e.dark&&e.contrastText)).map((([t])=>({props:{variant:"text",color:t},style:{[`&.${qT.selected}`]:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}},[`&.${qT.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark},[`&.${qT.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}}))),...Object.entries(e.palette).filter((([,e])=>e&&e.main&&e.light)).map((([t])=>({props:{variant:"outlined",color:t},style:{[`&.${qT.selected}`]:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:(0,te.X4)(e.palette[t].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:(0,te.X4)(e.palette[t].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,te.X4)(e.palette[t].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${qT.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,te.X4)(e.palette[t].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}}}})))]})))),e_=(0,u.Ay)("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})((0,d.A)((({theme:e})=>({fontSize:e.typography.pxToRem(20),margin:"0 -8px",variants:[{props:{size:"small"},style:{fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{fontSize:e.typography.pxToRem(22)}}]})))),t_=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiPaginationItem"}),{className:r,color:i="standard",component:o,components:a={},disabled:s=!1,page:u,selected:d=!1,shape:p="circular",size:f="medium",slots:g={},slotProps:m={},type:y="page",variant:v="text",...b}=n,w={...n,color:i,disabled:s,selected:d,shape:p,size:f,type:y,variant:v},A=(0,Rr.I)(),S=(e=>{const{classes:t,color:n,disabled:r,selected:i,size:o,shape:a,type:s,variant:l}=e,u={root:["root",`size${(0,U.A)(o)}`,l,a,"standard"!==n&&`color${(0,U.A)(n)}`,"standard"!==n&&`${l}${(0,U.A)(n)}`,r&&"disabled",i&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[s]],icon:["icon"]};return(0,c.A)(u,WT,t)})(w),C={slots:{previous:g.previous??a.previous,next:g.next??a.next,first:g.first??a.first,last:g.last??a.last},slotProps:m},[E,T]=x("previous",{elementType:KT,externalForwardedProps:C,ownerState:w}),[_,O]=x("next",{elementType:XT,externalForwardedProps:C,ownerState:w}),[P,I]=x("first",{elementType:HT,externalForwardedProps:C,ownerState:w}),[M,L]=x("last",{elementType:YT,externalForwardedProps:C,ownerState:w}),R=A?{previous:"next",next:"previous",first:"last",last:"first"}[y]:y,j={previous:E,next:_,first:P,last:M}[R],F={previous:T,next:O,first:I,last:L}[R];return"start-ellipsis"===y||"end-ellipsis"===y?(0,k.jsx)(JT,{ref:t,ownerState:w,className:(0,l.A)(S.root,r),children:"…"}):(0,k.jsxs)(QT,{ref:t,ownerState:w,component:o,disabled:s,className:(0,l.A)(S.root,r),...b,children:["page"===y&&u,j?(0,k.jsx)(e_,{...F,className:S.icon,as:j}):null]})})),n_=(0,u.Ay)("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant]]}})({}),r_=(0,u.Ay)("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function i_(e,t,n){return"page"===e?`${n?"":"Go to "}page ${t}`:`Go to ${e} page`}const o_=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiPagination"}),{boundaryCount:r=1,className:i,color:o="standard",count:a=1,defaultPage:s=1,disabled:u=!1,getItemAriaLabel:d=i_,hideNextButton:p=!1,hidePrevButton:f=!1,onChange:g,page:m,renderItem:y=e=>(0,k.jsx)(t_,{...e}),shape:v="circular",showFirstButton:b=!1,showLastButton:w=!1,siblingCount:x=1,size:A="medium",variant:S="text",...C}=n,{items:E}=function(e={}){const{boundaryCount:t=1,componentName:n="usePagination",count:r=1,defaultPage:i=1,disabled:o=!1,hideNextButton:a=!1,hidePrevButton:s=!1,onChange:l,page:c,showFirstButton:u=!1,showLastButton:d=!1,siblingCount:h=1,...p}=e,[f,g]=(0,re.A)({controlled:c,default:i,name:n,state:"page"}),m=(e,t)=>{c||g(t),l&&l(e,t)},y=(e,t)=>{const n=t-e+1;return Array.from({length:n},((t,n)=>e+n))},v=y(1,Math.min(t,r)),b=y(Math.max(r-t+1,t+1),r),w=Math.max(Math.min(f-h,r-t-2*h-1),t+2),x=Math.min(Math.max(f+h,t+2*h+2),r-t-1),A=[...u?["first"]:[],...s?[]:["previous"],...v,...w>t+2?["start-ellipsis"]:t+1t?[r-t]:[],...b,...a?[]:["next"],...d?["last"]:[]],S=e=>{switch(e){case"first":return 1;case"previous":return f-1;case"next":return f+1;case"last":return r;default:return null}};return{items:A.map((e=>"number"==typeof e?{onClick:t=>{m(t,e)},type:"page",page:e,selected:e===f,disabled:o,"aria-current":e===f?"true":void 0}:{onClick:t=>{m(t,S(e))},type:e,page:S(e),selected:!1,disabled:o||!e.includes("ellipsis")&&("next"===e||"last"===e?f>=r:f<=1)})),...p}}({...n,componentName:"Pagination"}),T={...n,boundaryCount:r,color:o,count:a,defaultPage:s,disabled:u,getItemAriaLabel:d,hideNextButton:p,hidePrevButton:f,renderItem:y,shape:v,showFirstButton:b,showLastButton:w,siblingCount:x,size:A,variant:S},_=(e=>{const{classes:t,variant:n}=e,r={root:["root",n],ul:["ul"]};return(0,c.A)(r,UT,t)})(T);return(0,k.jsx)(n_,{"aria-label":"pagination navigation",className:(0,l.A)(_.root,i),ownerState:T,ref:t,...C,children:(0,k.jsx)(r_,{className:_.ul,ownerState:T,children:E.map(((e,t)=>(0,k.jsx)("li",{children:y({...e,color:o,"aria-label":d(e.type,e.page,e.selected),shape:v,size:A,variant:S})},t)))})})})),a_=o_,s_=e=>{var t,n,r,i;return null!==(i=null!==(t=e.id)&&void 0!==t?t:null===(r=null===(n=e.accessorKey)||void 0===n?void 0:n.toString)||void 0===r?void 0:r.call(n))&&void 0!==i?i:e.header},l_=e=>{const t=[],n=e=>{e.forEach((e=>{e.columns?n(e.columns):t.push(e)}))};return n(e),t},c_=({columnDefs:e,tableOptions:t})=>{const{aggregationFns:n={},defaultDisplayColumn:r,filterFns:i={},sortingFns:o={},state:{columnFilterFns:a={}}={}}=t;return e.map((e=>{var s,l;if(e.id||(e.id=s_(e)),e.columnDefType||(e.columnDefType="data"),null===(s=e.columns)||void 0===s?void 0:s.length)e.columnDefType="group",e.columns=c_({columnDefs:e.columns,tableOptions:t});else if("data"===e.columnDefType){if(Array.isArray(e.aggregationFn)){const t=e.aggregationFn;e.aggregationFn=(e,r,i)=>t.map((t=>{var o;return null===(o=n[t])||void 0===o?void 0:o.call(n,e,r,i)}))}Object.keys(i).includes(a[e.id])&&(e.filterFn=null!==(l=i[a[e.id]])&&void 0!==l?l:i.fuzzy,e._filterFn=a[e.id]),Object.keys(o).includes(e.sortingFn)&&(e.sortingFn=o[e.sortingFn])}else"display"===e.columnDefType&&(e=Object.assign(Object.assign({},r),e));return e}))},u_=(e,t,n)=>{e.getCanPin()&&e.pin(t.getIsPinned());const r=[...n];return r.splice(r.indexOf(t.id),0,r.splice(r.indexOf(e.id),1)[0]),r},d_=e=>{const{filterVariant:t}=e;return"multi-select"===t?"arrIncludesSome":(null==t?void 0:t.includes("range"))?"betweenInclusive":"select"===t||"checkbox"===t?"equals":"fuzzy"},h_=({header:e,table:t})=>{var n;const{options:{columnFilterModeOptions:r}}=t,{column:i}=e,{columnDef:o}=i,{filterVariant:a}=o,s=!(!(null==a?void 0:a.startsWith("date"))&&!(null==a?void 0:a.startsWith("time"))),l="autocomplete"===a,c=(null==a?void 0:a.includes("range"))||["between","betweenInclusive","inNumberRange"].includes(o._filterFn),u="select"===a,d="multi-select"===a,h=["autocomplete","text"].includes(a)||!u&&!d,p=o._filterFn;return{allowedColumnFilterOptions:null!==(n=null==o?void 0:o.columnFilterModeOptions)&&void 0!==n?n:r,currentFilterOption:p,facetedUniqueValues:i.getFacetedUniqueValues(),isAutocompleteFilter:l,isDateFilter:s,isMultiSelectFilter:d,isRangeFilter:c,isSelectFilter:u,isTextboxFilter:h}},p_=({header:e,table:t})=>{const{column:n}=e,{columnDef:r}=n,{facetedUniqueValues:i,isAutocompleteFilter:a,isMultiSelectFilter:s,isSelectFilter:l}=h_({header:e,table:t});return(0,o.useMemo)((()=>{var e;return null!==(e=r.filterSelectOptions)&&void 0!==e?e:(l||s||a)&&i?Array.from(i.keys()).filter((e=>null!=e)).sort(((e,t)=>e.localeCompare(t))):void 0}),[r.filterSelectOptions,i,s,l])},f_= +const Kw={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAINS:3,ACRONYM:2,MATCHES:1,NO_MATCH:0};function Xw(e,t,n){var r;if((n=n||{}).threshold=null!=(r=n.threshold)?r:Kw.MATCHES,!n.accessors){const r=Zw(e,t,n);return{rankedValue:e,rank:r,accessorIndex:-1,accessorThreshold:n.threshold,passed:r>=n.threshold}}const o=function(e,t){const n=[];for(let r=0,o=t.length;r=Kw.MATCHES?a=s:a>l&&(a=l),a=Math.min(a,l),a>=c&&a>i.rank&&(i.rank=a,i.passed=!0,i.accessorIndex=e,i.accessorThreshold=c,i.rankedValue=r.itemValue)}return i}function Zw(e,t,n){return e=Jw(e,n),(t=Jw(t,n)).length>e.length?Kw.NO_MATCH:e===t?Kw.CASE_SENSITIVE_EQUAL:(e=e.toLowerCase())===(t=t.toLowerCase())?Kw.EQUAL:e.startsWith(t)?Kw.STARTS_WITH:e.includes(` ${t}`)?Kw.WORD_STARTS_WITH:e.includes(t)?Kw.CONTAINS:1===t.length?Kw.NO_MATCH:function(e){let t="";return e.split(" ").forEach((e=>{e.split("-").forEach((e=>{t+=e.substr(0,1)}))})),t}(e).includes(t)?Kw.ACRONYM:function(e,t){let n=0,r=0;function o(e,t,r){for(let o=r,i=t.length;o-1))return Kw.NO_MATCH}return i(r-a)}(e,t)}function Jw(e,t){let{keepDiacritics:n}=t;return e=`${e}`,n||(e=e.replace(Yw,(e=>qw[e]))),e}function Qw(e,t){let n=t;"object"==typeof t&&(n=t.accessor);const r=n(e);return null==r?[]:Array.isArray(r)?r:[String(r)]}const eA={maxRanking:1/0,minRanking:-1/0};function tA(e){return"function"==typeof e?eA:{...eA,...e}}const nA=(0,$n.A)((0,F.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"),rA=(0,$n.A)((0,F.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"),oA=(0,h.Ay)("span",{shouldForwardProp:_o.A})({position:"relative",display:"flex"}),iA=(0,h.Ay)(nA)({transform:"scale(1)"}),aA=(0,h.Ay)(rA)((({theme:e,ownerState:t})=>(0,s.A)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})));const sA=function(e){const{checked:t=!1,classes:n={},fontSize:r}=e,o=(0,s.A)({},e,{checked:t});return(0,F.jsxs)(oA,{className:n.root,ownerState:o,children:[(0,F.jsx)(iA,{fontSize:r,className:n.background,ownerState:o}),(0,F.jsx)(aA,{fontSize:r,className:n.dot,ownerState:o})]})};var lA=n(24839);const cA=i.createContext(void 0);function uA(e){return(0,R.Ay)("MuiRadio",e)}const dA=(0,L.A)("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),hA=["checked","checkedIcon","color","icon","name","onChange","size","className"],pA=(0,h.Ay)(aa.A,{shouldForwardProp:e=>(0,_o.A)(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"medium"!==n.size&&t[`size${(0,Ce.A)(n.size)}`],t[`color${(0,Ce.A)(n.color)}`]]}})((({theme:e,ownerState:t})=>(0,s.A)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,qe.X4)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${dA.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${dA.disabled}`]:{color:(e.vars||e).palette.action.disabled}})));const fA=(0,F.jsx)(sA,{checked:!0}),gA=(0,F.jsx)(sA,{}),mA=i.forwardRef((function(e,t){var n,r;const o=(0,T.A)({props:e,name:"MuiRadio"}),{checked:a,checkedIcon:d=fA,color:h="primary",icon:p=gA,name:f,onChange:g,size:m="medium",className:y}=o,v=(0,l.A)(o,hA),b=(0,s.A)({},o,{color:h,size:m}),w=(e=>{const{classes:t,color:n,size:r}=e,o={root:["root",`color${(0,Ce.A)(n)}`,"medium"!==r&&`size${(0,Ce.A)(r)}`]};return(0,s.A)({},t,(0,u.A)(o,uA,t))})(b),A=i.useContext(cA);let x=a;const S=(0,lA.A)(g,A&&A.onChange);let C=f;var E,k;return A&&(void 0===x&&(E=A.value,x="object"==typeof(k=o.value)&&null!==k?E===k:String(E)===String(k)),void 0===C&&(C=A.name)),(0,F.jsx)(pA,(0,s.A)({type:"radio",icon:i.cloneElement(p,{fontSize:null!=(n=gA.props.fontSize)?n:m}),checkedIcon:i.cloneElement(d,{fontSize:null!=(r=fA.props.fontSize)?r:m}),ownerState:b,classes:w,name:C,checked:x,onChange:S,ref:t,className:(0,c.A)(w.root,y)},v))}));var yA=n(96764),vA=n(79674),bA=n(88853),wA=n(43653),AA=n(63012),xA=n(82307),SA=n(25915),CA=n(45483),EA=n(64532),kA=n(44780),TA=n(79084),_A=n(23859),OA=n(22938),PA=n(33219),IA=n(64690),MA=n(51378),LA=n(63097),RA=n(71216),jA=n(93470),FA=n(32482),DA=n(37634),NA=n(2682),zA=n(94224),BA=n(81434),VA=n(64913),$A=n(53456),GA=n(32985),UA=n(74430),WA=n(56091),qA=n(85042),HA=n(38371),YA=n(77521),KA=n(28912),XA=n(54946);function ZA(e,t,n){let r,o=n.initialDeps??[];return()=>{var i,a,s,l;let c;n.key&&(null==(i=n.debug)?void 0:i.call(n))&&(c=Date.now());const u=e(),d=u.length!==o.length||u.some(((e,t)=>o[t]!==e));if(!d)return r;let h;if(o=u,n.key&&(null==(a=n.debug)?void 0:a.call(n))&&(h=Date.now()),r=t(...u),n.key&&(null==(s=n.debug)?void 0:s.call(n))){const e=Math.round(100*(Date.now()-c))/100,t=Math.round(100*(Date.now()-h))/100,r=t/16,o=(e,t)=>{for(e=String(e);e.lengthe,ex=e=>{const t=Math.max(e.startIndex-e.overscan,0),n=Math.min(e.endIndex+e.overscan,e.count-1),r=[];for(let e=t;e<=n;e++)r.push(e);return r},tx=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=e=>{const{width:n,height:r}=e;t({width:Math.round(n),height:Math.round(r)})};if(r(n.getBoundingClientRect()),"undefined"==typeof ResizeObserver)return()=>{};const o=new ResizeObserver((e=>{const t=e[0];if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0];if(e)return void r({width:e.inlineSize,height:e.blockSize})}r(n.getBoundingClientRect())}));return o.observe(n,{box:"border-box"}),()=>{o.unobserve(n)}},nx=(e,t)=>{const n=e.scrollElement;if(!n)return;const r=()=>{t(n[e.options.horizontal?"scrollLeft":"scrollTop"])};return r(),n.addEventListener("scroll",r,{passive:!0}),()=>{n.removeEventListener("scroll",r)}},rx=(e,t,n)=>{if(null==t?void 0:t.borderBoxSize){const e=t.borderBoxSize[0];if(e){return Math.round(e[n.options.horizontal?"inlineSize":"blockSize"])}}return Math.round(e.getBoundingClientRect()[n.options.horizontal?"width":"height"])},ox=(e,{adjustments:t=0,behavior:n},r)=>{var o,i;const a=e+t;null==(i=null==(o=r.scrollElement)?void 0:o.scrollTo)||i.call(o,{[r.options.horizontal?"left":"top"]:a,behavior:n})};class ix{constructor(e){this.unsubs=[],this.scrollElement=null,this.isScrolling=!1,this.isScrollingTimeoutId=null,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollDirection=null,this.scrollAdjustments=0,this.measureElementCache=new Map,this.observer=(()=>{let e=null;const t=()=>e||("undefined"!=typeof ResizeObserver?e=new ResizeObserver((e=>{e.forEach((e=>{this._measureElement(e.target,e)}))})):null);return{disconnect:()=>{var e;return null==(e=t())?void 0:e.disconnect()},observe:e=>{var n;return null==(n=t())?void 0:n.observe(e,{box:"border-box"})},unobserve:e=>{var n;return null==(n=t())?void 0:n.unobserve(e)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach((([t,n])=>{void 0===n&&delete e[t]})),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:QA,rangeExtractor:ex,onChange:()=>{},measureElement:rx,initialRect:{width:0,height:0},scrollMargin:0,gap:0,scrollingDelay:150,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,...e}},this.notify=e=>{var t,n;null==(n=(t=this.options).onChange)||n.call(t,this,e)},this.maybeNotify=ZA((()=>(this.calculateRange(),[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null])),(e=>{this.notify(e)}),{key:!1,debug:()=>this.options.debug,initialDeps:[this.isScrolling,this.range?this.range.startIndex:null,this.range?this.range.endIndex:null]}),this.cleanup=()=>{this.unsubs.filter(Boolean).forEach((e=>e())),this.unsubs=[],this.scrollElement=null},this._didMount=()=>(this.measureElementCache.forEach(this.observer.observe),()=>{this.observer.disconnect(),this.cleanup()}),this._willUpdate=()=>{const e=this.options.getScrollElement();this.scrollElement!==e&&(this.cleanup(),this.scrollElement=e,this._scrollToOffset(this.scrollOffset,{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,(e=>{this.scrollRect=e,this.maybeNotify()}))),this.unsubs.push(this.options.observeElementOffset(this,(e=>{this.scrollAdjustments=0,this.scrollOffset!==e&&(null!==this.isScrollingTimeoutId&&(clearTimeout(this.isScrollingTimeoutId),this.isScrollingTimeoutId=null),this.isScrolling=!0,this.scrollDirection=this.scrollOffset{this.isScrollingTimeoutId=null,this.isScrolling=!1,this.scrollDirection=null,this.maybeNotify()}),this.options.scrollingDelay))}))))},this.getSize=()=>this.scrollRect[this.options.horizontal?"width":"height"],this.memoOptions=ZA((()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey]),((e,t,n,r)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:t,scrollMargin:n,getItemKey:r})),{key:!1}),this.getFurthestMeasurement=(e,t)=>{const n=new Map,r=new Map;for(let o=t-1;o>=0;o--){const t=e[o];if(n.has(t.lane))continue;const i=r.get(t.lane);if(null==i||t.end>i.end?r.set(t.lane,t):t.ende.end===t.end?e.index-t.index:e.end-t.end))[0]:void 0},this.getMeasurements=ZA((()=>[this.memoOptions(),this.itemSizeCache]),(({count:e,paddingStart:t,scrollMargin:n,getItemKey:r},o)=>{const i=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const a=this.measurementsCache.slice(0,i);for(let s=i;sthis.options.debug}),this.calculateRange=ZA((()=>[this.getMeasurements(),this.getSize(),this.scrollOffset]),((e,t,n)=>this.range=e.length>0&&t>0?function({measurements:e,outerSize:t,scrollOffset:n}){const r=e.length-1,o=t=>e[t].start,i=ax(0,r,o,n);let a=i;for(;athis.options.debug}),this.getIndexes=ZA((()=>[this.options.rangeExtractor,this.calculateRange(),this.options.overscan,this.options.count]),((e,t,n,r)=>null===t?[]:e({...t,overscan:n,count:r})),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{const t=this.options.indexAttribute,n=e.getAttribute(t);return n?parseInt(n,10):(console.warn(`Missing attribute name '${t}={index}' on measured element.`),-1)},this._measureElement=(e,t)=>{const n=this.measurementsCache[this.indexFromElement(e)];if(!n||!e.isConnected)return void this.measureElementCache.forEach(((t,n)=>{t===e&&(this.observer.unobserve(e),this.measureElementCache.delete(n))}));const r=this.measureElementCache.get(n.key);r!==e&&(r&&this.observer.unobserve(r),this.observer.observe(e),this.measureElementCache.set(n.key,e));const o=this.options.measureElement(e,t,this);this.resizeItem(n,o)},this.resizeItem=(e,t)=>{const n=t-(this.itemSizeCache.get(e.key)??e.size);0!==n&&((void 0!==this.shouldAdjustScrollPositionOnItemSizeChange?this.shouldAdjustScrollPositionOnItemSizeChange(e,n,this):e.start{e&&this._measureElement(e,void 0)},this.getVirtualItems=ZA((()=>[this.getIndexes(),this.getMeasurements()]),((e,t)=>{const n=[];for(let r=0,o=e.length;rthis.options.debug}),this.getVirtualItemForOffset=e=>{const t=this.getMeasurements();return JA(t[ax(0,t.length-1,(e=>JA(t[e]).start),e)])},this.getOffsetForAlignment=(e,t)=>{const n=this.getSize();"auto"===t&&(t=e<=this.scrollOffset?"start":e>=this.scrollOffset+n?"end":"start"),"start"===t||("end"===t?e-=n:"center"===t&&(e-=n/2));const r=this.options.horizontal?"scrollWidth":"scrollHeight",o=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[r]:this.scrollElement[r]:0)-this.getSize();return Math.max(Math.min(o,e),0)},this.getOffsetForIndex=(e,t="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));const n=JA(this.getMeasurements()[e]);if("auto"===t)if(n.end>=this.scrollOffset+this.getSize()-this.options.scrollPaddingEnd)t="end";else{if(!(n.start<=this.scrollOffset+this.options.scrollPaddingStart))return[this.scrollOffset,t];t="start"}const r="end"===t?n.end+this.options.scrollPaddingEnd:n.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(r,t),t]},this.isDynamicMode=()=>this.measureElementCache.size>0,this.cancelScrollToIndex=()=>{null!==this.scrollToIndexTimeoutId&&(clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:t="start",behavior:n}={})=>{this.cancelScrollToIndex(),"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,t),{adjustments:void 0,behavior:n})},this.scrollToIndex=(e,{align:t="auto",behavior:n}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),"smooth"===n&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const[r,o]=this.getOffsetForIndex(e,t);this._scrollToOffset(r,{adjustments:void 0,behavior:n}),"smooth"!==n&&this.isDynamicMode()&&(this.scrollToIndexTimeoutId=setTimeout((()=>{this.scrollToIndexTimeoutId=null;if(this.measureElementCache.has(this.options.getItemKey(e))){const[i]=this.getOffsetForIndex(e,o);t=i,r=this.scrollOffset,Math.abs(t-r)<1||this.scrollToIndex(e,{align:o,behavior:n})}else this.scrollToIndex(e,{align:o,behavior:n});var t,r})))},this.scrollBy=(e,{behavior:t}={})=>{this.cancelScrollToIndex(),"smooth"===t&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.scrollOffset+e,{adjustments:void 0,behavior:t})},this.getTotalSize=()=>{var e;const t=this.getMeasurements();let n;return n=0===t.length?this.options.paddingStart:1===this.options.lanes?(null==(e=t[t.length-1])?void 0:e.end)??0:Math.max(...t.slice(-this.options.lanes).map((e=>e.end))),n-this.options.scrollMargin+this.options.paddingEnd},this._scrollToOffset=(e,{adjustments:t,behavior:n})=>{this.options.scrollToFn(e,{behavior:n,adjustments:t},this)},this.measure=()=>{this.itemSizeCache=new Map,this.notify(!1)},this.setOptions(e),this.scrollRect=this.options.initialRect,this.scrollOffset="function"==typeof this.options.initialOffset?this.options.initialOffset():this.options.initialOffset,this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach((e=>{this.itemSizeCache.set(e.key,e.size)})),this.maybeNotify()}}const ax=(e,t,n,r)=>{for(;e<=t;){const o=(e+t)/2|0,i=n(o);if(ir))return o;t=o-1}}return e>0?e-1:0};const sx="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function lx(e){const t=i.useReducer((()=>({})),{})[1],n={...e,onChange:(n,r)=>{var o;r?(0,f.flushSync)(t):t(),null==(o=e.onChange)||o.call(e,n,r)}},[r]=i.useState((()=>new ix(n)));return r.setOptions(n),i.useEffect((()=>r._didMount()),[]),sx((()=>r._willUpdate())),r}function cx(e){return lx({observeElementRect:tx,observeElementOffset:nx,scrollToFn:ox,...e})}function ux(e){return(0,R.Ay)("MuiTableContainer",e)}(0,L.A)("MuiTableContainer",["root"]);const dx=["className","component"],hx=(0,h.Ay)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),px=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiTableContainer"}),{className:r,component:o="div"}=n,i=(0,l.A)(n,dx),a=(0,s.A)({},n,{component:o}),d=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},ux,t)})(a);return(0,F.jsx)(hx,(0,s.A)({ref:t,as:o,className:(0,c.A)(d.root,r),ownerState:a},i))}));const fx=i.createContext();function gx(e){return(0,R.Ay)("MuiTable",e)}(0,L.A)("MuiTable",["root","stickyHeader"]);const mx=["className","component","padding","size","stickyHeader"],yx=(0,h.Ay)("table",{name:"MuiTable",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>(0,s.A)({display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":(0,s.A)({},e.typography.body2,{padding:e.spacing(2),color:(e.vars||e).palette.text.secondary,textAlign:"left",captionSide:"bottom"})},t.stickyHeader&&{borderCollapse:"separate"}))),vx="table",bx=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiTable"}),{className:r,component:o=vx,padding:a="normal",size:d="medium",stickyHeader:h=!1}=n,p=(0,l.A)(n,mx),f=(0,s.A)({},n,{component:o,padding:a,size:d,stickyHeader:h}),g=(e=>{const{classes:t,stickyHeader:n}=e,r={root:["root",n&&"stickyHeader"]};return(0,u.A)(r,gx,t)})(f),m=i.useMemo((()=>({padding:a,size:d,stickyHeader:h})),[a,d,h]);return(0,F.jsx)(fx.Provider,{value:m,children:(0,F.jsx)(yx,(0,s.A)({as:o,role:o===vx?null:"table",ref:t,className:(0,c.A)(g.root,r),ownerState:f},p))})}));const wx=i.createContext();function Ax(e){return(0,R.Ay)("MuiTableBody",e)}(0,L.A)("MuiTableBody",["root"]);const xx=["className","component"],Sx=(0,h.Ay)("tbody",{name:"MuiTableBody",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-row-group"}),Cx={variant:"body"},Ex="tbody",kx=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiTableBody"}),{className:r,component:o=Ex}=n,i=(0,l.A)(n,xx),a=(0,s.A)({},n,{component:o}),d=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},Ax,t)})(a);return(0,F.jsx)(wx.Provider,{value:Cx,children:(0,F.jsx)(Sx,(0,s.A)({className:(0,c.A)(d.root,r),as:o,ref:t,role:o===Ex?null:"rowgroup",ownerState:a},i))})}));function Tx(e){return(0,R.Ay)("MuiTableRow",e)}const _x=(0,L.A)("MuiTableRow",["root","selected","hover","head","footer"]),Ox=["className","component","hover","selected"],Px=(0,h.Ay)("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})((({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${_x.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${_x.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,qe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,qe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}}))),Ix="tr",Mx=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiTableRow"}),{className:r,component:o=Ix,hover:a=!1,selected:d=!1}=n,h=(0,l.A)(n,Ox),p=i.useContext(wx),f=(0,s.A)({},n,{component:o,hover:a,selected:d,head:p&&"head"===p.variant,footer:p&&"footer"===p.variant}),g=(e=>{const{classes:t,selected:n,hover:r,head:o,footer:i}=e,a={root:["root",n&&"selected",r&&"hover",o&&"head",i&&"footer"]};return(0,u.A)(a,Tx,t)})(f);return(0,F.jsx)(Px,(0,s.A)({as:o,ref:t,className:(0,c.A)(g.root,r),role:o===Ix?null:"row",ownerState:f},h))})),Lx=Mx;function Rx(e){return(0,R.Ay)("MuiTableCell",e)}const jx=(0,L.A)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]),Fx=["align","className","component","padding","scope","size","sortDirection","variant"],Dx=(0,h.Ay)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${(0,Ce.A)(n.size)}`],"normal"!==n.padding&&t[`padding${(0,Ce.A)(n.padding)}`],"inherit"!==n.align&&t[`align${(0,Ce.A)(n.align)}`],n.stickyHeader&&t.stickyHeader]}})((({theme:e,ownerState:t})=>(0,s.A)({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid\n ${"light"===e.palette.mode?(0,qe.a)((0,qe.X4)(e.palette.divider,1),.88):(0,qe.e$)((0,qe.X4)(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},"head"===t.variant&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},"body"===t.variant&&{color:(e.vars||e).palette.text.primary},"footer"===t.variant&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},"small"===t.size&&{padding:"6px 16px",[`&.${jx.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},"checkbox"===t.padding&&{width:48,padding:"0 0 0 4px"},"none"===t.padding&&{padding:0},"left"===t.align&&{textAlign:"left"},"center"===t.align&&{textAlign:"center"},"right"===t.align&&{textAlign:"right",flexDirection:"row-reverse"},"justify"===t.align&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}))),Nx=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiTableCell"}),{align:r="inherit",className:o,component:a,padding:d,scope:h,size:p,sortDirection:f,variant:g}=n,m=(0,l.A)(n,Fx),y=i.useContext(fx),v=i.useContext(wx),b=v&&"head"===v.variant;let w;w=a||(b?"th":"td");let A=h;"td"===w?A=void 0:!A&&b&&(A="col");const x=g||v&&v.variant,S=(0,s.A)({},n,{align:r,component:w,padding:d||(y&&y.padding?y.padding:"normal"),size:p||(y&&y.size?y.size:"medium"),sortDirection:f,stickyHeader:"head"===x&&y&&y.stickyHeader,variant:x}),C=(e=>{const{classes:t,variant:n,align:r,padding:o,size:i,stickyHeader:a}=e,s={root:["root",n,a&&"stickyHeader","inherit"!==r&&`align${(0,Ce.A)(r)}`,"normal"!==o&&`padding${(0,Ce.A)(o)}`,`size${(0,Ce.A)(i)}`]};return(0,u.A)(s,Rx,t)})(S);let E=null;return f&&(E="asc"===f?"ascending":"descending"),(0,F.jsx)(Dx,(0,s.A)({as:w,ref:t,className:(0,c.A)(C.root,o),"aria-sort":E,scope:A,ownerState:S},m))})),zx=Nx;let Bx=36,Vx="";for(;Bx--;)Vx+=Bx.toString(36);function $x(e=11){let t="",n=e;for(;n--;)t+=Vx[36*Math.random()|0];return t}const Gx=({terms:e,matchExactly:t=!1})=>{try{const n=/^([/~@;%#'])(.*?)\1([gimsuy]*)$/.exec(e);return n?new RegExp(n[2],n[3]):new RegExp((({terms:e,matchExactly:t=!1})=>{if("string"!=typeof e)throw new TypeError("Expected a string");const n=e.trim().replace(/[|\\{}()[\]^$+*?.-]/g,(e=>`\\${e}`));return`(${t?n:(e=>e.replace(/\s{2,}/g," ").split(" ").join("|"))(n)})`})({terms:e,matchExactly:t}),"ig")}catch(e){throw new TypeError("Expected terms to be either a string or a RegExp!")}},Ux=(Wx="match",e=>null!==e&&"object"==typeof e&&Wx in e);var Wx;const qx=e=>void 0!==e;function Hx({curr:e,next:t,prev:n,clipBy:r=3}){const o=e.text.split(" "),i=o.length;if(e.match||r>=i)return e.text;const a="...";return qx(t)&&qx(n)&&Ux(n)&&Ux(t)?i>2*r?[...o.slice(0,r),a,...o.slice(-r)].join(" "):e.text:qx(t)&&Ux(t)?[a,...o.slice(-r)].join(" "):qx(n)&&Ux(n)?[...o.slice(0,r),a].join(" "):e.text}var Yx=Object.defineProperty,Kx=Object.defineProperties,Xx=Object.getOwnPropertyDescriptors,Zx=Object.getOwnPropertySymbols,Jx=Object.prototype.hasOwnProperty,Qx=Object.prototype.propertyIsEnumerable,eS=(e,t,n)=>t in e?Yx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tS=(e,t)=>{for(var n in t||(t={}))Jx.call(t,n)&&eS(e,n,t[n]);if(Zx)for(var n of Zx(t))Qx.call(t,n)&&eS(e,n,t[n]);return e};const nS=e=>e.length>0,rS=({text:e,query:t,clipBy:n,matchExactly:r=!1})=>{const o="string"==typeof t?t.trim():t;if(""===o)return[{key:$x(),text:e,match:!1}];const i=Gx({terms:t,matchExactly:r});return e.split(i).filter(nS).map((e=>({key:$x(),text:e,match:r?e.toLowerCase()===o.toLowerCase():i.test(e)}))).map(((e,t,r)=>{return tS(tS({},e),"number"==typeof n&&{text:Hx((o=tS(tS({curr:e},t0&&{prev:r[t-1]}),i={clipBy:n},Kx(o,Xx(i))))});var o,i}))};function oS(e){return(0,R.Ay)("MuiTextField",e)}(0,L.A)("MuiTextField",["root"]);const iS=["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"],aS={standard:Wm.A,filled:Zm,outlined:sy},sS=(0,h.Ay)(je.A,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),lS=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiTextField"}),{autoComplete:r,autoFocus:o=!1,children:i,className:a,color:d="primary",defaultValue:h,disabled:p=!1,error:f=!1,FormHelperTextProps:g,fullWidth:m=!1,helperText:y,id:v,InputLabelProps:b,inputProps:w,InputProps:A,inputRef:x,label:S,maxRows:C,minRows:E,multiline:k=!1,name:_,onBlur:O,onChange:P,onFocus:I,placeholder:M,required:L=!1,rows:R,select:j=!1,SelectProps:D,type:N,value:z,variant:B="outlined"}=n,V=(0,l.A)(n,iS),$=(0,s.A)({},n,{autoFocus:o,color:d,disabled:p,error:f,fullWidth:m,multiline:k,required:L,select:j,variant:B}),G=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},oS,t)})($);const U={};"outlined"===B&&(b&&void 0!==b.shrink&&(U.notched=b.shrink),U.label=S),j&&(D&&D.native||(U.id=void 0),U["aria-describedby"]=void 0);const W=(0,Fe.A)(v),q=y&&W?`${W}-helper-text`:void 0,H=S&&W?`${W}-label`:void 0,Y=aS[B],K=(0,F.jsx)(Y,(0,s.A)({"aria-describedby":q,autoComplete:r,autoFocus:o,defaultValue:h,fullWidth:m,multiline:k,name:_,rows:R,maxRows:C,minRows:E,type:N,value:z,id:W,inputRef:x,onBlur:O,onChange:P,onFocus:I,placeholder:M,inputProps:w},U,A));return(0,F.jsxs)(sS,(0,s.A)({className:(0,c.A)(G.root,a),disabled:p,error:f,fullWidth:m,ref:t,required:L,color:d,variant:B,ownerState:$},V,{children:[null!=S&&""!==S&&(0,F.jsx)(Tm.A,(0,s.A)({htmlFor:W,id:H},b,{children:S})),j?(0,F.jsx)(gy,(0,s.A)({"aria-describedby":q,id:W,labelId:H,value:z,input:K},D,{children:i})):K,y&&(0,F.jsx)(Ay,(0,s.A)({id:q},g,{children:y}))]}))}));function cS(e){return(0,R.Ay)("MuiTableFooter",e)}(0,L.A)("MuiTableFooter",["root"]);const uS=["className","component"],dS=(0,h.Ay)("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),hS={variant:"footer"},pS="tfoot",fS=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiTableFooter"}),{className:r,component:o=pS}=n,i=(0,l.A)(n,uS),a=(0,s.A)({},n,{component:o}),d=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},cS,t)})(a);return(0,F.jsx)(wx.Provider,{value:hS,children:(0,F.jsx)(dS,(0,s.A)({as:o,className:(0,c.A)(d.root,r),ref:t,role:o===pS?null:"rowgroup",ownerState:a},i))})}));function gS(e){return(0,R.Ay)("MuiTableHead",e)}(0,L.A)("MuiTableHead",["root"]);const mS=["className","component"],yS=(0,h.Ay)("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),vS={variant:"head"},bS="thead",wS=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiTableHead"}),{className:r,component:o=bS}=n,i=(0,l.A)(n,mS),a=(0,s.A)({},n,{component:o}),d=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},gS,t)})(a);return(0,F.jsx)(wx.Provider,{value:vS,children:(0,F.jsx)(yS,(0,s.A)({as:o,className:(0,c.A)(d.root,r),ref:t,role:o===bS?null:"rowgroup",ownerState:a},i))})}));var AS=n(20995);function xS(e){return(0,R.Ay)("MuiInputAdornment",e)}const SS=(0,L.A)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var CS;const ES=["children","className","component","disablePointerEvents","disableTypography","position","variant"],kS=(0,h.Ay)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${(0,Ce.A)(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,s.A)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${SS.positionStart}&:not(.${SS.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),TS=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiInputAdornment"}),{children:r,className:o,component:a="div",disablePointerEvents:d=!1,disableTypography:h=!1,position:p,variant:f}=n,g=(0,l.A)(n,ES),m=(0,Um.A)()||{};let y=f;f&&m.variant,m&&!y&&(y=m.variant);const v=(0,s.A)({},n,{hiddenLabel:m.hiddenLabel,size:m.size,disablePointerEvents:d,position:p,variant:y}),b=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:i,variant:a}=e,s={root:["root",n&&"disablePointerEvents",o&&`position${(0,Ce.A)(o)}`,a,r&&"hiddenLabel",i&&`size${(0,Ce.A)(i)}`]};return(0,u.A)(s,xS,t)})(v);return(0,F.jsx)(AS.A.Provider,{value:null,children:(0,F.jsx)(kS,(0,s.A)({as:a,ownerState:v,className:(0,c.A)(b.root,o),ref:t},g,{children:"string"!=typeof r||h?(0,F.jsxs)(i.Fragment,{children:["start"===p?CS||(CS=(0,F.jsx)("span",{className:"notranslate",children:"​"})):null,r]}):(0,F.jsx)(ji.A,{color:"text.secondary",children:r})}))})}));var _S=n(22300),OS=n.n(_S);const PS=OS().oneOfType([OS().func,OS().object]),IS=(e,t)=>e.length===t.length&&t.every((t=>e.includes(t))),MS=({openTo:e,defaultOpenTo:t,views:n,defaultViews:r})=>{const o=n??r;let i;if(null!=e)i=e;else if(o.includes(t))i=t;else{if(!(o.length>0))throw new Error("MUI X: The `views` prop must contain at least one view.");i=o[0]}return{views:o,openTo:i}},LS=(e,t,n)=>{let r=t;return r=e.setHours(r,e.getHours(n)),r=e.setMinutes(r,e.getMinutes(n)),r=e.setSeconds(r,e.getSeconds(n)),r},RS=({date:e,disableFuture:t,disablePast:n,maxDate:r,minDate:o,isDateDisabled:i,utils:a,timezone:s})=>{const l=LS(a,a.date(void 0,s),e);n&&a.isBefore(o,l)&&(o=l),t&&a.isAfter(r,l)&&(r=l);let c=e,u=e;for(a.isBefore(e,o)&&(c=o,u=null),a.isAfter(e,r)&&(u&&(u=r),c=null);c||u;){if(c&&a.isAfter(c,r)&&(c=null),u&&a.isBefore(u,o)&&(u=null),c){if(!i(c))return c;c=a.addDays(c,1)}if(u){if(!i(u))return u;u=a.addDays(u,-1)}}return null},jS=(e,t,n)=>null!=t&&e.isValid(t)?t:n,FS=(e,t)=>{const n=[e.startOfYear(t)];for(;n.length<12;){const t=n[n.length-1];n.push(e.addMonths(t,1))}return n},DS=(e,t,n)=>"date"===n?e.startOfDay(e.date(void 0,t)):e.date(void 0,t),NS=(e,t)=>{const n=e.setHours(e.date(),"am"===t?2:14);return e.format(n,"meridiem")},zS=["year","month","day"],BS=e=>zS.includes(e),VS=(e,{format:t,views:n},r)=>{if(null!=t)return t;const o=e.formats;return IS(n,["year"])?o.year:IS(n,["month"])?o.month:IS(n,["day"])?o.dayOfMonth:IS(n,["month","year"])?`${o.month} ${o.year}`:IS(n,["day","month"])?`${o.month} ${o.dayOfMonth}`:r?/en/.test(e.getCurrentLocaleCode())?o.normalDateWithWeekday:o.normalDate:o.keyboardDate},$S=(e,t)=>{const n=e.startOfWeek(t);return[0,1,2,3,4,5,6].map((t=>e.addDays(n,t)))},GS=["hours","minutes","seconds"],US=e=>GS.includes(e),WS=e=>GS.includes(e)||"meridiem"===e,qS=(e,t)=>e?t.getHours(e)>=12?"pm":"am":null,HS=(e,t,n)=>{if(n){if((e>=12?"pm":"am")!==t)return"am"===t?e-12:e+12}return e},YS=(e,t,n,r)=>{const o=HS(r.getHours(e),t,n);return r.setHours(e,o)},KS=(e,t)=>3600*t.getHours(e)+60*t.getMinutes(e)+t.getSeconds(e),XS=(e,t)=>(n,r)=>e?t.isAfter(n,r):KS(n,t)>KS(r,t),ZS=(e,{format:t,views:n,ampm:r})=>{if(null!=t)return t;const o=e.formats;return IS(n,["hours"])?r?`${o.hours12h} ${o.meridiem}`:o.hours24h:IS(n,["minutes"])?o.minutes:IS(n,["seconds"])?o.seconds:IS(n,["minutes","seconds"])?`${o.minutes}:${o.seconds}`:IS(n,["hours","minutes","seconds"])?r?`${o.hours12h}:${o.minutes}:${o.seconds} ${o.meridiem}`:`${o.hours24h}:${o.minutes}:${o.seconds}`:r?`${o.hours12h}:${o.minutes} ${o.meridiem}`:`${o.hours24h}:${o.minutes}`},JS={year:1,month:2,day:3,hours:4,minutes:5,seconds:6,milliseconds:7},QS=(e,t,n)=>{if(t===JS.year)return e.startOfYear(n);if(t===JS.month)return e.startOfMonth(n);if(t===JS.day)return e.startOfDay(n);let r=n;return t{const n=e.formatTokenMap[t];if(null==n)throw new Error([`MUI X: The token "${t}" is not supported by the Date and Time Pickers.`,"Please try using another token or open an issue on https://github.com/mui/mui-x/issues/new/choose if you think it should be supported."].join("\n"));return"string"==typeof n?{type:n,contentType:"meridiem"===n?"letter":"digit",maxLength:void 0}:{type:n.sectionType,contentType:n.contentType,maxLength:n.maxLength}},tC=(e,t,n)=>{const r=[],o=e.date(void 0,t),i=e.startOfWeek(o),a=e.endOfWeek(o);let s=i;for(;e.isBefore(s,a);)r.push(s),s=e.addDays(s,1);return r.map((t=>e.formatByString(t,n)))},nC=(e,t,n,r)=>{switch(n){case"month":return FS(e,e.date(void 0,t)).map((t=>e.formatByString(t,r)));case"weekDay":return tC(e,t,r);case"meridiem":{const n=e.date(void 0,t);return[e.startOfDay(n),e.endOfDay(n)].map((t=>e.formatByString(t,r)))}default:return[]}},rC=["0","1","2","3","4","5","6","7","8","9"],oC=(e,t)=>{if("0"===t[0])return e;const n=[];let r="";for(let o=0;o-1&&(n.push(i.toString()),r="")}return n.join("")},iC=(e,t)=>"0"===t[0]?e:e.split("").map((e=>t[Number(e)])).join(""),aC=(e,t)=>{const n=oC(e,t);return!Number.isNaN(Number(n))},sC=(e,t)=>{let n=e;for(n=Number(n).toString();n.length{if("day"===o.type&&"digit-with-letter"===o.contentType){const r=e.setDate(n.longestMonth,t);return e.formatByString(r,o.format)}let i=t.toString();return o.hasLeadingZerosInInput&&(i=sC(i,o.maxLength)),iC(i,r)},cC=(e,t,n,r,o,i,a,s)=>{const l=(e=>{switch(e){case"ArrowUp":return 1;case"ArrowDown":return-1;case"PageUp":return 5;case"PageDown":return-5;default:return 0}})(r),c="Home"===r,u="End"===r,d=""===n.value||c||u;return"digit"===n.contentType||"digit-with-letter"===n.contentType?(()=>{const r=o[n.type]({currentDate:a,format:n.format,contentType:n.contentType}),h=t=>lC(e,t,r,i,n),p="minutes"===n.type&&s?.minutesStep?s.minutesStep:1;let f=parseInt(oC(n.value,i),10)+l*p;if(d){if("year"===n.type&&!u&&!c)return e.formatByString(e.date(void 0,t),n.format);f=l>0||c?r.minimum:r.maximum}return f%p!=0&&((l<0||c)&&(f+=p-(p+f)%p),(l>0||u)&&(f-=f%p)),f>r.maximum?h(r.minimum+(f-r.maximum-1)%(r.maximum-r.minimum+1)):f{const r=nC(e,t,n.type,n.format);if(0===r.length)return n.value;if(d)return l>0||c?r[0]:r[r.length-1];const o=r.indexOf(n.value);return r[((o+l)%r.length+r.length)%r.length]})()},uC=(e,t,n)=>{let r=e.value||e.placeholder;const o="non-input"===t?e.hasLeadingZerosInFormat:e.hasLeadingZerosInInput;"non-input"===t&&e.hasLeadingZerosInInput&&!e.hasLeadingZerosInFormat&&(r=Number(oC(r,n)).toString());return["input-rtl","input-ltr"].includes(t)&&"digit"===e.contentType&&!o&&1===r.length&&(r=`${r}‎`),"input-rtl"===t&&(r=`⁨${r}⁩`),r},dC=(e,t,n,r)=>e.formatByString(e.parse(t,n),r),hC=(e,t,n)=>4===e.formatByString(e.date(void 0,t),n).length,pC=(e,t,n,r,o)=>{if("digit"!==n)return!1;const i=e.date(void 0,t);switch(r){case"year":if(hC(e,t,o)){return"0001"===e.formatByString(e.setYear(i,1),o)}return"01"===e.formatByString(e.setYear(i,2001),o);case"month":return e.formatByString(e.startOfYear(i),o).length>1;case"day":return e.formatByString(e.startOfMonth(i),o).length>1;case"weekDay":return e.formatByString(e.startOfWeek(i),o).length>1;case"hours":return e.formatByString(e.setHours(i,1),o).length>1;case"minutes":return e.formatByString(e.setMinutes(i,1),o).length>1;case"seconds":return e.formatByString(e.setSeconds(i,1),o).length>1;default:throw new Error("Invalid section type")}};const fC=(e,t)=>{0},gC={year:1,month:2,day:3,weekDay:4,hours:5,minutes:6,seconds:7,meridiem:8,empty:9},mC=(e,t,n,r,o,i)=>[...r].sort(((e,t)=>gC[e.type]-gC[t.type])).reduce(((r,o)=>!i||o.modified?((e,t,n,r,o)=>{switch(n.type){case"year":return e.setYear(o,e.getYear(r));case"month":return e.setMonth(o,e.getMonth(r));case"weekDay":{const o=tC(e,t,n.format),i=e.formatByString(r,n.format),a=o.indexOf(i),s=o.indexOf(n.value)-a;return e.addDays(r,s)}case"day":return e.setDate(o,e.getDate(r));case"meridiem":{const t=e.getHours(r)<12,n=e.getHours(o);return t&&n>=12?e.addHours(o,-12):!t&&n<12?e.addHours(o,12):o}case"hours":return e.setHours(o,e.getHours(r));case"minutes":return e.setMinutes(o,e.getMinutes(r));case"seconds":return e.setSeconds(o,e.getSeconds(r));default:return o}})(e,t,o,n,r):r),o),yC=(e,t)=>null==e?null:"all"===e?"all":"string"==typeof e?t.findIndex((t=>t.type===e)):e,vC=(e,t)=>{if(e.value)switch(e.type){case"month":{if("digit"===e.contentType)return t.format(t.setMonth(t.date(),Number(e.value)-1),"month");const n=t.parse(e.value,e.format);return n?t.format(n,"month"):void 0}case"day":return"digit"===e.contentType?t.format(t.setDate(t.startOfYear(t.date()),Number(e.value)),"dayOfMonthFull"):e.value;default:return}},bC=(e,t)=>{if(e.value)switch(e.type){case"weekDay":if("letter"===e.contentType)return;return Number(e.value);case"meridiem":{const n=t.parse(`01:00 ${e.value}`,`${t.formats.hours12h}:${t.formats.minutes} ${e.format}`);return n?t.getHours(n)>=12?1:0:void 0}case"day":return"digit-with-letter"===e.contentType?parseInt(e.value,10):Number(e.value);case"month":{if("digit"===e.contentType)return Number(e.value);const n=t.parse(e.value,e.format);return n?t.getMonth(n)+1:void 0}default:return"letter"!==e.contentType?Number(e.value):void 0}},wC=["value","referenceDate"],AC={emptyValue:null,getTodayValue:DS,getInitialReferenceValue:e=>{let{value:t,referenceDate:n}=e,r=(0,l.A)(e,wC);return null!=t&&r.utils.isValid(t)?t:null!=n?n:(({props:e,utils:t,granularity:n,timezone:r,getTodayDate:o})=>{let i=o?o():QS(t,n,DS(t,r));null!=e.minDate&&t.isAfterDay(e.minDate,i)&&(i=QS(t,n,e.minDate)),null!=e.maxDate&&t.isBeforeDay(e.maxDate,i)&&(i=QS(t,n,e.maxDate));const a=XS(e.disableIgnoringDatePartForTimeValidation??!1,t);return null!=e.minTime&&a(e.minTime,i)&&(i=QS(t,n,e.disableIgnoringDatePartForTimeValidation?e.minTime:LS(t,i,e.minTime))),null!=e.maxTime&&a(i,e.maxTime)&&(i=QS(t,n,e.disableIgnoringDatePartForTimeValidation?e.maxTime:LS(t,i,e.maxTime))),i})(r)},cleanValue:(e,t)=>null!=t&&e.isValid(t)?t:null,areValuesEqual:(e,t,n)=>!e.isValid(t)&&null!=t&&!e.isValid(n)&&null!=n||e.isEqual(t,n),isSameError:(e,t)=>e===t,hasError:e=>null!=e,defaultErrorState:null,getTimezone:(e,t)=>null!=t&&e.isValid(t)?e.getTimezone(t):null,setTimezone:(e,t,n)=>null==n?null:e.setTimezone(n,t)},xC={updateReferenceValue:(e,t,n)=>null!=t&&e.isValid(t)?t:n,getSectionsFromValue:(e,t,n,r)=>!e.isValid(t)&&!!n?n:r(t),getV7HiddenInputValueFromSections:e=>e.map((e=>`${e.startSeparator}${e.value||e.placeholder}${e.endSeparator}`)).join(""),getV6InputValueFromSections:(e,t,n)=>{const r=e.map((e=>{const r=uC(e,n?"input-rtl":"input-ltr",t);return`${e.startSeparator}${r}${e.endSeparator}`})).join("");return n?`⁦${r}⁩`:r},getActiveDateManager:(e,t)=>({date:t.value,referenceDate:t.referenceValue,getSections:e=>e,getNewValuesFromNewActiveDate:n=>({value:n,referenceValue:null!=n&&e.isValid(n)?n:t.referenceValue})}),parseValueStr:(e,t,n)=>n(e.trim(),t)};var SC=n(80118);const CC={previousMonth:"Previous month",nextMonth:"Next month",openPreviousView:"Open previous view",openNextView:"Open next view",calendarViewSwitchingButtonAriaLabel:e=>"year"===e?"year view is open, switch to calendar view":"calendar view is open, switch to year view",start:"Start",end:"End",startDate:"Start date",startTime:"Start time",endDate:"End date",endTime:"End time",cancelButtonLabel:"Cancel",clearButtonLabel:"Clear",okButtonLabel:"OK",todayButtonLabel:"Today",datePickerToolbarTitle:"Select date",dateTimePickerToolbarTitle:"Select date & time",timePickerToolbarTitle:"Select time",dateRangePickerToolbarTitle:"Select date range",clockLabelText:(e,t,n)=>`Select ${e}. ${null===t?"No time selected":`Selected time is ${n.format(t,"fullTime")}`}`,hoursClockNumberText:e=>`${e} hours`,minutesClockNumberText:e=>`${e} minutes`,secondsClockNumberText:e=>`${e} seconds`,selectViewText:e=>`Select ${e}`,calendarWeekNumberHeaderLabel:"Week number",calendarWeekNumberHeaderText:"#",calendarWeekNumberAriaLabelText:e=>`Week ${e}`,calendarWeekNumberText:e=>`${e}`,openDatePickerDialogue:(e,t)=>null!==e&&t.isValid(e)?`Choose date, selected date is ${t.format(e,"fullDate")}`:"Choose date",openTimePickerDialogue:(e,t)=>null!==e&&t.isValid(e)?`Choose time, selected time is ${t.format(e,"fullTime")}`:"Choose time",fieldClearLabel:"Clear value",timeTableLabel:"pick time",dateTableLabel:"pick date",fieldYearPlaceholder:e=>"Y".repeat(e.digitAmount),fieldMonthPlaceholder:e=>"letter"===e.contentType?"MMMM":"MM",fieldDayPlaceholder:()=>"DD",fieldWeekDayPlaceholder:e=>"letter"===e.contentType?"EEEE":"EE",fieldHoursPlaceholder:()=>"hh",fieldMinutesPlaceholder:()=>"mm",fieldSecondsPlaceholder:()=>"ss",fieldMeridiemPlaceholder:()=>"aa",year:"Year",month:"Month",day:"Day",weekDay:"Week day",hours:"Hours",minutes:"Minutes",seconds:"Seconds",meridiem:"Meridiem",empty:"Empty"},EC=CC;kC=CC,(0,s.A)({},kC);var kC;const TC=()=>{const e=i.useContext(SC.F);if(null===e)throw new Error(["MUI X: Can not find the date and time pickers localization context.","It looks like you forgot to wrap your component in LocalizationProvider.","This can also happen if you are bundling multiple versions of the `@mui/x-date-pickers` package"].join("\n"));if(null===e.utils)throw new Error(["MUI X: Can not find the date and time pickers adapter from its localization context.","It looks like you forgot to pass a `dateAdapter` to your LocalizationProvider."].join("\n"));const t=i.useMemo((()=>(0,s.A)({},EC,e.localeText)),[e.localeText]);return i.useMemo((()=>(0,s.A)({},e,{localeText:t})),[e,t])},_C=()=>TC().utils,OC=()=>TC().defaultDates,PC=()=>TC().localeText,IC=e=>{const t=_C(),n=i.useRef();return void 0===n.current&&(n.current=t.date(void 0,e)),n.current};function MC(e){return(0,R.Ay)("MuiPickersToolbar",e)}const LC=(0,L.A)("MuiPickersToolbar",["root","content"]),RC=["children","className","toolbarTitle","hidden","titleId","isLandscape","classes","landscapeDirection"],jC=(0,h.Ay)("div",{name:"MuiPickersToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",flexDirection:"column",alignItems:"flex-start",justifyContent:"space-between",padding:e.spacing(2,3),variants:[{props:{isLandscape:!0},style:{height:"auto",maxWidth:160,padding:16,justifyContent:"flex-start",flexWrap:"wrap"}}]}))),FC=(0,h.Ay)("div",{name:"MuiPickersToolbar",slot:"Content",overridesResolver:(e,t)=>t.content})({display:"flex",flexWrap:"wrap",width:"100%",flex:1,justifyContent:"space-between",alignItems:"center",flexDirection:"row",variants:[{props:{isLandscape:!0},style:{justifyContent:"flex-start",alignItems:"flex-start",flexDirection:"column"}},{props:{isLandscape:!0,landscapeDirection:"row"},style:{flexDirection:"row"}}]}),DC=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiPickersToolbar"}),{children:r,className:o,toolbarTitle:i,hidden:a,titleId:d}=n,h=(0,l.A)(n,RC),p=n,f=(e=>{const{classes:t,isLandscape:n}=e,r={root:["root"],content:["content"],penIconButton:["penIconButton",n&&"penIconButtonLandscape"]};return(0,u.A)(r,MC,t)})(p);return a?null:(0,F.jsxs)(jC,(0,s.A)({ref:t,className:(0,c.A)(f.root,o),ownerState:p},h,{children:[(0,F.jsx)(ji.A,{color:"text.secondary",variant:"overline",id:d,children:i}),(0,F.jsx)(FC,{className:f.content,ownerState:p,children:r})]}))}));function NC(e){return(0,R.Ay)("MuiDatePickerToolbar",e)}(0,L.A)("MuiDatePickerToolbar",["root","title"]);const zC=["value","isLandscape","onChange","toolbarFormat","toolbarPlaceholder","views","className","onViewChange","view"],BC=(0,h.Ay)(DC,{name:"MuiDatePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),VC=(0,h.Ay)(ji.A,{name:"MuiDatePickerToolbar",slot:"Title",overridesResolver:(e,t)=>t.title})({variants:[{props:{isLandscape:!0},style:{margin:"auto 16px auto auto"}}]}),$C=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiDatePickerToolbar"}),{value:r,isLandscape:o,toolbarFormat:a,toolbarPlaceholder:d="––",views:h,className:p}=n,f=(0,l.A)(n,zC),g=_C(),m=PC(),y=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],title:["title"]},NC,t)})(n),v=i.useMemo((()=>{if(!r)return d;const e=VS(g,{format:a,views:h},!0);return g.formatByString(r,e)}),[r,a,d,g,h]),b=n;return(0,F.jsx)(BC,(0,s.A)({ref:t,toolbarTitle:m.datePickerToolbarTitle,isLandscape:o,className:(0,c.A)(y.root,p)},f,{children:(0,F.jsx)(VC,{variant:"h4",align:o?"left":"center",ownerState:b,className:y.title,children:v})}))}));function GC(e,t){const n=_C(),r=OC(),o=(0,T.A)({props:e,name:t}),a=i.useMemo((()=>null==o.localeText?.toolbarTitle?o.localeText:(0,s.A)({},o.localeText,{datePickerToolbarTitle:o.localeText.toolbarTitle})),[o.localeText]);return(0,s.A)({},o,{localeText:a},MS({views:o.views,openTo:o.openTo,defaultViews:["year","day"],defaultOpenTo:"day"}),{disableFuture:o.disableFuture??!1,disablePast:o.disablePast??!1,minDate:jS(n,o.minDate,r.minDate),maxDate:jS(n,o.maxDate,r.maxDate),slots:(0,s.A)({toolbar:$C},o.slots)})}const UC=({props:e,value:t,adapter:n})=>{if(null===t)return null;const{shouldDisableDate:r,shouldDisableMonth:o,shouldDisableYear:i,disablePast:a,disableFuture:s,timezone:l}=e,c=n.utils.date(void 0,l),u=jS(n.utils,e.minDate,n.defaultDates.minDate),d=jS(n.utils,e.maxDate,n.defaultDates.maxDate);switch(!0){case!n.utils.isValid(t):return"invalidDate";case Boolean(r&&r(t)):return"shouldDisableDate";case Boolean(o&&o(t)):return"shouldDisableMonth";case Boolean(i&&i(t)):return"shouldDisableYear";case Boolean(s&&n.utils.isAfterDay(t,c)):return"disableFuture";case Boolean(a&&n.utils.isBeforeDay(t,c)):return"disablePast";case Boolean(u&&n.utils.isBeforeDay(t,u)):return"minDate";case Boolean(d&&n.utils.isAfterDay(t,d)):return"maxDate";default:return null}};function WC(e){return(0,R.Ay)("MuiPickersPopper",e)}(0,L.A)("MuiPickersPopper",["root","paper"]);function qC(e,t){return Array.isArray(t)?t.every((t=>-1!==e.indexOf(t))):-1!==e.indexOf(t)}const HC=(e=document)=>{const t=e.activeElement;return t?t.shadowRoot?HC(t.shadowRoot):t:null},YC="@media (pointer: fine)",KC="undefined"!=typeof navigator&&navigator.userAgent.match(/android\s(\d+)|OS\s(\d+)/i),XC=KC&&KC[1]?parseInt(KC[1],10):null,ZC=KC&&KC[2]?parseInt(KC[2],10):null,JC=XC&&XC<10||ZC&&ZC<13||!1,QC=()=>(0,Qr.A)("@media (prefers-reduced-motion: reduce)",{defaultMatches:!1})||JC,eE=["PaperComponent","popperPlacement","ownerState","children","paperSlotProps","paperClasses","onPaperClick","onPaperTouchStart"],tE=(0,h.Ay)(In,{name:"MuiPickersPopper",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({zIndex:e.zIndex.modal}))),nE=(0,h.Ay)(G.A,{name:"MuiPickersPopper",slot:"Paper",overridesResolver:(e,t)=>t.paper})({outline:0,transformOrigin:"top center",variants:[{props:({placement:e})=>["top","top-start","top-end"].includes(e),style:{transformOrigin:"bottom center"}}]});const rE=i.forwardRef(((e,t)=>{const{PaperComponent:n,popperPlacement:r,ownerState:o,children:i,paperSlotProps:a,paperClasses:c,onPaperClick:u,onPaperTouchStart:d}=e,h=(0,l.A)(e,eE),p=(0,s.A)({},o,{placement:r}),f=(0,mn.Q)({elementType:n,externalSlotProps:a,additionalProps:{tabIndex:-1,elevation:8,ref:t},className:c,ownerState:p});return(0,F.jsx)(n,(0,s.A)({},h,f,{onClick:e=>{u(e),f.onClick?.(e)},onTouchStart:e=>{d(e),f.onTouchStart?.(e)},ownerState:p,children:i}))}));function oE(e){const t=(0,T.A)({props:e,name:"MuiPickersPopper"}),{anchorEl:n,children:r,containerRef:o=null,shouldRestoreFocus:a,onBlur:l,onDismiss:c,open:d,role:h,placement:p,slots:f,slotProps:g,reduceAnimations:m}=t;i.useEffect((()=>{function e(e){d&&"Escape"===e.key&&c()}return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}}),[c,d]);const y=i.useRef(null);i.useEffect((()=>{"tooltip"===h||a&&!a()||(d?y.current=HC(document):y.current&&y.current instanceof HTMLElement&&setTimeout((()=>{y.current instanceof HTMLElement&&y.current.focus()})))}),[d,h,a]);const[v,b,w]=function(e,t){const n=i.useRef(!1),r=i.useRef(!1),o=i.useRef(null),a=i.useRef(!1);i.useEffect((()=>{if(e)return document.addEventListener("mousedown",t,!0),document.addEventListener("touchstart",t,!0),()=>{document.removeEventListener("mousedown",t,!0),document.removeEventListener("touchstart",t,!0),a.current=!1};function t(){a.current=!0}}),[e]);const s=(0,ze.A)((e=>{if(!a.current)return;const i=r.current;r.current=!1;const s=(0,Ye.A)(o.current);if(!o.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth-1:!s.documentElement.contains(e.target)||o.current.contains(e.target),l||i||t(e)})),l=()=>{r.current=!0};return i.useEffect((()=>{if(e){const e=(0,Ye.A)(o.current),t=()=>{n.current=!0};return e.addEventListener("touchstart",s),e.addEventListener("touchmove",t),()=>{e.removeEventListener("touchstart",s),e.removeEventListener("touchmove",t)}}}),[e,s]),i.useEffect((()=>{if(e){const e=(0,Ye.A)(o.current);return e.addEventListener("click",s),()=>{e.removeEventListener("click",s),r.current=!1}}}),[e,s]),[o,l,l]}(d,l??c),A=i.useRef(null),x=(0,q.A)(A,o),S=(0,q.A)(x,v),C=t,E=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],paper:["paper"]},WC,t)})(C),k=QC(),_=m??k,O=f?.desktopTransition??_?ko:ao,P=f?.desktopTrapFocus??ns,I=f?.desktopPaper??nE,M=f?.popper??tE,L=(0,mn.Q)({elementType:M,externalSlotProps:g?.popper,additionalProps:{transition:!0,role:h,open:d,anchorEl:n,placement:p,onKeyDown:e=>{"Escape"===e.key&&(e.stopPropagation(),c())}},className:E.root,ownerState:t});return(0,F.jsx)(M,(0,s.A)({},L,{children:({TransitionProps:e,placement:t})=>(0,F.jsx)(P,(0,s.A)({open:d,disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:"tooltip"===h,isEnabled:()=>!0},g?.desktopTrapFocus,{children:(0,F.jsx)(O,(0,s.A)({},e,g?.desktopTransition,{children:(0,F.jsx)(rE,{PaperComponent:I,ownerState:C,popperPlacement:t,ref:S,onPaperClick:b,onPaperTouchStart:w,paperClasses:E.paper,paperSlotProps:g?.desktopPaper,children:r})}))}))}))}function iE(e,t,n,r){const{value:o,onError:a}=e,s=TC(),l=i.useRef(r),c=t({adapter:s,value:o,props:e});return i.useEffect((()=>{a&&!n(c,l.current)&&a(c,o),l.current=c}),[n,a,l,c,o]),c}const aE=({timezone:e,value:t,defaultValue:n,onChange:r,valueManager:o})=>{const a=_C(),s=i.useRef(n),l=t??s.current??o.emptyValue,c=i.useMemo((()=>o.getTimezone(a,l)),[a,o,l]),u=(0,ze.A)((e=>null==c?e:o.setTimezone(a,c,e))),d=e??c??"default";return{value:i.useMemo((()=>o.setTimezone(a,d,l)),[o,a,d,l]),handleValueChange:(0,ze.A)(((e,...t)=>{const n=u(e);r?.(n,...t)})),timezone:d}},sE=({name:e,timezone:t,value:n,defaultValue:r,onChange:o,valueManager:i})=>{const[a,s]=(0,De.A)({name:e,state:"value",controlled:n,default:r??i.emptyValue}),l=(0,ze.A)(((e,...t)=>{s(e),o?.(e,...t)}));return aE({timezone:t,value:a,defaultValue:void 0,onChange:l,valueManager:i})},lE=({props:e,valueManager:t,valueType:n,wrapperVariant:r,validator:o})=>{const{onAccept:a,onChange:l,value:c,defaultValue:u,closeOnSelect:d="desktop"===r,timezone:h}=e,{current:p}=i.useRef(u),{current:f}=i.useRef(void 0!==c);const g=_C(),m=TC(),{isOpen:y,setIsOpen:v}=(({open:e,onOpen:t,onClose:n})=>{const r=i.useRef("boolean"==typeof e).current,[o,a]=i.useState(!1);return i.useEffect((()=>{if(r){if("boolean"!=typeof e)throw new Error("You must not mix controlling and uncontrolled mode for `open` prop");a(e)}}),[r,e]),{isOpen:o,setIsOpen:i.useCallback((e=>{r||a(e),e&&t&&t(),!e&&n&&n()}),[r,t,n])}})(e),[b,w]=i.useState((()=>{let e;return e=void 0!==c?c:void 0!==p?p:t.emptyValue,{draft:e,lastPublishedValue:e,lastCommittedValue:e,lastControlledValue:c,hasBeenModifiedSinceMount:!1}})),{timezone:A,handleValueChange:x}=aE({timezone:h,value:c,defaultValue:p,onChange:l,valueManager:t});iE((0,s.A)({},e,{value:b.draft,timezone:A}),o,t.isSameError,t.defaultErrorState);const S=(0,ze.A)((n=>{const r={action:n,dateState:b,hasChanged:e=>!t.areValuesEqual(g,n.value,e),isControlled:f,closeOnSelect:d},i=(e=>{const{action:t,hasChanged:n,dateState:r,isControlled:o}=e,i=!o&&!r.hasBeenModifiedSinceMount;return"setValueFromField"===t.name||("setValueFromAction"===t.name?!(!i||!["accept","today","clear"].includes(t.pickerAction))||n(r.lastPublishedValue):("setValueFromView"===t.name&&"shallow"!==t.selectionState||"setValueFromShortcut"===t.name)&&(!!i||n(r.lastPublishedValue)))})(r),l=(e=>{const{action:t,hasChanged:n,dateState:r,isControlled:o,closeOnSelect:i}=e,a=!o&&!r.hasBeenModifiedSinceMount;return"setValueFromAction"===t.name?!(!a||!["accept","today","clear"].includes(t.pickerAction))||n(r.lastCommittedValue):"setValueFromView"===t.name&&"finish"===t.selectionState&&i?!!a||n(r.lastCommittedValue):"setValueFromShortcut"===t.name&&"accept"===t.changeImportance&&n(r.lastCommittedValue)})(r),c=(e=>{const{action:t,closeOnSelect:n}=e;return"setValueFromAction"===t.name||("setValueFromView"===t.name?"finish"===t.selectionState&&n:"setValueFromShortcut"===t.name&&"accept"===t.changeImportance)})(r);if(w((e=>(0,s.A)({},e,{draft:n.value,lastPublishedValue:i?n.value:e.lastPublishedValue,lastCommittedValue:l?n.value:e.lastCommittedValue,hasBeenModifiedSinceMount:!0}))),i){const t={validationError:"setValueFromField"===n.name?n.context.validationError:o({adapter:m,value:n.value,props:(0,s.A)({},e,{value:n.value,timezone:A})})};"setValueFromShortcut"===n.name&&(t.shortcut=n.shortcut),x(n.value,t)}l&&a&&a(n.value),c&&v(!1)}));if(void 0!==c&&(void 0===b.lastControlledValue||!t.areValuesEqual(g,b.lastControlledValue,c))){const e=t.areValuesEqual(g,b.draft,c);w((t=>(0,s.A)({},t,{lastControlledValue:c},e?{}:{lastCommittedValue:c,lastPublishedValue:c,draft:c,hasBeenModifiedSinceMount:!0})))}const C=(0,ze.A)((()=>{S({value:t.emptyValue,name:"setValueFromAction",pickerAction:"clear"})})),E=(0,ze.A)((()=>{S({value:b.lastPublishedValue,name:"setValueFromAction",pickerAction:"accept"})})),k=(0,ze.A)((()=>{S({value:b.lastPublishedValue,name:"setValueFromAction",pickerAction:"dismiss"})})),T=(0,ze.A)((()=>{S({value:b.lastCommittedValue,name:"setValueFromAction",pickerAction:"cancel"})})),_=(0,ze.A)((()=>{S({value:t.getTodayValue(g,A,n),name:"setValueFromAction",pickerAction:"today"})})),O=(0,ze.A)((e=>{e.preventDefault(),v(!0)})),P=(0,ze.A)((e=>{e?.preventDefault(),v(!1)})),I=(0,ze.A)(((e,t="partial")=>S({name:"setValueFromView",value:e,selectionState:t}))),M=(0,ze.A)(((e,t,n)=>S({name:"setValueFromShortcut",value:e,changeImportance:t,shortcut:n}))),L=(0,ze.A)(((e,t)=>S({name:"setValueFromField",value:e,context:t}))),R={onClear:C,onAccept:E,onDismiss:k,onCancel:T,onSetToday:_,onOpen:O,onClose:P},j={value:b.draft,onChange:L},F=i.useMemo((()=>t.cleanValue(g,b.draft)),[g,t,b.draft]);return{open:y,fieldProps:j,viewProps:{value:F,onChange:I,onClose:P,open:y},layoutProps:(0,s.A)({},R,{value:F,onChange:I,onSelectShortcut:M,isValid:n=>{const r=o({adapter:m,value:n,props:(0,s.A)({},e,{value:n,timezone:A})});return!t.hasError(r)}}),actions:R}};function cE({onChange:e,onViewChange:t,openTo:n,view:r,views:o,autoFocus:a,focusedView:s,onFocusedViewChange:l}){const c=i.useRef(n),u=i.useRef(o),d=i.useRef(o.includes(n)?n:o[0]),[h,p]=(0,De.A)({name:"useViews",state:"view",controlled:r,default:d.current}),f=i.useRef(a?h:null),[g,m]=(0,De.A)({name:"useViews",state:"focusedView",controlled:s,default:f.current});i.useEffect((()=>{(c.current&&c.current!==n||u.current&&u.current.some((e=>!o.includes(e))))&&(p(o.includes(n)?n:o[0]),u.current=o,c.current=n)}),[n,p,h,o]);const y=o.indexOf(h),v=o[y-1]??null,b=o[y+1]??null,w=(0,ze.A)(((e,t)=>{m(t?e:t=>e===t?null:t),l?.(e,t)})),A=(0,ze.A)((e=>{w(e,!0),e!==h&&(p(e),t&&t(e))})),x=(0,ze.A)((()=>{b&&A(b)})),S=(0,ze.A)(((t,n,r)=>{const i="finish"===n,a=r?o.indexOf(r){const{orientation:o}=e,a=((e,t)=>{const[n,r]=i.useState(dE);return(0,He.A)((()=>{const e=()=>{r(dE())};return window.addEventListener("orientationchange",e),()=>{window.removeEventListener("orientationchange",e)}}),[]),!qC(e,["hours","minutes","seconds"])&&"landscape"===(t||n)})(n.views,o),l=(0,eo.I)();return{layoutProps:(0,s.A)({},n,t,{isLandscape:a,isRtl:l,wrapperVariant:r,disabled:e.disabled,readOnly:e.readOnly})}};(0,n(89192).f)(["The `renderInput` prop has been removed in version 6.0 of the Date and Time Pickers.","You can replace it with the `textField` component slot in most cases.","For more information, please have a look at the migration guide (https://mui.com/x/migration/migration-pickers-v5/#input-renderer-required-in-v5)."]);const pE=({props:e,valueManager:t,valueType:n,wrapperVariant:r,additionalViewProps:o,validator:a,autoFocusView:c,rendererInterceptor:u,fieldRef:d})=>{const h=lE({props:e,valueManager:t,valueType:n,wrapperVariant:r,validator:a}),p=(({props:e,propsFromPickerValue:t,additionalViewProps:n,autoFocusView:r,rendererInterceptor:o,fieldRef:a})=>{const{onChange:c,open:u,onClose:d}=t,{views:h,openTo:p,onViewChange:f,viewRenderers:g,timezone:m}=e,y=(0,l.A)(e,uE),{view:v,setView:b,defaultView:w,focusedView:A,setFocusedView:x,setValueAndGoToNextView:S}=cE({view:void 0,views:h,openTo:p,onChange:c,onViewChange:f,autoFocus:r}),{hasUIView:C,viewModeLookup:E}=i.useMemo((()=>h.reduce(((e,t)=>{let n;return n=null!=g[t]?"UI":"field",e.viewModeLookup[t]=n,"UI"===n&&(e.hasUIView=!0),e}),{hasUIView:!1,viewModeLookup:{}})),[g,h]),k=i.useMemo((()=>h.reduce(((e,t)=>null!=g[t]&&US(t)?e+1:e),0)),[g,h]),T=E[v],_=(0,ze.A)((()=>"UI"===T)),[O,P]=i.useState("UI"===T?v:null);return O!==v&&"UI"===E[v]&&P(v),(0,He.A)((()=>{"field"===T&&u&&(d(),setTimeout((()=>{a?.current?.setSelectedSections(v),a?.current?.focusField(v)})))}),[v]),(0,He.A)((()=>{if(!u)return;let e=v;"field"===T&&null!=O&&(e=O),e!==w&&"UI"===E[e]&&"UI"===E[w]&&(e=w),e!==v&&b(e),x(e,!0)}),[u]),{hasUIView:C,shouldRestoreFocus:_,layoutProps:{views:h,view:O,onViewChange:b},renderCurrentView:()=>{if(null==O)return null;const e=g[O];if(null==e)return null;const r=(0,s.A)({},y,n,t,{views:h,timezone:m,onChange:S,view:O,onViewChange:b,focusedView:A,onFocusedViewChange:x,showViewSwitcher:k>1,timeViewsCount:k});return o?o(g,O,r):e(r)}}})({props:e,additionalViewProps:o,autoFocusView:c,fieldRef:d,propsFromPickerValue:h.viewProps,rendererInterceptor:u}),f=hE({props:e,wrapperVariant:r,propsFromPickerValue:h.layoutProps,propsFromPickerViews:p.layoutProps});return{open:h.open,actions:h.actions,fieldProps:h.fieldProps,renderCurrentView:p.renderCurrentView,hasUIView:p.hasUIView,shouldRestoreFocus:p.shouldRestoreFocus,layoutProps:f.layoutProps}};function fE(e){return(0,R.Ay)("MuiPickersLayout",e)}const gE=(0,L.A)("MuiPickersLayout",["root","landscape","contentWrapper","toolbar","actionBar","tabs","shortcuts"]),mE=["onAccept","onClear","onCancel","onSetToday","actions"];function yE(e){const{onAccept:t,onClear:n,onCancel:r,onSetToday:o,actions:i}=e,a=(0,l.A)(e,mE),c=PC();if(null==i||0===i.length)return null;const u=i?.map((e=>{switch(e){case"clear":return(0,F.jsx)(No,{onClick:n,children:c.clearButtonLabel},e);case"cancel":return(0,F.jsx)(No,{onClick:r,children:c.cancelButtonLabel},e);case"accept":return(0,F.jsx)(No,{onClick:t,children:c.okButtonLabel},e);case"today":return(0,F.jsx)(No,{onClick:o,children:c.todayButtonLabel},e);default:return null}}));return(0,F.jsx)(xu,(0,s.A)({},a,{children:u}))}const vE=320,bE=336,wE=48,AE=["items","changeImportance","isLandscape","onChange","isValid"],xE=["getValue"];function SE(e){const{items:t,changeImportance:n="accept",onChange:r,isValid:o}=e,i=(0,l.A)(e,AE);if(null==t||0===t.length)return null;const a=t.map((e=>{let{getValue:t}=e,i=(0,l.A)(e,xE);const a=t({isValid:o});return(0,s.A)({},i,{label:i.label,onClick:()=>{r(a,n,i)},disabled:!o(a)})}));return(0,F.jsx)(qo,(0,s.A)({dense:!0,sx:[{maxHeight:bE,maxWidth:200,overflow:"auto"},...Array.isArray(i.sx)?i.sx:[i.sx]]},i,{children:a.map((e=>(0,F.jsx)(Rd,{children:(0,F.jsx)(Xn,(0,s.A)({},e))},e.id??e.label)))}))}const CE=e=>{const{wrapperVariant:t,onAccept:n,onClear:r,onCancel:o,onSetToday:i,view:a,views:l,onViewChange:c,value:d,onChange:h,onSelectShortcut:p,isValid:f,isLandscape:g,disabled:m,readOnly:y,children:v,slots:b,slotProps:w}=e,A=(e=>{const{classes:t,isLandscape:n}=e,r={root:["root",n&&"landscape"],contentWrapper:["contentWrapper"],toolbar:["toolbar"],actionBar:["actionBar"],tabs:["tabs"],landscape:["landscape"],shortcuts:["shortcuts"]};return(0,u.A)(r,fE,t)})(e),x=b?.actionBar??yE,S=(0,mn.Q)({elementType:x,externalSlotProps:w?.actionBar,additionalProps:{onAccept:n,onClear:r,onCancel:o,onSetToday:i,actions:"desktop"===t?[]:["cancel","accept"]},className:A.actionBar,ownerState:(0,s.A)({},e,{wrapperVariant:t})}),C=(0,F.jsx)(x,(0,s.A)({},S)),E=b?.toolbar,k=(0,mn.Q)({elementType:E,externalSlotProps:w?.toolbar,additionalProps:{isLandscape:g,onChange:h,value:d,view:a,onViewChange:c,views:l,disabled:m,readOnly:y},className:A.toolbar,ownerState:(0,s.A)({},e,{wrapperVariant:t})}),T=function(e){return null!==e.view}(k)&&E?(0,F.jsx)(E,(0,s.A)({},k)):null,_=v,O=b?.tabs,P=a&&O?(0,F.jsx)(O,(0,s.A)({view:a,onViewChange:c,className:A.tabs},w?.tabs)):null,I=b?.shortcuts??SE,M=(0,mn.Q)({elementType:I,externalSlotProps:w?.shortcuts,additionalProps:{isValid:f,isLandscape:g,onChange:p},className:A.shortcuts,ownerState:{isValid:f,isLandscape:g,onChange:p,wrapperVariant:t}});return{toolbar:T,content:_,tabs:P,actionBar:C,shortcuts:a&&I?(0,F.jsx)(I,(0,s.A)({},M)):null}},EE=(0,h.Ay)("div",{name:"MuiPickersLayout",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"grid",gridAutoColumns:"max-content auto max-content",gridAutoRows:"max-content auto max-content",[`& .${gE.actionBar}`]:{gridColumn:"1 / 4",gridRow:3},variants:[{props:{isLandscape:!0},style:{[`& .${gE.toolbar}`]:{gridColumn:1,gridRow:"2 / 3"},[`.${gE.shortcuts}`]:{gridColumn:"2 / 4",gridRow:1}}},{props:{isLandscape:!0,isRtl:!0},style:{[`& .${gE.toolbar}`]:{gridColumn:3}}},{props:{isLandscape:!1},style:{[`& .${gE.toolbar}`]:{gridColumn:"2 / 4",gridRow:1},[`& .${gE.shortcuts}`]:{gridColumn:1,gridRow:"2 / 3"}}},{props:{isLandscape:!1,isRtl:!0},style:{[`& .${gE.shortcuts}`]:{gridColumn:3}}}]}),kE=(0,h.Ay)("div",{name:"MuiPickersLayout",slot:"ContentWrapper",overridesResolver:(e,t)=>t.contentWrapper})({gridColumn:2,gridRow:2,display:"flex",flexDirection:"column"}),TE=function(e){const t=(0,T.A)({props:e,name:"MuiPickersLayout"}),{toolbar:n,content:r,tabs:o,actionBar:a,shortcuts:s}=CE(t),{sx:l,className:d,isLandscape:h,ref:p,wrapperVariant:f}=t,g=(e=>{const{isLandscape:t,classes:n}=e,r={root:["root",t&&"landscape"],contentWrapper:["contentWrapper"]};return(0,u.A)(r,fE,n)})(t);return(0,F.jsxs)(EE,{ref:p,sx:l,className:(0,c.A)(d,g.root),ownerState:t,children:[h?s:n,h?n:s,(0,F.jsx)(kE,{className:g.contentWrapper,children:"desktop"===f?(0,F.jsxs)(i.Fragment,{children:[r,o]}):(0,F.jsxs)(i.Fragment,{children:[o,r]})}),a]})},_E=["props","getOpenDialogAriaText"],OE=["ownerState"],PE=["ownerState"],IE=e=>{let{props:t,getOpenDialogAriaText:n}=e,r=(0,l.A)(e,_E);const{slots:o,slotProps:a,className:c,sx:u,format:d,formatDensity:h,enableAccessibleFieldDOMStructure:p,selectedSections:f,onSelectedSectionsChange:g,timezone:m,name:y,label:v,inputRef:b,readOnly:w,disabled:A,autoFocus:x,localeText:S,reduceAnimations:C}=t,E=_C(),k=i.useRef(null),T=i.useRef(null),_=(0,Fe.A)(),O=a?.toolbar?.hidden??!1,{open:P,actions:I,hasUIView:M,layoutProps:L,renderCurrentView:R,shouldRestoreFocus:j,fieldProps:D}=pE((0,s.A)({},r,{props:t,fieldRef:T,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"desktop"})),N=o.inputAdornment??TS,z=(0,mn.Q)({elementType:N,externalSlotProps:a?.inputAdornment,additionalProps:{position:"end"},ownerState:t}),B=(0,l.A)(z,OE),V=o.openPickerButton??Vn,$=(0,mn.Q)({elementType:V,externalSlotProps:a?.openPickerButton,additionalProps:{disabled:A||w,onClick:P?I.onClose:I.onOpen,"aria-label":n(D.value,E),edge:B.position},ownerState:t}),G=(0,l.A)($,PE),U=o.openPickerIcon,W=o.field,H=(0,mn.Q)({elementType:W,externalSlotProps:a?.field,additionalProps:(0,s.A)({},D,O&&{id:_},{readOnly:w,disabled:A,className:c,sx:u,format:d,formatDensity:h,enableAccessibleFieldDOMStructure:p,selectedSections:f,onSelectedSectionsChange:g,timezone:m,label:v,name:y,autoFocus:x&&!t.open,focused:!!P||void 0},b?{inputRef:b}:{}),ownerState:t});M&&(H.InputProps=(0,s.A)({},H.InputProps,{ref:k},!t.disableOpenPicker&&{[`${B.position}Adornment`]:(0,F.jsx)(N,(0,s.A)({},B,{children:(0,F.jsx)(V,(0,s.A)({},G,{children:(0,F.jsx)(U,(0,s.A)({},a?.openPickerIcon))}))}))}));const Y=(0,s.A)({textField:o.textField,clearIcon:o.clearIcon,clearButton:o.clearButton},H.slots),K=o.layout??TE;let X=_;O&&(X=v?`${_}-label`:void 0);const Z=(0,s.A)({},a,{toolbar:(0,s.A)({},a?.toolbar,{titleId:_}),popper:(0,s.A)({"aria-labelledby":X},a?.popper)}),J=(0,q.A)(T,H.unstableFieldRef);return{renderPicker:()=>(0,F.jsxs)(SC.$,{localeText:S,children:[(0,F.jsx)(W,(0,s.A)({},H,{slots:Y,slotProps:Z,unstableFieldRef:J})),(0,F.jsx)(oE,(0,s.A)({role:"dialog",placement:"bottom-start",anchorEl:k.current},I,{open:P,slots:o,slotProps:Z,shouldRestoreFocus:j,reduceAnimations:C,children:(0,F.jsx)(K,(0,s.A)({},L,Z?.layout,{slots:o,slotProps:Z,children:R()}))}))]})}},ME=(0,$n.A)((0,F.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),LE=(0,$n.A)((0,F.jsx)("path",{d:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"}),"ArrowLeft"),RE=(0,$n.A)((0,F.jsx)("path",{d:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"}),"ArrowRight"),jE=(0,$n.A)((0,F.jsx)("path",{d:"M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"}),"Calendar"),FE=(0,$n.A)((0,F.jsxs)(i.Fragment,{children:[(0,F.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 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,F.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Clock"),DE=(0,$n.A)((0,F.jsx)("path",{d:"M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"}),"DateRange"),NE=(0,$n.A)((0,F.jsxs)(i.Fragment,{children:[(0,F.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 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),(0,F.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"})]}),"Time"),zE=(0,$n.A)((0,F.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"),BE=(e,t,n,r,o)=>{switch(r.type){case"year":return n.fieldYearPlaceholder({digitAmount:e.formatByString(e.date(void 0,t),o).length,format:o});case"month":return n.fieldMonthPlaceholder({contentType:r.contentType,format:o});case"day":return n.fieldDayPlaceholder({format:o});case"weekDay":return n.fieldWeekDayPlaceholder({contentType:r.contentType,format:o});case"hours":return n.fieldHoursPlaceholder({format:o});case"minutes":return n.fieldMinutesPlaceholder({format:o});case"seconds":return n.fieldSecondsPlaceholder({format:o});case"meridiem":return n.fieldMeridiemPlaceholder({format:o});default:return o}},VE=({utils:e,timezone:t,date:n,shouldRespectLeadingZeros:r,localeText:o,localizedDigits:i,now:a,token:l,startSeparator:c})=>{if(""===l)throw new Error("MUI X: Should not call `commitToken` with an empty token");const u=eC(e,l),d=pC(e,t,u.contentType,u.type,l),h=r?d:"digit"===u.contentType,p=null!=n&&e.isValid(n);let f=p?e.formatByString(n,l):"",g=null;if(h)if(d)g=""===f?e.formatByString(a,l).length:f.length;else{if(null==u.maxLength)throw new Error(`MUI X: The token ${l} should have a 'maxDigitNumber' property on it's adapter`);g=u.maxLength,p&&(f=iC(sC(oC(f,i),g),i))}return(0,s.A)({},u,{format:l,maxLength:g,value:f,placeholder:BE(e,t,o,u,l),hasLeadingZerosInFormat:d,hasLeadingZerosInInput:h,startSeparator:c,endSeparator:"",modified:!1})},$E=e=>{let t=(({utils:e,format:t})=>{let n=10,r=t,o=e.expandFormat(t);for(;o!==r;)if(r=o,o=e.expandFormat(r),n-=1,n<0)throw new Error("MUI X: The format expansion seems to be in an infinite loop. Please open an issue with the format passed to the picker component.");return o})(e);e.isRtl&&e.enableAccessibleFieldDOMStructure&&(t=t.split(" ").reverse().join(" "));const n=(({utils:e,expandedFormat:t})=>{const n=[],{start:r,end:o}=e.escapedCharacters,i=new RegExp(`(\\${r}[^\\${o}]*\\${o})+`,"g");let a=null;for(;a=i.exec(t);)n.push({start:a.index,end:i.lastIndex-1});return n})((0,s.A)({},e,{expandedFormat:t})),r=(e=>{const{utils:t,expandedFormat:n,escapedParts:r}=e,o=t.date(void 0),i=[];let a="";const l=Object.keys(t.formatTokenMap).sort(((e,t)=>t.length-e.length)),c=/^([a-zA-Z]+)/,u=new RegExp(`^(${l.join("|")})*$`),d=new RegExp(`^(${l.join("|")})`),h=e=>r.find((t=>t.start<=e&&t.end>=e));let p=0;for(;p0;){const n=d.exec(t)[1];t=t.slice(n.length),i.push(VE((0,s.A)({},e,{now:o,token:n,startSeparator:a}))),a=""}p+=l.length}else{const e=n[p];r&&t?.start===p||t?.end===p||(0===i.length?a+=e:i[i.length-1].endSeparator+=e),p+=1}}return 0===i.length&&a.length>0&&i.push({type:"empty",contentType:"letter",maxLength:null,format:"",value:"",placeholder:"",hasLeadingZerosInFormat:!1,hasLeadingZerosInInput:!1,startSeparator:a,endSeparator:"",modified:!1}),i})((0,s.A)({},e,{expandedFormat:t,escapedParts:n}));return(({isRtl:e,formatDensity:t,sections:n})=>n.map((n=>{const r=n=>{let r=n;return e&&null!==r&&r.includes(" ")&&(r=`⁩${r}⁦`),"spacious"===t&&["/",".","-"].includes(r)&&(r=` ${r} `),r};return n.startSeparator=r(n.startSeparator),n.endSeparator=r(n.endSeparator),n})))((0,s.A)({},e,{sections:r}))},GE=e=>{const t=_C(),n=PC(),r=TC(),o=(0,eo.I)(),{valueManager:a,fieldValueManager:l,valueType:c,validator:u,internalProps:d,internalProps:{value:h,defaultValue:p,referenceDate:f,onChange:g,format:m,formatDensity:y="dense",selectedSections:v,onSelectedSectionsChange:b,shouldRespectLeadingZeros:w=!1,timezone:A,enableAccessibleFieldDOMStructure:x=!1}}=e,{timezone:S,value:C,handleValueChange:E}=aE({timezone:A,value:h,defaultValue:p,onChange:g,valueManager:a}),k=i.useMemo((()=>(e=>{const t=e.date(void 0);return"0"===e.formatByString(e.setSeconds(t,0),"s")?rC:Array.from({length:10}).map(((n,r)=>e.formatByString(e.setSeconds(t,r),"s")))})(t)),[t]),T=i.useMemo((()=>((e,t,n)=>{const r=e.date(void 0,n),o=e.endOfYear(r),i=e.endOfDay(r),{maxDaysInMonth:a,longestMonth:s}=FS(e,r).reduce(((t,n)=>{const r=e.getDaysInMonth(n);return r>t.maxDaysInMonth?{maxDaysInMonth:r,longestMonth:n}:t}),{maxDaysInMonth:0,longestMonth:null});return{year:({format:t})=>({minimum:0,maximum:hC(e,n,t)?9999:99}),month:()=>({minimum:1,maximum:e.getMonth(o)+1}),day:({currentDate:t})=>({minimum:1,maximum:null!=t&&e.isValid(t)?e.getDaysInMonth(t):a,longestMonth:s}),weekDay:({format:t,contentType:r})=>{if("digit"===r){const r=tC(e,n,t).map(Number);return{minimum:Math.min(...r),maximum:Math.max(...r)}}return{minimum:1,maximum:7}},hours:({format:n})=>{const o=e.getHours(i);return oC(e.formatByString(e.endOfDay(r),n),t)!==o.toString()?{minimum:1,maximum:Number(oC(e.formatByString(e.startOfDay(r),n),t))}:{minimum:0,maximum:o}},minutes:()=>({minimum:0,maximum:e.getMinutes(i)}),seconds:()=>({minimum:0,maximum:e.getSeconds(i)}),meridiem:()=>({minimum:0,maximum:1}),empty:()=>({minimum:0,maximum:0})}})(t,k,S)),[t,k,S]),_=i.useCallback(((e,r=null)=>l.getSectionsFromValue(t,e,r,(e=>$E({utils:t,timezone:S,localeText:n,localizedDigits:k,format:m,date:e,formatDensity:y,shouldRespectLeadingZeros:w,enableAccessibleFieldDOMStructure:x,isRtl:o})))),[l,m,n,k,o,w,t,y,S,x]),[O,P]=i.useState((()=>{const e=_(C);fC();const n={sections:e,value:C,referenceValue:a.emptyValue,tempValueStrAndroid:null},r=(e=>Math.max(...e.map((e=>JS[e.type]??1))))(e),o=a.getInitialReferenceValue({referenceDate:f,value:C,utils:t,props:d,granularity:r,timezone:S});return(0,s.A)({},n,{referenceValue:o})})),[I,M]=(0,De.A)({controlled:v,default:null,name:"useField",state:"selectedSections"}),L=e=>{M(e),b?.(e)},R=i.useMemo((()=>yC(I,O.sections)),[I,O.sections]),j="all"===R?0:R,F=({value:e,referenceValue:n,sections:o})=>{if(P((t=>(0,s.A)({},t,{sections:o,value:e,referenceValue:n,tempValueStrAndroid:null}))),a.areValuesEqual(t,O.value,e))return;const i={validationError:u({adapter:r,value:e,props:(0,s.A)({},d,{value:e,timezone:S})})};E(e,i)},D=(e,t)=>{const n=[...O.sections];return n[e]=(0,s.A)({},n[e],{value:t,modified:!0}),n};return i.useEffect((()=>{const e=_(O.value);fC(),P((t=>(0,s.A)({},t,{sections:e})))}),[m,t.locale,o]),i.useEffect((()=>{let e;e=!a.areValuesEqual(t,O.value,C)||a.getTimezone(t,O.value)!==a.getTimezone(t,C),e&&P((e=>(0,s.A)({},e,{value:C,referenceValue:l.updateReferenceValue(t,C,e.referenceValue),sections:_(C)})))}),[C]),{state:O,activeSectionIndex:j,parsedSelectedSections:R,setSelectedSections:L,clearValue:()=>{F({value:a.emptyValue,referenceValue:O.referenceValue,sections:_(a.emptyValue)})},clearActiveSection:()=>{if(null==j)return;const e=O.sections[j],n=l.getActiveDateManager(t,O,e),r=n.getSections(O.sections).filter((e=>""!==e.value)).length===(""===e.value?0:1),o=D(j,""),i=r?null:t.getInvalidDate(),a=n.getNewValuesFromNewActiveDate(i);F((0,s.A)({},a,{sections:o}))},updateSectionValue:({activeSection:e,newSectionValue:n,shouldGoToNextSection:r})=>{r&&j{const r=t.some((e=>"day"===e.type)),o=[],i=[];for(let e=0;e(0,s.A)({},e,u,{sections:i,tempValueStrAndroid:null})))},updateValueFromValueStr:e=>{const r=l.parseValueStr(e,O.referenceValue,((e,r)=>{const i=t.parse(e,m);if(null==i||!t.isValid(i))return null;const a=$E({utils:t,timezone:S,localeText:n,localizedDigits:k,format:m,date:i,formatDensity:y,shouldRespectLeadingZeros:w,enableAccessibleFieldDOMStructure:x,isRtl:o});return mC(t,S,i,a,r,!1)})),i=l.updateReferenceValue(t,r,O.referenceValue);F({value:r,referenceValue:i,sections:_(r,O.sections)})},setTempAndroidValueStr:e=>P((t=>(0,s.A)({},t,{tempValueStrAndroid:e}))),getSectionsFromValue:_,sectionsValueBoundaries:T,localizedDigits:k,timezone:S}},UE=e=>null!=e.saveQuery,WE=({sections:e,updateSectionValue:t,sectionsValueBoundaries:n,localizedDigits:r,setTempAndroidValueStr:o,timezone:a})=>{const l=_C(),[c,u]=i.useState(null),d=(0,ze.A)((()=>u(null)));i.useEffect((()=>{null!=c&&e[c.sectionIndex]?.type!==c.sectionType&&d()}),[e,c,d]),i.useEffect((()=>{if(null!=c){const e=setTimeout((()=>d()),5e3);return()=>{clearTimeout(e)}}return()=>{}}),[c,d]);const h=({keyPressed:t,sectionIndex:n},r,o)=>{const i=t.toLowerCase(),a=e[n];if(null!=c&&(!o||o(c.value))&&c.sectionIndex===n){const e=`${c.value}${i}`,t=r(e,a);if(!UE(t))return u({sectionIndex:n,value:e,sectionType:a.type}),t}const s=r(i,a);return UE(s)&&!s.saveQuery?(d(),null):(u({sectionIndex:n,value:i,sectionType:a.type}),UE(s)?null:s)};return{applyCharacterEditing:(0,ze.A)((i=>{const c=e[i.sectionIndex],u=aC(i.keyPressed,r)?(e=>{const t=(e,t)=>{const o=oC(e,r),i=Number(o),a=n[t.type]({currentDate:null,format:t.format,contentType:t.contentType});if(i>a.maximum)return{saveQuery:!1};if(ia.maximum||o.length===a.maximum.toString().length;return{sectionValue:lC(l,i,a,r,t),shouldGoToNextSection:s}};return h(e,((e,n)=>{if("digit"===n.contentType||"digit-with-letter"===n.contentType)return t(e,n);if("month"===n.type){const r=pC(l,a,"digit","month","MM"),o=t(e,{type:n.type,format:"MM",hasLeadingZerosInFormat:r,hasLeadingZerosInInput:!0,contentType:"digit",maxLength:2});if(UE(o))return o;const i=dC(l,o.sectionValue,"MM",n.format);return(0,s.A)({},o,{sectionValue:i})}if("weekDay"===n.type){const r=t(e,n);if(UE(r))return r;const o=tC(l,a,n.format)[Number(r.sectionValue)-1];return(0,s.A)({},r,{sectionValue:o})}return{saveQuery:!1}}),(e=>aC(e,r)))})((0,s.A)({},i,{keyPressed:iC(i.keyPressed,r)})):(e=>{const t=(e,t,n)=>{const r=t.filter((e=>e.toLowerCase().startsWith(n)));return 0===r.length?{saveQuery:!1}:{sectionValue:r[0],shouldGoToNextSection:1===r.length}},n=(e,n,r,o)=>{const i=e=>nC(l,a,n.type,e);if("letter"===n.contentType)return t(n.format,i(n.format),e);if(r&&null!=o&&"letter"===eC(l,r).contentType){const n=i(r),a=t(0,n,e);return UE(a)?{saveQuery:!1}:(0,s.A)({},a,{sectionValue:o(a.sectionValue,n)})}return{saveQuery:!1}};return h(e,((e,t)=>{switch(t.type){case"month":{const r=e=>dC(l,e,l.formats.month,t.format);return n(e,t,l.formats.month,r)}case"weekDay":{const r=(e,t)=>t.indexOf(e).toString();return n(e,t,l.formats.weekday,r)}case"meridiem":return n(e,t);default:return{saveQuery:!1}}}))})(i);null!=u?t({activeSection:c,newSectionValue:u.sectionValue,shouldGoToNextSection:u.shouldGoToNextSection}):o(null)})),resetCharacterQuery:d}},qE=e=>{const{internalProps:{disabled:t,readOnly:n=!1},forwardedProps:{sectionListRef:r,onBlur:o,onClick:a,onFocus:s,onInput:l,onPaste:c,focused:u,autoFocus:d=!1},fieldValueManager:h,applyCharacterEditing:p,resetCharacterQuery:f,setSelectedSections:g,parsedSelectedSections:m,state:y,clearActiveSection:v,clearValue:b,updateSectionValue:w,updateValueFromValueStr:A,sectionOrder:x,areAllSectionsEmpty:S,sectionsValueBoundaries:C}=e,E=i.useRef(null),k=(0,q.A)(r,E),T=PC(),_=_C(),O=(0,Fe.A)(),[P,I]=i.useState(!1),M=i.useMemo((()=>({syncSelectionToDOM:()=>{if(!E.current)return;const e=document.getSelection();if(!e)return;if(null==m)return e.rangeCount>0&&E.current.getRoot().contains(e.getRangeAt(0).startContainer)&&e.removeAllRanges(),void(P&&E.current.getRoot().blur());if(!E.current.getRoot().contains(HC(document)))return;const t=new window.Range;let n;if("all"===m)n=E.current.getRoot();else{n="empty"===y.sections[m].type?E.current.getSectionContainer(m):E.current.getSectionContent(m)}t.selectNodeContents(n),n.focus(),e.removeAllRanges(),e.addRange(t)},getActiveSectionIndexFromDOM:()=>{const e=HC(document);return e&&E.current&&E.current.getRoot().contains(e)?E.current.getSectionIndexFromDOMElement(e):null},focusField:(e=0)=>{if(!E.current)return;const t=yC(e,y.sections);I(!0),E.current.getSectionContent(t).focus()},setSelectedSections:e=>{if(!E.current)return;const t=yC(e,y.sections);I(null!==("all"===t?0:t)),g(e)},isFieldFocused:()=>{const e=HC(document);return!!E.current&&E.current.getRoot().contains(e)}})),[m,g,y.sections,P]),L=(0,ze.A)((e=>{if(!E.current)return;const t=y.sections[e];E.current.getSectionContent(e).innerHTML=t.value||t.placeholder,M.syncSelectionToDOM()})),R=(0,ze.A)(((e,...t)=>{if(!e.isDefaultPrevented()&&E.current)if(I(!0),a?.(e,...t),"all"===m)setTimeout((()=>{const e=document.getSelection().getRangeAt(0).startOffset;if(0===e)return void g(x.startIndex);let t=0,n=0;for(;n{if(l?.(e),!E.current||"all"!==m)return;const t=e.target.textContent??"";E.current.getRoot().innerHTML=y.sections.map((e=>`${e.startSeparator}${e.value||e.placeholder}${e.endSeparator}`)).join(""),M.syncSelectionToDOM(),0===t.length||10===t.charCodeAt(0)?(f(),b(),g("all")):t.length>1?A(t):p({keyPressed:t,sectionIndex:0})})),F=(0,ze.A)((e=>{if(c?.(e),n||"all"!==m)return void e.preventDefault();const t=e.clipboardData.getData("text");e.preventDefault(),f(),A(t)})),D=(0,ze.A)(((...e)=>{if(s?.(...e),P||!E.current)return;I(!0);null!=E.current.getSectionIndexFromDOMElement(HC(document))||g(x.startIndex)})),N=(0,ze.A)(((...e)=>{o?.(...e),setTimeout((()=>{if(!E.current)return;const e=HC(document);!E.current.getRoot().contains(e)&&(I(!1),g(null))}))})),z=(0,ze.A)((e=>t=>{t.isDefaultPrevented()||n||g(e)})),B=(0,ze.A)((e=>{e.preventDefault()})),V=(0,ze.A)((e=>()=>{n||g(e)})),$=(0,ze.A)((e=>{if(e.preventDefault(),n||"number"!=typeof m)return;const t=y.sections[m],r=e.clipboardData.getData("text"),o=/^[a-zA-Z]+$/.test(r),i=/^[0-9]+$/.test(r),a=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(r);"letter"===t.contentType&&o||"digit"===t.contentType&&i||"digit-with-letter"===t.contentType&&a?(f(),w({activeSection:t,newSectionValue:r,shouldGoToNextSection:!0})):o||i||(f(),A(r))})),G=(0,ze.A)((e=>{e.preventDefault(),e.dataTransfer.dropEffect="none"})),U=(0,ze.A)((e=>{if(!E.current)return;const t=e.target,r=t.textContent??"",o=E.current.getSectionIndexFromDOMElement(t),i=y.sections[o];if(!n&&E.current){if(0===r.length){if(""===i.value)return void L(o);const t=e.nativeEvent.inputType;return"insertParagraph"===t||"insertLineBreak"===t?void L(o):(f(),void v())}p({keyPressed:r,sectionIndex:o}),L(o)}else L(o)}));(0,He.A)((()=>{if(P&&E.current)if("all"===m)E.current.getRoot().focus();else if("number"==typeof m){const e=E.current.getSectionContent(m);e&&e.focus()}}),[m,P]);const W=i.useMemo((()=>y.sections.reduce(((e,t)=>(e[t.type]=C[t.type]({currentDate:null,contentType:t.contentType,format:t.format}),e)),{})),[C,y.sections]),H="all"===m,Y=i.useMemo((()=>y.sections.map(((e,r)=>{const o=!H&&!t&&!n;return{container:{"data-sectionindex":r,onClick:z(r)},content:{tabIndex:H||r>0?-1:0,contentEditable:!H&&!t&&!n,role:"spinbutton",id:`${O}-${e.type}`,"aria-labelledby":`${O}-${e.type}`,"aria-readonly":n,"aria-valuenow":bC(e,_),"aria-valuemin":W[e.type].minimum,"aria-valuemax":W[e.type].maximum,"aria-valuetext":e.value?vC(e,_):T.empty,"aria-label":T[e.type],"aria-disabled":t,spellCheck:!o&&void 0,autoCapitalize:o?"off":void 0,autoCorrect:o?"off":void 0,[parseInt(i.version,10)>=17?"enterKeyHint":"enterkeyhint"]:o?"next":void 0,children:e.value||e.placeholder,onInput:U,onPaste:$,onFocus:V(r),onDragOver:G,onMouseUp:B,inputMode:"letter"===e.contentType?"text":"numeric"},before:{children:e.startSeparator},after:{children:e.endSeparator}}}))),[y.sections,V,$,G,U,z,B,t,n,H,T,_,W,O]),K=(0,ze.A)((e=>{A(e.target.value)})),X=i.useMemo((()=>S?"":h.getV7HiddenInputValueFromSections(y.sections)),[S,y.sections,h]);return i.useEffect((()=>{if(null==E.current)throw new Error(["MUI X: The `sectionListRef` prop has not been initialized by `PickersSectionList`","You probably tried to pass a component to the `textField` slot that contains an `` element instead of a `PickersSectionList`.","","If you want to keep using an `` HTML element for the editing, please remove the `enableAccessibleFieldDOMStructure` prop from your picker or field component:","","","","Learn more about the field accessible DOM structure on the MUI documentation: https://mui.com/x/react-date-pickers/fields/#fields-to-edit-a-single-element"].join("\n"));d&&E.current&&E.current.getSectionContent(x.startIndex).focus()}),[]),{interactions:M,returnedValue:{autoFocus:d,readOnly:n,focused:u??P,sectionListRef:k,onBlur:N,onClick:R,onFocus:D,onInput:j,onPaste:F,enableAccessibleFieldDOMStructure:!0,elements:Y,tabIndex:0===m?-1:0,contentEditable:H,value:X,onChange:K,areAllSectionsEmpty:S}}},HE=e=>e.replace(/[\u2066\u2067\u2068\u2069]/g,""),YE=e=>{const t=(0,eo.I)(),n=i.useRef(),{forwardedProps:{onFocus:r,onClick:o,onPaste:a,onBlur:l,inputRef:c,placeholder:u},internalProps:{readOnly:d=!1},parsedSelectedSections:h,activeSectionIndex:p,state:f,fieldValueManager:g,valueManager:m,applyCharacterEditing:y,resetCharacterQuery:v,updateSectionValue:b,updateValueFromValueStr:w,clearActiveSection:A,clearValue:x,setTempAndroidValueStr:S,setSelectedSections:C,getSectionsFromValue:E,areAllSectionsEmpty:k,localizedDigits:T}=e,_=i.useRef(null),O=(0,q.A)(c,_),P=i.useMemo((()=>((e,t,n)=>{let r=0,o=n?1:0;const i=[];for(let a=0;a({syncSelectionToDOM:()=>{if(!_.current)return;if(null==h)return void(_.current.scrollLeft&&(_.current.scrollLeft=0));if(_.current!==HC(document))return;const e=_.current.scrollTop;if("all"===h)_.current.select();else{const e=P[h],t="empty"===e.type?e.startInInput-e.startSeparator.length:e.startInInput,n="empty"===e.type?e.endInInput+e.endSeparator.length:e.endInInput;t===_.current.selectionStart&&n===_.current.selectionEnd||_.current===HC(document)&&_.current.setSelectionRange(t,n)}_.current.scrollTop=e},getActiveSectionIndexFromDOM:()=>{const e=_.current.selectionStart??0,t=_.current.selectionEnd??0,n=!!_.current?.readOnly;if(0===e&&0===t||n)return null;const r=e<=P[0].startInInput?1:P.findIndex((t=>t.startInInput-t.startSeparator.length>e));return-1===r?P.length-1:r-1},focusField:(e=0)=>{_.current?.focus(),C(e)},setSelectedSections:e=>C(e),isFieldFocused:()=>_.current===HC(document)})),[_,h,P,C]),M=()=>{if(d)return void C(null);const e=_.current.selectionStart??0;let t;t=e<=P[0].startInInput||e>=P[P.length-1].endInInput?1:P.findIndex((t=>t.startInInput-t.startSeparator.length>e));const n=-1===t?P.length-1:t-1;C(n)},L=(0,ze.A)(((...e)=>{r?.(...e);const t=_.current;clearTimeout(n.current),n.current=setTimeout((()=>{t&&t===_.current&&(null!=p||d||(t.value.length&&Number(t.selectionEnd)-Number(t.selectionStart)===t.value.length?C("all"):M()))}))})),R=(0,ze.A)(((e,...t)=>{e.isDefaultPrevented()||(o?.(e,...t),M())})),j=(0,ze.A)((e=>{if(a?.(e),e.preventDefault(),d)return;const t=e.clipboardData.getData("text");if("number"==typeof h){const e=f.sections[h],n=/^[a-zA-Z]+$/.test(t),r=/^[0-9]+$/.test(t),o=/^(([a-zA-Z]+)|)([0-9]+)(([a-zA-Z]+)|)$/.test(t);if("letter"===e.contentType&&n||"digit"===e.contentType&&r||"digit-with-letter"===e.contentType&&o)return v(),void b({activeSection:e,newSectionValue:t,shouldGoToNextSection:!0});if(n||r)return}v(),w(t)})),F=(0,ze.A)(((...e)=>{l?.(...e),C(null)})),D=(0,ze.A)((e=>{if(d)return;const n=e.target.value;if(""===n)return v(),void x();const r=e.nativeEvent.data,o=r&&r.length>1,i=o?r:n,a=HE(i);if(null==p||o)return void w(o?r:a);let s;if("all"===h&&1===a.length)s=a;else{const e=HE(g.getV6InputValueFromSections(P,T,t));let n=-1,r=-1;for(let t=0;to.end)return;const i=a.length-e.length+o.end-HE(o.endSeparator||"").length;s=a.slice(o.start+HE(o.startSeparator||"").length,i)}0!==s.length?y({keyPressed:s,sectionIndex:p}):navigator.userAgent.toLowerCase().indexOf("android")>-1?S(i):(v(),A())})),N=i.useMemo((()=>void 0!==u?u:g.getV6InputValueFromSections(E(m.emptyValue),T,t)),[u,g,E,m.emptyValue,T,t]),z=i.useMemo((()=>f.tempValueStrAndroid??g.getV6InputValueFromSections(f.sections,T,t)),[f.sections,g,f.tempValueStrAndroid,T,t]);i.useEffect((()=>(_.current&&_.current===HC(document)&&C("all"),()=>{clearTimeout(n.current)})),[]);const B=i.useMemo((()=>null==p||"letter"===f.sections[p].contentType?"text":"numeric"),[p,f.sections]),V=_.current&&_.current===HC(document);return{interactions:I,returnedValue:{readOnly:d,onBlur:F,onClick:R,onFocus:L,onPaste:j,inputRef:O,enableAccessibleFieldDOMStructure:!1,placeholder:N,inputMode:B,autoComplete:"off",value:!V&&k?"":z,onChange:D}}},KE=e=>{const t=_C(),{internalProps:n,internalProps:{unstableFieldRef:r,minutesStep:o,enableAccessibleFieldDOMStructure:a=!1,disabled:l=!1,readOnly:c=!1},forwardedProps:{onKeyDown:u,error:d,clearable:h,onClear:p},fieldValueManager:f,valueManager:g,validator:m}=e,y=(0,eo.I)(),v=GE(e),{state:b,activeSectionIndex:w,parsedSelectedSections:A,setSelectedSections:x,clearValue:S,clearActiveSection:C,updateSectionValue:E,setTempAndroidValueStr:k,sectionsValueBoundaries:T,localizedDigits:_,timezone:O}=v,P=WE({sections:b.sections,updateSectionValue:E,sectionsValueBoundaries:T,localizedDigits:_,setTempAndroidValueStr:k,timezone:O}),{resetCharacterQuery:I}=P,M=g.areValuesEqual(t,b.value,g.emptyValue),L=a?qE:YE,R=i.useMemo((()=>((e,t)=>{const n={};if(!t)return e.forEach(((t,r)=>{const o=0===r?null:r-1,i=r===e.length-1?null:r+1;n[r]={leftIndex:o,rightIndex:i}})),{neighbors:n,startIndex:0,endIndex:e.length-1};const r={},o={};let i=0,a=0,s=e.length-1;for(;s>=0;){a=e.findIndex(((e,t)=>t>=i&&e.endSeparator?.includes(" ")&&" / "!==e.endSeparator)),-1===a&&(a=e.length-1);for(let e=a;e>=i;e-=1)o[e]=s,r[s]=e,s-=1;i=a+1}return e.forEach(((t,i)=>{const a=o[i],s=0===a?null:r[a-1],l=a===e.length-1?null:r[a+1];n[i]={leftIndex:s,rightIndex:l}})),{neighbors:n,startIndex:r[0],endIndex:r[e.length-1]}})(b.sections,y&&!a)),[b.sections,y,a]),{returnedValue:j,interactions:F}=L((0,s.A)({},e,v,P,{areAllSectionsEmpty:M,sectionOrder:R})),D=(0,ze.A)((e=>{switch(u?.(e),!0){case(e.ctrlKey||e.metaKey)&&"a"===e.key.toLowerCase()&&!e.shiftKey&&!e.altKey:e.preventDefault(),x("all");break;case"ArrowRight"===e.key:if(e.preventDefault(),null==A)x(R.startIndex);else if("all"===A)x(R.endIndex);else{const e=R.neighbors[A].rightIndex;null!==e&&x(e)}break;case"ArrowLeft"===e.key:if(e.preventDefault(),null==A)x(R.endIndex);else if("all"===A)x(R.startIndex);else{const e=R.neighbors[A].leftIndex;null!==e&&x(e)}break;case"Delete"===e.key:if(e.preventDefault(),c)break;null==A||"all"===A?S():C(),I();break;case["ArrowUp","ArrowDown","Home","End","PageUp","PageDown"].includes(e.key):{if(e.preventDefault(),c||null==w)break;const n=b.sections[w],r=f.getActiveDateManager(t,b,n),i=cC(t,O,n,e.key,T,_,r.date,{minutesStep:o});E({activeSection:n,newSectionValue:i,shouldGoToNextSection:!1});break}}}));(0,He.A)((()=>{F.syncSelectionToDOM()}));const N=iE((0,s.A)({},n,{value:b.value,timezone:O}),m,g.isSameError,g.defaultErrorState),z=i.useMemo((()=>void 0!==d?d:g.hasError(N)),[g,N,d]);i.useEffect((()=>{z||null!=w||I()}),[b.referenceValue,w,z]),i.useEffect((()=>{null!=b.tempValueStrAndroid&&null!=w&&(I(),C())}),[b.sections]),i.useImperativeHandle(r,(()=>({getSections:()=>b.sections,getActiveSectionIndex:F.getActiveSectionIndexFromDOM,setSelectedSections:F.setSelectedSections,focusField:F.focusField,isFieldFocused:F.isFieldFocused})));const B={onKeyDown:D,onClear:(0,ze.A)(((e,...t)=>{e.preventDefault(),p?.(e,...t),S(),F.isFieldFocused()?x(R.startIndex):F.focusField(0)})),error:z,clearable:Boolean(h&&!M&&!c&&!l)},V={disabled:l,readOnly:c};return(0,s.A)({},e.forwardedProps,B,V,j)},XE=["disablePast","disableFuture","minDate","maxDate","shouldDisableDate","shouldDisableMonth","shouldDisableYear"],ZE=["disablePast","disableFuture","minTime","maxTime","shouldDisableTime","minutesStep","ampm","disableIgnoringDatePartForTimeValidation"],JE=["minDateTime","maxDateTime"],QE=[...XE,...ZE,...JE],ek=e=>QE.reduce(((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t)),{}),tk=["value","defaultValue","referenceDate","format","formatDensity","onChange","timezone","onError","shouldRespectLeadingZeros","selectedSections","onSelectedSectionsChange","unstableFieldRef","enableAccessibleFieldDOMStructure","disabled","readOnly","dateSeparator"],nk=(e,t)=>{const n=(0,s.A)({},e),r={},o=e=>{n.hasOwnProperty(e)&&(r[e]=n[e],delete n[e])};return tk.forEach(o),"date"===t?XE.forEach(o):"time"===t?ZE.forEach(o):"date-time"===t&&(XE.forEach(o),ZE.forEach(o),JE.forEach(o)),{forwardedProps:n,internalProps:r}},rk=e=>{const t=(e=>{const t=_C(),n=OC();return(0,s.A)({},e,{disablePast:e.disablePast??!1,disableFuture:e.disableFuture??!1,format:e.format??t.formats.keyboardDate,minDate:jS(t,e.minDate,n.minDate),maxDate:jS(t,e.maxDate,n.maxDate)})})(e),{forwardedProps:n,internalProps:r}=nk(t,"date");return KE({forwardedProps:n,internalProps:r,valueManager:AC,fieldValueManager:xC,validator:UC,valueType:"date"})},ok=["clearable","onClear","InputProps","sx","slots","slotProps"],ik=["ownerState"],ak=e=>{const t=PC(),{clearable:n,onClear:r,InputProps:o,sx:a,slots:c,slotProps:u}=e,d=(0,l.A)(e,ok),h=c?.clearButton??Vn,p=(0,mn.Q)({elementType:h,externalSlotProps:u?.clearButton,ownerState:{},className:"clearButton",additionalProps:{title:t.fieldClearLabel}}),f=(0,l.A)(p,ik),g=c?.clearIcon??zE,m=(0,mn.Q)({elementType:g,externalSlotProps:u?.clearIcon,ownerState:{}});return(0,s.A)({},d,{InputProps:(0,s.A)({},o,{endAdornment:(0,F.jsxs)(i.Fragment,{children:[n&&(0,F.jsx)(TS,{position:"end",sx:{marginRight:o?.endAdornment?-1:-1.5},children:(0,F.jsx)(h,(0,s.A)({},f,{onClick:r,children:(0,F.jsx)(g,(0,s.A)({fontSize:"small"},m))}))}),o?.endAdornment]})}),sx:[{"& .clearButton":{opacity:1},"@media (pointer: fine)":{"& .clearButton":{opacity:0},"&:hover, &:focus-within":{".clearButton":{opacity:1}}}},...Array.isArray(a)?a:[a]]})};function sk(e){return(0,R.Ay)("MuiPickersTextField",e)}(0,L.A)("MuiPickersTextField",["root","focused","disabled","error","required"]);function lk(e){return(0,R.Ay)("MuiPickersInputBase",e)}const ck=(0,L.A)("MuiPickersInputBase",["root","focused","disabled","error","notchedOutline","sectionContent","sectionBefore","sectionAfter","adornedStart","adornedEnd","input"]);function uk(e){return(0,R.Ay)("MuiPickersOutlinedInput",e)}const dk=(0,s.A)({},ck,(0,L.A)("MuiPickersOutlinedInput",["root","notchedOutline","input"])),hk=["children","className","label","notched","shrink"],pk=(0,h.Ay)("fieldset",{name:"MuiPickersOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{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%",borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),fk=(0,h.Ay)("span")((({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:"inherit"}))),gk=(0,h.Ay)("legend")((({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:{withLabel:!1},style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:{withLabel:!0},style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:{withLabel:!0,notched:!0},style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function mk(e){const{className:t,label:n}=e,r=(0,l.A)(e,hk),o=null!=n&&""!==n,i=(0,s.A)({},e,{withLabel:o});return(0,F.jsx)(pk,(0,s.A)({"aria-hidden":!0,className:t},r,{ownerState:i,children:(0,F.jsx)(gk,{ownerState:i,children:o?(0,F.jsx)(fk,{children:n}):(0,F.jsx)(fk,{className:"notranslate",children:"​"})})}))}var yk=n(97387);function vk(e){return(0,R.Ay)("MuiPickersSectionList",e)}const bk=(0,L.A)("MuiPickersSectionList",["root","section","sectionContent"]),wk=["slots","slotProps","elements","sectionListRef"],Ak=(0,h.Ay)("div",{name:"MuiPickersSectionList",slot:"Root",overridesResolver:(e,t)=>t.root})({direction:"ltr /*! @noflip */",outline:"none"}),xk=(0,h.Ay)("span",{name:"MuiPickersSectionList",slot:"Section",overridesResolver:(e,t)=>t.section})({}),Sk=(0,h.Ay)("span",{name:"MuiPickersSectionList",slot:"SectionSeparator",overridesResolver:(e,t)=>t.sectionSeparator})({whiteSpace:"pre"}),Ck=(0,h.Ay)("span",{name:"MuiPickersSectionList",slot:"SectionContent",overridesResolver:(e,t)=>t.sectionContent})({outline:"none"});function Ek(e){const{slots:t,slotProps:n,element:r,classes:o}=e,i=t?.section??xk,a=(0,mn.Q)({elementType:i,externalSlotProps:n?.section,externalForwardedProps:r.container,className:o.section,ownerState:{}}),l=t?.sectionContent??Ck,c=(0,mn.Q)({elementType:l,externalSlotProps:n?.sectionContent,externalForwardedProps:r.content,additionalProps:{suppressContentEditableWarning:!0},className:o.sectionContent,ownerState:{}}),u=t?.sectionSeparator??Sk,d=(0,mn.Q)({elementType:u,externalSlotProps:n?.sectionSeparator,externalForwardedProps:r.before,ownerState:{position:"before"}}),h=(0,mn.Q)({elementType:u,externalSlotProps:n?.sectionSeparator,externalForwardedProps:r.after,ownerState:{position:"after"}});return(0,F.jsxs)(i,(0,s.A)({},a,{children:[(0,F.jsx)(u,(0,s.A)({},d)),(0,F.jsx)(l,(0,s.A)({},c)),(0,F.jsx)(u,(0,s.A)({},h))]}))}const kk=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiPickersSectionList"}),{slots:r,slotProps:o,elements:a,sectionListRef:c}=n,d=(0,l.A)(n,wk),h=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],section:["section"],sectionContent:["sectionContent"]},vk,t)})(n),p=i.useRef(null),f=(0,q.A)(t,p),g=e=>{if(!p.current)throw new Error(`MUI X: Cannot call sectionListRef.${e} before the mount of the component.`);return p.current};i.useImperativeHandle(c,(()=>({getRoot:()=>g("getRoot"),getSectionContainer:e=>g("getSectionContainer").querySelector(`.${bk.section}[data-sectionindex="${e}"]`),getSectionContent:e=>g("getSectionContent").querySelector(`.${bk.section}[data-sectionindex="${e}"] .${bk.sectionContent}`),getSectionIndexFromDOMElement(e){const t=g("getSectionIndexFromDOMElement");if(null==e||!t.contains(e))return null;let n=null;return e.classList.contains(bk.section)?n=e:e.classList.contains(bk.sectionContent)&&(n=e.parentElement),null==n?null:Number(n.dataset.sectionindex)}})));const m=r?.root??Ak,y=(0,mn.Q)({elementType:m,externalSlotProps:o?.root,externalForwardedProps:d,additionalProps:{ref:f,suppressContentEditableWarning:!0},className:h.root,ownerState:{}});return(0,F.jsx)(m,(0,s.A)({},y,{children:y.contentEditable?a.map((({content:e,before:t,after:n})=>`${t.children}${e.children}${n.children}`)).join(""):(0,F.jsx)(i.Fragment,{children:a.map(((e,t)=>(0,F.jsx)(Ek,{slots:r,slotProps:o,element:e,classes:h},t)))})}))})),Tk=["elements","areAllSectionsEmpty","defaultValue","label","value","onChange","id","autoFocus","endAdornment","startAdornment","renderSuffix","slots","slotProps","contentEditable","tabIndex","onInput","onPaste","onKeyDown","fullWidth","name","readOnly","inputProps","inputRef","sectionListRef"],_k=(0,h.Ay)("div",{name:"MuiPickersInputBase",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{return(0,s.A)({},e.typography.body1,{color:(e.vars||e).palette.text.primary,cursor:"text",padding:0,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",boxSizing:"border-box",letterSpacing:(t=.15/16,Math.round(1e5*t)/1e5)+"em",variants:[{props:{fullWidth:!0},style:{width:"100%"}}]});var t})),Ok=(0,h.Ay)(Ak,{name:"MuiPickersInputBase",slot:"SectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})((({theme:e})=>({padding:"4px 0 5px",fontFamily:e.typography.fontFamily,fontSize:"inherit",lineHeight:"1.4375em",flexGrow:1,outline:"none",display:"flex",flexWrap:"nowrap",overflow:"hidden",letterSpacing:"inherit",width:"182px",variants:[{props:{isRtl:!0},style:{textAlign:"right /*! @noflip */"}},{props:{size:"small"},style:{paddingTop:1}},{props:{adornedStart:!1,focused:!1,filled:!1},style:{color:"currentColor",opacity:0}},{props:({adornedStart:e,focused:t,filled:n,label:r})=>!e&&!t&&!n&&null==r,style:e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:"light"===e.palette.mode?.42:.5}}]}))),Pk=(0,h.Ay)(xk,{name:"MuiPickersInputBase",slot:"Section",overridesResolver:(e,t)=>t.section})((({theme:e})=>({fontFamily:e.typography.fontFamily,fontSize:"inherit",letterSpacing:"inherit",lineHeight:"1.4375em",display:"flex"}))),Ik=(0,h.Ay)(Ck,{name:"MuiPickersInputBase",slot:"SectionContent",overridesResolver:(e,t)=>t.content})((({theme:e})=>({fontFamily:e.typography.fontFamily,lineHeight:"1.4375em",letterSpacing:"inherit",width:"fit-content",outline:"none"}))),Mk=(0,h.Ay)(Sk,{name:"MuiPickersInputBase",slot:"Separator",overridesResolver:(e,t)=>t.separator})((()=>({whiteSpace:"pre",letterSpacing:"inherit"}))),Lk=(0,h.Ay)("input",{name:"MuiPickersInputBase",slot:"Input",overridesResolver:(e,t)=>t.hiddenInput})((0,s.A)({},yk.A)),Rk=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiPickersInputBase"}),{elements:r,areAllSectionsEmpty:o,value:a,onChange:c,id:d,endAdornment:h,startAdornment:p,renderSuffix:f,slots:g,slotProps:m,contentEditable:y,tabIndex:v,onInput:b,onPaste:w,onKeyDown:A,name:x,readOnly:S,inputProps:C,inputRef:E,sectionListRef:k}=n,_=(0,l.A)(n,Tk),O=i.useRef(null),P=(0,q.A)(t,O),I=(0,q.A)(C?.ref,E),M=(0,eo.I)(),L=(0,Um.A)();if(!L)throw new Error("MUI X: PickersInputBase should always be used inside a PickersTextField component");i.useEffect((()=>{L&&L.setAdornedStart(Boolean(p))}),[L,p]),i.useEffect((()=>{L&&(o?L.onEmpty():L.onFilled())}),[L,o]);const R=(0,s.A)({},n,L,{isRtl:M}),j=(e=>{const{focused:t,disabled:n,error:r,classes:o,fullWidth:i,readOnly:a,color:s,size:l,endAdornment:c,startAdornment:d}=e,h={root:["root",t&&!n&&"focused",n&&"disabled",a&&"readOnly",r&&"error",i&&"fullWidth",`color${(0,Bc.A)(s)}`,"small"===l&&"inputSizeSmall",Boolean(d)&&"adornedStart",Boolean(c)&&"adornedEnd"],notchedOutline:["notchedOutline"],input:["input"],sectionsContainer:["sectionsContainer"],sectionContent:["sectionContent"],sectionBefore:["sectionBefore"],sectionAfter:["sectionAfter"]};return(0,u.A)(h,lk,o)})(R),D=g?.root||_k,N=(0,mn.Q)({elementType:D,externalSlotProps:m?.root,externalForwardedProps:_,additionalProps:{"aria-invalid":L.error,ref:P},className:j.root,ownerState:R}),z=g?.input||Ok;return(0,F.jsxs)(D,(0,s.A)({},N,{children:[p,(0,F.jsx)(kk,{sectionListRef:k,elements:r,contentEditable:y,tabIndex:v,className:j.sectionsContainer,onFocus:e=>{L.disabled?e.stopPropagation():L.onFocus?.(e)},onBlur:L.onBlur,onInput:b,onPaste:w,onKeyDown:A,slots:{root:z,section:Pk,sectionContent:Ik,sectionSeparator:Mk},slotProps:{root:{ownerState:R},sectionContent:{className:ck.sectionContent},sectionSeparator:({position:e})=>({className:"before"===e?ck.sectionBefore:ck.sectionAfter})}}),h,f?f((0,s.A)({},L)):null,(0,F.jsx)(Lk,(0,s.A)({name:x,className:j.input,value:a,onChange:c,id:d,"aria-hidden":"true",tabIndex:-1,readOnly:S,required:L.required,disabled:L.disabled},C,{ref:I}))]}))})),jk=["label","autoFocus","ownerState","notched"],Fk=(0,h.Ay)(_k,{name:"MuiPickersOutlinedInput",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{padding:"0 14px",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${dk.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${dk.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${dk.focused} .${dk.notchedOutline}`]:{borderStyle:"solid",borderWidth:2},[`&.${dk.disabled}`]:{[`& .${dk.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled},"*":{color:(e.vars||e).palette.action.disabled}},[`&.${dk.error} .${dk.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},variants:Object.keys((e.vars??e).palette).filter((t=>(e.vars??e).palette[t]?.main??!1)).map((t=>({props:{color:t},style:{[`&.${dk.focused}:not(.${dk.error}) .${dk.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})))}})),Dk=(0,h.Ay)(Ok,{name:"MuiPickersOutlinedInput",slot:"SectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})({padding:"16.5px 0",variants:[{props:{size:"small"},style:{padding:"8.5px 0"}}]}),Nk=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiPickersOutlinedInput"}),{label:r,ownerState:o,notched:a}=n,c=(0,l.A)(n,jk),d=(0,Um.A)(),h=(0,s.A)({},n,o,d,{color:d?.color||"primary"}),p=(e=>{const{classes:t}=e,n=(0,u.A)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},uk,t);return(0,s.A)({},t,n)})(h);return(0,F.jsx)(Rk,(0,s.A)({slots:{root:Fk,input:Dk},renderSuffix:e=>(0,F.jsx)(mk,{shrink:Boolean(a||e.adornedStart||e.focused||e.filled),notched:Boolean(a||e.adornedStart||e.focused||e.filled),className:p.notchedOutline,label:null!=r&&""!==r&&d?.required?(0,F.jsxs)(i.Fragment,{children:[r," ","*"]}):r,ownerState:h})},c,{label:r,classes:p,ref:t}))}));function zk(e){return(0,R.Ay)("MuiPickersFilledInput",e)}Nk.muiName="Input";const Bk=(0,s.A)({},ck,(0,L.A)("MuiPickersFilledInput",["root","underline","input"])),Vk=["label","autoFocus","disableUnderline","ownerState"],$k=(0,h.Ay)(_k,{name:"MuiPickersFilledInput",slot:"Root",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Kc(e)&&"disableUnderline"!==e})((({theme:e})=>{const t="light"===e.palette.mode,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",o=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",i=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{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:o,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Bk.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Bk.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:i},variants:[...Object.keys((e.vars??e).palette).filter((t=>(e.vars??e).palette[t].main)).map((t=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}}))),{props:{disableUnderline:!1},style:{"&::after":{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"},[`&.${Bk.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Bk.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})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Bk.disabled}, .${Bk.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Bk.disabled}:before`]:{borderBottomStyle:"dotted"}}},{props:({startAdornment:e})=>!!e,style:{paddingLeft:12}},{props:({endAdornment:e})=>!!e,style:{paddingRight:12}}]}})),Gk=(0,h.Ay)(Ok,{name:"MuiPickersFilledInput",slot:"sectionsContainer",overridesResolver:(e,t)=>t.sectionsContainer})({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({startAdornment:e})=>!!e,style:{paddingLeft:0}},{props:({endAdornment:e})=>!!e,style:{paddingRight:0}},{props:{hiddenLabel:!0},style:{paddingTop:16,paddingBottom:17}},{props:{hiddenLabel:!0,size:"small"},style:{paddingTop:8,paddingBottom:9}}]}),Uk=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiPickersFilledInput"}),{label:r,disableUnderline:o=!1,ownerState:i}=n,a=(0,l.A)(n,Vk),c=(0,Um.A)(),d=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},o=(0,u.A)(r,zk,t);return(0,s.A)({},t,o)})((0,s.A)({},n,i,c,{color:c?.color||"primary"}));return(0,F.jsx)(Rk,(0,s.A)({slots:{root:$k,input:Gk},slotProps:{root:{disableUnderline:o}}},a,{label:r,classes:d,ref:t}))}));function Wk(e){return(0,R.Ay)("MuiPickersFilledInput",e)}Uk.muiName="Input";const qk=(0,s.A)({},ck,(0,L.A)("MuiPickersInput",["root","input"])),Hk=["label","autoFocus","disableUnderline","ownerState"],Yk=(0,h.Ay)(_k,{name:"MuiPickersInput",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{"label + &":{marginTop:16},variants:[...Object.keys((e.vars??e).palette).filter((t=>(e.vars??e).palette[t].main)).map((t=>({props:{color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))),{props:{disableUnderline:!1},style:{"&::after":{background:"red",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"},[`&.${qk.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${qk.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${qk.disabled}, .${qk.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${qk.disabled}:before`]:{borderBottomStyle:"dotted"}}}]}})),Kk=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiPickersInput"}),{label:r,disableUnderline:o=!1,ownerState:i}=n,a=(0,l.A)(n,Hk),c=(0,Um.A)(),d=(e=>{const{classes:t,disableUnderline:n}=e,r={root:["root",!n&&"underline"],input:["input"]},o=(0,u.A)(r,Wk,t);return(0,s.A)({},t,o)})((0,s.A)({},n,i,c,{disableUnderline:o,color:c?.color||"primary"}));return(0,F.jsx)(Rk,(0,s.A)({slots:{root:Yk}},a,{label:r,classes:d,ref:t}))}));Kk.muiName="Input";const Xk=["onFocus","onBlur","className","color","disabled","error","variant","required","InputProps","inputProps","inputRef","sectionListRef","elements","areAllSectionsEmpty","onClick","onKeyDown","onKeyUp","onPaste","onInput","endAdornment","startAdornment","tabIndex","contentEditable","focused","value","onChange","fullWidth","id","name","helperText","FormHelperTextProps","label","InputLabelProps"],Zk={standard:Kk,filled:Uk,outlined:Nk},Jk=(0,h.Ay)(je.A,{name:"MuiPickersTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Qk=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiPickersTextField"}),{onFocus:r,onBlur:o,className:a,color:d="primary",disabled:h=!1,error:p=!1,variant:f="outlined",required:g=!1,InputProps:m,inputProps:y,inputRef:v,sectionListRef:b,elements:w,areAllSectionsEmpty:A,onClick:x,onKeyDown:S,onPaste:C,onInput:E,endAdornment:k,startAdornment:_,tabIndex:O,contentEditable:P,focused:I,value:M,onChange:L,fullWidth:R,id:j,name:D,helperText:N,FormHelperTextProps:z,label:B,InputLabelProps:V}=n,$=(0,l.A)(n,Xk),G=i.useRef(null),U=(0,q.A)(t,G),W=(0,Fe.A)(j),H=N&&W?`${W}-helper-text`:void 0,Y=B&&W?`${W}-label`:void 0,K=(0,s.A)({},n,{color:d,disabled:h,error:p,focused:I,required:g,variant:f}),X=(e=>{const{focused:t,disabled:n,classes:r,required:o}=e,i={root:["root",t&&!n&&"focused",n&&"disabled",o&&"required"]};return(0,u.A)(i,sk,r)})(K),Z=Zk[f];return(0,F.jsxs)(Jk,(0,s.A)({className:(0,c.A)(X.root,a),ref:U,focused:I,onFocus:r,onBlur:o,disabled:h,variant:f,error:p,color:d,fullWidth:R,required:g,ownerState:K},$,{children:[(0,F.jsx)(Tm.A,(0,s.A)({htmlFor:W,id:Y},V,{children:B})),(0,F.jsx)(Z,(0,s.A)({elements:w,areAllSectionsEmpty:A,onClick:x,onKeyDown:S,onInput:E,onPaste:C,endAdornment:k,startAdornment:_,tabIndex:O,contentEditable:P,value:M,onChange:L,id:W,fullWidth:R,inputProps:y,inputRef:v,sectionListRef:b,label:B,name:D,role:"group","aria-labelledby":Y},m)),N&&(0,F.jsx)(Ay,(0,s.A)({id:H},z,{children:N}))]}))})),eT=["enableAccessibleFieldDOMStructure"],tT=["InputProps","readOnly"],nT=["onPaste","onKeyDown","inputMode","readOnly","InputProps","inputProps","inputRef"],rT=e=>{let{enableAccessibleFieldDOMStructure:t}=e,n=(0,l.A)(e,eT);if(t){const{InputProps:e,readOnly:t}=n,r=(0,l.A)(n,tT);return(0,s.A)({},r,{InputProps:(0,s.A)({},e??{},{readOnly:t})})}const{onPaste:r,onKeyDown:o,inputMode:i,readOnly:a,InputProps:c,inputProps:u,inputRef:d}=n,h=(0,l.A)(n,nT);return(0,s.A)({},h,{InputProps:(0,s.A)({},c??{},{readOnly:a}),inputProps:(0,s.A)({},u??{},{inputMode:i,onPaste:r,onKeyDown:o,ref:d})})},oT=["slots","slotProps","InputProps","inputProps"],iT=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiDateField"}),{slots:r,slotProps:o,InputProps:i,inputProps:a}=n,c=(0,l.A)(n,oT),u=n,d=r?.textField??(e.enableAccessibleFieldDOMStructure?Qk:lS),h=(0,mn.Q)({elementType:d,externalSlotProps:o?.textField,externalForwardedProps:c,additionalProps:{ref:t},ownerState:u});h.inputProps=(0,s.A)({},a,h.inputProps),h.InputProps=(0,s.A)({},i,h.InputProps);const p=rk(h),f=rT(p),g=ak((0,s.A)({},f,{slots:r,slotProps:o}));return(0,F.jsx)(d,(0,s.A)({},g))})),aT=({shouldDisableDate:e,shouldDisableMonth:t,shouldDisableYear:n,minDate:r,maxDate:o,disableFuture:a,disablePast:s,timezone:l})=>{const c=TC();return i.useCallback((i=>null!==UC({adapter:c,value:i,props:{shouldDisableDate:e,shouldDisableMonth:t,shouldDisableYear:n,minDate:r,maxDate:o,disableFuture:a,disablePast:s,timezone:l}})),[c,e,t,n,r,o,a,s,l])},sT=e=>{const{value:t,referenceDate:n,disableFuture:r,disablePast:o,disableSwitchToMonthOnDayFocus:a=!1,maxDate:l,minDate:c,onMonthChange:u,reduceAnimations:d,shouldDisableDate:h,timezone:p}=e,f=_C(),g=i.useRef(((e,t,n)=>(r,o)=>{switch(o.type){case"changeMonth":return(0,s.A)({},r,{slideDirection:o.direction,currentMonth:o.newMonth,isMonthSwitchingAnimating:!e});case"finishMonthSwitchingAnimation":return(0,s.A)({},r,{isMonthSwitchingAnimating:!1});case"changeFocusedDay":{if(null!=r.focusedDay&&null!=o.focusedDay&&n.isSameDay(o.focusedDay,r.focusedDay))return r;const i=null!=o.focusedDay&&!t&&!n.isSameMonth(r.currentMonth,o.focusedDay);return(0,s.A)({},r,{focusedDay:o.focusedDay,isMonthSwitchingAnimating:i&&!e&&!o.withoutMonthSwitchingAnimation,currentMonth:i?n.startOfMonth(o.focusedDay):r.currentMonth,slideDirection:null!=o.focusedDay&&n.isAfterDay(o.focusedDay,r.currentMonth)?"left":"right"})}default:throw new Error("missing support")}})(Boolean(d),a,f)).current,m=i.useMemo((()=>AC.getInitialReferenceValue({value:t,utils:f,timezone:p,props:e,referenceDate:n,granularity:JS.day})),[]),[y,v]=i.useReducer(g,{isMonthSwitchingAnimating:!1,focusedDay:m,currentMonth:f.startOfMonth(m),slideDirection:"left"}),b=i.useCallback((e=>{v((0,s.A)({type:"changeMonth"},e)),u&&u(e.newMonth)}),[u]),w=i.useCallback((e=>{const t=e;f.isSameMonth(t,y.currentMonth)||b({newMonth:f.startOfMonth(t),direction:f.isAfterDay(t,y.currentMonth)?"left":"right"})}),[y.currentMonth,b,f]),A=aT({shouldDisableDate:h,minDate:c,maxDate:l,disableFuture:r,disablePast:o,timezone:p}),x=i.useCallback((()=>{v({type:"finishMonthSwitchingAnimation"})}),[]),S=(0,ze.A)(((e,t)=>{A(e)||v({type:"changeFocusedDay",focusedDay:e,withoutMonthSwitchingAnimation:t})}));return{referenceDate:m,calendarState:y,changeMonth:w,changeFocusedDay:S,isDateDisabled:A,onMonthSwitchingAnimationEnd:x,handleChangeMonth:b}};var lT=n(37091);const cT=e=>(0,R.Ay)("MuiPickersFadeTransitionGroup",e),uT=((0,L.A)("MuiPickersFadeTransitionGroup",["root"]),(0,h.Ay)(lT.A,{name:"MuiPickersFadeTransitionGroup",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"block",position:"relative"}));function dT(e){const t=(0,T.A)({props:e,name:"MuiPickersFadeTransitionGroup"}),{children:n,className:r,reduceAnimations:o,transKey:i}=t,a=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},cT,t)})(t),s=(0,I.A)();return o?n:(0,F.jsx)(uT,{className:(0,c.A)(a.root,r),children:(0,F.jsx)(ko,{appear:!1,mountOnEnter:!0,unmountOnExit:!0,timeout:{appear:s.transitions.duration.enteringScreen,enter:s.transitions.duration.enteringScreen,exit:0},children:n},i)})}function hT(e){return(0,R.Ay)("MuiPickersDay",e)}const pT=(0,L.A)("MuiPickersDay",["root","dayWithMargin","dayOutsideMonth","hiddenDaySpacingFiller","today","selected","disabled"]),fT=["autoFocus","className","day","disabled","disableHighlightToday","disableMargin","hidden","isAnimating","onClick","onDaySelect","onFocus","onBlur","onKeyDown","onMouseDown","onMouseEnter","outsideCurrentMonth","selected","showDaysOutsideCurrentMonth","children","today","isFirstVisibleCell","isLastVisibleCell"],gT=({theme:e})=>(0,s.A)({},e.typography.caption,{width:36,height:36,borderRadius:"50%",padding:0,backgroundColor:"transparent",transition:e.transitions.create("background-color",{duration:e.transitions.duration.short}),color:(e.vars||e).palette.text.primary,"@media (pointer: fine)":{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ry.X4)(e.palette.primary.main,e.palette.action.hoverOpacity)}},"&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,Ry.X4)(e.palette.primary.main,e.palette.action.focusOpacity),[`&.${pT.selected}`]:{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${pT.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,fontWeight:e.typography.fontWeightMedium,"&:hover":{willChange:"background-color",backgroundColor:(e.vars||e).palette.primary.dark}},[`&.${pT.disabled}:not(.${pT.selected})`]:{color:(e.vars||e).palette.text.disabled},[`&.${pT.disabled}&.${pT.selected}`]:{opacity:.6},variants:[{props:{disableMargin:!1},style:{margin:"0 2px"}},{props:{outsideCurrentMonth:!0,showDaysOutsideCurrentMonth:!0},style:{color:(e.vars||e).palette.text.secondary}},{props:{disableHighlightToday:!1,today:!0},style:{[`&:not(.${pT.selected})`]:{border:`1px solid ${(e.vars||e).palette.text.secondary}`}}}]}),mT=(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableMargin&&t.dayWithMargin,!n.disableHighlightToday&&n.today&&t.today,!n.outsideCurrentMonth&&n.showDaysOutsideCurrentMonth&&t.dayOutsideMonth,n.outsideCurrentMonth&&!n.showDaysOutsideCurrentMonth&&t.hiddenDaySpacingFiller]},yT=(0,h.Ay)(ae.A,{name:"MuiPickersDay",slot:"Root",overridesResolver:mT})(gT),vT=(0,h.Ay)("div",{name:"MuiPickersDay",slot:"Root",overridesResolver:mT})((({theme:e})=>(0,s.A)({},gT({theme:e}),{opacity:0,pointerEvents:"none"}))),bT=()=>{},wT=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiPickersDay"}),{autoFocus:r=!1,className:o,day:a,disabled:d=!1,disableHighlightToday:h=!1,disableMargin:p=!1,isAnimating:f,onClick:g,onDaySelect:m,onFocus:y=bT,onBlur:v=bT,onKeyDown:b=bT,onMouseDown:w=bT,onMouseEnter:A=bT,outsideCurrentMonth:x,selected:S=!1,showDaysOutsideCurrentMonth:C=!1,children:E,today:k=!1}=n,_=(0,l.A)(n,fT),O=(0,s.A)({},n,{autoFocus:r,disabled:d,disableHighlightToday:h,disableMargin:p,selected:S,showDaysOutsideCurrentMonth:C,today:k}),P=(e=>{const{selected:t,disableMargin:n,disableHighlightToday:r,today:o,disabled:i,outsideCurrentMonth:a,showDaysOutsideCurrentMonth:s,classes:l}=e,c=a&&!s,d={root:["root",t&&!c&&"selected",i&&"disabled",!n&&"dayWithMargin",!r&&o&&"today",a&&s&&"dayOutsideMonth",c&&"hiddenDaySpacingFiller"],hiddenDaySpacingFiller:["hiddenDaySpacingFiller"]};return(0,u.A)(d,hT,l)})(O),I=_C(),M=i.useRef(null),L=(0,q.A)(M,t);(0,He.A)((()=>{!r||d||f||x||M.current.focus()}),[r,d,f,x]);return x&&!C?(0,F.jsx)(vT,{className:(0,c.A)(P.root,P.hiddenDaySpacingFiller,o),ownerState:O,role:_.role}):(0,F.jsx)(yT,(0,s.A)({className:(0,c.A)(P.root,o),ref:L,centerRipple:!0,disabled:d,tabIndex:S?0:-1,onKeyDown:e=>b(e,a),onFocus:e=>y(e,a),onBlur:e=>v(e,a),onMouseEnter:e=>A(e,a),onClick:e=>{d||m(a),x&&e.currentTarget.focus(),g&&g(e)},onMouseDown:e=>{w(e),x&&e.preventDefault()}},_,{ownerState:O,children:E||I.format(a,"dayOfMonth")}))})),AT=i.memo(wT);function xT(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var ST=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=xT(n.className,r):n.setAttribute("class",xT(n.className&&n.className.baseVal||"",r)));var n,r}))},CT=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o(0,R.Ay)("MuiPickersSlideTransition",e),TT=(0,L.A)("MuiPickersSlideTransition",["root","slideEnter-left","slideEnter-right","slideEnterActive","slideExit","slideExitActiveLeft-left","slideExitActiveLeft-right"]),_T=["children","className","reduceAnimations","slideDirection","transKey","classes"],OT=(0,h.Ay)(lT.A,{name:"MuiPickersSlideTransition",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`.${TT["slideEnter-left"]}`]:t["slideEnter-left"]},{[`.${TT["slideEnter-right"]}`]:t["slideEnter-right"]},{[`.${TT.slideEnterActive}`]:t.slideEnterActive},{[`.${TT.slideExit}`]:t.slideExit},{[`.${TT["slideExitActiveLeft-left"]}`]:t["slideExitActiveLeft-left"]},{[`.${TT["slideExitActiveLeft-right"]}`]:t["slideExitActiveLeft-right"]}]})((({theme:e})=>{const t=e.transitions.create("transform",{duration:e.transitions.duration.complex,easing:"cubic-bezier(0.35, 0.8, 0.4, 1)"});return{display:"block",position:"relative",overflowX:"hidden","& > *":{position:"absolute",top:0,right:0,left:0},[`& .${TT["slideEnter-left"]}`]:{willChange:"transform",transform:"translate(100%)",zIndex:1},[`& .${TT["slideEnter-right"]}`]:{willChange:"transform",transform:"translate(-100%)",zIndex:1},[`& .${TT.slideEnterActive}`]:{transform:"translate(0%)",transition:t},[`& .${TT.slideExit}`]:{transform:"translate(0%)"},[`& .${TT["slideExitActiveLeft-left"]}`]:{willChange:"transform",transform:"translate(-100%)",transition:t,zIndex:0},[`& .${TT["slideExitActiveLeft-right"]}`]:{willChange:"transform",transform:"translate(100%)",transition:t,zIndex:0}}}));const PT=e=>(0,R.Ay)("MuiDayCalendar",e),IT=((0,L.A)("MuiDayCalendar",["root","header","weekDayLabel","loadingContainer","slideTransition","monthContainer","weekContainer","weekNumberLabel","weekNumber"]),["parentProps","day","focusableDay","selectedDays","isDateDisabled","currentMonthNumber","isViewFocused"]),MT=["ownerState"],LT=(0,h.Ay)("div",{name:"MuiDayCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),RT=(0,h.Ay)("div",{name:"MuiDayCalendar",slot:"Header",overridesResolver:(e,t)=>t.header})({display:"flex",justifyContent:"center",alignItems:"center"}),jT=(0,h.Ay)(ji.A,{name:"MuiDayCalendar",slot:"WeekDayLabel",overridesResolver:(e,t)=>t.weekDayLabel})((({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:(e.vars||e).palette.text.secondary}))),FT=(0,h.Ay)(ji.A,{name:"MuiDayCalendar",slot:"WeekNumberLabel",overridesResolver:(e,t)=>t.weekNumberLabel})((({theme:e})=>({width:36,height:40,margin:"0 2px",textAlign:"center",display:"flex",justifyContent:"center",alignItems:"center",color:e.palette.text.disabled}))),DT=(0,h.Ay)(ji.A,{name:"MuiDayCalendar",slot:"WeekNumber",overridesResolver:(e,t)=>t.weekNumber})((({theme:e})=>(0,s.A)({},e.typography.caption,{width:36,height:36,padding:0,margin:"0 2px",color:e.palette.text.disabled,fontSize:"0.75rem",alignItems:"center",justifyContent:"center",display:"inline-flex"}))),NT=(0,h.Ay)("div",{name:"MuiDayCalendar",slot:"LoadingContainer",overridesResolver:(e,t)=>t.loadingContainer})({display:"flex",justifyContent:"center",alignItems:"center",minHeight:240}),zT=(0,h.Ay)((function(e){const t=(0,T.A)({props:e,name:"MuiPickersSlideTransition"}),{children:n,className:r,reduceAnimations:o,transKey:a}=t,d=(0,l.A)(t,_T),h=(e=>{const{classes:t,slideDirection:n}=e,r={root:["root"],exit:["slideExit"],enterActive:["slideEnterActive"],enter:[`slideEnter-${n}`],exitActive:[`slideExitActiveLeft-${n}`]};return(0,u.A)(r,kT,t)})(t),p=(0,I.A)();if(o)return(0,F.jsx)("div",{className:(0,c.A)(h.root,r),children:n});const f={exit:h.exit,enterActive:h.enterActive,enter:h.enter,exitActive:h.exitActive};return(0,F.jsx)(OT,{className:(0,c.A)(h.root,r),childFactory:e=>i.cloneElement(e,{classNames:f}),role:"presentation",children:(0,F.jsx)(ET,(0,s.A)({mountOnEnter:!0,unmountOnExit:!0,timeout:p.transitions.duration.complex,classNames:f},d,{children:n}),a)})}),{name:"MuiDayCalendar",slot:"SlideTransition",overridesResolver:(e,t)=>t.slideTransition})({minHeight:240}),BT=(0,h.Ay)("div",{name:"MuiDayCalendar",slot:"MonthContainer",overridesResolver:(e,t)=>t.monthContainer})({overflow:"hidden"}),VT=(0,h.Ay)("div",{name:"MuiDayCalendar",slot:"WeekContainer",overridesResolver:(e,t)=>t.weekContainer})({margin:"2px 0",display:"flex",justifyContent:"center"});function $T(e){let{parentProps:t,day:n,focusableDay:r,selectedDays:o,isDateDisabled:a,currentMonthNumber:c,isViewFocused:u}=e,d=(0,l.A)(e,IT);const{disabled:h,disableHighlightToday:p,isMonthSwitchingAnimating:f,showDaysOutsideCurrentMonth:g,slots:m,slotProps:y,timezone:v}=t,b=_C(),w=IC(v),A=null!==r&&b.isSameDay(n,r),x=o.some((e=>b.isSameDay(e,n))),S=b.isSameDay(n,w),C=m?.day??AT,E=(0,mn.Q)({elementType:C,externalSlotProps:y?.day,additionalProps:(0,s.A)({disableHighlightToday:p,showDaysOutsideCurrentMonth:g,role:"gridcell",isAnimating:f,"data-timestamp":b.toJsDate(n).valueOf()},d),ownerState:(0,s.A)({},t,{day:n,selected:x})}),k=(0,l.A)(E,MT),T=i.useMemo((()=>h||a(n)),[h,a,n]),_=i.useMemo((()=>b.getMonth(n)!==c),[b,n,c]),O=i.useMemo((()=>{const e=b.startOfMonth(b.setMonth(n,c));return g?b.isSameDay(n,b.startOfWeek(e)):b.isSameDay(n,e)}),[c,n,g,b]),P=i.useMemo((()=>{const e=b.endOfMonth(b.setMonth(n,c));return g?b.isSameDay(n,b.endOfWeek(e)):b.isSameDay(n,e)}),[c,n,g,b]);return(0,F.jsx)(C,(0,s.A)({},k,{day:n,disabled:T,autoFocus:u&&A,today:S,outsideCurrentMonth:_,isFirstVisibleCell:O,isLastVisibleCell:P,selected:x,tabIndex:A?0:-1,"aria-selected":x,"aria-current":S?"date":void 0}))}function GT(e){const t=(0,T.A)({props:e,name:"MuiDayCalendar"}),n=_C(),{onFocusedDayChange:r,className:o,currentMonth:a,selectedDays:l,focusedDay:d,loading:h,onSelectedDaysChange:p,onMonthSwitchingAnimationEnd:f,readOnly:g,reduceAnimations:m,renderLoading:y=(()=>(0,F.jsx)("span",{children:"..."})),slideDirection:v,TransitionProps:b,disablePast:w,disableFuture:A,minDate:x,maxDate:S,shouldDisableDate:C,shouldDisableMonth:E,shouldDisableYear:k,dayOfWeekFormatter:_=(e=>n.format(e,"weekdayShort").charAt(0).toUpperCase()),hasFocus:O,onFocusedViewChange:P,gridLabelId:I,displayWeekNumber:M,fixedWeekNumber:L,autoFocus:R,timezone:j}=t,D=IC(j),N=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],header:["header"],weekDayLabel:["weekDayLabel"],loadingContainer:["loadingContainer"],slideTransition:["slideTransition"],monthContainer:["monthContainer"],weekContainer:["weekContainer"],weekNumberLabel:["weekNumberLabel"],weekNumber:["weekNumber"]},PT,t)})(t),z=(0,eo.I)(),B=aT({shouldDisableDate:C,shouldDisableMonth:E,shouldDisableYear:k,minDate:x,maxDate:S,disablePast:w,disableFuture:A,timezone:j}),V=PC(),[$,G]=(0,De.A)({name:"DayCalendar",state:"hasFocus",controlled:O,default:R??!1}),[U,W]=i.useState((()=>d||D)),q=(0,ze.A)((e=>{g||p(e)})),H=e=>{B(e)||(r(e),W(e),P?.(!0),G(!0))},Y=(0,ze.A)(((e,t)=>{switch(e.key){case"ArrowUp":H(n.addDays(t,-7)),e.preventDefault();break;case"ArrowDown":H(n.addDays(t,7)),e.preventDefault();break;case"ArrowLeft":{const r=n.addDays(t,z?1:-1),o=n.addMonths(t,z?1:-1),i=RS({utils:n,date:r,minDate:z?r:n.startOfMonth(o),maxDate:z?n.endOfMonth(o):r,isDateDisabled:B,timezone:j});H(i||r),e.preventDefault();break}case"ArrowRight":{const r=n.addDays(t,z?-1:1),o=n.addMonths(t,z?-1:1),i=RS({utils:n,date:r,minDate:z?n.startOfMonth(o):r,maxDate:z?r:n.endOfMonth(o),isDateDisabled:B,timezone:j});H(i||r),e.preventDefault();break}case"Home":H(n.startOfWeek(t)),e.preventDefault();break;case"End":H(n.endOfWeek(t)),e.preventDefault();break;case"PageUp":H(n.addMonths(t,1)),e.preventDefault();break;case"PageDown":H(n.addMonths(t,-1)),e.preventDefault()}})),K=(0,ze.A)(((e,t)=>H(t))),X=(0,ze.A)(((e,t)=>{$&&n.isSameDay(U,t)&&P?.(!1)})),Z=n.getMonth(a),J=n.getYear(a),Q=i.useMemo((()=>l.filter((e=>!!e)).map((e=>n.startOfDay(e)))),[n,l]),ee=`${J}-${Z}`,te=i.useMemo((()=>i.createRef()),[ee]),ne=n.startOfWeek(D),re=i.useMemo((()=>{const e=n.startOfMonth(a),t=n.endOfMonth(a);return B(U)||n.isAfterDay(U,t)||n.isBeforeDay(U,e)?RS({utils:n,date:U,minDate:e,maxDate:t,disablePast:w,disableFuture:A,isDateDisabled:B,timezone:j}):U}),[a,A,w,U,B,n,j]),oe=i.useMemo((()=>{const e=n.setTimezone(a,j),t=n.getWeekArray(e);let r=n.addMonths(e,1);for(;L&&t.length{t.length(0,F.jsx)(jT,{variant:"caption",role:"columnheader","aria-label":n.format(n.addDays(ne,t),"weekday"),className:N.weekDayLabel,children:_(e)},t.toString())))]}),h?(0,F.jsx)(NT,{className:N.loadingContainer,children:y()}):(0,F.jsx)(zT,(0,s.A)({transKey:ee,onExited:f,reduceAnimations:m,slideDirection:v,className:(0,c.A)(o,N.slideTransition)},b,{nodeRef:te,children:(0,F.jsx)(BT,{ref:te,role:"rowgroup",className:N.monthContainer,children:oe.map(((e,r)=>(0,F.jsxs)(VT,{role:"row",className:N.weekContainer,"aria-rowindex":r+1,children:[M&&(0,F.jsx)(DT,{className:N.weekNumber,role:"rowheader","aria-label":V.calendarWeekNumberAriaLabelText(n.getWeekNumber(e[0])),children:V.calendarWeekNumberText(n.getWeekNumber(e[0]))}),e.map(((e,n)=>(0,F.jsx)($T,{parentProps:t,day:e,selectedDays:Q,focusableDay:re,onKeyDown:Y,onFocus:K,onBlur:X,onDaySelect:q,isDateDisabled:B,currentMonthNumber:Z,isViewFocused:$,"aria-colindex":n+1},e.toString())))]},`week-${e[0]}`)))})}))]})}function UT(e){return(0,R.Ay)("MuiPickersMonth",e)}const WT=(0,L.A)("MuiPickersMonth",["root","monthButton","disabled","selected"]),qT=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","aria-label","monthsPerRow","slots","slotProps"],HT=(0,h.Ay)("div",{name:"MuiPickersMonth",slot:"Root",overridesResolver:(e,t)=>[t.root]})({display:"flex",alignItems:"center",justifyContent:"center",flexBasis:"33.3%",variants:[{props:{monthsPerRow:4},style:{flexBasis:"25%"}}]}),YT=(0,h.Ay)("button",{name:"MuiPickersMonth",slot:"MonthButton",overridesResolver:(e,t)=>[t.monthButton,{[`&.${WT.disabled}`]:t.disabled},{[`&.${WT.selected}`]:t.selected}]})((({theme:e})=>(0,s.A)({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"8px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ry.X4)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ry.X4)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${WT.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${WT.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}}))),KT=i.memo((function(e){const t=(0,T.A)({props:e,name:"MuiPickersMonth"}),{autoFocus:n,className:r,children:o,disabled:a,selected:d,value:h,tabIndex:p,onClick:f,onKeyDown:g,onFocus:m,onBlur:y,"aria-current":v,"aria-label":b,slots:w,slotProps:A}=t,x=(0,l.A)(t,qT),S=i.useRef(null),C=(e=>{const{disabled:t,selected:n,classes:r}=e,o={root:["root"],monthButton:["monthButton",t&&"disabled",n&&"selected"]};return(0,u.A)(o,UT,r)})(t);(0,He.A)((()=>{n&&S.current?.focus()}),[n]);const E=w?.monthButton??YT,k=(0,mn.Q)({elementType:E,externalSlotProps:A?.monthButton,additionalProps:{children:o,disabled:a,tabIndex:p,ref:S,type:"button",role:"radio","aria-current":v,"aria-checked":d,"aria-label":b,onClick:e=>f(e,h),onKeyDown:e=>g(e,h),onFocus:e=>m(e,h),onBlur:e=>y(e,h)},ownerState:t,className:C.monthButton});return(0,F.jsx)(HT,(0,s.A)({className:(0,c.A)(C.root,r),ownerState:t},x,{children:(0,F.jsx)(E,(0,s.A)({},k))}))}));function XT(e){return(0,R.Ay)("MuiMonthCalendar",e)}(0,L.A)("MuiMonthCalendar",["root"]);const ZT=["className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","shouldDisableMonth","readOnly","disableHighlightToday","autoFocus","onMonthFocus","hasFocus","onFocusedViewChange","monthsPerRow","timezone","gridLabelId","slots","slotProps"];const JT=(0,h.Ay)("div",{name:"MuiMonthCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexWrap:"wrap",alignContent:"stretch",padding:"0 4px",width:vE,boxSizing:"border-box"}),QT=i.forwardRef((function(e,t){const n=function(e,t){const n=_C(),r=OC(),o=(0,T.A)({props:e,name:t});return(0,s.A)({disableFuture:!1,disablePast:!1},o,{minDate:jS(n,o.minDate,r.minDate),maxDate:jS(n,o.maxDate,r.maxDate)})}(e,"MuiMonthCalendar"),{className:r,value:o,defaultValue:a,referenceDate:d,disabled:h,disableFuture:p,disablePast:f,maxDate:g,minDate:m,onChange:y,shouldDisableMonth:v,readOnly:b,autoFocus:w=!1,onMonthFocus:A,hasFocus:x,onFocusedViewChange:S,monthsPerRow:C=3,timezone:E,gridLabelId:k,slots:_,slotProps:O}=n,P=(0,l.A)(n,ZT),{value:I,handleValueChange:M,timezone:L}=sE({name:"MonthCalendar",timezone:E,value:o,defaultValue:a,onChange:y,valueManager:AC}),R=IC(L),j=(0,eo.I)(),D=_C(),N=i.useMemo((()=>AC.getInitialReferenceValue({value:I,utils:D,props:n,timezone:L,referenceDate:d,granularity:JS.month})),[]),z=n,B=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},XT,t)})(z),V=i.useMemo((()=>D.getMonth(R)),[D,R]),$=i.useMemo((()=>null!=I?D.getMonth(I):null),[I,D]),[G,U]=i.useState((()=>$||D.getMonth(N))),[W,q]=(0,De.A)({name:"MonthCalendar",state:"hasFocus",controlled:x,default:w??!1}),H=(0,ze.A)((e=>{q(e),S&&S(e)})),Y=i.useCallback((e=>{const t=D.startOfMonth(f&&D.isAfter(R,m)?R:m),n=D.startOfMonth(p&&D.isBefore(R,g)?R:g),r=D.startOfMonth(e);return!!D.isBefore(r,t)||(!!D.isAfter(r,n)||!!v&&v(r))}),[p,f,g,m,R,v,D]),K=(0,ze.A)(((e,t)=>{if(b)return;const n=D.setMonth(I??N,t);M(n)})),X=(0,ze.A)((e=>{Y(D.setMonth(I??N,e))||(U(e),H(!0),A&&A(e))}));i.useEffect((()=>{U((e=>null!==$&&e!==$?$:e))}),[$]);const Z=(0,ze.A)(((e,t)=>{const n=12;switch(e.key){case"ArrowUp":X((n+t-3)%n),e.preventDefault();break;case"ArrowDown":X((n+t+3)%n),e.preventDefault();break;case"ArrowLeft":X((n+t+(j?1:-1))%n),e.preventDefault();break;case"ArrowRight":X((n+t+(j?-1:1))%n),e.preventDefault()}})),J=(0,ze.A)(((e,t)=>{X(t)})),Q=(0,ze.A)(((e,t)=>{G===t&&H(!1)}));return(0,F.jsx)(JT,(0,s.A)({ref:t,className:(0,c.A)(B.root,r),ownerState:z,role:"radiogroup","aria-labelledby":k},P,{children:FS(D,I??N).map((e=>{const t=D.getMonth(e),n=D.format(e,"monthShort"),r=D.format(e,"month"),o=t===$,i=h||Y(e);return(0,F.jsx)(KT,{selected:o,value:t,onClick:K,onKeyDown:Z,autoFocus:W&&t===G,disabled:i,tabIndex:t!==G||i?-1:0,onFocus:J,onBlur:Q,"aria-current":V===t?"date":void 0,"aria-label":r,monthsPerRow:C,slots:_,slotProps:O,children:n},n)}))}))}));function e_(e){return(0,R.Ay)("MuiPickersYear",e)}const t_=(0,L.A)("MuiPickersYear",["root","yearButton","selected","disabled"]),n_=["autoFocus","className","children","disabled","selected","value","tabIndex","onClick","onKeyDown","onFocus","onBlur","aria-current","yearsPerRow","slots","slotProps"],r_=(0,h.Ay)("div",{name:"MuiPickersYear",slot:"Root",overridesResolver:(e,t)=>[t.root]})({display:"flex",alignItems:"center",justifyContent:"center",flexBasis:"33.3%",variants:[{props:{yearsPerRow:4},style:{flexBasis:"25%"}}]}),o_=(0,h.Ay)("button",{name:"MuiPickersYear",slot:"YearButton",overridesResolver:(e,t)=>[t.yearButton,{[`&.${t_.disabled}`]:t.disabled},{[`&.${t_.selected}`]:t.selected}]})((({theme:e})=>(0,s.A)({color:"unset",backgroundColor:"transparent",border:0,outline:0},e.typography.subtitle1,{margin:"6px 0",height:36,width:72,borderRadius:18,cursor:"pointer","&:focus":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.focusOpacity})`:(0,Ry.X4)(e.palette.action.active,e.palette.action.focusOpacity)},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ry.X4)(e.palette.action.active,e.palette.action.hoverOpacity)},"&:disabled":{cursor:"auto",pointerEvents:"none"},[`&.${t_.disabled}`]:{color:(e.vars||e).palette.text.secondary},[`&.${t_.selected}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.main,"&:focus, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}}}))),i_=i.memo((function(e){const t=(0,T.A)({props:e,name:"MuiPickersYear"}),{autoFocus:n,className:r,children:o,disabled:a,selected:d,value:h,tabIndex:p,onClick:f,onKeyDown:g,onFocus:m,onBlur:y,"aria-current":v,slots:b,slotProps:w}=t,A=(0,l.A)(t,n_),x=i.useRef(null),S=(e=>{const{disabled:t,selected:n,classes:r}=e,o={root:["root"],yearButton:["yearButton",t&&"disabled",n&&"selected"]};return(0,u.A)(o,e_,r)})(t);(0,He.A)((()=>{n&&x.current?.focus()}),[n]);const C=b?.yearButton??o_,E=(0,mn.Q)({elementType:C,externalSlotProps:w?.yearButton,additionalProps:{children:o,disabled:a,tabIndex:p,ref:x,type:"button",role:"radio","aria-current":v,"aria-checked":d,onClick:e=>f(e,h),onKeyDown:e=>g(e,h),onFocus:e=>m(e,h),onBlur:e=>y(e,h)},ownerState:t,className:S.yearButton});return(0,F.jsx)(r_,(0,s.A)({className:(0,c.A)(S.root,r),ownerState:t},A,{children:(0,F.jsx)(C,(0,s.A)({},E))}))}));function a_(e){return(0,R.Ay)("MuiYearCalendar",e)}(0,L.A)("MuiYearCalendar",["root"]);const s_=["autoFocus","className","value","defaultValue","referenceDate","disabled","disableFuture","disablePast","maxDate","minDate","onChange","readOnly","shouldDisableYear","disableHighlightToday","onYearFocus","hasFocus","onFocusedViewChange","yearsPerRow","timezone","gridLabelId","slots","slotProps"];const l_=(0,h.Ay)("div",{name:"MuiYearCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"row",flexWrap:"wrap",overflowY:"auto",height:"100%",padding:"0 4px",width:vE,maxHeight:280,boxSizing:"border-box",position:"relative"}),c_=i.forwardRef((function(e,t){const n=function(e,t){const n=_C(),r=OC(),o=(0,T.A)({props:e,name:t});return(0,s.A)({disablePast:!1,disableFuture:!1},o,{yearsPerRow:o.yearsPerRow??3,minDate:jS(n,o.minDate,r.minDate),maxDate:jS(n,o.maxDate,r.maxDate)})}(e,"MuiYearCalendar"),{autoFocus:r,className:o,value:a,defaultValue:d,referenceDate:h,disabled:p,disableFuture:f,disablePast:g,maxDate:m,minDate:y,onChange:v,readOnly:b,shouldDisableYear:w,onYearFocus:A,hasFocus:x,onFocusedViewChange:S,yearsPerRow:C,timezone:E,gridLabelId:k,slots:_,slotProps:O}=n,P=(0,l.A)(n,s_),{value:I,handleValueChange:M,timezone:L}=sE({name:"YearCalendar",timezone:E,value:a,defaultValue:d,onChange:v,valueManager:AC}),R=IC(L),j=(0,eo.I)(),D=_C(),N=i.useMemo((()=>AC.getInitialReferenceValue({value:I,utils:D,props:n,timezone:L,referenceDate:h,granularity:JS.year})),[]),z=n,B=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},a_,t)})(z),V=i.useMemo((()=>D.getYear(R)),[D,R]),$=i.useMemo((()=>null!=I?D.getYear(I):null),[I,D]),[G,U]=i.useState((()=>$||D.getYear(N))),[W,H]=(0,De.A)({name:"YearCalendar",state:"hasFocus",controlled:x,default:r??!1}),Y=(0,ze.A)((e=>{H(e),S&&S(e)})),K=i.useCallback((e=>{if(g&&D.isBeforeYear(e,R))return!0;if(f&&D.isAfterYear(e,R))return!0;if(y&&D.isBeforeYear(e,y))return!0;if(m&&D.isAfterYear(e,m))return!0;if(!w)return!1;const t=D.startOfYear(e);return w(t)}),[f,g,m,y,R,w,D]),X=(0,ze.A)(((e,t)=>{if(b)return;const n=D.setYear(I??N,t);M(n)})),Z=(0,ze.A)((e=>{K(D.setYear(I??N,e))||(U(e),Y(!0),A?.(e))}));i.useEffect((()=>{U((e=>null!==$&&e!==$?$:e))}),[$]);const J=(0,ze.A)(((e,t)=>{switch(e.key){case"ArrowUp":Z(t-C),e.preventDefault();break;case"ArrowDown":Z(t+C),e.preventDefault();break;case"ArrowLeft":Z(t+(j?1:-1)),e.preventDefault();break;case"ArrowRight":Z(t+(j?-1:1)),e.preventDefault()}})),Q=(0,ze.A)(((e,t)=>{Z(t)})),ee=(0,ze.A)(((e,t)=>{G===t&&Y(!1)})),te=i.useRef(null),ne=(0,q.A)(t,te);return i.useEffect((()=>{if(r||null===te.current)return;const e=te.current.querySelector('[tabindex="0"]');if(!e)return;const t=e.offsetHeight,n=e.offsetTop,o=te.current.clientHeight,i=te.current.scrollTop,a=n+t;t>o||n{const t=D.getYear(e),n=t===$,r=p||K(e);return(0,F.jsx)(i_,{selected:n,value:t,onClick:X,onKeyDown:J,autoFocus:W&&t===G,disabled:r,tabIndex:t!==G||r?-1:0,onFocus:Q,onBlur:ee,"aria-current":V===t?"date":void 0,yearsPerRow:C,slots:_,slotProps:O,children:D.format(e,"year")},D.format(e,"year"))}))}))}));function u_(e){return(0,R.Ay)("MuiPickersArrowSwitcher",e)}(0,L.A)("MuiPickersArrowSwitcher",["root","spacer","button"]);const d_=["children","className","slots","slotProps","isNextDisabled","isNextHidden","onGoToNext","nextLabel","isPreviousDisabled","isPreviousHidden","onGoToPrevious","previousLabel"],h_=["ownerState"],p_=["ownerState"],f_=(0,h.Ay)("div",{name:"MuiPickersArrowSwitcher",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex"}),g_=(0,h.Ay)("div",{name:"MuiPickersArrowSwitcher",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})((({theme:e})=>({width:e.spacing(3)}))),m_=(0,h.Ay)(Vn,{name:"MuiPickersArrowSwitcher",slot:"Button",overridesResolver:(e,t)=>t.button})({variants:[{props:{hidden:!0},style:{visibility:"hidden"}}]}),y_=i.forwardRef((function(e,t){const n=(0,eo.I)(),r=(0,T.A)({props:e,name:"MuiPickersArrowSwitcher"}),{children:o,className:i,slots:a,slotProps:d,isNextDisabled:h,isNextHidden:p,onGoToNext:f,nextLabel:g,isPreviousDisabled:m,isPreviousHidden:y,onGoToPrevious:v,previousLabel:b}=r,w=(0,l.A)(r,d_),A=r,x=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],spacer:["spacer"],button:["button"]},u_,t)})(A),S={isDisabled:h,isHidden:p,goTo:f,label:g},C={isDisabled:m,isHidden:y,goTo:v,label:b},E=a?.previousIconButton??m_,k=(0,mn.Q)({elementType:E,externalSlotProps:d?.previousIconButton,additionalProps:{size:"medium",title:C.label,"aria-label":C.label,disabled:C.isDisabled,edge:"end",onClick:C.goTo},ownerState:(0,s.A)({},A,{hidden:C.isHidden}),className:x.button}),_=a?.nextIconButton??m_,O=(0,mn.Q)({elementType:_,externalSlotProps:d?.nextIconButton,additionalProps:{size:"medium",title:S.label,"aria-label":S.label,disabled:S.isDisabled,edge:"start",onClick:S.goTo},ownerState:(0,s.A)({},A,{hidden:S.isHidden}),className:x.button}),P=a?.leftArrowIcon??LE,I=(0,mn.Q)({elementType:P,externalSlotProps:d?.leftArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:void 0}),M=(0,l.A)(I,h_),L=a?.rightArrowIcon??RE,R=(0,mn.Q)({elementType:L,externalSlotProps:d?.rightArrowIcon,additionalProps:{fontSize:"inherit"},ownerState:void 0}),j=(0,l.A)(R,p_);return(0,F.jsxs)(f_,(0,s.A)({ref:t,className:(0,c.A)(x.root,i),ownerState:A},w,{children:[(0,F.jsx)(E,(0,s.A)({},k,{children:n?(0,F.jsx)(L,(0,s.A)({},j)):(0,F.jsx)(P,(0,s.A)({},M))})),o?(0,F.jsx)(ji.A,{variant:"subtitle1",component:"span",children:o}):(0,F.jsx)(g_,{className:x.spacer,ownerState:A}),(0,F.jsx)(_,(0,s.A)({},O,{children:n?(0,F.jsx)(P,(0,s.A)({},M)):(0,F.jsx)(L,(0,s.A)({},j))}))]}))}));function v_(e,t,n,r){const o=_C();return{meridiemMode:qS(e,o),handleMeridiemChange:i.useCallback((i=>{const a=null==e?null:YS(e,i,Boolean(t),o);n(a,r??"partial")}),[t,e,n,r,o])}}const b_=e=>(0,R.Ay)("MuiPickersCalendarHeader",e),w_=(0,L.A)("MuiPickersCalendarHeader",["root","labelContainer","label","switchViewButton","switchViewIcon"]),A_=["slots","slotProps","currentMonth","disabled","disableFuture","disablePast","maxDate","minDate","onMonthChange","onViewChange","view","reduceAnimations","views","labelId","className","timezone","format"],x_=["ownerState"],S_=(0,h.Ay)("div",{name:"MuiPickersCalendarHeader",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",alignItems:"center",marginTop:12,marginBottom:4,paddingLeft:24,paddingRight:12,maxHeight:40,minHeight:40}),C_=(0,h.Ay)("div",{name:"MuiPickersCalendarHeader",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((({theme:e})=>(0,s.A)({display:"flex",overflow:"hidden",alignItems:"center",cursor:"pointer",marginRight:"auto"},e.typography.body1,{fontWeight:e.typography.fontWeightMedium}))),E_=(0,h.Ay)("div",{name:"MuiPickersCalendarHeader",slot:"Label",overridesResolver:(e,t)=>t.label})({marginRight:6}),k_=(0,h.Ay)(Vn,{name:"MuiPickersCalendarHeader",slot:"SwitchViewButton",overridesResolver:(e,t)=>t.switchViewButton})({marginRight:"auto",variants:[{props:{view:"year"},style:{[`.${w_.switchViewIcon}`]:{transform:"rotate(180deg)"}}}]}),T_=(0,h.Ay)(ME,{name:"MuiPickersCalendarHeader",slot:"SwitchViewIcon",overridesResolver:(e,t)=>t.switchViewIcon})((({theme:e})=>({willChange:"transform",transition:e.transitions.create("transform"),transform:"rotate(0deg)"}))),__=i.forwardRef((function(e,t){const n=PC(),r=_C(),o=(0,T.A)({props:e,name:"MuiPickersCalendarHeader"}),{slots:a,slotProps:d,currentMonth:h,disabled:p,disableFuture:f,disablePast:g,maxDate:m,minDate:y,onMonthChange:v,onViewChange:b,view:w,reduceAnimations:A,views:x,labelId:S,className:C,timezone:E,format:k=`${r.formats.month} ${r.formats.year}`}=o,_=(0,l.A)(o,A_),O=o,P=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],labelContainer:["labelContainer"],label:["label"],switchViewButton:["switchViewButton"],switchViewIcon:["switchViewIcon"]},b_,t)})(o),I=a?.switchViewButton??k_,M=(0,mn.Q)({elementType:I,externalSlotProps:d?.switchViewButton,additionalProps:{size:"small","aria-label":n.calendarViewSwitchingButtonAriaLabel(w)},ownerState:O,className:P.switchViewButton}),L=a?.switchViewIcon??T_,R=(0,mn.Q)({elementType:L,externalSlotProps:d?.switchViewIcon,ownerState:void 0,className:P.switchViewIcon}),j=(0,l.A)(R,x_),D=function(e,{disableFuture:t,maxDate:n,timezone:r}){const o=_C();return i.useMemo((()=>{const i=o.date(void 0,r),a=o.startOfMonth(t&&o.isBefore(i,n)?i:n);return!o.isAfter(a,e)}),[t,n,e,o,r])}(h,{disableFuture:f,maxDate:m,timezone:E}),N=function(e,{disablePast:t,minDate:n,timezone:r}){const o=_C();return i.useMemo((()=>{const i=o.date(void 0,r),a=o.startOfMonth(t&&o.isAfter(i,n)?i:n);return!o.isBefore(a,e)}),[t,n,e,o,r])}(h,{disablePast:g,minDate:y,timezone:E});if(1===x.length&&"year"===x[0])return null;const z=r.formatByString(h,k);return(0,F.jsxs)(S_,(0,s.A)({},_,{ownerState:O,className:(0,c.A)(C,P.root),ref:t,children:[(0,F.jsxs)(C_,{role:"presentation",onClick:()=>{if(1!==x.length&&b&&!p)if(2===x.length)b(x.find((e=>e!==w))||x[0]);else{const e=0!==x.indexOf(w)?0:1;b(x[e])}},ownerState:O,"aria-live":"polite",className:P.labelContainer,children:[(0,F.jsx)(dT,{reduceAnimations:A,transKey:z,children:(0,F.jsx)(E_,{id:S,ownerState:O,className:P.label,children:z})}),x.length>1&&!p&&(0,F.jsx)(I,(0,s.A)({},M,{children:(0,F.jsx)(L,(0,s.A)({},j))}))]}),(0,F.jsx)(ko,{in:"day"===w,children:(0,F.jsx)(y_,{slots:a,slotProps:d,onGoToPrevious:()=>v(r.addMonths(h,-1),"right"),isPreviousDisabled:N,previousLabel:n.previousMonth,onGoToNext:()=>v(r.addMonths(h,1),"left"),isNextDisabled:D,nextLabel:n.nextMonth})})]}))})),O_=(0,h.Ay)("div")({overflow:"hidden",width:vE,maxHeight:bE,display:"flex",flexDirection:"column",margin:"0 auto"}),P_=e=>(0,R.Ay)("MuiDateCalendar",e),I_=((0,L.A)("MuiDateCalendar",["root","viewTransitionContainer"]),["autoFocus","onViewChange","value","defaultValue","referenceDate","disableFuture","disablePast","onChange","onYearChange","onMonthChange","reduceAnimations","shouldDisableDate","shouldDisableMonth","shouldDisableYear","view","views","openTo","className","disabled","readOnly","minDate","maxDate","disableHighlightToday","focusedView","onFocusedViewChange","showDaysOutsideCurrentMonth","fixedWeekNumber","dayOfWeekFormatter","slots","slotProps","loading","renderLoading","displayWeekNumber","yearsPerRow","monthsPerRow","timezone"]);const M_=(0,h.Ay)(O_,{name:"MuiDateCalendar",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",height:bE}),L_=(0,h.Ay)(dT,{name:"MuiDateCalendar",slot:"ViewTransitionContainer",overridesResolver:(e,t)=>t.viewTransitionContainer})({}),R_=i.forwardRef((function(e,t){const n=_C(),r=(0,Fe.A)(),o=function(e,t){const n=_C(),r=OC(),o=QC(),i=(0,T.A)({props:e,name:t});return(0,s.A)({},i,{loading:i.loading??!1,disablePast:i.disablePast??!1,disableFuture:i.disableFuture??!1,openTo:i.openTo??"day",views:i.views??["year","day"],reduceAnimations:i.reduceAnimations??o,renderLoading:i.renderLoading??(()=>(0,F.jsx)("span",{children:"..."})),minDate:jS(n,i.minDate,r.minDate),maxDate:jS(n,i.maxDate,r.maxDate)})}(e,"MuiDateCalendar"),{autoFocus:a,onViewChange:d,value:h,defaultValue:p,referenceDate:f,disableFuture:g,disablePast:m,onChange:y,onYearChange:v,onMonthChange:b,reduceAnimations:w,shouldDisableDate:A,shouldDisableMonth:x,shouldDisableYear:S,view:C,views:E,openTo:k,className:_,disabled:O,readOnly:P,minDate:I,maxDate:M,disableHighlightToday:L,focusedView:R,onFocusedViewChange:j,showDaysOutsideCurrentMonth:D,fixedWeekNumber:N,dayOfWeekFormatter:z,slots:B,slotProps:V,loading:$,renderLoading:G,displayWeekNumber:U,yearsPerRow:W,monthsPerRow:q,timezone:H}=o,Y=(0,l.A)(o,I_),{value:K,handleValueChange:X,timezone:Z}=sE({name:"DateCalendar",timezone:H,value:h,defaultValue:p,onChange:y,valueManager:AC}),{view:J,setView:Q,focusedView:ee,setFocusedView:te,goToNextView:ne,setValueAndGoToNextView:re}=cE({view:C,views:E,openTo:k,onChange:X,onViewChange:d,autoFocus:a,focusedView:R,onFocusedViewChange:j}),{referenceDate:oe,calendarState:ie,changeFocusedDay:ae,changeMonth:se,handleChangeMonth:le,isDateDisabled:ce,onMonthSwitchingAnimationEnd:ue}=sT({value:K,referenceDate:f,reduceAnimations:w,onMonthChange:b,minDate:I,maxDate:M,shouldDisableDate:A,disablePast:m,disableFuture:g,timezone:Z}),de=O&&K||I,he=O&&K||M,pe=`${r}-grid-label`,fe=null!==ee,ge=B?.calendarHeader??__,me=(0,mn.Q)({elementType:ge,externalSlotProps:V?.calendarHeader,additionalProps:{views:E,view:J,currentMonth:ie.currentMonth,onViewChange:Q,onMonthChange:(e,t)=>le({newMonth:e,direction:t}),minDate:de,maxDate:he,disabled:O,disablePast:m,disableFuture:g,reduceAnimations:w,timezone:Z,labelId:pe},ownerState:o}),ye=(0,ze.A)((e=>{const t=n.startOfMonth(e),r=n.endOfMonth(e),o=ce(e)?RS({utils:n,date:e,minDate:n.isBefore(I,t)?t:I,maxDate:n.isAfter(M,r)?r:M,disablePast:m,disableFuture:g,isDateDisabled:ce,timezone:Z}):e;o?(re(o,"finish"),b?.(t)):(ne(),se(t)),ae(o,!0)})),ve=(0,ze.A)((e=>{const t=n.startOfYear(e),r=n.endOfYear(e),o=ce(e)?RS({utils:n,date:e,minDate:n.isBefore(I,t)?t:I,maxDate:n.isAfter(M,r)?r:M,disablePast:m,disableFuture:g,isDateDisabled:ce,timezone:Z}):e;o?(re(o,"finish"),v?.(o)):(ne(),se(t)),ae(o,!0)})),be=(0,ze.A)((e=>X(e?LS(n,e,K??oe):e,"finish",J)));i.useEffect((()=>{null!=K&&n.isValid(K)&&se(K)}),[K]);const we=o,Ae=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],viewTransitionContainer:["viewTransitionContainer"]},P_,t)})(we),xe={disablePast:m,disableFuture:g,maxDate:M,minDate:I},Se={disableHighlightToday:L,readOnly:P,disabled:O,timezone:Z,gridLabelId:pe,slots:B,slotProps:V},Ce=i.useRef(J);i.useEffect((()=>{Ce.current!==J&&(ee===Ce.current&&te(J,!0),Ce.current=J)}),[ee,te,J]);const Ee=i.useMemo((()=>[K]),[K]);return(0,F.jsxs)(M_,(0,s.A)({ref:t,className:(0,c.A)(Ae.root,_),ownerState:we},Y,{children:[(0,F.jsx)(ge,(0,s.A)({},me,{slots:B,slotProps:V})),(0,F.jsx)(L_,{reduceAnimations:w,className:Ae.viewTransitionContainer,transKey:J,ownerState:we,children:(0,F.jsxs)("div",{children:["year"===J&&(0,F.jsx)(c_,(0,s.A)({},xe,Se,{value:K,onChange:ve,shouldDisableYear:S,hasFocus:fe,onFocusedViewChange:e=>te("year",e),yearsPerRow:W,referenceDate:oe})),"month"===J&&(0,F.jsx)(QT,(0,s.A)({},xe,Se,{hasFocus:fe,className:_,value:K,onChange:ye,shouldDisableMonth:x,onFocusedViewChange:e=>te("month",e),monthsPerRow:q,referenceDate:oe})),"day"===J&&(0,F.jsx)(GT,(0,s.A)({},ie,xe,Se,{onMonthSwitchingAnimationEnd:ue,onFocusedDayChange:ae,reduceAnimations:w,selectedDays:Ee,onSelectedDaysChange:be,shouldDisableDate:A,shouldDisableMonth:x,shouldDisableYear:S,hasFocus:fe,onFocusedViewChange:e=>te("day",e),showDaysOutsideCurrentMonth:D,fixedWeekNumber:N,dayOfWeekFormatter:z,displayWeekNumber:U,loading:$,renderLoading:G}))]})})]}))})),j_=({view:e,onViewChange:t,views:n,focusedView:r,onFocusedViewChange:o,value:i,defaultValue:a,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:h,minDate:p,maxDate:f,shouldDisableDate:g,shouldDisableMonth:m,shouldDisableYear:y,reduceAnimations:v,onMonthChange:b,monthsPerRow:w,onYearChange:A,yearsPerRow:x,slots:S,slotProps:C,loading:E,renderLoading:k,disableHighlightToday:T,readOnly:_,disabled:O,showDaysOutsideCurrentMonth:P,dayOfWeekFormatter:I,sx:M,autoFocus:L,fixedWeekNumber:R,displayWeekNumber:j,timezone:D})=>(0,F.jsx)(R_,{view:e,onViewChange:t,views:n.filter(BS),focusedView:r&&BS(r)?r:null,onFocusedViewChange:o,value:i,defaultValue:a,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:h,minDate:p,maxDate:f,shouldDisableDate:g,shouldDisableMonth:m,shouldDisableYear:y,reduceAnimations:v,onMonthChange:b,monthsPerRow:w,onYearChange:A,yearsPerRow:x,slots:S,slotProps:C,loading:E,renderLoading:k,disableHighlightToday:T,readOnly:_,disabled:O,showDaysOutsideCurrentMonth:P,dayOfWeekFormatter:I,sx:M,autoFocus:L,fixedWeekNumber:R,displayWeekNumber:j,timezone:D}),F_=i.forwardRef((function(e,t){const n=PC(),r=_C(),o=GC(e,"MuiDesktopDatePicker"),i=(0,s.A)({day:j_,month:j_,year:j_},o.viewRenderers),a=(0,s.A)({},o,{viewRenderers:i,format:VS(r,o,!1),yearsPerRow:o.yearsPerRow??4,slots:(0,s.A)({openPickerIcon:jE,field:iT},o.slots),slotProps:(0,s.A)({},o.slotProps,{field:e=>(0,s.A)({},(0,H.Y)(o.slotProps?.field,e),ek(o),{ref:t}),toolbar:(0,s.A)({hidden:!0},o.slotProps?.toolbar)})}),{renderPicker:l}=IE({props:a,valueManager:AC,valueType:"date",getOpenDialogAriaText:a.localeText?.openDatePickerDialogue??n.openDatePickerDialogue,validator:UC});return l()}));F_.propTypes={autoFocus:OS().bool,className:OS().string,closeOnSelect:OS().bool,dayOfWeekFormatter:OS().func,defaultValue:OS().object,disabled:OS().bool,disableFuture:OS().bool,disableHighlightToday:OS().bool,disableOpenPicker:OS().bool,disablePast:OS().bool,displayWeekNumber:OS().bool,enableAccessibleFieldDOMStructure:OS().any,fixedWeekNumber:OS().number,format:OS().string,formatDensity:OS().oneOf(["dense","spacious"]),inputRef:PS,label:OS().node,loading:OS().bool,localeText:OS().object,maxDate:OS().object,minDate:OS().object,monthsPerRow:OS().oneOf([3,4]),name:OS().string,onAccept:OS().func,onChange:OS().func,onClose:OS().func,onError:OS().func,onMonthChange:OS().func,onOpen:OS().func,onSelectedSectionsChange:OS().func,onViewChange:OS().func,onYearChange:OS().func,open:OS().bool,openTo:OS().oneOf(["day","month","year"]),orientation:OS().oneOf(["landscape","portrait"]),readOnly:OS().bool,reduceAnimations:OS().bool,referenceDate:OS().object,renderLoading:OS().func,selectedSections:OS().oneOfType([OS().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),OS().number]),shouldDisableDate:OS().func,shouldDisableMonth:OS().func,shouldDisableYear:OS().func,showDaysOutsideCurrentMonth:OS().bool,slotProps:OS().object,slots:OS().object,sx:OS().oneOfType([OS().arrayOf(OS().oneOfType([OS().func,OS().object,OS().bool])),OS().func,OS().object]),timezone:OS().string,value:OS().object,view:OS().oneOf(["day","month","year"]),viewRenderers:OS().shape({day:OS().func,month:OS().func,year:OS().func}),views:OS().arrayOf(OS().oneOf(["day","month","year"]).isRequired),yearsPerRow:OS().oneOf([3,4])};const D_=(0,h.Ay)(vu)({[`& .${uu.container}`]:{outline:0},[`& .${uu.paper}`]:{outline:0,minWidth:vE}}),N_=(0,h.Ay)(Vu)({"&:first-of-type":{padding:0}});function z_(e){const{children:t,onDismiss:n,open:r,slots:o,slotProps:i}=e,a=o?.dialog??D_,l=o?.mobileTransition??ko;return(0,F.jsx)(a,(0,s.A)({open:r,onClose:n},i?.dialog,{TransitionComponent:l,TransitionProps:i?.mobileTransition,PaperComponent:o?.mobilePaper,PaperProps:i?.mobilePaper,children:(0,F.jsx)(N_,{children:t})}))}const B_=["props","getOpenDialogAriaText"],V_=e=>{let{props:t,getOpenDialogAriaText:n}=e,r=(0,l.A)(e,B_);const{slots:o,slotProps:a,className:c,sx:u,format:d,formatDensity:h,enableAccessibleFieldDOMStructure:p,selectedSections:f,onSelectedSectionsChange:g,timezone:m,name:y,label:v,inputRef:b,readOnly:w,disabled:A,localeText:x}=t,S=_C(),C=i.useRef(null),E=(0,Fe.A)(),k=a?.toolbar?.hidden??!1,{open:T,actions:_,layoutProps:O,renderCurrentView:P,fieldProps:I}=pE((0,s.A)({},r,{props:t,fieldRef:C,autoFocusView:!0,additionalViewProps:{},wrapperVariant:"mobile"})),M=o.field,L=(0,mn.Q)({elementType:M,externalSlotProps:a?.field,additionalProps:(0,s.A)({},I,k&&{id:E},!(A||w)&&{onClick:_.onOpen,onKeyDown:(R=_.onOpen,e=>{"Enter"!==e.key&&" "!==e.key||(R(e),e.preventDefault(),e.stopPropagation()),j&&j(e)})},{readOnly:w??!0,disabled:A,className:c,sx:u,format:d,formatDensity:h,enableAccessibleFieldDOMStructure:p,selectedSections:f,onSelectedSectionsChange:g,timezone:m,label:v,name:y},b?{inputRef:b}:{}),ownerState:t});var R,j;L.inputProps=(0,s.A)({},L.inputProps,{"aria-label":n(I.value,S)});const D=(0,s.A)({textField:o.textField},L.slots),N=o.layout??TE;let z=E;k&&(z=v?`${E}-label`:void 0);const B=(0,s.A)({},a,{toolbar:(0,s.A)({},a?.toolbar,{titleId:E}),mobilePaper:(0,s.A)({"aria-labelledby":z},a?.mobilePaper)}),V=(0,q.A)(C,L.unstableFieldRef);return{renderPicker:()=>(0,F.jsxs)(SC.$,{localeText:x,children:[(0,F.jsx)(M,(0,s.A)({},L,{slots:D,slotProps:B,unstableFieldRef:V})),(0,F.jsx)(z_,(0,s.A)({},_,{open:T,slots:o,slotProps:B,children:(0,F.jsx)(N,(0,s.A)({},O,B?.layout,{slots:o,slotProps:B,children:P()}))}))]})}},$_=i.forwardRef((function(e,t){const n=PC(),r=_C(),o=GC(e,"MuiMobileDatePicker"),i=(0,s.A)({day:j_,month:j_,year:j_},o.viewRenderers),a=(0,s.A)({},o,{viewRenderers:i,format:VS(r,o,!1),slots:(0,s.A)({field:iT},o.slots),slotProps:(0,s.A)({},o.slotProps,{field:e=>(0,s.A)({},(0,H.Y)(o.slotProps?.field,e),ek(o),{ref:t}),toolbar:(0,s.A)({hidden:!1},o.slotProps?.toolbar)})}),{renderPicker:l}=V_({props:a,valueManager:AC,valueType:"date",getOpenDialogAriaText:a.localeText?.openDatePickerDialogue??n.openDatePickerDialogue,validator:UC});return l()}));$_.propTypes={autoFocus:OS().bool,className:OS().string,closeOnSelect:OS().bool,dayOfWeekFormatter:OS().func,defaultValue:OS().object,disabled:OS().bool,disableFuture:OS().bool,disableHighlightToday:OS().bool,disableOpenPicker:OS().bool,disablePast:OS().bool,displayWeekNumber:OS().bool,enableAccessibleFieldDOMStructure:OS().any,fixedWeekNumber:OS().number,format:OS().string,formatDensity:OS().oneOf(["dense","spacious"]),inputRef:PS,label:OS().node,loading:OS().bool,localeText:OS().object,maxDate:OS().object,minDate:OS().object,monthsPerRow:OS().oneOf([3,4]),name:OS().string,onAccept:OS().func,onChange:OS().func,onClose:OS().func,onError:OS().func,onMonthChange:OS().func,onOpen:OS().func,onSelectedSectionsChange:OS().func,onViewChange:OS().func,onYearChange:OS().func,open:OS().bool,openTo:OS().oneOf(["day","month","year"]),orientation:OS().oneOf(["landscape","portrait"]),readOnly:OS().bool,reduceAnimations:OS().bool,referenceDate:OS().object,renderLoading:OS().func,selectedSections:OS().oneOfType([OS().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),OS().number]),shouldDisableDate:OS().func,shouldDisableMonth:OS().func,shouldDisableYear:OS().func,showDaysOutsideCurrentMonth:OS().bool,slotProps:OS().object,slots:OS().object,sx:OS().oneOfType([OS().arrayOf(OS().oneOfType([OS().func,OS().object,OS().bool])),OS().func,OS().object]),timezone:OS().string,value:OS().object,view:OS().oneOf(["day","month","year"]),viewRenderers:OS().shape({day:OS().func,month:OS().func,year:OS().func}),views:OS().arrayOf(OS().oneOf(["day","month","year"]).isRequired),yearsPerRow:OS().oneOf([3,4])};const G_=["desktopModeMediaQuery"],U_=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiDatePicker"}),{desktopModeMediaQuery:r=YC}=n,o=(0,l.A)(n,G_);return(0,Qr.A)(r,{defaultMatches:!0})?(0,F.jsx)(F_,(0,s.A)({ref:t},o)):(0,F.jsx)($_,(0,s.A)({ref:t},o))}));var W_=n(27878);const q_=({adapter:e,value:t,props:n})=>{if(null===t)return null;const{minTime:r,maxTime:o,minutesStep:i,shouldDisableTime:a,disableIgnoringDatePartForTimeValidation:s=!1,disablePast:l,disableFuture:c,timezone:u}=n,d=e.utils.date(void 0,u),h=XS(s,e.utils);switch(!0){case!e.utils.isValid(t):return"invalidDate";case Boolean(r&&h(r,t)):return"minTime";case Boolean(o&&h(t,o)):return"maxTime";case Boolean(c&&e.utils.isAfter(t,d)):return"disableFuture";case Boolean(l&&e.utils.isBefore(t,d)):return"disablePast";case Boolean(a&&a(t,"hours")):return"shouldDisableTime-hours";case Boolean(a&&a(t,"minutes")):return"shouldDisableTime-minutes";case Boolean(a&&a(t,"seconds")):return"shouldDisableTime-seconds";case Boolean(i&&e.utils.getMinutes(t)%i!=0):return"minutesStep";default:return null}},H_=({props:e,value:t,adapter:n})=>{const r=UC({adapter:n,value:t,props:e});return null!==r?r:q_({adapter:n,value:t,props:e})},Y_=e=>{const t=(e=>{const t=_C(),n=OC(),r=e.ampm??t.is12HourCycleInCurrentLocale()?t.formats.keyboardDateTime12h:t.formats.keyboardDateTime24h;return(0,s.A)({},e,{disablePast:e.disablePast??!1,disableFuture:e.disableFuture??!1,format:e.format??r,disableIgnoringDatePartForTimeValidation:Boolean(e.minDateTime||e.maxDateTime),minDate:jS(t,e.minDateTime??e.minDate,n.minDate),maxDate:jS(t,e.maxDateTime??e.maxDate,n.maxDate),minTime:e.minDateTime??e.minTime,maxTime:e.maxDateTime??e.maxTime})})(e),{forwardedProps:n,internalProps:r}=nk(t,"date-time");return KE({forwardedProps:n,internalProps:r,valueManager:AC,fieldValueManager:xC,validator:H_,valueType:"date-time"})},K_=["slots","slotProps","InputProps","inputProps"],X_=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiDateTimeField"}),{slots:r,slotProps:o,InputProps:i,inputProps:a}=n,c=(0,l.A)(n,K_),u=n,d=r?.textField??(e.enableAccessibleFieldDOMStructure?Qk:lS),h=(0,mn.Q)({elementType:d,externalSlotProps:o?.textField,externalForwardedProps:c,ownerState:u,additionalProps:{ref:t}});h.inputProps=(0,s.A)({},a,h.inputProps),h.InputProps=(0,s.A)({},i,h.InputProps);const p=Y_(h),f=rT(p),g=ak((0,s.A)({},f,{slots:r,slotProps:o}));return(0,F.jsx)(d,(0,s.A)({},g))}));function Z_(e){return(0,R.Ay)("MuiTab",e)}const J_=(0,L.A)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),Q_=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],eO=(0,h.Ay)(ae.A,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${(0,Ce.A)(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${J_.iconWrapper}`]:t.iconWrapper}]}})((({theme:e,ownerState:t})=>(0,s.A)({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${J_.iconWrapper}`]:(0,s.A)({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${J_.selected}`]:{opacity:1},[`&.${J_.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${J_.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${J_.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${J_.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${J_.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)}))),tO=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiTab"}),{className:r,disabled:o=!1,disableFocusRipple:a=!1,fullWidth:d,icon:h,iconPosition:p="top",indicator:f,label:g,onChange:m,onClick:y,onFocus:v,selected:b,selectionFollowsFocus:w,textColor:A="inherit",value:x,wrapped:S=!1}=n,C=(0,l.A)(n,Q_),E=(0,s.A)({},n,{disabled:o,disableFocusRipple:a,selected:b,icon:!!h,iconPosition:p,label:!!g,fullWidth:d,textColor:A,wrapped:S}),k=(e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:i,label:a,selected:s,disabled:l}=e,c={root:["root",i&&a&&"labelIcon",`textColor${(0,Ce.A)(n)}`,r&&"fullWidth",o&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]};return(0,u.A)(c,Z_,t)})(E),_=h&&g&&i.isValidElement(h)?i.cloneElement(h,{className:(0,c.A)(k.iconWrapper,h.props.className)}):h;return(0,F.jsxs)(eO,(0,s.A)({focusRipple:!a,className:(0,c.A)(k.root,r),ref:t,role:"tab","aria-selected":b,disabled:o,onClick:e=>{!b&&m&&m(e,x),y&&y(e)},onFocus:e=>{w&&!b&&m&&m(e,x),v&&v(e)},ownerState:E,tabIndex:b?0:-1},C,{children:["top"===p||"start"===p?(0,F.jsxs)(i.Fragment,{children:[_,g]}):(0,F.jsxs)(i.Fragment,{children:[g,_]}),f]}))}));let nO;function rO(){if(nO)return nO;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),nO="reverse",e.scrollLeft>0?nO="default":(e.scrollLeft=1,0===e.scrollLeft&&(nO="negative")),document.body.removeChild(e),nO}function oO(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(rO()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function iO(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}const aO=["onChange"],sO={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};const lO=(0,$n.A)((0,F.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),cO=(0,$n.A)((0,F.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function uO(e){return(0,R.Ay)("MuiTabScrollButton",e)}const dO=(0,L.A)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),hO=["className","slots","slotProps","direction","orientation","disabled"],pO=(0,h.Ay)(ae.A,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})((({ownerState:e})=>(0,s.A)({width:40,flexShrink:0,opacity:.8,[`&.${dO.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}}))),fO=i.forwardRef((function(e,t){var n,r;const o=(0,T.A)({props:e,name:"MuiTabScrollButton"}),{className:i,slots:a={},slotProps:d={},direction:h}=o,p=(0,l.A)(o,hO),f=(0,eo.I)(),g=(0,s.A)({isRtl:f},o),m=(e=>{const{classes:t,orientation:n,disabled:r}=e,o={root:["root",n,r&&"disabled"]};return(0,u.A)(o,uO,t)})(g),y=null!=(n=a.StartScrollButtonIcon)?n:lO,v=null!=(r=a.EndScrollButtonIcon)?r:cO,b=(0,mn.Q)({elementType:y,externalSlotProps:d.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g}),w=(0,mn.Q)({elementType:v,externalSlotProps:d.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g});return(0,F.jsx)(pO,(0,s.A)({component:"div",className:(0,c.A)(m.root,i),ref:t,role:null,ownerState:g,tabIndex:null},p,{children:"left"===h?(0,F.jsx)(y,(0,s.A)({},b)):(0,F.jsx)(v,(0,s.A)({},w))}))}));function gO(e){return(0,R.Ay)("MuiTabs",e)}const mO=(0,L.A)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),yO=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],vO=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,bO=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,wO=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const t=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!t)return void o.focus();o=n(e,o)}},AO=(0,h.Ay)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${mO.scrollButtons}`]:t.scrollButtons},{[`& .${mO.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((({ownerState:e,theme:t})=>(0,s.A)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${mO.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}))),xO=(0,h.Ay)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((({ownerState:e})=>(0,s.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"}))),SO=(0,h.Ay)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((({ownerState:e})=>(0,s.A)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),CO=(0,h.Ay)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((({ownerState:e,theme:t})=>(0,s.A)({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0}))),EO=(0,h.Ay)((function(e){const{onChange:t}=e,n=(0,l.A)(e,aO),r=i.useRef(),o=i.useRef(null),a=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return(0,Ko.A)((()=>{const e=(0,ps.A)((()=>{const e=r.current;a(),e!==r.current&&t(r.current)})),n=(0,fs.A)(o.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}}),[t]),i.useEffect((()=>{a(),t(r.current)}),[t]),(0,F.jsx)("div",(0,s.A)({style:sO,ref:o},n))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),kO={};const TO=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiTabs"}),r=(0,I.A)(),o=(0,eo.I)(),{"aria-label":a,"aria-labelledby":d,action:h,centered:p=!1,children:f,className:g,component:m="div",allowScrollButtonsMobile:y=!1,indicatorColor:v="primary",onChange:b,orientation:w="horizontal",ScrollButtonComponent:A=fO,scrollButtons:x="auto",selectionFollowsFocus:S,slots:C={},slotProps:E={},TabIndicatorProps:k={},TabScrollButtonProps:_={},textColor:O="primary",value:P,variant:M="standard",visibleScrollbar:L=!1}=n,R=(0,l.A)(n,yO),j="scrollable"===M,D="vertical"===w,N=D?"scrollTop":"scrollLeft",z=D?"top":"left",B=D?"bottom":"right",V=D?"clientHeight":"clientWidth",$=D?"height":"width",G=(0,s.A)({},n,{component:m,allowScrollButtonsMobile:y,indicatorColor:v,orientation:w,vertical:D,scrollButtons:x,textColor:O,variant:M,visibleScrollbar:L,fixed:!j,hideScrollbar:j&&!L,scrollableX:j&&!D,scrollableY:j&&D,centered:p&&!j,scrollButtonsHideMobile:!y}),U=(e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:i,centered:a,scrollButtonsHideMobile:s,classes:l}=e,c={root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,u.A)(c,gO,l)})(G),W=(0,mn.Q)({elementType:C.StartScrollButtonIcon,externalSlotProps:E.startScrollButtonIcon,ownerState:G}),q=(0,mn.Q)({elementType:C.EndScrollButtonIcon,externalSlotProps:E.endScrollButtonIcon,ownerState:G});const[H,Y]=i.useState(!1),[K,X]=i.useState(kO),[Z,J]=i.useState(!1),[Q,ee]=i.useState(!1),[te,ne]=i.useState(!1),[re,oe]=i.useState({overflow:"hidden",scrollbarWidth:0}),ie=new Map,ae=i.useRef(null),se=i.useRef(null),le=()=>{const e=ae.current;let t,n;if(e){const n=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:oO(e,o?"rtl":"ltr"),scrollWidth:e.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(e&&!1!==P){const e=se.current.children;if(e.length>0){const t=e[ie.get(P)];0,n=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:n}},ce=(0,so.A)((()=>{const{tabsMeta:e,tabMeta:t}=le();let n,r=0;if(D)n="top",t&&e&&(r=t.top-e.top+e.scrollTop);else if(n=o?"right":"left",t&&e){const i=o?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;r=(o?-1:1)*(t[n]-e[n]+i)}const i={[n]:r,[$]:t?t[$]:0};if(isNaN(K[n])||isNaN(K[$]))X(i);else{const e=Math.abs(K[n]-i[n]),t=Math.abs(K[$]-i[$]);(e>=1||t>=1)&&X(i)}})),ue=(e,{animation:t=!0}={})=>{t?function(e,t,n,r={},o=(()=>{})){const{ease:i=iO,duration:a=300}=r;let s=null;const l=t[e];let c=!1;const u=()=>{c=!0},d=r=>{if(c)return void o(new Error("Animation cancelled"));null===s&&(s=r);const u=Math.min(1,(r-s)/a);t[e]=i(u)*(n-l)+l,u>=1?requestAnimationFrame((()=>{o(null)})):requestAnimationFrame(d)};l===n?o(new Error("Element already at target position")):requestAnimationFrame(d)}(N,ae.current,e,{duration:r.transitions.duration.standard}):ae.current[N]=e},de=e=>{let t=ae.current[N];D?t+=e:(t+=e*(o?-1:1),t*=o&&"reverse"===rO()?-1:1),ue(t)},he=()=>{const e=ae.current[V];let t=0;const n=Array.from(se.current.children);for(let r=0;re){0===r&&(t=e);break}t+=o[V]}return t},pe=()=>{de(-1*he())},fe=()=>{de(he())},ge=i.useCallback((e=>{oe({overflow:null,scrollbarWidth:e})}),[]),me=(0,so.A)((e=>{const{tabsMeta:t,tabMeta:n}=le();if(n&&t)if(n[z]t[B]){const r=t[N]+(n[B]-t[B]);ue(r,{animation:e})}})),ye=(0,so.A)((()=>{j&&!1!==x&&ne(!te)}));i.useEffect((()=>{const e=(0,ps.A)((()=>{ae.current&&ce()}));let t;const n=n=>{n.forEach((e=>{e.removedNodes.forEach((e=>{var n;null==(n=t)||n.unobserve(e)})),e.addedNodes.forEach((e=>{var n;null==(n=t)||n.observe(e)}))})),e(),ye()},r=(0,fs.A)(ae.current);let o;return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(se.current.children).forEach((e=>{t.observe(e)}))),"undefined"!=typeof MutationObserver&&(o=new MutationObserver(n),o.observe(se.current,{childList:!0})),()=>{var n,i;e.clear(),r.removeEventListener("resize",e),null==(n=o)||n.disconnect(),null==(i=t)||i.disconnect()}}),[ce,ye]),i.useEffect((()=>{const e=Array.from(se.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&j&&!1!==x){const n=e[0],r=e[t-1],o={root:ae.current,threshold:.99},i=new IntersectionObserver((e=>{J(!e[0].isIntersecting)}),o);i.observe(n);const a=new IntersectionObserver((e=>{ee(!e[0].isIntersecting)}),o);return a.observe(r),()=>{i.disconnect(),a.disconnect()}}}),[j,x,te,null==f?void 0:f.length]),i.useEffect((()=>{Y(!0)}),[]),i.useEffect((()=>{ce()})),i.useEffect((()=>{me(kO!==K)}),[me,K]),i.useImperativeHandle(h,(()=>({updateIndicator:ce,updateScrollButtons:ye})),[ce,ye]);const ve=(0,F.jsx)(CO,(0,s.A)({},k,{className:(0,c.A)(U.indicator,k.className),ownerState:G,style:(0,s.A)({},K,k.style)}));let be=0;const we=i.Children.map(f,(e=>{if(!i.isValidElement(e))return null;const t=void 0===e.props.value?be:e.props.value;ie.set(t,be);const n=t===P;return be+=1,i.cloneElement(e,(0,s.A)({fullWidth:"fullWidth"===M,indicator:n&&!H&&ve,selected:n,selectionFollowsFocus:S,onChange:b,textColor:O,value:t},1!==be||!1!==P||e.props.tabIndex?{}:{tabIndex:0}))})),Ae=(()=>{const e={};e.scrollbarSizeListener=j?(0,F.jsx)(EO,{onChange:ge,className:(0,c.A)(U.scrollableX,U.hideScrollbar)}):null;const t=j&&("auto"===x&&(Z||Q)||!0===x);return e.scrollButtonStart=t?(0,F.jsx)(A,(0,s.A)({slots:{StartScrollButtonIcon:C.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:W},orientation:w,direction:o?"right":"left",onClick:pe,disabled:!Z},_,{className:(0,c.A)(U.scrollButtons,_.className)})):null,e.scrollButtonEnd=t?(0,F.jsx)(A,(0,s.A)({slots:{EndScrollButtonIcon:C.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:q},orientation:w,direction:o?"left":"right",onClick:fe,disabled:!Q},_,{className:(0,c.A)(U.scrollButtons,_.className)})):null,e})();return(0,F.jsxs)(AO,(0,s.A)({className:(0,c.A)(U.root,g),ownerState:G,ref:t,as:m},R,{children:[Ae.scrollButtonStart,Ae.scrollbarSizeListener,(0,F.jsxs)(xO,{className:U.scroller,ownerState:G,style:{overflow:re.overflow,[D?"margin"+(o?"Left":"Right"):"marginBottom"]:L?void 0:-re.scrollbarWidth},ref:ae,children:[(0,F.jsx)(SO,{"aria-label":a,"aria-labelledby":d,"aria-orientation":"vertical"===w?"vertical":null,className:U.flexContainer,ownerState:G,onKeyDown:e=>{const t=se.current,n=(0,Vo.A)(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===w?"ArrowLeft":"ArrowUp",i="horizontal"===w?"ArrowRight":"ArrowDown";switch("horizontal"===w&&o&&(r="ArrowRight",i="ArrowLeft"),e.key){case r:e.preventDefault(),wO(t,n,bO);break;case i:e.preventDefault(),wO(t,n,vO);break;case"Home":e.preventDefault(),wO(t,null,vO);break;case"End":e.preventDefault(),wO(t,null,bO)}},ref:se,role:"tablist",children:we}),H&&ve]}),Ae.scrollButtonEnd]}))})),_O=TO;function OO(e){return(0,R.Ay)("MuiDateTimePickerTabs",e)}(0,L.A)("MuiDateTimePickerTabs",["root"]);const PO=e=>BS(e)?"date":"time",IO=(0,h.Ay)(_O,{name:"MuiDateTimePickerTabs",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({boxShadow:`0 -1px 0 0 inset ${(e.vars||e).palette.divider}`,"&:last-child":{boxShadow:`0 1px 0 0 inset ${(e.vars||e).palette.divider}`,[`& .${mO.indicator}`]:{bottom:"auto",top:0}}}))),MO=function(e){const t=(0,T.A)({props:e,name:"MuiDateTimePickerTabs"}),{dateIcon:n=(0,F.jsx)(DE,{}),onViewChange:r,timeIcon:o=(0,F.jsx)(NE,{}),view:a,hidden:s="undefined"==typeof window||window.innerHeight<667,className:l,sx:d}=t,h=PC(),p=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},OO,t)})(t);return s?null:(0,F.jsxs)(IO,{ownerState:t,variant:"fullWidth",value:PO(a),onChange:(e,t)=>{r("date"===t?"day":"hours")},className:(0,c.A)(l,p.root),sx:d,children:[(0,F.jsx)(tO,{value:"date","aria-label":h.dateTableLabel,icon:(0,F.jsx)(i.Fragment,{children:n})}),(0,F.jsx)(tO,{value:"time","aria-label":h.timeTableLabel,icon:(0,F.jsx)(i.Fragment,{children:o})})]})};function LO(e){return(0,R.Ay)("MuiPickersToolbarText",e)}const RO=(0,L.A)("MuiPickersToolbarText",["root","selected"]),jO=["className","selected","value"],FO=(0,h.Ay)(ji.A,{name:"MuiPickersToolbarText",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`&.${RO.selected}`]:t.selected}]})((({theme:e})=>({transition:e.transitions.create("color"),color:(e.vars||e).palette.text.secondary,[`&.${RO.selected}`]:{color:(e.vars||e).palette.text.primary}}))),DO=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiPickersToolbarText"}),{className:r,value:o}=n,i=(0,l.A)(n,jO),a=(e=>{const{classes:t,selected:n}=e,r={root:["root",n&&"selected"]};return(0,u.A)(r,LO,t)})(n);return(0,F.jsx)(FO,(0,s.A)({ref:t,className:(0,c.A)(r,a.root),component:"span"},i,{children:o}))})),NO=["align","className","selected","typographyClassName","value","variant","width"],zO=(0,h.Ay)(No,{name:"MuiPickersToolbarButton",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:0,minWidth:16,textTransform:"none"}),BO=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiPickersToolbarButton"}),{align:r,className:o,selected:i,typographyClassName:a,value:d,variant:h,width:p}=n,f=(0,l.A)(n,NO),g=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},MC,t)})(n);return(0,F.jsx)(zO,(0,s.A)({variant:"text",ref:t,className:(0,c.A)(o,g.root)},p?{sx:{width:p}}:{},f,{children:(0,F.jsx)(DO,{align:r,className:a,variant:h,value:d,selected:i})}))}));function VO(e){return(0,R.Ay)("MuiDateTimePickerToolbar",e)}const $O=(0,L.A)("MuiDateTimePickerToolbar",["root","dateContainer","timeContainer","timeDigitsContainer","separator","timeLabelReverse","ampmSelection","ampmLandscape","ampmLabel"]),GO=["ampm","ampmInClock","value","onChange","view","isLandscape","onViewChange","toolbarFormat","toolbarPlaceholder","views","disabled","readOnly","toolbarVariant","toolbarTitle","className"],UO=e=>{const{classes:t,isLandscape:n,isRtl:r}=e,o={root:["root"],dateContainer:["dateContainer"],timeContainer:["timeContainer",r&&"timeLabelReverse"],timeDigitsContainer:["timeDigitsContainer",r&&"timeLabelReverse"],separator:["separator"],ampmSelection:["ampmSelection",n&&"ampmLandscape"],ampmLabel:["ampmLabel"]};return(0,u.A)(o,VO,t)},WO=(0,h.Ay)(DC,{name:"MuiDateTimePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({paddingLeft:16,paddingRight:16,justifyContent:"space-around",position:"relative",variants:[{props:{toolbarVariant:"desktop"},style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,[`& .${LC.content} .${RO.selected}`]:{color:(e.vars||e).palette.primary.main,fontWeight:e.typography.fontWeightBold}}},{props:{toolbarVariant:"desktop",isLandscape:!0},style:{borderRight:`1px solid ${(e.vars||e).palette.divider}`}},{props:{toolbarVariant:"desktop",isLandscape:!1},style:{paddingLeft:24,paddingRight:0}}]}))),qO=(0,h.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"DateContainer",overridesResolver:(e,t)=>t.dateContainer})({display:"flex",flexDirection:"column",alignItems:"flex-start"}),HO=(0,h.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"TimeContainer",overridesResolver:(e,t)=>t.timeContainer})({display:"flex",flexDirection:"row",variants:[{props:{isRtl:!0},style:{flexDirection:"row-reverse"}},{props:{toolbarVariant:"desktop",isLandscape:!1},style:{gap:9,marginRight:4,alignSelf:"flex-end"}},{props:({isLandscape:e,toolbarVariant:t})=>e&&"desktop"!==t,style:{flexDirection:"column"}},{props:({isLandscape:e,toolbarVariant:t,isRtl:n})=>e&&"desktop"!==t&&n,style:{flexDirection:"column-reverse"}}]}),YO=(0,h.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"TimeDigitsContainer",overridesResolver:(e,t)=>t.timeDigitsContainer})({display:"flex",variants:[{props:{isRtl:!0},style:{flexDirection:"row-reverse"}},{props:{toolbarVariant:"desktop"},style:{gap:1.5}}]}),KO=(0,h.Ay)(DO,{name:"MuiDateTimePickerToolbar",slot:"Separator",overridesResolver:(e,t)=>t.separator})({margin:"0 4px 0 2px",cursor:"default",variants:[{props:{toolbarVariant:"desktop"},style:{margin:0}}]}),XO=(0,h.Ay)("div",{name:"MuiDateTimePickerToolbar",slot:"AmPmSelection",overridesResolver:(e,t)=>[{[`.${$O.ampmLabel}`]:t.ampmLabel},{[`&.${$O.ampmLandscape}`]:t.ampmLandscape},t.ampmSelection]})({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12,[`& .${$O.ampmLabel}`]:{fontSize:17},variants:[{props:{isLandscape:!0},style:{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",width:"100%"}}]});function ZO(e){const t=(0,T.A)({props:e,name:"MuiDateTimePickerToolbar"}),{ampm:n,ampmInClock:r,value:o,onChange:a,view:u,isLandscape:d,onViewChange:h,toolbarFormat:p,toolbarPlaceholder:f="––",views:g,disabled:m,readOnly:y,toolbarVariant:v="mobile",toolbarTitle:b,className:w}=t,A=(0,l.A)(t,GO),x=(0,eo.I)(),S=(0,s.A)({},t,{isRtl:x}),C=_C(),{meridiemMode:E,handleMeridiemChange:k}=v_(o,n,a),_=Boolean(n&&!r),O="desktop"===v,P=PC(),I=UO(S),M=b??P.dateTimePickerToolbarTitle,L=i.useMemo((()=>o?p?C.formatByString(o,p):C.format(o,"shortDate"):f),[o,p,f,C]);return(0,F.jsxs)(WO,(0,s.A)({isLandscape:d,className:(0,c.A)(I.root,w),toolbarTitle:M},A,{ownerState:S,children:[(0,F.jsxs)(qO,{className:I.dateContainer,ownerState:S,children:[g.includes("year")&&(0,F.jsx)(BO,{tabIndex:-1,variant:"subtitle1",onClick:()=>h("year"),selected:"year"===u,value:o?C.format(o,"year"):"–"}),g.includes("day")&&(0,F.jsx)(BO,{tabIndex:-1,variant:O?"h5":"h4",onClick:()=>h("day"),selected:"day"===u,value:L})]}),(0,F.jsxs)(HO,{className:I.timeContainer,ownerState:S,children:[(0,F.jsxs)(YO,{className:I.timeDigitsContainer,ownerState:S,children:[g.includes("hours")&&(0,F.jsxs)(i.Fragment,{children:[(0,F.jsx)(BO,{variant:O?"h5":"h3",width:O&&!d?wE:void 0,onClick:()=>h("hours"),selected:"hours"===u,value:o?(R=o,n?C.format(R,"hours12h"):C.format(R,"hours24h")):"--"}),(0,F.jsx)(KO,{variant:O?"h5":"h3",value:":",className:I.separator,ownerState:S}),(0,F.jsx)(BO,{variant:O?"h5":"h3",width:O&&!d?wE:void 0,onClick:()=>h("minutes"),selected:"minutes"===u||!g.includes("minutes")&&"hours"===u,value:o?C.format(o,"minutes"):"--",disabled:!g.includes("minutes")})]}),g.includes("seconds")&&(0,F.jsxs)(i.Fragment,{children:[(0,F.jsx)(KO,{variant:O?"h5":"h3",value:":",className:I.separator,ownerState:S}),(0,F.jsx)(BO,{variant:O?"h5":"h3",width:O&&!d?wE:void 0,onClick:()=>h("seconds"),selected:"seconds"===u,value:o?C.format(o,"seconds"):"--"})]})]}),_&&!O&&(0,F.jsxs)(XO,{className:I.ampmSelection,ownerState:S,children:[(0,F.jsx)(BO,{variant:"subtitle2",selected:"am"===E,typographyClassName:I.ampmLabel,value:NS(C,"am"),onClick:y?void 0:()=>k("am"),disabled:m}),(0,F.jsx)(BO,{variant:"subtitle2",selected:"pm"===E,typographyClassName:I.ampmLabel,value:NS(C,"pm"),onClick:y?void 0:()=>k("pm"),disabled:m})]}),n&&O&&(0,F.jsx)(BO,{variant:"h5",onClick:()=>h("meridiem"),selected:"meridiem"===u,value:o&&E?NS(C,E):"--",width:wE})]})]}));var R}function JO(e,t){const n=_C(),r=OC(),o=(0,T.A)({props:e,name:t}),a=o.ampm??n.is12HourCycleInCurrentLocale(),l=i.useMemo((()=>null==o.localeText?.toolbarTitle?o.localeText:(0,s.A)({},o.localeText,{dateTimePickerToolbarTitle:o.localeText.toolbarTitle})),[o.localeText]);return(0,s.A)({},o,MS({views:o.views,openTo:o.openTo,defaultViews:["year","day","hours","minutes"],defaultOpenTo:"day"}),{ampm:a,localeText:l,orientation:o.orientation??"portrait",disableIgnoringDatePartForTimeValidation:o.disableIgnoringDatePartForTimeValidation??Boolean(o.minDateTime||o.maxDateTime||o.disablePast||o.disableFuture),disableFuture:o.disableFuture??!1,disablePast:o.disablePast??!1,minDate:jS(n,o.minDateTime??o.minDate,r.minDate),maxDate:jS(n,o.maxDateTime??o.maxDate,r.maxDate),minTime:o.minDateTime??o.minTime,maxTime:o.maxDateTime??o.maxTime,slots:(0,s.A)({toolbar:ZO,tabs:MO},o.slots),slotProps:(0,s.A)({},o.slotProps,{toolbar:(0,s.A)({ampm:a},o.slotProps?.toolbar)})})}const QO=["views","format"],eP=(e,t)=>{let{views:n,format:r}=t,o=(0,l.A)(t,QO);if(r)return r;const i=[],a=[];if(n.forEach((e=>{US(e)?a.push(e):i.push(e)})),0===a.length)return VS(e,(0,s.A)({views:i},o),!1);if(0===i.length)return ZS(e,(0,s.A)({views:a},o));const c=ZS(e,(0,s.A)({views:a},o));return`${VS(e,(0,s.A)({views:i},o),!1)} ${c}`},tP=(e,t,n)=>n?t.filter((e=>!WS(e)||"hours"===e)):e?[...t,"meridiem"]:t;function nP({thresholdToRenderTimeInASingleColumn:e,ampm:t,timeSteps:n,views:r}){const o=e??24,i=(0,s.A)({hours:1,minutes:5,seconds:5},n),a=((e,t)=>1440/((e.hours??1)*(e.minutes??5))<=t)(i,o);return{thresholdToRenderTimeInASingleColumn:o,timeSteps:i,shouldRenderTimeInASingleColumn:a,views:tP(t,r,a)}}function rP(e){return(0,R.Ay)("MuiTimeClock",e)}(0,L.A)("MuiTimeClock",["root","arrowSwitcher"]);const oP=220,iP=36,aP={x:oP/2,y:oP/2},sP=aP.x-aP.x,lP=0-aP.y,cP=(e,t,n)=>{const r=t-aP.x,o=n-aP.y,i=Math.atan2(sP,lP)-Math.atan2(r,o);let a=i*(180/Math.PI);a=Math.round(a/e)*e,a%=360;const s=r**2+o**2;return{value:Math.floor(a/e)||0,distance:Math.sqrt(s)}};function uP(e){return(0,R.Ay)("MuiClockPointer",e)}(0,L.A)("MuiClockPointer",["root","thumb"]);const dP=["className","hasSelected","isInner","type","viewValue"],hP=e=>{const{classes:t}=e;return(0,u.A)({root:["root"],thumb:["thumb"]},uP,t)},pP=(0,h.Ay)("div",{name:"MuiClockPointer",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({width:2,backgroundColor:(e.vars||e).palette.primary.main,position:"absolute",left:"calc(50% - 1px)",bottom:"50%",transformOrigin:"center bottom 0px",variants:[{props:{shouldAnimate:!0},style:{transition:e.transitions.create(["transform","height"])}}]}))),fP=(0,h.Ay)("div",{name:"MuiClockPointer",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((({theme:e})=>({width:4,height:4,backgroundColor:(e.vars||e).palette.primary.contrastText,borderRadius:"50%",position:"absolute",top:-21,left:"calc(50% - 18px)",border:`16px solid ${(e.vars||e).palette.primary.main}`,boxSizing:"content-box",variants:[{props:{hasSelected:!0},style:{backgroundColor:(e.vars||e).palette.primary.main}}]})));function gP(e){const t=(0,T.A)({props:e,name:"MuiClockPointer"}),{className:n,isInner:r,type:o,viewValue:a}=t,u=(0,l.A)(t,dP),d=i.useRef(o);i.useEffect((()=>{d.current=o}),[o]);const h=(0,s.A)({},t,{shouldAnimate:d.current!==o}),p=hP(h);return(0,F.jsx)(pP,(0,s.A)({style:(()=>{let e=360/("hours"===o?12:60)*a;return"hours"===o&&a>12&&(e-=360),{height:Math.round((r?.26:.4)*oP),transform:`rotateZ(${e}deg)`}})(),className:(0,c.A)(n,p.root),ownerState:h},u,{children:(0,F.jsx)(fP,{ownerState:h,className:p.thumb})}))}function mP(e){return(0,R.Ay)("MuiClock",e)}(0,L.A)("MuiClock",["root","clock","wrapper","squareMask","pin","amButton","pmButton","meridiemText"]);const yP=(0,h.Ay)("div",{name:"MuiClock",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",justifyContent:"center",alignItems:"center",margin:e.spacing(2)}))),vP=(0,h.Ay)("div",{name:"MuiClock",slot:"Clock",overridesResolver:(e,t)=>t.clock})({backgroundColor:"rgba(0,0,0,.07)",borderRadius:"50%",height:220,width:220,flexShrink:0,position:"relative",pointerEvents:"none"}),bP=(0,h.Ay)("div",{name:"MuiClock",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({"&:focus":{outline:"none"}}),wP=(0,h.Ay)("div",{name:"MuiClock",slot:"SquareMask",overridesResolver:(e,t)=>t.squareMask})({width:"100%",height:"100%",position:"absolute",pointerEvents:"auto",outline:0,touchAction:"none",userSelect:"none",variants:[{props:{disabled:!1},style:{"@media (pointer: fine)":{cursor:"pointer",borderRadius:"50%"},"&:active":{cursor:"move"}}}]}),AP=(0,h.Ay)("div",{name:"MuiClock",slot:"Pin",overridesResolver:(e,t)=>t.pin})((({theme:e})=>({width:6,height:6,borderRadius:"50%",backgroundColor:(e.vars||e).palette.primary.main,position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)"}))),xP=(0,h.Ay)(Vn,{name:"MuiClock",slot:"AmButton",overridesResolver:(e,t)=>t.amButton})((({theme:e})=>({zIndex:1,position:"absolute",bottom:8,left:8,paddingLeft:4,paddingRight:4,width:iP,variants:[{props:{meridiemMode:"am"},style:{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:hover":{backgroundColor:(e.vars||e).palette.primary.light}}}]}))),SP=(0,h.Ay)(Vn,{name:"MuiClock",slot:"PmButton",overridesResolver:(e,t)=>t.pmButton})((({theme:e})=>({zIndex:1,position:"absolute",bottom:8,right:8,paddingLeft:4,paddingRight:4,width:iP,variants:[{props:{meridiemMode:"pm"},style:{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:hover":{backgroundColor:(e.vars||e).palette.primary.light}}}]}))),CP=(0,h.Ay)(ji.A,{name:"MuiClock",slot:"meridiemText",overridesResolver:(e,t)=>t.meridiemText})({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});function EP(e){const t=(0,T.A)({props:e,name:"MuiClock"}),{ampm:n,ampmInClock:r,autoFocus:o,children:a,value:s,handleMeridiemChange:l,isTimeDisabled:d,meridiemMode:h,minutesStep:p=1,onChange:f,selectedId:g,type:m,viewValue:y,disabled:v=!1,readOnly:b,className:w}=t,A=t,x=_C(),S=PC(),C=i.useRef(!1),E=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],clock:["clock"],wrapper:["wrapper"],squareMask:["squareMask"],pin:["pin"],amButton:["amButton"],pmButton:["pmButton"],meridiemText:["meridiemText"]},mP,t)})(A),k=d(y,m),_=!n&&"hours"===m&&(y<1||y>12),O=(e,t)=>{v||b||d(e,m)||f(e,t)},P=(e,t)=>{let{offsetX:r,offsetY:o}=e;if(void 0===r){const t=e.target.getBoundingClientRect();r=e.changedTouches[0].clientX-t.left,o=e.changedTouches[0].clientY-t.top}const i="seconds"===m||"minutes"===m?((e,t,n=1)=>{const r=6*n;let{value:o}=cP(r,e,t);return o=o*n%60,o})(r,o,p):((e,t,n)=>{const{value:r,distance:o}=cP(30,e,t);let i=r||12;return n?i%=12:o"hours"===m||y%5==0),[m,y]),M="minutes"===m?p:1,L=i.useRef(null);(0,He.A)((()=>{o&&L.current.focus()}),[o]);return(0,F.jsxs)(yP,{className:(0,c.A)(w,E.root),children:[(0,F.jsxs)(vP,{className:E.clock,children:[(0,F.jsx)(wP,{onTouchMove:e=>{C.current=!0,P(e,"shallow")},onTouchEnd:e=>{C.current&&(P(e,"finish"),C.current=!1)},onMouseUp:e=>{C.current&&(C.current=!1),P(e.nativeEvent,"finish")},onMouseMove:e=>{e.buttons>0&&P(e.nativeEvent,"shallow")},ownerState:{disabled:v},className:E.squareMask}),!k&&(0,F.jsxs)(i.Fragment,{children:[(0,F.jsx)(AP,{className:E.pin}),null!=s&&(0,F.jsx)(gP,{type:m,viewValue:y,isInner:_,hasSelected:I})]}),(0,F.jsx)(bP,{"aria-activedescendant":g,"aria-label":S.clockLabelText(m,s,x),ref:L,role:"listbox",onKeyDown:e=>{if(!C.current)switch(e.key){case"Home":O(0,"partial"),e.preventDefault();break;case"End":O("minutes"===m?59:23,"partial"),e.preventDefault();break;case"ArrowUp":O(y+M,"partial"),e.preventDefault();break;case"ArrowDown":O(y-M,"partial"),e.preventDefault()}},tabIndex:0,className:E.wrapper,children:a})]}),n&&r&&(0,F.jsxs)(i.Fragment,{children:[(0,F.jsx)(xP,{onClick:b?void 0:()=>l("am"),disabled:v||null===h,ownerState:A,className:E.amButton,title:NS(x,"am"),children:(0,F.jsx)(CP,{variant:"caption",className:E.meridiemText,children:NS(x,"am")})}),(0,F.jsx)(SP,{disabled:v||null===h,onClick:b?void 0:()=>l("pm"),ownerState:A,className:E.pmButton,title:NS(x,"pm"),children:(0,F.jsx)(CP,{variant:"caption",className:E.meridiemText,children:NS(x,"pm")})})]})]})}function kP(e){return(0,R.Ay)("MuiClockNumber",e)}const TP=(0,L.A)("MuiClockNumber",["root","selected","disabled"]),_P=["className","disabled","index","inner","label","selected"],OP=(0,h.Ay)("span",{name:"MuiClockNumber",slot:"Root",overridesResolver:(e,t)=>[t.root,{[`&.${TP.disabled}`]:t.disabled},{[`&.${TP.selected}`]:t.selected}]})((({theme:e})=>({height:iP,width:iP,position:"absolute",left:"calc((100% - 36px) / 2)",display:"inline-flex",justifyContent:"center",alignItems:"center",borderRadius:"50%",color:(e.vars||e).palette.text.primary,fontFamily:e.typography.fontFamily,"&:focused":{backgroundColor:(e.vars||e).palette.background.paper},[`&.${TP.selected}`]:{color:(e.vars||e).palette.primary.contrastText},[`&.${TP.disabled}`]:{pointerEvents:"none",color:(e.vars||e).palette.text.disabled},variants:[{props:{inner:!0},style:(0,s.A)({},e.typography.body2,{color:(e.vars||e).palette.text.secondary})}]})));function PP(e){const t=(0,T.A)({props:e,name:"MuiClockNumber"}),{className:n,disabled:r,index:o,inner:i,label:a,selected:d}=t,h=(0,l.A)(t,_P),p=t,f=(e=>{const{classes:t,selected:n,disabled:r}=e,o={root:["root",n&&"selected",r&&"disabled"]};return(0,u.A)(o,kP,t)})(p),g=o%12/12*Math.PI*2-Math.PI/2,m=(oP-iP-2)/2*(i?.65:1),y=Math.round(Math.cos(g)*m),v=Math.round(Math.sin(g)*m);return(0,F.jsx)(OP,(0,s.A)({className:(0,c.A)(n,f.root),"aria-disabled":!!r||void 0,"aria-selected":!!d||void 0,role:"option",style:{transform:`translate(${y}px, ${v+(oP-iP)/2}px`},ownerState:p},h,{children:a}))}const IP=({ampm:e,value:t,getClockNumberText:n,isDisabled:r,selectedId:o,utils:i})=>{const a=t?i.getHours(t):null,s=[],l=e?12:23,c=t=>null!==a&&(e?12===t?12===a||0===a:a===t||a-12===t:a===t);for(let t=e?1:0;t<=l;t+=1){let a=t.toString();0===t&&(a="00");const l=!e&&(0===t||t>12);a=i.formatNumber(a);const u=c(t);s.push((0,F.jsx)(PP,{id:u?o:void 0,index:t,inner:l,selected:u,disabled:r(t),label:a,"aria-label":n(a)},t))}return s},MP=({utils:e,value:t,isDisabled:n,getClockNumberText:r,selectedId:o})=>{const i=e.formatNumber;return[[5,i("05")],[10,i("10")],[15,i("15")],[20,i("20")],[25,i("25")],[30,i("30")],[35,i("35")],[40,i("40")],[45,i("45")],[50,i("50")],[55,i("55")],[0,i("00")]].map((([e,i],a)=>{const s=e===t;return(0,F.jsx)(PP,{label:i,id:s?o:void 0,index:a+1,inner:!1,disabled:n(e),selected:s,"aria-label":r(i)},e)}))},LP=({value:e,referenceDate:t,utils:n,props:r,timezone:o})=>{const a=i.useMemo((()=>AC.getInitialReferenceValue({value:e,utils:n,props:r,referenceDate:t,granularity:JS.day,timezone:o,getTodayDate:()=>DS(n,o,"date")})),[]);return e??a},RP=["ampm","ampmInClock","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","showViewSwitcher","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","timezone"],jP=(0,h.Ay)(O_,{name:"MuiTimeClock",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"flex",flexDirection:"column",position:"relative"}),FP=(0,h.Ay)(y_,{name:"MuiTimeClock",slot:"ArrowSwitcher",overridesResolver:(e,t)=>t.arrowSwitcher})({position:"absolute",right:12,top:15}),DP=["hours","minutes"],NP=i.forwardRef((function(e,t){const n=_C(),r=(0,T.A)({props:e,name:"MuiTimeClock"}),{ampm:o=n.is12HourCycleInCurrentLocale(),ampmInClock:a=!1,autoFocus:d,slots:h,slotProps:p,value:f,defaultValue:g,referenceDate:m,disableIgnoringDatePartForTimeValidation:y=!1,maxTime:v,minTime:b,disableFuture:w,disablePast:A,minutesStep:x=1,shouldDisableTime:S,showViewSwitcher:C,onChange:E,view:k,views:_=DP,openTo:O,onViewChange:P,focusedView:I,onFocusedViewChange:M,className:L,disabled:R,readOnly:j,timezone:D}=r,N=(0,l.A)(r,RP),{value:z,handleValueChange:B,timezone:V}=sE({name:"TimeClock",timezone:D,value:f,defaultValue:g,onChange:E,valueManager:AC}),$=LP({value:z,referenceDate:m,utils:n,props:r,timezone:V}),G=PC(),U=IC(V),{view:W,setView:q,previousView:H,nextView:Y,setValueAndGoToNextView:K}=cE({view:k,views:_,openTo:O,onViewChange:P,onChange:B,focusedView:I,onFocusedViewChange:M}),{meridiemMode:X,handleMeridiemChange:Z}=v_($,o,K),J=i.useCallback(((e,t)=>{const r=XS(y,n),i="hours"===t||"minutes"===t&&_.includes("seconds"),a=({start:e,end:t})=>(!b||!r(b,t))&&((!v||!r(e,v))&&((!w||!r(e,U))&&(!A||!r(U,i?t:e)))),s=(e,r=1)=>{if(e%r!=0)return!1;if(S)switch(t){case"hours":return!S(n.setHours($,e),"hours");case"minutes":return!S(n.setMinutes($,e),"minutes");case"seconds":return!S(n.setSeconds($,e),"seconds");default:return!1}return!0};switch(t){case"hours":{const t=HS(e,X,o),r=n.setHours($,t);return!a({start:n.setSeconds(n.setMinutes(r,0),0),end:n.setSeconds(n.setMinutes(r,59),59)})||!s(t)}case"minutes":{const t=n.setMinutes($,e);return!a({start:n.setSeconds(t,0),end:n.setSeconds(t,59)})||!s(e,x)}case"seconds":{const t=n.setSeconds($,e);return!a({start:t,end:t})||!s(e)}default:throw new Error("not supported")}}),[o,$,y,v,X,b,x,S,n,w,A,U,_]),Q=(0,Fe.A)(),ee=i.useMemo((()=>{switch(W){case"hours":{const e=(e,t)=>{const r=HS(e,X,o);K(n.setHours($,r),t,"hours")};return{onChange:e,viewValue:n.getHours($),children:IP({value:z,utils:n,ampm:o,onChange:e,getClockNumberText:G.hoursClockNumberText,isDisabled:e=>R||J(e,"hours"),selectedId:Q})}}case"minutes":{const e=n.getMinutes($),t=(e,t)=>{K(n.setMinutes($,e),t,"minutes")};return{viewValue:e,onChange:t,children:MP({utils:n,value:e,onChange:t,getClockNumberText:G.minutesClockNumberText,isDisabled:e=>R||J(e,"minutes"),selectedId:Q})}}case"seconds":{const e=n.getSeconds($),t=(e,t)=>{K(n.setSeconds($,e),t,"seconds")};return{viewValue:e,onChange:t,children:MP({utils:n,value:e,onChange:t,getClockNumberText:G.secondsClockNumberText,isDisabled:e=>R||J(e,"seconds"),selectedId:Q})}}default:throw new Error("You must provide the type for ClockView")}}),[W,n,z,o,G.hoursClockNumberText,G.minutesClockNumberText,G.secondsClockNumberText,X,K,$,J,Q,R]),te=r,ne=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],arrowSwitcher:["arrowSwitcher"]},rP,t)})(te);return(0,F.jsxs)(jP,(0,s.A)({ref:t,className:(0,c.A)(ne.root,L),ownerState:te},N,{children:[(0,F.jsx)(EP,(0,s.A)({autoFocus:d??!!I,ampmInClock:a&&_.includes("hours"),value:z,type:W,ampm:o,minutesStep:x,isTimeDisabled:J,meridiemMode:X,handleMeridiemChange:Z,selectedId:Q,disabled:R,readOnly:j},ee)),C&&(0,F.jsx)(FP,{className:ne.arrowSwitcher,slots:h,slotProps:p,onGoToPrevious:()=>q(H),isPreviousDisabled:!H,previousLabel:G.openPreviousView,onGoToNext:()=>q(Y),isNextDisabled:!Y,nextLabel:G.openNextView,ownerState:te})]}))}));function zP(e){return(0,R.Ay)("MuiDigitalClock",e)}const BP=(0,L.A)("MuiDigitalClock",["root","list","item"]),VP=["ampm","timeStep","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","onChange","view","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","views","skipDisabled","timezone"],$P=(0,h.Ay)(O_,{name:"MuiDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})({overflowY:"auto",width:"100%","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"auto"},maxHeight:232,variants:[{props:{alreadyRendered:!0},style:{"@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"smooth"}}}]}),GP=(0,h.Ay)(ni,{name:"MuiDigitalClock",slot:"List",overridesResolver:(e,t)=>t.list})({padding:0}),UP=(0,h.Ay)(pi,{name:"MuiDigitalClock",slot:"Item",overridesResolver:(e,t)=>t.item})((({theme:e})=>({padding:"8px 16px",margin:"2px 4px","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ry.X4)(e.palette.primary.main,e.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,Ry.X4)(e.palette.primary.main,e.palette.action.focusOpacity)}}))),WP=i.forwardRef((function(e,t){const n=_C(),r=i.useRef(null),o=(0,q.A)(t,r),a=(0,T.A)({props:e,name:"MuiDigitalClock"}),{ampm:d=n.is12HourCycleInCurrentLocale(),timeStep:h=30,autoFocus:p,slots:f,slotProps:g,value:m,defaultValue:y,referenceDate:v,disableIgnoringDatePartForTimeValidation:b=!1,maxTime:w,minTime:A,disableFuture:x,disablePast:S,minutesStep:C=1,shouldDisableTime:E,onChange:k,view:_,openTo:O,onViewChange:P,focusedView:I,onFocusedViewChange:M,className:L,disabled:R,readOnly:j,views:D=["hours"],skipDisabled:N=!1,timezone:z}=a,B=(0,l.A)(a,VP),{value:V,handleValueChange:$,timezone:G}=sE({name:"DigitalClock",timezone:z,value:m,defaultValue:y,onChange:k,valueManager:AC}),U=PC(),W=IC(G),H=i.useMemo((()=>(0,s.A)({},a,{alreadyRendered:!!r.current})),[a]),Y=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],list:["list"],item:["item"]},zP,t)})(H),K=f?.digitalClockItem??UP,X=(0,mn.Q)({elementType:K,externalSlotProps:g?.digitalClockItem,ownerState:{},className:Y.item}),Z=LP({value:V,referenceDate:v,utils:n,props:a,timezone:G}),J=(0,ze.A)((e=>$(e,"finish","hours"))),{setValueAndGoToNextView:Q}=cE({view:_,views:D,openTo:O,onViewChange:P,onChange:J,focusedView:I,onFocusedViewChange:M}),ee=(0,ze.A)((e=>{Q(e,"finish")}));i.useEffect((()=>{if(null===r.current)return;const e=r.current.querySelector('[role="listbox"] [role="option"][tabindex="0"], [role="listbox"] [role="option"][aria-selected="true"]');if(!e)return;const t=e.offsetTop;(p||I)&&e.focus(),r.current.scrollTop=t-4}));const te=i.useCallback((e=>{const t=XS(b,n);return!!(A&&t(A,e)||w&&t(e,w)||x&&t(e,W)||S&&t(W,e))||!!(n.getMinutes(e)%C!=0||E&&E(e,"hours"))}),[b,n,A,w,x,W,S,C,E]),ne=i.useMemo((()=>{const e=n.startOfDay(Z);return[e,...Array.from({length:Math.ceil(1440/h)-1},((t,r)=>n.addMinutes(e,h*(r+1))))]}),[Z,h,n]),re=ne.findIndex((e=>n.isEqual(e,Z)));return(0,F.jsx)($P,(0,s.A)({ref:o,className:(0,c.A)(Y.root,L),ownerState:H},B,{children:(0,F.jsx)(GP,{role:"listbox","aria-label":U.timePickerToolbarTitle,className:Y.list,children:ne.map(((e,t)=>{if(N&&te(e))return null;const r=n.isEqual(e,V),o=n.format(e,d?"fullTime12h":"fullTime24h"),i=re===t||-1===re&&0===t?0:-1;return(0,F.jsx)(K,(0,s.A)({onClick:()=>!j&&ee(e),selected:r,disabled:R||te(e),disableRipple:j,role:"option","aria-disabled":j,"aria-selected":r,tabIndex:i},X,{children:o}),o)}))})}))}));function qP(e){return(0,R.Ay)("MuiMultiSectionDigitalClock",e)}const HP=(0,L.A)("MuiMultiSectionDigitalClock",["root"]);function YP(e){return(0,R.Ay)("MuiMultiSectionDigitalClockSection",e)}const KP=(0,L.A)("MuiMultiSectionDigitalClockSection",["root","item"]),XP=["autoFocus","onChange","className","disabled","readOnly","items","active","slots","slotProps","skipDisabled"],ZP=(0,h.Ay)(ni,{name:"MuiMultiSectionDigitalClockSection",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({maxHeight:232,width:56,padding:0,overflow:"hidden","@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"auto"},"@media (pointer: fine)":{"&:hover":{overflowY:"auto"}},"@media (pointer: none), (pointer: coarse)":{overflowY:"auto"},"&:not(:first-of-type)":{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},"&::after":{display:"block",content:'""',height:"calc(100% - 40px - 6px)"},variants:[{props:{alreadyRendered:!0},style:{"@media (prefers-reduced-motion: no-preference)":{scrollBehavior:"smooth"}}}]}))),JP=(0,h.Ay)(pi,{name:"MuiMultiSectionDigitalClockSection",slot:"Item",overridesResolver:(e,t)=>t.item})((({theme:e})=>({padding:8,margin:"2px 4px",width:wE,justifyContent:"center","&:first-of-type":{marginTop:4},"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Ry.X4)(e.palette.primary.main,e.palette.action.hoverOpacity)},"&.Mui-selected":{backgroundColor:(e.vars||e).palette.primary.main,color:(e.vars||e).palette.primary.contrastText,"&:focus-visible, &:hover":{backgroundColor:(e.vars||e).palette.primary.dark}},"&.Mui-focusVisible":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,Ry.X4)(e.palette.primary.main,e.palette.action.focusOpacity)}}))),QP=i.forwardRef((function(e,t){const n=i.useRef(null),r=(0,q.A)(t,n),o=i.useRef(null),a=(0,T.A)({props:e,name:"MuiMultiSectionDigitalClockSection"}),{autoFocus:d,onChange:h,className:p,disabled:f,readOnly:g,items:m,active:y,slots:v,slotProps:b,skipDisabled:w}=a,A=(0,l.A)(a,XP),x=i.useMemo((()=>(0,s.A)({},a,{alreadyRendered:!!n.current})),[a]),S=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"],item:["item"]},YP,t)})(x),C=v?.digitalClockSectionItem??JP;i.useEffect((()=>{if(null===n.current)return;const e=n.current.querySelector('[role="option"][tabindex="0"], [role="option"][aria-selected="true"]');if(y&&d&&e&&e.focus(),!e||o.current===e)return;o.current=e;const t=e.offsetTop;n.current.scrollTop=t-4}));const E=m.findIndex((e=>e.isFocused(e.value)));return(0,F.jsx)(ZP,(0,s.A)({ref:r,className:(0,c.A)(S.root,p),ownerState:x,autoFocusItem:d&&y,role:"listbox"},A,{children:m.map(((e,t)=>{const n=e.isDisabled?.(e.value),r=f||n;if(w&&r)return null;const o=e.isSelected(e.value),i=E===t||-1===E&&0===t?0:-1;return(0,F.jsx)(C,(0,s.A)({onClick:()=>!g&&h(e.value),selected:o,disabled:r,disableRipple:g,role:"option","aria-disabled":g||r||void 0,"aria-label":e.ariaLabel,"aria-selected":o,tabIndex:i,className:S.item},b?.digitalClockSectionItem,{children:e.label}),e.label)}))}))})),eI=({now:e,value:t,utils:n,ampm:r,isDisabled:o,resolveAriaLabel:i,timeStep:a,valueOrReferenceDate:s})=>{const l=t?n.getHours(t):null,c=[],u=(e,t)=>{const n=t??l;return null!==n&&(r?12===e?12===n||0===n:n===e||n-12===e:n===e)},d=e=>u(e,n.getHours(s)),h=r?11:23;for(let t=0;t<=h;t+=a){let a=n.format(n.setHours(e,t),r?"hours12h":"hours24h");const s=i(parseInt(a,10).toString());a=n.formatNumber(a),c.push({value:t,label:a,isSelected:u,isDisabled:o,isFocused:d,ariaLabel:s})}return c},tI=({value:e,utils:t,isDisabled:n,timeStep:r,resolveLabel:o,resolveAriaLabel:i,hasValue:a=!0})=>{const s=t=>null!==e&&(a&&e===t),l=t=>e===t;return[...Array.from({length:Math.ceil(60/r)},((e,a)=>{const c=r*a;return{value:c,label:t.formatNumber(o(c)),isDisabled:n,isSelected:s,isFocused:l,ariaLabel:i(c.toString())}}))]},nI=["ampm","timeSteps","autoFocus","slots","slotProps","value","defaultValue","referenceDate","disableIgnoringDatePartForTimeValidation","maxTime","minTime","disableFuture","disablePast","minutesStep","shouldDisableTime","onChange","view","views","openTo","onViewChange","focusedView","onFocusedViewChange","className","disabled","readOnly","skipDisabled","timezone"],rI=(0,h.Ay)(O_,{name:"MuiMultiSectionDigitalClock",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"flex",flexDirection:"row",width:"100%",borderBottom:`1px solid ${(e.vars||e).palette.divider}`}))),oI=i.forwardRef((function(e,t){const n=_C(),r=(0,T.A)({props:e,name:"MuiMultiSectionDigitalClock"}),{ampm:o=n.is12HourCycleInCurrentLocale(),timeSteps:a,autoFocus:d,slots:h,slotProps:p,value:f,defaultValue:g,referenceDate:m,disableIgnoringDatePartForTimeValidation:y=!1,maxTime:v,minTime:b,disableFuture:w,disablePast:A,minutesStep:x=1,shouldDisableTime:S,onChange:C,view:E,views:k=["hours","minutes"],openTo:_,onViewChange:O,focusedView:P,onFocusedViewChange:I,className:M,disabled:L,readOnly:R,skipDisabled:j=!1,timezone:D}=r,N=(0,l.A)(r,nI),{value:z,handleValueChange:B,timezone:V}=sE({name:"MultiSectionDigitalClock",timezone:D,value:f,defaultValue:g,onChange:C,valueManager:AC}),$=PC(),G=IC(V),U=i.useMemo((()=>(0,s.A)({hours:1,minutes:5,seconds:5},a)),[a]),W=LP({value:z,referenceDate:m,utils:n,props:r,timezone:V}),q=(0,ze.A)(((e,t,n)=>B(e,t,n))),H=i.useMemo((()=>o&&k.includes("hours")?k.includes("meridiem")?k:[...k,"meridiem"]:k),[o,k]),{view:Y,setValueAndGoToNextView:K,focusedView:X}=cE({view:E,views:H,openTo:_,onViewChange:O,onChange:q,focusedView:P,onFocusedViewChange:I}),Z=(0,ze.A)((e=>{K(e,"finish","meridiem")})),{meridiemMode:J,handleMeridiemChange:Q}=v_(W,o,Z,"finish"),ee=i.useCallback(((e,t)=>{const r=XS(y,n),i="hours"===t||"minutes"===t&&H.includes("seconds"),a=({start:e,end:t})=>(!b||!r(b,t))&&((!v||!r(e,v))&&((!w||!r(e,G))&&(!A||!r(G,i?t:e)))),s=(e,r=1)=>{if(e%r!=0)return!1;if(S)switch(t){case"hours":return!S(n.setHours(W,e),"hours");case"minutes":return!S(n.setMinutes(W,e),"minutes");case"seconds":return!S(n.setSeconds(W,e),"seconds");default:return!1}return!0};switch(t){case"hours":{const t=HS(e,J,o),r=n.setHours(W,t);return!a({start:n.setSeconds(n.setMinutes(r,0),0),end:n.setSeconds(n.setMinutes(r,59),59)})||!s(t)}case"minutes":{const t=n.setMinutes(W,e);return!a({start:n.setSeconds(t,0),end:n.setSeconds(t,59)})||!s(e,x)}case"seconds":{const t=n.setSeconds(W,e);return!a({start:t,end:t})||!s(e)}default:throw new Error("not supported")}}),[o,W,y,v,J,b,x,S,n,w,A,G,H]),te=i.useCallback((e=>{switch(e){case"hours":return{onChange:e=>{const t=HS(e,J,o);K(n.setHours(W,t),"finish","hours")},items:eI({now:G,value:z,ampm:o,utils:n,isDisabled:e=>ee(e,"hours"),timeStep:U.hours,resolveAriaLabel:$.hoursClockNumberText,valueOrReferenceDate:W})};case"minutes":return{onChange:e=>{K(n.setMinutes(W,e),"finish","minutes")},items:tI({value:n.getMinutes(W),utils:n,isDisabled:e=>ee(e,"minutes"),resolveLabel:e=>n.format(n.setMinutes(G,e),"minutes"),timeStep:U.minutes,hasValue:!!z,resolveAriaLabel:$.minutesClockNumberText})};case"seconds":return{onChange:e=>{K(n.setSeconds(W,e),"finish","seconds")},items:tI({value:n.getSeconds(W),utils:n,isDisabled:e=>ee(e,"seconds"),resolveLabel:e=>n.format(n.setSeconds(G,e),"seconds"),timeStep:U.seconds,hasValue:!!z,resolveAriaLabel:$.secondsClockNumberText})};case"meridiem":{const e=NS(n,"am"),t=NS(n,"pm");return{onChange:Q,items:[{value:"am",label:e,isSelected:()=>!!z&&"am"===J,isFocused:()=>!!W&&"am"===J,ariaLabel:e},{value:"pm",label:t,isSelected:()=>!!z&&"pm"===J,isFocused:()=>!!W&&"pm"===J,ariaLabel:t}]}}default:throw new Error(`Unknown view: ${e} found.`)}}),[G,z,o,n,U.hours,U.minutes,U.seconds,$.hoursClockNumberText,$.minutesClockNumberText,$.secondsClockNumberText,J,K,W,ee,Q]),ne=i.useMemo((()=>H.reduce(((e,t)=>(0,s.A)({},e,{[t]:te(t)})),{})),[H,te]),re=r,oe=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},qP,t)})(re);return(0,F.jsx)(rI,(0,s.A)({ref:t,className:(0,c.A)(oe.root,M),ownerState:re,role:"group"},N,{children:Object.entries(ne).map((([e,t])=>(0,F.jsx)(QP,{items:t.items,onChange:t.onChange,active:Y===e,autoFocus:d??X===e,disabled:L,readOnly:R,slots:h,slotProps:p,skipDisabled:j,"aria-label":$.selectViewText(e)},e)))}))})),iI=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o,value:i,defaultValue:a,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:h,minTime:p,maxTime:f,shouldDisableTime:g,minutesStep:m,ampm:y,ampmInClock:v,slots:b,slotProps:w,readOnly:A,disabled:x,sx:S,autoFocus:C,showViewSwitcher:E,disableIgnoringDatePartForTimeValidation:k,timezone:T})=>(0,F.jsx)(NP,{view:e,onViewChange:t,focusedView:n&&US(n)?n:null,onFocusedViewChange:r,views:o.filter(US),value:i,defaultValue:a,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:h,minTime:p,maxTime:f,shouldDisableTime:g,minutesStep:m,ampm:y,ampmInClock:v,slots:b,slotProps:w,readOnly:A,disabled:x,sx:S,autoFocus:C,showViewSwitcher:E,disableIgnoringDatePartForTimeValidation:k,timezone:T}),aI=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o,value:i,defaultValue:a,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:h,minTime:p,maxTime:f,shouldDisableTime:g,minutesStep:m,ampm:y,slots:v,slotProps:b,readOnly:w,disabled:A,sx:x,autoFocus:S,disableIgnoringDatePartForTimeValidation:C,timeSteps:E,skipDisabled:k,timezone:T})=>(0,F.jsx)(WP,{view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o.filter(US),value:i,defaultValue:a,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:h,minTime:p,maxTime:f,shouldDisableTime:g,minutesStep:m,ampm:y,slots:v,slotProps:b,readOnly:w,disabled:A,sx:x,autoFocus:S,disableIgnoringDatePartForTimeValidation:C,timeStep:E?.minutes,skipDisabled:k,timezone:T}),sI=({view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o,value:i,defaultValue:a,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:h,minTime:p,maxTime:f,shouldDisableTime:g,minutesStep:m,ampm:y,slots:v,slotProps:b,readOnly:w,disabled:A,sx:x,autoFocus:S,disableIgnoringDatePartForTimeValidation:C,timeSteps:E,skipDisabled:k,timezone:T})=>(0,F.jsx)(oI,{view:e,onViewChange:t,focusedView:n,onFocusedViewChange:r,views:o.filter(US),value:i,defaultValue:a,referenceDate:s,onChange:l,className:c,classes:u,disableFuture:d,disablePast:h,minTime:p,maxTime:f,shouldDisableTime:g,minutesStep:m,ampm:y,slots:v,slotProps:b,readOnly:w,disabled:A,sx:x,autoFocus:S,disableIgnoringDatePartForTimeValidation:C,timeSteps:E,skipDisabled:k,timezone:T});function lI(e){const t=(0,eo.I)(),{toolbar:n,tabs:r,content:o,actionBar:i,shortcuts:a}=CE(e),{sx:l,className:u,isLandscape:d,ref:h,classes:p}=e,f=i&&(i.props.actions?.length??0)>0,g=(0,s.A)({},e,{isRtl:t});return(0,F.jsxs)(EE,{ref:h,className:(0,c.A)(u,gE.root,p?.root),sx:[{[`& .${gE.tabs}`]:{gridRow:4,gridColumn:"1 / 4"},[`& .${gE.actionBar}`]:{gridRow:5}},...Array.isArray(l)?l:[l]],ownerState:g,children:[d?a:n,d?n:a,(0,F.jsxs)(kE,{className:(0,c.A)(gE.contentWrapper,p?.contentWrapper),sx:{display:"grid"},children:[o,r,f&&(0,F.jsx)(W_.A,{sx:{gridRow:3,gridColumn:"1 / 4"}})]}),i]})}const cI=["openTo","focusedView","timeViewsCount"],uI=function(e,t,n){const{openTo:r,focusedView:o,timeViewsCount:a}=n,c=(0,l.A)(n,cI),u=(0,s.A)({},c,{focusedView:null,sx:[{[`&.${HP.root}`]:{borderBottom:0},[`&.${HP.root}, .${KP.root}, &.${BP.root}`]:{maxHeight:bE}}]}),d=WS(t);return(0,F.jsxs)(i.Fragment,{children:[e[d?"day":t]?.((0,s.A)({},n,{view:d?"day":t,focusedView:o&&BS(o)?o:null,views:n.views.filter(BS),sx:[{gridColumn:1},...u.sx]})),a>0&&(0,F.jsxs)(i.Fragment,{children:[(0,F.jsx)(W_.A,{orientation:"vertical",sx:{gridColumn:2}}),e[d?t:"hours"]?.((0,s.A)({},u,{view:d?t:"hours",focusedView:o&&WS(o)?o:null,openTo:WS(r)?r:"hours",views:n.views.filter(WS),sx:[{gridColumn:3},...u.sx]}))]})]})},dI=i.forwardRef((function(e,t){const n=PC(),r=_C(),o=JO(e,"MuiDesktopDateTimePicker"),{shouldRenderTimeInASingleColumn:i,thresholdToRenderTimeInASingleColumn:a,views:l,timeSteps:c}=nP(o),u=i?aI:sI,d=(0,s.A)({day:j_,month:j_,year:j_,hours:u,minutes:u,seconds:u,meridiem:u},o.viewRenderers),h=o.ampmInClock??!0,p=d.hours?.name===sI.name?l:l.filter((e=>"meridiem"!==e)),f=i?[]:["accept"],g=(0,s.A)({},o,{viewRenderers:d,format:eP(r,o),views:p,yearsPerRow:o.yearsPerRow??4,ampmInClock:h,timeSteps:c,thresholdToRenderTimeInASingleColumn:a,shouldRenderTimeInASingleColumn:i,slots:(0,s.A)({field:X_,layout:lI,openPickerIcon:jE},o.slots),slotProps:(0,s.A)({},o.slotProps,{field:e=>(0,s.A)({},(0,H.Y)(o.slotProps?.field,e),ek(o),{ref:t}),toolbar:(0,s.A)({hidden:!0,ampmInClock:h,toolbarVariant:"desktop"},o.slotProps?.toolbar),tabs:(0,s.A)({hidden:!0},o.slotProps?.tabs),actionBar:e=>(0,s.A)({actions:f},(0,H.Y)(o.slotProps?.actionBar,e))})}),{renderPicker:m}=IE({props:g,valueManager:AC,valueType:"date-time",getOpenDialogAriaText:g.localeText?.openDatePickerDialogue??n.openDatePickerDialogue,validator:H_,rendererInterceptor:uI});return m()}));dI.propTypes={ampm:OS().bool,ampmInClock:OS().bool,autoFocus:OS().bool,className:OS().string,closeOnSelect:OS().bool,dayOfWeekFormatter:OS().func,defaultValue:OS().object,disabled:OS().bool,disableFuture:OS().bool,disableHighlightToday:OS().bool,disableIgnoringDatePartForTimeValidation:OS().bool,disableOpenPicker:OS().bool,disablePast:OS().bool,displayWeekNumber:OS().bool,enableAccessibleFieldDOMStructure:OS().any,fixedWeekNumber:OS().number,format:OS().string,formatDensity:OS().oneOf(["dense","spacious"]),inputRef:PS,label:OS().node,loading:OS().bool,localeText:OS().object,maxDate:OS().object,maxDateTime:OS().object,maxTime:OS().object,minDate:OS().object,minDateTime:OS().object,minTime:OS().object,minutesStep:OS().number,monthsPerRow:OS().oneOf([3,4]),name:OS().string,onAccept:OS().func,onChange:OS().func,onClose:OS().func,onError:OS().func,onMonthChange:OS().func,onOpen:OS().func,onSelectedSectionsChange:OS().func,onViewChange:OS().func,onYearChange:OS().func,open:OS().bool,openTo:OS().oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),orientation:OS().oneOf(["landscape","portrait"]),readOnly:OS().bool,reduceAnimations:OS().bool,referenceDate:OS().object,renderLoading:OS().func,selectedSections:OS().oneOfType([OS().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),OS().number]),shouldDisableDate:OS().func,shouldDisableMonth:OS().func,shouldDisableTime:OS().func,shouldDisableYear:OS().func,showDaysOutsideCurrentMonth:OS().bool,skipDisabled:OS().bool,slotProps:OS().object,slots:OS().object,sx:OS().oneOfType([OS().arrayOf(OS().oneOfType([OS().func,OS().object,OS().bool])),OS().func,OS().object]),thresholdToRenderTimeInASingleColumn:OS().number,timeSteps:OS().shape({hours:OS().number,minutes:OS().number,seconds:OS().number}),timezone:OS().string,value:OS().object,view:OS().oneOf(["day","hours","meridiem","minutes","month","seconds","year"]),viewRenderers:OS().shape({day:OS().func,hours:OS().func,meridiem:OS().func,minutes:OS().func,month:OS().func,seconds:OS().func,year:OS().func}),views:OS().arrayOf(OS().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsPerRow:OS().oneOf([3,4])};const hI=i.forwardRef((function(e,t){const n=PC(),r=_C(),o=JO(e,"MuiMobileDateTimePicker"),i=(0,s.A)({day:j_,month:j_,year:j_,hours:iI,minutes:iI,seconds:iI},o.viewRenderers),a=o.ampmInClock??!1,l=(0,s.A)({},o,{viewRenderers:i,format:eP(r,o),ampmInClock:a,slots:(0,s.A)({field:X_},o.slots),slotProps:(0,s.A)({},o.slotProps,{field:e=>(0,s.A)({},(0,H.Y)(o.slotProps?.field,e),ek(o),{ref:t}),toolbar:(0,s.A)({hidden:!1,ampmInClock:a},o.slotProps?.toolbar),tabs:(0,s.A)({hidden:!1},o.slotProps?.tabs)})}),{renderPicker:c}=V_({props:l,valueManager:AC,valueType:"date-time",getOpenDialogAriaText:l.localeText?.openDatePickerDialogue??n.openDatePickerDialogue,validator:H_});return c()}));hI.propTypes={ampm:OS().bool,ampmInClock:OS().bool,autoFocus:OS().bool,className:OS().string,closeOnSelect:OS().bool,dayOfWeekFormatter:OS().func,defaultValue:OS().object,disabled:OS().bool,disableFuture:OS().bool,disableHighlightToday:OS().bool,disableIgnoringDatePartForTimeValidation:OS().bool,disableOpenPicker:OS().bool,disablePast:OS().bool,displayWeekNumber:OS().bool,enableAccessibleFieldDOMStructure:OS().any,fixedWeekNumber:OS().number,format:OS().string,formatDensity:OS().oneOf(["dense","spacious"]),inputRef:PS,label:OS().node,loading:OS().bool,localeText:OS().object,maxDate:OS().object,maxDateTime:OS().object,maxTime:OS().object,minDate:OS().object,minDateTime:OS().object,minTime:OS().object,minutesStep:OS().number,monthsPerRow:OS().oneOf([3,4]),name:OS().string,onAccept:OS().func,onChange:OS().func,onClose:OS().func,onError:OS().func,onMonthChange:OS().func,onOpen:OS().func,onSelectedSectionsChange:OS().func,onViewChange:OS().func,onYearChange:OS().func,open:OS().bool,openTo:OS().oneOf(["day","hours","minutes","month","seconds","year"]),orientation:OS().oneOf(["landscape","portrait"]),readOnly:OS().bool,reduceAnimations:OS().bool,referenceDate:OS().object,renderLoading:OS().func,selectedSections:OS().oneOfType([OS().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),OS().number]),shouldDisableDate:OS().func,shouldDisableMonth:OS().func,shouldDisableTime:OS().func,shouldDisableYear:OS().func,showDaysOutsideCurrentMonth:OS().bool,slotProps:OS().object,slots:OS().object,sx:OS().oneOfType([OS().arrayOf(OS().oneOfType([OS().func,OS().object,OS().bool])),OS().func,OS().object]),timezone:OS().string,value:OS().object,view:OS().oneOf(["day","hours","minutes","month","seconds","year"]),viewRenderers:OS().shape({day:OS().func,hours:OS().func,minutes:OS().func,month:OS().func,seconds:OS().func,year:OS().func}),views:OS().arrayOf(OS().oneOf(["day","hours","minutes","month","seconds","year"]).isRequired),yearsPerRow:OS().oneOf([3,4])};const pI=["desktopModeMediaQuery"],fI=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiDateTimePicker"}),{desktopModeMediaQuery:r=YC}=n,o=(0,l.A)(n,pI);return(0,Qr.A)(r,{defaultMatches:!0})?(0,F.jsx)(dI,(0,s.A)({ref:t},o)):(0,F.jsx)(hI,(0,s.A)({ref:t},o))})),gI=e=>{const t=(e=>{const t=_C(),n=e.ampm??t.is12HourCycleInCurrentLocale()?t.formats.fullTime12h:t.formats.fullTime24h;return(0,s.A)({},e,{disablePast:e.disablePast??!1,disableFuture:e.disableFuture??!1,format:e.format??n})})(e),{forwardedProps:n,internalProps:r}=nk(t,"time");return KE({forwardedProps:n,internalProps:r,valueManager:AC,fieldValueManager:xC,validator:q_,valueType:"time"})},mI=["slots","slotProps","InputProps","inputProps"],yI=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiTimeField"}),{slots:r,slotProps:o,InputProps:i,inputProps:a}=n,c=(0,l.A)(n,mI),u=n,d=r?.textField??(e.enableAccessibleFieldDOMStructure?Qk:lS),h=(0,mn.Q)({elementType:d,externalSlotProps:o?.textField,externalForwardedProps:c,ownerState:u,additionalProps:{ref:t}});h.inputProps=(0,s.A)({},a,h.inputProps),h.InputProps=(0,s.A)({},i,h.InputProps);const p=gI(h),f=rT(p),g=ak((0,s.A)({},f,{slots:r,slotProps:o}));return(0,F.jsx)(d,(0,s.A)({},g))}));function vI(e){return(0,R.Ay)("MuiTimePickerToolbar",e)}const bI=(0,L.A)("MuiTimePickerToolbar",["root","separator","hourMinuteLabel","hourMinuteLabelLandscape","hourMinuteLabelReverse","ampmSelection","ampmLandscape","ampmLabel"]),wI=["ampm","ampmInClock","value","isLandscape","onChange","view","onViewChange","views","disabled","readOnly","className"],AI=e=>{const{isLandscape:t,classes:n,isRtl:r}=e,o={root:["root"],separator:["separator"],hourMinuteLabel:["hourMinuteLabel",t&&"hourMinuteLabelLandscape",r&&"hourMinuteLabelReverse"],ampmSelection:["ampmSelection",t&&"ampmLandscape"],ampmLabel:["ampmLabel"]};return(0,u.A)(o,vI,n)},xI=(0,h.Ay)(DC,{name:"MuiTimePickerToolbar",slot:"Root",overridesResolver:(e,t)=>t.root})({}),SI=(0,h.Ay)(DO,{name:"MuiTimePickerToolbar",slot:"Separator",overridesResolver:(e,t)=>t.separator})({outline:0,margin:"0 4px 0 2px",cursor:"default"}),CI=(0,h.Ay)("div",{name:"MuiTimePickerToolbar",slot:"HourMinuteLabel",overridesResolver:(e,t)=>[{[`&.${bI.hourMinuteLabelLandscape}`]:t.hourMinuteLabelLandscape,[`&.${bI.hourMinuteLabelReverse}`]:t.hourMinuteLabelReverse},t.hourMinuteLabel]})({display:"flex",justifyContent:"flex-end",alignItems:"flex-end",variants:[{props:{isRtl:!0},style:{flexDirection:"row-reverse"}},{props:{isLandscape:!0},style:{marginTop:"auto"}}]}),EI=(0,h.Ay)("div",{name:"MuiTimePickerToolbar",slot:"AmPmSelection",overridesResolver:(e,t)=>[{[`.${bI.ampmLabel}`]:t.ampmLabel},{[`&.${bI.ampmLandscape}`]:t.ampmLandscape},t.ampmSelection]})({display:"flex",flexDirection:"column",marginRight:"auto",marginLeft:12,[`& .${bI.ampmLabel}`]:{fontSize:17},variants:[{props:{isLandscape:!0},style:{margin:"4px 0 auto",flexDirection:"row",justifyContent:"space-around",flexBasis:"100%"}}]});function kI(e){const t=(0,T.A)({props:e,name:"MuiTimePickerToolbar"}),{ampm:n,ampmInClock:r,value:o,isLandscape:i,onChange:a,view:u,onViewChange:d,views:h,disabled:p,readOnly:f,className:g}=t,m=(0,l.A)(t,wI),y=_C(),v=PC(),b=(0,eo.I)(),w=Boolean(n&&!r&&h.includes("hours")),{meridiemMode:A,handleMeridiemChange:x}=v_(o,n,a),S=(0,s.A)({},t,{isRtl:b}),C=AI(S),E=(0,F.jsx)(SI,{tabIndex:-1,value:":",variant:"h3",selected:!1,className:C.separator});return(0,F.jsxs)(xI,(0,s.A)({landscapeDirection:"row",toolbarTitle:v.timePickerToolbarTitle,isLandscape:i,ownerState:S,className:(0,c.A)(C.root,g)},m,{children:[(0,F.jsxs)(CI,{className:C.hourMinuteLabel,ownerState:S,children:[qC(h,"hours")&&(0,F.jsx)(BO,{tabIndex:-1,variant:"h3",onClick:()=>d("hours"),selected:"hours"===u,value:o?(k=o,n?y.format(k,"hours12h"):y.format(k,"hours24h")):"--"}),qC(h,["hours","minutes"])&&E,qC(h,"minutes")&&(0,F.jsx)(BO,{tabIndex:-1,variant:"h3",onClick:()=>d("minutes"),selected:"minutes"===u,value:o?y.format(o,"minutes"):"--"}),qC(h,["minutes","seconds"])&&E,qC(h,"seconds")&&(0,F.jsx)(BO,{variant:"h3",onClick:()=>d("seconds"),selected:"seconds"===u,value:o?y.format(o,"seconds"):"--"})]}),w&&(0,F.jsxs)(EI,{className:C.ampmSelection,ownerState:S,children:[(0,F.jsx)(BO,{disableRipple:!0,variant:"subtitle2",selected:"am"===A,typographyClassName:C.ampmLabel,value:NS(y,"am"),onClick:f?void 0:()=>x("am"),disabled:p}),(0,F.jsx)(BO,{disableRipple:!0,variant:"subtitle2",selected:"pm"===A,typographyClassName:C.ampmLabel,value:NS(y,"pm"),onClick:f?void 0:()=>x("pm"),disabled:p})]})]}));var k}function TI(e,t){const n=_C(),r=(0,T.A)({props:e,name:t}),o=r.ampm??n.is12HourCycleInCurrentLocale(),a=i.useMemo((()=>null==r.localeText?.toolbarTitle?r.localeText:(0,s.A)({},r.localeText,{timePickerToolbarTitle:r.localeText.toolbarTitle})),[r.localeText]);return(0,s.A)({},r,{ampm:o,localeText:a},MS({views:r.views,openTo:r.openTo,defaultViews:["hours","minutes"],defaultOpenTo:"hours"}),{disableFuture:r.disableFuture??!1,disablePast:r.disablePast??!1,slots:(0,s.A)({toolbar:kI},r.slots),slotProps:(0,s.A)({},r.slotProps,{toolbar:(0,s.A)({ampm:o,ampmInClock:r.ampmInClock},r.slotProps?.toolbar)})})}const _I=i.forwardRef((function(e,t){const n=PC(),r=_C(),o=TI(e,"MuiDesktopTimePicker"),{shouldRenderTimeInASingleColumn:i,views:a,timeSteps:l}=nP(o),c=i?aI:sI,u=(0,s.A)({hours:c,minutes:c,seconds:c,meridiem:c},o.viewRenderers),d=o.ampmInClock??!0,h=i?[]:["accept"],p=u.hours?.name===sI.name?a:a.filter((e=>"meridiem"!==e)),f=(0,s.A)({},o,{ampmInClock:d,timeSteps:l,viewRenderers:u,format:ZS(r,o),views:i?["hours"]:p,slots:(0,s.A)({field:yI,openPickerIcon:FE},o.slots),slotProps:(0,s.A)({},o.slotProps,{field:e=>(0,s.A)({},(0,H.Y)(o.slotProps?.field,e),ek(o),{ref:t}),toolbar:(0,s.A)({hidden:!0,ampmInClock:d},o.slotProps?.toolbar),actionBar:(0,s.A)({actions:h},o.slotProps?.actionBar)})}),{renderPicker:g}=IE({props:f,valueManager:AC,valueType:"time",getOpenDialogAriaText:f.localeText?.openTimePickerDialogue??n.openTimePickerDialogue,validator:q_});return g()}));_I.propTypes={ampm:OS().bool,ampmInClock:OS().bool,autoFocus:OS().bool,className:OS().string,closeOnSelect:OS().bool,defaultValue:OS().object,disabled:OS().bool,disableFuture:OS().bool,disableIgnoringDatePartForTimeValidation:OS().bool,disableOpenPicker:OS().bool,disablePast:OS().bool,enableAccessibleFieldDOMStructure:OS().any,format:OS().string,formatDensity:OS().oneOf(["dense","spacious"]),inputRef:PS,label:OS().node,localeText:OS().object,maxTime:OS().object,minTime:OS().object,minutesStep:OS().number,name:OS().string,onAccept:OS().func,onChange:OS().func,onClose:OS().func,onError:OS().func,onOpen:OS().func,onSelectedSectionsChange:OS().func,onViewChange:OS().func,open:OS().bool,openTo:OS().oneOf(["hours","meridiem","minutes","seconds"]),orientation:OS().oneOf(["landscape","portrait"]),readOnly:OS().bool,reduceAnimations:OS().bool,referenceDate:OS().object,selectedSections:OS().oneOfType([OS().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),OS().number]),shouldDisableTime:OS().func,skipDisabled:OS().bool,slotProps:OS().object,slots:OS().object,sx:OS().oneOfType([OS().arrayOf(OS().oneOfType([OS().func,OS().object,OS().bool])),OS().func,OS().object]),thresholdToRenderTimeInASingleColumn:OS().number,timeSteps:OS().shape({hours:OS().number,minutes:OS().number,seconds:OS().number}),timezone:OS().string,value:OS().object,view:OS().oneOf(["hours","meridiem","minutes","seconds"]),viewRenderers:OS().shape({hours:OS().func,meridiem:OS().func,minutes:OS().func,seconds:OS().func}),views:OS().arrayOf(OS().oneOf(["hours","minutes","seconds"]).isRequired)};const OI=i.forwardRef((function(e,t){const n=PC(),r=_C(),o=TI(e,"MuiMobileTimePicker"),i=(0,s.A)({hours:iI,minutes:iI,seconds:iI},o.viewRenderers),a=o.ampmInClock??!1,l=(0,s.A)({},o,{ampmInClock:a,viewRenderers:i,format:ZS(r,o),slots:(0,s.A)({field:yI},o.slots),slotProps:(0,s.A)({},o.slotProps,{field:e=>(0,s.A)({},(0,H.Y)(o.slotProps?.field,e),ek(o),{ref:t}),toolbar:(0,s.A)({hidden:!1,ampmInClock:a},o.slotProps?.toolbar)})}),{renderPicker:c}=V_({props:l,valueManager:AC,valueType:"time",getOpenDialogAriaText:l.localeText?.openTimePickerDialogue??n.openTimePickerDialogue,validator:q_});return c()}));OI.propTypes={ampm:OS().bool,ampmInClock:OS().bool,autoFocus:OS().bool,className:OS().string,closeOnSelect:OS().bool,defaultValue:OS().object,disabled:OS().bool,disableFuture:OS().bool,disableIgnoringDatePartForTimeValidation:OS().bool,disableOpenPicker:OS().bool,disablePast:OS().bool,enableAccessibleFieldDOMStructure:OS().any,format:OS().string,formatDensity:OS().oneOf(["dense","spacious"]),inputRef:PS,label:OS().node,localeText:OS().object,maxTime:OS().object,minTime:OS().object,minutesStep:OS().number,name:OS().string,onAccept:OS().func,onChange:OS().func,onClose:OS().func,onError:OS().func,onOpen:OS().func,onSelectedSectionsChange:OS().func,onViewChange:OS().func,open:OS().bool,openTo:OS().oneOf(["hours","minutes","seconds"]),orientation:OS().oneOf(["landscape","portrait"]),readOnly:OS().bool,reduceAnimations:OS().bool,referenceDate:OS().object,selectedSections:OS().oneOfType([OS().oneOf(["all","day","empty","hours","meridiem","minutes","month","seconds","weekDay","year"]),OS().number]),shouldDisableTime:OS().func,slotProps:OS().object,slots:OS().object,sx:OS().oneOfType([OS().arrayOf(OS().oneOfType([OS().func,OS().object,OS().bool])),OS().func,OS().object]),timezone:OS().string,value:OS().object,view:OS().oneOf(["hours","minutes","seconds"]),viewRenderers:OS().shape({hours:OS().func,minutes:OS().func,seconds:OS().func}),views:OS().arrayOf(OS().oneOf(["hours","minutes","seconds"]).isRequired)};const PI=["desktopModeMediaQuery"],II=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiTimePicker"}),{desktopModeMediaQuery:r=YC}=n,o=(0,l.A)(n,PI);return(0,Qr.A)(r,{defaultMatches:!0})?(0,F.jsx)(_I,(0,s.A)({ref:t},o)):(0,F.jsx)(OI,(0,s.A)({ref:t},o))})),MI=(0,$n.A)((0,F.jsx)("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function LI(e){return(0,R.Ay)("MuiTableSortLabel",e)}const RI=(0,L.A)("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]),jI=["active","children","className","direction","hideSortIcon","IconComponent"],FI=(0,h.Ay)(ae.A,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.active&&t.active]}})((({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${RI.icon}`]:{opacity:.5}},[`&.${RI.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${RI.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}}))),DI=(0,h.Ay)("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${(0,Ce.A)(n.direction)}`]]}})((({theme:e,ownerState:t})=>(0,s.A)({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},"desc"===t.direction&&{transform:"rotate(0deg)"},"asc"===t.direction&&{transform:"rotate(180deg)"}))),NI=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiTableSortLabel"}),{active:r=!1,children:o,className:i,direction:a="asc",hideSortIcon:d=!1,IconComponent:h=MI}=n,p=(0,l.A)(n,jI),f=(0,s.A)({},n,{active:r,direction:a,hideSortIcon:d,IconComponent:h}),g=(e=>{const{classes:t,direction:n,active:r}=e,o={root:["root",r&&"active"],icon:["icon",`iconDirection${(0,Ce.A)(n)}`]};return(0,u.A)(o,LI,t)})(f);return(0,F.jsxs)(FI,(0,s.A)({className:(0,c.A)(g.root,i),component:"span",disableRipple:!0,ownerState:f,ref:t},p,{children:[o,d&&!r?null:(0,F.jsx)(DI,{as:h,className:(0,c.A)(g.icon),ownerState:f})]}))}));function zI(e){return(0,R.Ay)("MuiAlertTitle",e)}(0,L.A)("MuiAlertTitle",["root"]);const BI=["className"],VI=(0,d.h)("MuiAlertTitle"),$I=(0,h.Ay)(ji.A,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2}))),GI=i.forwardRef((function(e,t){const n=VI({props:e,name:"MuiAlertTitle"}),{className:r}=n,o=(0,l.A)(n,BI),i=n,a=(e=>{const{classes:t}=e;return(0,u.A)({root:["root"]},zI,t)})(i);return(0,F.jsx)($I,(0,s.A)({gutterBottom:!0,component:"div",ownerState:i,ref:t,className:(0,c.A)(a.root,r)},o))}));function UI(e){return(0,R.Ay)("MuiPagination",e)}(0,L.A)("MuiPagination",["root","ul","outlined","text"]);const WI=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];function qI(e){return(0,R.Ay)("MuiPaginationItem",e)}const HI=(0,L.A)("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]),YI=(0,$n.A)((0,F.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),KI=(0,$n.A)((0,F.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),XI=(0,$n.A)((0,F.jsx)("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),ZI=(0,$n.A)((0,F.jsx)("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),JI=["className","color","component","components","disabled","page","selected","shape","size","slots","type","variant"],QI=(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${(0,Ce.A)(n.size)}`],"text"===n.variant&&t[`text${(0,Ce.A)(n.color)}`],"outlined"===n.variant&&t[`outlined${(0,Ce.A)(n.color)}`],"rounded"===n.shape&&t.rounded,"page"===n.type&&t.page,("start-ellipsis"===n.type||"end-ellipsis"===n.type)&&t.ellipsis,("previous"===n.type||"next"===n.type)&&t.previousNext,("first"===n.type||"last"===n.type)&&t.firstLast]},eM=(0,h.Ay)("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:QI})((({theme:e,ownerState:t})=>(0,s.A)({},e.typography.body2,{borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${HI.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"small"===t.size&&{minWidth:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===t.size&&{minWidth:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)}))),tM=(0,h.Ay)(ae.A,{name:"MuiPaginationItem",slot:"Root",overridesResolver:QI})((({theme:e,ownerState:t})=>(0,s.A)({},e.typography.body2,{borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${HI.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${HI.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${HI.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,qe.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${HI.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,qe.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${HI.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}}},"small"===t.size&&{minWidth:26,height:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===t.size&&{minWidth:40,height:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)},"rounded"===t.shape&&{borderRadius:(e.vars||e).shape.borderRadius})),(({theme:e,ownerState:t})=>(0,s.A)({},"text"===t.variant&&{[`&.${HI.selected}`]:(0,s.A)({},"standard"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}},[`&.${HI.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}},{[`&.${HI.disabled}`]:{color:(e.vars||e).palette.action.disabled}})},"outlined"===t.variant&&{border: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)"),[`&.${HI.selected}`]:(0,s.A)({},"standard"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:(0,qe.X4)(e.palette[t.color].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:(0,qe.X4)(e.palette[t.color].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,qe.X4)(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${HI.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,qe.X4)(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}},{[`&.${HI.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}})}))),nM=(0,h.Ay)("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})((({theme:e,ownerState:t})=>(0,s.A)({fontSize:e.typography.pxToRem(20),margin:"0 -8px"},"small"===t.size&&{fontSize:e.typography.pxToRem(18)},"large"===t.size&&{fontSize:e.typography.pxToRem(22)}))),rM=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiPaginationItem"}),{className:r,color:o="standard",component:i,components:a={},disabled:d=!1,page:h,selected:p=!1,shape:f="circular",size:g="medium",slots:m={},type:y="page",variant:v="text"}=n,b=(0,l.A)(n,JI),w=(0,s.A)({},n,{color:o,disabled:d,selected:p,shape:f,size:g,type:y,variant:v}),A=(0,eo.I)(),x=(e=>{const{classes:t,color:n,disabled:r,selected:o,size:i,shape:a,type:s,variant:l}=e,c={root:["root",`size${(0,Ce.A)(i)}`,l,a,"standard"!==n&&`color${(0,Ce.A)(n)}`,"standard"!==n&&`${l}${(0,Ce.A)(n)}`,r&&"disabled",o&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[s]],icon:["icon"]};return(0,u.A)(c,qI,t)})(w),S=(A?{previous:m.next||a.next||ZI,next:m.previous||a.previous||XI,last:m.first||a.first||YI,first:m.last||a.last||KI}:{previous:m.previous||a.previous||XI,next:m.next||a.next||ZI,first:m.first||a.first||YI,last:m.last||a.last||KI})[y];return"start-ellipsis"===y||"end-ellipsis"===y?(0,F.jsx)(eM,{ref:t,ownerState:w,className:(0,c.A)(x.root,r),children:"…"}):(0,F.jsxs)(tM,(0,s.A)({ref:t,ownerState:w,component:i,disabled:d,className:(0,c.A)(x.root,r)},b,{children:["page"===y&&h,S?(0,F.jsx)(nM,{as:S,ownerState:w,className:x.icon}):null]}))})),oM=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],iM=(0,h.Ay)("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant]]}})({}),aM=(0,h.Ay)("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function sM(e,t,n){return"page"===e?`${n?"":"Go to "}page ${t}`:`Go to ${e} page`}const lM=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiPagination"}),{boundaryCount:r=1,className:o,color:i="standard",count:a=1,defaultPage:d=1,disabled:h=!1,getItemAriaLabel:p=sM,hideNextButton:f=!1,hidePrevButton:g=!1,renderItem:m=(e=>(0,F.jsx)(rM,(0,s.A)({},e))),shape:y="circular",showFirstButton:v=!1,showLastButton:b=!1,siblingCount:w=1,size:A="medium",variant:x="text"}=n,S=(0,l.A)(n,oM),{items:C}=function(e={}){const{boundaryCount:t=1,componentName:n="usePagination",count:r=1,defaultPage:o=1,disabled:i=!1,hideNextButton:a=!1,hidePrevButton:c=!1,onChange:u,page:d,showFirstButton:h=!1,showLastButton:p=!1,siblingCount:f=1}=e,g=(0,l.A)(e,WI),[m,y]=(0,De.A)({controlled:d,default:o,name:n,state:"page"}),v=(e,t)=>{d||y(t),u&&u(e,t)},b=(e,t)=>{const n=t-e+1;return Array.from({length:n},((t,n)=>e+n))},w=b(1,Math.min(t,r)),A=b(Math.max(r-t+1,t+1),r),x=Math.max(Math.min(m-f,r-t-2*f-1),t+2),S=Math.min(Math.max(m+f,t+2*f+2),A.length>0?A[0]-2:r-1),C=[...h?["first"]:[],...c?[]:["previous"],...w,...x>t+2?["start-ellipsis"]:t+1t?[r-t]:[],...A,...a?[]:["next"],...p?["last"]:[]],E=e=>{switch(e){case"first":return 1;case"previous":return m-1;case"next":return m+1;case"last":return r;default:return null}},k=C.map((e=>"number"==typeof e?{onClick:t=>{v(t,e)},type:"page",page:e,selected:e===m,disabled:i,"aria-current":e===m?"true":void 0}:{onClick:t=>{v(t,E(e))},type:e,page:E(e),selected:!1,disabled:i||-1===e.indexOf("ellipsis")&&("next"===e||"last"===e?m>=r:m<=1)}));return(0,s.A)({items:k},g)}((0,s.A)({},n,{componentName:"Pagination"})),E=(0,s.A)({},n,{boundaryCount:r,color:i,count:a,defaultPage:d,disabled:h,getItemAriaLabel:p,hideNextButton:f,hidePrevButton:g,renderItem:m,shape:y,showFirstButton:v,showLastButton:b,siblingCount:w,size:A,variant:x}),k=(e=>{const{classes:t,variant:n}=e,r={root:["root",n],ul:["ul"]};return(0,u.A)(r,UI,t)})(E);return(0,F.jsx)(iM,(0,s.A)({"aria-label":"pagination navigation",className:(0,c.A)(k.root,o),ownerState:E,ref:t},S,{children:(0,F.jsx)(aM,{className:k.ul,ownerState:E,children:C.map(((e,t)=>(0,F.jsx)("li",{children:m((0,s.A)({},e,{color:i,"aria-label":p(e.type,e.page,e.selected),shape:y,size:A,variant:x}))},t)))})}))})),cM=lM,uM=e=>{var t,n,r,o;return null!==(o=null!==(t=e.id)&&void 0!==t?t:null===(r=null===(n=e.accessorKey)||void 0===n?void 0:n.toString)||void 0===r?void 0:r.call(n))&&void 0!==o?o:e.header},dM=e=>{const t=[],n=e=>{e.forEach((e=>{e.columns?n(e.columns):t.push(e)}))};return n(e),t},hM=({columnDefs:e,tableOptions:t})=>{const{aggregationFns:n={},defaultDisplayColumn:r,filterFns:o={},sortingFns:i={},state:{columnFilterFns:a={}}={}}=t;return e.map((e=>{var s,l;if(e.id||(e.id=uM(e)),e.columnDefType||(e.columnDefType="data"),null===(s=e.columns)||void 0===s?void 0:s.length)e.columnDefType="group",e.columns=hM({columnDefs:e.columns,tableOptions:t});else if("data"===e.columnDefType){if(Array.isArray(e.aggregationFn)){const t=e.aggregationFn;e.aggregationFn=(e,r,o)=>t.map((t=>{var i;return null===(i=n[t])||void 0===i?void 0:i.call(n,e,r,o)}))}Object.keys(o).includes(a[e.id])&&(e.filterFn=null!==(l=o[a[e.id]])&&void 0!==l?l:o.fuzzy,e._filterFn=a[e.id]),Object.keys(i).includes(e.sortingFn)&&(e.sortingFn=i[e.sortingFn])}else"display"===e.columnDefType&&(e=Object.assign(Object.assign({},r),e));return e}))},pM=(e,t,n)=>{e.getCanPin()&&e.pin(t.getIsPinned());const r=[...n];return r.splice(r.indexOf(t.id),0,r.splice(r.indexOf(e.id),1)[0]),r},fM=e=>{const{filterVariant:t}=e;return"multi-select"===t?"arrIncludesSome":(null==t?void 0:t.includes("range"))?"betweenInclusive":"select"===t||"checkbox"===t?"equals":"fuzzy"},gM=({header:e,table:t})=>{var n;const{options:{columnFilterModeOptions:r}}=t,{column:o}=e,{columnDef:i}=o,{filterVariant:a}=i,s=!(!(null==a?void 0:a.startsWith("date"))&&!(null==a?void 0:a.startsWith("time"))),l="autocomplete"===a,c=(null==a?void 0:a.includes("range"))||["between","betweenInclusive","inNumberRange"].includes(i._filterFn),u="select"===a,d="multi-select"===a,h=["autocomplete","text"].includes(a)||!u&&!d,p=i._filterFn;return{allowedColumnFilterOptions:null!==(n=null==i?void 0:i.columnFilterModeOptions)&&void 0!==n?n:r,currentFilterOption:p,facetedUniqueValues:o.getFacetedUniqueValues(),isAutocompleteFilter:l,isDateFilter:s,isMultiSelectFilter:d,isRangeFilter:c,isSelectFilter:u,isTextboxFilter:h}},mM=({header:e,table:t})=>{const{column:n}=e,{columnDef:r}=n,{facetedUniqueValues:o,isAutocompleteFilter:a,isMultiSelectFilter:s,isSelectFilter:l}=gM({header:e,table:t});return(0,i.useMemo)((()=>{var e;return null!==(e=r.filterSelectOptions)&&void 0!==e?e:(l||s||a)&&o?Array.from(o.keys()).filter((e=>null!=e)).sort(((e,t)=>e.localeCompare(t))):void 0}),[r.filterSelectOptions,o,s,l])},yM= /** * react-table * @@ -228,16 +243,20 @@ const Bm={CASE_SENSITIVE_EQUAL:7,EQUAL:6,STARTS_WITH:5,WORD_STARTS_WITH:4,CONTAI * * @license MIT */ -function(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}(n=e)||"function"==typeof n||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(n)?o.createElement(e,t):e:null;var n};function g_(){return{accessor:(e,t)=>"function"==typeof e?Object.assign(Object.assign({},t),{accessorFn:e}):Object.assign(Object.assign({},t),{accessorKey:e}),display:e=>e,group:e=>e}}const m_=(e,t,n=-1,r=0,i,o)=>Xg(e,"mrt-row-create",null!=t?t:Object.assign({},...l_(e.options.columns).map((e=>({[s_(e)]:""})))),n,r,i,o),y_=(e,t)=>e instanceof Function?e(t):e,v_=e=>{var t,n,r;let i="",o="";return e&&("object"!=typeof e?(i=e,o=e):(i=null!==(n=null!==(t=e.label)&&void 0!==t?t:e.text)&&void 0!==n?n:e.value,o=null!==(r=e.value)&&void 0!==r?r:i)),{label:i,value:o}},b_=({cell:e,table:t})=>{const{enableEditing:n}=t.options,{column:{columnDef:r},row:i}=e;return!e.getIsPlaceholder()&&y_(n,i)&&!1!==y_(r.enableEditing,i)},w_=({cell:e,table:t})=>{const{options:{editDisplayMode:n},refs:{editInputRefs:r}}=t,{column:i}=e;b_({cell:e,table:t})&&"cell"===n&&(t.setEditingCell(e),queueMicrotask((()=>{var e;const t=r.current[i.id];t&&(t.focus(),null===(e=t.select)||void 0===e||e.call(t))})))};function x_({header:e,id:t,size:n,tableOptions:r}){const{defaultDisplayColumn:i,displayColumnDefOptions:o,localization:a}=r;return Object.assign(Object.assign(Object.assign(Object.assign({},i),{header:e?a[e]:"",size:n}),null==o?void 0:o[t]),{id:t})}const A_=e=>{const{enableRowPinning:t,rowPinningDisplayMode:n}=e;return!(!t||(null==n?void 0:n.startsWith("select")))},S_=e=>{const{enableRowDragging:t,enableRowOrdering:n}=e;return!(!t&&!n)},C_=e=>{const{enableExpanding:t,enableGrouping:n,renderDetailPanel:r,state:{grouping:i}}=e;return!!(t||n&&(null==i?void 0:i.length)||r)},E_=e=>{const{createDisplayMode:t,editDisplayMode:n,enableEditing:r,enableRowActions:i,state:{creatingRow:o}}=e;return!!(i||o&&"row"===t||r&&["modal","row"].includes(null!=n?n:""))},k_=e=>!!e.enableRowSelection,T_=e=>!!e.enableRowNumbers,__=e=>"grid-no-grow"===e.layoutMode,O_=e=>[A_(e)&&"mrt-row-pin",S_(e)&&"mrt-row-drag","first"===e.positionActionsColumn&&E_(e)&&"mrt-row-actions","first"===e.positionExpandColumn&&C_(e)&&"mrt-row-expand",k_(e)&&"mrt-row-select",T_(e)&&"mrt-row-numbers"].filter(Boolean),P_=e=>["last"===e.positionActionsColumn&&E_(e)&&"mrt-row-actions","last"===e.positionExpandColumn&&C_(e)&&"mrt-row-expand",__(e)&&"mrt-row-spacer"].filter(Boolean),I_=(e,t=!1)=>{const{state:{columnOrder:n=[]}}=e,r=O_(e),i=P_(e),o=l_(e.columns).map((e=>s_(e)));let a=t?o:Array.from(new Set([...n,...o]));return a=a.filter((e=>!r.includes(e)&&!i.includes(e))),[...r,...a,...i]},M_=Object.assign(Object.assign({},Pm),{fuzzy:(e,t,n)=>{let r=0;var i,o;return e.columnFiltersMeta[n]&&(i=e.columnFiltersMeta[n],o=t.columnFiltersMeta[n],r=i.rank===o.rank?0:i.rank>o.rank?-1:1),0===r?Pm.alphanumeric(e,t,n):r}}),L_=(e,t)=>Math.max(...Object.values(t.columnFiltersMeta).map((e=>e.rank)))-Math.max(...Object.values(e.columnFiltersMeta).map((e=>e.rank))),R_=(e,t)=>{const{getCenterRows:n,getPrePaginationRowModel:r,getRowModel:i,getState:o,getTopRows:a,options:{createDisplayMode:s,enablePagination:l,enableRowPinning:c,manualPagination:u,positionCreatingRow:d,rowPinningDisplayMode:h}}=e,{creatingRow:p,pagination:f}=o();let g=[];if(F_(e)){if(g=r().rows.sort(((e,t)=>L_(e,t))),l&&!u&&!t){const e=f.pageIndex*f.pageSize;g=g.slice(e,e+f.pageSize)}c&&!(null==h?void 0:h.includes("sticky"))&&(g=g.filter((e=>!e.getIsPinned())))}else g=!c||(null==h?void 0:h.includes("sticky"))?t?r().rows:i().rows:n();if(c&&(null==h?void 0:h.includes("sticky"))){const e=g.filter((e=>e.getIsPinned())).map((e=>e.id));g=[...a().filter((t=>!e.includes(t.id))),...g]}if(void 0!==d&&p&&"row"===s){const e=isNaN(+d)?"top"===d?0:g.length:+d;g=[...g.slice(0,e),p,...g.slice(e)]}return g},j_=e=>{const{getState:t,options:{enableGlobalFilterRankedResults:n,manualExpanding:r,manualFiltering:i,manualGrouping:o,manualSorting:a}}=e,{expanded:s,globalFilterFn:l}=t();return!r&&!i&&!o&&!a&&n&&"fuzzy"===l&&!0!==s&&!Object.values(s).some(Boolean)},F_=e=>{const{globalFilter:t,sorting:n}=e.getState();return j_(e)&&t&&!Object.values(n).some(Boolean)},D_=({row:e,table:t})=>{const{options:{enableRowSelection:n}}=t;return e.getIsSelected()||y_(n,e)&&e.getCanSelectSubRows()&&e.getIsAllSubRowsSelected()},N_=({row:e,staticRowIndex:t=0,table:n})=>(r,i)=>{var o;const{getState:a,options:{enableBatchRowSelection:s,enableMultiRowSelection:l,enableRowPinning:c,manualPagination:u,rowPinningDisplayMode:d},refs:{lastSelectedRowId:h}}=n,{pagination:{pageIndex:p,pageSize:f}}=a(),g=u?0:f*p,m=D_({row:e,table:n});e.toggleSelected(null!=i?i:!m);const y=new Set([e.id]);if(s&&l&&r.nativeEvent.shiftKey&&null!==h.current){const e=R_(n,!0),r=e.findIndex((e=>e.id===h.current));if(-1!==r){const i=D_({row:null==e?void 0:e[r],table:n}),o=t+g,[a,s]=re.toggleSelected(!1)))),c&&(null==d?void 0:d.includes("select"))&&y.forEach((e=>{n.getRow(e).pin(!m&&((null==d?void 0:d.includes("bottom"))?"bottom":"top"))}))},B_=({table:e})=>(t,n,r)=>{const{options:{enableRowPinning:i,rowPinningDisplayMode:o,selectAllMode:a},refs:{lastSelectedRowId:s}}=e;"all"===a||r?e.toggleAllRowsSelected(null!=n?n:t.target.checked):e.toggleAllPageRowsSelected(null!=n?n:t.target.checked),i&&(null==o?void 0:o.includes("select"))&&e.setRowPinning({bottom:[],top:[]}),s.current=null},z_=Object.assign({},dm),V_=(e,t,n,r)=>{const i=zm(e.getValue(t),n,{threshold:Bm.MATCHES});return r(i),i.passed};V_.autoRemove=e=>!e;const $_=(e,t,n)=>e.getValue(t).toString().toLowerCase().trim().includes(n.toString().toLowerCase().trim());$_.autoRemove=e=>!e;const G_=(e,t,n)=>e.getValue(t).toString().toLowerCase().trim().startsWith(n.toString().toLowerCase().trim());G_.autoRemove=e=>!e;const U_=(e,t,n)=>e.getValue(t).toString().toLowerCase().trim().endsWith(n.toString().toLowerCase().trim());U_.autoRemove=e=>!e;const W_=(e,t,n)=>e.getValue(t).toString().toLowerCase().trim()===(null==n?void 0:n.toString().toLowerCase().trim());W_.autoRemove=e=>!e;const q_=(e,t,n)=>e.getValue(t).toString().toLowerCase().trim()!==n.toString().toLowerCase().trim();q_.autoRemove=e=>!e;const H_=(e,t,n)=>isNaN(+n)||isNaN(+e.getValue(t))?e.getValue(t).toString().toLowerCase().trim()>(null==n?void 0:n.toString().toLowerCase().trim()):+e.getValue(t)>+n;H_.autoRemove=e=>!e;const Y_=(e,t,n)=>W_(e,t,n)||H_(e,t,n);Y_.autoRemove=e=>!e;const K_=(e,t,n)=>isNaN(+n)||isNaN(+e.getValue(t))?e.getValue(t).toString().toLowerCase().trim()<(null==n?void 0:n.toString().toLowerCase().trim()):+e.getValue(t)<+n;K_.autoRemove=e=>!e;const X_=(e,t,n)=>W_(e,t,n)||K_(e,t,n);X_.autoRemove=e=>!e;const Z_=(e,t,n)=>(["",void 0].includes(n[0])||H_(e,t,n[0]))&&(!isNaN(+n[0])&&!isNaN(+n[1])&&+n[0]>+n[1]||["",void 0].includes(n[1])||K_(e,t,n[1]));Z_.autoRemove=e=>!e;const J_=(e,t,n)=>(["",void 0].includes(n[0])||Y_(e,t,n[0]))&&(!isNaN(+n[0])&&!isNaN(+n[1])&&+n[0]>+n[1]||["",void 0].includes(n[1])||X_(e,t,n[1]));J_.autoRemove=e=>!e;const Q_=(e,t,n)=>!e.getValue(t).toString().trim();Q_.autoRemove=e=>!e;const eO=(e,t,n)=>!!e.getValue(t).toString().trim();eO.autoRemove=e=>!e;const tO=Object.assign(Object.assign({},sm),{between:Z_,betweenInclusive:J_,contains:$_,empty:Q_,endsWith:U_,equals:W_,fuzzy:V_,greaterThan:H_,greaterThanOrEqualTo:Y_,lessThan:K_,lessThanOrEqualTo:X_,notEmpty:eO,notEquals:q_,startsWith:G_});function nO(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i{var{row:t,table:n,variant:r="icon"}=e,i=nO(e,["row","table","variant"]);const{getState:o,options:{icons:{CancelIcon:a,SaveIcon:l},localization:c,onCreatingRowCancel:u,onCreatingRowSave:d,onEditingRowCancel:h,onEditingRowSave:p},refs:{editInputRefs:f},setCreatingRow:g,setEditingRow:m}=n,{creatingRow:y,editingRow:v,isSaving:b}=o(),w=(null==y?void 0:y.id)===t.id,x=(null==v?void 0:v.id)===t.id,A=()=>{w?(null==u||u({row:t,table:n}),g(null)):x&&(null==h||h({row:t,table:n}),m(null)),t._valuesCache={}},S=()=>{var e;null===(e=Object.values(null==f?void 0:f.current).filter((e=>{var n,r;return t.id===(null===(r=null===(n=null==e?void 0:e.name)||void 0===n?void 0:n.split("_"))||void 0===r?void 0:r[0])})))||void 0===e||e.forEach((e=>{void 0!==e.value&&Object.hasOwn(null==t?void 0:t._valuesCache,e.name)&&(t._valuesCache[e.name]=e.value)})),w?null==d||d({exitCreatingMode:()=>g(null),row:t,table:n,values:t._valuesCache}):x&&(null==p||p({exitEditingMode:()=>m(null),row:t,table:n,values:null==t?void 0:t._valuesCache}))};return(0,k.jsx)(s.A,{onClick:e=>e.stopPropagation(),sx:e=>Object.assign({display:"flex",gap:"0.75rem"},y_(null==i?void 0:i.sx,e)),children:"icon"===r?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(Ft.A,{title:c.cancel,children:(0,k.jsx)(ye.A,{"aria-label":c.cancel,onClick:A,children:(0,k.jsx)(a,{})})}),(w&&d||x&&p)&&(0,k.jsx)(Ft.A,{title:c.save,children:(0,k.jsx)(ye.A,{"aria-label":c.save,color:"info",disabled:b,onClick:S,children:b?(0,k.jsx)(Er,{size:18}):(0,k.jsx)(l,{})})})]}):(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(jt,{onClick:A,sx:{minWidth:"100px"},children:c.cancel}),(0,k.jsxs)(jt,{disabled:b,onClick:S,sx:{minWidth:"100px"},variant:"contained",children:[b&&(0,k.jsx)(Er,{color:"inherit",size:18}),c.save]})]})})},iO=e=>e.replace(/[^a-zA-Z0-9]/g,"_"),oO={content:'""',height:"100%",left:0,position:"absolute",top:0,width:"100%",zIndex:-1},aO=({column:e,table:t,theme:n})=>{const{baseBackgroundColor:r}=t.options.mrtTheme,i=null==e?void 0:e.getIsPinned();return{'&[data-pinned="true"]':{"&:before":Object.assign({backgroundColor:(0,te.X4)((0,te.e$)(r,"dark"===n.palette.mode?.05:.01),.97),boxShadow:e?"left"===i&&e.getIsLastColumn(i)?`-4px 0 4px -4px ${(0,te.X4)(n.palette.grey[700],.5)} inset`:"right"===i&&e.getIsFirstColumn(i)?`4px 0 4px -4px ${(0,te.X4)(n.palette.grey[700],.5)} inset`:void 0:void 0},oO)}}},sO=({column:e,header:t,table:n,tableCellProps:r,theme:i})=>{var o,a,s,l,c,u;const{getState:d,options:{enableColumnVirtualization:h,layoutMode:p}}=n,{draggingColumn:f}=d(),{columnDef:g}=e,{columnDefType:m}=g,y="group"!==g.columnDefType&&e.getIsPinned(),v={minWidth:`max(calc(var(--${t?"header":"col"}-${iO(null!==(o=null==t?void 0:t.id)&&void 0!==o?o:e.id)}-size) * 1px), ${null!==(a=g.minSize)&&void 0!==a?a:30}px)`,width:`calc(var(--${t?"header":"col"}-${iO(null!==(s=null==t?void 0:t.id)&&void 0!==s?s:e.id)}-size) * 1px)`};"grid"===p?v.flex=`${[0,!1].includes(g.grow)?0:`var(--${t?"header":"col"}-${iO(null!==(l=null==t?void 0:t.id)&&void 0!==l?l:e.id)}-size)`} 0 auto`:"grid-no-grow"===p&&(v.flex=+(g.grow||0)+" 0 auto");const b=y?Object.assign(Object.assign({},aO({column:e,table:n,theme:i})),{left:"left"===y?`${e.getStart("left")}px`:void 0,opacity:.97,position:"sticky",right:"right"===y?`${e.getAfter("right")}px`:void 0}):{};return Object.assign(Object.assign(Object.assign({backgroundColor:"inherit",backgroundImage:"inherit",display:(null==p?void 0:p.startsWith("grid"))?"flex":void 0,justifyContent:"group"===m?"center":(null==p?void 0:p.startsWith("grid"))?r.align:void 0,opacity:(null===(c=n.getState().draggingColumn)||void 0===c?void 0:c.id)===e.id||(null===(u=n.getState().hoveredColumn)||void 0===u?void 0:u.id)===e.id?.5:1,position:"relative",transition:h?"none":"padding 150ms ease-in-out",zIndex:e.getIsResizing()||(null==f?void 0:f.id)===e.id?2:"group"!==m&&y?1:0},b),v),y_(null==r?void 0:r.sx,i))},lO=({table:e})=>({alignItems:"flex-start",backgroundColor:e.options.mrtTheme.baseBackgroundColor,display:"grid",flexWrap:"wrap-reverse",minHeight:"3.5rem",overflow:"hidden",position:"relative",transition:"all 150ms ease-in-out",zIndex:1}),cO=e=>"rtl"===e.direction?{style:{transform:"scaleX(-1)"}}:void 0,uO=e=>({disableInteractive:!0,enterDelay:1e3,enterNextDelay:1e3,placement:e}),dO=e=>{var{icon:t,label:n,onOpenSubMenu:r,table:i}=e,o=nO(e,["icon","label","onOpenSubMenu","table"]);const{options:{icons:{ArrowRightIcon:a}}}=i;return(0,k.jsxs)(un,Object.assign({sx:{alignItems:"center",justifyContent:"space-between",minWidth:"120px",my:0,py:"6px"}},o,{children:[(0,k.jsxs)(s.A,{sx:{alignItems:"center",display:"flex"},children:[(0,k.jsx)(fl.A,{children:t}),n]}),r&&(0,k.jsx)(ye.A,{onClick:r,onMouseEnter:r,size:"small",sx:{p:0},children:(0,k.jsx)(a,{})})]}))},hO=e=>{var{anchorEl:t,handleEdit:n,row:r,setAnchorEl:i,staticRowIndex:o,table:a}=e,s=nO(e,["anchorEl","handleEdit","row","setAnchorEl","staticRowIndex","table"]);const{getState:l,options:{editDisplayMode:c,enableEditing:u,icons:{EditIcon:d},localization:h,mrtTheme:{menuBackgroundColor:p},renderRowActionMenuItems:f}}=a,{density:g}=l();return(0,k.jsxs)(Dl,Object.assign({MenuListProps:{dense:"compact"===g,sx:{backgroundColor:p}},anchorEl:t,disableScrollLock:!0,onClick:e=>e.stopPropagation(),onClose:()=>i(null),open:!!t},s,{children:[y_(u,r)&&["modal","row"].includes(c)&&(0,k.jsx)(dO,{icon:(0,k.jsx)(d,{}),label:h.edit,onClick:n,table:a}),null==f?void 0:f({closeMenu:()=>i(null),row:r,staticRowIndex:o,table:a})]}))},pO={"&:hover":{opacity:1},height:"2rem",ml:"10px",opacity:.5,transition:"opacity 150ms",width:"2rem"},fO=e=>{var{cell:t,row:n,staticRowIndex:r,table:i}=e,a=nO(e,["cell","row","staticRowIndex","table"]);const{getState:s,options:{createDisplayMode:l,editDisplayMode:c,enableEditing:u,icons:{EditIcon:d,MoreHorizIcon:h},localization:p,renderRowActionMenuItems:f,renderRowActions:g},setEditingRow:m}=i,{creatingRow:y,editingRow:v}=s(),b=(null==y?void 0:y.id)===n.id,w=(null==v?void 0:v.id)===n.id,x=b&&"row"===l||w&&"row"===c,[A,S]=(0,o.useState)(null),C=e=>{e.stopPropagation(),m(Object.assign({},n)),S(null)};return(0,k.jsx)(k.Fragment,{children:g&&!x?g({cell:t,row:n,staticRowIndex:r,table:i}):x?(0,k.jsx)(rO,{row:n,table:i}):!f&&y_(u,n)&&["modal","row"].includes(c)?(0,k.jsx)(Ft.A,{placement:"right",title:p.edit,children:(0,k.jsx)(ye.A,Object.assign({"aria-label":p.edit,onClick:C,sx:pO},a,{children:(0,k.jsx)(d,{})}))}):f?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(Ft.A,Object.assign({},uO(),{title:p.rowActions,children:(0,k.jsx)(ye.A,Object.assign({"aria-label":p.rowActions,onClick:e=>{e.stopPropagation(),e.preventDefault(),S(e.currentTarget)},size:"small",sx:pO},a,{children:(0,k.jsx)(h,{})}))})),(0,k.jsx)(hO,{anchorEl:A,handleEdit:C,row:n,setAnchorEl:S,staticRowIndex:r,table:i})]}):null})},gO=e=>Object.assign({Cell:({cell:e,row:t,staticRowIndex:n,table:r})=>(0,k.jsx)(fO,{cell:e,row:t,staticRowIndex:n,table:r})},x_({header:"actions",id:"mrt-row-actions",size:70,tableOptions:e})),mO=e=>{var t,n,{location:r,table:i}=e,o=nO(e,["location","table"]);const{options:{icons:{DragHandleIcon:a},localization:s}}=i;return(0,k.jsx)(Ft.A,Object.assign({},uO("top"),{title:null!==(t=null==o?void 0:o.title)&&void 0!==t?t:s.move,children:(0,k.jsx)(ye.A,Object.assign({"aria-label":null!==(n=o.title)&&void 0!==n?n:s.move,disableRipple:!0,draggable:"true",size:"small"},o,{onClick:e=>{var t;e.stopPropagation(),null===(t=null==o?void 0:o.onClick)||void 0===t||t.call(o,e)},sx:e=>Object.assign({"&:active":{cursor:"grabbing"},"&:hover":{backgroundColor:"transparent",opacity:1},cursor:"grab",m:"0 -0.1rem",opacity:"row"===r?1:.5,p:"2px",transition:"all 150ms ease-in-out"},y_(null==o?void 0:o.sx,e)),title:void 0,children:(0,k.jsx)(a,{})}))}))},yO=e=>{var{row:t,rowRef:n,table:r}=e,i=nO(e,["row","rowRef","table"]);const{options:{muiRowDragHandleProps:o}}=r,a=Object.assign(Object.assign({},y_(o,{row:t,table:r})),i);return(0,k.jsx)(mO,Object.assign({},a,{location:"row",onDragEnd:e=>{var t;null===(t=null==a?void 0:a.onDragEnd)||void 0===t||t.call(a,e),r.setDraggingRow(null),r.setHoveredRow(null)},onDragStart:e=>{var i;null===(i=null==a?void 0:a.onDragStart)||void 0===i||i.call(a,e);try{e.dataTransfer.setDragImage(n.current,0,0)}catch(e){console.error(e)}r.setDraggingRow(t)},table:r}))},vO=e=>Object.assign({Cell:({row:e,rowRef:t,table:n})=>(0,k.jsx)(yO,{row:e,rowRef:t,table:n}),grow:!1},x_({header:"move",id:"mrt-row-drag",size:60,tableOptions:e})),bO=e=>{var t,n,{table:r}=e,i=nO(e,["table"]);const{getCanSomeRowsExpand:o,getIsAllRowsExpanded:a,getIsSomeRowsExpanded:s,getState:l,options:{icons:{KeyboardDoubleArrowDownIcon:c},localization:u,muiExpandAllButtonProps:d,renderDetailPanel:h},toggleAllRowsExpanded:p}=r,{density:f,isLoading:g}=l(),m=Object.assign(Object.assign({},y_(d,{table:r})),i),y=a();return(0,k.jsx)(Ft.A,Object.assign({},uO(),{title:null!==(t=null==m?void 0:m.title)&&void 0!==t?t:y?u.collapseAll:u.expandAll,children:(0,k.jsx)("span",{children:(0,k.jsx)(ye.A,Object.assign({"aria-label":u.expandAll,disabled:g||!h&&!o(),onClick:()=>p(!y)},m,{sx:e=>Object.assign({height:"compact"===f?"1.75rem":"2.25rem",mt:"compact"!==f?"-0.25rem":void 0,width:"compact"===f?"1.75rem":"2.25rem"},y_(null==m?void 0:m.sx,e)),title:void 0,children:null!==(n=null==m?void 0:m.children)&&void 0!==n?n:(0,k.jsx)(c,{style:{transform:`rotate(${y?-180:s()?-90:0}deg)`,transition:"transform 150ms"}})}))})}))},wO=({row:e,staticRowIndex:t,table:n})=>{var r,i;const o=(0,St.A)(),{getState:a,options:{icons:{ExpandMoreIcon:s},localization:l,muiExpandButtonProps:c,positionExpandColumn:u,renderDetailPanel:d}}=n,{density:h}=a(),p=y_(c,{row:e,staticRowIndex:t,table:n}),f=e.getCanExpand(),g=e.getIsExpanded(),m=!!(null==d?void 0:d({row:e,table:n}));return(0,k.jsx)(Ft.A,Object.assign({disableHoverListener:!f&&!m},uO(),{title:null!==(r=null==p?void 0:p.title)&&void 0!==r?r:g?l.collapse:l.expand,children:(0,k.jsx)("span",{children:(0,k.jsx)(ye.A,Object.assign({"aria-label":l.expand,disabled:!f&&!m},p,{onClick:t=>{var n;t.stopPropagation(),e.toggleExpanded(),null===(n=null==p?void 0:p.onClick)||void 0===n||n.call(p,t)},sx:t=>Object.assign({height:"compact"===h?"1.75rem":"2.25rem",opacity:f||m?1:.3,["rtl"===t.direction||"last"===u?"mr":"ml"]:16*e.depth+"px",width:"compact"===h?"1.75rem":"2.25rem"},y_(null==p?void 0:p.sx,t)),title:void 0,children:null!==(i=null==p?void 0:p.children)&&void 0!==i?i:(0,k.jsx)(s,{style:{transform:`rotate(${f||d?g?-180:0:"last"===u||"rtl"===o.direction?90:-90}deg)`,transition:"transform 150ms"}})}))})}))},xO=e=>{var t;const{defaultColumn:n,enableExpandAll:r,groupedColumnMode:i,positionExpandColumn:o,renderDetailPanel:a,state:{grouping:s}}=e,l="last"===o?{align:"right"}:void 0;return Object.assign({Cell:({cell:e,column:t,row:n,staticRowIndex:r,table:o})=>{var a,s,l;const c={row:n,staticRowIndex:r,table:o},u=null===(a=n.subRows)||void 0===a?void 0:a.length;return"remove"===i&&n.groupingColumnId?(0,k.jsxs)(js,{alignItems:"center",flexDirection:"row",gap:"0.25rem",children:[(0,k.jsx)(wO,Object.assign({},c)),(0,k.jsx)(Ft.A,Object.assign({},uO("right"),{title:o.getColumn(n.groupingColumnId).columnDef.header,children:(0,k.jsx)("span",{children:n.groupingValue})})),!!u&&(0,k.jsxs)("span",{children:["(",u,")"]})]}):(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(wO,Object.assign({},c)),null===(l=(s=t.columnDef).GroupedCell)||void 0===l?void 0:l.call(s,{cell:e,column:t,row:n,table:o})]})},Header:r?({table:e})=>{var t;return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(bO,{table:e}),"remove"===i&&(null===(t=null==s?void 0:s.map((t=>e.getColumn(t).columnDef.header)))||void 0===t?void 0:t.join(", "))]})}:void 0,muiTableBodyCellProps:l,muiTableHeadCellProps:l},x_({header:"expand",id:"mrt-row-expand",size:"remove"===i?null!==(t=null==n?void 0:n.size)&&void 0!==t?t:180:a?r?60:70:100,tableOptions:e}))},AO=e=>{const{localization:t,rowNumberDisplayMode:n}=e,{pagination:{pageIndex:r,pageSize:i}}=e.state;return Object.assign({Cell:({row:e,staticRowIndex:t})=>{var o;return(null!==(o="static"===n?(t||0)+(i||0)*(r||0):e.index)&&void 0!==o?o:0)+1},Header:()=>t.rowNumber,grow:!1},x_({header:"rowNumbers",id:"mrt-row-numbers",size:50,tableOptions:e}))},SO=e=>{var{pinningPosition:t,row:n,table:r}=e,i=nO(e,["pinningPosition","row","table"]);const{options:{icons:{CloseIcon:a,PushPinIcon:s},localization:l,rowPinningDisplayMode:c}}=r,u=n.getIsPinned(),[d,h]=(0,o.useState)(!1);return(0,k.jsx)(Ft.A,Object.assign({},uO(),{open:d,title:u?l.unpin:l.pin,children:(0,k.jsx)(ye.A,Object.assign({"aria-label":l.pin,onClick:e=>{h(!1),e.stopPropagation(),n.pin(!u&&t)},onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),size:"small"},i,{sx:e=>Object.assign({height:"24px",width:"24px"},y_(null==i?void 0:i.sx,e)),children:u?(0,k.jsx)(a,{}):(0,k.jsx)(s,{fontSize:"small",style:{transform:`rotate(${"sticky"===c?135:"top"===t?180:0}deg)`}})}))}))},CO=e=>{var{row:t,table:n}=e,r=nO(e,["row","table"]);const{getState:i,options:{enableRowPinning:o,rowPinningDisplayMode:a}}=n,{density:l}=i();if(!y_(o,t))return null;const c=Object.assign({row:t,table:n},r);return"top-and-bottom"!==a||t.getIsPinned()?(0,k.jsx)(SO,Object.assign({pinningPosition:"bottom"===a?"bottom":"top"},c)):(0,k.jsxs)(s.A,{sx:{display:"flex",flexDirection:"compact"===l?"row":"column"},children:[(0,k.jsx)(SO,Object.assign({pinningPosition:"top"},c)),(0,k.jsx)(SO,Object.assign({pinningPosition:"bottom"},c))]})},EO=e=>{var t,{row:n,staticRowIndex:r,table:i}=e,o=nO(e,["row","staticRowIndex","table"]);const{getState:a,options:{enableMultiRowSelection:s,localization:l,muiSelectAllCheckboxProps:c,muiSelectCheckboxProps:u,selectAllMode:d}}=i,{density:h,isLoading:p}=a(),f=!n,g=f?"page"===d?i.getIsAllPageRowsSelected():i.getIsAllRowsSelected():void 0,m=f?g:D_({row:n,table:i}),y=Object.assign(Object.assign({},f?y_(c,{table:i}):y_(u,{row:n,staticRowIndex:r,table:i})),o),v=n?N_({row:n,staticRowIndex:r,table:i}):void 0,b=B_({table:i}),w=Object.assign(Object.assign({"aria-label":f?l.toggleSelectAll:l.toggleSelectRow,checked:m,disabled:p||n&&!n.getCanSelect()||"mrt-row-create"===(null==n?void 0:n.id),inputProps:{"aria-label":f?l.toggleSelectAll:l.toggleSelectRow},onChange:e=>{e.stopPropagation(),f?b(e):v(e)},size:"compact"===h?"small":"medium"},y),{onClick:e=>{var t;e.stopPropagation(),null===(t=null==y?void 0:y.onClick)||void 0===t||t.call(y,e)},sx:e=>Object.assign({height:"compact"===h?"1.75rem":"2.5rem",m:"compact"!==h?"-0.4rem":void 0,width:"compact"===h?"1.75rem":"2.5rem",zIndex:0},y_(null==y?void 0:y.sx,e)),title:void 0});return(0,k.jsx)(Ft.A,Object.assign({},uO(),{title:null!==(t=null==y?void 0:y.title)&&void 0!==t?t:f?l.toggleSelectAll:l.toggleSelectRow,children:!1===s?(0,k.jsx)(oy,Object.assign({},w)):(0,k.jsx)(dr,Object.assign({indeterminate:!m&&f?i.getIsSomeRowsSelected():(null==n?void 0:n.getIsSomeSelected())&&n.getCanSelectSubRows()},w))}))},kO=e=>{const{enableMultiRowSelection:t,enableSelectAll:n}=e;return Object.assign({Cell:({row:e,staticRowIndex:t,table:n})=>(0,k.jsx)(EO,{row:e,staticRowIndex:t,table:n}),Header:n&&t?({table:e})=>(0,k.jsx)(EO,{table:e}):void 0,grow:!1},x_({header:"select",id:"mrt-row-select",size:n?60:70,tableOptions:e}))},TO={ArrowDownwardIcon:ay.A,ArrowRightIcon:sy.A,CancelIcon:ly.A,ChevronLeftIcon:cy.A,ChevronRightIcon:uy.A,ClearAllIcon:dy.A,CloseIcon:hy.A,ContentCopy:py.A,DensityLargeIcon:fy.A,DensityMediumIcon:gy.A,DensitySmallIcon:my.A,DragHandleIcon:yy.A,DynamicFeedIcon:vy.A,EditIcon:by.A,ExpandMoreIcon:wy.A,FilterAltIcon:xy.A,FilterListIcon:Ay.A,FilterListOffIcon:Sy.A,FirstPageIcon:Cy.A,FullscreenExitIcon:ky.A,FullscreenIcon:Ey.A,KeyboardDoubleArrowDownIcon:Ty.A,LastPageIcon:_y.A,MoreHorizIcon:Oy.A,MoreVertIcon:Py.A,PushPinIcon:Iy.A,RestartAltIcon:My.A,SaveIcon:Ly.A,SearchIcon:Ry.A,SearchOffIcon:jy.A,SortIcon:Fy.A,SyncAltIcon:Dy.A,ViewColumnIcon:Ny.A,VisibilityOffIcon:By.A},_O={actions:"Actions",and:"and",cancel:"Cancel",changeFilterMode:"Change filter mode",changeSearchMode:"Change search mode",clearFilter:"Clear filter",clearSearch:"Clear search",clearSelection:"Clear selection",clearSort:"Clear sort",clickToCopy:"Click to copy",copy:"Copy",collapse:"Collapse",collapseAll:"Collapse all",columnActions:"Column Actions",copiedToClipboard:"Copied to clipboard",dropToGroupBy:"Drop to group by {column}",edit:"Edit",expand:"Expand",expandAll:"Expand all",filterArrIncludes:"Includes",filterArrIncludesAll:"Includes all",filterArrIncludesSome:"Includes",filterBetween:"Between",filterBetweenInclusive:"Between Inclusive",filterByColumn:"Filter by {column}",filterContains:"Contains",filterEmpty:"Empty",filterEndsWith:"Ends With",filterEquals:"Equals",filterEqualsString:"Equals",filterFuzzy:"Fuzzy",filterGreaterThan:"Greater Than",filterGreaterThanOrEqualTo:"Greater Than Or Equal To",filterInNumberRange:"Between",filterIncludesString:"Contains",filterIncludesStringSensitive:"Contains",filterLessThan:"Less Than",filterLessThanOrEqualTo:"Less Than Or Equal To",filterMode:"Filter Mode: {filterType}",filterNotEmpty:"Not Empty",filterNotEquals:"Not Equals",filterStartsWith:"Starts With",filterWeakEquals:"Equals",filteringByColumn:"Filtering by {column} - {filterType} {filterValue}",goToFirstPage:"Go to first page",goToLastPage:"Go to last page",goToNextPage:"Go to next page",goToPreviousPage:"Go to previous page",grab:"Grab",groupByColumn:"Group by {column}",groupedBy:"Grouped by ",hideAll:"Hide all",hideColumn:"Hide {column} column",max:"Max",min:"Min",move:"Move",noRecordsToDisplay:"No records to display",noResultsFound:"No results found",of:"of",or:"or",pin:"Pin",pinToLeft:"Pin to left",pinToRight:"Pin to right",resetColumnSize:"Reset column size",resetOrder:"Reset order",rowActions:"Row Actions",rowNumber:"#",rowNumbers:"Row Numbers",rowsPerPage:"Rows per page",save:"Save",search:"Search",selectedCountOfRowCountRowsSelected:"{selectedCount} of {rowCount} row(s) selected",select:"Select",showAll:"Show all",showAllColumns:"Show all columns",showHideColumns:"Show/Hide columns",showHideFilters:"Show/Hide filters",showHideSearch:"Show/Hide search",sortByColumnAsc:"Sort by {column} ascending",sortByColumnDesc:"Sort by {column} descending",sortedByColumnAsc:"Sorted by {column} ascending",sortedByColumnDesc:"Sorted by {column} descending",thenBy:", then by ",toggleDensity:"Toggle density",toggleFullScreen:"Toggle full screen",toggleSelectAll:"Toggle select all",toggleSelectRow:"Toggle select row",toggleVisibility:"Toggle visibility",ungroupByColumn:"Ungroup by {column}",unpin:"Unpin",unpinAll:"Unpin all"},OO={filterVariant:"text",maxSize:1e3,minSize:40,size:180},PO={columnDefType:"display",enableClickToCopy:!1,enableColumnActions:!1,enableColumnDragging:!1,enableColumnFilter:!1,enableColumnOrdering:!1,enableEditing:!1,enableGlobalFilter:!1,enableGrouping:!1,enableHiding:!1,enableResizing:!1,enableSorting:!1},IO=e=>{var t,{aggregationFns:n,autoResetExpanded:r=!1,columnFilterDisplayMode:i="subheader",columnResizeDirection:a,columnResizeMode:s="onChange",createDisplayMode:l="modal",defaultColumn:c,defaultDisplayColumn:u,editDisplayMode:d="modal",enableBatchRowSelection:h=!0,enableBottomToolbar:p=!0,enableColumnActions:f=!0,enableColumnFilters:g=!0,enableColumnOrdering:m=!1,enableColumnPinning:y=!1,enableColumnResizing:v=!1,enableColumnVirtualization:b,enableDensityToggle:w=!0,enableExpandAll:x=!0,enableExpanding:A,enableFacetedValues:S=!1,enableFilterMatchHighlighting:C=!0,enableFilters:E=!0,enableFullScreenToggle:k=!0,enableGlobalFilter:T=!0,enableGlobalFilterRankedResults:_=!0,enableGrouping:O=!1,enableHiding:P=!0,enableMultiRowSelection:I=!0,enableMultiSort:M=!0,enablePagination:L=!0,enableRowPinning:R=!1,enableRowSelection:j=!1,enableRowVirtualization:F,enableSelectAll:D=!0,enableSorting:N=!0,enableStickyHeader:B=!1,enableTableFooter:z=!0,enableTableHead:V=!0,enableToolbarInternalActions:$=!0,enableTopToolbar:G=!0,filterFns:U,icons:W,layoutMode:q,localization:H,manualFiltering:Y,manualGrouping:K,manualPagination:X,manualSorting:Z,mrtTheme:J,paginationDisplayMode:Q="default",positionActionsColumn:ee="first",positionCreatingRow:ne="top",positionExpandColumn:re="first",positionGlobalFilter:ie="right",positionPagination:oe="bottom",positionToolbarAlertBanner:ae="top",positionToolbarDropZone:se="top",rowNumberDisplayMode:le="static",rowPinningDisplayMode:ce="sticky",selectAllMode:ue="page",sortingFns:de}=e,he=nO(e,["aggregationFns","autoResetExpanded","columnFilterDisplayMode","columnResizeDirection","columnResizeMode","createDisplayMode","defaultColumn","defaultDisplayColumn","editDisplayMode","enableBatchRowSelection","enableBottomToolbar","enableColumnActions","enableColumnFilters","enableColumnOrdering","enableColumnPinning","enableColumnResizing","enableColumnVirtualization","enableDensityToggle","enableExpandAll","enableExpanding","enableFacetedValues","enableFilterMatchHighlighting","enableFilters","enableFullScreenToggle","enableGlobalFilter","enableGlobalFilterRankedResults","enableGrouping","enableHiding","enableMultiRowSelection","enableMultiSort","enablePagination","enableRowPinning","enableRowSelection","enableRowVirtualization","enableSelectAll","enableSorting","enableStickyHeader","enableTableFooter","enableTableHead","enableToolbarInternalActions","enableTopToolbar","filterFns","icons","layoutMode","localization","manualFiltering","manualGrouping","manualPagination","manualSorting","mrtTheme","paginationDisplayMode","positionActionsColumn","positionCreatingRow","positionExpandColumn","positionGlobalFilter","positionPagination","positionToolbarAlertBanner","positionToolbarDropZone","rowNumberDisplayMode","rowPinningDisplayMode","selectAllMode","sortingFns"]);const pe=(0,St.A)();return W=(0,o.useMemo)((()=>Object.assign(Object.assign({},TO),W)),[W]),H=(0,o.useMemo)((()=>Object.assign(Object.assign({},_O),H)),[H]),J=(0,o.useMemo)((()=>((e,t)=>{var n;const r=y_(e,t),i=null!==(n=null==r?void 0:r.baseBackgroundColor)&&void 0!==n?n:"dark"===t.palette.mode?(0,te.a)(t.palette.background.default,.05):t.palette.background.default;return Object.assign({baseBackgroundColor:i,draggingBorderColor:t.palette.primary.main,matchHighlightColor:"dark"===t.palette.mode?(0,te.e$)(t.palette.warning.dark,.25):(0,te.a)(t.palette.warning.light,.5),menuBackgroundColor:(0,te.a)(i,.07),pinnedRowBackgroundColor:(0,te.X4)(t.palette.primary.main,.1),selectedRowBackgroundColor:(0,te.X4)(t.palette.primary.main,.2)},r)})(J,pe)),[J,pe]),n=(0,o.useMemo)((()=>Object.assign(Object.assign({},z_),n)),[]),U=(0,o.useMemo)((()=>Object.assign(Object.assign({},tO),U)),[]),de=(0,o.useMemo)((()=>Object.assign(Object.assign({},M_),de)),[]),c=(0,o.useMemo)((()=>Object.assign(Object.assign({},OO),c)),[c]),u=(0,o.useMemo)((()=>Object.assign(Object.assign({},PO),u)),[u]),[b,F]=(0,o.useMemo)((()=>[b,F]),[]),a||(a=pe.direction||"ltr"),"semantic"===(q=q||(v?"grid-no-grow":"semantic"))&&(F||b)&&(q="grid"),F&&(B=!0),!1===L&&void 0===X&&(X=!0),(null===(t=he.data)||void 0===t?void 0:t.length)||(Y=!0,K=!0,X=!0,Z=!0),Object.assign({aggregationFns:n,autoResetExpanded:r,columnFilterDisplayMode:i,columnResizeDirection:a,columnResizeMode:s,createDisplayMode:l,defaultColumn:c,defaultDisplayColumn:u,editDisplayMode:d,enableBatchRowSelection:h,enableBottomToolbar:p,enableColumnActions:f,enableColumnFilters:g,enableColumnOrdering:m,enableColumnPinning:y,enableColumnResizing:v,enableColumnVirtualization:b,enableDensityToggle:w,enableExpandAll:x,enableExpanding:A,enableFacetedValues:S,enableFilterMatchHighlighting:C,enableFilters:E,enableFullScreenToggle:k,enableGlobalFilter:T,enableGlobalFilterRankedResults:_,enableGrouping:O,enableHiding:P,enableMultiRowSelection:I,enableMultiSort:M,enablePagination:L,enableRowPinning:R,enableRowSelection:j,enableRowVirtualization:F,enableSelectAll:D,enableSorting:N,enableStickyHeader:B,enableTableFooter:z,enableTableHead:V,enableToolbarInternalActions:$,enableTopToolbar:G,filterFns:U,getCoreRowModel:e=>Ug((()=>[e.options.data]),(t=>{const n={rows:[],flatRows:[],rowsById:{}},r=function(t,i,o){void 0===i&&(i=0);const a=[];for(let l=0;le._autoResetPageIndex()))),getExpandedRowModel:A||O?e=>Ug((()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows]),((e,t,n)=>!t.rows.length||!0!==e&&!Object.keys(null!=e?e:{}).length?t:n?Lm(t):t),Wg(e.options,"debugTable")):void 0,getFacetedMinMaxValues:S?(e,t)=>Ug((()=>{var n;return[null==(n=e.getColumn(t))?void 0:n.getFacetedRowModel()]}),(e=>{if(!e)return;const n=e.flatRows.flatMap((e=>{var n;return null!=(n=e.getUniqueValues(t))?n:[]})).map(Number).filter((e=>!Number.isNaN(e)));if(!n.length)return;let r=n[0],i=n[n.length-1];for(const e of n)ei&&(i=e);return[r,i]}),Wg(e.options,"debugTable")):void 0,getFacetedRowModel:S?(e,t)=>Ug((()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter,e.getFilteredRowModel()]),((n,r,i)=>{if(!n.rows.length||(null==r||!r.length)&&!i)return n;const o=[...r.map((e=>e.id)).filter((e=>e!==t)),i?"__global__":void 0].filter(Boolean);return Rm(n.rows,(e=>{for(let t=0;tUg((()=>{var n;return[null==(n=e.getColumn(t))?void 0:n.getFacetedRowModel()]}),(e=>{if(!e)return new Map;let n=new Map;for(let i=0;iUg((()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter]),((t,n,r)=>{if(!t.rows.length||(null==n||!n.length)&&!r){for(let e=0;e{var n;const r=e.getColumn(t.id);if(!r)return;const o=r.getFilterFn();o&&i.push({id:t.id,filterFn:o,resolvedValue:null!=(n=null==o.resolveFilterValue?void 0:o.resolveFilterValue(t.value))?n:t.value})}));const a=(null!=n?n:[]).map((e=>e.id)),s=e.getGlobalFilterFn(),l=e.getAllLeafColumns().filter((e=>e.getCanGlobalFilter()));let c,u;r&&s&&l.length&&(a.push("__global__"),l.forEach((e=>{var t;o.push({id:e.id,filterFn:s,resolvedValue:null!=(t=null==s.resolveFilterValue?void 0:s.resolveFilterValue(r))?t:r})})));for(let e=0;e{n.columnFiltersMeta[t]=e}))}if(o.length){for(let e=0;e{n.columnFiltersMeta[t]=e}))){n.columnFilters.__global__=!0;break}}!0!==n.columnFilters.__global__&&(n.columnFilters.__global__=!1)}}return Rm(t.rows,(e=>{for(let t=0;te._autoResetPageIndex()))):void 0,getGroupedRowModel:O&&!K?jm():void 0,getPaginationRowModel:L&&!X?e=>Ug((()=>[e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows?void 0:e.getState().expanded]),((t,n)=>{if(!n.rows.length)return n;const{pageSize:r,pageIndex:i}=t;let{rows:o,flatRows:a,rowsById:s}=n;const l=r*i,c=l+r;let u;o=o.slice(l,c),u=e.options.paginateExpandedRows?{rows:o,flatRows:a,rowsById:s}:Lm({rows:o,flatRows:a,rowsById:s}),u.flatRows=[];const d=e=>{u.flatRows.push(e),e.subRows.length&&e.subRows.forEach(d)};return u.rows.forEach(d),u}),Wg(e.options,"debugTable")):void 0,getSortedRowModel:N&&!Z?e=>Ug((()=>[e.getState().sorting,e.getPreSortedRowModel()]),((t,n)=>{if(!n.rows.length||null==t||!t.length)return n;const r=e.getState().sorting,i=[],o=r.filter((t=>{var n;return null==(n=e.getColumn(t.id))?void 0:n.getCanSort()})),a={};o.forEach((t=>{const n=e.getColumn(t.id);n&&(a[t.id]={sortUndefined:n.columnDef.sortUndefined,invertSorting:n.columnDef.invertSorting,sortingFn:n.getSortingFn()})}));const s=e=>{const t=e.map((e=>({...e})));return t.sort(((e,t)=>{for(let r=0;r{var t;i.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=s(e.subRows))})),t};return{rows:s(n.rows),flatRows:i,rowsById:n.rowsById}}),Wg(e.options,"debugTable",0,(()=>e._autoResetPageIndex()))):void 0,getSubRows:e=>null==e?void 0:e.subRows,icons:W,layoutMode:q,localization:H,manualFiltering:Y,manualGrouping:K,manualPagination:X,manualSorting:Z,mrtTheme:J,paginationDisplayMode:Q,positionActionsColumn:ee,positionCreatingRow:ne,positionExpandColumn:re,positionGlobalFilter:ie,positionPagination:oe,positionToolbarAlertBanner:ae,positionToolbarDropZone:se,rowNumberDisplayMode:le,rowPinningDisplayMode:ce,selectAllMode:ue,sortingFns:de},he)},MO={children:null,sx:{minWidth:0,p:0,width:0}},LO=e=>Object.assign(Object.assign(Object.assign(Object.assign({},x_({id:"mrt-row-spacer",size:0,tableOptions:e})),{grow:!0}),PO),{muiTableBodyCellProps:MO,muiTableFooterCellProps:MO,muiTableHeadCellProps:MO}),RO=e=>{const{getIsSomeRowsPinned:t,getPrePaginationRowModel:n,getState:r,options:{enablePagination:i,enableRowPinning:a,rowCount:s}}=e,{columnOrder:l,density:c,globalFilter:u,isFullScreen:d,isLoading:h,pagination:p,showSkeletons:f,sorting:g}=r(),m=e.options.columns.length,y=null!=s?s:n().rows.length,v=(0,o.useReducer)((()=>({})),{})[1],b=(0,o.useRef)(),w=(0,o.useRef)();(0,o.useEffect)((()=>{"undefined"!=typeof window&&(b.current=document.body.style.height)}),[]),(0,o.useEffect)((()=>{if("undefined"!=typeof window)if(d)w.current=document.body.getBoundingClientRect().top,document.body.style.height="100dvh";else{if(document.body.style.height=b.current,!w.current)return;window.scrollTo({behavior:"instant",top:-1*w.current})}}),[d]),(0,o.useEffect)((()=>{m!==l.length&&e.setColumnOrder(I_(e.options))}),[m]),(0,o.useEffect)((()=>{if(!i||h||f)return;const{pageIndex:t,pageSize:n}=p;t*n>=y&&e.setPageIndex(Math.ceil(y/n)-1)}),[y]);const x=(0,o.useRef)(g);(0,o.useEffect)((()=>{g.length&&(x.current=g)}),[g]),(0,o.useEffect)((()=>{j_(e)&&(u?e.setSorting([]):e.setSorting((()=>x.current||[])))}),[u]),(0,o.useEffect)((()=>{a&&t()&&setTimeout((()=>{v()}),150)}),[c])},jO=e=>{var t,n,r,i,a,s,l,c,u,d,h,p,f,g,m,y,v,b,w,x,A,S,C,E,T,_,O,P,I,M,L,R,j,F,D;const N=(0,o.useRef)(null),B=(0,o.useRef)(null),z=(0,o.useRef)(null),V=(0,o.useRef)({}),$=(0,o.useRef)({}),G=(0,o.useRef)(null),U=(0,o.useRef)(null),W=(0,o.useRef)({}),q=(0,o.useRef)(null),H=(0,o.useRef)(null),Y=(0,o.useRef)(null),K=(0,o.useRef)(null),X=(0,o.useMemo)((()=>{var t,n,r;const i=null!==(t=e.initialState)&&void 0!==t?t:{};return i.columnOrder=null!==(n=i.columnOrder)&&void 0!==n?n:I_(Object.assign(Object.assign({},e),{state:Object.assign(Object.assign({},e.initialState),e.state)})),i.globalFilterFn=null!==(r=e.globalFilterFn)&&void 0!==r?r:"fuzzy",i}),[]);e.initialState=X;const[Z,J]=(0,o.useState)(null!==(t=X.actionCell)&&void 0!==t?t:null),[Q,ee]=(0,o.useState)(null!==(n=X.creatingRow)&&void 0!==n?n:null),[te,ne]=(0,o.useState)((()=>Object.assign({},...l_(e.columns).map((e=>{var t,n,r,i;return{[s_(e)]:e.filterFn instanceof Function?null!==(t=e.filterFn.name)&&void 0!==t?t:"custom":null!==(i=null!==(n=e.filterFn)&&void 0!==n?n:null===(r=null==X?void 0:X.columnFilterFns)||void 0===r?void 0:r[s_(e)])&&void 0!==i?i:d_(e)}}))))),[re,ie]=(0,o.useState)(null!==(r=X.columnOrder)&&void 0!==r?r:[]),[oe,ae]=(0,o.useState)(null!==(i=X.columnSizingInfo)&&void 0!==i?i:{}),[se,le]=(0,o.useState)(null!==(a=null==X?void 0:X.density)&&void 0!==a?a:"comfortable"),[ce,ue]=(0,o.useState)(null!==(s=X.draggingColumn)&&void 0!==s?s:null),[de,he]=(0,o.useState)(null!==(l=X.draggingRow)&&void 0!==l?l:null),[pe,fe]=(0,o.useState)(null!==(c=X.editingCell)&&void 0!==c?c:null),[ge,me]=(0,o.useState)(null!==(u=X.editingRow)&&void 0!==u?u:null),[ye,ve]=(0,o.useState)(null!==(d=X.globalFilterFn)&&void 0!==d?d:"fuzzy"),[be,we]=(0,o.useState)(null!==(h=X.grouping)&&void 0!==h?h:[]),[xe,Ae]=(0,o.useState)(null!==(p=X.hoveredColumn)&&void 0!==p?p:null),[Se,Ce]=(0,o.useState)(null!==(f=X.hoveredRow)&&void 0!==f?f:null),[Ee,ke]=(0,o.useState)(null!==(g=null==X?void 0:X.isFullScreen)&&void 0!==g&&g),[Te,_e]=(0,o.useState)(null!==(m=null==X?void 0:X.pagination)&&void 0!==m?m:{pageIndex:0,pageSize:10}),[Oe,Pe]=(0,o.useState)(null!==(y=null==X?void 0:X.showAlertBanner)&&void 0!==y&&y),[Ie,Me]=(0,o.useState)(null!==(v=null==X?void 0:X.showColumnFilters)&&void 0!==v&&v),[Le,Re]=(0,o.useState)(null!==(b=null==X?void 0:X.showGlobalFilter)&&void 0!==b&&b),[je,Fe]=(0,o.useState)(null!==(w=null==X?void 0:X.showToolbarDropZone)&&void 0!==w&&w);e.state=Object.assign({actionCell:Z,columnFilterFns:te,columnOrder:re,columnSizingInfo:oe,creatingRow:Q,density:se,draggingColumn:ce,draggingRow:de,editingCell:pe,editingRow:ge,globalFilterFn:ye,grouping:be,hoveredColumn:xe,hoveredRow:Se,isFullScreen:Ee,pagination:Te,showAlertBanner:Oe,showColumnFilters:Ie,showGlobalFilter:Le,showToolbarDropZone:je},e.state);const De=e,Ne=(0,o.useRef)([]);var Be;De.columns=De.state.columnSizingInfo.isResizingColumn||De.state.draggingColumn||De.state.draggingRow?Ne.current:c_({columnDefs:[...[A_(De)&&(Be=De,Object.assign({Cell:({row:e,table:t})=>(0,k.jsx)(CO,{row:e,table:t}),grow:!1},x_({header:"pin",id:"mrt-row-pin",size:60,tableOptions:Be}))),S_(De)&&vO(De),E_(De)&&gO(De),C_(De)&&xO(De),k_(De)&&kO(De),T_(De)&&AO(De)].filter(Boolean),...De.columns,...[__(De)&&LO(De)].filter(Boolean)],tableOptions:De}),Ne.current=De.columns,De.data=(0,o.useMemo)((()=>!De.state.isLoading&&!De.state.showSkeletons||De.data.length?De.data:[...Array(Math.min(De.state.pagination.pageSize,20)).fill(null)].map((()=>Object.assign({},...l_(De.columns).map((e=>({[s_(e)]:null}))))))),[De.data,De.state.isLoading,De.state.showSkeletons]);const ze=function(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=o.useState((()=>({current:Mm(t)}))),[r,i]=o.useState((()=>n.current.initialState));return n.current.setOptions((t=>({...t,...e,state:{...r,...e.state},onStateChange:t=>{i(t),null==e.onStateChange||e.onStateChange(t)}}))),n.current}(Object.assign(Object.assign({onColumnOrderChange:ie,onColumnSizingInfoChange:ae,onGroupingChange:we,onPaginationChange:_e},De),{globalFilterFn:null===(x=De.filterFns)||void 0===x?void 0:x[null!=ye?ye:"fuzzy"]}));return ze.refs={actionCellRef:B,bottomToolbarRef:z,editInputRefs:V,filterInputRefs:$,lastSelectedRowId:N,searchInputRef:G,tableContainerRef:U,tableFooterRef:K,tableHeadCellRefs:W,tableHeadRef:Y,tablePaperRef:q,topToolbarRef:H},ze.setActionCell=null!==(A=De.onActionCellChange)&&void 0!==A?A:J,ze.setCreatingRow=e=>{var t,n;let r=e;!0===e&&(r=m_(ze)),null!==(n=null===(t=null==De?void 0:De.onCreatingRowChange)||void 0===t?void 0:t.call(De,r))&&void 0!==n||ee(r)},ze.setColumnFilterFns=null!==(S=De.onColumnFilterFnsChange)&&void 0!==S?S:ne,ze.setDensity=null!==(C=De.onDensityChange)&&void 0!==C?C:le,ze.setDraggingColumn=null!==(E=De.onDraggingColumnChange)&&void 0!==E?E:ue,ze.setDraggingRow=null!==(T=De.onDraggingRowChange)&&void 0!==T?T:he,ze.setEditingCell=null!==(_=De.onEditingCellChange)&&void 0!==_?_:fe,ze.setEditingRow=null!==(O=De.onEditingRowChange)&&void 0!==O?O:me,ze.setGlobalFilterFn=null!==(P=De.onGlobalFilterFnChange)&&void 0!==P?P:ve,ze.setHoveredColumn=null!==(I=De.onHoveredColumnChange)&&void 0!==I?I:Ae,ze.setHoveredRow=null!==(M=De.onHoveredRowChange)&&void 0!==M?M:Ce,ze.setIsFullScreen=null!==(L=De.onIsFullScreenChange)&&void 0!==L?L:ke,ze.setShowAlertBanner=null!==(R=De.onShowAlertBannerChange)&&void 0!==R?R:Pe,ze.setShowColumnFilters=null!==(j=De.onShowColumnFiltersChange)&&void 0!==j?j:Me,ze.setShowGlobalFilter=null!==(F=De.onShowGlobalFilterChange)&&void 0!==F?F:Re,ze.setShowToolbarDropZone=null!==(D=De.onShowToolbarDropZoneChange)&&void 0!==D?D:Fe,RO(ze),ze},FO=e=>jO(IO(e)),DO=(e,t)=>{const n=Uy(e);return void 0===t||(t>=0&&t=0&&t>e.endIndex+e.overscan&&n.push(t)),n},NO=e=>{var t,n,r,i;const{getState:a,options:{columnVirtualizerInstanceRef:s,columnVirtualizerOptions:l,enableColumnPinning:c,enableColumnVirtualization:u},refs:{tableContainerRef:d}}=e,{columnPinning:h,columnVisibility:p,draggingColumn:f}=a();if(!u)return;const g=y_(l,{table:e}),m=e.getVisibleLeafColumns(),[y,v]=(0,o.useMemo)((()=>c?[e.getLeftVisibleLeafColumns().map((e=>e.getPinnedIndex())),e.getRightVisibleLeafColumns().map((e=>m.length-e.getPinnedIndex()-1)).sort(((e,t)=>e-t))]:[[],[]]),[h,p,c]),b=y.length,w=v.length,x=(0,o.useMemo)((()=>(null==f?void 0:f.id)?m.findIndex((e=>e.id===(null==f?void 0:f.id))):void 0),[null==f?void 0:f.id]),A=nv(Object.assign({count:m.length,estimateSize:e=>m[e].getSize(),getScrollElement:()=>d.current,horizontal:!0,overscan:3,rangeExtractor:(0,o.useCallback)((e=>{const t=DO(e,x);return b||w?[...new Set([...y,...t,...v])]:t}),[y,v,x])},g)),S=A.getVirtualItems();A.virtualColumns=S;const C=S.length;if(C){const e=A.getTotalSize(),o=(null===(t=S[b])||void 0===t?void 0:t.start)||0,a=(null===(n=S[y.length-1])||void 0===n?void 0:n.end)||0,s=(null===(r=S[C-w])||void 0===r?void 0:r.start)||0,l=(null===(i=S[C-w-1])||void 0===i?void 0:i.end)||0;A.virtualPaddingLeft=o-a,A.virtualPaddingRight=e-l-(w?e-s:0)}return s&&(s.current=A),A},BO=(e,t)=>{var n;const{getRowModel:r,getState:i,options:{enableRowVirtualization:a,renderDetailPanel:s,rowVirtualizerInstanceRef:l,rowVirtualizerOptions:c},refs:{tableContainerRef:u}}=e,{density:d,draggingRow:h,expanded:p}=i();if(!a)return;const f=y_(c,{table:e}),g=null!==(n=null==t?void 0:t.length)&&void 0!==n?n:r().rows.length,m="compact"===d?37:"comfortable"===d?58:73,y=nv(Object.assign({count:s?2*g:g,estimateSize:e=>s&&e%2==1?!0===p?100:0:m,getScrollElement:()=>u.current,measureElement:"undefined"!=typeof window&&-1===navigator.userAgent.indexOf("Firefox")?e=>null==e?void 0:e.getBoundingClientRect().height:void 0,overscan:4,rangeExtractor:(0,o.useCallback)((e=>{var t;return DO(e,null!==(t=null==h?void 0:h.index)&&void 0!==t?t:0)}),[h])},f));return y.virtualRows=y.getVirtualItems(),l&&(l.current=y),y},zO=e=>{const{getRowModel:t,getState:n,options:{data:r,enableGlobalFilterRankedResults:i,positionCreatingRow:a}}=e,{creatingRow:s,expanded:l,globalFilter:c,pagination:u,rowPinning:d,sorting:h}=n();return(0,o.useMemo)((()=>R_(e)),[s,r,i,l,t().rows,c,u.pageIndex,u.pageSize,a,d,h])},VO=["string","number"],$O=({cell:e,rowRef:t,staticColumnIndex:n,staticRowIndex:r,table:i})=>{var o,a,l;const{getState:c,options:{enableFilterMatchHighlighting:u,mrtTheme:{matchHighlightColor:d}}}=i,{column:h,row:p}=e,{columnDef:f}=h,{globalFilter:g,globalFilterFn:m}=c(),y=h.getFilterValue();let v=e.getIsAggregated()&&f.AggregatedCell?f.AggregatedCell({cell:e,column:h,row:p,table:i,staticColumnIndex:n,staticRowIndex:r}):p.getIsGrouped()&&!e.getIsGrouped()?null:e.getIsGrouped()&&f.GroupedCell?f.GroupedCell({cell:e,column:h,row:p,table:i,staticColumnIndex:n,staticRowIndex:r}):void 0;const b=void 0!==v;if(b||(v=e.renderValue()),u&&!1!==f.enableFilterMatchHighlighting&&String(v)&&VO.includes(typeof v)&&(y&&VO.includes(typeof y)&&["autocomplete","text"].includes(f.filterVariant)||g&&VO.includes(typeof g)&&h.getCanGlobalFilter())){const e=null==Wv?void 0:Wv({matchExactly:"fuzzy"!==(y?f._filterFn:m),query:(null!==(o=null!=y?y:g)&&void 0!==o?o:"").toString(),text:null==v?void 0:v.toString()});((null==e?void 0:e.length)>1||(null===(a=null==e?void 0:e[0])||void 0===a?void 0:a.match))&&(v=(0,k.jsx)("span",{"aria-label":v,role:"note",children:null!==(l=null==e?void 0:e.map((({key:e,match:t,text:n})=>(0,k.jsx)(s.A,{"aria-hidden":"true",component:"span",sx:t?{backgroundColor:d,borderRadius:"2px",color:e=>"dark"===e.palette.mode?e.palette.common.white:e.palette.common.black,padding:"2px 1px"}:void 0,children:n},e))))&&void 0!==l?l:v}))}return f.Cell&&!b&&(v=f.Cell({cell:e,column:h,renderedCellValue:v,row:p,rowRef:t,staticColumnIndex:n,staticRowIndex:r,table:i})),v},GO=e=>{var t,{cell:n,table:r}=e,i=nO(e,["cell","table"]);const{options:{localization:a,muiCopyButtonProps:s}}=r,{column:l,row:c}=n,{columnDef:u}=l,[d,h]=(0,o.useState)(!1),p=Object.assign(Object.assign(Object.assign({},y_(s,{cell:n,column:l,row:c,table:r})),y_(u.muiCopyButtonProps,{cell:n,column:l,row:c,table:r})),i);return(0,k.jsx)(Ft.A,Object.assign({},uO("top"),{title:null!==(t=null==p?void 0:p.title)&&void 0!==t?t:d?a.copiedToClipboard:a.clickToCopy,children:(0,k.jsx)(jt,Object.assign({onClick:e=>{return t=e,r=n.getValue(),t.stopPropagation(),navigator.clipboard.writeText(r),h(!0),void setTimeout((()=>h(!1)),4e3);var t,r},size:"small",type:"button",variant:"text"},p,{sx:e=>Object.assign({backgroundColor:"transparent",border:"none",color:"inherit",cursor:"copy",fontFamily:"inherit",fontSize:"inherit",letterSpacing:"inherit",m:"-0.25rem",minWidth:"unset",py:0,textAlign:"inherit",textTransform:"inherit"},y_(null==p?void 0:p.sx,e)),title:void 0}))}))},UO=e=>{var t,n,{cell:r,table:i}=e,a=nO(e,["cell","table"]);const{getState:s,options:{createDisplayMode:l,editDisplayMode:c,muiEditTextFieldProps:u},refs:{editInputRefs:d},setCreatingRow:h,setEditingCell:p,setEditingRow:f}=i,{column:g,row:m}=r,{columnDef:y}=g,{creatingRow:v,editingRow:b}=s(),{editSelectOptions:w,editVariant:x}=y,A=(null==v?void 0:v.id)===m.id,S=(null==b?void 0:b.id)===m.id,[C,E]=(0,o.useState)((()=>r.getValue())),[T,_]=(0,o.useState)(!0),O=Object.assign(Object.assign(Object.assign({},y_(u,{cell:r,column:g,row:m,table:i})),y_(y.muiEditTextFieldProps,{cell:r,column:g,row:m,table:i})),a),P=y_(w,{cell:r,column:g,row:m,table:i}),I="select"===x||(null==O?void 0:O.select),M=e=>{m._valuesCache[g.id]=e,A?h(m):S&&f(m)};return y.Edit?(0,k.jsx)(k.Fragment,{children:null===(t=y.Edit)||void 0===t?void 0:t.call(y,{cell:r,column:g,row:m,table:i})}):(0,k.jsx)(Kv,Object.assign({disabled:!1===y_(y.enableEditing,m),fullWidth:!0,inputRef:e=>{e&&(d.current[g.id]=e,O.inputRef&&(O.inputRef=e))},label:["custom","modal"].includes(A?l:c)?y.header:void 0,margin:"none",name:g.id,placeholder:["custom","modal"].includes(A?l:c)?void 0:y.header,select:I,size:"small",value:null!=C?C:"",variant:"standard"},O,{InputProps:Object.assign(Object.assign(Object.assign({},"outlined"!==O.variant?{disableUnderline:"table"===c}:{}),O.InputProps),{sx:e=>{var t;return Object.assign({mb:0},y_(null===(t=null==O?void 0:O.InputProps)||void 0===t?void 0:t.sx,e))}}),SelectProps:Object.assign({MenuProps:{disableScrollLock:!0}},O.SelectProps),inputProps:Object.assign({autoComplete:"new-password"},O.inputProps),onBlur:e=>{var t;null===(t=O.onBlur)||void 0===t||t.call(O,e),M(C),p(null)},onChange:e=>{var t;null===(t=O.onChange)||void 0===t||t.call(O,e),E(e.target.value),I&&M(e.target.value)},onClick:e=>{var t;e.stopPropagation(),null===(t=null==O?void 0:O.onClick)||void 0===t||t.call(O,e)},onKeyDown:e=>{var t,n;null===(t=O.onKeyDown)||void 0===t||t.call(O,e),"Enter"===e.key&&!e.shiftKey&&T&&(null===(n=d.current[g.id])||void 0===n||n.blur())},onCompositionStart:()=>_(!1),onCompositionEnd:()=>_(!0),children:null!==(n=O.children)&&void 0!==n?n:null==P?void 0:P.map((e=>{const{label:t,value:n}=v_(e);return(0,k.jsx)(un,{sx:{alignItems:"center",display:"flex",gap:"0.5rem",m:0},value:n,children:t},n)}))}))},WO=e=>{var t,n,r,i,a,{cell:s,numRows:l,rowRef:c,staticColumnIndex:u,staticRowIndex:d,table:h}=e,p=nO(e,["cell","numRows","rowRef","staticColumnIndex","staticRowIndex","table"]);const f=(0,St.A)(),{getState:g,options:{columnResizeDirection:m,columnResizeMode:y,createDisplayMode:v,editDisplayMode:b,enableCellActions:w,enableClickToCopy:x,enableColumnOrdering:A,enableColumnPinning:S,enableGrouping:C,layoutMode:E,mrtTheme:{draggingBorderColor:T},muiSkeletonProps:_,muiTableBodyCellProps:O},setHoveredColumn:P}=h,{actionCell:I,columnSizingInfo:M,creatingRow:L,density:R,draggingColumn:j,draggingRow:F,editingCell:D,editingRow:N,hoveredColumn:B,hoveredRow:z,isLoading:V,showSkeletons:$}=g(),{column:G,row:U}=s,{columnDef:W}=G,{columnDefType:q}=W,H={cell:s,column:G,row:U,table:h},Y=Object.assign(Object.assign(Object.assign({},y_(O,H)),y_(W.muiTableBodyCellProps,H)),p),K=y_(_,{cell:s,column:G,row:U,table:h}),[X,Z]=(0,o.useState)(100);(0,o.useEffect)((()=>{if(!V&&!$||100!==X)return;const e=G.getSize();Z("display"===q?e/2:Math.round(Math.random()*(e-e/3)+e/3))}),[V,$]);const J=(0,o.useMemo)((()=>{const e=(null==j?void 0:j.id)===G.id,t=(null==B?void 0:B.id)===G.id,n=(null==F?void 0:F.id)===U.id,r=(null==z?void 0:z.id)===U.id,i=G.getIsFirstColumn(),o=G.getIsLastColumn(),a=l&&d===l-1,s=M.isResizingColumn===G.id,c=s&&"onChange"===y,u=c?`2px solid ${T} !important`:e||n?`1px dashed ${f.palette.grey[500]} !important`:t||r||s?`2px dashed ${T} !important`:void 0;return c?"ltr"===m?{borderRight:u}:{borderLeft:u}:u?{borderBottom:n||r||a&&!s?u:void 0,borderLeft:e||t||(n||r)&&i?u:void 0,borderRight:e||t||(n||r)&&o?u:void 0,borderTop:n||r?u:void 0}:void 0}),[M.isResizingColumn,j,F,B,z,d]),Q=S&&"group"!==W.columnDefType&&G.getIsPinned(),ee=b_({cell:s,table:h}),te=ee&&!["custom","modal"].includes(b)&&("table"===b||(null==N?void 0:N.id)===U.id||(null==D?void 0:D.id)===s.id)&&!U.getIsGrouped(),ne=ee&&"row"===v&&(null==L?void 0:L.id)===U.id,re=(!0===y_(x,s)||!0===y_(W.enableClickToCopy,s))&&!["context-menu",!1].includes(y_(W.enableClickToCopy,s)),ie=y_(w,s),oe={cell:s,table:h,staticColumnIndex:u,staticRowIndex:d};return(0,k.jsx)(Tv,Object.assign({align:"rtl"===f.direction?"right":"left","data-index":u,"data-pinned":!!Q||void 0},Y,{onContextMenu:e=>{var t;null===(t=null==Y?void 0:Y.onContextMenu)||void 0===t||t.call(Y,e),ie&&(e.preventDefault(),h.setActionCell(s),h.refs.actionCellRef.current=e.currentTarget)},onDoubleClick:e=>{var t;null===(t=null==Y?void 0:Y.onDoubleClick)||void 0===t||t.call(Y,e),w_({cell:s,table:h})},onDragEnter:e=>{var t;null===(t=null==Y?void 0:Y.onDragEnter)||void 0===t||t.call(Y,e),C&&"drop-zone"===(null==B?void 0:B.id)&&P(null),A&&j&&P(!1!==W.enableColumnOrdering?G:null)},onDragOver:e=>{!1!==W.enableColumnOrdering&&e.preventDefault()},sx:e=>Object.assign(Object.assign({"&:hover":{outline:(null==I?void 0:I.id)===s.id||"cell"===b&&ee||"table"===b&&(ne||te)?`1px solid ${e.palette.grey[500]}`:void 0,textOverflow:"clip"},alignItems:(null==E?void 0:E.startsWith("grid"))?"center":void 0,cursor:ie?"context-menu":ee&&"cell"===b?"pointer":"inherit",outline:(null==I?void 0:I.id)===s.id?`1px solid ${e.palette.grey[500]}`:void 0,outlineOffset:"-1px",overflow:"hidden",p:"compact"===R?"display"===q?"0 0.5rem":"0.5rem":"comfortable"===R?"display"===q?"0.5rem 0.75rem":"1rem":"display"===q?"1rem 1.25rem":"1.5rem",textOverflow:"display"!==q?"ellipsis":void 0,whiteSpace:U.getIsPinned()||"compact"===R?"nowrap":"normal"},sO({column:G,table:h,tableCellProps:Y,theme:e})),J),children:null!==(t=Y.children)&&void 0!==t?t:(0,k.jsxs)(k.Fragment,{children:[s.getIsPlaceholder()?null!==(r=null===(n=W.PlaceholderCell)||void 0===n?void 0:n.call(W,{cell:s,column:G,row:U,table:h}))&&void 0!==r?r:null:!1!==$&&(V||$)?(0,k.jsx)($p,Object.assign({animation:"wave",height:20,width:X},K)):"display"!==q||!["mrt-row-expand","mrt-row-numbers","mrt-row-select"].includes(G.id)&&U.getIsGrouped()?ne||te?(0,k.jsx)(UO,{cell:s,table:h}):re&&!1!==W.enableClickToCopy?(0,k.jsx)(GO,{cell:s,table:h,children:(0,k.jsx)($O,Object.assign({},oe))}):(0,k.jsx)($O,Object.assign({},oe)):null===(i=W.Cell)||void 0===i?void 0:i.call(W,{cell:s,column:G,renderedCellValue:s.renderValue(),row:U,rowRef:c,staticColumnIndex:u,staticRowIndex:d,table:h}),s.getIsGrouped()&&!W.GroupedCell&&(0,k.jsxs)(k.Fragment,{children:[" (",null===(a=U.subRows)||void 0===a?void 0:a.length,")"]})]})}))},qO=(0,o.memo)(WO,((e,t)=>t.cell===e.cell)),HO=e=>{var{parentRowRef:t,row:n,rowVirtualizer:r,staticRowIndex:i,table:o,virtualRow:a}=e,s=nO(e,["parentRowRef","row","rowVirtualizer","staticRowIndex","table","virtualRow"]);const{getState:l,getVisibleLeafColumns:c,options:{layoutMode:u,mrtTheme:{baseBackgroundColor:d},muiDetailPanelProps:h,muiTableBodyRowProps:f,renderDetailPanel:g}}=o,{isLoading:m}=l(),y=y_(f,{isDetailPanel:!0,row:n,staticRowIndex:i,table:o}),v=Object.assign(Object.assign({},y_(h,{row:n,table:o})),s),b=!m&&(null==g?void 0:g({row:n,table:o}));return(0,k.jsx)(Av,Object.assign({className:"Mui-TableBodyCell-DetailPanel","data-index":g?2*i+1:i,ref:e=>{var t;e&&(null===(t=null==r?void 0:r.measureElement)||void 0===t||t.call(r,e))}},y,{sx:e=>{var n,r;return Object.assign({display:(null==u?void 0:u.startsWith("grid"))?"flex":void 0,position:a?"absolute":void 0,top:a?`${null===(r=null===(n=t.current)||void 0===n?void 0:n.getBoundingClientRect())||void 0===r?void 0:r.height}px`:void 0,transform:a?`translateY(${null==a?void 0:a.start}px)`:void 0,width:"100%"},y_(null==y?void 0:y.sx,e))},children:(0,k.jsx)(Tv,Object.assign({className:"Mui-TableBodyCell-DetailPanel",colSpan:c().length},v,{sx:e=>Object.assign({backgroundColor:a?d:void 0,borderBottom:n.getIsExpanded()?void 0:"none",display:(null==u?void 0:u.startsWith("grid"))?"flex":void 0,py:b&&n.getIsExpanded()?"1rem":0,transition:a?void 0:"all 150ms ease-in-out",width:"100%"},y_(null==v?void 0:v.sx,e)),children:a?n.getIsExpanded()&&b:(0,k.jsx)(p.A,{in:n.getIsExpanded(),mountOnEnter:!0,unmountOnExit:!0,children:b})}))}))},YO=e=>{var t,n,r,i,{columnVirtualizer:a,numRows:s,pinnedRowIds:l,row:c,rowVirtualizer:u,staticRowIndex:d,table:h,virtualRow:p}=e,f=nO(e,["columnVirtualizer","numRows","pinnedRowIds","row","rowVirtualizer","staticRowIndex","table","virtualRow"]);const g=(0,St.A)(),{getState:m,options:{enableRowOrdering:y,enableRowPinning:v,enableStickyFooter:b,enableStickyHeader:w,layoutMode:x,memoMode:A,mrtTheme:{baseBackgroundColor:S,pinnedRowBackgroundColor:C,selectedRowBackgroundColor:E},muiTableBodyRowProps:T,renderDetailPanel:_,rowPinningDisplayMode:O},refs:{tableFooterRef:P,tableHeadRef:I},setHoveredRow:M}=h,{density:L,draggingColumn:R,draggingRow:j,editingCell:F,editingRow:D,hoveredRow:N,isFullScreen:B,rowPinning:z}=m(),V=c.getVisibleCells(),{virtualColumns:$,virtualPaddingLeft:G,virtualPaddingRight:U}=null!=a?a:{},W=D_({row:c,table:h}),q=v&&c.getIsPinned(),H=(null==j?void 0:j.id)===c.id,Y=(null==N?void 0:N.id)===c.id,K=Object.assign(Object.assign({},y_(T,{row:c,staticRowIndex:d,table:h})),f),[X,Z]=(0,o.useMemo)((()=>v&&(null==O?void 0:O.includes("sticky"))&&l&&c.getIsPinned()?[[...l].reverse().indexOf(c.id),l.indexOf(c.id)]:[]),[l,z]),J=(w||B)&&(null===(t=I.current)||void 0===t?void 0:t.clientHeight)||0,Q=b&&(null===(n=P.current)||void 0===n?void 0:n.clientHeight)||0,ee=y_(null==K?void 0:K.sx,g),ne="compact"===L?37:"comfortable"===L?53:69,re=parseInt(null!==(i=null===(r=null==K?void 0:K.style)||void 0===r?void 0:r.height)&&void 0!==i?i:null==ee?void 0:ee.height,10)||void 0||ne,ie=(0,o.useRef)(null),oe=W?E:q?C:void 0,ae=!1!==(null==K?void 0:K.hover)?W?oe:"dark"===g.palette.mode?`${(0,te.a)(S,.3)}`:`${(0,te.e$)(S,.3)}`:void 0;return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(Av,Object.assign({"data-index":_?2*d:d,"data-pinned":!!q||void 0,"data-selected":W||void 0,onDragEnter:e=>{y&&j&&M(c)},onDragOver:e=>{e.preventDefault()},ref:e=>{e&&(ie.current=e,null==u||u.measureElement(e))},selected:W},K,{style:Object.assign({transform:p?`translateY(${p.start}px)`:void 0},null==K?void 0:K.style),sx:e=>Object.assign({"&:hover td:after":ae?Object.assign({backgroundColor:(0,te.X4)(ae,.3)},oO):void 0,backgroundColor:`${S} !important`,bottom:!p&&void 0!==X&&q?X*re+(b?Q-1:0)+"px":void 0,boxSizing:"border-box",display:(null==x?void 0:x.startsWith("grid"))?"flex":void 0,opacity:q?.97:H||Y?.5:1,position:p?"absolute":(null==O?void 0:O.includes("sticky"))&&q?"sticky":"relative",td:Object.assign({},aO({table:h,theme:e})),"td:after":oe?Object.assign({backgroundColor:oe},oO):void 0,top:p?0:void 0!==Z&&q?Z*re+(w||B?J-1:0)+"px":void 0,transition:p?"none":"all 150ms ease-in-out",width:"100%",zIndex:(null==O?void 0:O.includes("sticky"))&&q?2:0},ee),children:[G?(0,k.jsx)("td",{style:{display:"flex",width:G}}):null,(null!=$?$:V).map(((e,t)=>{let n=e;a&&(t=e.index,n=V[t]);const r={cell:n,numRows:s,rowRef:ie,staticColumnIndex:t,staticRowIndex:d,table:h};return n?"cells"!==A||"data"!==n.column.columnDef.columnDefType||R||j||(null==F?void 0:F.id)===n.id||(null==D?void 0:D.id)===c.id?(0,k.jsx)(WO,Object.assign({},r),n.id):(0,k.jsx)(qO,Object.assign({},r),n.id):null})),U?(0,k.jsx)("td",{style:{display:"flex",width:U}}):null]})),_&&!c.getIsGrouped()&&(0,k.jsx)(HO,{parentRowRef:ie,row:c,rowVirtualizer:u,staticRowIndex:d,table:h,virtualRow:p})]})},KO=(0,o.memo)(YO,((e,t)=>e.row===t.row&&e.staticRowIndex===t.staticRowIndex)),XO=e=>{var t,n,r,i,a,s,{columnVirtualizer:l,table:c}=e,u=nO(e,["columnVirtualizer","table"]);const{getBottomRows:d,getIsSomeRowsPinned:h,getRowModel:p,getState:f,getTopRows:g,options:{enableStickyFooter:m,enableStickyHeader:y,layoutMode:v,localization:b,memoMode:w,muiTableBodyProps:x,renderDetailPanel:A,renderEmptyRowsFallback:S,rowPinningDisplayMode:C},refs:{tableFooterRef:E,tableHeadRef:T,tablePaperRef:_}}=c,{columnFilters:O,globalFilter:P,isFullScreen:I,rowPinning:M}=f(),L=Object.assign(Object.assign({},y_(x,{table:c})),u),R=(y||I)&&(null===(t=T.current)||void 0===t?void 0:t.clientHeight)||0,j=m&&(null===(n=E.current)||void 0===n?void 0:n.clientHeight)||0,F=(0,o.useMemo)((()=>{var e,t;return(null===(e=M.bottom)||void 0===e?void 0:e.length)||(null===(t=M.top)||void 0===t?void 0:t.length)?p().rows.filter((e=>e.getIsPinned())).map((e=>e.id)):[]}),[M,p().rows]),D=zO(c),N=BO(c,D),{virtualRows:B}=null!=N?N:{},z={columnVirtualizer:l,numRows:D.length,table:c};return(0,k.jsxs)(k.Fragment,{children:[!(null==C?void 0:C.includes("sticky"))&&h("top")&&(0,k.jsx)(mv,Object.assign({},L,{sx:e=>Object.assign({display:(null==v?void 0:v.startsWith("grid"))?"grid":void 0,position:"sticky",top:R-1,zIndex:1},y_(null==L?void 0:L.sx,e)),children:g().map(((e,t)=>{const n=Object.assign(Object.assign({},z),{row:e,staticRowIndex:t});return"rows"===w?(0,k.jsx)(KO,Object.assign({},n),e.id):(0,k.jsx)(YO,Object.assign({},n),e.id)}))})),(0,k.jsx)(mv,Object.assign({},L,{sx:e=>Object.assign({display:(null==v?void 0:v.startsWith("grid"))?"grid":void 0,height:N?`${N.getTotalSize()}px`:void 0,minHeight:D.length?void 0:"100px",position:"relative"},y_(null==L?void 0:L.sx,e)),children:null!==(r=null==L?void 0:L.children)&&void 0!==r?r:D.length?(0,k.jsx)(k.Fragment,{children:(null!=B?B:D).map(((e,t)=>{let n=e;if(N){if(A){if(e.index%2==1)return null;t=e.index/2}else t=e.index;n=D[t]}const r=Object.assign(Object.assign({},z),{pinnedRowIds:F,row:n,rowVirtualizer:N,staticRowIndex:t,virtualRow:N?e:void 0}),i=`${n.id}-${n.index}`;return"rows"===w?(0,k.jsx)(KO,Object.assign({},r),i):(0,k.jsx)(YO,Object.assign({},r),i)}))}):(0,k.jsx)("tr",{style:{display:(null==v?void 0:v.startsWith("grid"))?"grid":void 0},children:(0,k.jsx)("td",{colSpan:c.getVisibleLeafColumns().length,style:{display:(null==v?void 0:v.startsWith("grid"))?"grid":void 0},children:null!==(i=null==S?void 0:S({table:c}))&&void 0!==i?i:(0,k.jsx)(In.A,{sx:{color:"text.secondary",fontStyle:"italic",maxWidth:`min(100vw, ${null!==(s=null===(a=_.current)||void 0===a?void 0:a.clientWidth)&&void 0!==s?s:360}px)`,py:"2rem",textAlign:"center",width:"100%"},children:P||O.length?b.noResultsFound:b.noRecordsToDisplay})})})})),!(null==C?void 0:C.includes("sticky"))&&h("bottom")&&(0,k.jsx)(mv,Object.assign({},L,{sx:e=>Object.assign({bottom:j-1,display:(null==v?void 0:v.startsWith("grid"))?"grid":void 0,position:"sticky",zIndex:1},y_(null==L?void 0:L.sx,e)),children:d().map(((e,t)=>{const n=Object.assign(Object.assign({},z),{row:e,staticRowIndex:t});return"rows"===w?(0,k.jsx)(KO,Object.assign({},n),e.id):(0,k.jsx)(YO,Object.assign({},n),e.id)}))}))]})},ZO=(0,o.memo)(XO,((e,t)=>e.table.options.data===t.table.options.data)),JO=e=>{var t,n,r,{footer:i,staticColumnIndex:o,table:a}=e,s=nO(e,["footer","staticColumnIndex","table"]);const l=(0,St.A)(),{getState:c,options:{enableColumnPinning:u,muiTableFooterCellProps:d}}=a,{density:h}=c(),{column:p}=i,{columnDef:f}=p,{columnDefType:g}=f,m=u&&"group"!==f.columnDefType&&p.getIsPinned(),y={column:p,table:a},v=Object.assign(Object.assign(Object.assign({},y_(d,y)),y_(f.muiTableFooterCellProps,y)),s);return(0,k.jsx)(Tv,Object.assign({align:"group"===g?"center":"rtl"===l.direction?"right":"left",colSpan:i.colSpan,"data-index":o,"data-pinned":!!m||void 0,variant:"footer"},v,{sx:e=>Object.assign(Object.assign({fontWeight:"bold",p:"compact"===h?"0.5rem":"comfortable"===h?"1rem":"1.5rem",verticalAlign:"top"},sO({column:p,header:i,table:a,tableCellProps:v,theme:e})),y_(null==v?void 0:v.sx,e)),children:null!==(t=v.children)&&void 0!==t?t:i.isPlaceholder?null:null!==(r=null!==(n=y_(f.Footer,{column:p,footer:i,table:a}))&&void 0!==n?n:f.footer)&&void 0!==r?r:null}))},QO=e=>{var t,{columnVirtualizer:n,footerGroup:r,table:i}=e,o=nO(e,["columnVirtualizer","footerGroup","table"]);const{options:{layoutMode:a,mrtTheme:{baseBackgroundColor:s},muiTableFooterRowProps:l}}=i,{virtualColumns:c,virtualPaddingLeft:u,virtualPaddingRight:d}=null!=n?n:{};if(!(null===(t=r.headers)||void 0===t?void 0:t.some((e=>"string"==typeof e.column.columnDef.footer&&!!e.column.columnDef.footer||e.column.columnDef.Footer))))return null;const h=Object.assign(Object.assign({},y_(l,{footerGroup:r,table:i})),o);return(0,k.jsxs)(Av,Object.assign({},h,{sx:e=>Object.assign({backgroundColor:s,display:(null==a?void 0:a.startsWith("grid"))?"flex":void 0,position:"relative",width:"100%"},y_(null==h?void 0:h.sx,e)),children:[u?(0,k.jsx)("th",{style:{display:"flex",width:u}}):null,(null!=c?c:r.headers).map(((e,t)=>{let o=e;return n&&(t=e.index,o=r.headers[t]),o?(0,k.jsx)(JO,{footer:o,staticColumnIndex:t,table:i},o.id):null})),d?(0,k.jsx)("th",{style:{display:"flex",width:d}}):null]}))},eP=e=>{var{columnVirtualizer:t,table:n}=e,r=nO(e,["columnVirtualizer","table"]);const{getFooterGroups:i,getState:o,options:{enableStickyFooter:a,layoutMode:s,muiTableFooterProps:l},refs:{tableFooterRef:c}}=n,{isFullScreen:u}=o(),d=Object.assign(Object.assign({},y_(l,{table:n})),r),h=(u||a)&&!1!==a;return(0,k.jsx)(eb,Object.assign({},d,{ref:e=>{c.current=e,(null==d?void 0:d.ref)&&(d.ref.current=e)},sx:e=>Object.assign({bottom:h?0:void 0,display:(null==s?void 0:s.startsWith("grid"))?"grid":void 0,opacity:h?.97:void 0,outline:h?"light"===e.palette.mode?`1px solid ${e.palette.grey[300]}`:`1px solid ${e.palette.grey[700]}`:void 0,position:h?"sticky":"relative",zIndex:h?1:void 0},y_(null==d?void 0:d.sx,e)),children:i().map((e=>(0,k.jsx)(QO,{columnVirtualizer:t,footerGroup:e,table:n},e.id)))}))},tP=e=>[{divider:!1,label:e.filterFuzzy,option:"fuzzy",symbol:"≈"},{divider:!1,label:e.filterContains,option:"contains",symbol:"*"},{divider:!1,label:e.filterStartsWith,option:"startsWith",symbol:"a"},{divider:!0,label:e.filterEndsWith,option:"endsWith",symbol:"z"},{divider:!1,label:e.filterEquals,option:"equals",symbol:"="},{divider:!0,label:e.filterNotEquals,option:"notEquals",symbol:"≠"},{divider:!1,label:e.filterBetween,option:"between",symbol:"⇿"},{divider:!0,label:e.filterBetweenInclusive,option:"betweenInclusive",symbol:"⬌"},{divider:!1,label:e.filterGreaterThan,option:"greaterThan",symbol:">"},{divider:!1,label:e.filterGreaterThanOrEqualTo,option:"greaterThanOrEqualTo",symbol:"≥"},{divider:!1,label:e.filterLessThan,option:"lessThan",symbol:"<"},{divider:!0,label:e.filterLessThanOrEqualTo,option:"lessThanOrEqualTo",symbol:"≤"},{divider:!1,label:e.filterEmpty,option:"empty",symbol:"∅"},{divider:!1,label:e.filterNotEmpty,option:"notEmpty",symbol:"!∅"}],nP=["between","betweenInclusive","inNumberRange"],rP=["empty","notEmpty"],iP=["arrIncludesSome","arrIncludesAll","arrIncludes"],oP=["range-slider","date-range","datetime-range","range"],aP=e=>{var t,n,r,i,{anchorEl:a,header:s,onSelect:l,setAnchorEl:c,setFilterValue:u,table:d}=e,h=nO(e,["anchorEl","header","onSelect","setAnchorEl","setFilterValue","table"]);const{getState:p,options:{columnFilterModeOptions:f,globalFilterModeOptions:g,localization:m,mrtTheme:{menuBackgroundColor:y},renderColumnFilterModeMenuItems:v,renderGlobalFilterModeMenuItems:b},setColumnFilterFns:w,setGlobalFilterFn:x}=d,{density:A,globalFilterFn:S}=p(),{column:C}=null!=s?s:{},{columnDef:E}=null!=C?C:{},T=null==C?void 0:C.getFilterValue();let _=null!==(t=null==E?void 0:E.columnFilterModeOptions)&&void 0!==t?t:f;oP.includes(null==E?void 0:E.filterVariant)&&(_=[...nP,...null!=_?_:[]].filter((e=>nP.includes(e))));const O=(0,o.useMemo)((()=>tP(m).filter((e=>E?void 0===_||(null==_?void 0:_.includes(e.option)):(!g||g.includes(e.option))&&["contains","fuzzy","startsWith"].includes(e.option)))),[]),P=e=>{var t,n;const r=null!==(t=null==E?void 0:E._filterFn)&&void 0!==t?t:"";s&&C?e!==r&&(w((t=>Object.assign(Object.assign({},t),{[s.id]:e}))),rP.includes(e)?" "===T||rP.includes(r)?T&&C.setFilterValue(T):C.setFilterValue(" "):"multi-select"===(null==E?void 0:E.filterVariant)||iP.includes(e)?T instanceof String||(null==T?void 0:T.length)?(C.setFilterValue([]),null==u||u([])):T&&C.setFilterValue(T):(null===(n=null==E?void 0:E.filterVariant)||void 0===n?void 0:n.includes("range"))||nP.includes(e)?Array.isArray(T)&&((null==T?void 0:T.every((e=>""===e)))||nP.includes(r))?C.setFilterValue(T):(C.setFilterValue(["",""]),null==u||u("")):Array.isArray(T)?(C.setFilterValue(""),null==u||u("")):" "===T&&rP.includes(r)?C.setFilterValue(void 0):C.setFilterValue(T)):x(e),c(null),null==l||l()},I=s&&E?E._filterFn:S;return(0,k.jsx)(Dl,Object.assign({MenuListProps:{dense:"compact"===A,sx:{backgroundColor:y}},anchorEl:a,anchorOrigin:{horizontal:"right",vertical:"center"},disableScrollLock:!0,onClose:()=>c(null),open:!!a},h,{children:null!==(i=s&&C&&E?null!==(r=null===(n=E.renderColumnFilterModeMenuItems)||void 0===n?void 0:n.call(E,{column:C,internalFilterOptions:O,onSelectFilterMode:P,table:d}))&&void 0!==r?r:null==v?void 0:v({column:C,internalFilterOptions:O,onSelectFilterMode:P,table:d}):null==b?void 0:b({internalFilterOptions:O,onSelectFilterMode:P,table:d}))&&void 0!==i?i:O.map((({divider:e,label:t,option:n,symbol:r},i)=>(0,k.jsx)(dO,{divider:e,icon:r,label:t,onClick:()=>P(n),selected:n===I,table:d,value:n},i)))}))},sP=e=>{var t,n,r,i,a,s,l,c,u,d,{anchorEl:h,header:p,setAnchorEl:f,table:g}=e,m=nO(e,["anchorEl","header","setAnchorEl","table"]);const{getAllLeafColumns:y,getState:v,options:{columnFilterDisplayMode:b,columnFilterModeOptions:w,enableColumnFilterModes:x,enableColumnFilters:A,enableColumnPinning:S,enableColumnResizing:C,enableGrouping:E,enableHiding:T,enableSorting:_,enableSortingRemoval:O,icons:{ClearAllIcon:P,DynamicFeedIcon:I,FilterListIcon:M,FilterListOffIcon:L,PushPinIcon:R,RestartAltIcon:j,SortIcon:F,ViewColumnIcon:D,VisibilityOffIcon:N},localization:B,mrtTheme:{menuBackgroundColor:z},renderColumnActionsMenuItems:V},refs:{filterInputRefs:$},setColumnFilterFns:G,setColumnOrder:U,setColumnSizingInfo:W,setShowColumnFilters:q}=g,{column:H}=p,{columnDef:Y}=H,{columnSizing:K,columnVisibility:X,density:Z,showColumnFilters:J}=v(),Q=H.getFilterValue(),[ee,te]=(0,o.useState)(null),ne=e=>{H.pin(e),f(null)},re=()=>{q(!0),queueMicrotask((()=>{var e;return null===(e=$.current[`${H.id}-0`])||void 0===e?void 0:e.focus()})),f(null)},ie=e=>{e.stopPropagation(),te(e.currentTarget)},oe=!!Y.filterSelectOptions,ae=null!==(t=null==Y?void 0:Y.columnFilterModeOptions)&&void 0!==t?t:w,se=x&&!1!==Y.enableColumnFilterModes&&!oe&&(void 0===ae||!!(null==ae?void 0:ae.length)),le=[..._&&H.getCanSort()?[!1!==O&&(0,k.jsx)(dO,{icon:(0,k.jsx)(P,{}),label:B.clearSort,onClick:()=>{H.clearSorting(),f(null)},table:g},0),(0,k.jsx)(dO,{disabled:"asc"===H.getIsSorted(),icon:(0,k.jsx)(F,{style:{transform:"rotate(180deg) scaleX(-1)"}}),label:null===(n=B.sortByColumnAsc)||void 0===n?void 0:n.replace("{column}",String(Y.header)),onClick:()=>{H.toggleSorting(!1),f(null)},table:g},1),(0,k.jsx)(dO,{disabled:"desc"===H.getIsSorted(),divider:A||E||T,icon:(0,k.jsx)(F,{}),label:null===(r=B.sortByColumnDesc)||void 0===r?void 0:r.replace("{column}",String(Y.header)),onClick:()=>{H.toggleSorting(!0),f(null)},table:g},2)]:[],...A&&H.getCanFilter()?[(0,k.jsx)(dO,{disabled:!Q||Array.isArray(Q)&&!Q.filter((e=>e)).length,icon:(0,k.jsx)(L,{}),label:B.clearFilter,onClick:()=>{H.setFilterValue(void 0),f(null),["empty","notEmpty"].includes(Y._filterFn)&&G((e=>{var t;return Object.assign(Object.assign({},e),{[p.id]:null!==(t=null==ae?void 0:ae[0])&&void 0!==t?t:"fuzzy"})}))},table:g},3),"subheader"===b&&(0,k.jsx)(dO,{disabled:J&&!x,divider:E||T,icon:(0,k.jsx)(M,{}),label:null===(i=B.filterByColumn)||void 0===i?void 0:i.replace("{column}",String(Y.header)),onClick:J?ie:re,onOpenSubMenu:se?ie:void 0,table:g},4),se&&(0,k.jsx)(aP,{anchorEl:ee,header:p,onSelect:re,setAnchorEl:te,table:g},5)].filter(Boolean):[],...E&&H.getCanGroup()?[(0,k.jsx)(dO,{divider:S,icon:(0,k.jsx)(I,{}),label:null===(a=B[H.getIsGrouped()?"ungroupByColumn":"groupByColumn"])||void 0===a?void 0:a.replace("{column}",String(Y.header)),onClick:()=>{H.toggleGrouping(),U((e=>["mrt-row-expand",...e])),f(null)},table:g},6)]:[],...S&&H.getCanPin()?[(0,k.jsx)(dO,{disabled:"left"===H.getIsPinned()||!H.getCanPin(),icon:(0,k.jsx)(R,{style:{transform:"rotate(90deg)"}}),label:B.pinToLeft,onClick:()=>ne("left"),table:g},7),(0,k.jsx)(dO,{disabled:"right"===H.getIsPinned()||!H.getCanPin(),icon:(0,k.jsx)(R,{style:{transform:"rotate(-90deg)"}}),label:B.pinToRight,onClick:()=>ne("right"),table:g},8),(0,k.jsx)(dO,{disabled:!H.getIsPinned(),divider:T,icon:(0,k.jsx)(R,{}),label:B.unpin,onClick:()=>ne(!1),table:g},9)]:[],...C&&H.getCanResize()?[(0,k.jsx)(dO,{disabled:!K[H.id],icon:(0,k.jsx)(j,{}),label:B.resetColumnSize,onClick:()=>{W((e=>Object.assign(Object.assign({},e),{isResizingColumn:!1}))),H.resetSize(),f(null)},table:g},10)]:[],...T?[(0,k.jsx)(dO,{disabled:!H.getCanHide(),icon:(0,k.jsx)(N,{}),label:null===(s=B.hideColumn)||void 0===s?void 0:s.replace("{column}",String(Y.header)),onClick:()=>{H.toggleVisibility(!1),f(null)},table:g},11),(0,k.jsx)(dO,{disabled:!Object.values(X).filter((e=>!e)).length,icon:(0,k.jsx)(D,{}),label:null===(l=B.showAllColumns)||void 0===l?void 0:l.replace("{column}",String(Y.header)),onClick:()=>{y().filter((e=>!1!==e.columnDef.enableHiding)).forEach((e=>e.toggleVisibility(!0))),f(null)},table:g},12)]:[]].filter(Boolean);return(0,k.jsx)(Dl,Object.assign({MenuListProps:{dense:"compact"===Z,sx:{backgroundColor:z}},anchorEl:h,disableScrollLock:!0,onClose:()=>f(null),open:!!h},m,{children:null!==(d=null!==(u=null===(c=Y.renderColumnActionsMenuItems)||void 0===c?void 0:c.call(Y,{closeMenu:()=>f(null),column:H,internalColumnMenuItems:le,table:g}))&&void 0!==u?u:null==V?void 0:V({closeMenu:()=>f(null),column:H,internalColumnMenuItems:le,table:g}))&&void 0!==d?d:le}))},lP=e=>{var t,n,{header:r,table:i}=e,a=nO(e,["header","table"]);const{options:{icons:{MoreVertIcon:s},localization:l,muiColumnActionsButtonProps:c}}=i,{column:u}=r,{columnDef:d}=u,[h,p]=(0,o.useState)(null),f=Object.assign(Object.assign(Object.assign({},y_(c,{column:u,table:i})),y_(d.muiColumnActionsButtonProps,{column:u,table:i})),a);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(Ft.A,Object.assign({},uO("top"),{title:null!==(t=null==f?void 0:f.title)&&void 0!==t?t:l.columnActions,children:(0,k.jsx)(ye.A,Object.assign({"aria-label":l.columnActions,onClick:e=>{e.stopPropagation(),e.preventDefault(),p(e.currentTarget)},size:"small"},f,{sx:e=>Object.assign({"&:hover":{opacity:1},height:"2rem",m:"-8px -4px",opacity:.3,transition:"all 150ms",width:"2rem"},y_(null==f?void 0:f.sx,e)),title:void 0,children:null!==(n=null==f?void 0:f.children)&&void 0!==n?n:(0,k.jsx)(s,{style:{transform:"scale(0.9)"}})}))})),h&&(0,k.jsx)(sP,{anchorEl:h,header:r,setAnchorEl:p,table:i})]})},cP=e=>{var t,n,r,{column:i,table:o}=e,a=nO(e,["column","table"]);const{getState:s,options:{localization:l,muiFilterCheckboxProps:c}}=o,{density:u}=s(),{columnDef:d}=i,h=Object.assign(Object.assign(Object.assign({},y_(c,{column:i,table:o})),y_(d.muiFilterCheckboxProps,{column:i,table:o})),a),p=null===(t=l.filterByColumn)||void 0===t?void 0:t.replace("{column}",d.header);return(0,k.jsx)(Ft.A,Object.assign({},uO(),{title:null!==(n=null==h?void 0:h.title)&&void 0!==n?n:p,children:(0,k.jsx)(Lg,{control:(0,k.jsx)(dr,Object.assign({checked:"true"===i.getFilterValue(),color:void 0===i.getFilterValue()?"default":"primary",indeterminate:void 0===i.getFilterValue(),size:"compact"===u?"small":"medium"},h,{onChange:(e,t)=>{var n;i.setFilterValue(void 0===i.getFilterValue()?"true":"true"===i.getFilterValue()?"false":void 0),null===(n=null==h?void 0:h.onChange)||void 0===n||n.call(h,e,t)},onClick:e=>{var t;e.stopPropagation(),null===(t=null==h?void 0:h.onClick)||void 0===t||t.call(h,e)},sx:e=>Object.assign({height:"2.5rem",width:"2.5rem"},y_(null==h?void 0:h.sx,e))})),disableTypography:!0,label:null!==(r=h.title)&&void 0!==r?r:p,sx:{color:"text.secondary",fontWeight:"normal",mt:"-4px"},title:void 0})}))},uP=e=>{var t,n,r,i,a,l,c,u,d,h,p,f,g,m,y,v,{header:b,rangeFilterIndex:w,table:x}=e,A=nO(e,["header","rangeFilterIndex","table"]);const{options:{enableColumnFilterModes:S,icons:{CloseIcon:C,FilterListIcon:E},localization:T,manualFiltering:_,muiFilterAutocompleteProps:O,muiFilterDatePickerProps:P,muiFilterDateTimePickerProps:I,muiFilterTextFieldProps:M,muiFilterTimePickerProps:L},refs:{filterInputRefs:R},setColumnFilterFns:j}=x,{column:F}=b,{columnDef:D}=F,{filterVariant:N}=D,B={column:F,rangeFilterIndex:w,table:x},z=Object.assign(Object.assign(Object.assign({},y_(M,B)),y_(D.muiFilterTextFieldProps,B)),A),V=Object.assign(Object.assign({},y_(O,B)),y_(D.muiFilterAutocompleteProps,B)),$=Object.assign(Object.assign({},y_(P,B)),y_(D.muiFilterDatePickerProps,B)),G=Object.assign(Object.assign({},y_(I,B)),y_(D.muiFilterDateTimePickerProps,B)),U=Object.assign(Object.assign({},y_(L,B)),y_(D.muiFilterTimePickerProps,B)),{allowedColumnFilterOptions:W,currentFilterOption:q,facetedUniqueValues:H,isAutocompleteFilter:Y,isDateFilter:K,isMultiSelectFilter:X,isRangeFilter:Z,isSelectFilter:J,isTextboxFilter:Q}=h_({header:b,table:x}),ee=p_({header:b,table:x}),te=["empty","notEmpty"].includes(q)?T[`filter${(null===(n=null===(t=null==q?void 0:q.charAt)||void 0===t?void 0:t.call(q,0))||void 0===n?void 0:n.toUpperCase())+(null==q?void 0:q.slice(1))}`]:"",ne=Z?0===w?T.min:1===w?T.max:"":null!==(r=null==z?void 0:z.placeholder)&&void 0!==r?r:null===(i=T.filterByColumn)||void 0===i?void 0:i.replace("{column}",String(D.header)),re=!(!S||!1===D.enableColumnFilterModes||w||void 0!==W&&!(null==W?void 0:W.length)),[ie,oe]=(0,o.useState)(null),[ae,se]=(0,o.useState)((()=>{var e,t;return X?F.getFilterValue()||[]:Z?(null===(e=F.getFilterValue())||void 0===e?void 0:e[w])||"":null!==(t=F.getFilterValue())&&void 0!==t?t:""})),[le,ce]=(0,o.useState)(Y?ae:null),ue=(0,o.useCallback)((0,ai.A)((e=>{Z?F.setFilterValue((t=>{const n=null!=t?t:["",""];return n[w]=null!=e?e:void 0,n})):F.setFilterValue(null!=e?e:void 0)}),Q?_?400:200:1),[]),de=e=>{se(null!=e?e:""),ue(e)},he=e=>{var t;const n="date"===z.type?e.target.valueAsDate:"number"===z.type?e.target.valueAsNumber:e.target.value;de(n),null===(t=null==z?void 0:z.onChange)||void 0===t||t.call(z,e)},pe=()=>{X?(se([]),F.setFilterValue([])):Z?(se(""),F.setFilterValue((e=>{const t=Array.isArray(e)&&e||["",""];return t[w]=void 0,t}))):(se(""),F.setFilterValue(void 0))},fe=(0,o.useRef)(!1);if((0,o.useEffect)((()=>{if(fe.current){const e=F.getFilterValue();void 0===e?pe():se(Z&&void 0!==w?e[w]:e)}fe.current=!0}),[F.getFilterValue()]),D.Filter)return(0,k.jsx)(k.Fragment,{children:null===(a=D.Filter)||void 0===a?void 0:a.call(D,{column:F,header:b,rangeFilterIndex:w,table:x})});const ge=Y||K||te?null:(0,k.jsx)(db,{position:"end",sx:{mr:J||X?"20px":void 0},children:(0,k.jsx)(Ft.A,{placement:"right",title:null!==(l=T.clearFilter)&&void 0!==l?l:"",children:(0,k.jsx)("span",{children:(0,k.jsx)(ye.A,{"aria-label":T.clearFilter,disabled:!(null===(c=null==ae?void 0:ae.toString())||void 0===c?void 0:c.length),onClick:pe,size:"small",sx:{height:"2rem",transform:"scale(0.9)",width:"2rem"},children:(0,k.jsx)(C,{})})})})}),me=re?(0,k.jsxs)(db,{position:"start",children:[(0,k.jsx)(Ft.A,{title:T.changeFilterMode,children:(0,k.jsx)("span",{children:(0,k.jsx)(ye.A,{"aria-label":T.changeFilterMode,onClick:e=>{oe(e.currentTarget)},size:"small",sx:{height:"1.75rem",width:"1.75rem"},children:(0,k.jsx)(E,{})})})}),te&&(0,k.jsx)(ke,{label:te,onDelete:()=>{se(""),F.setFilterValue(void 0),j((e=>{var t;return Object.assign(Object.assign({},e),{[b.id]:null!==(t=null==W?void 0:W[0])&&void 0!==t?t:"fuzzy"})}))}})]}):null,ve=Object.assign(Object.assign({FormHelperTextProps:{sx:{fontSize:"0.75rem",lineHeight:"0.8rem",whiteSpace:"nowrap"}},InputProps:ge?{endAdornment:ge,startAdornment:me}:{startAdornment:me},fullWidth:!0,helperText:re?(0,k.jsx)("label",{children:T.filterMode.replace("{filterType}",T[`filter${(null===(u=null==q?void 0:q.charAt(0))||void 0===u?void 0:u.toUpperCase())+(null==q?void 0:q.slice(1))}`])}):null,inputProps:{"aria-label":ne,autoComplete:"new-password",disabled:!!te,sx:{textOverflow:"ellipsis",width:te?0:void 0},title:ne},inputRef:e=>{R.current[`${F.id}-${null!=w?w:0}`]=e,z.inputRef&&(z.inputRef=e)},margin:"none",placeholder:te||J||X?void 0:ne,variant:"standard"},z),{sx:e=>Object.assign({minWidth:K?"160px":S&&0===w?"110px":Z?"100px":te?"auto":"120px",mx:"-2px",p:0,width:"calc(100% + 4px)"},y_(null==z?void 0:z.sx,e))}),be={onChange:e=>{de(e)},value:ae||null};return(0,k.jsxs)(k.Fragment,{children:[(null==N?void 0:N.startsWith("time"))?(0,k.jsx)(RT,Object.assign({},be,U,{slotProps:{field:Object.assign({clearable:!0,onClear:()=>pe()},null===(d=null==U?void 0:U.slotProps)||void 0===d?void 0:d.field),textField:Object.assign(Object.assign({},ve),null===(h=null==U?void 0:U.slotProps)||void 0===h?void 0:h.textField)}})):(null==N?void 0:N.startsWith("datetime"))?(0,k.jsx)(yT,Object.assign({},be,G,{slotProps:{field:Object.assign({clearable:!0,onClear:()=>pe()},null===(p=null==G?void 0:G.slotProps)||void 0===p?void 0:p.field),textField:Object.assign(Object.assign({},ve),null===(f=null==G?void 0:G.slotProps)||void 0===f?void 0:f.textField)}})):(null==N?void 0:N.startsWith("date"))?(0,k.jsx)(JC,Object.assign({},be,$,{slotProps:{field:Object.assign({clearable:!0,onClear:()=>pe()},null===(g=null==$?void 0:$.slotProps)||void 0===g?void 0:g.field),textField:Object.assign(Object.assign({},ve),null===(m=null==$?void 0:$.slotProps)||void 0===m?void 0:m.textField)}})):Y?(0,k.jsx)(Ze,Object.assign({freeSolo:!0,getOptionLabel:e=>v_(e).label,onChange:(e,t)=>(e=>{ce(e),de(v_(e).value)})(t),options:null!==(y=null==ee?void 0:ee.map((e=>v_(e))))&&void 0!==y?y:[]},V,{renderInput:e=>{var t;return(0,k.jsx)(Kv,Object.assign({},e,ve,{InputProps:Object.assign(Object.assign({},e.InputProps),{startAdornment:null===(t=null==ve?void 0:ve.InputProps)||void 0===t?void 0:t.startAdornment}),inputProps:Object.assign(Object.assign({},e.inputProps),null==ve?void 0:ve.inputProps),onChange:he,onClick:e=>e.stopPropagation()}))},value:le})):(0,k.jsx)(Kv,Object.assign({select:J||X},ve,{SelectProps:Object.assign({MenuProps:{disableScrollLock:!0},displayEmpty:!0,multiple:X,renderValue:X?e=>(null==e?void 0:e.length)?(0,k.jsx)(s.A,{sx:{display:"flex",flexWrap:"wrap",gap:"2px"},children:null==e?void 0:e.map((e=>{const t=null==ee?void 0:ee.find((t=>v_(t).value===e));return(0,k.jsx)(ke,{label:v_(t).label},e)}))}):(0,k.jsx)(s.A,{sx:{opacity:.5},children:ne}):void 0},ve.SelectProps),onChange:he,onClick:e=>e.stopPropagation(),value:null!=ae?ae:"",children:(J||X)&&[(0,k.jsx)(un,{disabled:!0,divider:!0,hidden:!0,value:"",children:(0,k.jsx)(s.A,{sx:{opacity:.5},children:ne})},"p"),null!==(v=z.children)&&void 0!==v?v:null==ee?void 0:ee.map(((e,t)=>{var n;const{label:r,value:i}=v_(e);return(0,k.jsxs)(un,{sx:{alignItems:"center",display:"flex",gap:"0.5rem",m:0},value:i,children:[X&&(0,k.jsx)(dr,{checked:(null!==(n=F.getFilterValue())&&void 0!==n?n:[]).includes(i),sx:{mr:"0.5rem"}}),r," ",!D.filterSelectOptions&&`(${H.get(i)})`]},`${t}-${i}`)}))]})),(0,k.jsx)(aP,{anchorEl:ie,header:b,setAnchorEl:oe,setFilterValue:se,table:x})]})},dP=e=>{var{header:t,table:n}=e,r=nO(e,["header","table"]);return(0,k.jsx)(s.A,Object.assign({},r,{sx:e=>Object.assign({display:"grid",gap:"1rem",gridTemplateColumns:"1fr 1fr"},y_(null==r?void 0:r.sx,e)),children:[0,1].map((e=>(0,k.jsx)(uP,{header:t,rangeFilterIndex:e,table:n},e)))}))},hP=e=>{var t,n,{header:r,table:i}=e,a=nO(e,["header","table"]);const{options:{enableColumnFilterModes:s,localization:l,muiFilterSliderProps:c},refs:{filterInputRefs:u}}=i,{column:d}=r,{columnDef:h}=d,p=h._filterFn,f=s&&!1!==h.enableColumnFilterModes,g=Object.assign(Object.assign(Object.assign({},y_(c,{column:d,table:i})),y_(h.muiFilterSliderProps,{column:d,table:i})),a);let[m,y]=void 0!==g.min&&void 0!==g.max?[g.min,g.max]:null!==(t=d.getFacetedMinMaxValues())&&void 0!==t?t:[0,1];Array.isArray(m)&&(m=m[0]),Array.isArray(y)&&(y=y[0]),null===m&&(m=0),null===y&&(y=1);const[v,b]=(0,o.useState)([m,y]),w=d.getFilterValue(),x=(0,o.useRef)(!1);return(0,o.useEffect)((()=>{x.current&&(void 0===w?b([m,y]):Array.isArray(w)&&b(w)),x.current=!0}),[w,m,y]),(0,k.jsxs)(js,{children:[(0,k.jsx)(qp.Ay,Object.assign({disableSwap:!0,max:y,min:m,onChange:(e,t)=>{b(t)},onChangeCommitted:(e,t)=>{Array.isArray(t)&&(t[0]<=m&&t[1]>=y?d.setFilterValue(void 0):d.setFilterValue(t))},value:v,valueLabelDisplay:"auto"},g,{slotProps:{input:{ref:e=>{var t,n;e&&(u.current[`${d.id}-0`]=e,(null===(n=null===(t=null==g?void 0:g.slotProps)||void 0===t?void 0:t.input)||void 0===n?void 0:n.ref)&&(g.slotProps.input.ref=e))}}},sx:e=>Object.assign({m:"auto",minWidth:d.getSize()-50+"px",mt:f?"6px":"10px",px:"4px",width:"calc(100% - 8px)"},y_(null==g?void 0:g.sx,e))})),f?(0,k.jsx)(Ap,{sx:{fontSize:"0.75rem",lineHeight:"0.8rem",m:"-3px -6px",whiteSpace:"nowrap"},children:l.filterMode.replace("{filterType}",l[`filter${(null===(n=null==p?void 0:p.charAt(0))||void 0===n?void 0:n.toUpperCase())+(null==p?void 0:p.slice(1))}`])}):null]})},pP=e=>{var{header:t,table:n}=e,r=nO(e,["header","table"]);const{getState:i,options:{columnFilterDisplayMode:o}}=n,{showColumnFilters:a}=i(),{column:s}=t,{columnDef:l}=s,{isRangeFilter:c}=h_({header:t,table:n});return(0,k.jsx)(p.A,Object.assign({in:a||"popover"===o,mountOnEnter:!0,unmountOnExit:!0},r,{children:"checkbox"===l.filterVariant?(0,k.jsx)(cP,{column:s,table:n}):"range-slider"===l.filterVariant?(0,k.jsx)(hP,{header:t,table:n}):c?(0,k.jsx)(dP,{header:t,table:n}):(0,k.jsx)(uP,{header:t,table:n})}))},fP=e=>{var t,n,{header:r,table:i}=e,a=nO(e,["header","table"]);const{options:{columnFilterDisplayMode:l,icons:{FilterAltIcon:c},localization:u},refs:{filterInputRefs:d},setShowColumnFilters:h}=i,{column:p}=r,{columnDef:f}=p,g=p.getFilterValue(),[m,y]=(0,o.useState)(null),{currentFilterOption:v,isMultiSelectFilter:b,isRangeFilter:w,isSelectFilter:x}=h_({header:r,table:i}),A=p_({header:r,table:i}),S=e=>v_(null==A?void 0:A.find((t=>v_(t).value===(void 0!==e?g[e]:g)))).label,C=Array.isArray(g)&&g.some(Boolean)||!!g&&!Array.isArray(g),E="popover"!==l||C?u.filteringByColumn.replace("{column}",String(f.header)).replace("{filterType}",v?u[`filter${(null===(n=null==v?void 0:v.charAt(0))||void 0===n?void 0:n.toUpperCase())+(null==v?void 0:v.slice(1))}`]:"").replace("{filterValue}",`"${Array.isArray(g)?g.map(((e,t)=>b?S(t):e)).join(`" ${w?u.and:u.or} "`):x?S():g}"`).replace('" "',""):null===(t=u.filterByColumn)||void 0===t?void 0:t.replace("{column}",String(f.header));return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)($t.A,{in:"popover"===l||!!g&&!w||w&&(!!(null==g?void 0:g[0])||!!(null==g?void 0:g[1])),unmountOnExit:!0,children:(0,k.jsx)(s.A,{component:"span",sx:{flex:"0 0"},children:(0,k.jsx)(Ft.A,{placement:"top",title:E,children:(0,k.jsx)(ye.A,Object.assign({disableRipple:!0,onClick:e=>{"popover"===l?y(e.currentTarget):h(!0),queueMicrotask((()=>{var e,t,n,r;null===(t=null===(e=d.current[`${p.id}-0`])||void 0===e?void 0:e.focus)||void 0===t||t.call(e),null===(r=null===(n=d.current[`${p.id}-0`])||void 0===n?void 0:n.select)||void 0===r||r.call(n)})),e.stopPropagation()},size:"small"},a,{sx:e=>Object.assign({height:"16px",ml:"4px",opacity:C?1:.3,p:"8px",transform:"scale(0.75)",transition:"all 150ms ease-in-out",width:"16px"},y_(null==a?void 0:a.sx,e)),children:(0,k.jsx)(c,{})}))})})}),"popover"===l&&(0,k.jsx)(Ol,{anchorEl:m,anchorOrigin:{horizontal:"center",vertical:"top"},disableScrollLock:!0,onClick:e=>e.stopPropagation(),onClose:e=>{e.stopPropagation(),y(null)},onKeyDown:e=>"Enter"===e.key&&y(null),open:!!m,slotProps:{paper:{sx:{overflow:"visible"}}},transformOrigin:{horizontal:"center",vertical:"bottom"},children:(0,k.jsx)(s.A,{sx:{p:"1rem"},children:(0,k.jsx)(pP,{header:r,table:i})})})]})},gP=e=>{var{column:t,table:n,tableHeadCellRef:r}=e,i=nO(e,["column","table","tableHeadCellRef"]);const{getState:o,options:{enableColumnOrdering:a,muiColumnDragHandleProps:s},setColumnOrder:l,setDraggingColumn:c,setHoveredColumn:u}=n,{columnDef:d}=t,{columnOrder:h,draggingColumn:p,hoveredColumn:f}=o(),g=Object.assign(Object.assign(Object.assign({},y_(s,{column:t,table:n})),y_(d.muiColumnDragHandleProps,{column:t,table:n})),i);return(0,k.jsx)(mO,Object.assign({},g,{onDragEnd:e=>{var n;null===(n=null==g?void 0:g.onDragEnd)||void 0===n||n.call(g,e),"drop-zone"===(null==f?void 0:f.id)?t.toggleGrouping():a&&f&&(null==f?void 0:f.id)!==(null==p?void 0:p.id)&&l(u_(t,f,h)),c(null),u(null)},onDragStart:e=>{var n;null===(n=null==g?void 0:g.onDragStart)||void 0===n||n.call(g,e),c(t);try{e.dataTransfer.setDragImage(r.current,0,0)}catch(e){console.error(e)}},table:n}))},mP=e=>{var t,{header:n,table:r}=e,i=nO(e,["header","table"]);const{getState:o,options:{columnResizeDirection:a,columnResizeMode:l},setColumnSizingInfo:c}=r,{density:u}=o(),{column:d}=n,h=n.getResizeHandler(),p="compact"===u?"-8px":"comfortable"===u?"-16px":"-24px",f="display"===d.columnDef.columnDefType?"4px":"0";return(0,k.jsx)(s.A,{className:"Mui-TableHeadCell-ResizeHandle-Wrapper",onDoubleClick:()=>{c((e=>Object.assign(Object.assign({},e),{isResizingColumn:!1}))),d.resetSize()},onMouseDown:h,onTouchStart:h,style:{transform:d.getIsResizing()&&"onEnd"===l?`translateX(${("rtl"===a?-1:1)*(null!==(t=o().columnSizingInfo.deltaOffset)&&void 0!==t?t:0)}px)`:void 0},sx:e=>({"&:active > hr":{backgroundColor:e.palette.info.main,opacity:n.subHeaders.length||"onEnd"===l?1:0},cursor:"col-resize",left:"rtl"===a?f:void 0,ml:"rtl"===a?p:void 0,mr:"ltr"===a?p:void 0,position:"absolute",px:"4px",right:"ltr"===a?f:void 0}),children:(0,k.jsx)(QC.A,{className:"Mui-TableHeadCell-ResizeHandle-Divider",flexItem:!0,orientation:"vertical",sx:e=>Object.assign({borderRadius:"2px",borderWidth:"2px",height:"24px",touchAction:"none",transform:"translateX(4px)",transition:d.getIsResizing()?void 0:"all 150ms ease-in-out",userSelect:"none",zIndex:4},y_(null==i?void 0:i.sx,e))})})},yP=e=>{var{header:t,table:n}=e,r=nO(e,["header","table"]);const{getState:i,options:{icons:{ArrowDownwardIcon:o,SyncAltIcon:a},localization:s}}=n,{column:l}=t,{columnDef:c}=l,{isLoading:u,showSkeletons:d,sorting:h}=i(),p=!!l.getIsSorted(),f=u||d?"":l.getIsSorted()?"desc"===l.getIsSorted()?s.sortedByColumnDesc.replace("{column}",c.header):s.sortedByColumnAsc.replace("{column}",c.header):"desc"===l.getNextSortingOrder()?s.sortByColumnDesc.replace("{column}",c.header):s.sortByColumnAsc.replace("{column}",c.header),g=p?l.getIsSorted():void 0;return(0,k.jsx)(Ft.A,{placement:"top",title:f,children:(0,k.jsx)(bt,{badgeContent:h.length>1?l.getSortIndex()+1:0,overlap:"circular",children:(0,k.jsx)(zT,Object.assign({IconComponent:p?o:e=>(0,k.jsx)(a,Object.assign({},e,{direction:g,style:{transform:"rotate(-90deg) scaleX(0.9) translateX(-1px)"}})),active:!0,"aria-label":f,direction:g,onClick:e=>{var n;e.stopPropagation(),null===(n=t.column.getToggleSortingHandler())||void 0===n||n(e)}},r,{sx:e=>Object.assign({".MuiTableSortLabel-icon":{color:`${"dark"===e.palette.mode?e.palette.text.primary:e.palette.text.secondary} !important`},flex:"0 0",opacity:p?1:.3,transition:"all 150ms ease-in-out",width:"3ch"},y_(null==r?void 0:r.sx,e))}))})})},vP=e=>{var t,n,r,i,a,l,{columnVirtualizer:c,header:u,staticColumnIndex:d,table:h}=e,p=nO(e,["columnVirtualizer","header","staticColumnIndex","table"]);const f=(0,St.A)(),{getState:g,options:{columnFilterDisplayMode:m,columnResizeDirection:y,columnResizeMode:v,enableColumnActions:b,enableColumnDragging:w,enableColumnOrdering:x,enableColumnPinning:A,enableGrouping:S,enableMultiSort:C,layoutMode:E,mrtTheme:{draggingBorderColor:T},muiTableHeadCellProps:_},refs:{tableHeadCellRefs:O},setHoveredColumn:P}=h,{columnSizingInfo:I,density:M,draggingColumn:L,grouping:R,hoveredColumn:j,showColumnFilters:F}=g(),{column:D}=u,{columnDef:N}=D,{columnDefType:B}=N,z=Object.assign(Object.assign(Object.assign({},y_(_,{column:D,table:h})),y_(N.muiTableHeadCellProps,{column:D,table:h})),p),V=A&&"group"!==N.columnDefType&&D.getIsPinned(),$=(b||N.enableColumnActions)&&!1!==N.enableColumnActions,G=!1!==w&&!1!==N.enableColumnDragging&&(w||x&&!1!==N.enableColumnOrdering||S&&!1!==N.enableGrouping&&!R.includes(D.id)),U=(0,o.useMemo)((()=>{let e=0;return D.getCanSort()&&(e+=1),$&&(e+=1.75),G&&(e+=1.5),e}),[$,G]),W=(0,o.useMemo)((()=>{const e=I.isResizingColumn===D.id&&"onChange"===v&&!u.subHeaders.length,t=e?`2px solid ${T} !important`:(null==L?void 0:L.id)===D.id?`1px dashed ${f.palette.grey[500]}`:(null==j?void 0:j.id)===D.id?`2px dashed ${T}`:void 0;if(e)return"ltr"===y?{borderRight:t}:{borderLeft:t};return t?{borderLeft:t,borderRight:t,borderTop:t}:void 0}),[L,j,I.isResizingColumn]),q=null!==(t=y_(N.Header,{column:D,header:u,table:h}))&&void 0!==t?t:N.header;return(0,k.jsxs)(Tv,Object.assign({align:"group"===B?"center":"rtl"===f.direction?"right":"left","aria-sort":D.getIsSorted()?"asc"===D.getIsSorted()?"ascending":"descending":"none",colSpan:u.colSpan,"data-can-sort":D.getCanSort()||void 0,"data-index":d,"data-pinned":!!V||void 0,"data-sort":D.getIsSorted()||void 0,onDragEnter:e=>{S&&"drop-zone"===(null==j?void 0:j.id)&&P(null),x&&L&&"group"!==B&&P(!1!==N.enableColumnOrdering?D:null)},onDragOver:e=>{!1!==N.enableColumnOrdering&&e.preventDefault()},ref:e=>{var t;e&&(O.current[D.id]=e,"group"!==B&&(null===(t=null==c?void 0:c.measureElement)||void 0===t||t.call(c,e)))}},z,{sx:e=>Object.assign(Object.assign({"& :hover":{".MuiButtonBase-root":{opacity:1}},flexDirection:(null==E?void 0:E.startsWith("grid"))?"column":void 0,fontWeight:"bold",overflow:"visible",p:"compact"===M?"0.5rem":"comfortable"===M?"display"===B?"0.75rem":"1rem":"display"===B?"1rem 1.25rem":"1.5rem",pb:"display"===B?0:F||"compact"===M?"0.4rem":"0.6rem",pt:"group"===B||"compact"===M?"0.25rem":"comfortable"===M?".75rem":"1.25rem",userSelect:C&&D.getCanSort()?"none":void 0,verticalAlign:"top"},sO({column:D,header:u,table:h,tableCellProps:z,theme:e})),W),children:[u.isPlaceholder?null:null!==(n=z.children)&&void 0!==n?n:(0,k.jsxs)(s.A,{className:"Mui-TableHeadCell-Content",sx:{alignItems:"center",display:"flex",flexDirection:"right"===(null==z?void 0:z.align)?"row-reverse":"row",justifyContent:"group"===B||"center"===(null==z?void 0:z.align)?"center":D.getCanResize()?"space-between":"flex-start",position:"relative",width:"100%"},children:[(0,k.jsxs)(s.A,{className:"Mui-TableHeadCell-Content-Labels",onClick:D.getToggleSortingHandler(),sx:{alignItems:"center",cursor:D.getCanSort()&&"group"!==B?"pointer":void 0,display:"flex",flexDirection:"right"===(null==z?void 0:z.align)?"row-reverse":"row",overflow:"data"===B?"hidden":void 0,pl:"center"===(null==z?void 0:z.align)?`${U}rem`:void 0},children:[(0,k.jsx)(s.A,{className:"Mui-TableHeadCell-Content-Wrapper",sx:{"&:hover":{textOverflow:"clip"},minWidth:`${Math.min(null!==(i=null===(r=N.header)||void 0===r?void 0:r.length)&&void 0!==i?i:0,4)}ch`,overflow:"data"===B?"hidden":void 0,textOverflow:"ellipsis",whiteSpace:(null!==(l=null===(a=N.header)||void 0===a?void 0:a.length)&&void 0!==l?l:0)<20?"nowrap":"normal"},children:q}),D.getCanFilter()&&(0,k.jsx)(fP,{header:u,table:h}),D.getCanSort()&&(0,k.jsx)(yP,{header:u,table:h})]}),"group"!==B&&(0,k.jsxs)(s.A,{className:"Mui-TableHeadCell-Content-Actions",sx:{whiteSpace:"nowrap"},children:[G&&(0,k.jsx)(gP,{column:D,table:h,tableHeadCellRef:{current:O.current[D.id]}}),$&&(0,k.jsx)(lP,{header:u,table:h})]}),D.getCanResize()&&(0,k.jsx)(mP,{header:u,table:h})]}),"subheader"===m&&D.getCanFilter()&&(0,k.jsx)(pP,{header:u,table:h})]}))},bP=e=>{var{columnVirtualizer:t,headerGroup:n,table:r}=e,i=nO(e,["columnVirtualizer","headerGroup","table"]);const{options:{enableStickyHeader:o,layoutMode:a,mrtTheme:{baseBackgroundColor:s},muiTableHeadRowProps:l}}=r,{virtualColumns:c,virtualPaddingLeft:u,virtualPaddingRight:d}=null!=t?t:{},h=Object.assign(Object.assign({},y_(l,{headerGroup:n,table:r})),i);return(0,k.jsxs)(Av,Object.assign({},h,{sx:e=>Object.assign({backgroundColor:s,boxShadow:`4px 0 8px ${(0,te.X4)(e.palette.common.black,.1)}`,display:(null==a?void 0:a.startsWith("grid"))?"flex":void 0,position:o&&"semantic"===a?"sticky":"relative",top:0},y_(null==h?void 0:h.sx,e)),children:[u?(0,k.jsx)("th",{style:{display:"flex",width:u}}):null,(null!=c?c:n.headers).map(((e,i)=>{let o=e;return t&&(i=e.index,o=n.headers[i]),o?(0,k.jsx)(vP,{columnVirtualizer:t,header:o,staticColumnIndex:i,table:r},o.id):null})),d?(0,k.jsx)("th",{style:{display:"flex",width:d}}):null]}))},wP=e=>{var t,n,r,{stackAlertBanner:i,table:a}=e,l=nO(e,["stackAlertBanner","table"]);const{getFilteredSelectedRowModel:c,getPrePaginationRowModel:u,getState:d,options:{enableRowSelection:h,enableSelectAll:f,localization:g,manualPagination:m,muiToolbarAlertBannerChipProps:y,muiToolbarAlertBannerProps:v,positionToolbarAlertBanner:b,renderToolbarAlertBannerContent:w,rowCount:x},refs:{tablePaperRef:A}}=a,{density:S,grouping:C,rowSelection:E,showAlertBanner:T}=d(),_=Object.assign(Object.assign({},y_(v,{table:a})),l),O=y_(y,{table:a}),P=null!=x?x:u().flatRows.length,I=(0,o.useMemo)((()=>m?Object.values(E).filter(Boolean).length:c().rows.length),[E,P,m]),M=I>0?(0,k.jsxs)(js,{alignItems:"center",direction:"row",gap:"16px",children:[null===(n=null===(t=g.selectedCountOfRowCountRowsSelected)||void 0===t?void 0:t.replace("{selectedCount}",I.toLocaleString()))||void 0===n?void 0:n.replace("{rowCount}",P.toString()),(0,k.jsx)(jt,{onClick:e=>B_({table:a})(e,!1,!0),size:"small",sx:{p:"2px"},children:g.clearSelection})]}):null,L=C.length>0?(0,k.jsxs)("span",{children:[g.groupedBy," ",C.map(((e,t)=>(0,k.jsxs)(o.Fragment,{children:[t>0?g.thenBy:"",(0,k.jsx)(ke,Object.assign({label:a.getColumn(e).columnDef.header,onDelete:()=>a.getColumn(e).toggleGrouping()},O))]},`${t}-${e}`)))]}):null;return(0,k.jsx)(p.A,{in:T||!!M||!!L,timeout:i?200:0,children:(0,k.jsx)(uf,Object.assign({color:"info",icon:!1},_,{sx:e=>{var t,n;return Object.assign({"& .MuiAlert-message":{maxWidth:`calc(${null!==(n=null===(t=A.current)||void 0===t?void 0:t.clientWidth)&&void 0!==n?n:360}px - 1rem)`,width:"100%"},borderRadius:0,fontSize:"1rem",left:0,mb:i?0:"bottom"===b?"-1rem":void 0,p:0,position:"relative",right:0,top:0,width:"100%",zIndex:2},y_(null==_?void 0:_.sx,e))},children:null!==(r=null==w?void 0:w({groupedAlert:L,selectedAlert:M,table:a}))&&void 0!==r?r:(0,k.jsxs)(k.Fragment,{children:[(null==_?void 0:_.title)&&(0,k.jsx)(GT,{children:_.title}),(0,k.jsxs)(js,{sx:{p:"head-overlay"!==b?"0.5rem 1rem":"spacious"===S?"0.75rem 1.25rem":"comfortable"===S?"0.5rem 0.75rem":"0.25rem 0.5rem"},children:[null==_?void 0:_.children,(null==_?void 0:_.children)&&(M||L)&&(0,k.jsx)("br",{}),(0,k.jsxs)(s.A,{sx:{display:"flex"},children:[h&&f&&"head-overlay"===b&&(0,k.jsx)(EO,{table:a})," ",M]}),M&&L&&(0,k.jsx)("br",{}),L]})]})}))})},xP=e=>{var{columnVirtualizer:t,table:n}=e,r=nO(e,["columnVirtualizer","table"]);const{getState:i,options:{enableStickyHeader:o,layoutMode:a,muiTableHeadProps:s,positionToolbarAlertBanner:l},refs:{tableHeadRef:c}}=n,{isFullScreen:u,showAlertBanner:d}=i(),h=Object.assign(Object.assign({},y_(s,{table:n})),r),p=o||u;return(0,k.jsx)(ob,Object.assign({},h,{ref:e=>{c.current=e,(null==h?void 0:h.ref)&&(h.ref.current=e)},sx:e=>Object.assign({display:(null==a?void 0:a.startsWith("grid"))?"grid":void 0,opacity:.97,position:p?"sticky":"relative",top:p&&(null==a?void 0:a.startsWith("grid"))?0:void 0,zIndex:p?2:void 0},y_(null==h?void 0:h.sx,e)),children:"head-overlay"===l&&(d||n.getSelectedRowModel().rows.length>0)?(0,k.jsx)("tr",{style:{display:(null==a?void 0:a.startsWith("grid"))?"grid":void 0},children:(0,k.jsx)("th",{colSpan:n.getVisibleLeafColumns().length,style:{display:(null==a?void 0:a.startsWith("grid"))?"grid":void 0,padding:0},children:(0,k.jsx)(wP,{table:n})})}):n.getHeaderGroups().map((e=>(0,k.jsx)(bP,{columnVirtualizer:t,headerGroup:e,table:n},e.id)))}))},AP=e=>{var{table:t}=e,n=nO(e,["table"]);const{getFlatHeaders:r,getState:i,options:{columns:a,enableStickyHeader:s,enableTableFooter:l,enableTableHead:c,layoutMode:u,memoMode:d,muiTableProps:h,renderCaption:p}}=t,{columnSizing:f,columnSizingInfo:g,columnVisibility:m,isFullScreen:y}=i(),v=Object.assign(Object.assign({},y_(h,{table:t})),n),b=y_(p,{table:t}),w=(0,o.useMemo)((()=>{const e=r(),t={};for(let n=0;nObject.assign({borderCollapse:"separate",display:(null==u?void 0:u.startsWith("grid"))?"grid":void 0,position:"relative"},y_(null==v?void 0:v.sx,e)),children:[!!b&&(0,k.jsx)("caption",{children:b}),c&&(0,k.jsx)(xP,Object.assign({},x)),"table-body"===d||g.isResizingColumn?(0,k.jsx)(ZO,Object.assign({},x)):(0,k.jsx)(XO,Object.assign({},x)),l&&(0,k.jsx)(eP,Object.assign({},x))]}))},SP=e=>{var t,{table:n}=e,r=nO(e,["table"]);const{options:{localization:i,mrtTheme:{baseBackgroundColor:o},muiCircularProgressProps:a}}=n,l=Object.assign(Object.assign({},y_(a,{table:n})),r);return(0,k.jsx)(s.A,{sx:{alignItems:"center",backgroundColor:(0,te.X4)(o,.5),bottom:0,display:"flex",justifyContent:"center",left:0,maxHeight:"100vh",position:"absolute",right:0,top:0,width:"100%",zIndex:3},children:null!==(t=null==l?void 0:l.Component)&&void 0!==t?t:(0,k.jsx)(Er,Object.assign({"aria-label":i.noRecordsToDisplay,id:"mrt-progress"},l))})},CP=e=>{var t,n,{table:r}=e,i=nO(e,["table"]);const{getState:o,options:{editDisplayMode:a,enableClickToCopy:s,enableEditing:l,icons:{ContentCopy:c,EditIcon:u},localization:d,mrtTheme:{menuBackgroundColor:h},renderCellActionMenuItems:p},refs:{actionCellRef:f}}=r,{actionCell:g,density:m}=o(),y=g,{row:v}=y,{column:b}=y,{columnDef:w}=b,x=e=>{null==e||e.stopPropagation(),r.setActionCell(null),f.current=null},A=[("context-menu"===y_(s,y)||"context-menu"===y_(w.enableClickToCopy,y))&&(0,k.jsx)(dO,{icon:(0,k.jsx)(c,{}),label:d.copy,onClick:e=>{e.stopPropagation(),navigator.clipboard.writeText(y.getValue()),x()},table:r},"mrt-copy"),y_(l,v)&&"cell"===a&&(0,k.jsx)(dO,{icon:(0,k.jsx)(u,{}),label:d.edit,onClick:()=>{w_({cell:y,table:r}),x()},table:r},"mrt-edit")].filter(Boolean),S={cell:y,closeMenu:x,column:b,internalMenuItems:A,row:v,table:r},C=null!==(n=null===(t=w.renderCellActionMenuItems)||void 0===t?void 0:t.call(w,S))&&void 0!==n?n:null==p?void 0:p(S);return(!!(null==C?void 0:C.length)||!!(null==A?void 0:A.length))&&(0,k.jsx)(Dl,Object.assign({MenuListProps:{dense:"compact"===m,sx:{backgroundColor:h}},anchorEl:f.current,disableScrollLock:!0,onClick:e=>e.stopPropagation(),onClose:x,open:!!y,transformOrigin:{horizontal:-100,vertical:8}},i,{children:null!=C?C:A}))},EP=e=>{var t,{open:n,table:r}=e,i=nO(e,["open","table"]);const{getState:o,options:{localization:a,muiCreateRowModalProps:s,muiEditRowDialogProps:l,onCreatingRowCancel:c,onEditingRowCancel:u,renderCreateRowDialogContent:d,renderEditRowDialogContent:h},setCreatingRow:p,setEditingRow:f}=r,{creatingRow:g,editingRow:m}=o(),y=null!=g?g:m,v=Object.assign(Object.assign(Object.assign({},y_(l,{row:y,table:r})),g&&y_(s,{row:y,table:r})),i),b=y.getAllCells().filter((e=>"data"===e.column.columnDef.columnDefType)).map((e=>(0,k.jsx)(UO,{cell:e,table:r},e.id)));return(0,k.jsx)(ys,Object.assign({fullWidth:!0,maxWidth:"xs",onClose:(e,t)=>{var n;g?(null==c||c({row:y,table:r}),p(null)):(null==u||u({row:y,table:r}),f(null)),y._valuesCache={},null===(n=v.onClose)||void 0===n||n.call(v,e,t)},open:n},v,{children:null!==(t=g&&(null==d?void 0:d({internalEditComponents:b,row:y,table:r}))||(null==h?void 0:h({internalEditComponents:b,row:y,table:r})))&&void 0!==t?t:(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(Cs,{sx:{textAlign:"center"},children:a.edit}),(0,k.jsx)(Ns,{children:(0,k.jsx)("form",{onSubmit:e=>e.preventDefault(),children:(0,k.jsx)(js,{sx:{gap:"32px",paddingTop:"16px",width:"100%"},children:b})})}),(0,k.jsx)(ws,{sx:{p:"1.25rem"},children:(0,k.jsx)(rO,{row:y,table:r,variant:"text"})})]})}))},kP="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,TP=e=>{var{table:t}=e,n=nO(e,["table"]);const{getState:r,options:{createDisplayMode:i,editDisplayMode:a,enableCellActions:s,enableStickyHeader:l,muiTableContainerProps:c},refs:{bottomToolbarRef:u,tableContainerRef:d,topToolbarRef:h}}=t,{actionCell:p,creatingRow:f,editingRow:g,isFullScreen:m,isLoading:y,showLoadingOverlay:v}=r(),b=!1!==v&&(y||v),[w,x]=(0,o.useState)(0),A=Object.assign(Object.assign({},y_(c,{table:t})),n);kP((()=>{var e,t,n,r;const i="undefined"!=typeof document&&null!==(t=null===(e=h.current)||void 0===e?void 0:e.offsetHeight)&&void 0!==t?t:0,o="undefined"!=typeof document&&null!==(r=null===(n=null==u?void 0:u.current)||void 0===n?void 0:n.offsetHeight)&&void 0!==r?r:0;x(i+o)}));const S="modal"===i&&f,C="modal"===a&&g;return(0,k.jsxs)(ov,Object.assign({"aria-busy":b,"aria-describedby":b?"mrt-progress":void 0},A,{ref:e=>{e&&(d.current=e,(null==A?void 0:A.ref)&&(A.ref.current=e))},style:Object.assign({maxHeight:m?`calc(100vh - ${w}px)`:void 0},null==A?void 0:A.style),sx:e=>Object.assign({maxHeight:l?`clamp(350px, calc(100vh - ${w}px), 9999px)`:void 0,maxWidth:"100%",overflow:"auto",position:"relative"},y_(null==A?void 0:A.sx,e)),children:[b?(0,k.jsx)(SP,{table:t}):null,(0,k.jsx)(AP,{table:t}),(S||C)&&(0,k.jsx)(EP,{open:!0,table:t}),s&&p&&(0,k.jsx)(CP,{table:t})]}))},_P=e=>{var{isTopToolbar:t,table:n}=e,r=nO(e,["isTopToolbar","table"]);const{getState:i,options:{muiLinearProgressProps:o}}=n,{isSaving:a,showProgressBars:s}=i(),l=Object.assign(Object.assign({},y_(o,{isTopToolbar:t,table:n})),r);return(0,k.jsx)(p.A,{in:!1!==s&&(s||a),mountOnEnter:!0,sx:{bottom:t?0:void 0,position:"absolute",top:t?void 0:0,width:"100%"},unmountOnExit:!0,children:(0,k.jsx)(cl,Object.assign({"aria-busy":"true","aria-label":"Loading",sx:{position:"relative"}},l))})},OP=[5,10,15,20,25,30,50,100],PP=e=>{var{position:t="bottom",table:n}=e,r=nO(e,["position","table"]);const i=(0,St.A)(),o=(0,Ct.A)("(max-width: 720px)"),{getState:a,options:{enableToolbarInternalActions:l,icons:{ChevronLeftIcon:c,ChevronRightIcon:u,FirstPageIcon:d,LastPageIcon:h},localization:p,muiPaginationProps:f,paginationDisplayMode:g}}=n,{pagination:{pageIndex:m=0,pageSize:y=10},showGlobalFilter:v}=a(),b=Object.assign(Object.assign({},y_(f,{table:n})),r),w=n.getRowCount(),x=n.getPageCount(),A=x>2,S=m*y,C=Math.min(m*y+y,w),E=null!=b?b:{},{SelectProps:T={},disabled:_=!1,rowsPerPageOptions:O=OP,showFirstButton:P=A,showLastButton:I=A,showRowsPerPage:M=!0}=E,L=nO(E,["SelectProps","disabled","rowsPerPageOptions","showFirstButton","showLastButton","showRowsPerPage"]),R=m<=0||_,j=C>=w||_;o&&!1!==(null==T?void 0:T.native)&&(T.native=!0);const F=uO();return(0,k.jsxs)(s.A,{className:"MuiTablePagination-root",sx:{alignItems:"center",display:"flex",flexWrap:"wrap",gap:"8px",justifyContent:{md:"space-between",sm:"center"},justifySelf:"flex-end",mt:"top"===t&&l&&!v?"3rem":void 0,position:"relative",px:"8px",py:"12px",zIndex:2},children:[M&&(0,k.jsxs)(s.A,{sx:{alignItems:"center",display:"flex",gap:"8px"},children:[(0,k.jsx)(jh.A,{htmlFor:"mrt-rows-per-page",sx:{mb:0},children:p.rowsPerPage}),(0,k.jsx)(yp,Object.assign({MenuProps:{disableScrollLock:!0},disableUnderline:!0,disabled:_,inputProps:{"aria-label":p.rowsPerPage,id:"mrt-rows-per-page"},label:p.rowsPerPage,onChange:e=>n.setPageSize(+e.target.value),sx:{mb:0},value:y,variant:"standard"},T,{children:O.map((e=>{var t;const n="number"!=typeof e?e.value:e,r="number"!=typeof e?e.label:`${e}`;return null!==(t=null==T?void 0:T.children)&&void 0!==t?t:(null==T?void 0:T.native)?(0,k.jsx)("option",{value:n,children:r},n):(0,k.jsx)(un,{sx:{m:0},value:n,children:r},n)}))}))]}),"pages"===g?(0,k.jsx)(a_,Object.assign({count:x,disabled:_,onChange:(e,t)=>n.setPageIndex(t-1),page:m+1,renderItem:e=>(0,k.jsx)(t_,Object.assign({slots:{first:d,last:h,next:u,previous:c}},e)),showFirstButton:P,showLastButton:I},L)):"default"===g?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(In.A,{align:"center",component:"span",sx:{m:"0 4px",minWidth:"8ch"},variant:"body2",children:`${0===C?0:(S+1).toLocaleString()}-${C.toLocaleString()} ${p.of} ${w.toLocaleString()}`}),(0,k.jsxs)(s.A,{gap:"xs",children:[P&&(0,k.jsx)(Ft.A,Object.assign({},F,{title:p.goToFirstPage,children:(0,k.jsx)("span",{children:(0,k.jsx)(ye.A,{"aria-label":p.goToFirstPage,disabled:R,onClick:()=>n.firstPage(),size:"small",children:(0,k.jsx)(d,Object.assign({},cO(i)))})})})),(0,k.jsx)(Ft.A,Object.assign({},F,{title:p.goToPreviousPage,children:(0,k.jsx)("span",{children:(0,k.jsx)(ye.A,{"aria-label":p.goToPreviousPage,disabled:R,onClick:()=>n.previousPage(),size:"small",children:(0,k.jsx)(c,Object.assign({},cO(i)))})})})),(0,k.jsx)(Ft.A,Object.assign({},F,{title:p.goToNextPage,children:(0,k.jsx)("span",{children:(0,k.jsx)(ye.A,{"aria-label":p.goToNextPage,disabled:j,onClick:()=>n.nextPage(),size:"small",children:(0,k.jsx)(u,Object.assign({},cO(i)))})})})),I&&(0,k.jsx)(Ft.A,Object.assign({},F,{title:p.goToLastPage,children:(0,k.jsx)("span",{children:(0,k.jsx)(ye.A,{"aria-label":p.goToLastPage,disabled:j,onClick:()=>n.lastPage(),size:"small",children:(0,k.jsx)(h,Object.assign({},cO(i)))})})}))]})]}):null]})},IP=e=>{var t,n,{table:r}=e,i=nO(e,["table"]);const{getState:a,options:{enableGrouping:l,localization:c},setHoveredColumn:u,setShowToolbarDropZone:d}=r,{draggingColumn:h,grouping:p,hoveredColumn:f,showToolbarDropZone:g}=a();return(0,o.useEffect)((()=>{var e;void 0!==(null===(e=r.options.state)||void 0===e?void 0:e.showToolbarDropZone)&&d(!!l&&!!h&&!1!==h.columnDef.enableGrouping&&!p.includes(h.id))}),[l,h,p]),(0,k.jsx)(Dt.A,{in:g,children:(0,k.jsx)(s.A,Object.assign({className:"Mui-ToolbarDropZone",onDragEnter:e=>{u({id:"drop-zone"})},onDragOver:e=>{e.preventDefault()}},i,{sx:e=>Object.assign({alignItems:"center",backdropFilter:"blur(4px)",backgroundColor:(0,te.X4)(e.palette.info.main,"drop-zone"===(null==f?void 0:f.id)?.2:.1),border:`dashed ${e.palette.info.main} 2px`,boxSizing:"border-box",display:"flex",height:"100%",justifyContent:"center",position:"absolute",width:"100%",zIndex:4},y_(null==i?void 0:i.sx,e)),children:(0,k.jsx)(In.A,{fontStyle:"italic",children:c.dropToGroupBy.replace("{column}",null!==(n=null===(t=null==h?void 0:h.columnDef)||void 0===t?void 0:t.header)&&void 0!==n?n:"")})}))})},MP=e=>{var{table:t}=e,n=nO(e,["table"]);const{getState:r,options:{enablePagination:i,muiBottomToolbarProps:o,positionPagination:a,positionToolbarAlertBanner:l,positionToolbarDropZone:c,renderBottomToolbarCustomActions:u},refs:{bottomToolbarRef:d}}=t,{isFullScreen:h}=r(),p=(0,Ct.A)("(max-width:720px)"),f=Object.assign(Object.assign({},y_(o,{table:t})),n),g=p||!!u;return(0,k.jsxs)(s.A,Object.assign({},f,{ref:e=>{e&&(d.current=e,(null==f?void 0:f.ref)&&(f.ref.current=e))},sx:e=>Object.assign(Object.assign(Object.assign({},lO({table:t,theme:e})),{bottom:h?"0":void 0,boxShadow:`0 1px 2px -1px ${(0,te.X4)(e.palette.grey[700],.5)} inset`,left:0,position:h?"fixed":"relative",right:0}),y_(null==f?void 0:f.sx,e)),children:[(0,k.jsx)(_P,{isTopToolbar:!1,table:t}),"bottom"===l&&(0,k.jsx)(wP,{stackAlertBanner:g,table:t}),["both","bottom"].includes(null!=c?c:"")&&(0,k.jsx)(IP,{table:t}),(0,k.jsxs)(s.A,{sx:{alignItems:"center",boxSizing:"border-box",display:"flex",justifyContent:"space-between",p:"0.5rem",width:"100%"},children:[u?u({table:t}):(0,k.jsx)("span",{}),(0,k.jsx)(s.A,{sx:{display:"flex",justifyContent:"flex-end",position:g?"relative":"absolute",right:0,top:0},children:i&&["both","bottom"].includes(null!=a?a:"")&&(0,k.jsx)(PP,{position:"bottom",table:t})})]})]}))},LP=e=>{var{column:t,table:n}=e,r=nO(e,["column","table"]);const{options:{icons:{PushPinIcon:i},localization:o}}=n,a=e=>{t.pin(e)};return(0,k.jsx)(s.A,Object.assign({},r,{sx:e=>Object.assign({minWidth:"70px",textAlign:"center"},y_(null==r?void 0:r.sx,e)),children:t.getIsPinned()?(0,k.jsx)(Ft.A,{title:o.unpin,children:(0,k.jsx)(ye.A,{onClick:()=>a(!1),size:"small",children:(0,k.jsx)(i,{})})}):(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(Ft.A,{title:o.pinToLeft,children:(0,k.jsx)(ye.A,{onClick:()=>a("left"),size:"small",children:(0,k.jsx)(i,{style:{transform:"rotate(90deg)"}})})}),(0,k.jsx)(Ft.A,{title:o.pinToRight,children:(0,k.jsx)(ye.A,{onClick:()=>a("right"),size:"small",children:(0,k.jsx)(i,{style:{transform:"rotate(-90deg)"}})})})]})}))},RP=e=>{var t,{allColumns:n,column:r,hoveredColumn:i,isNestedColumns:a,setHoveredColumn:l,table:c}=e,u=nO(e,["allColumns","column","hoveredColumn","isNestedColumns","setHoveredColumn","table"]);const{getState:d,options:{enableColumnOrdering:h,enableColumnPinning:p,enableHiding:f,localization:g,mrtTheme:{draggingBorderColor:m}},setColumnOrder:y}=c,{columnOrder:v}=d(),{columnDef:b}=r,{columnDefType:w}=b,x=r.getIsVisible(),A=(0,o.useRef)(null),[S,C]=(0,o.useState)(!1);return b.header&&!1!==b.visibleInShowHideMenu?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(un,Object.assign({disableRipple:!0,onDragEnter:e=>{S||!1===b.enableColumnOrdering||l(r)},ref:A},u,{sx:e=>Object.assign({alignItems:"center",justifyContent:"flex-start",my:0,opacity:S?.5:1,outline:S?`2px dashed ${e.palette.grey[500]}`:(null==i?void 0:i.id)===r.id?`2px dashed ${m}`:"none",outlineOffset:"-2px",pl:2*(r.depth+.5)+"rem",py:"6px"},y_(null==u?void 0:u.sx,e)),children:(0,k.jsxs)(s.A,{sx:{display:"flex",flexWrap:"nowrap",gap:"8px"},children:["group"!==w&&h&&!a&&(!1!==b.enableColumnOrdering?(0,k.jsx)(mO,{onDragEnd:e=>{C(!1),l(null),i&&y(u_(r,i,v))},onDragStart:e=>{C(!0);try{e.dataTransfer.setDragImage(A.current,0,0)}catch(e){console.error(e)}},table:c}):(0,k.jsx)(s.A,{sx:{width:"28px"}})),p&&(r.getCanPin()?(0,k.jsx)(LP,{column:r,table:c}):(0,k.jsx)(s.A,{sx:{width:"70px"}})),f?(0,k.jsx)(Lg,{checked:x,componentsProps:{typography:{sx:{mb:0,opacity:"display"!==w?1:.5}}},control:(0,k.jsx)(Ft.A,Object.assign({},uO(),{title:g.toggleVisibility,children:(0,k.jsx)(Rg.A,{})})),disabled:!r.getCanHide(),label:b.header,onChange:()=>(e=>{var t,n;"group"===w?null===(n=null===(t=null==e?void 0:e.columns)||void 0===t?void 0:t.forEach)||void 0===n||n.call(t,(e=>{e.toggleVisibility(!x)})):e.toggleVisibility()})(r)}):(0,k.jsx)(In.A,{sx:{alignSelf:"center"},children:b.header})]})})),null===(t=r.columns)||void 0===t?void 0:t.map(((e,t)=>(0,k.jsx)(RP,{allColumns:n,column:e,hoveredColumn:i,isNestedColumns:a,setHoveredColumn:l,table:c},`${t}-${e.id}`)))]}):null},jP=e=>{var{anchorEl:t,setAnchorEl:n,table:r}=e,i=nO(e,["anchorEl","setAnchorEl","table"]);const{getAllColumns:a,getAllLeafColumns:l,getCenterLeafColumns:c,getIsAllColumnsVisible:u,getIsSomeColumnsPinned:d,getIsSomeColumnsVisible:h,getLeftLeafColumns:p,getRightLeafColumns:f,getState:g,options:{enableColumnOrdering:m,enableColumnPinning:y,enableHiding:v,localization:b,mrtTheme:{menuBackgroundColor:w}}}=r,{columnOrder:x,columnPinning:A,density:S}=g(),C=e=>{l().filter((e=>!1!==e.columnDef.enableHiding)).forEach((t=>t.toggleVisibility(e)))},E=(0,o.useMemo)((()=>{const e=a();return x.length>0&&!e.some((e=>"group"===e.columnDef.columnDefType))?[...p(),...Array.from(new Set(x)).map((e=>c().find((t=>(null==t?void 0:t.id)===e)))),...f()].filter(Boolean):e}),[x,A,a(),c(),p(),f()]),T=E.some((e=>"group"===e.columnDef.columnDefType)),[_,O]=(0,o.useState)(null);return(0,k.jsxs)(Dl,Object.assign({MenuListProps:{dense:"compact"===S,sx:{backgroundColor:w}},anchorEl:t,disableScrollLock:!0,onClose:()=>n(null),open:!!t},i,{children:[(0,k.jsxs)(s.A,{sx:{display:"flex",justifyContent:"space-between",p:"0.5rem",pt:0},children:[v&&(0,k.jsx)(jt,{disabled:!h(),onClick:()=>C(!1),children:b.hideAll}),m&&(0,k.jsx)(jt,{onClick:()=>r.setColumnOrder(I_(r.options,!0)),children:b.resetOrder}),y&&(0,k.jsx)(jt,{disabled:!d(),onClick:()=>r.resetColumnPinning(!0),children:b.unpinAll}),v&&(0,k.jsx)(jt,{disabled:u(),onClick:()=>C(!0),children:b.showAll})]}),(0,k.jsx)(QC.A,{}),E.map(((e,t)=>(0,k.jsx)(RP,{allColumns:E,column:e,hoveredColumn:_,isNestedColumns:T,setHoveredColumn:O,table:r},`${t}-${e.id}`)))]}))},FP=e=>{var t,{table:n}=e,r=nO(e,["table"]);const{options:{icons:{ViewColumnIcon:i},localization:a}}=n,[s,l]=(0,o.useState)(null);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(Ft.A,{title:null!==(t=null==r?void 0:r.title)&&void 0!==t?t:a.showHideColumns,children:(0,k.jsx)(ye.A,Object.assign({"aria-label":a.showHideColumns,onClick:e=>{l(e.currentTarget)}},r,{title:void 0,children:(0,k.jsx)(i,{})}))}),s&&(0,k.jsx)(jP,{anchorEl:s,setAnchorEl:l,table:n})]})},DP=e=>{var t,{table:n}=e,r=nO(e,["table"]);const{getState:i,options:{icons:{DensityLargeIcon:o,DensityMediumIcon:a,DensitySmallIcon:s},localization:l},setDensity:c}=n,{density:u}=i();return(0,k.jsx)(Ft.A,{title:null!==(t=null==r?void 0:r.title)&&void 0!==t?t:l.toggleDensity,children:(0,k.jsx)(ye.A,Object.assign({"aria-label":l.toggleDensity,onClick:()=>{c("comfortable"===u?"compact":"compact"===u?"spacious":"comfortable")}},r,{title:void 0,children:"compact"===u?(0,k.jsx)(s,{}):"comfortable"===u?(0,k.jsx)(a,{}):(0,k.jsx)(o,{})}))})},NP=e=>{var t,{table:n}=e,r=nO(e,["table"]);const{getState:i,options:{icons:{FilterListIcon:o,FilterListOffIcon:a},localization:s},setShowColumnFilters:l}=n,{showColumnFilters:c}=i();return(0,k.jsx)(Ft.A,{title:null!==(t=null==r?void 0:r.title)&&void 0!==t?t:s.showHideFilters,children:(0,k.jsx)(ye.A,Object.assign({"aria-label":s.showHideFilters,onClick:()=>{l(!c)}},r,{title:void 0,children:c?(0,k.jsx)(a,{}):(0,k.jsx)(o,{})}))})},BP=e=>{var t,{table:n}=e,r=nO(e,["table"]);const{getState:i,options:{icons:{FullscreenExitIcon:a,FullscreenIcon:s},localization:l},setIsFullScreen:c}=n,{isFullScreen:u}=i(),[d,h]=(0,o.useState)(!1);return(0,k.jsx)(Ft.A,{open:d,title:null!==(t=null==r?void 0:r.title)&&void 0!==t?t:l.toggleFullScreen,children:(0,k.jsx)(ye.A,Object.assign({"aria-label":l.toggleFullScreen,onClick:()=>{h(!1),c(!u)},onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1)},r,{title:void 0,children:u?(0,k.jsx)(a,{}):(0,k.jsx)(s,{})}))})},zP=e=>{var t,n,{table:r}=e,i=nO(e,["table"]);const{getState:o,options:{icons:{SearchIcon:a,SearchOffIcon:s},localization:l},refs:{searchInputRef:c},setShowGlobalFilter:u}=r,{globalFilter:d,showGlobalFilter:h}=o();return(0,k.jsx)(Ft.A,{title:null!==(t=null==i?void 0:i.title)&&void 0!==t?t:l.showHideSearch,children:(0,k.jsx)(ye.A,Object.assign({"aria-label":null!==(n=null==i?void 0:i.title)&&void 0!==n?n:l.showHideSearch,disabled:!!d,onClick:()=>{u(!h),queueMicrotask((()=>{var e;return null===(e=c.current)||void 0===e?void 0:e.focus()}))}},i,{title:void 0,children:h?(0,k.jsx)(s,{}):(0,k.jsx)(a,{})}))})},VP=e=>{var t,{table:n}=e,r=nO(e,["table"]);const{options:{columnFilterDisplayMode:i,enableColumnFilters:o,enableColumnOrdering:a,enableColumnPinning:l,enableDensityToggle:c,enableFilters:u,enableFullScreenToggle:d,enableGlobalFilter:h,enableHiding:p,initialState:f,renderToolbarInternalActions:g}}=n;return(0,k.jsx)(s.A,Object.assign({},r,{sx:e=>Object.assign({alignItems:"center",display:"flex",zIndex:3},y_(null==r?void 0:r.sx,e)),children:null!==(t=null==g?void 0:g({table:n}))&&void 0!==t?t:(0,k.jsxs)(k.Fragment,{children:[u&&h&&!(null==f?void 0:f.showGlobalFilter)&&(0,k.jsx)(zP,{table:n}),u&&o&&"popover"!==i&&(0,k.jsx)(NP,{table:n}),(p||a||l)&&(0,k.jsx)(FP,{table:n}),c&&(0,k.jsx)(DP,{table:n}),d&&(0,k.jsx)(BP,{table:n})]})}))},$P=e=>{var t,{table:n}=e,r=nO(e,["table"]);const{getState:i,options:{enableGlobalFilterModes:a,icons:{CloseIcon:s,SearchIcon:l},localization:c,manualFiltering:u,muiSearchTextFieldProps:d},refs:{searchInputRef:h},setGlobalFilter:f}=n,{globalFilter:g,showGlobalFilter:m}=i(),y=Object.assign(Object.assign({},y_(d,{table:n})),r),v=(0,o.useRef)(!1),[b,w]=(0,o.useState)(null),[x,A]=(0,o.useState)(null!=g?g:""),S=(0,o.useCallback)((0,ai.A)((e=>{var t;f(null!==(t=e.target.value)&&void 0!==t?t:void 0)}),u?500:250),[]),C=()=>{A(""),f(void 0)};return(0,o.useEffect)((()=>{v.current&&(void 0===g?C():A(g)),v.current=!0}),[g]),(0,k.jsxs)(p.A,{in:m,mountOnEnter:!0,orientation:"horizontal",unmountOnExit:!0,children:[(0,k.jsx)(Kv,Object.assign({inputProps:Object.assign({autoComplete:"new-password"},y.inputProps),onChange:e=>{A(e.target.value),S(e)},placeholder:c.search,size:"small",value:null!=x?x:"",variant:"outlined"},y,{InputProps:Object.assign(Object.assign({endAdornment:(0,k.jsx)(db,{position:"end",children:(0,k.jsx)(Ft.A,{title:null!==(t=c.clearSearch)&&void 0!==t?t:"",children:(0,k.jsx)("span",{children:(0,k.jsx)(ye.A,{"aria-label":c.clearSearch,disabled:!(null==x?void 0:x.length),onClick:C,size:"small",children:(0,k.jsx)(s,{})})})})}),startAdornment:a?(0,k.jsx)(db,{position:"start",children:(0,k.jsx)(Ft.A,{title:c.changeSearchMode,children:(0,k.jsx)(ye.A,{"aria-label":c.changeSearchMode,onClick:e=>{w(e.currentTarget)},size:"small",sx:{height:"1.75rem",width:"1.75rem"},children:(0,k.jsx)(l,{})})})}):(0,k.jsx)(l,{style:{marginRight:"4px"}})},y.InputProps),{sx:e=>{var t;return Object.assign({mb:0},y_(null===(t=null==y?void 0:y.InputProps)||void 0===t?void 0:t.sx,e))}}),inputRef:e=>{h.current=e,(null==y?void 0:y.inputRef)&&(y.inputRef=e)}})),(0,k.jsx)(aP,{anchorEl:b,onSelect:C,setAnchorEl:w,table:n})]})},GP=({table:e})=>{var t;const{getState:n,options:{enableGlobalFilter:r,enablePagination:i,enableToolbarInternalActions:o,muiTopToolbarProps:a,positionGlobalFilter:l,positionPagination:c,positionToolbarAlertBanner:u,positionToolbarDropZone:d,renderTopToolbarCustomActions:h},refs:{topToolbarRef:p}}=e,{isFullScreen:f,showGlobalFilter:g}=n(),m=(0,Ct.A)("(max-width:720px)"),y=(0,Ct.A)("(max-width:1024px)"),v=y_(a,{table:e}),b=m||!!h||g&&y,w={sx:y?void 0:{zIndex:2},table:e};return(0,k.jsxs)(s.A,Object.assign({},v,{ref:e=>{p.current=e,(null==v?void 0:v.ref)&&(v.ref.current=e)},sx:t=>Object.assign(Object.assign(Object.assign({},lO({table:e,theme:t})),{position:f?"sticky":"relative",top:f?"0":void 0}),y_(null==v?void 0:v.sx,t)),children:["top"===u&&(0,k.jsx)(wP,{stackAlertBanner:b,table:e}),["both","top"].includes(null!=d?d:"")&&(0,k.jsx)(IP,{table:e}),(0,k.jsxs)(s.A,{sx:{alignItems:"flex-start",boxSizing:"border-box",display:"flex",gap:"0.5rem",justifyContent:"space-between",p:"0.5rem",position:b?"relative":"absolute",right:0,top:0,width:"100%"},children:[r&&"left"===l&&(0,k.jsx)($P,Object.assign({},w)),null!==(t=null==h?void 0:h({table:e}))&&void 0!==t?t:(0,k.jsx)("span",{}),o?(0,k.jsxs)(s.A,{sx:{alignItems:"center",display:"flex",flexWrap:"wrap-reverse",gap:"0.5rem",justifyContent:"flex-end"},children:[r&&"right"===l&&(0,k.jsx)($P,Object.assign({},w)),(0,k.jsx)(VP,{table:e})]}):r&&"right"===l&&(0,k.jsx)($P,Object.assign({},w))]}),i&&["both","top"].includes(null!=c?c:"")&&(0,k.jsx)(PP,{position:"top",table:e}),(0,k.jsx)(_P,{isTopToolbar:!0,table:e})]}))},UP=e=>{var t,n,{table:r}=e,i=nO(e,["table"]);const{getState:o,options:{enableBottomToolbar:a,enableTopToolbar:s,mrtTheme:{baseBackgroundColor:l},muiTablePaperProps:c,renderBottomToolbar:u,renderTopToolbar:d},refs:{tablePaperRef:h}}=r,{isFullScreen:p}=o(),g=Object.assign(Object.assign({},y_(c,{table:r})),i),m=(0,St.A)();return(0,k.jsxs)(f.A,Object.assign({elevation:2},g,{ref:e=>{h.current=e,(null==g?void 0:g.ref)&&(g.ref.current=e)},style:Object.assign(Object.assign({},p?{bottom:0,height:"100dvh",left:0,margin:0,maxHeight:"100dvh",maxWidth:"100dvw",padding:0,position:"fixed",right:0,top:0,width:"100dvw",zIndex:m.zIndex.modal}:{}),null==g?void 0:g.style),sx:e=>Object.assign({backgroundColor:l,backgroundImage:"unset",overflow:"hidden",transition:"all 100ms ease-in-out"},y_(null==g?void 0:g.sx,e)),children:[s&&(null!==(t=y_(d,{table:r}))&&void 0!==t?t:(0,k.jsx)(GP,{table:r})),(0,k.jsx)(TP,{table:r}),a&&(null!==(n=y_(u,{table:r}))&&void 0!==n?n:(0,k.jsx)(MP,{table:r}))]}))},WP=e=>{let t;return t=(e=>void 0!==e.table)(e)?e.table:FO(e),(0,k.jsx)(UP,{table:t})};function qP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function HP(e){return(0,k.jsx)(WP,function(e){for(var t=1;t`spacing-xs-${e}`)),...["column-reverse","column","row-reverse","row"].map((e=>`direction-xs-${e}`)),...["nowrap","wrap-reverse","wrap"].map((e=>`wrap-xs-${e}`)),...XP.map((e=>`grid-xs-${e}`)),...XP.map((e=>`grid-sm-${e}`)),...XP.map((e=>`grid-md-${e}`)),...XP.map((e=>`grid-lg-${e}`)),...XP.map((e=>`grid-xl-${e}`))]),JP=ZP;function QP({breakpoints:e,values:t}){let n="";Object.keys(t).forEach((e=>{""===n&&0!==t[e]&&(n=e)}));const r=Object.keys(e).sort(((t,n)=>e[t]-e[n]));return r.slice(0,r.indexOf(n))}const eI=(0,u.Ay)("div",{name:"MuiGrid",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{container:r,direction:i,item:o,spacing:a,wrap:s,zeroMinWidth:l,breakpoints:c}=n;let u=[];r&&(u=function(e,t,n={}){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[n[`spacing-xs-${String(e)}`]];const r=[];return t.forEach((t=>{const i=e[t];Number(i)>0&&r.push(n[`spacing-${t}-${String(i)}`])})),r}(a,c,t));const d=[];return c.forEach((e=>{const r=n[e];r&&d.push(t[`grid-${e}-${String(r)}`])})),[t.root,r&&t.container,o&&t.item,l&&t.zeroMinWidth,...u,"row"!==i&&t[`direction-xs-${String(i)}`],"wrap"!==s&&t[`wrap-xs-${String(s)}`],...d]}})((({ownerState:e})=>({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:t}){const n=(0,Ts.kW)({values:t.direction,breakpoints:e.breakpoints.values});return(0,Ts.NI)({theme:e},n,(e=>{const t={flexDirection:e};return e.startsWith("column")&&(t[`& > .${JP.item}`]={maxWidth:"none"}),t}))}),(function({theme:e,ownerState:t}){const{container:n,rowSpacing:r}=t;let i={};if(n&&0!==r){const t=(0,Ts.kW)({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=QP({breakpoints:e.breakpoints.values,values:t})),i=(0,Ts.NI)({theme:e},t,((t,r)=>{const i=e.spacing(t);return"0px"!==i?{marginTop:e.spacing(-t),[`& > .${JP.item}`]:{paddingTop:i}}:n?.includes(r)?{}:{marginTop:0,[`& > .${JP.item}`]:{paddingTop:0}}}))}return i}),(function({theme:e,ownerState:t}){const{container:n,columnSpacing:r}=t;let i={};if(n&&0!==r){const t=(0,Ts.kW)({values:r,breakpoints:e.breakpoints.values});let n;"object"==typeof t&&(n=QP({breakpoints:e.breakpoints.values,values:t})),i=(0,Ts.NI)({theme:e},t,((t,r)=>{const i=e.spacing(t);if("0px"!==i){return{width:`calc(100% + ${i})`,marginLeft:e.spacing(-t),[`& > .${JP.item}`]:{paddingLeft:i}}}return n?.includes(r)?{}:{width:"100%",marginLeft:0,[`& > .${JP.item}`]:{paddingLeft:0}}}))}return i}),(function({theme:e,ownerState:t}){let n;return e.breakpoints.keys.reduce(((r,i)=>{let o={};if(t[i]&&(n=t[i]),!n)return r;if(!0===n)o={flexBasis:0,flexGrow:1,maxWidth:"100%"};else if("auto"===n)o={flexBasis:"auto",flexGrow:0,flexShrink:0,maxWidth:"none",width:"auto"};else{const a=(0,Ts.kW)({values:t.columns,breakpoints:e.breakpoints.values}),s="object"==typeof a?a[i]:a;if(null==s)return r;const l=Math.round(n/s*1e8)/1e6+"%";let c={};if(t.container&&t.item&&0!==t.columnSpacing){const n=e.spacing(t.columnSpacing);if("0px"!==n){const e=`calc(${l} + ${n})`;c={flexBasis:e,maxWidth:e}}}o={flexBasis:l,flexGrow:0,maxWidth:l,...c}}return 0===e.breakpoints.values[i]?Object.assign(r,o):r[e.breakpoints.up(i)]=o,r}),{})}));const tI=e=>{const{classes:t,container:n,direction:r,item:i,spacing:o,wrap:a,zeroMinWidth:s,breakpoints:l}=e;let u=[];n&&(u=function(e,t){if(!e||e<=0)return[];if("string"==typeof e&&!Number.isNaN(Number(e))||"number"==typeof e)return[`spacing-xs-${String(e)}`];const n=[];return t.forEach((t=>{const r=e[t];if(Number(r)>0){const e=`spacing-${t}-${String(r)}`;n.push(e)}})),n}(o,l));const d=[];l.forEach((t=>{const n=e[t];n&&d.push(`grid-${t}-${String(n)}`)}));const h={root:["root",n&&"container",i&&"item",s&&"zeroMinWidth",...u,"row"!==r&&`direction-xs-${String(r)}`,"wrap"!==a&&`wrap-xs-${String(a)}`,...d]};return(0,c.A)(h,KP,t)},nI=o.forwardRef((function(e,t){const n=(0,to.A)({props:e,name:"MuiGrid"}),{breakpoints:r}=(0,St.A)(),i=(0,ji.A)(n),{className:a,columns:s,columnSpacing:c,component:u="div",container:d=!1,direction:h="row",item:p=!1,rowSpacing:f,spacing:g=0,wrap:m="wrap",zeroMinWidth:y=!1,...v}=i,b=f||g,w=c||g,x=o.useContext(YP),A=d?s||12:x,S={},C={...v};r.keys.forEach((e=>{null!=v[e]&&(S[e]=v[e],delete C[e])}));const E={...i,columns:A,container:d,direction:h,item:p,rowSpacing:b,columnSpacing:w,wrap:m,zeroMinWidth:y,spacing:g,...S,breakpoints:r.keys},T=tI(E);return(0,k.jsx)(YP.Provider,{value:A,children:(0,k.jsx)(eI,{ownerState:E,className:(0,l.A)(T.root,a),as:u,ref:t,...C})})}));const rI=nI;var iI=function(e){return{rightIcons:{marginTop:0,display:"flex",justifyContent:"flex-end",alignItems:"center"},panel:{borderTop:1,paddingTop:"0 !important",borderColor:"divider",height:"100%"},tab:{fontSize:e.palette.geoViewFontSize.default,fontWeight:"bold",minWidth:"min(4vw, 24px)",padding:"0.5rem 1rem",margin:"0 0.5rem",textTransform:"capitalize",".MuiTab-iconWrapper":{marginRight:"7px",maxWidth:"18px"}},mobileDropdown:{maxWidth:"200px",p:6,"& .MuiInputBase-root":{borderRadius:"4px"},"& .MuiSelect-select":{padding:"8px 12px !important"}}}},oI=["children","value","index","id","containerType","tabId"];function aI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sI(e){for(var t=1;t{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})((0,d.A)((({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]})))),SI=o.forwardRef((function(e,t){const n=(0,h.b)({props:e,name:"MuiToolbar"}),{className:r,component:i="div",disableGutters:o=!1,variant:a="regular",...s}=n,u={...n,component:i,disableGutters:o,variant:a},d=(e=>{const{classes:t,disableGutters:n,variant:r}=e,i={root:["root",!n&&"gutters",r]};return(0,c.A)(i,xI,t)})(u);return(0,k.jsx)(AI,{as:i,className:(0,l.A)(d.root,r),ref:t,ownerState:u,...s})}));function CI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function EI(e){return(0,k.jsx)(SI,function(e){for(var t=1;t{"use strict";n.d(t,{SD:()=>u,B8:()=>Q,ck:()=>H,Wj:()=>_,L:()=>L,Zq:()=>$});var r=n(24515),i=n(59858),o=n(82732),a=n(97282),s=["children","className","style","timeout","unmountOnExit"];function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t(0,v.A)(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((0,m.A)((({theme:e})=>({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"}},[`&.${S.A.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,f.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${S.A.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,f.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${S.A.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,f.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,f.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${S.A.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${S.A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.dense,style:{paddingTop:4,paddingBottom:4}}]})))),E=d.forwardRef((function(e,t){const n=(0,y.b)({props:e,name:"MuiListItemButton"}),{alignItems:r="center",autoFocus:i=!1,component:o="div",children:s,dense:l=!1,disableGutters:c=!1,divider:u=!1,focusVisibleClassName:f,selected:g=!1,className:m,...v}=n,b=d.useContext(A.A),E=d.useMemo((()=>({dense:l||b.dense||!1,alignItems:r,disableGutters:c})),[r,b.dense,l,c]),k=d.useRef(null);(0,w.A)((()=>{i&&k.current&&k.current.focus()}),[i]);const T={...n,alignItems:r,dense:E.dense,disableGutters:c,divider:u,selected:g},_=(e=>{const{alignItems:t,classes:n,dense:r,disabled:i,disableGutters:o,divider:a,selected:s}=e,l={root:["root",r&&"dense",!o&&"gutters",a&&"divider",i&&"disabled","flex-start"===t&&"alignItemsFlexStart",s&&"selected"]},c=(0,p.A)(l,S.Y,n);return{...n,...c}})(T),O=(0,x.A)(k,t);return(0,a.jsx)(A.A.Provider,{value:E,children:(0,a.jsx)(C,{ref:O,href:v.href||v.to,component:(v.href||v.to)&&"div"===o?"button":o,focusVisibleClassName:(0,h.A)(_.focusVisible,f),ownerState:T,className:(0,h.A)(_.root,m),...v,classes:_,children:s})})}));function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t{const{ownerState:n}=e;return[{[`& .${F.A.primary}`]:t.primary},{[`& .${F.A.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${R.A.root}:where(& .${F.A.primary})`]:{display:"block"},[`.${R.A.root}:where(& .${F.A.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),N=d.forwardRef((function(e,t){const n=(0,y.b)({props:e,name:"MuiListItemText"}),{children:r,className:i,disableTypography:o=!1,inset:s=!1,primary:l,primaryTypographyProps:c,secondary:u,secondaryTypographyProps:f,...g}=n,{dense:m}=d.useContext(A.A);let v=null!=l?l:r,b=u;const w={...n,disableTypography:o,inset:s,primary:!!v,secondary:!!b,dense:m},x=(e=>{const{classes:t,inset:n,primary:r,secondary:i,dense:o}=e,a={root:["root",n&&"inset",o&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]};return(0,p.A)(a,F.b,t)})(w);return null==v||v.type===j.A||o||(v=(0,a.jsx)(j.A,{variant:m?"body2":"body1",className:x.primary,component:c?.variant?void 0:"span",...c,children:v})),null==b||b.type===j.A||o||(b=(0,a.jsx)(j.A,{variant:"body2",className:x.secondary,color:"textSecondary",...f,children:b})),(0,a.jsxs)(D,{className:(0,h.A)(x.root,i),ownerState:w,ref:t,...g,children:[v,b]})}));function B(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function z(e){for(var t=1;t{"use strict";n.d(t,{v:()=>r});var r={APPBAR:"app-bar",NAVBAR:"nav-bar"}},48088:(e,t,n)=>{"use strict";n.d(t,{w:()=>B,O:()=>N});var r=n(25971),i=n(24515),o=n(36549),a=n(80085),s=n(99601),l=n.n(s),c=n(55803),u=l()(50,1e3,50),d=function(){return(0,a.A)((function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,o.A)(this,e),(0,i.A)(this,"main",void 0),(0,i.A)(this,"isInverse",void 0),(0,i.A)(this,"dark",{}),(0,i.A)(this,"light",{}),!h.call(e,t))throw new Error("Invalid color format");this.main=t,this.isInverse=r,u.forEach((function(e){n.dark[e]=n.darken(e/1e3),n.light[e]=n.lighten(e/1e3)}))}),[{key:"_main",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return(0,c.X4)(this.main,e)}},{key:"opacity",value:function(e){return(0,c.X4)(this.main,e)}},{key:"lighten",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this.isInverse?(0,c.X4)((0,c.e$)(this.main,e),t):(0,c.X4)((0,c.a)(this.main,e),t)}},{key:"darken",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this.isInverse?(0,c.X4)((0,c.a)(this.main,e),t):(0,c.X4)((0,c.e$)(this.main,e),t)}},{key:"contrastText",value:function(){var e=this.main.slice(1);return.299*parseInt(e.slice(0,2),16)+.587*parseInt(e.slice(2,4),16)+.114*parseInt(e.slice(4,6),16)>186?"#000000":"#FFFFFF"}}])}();function h(e){return/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$|^rgba?\(\d+,\s*\d+,\s*\d+(,\s*(0(\.\d+)?|1(\.0)?))?\)$/.test(e)}for(var p="'Roboto', 'Helvetica', 'Arial', sans-serif",f={fontFamily:p,fontWeight:700},g=.08,m=.16,y=.38,v=.12,b=.24,w={white:"#FFFFFF",bgColor:new d("#F1F2F5"),primary:new d("#515BA5"),secondary:new d("#1976d2"),textColor:new d("#393939"),success:new d("#2e7d32"),error:new d("#d32f2f"),warning:new d("#ed6c02"),info:new d("#2e7d32"),grey:new d("#9e9e9e")},x={xs:"".concat(.7,"rem"),sm:"".concat(.875,"rem"),md:"".concat(1.125,"rem"),lg:"".concat(1.3,"rem"),xl:"".concat(1.6,"rem"),xxl:"".concat(2,"rem"),default:"".concat(1,"rem")},A=.2;A<=10;A+=.1){x["".concat(A,"x")]="".concat(1*A,"rem")}var S=x;function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:w;return{palette:{geoViewColor:e,geoViewFontSize:S,geoViewSpacingAndSizing:{},backdrop:"#3F3F3F50",common:{black:"#000",white:"#fff"},primary:{main:e.primary.main,light:e.primary.light[600],dark:e.primary.dark[200],contrastText:e.primary.contrastText()},secondary:{main:e.primary.main,light:e.primary.light[600],dark:e.primary.dark[300],contrastText:e.primary.contrastText()},error:{main:e.error.main,light:e.error.light[600],dark:e.error.dark[300],contrastText:e.error.contrastText()},warning:{main:e.warning.main,light:e.warning.light[600],dark:e.warning.dark[300],contrastText:e.warning.contrastText()},info:{main:e.info.main,light:e.info.light[600],dark:e.info.dark[300],contrastText:e.info.contrastText()},success:{main:e.success.main,light:e.success.light[600],dark:e.success.dark[300],contrastText:e.success.contrastText()},contrastThreshold:3,tonalOffset:.2,text:{primary:e.textColor.light[50],secondary:e.textColor.light[500],disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:e.bgColor.light[600],default:e.bgColor.light[500]},action:{active:e.primary.main,hover:e.primary.opacity(g),hoverOpacity:g,selected:e.primary.opacity(m),selectedOpacity:m,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, ".concat(v,")"),disabledOpacity:y,focus:e.primary.opacity(v),focusOpacity:v,activatedOpacity:b}},typography:{htmlFontSize:16,fontFamily:p,h1:f,h2:f,h3:f,h4:f,h5:f,h6:{fontWeight:400},subtitle1:{fontSize:S.default,lineHeight:1.25},subtitle2:{fontSize:S.xs,lineHeight:1.25},body1:{},body2:{},caption:{},overline:{fontSize:S.sm,fontWeight:500,letterSpacing:2},button:{fontSize:S.default,fontWeight:500},control:{fontSize:11,fontWeight:500}},spacing:function(e){var t=[0,1,2,4,5,6,8,10,12,14,15,16,18,20,30],n=Math.floor(e),r=t[n];return"".concat(r+((t[n+1]||2*r)-r)*(e-n),"px")},breakpoints:{values:{xs:0,sm:640,md:960,lg:1200,xl:1536}},zIndex:{mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:15e3,olControl:500,focusDialog:1300},transitions:{duration:{shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195,splash:1500},easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"}},shape:{borderRadius:6,center:"50%",right:"100%",left:"0%"},components:{MuiTooltip:{defaultProps:{PopperProps:{container:R}},styleOverrides:{tooltip:{backgroundColor:e.bgColor.dark[800],color:e.bgColor.light[800]}}},MuiPaper:{styleOverrides:{root:{borderRadius:5,borderWidth:"1px",borderColor:e.bgColor.darken(.5,.5),borderStyle:"solid",boxShadow:"0px 12px 9px -13px ".concat(e.bgColor.darken(.2,.5)),"&.layer-panel":{boxShadow:"none",'&[data-layer-depth="0"], &:not([data-layer-depth])':{background:"".concat(e.bgColor.light[600]," 0% 0% no-repeat padding-box"),borderRadius:"5px",marginBottom:"1rem"},'&[data-layer-depth] &:not([data-layer-depth="0"])':{borderRadius:"0px",border:"unset",backgroundColor:"unset"},"& .MuiListItemButton-root":{backgroundColor:"transparent !important"},"&.selectedLayer, &.selected":{borderColor:"".concat(e.primary.main," !important"),borderWidth:"2px !important",borderStyle:"solid !important"},"&.dragging":{backgroundcolor:e.primary.dark[600],cursor:"grab",userSelect:"none"},"&.error, &.query-error":{background:e.error.lighten(.7,.6),"& .MuiListItemText-secondary":{fontWeight:"bold",color:e.error.main}},"&.loading, &.processing, &.query-processing":{background:e.info.lighten(.7,.6),"& .MuiListItemText-secondary":{fontWeight:"bold",color:e.info.main}}},"&.unbordered":{borderStyle:"none"}}}},MuiButton:{styleOverrides:{root:L({},j(e))}},MuiIconButton:{styleOverrides:{root:L({},j(e))}},MuiFab:{styleOverrides:{root:{padding:"0 24px"}}},MuiDrawer:{styleOverrides:{paper:{position:"relative"}}},MuiButtonGroup:{styleOverrides:{grouped:{minWidth:"auto"}}},MuiListItemButton:{defaultProps:{disableTouchRipple:!0}},MuiTabs:{styleOverrides:{root:{backgroundColor:e.bgColor.dark[100]},indicator:{backgroundColor:"#FF4081"}}},MuiTab:{styleOverrides:{root:{color:e.textColor.light[100],"&.Mui-selected":{color:"".concat(e.primary.light[200])}}}},MuiTypography:{styleOverrides:{root:{color:e.textColor.main}}}},overrides:{button:{size:{width:"32px",height:"32px"}},northArrow:{size:{width:42,height:42}},crosshairIcon:{size:{width:275,height:275}}}}};function D(e){switch(e){case"dark":return F(O);case"geo.ca":return F(I);default:return F(k)}}var N=function(e){var t=D(e);return(0,r.A)(t)},B=(0,r.A)(D("geo.ca"))},33609:(e,t,n)=>{"use strict";n.d(t,{o:()=>l});var r=n(24515),i=n(30538),o=n(71731),a=n(97282);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var l=(0,i.forwardRef)((function(e,t){return(0,a.jsx)(o.A,function(e){for(var t=1;t{"use strict";n.d(t,{A:()=>N});var r=n(73534),i=n.n(r),o=n(14358),a=n.n(o),s=n(75837),l=n.n(s),c=new URL(n(56133),n.b),u=new URL(n(6269),n.b),d=new URL(n(73975),n.b),h=new URL(n(14199),n.b),p=new URL(n(97388),n.b),f=new URL(n(15962),n.b),g=new URL(n(30634),n.b),m=new URL(n(9976),n.b),y=new URL(n(71057),n.b),v=new URL(n(57217),n.b),b=new URL(n(52210),n.b),w=new URL(n(71312),n.b),x=new URL(n(46816),n.b),A=new URL(n(56598),n.b),S=a()(i()),C=l()(c),E=l()(u),k=l()(d),T=l()(h),_=l()(p),O=l()(f),P=l()(g),I=l()(m),M=l()(y),L=l()(v),R=l()(b),j=l()(w),F=l()(x),D=l()(A);S.push([e.id,`@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:300;src:url(${C}) format("woff2"),url(${E}) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:300;src:url(${k}) format("woff2"),url(${T}) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:300;src:url(${_}) format("woff2"),url(${O}) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:300;src:url(${P}) format("woff2"),url(${I}) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:300;src:url(${M}) format("woff2"),url(${L}) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:300;src:url(${R}) format("woff2"),url(${j}) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:300;src:url(${F}) format("woff2"),url(${D}) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}`,"",{version:3,sources:["webpack://./../../common/temp/node_modules/.pnpm/@fontsource+roboto@5.0.13/node_modules/@fontsource/roboto/300.css"],names:[],mappings:"AACA,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,gFAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,+DAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,yBAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,gFAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,0JAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,oHAAA,CACA,oIAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,oHAAA,CACA,6KAAA",sourcesContent:["/* roboto-cyrillic-ext-300-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 300;\n src: url(./files/roboto-cyrillic-ext-300-normal.woff2) format('woff2'), url(./files/roboto-cyrillic-ext-300-normal.woff) format('woff');\n unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;\n}\n\n/* roboto-cyrillic-300-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 300;\n src: url(./files/roboto-cyrillic-300-normal.woff2) format('woff2'), url(./files/roboto-cyrillic-300-normal.woff) format('woff');\n unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;\n}\n\n/* roboto-greek-ext-300-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 300;\n src: url(./files/roboto-greek-ext-300-normal.woff2) format('woff2'), url(./files/roboto-greek-ext-300-normal.woff) format('woff');\n unicode-range: U+1F00-1FFF;\n}\n\n/* roboto-greek-300-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 300;\n src: url(./files/roboto-greek-300-normal.woff2) format('woff2'), url(./files/roboto-greek-300-normal.woff) format('woff');\n unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;\n}\n\n/* roboto-vietnamese-300-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 300;\n src: url(./files/roboto-vietnamese-300-normal.woff2) format('woff2'), url(./files/roboto-vietnamese-300-normal.woff) format('woff');\n unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;\n}\n\n/* roboto-latin-ext-300-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 300;\n src: url(./files/roboto-latin-ext-300-normal.woff2) format('woff2'), url(./files/roboto-latin-ext-300-normal.woff) format('woff');\n unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;\n}\n\n/* roboto-latin-300-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 300;\n src: url(./files/roboto-latin-300-normal.woff2) format('woff2'), url(./files/roboto-latin-300-normal.woff) format('woff');\n unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;\n}"],sourceRoot:""}]);const N=S},5505:(e,t,n)=>{"use strict";n.d(t,{A:()=>N});var r=n(73534),i=n.n(r),o=n(14358),a=n.n(o),s=n(75837),l=n.n(s),c=new URL(n(11008),n.b),u=new URL(n(85270),n.b),d=new URL(n(63166),n.b),h=new URL(n(66580),n.b),p=new URL(n(30441),n.b),f=new URL(n(88169),n.b),g=new URL(n(77627),n.b),m=new URL(n(92323),n.b),y=new URL(n(1556),n.b),v=new URL(n(39250),n.b),b=new URL(n(63747),n.b),w=new URL(n(38427),n.b),x=new URL(n(91941),n.b),A=new URL(n(61245),n.b),S=a()(i()),C=l()(c),E=l()(u),k=l()(d),T=l()(h),_=l()(p),O=l()(f),P=l()(g),I=l()(m),M=l()(y),L=l()(v),R=l()(b),j=l()(w),F=l()(x),D=l()(A);S.push([e.id,`@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:400;src:url(${C}) format("woff2"),url(${E}) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:400;src:url(${k}) format("woff2"),url(${T}) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:400;src:url(${_}) format("woff2"),url(${O}) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:400;src:url(${P}) format("woff2"),url(${I}) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:400;src:url(${M}) format("woff2"),url(${L}) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:400;src:url(${R}) format("woff2"),url(${j}) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:400;src:url(${F}) format("woff2"),url(${D}) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}`,"",{version:3,sources:["webpack://./../../common/temp/node_modules/.pnpm/@fontsource+roboto@5.0.13/node_modules/@fontsource/roboto/400.css"],names:[],mappings:"AACA,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,gFAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,+DAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,yBAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,gFAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,0JAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,oHAAA,CACA,oIAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,oHAAA,CACA,6KAAA",sourcesContent:["/* roboto-cyrillic-ext-400-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url(./files/roboto-cyrillic-ext-400-normal.woff2) format('woff2'), url(./files/roboto-cyrillic-ext-400-normal.woff) format('woff');\n unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;\n}\n\n/* roboto-cyrillic-400-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url(./files/roboto-cyrillic-400-normal.woff2) format('woff2'), url(./files/roboto-cyrillic-400-normal.woff) format('woff');\n unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;\n}\n\n/* roboto-greek-ext-400-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url(./files/roboto-greek-ext-400-normal.woff2) format('woff2'), url(./files/roboto-greek-ext-400-normal.woff) format('woff');\n unicode-range: U+1F00-1FFF;\n}\n\n/* roboto-greek-400-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url(./files/roboto-greek-400-normal.woff2) format('woff2'), url(./files/roboto-greek-400-normal.woff) format('woff');\n unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;\n}\n\n/* roboto-vietnamese-400-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url(./files/roboto-vietnamese-400-normal.woff2) format('woff2'), url(./files/roboto-vietnamese-400-normal.woff) format('woff');\n unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;\n}\n\n/* roboto-latin-ext-400-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url(./files/roboto-latin-ext-400-normal.woff2) format('woff2'), url(./files/roboto-latin-ext-400-normal.woff) format('woff');\n unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;\n}\n\n/* roboto-latin-400-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url(./files/roboto-latin-400-normal.woff2) format('woff2'), url(./files/roboto-latin-400-normal.woff) format('woff');\n unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;\n}"],sourceRoot:""}]);const N=S},55836:(e,t,n)=>{"use strict";n.d(t,{A:()=>N});var r=n(73534),i=n.n(r),o=n(14358),a=n.n(o),s=n(75837),l=n.n(s),c=new URL(n(44923),n.b),u=new URL(n(9539),n.b),d=new URL(n(48793),n.b),h=new URL(n(60025),n.b),p=new URL(n(8750),n.b),f=new URL(n(47492),n.b),g=new URL(n(21472),n.b),m=new URL(n(68406),n.b),y=new URL(n(19855),n.b),v=new URL(n(52511),n.b),b=new URL(n(28520),n.b),w=new URL(n(34350),n.b),x=new URL(n(39914),n.b),A=new URL(n(80696),n.b),S=a()(i()),C=l()(c),E=l()(u),k=l()(d),T=l()(h),_=l()(p),O=l()(f),P=l()(g),I=l()(m),M=l()(y),L=l()(v),R=l()(b),j=l()(w),F=l()(x),D=l()(A);S.push([e.id,`@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:500;src:url(${C}) format("woff2"),url(${E}) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:500;src:url(${k}) format("woff2"),url(${T}) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:500;src:url(${_}) format("woff2"),url(${O}) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:500;src:url(${P}) format("woff2"),url(${I}) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:500;src:url(${M}) format("woff2"),url(${L}) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:500;src:url(${R}) format("woff2"),url(${j}) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:500;src:url(${F}) format("woff2"),url(${D}) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}`,"",{version:3,sources:["webpack://./../../common/temp/node_modules/.pnpm/@fontsource+roboto@5.0.13/node_modules/@fontsource/roboto/500.css"],names:[],mappings:"AACA,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,gFAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,+DAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,yBAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,gFAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,0JAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,oHAAA,CACA,oIAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,oHAAA,CACA,6KAAA",sourcesContent:["/* roboto-cyrillic-ext-500-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url(./files/roboto-cyrillic-ext-500-normal.woff2) format('woff2'), url(./files/roboto-cyrillic-ext-500-normal.woff) format('woff');\n unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;\n}\n\n/* roboto-cyrillic-500-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url(./files/roboto-cyrillic-500-normal.woff2) format('woff2'), url(./files/roboto-cyrillic-500-normal.woff) format('woff');\n unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;\n}\n\n/* roboto-greek-ext-500-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url(./files/roboto-greek-ext-500-normal.woff2) format('woff2'), url(./files/roboto-greek-ext-500-normal.woff) format('woff');\n unicode-range: U+1F00-1FFF;\n}\n\n/* roboto-greek-500-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url(./files/roboto-greek-500-normal.woff2) format('woff2'), url(./files/roboto-greek-500-normal.woff) format('woff');\n unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;\n}\n\n/* roboto-vietnamese-500-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url(./files/roboto-vietnamese-500-normal.woff2) format('woff2'), url(./files/roboto-vietnamese-500-normal.woff) format('woff');\n unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;\n}\n\n/* roboto-latin-ext-500-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url(./files/roboto-latin-ext-500-normal.woff2) format('woff2'), url(./files/roboto-latin-ext-500-normal.woff) format('woff');\n unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;\n}\n\n/* roboto-latin-500-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url(./files/roboto-latin-500-normal.woff2) format('woff2'), url(./files/roboto-latin-500-normal.woff) format('woff');\n unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;\n}"],sourceRoot:""}]);const N=S},79082:(e,t,n)=>{"use strict";n.d(t,{A:()=>N});var r=n(73534),i=n.n(r),o=n(14358),a=n.n(o),s=n(75837),l=n.n(s),c=new URL(n(94953),n.b),u=new URL(n(42505),n.b),d=new URL(n(3179),n.b),h=new URL(n(12755),n.b),p=new URL(n(95904),n.b),f=new URL(n(4022),n.b),g=new URL(n(10574),n.b),m=new URL(n(7780),n.b),y=new URL(n(59565),n.b),v=new URL(n(23733),n.b),b=new URL(n(25526),n.b),w=new URL(n(32316),n.b),x=new URL(n(93900),n.b),A=new URL(n(16890),n.b),S=a()(i()),C=l()(c),E=l()(u),k=l()(d),T=l()(h),_=l()(p),O=l()(f),P=l()(g),I=l()(m),M=l()(y),L=l()(v),R=l()(b),j=l()(w),F=l()(x),D=l()(A);S.push([e.id,`@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:700;src:url(${C}) format("woff2"),url(${E}) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:700;src:url(${k}) format("woff2"),url(${T}) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:700;src:url(${_}) format("woff2"),url(${O}) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:700;src:url(${P}) format("woff2"),url(${I}) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:700;src:url(${M}) format("woff2"),url(${L}) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:700;src:url(${R}) format("woff2"),url(${j}) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:700;src:url(${F}) format("woff2"),url(${D}) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}`,"",{version:3,sources:["webpack://./../../common/temp/node_modules/.pnpm/@fontsource+roboto@5.0.13/node_modules/@fontsource/roboto/700.css"],names:[],mappings:"AACA,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,gFAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,+DAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,yBAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,gFAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,0JAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,oHAAA,CACA,oIAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,oHAAA,CACA,6KAAA",sourcesContent:["/* roboto-cyrillic-ext-700-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src: url(./files/roboto-cyrillic-ext-700-normal.woff2) format('woff2'), url(./files/roboto-cyrillic-ext-700-normal.woff) format('woff');\n unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;\n}\n\n/* roboto-cyrillic-700-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src: url(./files/roboto-cyrillic-700-normal.woff2) format('woff2'), url(./files/roboto-cyrillic-700-normal.woff) format('woff');\n unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;\n}\n\n/* roboto-greek-ext-700-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src: url(./files/roboto-greek-ext-700-normal.woff2) format('woff2'), url(./files/roboto-greek-ext-700-normal.woff) format('woff');\n unicode-range: U+1F00-1FFF;\n}\n\n/* roboto-greek-700-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src: url(./files/roboto-greek-700-normal.woff2) format('woff2'), url(./files/roboto-greek-700-normal.woff) format('woff');\n unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;\n}\n\n/* roboto-vietnamese-700-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src: url(./files/roboto-vietnamese-700-normal.woff2) format('woff2'), url(./files/roboto-vietnamese-700-normal.woff) format('woff');\n unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;\n}\n\n/* roboto-latin-ext-700-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src: url(./files/roboto-latin-ext-700-normal.woff2) format('woff2'), url(./files/roboto-latin-ext-700-normal.woff) format('woff');\n unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;\n}\n\n/* roboto-latin-700-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src: url(./files/roboto-latin-700-normal.woff2) format('woff2'), url(./files/roboto-latin-700-normal.woff) format('woff');\n unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;\n}"],sourceRoot:""}]);const N=S},81780:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(73534),i=n.n(r),o=n(14358),a=n.n(o)()(i());a.push([e.id,':root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, 0.25);--ol-partial-background-color: rgba(255, 255, 255, 0.75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:pan-x pan-y}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:bold;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:normal;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-0.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}',"",{version:3,sources:["webpack://./../../common/temp/node_modules/.pnpm/ol@9.2.4/node_modules/ol/ol.css"],names:[],mappings:"AAAA,YAEE,4BAAA,CACA,qCAAA,CACA,uDAAA,CACA,wDAAA,CACA,8BAAA,CACA,qCAAA,CACA,yBAAA,CAGF,QACE,qBAAA,CACA,iBAAA,CACA,6CAAA,CACA,mDAAA,CAGF,mBACE,OAAA,CACA,SAAA,CACA,iBAAA,CAGF,eACE,6CAAA,CACA,iBAAA,CACA,UAAA,CACA,QAAA,CACA,WAAA,CACA,iBAAA,CAGF,qBACE,kDAAA,CACA,eAAA,CACA,gCAAA,CACA,cAAA,CACA,iBAAA,CACA,UAAA,CACA,0BAAA,CACA,mBAAA,CAGF,cACE,iBAAA,CACA,UAAA,CACA,QAAA,CAGF,oBACE,YAAA,CAGF,sBACE,SAAA,CACA,WAAA,CACA,2CAAA,CACA,WAAA,CACA,UAAA,CAGF,oBACE,iBAAA,CACA,WAAA,CACA,cAAA,CACA,UAAA,CACA,gCAAA,CACA,yLAAA,CAGF,eACE,iBAAA,CACA,cAAA,CACA,iBAAA,CACA,WAAA,CACA,gCAAA,CACA,yLAAA,CAGF,oBACE,iBAAA,CACA,WAAA,CACA,SAAA,CACA,qBAAA,CACA,2CAAA,CAGF,yBACE,kDAAA,CAGF,wBACE,2CAAA,CAGF,gBACE,YAAA,CAGF,8BAEE,0BAAA,CACA,wBAAA,CACA,qBAAA,CACA,gBAAA,CACA,yCAAA,CAGF,oBACE,SAAA,CACA,eAAA,CAGF,aACE,wBAAA,CAGF,eACE,6BAAA,CACA,wBAAA,CACA,qBAAA,CACA,gBAAA,CAGF,aACE,uBAAA,CACA,oBAAA,CACA,eAAA,CAGF,SACE,WAAA,CACA,mBAAA,CACA,gBAAA,CACA,WAAA,CAGF,YACE,iBAAA,CACA,kDAAA,CACA,iBAAA,CAGF,SACE,QAAA,CACA,SAAA,CAGF,WACE,QAAA,CACA,UAAA,CACA,mDAAA,CAGF,qBACE,SAAA,CACA,iBAAA,CACA,wDAAA,CAGF,gBACE,WAAA,CACA,SAAA,CAGF,gBACE,UAAA,CACA,QAAA,CAGF,mBACE,aAAA,CACA,UAAA,CACA,SAAA,CACA,uCAAA,CACA,gBAAA,CACA,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,cAAA,CACA,aAAA,CACA,gBAAA,CACA,2CAAA,CACA,WAAA,CACA,iBAAA,CAGF,qCACE,WAAA,CACA,SAAA,CAGF,uBACE,iBAAA,CAGF,YACE,aAAA,CACA,kBAAA,CACA,qBAAA,CAGF,6BACE,eAAA,CAGF,0BACE,SAAA,CAGF,kDAEE,oBAAA,CACA,mDAAA,CACA,gCAAA,CAGF,qBACE,yBAAA,CAGF,sBACE,yBAAA,CAGF,gBACE,gBAAA,CACA,WAAA,CACA,UAAA,CACA,4BAAA,CACA,YAAA,CACA,qBAAA,CACA,kBAAA,CAGF,kBACE,uCAAA,CACA,oBAAA,CAGF,mBACE,QAAA,CACA,gBAAA,CACA,gCAAA,CACA,8CAAA,CACA,cAAA,CAGF,mBACE,cAAA,CACA,eAAA,CAGF,0CACE,WAAA,CAGF,oBACE,cAAA,CACA,iBAAA,CACA,qBAAA,CAGF,uBACE,aAAA,CAGF,gCACE,YAAA,CAGF,mCACE,6CAAA,CAGF,iCACE,QAAA,CACA,OAAA,CACA,qBAAA,CAGF,qCACE,iBAAA,CACA,gBAAA,CAGF,wCACE,YAAA,CAGF,eACE,SAAA,CACA,SAAA,CACA,YAAA,CAGF,sBACE,iBAAA,CACA,WAAA,CAGF,yBACE,SAAA,CAGF,gBACE,SAAA,CACA,WAAA,CAGF,iCACE,QAAA,CACA,MAAA,CACA,uBAAA,CAGF,2DAEE,aAAA,CAGF,oCACE,kDAAA,CACA,YAAA,CACA,WAAA,CAGF,0CACE,QAAA,CACA,MAAA,CACA,iBAAA,CAGF,yFAEE,YAAA,CAGF,mCACE,4CAAA,CAGF,oBACE,qDAAA,CAGF,0CACE,WAAA",sourcesContent:[':root,\n:host {\n --ol-background-color: white;\n --ol-accent-background-color: #F5F5F5;\n --ol-subtle-background-color: rgba(128, 128, 128, 0.25);\n --ol-partial-background-color: rgba(255, 255, 255, 0.75);\n --ol-foreground-color: #333333;\n --ol-subtle-foreground-color: #666666;\n --ol-brand-color: #00AAFF;\n}\n\n.ol-box {\n box-sizing: border-box;\n border-radius: 2px;\n border: 1.5px solid var(--ol-background-color);\n background-color: var(--ol-partial-background-color);\n}\n\n.ol-mouse-position {\n top: 8px;\n right: 8px;\n position: absolute;\n}\n\n.ol-scale-line {\n background: var(--ol-partial-background-color);\n border-radius: 4px;\n bottom: 8px;\n left: 8px;\n padding: 2px;\n position: absolute;\n}\n\n.ol-scale-line-inner {\n border: 1px solid var(--ol-subtle-foreground-color);\n border-top: none;\n color: var(--ol-foreground-color);\n font-size: 10px;\n text-align: center;\n margin: 1px;\n will-change: contents, width;\n transition: all 0.25s;\n}\n\n.ol-scale-bar {\n position: absolute;\n bottom: 8px;\n left: 8px;\n}\n\n.ol-scale-bar-inner {\n display: flex;\n}\n\n.ol-scale-step-marker {\n width: 1px;\n height: 15px;\n background-color: var(--ol-foreground-color);\n float: right;\n z-index: 10;\n}\n\n.ol-scale-step-text {\n position: absolute;\n bottom: -5px;\n font-size: 10px;\n z-index: 11;\n color: var(--ol-foreground-color);\n text-shadow: -1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color);\n}\n\n.ol-scale-text {\n position: absolute;\n font-size: 12px;\n text-align: center;\n bottom: 25px;\n color: var(--ol-foreground-color);\n text-shadow: -1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color);\n}\n\n.ol-scale-singlebar {\n position: relative;\n height: 10px;\n z-index: 9;\n box-sizing: border-box;\n border: 1px solid var(--ol-foreground-color);\n}\n\n.ol-scale-singlebar-even {\n background-color: var(--ol-subtle-foreground-color);\n}\n\n.ol-scale-singlebar-odd {\n background-color: var(--ol-background-color);\n}\n\n.ol-unsupported {\n display: none;\n}\n\n.ol-viewport,\n.ol-unselectable {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n}\n\n.ol-viewport canvas {\n all: unset;\n overflow: hidden;\n}\n\n.ol-viewport {\n touch-action: pan-x pan-y;\n}\n\n.ol-selectable {\n -webkit-touch-callout: default;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n\n.ol-grabbing {\n cursor: -webkit-grabbing;\n cursor: -moz-grabbing;\n cursor: grabbing;\n}\n\n.ol-grab {\n cursor: move;\n cursor: -webkit-grab;\n cursor: -moz-grab;\n cursor: grab;\n}\n\n.ol-control {\n position: absolute;\n background-color: var(--ol-subtle-background-color);\n border-radius: 4px;\n}\n\n.ol-zoom {\n top: .5em;\n left: .5em;\n}\n\n.ol-rotate {\n top: .5em;\n right: .5em;\n transition: opacity .25s linear, visibility 0s linear;\n}\n\n.ol-rotate.ol-hidden {\n opacity: 0;\n visibility: hidden;\n transition: opacity .25s linear, visibility 0s linear .25s;\n}\n\n.ol-zoom-extent {\n top: 4.643em;\n left: .5em;\n}\n\n.ol-full-screen {\n right: .5em;\n top: .5em;\n}\n\n.ol-control button {\n display: block;\n margin: 1px;\n padding: 0;\n color: var(--ol-subtle-foreground-color);\n font-weight: bold;\n text-decoration: none;\n font-size: inherit;\n text-align: center;\n height: 1.375em;\n width: 1.375em;\n line-height: .4em;\n background-color: var(--ol-background-color);\n border: none;\n border-radius: 2px;\n}\n\n.ol-control button::-moz-focus-inner {\n border: none;\n padding: 0;\n}\n\n.ol-zoom-extent button {\n line-height: 1.4em;\n}\n\n.ol-compass {\n display: block;\n font-weight: normal;\n will-change: transform;\n}\n\n.ol-touch .ol-control button {\n font-size: 1.5em;\n}\n\n.ol-touch .ol-zoom-extent {\n top: 5.5em;\n}\n\n.ol-control button:hover,\n.ol-control button:focus {\n text-decoration: none;\n outline: 1px solid var(--ol-subtle-foreground-color);\n color: var(--ol-foreground-color);\n}\n\n.ol-zoom .ol-zoom-in {\n border-radius: 2px 2px 0 0;\n}\n\n.ol-zoom .ol-zoom-out {\n border-radius: 0 0 2px 2px;\n}\n\n.ol-attribution {\n text-align: right;\n bottom: .5em;\n right: .5em;\n max-width: calc(100% - 1.3em);\n display: flex;\n flex-flow: row-reverse;\n align-items: center;\n}\n\n.ol-attribution a {\n color: var(--ol-subtle-foreground-color);\n text-decoration: none;\n}\n\n.ol-attribution ul {\n margin: 0;\n padding: 1px .5em;\n color: var(--ol-foreground-color);\n text-shadow: 0 0 2px var(--ol-background-color);\n font-size: 12px;\n}\n\n.ol-attribution li {\n display: inline;\n list-style: none;\n}\n\n.ol-attribution li:not(:last-child):after {\n content: " ";\n}\n\n.ol-attribution img {\n max-height: 2em;\n max-width: inherit;\n vertical-align: middle;\n}\n\n.ol-attribution button {\n flex-shrink: 0;\n}\n\n.ol-attribution.ol-collapsed ul {\n display: none;\n}\n\n.ol-attribution:not(.ol-collapsed) {\n background: var(--ol-partial-background-color);\n}\n\n.ol-attribution.ol-uncollapsible {\n bottom: 0;\n right: 0;\n border-radius: 4px 0 0;\n}\n\n.ol-attribution.ol-uncollapsible img {\n margin-top: -.2em;\n max-height: 1.6em;\n}\n\n.ol-attribution.ol-uncollapsible button {\n display: none;\n}\n\n.ol-zoomslider {\n top: 4.5em;\n left: .5em;\n height: 200px;\n}\n\n.ol-zoomslider button {\n position: relative;\n height: 10px;\n}\n\n.ol-touch .ol-zoomslider {\n top: 5.5em;\n}\n\n.ol-overviewmap {\n left: 0.5em;\n bottom: 0.5em;\n}\n\n.ol-overviewmap.ol-uncollapsible {\n bottom: 0;\n left: 0;\n border-radius: 0 4px 0 0;\n}\n\n.ol-overviewmap .ol-overviewmap-map,\n.ol-overviewmap button {\n display: block;\n}\n\n.ol-overviewmap .ol-overviewmap-map {\n border: 1px solid var(--ol-subtle-foreground-color);\n height: 150px;\n width: 150px;\n}\n\n.ol-overviewmap:not(.ol-collapsed) button {\n bottom: 0;\n left: 0;\n position: absolute;\n}\n\n.ol-overviewmap.ol-collapsed .ol-overviewmap-map,\n.ol-overviewmap.ol-uncollapsible button {\n display: none;\n}\n\n.ol-overviewmap:not(.ol-collapsed) {\n background: var(--ol-subtle-background-color);\n}\n\n.ol-overviewmap-box {\n border: 1.5px dotted var(--ol-subtle-foreground-color);\n}\n\n.ol-overviewmap .ol-overviewmap-box:hover {\n cursor: move;\n}\n'],sourceRoot:""}]);const s=a},70577:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(73534),i=n.n(r),o=n(14358),a=n.n(o)()(i());a.push([e.id,".yarl__fullsize{height:100%;width:100%}.yarl__relative{position:relative}.yarl__portal{bottom:0;left:0;opacity:0;overflow:hidden;position:fixed;right:0;top:0;transition:opacity var(--yarl__fade_animation_duration, 0.25s) var(--yarl__fade_animation_timing_function, ease);z-index:var(--yarl__portal_zindex, 9999)}.yarl__portal_open{opacity:1}.yarl__container{background-color:var(--yarl__container_background_color, var(--yarl__color_backdrop, #000));bottom:0;left:0;outline:none;overflow:hidden;overscroll-behavior:var(--yarl__controller_overscroll_behavior, contain);position:absolute;right:0;top:0;touch-action:var(--yarl__controller_touch_action, none);-webkit-user-select:none;-moz-user-select:none;user-select:none}.yarl__carousel{align-content:center;align-items:stretch;display:flex;flex:0 0 auto;height:100%;justify-content:center;opacity:var(--yarl__pull_opacity, 1);transform:translate(var(--yarl__swipe_offset, 0), var(--yarl__pull_offset, 0));width:calc(100% + (var(--yarl__carousel_slides_count) - 1)*(100% + var(--yarl__carousel_spacing_px, 0)*1px + var(--yarl__carousel_spacing_percent, 0)*1%))}.yarl__carousel_with_slides{-moz-column-gap:calc(var(--yarl__carousel_spacing_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_spacing_percent, 0)*1%);column-gap:calc(var(--yarl__carousel_spacing_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_spacing_percent, 0)*1%)}.yarl__flex_center{align-content:center;align-items:center;display:flex;justify-content:center}.yarl__slide{flex:1;overflow:hidden;padding:calc(var(--yarl__carousel_padding_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_padding_percent, 0)*1%);position:relative}[dir=rtl] .yarl__slide{--yarl__direction:-1}.yarl__slide_image{max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain;touch-action:var(--yarl__controller_touch_action, none);-moz-user-select:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.yarl__slide_image_cover{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.yarl__slide_image_loading{opacity:0}@media screen and (min-width: 800px){.yarl__slide_wrapper:not(.yarl__slide_wrapper_interactive) .yarl__slide_image{-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);-webkit-transform-style:preserve-3d}}.yarl__slide_placeholder{left:50%;line-height:0;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%)}.yarl__slide_loading{animation:yarl__delayed_fadein 1s linear;color:var(--yarl__slide_icon_loading_color, var(--yarl__color_button, hsla(0, 0%, 100%, 0.8)))}.yarl__slide_loading line{animation:yarl__stroke_opacity 1s linear infinite}.yarl__slide_loading line:first-of-type{animation-delay:-1.875s}.yarl__slide_loading line:nth-of-type(2){animation-delay:-1.75s}.yarl__slide_loading line:nth-of-type(3){animation-delay:-1.625s}.yarl__slide_loading line:nth-of-type(4){animation-delay:-1.5s}.yarl__slide_loading line:nth-of-type(5){animation-delay:-1.375s}.yarl__slide_loading line:nth-of-type(6){animation-delay:-1.25s}.yarl__slide_loading line:nth-of-type(7){animation-delay:-1.125s}.yarl__slide_loading line:nth-of-type(8){animation-delay:-1s}.yarl__slide_error{color:var(--yarl__slide_icon_error_color, red);height:var(--yarl__slide_icon_error_size, 48px);width:var(--yarl__slide_icon_error_size, 48px)}@media(prefers-reduced-motion){.yarl__portal,.yarl__slide{transition:unset}.yarl__slide_loading,.yarl__slide_loading line{animation:unset}}.yarl__toolbar{bottom:auto;display:flex;justify-content:flex-end;left:auto;padding:var(--yarl__toolbar_padding, 8px);position:absolute;right:0;top:0}[dir=rtl] .yarl__toolbar{bottom:auto;left:0;right:auto;top:0}.yarl__icon{height:var(--yarl__icon_size, 32px);width:var(--yarl__icon_size, 32px)}.yarl__button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--yarl__button_background_color, transparent);border:var(--yarl__button_border, 0);color:var(--yarl__color_button, hsla(0, 0%, 100%, 0.8));cursor:pointer;filter:var(--yarl__button_filter, drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.8)));line-height:0;margin:var(--yarl__button_margin, 0);outline:none;padding:var(--yarl__button_padding, 8px);-webkit-tap-highlight-color:rgba(0,0,0,0)}.yarl__button:focus{color:var(--yarl__color_button_active, #fff)}.yarl__button:focus:not(:focus-visible){color:var(--yarl__color_button, hsla(0, 0%, 100%, 0.8))}.yarl__button:focus-visible{color:var(--yarl__color_button_active, #fff)}@media(hover: hover){.yarl__button:focus-visible:hover,.yarl__button:focus:hover,.yarl__button:hover{color:var(--yarl__color_button_active, #fff)}}.yarl__button:disabled{color:var(--yarl__color_button_disabled, hsla(0, 0%, 100%, 0.4));cursor:default}.yarl__navigation_next,.yarl__navigation_prev{padding:var(--yarl__navigation_button_padding, 24px 16px);position:absolute;top:50%;transform:translateY(-50%)}.yarl__navigation_prev{left:0}[dir=rtl] .yarl__navigation_prev{left:unset;right:0;transform:translateY(-50%) rotate(180deg)}.yarl__navigation_next{right:0}[dir=rtl] .yarl__navigation_next{left:0;right:unset;transform:translateY(-50%) rotate(180deg)}.yarl__no_scroll{height:100%;overflow:hidden;overscroll-behavior:none}@keyframes yarl__delayed_fadein{0%{opacity:0}80%{opacity:0}to{opacity:1}}@keyframes yarl__stroke_opacity{0%{stroke-opacity:1}to{stroke-opacity:.125}}","",{version:3,sources:["webpack://./../../common/temp/node_modules/.pnpm/yet-another-react-lightbox@3.21.1_react-dom@18.3.1_react@18.3.1/node_modules/yet-another-react-lightbox/dist/styles.css"],names:[],mappings:"AAAA,gBAAA,WAAA,CAAA,UAAA,CAAA,gBAAA,iBAAA,CAAA,cAAA,QAAA,CAAA,MAAA,CAAA,SAAA,CAAA,eAAA,CAAA,cAAA,CAAA,OAAA,CAAA,KAAA,CAAA,gHAAA,CAAA,wCAAA,CAAA,mBAAA,SAAA,CAAA,iBAAA,2FAAA,CAAA,QAAA,CAAA,MAAA,CAAA,YAAA,CAAA,eAAA,CAAA,wEAAA,CAAA,iBAAA,CAAA,OAAA,CAAA,KAAA,CAAA,uDAAA,CAAA,wBAAA,CAAA,qBAAA,CAAA,gBAAA,CAAA,gBAAA,oBAAA,CAAA,mBAAA,CAAA,YAAA,CAAA,aAAA,CAAA,WAAA,CAAA,sBAAA,CAAA,oCAAA,CAAA,8EAAA,CAAA,0JAAA,CAAA,4BAAA,4OAAA,CAAA,uOAAA,CAAA,mBAAA,oBAAA,CAAA,kBAAA,CAAA,YAAA,CAAA,sBAAA,CAAA,aAAA,MAAA,CAAA,eAAA,CAAA,oOAAA,CAAA,iBAAA,CAAA,uBAAA,oBAAA,CAAA,mBAAA,eAAA,CAAA,cAAA,CAAA,qBAAA,CAAA,kBAAA,CAAA,uDAAA,CAAA,qBAAA,CAAA,gBAAA,CAAA,wBAAA,CAAA,0BAAA,CAAA,yBAAA,WAAA,CAAA,mBAAA,CAAA,gBAAA,CAAA,UAAA,CAAA,2BAAA,SAAA,CAAA,qCAAA,8EAAA,kCAAA,CAAA,+BAAA,CAAA,mCAAA,CAAA,CAAA,yBAAA,QAAA,CAAA,aAAA,CAAA,iBAAA,CAAA,OAAA,CAAA,2CAAA,CAAA,qBAAA,wCAAA,CAAA,8FAAA,CAAA,0BAAA,iDAAA,CAAA,wCAAA,uBAAA,CAAA,yCAAA,sBAAA,CAAA,yCAAA,uBAAA,CAAA,yCAAA,qBAAA,CAAA,yCAAA,uBAAA,CAAA,yCAAA,sBAAA,CAAA,yCAAA,uBAAA,CAAA,yCAAA,mBAAA,CAAA,mBAAA,8CAAA,CAAA,+CAAA,CAAA,8CAAA,CAAA,+BAAA,2BAAA,gBAAA,CAAA,+CAAA,eAAA,CAAA,CAAA,eAAA,WAAA,CAAA,YAAA,CAAA,wBAAA,CAAA,SAAA,CAAA,yCAAA,CAAA,iBAAA,CAAA,OAAA,CAAA,KAAA,CAAA,yBAAA,WAAA,CAAA,MAAA,CAAA,UAAA,CAAA,KAAA,CAAA,YAAA,mCAAA,CAAA,kCAAA,CAAA,cAAA,uBAAA,CAAA,oBAAA,CAAA,eAAA,CAAA,kEAAA,CAAA,oCAAA,CAAA,uDAAA,CAAA,cAAA,CAAA,8EAAA,CAAA,aAAA,CAAA,oCAAA,CAAA,YAAA,CAAA,wCAAA,CAAA,yCAAA,CAAA,oBAAA,4CAAA,CAAA,wCAAA,uDAAA,CAAA,4BAAA,4CAAA,CAAA,qBAAA,gFAAA,4CAAA,CAAA,CAAA,uBAAA,gEAAA,CAAA,cAAA,CAAA,8CAAA,yDAAA,CAAA,iBAAA,CAAA,OAAA,CAAA,0BAAA,CAAA,uBAAA,MAAA,CAAA,iCAAA,UAAA,CAAA,OAAA,CAAA,yCAAA,CAAA,uBAAA,OAAA,CAAA,iCAAA,MAAA,CAAA,WAAA,CAAA,yCAAA,CAAA,iBAAA,WAAA,CAAA,eAAA,CAAA,wBAAA,CAAA,gCAAA,GAAA,SAAA,CAAA,IAAA,SAAA,CAAA,GAAA,SAAA,CAAA,CAAA,gCAAA,GAAA,gBAAA,CAAA,GAAA,mBAAA,CAAA",sourcesContent:[".yarl__fullsize{height:100%;width:100%}.yarl__relative{position:relative}.yarl__portal{bottom:0;left:0;opacity:0;overflow:hidden;position:fixed;right:0;top:0;transition:opacity var(--yarl__fade_animation_duration,.25s) var(--yarl__fade_animation_timing_function,ease);z-index:var(--yarl__portal_zindex,9999)}.yarl__portal_open{opacity:1}.yarl__container{background-color:var(--yarl__container_background_color,var(--yarl__color_backdrop,#000));bottom:0;left:0;outline:none;overflow:hidden;overscroll-behavior:var(--yarl__controller_overscroll_behavior,contain);position:absolute;right:0;top:0;touch-action:var(--yarl__controller_touch_action,none);-webkit-user-select:none;-moz-user-select:none;user-select:none}.yarl__carousel{align-content:center;align-items:stretch;display:flex;flex:0 0 auto;height:100%;justify-content:center;opacity:var(--yarl__pull_opacity,1);transform:translate(var(--yarl__swipe_offset,0),var(--yarl__pull_offset,0));width:calc(100% + (var(--yarl__carousel_slides_count) - 1)*(100% + var(--yarl__carousel_spacing_px, 0)*1px + var(--yarl__carousel_spacing_percent, 0)*1%))}.yarl__carousel_with_slides{-moz-column-gap:calc(var(--yarl__carousel_spacing_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_spacing_percent, 0)*1%);column-gap:calc(var(--yarl__carousel_spacing_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_spacing_percent, 0)*1%)}.yarl__flex_center{align-content:center;align-items:center;display:flex;justify-content:center}.yarl__slide{flex:1;overflow:hidden;padding:calc(var(--yarl__carousel_padding_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_padding_percent, 0)*1%);position:relative}[dir=rtl] .yarl__slide{--yarl__direction:-1}.yarl__slide_image{max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain;touch-action:var(--yarl__controller_touch_action,none);-moz-user-select:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.yarl__slide_image_cover{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.yarl__slide_image_loading{opacity:0}@media screen and (min-width:800px){.yarl__slide_wrapper:not(.yarl__slide_wrapper_interactive) .yarl__slide_image{-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);-webkit-transform-style:preserve-3d}}.yarl__slide_placeholder{left:50%;line-height:0;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%)}.yarl__slide_loading{animation:yarl__delayed_fadein 1s linear;color:var(--yarl__slide_icon_loading_color,var(--yarl__color_button,hsla(0,0%,100%,.8)))}.yarl__slide_loading line{animation:yarl__stroke_opacity 1s linear infinite}.yarl__slide_loading line:first-of-type{animation-delay:-1.875s}.yarl__slide_loading line:nth-of-type(2){animation-delay:-1.75s}.yarl__slide_loading line:nth-of-type(3){animation-delay:-1.625s}.yarl__slide_loading line:nth-of-type(4){animation-delay:-1.5s}.yarl__slide_loading line:nth-of-type(5){animation-delay:-1.375s}.yarl__slide_loading line:nth-of-type(6){animation-delay:-1.25s}.yarl__slide_loading line:nth-of-type(7){animation-delay:-1.125s}.yarl__slide_loading line:nth-of-type(8){animation-delay:-1s}.yarl__slide_error{color:var(--yarl__slide_icon_error_color,red);height:var(--yarl__slide_icon_error_size,48px);width:var(--yarl__slide_icon_error_size,48px)}@media (prefers-reduced-motion){.yarl__portal,.yarl__slide{transition:unset}.yarl__slide_loading,.yarl__slide_loading line{animation:unset}}.yarl__toolbar{bottom:auto;display:flex;justify-content:flex-end;left:auto;padding:var(--yarl__toolbar_padding,8px);position:absolute;right:0;top:0}[dir=rtl] .yarl__toolbar{bottom:auto;left:0;right:auto;top:0}.yarl__icon{height:var(--yarl__icon_size,32px);width:var(--yarl__icon_size,32px)}.yarl__button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--yarl__button_background_color,transparent);border:var(--yarl__button_border,0);color:var(--yarl__color_button,hsla(0,0%,100%,.8));cursor:pointer;filter:var(--yarl__button_filter,drop-shadow(2px 2px 2px rgba(0,0,0,.8)));line-height:0;margin:var(--yarl__button_margin,0);outline:none;padding:var(--yarl__button_padding,8px);-webkit-tap-highlight-color:transparent}.yarl__button:focus{color:var(--yarl__color_button_active,#fff)}.yarl__button:focus:not(:focus-visible){color:var(--yarl__color_button,hsla(0,0%,100%,.8))}.yarl__button:focus-visible{color:var(--yarl__color_button_active,#fff)}@media (hover:hover){.yarl__button:focus-visible:hover,.yarl__button:focus:hover,.yarl__button:hover{color:var(--yarl__color_button_active,#fff)}}.yarl__button:disabled{color:var(--yarl__color_button_disabled,hsla(0,0%,100%,.4));cursor:default}.yarl__navigation_next,.yarl__navigation_prev{padding:var(--yarl__navigation_button_padding,24px 16px);position:absolute;top:50%;transform:translateY(-50%)}.yarl__navigation_prev{left:0}[dir=rtl] .yarl__navigation_prev{left:unset;right:0;transform:translateY(-50%) rotate(180deg)}.yarl__navigation_next{right:0}[dir=rtl] .yarl__navigation_next{left:0;right:unset;transform:translateY(-50%) rotate(180deg)}.yarl__no_scroll{height:100%;overflow:hidden;overscroll-behavior:none}@keyframes yarl__delayed_fadein{0%{opacity:0}80%{opacity:0}to{opacity:1}}@keyframes yarl__stroke_opacity{0%{stroke-opacity:1}to{stroke-opacity:.125}}"],sourceRoot:""}]);const s=a},57459:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(73534),i=n.n(r),o=n(14358),a=n.n(o)()(i());a.push([e.id,".keyboard-focused{border:revert !important}[class*=mapContainer].keyboard-focused{border:#000 solid 2px !important}.geoview-map{position:relative !important}.ol-overlaycontainer-stopevent .ol-overviewmap:not(:last-child){display:none}@media(max-width: 960px){.ol-overviewmap{display:none}}.guideBox h3 img{vertical-align:bottom}.guideBox h4 img{vertical-align:bottom}.guideBox p img{vertical-align:bottom}","",{version:3,sources:["webpack://./src/ui/style/style.css"],names:[],mappings:"AAGA,kBACE,wBAAA,CAIF,uCACE,gCAAA,CAGF,aACE,4BAAA,CAOF,gEACE,YAAA,CAEF,yBACE,gBACE,YAAA,CAAA,CAKJ,iBACE,qBAAA,CAEF,iBACE,qBAAA,CAEF,gBACE,qBAAA",sourcesContent:["/*\nHold viewer specific css not inside theme\n*/\n.keyboard-focused {\n border: revert !important;\n}\n\n/* Work around to have border map container focus */\n[class*='mapContainer'].keyboard-focused {\n border: #000 solid 2px !important;\n}\n\n.geoview-map {\n position: relative !important;\n}\n\n/* FIX: fix issue when overview map is added on resize.\n This is a patch and would better resolve managing the screen resize event and trap the control creation.\n Because it would not happen very often in production it may be a suitable patch. \n*/\n.ol-overlaycontainer-stopevent .ol-overviewmap:not(:last-child) {\n display: none;\n}\n@media (max-width: 960px) {\n .ol-overviewmap {\n display: none;\n }\n}\n\n/* specifiv style for icon alignement in guide component */\n.guideBox h3 img {\n vertical-align: bottom;\n}\n.guideBox h4 img {\n vertical-align: bottom;\n}\n.guideBox p img {\n vertical-align: bottom;\n}\n"],sourceRoot:""}]);const s=a},59148:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(73534),i=n.n(r),o=n(14358),a=n.n(o)()(i());a.push([e.id,".ol-scale-line-inner{display:none}","",{version:3,sources:["webpack://./src/ui/style/vendor.css"],names:[],mappings:"AAOA,qBACE,YAAA",sourcesContent:["/*\r\nHold all third party libraries override\r\n*/\r\n\r\n/*\r\nOpenLayers\r\n*/\r\n.ol-scale-line-inner {\r\n display: none;\r\n}"],sourceRoot:""}]);const s=a},14358:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},75837:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},73534:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(i," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},5750:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",i="second",o="minute",a="hour",s="day",l="week",c="month",u="quarter",d="year",h="date",p="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},y=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},v={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+y(r,2,"0")+":"+y(i,2,"0")},m:function e(t,n){if(t.date()1)return e(a[0])}else{var s=t.name;w[s]=t,i=s}return!r&&i&&(b=i),i||!r&&b},C=function(e,t){if(A(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new k(n)},E=v;E.l=S,E.i=A,E.w=function(e,t){return C(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var k=function(){function m(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var y=m.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(E.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(f);if(r){var i=r[2]-1||0,o=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(t)}(e),this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return E},y.isValid=function(){return!(this.$d.toString()===p)},y.isSame=function(e,t){var n=C(e);return this.startOf(t)<=n&&n<=this.endOf(t)},y.isAfter=function(e,t){return C(e)68?1900:2e3)},s=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],c=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?"pm":"PM");return n},d={A:[i,function(e){this.afternoon=u(e,!1)}],a:[i,function(e){this.afternoon=u(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[r,s("seconds")],ss:[r,s("seconds")],m:[r,s("minutes")],mm:[r,s("minutes")],H:[r,s("hours")],h:[r,s("hours")],HH:[r,s("hours")],hh:[r,s("hours")],D:[r,s("day")],DD:[n,s("day")],Do:[i,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],M:[r,s("month")],MM:[n,s("month")],MMM:[i,function(e){var t=c("months"),n=(c("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[i,function(e){var t=c("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(e){this.year=a(e)}],YYYY:[/\d{4}/,s("year")],Z:l,ZZ:l};function h(n){var r,i;r=n,i=o&&o.formats;for(var a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var o=r&&r.toUpperCase();return n||i[r]||e[r]||i[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,l=0;l-1)return new Date(("X"===t?1e3:1)*e);var r=h(t)(e),i=r.year,o=r.month,a=r.day,s=r.hours,l=r.minutes,c=r.seconds,u=r.milliseconds,d=r.zone,p=new Date,f=a||(i||o?1:p.getDate()),g=i||p.getFullYear(),m=0;i&&!o||(m=o>0?o-1:p.getMonth());var y=s||0,v=l||0,b=c||0,w=u||0;return d?new Date(Date.UTC(g,m,f,y,v,b,w+60*d.offset*1e3)):n?new Date(Date.UTC(g,m,f,y,v,b,w)):new Date(g,m,f,y,v,b,w)}catch(e){return new Date("")}}(t,s,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date("")),o={}}else if(s instanceof Array)for(var p=s.length,f=1;f<=p;f+=1){a[1]=s[f-1];var g=n.apply(this,a);if(g.isValid()){this.$d=g.$d,this.$L=g.$L,this.init();break}f===p&&(this.$d=new Date(""))}else i.call(this,e)}}}()},93845:function(e){e.exports=function(){"use strict";var e,t,n=1e3,r=6e4,i=36e5,o=864e5,a=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s=31536e6,l=2628e6,c=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,u={years:s,months:l,days:o,hours:i,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},d=function(e){return e instanceof v},h=function(e,t,n){return new v(e,n,t.$l)},p=function(e){return t.p(e)+"s"},f=function(e){return e<0},g=function(e){return f(e)?Math.ceil(e):Math.floor(e)},m=function(e){return Math.abs(e)},y=function(e,t){return e?f(e)?{negative:!0,format:""+m(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},v=function(){function f(e,t,n){var r=this;if(this.$d={},this.$l=n,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return h(e*u[p(t)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach((function(t){r.$d[p(t)]=e[t]})),this.calMilliseconds(),this;if("string"==typeof e){var i=e.match(c);if(i){var o=i.slice(2).map((function(e){return null!=e?Number(e):0}));return this.$d.years=o[0],this.$d.months=o[1],this.$d.weeks=o[2],this.$d.days=o[3],this.$d.hours=o[4],this.$d.minutes=o[5],this.$d.seconds=o[6],this.calMilliseconds(),this}}return this}var m=f.prototype;return m.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*u[n]}),0)},m.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=g(e/s),e%=s,this.$d.months=g(e/l),e%=l,this.$d.days=g(e/o),e%=o,this.$d.hours=g(e/i),e%=i,this.$d.minutes=g(e/r),e%=r,this.$d.seconds=g(e/n),e%=n,this.$d.milliseconds=e},m.toISOString=function(){var e=y(this.$d.years,"Y"),t=y(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=y(n,"D"),i=y(this.$d.hours,"H"),o=y(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var s=y(a,"S"),l=e.negative||t.negative||r.negative||i.negative||o.negative||s.negative,c=i.format||o.format||s.format?"T":"",u=(l?"-":"")+"P"+e.format+t.format+r.format+c+i.format+o.format+s.format;return"P"===u||"-P"===u?"P0D":u},m.toJSON=function(){return this.toISOString()},m.format=function(e){var n=e||"YYYY-MM-DDTHH:mm:ss",r={Y:this.$d.years,YY:t.s(this.$d.years,2,"0"),YYYY:t.s(this.$d.years,4,"0"),M:this.$d.months,MM:t.s(this.$d.months,2,"0"),D:this.$d.days,DD:t.s(this.$d.days,2,"0"),H:this.$d.hours,HH:t.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,"0"),SSS:t.s(this.$d.milliseconds,3,"0")};return n.replace(a,(function(e,t){return t||String(r[e])}))},m.as=function(e){return this.$ms/u[p(e)]},m.get=function(e){var t=this.$ms,n=p(e);return"milliseconds"===n?t%=1e3:t="weeks"===n?g(t/u[n]):this.$d[n],t||0},m.add=function(e,t,n){var r;return r=t?e*u[p(t)]:d(e)?e.$ms:h(e,this).$ms,h(this.$ms+r*(n?-1:1),this)},m.subtract=function(e,t){return this.add(e,t,!0)},m.locale=function(e){var t=this.clone();return t.$l=e,t},m.clone=function(){return h(this.$ms,this)},m.humanize=function(t){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},m.valueOf=function(){return this.asMilliseconds()},m.milliseconds=function(){return this.get("milliseconds")},m.asMilliseconds=function(){return this.as("milliseconds")},m.seconds=function(){return this.get("seconds")},m.asSeconds=function(){return this.as("seconds")},m.minutes=function(){return this.get("minutes")},m.asMinutes=function(){return this.as("minutes")},m.hours=function(){return this.get("hours")},m.asHours=function(){return this.as("hours")},m.days=function(){return this.get("days")},m.asDays=function(){return this.as("days")},m.weeks=function(){return this.get("weeks")},m.asWeeks=function(){return this.as("weeks")},m.months=function(){return this.get("months")},m.asMonths=function(){return this.as("months")},m.years=function(){return this.get("years")},m.asYears=function(){return this.as("years")},f}(),b=function(e,t,n){return e.add(t.years()*n,"y").add(t.months()*n,"M").add(t.days()*n,"d").add(t.hours()*n,"h").add(t.minutes()*n,"m").add(t.seconds()*n,"s").add(t.milliseconds()*n,"ms")};return function(n,r,i){e=i,t=i().$utils(),i.duration=function(e,t){var n=i.locale();return h(e,{$l:n},t)},i.isDuration=d;var o=r.prototype.add,a=r.prototype.subtract;r.prototype.add=function(e,t){return d(e)?b(this,e,1):o.bind(this)(e,t)},r.prototype.subtract=function(e,t){return d(e)?b(this,e,-1):a.bind(this)(e,t)}}}()},82253:function(e){e.exports=function(){"use strict";return function(e,t,n){t.prototype.isBetween=function(e,t,r,i){var o=n(e),a=n(t),s="("===(i=i||"()")[0],l=")"===i[1];return(s?this.isAfter(o,r):!this.isBefore(o,r))&&(l?this.isBefore(a,r):!this.isAfter(a,r))||(s?this.isBefore(o,r):!this.isAfter(o,r))&&(l?this.isAfter(a,r):!this.isBefore(a,r))}}}()},98147:function(e){e.exports=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,n,r){var i=n.prototype,o=i.format;r.en.formats=e,i.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var n=this.$locale().formats,r=function(t,n){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,i){var o=i&&i.toUpperCase();return r||n[i]||e[i]||n[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))}(t,void 0===n?{}:n);return o.call(this,r)}}}()},6091:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,o){var a=i.prototype;o.utc=function(e){return new i({date:e,utc:!0,args:arguments})},a.utc=function(t){var n=o(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return o(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var c=a.utcOffset;a.utcOffset=function(r,i){var o=this.$utils().u;if(o(r))return this.$u?0:o(this.$offset)?c.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var i=(""+r[0]).match(n)||["-",0,0],o=i[0],a=60*+i[1]+ +i[2];return 0===a?0:"+"===o?a:-a}(r),null===r))return this;var a=Math.abs(r)<=16?60*r:r,s=this;if(i)return s.$offset=a,s.$u=0===r,s;if(0!==r){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+l,e)).$offset=a,s.$x.$localOffset=l}else s=this.utc();return s};var u=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?o(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var h=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return h.call(this,e,t,n);var r=this.local(),i=o(e).local();return h.call(r,i,t,n)}}}()},77113:function(e){e.exports=function(){"use strict";var e="week",t="year";return function(n,r,i){var o=r.prototype;o.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var o=i(this).startOf(t).add(1,t).date(r),a=i(this).endOf(e);if(o.isBefore(a))return 1}var s=i(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),l=this.diff(s,e,!0);return l<0?i(this).startOf("week").week():Math.ceil(l)},o.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}()},29221:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function i(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],i(n),i(r))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(n)||[],r=1;r{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function i(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function o(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,t,n){var i={};return n.isMergeableObject(e)&&o(e).forEach((function(t){i[t]=r(e[t],n)})),o(t).forEach((function(o){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(a(e,o)&&n.isMergeableObject(t[o])?i[o]=function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"==typeof n?n:l}(o,n)(e[o],t[o],n):i[o]=r(t[o],n))})),i}function l(e,n,o){(o=o||{}).arrayMerge=o.arrayMerge||i,o.isMergeableObject=o.isMergeableObject||t,o.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?o.arrayMerge(e,n,o):s(e,n,o):r(n,o)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return l(e,n,t)}),{})};var c=l;e.exports=c},88359:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((function(e){return[e.toLowerCase(),e]}))),t.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((function(e){return[e.toLowerCase(),e]})))},56963:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n");case s.Comment:return function(e){return"\x3c!--".concat(e.data,"--\x3e")}(e);case s.CDATA:return function(e){return"")}(e);case s.Script:case s.Style:case s.Tag:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!==(n=c.elementNames.get(e.name))&&void 0!==n?n:e.name,e.parent&&g.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1})));!t.xmlMode&&m.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var i="<".concat(e.name),o=function(e,t){var n;if(e){var r=!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)?d:t.xmlMode||"utf8"!==t.encodeEntities?l.encodeXML:l.escapeAttribute;return Object.keys(e).map((function(n){var i,o,a=null!==(i=e[n])&&void 0!==i?i:"";return"foreign"===t.xmlMode&&(n=null!==(o=c.attributeNames.get(n))&&void 0!==o?o:n),t.emptyAttrs||t.xmlMode||""!==a?"".concat(n,'="').concat(r(a),'"'):n})).join(" ")}}(e.attribs,t);o&&(i+=" ".concat(o));0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&h.has(e.name))?(t.xmlMode||(i+=" "),i+="/>"):(i+=">",e.children.length>0&&(i+=p(e.children,t)),!t.xmlMode&&h.has(e.name)||(i+="")));return i}(e,t);case s.Text:return function(e,t){var n,r=e.data||"";!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)||!t.xmlMode&&e.parent&&u.has(e.parent.name)||(r=t.xmlMode||"utf8"!==t.encodeEntities?(0,l.encodeXML)(r):(0,l.escapeText)(r));return r}(e,t)}}t.render=p,t.default=p;var g=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m=new Set(["svg","math"])},54718:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},62679:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=n(54718),a=n(56679);i(n(56679),t);var s=/\s+/g,l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=l),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:l,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?o.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,n=this.lastNode;if(n&&n.type===o.ElementType.Text)t?n.data=(n.data+e).replace(s," "):n.data+=e,this.options.withEndIndices&&(n.endIndex=this.parser.endIndex);else{t&&(e=e.replace(s," "));var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.NodeWithChildren(o.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},56679:function(e,t,n){"use strict";var r,i=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=p;var f=function(e){function t(t){return e.call(this,a.ElementType.Root,t)||this}return i(t,e),t}(p);t.Document=f;var g=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,i,r)||this;return o.name=t,o.attribs=n,o}return i(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(p);function m(e){return(0,a.isTag)(e)}function y(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function w(e){return e.type===a.ElementType.Directive}function x(e){return e.type===a.ElementType.Root}function A(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new u(e.data);else if(b(e))n=new d(e.data);else if(m(e)){var r=t?S(e.children):[],i=new g(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(y(e)){r=t?S(e.children):[];var s=new p(a.ElementType.CDATA,r);r.forEach((function(e){return e.parent=s})),n=s}else if(x(e)){r=t?S(e.children):[];var l=new f(r);r.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),n=l}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new h(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),n=c}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function S(e){for(var t=e.map((function(e){return A(e,!0)})),n=1;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=h;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(h);t.CDATA=p;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(h);t.Document=f;var g=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,r)||this;return o.name=t,o.attribs=n,o.type=i,o}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(h);function m(e){return(0,a.isTag)(e)}function y(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function w(e){return e.type===a.ElementType.Directive}function x(e){return e.type===a.ElementType.Root}function A(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new c(e.data);else if(b(e))n=new u(e.data);else if(m(e)){var r=t?S(e.children):[],i=new g(e.name,o({},e.attribs),r);r.forEach((function(e){return e.parent=i})),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(y(e)){r=t?S(e.children):[];var a=new p(r);r.forEach((function(e){return e.parent=a})),n=a}else if(x(e)){r=t?S(e.children):[];var s=new f(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function S(e){for(var t=e.map((function(e){return A(e,!0)})),n=1;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var r=n(11662),i=n(10944);t.getFeed=function(e){var t=l(d,e);return t?"feed"===t.name?function(e){var t,n=e.children,r={type:"atom",items:(0,i.getElementsByTagName)("entry",n).map((function(e){var t,n=e.children,r={media:s(n)};u(r,"id","id",n),u(r,"title","title",n);var i=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;i&&(r.link=i);var o=c("summary",n)||c("content",n);o&&(r.description=o);var a=c("updated",n);return a&&(r.pubDate=new Date(a)),r}))};u(r,"id","id",n),u(r,"title","title",n);var o=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;o&&(r.link=o);u(r,"description","subtitle",n);var a=c("updated",n);a&&(r.updated=new Date(a));return u(r,"author","email",n,!0),r}(t):function(e){var t,n,r=null!==(n=null===(t=l("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==n?n:[],o={type:e.name.substr(0,3),id:"",items:(0,i.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,n={media:s(t)};u(n,"id","guid",t),u(n,"title","title",t),u(n,"link","link",t),u(n,"description","description",t);var r=c("pubDate",t)||c("dc:date",t);return r&&(n.pubDate=new Date(r)),n}))};u(o,"title","title",r),u(o,"link","link",r),u(o,"description","description",r);var a=c("lastBuildDate",r);a&&(o.updated=new Date(a));return u(o,"author","managingEditor",r,!0),o}(t):null};var o=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(e){return(0,i.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,i=o;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.DocumentPosition=t.removeSubsets=void 0;var r,i=n(71667);function o(e,t){var n=[],o=[];if(e===t)return 0;for(var a=(0,i.hasChildren)(e)?e:e.parent;a;)n.unshift(a),a=a.parent;for(a=(0,i.hasChildren)(t)?t:t.parent;a;)o.unshift(a),a=a.parent;for(var s=Math.min(n.length,o.length),l=0;lu.indexOf(h)?c===t?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:c===e?r.PRECEDING|r.CONTAINS:r.PRECEDING}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e},function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(r=t.DocumentPosition||(t.DocumentPosition={})),t.compareDocumentPosition=o,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=o(e,t);return n&r.PRECEDING?-1:n&r.FOLLOWING?1:0})),e}},13975:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(n(11662),t),i(n(75257),t),i(n(41694),t),i(n(29727),t),i(n(10944),t),i(n(62614),t),i(n(52674),t);var o=n(71667);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return o.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return o.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return o.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return o.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return o.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return o.hasChildren}})},10944:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var r=n(71667),i=n(29727),o={tag_name:function(e){return"function"==typeof e?function(t){return(0,r.isTag)(t)&&e(t.name)}:"*"===e?r.isTag:function(t){return(0,r.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,r.isText)(t)&&e(t.data)}:function(t){return(0,r.isText)(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(n){return(0,r.isTag)(n)&&t(n.attribs[e])}:function(n){return(0,r.isTag)(n)&&n.attribs[e]===t}}function s(e,t){return function(n){return e(n)||t(n)}}function l(e){var t=Object.keys(e).map((function(t){var n=e[t];return Object.prototype.hasOwnProperty.call(o,t)?o[t](n):a(t,n)}));return 0===t.length?null:t.reduce(s)}t.testElement=function(e,t){var n=l(e);return!n||n(t)},t.getElements=function(e,t,n,r){void 0===r&&(r=1/0);var o=l(e);return o?(0,i.filter)(o,t,n,r):[]},t.getElementById=function(e,t,n){return void 0===n&&(n=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(a("id",e),t,n)},t.getElementsByTagName=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,i.filter)(o.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,i.filter)(o.tag_type(e),t,n,r)}},41694:(e,t)=>{"use strict";function n(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=n,t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t,e.parent=null}},t.appendChild=function(e,t){if(n(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null},t.append=function(e,t){n(t);var r=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=r,i){if(i.prev=t,r){var o=r.children;o.splice(o.lastIndexOf(i),0,t)}}else r&&r.children.push(t)},t.prependChild=function(e,t){if(n(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var r=e.children[1];r.prev=t,t.next=r}else t.next=null},t.prepend=function(e,t){n(t);var r=e.parent;if(r){var i=r.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},29727:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var r=n(71667);function i(e,t,n,i){for(var o=[],a=[t],s=[0];;)if(s[0]>=a[0].length){if(1===s.length)return o;a.shift(),s.shift()}else{var l=a[0][s[0]++];if(e(l)&&(o.push(l),--i<=0))return o;n&&(0,r.hasChildren)(l)&&l.children.length>0&&(s.unshift(0),a.unshift(l.children))}}t.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),i(e,Array.isArray(t)?t:[t],n,r)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,n,i){void 0===i&&(i=!0);for(var o=null,a=0;a0&&(o=e(t,s.children,!0)))}return o},t.existsOne=function e(t,n){return n.some((function(n){return(0,r.isTag)(n)&&(t(n)||e(t,n.children))}))},t.findAll=function(e,t){for(var n=[],i=[t],o=[0];;)if(o[0]>=i[0].length){if(1===i.length)return n;i.shift(),o.shift()}else{var a=i[0][o[0]++];(0,r.isTag)(a)&&(e(a)&&n.push(a),a.children.length>0&&(o.unshift(0),i.unshift(a.children)))}}},11662:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=n(71667),o=r(n(56963)),a=n(54718);function s(e,t){return(0,o.default)(e,t)}t.getOuterHTML=s,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map((function(e){return s(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,i.hasChildren)(t)&&(t.type===a.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:""}},75257:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var r=n(71667);function i(e){return(0,r.hasChildren)(e)?e.children:[]}function o(e){return e.parent||null}t.getChildren=i,t.getParent=o,t.getSiblings=function(e){var t=o(e);if(null!=t)return i(t);for(var n=[e],r=e.prev,a=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=a;)n.push(a),a=a.next;return n},t.getAttributeValue=function(e,t){var n;return null===(n=e.attribs)||void 0===n?void 0:n[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,r.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,r.isTag)(t);)t=t.prev;return t}},37118:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var s=a(n(13739));t.htmlDecodeTree=s.default;var l=a(n(74125));t.xmlDecodeTree=l.default;var c=o(n(75840));t.decodeCodePoint=c.default;var u,d=n(75840);Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return d.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return d.fromCodePoint}}),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(u||(u={}));var h,p,f;function g(e){return e>=u.ZERO&&e<=u.NINE}function m(e){return e===u.EQUALS||function(e){return e>=u.UPPER_A&&e<=u.UPPER_Z||e>=u.LOWER_A&&e<=u.LOWER_Z||g(e)}(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(h=t.BinTrieFlags||(t.BinTrieFlags={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(p||(p={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(f=t.DecodingMode||(t.DecodingMode={}));var y=function(){function e(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=p.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=f.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=p.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,t){switch(this.state){case p.EntityStart:return e.charCodeAt(t)===u.NUM?(this.state=p.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=p.NamedEntity,this.stateNamedEntity(e,t));case p.NumericStart:return this.stateNumericStart(e,t);case p.NumericDecimal:return this.stateNumericDecimal(e,t);case p.NumericHex:return this.stateNumericHex(e,t);case p.NamedEntity:return this.stateNamedEntity(e,t)}},e.prototype.stateNumericStart=function(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===u.LOWER_X?(this.state=p.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=p.NumericDecimal,this.stateNumericDecimal(e,t))},e.prototype.addToNumericResult=function(e,t,n,r){if(t!==n){var i=n-t;this.result=this.result*Math.pow(r,i)+parseInt(e.substr(t,i),r),this.consumed+=i}},e.prototype.stateNumericHex=function(e,t){for(var n,r=t;t=u.UPPER_A&&n<=u.UPPER_F||n>=u.LOWER_A&&n<=u.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,r,t,16),-1},e.prototype.stateNumericDecimal=function(e,t){for(var n=t;t>14;t>14)){if(o===u.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==f.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,t=this.result,n=(this.decodeTree[t]&h.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,t,n){var r=this.decodeTree;return this.emitCodePoint(1===t?r[e]&~h.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n},e.prototype.end=function(){var e;switch(this.state){case p.NamedEntity:return 0===this.result||this.decodeMode===f.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case p.NumericDecimal:return this.emitNumericEntity(0,2);case p.NumericHex:return this.emitNumericEntity(0,3);case p.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case p.EntityStart:return 0}},e}();function v(e){var t="",n=new y(e,(function(e){return t+=(0,c.fromCodePoint)(e)}));return function(e,r){for(var i=0,o=0;(o=e.indexOf("&",o))>=0;){t+=e.slice(i,o),n.startEntity(r);var a=n.write(e,o+1);if(a<0){i=o+n.end();break}i=o+a,o=0===a?i+1:i}var s=t+e.slice(i);return t="",s}}function b(e,t,n,r){var i=(t&h.BRANCH_LENGTH)>>7,o=t&h.JUMP_TABLE;if(0===i)return 0!==o&&r===o?n:-1;if(o){var a=r-o;return a<0||a>=i?-1:e[n+a]-1}for(var s=n,l=s+i-1;s<=l;){var c=s+l>>>1,u=e[c];if(ur))return e[c+i];l=c-1}}return-1}t.EntityDecoder=y,t.determineBranch=b;var w=v(s.default),x=v(l.default);t.decodeHTML=function(e,t){return void 0===t&&(t=f.Legacy),w(e,t)},t.decodeHTMLAttribute=function(e){return w(e,f.Attribute)},t.decodeHTMLStrict=function(e){return w(e,f.Strict)},t.decodeXML=function(e){return x(e,f.Strict)}},75840:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var r=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function i(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=r.get(e))&&void 0!==t?t:e}t.fromCodePoint=null!==(n=String.fromCodePoint)&&void 0!==n?n:function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)},t.replaceCodePoint=i,t.default=function(e){return(0,t.fromCodePoint)(i(e))}},70322:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.encodeNonAsciiHTML=t.encodeHTML=void 0;var i=r(n(36264)),o=n(34091),a=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function s(e,t){for(var n,r="",a=0;null!==(n=e.exec(t));){var s=n.index;r+=t.substring(a,s);var l=t.charCodeAt(s),c=i.default.get(l);if("object"==typeof c){if(s+1{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var n=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function r(e){for(var r,i="",o=0;null!==(r=t.xmlReplacer.exec(e));){var a=r.index,s=e.charCodeAt(a),l=n.get(s);void 0!==l?(i+=e.substring(o,a)+l,o=a+1):(i+="".concat(e.substring(o,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),o=t.xmlReplacer.lastIndex+=Number(55296==(64512&s)))}return i+e.substr(o)}function i(e,t){return function(n){for(var r,i=0,o="";r=e.exec(n);)i!==r.index&&(o+=n.substring(i,r.index)),o+=t.get(r[0].charCodeAt(0)),i=r.index+1;return o+n.substring(i)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=r,t.escape=r,t.escapeUTF8=i(/[&<>'"]/g,n),t.escapeAttribute=i(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),t.escapeText=i(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},13739:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((function(e){return e.charCodeAt(0)})))},74125:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(e){return e.charCodeAt(0)})))},36264:(e,t)=>{"use strict";function n(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLAttribute=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.DecodingMode=t.EntityDecoder=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.EntityLevel=void 0;var r,i,o=n(37118),a=n(70322),s=n(34091);function l(e,t){if(void 0===t&&(t=r.XML),("number"==typeof t?t:t.level)===r.HTML){var n="object"==typeof t?t.mode:void 0;return(0,o.decodeHTML)(e,n)}return(0,o.decodeXML)(e)}!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(r=t.EntityLevel||(t.EntityLevel={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(i=t.EncodingMode||(t.EncodingMode={})),t.decode=l,t.decodeStrict=function(e,t){var n;void 0===t&&(t=r.XML);var i="number"==typeof t?{level:t}:t;return null!==(n=i.mode)&&void 0!==n||(i.mode=o.DecodingMode.Strict),l(e,i)},t.encode=function(e,t){void 0===t&&(t=r.XML);var n="number"==typeof t?{level:t}:t;return n.mode===i.UTF8?(0,s.escapeUTF8)(e):n.mode===i.Attribute?(0,s.escapeAttribute)(e):n.mode===i.Text?(0,s.escapeText)(e):n.level===r.HTML?n.mode===i.ASCII?(0,a.encodeNonAsciiHTML)(e):(0,a.encodeHTML)(e):(0,s.encodeXML)(e)};var c=n(34091);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return c.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return c.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return c.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return c.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return c.escapeText}});var u=n(70322);Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return u.encodeNonAsciiHTML}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return u.encodeHTML}});var d=n(37118);Object.defineProperty(t,"EntityDecoder",{enumerable:!0,get:function(){return d.EntityDecoder}}),Object.defineProperty(t,"DecodingMode",{enumerable:!0,get:function(){return d.DecodingMode}}),Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return d.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTMLAttribute",{enumerable:!0,get:function(){return d.decodeHTMLAttribute}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return d.decodeXML}})},21117:e=>{"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},47633:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExportToCsv=t.ConfigDefaults=t.CsvConfigConsts=void 0;var n=function(){function e(){}return e.EOL="\r\n",e.BOM="\ufeff",e.DEFAULT_FIELD_SEPARATOR=",",e.DEFAULT_DECIMAL_SEPARATOR=".",e.DEFAULT_QUOTE='"',e.DEFAULT_SHOW_TITLE=!1,e.DEFAULT_TITLE="My Generated Report",e.DEFAULT_FILENAME="generated",e.DEFAULT_SHOW_LABELS=!1,e.DEFAULT_USE_TEXT_FILE=!1,e.DEFAULT_USE_BOM=!0,e.DEFAULT_HEADER=[],e.DEFAULT_KEYS_AS_HEADERS=!1,e}();t.CsvConfigConsts=n,t.ConfigDefaults={filename:n.DEFAULT_FILENAME,fieldSeparator:n.DEFAULT_FIELD_SEPARATOR,quoteStrings:n.DEFAULT_QUOTE,decimalSeparator:n.DEFAULT_DECIMAL_SEPARATOR,showLabels:n.DEFAULT_SHOW_LABELS,showTitle:n.DEFAULT_SHOW_TITLE,title:n.DEFAULT_TITLE,useTextFile:n.DEFAULT_USE_TEXT_FILE,useBom:n.DEFAULT_USE_BOM,headers:n.DEFAULT_HEADER,useKeysAsHeaders:n.DEFAULT_KEYS_AS_HEADERS};var r=function(){function e(e){this._csv="";var n=e||{};this._options=a({},t.ConfigDefaults,n),this._options.useKeysAsHeaders&&this._options.headers&&this._options.headers.length>0&&console.warn("Option to use object keys as headers was set, but headers were still passed!")}return Object.defineProperty(e.prototype,"options",{get:function(){return this._options},set:function(e){this._options=a({},t.ConfigDefaults,e)},enumerable:!1,configurable:!0}),e.prototype.generateCsv=function(e,t){if(void 0===t&&(t=!1),this._csv="",this._parseData(e),this._options.useBom&&(this._csv+=n.BOM),this._options.showTitle&&(this._csv+=this._options.title+"\r\n\n"),this._createHeaders(),this._createBody(),""!=this._csv){if(t)return this._csv;var r=this._options.useTextFile?"plain":"csv",i=this._options.useTextFile?".txt":".csv",o=new Blob([this._csv],{type:"text/"+r+";charset=utf8;"}),a=document.createElement("a");a.href=URL.createObjectURL(o),a.setAttribute("visibility","hidden"),a.download=this._options.filename.replace(/ /g,"_")+i,document.body.appendChild(a),a.click(),document.body.removeChild(a)}else console.log("Invalid data")},e.prototype._getHeaders=function(){if(this._options.showLabels||this._options.useKeysAsHeaders)return this._options.useKeysAsHeaders?Object.keys(this._data[0]):this._options.headers},e.prototype._createHeaders=function(){var e=this._getHeaders();if(e.length>0){for(var t="",r=0;r-1||e.indexOf("\n")>-1||e.indexOf("\r")>-1)&&(e=this._options.quoteStrings+e+this._options.quoteStrings),e):"boolean"==typeof e?e?"TRUE":"FALSE":e},e.prototype._isFloat=function(e){return+e===e&&(!isFinite(e)||Boolean(e%1))},e.prototype._parseData=function(e){return this._data="object"!=typeof e?JSON.parse(e):e,this._data},e}();t.ExportToCsv=r;var i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){for(var t,n=[],r=1;r{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},5137:e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),i=Array.isArray(t),o=0;o{"use strict";var r=n(48795),i={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},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(f){var i=p(n);i&&i!==f&&e(t,i,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),g=l(n),m=0;m{e.exports={CASE_SENSITIVE_TAG_NAMES:["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]}},44371:(e,t,n)=>{var r="html",i="head",o="body",a=/<([a-zA-Z]+[0-9]?)/,s=//i,l=//i,c=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var d=new window.DOMParser;c=u=function(e,t){return t&&(e="<"+t+">"+e+""),d.parseFromString(e,"text/html")}}if(document.implementation){var h=n(86644).isIE,p=document.implementation.createHTMLDocument(h()?"html-dom-parser":void 0);c=function(e,t){return t?(p.documentElement.getElementsByTagName(t)[0].innerHTML=e,p):(p.documentElement.innerHTML=e,p)}}var f,g=document.createElement("template");g.content&&(f=function(e){return g.innerHTML=e,g.content.childNodes}),e.exports=function(e){var t,n,d,h,p=e.match(a);switch(p&&p[1]&&(t=p[1].toLowerCase()),t){case r:return n=u(e),s.test(e)||(d=n.getElementsByTagName(i)[0])&&d.parentNode.removeChild(d),l.test(e)||(d=n.getElementsByTagName(o)[0])&&d.parentNode.removeChild(d),n.getElementsByTagName(r);case i:case o:return h=c(e).getElementsByTagName(t),l.test(e)&&s.test(e)?h[0].parentNode.childNodes:h;default:return f?f(e):c(e,o).getElementsByTagName(o)[0].childNodes}}},43136:(e,t,n)=>{var r=n(44371),i=n(86644).formatDOM,o=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(o);return n&&n[1]&&(t=n[1]),i(r(e),null,t)}},86644:(e,t,n)=>{for(var r,i=n(71605),o=n(56679),a=i.CASE_SENSITIVE_TAG_NAMES,s=o.Comment,l=o.Element,c=o.ProcessingInstruction,u=o.Text,d={},h=0,p=a.length;h{"use strict";n.d(t,{A:()=>h});var r=n(77835),i=n.n(r),o=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function a(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(i()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var a=new RegExp(o),s=null;null!==(s=a.exec(e));)if(s[0].trim())if(s[1]){var l=s[1].trim(),c=[l,""];l.indexOf("=")>-1&&(c=l.split("=")),t.attrs[c[0]]=c[1],a.lastIndex--}else s[2]&&(t.attrs[s[2]]=s[3].trim().substring(1,s[3].length-1));return t}var s=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,l=/^\s*$/,c=Object.create(null);function u(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(u,"")+"";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var d={parse:function(e,t){t||(t={}),t.components||(t.components=c);var n,r=[],i=[],o=-1,u=!1;if(0!==e.indexOf("<")){var d=e.indexOf("<");r.push({type:"text",content:-1===d?e:e.substring(0,d)})}return e.replace(s,(function(s,c){if(u){if(s!=="")return;u=!1}var d,h="/"!==s.charAt(1),p=s.startsWith("\x3c!--"),f=c+s.length,g=e.charAt(f);if(p){var m=a(s);return o<0?(r.push(m),r):((d=i[o]).children.push(m),r)}if(h&&(o++,"tag"===(n=a(s)).type&&t.components[n.name]&&(n.type="component",u=!0),n.voidElement||u||!g||"<"===g||n.children.push({type:"text",content:e.slice(f,e.indexOf("<",f))}),0===o&&r.push(n),(d=i[o-1])&&d.children.push(n),i[o]=n),(!h||n.voidElement)&&(o>-1&&(n.voidElement||n.name===s.slice(2,-1))&&(o--,n=-1===o?r:i[o]),!u&&"<"!==g&&g)){d=-1===o?r:i[o].children;var y=e.indexOf("<",f),v=e.slice(f,-1===y?void 0:y);l.test(v)&&(v=" "),(y>-1&&o+d.length>=0||" "!==v)&&d.push({type:"text",content:v})}})),r},stringify:function(e){return e.reduce((function(e,t){return e+u("",t)}),"")}};const h=d},31082:(e,t,n)=>{var r=n(70640),i=n(49156),o=n(43136);o="function"==typeof o.default?o.default:o;var a={lowerCaseAttributeNames:!1};function s(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:r(o(e,(t=t||{}).htmlparser2||a),t)}s.domToReact=r,s.htmlToDOM=o,s.attributesToProps=i,s.Element=n(62679).Element,e.exports=s,e.exports.default=s},49156:(e,t,n)=>{var r=n(83379),i=n(38354);function o(e){return r.possibleStandardNames[e]}e.exports=function(e){var t,n,a,s,l,c={},u=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(a=e[t],r.isCustomAttribute(t))c[t]=a;else if(s=o(n=t.toLowerCase()))switch(l=r.getPropertyInfo(s),"checked"!==s&&"value"!==s||u||(s=o("default"+n)),c[s]=a,l&&l.type){case r.BOOLEAN:c[s]=!0;break;case r.OVERLOADED_BOOLEAN:""===a&&(c[s]=!0)}else i.PRESERVE_CUSTOM_ATTRIBUTES&&(c[t]=a);return i.setStyleProp(e.style,c),c}},70640:(e,t,n)=>{var r=n(30538),i=n(49156),o=n(38354),a=o.setStyleProp,s=o.canTextBeChildOfNode;function l(e){return o.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&o.isCustomComponent(e.name,e.attribs)}e.exports=function e(t,n){for(var o,c,u,d,h,p=(n=n||{}).library||r,f=p.cloneElement,g=p.createElement,m=p.isValidElement,y=[],v="function"==typeof n.replace,b=n.trim,w=0,x=t.length;w1&&(u=f(u,{key:u.key||w})),y.push(u);else if("text"!==o.type){switch(d=o.attribs,l(o)?a(d.style,d):d&&(d=i(d)),h=null,o.type){case"script":case"style":o.children[0]&&(d.dangerouslySetInnerHTML={__html:o.children[0].data});break;case"tag":"textarea"===o.name&&o.children[0]?d.defaultValue=o.children[0].data:o.children&&o.children.length&&(h=e(o.children,n));break;default:continue}x>1&&(d.key=w),y.push(g(o.name,d,h))}else{if((c=!o.data.trim().length)&&o.parent&&!s(o.parent))continue;if(b&&c)continue;y.push(o.data)}return 1===y.length?y[0]:y}},38354:(e,t,n)=>{var r=n(30538),i=n(49115).default;var o={reactCompat:!0};var a=r.version.split(".")[0]>=16,s=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var n,r,i="function"==typeof t,o={},a={};for(n in e)r=e[n],i&&(o=t(n,r))&&2===o.length?a[o[0]]=o[1]:"string"==typeof r&&(a[r]=n);return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=i(e,o)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!s.has(e.name)},elementsWithNoTextChildren:s}},3328:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var a=o(n(24602)),s=n(37118),l=new Set(["input","option","optgroup","select","button","datalist","textarea"]),c=new Set(["p"]),u=new Set(["thead","tbody"]),d=new Set(["dd","dt"]),h=new Set(["rt","rp"]),p=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",c],["h1",c],["h2",c],["h3",c],["h4",c],["h5",c],["h6",c],["select",l],["input",l],["output",l],["button",l],["datalist",l],["textarea",l],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",d],["dt",d],["address",c],["article",c],["aside",c],["blockquote",c],["details",c],["div",c],["dl",c],["fieldset",c],["figcaption",c],["figure",c],["footer",c],["form",c],["header",c],["hr",c],["main",c],["nav",c],["ol",c],["pre",c],["section",c],["table",c],["ul",c],["rt",h],["rp",h],["tbody",u],["tfoot",u]]),f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),g=new Set(["math","svg"]),m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),y=/\s|\//,v=function(){function e(e,t){var n,r,i,o,s;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(n=t.lowerCaseTags)&&void 0!==n?n:!t.xmlMode,this.lowerCaseAttributeNames=null!==(r=t.lowerCaseAttributeNames)&&void 0!==r?r:!t.xmlMode,this.tokenizer=new(null!==(i=t.Tokenizer)&&void 0!==i?i:a.default)(this.options,this),null===(s=(o=this.cbs).onparserinit)||void 0===s||s.call(o,this)}return e.prototype.ontext=function(e,t){var n,r,i=this.getSlice(e,t);this.endIndex=t-1,null===(r=(n=this.cbs).ontext)||void 0===r||r.call(n,i),this.startIndex=t},e.prototype.ontextentity=function(e){var t,n,r=this.tokenizer.getSectionStart();this.endIndex=r-1,null===(n=(t=this.cbs).ontext)||void 0===n||n.call(t,(0,s.fromCodePoint)(e)),this.startIndex=r},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&f.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},e.prototype.emitOpenTag=function(e){var t,n,r,i;this.openTagStart=this.startIndex,this.tagname=e;var o=!this.options.xmlMode&&p.get(e);if(o)for(;this.stack.length>0&&o.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,a,!0)}this.isVoidElement(e)||(this.stack.push(e),g.has(e)?this.foreignContext.push(!0):m.has(e)&&this.foreignContext.push(!1)),null===(i=(r=this.cbs).onopentagname)||void 0===i||i.call(r,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(t=this.cbs).onopentag)||void 0===n||n.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){var n,r,i,o,a,s;this.endIndex=t;var l=this.getSlice(e,t);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(g.has(l)||m.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))this.options.xmlMode||"br"!==l||(null===(r=(n=this.cbs).onopentagname)||void 0===r||r.call(n,"br"),null===(o=(i=this.cbs).onopentag)||void 0===o||o.call(i,"br",{},!0),null===(s=(a=this.cbs).onclosetag)||void 0===s||s.call(a,"br",!1));else{var c=this.stack.lastIndexOf(l);if(-1!==c)if(this.cbs.onclosetag)for(var u=this.stack.length-c;u--;)this.cbs.onclosetag(this.stack.pop(),0!==u);else this.stack.length=c;else this.options.xmlMode||"p"!==l||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,n,r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&(null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,r,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,s.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var n,r;this.endIndex=t,null===(r=(n=this.cbs).onattribute)||void 0===r||r.call(n,this.attribname,this.attribvalue,e===a.QuoteType.Double?'"':e===a.QuoteType.Single?"'":e===a.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(y),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("!".concat(r),"!".concat(n))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("?".concat(r),"?".concat(n))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,n){var r,i,o,a;this.endIndex=t,null===(i=(r=this.cbs).oncomment)||void 0===i||i.call(r,this.getSlice(e,t-n)),null===(a=(o=this.cbs).oncommentend)||void 0===a||a.call(o),this.startIndex=t+1},e.prototype.oncdata=function(e,t,n){var r,i,o,a,s,l,c,u,d,h;this.endIndex=t;var p=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?(null===(i=(r=this.cbs).oncdatastart)||void 0===i||i.call(r),null===(a=(o=this.cbs).ontext)||void 0===a||a.call(o,p),null===(l=(s=this.cbs).oncdataend)||void 0===l||l.call(s)):(null===(u=(c=this.cbs).oncomment)||void 0===u||u.call(c,"[CDATA[".concat(p,"]]")),null===(h=(d=this.cbs).oncommentend)||void 0===h||h.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,n,r;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))},e.prototype.end=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var r,i,o,a=n(37118);function s(e){return e===r.Space||e===r.NewLine||e===r.Tab||e===r.FormFeed||e===r.CarriageReturn}function l(e){return e===r.Slash||e===r.Gt||s(e)}function c(e){return e>=r.Zero&&e<=r.Nine}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(r||(r={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"}(i||(i={})),function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(o=t.QuoteType||(t.QuoteType={}));var u={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},d=function(){function e(e,t){var n=e.xmlMode,r=void 0!==n&&n,o=e.decodeEntities,s=void 0===o||o;this.cbs=t,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=r,this.decodeEntities=s,this.entityTrie=r?a.xmlDecodeTree:a.htmlDecodeTree}return e.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===r.Amp&&(this.state=i.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?l(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===r.Gt||s(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart=r.LowerA&&e<=r.LowerZ||e>=r.UpperA&&e<=r.UpperZ}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=i.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===r.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===r.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this.index,this.xmlMode||t!==u.TitleEnd[2]?this.state=this.xmlMode||t!==u.ScriptEnd[2]?i.InTagName:i.BeforeSpecialS:this.startSpecial(u.TitleEnd,3)}else e===r.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){l(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){s(e)||(e===r.Gt?this.state=i.Text:(this.state=this.isTagStartChar(e)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===r.Gt||s(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===r.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===r.Slash?this.state=i.InSelfClosingTag:s(e)||(this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===r.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):s(e)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===r.Eq||l(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===r.Eq?this.state=i.BeforeAttributeValue:e===r.Slash||e===r.Gt?(this.cbs.onattribend(o.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):s(e)||(this.cbs.onattribend(o.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===r.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):e===r.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):s(e)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===r.DoubleQuote?o.Double:o.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,r.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,r.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){s(e)||e===r.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(o.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===r.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=e===r.Dash?i.BeforeComment:i.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===r.Dash?(this.state=i.InCommentLike,this.currentSequence=u.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===u.ScriptEnd[3]?this.startSpecial(u.ScriptEnd,4):t===u.StyleEnd[3]?this.startSpecial(u.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===r.Number?this.state=i.BeforeNumericEntity:e===r.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,a.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var t=this.trieCurrent&a.BinTrieFlags.VALUE_LENGTH;if(t){var n=(t>>14)-1;if(this.allowLegacyEntity()||e===r.Semi){var i=this.index-this.entityExcess+1;i>this.sectionStart&&this.emitPartial(this.sectionStart,i),this.entityResult=this.trieIndex,this.trieIndex+=n,this.entityExcess=0,this.sectionStart=this.index+1,0===n&&this.emitNamedEntity()}else this.trieIndex+=n}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&a.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~a.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(32|e)===r.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var t=this.index-this.entityExcess-1;t+2+Number(this.state===i.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,a.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):c(e)?(this.entityResult=10*this.entityResult+(e-r.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):c(e)?(this.entityResult=16*this.entityResult+(e-r.Zero),this.entityExcess++):!function(e){return e>=r.UpperA&&e<=r.UpperF||e>=r.LowerA&&e<=r.LowerF}(e)?(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--):(this.entityResult=16*this.entityResult+((32|e)-r.LowerA+10),this.entityExcess++)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==i.InAttributeValueDq&&this.state!==i.InAttributeValueSq&&this.state!==i.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index{ +function(e,t){return e?function(e){return"function"==typeof e&&(()=>{const t=Object.getPrototypeOf(e);return t.prototype&&t.prototype.isReactComponent})()}(n=e)||"function"==typeof n||function(e){return"object"==typeof e&&"symbol"==typeof e.$$typeof&&["react.memo","react.forward_ref"].includes(e.$$typeof.description)}(n)?i.createElement(e,t):e:null;var n};function vM(){return{accessor:(e,t)=>"function"==typeof e?Object.assign(Object.assign({},t),{accessorFn:e}):Object.assign(Object.assign({},t),{accessorKey:e}),display:e=>e,group:e=>e}}const bM=(e,t,n=-1,r=0,o,i)=>ow(e,"mrt-row-create",null!=t?t:Object.assign({},...dM(e.options.columns).map((e=>({[uM(e)]:""})))),n,r,o,i),wM=(e,t)=>e instanceof Function?e(t):e,AM=e=>{var t,n,r;let o="",i="";return e&&("object"!=typeof e?(o=e,i=e):(o=null!==(n=null!==(t=e.label)&&void 0!==t?t:e.text)&&void 0!==n?n:e.value,i=null!==(r=e.value)&&void 0!==r?r:o)),{label:o,value:i}},xM=({cell:e,table:t})=>{const{enableEditing:n}=t.options,{column:{columnDef:r},row:o}=e;return!e.getIsPlaceholder()&&wM(n,o)&&!1!==wM(r.enableEditing,o)},SM=({cell:e,table:t})=>{const{options:{editDisplayMode:n},refs:{editInputRefs:r}}=t,{column:o}=e;xM({cell:e,table:t})&&"cell"===n&&(t.setEditingCell(e),queueMicrotask((()=>{var e;const t=r.current[o.id];t&&(t.focus(),null===(e=t.select)||void 0===e||e.call(t))})))};function CM({header:e,id:t,size:n,tableOptions:r}){const{defaultDisplayColumn:o,displayColumnDefOptions:i,localization:a}=r;return Object.assign(Object.assign(Object.assign(Object.assign({},o),{header:e?a[e]:"",size:n}),null==i?void 0:i[t]),{id:t})}const EM=e=>{const{enableRowPinning:t,rowPinningDisplayMode:n}=e;return!(!t||(null==n?void 0:n.startsWith("select")))},kM=e=>{const{enableRowDragging:t,enableRowOrdering:n}=e;return!(!t&&!n)},TM=e=>{const{enableExpanding:t,enableGrouping:n,renderDetailPanel:r,state:{grouping:o}}=e;return!!(t||n&&(null==o?void 0:o.length)||r)},_M=e=>{const{createDisplayMode:t,editDisplayMode:n,enableEditing:r,enableRowActions:o,state:{creatingRow:i}}=e;return!!(o||i&&"row"===t||r&&["modal","row"].includes(null!=n?n:""))},OM=e=>!!e.enableRowSelection,PM=e=>!!e.enableRowNumbers,IM=e=>"grid-no-grow"===e.layoutMode,MM=e=>[EM(e)&&"mrt-row-pin",kM(e)&&"mrt-row-drag","first"===e.positionActionsColumn&&_M(e)&&"mrt-row-actions","first"===e.positionExpandColumn&&TM(e)&&"mrt-row-expand",OM(e)&&"mrt-row-select",PM(e)&&"mrt-row-numbers"].filter(Boolean),LM=e=>["last"===e.positionActionsColumn&&_M(e)&&"mrt-row-actions","last"===e.positionExpandColumn&&TM(e)&&"mrt-row-expand",IM(e)&&"mrt-row-spacer"].filter(Boolean),RM=(e,t=!1)=>{const{state:{columnOrder:n=[]}}=e,r=MM(e),o=LM(e),i=dM(e.columns).map((e=>uM(e)));let a=t?i:Array.from(new Set([...n,...i]));return a=a.filter((e=>!r.includes(e)&&!o.includes(e))),[...r,...a,...o]},jM=Object.assign(Object.assign({},Bw),{fuzzy:(e,t,n)=>{let r=0;var o,i;return e.columnFiltersMeta[n]&&(o=e.columnFiltersMeta[n],i=t.columnFiltersMeta[n],r=o.rank===i.rank?0:o.rank>i.rank?-1:1),0===r?Bw.alphanumeric(e,t,n):r}}),FM=(e,t)=>Math.max(...Object.values(t.columnFiltersMeta).map((e=>e.rank)))-Math.max(...Object.values(e.columnFiltersMeta).map((e=>e.rank))),DM=(e,t)=>{const{getCenterRows:n,getPrePaginationRowModel:r,getRowModel:o,getState:i,getTopRows:a,options:{createDisplayMode:s,enablePagination:l,enableRowPinning:c,manualPagination:u,positionCreatingRow:d,rowPinningDisplayMode:h}}=e,{creatingRow:p,pagination:f}=i();let g=[];if(zM(e)){if(g=r().rows.sort(((e,t)=>FM(e,t))),l&&!u&&!t){const e=f.pageIndex*f.pageSize;g=g.slice(e,e+f.pageSize)}c&&!(null==h?void 0:h.includes("sticky"))&&(g=g.filter((e=>!e.getIsPinned())))}else g=!c||(null==h?void 0:h.includes("sticky"))?t?r().rows:o().rows:n();if(c&&(null==h?void 0:h.includes("sticky"))){const e=g.filter((e=>e.getIsPinned())).map((e=>e.id));g=[...a().filter((t=>!e.includes(t.id))),...g]}if(void 0!==d&&p&&"row"===s){const e=isNaN(+d)?"top"===d?0:g.length:+d;g=[...g.slice(0,e),p,...g.slice(e)]}return g},NM=e=>{const{getState:t,options:{enableGlobalFilterRankedResults:n,manualExpanding:r,manualFiltering:o,manualGrouping:i,manualSorting:a}}=e,{expanded:s,globalFilterFn:l}=t();return!r&&!o&&!i&&!a&&n&&"fuzzy"===l&&!0!==s&&!Object.values(s).some(Boolean)},zM=e=>{const{globalFilter:t,sorting:n}=e.getState();return NM(e)&&t&&!Object.values(n).some(Boolean)},BM=({row:e,table:t})=>{const{options:{enableRowSelection:n}}=t;return e.getIsSelected()||wM(n,e)&&e.getCanSelectSubRows()&&e.getIsAllSubRowsSelected()},VM=({row:e,staticRowIndex:t=0,table:n})=>(r,o)=>{var i;const{getState:a,options:{enableBatchRowSelection:s,enableMultiRowSelection:l,enableRowPinning:c,manualPagination:u,rowPinningDisplayMode:d},refs:{lastSelectedRowId:h}}=n,{pagination:{pageIndex:p,pageSize:f}}=a(),g=u?0:f*p,m=BM({row:e,table:n});e.toggleSelected(null!=o?o:!m);const y=new Set([e.id]);if(s&&l&&r.nativeEvent.shiftKey&&null!==h.current){const e=DM(n,!0),r=e.findIndex((e=>e.id===h.current));if(-1!==r){const o=BM({row:null==e?void 0:e[r],table:n}),i=t+g,[a,s]=re.toggleSelected(!1)))),c&&(null==d?void 0:d.includes("select"))&&y.forEach((e=>{n.getRow(e).pin(!m&&((null==d?void 0:d.includes("bottom"))?"bottom":"top"))}))},$M=({table:e})=>(t,n,r)=>{const{options:{enableRowPinning:o,rowPinningDisplayMode:i,selectAllMode:a},refs:{lastSelectedRowId:s}}=e;"all"===a||r?e.toggleAllRowsSelected(null!=n?n:t.target.checked):e.toggleAllPageRowsSelected(null!=n?n:t.target.checked),o&&(null==i?void 0:i.includes("select"))&&e.setRowPinning({bottom:[],top:[]}),s.current=null},GM=Object.assign({},bw),UM=(e,t,n,r)=>{const o=Xw(e.getValue(t),n,{threshold:Kw.MATCHES});return r(o),o.passed};UM.autoRemove=e=>!e;const WM=(e,t,n)=>e.getValue(t).toString().toLowerCase().trim().includes(n.toString().toLowerCase().trim());WM.autoRemove=e=>!e;const qM=(e,t,n)=>e.getValue(t).toString().toLowerCase().trim().startsWith(n.toString().toLowerCase().trim());qM.autoRemove=e=>!e;const HM=(e,t,n)=>e.getValue(t).toString().toLowerCase().trim().endsWith(n.toString().toLowerCase().trim());HM.autoRemove=e=>!e;const YM=(e,t,n)=>e.getValue(t).toString().toLowerCase().trim()===(null==n?void 0:n.toString().toLowerCase().trim());YM.autoRemove=e=>!e;const KM=(e,t,n)=>e.getValue(t).toString().toLowerCase().trim()!==n.toString().toLowerCase().trim();KM.autoRemove=e=>!e;const XM=(e,t,n)=>isNaN(+n)||isNaN(+e.getValue(t))?e.getValue(t).toString().toLowerCase().trim()>(null==n?void 0:n.toString().toLowerCase().trim()):+e.getValue(t)>+n;XM.autoRemove=e=>!e;const ZM=(e,t,n)=>YM(e,t,n)||XM(e,t,n);ZM.autoRemove=e=>!e;const JM=(e,t,n)=>isNaN(+n)||isNaN(+e.getValue(t))?e.getValue(t).toString().toLowerCase().trim()<(null==n?void 0:n.toString().toLowerCase().trim()):+e.getValue(t)<+n;JM.autoRemove=e=>!e;const QM=(e,t,n)=>YM(e,t,n)||JM(e,t,n);QM.autoRemove=e=>!e;const eL=(e,t,n)=>(["",void 0].includes(n[0])||XM(e,t,n[0]))&&(!isNaN(+n[0])&&!isNaN(+n[1])&&+n[0]>+n[1]||["",void 0].includes(n[1])||JM(e,t,n[1]));eL.autoRemove=e=>!e;const tL=(e,t,n)=>(["",void 0].includes(n[0])||ZM(e,t,n[0]))&&(!isNaN(+n[0])&&!isNaN(+n[1])&&+n[0]>+n[1]||["",void 0].includes(n[1])||QM(e,t,n[1]));tL.autoRemove=e=>!e;const nL=(e,t,n)=>!e.getValue(t).toString().trim();nL.autoRemove=e=>!e;const rL=(e,t,n)=>!!e.getValue(t).toString().trim();rL.autoRemove=e=>!e;const oL=Object.assign(Object.assign({},gw),{between:eL,betweenInclusive:tL,contains:WM,empty:nL,endsWith:HM,equals:YM,fuzzy:UM,greaterThan:XM,greaterThanOrEqualTo:ZM,lessThan:JM,lessThanOrEqualTo:QM,notEmpty:rL,notEquals:KM,startsWith:qM});function iL(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var{row:t,table:n,variant:r="icon"}=e,o=iL(e,["row","table","variant"]);const{getState:i,options:{icons:{CancelIcon:s,SaveIcon:l},localization:c,onCreatingRowCancel:u,onCreatingRowSave:d,onEditingRowCancel:h,onEditingRowSave:p},refs:{editInputRefs:f},setCreatingRow:g,setEditingRow:m}=n,{creatingRow:y,editingRow:v,isSaving:b}=i(),w=(null==y?void 0:y.id)===t.id,A=(null==v?void 0:v.id)===t.id,x=()=>{w?(null==u||u({row:t,table:n}),g(null)):A&&(null==h||h({row:t,table:n}),m(null)),t._valuesCache={}},S=()=>{var e;null===(e=Object.values(null==f?void 0:f.current).filter((e=>{var n,r;return t.id===(null===(r=null===(n=null==e?void 0:e.name)||void 0===n?void 0:n.split("_"))||void 0===r?void 0:r[0])})))||void 0===e||e.forEach((e=>{void 0!==e.value&&Object.hasOwn(null==t?void 0:t._valuesCache,e.name)&&(t._valuesCache[e.name]=e.value)})),w?null==d||d({exitCreatingMode:()=>g(null),row:t,table:n,values:t._valuesCache}):A&&(null==p||p({exitEditingMode:()=>m(null),row:t,table:n,values:null==t?void 0:t._valuesCache}))};return(0,F.jsx)(a.A,{onClick:e=>e.stopPropagation(),sx:e=>Object.assign({display:"flex",gap:"0.75rem"},wM(null==o?void 0:o.sx,e)),children:"icon"===r?(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(xo,{title:c.cancel,children:(0,F.jsx)(Vn,{"aria-label":c.cancel,onClick:x,children:(0,F.jsx)(s,{})})}),(w&&d||A&&p)&&(0,F.jsx)(xo,{title:c.save,children:(0,F.jsx)(Vn,{"aria-label":c.save,color:"info",disabled:b,onClick:S,children:b?(0,F.jsx)(ja,{size:18}):(0,F.jsx)(l,{})})})]}):(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(No,{onClick:x,sx:{minWidth:"100px"},children:c.cancel}),(0,F.jsxs)(No,{disabled:b,onClick:S,sx:{minWidth:"100px"},variant:"contained",children:[b&&(0,F.jsx)(ja,{color:"inherit",size:18}),c.save]})]})})},sL=e=>e.replace(/[^a-zA-Z0-9]/g,"_"),lL={content:'""',height:"100%",left:0,position:"absolute",top:0,width:"100%",zIndex:-1},cL=({column:e,table:t,theme:n})=>{const{baseBackgroundColor:r}=t.options.mrtTheme,o=null==e?void 0:e.getIsPinned();return{'&[data-pinned="true"]':{"&:before":Object.assign({backgroundColor:(0,Ry.X4)((0,Ry.e$)(r,"dark"===n.palette.mode?.05:.01),.97),boxShadow:e?"left"===o&&e.getIsLastColumn(o)?`-4px 0 4px -4px ${(0,Ry.X4)(n.palette.grey[700],.5)} inset`:"right"===o&&e.getIsFirstColumn(o)?`4px 0 4px -4px ${(0,Ry.X4)(n.palette.grey[700],.5)} inset`:void 0:void 0},lL)}}},uL=({column:e,header:t,table:n,tableCellProps:r,theme:o})=>{var i,a,s,l,c,u;const{getState:d,options:{enableColumnVirtualization:h,layoutMode:p}}=n,{draggingColumn:f}=d(),{columnDef:g}=e,{columnDefType:m}=g,y="group"!==g.columnDefType&&e.getIsPinned(),v={minWidth:`max(calc(var(--${t?"header":"col"}-${sL(null!==(i=null==t?void 0:t.id)&&void 0!==i?i:e.id)}-size) * 1px), ${null!==(a=g.minSize)&&void 0!==a?a:30}px)`,width:`calc(var(--${t?"header":"col"}-${sL(null!==(s=null==t?void 0:t.id)&&void 0!==s?s:e.id)}-size) * 1px)`};"grid"===p?v.flex=`${[0,!1].includes(g.grow)?0:`var(--${t?"header":"col"}-${sL(null!==(l=null==t?void 0:t.id)&&void 0!==l?l:e.id)}-size)`} 0 auto`:"grid-no-grow"===p&&(v.flex=+(g.grow||0)+" 0 auto");const b=y?Object.assign(Object.assign({},cL({column:e,table:n,theme:o})),{left:"left"===y?`${e.getStart("left")}px`:void 0,opacity:.97,position:"sticky",right:"right"===y?`${e.getAfter("right")}px`:void 0}):{};return Object.assign(Object.assign(Object.assign({backgroundColor:"inherit",backgroundImage:"inherit",display:(null==p?void 0:p.startsWith("grid"))?"flex":void 0,justifyContent:"group"===m?"center":(null==p?void 0:p.startsWith("grid"))?r.align:void 0,opacity:(null===(c=n.getState().draggingColumn)||void 0===c?void 0:c.id)===e.id||(null===(u=n.getState().hoveredColumn)||void 0===u?void 0:u.id)===e.id?.5:1,position:"relative",transition:h?"none":"padding 150ms ease-in-out",zIndex:e.getIsResizing()||(null==f?void 0:f.id)===e.id?2:"group"!==m&&y?1:0},b),v),wM(null==r?void 0:r.sx,o))},dL=({table:e})=>({alignItems:"flex-start",backgroundColor:e.options.mrtTheme.baseBackgroundColor,display:"grid",flexWrap:"wrap-reverse",minHeight:"3.5rem",overflow:"hidden",position:"relative",transition:"all 150ms ease-in-out",zIndex:1}),hL=e=>"rtl"===e.direction?{style:{transform:"scaleX(-1)"}}:void 0,pL=e=>({disableInteractive:!0,enterDelay:1e3,enterNextDelay:1e3,placement:e}),fL=e=>{var{icon:t,label:n,onOpenSubMenu:r,table:o}=e,i=iL(e,["icon","label","onOpenSubMenu","table"]);const{options:{icons:{ArrowRightIcon:s}}}=o;return(0,F.jsxs)(pi,Object.assign({sx:{alignItems:"center",justifyContent:"space-between",minWidth:"120px",my:0,py:"6px"}},i,{children:[(0,F.jsxs)(a.A,{sx:{alignItems:"center",display:"flex"},children:[(0,F.jsx)(Dd,{children:t}),n]}),r&&(0,F.jsx)(Vn,{onClick:r,onMouseEnter:r,size:"small",sx:{p:0},children:(0,F.jsx)(s,{})})]}))},gL=e=>{var{anchorEl:t,handleEdit:n,row:r,setAnchorEl:o,staticRowIndex:i,table:a}=e,s=iL(e,["anchorEl","handleEdit","row","setAnchorEl","staticRowIndex","table"]);const{getState:l,options:{editDisplayMode:c,enableEditing:u,icons:{EditIcon:d},localization:h,mrtTheme:{menuBackgroundColor:p},renderRowActionMenuItems:f}}=a,{density:g}=l();return(0,F.jsxs)(Rh,Object.assign({MenuListProps:{dense:"compact"===g,sx:{backgroundColor:p}},anchorEl:t,disableScrollLock:!0,onClick:e=>e.stopPropagation(),onClose:()=>o(null),open:!!t},s,{children:[wM(u,r)&&["modal","row"].includes(c)&&(0,F.jsx)(fL,{icon:(0,F.jsx)(d,{}),label:h.edit,onClick:n,table:a}),null==f?void 0:f({closeMenu:()=>o(null),row:r,staticRowIndex:i,table:a})]}))},mL={"&:hover":{opacity:1},height:"2rem",ml:"10px",opacity:.5,transition:"opacity 150ms",width:"2rem"},yL=e=>{var{cell:t,row:n,staticRowIndex:r,table:o}=e,a=iL(e,["cell","row","staticRowIndex","table"]);const{getState:s,options:{createDisplayMode:l,editDisplayMode:c,enableEditing:u,icons:{EditIcon:d,MoreHorizIcon:h},localization:p,renderRowActionMenuItems:f,renderRowActions:g},setEditingRow:m}=o,{creatingRow:y,editingRow:v}=s(),b=(null==y?void 0:y.id)===n.id,w=(null==v?void 0:v.id)===n.id,A=b&&"row"===l||w&&"row"===c,[x,S]=(0,i.useState)(null),C=e=>{e.stopPropagation(),m(Object.assign({},n)),S(null)};return(0,F.jsx)(F.Fragment,{children:g&&!A?g({cell:t,row:n,staticRowIndex:r,table:o}):A?(0,F.jsx)(aL,{row:n,table:o}):!f&&wM(u,n)&&["modal","row"].includes(c)?(0,F.jsx)(xo,{placement:"right",title:p.edit,children:(0,F.jsx)(Vn,Object.assign({"aria-label":p.edit,onClick:C,sx:mL},a,{children:(0,F.jsx)(d,{})}))}):f?(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(xo,Object.assign({},pL(),{title:p.rowActions,children:(0,F.jsx)(Vn,Object.assign({"aria-label":p.rowActions,onClick:e=>{e.stopPropagation(),e.preventDefault(),S(e.currentTarget)},size:"small",sx:mL},a,{children:(0,F.jsx)(h,{})}))})),(0,F.jsx)(gL,{anchorEl:x,handleEdit:C,row:n,setAnchorEl:S,staticRowIndex:r,table:o})]}):null})},vL=e=>Object.assign({Cell:({cell:e,row:t,staticRowIndex:n,table:r})=>(0,F.jsx)(yL,{cell:e,row:t,staticRowIndex:n,table:r})},CM({header:"actions",id:"mrt-row-actions",size:70,tableOptions:e})),bL=e=>{var t,n,{location:r,table:o}=e,i=iL(e,["location","table"]);const{options:{icons:{DragHandleIcon:a},localization:s}}=o;return(0,F.jsx)(xo,Object.assign({},pL("top"),{title:null!==(t=null==i?void 0:i.title)&&void 0!==t?t:s.move,children:(0,F.jsx)(Vn,Object.assign({"aria-label":null!==(n=i.title)&&void 0!==n?n:s.move,disableRipple:!0,draggable:"true",size:"small"},i,{onClick:e=>{var t;e.stopPropagation(),null===(t=null==i?void 0:i.onClick)||void 0===t||t.call(i,e)},sx:e=>Object.assign({"&:active":{cursor:"grabbing"},"&:hover":{backgroundColor:"transparent",opacity:1},cursor:"grab",m:"0 -0.1rem",opacity:"row"===r?1:.5,p:"2px",transition:"all 150ms ease-in-out"},wM(null==i?void 0:i.sx,e)),title:void 0,children:(0,F.jsx)(a,{})}))}))},wL=e=>{var{row:t,rowRef:n,table:r}=e,o=iL(e,["row","rowRef","table"]);const{options:{muiRowDragHandleProps:i}}=r,a=Object.assign(Object.assign({},wM(i,{row:t,table:r})),o);return(0,F.jsx)(bL,Object.assign({},a,{location:"row",onDragEnd:e=>{var t;null===(t=null==a?void 0:a.onDragEnd)||void 0===t||t.call(a,e),r.setDraggingRow(null),r.setHoveredRow(null)},onDragStart:e=>{var o;null===(o=null==a?void 0:a.onDragStart)||void 0===o||o.call(a,e);try{e.dataTransfer.setDragImage(n.current,0,0)}catch(e){console.error(e)}r.setDraggingRow(t)},table:r}))},AL=e=>Object.assign({Cell:({row:e,rowRef:t,table:n})=>(0,F.jsx)(wL,{row:e,rowRef:t,table:n}),grow:!1},CM({header:"move",id:"mrt-row-drag",size:60,tableOptions:e})),xL=e=>{var t,n,{table:r}=e,o=iL(e,["table"]);const{getCanSomeRowsExpand:i,getIsAllRowsExpanded:a,getIsSomeRowsExpanded:s,getState:l,options:{icons:{KeyboardDoubleArrowDownIcon:c},localization:u,muiExpandAllButtonProps:d,renderDetailPanel:h},toggleAllRowsExpanded:p}=r,{density:f,isLoading:g}=l(),m=Object.assign(Object.assign({},wM(d,{table:r})),o),y=a();return(0,F.jsx)(xo,Object.assign({},pL(),{title:null!==(t=null==m?void 0:m.title)&&void 0!==t?t:y?u.collapseAll:u.expandAll,children:(0,F.jsx)("span",{children:(0,F.jsx)(Vn,Object.assign({"aria-label":u.expandAll,disabled:g||!h&&!i(),onClick:()=>p(!y)},m,{sx:e=>Object.assign({height:"compact"===f?"1.75rem":"2.25rem",mt:"compact"!==f?"-0.25rem":void 0,width:"compact"===f?"1.75rem":"2.25rem"},wM(null==m?void 0:m.sx,e)),title:void 0,children:null!==(n=null==m?void 0:m.children)&&void 0!==n?n:(0,F.jsx)(c,{style:{transform:`rotate(${y?-180:s()?-90:0}deg)`,transition:"transform 150ms"}})}))})}))},SL=({row:e,staticRowIndex:t,table:n})=>{var r,o;const i=(0,I.A)(),{getState:a,options:{icons:{ExpandMoreIcon:s},localization:l,muiExpandButtonProps:c,positionExpandColumn:u,renderDetailPanel:d}}=n,{density:h}=a(),p=wM(c,{row:e,staticRowIndex:t,table:n}),f=e.getCanExpand(),g=e.getIsExpanded(),m=!!(null==d?void 0:d({row:e,table:n}));return(0,F.jsx)(xo,Object.assign({disableHoverListener:!f&&!m},pL(),{title:null!==(r=null==p?void 0:p.title)&&void 0!==r?r:g?l.collapse:l.expand,children:(0,F.jsx)("span",{children:(0,F.jsx)(Vn,Object.assign({"aria-label":l.expand,disabled:!f&&!m},p,{onClick:t=>{var n;t.stopPropagation(),e.toggleExpanded(),null===(n=null==p?void 0:p.onClick)||void 0===n||n.call(p,t)},sx:t=>Object.assign({height:"compact"===h?"1.75rem":"2.25rem",opacity:f||m?1:.3,["rtl"===t.direction||"last"===u?"mr":"ml"]:16*e.depth+"px",width:"compact"===h?"1.75rem":"2.25rem"},wM(null==p?void 0:p.sx,t)),title:void 0,children:null!==(o=null==p?void 0:p.children)&&void 0!==o?o:(0,F.jsx)(s,{style:{transform:`rotate(${f||d?g?-180:0:"last"===u||"rtl"===i.direction?90:-90}deg)`,transition:"transform 150ms"}})}))})}))},CL=e=>{var t;const{defaultColumn:n,enableExpandAll:r,groupedColumnMode:o,positionExpandColumn:i,renderDetailPanel:a,state:{grouping:s}}=e,l="last"===i?{align:"right"}:void 0;return Object.assign({Cell:({cell:e,column:t,row:n,staticRowIndex:r,table:i})=>{var a,s,l;const c={row:n,staticRowIndex:r,table:i},u=null===(a=n.subRows)||void 0===a?void 0:a.length;return"remove"===o&&n.groupingColumnId?(0,F.jsxs)(Du,{alignItems:"center",flexDirection:"row",gap:"0.25rem",children:[(0,F.jsx)(SL,Object.assign({},c)),(0,F.jsx)(xo,Object.assign({},pL("right"),{title:i.getColumn(n.groupingColumnId).columnDef.header,children:(0,F.jsx)("span",{children:n.groupingValue})})),!!u&&(0,F.jsxs)("span",{children:["(",u,")"]})]}):(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(SL,Object.assign({},c)),null===(l=(s=t.columnDef).GroupedCell)||void 0===l?void 0:l.call(s,{cell:e,column:t,row:n,table:i})]})},Header:r?({table:e})=>{var t;return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(xL,{table:e}),"remove"===o&&(null===(t=null==s?void 0:s.map((t=>e.getColumn(t).columnDef.header)))||void 0===t?void 0:t.join(", "))]})}:void 0,muiTableBodyCellProps:l,muiTableHeadCellProps:l},CM({header:"expand",id:"mrt-row-expand",size:"remove"===o?null!==(t=null==n?void 0:n.size)&&void 0!==t?t:180:a?r?60:70:100,tableOptions:e}))},EL=e=>{const{localization:t,rowNumberDisplayMode:n}=e,{pagination:{pageIndex:r,pageSize:o}}=e.state;return Object.assign({Cell:({row:e,staticRowIndex:t})=>{var i;return(null!==(i="static"===n?(t||0)+(o||0)*(r||0):e.index)&&void 0!==i?i:0)+1},Header:()=>t.rowNumber,grow:!1},CM({header:"rowNumbers",id:"mrt-row-numbers",size:50,tableOptions:e}))},kL=e=>{var{pinningPosition:t,row:n,table:r}=e,o=iL(e,["pinningPosition","row","table"]);const{options:{icons:{CloseIcon:a,PushPinIcon:s},localization:l,rowPinningDisplayMode:c}}=r,u=n.getIsPinned(),[d,h]=(0,i.useState)(!1);return(0,F.jsx)(xo,Object.assign({},pL(),{open:d,title:u?l.unpin:l.pin,children:(0,F.jsx)(Vn,Object.assign({"aria-label":l.pin,onClick:e=>{h(!1),e.stopPropagation(),n.pin(!u&&t)},onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1),size:"small"},o,{sx:e=>Object.assign({height:"24px",width:"24px"},wM(null==o?void 0:o.sx,e)),children:u?(0,F.jsx)(a,{}):(0,F.jsx)(s,{fontSize:"small",style:{transform:`rotate(${"sticky"===c?135:"top"===t?180:0}deg)`}})}))}))},TL=e=>{var{row:t,table:n}=e,r=iL(e,["row","table"]);const{getState:o,options:{enableRowPinning:i,rowPinningDisplayMode:s}}=n,{density:l}=o();if(!wM(i,t))return null;const c=Object.assign({row:t,table:n},r);return"top-and-bottom"!==s||t.getIsPinned()?(0,F.jsx)(kL,Object.assign({pinningPosition:"bottom"===s?"bottom":"top"},c)):(0,F.jsxs)(a.A,{sx:{display:"flex",flexDirection:"compact"===l?"row":"column"},children:[(0,F.jsx)(kL,Object.assign({pinningPosition:"top"},c)),(0,F.jsx)(kL,Object.assign({pinningPosition:"bottom"},c))]})},_L=e=>{var t,{row:n,staticRowIndex:r,table:o}=e,i=iL(e,["row","staticRowIndex","table"]);const{getState:a,options:{enableMultiRowSelection:s,localization:l,muiSelectAllCheckboxProps:c,muiSelectCheckboxProps:u,selectAllMode:d}}=o,{density:h,isLoading:p}=a(),f=!n,g=f?"page"===d?o.getIsAllPageRowsSelected():o.getIsAllRowsSelected():void 0,m=f?g:BM({row:n,table:o}),y=Object.assign(Object.assign({},f?wM(c,{table:o}):wM(u,{row:n,staticRowIndex:r,table:o})),i),v=n?VM({row:n,staticRowIndex:r,table:o}):void 0,b=$M({table:o}),w=Object.assign(Object.assign({"aria-label":f?l.toggleSelectAll:l.toggleSelectRow,checked:m,disabled:p||n&&!n.getCanSelect()||"mrt-row-create"===(null==n?void 0:n.id),inputProps:{"aria-label":f?l.toggleSelectAll:l.toggleSelectRow},onChange:e=>{e.stopPropagation(),f?b(e):v(e)},size:"compact"===h?"small":"medium"},y),{onClick:e=>{var t;e.stopPropagation(),null===(t=null==y?void 0:y.onClick)||void 0===t||t.call(y,e)},sx:e=>Object.assign({height:"compact"===h?"1.75rem":"2.5rem",m:"compact"!==h?"-0.4rem":void 0,width:"compact"===h?"1.75rem":"2.5rem",zIndex:0},wM(null==y?void 0:y.sx,e)),title:void 0});return(0,F.jsx)(xo,Object.assign({},pL(),{title:null!==(t=null==y?void 0:y.title)&&void 0!==t?t:f?l.toggleSelectAll:l.toggleSelectRow,children:!1===s?(0,F.jsx)(mA,Object.assign({},w)):(0,F.jsx)(ya,Object.assign({indeterminate:!m&&f?o.getIsSomeRowsSelected():(null==n?void 0:n.getIsSomeSelected())&&n.getCanSelectSubRows()},w))}))},OL=e=>{const{enableMultiRowSelection:t,enableSelectAll:n}=e;return Object.assign({Cell:({row:e,staticRowIndex:t,table:n})=>(0,F.jsx)(_L,{row:e,staticRowIndex:t,table:n}),Header:n&&t?({table:e})=>(0,F.jsx)(_L,{table:e}):void 0,grow:!1},CM({header:"select",id:"mrt-row-select",size:n?60:70,tableOptions:e}))},PL={ArrowDownwardIcon:yA.A,ArrowRightIcon:vA.A,CancelIcon:bA.A,ChevronLeftIcon:wA.A,ChevronRightIcon:AA.A,ClearAllIcon:xA.A,CloseIcon:SA.A,ContentCopy:CA.A,DensityLargeIcon:EA.A,DensityMediumIcon:kA.A,DensitySmallIcon:TA.A,DragHandleIcon:_A.A,DynamicFeedIcon:OA.A,EditIcon:PA.A,ExpandMoreIcon:IA.A,FilterAltIcon:MA.A,FilterListIcon:LA.A,FilterListOffIcon:RA.A,FirstPageIcon:jA.A,FullscreenExitIcon:DA.A,FullscreenIcon:FA.A,KeyboardDoubleArrowDownIcon:NA.A,LastPageIcon:zA.A,MoreHorizIcon:BA.A,MoreVertIcon:VA.A,PushPinIcon:$A.A,RestartAltIcon:GA.A,SaveIcon:UA.A,SearchIcon:WA.A,SearchOffIcon:qA.A,SortIcon:HA.A,SyncAltIcon:YA.A,ViewColumnIcon:KA.A,VisibilityOffIcon:XA.A},IL={actions:"Actions",and:"and",cancel:"Cancel",changeFilterMode:"Change filter mode",changeSearchMode:"Change search mode",clearFilter:"Clear filter",clearSearch:"Clear search",clearSelection:"Clear selection",clearSort:"Clear sort",clickToCopy:"Click to copy",copy:"Copy",collapse:"Collapse",collapseAll:"Collapse all",columnActions:"Column Actions",copiedToClipboard:"Copied to clipboard",dropToGroupBy:"Drop to group by {column}",edit:"Edit",expand:"Expand",expandAll:"Expand all",filterArrIncludes:"Includes",filterArrIncludesAll:"Includes all",filterArrIncludesSome:"Includes",filterBetween:"Between",filterBetweenInclusive:"Between Inclusive",filterByColumn:"Filter by {column}",filterContains:"Contains",filterEmpty:"Empty",filterEndsWith:"Ends With",filterEquals:"Equals",filterEqualsString:"Equals",filterFuzzy:"Fuzzy",filterGreaterThan:"Greater Than",filterGreaterThanOrEqualTo:"Greater Than Or Equal To",filterInNumberRange:"Between",filterIncludesString:"Contains",filterIncludesStringSensitive:"Contains",filterLessThan:"Less Than",filterLessThanOrEqualTo:"Less Than Or Equal To",filterMode:"Filter Mode: {filterType}",filterNotEmpty:"Not Empty",filterNotEquals:"Not Equals",filterStartsWith:"Starts With",filterWeakEquals:"Equals",filteringByColumn:"Filtering by {column} - {filterType} {filterValue}",goToFirstPage:"Go to first page",goToLastPage:"Go to last page",goToNextPage:"Go to next page",goToPreviousPage:"Go to previous page",grab:"Grab",groupByColumn:"Group by {column}",groupedBy:"Grouped by ",hideAll:"Hide all",hideColumn:"Hide {column} column",max:"Max",min:"Min",move:"Move",noRecordsToDisplay:"No records to display",noResultsFound:"No results found",of:"of",or:"or",pin:"Pin",pinToLeft:"Pin to left",pinToRight:"Pin to right",resetColumnSize:"Reset column size",resetOrder:"Reset order",rowActions:"Row Actions",rowNumber:"#",rowNumbers:"Row Numbers",rowsPerPage:"Rows per page",save:"Save",search:"Search",selectedCountOfRowCountRowsSelected:"{selectedCount} of {rowCount} row(s) selected",select:"Select",showAll:"Show all",showAllColumns:"Show all columns",showHideColumns:"Show/Hide columns",showHideFilters:"Show/Hide filters",showHideSearch:"Show/Hide search",sortByColumnAsc:"Sort by {column} ascending",sortByColumnDesc:"Sort by {column} descending",sortedByColumnAsc:"Sorted by {column} ascending",sortedByColumnDesc:"Sorted by {column} descending",thenBy:", then by ",toggleDensity:"Toggle density",toggleFullScreen:"Toggle full screen",toggleSelectAll:"Toggle select all",toggleSelectRow:"Toggle select row",toggleVisibility:"Toggle visibility",ungroupByColumn:"Ungroup by {column}",unpin:"Unpin",unpinAll:"Unpin all"},ML={filterVariant:"text",maxSize:1e3,minSize:40,size:180},LL={columnDefType:"display",enableClickToCopy:!1,enableColumnActions:!1,enableColumnDragging:!1,enableColumnFilter:!1,enableColumnOrdering:!1,enableEditing:!1,enableGlobalFilter:!1,enableGrouping:!1,enableHiding:!1,enableResizing:!1,enableSorting:!1},RL=e=>{var t,{aggregationFns:n,autoResetExpanded:r=!1,columnFilterDisplayMode:o="subheader",columnResizeDirection:a,columnResizeMode:s="onChange",createDisplayMode:l="modal",defaultColumn:c,defaultDisplayColumn:u,editDisplayMode:d="modal",enableBatchRowSelection:h=!0,enableBottomToolbar:p=!0,enableColumnActions:f=!0,enableColumnFilters:g=!0,enableColumnOrdering:m=!1,enableColumnPinning:y=!1,enableColumnResizing:v=!1,enableColumnVirtualization:b,enableDensityToggle:w=!0,enableExpandAll:A=!0,enableExpanding:x,enableFacetedValues:S=!1,enableFilterMatchHighlighting:C=!0,enableFilters:E=!0,enableFullScreenToggle:k=!0,enableGlobalFilter:T=!0,enableGlobalFilterRankedResults:_=!0,enableGrouping:O=!1,enableHiding:P=!0,enableMultiRowSelection:M=!0,enableMultiSort:L=!0,enablePagination:R=!0,enableRowPinning:j=!1,enableRowSelection:F=!1,enableRowVirtualization:D,enableSelectAll:N=!0,enableSorting:z=!0,enableStickyHeader:B=!1,enableTableFooter:V=!0,enableTableHead:$=!0,enableToolbarInternalActions:G=!0,enableTopToolbar:U=!0,filterFns:W,icons:q,layoutMode:H,localization:Y,manualFiltering:K,manualGrouping:X,manualPagination:Z,manualSorting:J,mrtTheme:Q,paginationDisplayMode:ee="default",positionActionsColumn:te="first",positionCreatingRow:ne="top",positionExpandColumn:re="first",positionGlobalFilter:oe="right",positionPagination:ie="bottom",positionToolbarAlertBanner:ae="top",positionToolbarDropZone:se="top",rowNumberDisplayMode:le="static",rowPinningDisplayMode:ce="sticky",selectAllMode:ue="page",sortingFns:de}=e,he=iL(e,["aggregationFns","autoResetExpanded","columnFilterDisplayMode","columnResizeDirection","columnResizeMode","createDisplayMode","defaultColumn","defaultDisplayColumn","editDisplayMode","enableBatchRowSelection","enableBottomToolbar","enableColumnActions","enableColumnFilters","enableColumnOrdering","enableColumnPinning","enableColumnResizing","enableColumnVirtualization","enableDensityToggle","enableExpandAll","enableExpanding","enableFacetedValues","enableFilterMatchHighlighting","enableFilters","enableFullScreenToggle","enableGlobalFilter","enableGlobalFilterRankedResults","enableGrouping","enableHiding","enableMultiRowSelection","enableMultiSort","enablePagination","enableRowPinning","enableRowSelection","enableRowVirtualization","enableSelectAll","enableSorting","enableStickyHeader","enableTableFooter","enableTableHead","enableToolbarInternalActions","enableTopToolbar","filterFns","icons","layoutMode","localization","manualFiltering","manualGrouping","manualPagination","manualSorting","mrtTheme","paginationDisplayMode","positionActionsColumn","positionCreatingRow","positionExpandColumn","positionGlobalFilter","positionPagination","positionToolbarAlertBanner","positionToolbarDropZone","rowNumberDisplayMode","rowPinningDisplayMode","selectAllMode","sortingFns"]);const pe=(0,I.A)();return q=(0,i.useMemo)((()=>Object.assign(Object.assign({},PL),q)),[q]),Y=(0,i.useMemo)((()=>Object.assign(Object.assign({},IL),Y)),[Y]),Q=(0,i.useMemo)((()=>((e,t)=>{var n;const r=wM(e,t),o=null!==(n=null==r?void 0:r.baseBackgroundColor)&&void 0!==n?n:"dark"===t.palette.mode?(0,Ry.a)(t.palette.background.default,.05):t.palette.background.default;return Object.assign({baseBackgroundColor:o,draggingBorderColor:t.palette.primary.main,matchHighlightColor:"dark"===t.palette.mode?(0,Ry.e$)(t.palette.warning.dark,.25):(0,Ry.a)(t.palette.warning.light,.5),menuBackgroundColor:(0,Ry.a)(o,.07),pinnedRowBackgroundColor:(0,Ry.X4)(t.palette.primary.main,.1),selectedRowBackgroundColor:(0,Ry.X4)(t.palette.primary.main,.2)},r)})(Q,pe)),[Q,pe]),n=(0,i.useMemo)((()=>Object.assign(Object.assign({},GM),n)),[]),W=(0,i.useMemo)((()=>Object.assign(Object.assign({},oL),W)),[]),de=(0,i.useMemo)((()=>Object.assign(Object.assign({},jM),de)),[]),c=(0,i.useMemo)((()=>Object.assign(Object.assign({},ML),c)),[c]),u=(0,i.useMemo)((()=>Object.assign(Object.assign({},LL),u)),[u]),[b,D]=(0,i.useMemo)((()=>[b,D]),[]),a||(a=pe.direction||"ltr"),"semantic"===(H=H||(v?"grid-no-grow":"semantic"))&&(D||b)&&(H="grid"),D&&(B=!0),!1===R&&void 0===Z&&(Z=!0),(null===(t=he.data)||void 0===t?void 0:t.length)||(K=!0,X=!0,Z=!0,J=!0),Object.assign({aggregationFns:n,autoResetExpanded:r,columnFilterDisplayMode:o,columnResizeDirection:a,columnResizeMode:s,createDisplayMode:l,defaultColumn:c,defaultDisplayColumn:u,editDisplayMode:d,enableBatchRowSelection:h,enableBottomToolbar:p,enableColumnActions:f,enableColumnFilters:g,enableColumnOrdering:m,enableColumnPinning:y,enableColumnResizing:v,enableColumnVirtualization:b,enableDensityToggle:w,enableExpandAll:A,enableExpanding:x,enableFacetedValues:S,enableFilterMatchHighlighting:C,enableFilters:E,enableFullScreenToggle:k,enableGlobalFilter:T,enableGlobalFilterRankedResults:_,enableGrouping:O,enableHiding:P,enableMultiRowSelection:M,enableMultiSort:L,enablePagination:R,enableRowPinning:j,enableRowSelection:F,enableRowVirtualization:D,enableSelectAll:N,enableSorting:z,enableStickyHeader:B,enableTableFooter:V,enableTableHead:$,enableToolbarInternalActions:G,enableTopToolbar:U,filterFns:W,getCoreRowModel:e=>Jb((()=>[e.options.data]),(t=>{const n={rows:[],flatRows:[],rowsById:{}},r=function(t,o,i){void 0===o&&(o=0);const a=[];for(let l=0;le._autoResetPageIndex()))),getExpandedRowModel:x||O?e=>Jb((()=>[e.getState().expanded,e.getPreExpandedRowModel(),e.options.paginateExpandedRows]),((e,t,n)=>!t.rows.length||!0!==e&&!Object.keys(null!=e?e:{}).length?t:n?Gw(t):t),Qb(e.options,"debugTable")):void 0,getFacetedMinMaxValues:S?(e,t)=>Jb((()=>{var n;return[null==(n=e.getColumn(t))?void 0:n.getFacetedRowModel()]}),(e=>{var n;if(!e)return;const r=null==(n=e.flatRows[0])?void 0:n.getUniqueValues(t);if(void 0===r)return;let o=[r,r];for(let n=0;no[1]&&(o[1]=t)}}return o}),Qb(e.options,"debugTable")):void 0,getFacetedRowModel:S?(e,t)=>Jb((()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter,e.getFilteredRowModel()]),((n,r,o)=>{if(!n.rows.length||(null==r||!r.length)&&!o)return n;const i=[...r.map((e=>e.id)).filter((e=>e!==t)),o?"__global__":void 0].filter(Boolean);return Uw(n.rows,(e=>{for(let t=0;tJb((()=>{var n;return[null==(n=e.getColumn(t))?void 0:n.getFacetedRowModel()]}),(e=>{if(!e)return new Map;let n=new Map;for(let o=0;oJb((()=>[e.getPreFilteredRowModel(),e.getState().columnFilters,e.getState().globalFilter]),((t,n,r)=>{if(!t.rows.length||(null==n||!n.length)&&!r){for(let e=0;e{var n;const r=e.getColumn(t.id);if(!r)return;const i=r.getFilterFn();i&&o.push({id:t.id,filterFn:i,resolvedValue:null!=(n=null==i.resolveFilterValue?void 0:i.resolveFilterValue(t.value))?n:t.value})}));const a=n.map((e=>e.id)),s=e.getGlobalFilterFn(),l=e.getAllLeafColumns().filter((e=>e.getCanGlobalFilter()));let c,u;r&&s&&l.length&&(a.push("__global__"),l.forEach((e=>{var t;i.push({id:e.id,filterFn:s,resolvedValue:null!=(t=null==s.resolveFilterValue?void 0:s.resolveFilterValue(r))?t:r})})));for(let e=0;e{n.columnFiltersMeta[t]=e}))}if(i.length){for(let e=0;e{n.columnFiltersMeta[t]=e}))){n.columnFilters.__global__=!0;break}}!0!==n.columnFilters.__global__&&(n.columnFilters.__global__=!1)}}return Uw(t.rows,(e=>{for(let t=0;te._autoResetPageIndex()))):void 0,getGroupedRowModel:O&&!X?Ww():void 0,getPaginationRowModel:R&&!Z?e=>Jb((()=>[e.getState().pagination,e.getPrePaginationRowModel(),e.options.paginateExpandedRows?void 0:e.getState().expanded]),((t,n)=>{if(!n.rows.length)return n;const{pageSize:r,pageIndex:o}=t;let{rows:i,flatRows:a,rowsById:s}=n;const l=r*o,c=l+r;let u;i=i.slice(l,c),u=e.options.paginateExpandedRows?{rows:i,flatRows:a,rowsById:s}:Gw({rows:i,flatRows:a,rowsById:s}),u.flatRows=[];const d=e=>{u.flatRows.push(e),e.subRows.length&&e.subRows.forEach(d)};return u.rows.forEach(d),u}),Qb(e.options,"debugTable")):void 0,getSortedRowModel:z&&!J?e=>Jb((()=>[e.getState().sorting,e.getPreSortedRowModel()]),((t,n)=>{if(!n.rows.length||null==t||!t.length)return n;const r=e.getState().sorting,o=[],i=r.filter((t=>{var n;return null==(n=e.getColumn(t.id))?void 0:n.getCanSort()})),a={};i.forEach((t=>{const n=e.getColumn(t.id);n&&(a[t.id]={sortUndefined:n.columnDef.sortUndefined,invertSorting:n.columnDef.invertSorting,sortingFn:n.getSortingFn()})}));const s=e=>{const t=e.map((e=>({...e})));return t.sort(((e,t)=>{for(let r=0;r{var t;o.push(e),null!=(t=e.subRows)&&t.length&&(e.subRows=s(e.subRows))})),t};return{rows:s(n.rows),flatRows:o,rowsById:n.rowsById}}),Qb(e.options,"debugTable",0,(()=>e._autoResetPageIndex()))):void 0,getSubRows:e=>null==e?void 0:e.subRows,icons:q,layoutMode:H,localization:Y,manualFiltering:K,manualGrouping:X,manualPagination:Z,manualSorting:J,mrtTheme:Q,paginationDisplayMode:ee,positionActionsColumn:te,positionCreatingRow:ne,positionExpandColumn:re,positionGlobalFilter:oe,positionPagination:ie,positionToolbarAlertBanner:ae,positionToolbarDropZone:se,rowNumberDisplayMode:le,rowPinningDisplayMode:ce,selectAllMode:ue,sortingFns:de},he)},jL={children:null,sx:{minWidth:0,p:0,width:0}},FL=e=>Object.assign(Object.assign(Object.assign(Object.assign({},CM({id:"mrt-row-spacer",size:0,tableOptions:e})),{grow:!0}),LL),{muiTableBodyCellProps:jL,muiTableFooterCellProps:jL,muiTableHeadCellProps:jL}),DL=e=>{const{getIsSomeRowsPinned:t,getPrePaginationRowModel:n,getState:r,options:{enablePagination:o,enableRowPinning:a,rowCount:s}}=e,{columnOrder:l,density:c,globalFilter:u,isFullScreen:d,isLoading:h,pagination:p,showSkeletons:f,sorting:g}=r(),m=e.options.columns.length,y=null!=s?s:n().rows.length,v=(0,i.useReducer)((()=>({})),{})[1],b=(0,i.useRef)(),w=(0,i.useRef)();(0,i.useEffect)((()=>{"undefined"!=typeof window&&(b.current=document.body.style.height)}),[]),(0,i.useEffect)((()=>{if("undefined"!=typeof window)if(d)w.current=document.body.getBoundingClientRect().top,document.body.style.height="100dvh";else{if(document.body.style.height=b.current,!w.current)return;window.scrollTo({behavior:"instant",top:-1*w.current})}}),[d]),(0,i.useEffect)((()=>{m!==l.length&&e.setColumnOrder(RM(e.options))}),[m]),(0,i.useEffect)((()=>{if(!o||h||f)return;const{pageIndex:t,pageSize:n}=p;t*n>=y&&e.setPageIndex(Math.ceil(y/n)-1)}),[y]);const A=(0,i.useRef)(g);(0,i.useEffect)((()=>{g.length&&(A.current=g)}),[g]),(0,i.useEffect)((()=>{NM(e)&&(u?e.setSorting([]):e.setSorting((()=>A.current||[])))}),[u]),(0,i.useEffect)((()=>{a&&t()&&setTimeout((()=>{v()}),150)}),[c])},NL=e=>{var t,n,r,o,a,s,l,c,u,d,h,p,f,g,m,y,v,b,w,A,x,S,C,E,k,T,_,O,P,I,M,L,R,j,D;const N=(0,i.useRef)(null),z=(0,i.useRef)(null),B=(0,i.useRef)(null),V=(0,i.useRef)({}),$=(0,i.useRef)({}),G=(0,i.useRef)(null),U=(0,i.useRef)(null),W=(0,i.useRef)({}),q=(0,i.useRef)(null),H=(0,i.useRef)(null),Y=(0,i.useRef)(null),K=(0,i.useRef)(null),X=(0,i.useMemo)((()=>{var t,n,r;const o=null!==(t=e.initialState)&&void 0!==t?t:{};return o.columnOrder=null!==(n=o.columnOrder)&&void 0!==n?n:RM(Object.assign(Object.assign({},e),{state:Object.assign(Object.assign({},e.initialState),e.state)})),o.globalFilterFn=null!==(r=e.globalFilterFn)&&void 0!==r?r:"fuzzy",o}),[]);e.initialState=X;const[Z,J]=(0,i.useState)(null!==(t=X.actionCell)&&void 0!==t?t:null),[Q,ee]=(0,i.useState)(null!==(n=X.creatingRow)&&void 0!==n?n:null),[te,ne]=(0,i.useState)((()=>Object.assign({},...dM(e.columns).map((e=>{var t,n,r,o;return{[uM(e)]:e.filterFn instanceof Function?null!==(t=e.filterFn.name)&&void 0!==t?t:"custom":null!==(o=null!==(n=e.filterFn)&&void 0!==n?n:null===(r=null==X?void 0:X.columnFilterFns)||void 0===r?void 0:r[uM(e)])&&void 0!==o?o:fM(e)}}))))),[re,oe]=(0,i.useState)(null!==(r=X.columnOrder)&&void 0!==r?r:[]),[ie,ae]=(0,i.useState)(null!==(o=X.columnSizingInfo)&&void 0!==o?o:{}),[se,le]=(0,i.useState)(null!==(a=null==X?void 0:X.density)&&void 0!==a?a:"comfortable"),[ce,ue]=(0,i.useState)(null!==(s=X.draggingColumn)&&void 0!==s?s:null),[de,he]=(0,i.useState)(null!==(l=X.draggingRow)&&void 0!==l?l:null),[pe,fe]=(0,i.useState)(null!==(c=X.editingCell)&&void 0!==c?c:null),[ge,me]=(0,i.useState)(null!==(u=X.editingRow)&&void 0!==u?u:null),[ye,ve]=(0,i.useState)(null!==(d=X.globalFilterFn)&&void 0!==d?d:"fuzzy"),[be,we]=(0,i.useState)(null!==(h=X.grouping)&&void 0!==h?h:[]),[Ae,xe]=(0,i.useState)(null!==(p=X.hoveredColumn)&&void 0!==p?p:null),[Se,Ce]=(0,i.useState)(null!==(f=X.hoveredRow)&&void 0!==f?f:null),[Ee,ke]=(0,i.useState)(null!==(g=null==X?void 0:X.isFullScreen)&&void 0!==g&&g),[Te,_e]=(0,i.useState)(null!==(m=null==X?void 0:X.pagination)&&void 0!==m?m:{pageIndex:0,pageSize:10}),[Oe,Pe]=(0,i.useState)(null!==(y=null==X?void 0:X.showAlertBanner)&&void 0!==y&&y),[Ie,Me]=(0,i.useState)(null!==(v=null==X?void 0:X.showColumnFilters)&&void 0!==v&&v),[Le,Re]=(0,i.useState)(null!==(b=null==X?void 0:X.showGlobalFilter)&&void 0!==b&&b),[je,Fe]=(0,i.useState)(null!==(w=null==X?void 0:X.showToolbarDropZone)&&void 0!==w&&w);e.state=Object.assign({actionCell:Z,columnFilterFns:te,columnOrder:re,columnSizingInfo:ie,creatingRow:Q,density:se,draggingColumn:ce,draggingRow:de,editingCell:pe,editingRow:ge,globalFilterFn:ye,grouping:be,hoveredColumn:Ae,hoveredRow:Se,isFullScreen:Ee,pagination:Te,showAlertBanner:Oe,showColumnFilters:Ie,showGlobalFilter:Le,showToolbarDropZone:je},e.state);const De=e,Ne=(0,i.useRef)([]);var ze;De.columns=De.state.columnSizingInfo.isResizingColumn||De.state.draggingColumn||De.state.draggingRow?Ne.current:hM({columnDefs:[...[EM(De)&&(ze=De,Object.assign({Cell:({row:e,table:t})=>(0,F.jsx)(TL,{row:e,table:t}),grow:!1},CM({header:"pin",id:"mrt-row-pin",size:60,tableOptions:ze}))),kM(De)&&AL(De),_M(De)&&vL(De),TM(De)&&CL(De),OM(De)&&OL(De),PM(De)&&EL(De)].filter(Boolean),...De.columns,...[IM(De)&&FL(De)].filter(Boolean)],tableOptions:De}),Ne.current=De.columns,De.data=(0,i.useMemo)((()=>!De.state.isLoading&&!De.state.showSkeletons||De.data.length?De.data:[...Array(Math.min(De.state.pagination.pageSize,20)).fill(null)].map((()=>Object.assign({},...dM(De.columns).map((e=>({[uM(e)]:null}))))))),[De.data,De.state.isLoading,De.state.showSkeletons]);const Be=function(e){const t={state:{},onStateChange:()=>{},renderFallbackValue:null,...e},[n]=i.useState((()=>({current:$w(t)}))),[r,o]=i.useState((()=>n.current.initialState));return n.current.setOptions((t=>({...t,...e,state:{...r,...e.state},onStateChange:t=>{o(t),null==e.onStateChange||e.onStateChange(t)}}))),n.current}(Object.assign(Object.assign({onColumnOrderChange:oe,onColumnSizingInfoChange:ae,onGroupingChange:we,onPaginationChange:_e},De),{globalFilterFn:null===(A=De.filterFns)||void 0===A?void 0:A[null!=ye?ye:"fuzzy"]}));return Be.refs={actionCellRef:z,bottomToolbarRef:B,editInputRefs:V,filterInputRefs:$,lastSelectedRowId:N,searchInputRef:G,tableContainerRef:U,tableFooterRef:K,tableHeadCellRefs:W,tableHeadRef:Y,tablePaperRef:q,topToolbarRef:H},Be.setActionCell=null!==(x=De.onActionCellChange)&&void 0!==x?x:J,Be.setCreatingRow=e=>{var t,n;let r=e;!0===e&&(r=bM(Be)),null!==(n=null===(t=null==De?void 0:De.onCreatingRowChange)||void 0===t?void 0:t.call(De,r))&&void 0!==n||ee(r)},Be.setColumnFilterFns=null!==(S=De.onColumnFilterFnsChange)&&void 0!==S?S:ne,Be.setDensity=null!==(C=De.onDensityChange)&&void 0!==C?C:le,Be.setDraggingColumn=null!==(E=De.onDraggingColumnChange)&&void 0!==E?E:ue,Be.setDraggingRow=null!==(k=De.onDraggingRowChange)&&void 0!==k?k:he,Be.setEditingCell=null!==(T=De.onEditingCellChange)&&void 0!==T?T:fe,Be.setEditingRow=null!==(_=De.onEditingRowChange)&&void 0!==_?_:me,Be.setGlobalFilterFn=null!==(O=De.onGlobalFilterFnChange)&&void 0!==O?O:ve,Be.setHoveredColumn=null!==(P=De.onHoveredColumnChange)&&void 0!==P?P:xe,Be.setHoveredRow=null!==(I=De.onHoveredRowChange)&&void 0!==I?I:Ce,Be.setIsFullScreen=null!==(M=De.onIsFullScreenChange)&&void 0!==M?M:ke,Be.setShowAlertBanner=null!==(L=De.onShowAlertBannerChange)&&void 0!==L?L:Pe,Be.setShowColumnFilters=null!==(R=De.onShowColumnFiltersChange)&&void 0!==R?R:Me,Be.setShowGlobalFilter=null!==(j=De.onShowGlobalFilterChange)&&void 0!==j?j:Re,Be.setShowToolbarDropZone=null!==(D=De.onShowToolbarDropZoneChange)&&void 0!==D?D:Fe,DL(Be),Be},zL=e=>NL(RL(e)),BL=(e,t)=>{const n=ex(e);return void 0===t||(t>=0&&t=0&&t>e.endIndex+e.overscan&&n.push(t)),n},VL=e=>{var t,n,r,o;const{getState:a,options:{columnVirtualizerInstanceRef:s,columnVirtualizerOptions:l,enableColumnPinning:c,enableColumnVirtualization:u},refs:{tableContainerRef:d}}=e,{columnPinning:h,columnVisibility:p,draggingColumn:f}=a();if(!u)return;const g=wM(l,{table:e}),m=e.getVisibleLeafColumns(),[y,v]=(0,i.useMemo)((()=>c?[e.getLeftVisibleLeafColumns().map((e=>e.getPinnedIndex())),e.getRightVisibleLeafColumns().map((e=>m.length-e.getPinnedIndex()-1)).sort(((e,t)=>e-t))]:[[],[]]),[h,p,c]),b=y.length,w=v.length,A=(0,i.useMemo)((()=>(null==f?void 0:f.id)?m.findIndex((e=>e.id===(null==f?void 0:f.id))):void 0),[null==f?void 0:f.id]),x=cx(Object.assign({count:m.length,estimateSize:e=>m[e].getSize(),getScrollElement:()=>d.current,horizontal:!0,overscan:3,rangeExtractor:(0,i.useCallback)((e=>{const t=BL(e,A);return b||w?[...new Set([...y,...t,...v])]:t}),[y,v,A])},g)),S=x.getVirtualItems();x.virtualColumns=S;const C=S.length;if(C){const e=x.getTotalSize(),i=(null===(t=S[b])||void 0===t?void 0:t.start)||0,a=(null===(n=S[y.length-1])||void 0===n?void 0:n.end)||0,s=(null===(r=S[C-w])||void 0===r?void 0:r.start)||0,l=(null===(o=S[C-w-1])||void 0===o?void 0:o.end)||0;x.virtualPaddingLeft=i-a,x.virtualPaddingRight=e-l-(w?e-s:0)}return s&&(s.current=x),x},$L=(e,t)=>{var n;const{getRowModel:r,getState:o,options:{enableRowVirtualization:a,renderDetailPanel:s,rowVirtualizerInstanceRef:l,rowVirtualizerOptions:c},refs:{tableContainerRef:u}}=e,{density:d,draggingRow:h,expanded:p}=o();if(!a)return;const f=wM(c,{table:e}),g=null!==(n=null==t?void 0:t.length)&&void 0!==n?n:r().rows.length,m="compact"===d?37:"comfortable"===d?58:73,y=cx(Object.assign({count:s?2*g:g,estimateSize:e=>s&&e%2==1?!0===p?100:0:m,getScrollElement:()=>u.current,measureElement:"undefined"!=typeof window&&-1===navigator.userAgent.indexOf("Firefox")?e=>null==e?void 0:e.getBoundingClientRect().height:void 0,overscan:4,rangeExtractor:(0,i.useCallback)((e=>{var t;return BL(e,null!==(t=null==h?void 0:h.index)&&void 0!==t?t:0)}),[h])},f));return y.virtualRows=y.getVirtualItems(),l&&(l.current=y),y},GL=e=>{const{getRowModel:t,getState:n,options:{data:r,enableGlobalFilterRankedResults:o,positionCreatingRow:a}}=e,{creatingRow:s,expanded:l,globalFilter:c,pagination:u,rowPinning:d,sorting:h}=n();return(0,i.useMemo)((()=>DM(e)),[s,r,o,l,t().rows,c,u.pageIndex,u.pageSize,a,d,h])},UL=["string","number"],WL=({cell:e,rowRef:t,staticColumnIndex:n,staticRowIndex:r,table:o})=>{var i,s,l;const{getState:c,options:{enableFilterMatchHighlighting:u,mrtTheme:{matchHighlightColor:d}}}=o,{column:h,row:p}=e,{columnDef:f}=h,{globalFilter:g,globalFilterFn:m}=c(),y=h.getFilterValue();let v=e.getIsAggregated()&&f.AggregatedCell?f.AggregatedCell({cell:e,column:h,row:p,table:o}):p.getIsGrouped()&&!e.getIsGrouped()?null:e.getIsGrouped()&&f.GroupedCell?f.GroupedCell({cell:e,column:h,row:p,table:o}):void 0;const b=void 0!==v;if(b||(v=e.renderValue()),u&&!1!==f.enableFilterMatchHighlighting&&String(v)&&UL.includes(typeof v)&&(y&&UL.includes(typeof y)&&["autocomplete","text"].includes(f.filterVariant)||g&&UL.includes(typeof g)&&h.getCanGlobalFilter())){const e=null==rS?void 0:rS({matchExactly:"fuzzy"!==(y?f._filterFn:m),query:(null!==(i=null!=y?y:g)&&void 0!==i?i:"").toString(),text:null==v?void 0:v.toString()});((null==e?void 0:e.length)>1||(null===(s=null==e?void 0:e[0])||void 0===s?void 0:s.match))&&(v=(0,F.jsx)("span",{"aria-label":v,role:"note",children:null!==(l=null==e?void 0:e.map((({key:e,match:t,text:n})=>(0,F.jsx)(a.A,{"aria-hidden":"true",component:"span",sx:t?{backgroundColor:d,borderRadius:"2px",color:e=>"dark"===e.palette.mode?e.palette.common.white:e.palette.common.black,padding:"2px 1px"}:void 0,children:n},e))))&&void 0!==l?l:v}))}return f.Cell&&!b&&(v=f.Cell({cell:e,column:h,renderedCellValue:v,row:p,rowRef:t,staticColumnIndex:n,staticRowIndex:r,table:o})),v},qL=e=>{var t,{cell:n,table:r}=e,o=iL(e,["cell","table"]);const{options:{localization:a,muiCopyButtonProps:s}}=r,{column:l,row:c}=n,{columnDef:u}=l,[d,h]=(0,i.useState)(!1),p=Object.assign(Object.assign(Object.assign({},wM(s,{cell:n,column:l,row:c,table:r})),wM(u.muiCopyButtonProps,{cell:n,column:l,row:c,table:r})),o);return(0,F.jsx)(xo,Object.assign({},pL("top"),{title:null!==(t=null==p?void 0:p.title)&&void 0!==t?t:d?a.copiedToClipboard:a.clickToCopy,children:(0,F.jsx)(No,Object.assign({onClick:e=>{return t=e,r=n.getValue(),t.stopPropagation(),navigator.clipboard.writeText(r),h(!0),void setTimeout((()=>h(!1)),4e3);var t,r},size:"small",type:"button",variant:"text"},p,{sx:e=>Object.assign({backgroundColor:"transparent",border:"none",color:"inherit",cursor:"copy",fontFamily:"inherit",fontSize:"inherit",letterSpacing:"inherit",m:"-0.25rem",minWidth:"unset",py:0,textAlign:"inherit",textTransform:"inherit"},wM(null==p?void 0:p.sx,e)),title:void 0}))}))},HL=e=>{var t,n,{cell:r,table:o}=e,a=iL(e,["cell","table"]);const{getState:s,options:{createDisplayMode:l,editDisplayMode:c,muiEditTextFieldProps:u},refs:{editInputRefs:d},setCreatingRow:h,setEditingCell:p,setEditingRow:f}=o,{column:g,row:m}=r,{columnDef:y}=g,{creatingRow:v,editingRow:b}=s(),{editSelectOptions:w,editVariant:A}=y,x=(null==v?void 0:v.id)===m.id,S=(null==b?void 0:b.id)===m.id,[C,E]=(0,i.useState)((()=>r.getValue())),k=Object.assign(Object.assign(Object.assign({},wM(u,{cell:r,column:g,row:m,table:o})),wM(y.muiEditTextFieldProps,{cell:r,column:g,row:m,table:o})),a),T=wM(w,{cell:r,column:g,row:m,table:o}),_="select"===A||(null==k?void 0:k.select),O=e=>{m._valuesCache[g.id]=e,x?h(m):S&&f(m)};return y.Edit?(0,F.jsx)(F.Fragment,{children:null===(t=y.Edit)||void 0===t?void 0:t.call(y,{cell:r,column:g,row:m,table:o})}):(0,F.jsx)(lS,Object.assign({disabled:!1===wM(y.enableEditing,m),fullWidth:!0,inputRef:e=>{e&&(d.current[g.id]=e,k.inputRef&&(k.inputRef=e))},label:["custom","modal"].includes(x?l:c)?y.header:void 0,margin:"none",name:g.id,placeholder:["custom","modal"].includes(x?l:c)?void 0:y.header,select:_,size:"small",value:null!=C?C:"",variant:"standard"},k,{InputProps:Object.assign(Object.assign(Object.assign({},"outlined"!==k.variant?{disableUnderline:"table"===c}:{}),k.InputProps),{sx:e=>{var t;return Object.assign({mb:0},wM(null===(t=null==k?void 0:k.InputProps)||void 0===t?void 0:t.sx,e))}}),SelectProps:{MenuProps:{disableScrollLock:!0}},inputProps:Object.assign({autoComplete:"new-password"},k.inputProps),onBlur:e=>{var t;null===(t=k.onBlur)||void 0===t||t.call(k,e),O(C),p(null)},onChange:e=>{var t;null===(t=k.onChange)||void 0===t||t.call(k,e),E(e.target.value),_&&O(e.target.value)},onClick:e=>{var t;e.stopPropagation(),null===(t=null==k?void 0:k.onClick)||void 0===t||t.call(k,e)},onKeyDown:e=>{var t,n;null===(t=k.onKeyDown)||void 0===t||t.call(k,e),"Enter"!==e.key||e.shiftKey||null===(n=d.current[g.id])||void 0===n||n.blur()},children:null!==(n=k.children)&&void 0!==n?n:null==T?void 0:T.map((e=>{const{label:t,value:n}=AM(e);return(0,F.jsx)(pi,{sx:{alignItems:"center",display:"flex",gap:"0.5rem",m:0},value:n,children:t},n)}))}))},YL=e=>{var t,n,r,o,a,{cell:s,numRows:l,rowRef:c,staticColumnIndex:u,staticRowIndex:d,table:h}=e,p=iL(e,["cell","numRows","rowRef","staticColumnIndex","staticRowIndex","table"]);const f=(0,I.A)(),{getState:g,options:{columnResizeDirection:m,columnResizeMode:y,createDisplayMode:v,editDisplayMode:b,enableCellActions:w,enableClickToCopy:A,enableColumnOrdering:x,enableColumnPinning:S,enableGrouping:C,layoutMode:E,mrtTheme:{draggingBorderColor:k},muiSkeletonProps:T,muiTableBodyCellProps:_},setHoveredColumn:O}=h,{actionCell:P,columnSizingInfo:M,creatingRow:L,density:R,draggingColumn:j,draggingRow:D,editingCell:N,editingRow:z,hoveredColumn:B,hoveredRow:V,isLoading:$,showSkeletons:G}=g(),{column:U,row:W}=s,{columnDef:q}=U,{columnDefType:H}=q,Y={cell:s,column:U,row:W,table:h},K=Object.assign(Object.assign(Object.assign({},wM(_,Y)),wM(q.muiTableBodyCellProps,Y)),p),X=wM(T,{cell:s,column:U,row:W,table:h}),[Z,J]=(0,i.useState)(100);(0,i.useEffect)((()=>{if(!$&&!G||100!==Z)return;const e=U.getSize();J("display"===H?e/2:Math.round(Math.random()*(e-e/3)+e/3))}),[$,G]);const Q=(0,i.useMemo)((()=>{const e=(null==j?void 0:j.id)===U.id,t=(null==B?void 0:B.id)===U.id,n=(null==D?void 0:D.id)===W.id,r=(null==V?void 0:V.id)===W.id,o=U.getIsFirstColumn(),i=U.getIsLastColumn(),a=l&&d===l-1,s=M.isResizingColumn===U.id,c=s&&"onChange"===y,u=c?`2px solid ${k} !important`:e||n?`1px dashed ${f.palette.grey[500]} !important`:t||r||s?`2px dashed ${k} !important`:void 0;return c?"ltr"===m?{borderRight:u}:{borderLeft:u}:u?{borderBottom:n||r||a&&!s?u:void 0,borderLeft:e||t||(n||r)&&o?u:void 0,borderRight:e||t||(n||r)&&i?u:void 0,borderTop:n||r?u:void 0}:void 0}),[M.isResizingColumn,j,D,B,V,d]),ee=S&&"group"!==q.columnDefType&&U.getIsPinned(),te=xM({cell:s,table:h}),ne=te&&!["custom","modal"].includes(b)&&("table"===b||(null==z?void 0:z.id)===W.id||(null==N?void 0:N.id)===s.id)&&!W.getIsGrouped(),re=te&&"row"===v&&(null==L?void 0:L.id)===W.id,oe=(!0===wM(A,s)||!0===wM(q.enableClickToCopy,s))&&!["context-menu",!1].includes(wM(q.enableClickToCopy,s)),ie=wM(w,s),ae={cell:s,table:h};return(0,F.jsx)(zx,Object.assign({align:"rtl"===f.direction?"right":"left","data-index":u,"data-pinned":!!ee||void 0},K,{onContextMenu:e=>{var t;null===(t=null==K?void 0:K.onContextMenu)||void 0===t||t.call(K,e),ie&&(e.preventDefault(),h.setActionCell(s),h.refs.actionCellRef.current=e.currentTarget)},onDoubleClick:e=>{var t;null===(t=null==K?void 0:K.onDoubleClick)||void 0===t||t.call(K,e),SM({cell:s,table:h})},onDragEnter:e=>{var t;null===(t=null==K?void 0:K.onDragEnter)||void 0===t||t.call(K,e),C&&"drop-zone"===(null==B?void 0:B.id)&&O(null),x&&j&&O(!1!==q.enableColumnOrdering?U:null)},onDragOver:e=>{!1!==q.enableColumnOrdering&&e.preventDefault()},sx:e=>Object.assign(Object.assign({"&:hover":{outline:(null==P?void 0:P.id)===s.id||"cell"===b&&te||"table"===b&&(re||ne)?`1px solid ${e.palette.grey[500]}`:void 0,textOverflow:"clip"},alignItems:(null==E?void 0:E.startsWith("grid"))?"center":void 0,cursor:ie?"context-menu":te&&"cell"===b?"pointer":"inherit",outline:(null==P?void 0:P.id)===s.id?`1px solid ${e.palette.grey[500]}`:void 0,outlineOffset:"-1px",overflow:"hidden",p:"compact"===R?"display"===H?"0 0.5rem":"0.5rem":"comfortable"===R?"display"===H?"0.5rem 0.75rem":"1rem":"display"===H?"1rem 1.25rem":"1.5rem",textOverflow:"display"!==H?"ellipsis":void 0,whiteSpace:W.getIsPinned()||"compact"===R?"nowrap":"normal"},uL({column:U,table:h,tableCellProps:K,theme:e})),Q),children:null!==(t=K.children)&&void 0!==t?t:(0,F.jsxs)(F.Fragment,{children:[s.getIsPlaceholder()?null!==(r=null===(n=q.PlaceholderCell)||void 0===n?void 0:n.call(q,{cell:s,column:U,row:W,table:h}))&&void 0!==r?r:null:!1!==G&&($||G)?(0,F.jsx)(qy,Object.assign({animation:"wave",height:20,width:Z},X)):"display"!==H||!["mrt-row-expand","mrt-row-numbers","mrt-row-select"].includes(U.id)&&W.getIsGrouped()?re||ne?(0,F.jsx)(HL,{cell:s,table:h}):oe&&!1!==q.enableClickToCopy?(0,F.jsx)(qL,{cell:s,table:h,children:(0,F.jsx)(WL,Object.assign({},ae))}):(0,F.jsx)(WL,Object.assign({},ae)):null===(o=q.Cell)||void 0===o?void 0:o.call(q,{cell:s,column:U,renderedCellValue:s.renderValue(),row:W,rowRef:c,staticColumnIndex:u,staticRowIndex:d,table:h}),s.getIsGrouped()&&!q.GroupedCell&&(0,F.jsxs)(F.Fragment,{children:[" (",null===(a=W.subRows)||void 0===a?void 0:a.length,")"]})]})}))},KL=(0,i.memo)(YL,((e,t)=>t.cell===e.cell)),XL=e=>{var{parentRowRef:t,row:n,rowVirtualizer:r,staticRowIndex:o,table:i,virtualRow:a}=e,s=iL(e,["parentRowRef","row","rowVirtualizer","staticRowIndex","table","virtualRow"]);const{getState:l,getVisibleLeafColumns:c,options:{layoutMode:u,mrtTheme:{baseBackgroundColor:d},muiDetailPanelProps:h,muiTableBodyRowProps:p,renderDetailPanel:f}}=i,{isLoading:g}=l(),m=wM(p,{isDetailPanel:!0,row:n,staticRowIndex:o,table:i}),y=Object.assign(Object.assign({},wM(h,{row:n,table:i})),s),v=!g&&(null==f?void 0:f({row:n,table:i}));return(0,F.jsx)(Lx,Object.assign({className:"Mui-TableBodyCell-DetailPanel","data-index":f?2*o+1:o,ref:e=>{var t;e&&(null===(t=null==r?void 0:r.measureElement)||void 0===t||t.call(r,e))}},m,{sx:e=>{var n,r;return Object.assign({display:(null==u?void 0:u.startsWith("grid"))?"flex":void 0,position:a?"absolute":void 0,top:a?`${null===(r=null===(n=t.current)||void 0===n?void 0:n.getBoundingClientRect())||void 0===r?void 0:r.height}px`:void 0,transform:a?`translateY(${null==a?void 0:a.start}px)`:void 0,width:"100%"},wM(null==m?void 0:m.sx,e))},children:(0,F.jsx)(zx,Object.assign({className:"Mui-TableBodyCell-DetailPanel",colSpan:c().length},y,{sx:e=>Object.assign({backgroundColor:a?d:void 0,borderBottom:n.getIsExpanded()?void 0:"none",display:(null==u?void 0:u.startsWith("grid"))?"flex":void 0,py:v&&n.getIsExpanded()?"1rem":0,transition:a?void 0:"all 150ms ease-in-out",width:"100%"},wM(null==y?void 0:y.sx,e)),children:a?n.getIsExpanded()&&v:(0,F.jsx)($,{in:n.getIsExpanded(),mountOnEnter:!0,unmountOnExit:!0,children:v})}))}))},ZL=e=>{var t,n,r,o,{columnVirtualizer:a,numRows:s,pinnedRowIds:l,row:c,rowVirtualizer:u,staticRowIndex:d,table:h,virtualRow:p}=e,f=iL(e,["columnVirtualizer","numRows","pinnedRowIds","row","rowVirtualizer","staticRowIndex","table","virtualRow"]);const g=(0,I.A)(),{getState:m,options:{enableRowOrdering:y,enableRowPinning:v,enableStickyFooter:b,enableStickyHeader:w,layoutMode:A,memoMode:x,mrtTheme:{baseBackgroundColor:S,pinnedRowBackgroundColor:C,selectedRowBackgroundColor:E},muiTableBodyRowProps:k,renderDetailPanel:T,rowPinningDisplayMode:_},refs:{tableFooterRef:O,tableHeadRef:P},setHoveredRow:M}=h,{density:L,draggingColumn:R,draggingRow:j,editingCell:D,editingRow:N,hoveredRow:z,isFullScreen:B,rowPinning:V}=m(),$=c.getVisibleCells(),{virtualColumns:G,virtualPaddingLeft:U,virtualPaddingRight:W}=null!=a?a:{},q=BM({row:c,table:h}),H=v&&c.getIsPinned(),Y=(null==j?void 0:j.id)===c.id,K=(null==z?void 0:z.id)===c.id,X=Object.assign(Object.assign({},wM(k,{row:c,staticRowIndex:d,table:h})),f),[Z,J]=(0,i.useMemo)((()=>v&&(null==_?void 0:_.includes("sticky"))&&l&&c.getIsPinned()?[[...l].reverse().indexOf(c.id),l.indexOf(c.id)]:[]),[l,V]),Q=(w||B)&&(null===(t=P.current)||void 0===t?void 0:t.clientHeight)||0,ee=b&&(null===(n=O.current)||void 0===n?void 0:n.clientHeight)||0,te=wM(null==X?void 0:X.sx,g),ne="compact"===L?37:"comfortable"===L?53:69,re=parseInt(null!==(o=null===(r=null==X?void 0:X.style)||void 0===r?void 0:r.height)&&void 0!==o?o:null==te?void 0:te.height,10)||void 0||ne,oe=(0,i.useRef)(null),ie=q?E:H?C:void 0,ae=!1!==(null==X?void 0:X.hover)?q?ie:"dark"===g.palette.mode?`${(0,Ry.a)(S,.3)}`:`${(0,Ry.e$)(S,.3)}`:void 0;return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(Lx,Object.assign({"data-index":T?2*d:d,"data-pinned":!!H||void 0,"data-selected":q||void 0,onDragEnter:e=>{y&&j&&M(c)},onDragOver:e=>{e.preventDefault()},ref:e=>{e&&(oe.current=e,null==u||u.measureElement(e))},selected:q},X,{style:Object.assign({transform:p?`translateY(${p.start}px)`:void 0},null==X?void 0:X.style),sx:e=>Object.assign({"&:hover td:after":ae?Object.assign({backgroundColor:(0,Ry.X4)(ae,.3)},lL):void 0,backgroundColor:`${S} !important`,bottom:!p&&void 0!==Z&&H?Z*re+(b?ee-1:0)+"px":void 0,boxSizing:"border-box",display:(null==A?void 0:A.startsWith("grid"))?"flex":void 0,opacity:H?.97:Y||K?.5:1,position:p?"absolute":(null==_?void 0:_.includes("sticky"))&&H?"sticky":"relative",td:Object.assign({},cL({table:h,theme:e})),"td:after":ie?Object.assign({backgroundColor:ie},lL):void 0,top:p?0:void 0!==J&&H?J*re+(w||B?Q-1:0)+"px":void 0,transition:p?"none":"all 150ms ease-in-out",width:"100%",zIndex:(null==_?void 0:_.includes("sticky"))&&H?2:0},te),children:[U?(0,F.jsx)("td",{style:{display:"flex",width:U}}):null,(null!=G?G:$).map(((e,t)=>{let n=e;a&&(t=e.index,n=$[t]);const r={cell:n,numRows:s,rowRef:oe,staticColumnIndex:t,staticRowIndex:d,table:h};return n?"cells"!==x||"data"!==n.column.columnDef.columnDefType||R||j||(null==D?void 0:D.id)===n.id||(null==N?void 0:N.id)===c.id?(0,F.jsx)(YL,Object.assign({},r),n.id):(0,F.jsx)(KL,Object.assign({},r),n.id):null})),W?(0,F.jsx)("td",{style:{display:"flex",width:W}}):null]})),T&&!c.getIsGrouped()&&(0,F.jsx)(XL,{parentRowRef:oe,row:c,rowVirtualizer:u,staticRowIndex:d,table:h,virtualRow:p})]})},JL=(0,i.memo)(ZL,((e,t)=>e.row===t.row&&e.staticRowIndex===t.staticRowIndex)),QL=e=>{var t,n,r,o,a,s,{columnVirtualizer:l,table:c}=e,u=iL(e,["columnVirtualizer","table"]);const{getBottomRows:d,getIsSomeRowsPinned:h,getRowModel:p,getState:f,getTopRows:g,options:{enableStickyFooter:m,enableStickyHeader:y,layoutMode:v,localization:b,memoMode:w,muiTableBodyProps:A,renderDetailPanel:x,renderEmptyRowsFallback:S,rowPinningDisplayMode:C},refs:{tableFooterRef:E,tableHeadRef:k,tablePaperRef:T}}=c,{columnFilters:_,globalFilter:O,isFullScreen:P,rowPinning:I}=f(),M=Object.assign(Object.assign({},wM(A,{table:c})),u),L=(y||P)&&(null===(t=k.current)||void 0===t?void 0:t.clientHeight)||0,R=m&&(null===(n=E.current)||void 0===n?void 0:n.clientHeight)||0,j=(0,i.useMemo)((()=>{var e,t;return(null===(e=I.bottom)||void 0===e?void 0:e.length)||(null===(t=I.top)||void 0===t?void 0:t.length)?p().rows.filter((e=>e.getIsPinned())).map((e=>e.id)):[]}),[I,p().rows]),D=GL(c),N=$L(c,D),{virtualRows:z}=null!=N?N:{},B={columnVirtualizer:l,numRows:D.length,table:c};return(0,F.jsxs)(F.Fragment,{children:[!(null==C?void 0:C.includes("sticky"))&&h("top")&&(0,F.jsx)(kx,Object.assign({},M,{sx:e=>Object.assign({display:(null==v?void 0:v.startsWith("grid"))?"grid":void 0,position:"sticky",top:L-1,zIndex:1},wM(null==M?void 0:M.sx,e)),children:g().map(((e,t)=>{const n=Object.assign(Object.assign({},B),{row:e,staticRowIndex:t});return"rows"===w?(0,F.jsx)(JL,Object.assign({},n),e.id):(0,F.jsx)(ZL,Object.assign({},n),e.id)}))})),(0,F.jsx)(kx,Object.assign({},M,{sx:e=>Object.assign({display:(null==v?void 0:v.startsWith("grid"))?"grid":void 0,height:N?`${N.getTotalSize()}px`:void 0,minHeight:D.length?void 0:"100px",position:"relative"},wM(null==M?void 0:M.sx,e)),children:null!==(r=null==M?void 0:M.children)&&void 0!==r?r:D.length?(0,F.jsx)(F.Fragment,{children:(null!=z?z:D).map(((e,t)=>{let n=e;if(N){if(x){if(e.index%2==1)return null;t=e.index/2}else t=e.index;n=D[t]}const r=Object.assign(Object.assign({},B),{pinnedRowIds:j,row:n,rowVirtualizer:N,staticRowIndex:t,virtualRow:N?e:void 0}),o=`${n.id}-${n.index}`;return"rows"===w?(0,F.jsx)(JL,Object.assign({},r),o):(0,F.jsx)(ZL,Object.assign({},r),o)}))}):(0,F.jsx)("tr",{style:{display:(null==v?void 0:v.startsWith("grid"))?"grid":void 0},children:(0,F.jsx)("td",{colSpan:c.getVisibleLeafColumns().length,style:{display:(null==v?void 0:v.startsWith("grid"))?"grid":void 0},children:null!==(o=null==S?void 0:S({table:c}))&&void 0!==o?o:(0,F.jsx)(ji.A,{sx:{color:"text.secondary",fontStyle:"italic",maxWidth:`min(100vw, ${null!==(s=null===(a=T.current)||void 0===a?void 0:a.clientWidth)&&void 0!==s?s:360}px)`,py:"2rem",textAlign:"center",width:"100%"},children:O||_.length?b.noResultsFound:b.noRecordsToDisplay})})})})),!(null==C?void 0:C.includes("sticky"))&&h("bottom")&&(0,F.jsx)(kx,Object.assign({},M,{sx:e=>Object.assign({bottom:R-1,display:(null==v?void 0:v.startsWith("grid"))?"grid":void 0,position:"sticky",zIndex:1},wM(null==M?void 0:M.sx,e)),children:d().map(((e,t)=>{const n=Object.assign(Object.assign({},B),{row:e,staticRowIndex:t});return"rows"===w?(0,F.jsx)(JL,Object.assign({},n),e.id):(0,F.jsx)(ZL,Object.assign({},n),e.id)}))}))]})},eR=(0,i.memo)(QL,((e,t)=>e.table.options.data===t.table.options.data)),tR=e=>{var t,n,r,{footer:o,staticColumnIndex:i,table:a}=e,s=iL(e,["footer","staticColumnIndex","table"]);const l=(0,I.A)(),{getState:c,options:{enableColumnPinning:u,muiTableFooterCellProps:d}}=a,{density:h}=c(),{column:p}=o,{columnDef:f}=p,{columnDefType:g}=f,m=u&&"group"!==f.columnDefType&&p.getIsPinned(),y={column:p,table:a},v=Object.assign(Object.assign(Object.assign({},wM(d,y)),wM(f.muiTableFooterCellProps,y)),s);return(0,F.jsx)(zx,Object.assign({align:"group"===g?"center":"rtl"===l.direction?"right":"left",colSpan:o.colSpan,"data-index":i,"data-pinned":!!m||void 0,variant:"footer"},v,{sx:e=>Object.assign(Object.assign({fontWeight:"bold",p:"compact"===h?"0.5rem":"comfortable"===h?"1rem":"1.5rem",verticalAlign:"top"},uL({column:p,header:o,table:a,tableCellProps:v,theme:e})),wM(null==v?void 0:v.sx,e)),children:null!==(t=v.children)&&void 0!==t?t:o.isPlaceholder?null:null!==(r=null!==(n=wM(f.Footer,{column:p,footer:o,table:a}))&&void 0!==n?n:f.footer)&&void 0!==r?r:null}))},nR=e=>{var t,{columnVirtualizer:n,footerGroup:r,table:o}=e,i=iL(e,["columnVirtualizer","footerGroup","table"]);const{options:{layoutMode:a,mrtTheme:{baseBackgroundColor:s},muiTableFooterRowProps:l}}=o,{virtualColumns:c,virtualPaddingLeft:u,virtualPaddingRight:d}=null!=n?n:{};if(!(null===(t=r.headers)||void 0===t?void 0:t.some((e=>"string"==typeof e.column.columnDef.footer&&!!e.column.columnDef.footer||e.column.columnDef.Footer))))return null;const h=Object.assign(Object.assign({},wM(l,{footerGroup:r,table:o})),i);return(0,F.jsxs)(Lx,Object.assign({},h,{sx:e=>Object.assign({backgroundColor:s,display:(null==a?void 0:a.startsWith("grid"))?"flex":void 0,position:"relative",width:"100%"},wM(null==h?void 0:h.sx,e)),children:[u?(0,F.jsx)("th",{style:{display:"flex",width:u}}):null,(null!=c?c:r.headers).map(((e,t)=>{let i=e;return n&&(t=e.index,i=r.headers[t]),i?(0,F.jsx)(tR,{footer:i,staticColumnIndex:t,table:o},i.id):null})),d?(0,F.jsx)("th",{style:{display:"flex",width:d}}):null]}))},rR=e=>{var{columnVirtualizer:t,table:n}=e,r=iL(e,["columnVirtualizer","table"]);const{getFooterGroups:o,getState:i,options:{enableStickyFooter:a,layoutMode:s,muiTableFooterProps:l},refs:{tableFooterRef:c}}=n,{isFullScreen:u}=i(),d=Object.assign(Object.assign({},wM(l,{table:n})),r),h=(u||a)&&!1!==a;return(0,F.jsx)(fS,Object.assign({},d,{ref:e=>{c.current=e,(null==d?void 0:d.ref)&&(d.ref.current=e)},sx:e=>Object.assign({bottom:h?0:void 0,display:(null==s?void 0:s.startsWith("grid"))?"grid":void 0,opacity:h?.97:void 0,outline:h?"light"===e.palette.mode?`1px solid ${e.palette.grey[300]}`:`1px solid ${e.palette.grey[700]}`:void 0,position:h?"sticky":"relative",zIndex:h?1:void 0},wM(null==d?void 0:d.sx,e)),children:o().map((e=>(0,F.jsx)(nR,{columnVirtualizer:t,footerGroup:e,table:n},e.id)))}))},oR=e=>[{divider:!1,label:e.filterFuzzy,option:"fuzzy",symbol:"≈"},{divider:!1,label:e.filterContains,option:"contains",symbol:"*"},{divider:!1,label:e.filterStartsWith,option:"startsWith",symbol:"a"},{divider:!0,label:e.filterEndsWith,option:"endsWith",symbol:"z"},{divider:!1,label:e.filterEquals,option:"equals",symbol:"="},{divider:!0,label:e.filterNotEquals,option:"notEquals",symbol:"≠"},{divider:!1,label:e.filterBetween,option:"between",symbol:"⇿"},{divider:!0,label:e.filterBetweenInclusive,option:"betweenInclusive",symbol:"⬌"},{divider:!1,label:e.filterGreaterThan,option:"greaterThan",symbol:">"},{divider:!1,label:e.filterGreaterThanOrEqualTo,option:"greaterThanOrEqualTo",symbol:"≥"},{divider:!1,label:e.filterLessThan,option:"lessThan",symbol:"<"},{divider:!0,label:e.filterLessThanOrEqualTo,option:"lessThanOrEqualTo",symbol:"≤"},{divider:!1,label:e.filterEmpty,option:"empty",symbol:"∅"},{divider:!1,label:e.filterNotEmpty,option:"notEmpty",symbol:"!∅"}],iR=["between","betweenInclusive","inNumberRange"],aR=["empty","notEmpty"],sR=["arrIncludesSome","arrIncludesAll","arrIncludes"],lR=["range-slider","date-range","datetime-range","range"],cR=e=>{var t,n,r,o,{anchorEl:a,header:s,onSelect:l,setAnchorEl:c,setFilterValue:u,table:d}=e,h=iL(e,["anchorEl","header","onSelect","setAnchorEl","setFilterValue","table"]);const{getState:p,options:{columnFilterModeOptions:f,globalFilterModeOptions:g,localization:m,mrtTheme:{menuBackgroundColor:y},renderColumnFilterModeMenuItems:v,renderGlobalFilterModeMenuItems:b},setColumnFilterFns:w,setGlobalFilterFn:A}=d,{density:x,globalFilterFn:S}=p(),{column:C}=null!=s?s:{},{columnDef:E}=null!=C?C:{},k=null==C?void 0:C.getFilterValue();let T=null!==(t=null==E?void 0:E.columnFilterModeOptions)&&void 0!==t?t:f;lR.includes(null==E?void 0:E.filterVariant)&&(T=[...iR,...null!=T?T:[]].filter((e=>iR.includes(e))));const _=(0,i.useMemo)((()=>oR(m).filter((e=>E?void 0===T||(null==T?void 0:T.includes(e.option)):(!g||g.includes(e.option))&&["contains","fuzzy","startsWith"].includes(e.option)))),[]),O=e=>{var t,n;const r=null!==(t=null==E?void 0:E._filterFn)&&void 0!==t?t:"";s&&C?e!==r&&(w((t=>Object.assign(Object.assign({},t),{[s.id]:e}))),aR.includes(e)?" "===k||aR.includes(r)?k&&C.setFilterValue(k):C.setFilterValue(" "):"multi-select"===(null==E?void 0:E.filterVariant)||sR.includes(e)?k instanceof String||(null==k?void 0:k.length)?(C.setFilterValue([]),null==u||u([])):k&&C.setFilterValue(k):(null===(n=null==E?void 0:E.filterVariant)||void 0===n?void 0:n.includes("range"))||iR.includes(e)?Array.isArray(k)&&((null==k?void 0:k.every((e=>""===e)))||iR.includes(r))?C.setFilterValue(k):(C.setFilterValue(["",""]),null==u||u("")):Array.isArray(k)?(C.setFilterValue(""),null==u||u("")):" "===k&&aR.includes(r)?C.setFilterValue(void 0):C.setFilterValue(k)):A(e),c(null),null==l||l()},P=s&&E?E._filterFn:S;return(0,F.jsx)(Rh,Object.assign({MenuListProps:{dense:"compact"===x,sx:{backgroundColor:y}},anchorEl:a,anchorOrigin:{horizontal:"right",vertical:"center"},disableScrollLock:!0,onClose:()=>c(null),open:!!a},h,{children:null!==(o=s&&C&&E?null!==(r=null===(n=E.renderColumnFilterModeMenuItems)||void 0===n?void 0:n.call(E,{column:C,internalFilterOptions:_,onSelectFilterMode:O,table:d}))&&void 0!==r?r:null==v?void 0:v({column:C,internalFilterOptions:_,onSelectFilterMode:O,table:d}):null==b?void 0:b({internalFilterOptions:_,onSelectFilterMode:O,table:d}))&&void 0!==o?o:_.map((({divider:e,label:t,option:n,symbol:r},o)=>(0,F.jsx)(fL,{divider:e,icon:r,label:t,onClick:()=>O(n),selected:n===P,table:d,value:n},o)))}))},uR=e=>{var t,n,r,o,a,s,l,c,u,d,{anchorEl:h,header:p,setAnchorEl:f,table:g}=e,m=iL(e,["anchorEl","header","setAnchorEl","table"]);const{getAllLeafColumns:y,getState:v,options:{columnFilterDisplayMode:b,columnFilterModeOptions:w,enableColumnFilterModes:A,enableColumnFilters:x,enableColumnPinning:S,enableColumnResizing:C,enableGrouping:E,enableHiding:k,enableSorting:T,enableSortingRemoval:_,icons:{ClearAllIcon:O,DynamicFeedIcon:P,FilterListIcon:I,FilterListOffIcon:M,PushPinIcon:L,RestartAltIcon:R,SortIcon:j,ViewColumnIcon:D,VisibilityOffIcon:N},localization:z,mrtTheme:{menuBackgroundColor:B},renderColumnActionsMenuItems:V},refs:{filterInputRefs:$},setColumnFilterFns:G,setColumnOrder:U,setColumnSizingInfo:W,setShowColumnFilters:q}=g,{column:H}=p,{columnDef:Y}=H,{columnSizing:K,columnVisibility:X,density:Z,showColumnFilters:J}=v(),Q=H.getFilterValue(),[ee,te]=(0,i.useState)(null),ne=e=>{H.pin(e),f(null)},re=()=>{q(!0),queueMicrotask((()=>{var e;return null===(e=$.current[`${H.id}-0`])||void 0===e?void 0:e.focus()})),f(null)},oe=e=>{e.stopPropagation(),te(e.currentTarget)},ie=!!Y.filterSelectOptions,ae=null!==(t=null==Y?void 0:Y.columnFilterModeOptions)&&void 0!==t?t:w,se=A&&!1!==Y.enableColumnFilterModes&&!ie&&(void 0===ae||!!(null==ae?void 0:ae.length)),le=[...T&&H.getCanSort()?[!1!==_&&(0,F.jsx)(fL,{icon:(0,F.jsx)(O,{}),label:z.clearSort,onClick:()=>{H.clearSorting(),f(null)},table:g},0),(0,F.jsx)(fL,{disabled:"asc"===H.getIsSorted(),icon:(0,F.jsx)(j,{style:{transform:"rotate(180deg) scaleX(-1)"}}),label:null===(n=z.sortByColumnAsc)||void 0===n?void 0:n.replace("{column}",String(Y.header)),onClick:()=>{H.toggleSorting(!1),f(null)},table:g},1),(0,F.jsx)(fL,{disabled:"desc"===H.getIsSorted(),divider:x||E||k,icon:(0,F.jsx)(j,{}),label:null===(r=z.sortByColumnDesc)||void 0===r?void 0:r.replace("{column}",String(Y.header)),onClick:()=>{H.toggleSorting(!0),f(null)},table:g},2)]:[],...x&&H.getCanFilter()?[(0,F.jsx)(fL,{disabled:!Q||Array.isArray(Q)&&!Q.filter((e=>e)).length,icon:(0,F.jsx)(M,{}),label:z.clearFilter,onClick:()=>{H.setFilterValue(void 0),f(null),["empty","notEmpty"].includes(Y._filterFn)&&G((e=>{var t;return Object.assign(Object.assign({},e),{[p.id]:null!==(t=null==ae?void 0:ae[0])&&void 0!==t?t:"fuzzy"})}))},table:g},3),"subheader"===b&&(0,F.jsx)(fL,{disabled:J&&!A,divider:E||k,icon:(0,F.jsx)(I,{}),label:null===(o=z.filterByColumn)||void 0===o?void 0:o.replace("{column}",String(Y.header)),onClick:J?oe:re,onOpenSubMenu:se?oe:void 0,table:g},4),se&&(0,F.jsx)(cR,{anchorEl:ee,header:p,onSelect:re,setAnchorEl:te,table:g},5)].filter(Boolean):[],...E&&H.getCanGroup()?[(0,F.jsx)(fL,{divider:S,icon:(0,F.jsx)(P,{}),label:null===(a=z[H.getIsGrouped()?"ungroupByColumn":"groupByColumn"])||void 0===a?void 0:a.replace("{column}",String(Y.header)),onClick:()=>{H.toggleGrouping(),U((e=>["mrt-row-expand",...e])),f(null)},table:g},6)]:[],...S&&H.getCanPin()?[(0,F.jsx)(fL,{disabled:"left"===H.getIsPinned()||!H.getCanPin(),icon:(0,F.jsx)(L,{style:{transform:"rotate(90deg)"}}),label:z.pinToLeft,onClick:()=>ne("left"),table:g},7),(0,F.jsx)(fL,{disabled:"right"===H.getIsPinned()||!H.getCanPin(),icon:(0,F.jsx)(L,{style:{transform:"rotate(-90deg)"}}),label:z.pinToRight,onClick:()=>ne("right"),table:g},8),(0,F.jsx)(fL,{disabled:!H.getIsPinned(),divider:k,icon:(0,F.jsx)(L,{}),label:z.unpin,onClick:()=>ne(!1),table:g},9)]:[],...C&&H.getCanResize()?[(0,F.jsx)(fL,{disabled:!K[H.id],icon:(0,F.jsx)(R,{}),label:z.resetColumnSize,onClick:()=>{W((e=>Object.assign(Object.assign({},e),{isResizingColumn:!1}))),H.resetSize(),f(null)},table:g},10)]:[],...k?[(0,F.jsx)(fL,{disabled:!H.getCanHide(),icon:(0,F.jsx)(N,{}),label:null===(s=z.hideColumn)||void 0===s?void 0:s.replace("{column}",String(Y.header)),onClick:()=>{H.toggleVisibility(!1),f(null)},table:g},11),(0,F.jsx)(fL,{disabled:!Object.values(X).filter((e=>!e)).length,icon:(0,F.jsx)(D,{}),label:null===(l=z.showAllColumns)||void 0===l?void 0:l.replace("{column}",String(Y.header)),onClick:()=>{y().filter((e=>!1!==e.columnDef.enableHiding)).forEach((e=>e.toggleVisibility(!0))),f(null)},table:g},12)]:[]].filter(Boolean);return(0,F.jsx)(Rh,Object.assign({MenuListProps:{dense:"compact"===Z,sx:{backgroundColor:B}},anchorEl:h,disableScrollLock:!0,onClose:()=>f(null),open:!!h},m,{children:null!==(d=null!==(u=null===(c=Y.renderColumnActionsMenuItems)||void 0===c?void 0:c.call(Y,{closeMenu:()=>f(null),column:H,internalColumnMenuItems:le,table:g}))&&void 0!==u?u:null==V?void 0:V({closeMenu:()=>f(null),column:H,internalColumnMenuItems:le,table:g}))&&void 0!==d?d:le}))},dR=e=>{var t,n,{header:r,table:o}=e,a=iL(e,["header","table"]);const{options:{icons:{MoreVertIcon:s},localization:l,muiColumnActionsButtonProps:c}}=o,{column:u}=r,{columnDef:d}=u,[h,p]=(0,i.useState)(null),f=Object.assign(Object.assign(Object.assign({},wM(c,{column:u,table:o})),wM(d.muiColumnActionsButtonProps,{column:u,table:o})),a);return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(xo,Object.assign({},pL("top"),{title:null!==(t=null==f?void 0:f.title)&&void 0!==t?t:l.columnActions,children:(0,F.jsx)(Vn,Object.assign({"aria-label":l.columnActions,onClick:e=>{e.stopPropagation(),e.preventDefault(),p(e.currentTarget)},size:"small"},f,{sx:e=>Object.assign({"&:hover":{opacity:1},height:"2rem",m:"-8px -4px",opacity:.3,transition:"all 150ms",width:"2rem"},wM(null==f?void 0:f.sx,e)),title:void 0,children:null!==(n=null==f?void 0:f.children)&&void 0!==n?n:(0,F.jsx)(s,{style:{transform:"scale(0.9)"}})}))})),h&&(0,F.jsx)(uR,{anchorEl:h,header:r,setAnchorEl:p,table:o})]})},hR=e=>{var t,n,r,{column:o,table:i}=e,a=iL(e,["column","table"]);const{getState:s,options:{localization:l,muiFilterCheckboxProps:c}}=i,{density:u}=s(),{columnDef:d}=o,h=Object.assign(Object.assign(Object.assign({},wM(c,{column:o,table:i})),wM(d.muiFilterCheckboxProps,{column:o,table:i})),a),p=null===(t=l.filterByColumn)||void 0===t?void 0:t.replace("{column}",d.header);return(0,F.jsx)(xo,Object.assign({},pL(),{title:null!==(n=null==h?void 0:h.title)&&void 0!==n?n:p,children:(0,F.jsx)(Vb,{control:(0,F.jsx)(ya,Object.assign({checked:"true"===o.getFilterValue(),color:void 0===o.getFilterValue()?"default":"primary",indeterminate:void 0===o.getFilterValue(),size:"compact"===u?"small":"medium"},h,{onChange:(e,t)=>{var n;o.setFilterValue(void 0===o.getFilterValue()?"true":"true"===o.getFilterValue()?"false":void 0),null===(n=null==h?void 0:h.onChange)||void 0===n||n.call(h,e,t)},onClick:e=>{var t;e.stopPropagation(),null===(t=null==h?void 0:h.onClick)||void 0===t||t.call(h,e)},sx:e=>Object.assign({height:"2.5rem",width:"2.5rem"},wM(null==h?void 0:h.sx,e))})),disableTypography:!0,label:null!==(r=h.title)&&void 0!==r?r:p,sx:{color:"text.secondary",fontWeight:"normal",mt:"-4px"},title:void 0})}))},pR=e=>{var t,n,r,o,s,l,c,u,d,h,p,f,g,m,y,v,{header:b,rangeFilterIndex:w,table:A}=e,x=iL(e,["header","rangeFilterIndex","table"]);const{options:{enableColumnFilterModes:S,icons:{CloseIcon:C,FilterListIcon:E},localization:k,manualFiltering:T,muiFilterAutocompleteProps:_,muiFilterDatePickerProps:O,muiFilterDateTimePickerProps:P,muiFilterTextFieldProps:I,muiFilterTimePickerProps:M},refs:{filterInputRefs:L},setColumnFilterFns:R}=A,{column:j}=b,{columnDef:D}=j,{filterVariant:N}=D,z={column:j,rangeFilterIndex:w,table:A},B=Object.assign(Object.assign(Object.assign({},wM(I,z)),wM(D.muiFilterTextFieldProps,z)),x),V=Object.assign(Object.assign({},wM(_,z)),wM(D.muiFilterAutocompleteProps,z)),$=Object.assign(Object.assign({},wM(O,z)),wM(D.muiFilterDatePickerProps,z)),G=Object.assign(Object.assign({},wM(P,z)),wM(D.muiFilterDateTimePickerProps,z)),U=Object.assign(Object.assign({},wM(M,z)),wM(D.muiFilterTimePickerProps,z)),{allowedColumnFilterOptions:W,currentFilterOption:q,facetedUniqueValues:H,isAutocompleteFilter:Y,isDateFilter:K,isMultiSelectFilter:X,isRangeFilter:Z,isSelectFilter:J,isTextboxFilter:Q}=gM({header:b,table:A}),ee=mM({header:b,table:A}),te=["empty","notEmpty"].includes(q)?k[`filter${(null===(n=null===(t=null==q?void 0:q.charAt)||void 0===t?void 0:t.call(q,0))||void 0===n?void 0:n.toUpperCase())+(null==q?void 0:q.slice(1))}`]:"",ne=Z?0===w?k.min:1===w?k.max:"":null!==(r=null==B?void 0:B.placeholder)&&void 0!==r?r:null===(o=k.filterByColumn)||void 0===o?void 0:o.replace("{column}",String(D.header)),re=!(!S||!1===D.enableColumnFilterModes||w||void 0!==W&&!(null==W?void 0:W.length)),[oe,ie]=(0,i.useState)(null),[ae,se]=(0,i.useState)((()=>{var e,t;return X?j.getFilterValue()||[]:Z?(null===(e=j.getFilterValue())||void 0===e?void 0:e[w])||"":null!==(t=j.getFilterValue())&&void 0!==t?t:""})),[le,ce]=(0,i.useState)(Y?ae:null),ue=(0,i.useCallback)((0,ps.A)((e=>{Z?j.setFilterValue((t=>{const n=null!=t?t:["",""];return n[w]=null!=e?e:void 0,n})):j.setFilterValue(null!=e?e:void 0)}),Q?T?400:200:1),[]),de=e=>{se(null!=e?e:""),ue(e)},he=e=>{var t;const n="date"===B.type?e.target.valueAsDate:"number"===B.type?e.target.valueAsNumber:e.target.value;de(n),null===(t=null==B?void 0:B.onChange)||void 0===t||t.call(B,e)},pe=()=>{X?(se([]),j.setFilterValue([])):Z?(se(""),j.setFilterValue((e=>{const t=Array.isArray(e)&&e||["",""];return t[w]=void 0,t}))):(se(""),j.setFilterValue(void 0))},fe=(0,i.useRef)(!1);if((0,i.useEffect)((()=>{if(fe.current){const e=j.getFilterValue();void 0===e?pe():se(Z&&void 0!==w?e[w]:e)}fe.current=!0}),[j.getFilterValue()]),D.Filter)return(0,F.jsx)(F.Fragment,{children:null===(s=D.Filter)||void 0===s?void 0:s.call(D,{column:j,header:b,rangeFilterIndex:w,table:A})});const ge=Y||K||te?null:(0,F.jsx)(TS,{position:"end",sx:{mr:J||X?"20px":void 0},children:(0,F.jsx)(xo,{placement:"right",title:null!==(l=k.clearFilter)&&void 0!==l?l:"",children:(0,F.jsx)("span",{children:(0,F.jsx)(Vn,{"aria-label":k.clearFilter,disabled:!(null===(c=null==ae?void 0:ae.toString())||void 0===c?void 0:c.length),onClick:pe,size:"small",sx:{height:"2rem",transform:"scale(0.9)",width:"2rem"},children:(0,F.jsx)(C,{})})})})}),me=re?(0,F.jsxs)(TS,{position:"start",children:[(0,F.jsx)(xo,{title:k.changeFilterMode,children:(0,F.jsx)("span",{children:(0,F.jsx)(Vn,{"aria-label":k.changeFilterMode,onClick:e=>{ie(e.currentTarget)},size:"small",sx:{height:"1.75rem",width:"1.75rem"},children:(0,F.jsx)(E,{})})})}),te&&(0,F.jsx)(Xn,{label:te,onDelete:()=>{se(""),j.setFilterValue(void 0),R((e=>{var t;return Object.assign(Object.assign({},e),{[b.id]:null!==(t=null==W?void 0:W[0])&&void 0!==t?t:"fuzzy"})}))}})]}):null,ye=Object.assign(Object.assign({FormHelperTextProps:{sx:{fontSize:"0.75rem",lineHeight:"0.8rem",whiteSpace:"nowrap"}},InputProps:ge?{endAdornment:ge,startAdornment:me}:{startAdornment:me},fullWidth:!0,helperText:re?(0,F.jsx)("label",{children:k.filterMode.replace("{filterType}",k[`filter${(null===(u=null==q?void 0:q.charAt(0))||void 0===u?void 0:u.toUpperCase())+(null==q?void 0:q.slice(1))}`])}):null,inputProps:{"aria-label":ne,autoComplete:"new-password",disabled:!!te,sx:{textOverflow:"ellipsis",width:te?0:void 0},title:ne},inputRef:e=>{L.current[`${j.id}-${null!=w?w:0}`]=e,B.inputRef&&(B.inputRef=e)},margin:"none",placeholder:te||J||X?void 0:ne,variant:"standard"},B),{sx:e=>Object.assign({minWidth:K?"160px":S&&0===w?"110px":Z?"100px":te?"auto":"120px",mx:"-2px",p:0,width:"calc(100% + 4px)"},wM(null==B?void 0:B.sx,e))}),ve={onChange:e=>{de(e)},value:ae||null};return(0,F.jsxs)(F.Fragment,{children:[(null==N?void 0:N.startsWith("time"))?(0,F.jsx)(II,Object.assign({},ve,U,{slotProps:{field:Object.assign({clearable:!0,onClear:()=>pe()},null===(d=null==U?void 0:U.slotProps)||void 0===d?void 0:d.field),textField:Object.assign(Object.assign({},ye),null===(h=null==U?void 0:U.slotProps)||void 0===h?void 0:h.textField)}})):(null==N?void 0:N.startsWith("datetime"))?(0,F.jsx)(fI,Object.assign({},ve,G,{slotProps:{field:Object.assign({clearable:!0,onClear:()=>pe()},null===(p=null==G?void 0:G.slotProps)||void 0===p?void 0:p.field),textField:Object.assign(Object.assign({},ye),null===(f=null==G?void 0:G.slotProps)||void 0===f?void 0:f.textField)}})):(null==N?void 0:N.startsWith("date"))?(0,F.jsx)(U_,Object.assign({},ve,$,{slotProps:{field:Object.assign({clearable:!0,onClear:()=>pe()},null===(g=null==$?void 0:$.slotProps)||void 0===g?void 0:g.field),textField:Object.assign(Object.assign({},ye),null===(m=null==$?void 0:$.slotProps)||void 0===m?void 0:m.textField)}})):Y?(0,F.jsx)(kr,Object.assign({freeSolo:!0,getOptionLabel:e=>AM(e).label,onChange:(e,t)=>(e=>{ce(e),de(AM(e).value)})(t),options:null!==(y=null==ee?void 0:ee.map((e=>AM(e))))&&void 0!==y?y:[]},V,{renderInput:e=>{var t;return(0,F.jsx)(lS,Object.assign({},e,ye,{InputProps:Object.assign(Object.assign({},e.InputProps),{startAdornment:null===(t=null==ye?void 0:ye.InputProps)||void 0===t?void 0:t.startAdornment}),inputProps:Object.assign(Object.assign({},e.inputProps),null==ye?void 0:ye.inputProps),onChange:he,onClick:e=>e.stopPropagation()}))},value:le})):(0,F.jsx)(lS,Object.assign({select:J||X},ye,{SelectProps:Object.assign({MenuProps:{disableScrollLock:!0},displayEmpty:!0,multiple:X,renderValue:X?e=>(null==e?void 0:e.length)?(0,F.jsx)(a.A,{sx:{display:"flex",flexWrap:"wrap",gap:"2px"},children:null==e?void 0:e.map((e=>{const t=null==ee?void 0:ee.find((t=>AM(t).value===e));return(0,F.jsx)(Xn,{label:AM(t).label},e)}))}):(0,F.jsx)(a.A,{sx:{opacity:.5},children:ne}):void 0},ye.SelectProps),onChange:he,onClick:e=>e.stopPropagation(),value:null!=ae?ae:"",children:(J||X)&&[(0,F.jsx)(pi,{disabled:!0,divider:!0,hidden:!0,value:"",children:(0,F.jsx)(a.A,{sx:{opacity:.5},children:ne})},"p"),null!==(v=B.children)&&void 0!==v?v:null==ee?void 0:ee.map(((e,t)=>{var n;const{label:r,value:o}=AM(e);return(0,F.jsxs)(pi,{sx:{alignItems:"center",display:"flex",gap:"0.5rem",m:0},value:o,children:[X&&(0,F.jsx)(ya,{checked:(null!==(n=j.getFilterValue())&&void 0!==n?n:[]).includes(o),sx:{mr:"0.5rem"}}),r," ",!D.filterSelectOptions&&`(${H.get(o)})`]},`${t}-${o}`)}))]})),(0,F.jsx)(cR,{anchorEl:oe,header:b,setAnchorEl:ie,setFilterValue:se,table:A})]})},fR=e=>{var{header:t,table:n}=e,r=iL(e,["header","table"]);return(0,F.jsx)(a.A,Object.assign({},r,{sx:e=>Object.assign({display:"grid",gap:"1rem",gridTemplateColumns:"1fr 1fr"},wM(null==r?void 0:r.sx,e)),children:[0,1].map((e=>(0,F.jsx)(pR,{header:t,rangeFilterIndex:e,table:n},e)))}))},gR=e=>{var t,n,{header:r,table:o}=e,a=iL(e,["header","table"]);const{options:{enableColumnFilterModes:s,localization:l,muiFilterSliderProps:c},refs:{filterInputRefs:u}}=o,{column:d}=r,{columnDef:h}=d,p=h._filterFn,f=s&&!1!==h.enableColumnFilterModes,g=Object.assign(Object.assign(Object.assign({},wM(c,{column:d,table:o})),wM(h.muiFilterSliderProps,{column:d,table:o})),a);let[m,y]=void 0!==g.min&&void 0!==g.max?[g.min,g.max]:null!==(t=d.getFacetedMinMaxValues())&&void 0!==t?t:[0,1];Array.isArray(m)&&(m=m[0]),Array.isArray(y)&&(y=y[0]),null===m&&(m=0),null===y&&(y=1);const[v,b]=(0,i.useState)([m,y]),w=d.getFilterValue(),A=(0,i.useRef)(!1);return(0,i.useEffect)((()=>{A.current&&(void 0===w?b([m,y]):Array.isArray(w)&&b(w)),A.current=!0}),[w,m,y]),(0,F.jsxs)(Du,{children:[(0,F.jsx)(Xy.Ay,Object.assign({disableSwap:!0,max:y,min:m,onChange:(e,t)=>{b(t)},onChangeCommitted:(e,t)=>{Array.isArray(t)&&(t[0]<=m&&t[1]>=y?d.setFilterValue(void 0):d.setFilterValue(t))},value:v,valueLabelDisplay:"auto"},g,{slotProps:{input:{ref:e=>{var t,n;e&&(u.current[`${d.id}-0`]=e,(null===(n=null===(t=null==g?void 0:g.slotProps)||void 0===t?void 0:t.input)||void 0===n?void 0:n.ref)&&(g.slotProps.input.ref=e))}}},sx:e=>Object.assign({m:"auto",minWidth:d.getSize()-50+"px",mt:f?"6px":"10px",px:"4px",width:"calc(100% - 8px)"},wM(null==g?void 0:g.sx,e))})),f?(0,F.jsx)(Ay,{sx:{fontSize:"0.75rem",lineHeight:"0.8rem",m:"-3px -6px",whiteSpace:"nowrap"},children:l.filterMode.replace("{filterType}",l[`filter${(null===(n=null==p?void 0:p.charAt(0))||void 0===n?void 0:n.toUpperCase())+(null==p?void 0:p.slice(1))}`])}):null]})},mR=e=>{var{header:t,table:n}=e,r=iL(e,["header","table"]);const{getState:o,options:{columnFilterDisplayMode:i}}=n,{showColumnFilters:a}=o(),{column:s}=t,{columnDef:l}=s,{isRangeFilter:c}=gM({header:t,table:n});return(0,F.jsx)($,Object.assign({in:a||"popover"===i,mountOnEnter:!0,unmountOnExit:!0},r,{children:"checkbox"===l.filterVariant?(0,F.jsx)(hR,{column:s,table:n}):"range-slider"===l.filterVariant?(0,F.jsx)(gR,{header:t,table:n}):c?(0,F.jsx)(fR,{header:t,table:n}):(0,F.jsx)(pR,{header:t,table:n})}))},yR=e=>{var t,n,{header:r,table:o}=e,s=iL(e,["header","table"]);const{options:{columnFilterDisplayMode:l,icons:{FilterAltIcon:c},localization:u},refs:{filterInputRefs:d},setShowColumnFilters:h}=o,{column:p}=r,{columnDef:f}=p,g=p.getFilterValue(),[m,y]=(0,i.useState)(null),{currentFilterOption:v,isMultiSelectFilter:b,isRangeFilter:w,isSelectFilter:A}=gM({header:r,table:o}),x=mM({header:r,table:o}),S=e=>AM(null==x?void 0:x.find((t=>AM(t).value===(void 0!==e?g[e]:g)))).label,C=Array.isArray(g)&&g.some(Boolean)||!!g&&!Array.isArray(g),E="popover"!==l||C?u.filteringByColumn.replace("{column}",String(f.header)).replace("{filterType}",v?u[`filter${(null===(n=null==v?void 0:v.charAt(0))||void 0===n?void 0:n.toUpperCase())+(null==v?void 0:v.slice(1))}`]:"").replace("{filterValue}",`"${Array.isArray(g)?g.map(((e,t)=>b?S(t):e)).join(`" ${w?u.and:u.or} "`):A?S():g}"`).replace('" "',""):null===(t=u.filterByColumn)||void 0===t?void 0:t.replace("{column}",String(f.header));return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(ao,{in:"popover"===l||!!g&&!w||w&&(!!(null==g?void 0:g[0])||!!(null==g?void 0:g[1])),unmountOnExit:!0,children:(0,F.jsx)(a.A,{component:"span",sx:{flex:"0 0"},children:(0,F.jsx)(xo,{placement:"top",title:E,children:(0,F.jsx)(Vn,Object.assign({disableRipple:!0,onClick:e=>{"popover"===l?y(e.currentTarget):h(!0),queueMicrotask((()=>{var e,t,n,r;null===(t=null===(e=d.current[`${p.id}-0`])||void 0===e?void 0:e.focus)||void 0===t||t.call(e),null===(r=null===(n=d.current[`${p.id}-0`])||void 0===n?void 0:n.select)||void 0===r||r.call(n)})),e.stopPropagation()},size:"small"},s,{sx:e=>Object.assign({height:"16px",ml:"4px",opacity:C?1:.3,p:"8px",transform:"scale(0.75)",transition:"all 150ms ease-in-out",width:"16px"},wM(null==s?void 0:s.sx,e)),children:(0,F.jsx)(c,{})}))})})}),"popover"===l&&(0,F.jsx)(Ch,{anchorEl:m,anchorOrigin:{horizontal:"center",vertical:"top"},disableScrollLock:!0,onClick:e=>e.stopPropagation(),onClose:e=>{e.stopPropagation(),y(null)},onKeyDown:e=>"Enter"===e.key&&y(null),open:!!m,slotProps:{paper:{sx:{overflow:"visible"}}},transformOrigin:{horizontal:"center",vertical:"bottom"},children:(0,F.jsx)(a.A,{sx:{p:"1rem"},children:(0,F.jsx)(mR,{header:r,table:o})})})]})},vR=e=>{var{column:t,table:n,tableHeadCellRef:r}=e,o=iL(e,["column","table","tableHeadCellRef"]);const{getState:i,options:{enableColumnOrdering:a,muiColumnDragHandleProps:s},setColumnOrder:l,setDraggingColumn:c,setHoveredColumn:u}=n,{columnDef:d}=t,{columnOrder:h,draggingColumn:p,hoveredColumn:f}=i(),g=Object.assign(Object.assign(Object.assign({},wM(s,{column:t,table:n})),wM(d.muiColumnDragHandleProps,{column:t,table:n})),o);return(0,F.jsx)(bL,Object.assign({},g,{onDragEnd:e=>{var n;null===(n=null==g?void 0:g.onDragEnd)||void 0===n||n.call(g,e),"drop-zone"===(null==f?void 0:f.id)?t.toggleGrouping():a&&f&&(null==f?void 0:f.id)!==(null==p?void 0:p.id)&&l(pM(t,f,h)),c(null),u(null)},onDragStart:e=>{var n;null===(n=null==g?void 0:g.onDragStart)||void 0===n||n.call(g,e),c(t);try{e.dataTransfer.setDragImage(r.current,0,0)}catch(e){console.error(e)}},table:n}))},bR=e=>{var t,{header:n,table:r}=e,o=iL(e,["header","table"]);const{getState:i,options:{columnResizeDirection:s,columnResizeMode:l},setColumnSizingInfo:c}=r,{density:u}=i(),{column:d}=n,h=n.getResizeHandler(),p="compact"===u?"-8px":"comfortable"===u?"-16px":"-24px",f="display"===d.columnDef.columnDefType?"4px":"0";return(0,F.jsx)(a.A,{className:"Mui-TableHeadCell-ResizeHandle-Wrapper",onDoubleClick:()=>{c((e=>Object.assign(Object.assign({},e),{isResizingColumn:!1}))),d.resetSize()},onMouseDown:h,onTouchStart:h,style:{transform:d.getIsResizing()&&"onEnd"===l?`translateX(${("rtl"===s?-1:1)*(null!==(t=i().columnSizingInfo.deltaOffset)&&void 0!==t?t:0)}px)`:void 0},sx:e=>({"&:active > hr":{backgroundColor:e.palette.info.main,opacity:n.subHeaders.length||"onEnd"===l?1:0},cursor:"col-resize",left:"rtl"===s?f:void 0,ml:"rtl"===s?p:void 0,mr:"ltr"===s?p:void 0,position:"absolute",px:"4px",right:"ltr"===s?f:void 0}),children:(0,F.jsx)(W_.A,{className:"Mui-TableHeadCell-ResizeHandle-Divider",flexItem:!0,orientation:"vertical",sx:e=>Object.assign({borderRadius:"2px",borderWidth:"2px",height:"24px",touchAction:"none",transform:"translateX(4px)",transition:d.getIsResizing()?void 0:"all 150ms ease-in-out",userSelect:"none",zIndex:4},wM(null==o?void 0:o.sx,e))})})},wR=e=>{var{header:t,table:n}=e,r=iL(e,["header","table"]);const{getState:o,options:{icons:{ArrowDownwardIcon:i,SyncAltIcon:a},localization:s}}=n,{column:l}=t,{columnDef:c}=l,{isLoading:u,showSkeletons:d,sorting:h}=o(),p=!!l.getIsSorted(),f=u||d?"":l.getIsSorted()?"desc"===l.getIsSorted()?s.sortedByColumnDesc.replace("{column}",c.header):s.sortedByColumnAsc.replace("{column}",c.header):"desc"===l.getNextSortingOrder()?s.sortByColumnDesc.replace("{column}",c.header):s.sortByColumnAsc.replace("{column}",c.header),g=p?l.getIsSorted():void 0;return(0,F.jsx)(xo,{placement:"top",title:f,children:(0,F.jsx)(Kr,{badgeContent:h.length>1?l.getSortIndex()+1:0,overlap:"circular",children:(0,F.jsx)(NI,Object.assign({IconComponent:p?i:e=>(0,F.jsx)(a,Object.assign({},e,{direction:g,style:{transform:"rotate(-90deg) scaleX(0.9) translateX(-1px)"}})),active:!0,"aria-label":f,direction:g,onClick:e=>{var n;e.stopPropagation(),null===(n=t.column.getToggleSortingHandler())||void 0===n||n(e)}},r,{sx:e=>Object.assign({".MuiTableSortLabel-icon":{color:`${"dark"===e.palette.mode?e.palette.text.primary:e.palette.text.secondary} !important`},flex:"0 0",opacity:p?1:.3,transition:"all 150ms ease-in-out",width:"3ch"},wM(null==r?void 0:r.sx,e))}))})})},AR=e=>{var t,n,r,o,s,l,{columnVirtualizer:c,header:u,staticColumnIndex:d,table:h}=e,p=iL(e,["columnVirtualizer","header","staticColumnIndex","table"]);const f=(0,I.A)(),{getState:g,options:{columnFilterDisplayMode:m,columnResizeDirection:y,columnResizeMode:v,enableColumnActions:b,enableColumnDragging:w,enableColumnOrdering:A,enableColumnPinning:x,enableGrouping:S,enableMultiSort:C,layoutMode:E,mrtTheme:{draggingBorderColor:k},muiTableHeadCellProps:T},refs:{tableHeadCellRefs:_},setHoveredColumn:O}=h,{columnSizingInfo:P,density:M,draggingColumn:L,grouping:R,hoveredColumn:j,showColumnFilters:D}=g(),{column:N}=u,{columnDef:z}=N,{columnDefType:B}=z,V=Object.assign(Object.assign(Object.assign({},wM(T,{column:N,table:h})),wM(z.muiTableHeadCellProps,{column:N,table:h})),p),$=x&&"group"!==z.columnDefType&&N.getIsPinned(),G=(b||z.enableColumnActions)&&!1!==z.enableColumnActions,U=!1!==w&&!1!==z.enableColumnDragging&&(w||A&&!1!==z.enableColumnOrdering||S&&!1!==z.enableGrouping&&!R.includes(N.id)),W=(0,i.useMemo)((()=>{let e=0;return N.getCanSort()&&(e+=1),G&&(e+=1.75),U&&(e+=1.5),e}),[G,U]),q=(0,i.useMemo)((()=>{const e=P.isResizingColumn===N.id&&"onChange"===v&&!u.subHeaders.length,t=e?`2px solid ${k} !important`:(null==L?void 0:L.id)===N.id?`1px dashed ${f.palette.grey[500]}`:(null==j?void 0:j.id)===N.id?`2px dashed ${k}`:void 0;if(e)return"ltr"===y?{borderRight:t}:{borderLeft:t};return t?{borderLeft:t,borderRight:t,borderTop:t}:void 0}),[L,j,P.isResizingColumn]),H=null!==(t=wM(z.Header,{column:N,header:u,table:h}))&&void 0!==t?t:z.header;return(0,F.jsxs)(zx,Object.assign({align:"group"===B?"center":"rtl"===f.direction?"right":"left",colSpan:u.colSpan,"data-index":d,"data-pinned":!!$||void 0,onDragEnter:e=>{S&&"drop-zone"===(null==j?void 0:j.id)&&O(null),A&&L&&"group"!==B&&O(!1!==z.enableColumnOrdering?N:null)},onDragOver:e=>{!1!==z.enableColumnOrdering&&e.preventDefault()},ref:e=>{var t;e&&(_.current[N.id]=e,"group"!==B&&(null===(t=null==c?void 0:c.measureElement)||void 0===t||t.call(c,e)))}},V,{sx:e=>Object.assign(Object.assign({"& :hover":{".MuiButtonBase-root":{opacity:1}},flexDirection:(null==E?void 0:E.startsWith("grid"))?"column":void 0,fontWeight:"bold",overflow:"visible",p:"compact"===M?"0.5rem":"comfortable"===M?"display"===B?"0.75rem":"1rem":"display"===B?"1rem 1.25rem":"1.5rem",pb:"display"===B?0:D||"compact"===M?"0.4rem":"0.6rem",pt:"group"===B||"compact"===M?"0.25rem":"comfortable"===M?".75rem":"1.25rem",userSelect:C&&N.getCanSort()?"none":void 0,verticalAlign:"top"},uL({column:N,header:u,table:h,tableCellProps:V,theme:e})),q),children:[u.isPlaceholder?null:null!==(n=V.children)&&void 0!==n?n:(0,F.jsxs)(a.A,{className:"Mui-TableHeadCell-Content",sx:{alignItems:"center",display:"flex",flexDirection:"right"===(null==V?void 0:V.align)?"row-reverse":"row",justifyContent:"group"===B||"center"===(null==V?void 0:V.align)?"center":N.getCanResize()?"space-between":"flex-start",position:"relative",width:"100%"},children:[(0,F.jsxs)(a.A,{className:"Mui-TableHeadCell-Content-Labels",onClick:N.getToggleSortingHandler(),sx:{alignItems:"center",cursor:N.getCanSort()&&"group"!==B?"pointer":void 0,display:"flex",flexDirection:"right"===(null==V?void 0:V.align)?"row-reverse":"row",overflow:"data"===B?"hidden":void 0,pl:"center"===(null==V?void 0:V.align)?`${W}rem`:void 0},children:[(0,F.jsx)(a.A,{className:"Mui-TableHeadCell-Content-Wrapper",sx:{"&:hover":{textOverflow:"clip"},minWidth:`${Math.min(null!==(o=null===(r=z.header)||void 0===r?void 0:r.length)&&void 0!==o?o:0,4)}ch`,overflow:"data"===B?"hidden":void 0,textOverflow:"ellipsis",whiteSpace:(null!==(l=null===(s=z.header)||void 0===s?void 0:s.length)&&void 0!==l?l:0)<20?"nowrap":"normal"},children:H}),N.getCanFilter()&&(0,F.jsx)(yR,{header:u,table:h}),N.getCanSort()&&(0,F.jsx)(wR,{header:u,table:h})]}),"group"!==B&&(0,F.jsxs)(a.A,{className:"Mui-TableHeadCell-Content-Actions",sx:{whiteSpace:"nowrap"},children:[U&&(0,F.jsx)(vR,{column:N,table:h,tableHeadCellRef:{current:_.current[N.id]}}),G&&(0,F.jsx)(dR,{header:u,table:h})]}),N.getCanResize()&&(0,F.jsx)(bR,{header:u,table:h})]}),"subheader"===m&&N.getCanFilter()&&(0,F.jsx)(mR,{header:u,table:h})]}))},xR=e=>{var{columnVirtualizer:t,headerGroup:n,table:r}=e,o=iL(e,["columnVirtualizer","headerGroup","table"]);const{options:{enableStickyHeader:i,layoutMode:a,mrtTheme:{baseBackgroundColor:s},muiTableHeadRowProps:l}}=r,{virtualColumns:c,virtualPaddingLeft:u,virtualPaddingRight:d}=null!=t?t:{},h=Object.assign(Object.assign({},wM(l,{headerGroup:n,table:r})),o);return(0,F.jsxs)(Lx,Object.assign({},h,{sx:e=>Object.assign({backgroundColor:s,boxShadow:`4px 0 8px ${(0,Ry.X4)(e.palette.common.black,.1)}`,display:(null==a?void 0:a.startsWith("grid"))?"flex":void 0,position:i&&"semantic"===a?"sticky":"relative",top:0},wM(null==h?void 0:h.sx,e)),children:[u?(0,F.jsx)("th",{style:{display:"flex",width:u}}):null,(null!=c?c:n.headers).map(((e,o)=>{let i=e;return t&&(o=e.index,i=n.headers[o]),i?(0,F.jsx)(AR,{columnVirtualizer:t,header:i,staticColumnIndex:o,table:r},i.id):null})),d?(0,F.jsx)("th",{style:{display:"flex",width:d}}):null]}))},SR=e=>{var t,n,r,{stackAlertBanner:o,table:s}=e,l=iL(e,["stackAlertBanner","table"]);const{getFilteredSelectedRowModel:c,getPrePaginationRowModel:u,getState:d,options:{enableRowSelection:h,enableSelectAll:p,localization:f,manualPagination:g,muiToolbarAlertBannerChipProps:m,muiToolbarAlertBannerProps:y,positionToolbarAlertBanner:v,renderToolbarAlertBannerContent:b,rowCount:w},refs:{tablePaperRef:A}}=s,{density:x,grouping:S,rowSelection:C,showAlertBanner:E}=d(),k=Object.assign(Object.assign({},wM(y,{table:s})),l),T=wM(m,{table:s}),_=null!=w?w:u().flatRows.length,O=(0,i.useMemo)((()=>g?Object.values(C).filter(Boolean).length:c().rows.length),[C,_,g]),P=O>0?(0,F.jsxs)(Du,{alignItems:"center",direction:"row",gap:"16px",children:[null===(n=null===(t=f.selectedCountOfRowCountRowsSelected)||void 0===t?void 0:t.replace("{selectedCount}",O.toLocaleString()))||void 0===n?void 0:n.replace("{rowCount}",_.toString()),(0,F.jsx)(No,{onClick:e=>$M({table:s})(e,!1,!0),size:"small",sx:{p:"2px"},children:f.clearSelection})]}):null,I=S.length>0?(0,F.jsxs)("span",{children:[f.groupedBy," ",S.map(((e,t)=>(0,F.jsxs)(i.Fragment,{children:[t>0?f.thenBy:"",(0,F.jsx)(Xn,Object.assign({label:s.getColumn(e).columnDef.header,onDelete:()=>s.getColumn(e).toggleGrouping()},T))]},`${t}-${e}`)))]}):null;return(0,F.jsx)($,{in:E||!!P||!!I,timeout:o?200:0,children:(0,F.jsx)(gv,Object.assign({color:"info",icon:!1},k,{sx:e=>{var t,n;return Object.assign({"& .MuiAlert-message":{maxWidth:`calc(${null!==(n=null===(t=A.current)||void 0===t?void 0:t.clientWidth)&&void 0!==n?n:360}px - 1rem)`,width:"100%"},borderRadius:0,fontSize:"1rem",left:0,mb:o?0:"bottom"===v?"-1rem":void 0,p:0,position:"relative",right:0,top:0,width:"100%",zIndex:2},wM(null==k?void 0:k.sx,e))},children:null!==(r=null==b?void 0:b({groupedAlert:I,selectedAlert:P,table:s}))&&void 0!==r?r:(0,F.jsxs)(F.Fragment,{children:[(null==k?void 0:k.title)&&(0,F.jsx)(GI,{children:k.title}),(0,F.jsxs)(Du,{sx:{p:"head-overlay"!==v?"0.5rem 1rem":"spacious"===x?"0.75rem 1.25rem":"comfortable"===x?"0.5rem 0.75rem":"0.25rem 0.5rem"},children:[null==k?void 0:k.children,(null==k?void 0:k.children)&&(P||I)&&(0,F.jsx)("br",{}),(0,F.jsxs)(a.A,{sx:{display:"flex"},children:[h&&p&&"head-overlay"===v&&(0,F.jsx)(_L,{table:s})," ",P]}),P&&I&&(0,F.jsx)("br",{}),I]})]})}))})},CR=e=>{var{columnVirtualizer:t,table:n}=e,r=iL(e,["columnVirtualizer","table"]);const{getState:o,options:{enableStickyHeader:i,layoutMode:a,muiTableHeadProps:s,positionToolbarAlertBanner:l},refs:{tableHeadRef:c}}=n,{isFullScreen:u,showAlertBanner:d}=o(),h=Object.assign(Object.assign({},wM(s,{table:n})),r),p=i||u;return(0,F.jsx)(wS,Object.assign({},h,{ref:e=>{c.current=e,(null==h?void 0:h.ref)&&(h.ref.current=e)},sx:e=>Object.assign({display:(null==a?void 0:a.startsWith("grid"))?"grid":void 0,opacity:.97,position:p?"sticky":"relative",top:p&&(null==a?void 0:a.startsWith("grid"))?0:void 0,zIndex:p?2:void 0},wM(null==h?void 0:h.sx,e)),children:"head-overlay"===l&&(d||n.getSelectedRowModel().rows.length>0)?(0,F.jsx)("tr",{style:{display:(null==a?void 0:a.startsWith("grid"))?"grid":void 0},children:(0,F.jsx)("th",{colSpan:n.getVisibleLeafColumns().length,style:{display:(null==a?void 0:a.startsWith("grid"))?"grid":void 0,padding:0},children:(0,F.jsx)(SR,{table:n})})}):n.getHeaderGroups().map((e=>(0,F.jsx)(xR,{columnVirtualizer:t,headerGroup:e,table:n},e.id)))}))},ER=e=>{var{table:t}=e,n=iL(e,["table"]);const{getFlatHeaders:r,getState:o,options:{columns:a,enableStickyHeader:s,enableTableFooter:l,enableTableHead:c,layoutMode:u,memoMode:d,muiTableProps:h,renderCaption:p}}=t,{columnSizing:f,columnSizingInfo:g,columnVisibility:m,isFullScreen:y}=o(),v=Object.assign(Object.assign({},wM(h,{table:t})),n),b=wM(p,{table:t}),w=(0,i.useMemo)((()=>{const e=r(),t={};for(let n=0;nObject.assign({borderCollapse:"separate",display:(null==u?void 0:u.startsWith("grid"))?"grid":void 0,position:"relative"},wM(null==v?void 0:v.sx,e)),children:[!!b&&(0,F.jsx)("caption",{children:b}),c&&(0,F.jsx)(CR,Object.assign({},A)),"table-body"===d||g.isResizingColumn?(0,F.jsx)(eR,Object.assign({},A)):(0,F.jsx)(QL,Object.assign({},A)),l&&(0,F.jsx)(rR,Object.assign({},A))]}))},kR=e=>{var t,{table:n}=e,r=iL(e,["table"]);const{options:{localization:o,mrtTheme:{baseBackgroundColor:i},muiCircularProgressProps:s}}=n,l=Object.assign(Object.assign({},wM(s,{table:n})),r);return(0,F.jsx)(a.A,{sx:{alignItems:"center",backgroundColor:(0,Ry.X4)(i,.5),bottom:0,display:"flex",justifyContent:"center",left:0,maxHeight:"100vh",position:"absolute",right:0,top:0,width:"100%",zIndex:3},children:null!==(t=null==l?void 0:l.Component)&&void 0!==t?t:(0,F.jsx)(ja,Object.assign({"aria-label":o.noRecordsToDisplay,id:"mrt-progress"},l))})},TR=e=>{var t,n,{table:r}=e,o=iL(e,["table"]);const{getState:i,options:{editDisplayMode:a,enableClickToCopy:s,enableEditing:l,icons:{ContentCopy:c,EditIcon:u},localization:d,mrtTheme:{menuBackgroundColor:h},renderCellActionMenuItems:p},refs:{actionCellRef:f}}=r,{actionCell:g,density:m}=i(),y=g,{row:v}=y,{column:b}=y,{columnDef:w}=b,A=e=>{null==e||e.stopPropagation(),r.setActionCell(null),f.current=null},x=[("context-menu"===wM(s,y)||"context-menu"===wM(w.enableClickToCopy,y))&&(0,F.jsx)(fL,{icon:(0,F.jsx)(c,{}),label:d.copy,onClick:e=>{e.stopPropagation(),navigator.clipboard.writeText(y.getValue()),A()},table:r},"mrt-copy"),wM(l,v)&&"cell"===a&&(0,F.jsx)(fL,{icon:(0,F.jsx)(u,{}),label:d.edit,onClick:()=>{SM({cell:y,table:r}),A()},table:r},"mrt-edit")].filter(Boolean),S={cell:y,closeMenu:A,column:b,internalMenuItems:x,row:v,table:r},C=null!==(n=null===(t=w.renderCellActionMenuItems)||void 0===t?void 0:t.call(w,S))&&void 0!==n?n:null==p?void 0:p(S);return(!!(null==C?void 0:C.length)||!!(null==x?void 0:x.length))&&(0,F.jsx)(Rh,Object.assign({MenuListProps:{dense:"compact"===m,sx:{backgroundColor:h}},anchorEl:f.current,disableScrollLock:!0,onClick:e=>e.stopPropagation(),onClose:A,open:!!y,transformOrigin:{horizontal:-100,vertical:8}},o,{children:null!=C?C:x}))},_R=e=>{var t,{open:n,table:r}=e,o=iL(e,["open","table"]);const{getState:i,options:{localization:a,muiCreateRowModalProps:s,muiEditRowDialogProps:l,onCreatingRowCancel:c,onEditingRowCancel:u,renderCreateRowDialogContent:d,renderEditRowDialogContent:h},setCreatingRow:p,setEditingRow:f}=r,{creatingRow:g,editingRow:m}=i(),y=null!=g?g:m,v=Object.assign(Object.assign(Object.assign({},wM(l,{row:y,table:r})),g&&wM(s,{row:y,table:r})),o),b=y.getAllCells().filter((e=>"data"===e.column.columnDef.columnDefType)).map((e=>(0,F.jsx)(HL,{cell:e,table:r},e.id)));return(0,F.jsx)(vu,Object.assign({fullWidth:!0,maxWidth:"xs",onClose:(e,t)=>{var n;g?(null==c||c({row:y,table:r}),p(null)):(null==u||u({row:y,table:r}),f(null)),y._valuesCache={},null===(n=v.onClose)||void 0===n||n.call(v,e,t)},open:n},v,{children:null!==(t=g&&(null==d?void 0:d({internalEditComponents:b,row:y,table:r}))||(null==h?void 0:h({internalEditComponents:b,row:y,table:r})))&&void 0!==t?t:(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(Tu,{sx:{textAlign:"center"},children:a.edit}),(0,F.jsx)(Vu,{children:(0,F.jsx)("form",{onSubmit:e=>e.preventDefault(),children:(0,F.jsx)(Du,{sx:{gap:"32px",paddingTop:"16px",width:"100%"},children:b})})}),(0,F.jsx)(xu,{sx:{p:"1.25rem"},children:(0,F.jsx)(aL,{row:y,table:r,variant:"text"})})]})}))},OR="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,PR=e=>{var{table:t}=e,n=iL(e,["table"]);const{getState:r,options:{createDisplayMode:o,editDisplayMode:a,enableCellActions:s,enableStickyHeader:l,muiTableContainerProps:c},refs:{bottomToolbarRef:u,tableContainerRef:d,topToolbarRef:h}}=t,{actionCell:p,creatingRow:f,editingRow:g,isFullScreen:m,isLoading:y,showLoadingOverlay:v}=r(),b=!1!==v&&(y||v),[w,A]=(0,i.useState)(0),x=Object.assign(Object.assign({},wM(c,{table:t})),n);OR((()=>{var e,t,n,r;const o="undefined"!=typeof document&&null!==(t=null===(e=h.current)||void 0===e?void 0:e.offsetHeight)&&void 0!==t?t:0,i="undefined"!=typeof document&&null!==(r=null===(n=null==u?void 0:u.current)||void 0===n?void 0:n.offsetHeight)&&void 0!==r?r:0;A(o+i)}));const S="modal"===o&&f,C="modal"===a&&g;return(0,F.jsxs)(px,Object.assign({"aria-busy":b,"aria-describedby":b?"mrt-progress":void 0},x,{ref:e=>{e&&(d.current=e,(null==x?void 0:x.ref)&&(x.ref.current=e))},style:Object.assign({maxHeight:m?`calc(100vh - ${w}px)`:void 0},null==x?void 0:x.style),sx:e=>Object.assign({maxHeight:l?`clamp(350px, calc(100vh - ${w}px), 9999px)`:void 0,maxWidth:"100%",overflow:"auto",position:"relative"},wM(null==x?void 0:x.sx,e)),children:[b?(0,F.jsx)(kR,{table:t}):null,(0,F.jsx)(ER,{table:t}),(S||C)&&(0,F.jsx)(_R,{open:!0,table:t}),s&&p&&(0,F.jsx)(TR,{table:t})]}))},IR=e=>{var{isTopToolbar:t,table:n}=e,r=iL(e,["isTopToolbar","table"]);const{getState:o,options:{muiLinearProgressProps:i}}=n,{isSaving:a,showProgressBars:s}=o(),l=Object.assign(Object.assign({},wM(i,{isTopToolbar:t,table:n})),r);return(0,F.jsx)($,{in:!1!==s&&(s||a),mountOnEnter:!0,sx:{bottom:t?0:void 0,position:"absolute",top:t?void 0:0,width:"100%"},unmountOnExit:!0,children:(0,F.jsx)(md,Object.assign({"aria-busy":"true","aria-label":"Loading",sx:{position:"relative"}},l))})},MR=[5,10,15,20,25,30,50,100],LR=e=>{var{position:t="bottom",table:n}=e,r=iL(e,["position","table"]);const o=(0,I.A)(),i=(0,Qr.A)("(max-width: 720px)"),{getState:s,options:{enableToolbarInternalActions:l,icons:{ChevronLeftIcon:c,ChevronRightIcon:u,FirstPageIcon:d,LastPageIcon:h},localization:p,muiPaginationProps:f,paginationDisplayMode:g}}=n,{pagination:{pageIndex:m=0,pageSize:y=10},showGlobalFilter:v}=s(),b=Object.assign(Object.assign({},wM(f,{table:n})),r),w=n.getRowCount(),A=n.getPageCount(),x=A>2,S=m*y,C=Math.min(m*y+y,w),E=null!=b?b:{},{SelectProps:k={},disabled:T=!1,rowsPerPageOptions:_=MR,showFirstButton:O=x,showLastButton:P=x,showRowsPerPage:M=!0}=E,L=iL(E,["SelectProps","disabled","rowsPerPageOptions","showFirstButton","showLastButton","showRowsPerPage"]),R=m<=0||T,j=C>=w||T;i&&!1!==(null==k?void 0:k.native)&&(k.native=!0);const D=pL();return(0,F.jsxs)(a.A,{className:"MuiTablePagination-root",sx:{alignItems:"center",display:"flex",flexWrap:"wrap",gap:"8px",justifyContent:{md:"space-between",sm:"center"},justifySelf:"flex-end",mt:"top"===t&&l&&!v?"3rem":void 0,position:"relative",px:"8px",py:"12px",zIndex:2},children:[M&&(0,F.jsxs)(a.A,{sx:{alignItems:"center",display:"flex",gap:"8px"},children:[(0,F.jsx)(Tm.A,{htmlFor:"mrt-rows-per-page",sx:{mb:0},children:p.rowsPerPage}),(0,F.jsx)(gy,Object.assign({MenuProps:{disableScrollLock:!0},disableUnderline:!0,disabled:T,inputProps:{"aria-label":p.rowsPerPage,id:"mrt-rows-per-page"},label:p.rowsPerPage,onChange:e=>n.setPageSize(+e.target.value),sx:{mb:0},value:y,variant:"standard"},k,{children:_.map((e=>{var t;const n="number"!=typeof e?e.value:e,r="number"!=typeof e?e.label:`${e}`;return null!==(t=null==k?void 0:k.children)&&void 0!==t?t:(null==k?void 0:k.native)?(0,F.jsx)("option",{value:n,children:r},n):(0,F.jsx)(pi,{sx:{m:0},value:n,children:r},n)}))}))]}),"pages"===g?(0,F.jsx)(cM,Object.assign({count:A,disabled:T,onChange:(e,t)=>n.setPageIndex(t-1),page:m+1,renderItem:e=>(0,F.jsx)(rM,Object.assign({slots:{first:d,last:h,next:u,previous:c}},e)),showFirstButton:O,showLastButton:P},L)):"default"===g?(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(ji.A,{align:"center",component:"span",sx:{m:"0 4px",minWidth:"8ch"},variant:"body2",children:`${0===C?0:(S+1).toLocaleString()}-${C.toLocaleString()} ${p.of} ${w.toLocaleString()}`}),(0,F.jsxs)(a.A,{gap:"xs",children:[O&&(0,F.jsx)(xo,Object.assign({},D,{title:p.goToFirstPage,children:(0,F.jsx)("span",{children:(0,F.jsx)(Vn,{"aria-label":p.goToFirstPage,disabled:R,onClick:()=>n.firstPage(),size:"small",children:(0,F.jsx)(d,Object.assign({},hL(o)))})})})),(0,F.jsx)(xo,Object.assign({},D,{title:p.goToPreviousPage,children:(0,F.jsx)("span",{children:(0,F.jsx)(Vn,{"aria-label":p.goToPreviousPage,disabled:R,onClick:()=>n.previousPage(),size:"small",children:(0,F.jsx)(c,Object.assign({},hL(o)))})})})),(0,F.jsx)(xo,Object.assign({},D,{title:p.goToNextPage,children:(0,F.jsx)("span",{children:(0,F.jsx)(Vn,{"aria-label":p.goToNextPage,disabled:j,onClick:()=>n.nextPage(),size:"small",children:(0,F.jsx)(u,Object.assign({},hL(o)))})})})),P&&(0,F.jsx)(xo,Object.assign({},D,{title:p.goToLastPage,children:(0,F.jsx)("span",{children:(0,F.jsx)(Vn,{"aria-label":p.goToLastPage,disabled:j,onClick:()=>n.lastPage(),size:"small",children:(0,F.jsx)(h,Object.assign({},hL(o)))})})}))]})]}):null]})},RR=e=>{var t,n,{table:r}=e,o=iL(e,["table"]);const{getState:s,options:{enableGrouping:l,localization:c},setHoveredColumn:u,setShowToolbarDropZone:d}=r,{draggingColumn:h,grouping:p,hoveredColumn:f,showToolbarDropZone:g}=s();return(0,i.useEffect)((()=>{var e;void 0!==(null===(e=r.options.state)||void 0===e?void 0:e.showToolbarDropZone)&&d(!!l&&!!h&&!1!==h.columnDef.enableGrouping&&!p.includes(h.id))}),[l,h,p]),(0,F.jsx)(ko,{in:g,children:(0,F.jsx)(a.A,Object.assign({className:"Mui-ToolbarDropZone",onDragEnter:e=>{u({id:"drop-zone"})},onDragOver:e=>{e.preventDefault()}},o,{sx:e=>Object.assign({alignItems:"center",backdropFilter:"blur(4px)",backgroundColor:(0,Ry.X4)(e.palette.info.main,"drop-zone"===(null==f?void 0:f.id)?.2:.1),border:`dashed ${e.palette.info.main} 2px`,boxSizing:"border-box",display:"flex",height:"100%",justifyContent:"center",position:"absolute",width:"100%",zIndex:4},wM(null==o?void 0:o.sx,e)),children:(0,F.jsx)(ji.A,{fontStyle:"italic",children:c.dropToGroupBy.replace("{column}",null!==(n=null===(t=null==h?void 0:h.columnDef)||void 0===t?void 0:t.header)&&void 0!==n?n:"")})}))})},jR=e=>{var{table:t}=e,n=iL(e,["table"]);const{getState:r,options:{enablePagination:o,muiBottomToolbarProps:i,positionPagination:s,positionToolbarAlertBanner:l,positionToolbarDropZone:c,renderBottomToolbarCustomActions:u},refs:{bottomToolbarRef:d}}=t,{isFullScreen:h}=r(),p=(0,Qr.A)("(max-width:720px)"),f=Object.assign(Object.assign({},wM(i,{table:t})),n),g=p||!!u;return(0,F.jsxs)(a.A,Object.assign({},f,{ref:e=>{e&&(d.current=e,(null==f?void 0:f.ref)&&(f.ref.current=e))},sx:e=>Object.assign(Object.assign(Object.assign({},dL({table:t,theme:e})),{bottom:h?"0":void 0,boxShadow:`0 1px 2px -1px ${(0,Ry.X4)(e.palette.grey[700],.5)} inset`,left:0,position:h?"fixed":"relative",right:0}),wM(null==f?void 0:f.sx,e)),children:[(0,F.jsx)(IR,{isTopToolbar:!1,table:t}),"bottom"===l&&(0,F.jsx)(SR,{stackAlertBanner:g,table:t}),["both","bottom"].includes(null!=c?c:"")&&(0,F.jsx)(RR,{table:t}),(0,F.jsxs)(a.A,{sx:{alignItems:"center",boxSizing:"border-box",display:"flex",justifyContent:"space-between",p:"0.5rem",width:"100%"},children:[u?u({table:t}):(0,F.jsx)("span",{}),(0,F.jsx)(a.A,{sx:{display:"flex",justifyContent:"flex-end",position:g?"relative":"absolute",right:0,top:0},children:o&&["both","bottom"].includes(null!=s?s:"")&&(0,F.jsx)(LR,{position:"bottom",table:t})})]})]}))},FR=e=>{var{column:t,table:n}=e,r=iL(e,["column","table"]);const{options:{icons:{PushPinIcon:o},localization:i}}=n,s=e=>{t.pin(e)};return(0,F.jsx)(a.A,Object.assign({},r,{sx:e=>Object.assign({minWidth:"70px",textAlign:"center"},wM(null==r?void 0:r.sx,e)),children:t.getIsPinned()?(0,F.jsx)(xo,{title:i.unpin,children:(0,F.jsx)(Vn,{onClick:()=>s(!1),size:"small",children:(0,F.jsx)(o,{})})}):(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(xo,{title:i.pinToLeft,children:(0,F.jsx)(Vn,{onClick:()=>s("left"),size:"small",children:(0,F.jsx)(o,{style:{transform:"rotate(90deg)"}})})}),(0,F.jsx)(xo,{title:i.pinToRight,children:(0,F.jsx)(Vn,{onClick:()=>s("right"),size:"small",children:(0,F.jsx)(o,{style:{transform:"rotate(-90deg)"}})})})]})}))},DR=e=>{var t,{allColumns:n,column:r,hoveredColumn:o,isNestedColumns:s,setHoveredColumn:l,table:c}=e,u=iL(e,["allColumns","column","hoveredColumn","isNestedColumns","setHoveredColumn","table"]);const{getState:d,options:{enableColumnOrdering:h,enableColumnPinning:p,enableHiding:f,localization:g,mrtTheme:{draggingBorderColor:m}},setColumnOrder:y}=c,{columnOrder:v}=d(),{columnDef:b}=r,{columnDefType:w}=b,A=r.getIsVisible(),x=(0,i.useRef)(null),[S,C]=(0,i.useState)(!1);return b.header&&!1!==b.visibleInShowHideMenu?(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(pi,Object.assign({disableRipple:!0,onDragEnter:e=>{S||!1===b.enableColumnOrdering||l(r)},ref:x},u,{sx:e=>Object.assign({alignItems:"center",justifyContent:"flex-start",my:0,opacity:S?.5:1,outline:S?`2px dashed ${e.palette.grey[500]}`:(null==o?void 0:o.id)===r.id?`2px dashed ${m}`:"none",outlineOffset:"-2px",pl:2*(r.depth+.5)+"rem",py:"6px"},wM(null==u?void 0:u.sx,e)),children:(0,F.jsxs)(a.A,{sx:{display:"flex",flexWrap:"nowrap",gap:"8px"},children:["group"!==w&&h&&!s&&(!1!==b.enableColumnOrdering?(0,F.jsx)(bL,{onDragEnd:e=>{C(!1),l(null),o&&y(pM(r,o,v))},onDragStart:e=>{C(!0);try{e.dataTransfer.setDragImage(x.current,0,0)}catch(e){console.error(e)}},table:c}):(0,F.jsx)(a.A,{sx:{width:"28px"}})),p&&(r.getCanPin()?(0,F.jsx)(FR,{column:r,table:c}):(0,F.jsx)(a.A,{sx:{width:"70px"}})),f?(0,F.jsx)(Vb,{checked:A,componentsProps:{typography:{sx:{mb:0,opacity:"display"!==w?1:.5}}},control:(0,F.jsx)(xo,Object.assign({},pL(),{title:g.toggleVisibility,children:(0,F.jsx)($b.A,{})})),disabled:!r.getCanHide(),label:b.header,onChange:()=>(e=>{var t,n;"group"===w?null===(n=null===(t=null==e?void 0:e.columns)||void 0===t?void 0:t.forEach)||void 0===n||n.call(t,(e=>{e.toggleVisibility(!A)})):e.toggleVisibility()})(r)}):(0,F.jsx)(ji.A,{sx:{alignSelf:"center"},children:b.header})]})})),null===(t=r.columns)||void 0===t?void 0:t.map(((e,t)=>(0,F.jsx)(DR,{allColumns:n,column:e,hoveredColumn:o,isNestedColumns:s,setHoveredColumn:l,table:c},`${t}-${e.id}`)))]}):null},NR=e=>{var{anchorEl:t,setAnchorEl:n,table:r}=e,o=iL(e,["anchorEl","setAnchorEl","table"]);const{getAllColumns:s,getAllLeafColumns:l,getCenterLeafColumns:c,getIsAllColumnsVisible:u,getIsSomeColumnsPinned:d,getIsSomeColumnsVisible:h,getLeftLeafColumns:p,getRightLeafColumns:f,getState:g,options:{enableColumnOrdering:m,enableColumnPinning:y,enableHiding:v,localization:b,mrtTheme:{menuBackgroundColor:w}}}=r,{columnOrder:A,columnPinning:x,density:S}=g(),C=e=>{l().filter((e=>!1!==e.columnDef.enableHiding)).forEach((t=>t.toggleVisibility(e)))},E=(0,i.useMemo)((()=>{const e=s();return A.length>0&&!e.some((e=>"group"===e.columnDef.columnDefType))?[...p(),...Array.from(new Set(A)).map((e=>c().find((t=>(null==t?void 0:t.id)===e)))),...f()].filter(Boolean):e}),[A,x,s(),c(),p(),f()]),k=E.some((e=>"group"===e.columnDef.columnDefType)),[T,_]=(0,i.useState)(null);return(0,F.jsxs)(Rh,Object.assign({MenuListProps:{dense:"compact"===S,sx:{backgroundColor:w}},anchorEl:t,disableScrollLock:!0,onClose:()=>n(null),open:!!t},o,{children:[(0,F.jsxs)(a.A,{sx:{display:"flex",justifyContent:"space-between",p:"0.5rem",pt:0},children:[v&&(0,F.jsx)(No,{disabled:!h(),onClick:()=>C(!1),children:b.hideAll}),m&&(0,F.jsx)(No,{onClick:()=>r.setColumnOrder(RM(r.options,!0)),children:b.resetOrder}),y&&(0,F.jsx)(No,{disabled:!d(),onClick:()=>r.resetColumnPinning(!0),children:b.unpinAll}),v&&(0,F.jsx)(No,{disabled:u(),onClick:()=>C(!0),children:b.showAll})]}),(0,F.jsx)(W_.A,{}),E.map(((e,t)=>(0,F.jsx)(DR,{allColumns:E,column:e,hoveredColumn:T,isNestedColumns:k,setHoveredColumn:_,table:r},`${t}-${e.id}`)))]}))},zR=e=>{var t,{table:n}=e,r=iL(e,["table"]);const{options:{icons:{ViewColumnIcon:o},localization:a}}=n,[s,l]=(0,i.useState)(null);return(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(xo,{title:null!==(t=null==r?void 0:r.title)&&void 0!==t?t:a.showHideColumns,children:(0,F.jsx)(Vn,Object.assign({"aria-label":a.showHideColumns,onClick:e=>{l(e.currentTarget)}},r,{title:void 0,children:(0,F.jsx)(o,{})}))}),s&&(0,F.jsx)(NR,{anchorEl:s,setAnchorEl:l,table:n})]})},BR=e=>{var t,{table:n}=e,r=iL(e,["table"]);const{getState:o,options:{icons:{DensityLargeIcon:i,DensityMediumIcon:a,DensitySmallIcon:s},localization:l},setDensity:c}=n,{density:u}=o();return(0,F.jsx)(xo,{title:null!==(t=null==r?void 0:r.title)&&void 0!==t?t:l.toggleDensity,children:(0,F.jsx)(Vn,Object.assign({"aria-label":l.toggleDensity,onClick:()=>{c("comfortable"===u?"compact":"compact"===u?"spacious":"comfortable")}},r,{title:void 0,children:"compact"===u?(0,F.jsx)(s,{}):"comfortable"===u?(0,F.jsx)(a,{}):(0,F.jsx)(i,{})}))})},VR=e=>{var t,{table:n}=e,r=iL(e,["table"]);const{getState:o,options:{icons:{FilterListIcon:i,FilterListOffIcon:a},localization:s},setShowColumnFilters:l}=n,{showColumnFilters:c}=o();return(0,F.jsx)(xo,{title:null!==(t=null==r?void 0:r.title)&&void 0!==t?t:s.showHideFilters,children:(0,F.jsx)(Vn,Object.assign({"aria-label":s.showHideFilters,onClick:()=>{l(!c)}},r,{title:void 0,children:c?(0,F.jsx)(a,{}):(0,F.jsx)(i,{})}))})},$R=e=>{var t,{table:n}=e,r=iL(e,["table"]);const{getState:o,options:{icons:{FullscreenExitIcon:a,FullscreenIcon:s},localization:l},setIsFullScreen:c}=n,{isFullScreen:u}=o(),[d,h]=(0,i.useState)(!1);return(0,F.jsx)(xo,{open:d,title:null!==(t=null==r?void 0:r.title)&&void 0!==t?t:l.toggleFullScreen,children:(0,F.jsx)(Vn,Object.assign({"aria-label":l.toggleFullScreen,onClick:()=>{h(!1),c(!u)},onMouseEnter:()=>h(!0),onMouseLeave:()=>h(!1)},r,{title:void 0,children:u?(0,F.jsx)(a,{}):(0,F.jsx)(s,{})}))})},GR=e=>{var t,n,{table:r}=e,o=iL(e,["table"]);const{getState:i,options:{icons:{SearchIcon:a,SearchOffIcon:s},localization:l},refs:{searchInputRef:c},setShowGlobalFilter:u}=r,{globalFilter:d,showGlobalFilter:h}=i();return(0,F.jsx)(xo,{title:null!==(t=null==o?void 0:o.title)&&void 0!==t?t:l.showHideSearch,children:(0,F.jsx)(Vn,Object.assign({"aria-label":null!==(n=null==o?void 0:o.title)&&void 0!==n?n:l.showHideSearch,disabled:!!d,onClick:()=>{u(!h),queueMicrotask((()=>{var e;return null===(e=c.current)||void 0===e?void 0:e.focus()}))}},o,{title:void 0,children:h?(0,F.jsx)(s,{}):(0,F.jsx)(a,{})}))})},UR=e=>{var t,{table:n}=e,r=iL(e,["table"]);const{options:{columnFilterDisplayMode:o,enableColumnFilters:i,enableColumnOrdering:s,enableColumnPinning:l,enableDensityToggle:c,enableFilters:u,enableFullScreenToggle:d,enableGlobalFilter:h,enableHiding:p,initialState:f,renderToolbarInternalActions:g}}=n;return(0,F.jsx)(a.A,Object.assign({},r,{sx:e=>Object.assign({alignItems:"center",display:"flex",zIndex:3},wM(null==r?void 0:r.sx,e)),children:null!==(t=null==g?void 0:g({table:n}))&&void 0!==t?t:(0,F.jsxs)(F.Fragment,{children:[u&&h&&!(null==f?void 0:f.showGlobalFilter)&&(0,F.jsx)(GR,{table:n}),u&&i&&"popover"!==o&&(0,F.jsx)(VR,{table:n}),(p||s||l)&&(0,F.jsx)(zR,{table:n}),c&&(0,F.jsx)(BR,{table:n}),d&&(0,F.jsx)($R,{table:n})]})}))},WR=e=>{var t,{table:n}=e,r=iL(e,["table"]);const{getState:o,options:{enableGlobalFilterModes:a,icons:{CloseIcon:s,SearchIcon:l},localization:c,manualFiltering:u,muiSearchTextFieldProps:d},refs:{searchInputRef:h},setGlobalFilter:p}=n,{globalFilter:f,showGlobalFilter:g}=o(),m=Object.assign(Object.assign({},wM(d,{table:n})),r),y=(0,i.useRef)(!1),[v,b]=(0,i.useState)(null),[w,A]=(0,i.useState)(null!=f?f:""),x=(0,i.useCallback)((0,ps.A)((e=>{var t;p(null!==(t=e.target.value)&&void 0!==t?t:void 0)}),u?500:250),[]),S=()=>{A(""),p(void 0)};return(0,i.useEffect)((()=>{y.current&&(void 0===f?S():A(f)),y.current=!0}),[f]),(0,F.jsxs)($,{in:g,mountOnEnter:!0,orientation:"horizontal",unmountOnExit:!0,children:[(0,F.jsx)(lS,Object.assign({inputProps:Object.assign({autoComplete:"new-password"},m.inputProps),onChange:e=>{A(e.target.value),x(e)},placeholder:c.search,size:"small",value:null!=w?w:"",variant:"outlined"},m,{InputProps:Object.assign(Object.assign({endAdornment:(0,F.jsx)(TS,{position:"end",children:(0,F.jsx)(xo,{title:null!==(t=c.clearSearch)&&void 0!==t?t:"",children:(0,F.jsx)("span",{children:(0,F.jsx)(Vn,{"aria-label":c.clearSearch,disabled:!(null==w?void 0:w.length),onClick:S,size:"small",children:(0,F.jsx)(s,{})})})})}),startAdornment:a?(0,F.jsx)(TS,{position:"start",children:(0,F.jsx)(xo,{title:c.changeSearchMode,children:(0,F.jsx)(Vn,{"aria-label":c.changeSearchMode,onClick:e=>{b(e.currentTarget)},size:"small",sx:{height:"1.75rem",width:"1.75rem"},children:(0,F.jsx)(l,{})})})}):(0,F.jsx)(l,{style:{marginRight:"4px"}})},m.InputProps),{sx:e=>{var t;return Object.assign({mb:0},wM(null===(t=null==m?void 0:m.InputProps)||void 0===t?void 0:t.sx,e))}}),inputRef:e=>{h.current=e,(null==m?void 0:m.inputRef)&&(m.inputRef=e)}})),(0,F.jsx)(cR,{anchorEl:v,onSelect:S,setAnchorEl:b,table:n})]})},qR=({table:e})=>{var t;const{getState:n,options:{enableGlobalFilter:r,enablePagination:o,enableToolbarInternalActions:i,muiTopToolbarProps:s,positionGlobalFilter:l,positionPagination:c,positionToolbarAlertBanner:u,positionToolbarDropZone:d,renderTopToolbarCustomActions:h},refs:{topToolbarRef:p}}=e,{isFullScreen:f,showGlobalFilter:g}=n(),m=(0,Qr.A)("(max-width:720px)"),y=(0,Qr.A)("(max-width:1024px)"),v=wM(s,{table:e}),b=m||!!h||g&&y,w={sx:y?void 0:{zIndex:2},table:e};return(0,F.jsxs)(a.A,Object.assign({},v,{ref:e=>{p.current=e,(null==v?void 0:v.ref)&&(v.ref.current=e)},sx:t=>Object.assign(Object.assign(Object.assign({},dL({table:e,theme:t})),{position:f?"sticky":"relative",top:f?"0":void 0}),wM(null==v?void 0:v.sx,t)),children:["top"===u&&(0,F.jsx)(SR,{stackAlertBanner:b,table:e}),["both","top"].includes(null!=d?d:"")&&(0,F.jsx)(RR,{table:e}),(0,F.jsxs)(a.A,{sx:{alignItems:"flex-start",boxSizing:"border-box",display:"flex",gap:"0.5rem",justifyContent:"space-between",p:"0.5rem",position:b?"relative":"absolute",right:0,top:0,width:"100%"},children:[r&&"left"===l&&(0,F.jsx)(WR,Object.assign({},w)),null!==(t=null==h?void 0:h({table:e}))&&void 0!==t?t:(0,F.jsx)("span",{}),i?(0,F.jsxs)(a.A,{sx:{alignItems:"center",display:"flex",flexWrap:"wrap-reverse",gap:"0.5rem",justifyContent:"flex-end"},children:[r&&"right"===l&&(0,F.jsx)(WR,Object.assign({},w)),(0,F.jsx)(UR,{table:e})]}):r&&"right"===l&&(0,F.jsx)(WR,Object.assign({},w))]}),o&&["both","top"].includes(null!=c?c:"")&&(0,F.jsx)(LR,{position:"top",table:e}),(0,F.jsx)(IR,{isTopToolbar:!0,table:e})]}))},HR=e=>{var t,n,{table:r}=e,o=iL(e,["table"]);const{getState:i,options:{enableBottomToolbar:a,enableTopToolbar:s,mrtTheme:{baseBackgroundColor:l},muiTablePaperProps:c,renderBottomToolbar:u,renderTopToolbar:d},refs:{tablePaperRef:h}}=r,{isFullScreen:p}=i(),f=Object.assign(Object.assign({},wM(c,{table:r})),o),g=(0,I.A)();return(0,F.jsxs)(G.A,Object.assign({elevation:2},f,{ref:e=>{h.current=e,(null==f?void 0:f.ref)&&(f.ref.current=e)},style:Object.assign(Object.assign({},p?{bottom:0,height:"100dvh",left:0,margin:0,maxHeight:"100dvh",maxWidth:"100dvw",padding:0,position:"fixed",right:0,top:0,width:"100dvw",zIndex:g.zIndex.modal}:{}),null==f?void 0:f.style),sx:e=>Object.assign({backgroundColor:l,backgroundImage:"unset",overflow:"hidden",transition:"all 100ms ease-in-out"},wM(null==f?void 0:f.sx,e)),children:[s&&(null!==(t=wM(d,{table:r}))&&void 0!==t?t:(0,F.jsx)(qR,{table:r})),(0,F.jsx)(PR,{table:r}),a&&(null!==(n=wM(u,{table:r}))&&void 0!==n?n:(0,F.jsx)(jR,{table:r}))]}))},YR=e=>{let t;return t=(e=>void 0!==e.table)(e)?e.table:zL(e),(0,F.jsx)(HR,{table:t})};function KR(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function XR(e){return(0,F.jsx)(YR,function(e){for(var t=1;t{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})((({theme:e,ownerState:t})=>(0,s.A)({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48})),(({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar)),mj=i.forwardRef((function(e,t){const n=(0,T.A)({props:e,name:"MuiToolbar"}),{className:r,component:o="div",disableGutters:i=!1,variant:a="regular"}=n,d=(0,l.A)(n,fj),h=(0,s.A)({},n,{component:o,disableGutters:i,variant:a}),p=(e=>{const{classes:t,disableGutters:n,variant:r}=e,o={root:["root",!n&&"gutters",r]};return(0,u.A)(o,pj,t)})(h);return(0,F.jsx)(gj,(0,s.A)({as:o,className:(0,c.A)(p.root,r),ref:t,ownerState:h},d))}));function yj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vj(e){return(0,F.jsx)(mj,function(e){for(var t=1;t{"use strict";n.d(t,{v:()=>r});var r={APPBAR:"app-bar",NAVBAR:"nav-bar"}},34630:(e,t,n)=>{"use strict";n.d(t,{w:()=>z,O:()=>N});var r=n(72061),o=n(74780),i=n(59682),a=n(41108),s=n(99601),l=n.n(s),c=n(27806),u=l()(50,1e3,50),d=function(){return(0,a.A)((function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,i.A)(this,e),(0,o.A)(this,"main",void 0),(0,o.A)(this,"isInverse",void 0),(0,o.A)(this,"dark",{}),(0,o.A)(this,"light",{}),!h.call(e,t))throw new Error("Invalid color format");this.main=t,this.isInverse=r,u.forEach((function(e){n.dark[e]=n.darken(e/1e3),n.light[e]=n.lighten(e/1e3)}))}),[{key:"_main",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return(0,c.X4)(this.main,e)}},{key:"opacity",value:function(e){return(0,c.X4)(this.main,e)}},{key:"lighten",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this.isInverse?(0,c.X4)((0,c.e$)(this.main,e),t):(0,c.X4)((0,c.a)(this.main,e),t)}},{key:"darken",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return this.isInverse?(0,c.X4)((0,c.a)(this.main,e),t):(0,c.X4)((0,c.e$)(this.main,e),t)}},{key:"contrastText",value:function(){var e=this.main.slice(1);return.299*parseInt(e.slice(0,2),16)+.587*parseInt(e.slice(2,4),16)+.114*parseInt(e.slice(4,6),16)>186?"#000000":"#FFFFFF"}}])}();function h(e){return/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$|^rgba?\(\d+,\s*\d+,\s*\d+(,\s*(0(\.\d+)?|1(\.0)?))?\)$/.test(e)}for(var p="'Roboto', 'Helvetica', 'Arial', sans-serif",f={fontFamily:p,fontWeight:700},g=.08,m=.16,y=.38,v=.12,b=.24,w={white:"#FFFFFF",bgColor:new d("#F1F2F5"),primary:new d("#515BA5"),secondary:new d("#1976d2"),textColor:new d("#393939"),success:new d("#2e7d32"),error:new d("#d32f2f"),warning:new d("#ed6c02"),info:new d("#2e7d32"),grey:new d("#9e9e9e")},A={xs:"".concat(.7,"rem"),sm:"".concat(.875,"rem"),md:"".concat(1.125,"rem"),lg:"".concat(1.3,"rem"),xl:"".concat(1.6,"rem"),xxl:"".concat(2,"rem"),default:"".concat(1,"rem")},x=.2;x<=10;x+=.1){A["".concat(x,"x")]="".concat(1*x,"rem")}var S=A;function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:w;return{palette:{geoViewColor:e,geoViewFontSize:S,geoViewSpacingAndSizing:{},backdrop:"#3F3F3F50",common:{black:"#000",white:"#fff"},primary:{main:e.primary.main,light:e.primary.light[600],dark:e.primary.dark[200],contrastText:e.primary.contrastText()},secondary:{main:e.primary.main,light:e.primary.light[600],dark:e.primary.dark[300],contrastText:e.primary.contrastText()},error:{main:e.error.main,light:e.error.light[600],dark:e.error.dark[300],contrastText:e.error.contrastText()},warning:{main:e.warning.main,light:e.warning.light[600],dark:e.warning.dark[300],contrastText:e.warning.contrastText()},info:{main:e.info.main,light:e.info.light[600],dark:e.info.dark[300],contrastText:e.info.contrastText()},success:{main:e.success.main,light:e.success.light[600],dark:e.success.dark[300],contrastText:e.success.contrastText()},contrastThreshold:3,tonalOffset:.2,text:{primary:e.textColor.light[50],secondary:e.textColor.light[500],disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:e.bgColor.light[600],default:e.bgColor.light[500]},action:{active:e.primary.main,hover:e.primary.opacity(g),hoverOpacity:g,selected:e.primary.opacity(m),selectedOpacity:m,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, ".concat(v,")"),disabledOpacity:y,focus:e.primary.opacity(v),focusOpacity:v,activatedOpacity:b}},typography:{htmlFontSize:16,fontFamily:p,h1:f,h2:f,h3:f,h4:f,h5:f,h6:{fontWeight:400},subtitle1:{fontSize:S.default,lineHeight:1.25},subtitle2:{fontSize:S.xs,lineHeight:1.25},body1:{},body2:{},caption:{},overline:{fontSize:S.sm,fontWeight:500,letterSpacing:2},button:{fontSize:S.lg,fontWeight:500},control:{fontSize:11,fontWeight:500}},spacing:function(e){var t=[0,1,2,4,5,6,8,10,12,14,15,16,18,20,30],n=Math.floor(e),r=t[n];return"".concat(r+((t[n+1]||2*r)-r)*(e-n),"px")},breakpoints:{values:{xs:0,sm:640,md:960,lg:1200,xl:1536}},zIndex:{mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:15e3,olControl:500,focusDialog:1300},transitions:{duration:{shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195,splash:1500},easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"}},shape:{borderRadius:6,center:"50%",right:"100%",left:"0%"},components:{MuiTooltip:{defaultProps:{PopperProps:{container:R}},styleOverrides:{tooltip:{backgroundColor:e.bgColor.dark[800],color:e.bgColor.light[800]}}},MuiPaper:{styleOverrides:{root:{borderRadius:5,borderWidth:"1px",borderColor:e.bgColor.darken(.5,.5),borderStyle:"solid",boxShadow:"0px 12px 9px -13px ".concat(e.bgColor.darken(.2,.5)),"&.layer-panel":{boxShadow:"none",'&[data-layer-depth="0"], &:not([data-layer-depth])':{background:"".concat(e.bgColor.light[600]," 0% 0% no-repeat padding-box"),borderRadius:"5px",marginBottom:"1rem"},'&[data-layer-depth] &:not([data-layer-depth="0"])':{borderRadius:"0px",border:"unset",backgroundColor:"unset"},"& .MuiListItemButton-root":{backgroundColor:"transparent !important"},"&.selectedLayer, &.selected":{borderColor:"".concat(e.primary.main," !important"),borderWidth:"2px !important",borderStyle:"solid !important"},"&.dragging":{backgroundcolor:e.primary.dark[600],cursor:"grab",userSelect:"none"},"&.error, &.query-error":{background:e.error.lighten(.7,.6),"& .MuiListItemText-secondary":{fontWeight:"bold",color:e.error.main}},"&.loading, &.processing, &.query-processing":{background:e.info.lighten(.7,.6),"& .MuiListItemText-secondary":{fontWeight:"bold",color:e.info.main}}},"&.unbordered":{borderStyle:"none"}}}},MuiButton:{styleOverrides:{root:L({},j(e))}},MuiIconButton:{styleOverrides:{root:L({},j(e))}},MuiFab:{styleOverrides:{root:{padding:"0 24px"}}},MuiDrawer:{styleOverrides:{paper:{position:"relative"}}},MuiButtonGroup:{styleOverrides:{grouped:{minWidth:"auto"}}},MuiListItemButton:{defaultProps:{disableTouchRipple:!0}},MuiTabs:{styleOverrides:{root:{backgroundColor:e.bgColor.dark[100]},indicator:{backgroundColor:"#FF4081"}}},MuiTab:{styleOverrides:{root:{color:e.textColor.light[100],"&.Mui-selected":{color:"".concat(e.primary.light[200])}}}},MuiTypography:{styleOverrides:{root:{color:e.textColor.main}}}},overrides:{button:{size:{width:"32px",height:"32px"}},northArrow:{size:{width:42,height:42}},crosshairIcon:{size:{width:275,height:275}}}}};function D(e){switch(e){case"dark":return F(O);case"geo.ca":return F(I);default:return F(k)}}var N=function(e){var t=D(e);return(0,r.A)(t)},z=(0,r.A)(D("geo.ca"))},5562:(e,t,n)=>{"use strict";n.d(t,{o:()=>l});var r=n(74780),o=n(30538),i=n(76194),a=n(97282);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var l=(0,o.forwardRef)((function(e,t){return(0,a.jsx)(i.A,function(e){for(var t=1;t{"use strict";n.d(t,{A:()=>N});var r=n(67661),o=n.n(r),i=n(67387),a=n.n(i),s=n(48722),l=n.n(s),c=new URL(n(56133),n.b),u=new URL(n(6269),n.b),d=new URL(n(73975),n.b),h=new URL(n(14199),n.b),p=new URL(n(97388),n.b),f=new URL(n(15962),n.b),g=new URL(n(30634),n.b),m=new URL(n(9976),n.b),y=new URL(n(71057),n.b),v=new URL(n(57217),n.b),b=new URL(n(52210),n.b),w=new URL(n(71312),n.b),A=new URL(n(46816),n.b),x=new URL(n(56598),n.b),S=a()(o()),C=l()(c),E=l()(u),k=l()(d),T=l()(h),_=l()(p),O=l()(f),P=l()(g),I=l()(m),M=l()(y),L=l()(v),R=l()(b),j=l()(w),F=l()(A),D=l()(x);S.push([e.id,`@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:300;src:url(${C}) format("woff2"),url(${E}) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:300;src:url(${k}) format("woff2"),url(${T}) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:300;src:url(${_}) format("woff2"),url(${O}) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:300;src:url(${P}) format("woff2"),url(${I}) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:300;src:url(${M}) format("woff2"),url(${L}) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:300;src:url(${R}) format("woff2"),url(${j}) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:300;src:url(${F}) format("woff2"),url(${D}) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}`,"",{version:3,sources:["webpack://./../../common/temp/node_modules/.pnpm/@fontsource+roboto@5.0.13/node_modules/@fontsource/roboto/300.css"],names:[],mappings:"AACA,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,gFAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,+DAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,yBAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,gFAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,0JAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,oHAAA,CACA,oIAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,oHAAA,CACA,6KAAA",sourcesContent:["/* roboto-cyrillic-ext-300-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 300;\n src: url(./files/roboto-cyrillic-ext-300-normal.woff2) format('woff2'), url(./files/roboto-cyrillic-ext-300-normal.woff) format('woff');\n unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;\n}\n\n/* roboto-cyrillic-300-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 300;\n src: url(./files/roboto-cyrillic-300-normal.woff2) format('woff2'), url(./files/roboto-cyrillic-300-normal.woff) format('woff');\n unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;\n}\n\n/* roboto-greek-ext-300-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 300;\n src: url(./files/roboto-greek-ext-300-normal.woff2) format('woff2'), url(./files/roboto-greek-ext-300-normal.woff) format('woff');\n unicode-range: U+1F00-1FFF;\n}\n\n/* roboto-greek-300-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 300;\n src: url(./files/roboto-greek-300-normal.woff2) format('woff2'), url(./files/roboto-greek-300-normal.woff) format('woff');\n unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;\n}\n\n/* roboto-vietnamese-300-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 300;\n src: url(./files/roboto-vietnamese-300-normal.woff2) format('woff2'), url(./files/roboto-vietnamese-300-normal.woff) format('woff');\n unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;\n}\n\n/* roboto-latin-ext-300-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 300;\n src: url(./files/roboto-latin-ext-300-normal.woff2) format('woff2'), url(./files/roboto-latin-ext-300-normal.woff) format('woff');\n unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;\n}\n\n/* roboto-latin-300-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 300;\n src: url(./files/roboto-latin-300-normal.woff2) format('woff2'), url(./files/roboto-latin-300-normal.woff) format('woff');\n unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;\n}"],sourceRoot:""}]);const N=S},92324:(e,t,n)=>{"use strict";n.d(t,{A:()=>N});var r=n(67661),o=n.n(r),i=n(67387),a=n.n(i),s=n(48722),l=n.n(s),c=new URL(n(11008),n.b),u=new URL(n(85270),n.b),d=new URL(n(63166),n.b),h=new URL(n(66580),n.b),p=new URL(n(30441),n.b),f=new URL(n(88169),n.b),g=new URL(n(77627),n.b),m=new URL(n(92323),n.b),y=new URL(n(1556),n.b),v=new URL(n(39250),n.b),b=new URL(n(63747),n.b),w=new URL(n(38427),n.b),A=new URL(n(91941),n.b),x=new URL(n(61245),n.b),S=a()(o()),C=l()(c),E=l()(u),k=l()(d),T=l()(h),_=l()(p),O=l()(f),P=l()(g),I=l()(m),M=l()(y),L=l()(v),R=l()(b),j=l()(w),F=l()(A),D=l()(x);S.push([e.id,`@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:400;src:url(${C}) format("woff2"),url(${E}) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:400;src:url(${k}) format("woff2"),url(${T}) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:400;src:url(${_}) format("woff2"),url(${O}) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:400;src:url(${P}) format("woff2"),url(${I}) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:400;src:url(${M}) format("woff2"),url(${L}) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:400;src:url(${R}) format("woff2"),url(${j}) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:400;src:url(${F}) format("woff2"),url(${D}) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}`,"",{version:3,sources:["webpack://./../../common/temp/node_modules/.pnpm/@fontsource+roboto@5.0.13/node_modules/@fontsource/roboto/400.css"],names:[],mappings:"AACA,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,gFAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,+DAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,yBAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,gFAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,0JAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,oHAAA,CACA,oIAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,oHAAA,CACA,6KAAA",sourcesContent:["/* roboto-cyrillic-ext-400-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url(./files/roboto-cyrillic-ext-400-normal.woff2) format('woff2'), url(./files/roboto-cyrillic-ext-400-normal.woff) format('woff');\n unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;\n}\n\n/* roboto-cyrillic-400-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url(./files/roboto-cyrillic-400-normal.woff2) format('woff2'), url(./files/roboto-cyrillic-400-normal.woff) format('woff');\n unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;\n}\n\n/* roboto-greek-ext-400-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url(./files/roboto-greek-ext-400-normal.woff2) format('woff2'), url(./files/roboto-greek-ext-400-normal.woff) format('woff');\n unicode-range: U+1F00-1FFF;\n}\n\n/* roboto-greek-400-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url(./files/roboto-greek-400-normal.woff2) format('woff2'), url(./files/roboto-greek-400-normal.woff) format('woff');\n unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;\n}\n\n/* roboto-vietnamese-400-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url(./files/roboto-vietnamese-400-normal.woff2) format('woff2'), url(./files/roboto-vietnamese-400-normal.woff) format('woff');\n unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;\n}\n\n/* roboto-latin-ext-400-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url(./files/roboto-latin-ext-400-normal.woff2) format('woff2'), url(./files/roboto-latin-ext-400-normal.woff) format('woff');\n unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;\n}\n\n/* roboto-latin-400-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 400;\n src: url(./files/roboto-latin-400-normal.woff2) format('woff2'), url(./files/roboto-latin-400-normal.woff) format('woff');\n unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;\n}"],sourceRoot:""}]);const N=S},13833:(e,t,n)=>{"use strict";n.d(t,{A:()=>N});var r=n(67661),o=n.n(r),i=n(67387),a=n.n(i),s=n(48722),l=n.n(s),c=new URL(n(44923),n.b),u=new URL(n(9539),n.b),d=new URL(n(48793),n.b),h=new URL(n(60025),n.b),p=new URL(n(8750),n.b),f=new URL(n(47492),n.b),g=new URL(n(21472),n.b),m=new URL(n(68406),n.b),y=new URL(n(19855),n.b),v=new URL(n(52511),n.b),b=new URL(n(28520),n.b),w=new URL(n(34350),n.b),A=new URL(n(39914),n.b),x=new URL(n(80696),n.b),S=a()(o()),C=l()(c),E=l()(u),k=l()(d),T=l()(h),_=l()(p),O=l()(f),P=l()(g),I=l()(m),M=l()(y),L=l()(v),R=l()(b),j=l()(w),F=l()(A),D=l()(x);S.push([e.id,`@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:500;src:url(${C}) format("woff2"),url(${E}) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:500;src:url(${k}) format("woff2"),url(${T}) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:500;src:url(${_}) format("woff2"),url(${O}) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:500;src:url(${P}) format("woff2"),url(${I}) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:500;src:url(${M}) format("woff2"),url(${L}) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:500;src:url(${R}) format("woff2"),url(${j}) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:500;src:url(${F}) format("woff2"),url(${D}) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}`,"",{version:3,sources:["webpack://./../../common/temp/node_modules/.pnpm/@fontsource+roboto@5.0.13/node_modules/@fontsource/roboto/500.css"],names:[],mappings:"AACA,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,gFAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,+DAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,yBAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,gFAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,0JAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,oHAAA,CACA,oIAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,oHAAA,CACA,6KAAA",sourcesContent:["/* roboto-cyrillic-ext-500-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url(./files/roboto-cyrillic-ext-500-normal.woff2) format('woff2'), url(./files/roboto-cyrillic-ext-500-normal.woff) format('woff');\n unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;\n}\n\n/* roboto-cyrillic-500-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url(./files/roboto-cyrillic-500-normal.woff2) format('woff2'), url(./files/roboto-cyrillic-500-normal.woff) format('woff');\n unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;\n}\n\n/* roboto-greek-ext-500-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url(./files/roboto-greek-ext-500-normal.woff2) format('woff2'), url(./files/roboto-greek-ext-500-normal.woff) format('woff');\n unicode-range: U+1F00-1FFF;\n}\n\n/* roboto-greek-500-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url(./files/roboto-greek-500-normal.woff2) format('woff2'), url(./files/roboto-greek-500-normal.woff) format('woff');\n unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;\n}\n\n/* roboto-vietnamese-500-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url(./files/roboto-vietnamese-500-normal.woff2) format('woff2'), url(./files/roboto-vietnamese-500-normal.woff) format('woff');\n unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;\n}\n\n/* roboto-latin-ext-500-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url(./files/roboto-latin-ext-500-normal.woff2) format('woff2'), url(./files/roboto-latin-ext-500-normal.woff) format('woff');\n unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;\n}\n\n/* roboto-latin-500-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 500;\n src: url(./files/roboto-latin-500-normal.woff2) format('woff2'), url(./files/roboto-latin-500-normal.woff) format('woff');\n unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;\n}"],sourceRoot:""}]);const N=S},24735:(e,t,n)=>{"use strict";n.d(t,{A:()=>N});var r=n(67661),o=n.n(r),i=n(67387),a=n.n(i),s=n(48722),l=n.n(s),c=new URL(n(94953),n.b),u=new URL(n(42505),n.b),d=new URL(n(3179),n.b),h=new URL(n(12755),n.b),p=new URL(n(95904),n.b),f=new URL(n(4022),n.b),g=new URL(n(10574),n.b),m=new URL(n(7780),n.b),y=new URL(n(59565),n.b),v=new URL(n(23733),n.b),b=new URL(n(25526),n.b),w=new URL(n(32316),n.b),A=new URL(n(93900),n.b),x=new URL(n(16890),n.b),S=a()(o()),C=l()(c),E=l()(u),k=l()(d),T=l()(h),_=l()(p),O=l()(f),P=l()(g),I=l()(m),M=l()(y),L=l()(v),R=l()(b),j=l()(w),F=l()(A),D=l()(x);S.push([e.id,`@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:700;src:url(${C}) format("woff2"),url(${E}) format("woff");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:700;src:url(${k}) format("woff2"),url(${T}) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:700;src:url(${_}) format("woff2"),url(${O}) format("woff");unicode-range:U+1F00-1FFF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:700;src:url(${P}) format("woff2"),url(${I}) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:700;src:url(${M}) format("woff2"),url(${L}) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:700;src:url(${R}) format("woff2"),url(${j}) format("woff");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:"Roboto";font-style:normal;font-display:swap;font-weight:700;src:url(${F}) format("woff2"),url(${D}) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}`,"",{version:3,sources:["webpack://./../../common/temp/node_modules/.pnpm/@fontsource+roboto@5.0.13/node_modules/@fontsource/roboto/700.css"],names:[],mappings:"AACA,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,gFAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,+DAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,yBAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,gFAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,kHAAA,CACA,0JAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,oHAAA,CACA,oIAAA,CAIF,WACE,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,oHAAA,CACA,6KAAA",sourcesContent:["/* roboto-cyrillic-ext-700-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src: url(./files/roboto-cyrillic-ext-700-normal.woff2) format('woff2'), url(./files/roboto-cyrillic-ext-700-normal.woff) format('woff');\n unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;\n}\n\n/* roboto-cyrillic-700-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src: url(./files/roboto-cyrillic-700-normal.woff2) format('woff2'), url(./files/roboto-cyrillic-700-normal.woff) format('woff');\n unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;\n}\n\n/* roboto-greek-ext-700-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src: url(./files/roboto-greek-ext-700-normal.woff2) format('woff2'), url(./files/roboto-greek-ext-700-normal.woff) format('woff');\n unicode-range: U+1F00-1FFF;\n}\n\n/* roboto-greek-700-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src: url(./files/roboto-greek-700-normal.woff2) format('woff2'), url(./files/roboto-greek-700-normal.woff) format('woff');\n unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;\n}\n\n/* roboto-vietnamese-700-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src: url(./files/roboto-vietnamese-700-normal.woff2) format('woff2'), url(./files/roboto-vietnamese-700-normal.woff) format('woff');\n unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;\n}\n\n/* roboto-latin-ext-700-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src: url(./files/roboto-latin-ext-700-normal.woff2) format('woff2'), url(./files/roboto-latin-ext-700-normal.woff) format('woff');\n unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;\n}\n\n/* roboto-latin-700-normal */\n@font-face {\n font-family: 'Roboto';\n font-style: normal;\n font-display: swap;\n font-weight: 700;\n src: url(./files/roboto-latin-700-normal.woff2) format('woff2'), url(./files/roboto-latin-700-normal.woff) format('woff');\n unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;\n}"],sourceRoot:""}]);const N=S},30956:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(67661),o=n.n(r),i=n(67387),a=n.n(i)()(o());a.push([e.id,':root,:host{--ol-background-color: white;--ol-accent-background-color: #F5F5F5;--ol-subtle-background-color: rgba(128, 128, 128, 0.25);--ol-partial-background-color: rgba(255, 255, 255, 0.75);--ol-foreground-color: #333333;--ol-subtle-foreground-color: #666666;--ol-brand-color: #00AAFF}.ol-box{box-sizing:border-box;border-radius:2px;border:1.5px solid var(--ol-background-color);background-color:var(--ol-partial-background-color)}.ol-mouse-position{top:8px;right:8px;position:absolute}.ol-scale-line{background:var(--ol-partial-background-color);border-radius:4px;bottom:8px;left:8px;padding:2px;position:absolute}.ol-scale-line-inner{border:1px solid var(--ol-subtle-foreground-color);border-top:none;color:var(--ol-foreground-color);font-size:10px;text-align:center;margin:1px;will-change:contents,width;transition:all .25s}.ol-scale-bar{position:absolute;bottom:8px;left:8px}.ol-scale-bar-inner{display:flex}.ol-scale-step-marker{width:1px;height:15px;background-color:var(--ol-foreground-color);float:right;z-index:10}.ol-scale-step-text{position:absolute;bottom:-5px;font-size:10px;z-index:11;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-text{position:absolute;font-size:12px;text-align:center;bottom:25px;color:var(--ol-foreground-color);text-shadow:-1.5px 0 var(--ol-partial-background-color),0 1.5px var(--ol-partial-background-color),1.5px 0 var(--ol-partial-background-color),0 -1.5px var(--ol-partial-background-color)}.ol-scale-singlebar{position:relative;height:10px;z-index:9;box-sizing:border-box;border:1px solid var(--ol-foreground-color)}.ol-scale-singlebar-even{background-color:var(--ol-subtle-foreground-color)}.ol-scale-singlebar-odd{background-color:var(--ol-background-color)}.ol-unsupported{display:none}.ol-viewport,.ol-unselectable{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.ol-viewport canvas{all:unset;overflow:hidden}.ol-viewport{touch-action:pan-x pan-y}.ol-selectable{-webkit-touch-callout:default;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ol-grabbing{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.ol-grab{cursor:move;cursor:-webkit-grab;cursor:-moz-grab;cursor:grab}.ol-control{position:absolute;background-color:var(--ol-subtle-background-color);border-radius:4px}.ol-zoom{top:.5em;left:.5em}.ol-rotate{top:.5em;right:.5em;transition:opacity .25s linear,visibility 0s linear}.ol-rotate.ol-hidden{opacity:0;visibility:hidden;transition:opacity .25s linear,visibility 0s linear .25s}.ol-zoom-extent{top:4.643em;left:.5em}.ol-full-screen{right:.5em;top:.5em}.ol-control button{display:block;margin:1px;padding:0;color:var(--ol-subtle-foreground-color);font-weight:bold;text-decoration:none;font-size:inherit;text-align:center;height:1.375em;width:1.375em;line-height:.4em;background-color:var(--ol-background-color);border:none;border-radius:2px}.ol-control button::-moz-focus-inner{border:none;padding:0}.ol-zoom-extent button{line-height:1.4em}.ol-compass{display:block;font-weight:normal;will-change:transform}.ol-touch .ol-control button{font-size:1.5em}.ol-touch .ol-zoom-extent{top:5.5em}.ol-control button:hover,.ol-control button:focus{text-decoration:none;outline:1px solid var(--ol-subtle-foreground-color);color:var(--ol-foreground-color)}.ol-zoom .ol-zoom-in{border-radius:2px 2px 0 0}.ol-zoom .ol-zoom-out{border-radius:0 0 2px 2px}.ol-attribution{text-align:right;bottom:.5em;right:.5em;max-width:calc(100% - 1.3em);display:flex;flex-flow:row-reverse;align-items:center}.ol-attribution a{color:var(--ol-subtle-foreground-color);text-decoration:none}.ol-attribution ul{margin:0;padding:1px .5em;color:var(--ol-foreground-color);text-shadow:0 0 2px var(--ol-background-color);font-size:12px}.ol-attribution li{display:inline;list-style:none}.ol-attribution li:not(:last-child):after{content:" "}.ol-attribution img{max-height:2em;max-width:inherit;vertical-align:middle}.ol-attribution button{flex-shrink:0}.ol-attribution.ol-collapsed ul{display:none}.ol-attribution:not(.ol-collapsed){background:var(--ol-partial-background-color)}.ol-attribution.ol-uncollapsible{bottom:0;right:0;border-radius:4px 0 0}.ol-attribution.ol-uncollapsible img{margin-top:-0.2em;max-height:1.6em}.ol-attribution.ol-uncollapsible button{display:none}.ol-zoomslider{top:4.5em;left:.5em;height:200px}.ol-zoomslider button{position:relative;height:10px}.ol-touch .ol-zoomslider{top:5.5em}.ol-overviewmap{left:.5em;bottom:.5em}.ol-overviewmap.ol-uncollapsible{bottom:0;left:0;border-radius:0 4px 0 0}.ol-overviewmap .ol-overviewmap-map,.ol-overviewmap button{display:block}.ol-overviewmap .ol-overviewmap-map{border:1px solid var(--ol-subtle-foreground-color);height:150px;width:150px}.ol-overviewmap:not(.ol-collapsed) button{bottom:0;left:0;position:absolute}.ol-overviewmap.ol-collapsed .ol-overviewmap-map,.ol-overviewmap.ol-uncollapsible button{display:none}.ol-overviewmap:not(.ol-collapsed){background:var(--ol-subtle-background-color)}.ol-overviewmap-box{border:1.5px dotted var(--ol-subtle-foreground-color)}.ol-overviewmap .ol-overviewmap-box:hover{cursor:move}',"",{version:3,sources:["webpack://./../../common/temp/node_modules/.pnpm/ol@9.1.0/node_modules/ol/ol.css"],names:[],mappings:"AAAA,YAEE,4BAAA,CACA,qCAAA,CACA,uDAAA,CACA,wDAAA,CACA,8BAAA,CACA,qCAAA,CACA,yBAAA,CAGF,QACE,qBAAA,CACA,iBAAA,CACA,6CAAA,CACA,mDAAA,CAGF,mBACE,OAAA,CACA,SAAA,CACA,iBAAA,CAGF,eACE,6CAAA,CACA,iBAAA,CACA,UAAA,CACA,QAAA,CACA,WAAA,CACA,iBAAA,CAGF,qBACE,kDAAA,CACA,eAAA,CACA,gCAAA,CACA,cAAA,CACA,iBAAA,CACA,UAAA,CACA,0BAAA,CACA,mBAAA,CAGF,cACE,iBAAA,CACA,UAAA,CACA,QAAA,CAGF,oBACE,YAAA,CAGF,sBACE,SAAA,CACA,WAAA,CACA,2CAAA,CACA,WAAA,CACA,UAAA,CAGF,oBACE,iBAAA,CACA,WAAA,CACA,cAAA,CACA,UAAA,CACA,gCAAA,CACA,yLAAA,CAGF,eACE,iBAAA,CACA,cAAA,CACA,iBAAA,CACA,WAAA,CACA,gCAAA,CACA,yLAAA,CAGF,oBACE,iBAAA,CACA,WAAA,CACA,SAAA,CACA,qBAAA,CACA,2CAAA,CAGF,yBACE,kDAAA,CAGF,wBACE,2CAAA,CAGF,gBACE,YAAA,CAGF,8BAEE,0BAAA,CACA,wBAAA,CACA,qBAAA,CACA,gBAAA,CACA,yCAAA,CAGF,oBACE,SAAA,CACA,eAAA,CAGF,aACE,wBAAA,CAGF,eACE,6BAAA,CACA,wBAAA,CACA,qBAAA,CACA,gBAAA,CAGF,aACE,uBAAA,CACA,oBAAA,CACA,eAAA,CAGF,SACE,WAAA,CACA,mBAAA,CACA,gBAAA,CACA,WAAA,CAGF,YACE,iBAAA,CACA,kDAAA,CACA,iBAAA,CAGF,SACE,QAAA,CACA,SAAA,CAGF,WACE,QAAA,CACA,UAAA,CACA,mDAAA,CAGF,qBACE,SAAA,CACA,iBAAA,CACA,wDAAA,CAGF,gBACE,WAAA,CACA,SAAA,CAGF,gBACE,UAAA,CACA,QAAA,CAGF,mBACE,aAAA,CACA,UAAA,CACA,SAAA,CACA,uCAAA,CACA,gBAAA,CACA,oBAAA,CACA,iBAAA,CACA,iBAAA,CACA,cAAA,CACA,aAAA,CACA,gBAAA,CACA,2CAAA,CACA,WAAA,CACA,iBAAA,CAGF,qCACE,WAAA,CACA,SAAA,CAGF,uBACE,iBAAA,CAGF,YACE,aAAA,CACA,kBAAA,CACA,qBAAA,CAGF,6BACE,eAAA,CAGF,0BACE,SAAA,CAGF,kDAEE,oBAAA,CACA,mDAAA,CACA,gCAAA,CAGF,qBACE,yBAAA,CAGF,sBACE,yBAAA,CAGF,gBACE,gBAAA,CACA,WAAA,CACA,UAAA,CACA,4BAAA,CACA,YAAA,CACA,qBAAA,CACA,kBAAA,CAGF,kBACE,uCAAA,CACA,oBAAA,CAGF,mBACE,QAAA,CACA,gBAAA,CACA,gCAAA,CACA,8CAAA,CACA,cAAA,CAGF,mBACE,cAAA,CACA,eAAA,CAGF,0CACE,WAAA,CAGF,oBACE,cAAA,CACA,iBAAA,CACA,qBAAA,CAGF,uBACE,aAAA,CAGF,gCACE,YAAA,CAGF,mCACE,6CAAA,CAGF,iCACE,QAAA,CACA,OAAA,CACA,qBAAA,CAGF,qCACE,iBAAA,CACA,gBAAA,CAGF,wCACE,YAAA,CAGF,eACE,SAAA,CACA,SAAA,CACA,YAAA,CAGF,sBACE,iBAAA,CACA,WAAA,CAGF,yBACE,SAAA,CAGF,gBACE,SAAA,CACA,WAAA,CAGF,iCACE,QAAA,CACA,MAAA,CACA,uBAAA,CAGF,2DAEE,aAAA,CAGF,oCACE,kDAAA,CACA,YAAA,CACA,WAAA,CAGF,0CACE,QAAA,CACA,MAAA,CACA,iBAAA,CAGF,yFAEE,YAAA,CAGF,mCACE,4CAAA,CAGF,oBACE,qDAAA,CAGF,0CACE,WAAA",sourcesContent:[':root,\n:host {\n --ol-background-color: white;\n --ol-accent-background-color: #F5F5F5;\n --ol-subtle-background-color: rgba(128, 128, 128, 0.25);\n --ol-partial-background-color: rgba(255, 255, 255, 0.75);\n --ol-foreground-color: #333333;\n --ol-subtle-foreground-color: #666666;\n --ol-brand-color: #00AAFF;\n}\n\n.ol-box {\n box-sizing: border-box;\n border-radius: 2px;\n border: 1.5px solid var(--ol-background-color);\n background-color: var(--ol-partial-background-color);\n}\n\n.ol-mouse-position {\n top: 8px;\n right: 8px;\n position: absolute;\n}\n\n.ol-scale-line {\n background: var(--ol-partial-background-color);\n border-radius: 4px;\n bottom: 8px;\n left: 8px;\n padding: 2px;\n position: absolute;\n}\n\n.ol-scale-line-inner {\n border: 1px solid var(--ol-subtle-foreground-color);\n border-top: none;\n color: var(--ol-foreground-color);\n font-size: 10px;\n text-align: center;\n margin: 1px;\n will-change: contents, width;\n transition: all 0.25s;\n}\n\n.ol-scale-bar {\n position: absolute;\n bottom: 8px;\n left: 8px;\n}\n\n.ol-scale-bar-inner {\n display: flex;\n}\n\n.ol-scale-step-marker {\n width: 1px;\n height: 15px;\n background-color: var(--ol-foreground-color);\n float: right;\n z-index: 10;\n}\n\n.ol-scale-step-text {\n position: absolute;\n bottom: -5px;\n font-size: 10px;\n z-index: 11;\n color: var(--ol-foreground-color);\n text-shadow: -1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color);\n}\n\n.ol-scale-text {\n position: absolute;\n font-size: 12px;\n text-align: center;\n bottom: 25px;\n color: var(--ol-foreground-color);\n text-shadow: -1.5px 0 var(--ol-partial-background-color), 0 1.5px var(--ol-partial-background-color), 1.5px 0 var(--ol-partial-background-color), 0 -1.5px var(--ol-partial-background-color);\n}\n\n.ol-scale-singlebar {\n position: relative;\n height: 10px;\n z-index: 9;\n box-sizing: border-box;\n border: 1px solid var(--ol-foreground-color);\n}\n\n.ol-scale-singlebar-even {\n background-color: var(--ol-subtle-foreground-color);\n}\n\n.ol-scale-singlebar-odd {\n background-color: var(--ol-background-color);\n}\n\n.ol-unsupported {\n display: none;\n}\n\n.ol-viewport,\n.ol-unselectable {\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n -webkit-tap-highlight-color: transparent;\n}\n\n.ol-viewport canvas {\n all: unset;\n overflow: hidden;\n}\n\n.ol-viewport {\n touch-action: pan-x pan-y;\n}\n\n.ol-selectable {\n -webkit-touch-callout: default;\n -webkit-user-select: text;\n -moz-user-select: text;\n user-select: text;\n}\n\n.ol-grabbing {\n cursor: -webkit-grabbing;\n cursor: -moz-grabbing;\n cursor: grabbing;\n}\n\n.ol-grab {\n cursor: move;\n cursor: -webkit-grab;\n cursor: -moz-grab;\n cursor: grab;\n}\n\n.ol-control {\n position: absolute;\n background-color: var(--ol-subtle-background-color);\n border-radius: 4px;\n}\n\n.ol-zoom {\n top: .5em;\n left: .5em;\n}\n\n.ol-rotate {\n top: .5em;\n right: .5em;\n transition: opacity .25s linear, visibility 0s linear;\n}\n\n.ol-rotate.ol-hidden {\n opacity: 0;\n visibility: hidden;\n transition: opacity .25s linear, visibility 0s linear .25s;\n}\n\n.ol-zoom-extent {\n top: 4.643em;\n left: .5em;\n}\n\n.ol-full-screen {\n right: .5em;\n top: .5em;\n}\n\n.ol-control button {\n display: block;\n margin: 1px;\n padding: 0;\n color: var(--ol-subtle-foreground-color);\n font-weight: bold;\n text-decoration: none;\n font-size: inherit;\n text-align: center;\n height: 1.375em;\n width: 1.375em;\n line-height: .4em;\n background-color: var(--ol-background-color);\n border: none;\n border-radius: 2px;\n}\n\n.ol-control button::-moz-focus-inner {\n border: none;\n padding: 0;\n}\n\n.ol-zoom-extent button {\n line-height: 1.4em;\n}\n\n.ol-compass {\n display: block;\n font-weight: normal;\n will-change: transform;\n}\n\n.ol-touch .ol-control button {\n font-size: 1.5em;\n}\n\n.ol-touch .ol-zoom-extent {\n top: 5.5em;\n}\n\n.ol-control button:hover,\n.ol-control button:focus {\n text-decoration: none;\n outline: 1px solid var(--ol-subtle-foreground-color);\n color: var(--ol-foreground-color);\n}\n\n.ol-zoom .ol-zoom-in {\n border-radius: 2px 2px 0 0;\n}\n\n.ol-zoom .ol-zoom-out {\n border-radius: 0 0 2px 2px;\n}\n\n.ol-attribution {\n text-align: right;\n bottom: .5em;\n right: .5em;\n max-width: calc(100% - 1.3em);\n display: flex;\n flex-flow: row-reverse;\n align-items: center;\n}\n\n.ol-attribution a {\n color: var(--ol-subtle-foreground-color);\n text-decoration: none;\n}\n\n.ol-attribution ul {\n margin: 0;\n padding: 1px .5em;\n color: var(--ol-foreground-color);\n text-shadow: 0 0 2px var(--ol-background-color);\n font-size: 12px;\n}\n\n.ol-attribution li {\n display: inline;\n list-style: none;\n}\n\n.ol-attribution li:not(:last-child):after {\n content: " ";\n}\n\n.ol-attribution img {\n max-height: 2em;\n max-width: inherit;\n vertical-align: middle;\n}\n\n.ol-attribution button {\n flex-shrink: 0;\n}\n\n.ol-attribution.ol-collapsed ul {\n display: none;\n}\n\n.ol-attribution:not(.ol-collapsed) {\n background: var(--ol-partial-background-color);\n}\n\n.ol-attribution.ol-uncollapsible {\n bottom: 0;\n right: 0;\n border-radius: 4px 0 0;\n}\n\n.ol-attribution.ol-uncollapsible img {\n margin-top: -.2em;\n max-height: 1.6em;\n}\n\n.ol-attribution.ol-uncollapsible button {\n display: none;\n}\n\n.ol-zoomslider {\n top: 4.5em;\n left: .5em;\n height: 200px;\n}\n\n.ol-zoomslider button {\n position: relative;\n height: 10px;\n}\n\n.ol-touch .ol-zoomslider {\n top: 5.5em;\n}\n\n.ol-overviewmap {\n left: 0.5em;\n bottom: 0.5em;\n}\n\n.ol-overviewmap.ol-uncollapsible {\n bottom: 0;\n left: 0;\n border-radius: 0 4px 0 0;\n}\n\n.ol-overviewmap .ol-overviewmap-map,\n.ol-overviewmap button {\n display: block;\n}\n\n.ol-overviewmap .ol-overviewmap-map {\n border: 1px solid var(--ol-subtle-foreground-color);\n height: 150px;\n width: 150px;\n}\n\n.ol-overviewmap:not(.ol-collapsed) button {\n bottom: 0;\n left: 0;\n position: absolute;\n}\n\n.ol-overviewmap.ol-collapsed .ol-overviewmap-map,\n.ol-overviewmap.ol-uncollapsible button {\n display: none;\n}\n\n.ol-overviewmap:not(.ol-collapsed) {\n background: var(--ol-subtle-background-color);\n}\n\n.ol-overviewmap-box {\n border: 1.5px dotted var(--ol-subtle-foreground-color);\n}\n\n.ol-overviewmap .ol-overviewmap-box:hover {\n cursor: move;\n}\n'],sourceRoot:""}]);const s=a},68624:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(67661),o=n.n(r),i=n(67387),a=n.n(i)()(o());a.push([e.id,".yarl__fullsize{height:100%;width:100%}.yarl__relative{position:relative}.yarl__portal{bottom:0;left:0;opacity:0;overflow:hidden;position:fixed;right:0;top:0;transition:opacity var(--yarl__fade_animation_duration, 0.25s) var(--yarl__fade_animation_timing_function, ease);z-index:var(--yarl__portal_zindex, 9999)}.yarl__portal_open{opacity:1}.yarl__container{background-color:var(--yarl__container_background_color, var(--yarl__color_backdrop, #000));bottom:0;left:0;outline:none;overflow:hidden;overscroll-behavior:var(--yarl__controller_overscroll_behavior, contain);position:absolute;right:0;top:0;touch-action:var(--yarl__controller_touch_action, none);-webkit-user-select:none;-moz-user-select:none;user-select:none}.yarl__carousel{align-content:center;align-items:stretch;display:flex;flex:0 0 auto;height:100%;justify-content:center;opacity:var(--yarl__pull_opacity, 1);transform:translate(var(--yarl__swipe_offset, 0), var(--yarl__pull_offset, 0));width:calc(100% + (var(--yarl__carousel_slides_count) - 1)*(100% + var(--yarl__carousel_spacing_px, 0)*1px + var(--yarl__carousel_spacing_percent, 0)*1%))}.yarl__carousel_with_slides{-moz-column-gap:calc(var(--yarl__carousel_spacing_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_spacing_percent, 0)*1%);column-gap:calc(var(--yarl__carousel_spacing_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_spacing_percent, 0)*1%)}.yarl__flex_center{align-content:center;align-items:center;display:flex;justify-content:center}.yarl__slide{flex:1;overflow:hidden;padding:calc(var(--yarl__carousel_padding_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_padding_percent, 0)*1%);position:relative}[dir=rtl] .yarl__slide{--yarl__direction:-1}.yarl__slide_image{max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain;touch-action:var(--yarl__controller_touch_action, none);-moz-user-select:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}@media screen and (min-width: 800px){.yarl__slide_image{-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);-webkit-transform-style:preserve-3d}}.yarl__slide_image_cover{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.yarl__slide_image_loading{opacity:0}.yarl__slide_placeholder{left:50%;line-height:0;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%)}.yarl__slide_loading{animation:yarl__delayed_fadein 1s linear;color:var(--yarl__slide_icon_loading_color, var(--yarl__color_button, hsla(0, 0%, 100%, 0.8)))}.yarl__slide_loading line{animation:yarl__stroke_opacity 1s linear infinite}.yarl__slide_loading line:first-of-type{animation-delay:-1.875s}.yarl__slide_loading line:nth-of-type(2){animation-delay:-1.75s}.yarl__slide_loading line:nth-of-type(3){animation-delay:-1.625s}.yarl__slide_loading line:nth-of-type(4){animation-delay:-1.5s}.yarl__slide_loading line:nth-of-type(5){animation-delay:-1.375s}.yarl__slide_loading line:nth-of-type(6){animation-delay:-1.25s}.yarl__slide_loading line:nth-of-type(7){animation-delay:-1.125s}.yarl__slide_loading line:nth-of-type(8){animation-delay:-1s}.yarl__slide_error{color:var(--yarl__slide_icon_error_color, red);height:var(--yarl__slide_icon_error_size, 48px);width:var(--yarl__slide_icon_error_size, 48px)}@media(prefers-reduced-motion){.yarl__portal,.yarl__slide{transition:unset}.yarl__slide_loading,.yarl__slide_loading line{animation:unset}}.yarl__toolbar{bottom:auto;display:flex;justify-content:flex-end;left:auto;padding:var(--yarl__toolbar_padding, 8px);position:absolute;right:0;top:0}[dir=rtl] .yarl__toolbar{bottom:auto;left:0;right:auto;top:0}.yarl__icon{height:var(--yarl__icon_size, 32px);width:var(--yarl__icon_size, 32px)}.yarl__button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--yarl__button_background_color, transparent);border:var(--yarl__button_border, 0);color:var(--yarl__color_button, hsla(0, 0%, 100%, 0.8));cursor:pointer;filter:var(--yarl__button_filter, drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.8)));line-height:0;margin:var(--yarl__button_margin, 0);outline:none;padding:var(--yarl__button_padding, 8px);-webkit-tap-highlight-color:rgba(0,0,0,0)}.yarl__button:focus{color:var(--yarl__color_button_active, #fff)}.yarl__button:focus:not(:focus-visible){color:var(--yarl__color_button, hsla(0, 0%, 100%, 0.8))}.yarl__button:focus-visible{color:var(--yarl__color_button_active, #fff)}@media(hover: hover){.yarl__button:focus-visible:hover,.yarl__button:focus:hover,.yarl__button:hover{color:var(--yarl__color_button_active, #fff)}}.yarl__button:disabled{color:var(--yarl__color_button_disabled, hsla(0, 0%, 100%, 0.4));cursor:default}.yarl__navigation_next,.yarl__navigation_prev{padding:var(--yarl__navigation_button_padding, 24px 16px);position:absolute;top:50%;transform:translateY(-50%)}.yarl__navigation_prev{left:0}[dir=rtl] .yarl__navigation_prev{left:unset;right:0;transform:translateY(-50%) rotate(180deg)}.yarl__navigation_next{right:0}[dir=rtl] .yarl__navigation_next{left:0;right:unset;transform:translateY(-50%) rotate(180deg)}.yarl__no_scroll{height:100%;overflow:hidden;overscroll-behavior:none}@keyframes yarl__delayed_fadein{0%{opacity:0}80%{opacity:0}to{opacity:1}}@keyframes yarl__stroke_opacity{0%{stroke-opacity:1}to{stroke-opacity:.125}}","",{version:3,sources:["webpack://./../../common/temp/node_modules/.pnpm/yet-another-react-lightbox@3.20.0_react-dom@18.3.1_react@18.3.1/node_modules/yet-another-react-lightbox/dist/styles.css"],names:[],mappings:"AAAA,gBAAA,WAAA,CAAA,UAAA,CAAA,gBAAA,iBAAA,CAAA,cAAA,QAAA,CAAA,MAAA,CAAA,SAAA,CAAA,eAAA,CAAA,cAAA,CAAA,OAAA,CAAA,KAAA,CAAA,gHAAA,CAAA,wCAAA,CAAA,mBAAA,SAAA,CAAA,iBAAA,2FAAA,CAAA,QAAA,CAAA,MAAA,CAAA,YAAA,CAAA,eAAA,CAAA,wEAAA,CAAA,iBAAA,CAAA,OAAA,CAAA,KAAA,CAAA,uDAAA,CAAA,wBAAA,CAAA,qBAAA,CAAA,gBAAA,CAAA,gBAAA,oBAAA,CAAA,mBAAA,CAAA,YAAA,CAAA,aAAA,CAAA,WAAA,CAAA,sBAAA,CAAA,oCAAA,CAAA,8EAAA,CAAA,0JAAA,CAAA,4BAAA,4OAAA,CAAA,uOAAA,CAAA,mBAAA,oBAAA,CAAA,kBAAA,CAAA,YAAA,CAAA,sBAAA,CAAA,aAAA,MAAA,CAAA,eAAA,CAAA,oOAAA,CAAA,iBAAA,CAAA,uBAAA,oBAAA,CAAA,mBAAA,eAAA,CAAA,cAAA,CAAA,qBAAA,CAAA,kBAAA,CAAA,uDAAA,CAAA,qBAAA,CAAA,gBAAA,CAAA,wBAAA,CAAA,0BAAA,CAAA,qCAAA,mBAAA,kCAAA,CAAA,+BAAA,CAAA,mCAAA,CAAA,CAAA,yBAAA,WAAA,CAAA,mBAAA,CAAA,gBAAA,CAAA,UAAA,CAAA,2BAAA,SAAA,CAAA,yBAAA,QAAA,CAAA,aAAA,CAAA,iBAAA,CAAA,OAAA,CAAA,2CAAA,CAAA,qBAAA,wCAAA,CAAA,8FAAA,CAAA,0BAAA,iDAAA,CAAA,wCAAA,uBAAA,CAAA,yCAAA,sBAAA,CAAA,yCAAA,uBAAA,CAAA,yCAAA,qBAAA,CAAA,yCAAA,uBAAA,CAAA,yCAAA,sBAAA,CAAA,yCAAA,uBAAA,CAAA,yCAAA,mBAAA,CAAA,mBAAA,8CAAA,CAAA,+CAAA,CAAA,8CAAA,CAAA,+BAAA,2BAAA,gBAAA,CAAA,+CAAA,eAAA,CAAA,CAAA,eAAA,WAAA,CAAA,YAAA,CAAA,wBAAA,CAAA,SAAA,CAAA,yCAAA,CAAA,iBAAA,CAAA,OAAA,CAAA,KAAA,CAAA,yBAAA,WAAA,CAAA,MAAA,CAAA,UAAA,CAAA,KAAA,CAAA,YAAA,mCAAA,CAAA,kCAAA,CAAA,cAAA,uBAAA,CAAA,oBAAA,CAAA,eAAA,CAAA,kEAAA,CAAA,oCAAA,CAAA,uDAAA,CAAA,cAAA,CAAA,8EAAA,CAAA,aAAA,CAAA,oCAAA,CAAA,YAAA,CAAA,wCAAA,CAAA,yCAAA,CAAA,oBAAA,4CAAA,CAAA,wCAAA,uDAAA,CAAA,4BAAA,4CAAA,CAAA,qBAAA,gFAAA,4CAAA,CAAA,CAAA,uBAAA,gEAAA,CAAA,cAAA,CAAA,8CAAA,yDAAA,CAAA,iBAAA,CAAA,OAAA,CAAA,0BAAA,CAAA,uBAAA,MAAA,CAAA,iCAAA,UAAA,CAAA,OAAA,CAAA,yCAAA,CAAA,uBAAA,OAAA,CAAA,iCAAA,MAAA,CAAA,WAAA,CAAA,yCAAA,CAAA,iBAAA,WAAA,CAAA,eAAA,CAAA,wBAAA,CAAA,gCAAA,GAAA,SAAA,CAAA,IAAA,SAAA,CAAA,GAAA,SAAA,CAAA,CAAA,gCAAA,GAAA,gBAAA,CAAA,GAAA,mBAAA,CAAA",sourcesContent:[".yarl__fullsize{height:100%;width:100%}.yarl__relative{position:relative}.yarl__portal{bottom:0;left:0;opacity:0;overflow:hidden;position:fixed;right:0;top:0;transition:opacity var(--yarl__fade_animation_duration,.25s) var(--yarl__fade_animation_timing_function,ease);z-index:var(--yarl__portal_zindex,9999)}.yarl__portal_open{opacity:1}.yarl__container{background-color:var(--yarl__container_background_color,var(--yarl__color_backdrop,#000));bottom:0;left:0;outline:none;overflow:hidden;overscroll-behavior:var(--yarl__controller_overscroll_behavior,contain);position:absolute;right:0;top:0;touch-action:var(--yarl__controller_touch_action,none);-webkit-user-select:none;-moz-user-select:none;user-select:none}.yarl__carousel{align-content:center;align-items:stretch;display:flex;flex:0 0 auto;height:100%;justify-content:center;opacity:var(--yarl__pull_opacity,1);transform:translate(var(--yarl__swipe_offset,0),var(--yarl__pull_offset,0));width:calc(100% + (var(--yarl__carousel_slides_count) - 1)*(100% + var(--yarl__carousel_spacing_px, 0)*1px + var(--yarl__carousel_spacing_percent, 0)*1%))}.yarl__carousel_with_slides{-moz-column-gap:calc(var(--yarl__carousel_spacing_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_spacing_percent, 0)*1%);column-gap:calc(var(--yarl__carousel_spacing_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_spacing_percent, 0)*1%)}.yarl__flex_center{align-content:center;align-items:center;display:flex;justify-content:center}.yarl__slide{flex:1;overflow:hidden;padding:calc(var(--yarl__carousel_padding_px, 0)*1px + 100/(var(--yarl__carousel_slides_count)*100 + (var(--yarl__carousel_slides_count) - 1)*var(--yarl__carousel_spacing_percent, 0))*var(--yarl__carousel_padding_percent, 0)*1%);position:relative}[dir=rtl] .yarl__slide{--yarl__direction:-1}.yarl__slide_image{max-height:100%;max-width:100%;-o-object-fit:contain;object-fit:contain;touch-action:var(--yarl__controller_touch_action,none);-moz-user-select:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}@media screen and (min-width:800px){.yarl__slide_image{-webkit-backface-visibility:hidden;-webkit-transform:translateZ(0);-webkit-transform-style:preserve-3d}}.yarl__slide_image_cover{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.yarl__slide_image_loading{opacity:0}.yarl__slide_placeholder{left:50%;line-height:0;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%)}.yarl__slide_loading{animation:yarl__delayed_fadein 1s linear;color:var(--yarl__slide_icon_loading_color,var(--yarl__color_button,hsla(0,0%,100%,.8)))}.yarl__slide_loading line{animation:yarl__stroke_opacity 1s linear infinite}.yarl__slide_loading line:first-of-type{animation-delay:-1.875s}.yarl__slide_loading line:nth-of-type(2){animation-delay:-1.75s}.yarl__slide_loading line:nth-of-type(3){animation-delay:-1.625s}.yarl__slide_loading line:nth-of-type(4){animation-delay:-1.5s}.yarl__slide_loading line:nth-of-type(5){animation-delay:-1.375s}.yarl__slide_loading line:nth-of-type(6){animation-delay:-1.25s}.yarl__slide_loading line:nth-of-type(7){animation-delay:-1.125s}.yarl__slide_loading line:nth-of-type(8){animation-delay:-1s}.yarl__slide_error{color:var(--yarl__slide_icon_error_color,red);height:var(--yarl__slide_icon_error_size,48px);width:var(--yarl__slide_icon_error_size,48px)}@media (prefers-reduced-motion){.yarl__portal,.yarl__slide{transition:unset}.yarl__slide_loading,.yarl__slide_loading line{animation:unset}}.yarl__toolbar{bottom:auto;display:flex;justify-content:flex-end;left:auto;padding:var(--yarl__toolbar_padding,8px);position:absolute;right:0;top:0}[dir=rtl] .yarl__toolbar{bottom:auto;left:0;right:auto;top:0}.yarl__icon{height:var(--yarl__icon_size,32px);width:var(--yarl__icon_size,32px)}.yarl__button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--yarl__button_background_color,transparent);border:var(--yarl__button_border,0);color:var(--yarl__color_button,hsla(0,0%,100%,.8));cursor:pointer;filter:var(--yarl__button_filter,drop-shadow(2px 2px 2px rgba(0,0,0,.8)));line-height:0;margin:var(--yarl__button_margin,0);outline:none;padding:var(--yarl__button_padding,8px);-webkit-tap-highlight-color:transparent}.yarl__button:focus{color:var(--yarl__color_button_active,#fff)}.yarl__button:focus:not(:focus-visible){color:var(--yarl__color_button,hsla(0,0%,100%,.8))}.yarl__button:focus-visible{color:var(--yarl__color_button_active,#fff)}@media (hover:hover){.yarl__button:focus-visible:hover,.yarl__button:focus:hover,.yarl__button:hover{color:var(--yarl__color_button_active,#fff)}}.yarl__button:disabled{color:var(--yarl__color_button_disabled,hsla(0,0%,100%,.4));cursor:default}.yarl__navigation_next,.yarl__navigation_prev{padding:var(--yarl__navigation_button_padding,24px 16px);position:absolute;top:50%;transform:translateY(-50%)}.yarl__navigation_prev{left:0}[dir=rtl] .yarl__navigation_prev{left:unset;right:0;transform:translateY(-50%) rotate(180deg)}.yarl__navigation_next{right:0}[dir=rtl] .yarl__navigation_next{left:0;right:unset;transform:translateY(-50%) rotate(180deg)}.yarl__no_scroll{height:100%;overflow:hidden;overscroll-behavior:none}@keyframes yarl__delayed_fadein{0%{opacity:0}80%{opacity:0}to{opacity:1}}@keyframes yarl__stroke_opacity{0%{stroke-opacity:1}to{stroke-opacity:.125}}"],sourceRoot:""}]);const s=a},40910:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(67661),o=n.n(r),i=n(67387),a=n.n(i)()(o());a.push([e.id,".keyboard-focused{border:revert !important}[class*=mapContainer].keyboard-focused{border:#000 solid 2px !important}.geoview-map{position:relative !important}.ol-overlaycontainer-stopevent .ol-overviewmap:not(:last-child){display:none}@media(max-width: 960px){.ol-overviewmap{display:none}}.guideBox h3 img{vertical-align:bottom}.guideBox h4 img{vertical-align:bottom}.guideBox p img{vertical-align:bottom}","",{version:3,sources:["webpack://./src/ui/style/style.css"],names:[],mappings:"AAGA,kBACE,wBAAA,CAIF,uCACE,gCAAA,CAGF,aACE,4BAAA,CAOF,gEACE,YAAA,CAEF,yBACE,gBACE,YAAA,CAAA,CAKJ,iBACE,qBAAA,CAEF,iBACE,qBAAA,CAEF,gBACE,qBAAA",sourcesContent:["/*\nHold viewer specific css not inside theme\n*/\n.keyboard-focused {\n border: revert !important;\n}\n\n/* Work around to have border map container focus */\n[class*='mapContainer'].keyboard-focused {\n border: #000 solid 2px !important;\n}\n\n.geoview-map {\n position: relative !important;\n}\n\n/* FIX: fix issue when overview map is added on resize.\n This is a patch and would better resolve managing the screen resize event and trap the control creation.\n Because it would not happen very often in production it may be a suitable patch. \n*/\n.ol-overlaycontainer-stopevent .ol-overviewmap:not(:last-child) {\n display: none;\n}\n@media (max-width: 960px) {\n .ol-overviewmap {\n display: none;\n }\n}\n\n/* specifiv style for icon alignement in guide component */\n.guideBox h3 img {\n vertical-align: bottom;\n}\n.guideBox h4 img {\n vertical-align: bottom;\n}\n.guideBox p img {\n vertical-align: bottom;\n}\n"],sourceRoot:""}]);const s=a},4975:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(67661),o=n.n(r),i=n(67387),a=n.n(i)()(o());a.push([e.id,".ol-scale-line-inner{display:none}","",{version:3,sources:["webpack://./src/ui/style/vendor.css"],names:[],mappings:"AAOA,qBACE,YAAA",sourcesContent:["/*\r\nHold all third party libraries override\r\n*/\r\n\r\n/*\r\nOpenLayers\r\n*/\r\n.ol-scale-line-inner {\r\n display: none;\r\n}"],sourceRoot:""}]);const s=a},67387:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},48722:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},67661:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),i="/*# ".concat(o," */");return[t].concat([i]).join("\n")}return[t].join("\n")}},78185:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,r="millisecond",o="second",i="minute",a="hour",s="day",l="week",c="month",u="quarter",d="year",h="date",p="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}},y=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},v={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),o=n%60;return(t<=0?"+":"-")+y(r,2,"0")+":"+y(o,2,"0")},m:function e(t,n){if(t.date()1)return e(a[0])}else{var s=t.name;w[s]=t,o=s}return!r&&o&&(b=o),o||!r&&b},C=function(e,t){if(x(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new k(n)},E=v;E.l=S,E.i=x,E.w=function(e,t){return C(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var k=function(){function m(e){this.$L=S(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[A]=!0}var y=m.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(E.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(f);if(r){var o=r[2]-1||0,i=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)):new Date(r[1],o,r[3]||1,r[4]||0,r[5]||0,r[6]||0,i)}}return new Date(t)}(e),this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return E},y.isValid=function(){return!(this.$d.toString()===p)},y.isSame=function(e,t){var n=C(e);return this.startOf(t)<=n&&n<=this.endOf(t)},y.isAfter=function(e,t){return C(e)68?1900:2e3)},s=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return 0===n?0:"+"===t[0]?-n:n}(e)}],c=function(e){var t=i[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var n,r=i.meridiem;if(r){for(var o=1;o<=24;o+=1)if(e.indexOf(r(o,0,t))>-1){n=o>12;break}}else n=e===(t?"pm":"PM");return n},d={A:[o,function(e){this.afternoon=u(e,!1)}],a:[o,function(e){this.afternoon=u(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[n,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[r,s("seconds")],ss:[r,s("seconds")],m:[r,s("minutes")],mm:[r,s("minutes")],H:[r,s("hours")],h:[r,s("hours")],HH:[r,s("hours")],hh:[r,s("hours")],D:[r,s("day")],DD:[n,s("day")],Do:[o,function(e){var t=i.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,"")===e&&(this.day=r)}],M:[r,s("month")],MM:[n,s("month")],MMM:[o,function(e){var t=c("months"),n=(c("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[o,function(e){var t=c("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(e){this.year=a(e)}],YYYY:[/\d{4}/,s("year")],Z:l,ZZ:l};function h(n){var r,o;r=n,o=i&&i.formats;for(var a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var i=r&&r.toUpperCase();return n||o[r]||e[r]||o[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,l=0;l-1)return new Date(("X"===t?1e3:1)*e);var r=h(t)(e),o=r.year,i=r.month,a=r.day,s=r.hours,l=r.minutes,c=r.seconds,u=r.milliseconds,d=r.zone,p=new Date,f=a||(o||i?1:p.getDate()),g=o||p.getFullYear(),m=0;o&&!i||(m=i>0?i-1:p.getMonth());var y=s||0,v=l||0,b=c||0,w=u||0;return d?new Date(Date.UTC(g,m,f,y,v,b,w+60*d.offset*1e3)):n?new Date(Date.UTC(g,m,f,y,v,b,w)):new Date(g,m,f,y,v,b,w)}catch(e){return new Date("")}}(t,s,r),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date("")),i={}}else if(s instanceof Array)for(var p=s.length,f=1;f<=p;f+=1){a[1]=s[f-1];var g=n.apply(this,a);if(g.isValid()){this.$d=g.$d,this.$L=g.$L,this.init();break}f===p&&(this.$d=new Date(""))}else o.call(this,e)}}}()},75274:function(e){e.exports=function(){"use strict";var e,t,n=1e3,r=6e4,o=36e5,i=864e5,a=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,s=31536e6,l=2628e6,c=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,u={years:s,months:l,days:i,hours:o,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},d=function(e){return e instanceof v},h=function(e,t,n){return new v(e,n,t.$l)},p=function(e){return t.p(e)+"s"},f=function(e){return e<0},g=function(e){return f(e)?Math.ceil(e):Math.floor(e)},m=function(e){return Math.abs(e)},y=function(e,t){return e?f(e)?{negative:!0,format:""+m(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},v=function(){function f(e,t,n){var r=this;if(this.$d={},this.$l=n,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t)return h(e*u[p(t)],this);if("number"==typeof e)return this.$ms=e,this.parseFromMilliseconds(),this;if("object"==typeof e)return Object.keys(e).forEach((function(t){r.$d[p(t)]=e[t]})),this.calMilliseconds(),this;if("string"==typeof e){var o=e.match(c);if(o){var i=o.slice(2).map((function(e){return null!=e?Number(e):0}));return this.$d.years=i[0],this.$d.months=i[1],this.$d.weeks=i[2],this.$d.days=i[3],this.$d.hours=i[4],this.$d.minutes=i[5],this.$d.seconds=i[6],this.calMilliseconds(),this}}return this}var m=f.prototype;return m.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*u[n]}),0)},m.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=g(e/s),e%=s,this.$d.months=g(e/l),e%=l,this.$d.days=g(e/i),e%=i,this.$d.hours=g(e/o),e%=o,this.$d.minutes=g(e/r),e%=r,this.$d.seconds=g(e/n),e%=n,this.$d.milliseconds=e},m.toISOString=function(){var e=y(this.$d.years,"Y"),t=y(this.$d.months,"M"),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=y(n,"D"),o=y(this.$d.hours,"H"),i=y(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var s=y(a,"S"),l=e.negative||t.negative||r.negative||o.negative||i.negative||s.negative,c=o.format||i.format||s.format?"T":"",u=(l?"-":"")+"P"+e.format+t.format+r.format+c+o.format+i.format+s.format;return"P"===u||"-P"===u?"P0D":u},m.toJSON=function(){return this.toISOString()},m.format=function(e){var n=e||"YYYY-MM-DDTHH:mm:ss",r={Y:this.$d.years,YY:t.s(this.$d.years,2,"0"),YYYY:t.s(this.$d.years,4,"0"),M:this.$d.months,MM:t.s(this.$d.months,2,"0"),D:this.$d.days,DD:t.s(this.$d.days,2,"0"),H:this.$d.hours,HH:t.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,"0"),SSS:t.s(this.$d.milliseconds,3,"0")};return n.replace(a,(function(e,t){return t||String(r[e])}))},m.as=function(e){return this.$ms/u[p(e)]},m.get=function(e){var t=this.$ms,n=p(e);return"milliseconds"===n?t%=1e3:t="weeks"===n?g(t/u[n]):this.$d[n],t||0},m.add=function(e,t,n){var r;return r=t?e*u[p(t)]:d(e)?e.$ms:h(e,this).$ms,h(this.$ms+r*(n?-1:1),this)},m.subtract=function(e,t){return this.add(e,t,!0)},m.locale=function(e){var t=this.clone();return t.$l=e,t},m.clone=function(){return h(this.$ms,this)},m.humanize=function(t){return e().add(this.$ms,"ms").locale(this.$l).fromNow(!t)},m.valueOf=function(){return this.asMilliseconds()},m.milliseconds=function(){return this.get("milliseconds")},m.asMilliseconds=function(){return this.as("milliseconds")},m.seconds=function(){return this.get("seconds")},m.asSeconds=function(){return this.as("seconds")},m.minutes=function(){return this.get("minutes")},m.asMinutes=function(){return this.as("minutes")},m.hours=function(){return this.get("hours")},m.asHours=function(){return this.as("hours")},m.days=function(){return this.get("days")},m.asDays=function(){return this.as("days")},m.weeks=function(){return this.get("weeks")},m.asWeeks=function(){return this.as("weeks")},m.months=function(){return this.get("months")},m.asMonths=function(){return this.as("months")},m.years=function(){return this.get("years")},m.asYears=function(){return this.as("years")},f}(),b=function(e,t,n){return e.add(t.years()*n,"y").add(t.months()*n,"M").add(t.days()*n,"d").add(t.hours()*n,"h").add(t.minutes()*n,"m").add(t.seconds()*n,"s").add(t.milliseconds()*n,"ms")};return function(n,r,o){e=o,t=o().$utils(),o.duration=function(e,t){var n=o.locale();return h(e,{$l:n},t)},o.isDuration=d;var i=r.prototype.add,a=r.prototype.subtract;r.prototype.add=function(e,t){return d(e)?b(this,e,1):i.bind(this)(e,t)},r.prototype.subtract=function(e,t){return d(e)?b(this,e,-1):a.bind(this)(e,t)}}}()},45816:function(e){e.exports=function(){"use strict";return function(e,t,n){t.prototype.isBetween=function(e,t,r,o){var i=n(e),a=n(t),s="("===(o=o||"()")[0],l=")"===o[1];return(s?this.isAfter(i,r):!this.isBefore(i,r))&&(l?this.isBefore(a,r):!this.isAfter(a,r))||(s?this.isBefore(i,r):!this.isAfter(i,r))&&(l?this.isAfter(a,r):!this.isBefore(a,r))}}}()},13246:function(e){e.exports=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(t,n,r){var o=n.prototype,i=o.format;r.en.formats=e,o.format=function(t){void 0===t&&(t="YYYY-MM-DDTHH:mm:ssZ");var n=this.$locale().formats,r=function(t,n){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,o){var i=o&&o.toUpperCase();return r||n[o]||e[o]||n[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))}(t,void 0===n?{}:n);return i.call(this,r)}}}()},31770:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,o,i){var a=o.prototype;i.utc=function(e){return new o({date:e,utc:!0,args:arguments})},a.utc=function(t){var n=i(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var s=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var l=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var c=a.utcOffset;a.utcOffset=function(r,o){var i=this.$utils().u;if(i(r))return this.$u?0:i(this.$offset)?c.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(n)||["-",0,0],i=o[0],a=60*+o[1]+ +o[2];return 0===a?0:"+"===i?a:-a}(r),null===r))return this;var a=Math.abs(r)<=16?60*r:r,s=this;if(o)return s.$offset=a,s.$u=0===r,s;if(0!==r){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(a+l,e)).$offset=a,s.$x.$localOffset=l}else s=this.utc();return s};var u=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var d=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var h=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return h.call(this,e,t,n);var r=this.local(),o=i(e).local();return h.call(r,o,t,n)}}}()},41294:function(e){e.exports=function(){"use strict";var e="week",t="year";return function(n,r,o){var i=r.prototype;i.week=function(n){if(void 0===n&&(n=null),null!==n)return this.add(7*(n-this.week()),"day");var r=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var i=o(this).startOf(t).add(1,t).date(r),a=o(this).endOf(e);if(i.isBefore(a))return 1}var s=o(this).startOf(t).date(r).startOf(e).subtract(1,"millisecond"),l=this.diff(s,e,!0);return l<0?o(this).startOf("week").week():Math.ceil(l)},i.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}()},29221:e=>{"use strict";var t="%[a-f0-9]{2}",n=new RegExp("("+t+")|([^%]+?)","gi"),r=new RegExp("("+t+")+","gi");function o(e,t){try{return[decodeURIComponent(e.join(""))]}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],o(n),o(r))}function i(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(n)||[],r=1;r{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,t,n){var o={};return n.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=r(e[t],n)})),i(t).forEach((function(i){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(a(e,i)&&n.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"==typeof n?n:l}(i,n)(e[i],t[i],n):o[i]=r(t[i],n))})),o}function l(e,n,i){(i=i||{}).arrayMerge=i.arrayMerge||o,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?i.arrayMerge(e,n,i):s(e,n,i):r(n,i)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return l(e,n,t)}),{})};var c=l;e.exports=c},88359:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((function(e){return[e.toLowerCase(),e]}))),t.attributeNames=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((function(e){return[e.toLowerCase(),e]})))},56963:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n");case s.Comment:return function(e){return"\x3c!--".concat(e.data,"--\x3e")}(e);case s.CDATA:return function(e){return"")}(e);case s.Script:case s.Style:case s.Tag:return function(e,t){var n;"foreign"===t.xmlMode&&(e.name=null!==(n=c.elementNames.get(e.name))&&void 0!==n?n:e.name,e.parent&&g.has(e.parent.name)&&(t=r(r({},t),{xmlMode:!1})));!t.xmlMode&&m.has(e.name)&&(t=r(r({},t),{xmlMode:"foreign"}));var o="<".concat(e.name),i=function(e,t){var n;if(e){var r=!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)?d:t.xmlMode||"utf8"!==t.encodeEntities?l.encodeXML:l.escapeAttribute;return Object.keys(e).map((function(n){var o,i,a=null!==(o=e[n])&&void 0!==o?o:"";return"foreign"===t.xmlMode&&(n=null!==(i=c.attributeNames.get(n))&&void 0!==i?i:n),t.emptyAttrs||t.xmlMode||""!==a?"".concat(n,'="').concat(r(a),'"'):n})).join(" ")}}(e.attribs,t);i&&(o+=" ".concat(i));0===e.children.length&&(t.xmlMode?!1!==t.selfClosingTags:t.selfClosingTags&&h.has(e.name))?(t.xmlMode||(o+=" "),o+="/>"):(o+=">",e.children.length>0&&(o+=p(e.children,t)),!t.xmlMode&&h.has(e.name)||(o+="")));return o}(e,t);case s.Text:return function(e,t){var n,r=e.data||"";!1===(null!==(n=t.encodeEntities)&&void 0!==n?n:t.decodeEntities)||!t.xmlMode&&e.parent&&u.has(e.parent.name)||(r=t.xmlMode||"utf8"!==t.encodeEntities?(0,l.encodeXML)(r):(0,l.escapeText)(r));return r}(e,t)}}t.render=p,t.default=p;var g=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"]),m=new Set(["svg","math"])},54718:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},62679:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(54718),a=n(56679);o(n(56679),t);var s=/\s+/g,l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},c=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=l),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:l,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,n=this.lastNode;if(n&&n.type===i.ElementType.Text)t?n.data=(n.data+e).replace(s," "):n.data+=e,this.options.withEndIndices&&(n.endIndex=this.parser.endIndex);else{t&&(e=e.replace(s," "));var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.NodeWithChildren(i.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=c,t.default=c},56679:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=p;var f=function(e){function t(t){return e.call(this,a.ElementType.Root,t)||this}return o(t,e),t}(p);t.Document=f;var g=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,o,r)||this;return i.name=t,i.attribs=n,i}return o(t,e),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(p);function m(e){return(0,a.isTag)(e)}function y(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function w(e){return e.type===a.ElementType.Directive}function A(e){return e.type===a.ElementType.Root}function x(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new u(e.data);else if(b(e))n=new d(e.data);else if(m(e)){var r=t?S(e.children):[],o=new g(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(y(e)){r=t?S(e.children):[];var s=new p(a.ElementType.CDATA,r);r.forEach((function(e){return e.parent=s})),n=s}else if(A(e)){r=t?S(e.children):[];var l=new f(r);r.forEach((function(e){return e.parent=l})),e["x-mode"]&&(l["x-mode"]=e["x-mode"]),n=l}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var c=new h(e.name,e.data);null!=e["x-name"]&&(c["x-name"]=e["x-name"],c["x-publicId"]=e["x-publicId"],c["x-systemId"]=e["x-systemId"]),n=c}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function S(e){for(var t=e.map((function(e){return x(e,!0)})),n=1;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=h;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(h);t.CDATA=p;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(h);t.Document=f;var g=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,r)||this;return i.name=t,i.attribs=n,i.type=o,i}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(h);function m(e){return(0,a.isTag)(e)}function y(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function w(e){return e.type===a.ElementType.Directive}function A(e){return e.type===a.ElementType.Root}function x(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new c(e.data);else if(b(e))n=new u(e.data);else if(m(e)){var r=t?S(e.children):[],o=new g(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(y(e)){r=t?S(e.children):[];var a=new p(r);r.forEach((function(e){return e.parent=a})),n=a}else if(A(e)){r=t?S(e.children):[];var s=new f(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function S(e){for(var t=e.map((function(e){return x(e,!0)})),n=1;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void 0;var r=n(11662),o=n(10944);t.getFeed=function(e){var t=l(d,e);return t?"feed"===t.name?function(e){var t,n=e.children,r={type:"atom",items:(0,o.getElementsByTagName)("entry",n).map((function(e){var t,n=e.children,r={media:s(n)};u(r,"id","id",n),u(r,"title","title",n);var o=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;o&&(r.link=o);var i=c("summary",n)||c("content",n);i&&(r.description=i);var a=c("updated",n);return a&&(r.pubDate=new Date(a)),r}))};u(r,"id","id",n),u(r,"title","title",n);var i=null===(t=l("link",n))||void 0===t?void 0:t.attribs.href;i&&(r.link=i);u(r,"description","subtitle",n);var a=c("updated",n);a&&(r.updated=new Date(a));return u(r,"author","email",n,!0),r}(t):function(e){var t,n,r=null!==(n=null===(t=l("channel",e.children))||void 0===t?void 0:t.children)&&void 0!==n?n:[],i={type:e.name.substr(0,3),id:"",items:(0,o.getElementsByTagName)("item",e.children).map((function(e){var t=e.children,n={media:s(t)};u(n,"id","guid",t),u(n,"title","title",t),u(n,"link","link",t),u(n,"description","description",t);var r=c("pubDate",t)||c("dc:date",t);return r&&(n.pubDate=new Date(r)),n}))};u(i,"title","title",r),u(i,"link","link",r),u(i,"description","description",r);var a=c("lastBuildDate",r);a&&(i.updated=new Date(a));return u(i,"author","managingEditor",r,!0),i}(t):null};var i=["url","type","lang"],a=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function s(e){return(0,o.getElementsByTagName)("media:content",e).map((function(e){for(var t=e.attribs,n={medium:t.medium,isDefault:!!t.isDefault},r=0,o=i;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.uniqueSort=t.compareDocumentPosition=t.DocumentPosition=t.removeSubsets=void 0;var r,o=n(71667);function i(e,t){var n=[],i=[];if(e===t)return 0;for(var a=(0,o.hasChildren)(e)?e:e.parent;a;)n.unshift(a),a=a.parent;for(a=(0,o.hasChildren)(t)?t:t.parent;a;)i.unshift(a),a=a.parent;for(var s=Math.min(n.length,i.length),l=0;lu.indexOf(h)?c===t?r.FOLLOWING|r.CONTAINED_BY:r.FOLLOWING:c===e?r.PRECEDING|r.CONTAINS:r.PRECEDING}t.removeSubsets=function(e){for(var t=e.length;--t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0)e.splice(t,1);else for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e},function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"}(r=t.DocumentPosition||(t.DocumentPosition={})),t.compareDocumentPosition=i,t.uniqueSort=function(e){return(e=e.filter((function(e,t,n){return!n.includes(e,t+1)}))).sort((function(e,t){var n=i(e,t);return n&r.PRECEDING?-1:n&r.FOLLOWING?1:0})),e}},13975:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,o(n(11662),t),o(n(75257),t),o(n(41694),t),o(n(29727),t),o(n(10944),t),o(n(62614),t),o(n(52674),t);var i=n(71667);Object.defineProperty(t,"isTag",{enumerable:!0,get:function(){return i.isTag}}),Object.defineProperty(t,"isCDATA",{enumerable:!0,get:function(){return i.isCDATA}}),Object.defineProperty(t,"isText",{enumerable:!0,get:function(){return i.isText}}),Object.defineProperty(t,"isComment",{enumerable:!0,get:function(){return i.isComment}}),Object.defineProperty(t,"isDocument",{enumerable:!0,get:function(){return i.isDocument}}),Object.defineProperty(t,"hasChildren",{enumerable:!0,get:function(){return i.hasChildren}})},10944:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var r=n(71667),o=n(29727),i={tag_name:function(e){return"function"==typeof e?function(t){return(0,r.isTag)(t)&&e(t.name)}:"*"===e?r.isTag:function(t){return(0,r.isTag)(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return(0,r.isText)(t)&&e(t.data)}:function(t){return(0,r.isText)(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(n){return(0,r.isTag)(n)&&t(n.attribs[e])}:function(n){return(0,r.isTag)(n)&&n.attribs[e]===t}}function s(e,t){return function(n){return e(n)||t(n)}}function l(e){var t=Object.keys(e).map((function(t){var n=e[t];return Object.prototype.hasOwnProperty.call(i,t)?i[t](n):a(t,n)}));return 0===t.length?null:t.reduce(s)}t.testElement=function(e,t){var n=l(e);return!n||n(t)},t.getElements=function(e,t,n,r){void 0===r&&(r=1/0);var i=l(e);return i?(0,o.filter)(i,t,n,r):[]},t.getElementById=function(e,t,n){return void 0===n&&(n=!0),Array.isArray(t)||(t=[t]),(0,o.findOne)(a("id",e),t,n)},t.getElementsByTagName=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,o.filter)(i.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,o.filter)(i.tag_type(e),t,n,r)}},41694:(e,t)=>{"use strict";function n(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children,n=t.lastIndexOf(e);n>=0&&t.splice(n,1)}e.next=null,e.prev=null,e.parent=null}Object.defineProperty(t,"__esModule",{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=n,t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var o=t.parent=e.parent;if(o){var i=o.children;i[i.lastIndexOf(e)]=t,e.parent=null}},t.appendChild=function(e,t){if(n(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null},t.append=function(e,t){n(t);var r=e.parent,o=e.next;if(t.next=o,t.prev=e,e.next=t,t.parent=r,o){if(o.prev=t,r){var i=r.children;i.splice(i.lastIndexOf(o),0,t)}}else r&&r.children.push(t)},t.prependChild=function(e,t){if(n(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var r=e.children[1];r.prev=t,t.next=r}else t.next=null},t.prepend=function(e,t){n(t);var r=e.parent;if(r){var o=r.children;o.splice(o.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},29727:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var r=n(71667);function o(e,t,n,o){for(var i=[],a=[t],s=[0];;)if(s[0]>=a[0].length){if(1===s.length)return i;a.shift(),s.shift()}else{var l=a[0][s[0]++];if(e(l)&&(i.push(l),--o<=0))return i;n&&(0,r.hasChildren)(l)&&l.children.length>0&&(s.unshift(0),a.unshift(l.children))}}t.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),o(e,Array.isArray(t)?t:[t],n,r)},t.find=o,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,n,o){void 0===o&&(o=!0);for(var i=null,a=0;a0&&(i=e(t,s.children,!0)))}return i},t.existsOne=function e(t,n){return n.some((function(n){return(0,r.isTag)(n)&&(t(n)||e(t,n.children))}))},t.findAll=function(e,t){for(var n=[],o=[t],i=[0];;)if(i[0]>=o[0].length){if(1===o.length)return n;o.shift(),i.shift()}else{var a=o[0][i[0]++];(0,r.isTag)(a)&&(e(a)&&n.push(a),a.children.length>0&&(i.unshift(0),o.unshift(a.children)))}}},11662:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var o=n(71667),i=r(n(56963)),a=n(54718);function s(e,t){return(0,i.default)(e,t)}t.getOuterHTML=s,t.getInnerHTML=function(e,t){return(0,o.hasChildren)(e)?e.children.map((function(e){return s(e,t)})).join(""):""},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,o.isTag)(t)?"br"===t.name?"\n":e(t.children):(0,o.isCDATA)(t)?e(t.children):(0,o.isText)(t)?t.data:""},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,o.hasChildren)(t)&&!(0,o.isComment)(t)?e(t.children):(0,o.isText)(t)?t.data:""},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(""):(0,o.hasChildren)(t)&&(t.type===a.ElementType.Tag||(0,o.isCDATA)(t))?e(t.children):(0,o.isText)(t)?t.data:""}},75257:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var r=n(71667);function o(e){return(0,r.hasChildren)(e)?e.children:[]}function i(e){return e.parent||null}t.getChildren=o,t.getParent=i,t.getSiblings=function(e){var t=i(e);if(null!=t)return o(t);for(var n=[e],r=e.prev,a=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=a;)n.push(a),a=a.next;return n},t.getAttributeValue=function(e,t){var n;return null===(n=e.attribs)||void 0===n?void 0:n[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,r.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,r.isTag)(t);)t=t.prev;return t}},37118:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXML=t.decodeHTMLStrict=t.decodeHTMLAttribute=t.decodeHTML=t.determineBranch=t.EntityDecoder=t.DecodingMode=t.BinTrieFlags=t.fromCodePoint=t.replaceCodePoint=t.decodeCodePoint=t.xmlDecodeTree=t.htmlDecodeTree=void 0;var s=a(n(13739));t.htmlDecodeTree=s.default;var l=a(n(74125));t.xmlDecodeTree=l.default;var c=i(n(75840));t.decodeCodePoint=c.default;var u,d=n(75840);Object.defineProperty(t,"replaceCodePoint",{enumerable:!0,get:function(){return d.replaceCodePoint}}),Object.defineProperty(t,"fromCodePoint",{enumerable:!0,get:function(){return d.fromCodePoint}}),function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"}(u||(u={}));var h,p,f;function g(e){return e>=u.ZERO&&e<=u.NINE}function m(e){return e===u.EQUALS||function(e){return e>=u.UPPER_A&&e<=u.UPPER_Z||e>=u.LOWER_A&&e<=u.LOWER_Z||g(e)}(e)}!function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"}(h=t.BinTrieFlags||(t.BinTrieFlags={})),function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"}(p||(p={})),function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"}(f=t.DecodingMode||(t.DecodingMode={}));var y=function(){function e(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=p.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=f.Strict}return e.prototype.startEntity=function(e){this.decodeMode=e,this.state=p.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1},e.prototype.write=function(e,t){switch(this.state){case p.EntityStart:return e.charCodeAt(t)===u.NUM?(this.state=p.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=p.NamedEntity,this.stateNamedEntity(e,t));case p.NumericStart:return this.stateNumericStart(e,t);case p.NumericDecimal:return this.stateNumericDecimal(e,t);case p.NumericHex:return this.stateNumericHex(e,t);case p.NamedEntity:return this.stateNamedEntity(e,t)}},e.prototype.stateNumericStart=function(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===u.LOWER_X?(this.state=p.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=p.NumericDecimal,this.stateNumericDecimal(e,t))},e.prototype.addToNumericResult=function(e,t,n,r){if(t!==n){var o=n-t;this.result=this.result*Math.pow(r,o)+parseInt(e.substr(t,o),r),this.consumed+=o}},e.prototype.stateNumericHex=function(e,t){for(var n,r=t;t=u.UPPER_A&&n<=u.UPPER_F||n>=u.LOWER_A&&n<=u.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(o,3);t+=1}return this.addToNumericResult(e,r,t,16),-1},e.prototype.stateNumericDecimal=function(e,t){for(var n=t;t>14;t>14)){if(i===u.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==f.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1},e.prototype.emitNotTerminatedNamedEntity=function(){var e,t=this.result,n=(this.decodeTree[t]&h.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed},e.prototype.emitNamedEntityData=function(e,t,n){var r=this.decodeTree;return this.emitCodePoint(1===t?r[e]&~h.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n},e.prototype.end=function(){var e;switch(this.state){case p.NamedEntity:return 0===this.result||this.decodeMode===f.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case p.NumericDecimal:return this.emitNumericEntity(0,2);case p.NumericHex:return this.emitNumericEntity(0,3);case p.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case p.EntityStart:return 0}},e}();function v(e){var t="",n=new y(e,(function(e){return t+=(0,c.fromCodePoint)(e)}));return function(e,r){for(var o=0,i=0;(i=e.indexOf("&",i))>=0;){t+=e.slice(o,i),n.startEntity(r);var a=n.write(e,i+1);if(a<0){o=i+n.end();break}o=i+a,i=0===a?o+1:o}var s=t+e.slice(o);return t="",s}}function b(e,t,n,r){var o=(t&h.BRANCH_LENGTH)>>7,i=t&h.JUMP_TABLE;if(0===o)return 0!==i&&r===i?n:-1;if(i){var a=r-i;return a<0||a>=o?-1:e[n+a]-1}for(var s=n,l=s+o-1;s<=l;){var c=s+l>>>1,u=e[c];if(ur))return e[c+o];l=c-1}}return-1}t.EntityDecoder=y,t.determineBranch=b;var w=v(s.default),A=v(l.default);t.decodeHTML=function(e,t){return void 0===t&&(t=f.Legacy),w(e,t)},t.decodeHTMLAttribute=function(e){return w(e,f.Attribute)},t.decodeHTMLStrict=function(e){return w(e,f.Strict)},t.decodeXML=function(e){return A(e,f.Strict)}},75840:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.replaceCodePoint=t.fromCodePoint=void 0;var r=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function o(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=r.get(e))&&void 0!==t?t:e}t.fromCodePoint=null!==(n=String.fromCodePoint)&&void 0!==n?n:function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)},t.replaceCodePoint=o,t.default=function(e){return(0,t.fromCodePoint)(o(e))}},70322:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.encodeNonAsciiHTML=t.encodeHTML=void 0;var o=r(n(36264)),i=n(34091),a=/[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g;function s(e,t){for(var n,r="",a=0;null!==(n=e.exec(t));){var s=n.index;r+=t.substring(a,s);var l=t.charCodeAt(s),c=o.default.get(l);if("object"==typeof c){if(s+1{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.getCodePoint=t.xmlReplacer=void 0,t.xmlReplacer=/["&'<>$\x80-\uFFFF]/g;var n=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]);function r(e){for(var r,o="",i=0;null!==(r=t.xmlReplacer.exec(e));){var a=r.index,s=e.charCodeAt(a),l=n.get(s);void 0!==l?(o+=e.substring(i,a)+l,i=a+1):(o+="".concat(e.substring(i,a),"&#x").concat((0,t.getCodePoint)(e,a).toString(16),";"),i=t.xmlReplacer.lastIndex+=Number(55296==(64512&s)))}return o+e.substr(i)}function o(e,t){return function(n){for(var r,o=0,i="";r=e.exec(n);)o!==r.index&&(i+=n.substring(o,r.index)),i+=t.get(r[0].charCodeAt(0)),o=r.index+1;return i+n.substring(o)}}t.getCodePoint=null!=String.prototype.codePointAt?function(e,t){return e.codePointAt(t)}:function(e,t){return 55296==(64512&e.charCodeAt(t))?1024*(e.charCodeAt(t)-55296)+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t)},t.encodeXML=r,t.escape=r,t.escapeUTF8=o(/[&<>'"]/g,n),t.escapeAttribute=o(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),t.escapeText=o(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]))},13739:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((function(e){return e.charCodeAt(0)})))},74125:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((function(e){return e.charCodeAt(0)})))},36264:(e,t)=>{"use strict";function n(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLAttribute=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.DecodingMode=t.EntityDecoder=t.encodeHTML5=t.encodeHTML4=t.encodeNonAsciiHTML=t.encodeHTML=t.escapeText=t.escapeAttribute=t.escapeUTF8=t.escape=t.encodeXML=t.encode=t.decodeStrict=t.decode=t.EncodingMode=t.EntityLevel=void 0;var r,o,i=n(37118),a=n(70322),s=n(34091);function l(e,t){if(void 0===t&&(t=r.XML),("number"==typeof t?t:t.level)===r.HTML){var n="object"==typeof t?t.mode:void 0;return(0,i.decodeHTML)(e,n)}return(0,i.decodeXML)(e)}!function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"}(r=t.EntityLevel||(t.EntityLevel={})),function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"}(o=t.EncodingMode||(t.EncodingMode={})),t.decode=l,t.decodeStrict=function(e,t){var n;void 0===t&&(t=r.XML);var o="number"==typeof t?{level:t}:t;return null!==(n=o.mode)&&void 0!==n||(o.mode=i.DecodingMode.Strict),l(e,o)},t.encode=function(e,t){void 0===t&&(t=r.XML);var n="number"==typeof t?{level:t}:t;return n.mode===o.UTF8?(0,s.escapeUTF8)(e):n.mode===o.Attribute?(0,s.escapeAttribute)(e):n.mode===o.Text?(0,s.escapeText)(e):n.level===r.HTML?n.mode===o.ASCII?(0,a.encodeNonAsciiHTML)(e):(0,a.encodeHTML)(e):(0,s.encodeXML)(e)};var c=n(34091);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return c.encodeXML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return c.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return c.escapeUTF8}}),Object.defineProperty(t,"escapeAttribute",{enumerable:!0,get:function(){return c.escapeAttribute}}),Object.defineProperty(t,"escapeText",{enumerable:!0,get:function(){return c.escapeText}});var u=n(70322);Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return u.encodeNonAsciiHTML}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return u.encodeHTML}});var d=n(37118);Object.defineProperty(t,"EntityDecoder",{enumerable:!0,get:function(){return d.EntityDecoder}}),Object.defineProperty(t,"DecodingMode",{enumerable:!0,get:function(){return d.DecodingMode}}),Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return d.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTMLAttribute",{enumerable:!0,get:function(){return d.decodeHTMLAttribute}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return d.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return d.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return d.decodeXML}})},21117:e=>{"use strict";e.exports=e=>{if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}},47633:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ExportToCsv=t.ConfigDefaults=t.CsvConfigConsts=void 0;var n=function(){function e(){}return e.EOL="\r\n",e.BOM="\ufeff",e.DEFAULT_FIELD_SEPARATOR=",",e.DEFAULT_DECIMAL_SEPARATOR=".",e.DEFAULT_QUOTE='"',e.DEFAULT_SHOW_TITLE=!1,e.DEFAULT_TITLE="My Generated Report",e.DEFAULT_FILENAME="generated",e.DEFAULT_SHOW_LABELS=!1,e.DEFAULT_USE_TEXT_FILE=!1,e.DEFAULT_USE_BOM=!0,e.DEFAULT_HEADER=[],e.DEFAULT_KEYS_AS_HEADERS=!1,e}();t.CsvConfigConsts=n,t.ConfigDefaults={filename:n.DEFAULT_FILENAME,fieldSeparator:n.DEFAULT_FIELD_SEPARATOR,quoteStrings:n.DEFAULT_QUOTE,decimalSeparator:n.DEFAULT_DECIMAL_SEPARATOR,showLabels:n.DEFAULT_SHOW_LABELS,showTitle:n.DEFAULT_SHOW_TITLE,title:n.DEFAULT_TITLE,useTextFile:n.DEFAULT_USE_TEXT_FILE,useBom:n.DEFAULT_USE_BOM,headers:n.DEFAULT_HEADER,useKeysAsHeaders:n.DEFAULT_KEYS_AS_HEADERS};var r=function(){function e(e){this._csv="";var n=e||{};this._options=a({},t.ConfigDefaults,n),this._options.useKeysAsHeaders&&this._options.headers&&this._options.headers.length>0&&console.warn("Option to use object keys as headers was set, but headers were still passed!")}return Object.defineProperty(e.prototype,"options",{get:function(){return this._options},set:function(e){this._options=a({},t.ConfigDefaults,e)},enumerable:!1,configurable:!0}),e.prototype.generateCsv=function(e,t){if(void 0===t&&(t=!1),this._csv="",this._parseData(e),this._options.useBom&&(this._csv+=n.BOM),this._options.showTitle&&(this._csv+=this._options.title+"\r\n\n"),this._createHeaders(),this._createBody(),""!=this._csv){if(t)return this._csv;var r=this._options.useTextFile?"plain":"csv",o=this._options.useTextFile?".txt":".csv",i=new Blob([this._csv],{type:"text/"+r+";charset=utf8;"}),a=document.createElement("a");a.href=URL.createObjectURL(i),a.setAttribute("visibility","hidden"),a.download=this._options.filename.replace(/ /g,"_")+o,document.body.appendChild(a),a.click(),document.body.removeChild(a)}else console.log("Invalid data")},e.prototype._getHeaders=function(){if(this._options.showLabels||this._options.useKeysAsHeaders)return this._options.useKeysAsHeaders?Object.keys(this._data[0]):this._options.headers},e.prototype._createHeaders=function(){var e=this._getHeaders();if(e.length>0){for(var t="",r=0;r-1||e.indexOf("\n")>-1||e.indexOf("\r")>-1)&&(e=this._options.quoteStrings+e+this._options.quoteStrings),e):"boolean"==typeof e?e?"TRUE":"FALSE":e},e.prototype._isFloat=function(e){return+e===e&&(!isFinite(e)||Boolean(e%1))},e.prototype._parseData=function(e){return this._data="object"!=typeof e?JSON.parse(e):e,this._data},e}();t.ExportToCsv=r;var o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){for(var t,n=[],r=1;r{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},5137:e=>{"use strict";e.exports=function(e,t){for(var n={},r=Object.keys(e),o=Array.isArray(t),i=0;i{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n1?r-1:0),i=1;i element.");return c.cloneElement(t,{ref:function(n){var r=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=r||[n]}})}return null}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),d}(c.Component),g="undefined"==typeof Element?Function:Element;f.propTypes={active:d.bool,paused:d.bool,focusTrapOptions:d.shape({document:d.object,onActivate:d.func,onPostActivate:d.func,checkCanFocusTrap:d.func,onDeactivate:d.func,onPostDeactivate:d.func,checkCanReturnFocus:d.func,initialFocus:d.oneOfType([d.instanceOf(g),d.string,d.bool,d.func]),fallbackFocus:d.oneOfType([d.instanceOf(g),d.string,d.func]),escapeDeactivates:d.oneOfType([d.bool,d.func]),clickOutsideDeactivates:d.oneOfType([d.bool,d.func]),returnFocusOnDeactivate:d.bool,setReturnFocus:d.oneOfType([d.instanceOf(g),d.string,d.bool,d.func]),allowOutsideClick:d.oneOfType([d.bool,d.func]),preventScroll:d.bool,tabbableOptions:d.shape({displayCheck:d.oneOf(["full","non-zero-area","none"]),getShadowRoot:d.oneOfType([d.bool,d.func])})}),containerElements:d.arrayOf(d.instanceOf(g)),children:d.oneOfType([d.element,d.instanceOf(g)])},f.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:h},e.exports=f},68516:(e,t,n)=>{"use strict";n.r(t),n.d(t,{createFocusTrap:()=>p});var r=n(98710); +/*! +* focus-trap 6.9.4 +* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE +*/function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t0){var t=s[s.length-1];t!==e&&t.pause()}var n=s.indexOf(e);-1===n||s.splice(n,1),s.push(e)},deactivateTrap:function(e){var t=s.indexOf(e);-1!==t&&s.splice(t,1),s.length>0&&s[s.length-1].unpause()}}),c=function(e){return setTimeout(e,0)},u=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},d=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1?n-1:0),i=1;i=0)e=o.activeElement;else{var t=s.tabbableGroups[0];e=t&&t.firstTabbableNode||g("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},y=function(){if(s.containerGroups=s.containers.map((function(e){var t=(0,r.tabbable)(e,a.tabbableOptions),n=(0,r.focusable)(e,a.tabbableOptions);return{container:e,tabbableNodes:t,focusableNodes:n,firstTabbableNode:t.length>0?t[0]:null,lastTabbableNode:t.length>0?t[t.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=n.findIndex((function(t){return t===e}));if(!(o<0))return t?n.slice(o+1).find((function(e){return(0,r.isTabbable)(e,a.tabbableOptions)})):n.slice(0,o).reverse().find((function(e){return(0,r.isTabbable)(e,a.tabbableOptions)}))}}})),s.tabbableGroups=s.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),s.tabbableGroups.length<=0&&!g("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},v=function e(t){!1!==t&&t!==o.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!a.preventScroll}),s.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(m()))},b=function(e){var t=g("setReturnFocus",e);return t||!1!==t&&e},w=function(e){var t=h(e);f(t)>=0||(d(a.clickOutsideDeactivates,e)?n.deactivate({returnFocus:a.returnFocusOnDeactivate&&!(0,r.isFocusable)(t,a.tabbableOptions)}):d(a.allowOutsideClick,e)||e.preventDefault())},A=function(e){var t=h(e),n=f(t)>=0;n||t instanceof Document?n&&(s.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),v(s.mostRecentlyFocusedNode||m()))},x=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==d(a.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=h(e);y();var n=null;if(s.tabbableGroups.length>0){var o=f(t),i=o>=0?s.containerGroups[o]:void 0;if(o<0)n=e.shiftKey?s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:s.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var l=u(s.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(l<0&&(i.container===t||(0,r.isFocusable)(t,a.tabbableOptions)&&!(0,r.isTabbable)(t,a.tabbableOptions)&&!i.nextTabbableNode(t,!1))&&(l=o),l>=0){var c=0===l?s.tabbableGroups.length-1:l-1;n=s.tabbableGroups[c].lastTabbableNode}}else{var d=u(s.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(d<0&&(i.container===t||(0,r.isFocusable)(t,a.tabbableOptions)&&!(0,r.isTabbable)(t,a.tabbableOptions)&&!i.nextTabbableNode(t))&&(d=o),d>=0){var p=d===s.tabbableGroups.length-1?0:d+1;n=s.tabbableGroups[p].firstTabbableNode}}}else n=g("fallbackFocus");n&&(e.preventDefault(),v(n))}(e)},S=function(e){var t=h(e);f(t)>=0||d(a.clickOutsideDeactivates,e)||d(a.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},C=function(){if(s.active)return l.activateTrap(n),s.delayInitialFocusTimer=a.delayInitialFocus?c((function(){v(m())})):v(m()),o.addEventListener("focusin",A,!0),o.addEventListener("mousedown",w,{capture:!0,passive:!1}),o.addEventListener("touchstart",w,{capture:!0,passive:!1}),o.addEventListener("click",S,{capture:!0,passive:!1}),o.addEventListener("keydown",x,{capture:!0,passive:!1}),n},E=function(){if(s.active)return o.removeEventListener("focusin",A,!0),o.removeEventListener("mousedown",w,!0),o.removeEventListener("touchstart",w,!0),o.removeEventListener("click",S,!0),o.removeEventListener("keydown",x,!0),n};return(n={get active(){return s.active},get paused(){return s.paused},activate:function(e){if(s.active)return this;var t=p(e,"onActivate"),n=p(e,"onPostActivate"),r=p(e,"checkCanFocusTrap");r||y(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=o.activeElement,t&&t();var i=function(){r&&y(),C(),n&&n()};return r?(r(s.containers.concat()).then(i,i),this):(i(),this)},deactivate:function(e){if(!s.active)return this;var t=i({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},e);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,E(),s.active=!1,s.paused=!1,l.deactivateTrap(n);var r=p(t,"onDeactivate"),o=p(t,"onPostDeactivate"),u=p(t,"checkCanReturnFocus"),d=p(t,"returnFocus","returnFocusOnDeactivate");r&&r();var h=function(){c((function(){d&&v(b(s.nodeFocusedBeforeActivation)),o&&o()}))};return d&&u?(u(b(s.nodeFocusedBeforeActivation)).then(h,h),this):(h(),this)},pause:function(){return s.paused||!s.active||(s.paused=!0,E()),this},unpause:function(){return s.paused&&s.active?(s.paused=!1,y(),C(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return s.containers=t.map((function(e){return"string"==typeof e?o.querySelector(e):e})),s.active&&y(),this}}).updateContainerElements(e),n}},78535:(e,t,n)=>{"use strict";var r=n(48795),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(f){var o=p(n);o&&o!==f&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),g=l(n),m=0;m{e.exports={CASE_SENSITIVE_TAG_NAMES:["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]}},44371:(e,t,n)=>{var r="html",o="head",i="body",a=/<([a-zA-Z]+[0-9]?)/,s=//i,l=//i,c=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var d=new window.DOMParser;c=u=function(e,t){return t&&(e="<"+t+">"+e+""),d.parseFromString(e,"text/html")}}if(document.implementation){var h=n(86644).isIE,p=document.implementation.createHTMLDocument(h()?"html-dom-parser":void 0);c=function(e,t){return t?(p.documentElement.getElementsByTagName(t)[0].innerHTML=e,p):(p.documentElement.innerHTML=e,p)}}var f,g=document.createElement("template");g.content&&(f=function(e){return g.innerHTML=e,g.content.childNodes}),e.exports=function(e){var t,n,d,h,p=e.match(a);switch(p&&p[1]&&(t=p[1].toLowerCase()),t){case r:return n=u(e),s.test(e)||(d=n.getElementsByTagName(o)[0])&&d.parentNode.removeChild(d),l.test(e)||(d=n.getElementsByTagName(i)[0])&&d.parentNode.removeChild(d),n.getElementsByTagName(r);case o:case i:return h=c(e).getElementsByTagName(t),l.test(e)&&s.test(e)?h[0].parentNode.childNodes:h;default:return f?f(e):c(e,i).getElementsByTagName(i)[0].childNodes}}},43136:(e,t,n)=>{var r=n(44371),o=n(86644).formatDOM,i=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(i);return n&&n[1]&&(t=n[1]),o(r(e),null,t)}},86644:(e,t,n)=>{for(var r,o=n(71605),i=n(56679),a=o.CASE_SENSITIVE_TAG_NAMES,s=i.Comment,l=i.Element,c=i.ProcessingInstruction,u=i.Text,d={},h=0,p=a.length;h{"use strict";n.d(t,{A:()=>h});var r=n(77835),o=n.n(r),i=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function a(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(o()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var a=new RegExp(i),s=null;null!==(s=a.exec(e));)if(s[0].trim())if(s[1]){var l=s[1].trim(),c=[l,""];l.indexOf("=")>-1&&(c=l.split("=")),t.attrs[c[0]]=c[1],a.lastIndex--}else s[2]&&(t.attrs[s[2]]=s[3].trim().substring(1,s[3].length-1));return t}var s=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,l=/^\s*$/,c=Object.create(null);function u(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(u,"")+"";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var d={parse:function(e,t){t||(t={}),t.components||(t.components=c);var n,r=[],o=[],i=-1,u=!1;if(0!==e.indexOf("<")){var d=e.indexOf("<");r.push({type:"text",content:-1===d?e:e.substring(0,d)})}return e.replace(s,(function(s,c){if(u){if(s!=="")return;u=!1}var d,h="/"!==s.charAt(1),p=s.startsWith("\x3c!--"),f=c+s.length,g=e.charAt(f);if(p){var m=a(s);return i<0?(r.push(m),r):((d=o[i]).children.push(m),r)}if(h&&(i++,"tag"===(n=a(s)).type&&t.components[n.name]&&(n.type="component",u=!0),n.voidElement||u||!g||"<"===g||n.children.push({type:"text",content:e.slice(f,e.indexOf("<",f))}),0===i&&r.push(n),(d=o[i-1])&&d.children.push(n),o[i]=n),(!h||n.voidElement)&&(i>-1&&(n.voidElement||n.name===s.slice(2,-1))&&(i--,n=-1===i?r:o[i]),!u&&"<"!==g&&g)){d=-1===i?r:o[i].children;var y=e.indexOf("<",f),v=e.slice(f,-1===y?void 0:y);l.test(v)&&(v=" "),(y>-1&&i+d.length>=0||" "!==v)&&d.push({type:"text",content:v})}})),r},stringify:function(e){return e.reduce((function(e,t){return e+u("",t)}),"")}};const h=d},31082:(e,t,n)=>{var r=n(70640),o=n(49156),i=n(43136);i="function"==typeof i.default?i.default:i;var a={lowerCaseAttributeNames:!1};function s(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:r(i(e,(t=t||{}).htmlparser2||a),t)}s.domToReact=r,s.htmlToDOM=i,s.attributesToProps=o,s.Element=n(62679).Element,e.exports=s,e.exports.default=s},49156:(e,t,n)=>{var r=n(83379),o=n(38354);function i(e){return r.possibleStandardNames[e]}e.exports=function(e){var t,n,a,s,l,c={},u=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(a=e[t],r.isCustomAttribute(t))c[t]=a;else if(s=i(n=t.toLowerCase()))switch(l=r.getPropertyInfo(s),"checked"!==s&&"value"!==s||u||(s=i("default"+n)),c[s]=a,l&&l.type){case r.BOOLEAN:c[s]=!0;break;case r.OVERLOADED_BOOLEAN:""===a&&(c[s]=!0)}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(c[t]=a);return o.setStyleProp(e.style,c),c}},70640:(e,t,n)=>{var r=n(30538),o=n(49156),i=n(38354),a=i.setStyleProp,s=i.canTextBeChildOfNode;function l(e){return i.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&i.isCustomComponent(e.name,e.attribs)}e.exports=function e(t,n){for(var i,c,u,d,h,p=(n=n||{}).library||r,f=p.cloneElement,g=p.createElement,m=p.isValidElement,y=[],v="function"==typeof n.replace,b=n.trim,w=0,A=t.length;w1&&(u=f(u,{key:u.key||w})),y.push(u);else if("text"!==i.type){switch(d=i.attribs,l(i)?a(d.style,d):d&&(d=o(d)),h=null,i.type){case"script":case"style":i.children[0]&&(d.dangerouslySetInnerHTML={__html:i.children[0].data});break;case"tag":"textarea"===i.name&&i.children[0]?d.defaultValue=i.children[0].data:i.children&&i.children.length&&(h=e(i.children,n));break;default:continue}A>1&&(d.key=w),y.push(g(i.name,d,h))}else{if((c=!i.data.trim().length)&&i.parent&&!s(i.parent))continue;if(b&&c)continue;y.push(i.data)}return 1===y.length?y[0]:y}},38354:(e,t,n)=>{var r=n(30538),o=n(49115).default;var i={reactCompat:!0};var a=r.version.split(".")[0]>=16,s=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:a,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var n,r,o="function"==typeof t,i={},a={};for(n in e)r=e[n],o&&(i=t(n,r))&&2===i.length?a[i[0]]=i[1]:"string"==typeof r&&(a[r]=n);return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=o(e,i)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!s.has(e.name)},elementsWithNoTextChildren:s}},3328:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0;var a=i(n(24602)),s=n(37118),l=new Set(["input","option","optgroup","select","button","datalist","textarea"]),c=new Set(["p"]),u=new Set(["thead","tbody"]),d=new Set(["dd","dt"]),h=new Set(["rt","rp"]),p=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",c],["h1",c],["h2",c],["h3",c],["h4",c],["h5",c],["h6",c],["select",l],["input",l],["output",l],["button",l],["datalist",l],["textarea",l],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",d],["dt",d],["address",c],["article",c],["aside",c],["blockquote",c],["details",c],["div",c],["dl",c],["fieldset",c],["figcaption",c],["figure",c],["footer",c],["form",c],["header",c],["hr",c],["main",c],["nav",c],["ol",c],["pre",c],["section",c],["table",c],["ul",c],["rt",h],["rp",h],["tbody",u],["tfoot",u]]),f=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),g=new Set(["math","svg"]),m=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),y=/\s|\//,v=function(){function e(e,t){var n,r,o,i,s;void 0===t&&(t={}),this.options=t,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=null!=e?e:{},this.lowerCaseTagNames=null!==(n=t.lowerCaseTags)&&void 0!==n?n:!t.xmlMode,this.lowerCaseAttributeNames=null!==(r=t.lowerCaseAttributeNames)&&void 0!==r?r:!t.xmlMode,this.tokenizer=new(null!==(o=t.Tokenizer)&&void 0!==o?o:a.default)(this.options,this),null===(s=(i=this.cbs).onparserinit)||void 0===s||s.call(i,this)}return e.prototype.ontext=function(e,t){var n,r,o=this.getSlice(e,t);this.endIndex=t-1,null===(r=(n=this.cbs).ontext)||void 0===r||r.call(n,o),this.startIndex=t},e.prototype.ontextentity=function(e){var t,n,r=this.tokenizer.getSectionStart();this.endIndex=r-1,null===(n=(t=this.cbs).ontext)||void 0===n||n.call(t,(0,s.fromCodePoint)(e)),this.startIndex=r},e.prototype.isVoidElement=function(e){return!this.options.xmlMode&&f.has(e)},e.prototype.onopentagname=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);this.lowerCaseTagNames&&(n=n.toLowerCase()),this.emitOpenTag(n)},e.prototype.emitOpenTag=function(e){var t,n,r,o;this.openTagStart=this.startIndex,this.tagname=e;var i=!this.options.xmlMode&&p.get(e);if(i)for(;this.stack.length>0&&i.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,a,!0)}this.isVoidElement(e)||(this.stack.push(e),g.has(e)?this.foreignContext.push(!0):m.has(e)&&this.foreignContext.push(!1)),null===(o=(r=this.cbs).onopentagname)||void 0===o||o.call(r,e),this.cbs.onopentag&&(this.attribs={})},e.prototype.endOpenTag=function(e){var t,n;this.startIndex=this.openTagStart,this.attribs&&(null===(n=(t=this.cbs).onopentag)||void 0===n||n.call(t,this.tagname,this.attribs,e),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},e.prototype.onopentagend=function(e){this.endIndex=e,this.endOpenTag(!1),this.startIndex=e+1},e.prototype.onclosetag=function(e,t){var n,r,o,i,a,s;this.endIndex=t;var l=this.getSlice(e,t);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(g.has(l)||m.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))this.options.xmlMode||"br"!==l||(null===(r=(n=this.cbs).onopentagname)||void 0===r||r.call(n,"br"),null===(i=(o=this.cbs).onopentag)||void 0===i||i.call(o,"br",{},!0),null===(s=(a=this.cbs).onclosetag)||void 0===s||s.call(a,"br",!1));else{var c=this.stack.lastIndexOf(l);if(-1!==c)if(this.cbs.onclosetag)for(var u=this.stack.length-c;u--;)this.cbs.onclosetag(this.stack.pop(),0!==u);else this.stack.length=c;else this.options.xmlMode||"p"!==l||(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=t+1},e.prototype.onselfclosingtag=function(e){this.endIndex=e,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=e+1):this.onopentagend(e)},e.prototype.closeCurrentTag=function(e){var t,n,r=this.tagname;this.endOpenTag(e),this.stack[this.stack.length-1]===r&&(null===(n=(t=this.cbs).onclosetag)||void 0===n||n.call(t,r,!e),this.stack.pop())},e.prototype.onattribname=function(e,t){this.startIndex=e;var n=this.getSlice(e,t);this.attribname=this.lowerCaseAttributeNames?n.toLowerCase():n},e.prototype.onattribdata=function(e,t){this.attribvalue+=this.getSlice(e,t)},e.prototype.onattribentity=function(e){this.attribvalue+=(0,s.fromCodePoint)(e)},e.prototype.onattribend=function(e,t){var n,r;this.endIndex=t,null===(r=(n=this.cbs).onattribute)||void 0===r||r.call(n,this.attribname,this.attribvalue,e===a.QuoteType.Double?'"':e===a.QuoteType.Single?"'":e===a.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},e.prototype.getInstructionName=function(e){var t=e.search(y),n=t<0?e:e.substr(0,t);return this.lowerCaseTagNames&&(n=n.toLowerCase()),n},e.prototype.ondeclaration=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("!".concat(r),"!".concat(n))}this.startIndex=t+1},e.prototype.onprocessinginstruction=function(e,t){this.endIndex=t;var n=this.getSlice(e,t);if(this.cbs.onprocessinginstruction){var r=this.getInstructionName(n);this.cbs.onprocessinginstruction("?".concat(r),"?".concat(n))}this.startIndex=t+1},e.prototype.oncomment=function(e,t,n){var r,o,i,a;this.endIndex=t,null===(o=(r=this.cbs).oncomment)||void 0===o||o.call(r,this.getSlice(e,t-n)),null===(a=(i=this.cbs).oncommentend)||void 0===a||a.call(i),this.startIndex=t+1},e.prototype.oncdata=function(e,t,n){var r,o,i,a,s,l,c,u,d,h;this.endIndex=t;var p=this.getSlice(e,t-n);this.options.xmlMode||this.options.recognizeCDATA?(null===(o=(r=this.cbs).oncdatastart)||void 0===o||o.call(r),null===(a=(i=this.cbs).ontext)||void 0===a||a.call(i,p),null===(l=(s=this.cbs).oncdataend)||void 0===l||l.call(s)):(null===(u=(c=this.cbs).oncomment)||void 0===u||u.call(c,"[CDATA[".concat(p,"]]")),null===(h=(d=this.cbs).oncommentend)||void 0===h||h.call(d)),this.startIndex=t+1},e.prototype.onend=function(){var e,t;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var n=this.stack.length;n>0;this.cbs.onclosetag(this.stack[--n],!0));}null===(t=(e=this.cbs).onend)||void 0===t||t.call(e)},e.prototype.reset=function(){var e,t,n,r;null===(t=(e=this.cbs).onreset)||void 0===t||t.call(e),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,null===(r=(n=this.cbs).onparserinit)||void 0===r||r.call(n,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},e.prototype.parseComplete=function(e){this.reset(),this.end(e)},e.prototype.getSlice=function(e,t){for(;e-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var n=this.buffers[0].slice(e-this.bufferOffset,t-this.bufferOffset);t-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),n+=this.buffers[0].slice(0,t-this.bufferOffset);return n},e.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},e.prototype.write=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".write() after done!")):(this.buffers.push(e),this.tokenizer.running&&(this.tokenizer.write(e),this.writeIndex++))},e.prototype.end=function(e){var t,n;this.ended?null===(n=(t=this.cbs).onerror)||void 0===n||n.call(t,new Error(".end() after done!")):(e&&this.write(e),this.ended=!0,this.tokenizer.end())},e.prototype.pause=function(){this.tokenizer.pause()},e.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.QuoteType=void 0;var r,o,i,a=n(37118);function s(e){return e===r.Space||e===r.NewLine||e===r.Tab||e===r.FormFeed||e===r.CarriageReturn}function l(e){return e===r.Slash||e===r.Gt||s(e)}function c(e){return e>=r.Zero&&e<=r.Nine}!function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Number=35]="Number",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"}(r||(r={})),function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"}(o||(o={})),function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"}(i=t.QuoteType||(t.QuoteType={}));var u={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},d=function(){function e(e,t){var n=e.xmlMode,r=void 0!==n&&n,i=e.decodeEntities,s=void 0===i||i;this.cbs=t,this.state=o.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=o.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=r,this.decodeEntities=s,this.entityTrie=r?a.xmlDecodeTree:a.htmlDecodeTree}return e.prototype.reset=function(){this.state=o.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=o.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},e.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},e.prototype.end=function(){this.running&&this.finish()},e.prototype.pause=function(){this.running=!1},e.prototype.resume=function(){this.running=!0,this.indexthis.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=o.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===r.Amp&&(this.state=o.BeforeEntity)},e.prototype.stateSpecialStartSequence=function(e){var t=this.sequenceIndex===this.currentSequence.length;if(t?l(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.isSpecial=!1;this.sequenceIndex=0,this.state=o.InTagName,this.stateInTagName(e)},e.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===r.Gt||s(e)){var t=this.index-this.currentSequence.length;if(this.sectionStart=r.LowerA&&e<=r.LowerZ||e>=r.UpperA&&e<=r.UpperZ}(e)},e.prototype.startSpecial=function(e,t){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=t,this.state=o.SpecialStartSequence},e.prototype.stateBeforeTagName=function(e){if(e===r.ExclamationMark)this.state=o.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===r.Questionmark)this.state=o.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var t=32|e;this.sectionStart=this.index,this.xmlMode||t!==u.TitleEnd[2]?this.state=this.xmlMode||t!==u.ScriptEnd[2]?o.InTagName:o.BeforeSpecialS:this.startSpecial(u.TitleEnd,3)}else e===r.Slash?this.state=o.BeforeClosingTagName:(this.state=o.Text,this.stateText(e))},e.prototype.stateInTagName=function(e){l(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateBeforeClosingTagName=function(e){s(e)||(e===r.Gt?this.state=o.Text:(this.state=this.isTagStartChar(e)?o.InClosingTagName:o.InSpecialComment,this.sectionStart=this.index))},e.prototype.stateInClosingTagName=function(e){(e===r.Gt||s(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=o.AfterClosingTagName,this.stateAfterClosingTagName(e))},e.prototype.stateAfterClosingTagName=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.state=o.Text,this.baseState=o.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeAttributeName=function(e){e===r.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=o.InSpecialTag,this.sequenceIndex=0):this.state=o.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===r.Slash?this.state=o.InSelfClosingTag:s(e)||(this.state=o.InAttributeName,this.sectionStart=this.index)},e.prototype.stateInSelfClosingTag=function(e){e===r.Gt?(this.cbs.onselfclosingtag(this.index),this.state=o.Text,this.baseState=o.Text,this.sectionStart=this.index+1,this.isSpecial=!1):s(e)||(this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(e))},e.prototype.stateInAttributeName=function(e){(e===r.Eq||l(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=o.AfterAttributeName,this.stateAfterAttributeName(e))},e.prototype.stateAfterAttributeName=function(e){e===r.Eq?this.state=o.BeforeAttributeValue:e===r.Slash||e===r.Gt?(this.cbs.onattribend(i.NoValue,this.index),this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(e)):s(e)||(this.cbs.onattribend(i.NoValue,this.index),this.state=o.InAttributeName,this.sectionStart=this.index)},e.prototype.stateBeforeAttributeValue=function(e){e===r.DoubleQuote?(this.state=o.InAttributeValueDq,this.sectionStart=this.index+1):e===r.SingleQuote?(this.state=o.InAttributeValueSq,this.sectionStart=this.index+1):s(e)||(this.sectionStart=this.index,this.state=o.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},e.prototype.handleInAttributeValue=function(e,t){e===t||!this.decodeEntities&&this.fastForwardTo(t)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(t===r.DoubleQuote?i.Double:i.Single,this.index),this.state=o.BeforeAttributeName):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=o.BeforeEntity)},e.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,r.DoubleQuote)},e.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,r.SingleQuote)},e.prototype.stateInAttributeValueNoQuotes=function(e){s(e)||e===r.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(i.Unquoted,this.index),this.state=o.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===r.Amp&&(this.baseState=this.state,this.state=o.BeforeEntity)},e.prototype.stateBeforeDeclaration=function(e){e===r.OpeningSquareBracket?(this.state=o.CDATASequence,this.sequenceIndex=0):this.state=e===r.Dash?o.BeforeComment:o.InDeclaration},e.prototype.stateInDeclaration=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=o.Text,this.sectionStart=this.index+1)},e.prototype.stateInProcessingInstruction=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=o.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeComment=function(e){e===r.Dash?(this.state=o.InCommentLike,this.currentSequence=u.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=o.InDeclaration},e.prototype.stateInSpecialComment=function(e){(e===r.Gt||this.fastForwardTo(r.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=o.Text,this.sectionStart=this.index+1)},e.prototype.stateBeforeSpecialS=function(e){var t=32|e;t===u.ScriptEnd[3]?this.startSpecial(u.ScriptEnd,4):t===u.StyleEnd[3]?this.startSpecial(u.StyleEnd,4):(this.state=o.InTagName,this.stateInTagName(e))},e.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===r.Number?this.state=o.BeforeNumericEntity:e===r.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=o.InNamedEntity,this.stateInNamedEntity(e))},e.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,a.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0)return this.emitNamedEntity(),void this.index--;this.trieCurrent=this.entityTrie[this.trieIndex];var t=this.trieCurrent&a.BinTrieFlags.VALUE_LENGTH;if(t){var n=(t>>14)-1;if(this.allowLegacyEntity()||e===r.Semi){var o=this.index-this.entityExcess+1;o>this.sectionStart&&this.emitPartial(this.sectionStart,o),this.entityResult=this.trieIndex,this.trieIndex+=n,this.entityExcess=0,this.sectionStart=this.index+1,0===n&&this.emitNamedEntity()}else this.trieIndex+=n}},e.prototype.emitNamedEntity=function(){if(this.state=this.baseState,0!==this.entityResult)switch((this.entityTrie[this.entityResult]&a.BinTrieFlags.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~a.BinTrieFlags.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}},e.prototype.stateBeforeNumericEntity=function(e){(32|e)===r.LowerX?(this.entityExcess++,this.state=o.InHexEntity):(this.state=o.InNumericEntity,this.stateInNumericEntity(e))},e.prototype.emitNumericEntity=function(e){var t=this.index-this.entityExcess-1;t+2+Number(this.state===o.InHexEntity)!==this.index&&(t>this.sectionStart&&this.emitPartial(this.sectionStart,t),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,a.replaceCodePoint)(this.entityResult))),this.state=this.baseState},e.prototype.stateInNumericEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):c(e)?(this.entityResult=10*this.entityResult+(e-r.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},e.prototype.stateInHexEntity=function(e){e===r.Semi?this.emitNumericEntity(!0):c(e)?(this.entityResult=16*this.entityResult+(e-r.Zero),this.entityExcess++):!function(e){return e>=r.UpperA&&e<=r.UpperF||e>=r.LowerA&&e<=r.LowerF}(e)?(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--):(this.entityResult=16*this.entityResult+((32|e)-r.LowerA+10),this.entityExcess++)},e.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===o.Text||this.baseState===o.InSpecialTag)},e.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===o.Text||this.state===o.InSpecialTag&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):this.state!==o.InAttributeValueDq&&this.state!==o.InAttributeValueSq&&this.state!==o.InAttributeValueNq||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},e.prototype.shouldContinue=function(){return this.index{ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ -t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<>1,u=-7,d=n?i-1:0,h=n?-1:1,p=e[t+d];for(d+=h,o=p&(1<<-u)-1,p>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=h,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=h,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=c}return(p?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,f=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=f,s/=256,i-=8);for(a=a<0;e[n+p]=255&a,p+=f,a/=256,c-=8);e[n+p-f]|=128*g}},18043:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,h=1;function p(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");h=~r?e.length-r:h+e.length}function f(){var e={line:d,column:h};return function(t){return t.position=new g(e),b(),t}}function g(e){this.start=e,this.end={line:d,column:h},this.source=l.source}g.prototype.content=e;var m=[];function y(t){var n=new Error(l.source+":"+d+":"+h+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=h,n.source=e,!l.silent)throw n;m.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){v(r)}function w(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return h+=2,p(r),e=e.slice(n),h+=2,t({type:"comment",comment:r})}}function A(){var e=f(),n=v(i);if(n){if(x(),!v(o))return y("property missing ':'");var r=v(a),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return v(s),l}}return b(),function(){var e,t=[];for(w(t);e=A();)!1!==e&&(t.push(e),w(t));return t}()}},40268:(e,t)=>{"use strict"; +t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<>1,u=-7,d=n?o-1:0,h=n?-1:1,p=e[t+d];for(d+=h,i=p&(1<<-u)-1,p>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=h,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=h,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),i-=c}return(p?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,l,c=8*i-o-1,u=(1<>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,f=r?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&s,p+=f,s/=256,o-=8);for(a=a<0;e[n+p]=255&a,p+=f,a/=256,c-=8);e[n+p-f]|=128*g}},18043:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,h=1;function p(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");h=~r?e.length-r:h+e.length}function f(){var e={line:d,column:h};return function(t){return t.position=new g(e),b(),t}}function g(e){this.start=e,this.end={line:d,column:h},this.source=l.source}g.prototype.content=e;var m=[];function y(t){var n=new Error(l.source+":"+d+":"+h+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=h,n.source=e,!l.silent)throw n;m.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){v(r)}function w(e){var t;for(e=e||[];t=A();)!1!==t&&e.push(t);return e}function A(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return h+=2,p(r),e=e.slice(n),h+=2,t({type:"comment",comment:r})}}function x(){var e=f(),n=v(o);if(n){if(A(),!v(i))return y("property missing ':'");var r=v(a),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return v(s),l}}return b(),function(){var e,t=[];for(w(t);e=x();)!1!==e&&(t.push(e),w(t));return t}()}},40268:(e,t)=>{"use strict"; /*! * is-plain-object * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. */ -function n(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}},23018:e=>{"use strict";var t=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),n(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function n(e,r,i,o,a,s,l,c,u,d){if(o&&"object"==typeof o&&!Array.isArray(o)){for(var h in r(o,a,s,l,c,u,d),o){var p=o[h];if(Array.isArray(p)){if(h in t.arrayKeywords)for(var f=0;f{var r=n(86973);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}},26629:(e,t,n)=>{var r=n(51522),i=n(14452),o=n(55719),a=n(34971),s=n(25987);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var r=n(79577).Uint8Array;e.exports=r},64797:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},56389:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{e.exports=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{e.exports=function(e){return e.split("")}},61025:e=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},12817:(e,t,n)=>{var r=n(76596),i=n(11284);e.exports=function(e,t,n){(void 0!==n&&!i(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},8399:(e,t,n)=>{var r=n(76596),i=n(11284),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},30173:(e,t,n)=>{var r=n(11284);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},2809:(e,t,n)=>{var r=n(25763),i=n(46794);e.exports=function(e,t){return e&&r(t,i(t),e)}},6306:(e,t,n)=>{var r=n(25763),i=n(10573);e.exports=function(e,t){return e&&r(t,i(t),e)}},76596:(e,t,n)=>{var r=n(53695);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},19251:(e,t,n)=>{var r=n(26629),i=n(56389),o=n(8399),a=n(2809),s=n(6306),l=n(11702),c=n(42627),u=n(94360),d=n(55928),h=n(6806),p=n(39425),f=n(39073),g=n(19665),m=n(23635),y=n(67149),v=n(86973),b=n(39964),w=n(91798),x=n(16841),A=n(8996),S=n(46794),C=n(10573),E="[object Arguments]",k="[object Function]",T="[object Object]",_={};_[E]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_[T]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_[k]=_["[object WeakMap]"]=!1,e.exports=function e(t,n,O,P,I,M){var L,R=1&n,j=2&n,F=4&n;if(O&&(L=I?O(t,P,I,M):O(t)),void 0!==L)return L;if(!x(t))return t;var D=v(t);if(D){if(L=g(t),!R)return c(t,L)}else{var N=f(t),B=N==k||"[object GeneratorFunction]"==N;if(b(t))return l(t,R);if(N==T||N==E||B&&!I){if(L=j||B?{}:y(t),!R)return j?d(t,s(L,t)):u(t,a(L,t))}else{if(!_[N])return I?t:{};L=m(t,N,R)}}M||(M=new r);var z=M.get(t);if(z)return z;M.set(t,L),A(t)?t.forEach((function(r){L.add(e(r,n,O,r,t,M))})):w(t)&&t.forEach((function(r,i){L.set(i,e(r,n,O,i,t,M))}));var V=D?void 0:(F?j?p:h:j?C:S)(t);return i(V||t,(function(r,i){V&&(r=t[i=r]),o(L,i,e(r,n,O,i,t,M))})),L}},66548:(e,t,n)=>{var r=n(16841),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},41313:e=>{e.exports=function(e,t,n){if("function"!=typeof e)throw new TypeError("Expected a function");return setTimeout((function(){e.apply(void 0,n)}),t)}},37981:(e,t,n)=>{var r=n(10609)();e.exports=r},34316:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},24927:e=>{e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r{var r=n(39760),i=n(4406);e.exports=function e(t,n,o,a,s){return t===n||(null==t||null==n||!i(t)&&!i(n)?t!=t&&n!=n:r(t,n,o,a,e,s))}},39760:(e,t,n)=>{var r=n(26629),i=n(16267),o=n(27822),a=n(18837),s=n(39073),l=n(86973),c=n(39964),u=n(66971),d="[object Arguments]",h="[object Array]",p="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,m,y){var v=l(e),b=l(t),w=v?h:s(e),x=b?h:s(t),A=(w=w==d?p:w)==p,S=(x=x==d?p:x)==p,C=w==x;if(C&&c(e)){if(!c(t))return!1;v=!0,A=!1}if(C&&!A)return y||(y=new r),v||u(e)?i(e,t,n,g,m,y):o(e,t,w,n,g,m,y);if(!(1&n)){var E=A&&f.call(e,"__wrapped__"),k=S&&f.call(t,"__wrapped__");if(E||k){var T=E?e.value():e,_=k?t.value():t;return y||(y=new r),m(T,_,n,g,y)}}return!!C&&(y||(y=new r),a(e,t,n,g,m,y))}},59345:e=>{e.exports=function(e){return e}},66006:(e,t,n)=>{var r=n(26629),i=n(12817),o=n(37981),a=n(99268),s=n(16841),l=n(10573),c=n(35282);e.exports=function e(t,n,u,d,h){t!==n&&o(n,(function(o,l){if(h||(h=new r),s(o))a(t,n,l,u,e,d,h);else{var p=d?d(c(t,l),o,l+"",t,n,h):void 0;void 0===p&&(p=o),i(t,l,p)}}),l)}},99268:(e,t,n)=>{var r=n(12817),i=n(11702),o=n(2877),a=n(42627),s=n(67149),l=n(45800),c=n(86973),u=n(70673),d=n(39964),h=n(55470),p=n(16841),f=n(215),g=n(66971),m=n(35282),y=n(62592);e.exports=function(e,t,n,v,b,w,x){var A=m(e,n),S=m(t,n),C=x.get(S);if(C)r(e,n,C);else{var E=w?w(A,S,n+"",e,t,x):void 0,k=void 0===E;if(k){var T=c(S),_=!T&&d(S),O=!T&&!_&&g(S);E=S,T||_||O?c(A)?E=A:u(A)?E=a(A):_?(k=!1,E=i(S,!0)):O?(k=!1,E=o(S,!0)):E=[]:f(S)||l(S)?(E=A,l(A)?E=y(A):p(A)&&!h(A)||(E=s(S))):k=!1}k&&(x.set(S,E),b(E,S,v,w,x),x.delete(S)),r(e,n,E)}}},22899:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,r,i,o){for(var a=-1,s=n(t((r-e)/(i||1)),0),l=Array(s);s--;)l[o?s:++a]=e,e+=i;return l}},29490:(e,t,n)=>{var r=n(35308),i=n(14385),o=n(92565);e.exports=function(e,t){return o(i(e,t,r),e+"")}},74316:e=>{e.exports=function(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r{e.exports=function(e,t){for(var n,r=-1,i=e.length;++r{e.exports=function(e){return e}},175:(e,t,n)=>{var r=n(24927);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},42966:(e,t,n)=>{var r=n(74316);e.exports=function(e,t,n){var i=e.length;return n=void 0===n?i:n,!t&&n>=i?e:r(e,t,n)}},52729:(e,t,n)=>{var r=n(38512);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},11702:(e,t,n)=>{e=n.nmd(e);var r=n(79577),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},2877:(e,t,n)=>{var r=n(52729);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},42627:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n{var r=n(8399),i=n(76596);e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,l=t.length;++s{var r=n(25763),i=n(58860);e.exports=function(e,t){return r(e,i(e),t)}},55928:(e,t,n)=>{var r=n(25763),i=n(23411);e.exports=function(e,t){return r(e,i(e),t)}},41467:(e,t,n)=>{var r=n(29490),i=n(14572);e.exports=function(e){return r((function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r{e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}},16791:(e,t,n)=>{var r=n(42966),i=n(40238),o=n(41772),a=n(9986);e.exports=function(e){return function(t){t=a(t);var n=i(t)?o(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}},84599:(e,t,n)=>{var r=n(10046),i=n(39976),o=n(89321),a=RegExp("['’]","g");e.exports=function(e){return function(t){return r(o(i(t).replace(a,"")),e,"")}}},77136:(e,t,n)=>{var r=n(22899),i=n(14572),o=n(76300);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&i(t,n,a)&&(n=a=void 0),t=o(t),void 0===n?(n=t,t=0):n=o(n),a=void 0===a?t{var r=n(66006),i=n(16841);e.exports=function e(t,n,o,a,s,l){return i(t)&&i(n)&&(l.set(n,t),r(t,n,void 0,e,l),l.delete(n)),t}},53695:(e,t,n)=>{var r=n(13442),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},16267:(e,t,n)=>{var r=n(70743),i=n(76780),o=n(175);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var h=l.get(e),p=l.get(t);if(h&&p)return h==t&&p==e;var f=-1,g=!0,m=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++f{e.exports=function(e,t){return e===t||e!=e&&t!=t}},18837:(e,t,n)=>{var r=n(6806),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var d=u;d--;){var h=c[d];if(!(l?h in t:i.call(t,h)))return!1}var p=s.get(e),f=s.get(t);if(p&&f)return p==t&&f==e;var g=!0;s.set(e,t),s.set(t,e);for(var m=l;++d{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},6806:(e,t,n)=>{var r=n(11275)(Object.keys,Object);e.exports=r},39425:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},13442:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},6243:(e,t,n)=>{var r=n(11275)(Object.getPrototypeOf,Object);e.exports=r},58860:e=>{e.exports=function(){return[]}},23411:e=>{e.exports=function(){return[]}},39073:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},40238:e=>{var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},350:e=>{var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},19665:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},23635:e=>{e.exports=function(e){return e}},67149:(e,t,n)=>{var r=n(66548),i=n(6243),o=n(7275);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}},14572:e=>{e.exports=function(){return!1}},7275:e=>{e.exports=function(){return!1}},51522:e=>{e.exports=function(){this.__data__=[],this.size=0}},14452:(e,t,n)=>{var r=n(30173),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},55719:(e,t,n)=>{var r=n(30173);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},34971:(e,t,n)=>{var r=n(30173);e.exports=function(e){return r(this.__data__,e)>-1}},25987:(e,t,n)=>{var r=n(30173);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},11275:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},14385:(e,t,n)=>{var r=n(64797),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);++a{var r=n(85876),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},35282:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},92565:e=>{e.exports=function(e){return e}},41772:(e,t,n)=>{var r=n(87926),i=n(40238),o=n(63618);e.exports=function(e){return i(e)?o(e):r(e)}},63618:e=>{var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",i="\\ud83c[\\udffb-\\udfff]",o="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+r+"|"+i+")"+"?",c="[\\ufe0e\\ufe0f]?",u=c+l+("(?:\\u200d(?:"+[o,a,s].join("|")+")"+c+l+")*"),d="(?:"+[o+r+"?",r,a,s,n].join("|")+")",h=RegExp(i+"(?="+i+")|"+d+u,"g");e.exports=function(e){return e.match(h)||[]}},62357:e=>{var t="\\ud800-\\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",i="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+o+"]",s="\\d+",l="["+n+"]",c="["+r+"]",u="[^"+t+o+s+n+r+i+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",p="["+i+"]",f="(?:"+c+"|"+u+")",g="(?:"+p+"|"+u+")",m="(?:['’](?:d|ll|m|re|s|t|ve))?",y="(?:['’](?:D|LL|M|RE|S|T|VE))?",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",b="[\\ufe0e\\ufe0f]?",w=b+v+("(?:\\u200d(?:"+["[^"+t+"]",d,h].join("|")+")"+b+v+")*"),x="(?:"+[l,d,h].join("|")+")"+w,A=RegExp([p+"?"+c+"+"+m+"(?="+[a,p,"$"].join("|")+")",g+"+"+y+"(?="+[a,p+f,"$"].join("|")+")",p+"?"+f+"+"+m,p+"+"+y,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",s,x].join("|"),"g");e.exports=function(e){return e.match(A)||[]}},76390:(e,t,n)=>{var r=n(46900),i=n(84599)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=i},46900:(e,t,n)=>{var r=n(9986),i=n(81620);e.exports=function(e){return i(r(e).toLowerCase())}},80363:(e,t,n)=>{var r=n(19251);e.exports=function(e){return r(e,5)}},44481:(e,t,n)=>{var r=n(16841),i=n(18288),o=n(52914),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,u,d,h,p,f=0,g=!1,m=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=l,r=c;return l=c=void 0,f=t,d=e.apply(r,n)}function b(e){var n=e-p;return void 0===p||n>=t||n<0||m&&e-f>=u}function w(){var e=i();if(b(e))return x(e);h=setTimeout(w,function(e){var n=t-(e-p);return m?s(n,u-(e-f)):n}(e))}function x(e){return h=void 0,y&&l?v(e):(l=c=void 0,d)}function A(){var e=i(),n=b(e);if(l=arguments,c=this,p=e,n){if(void 0===h)return function(e){return f=e,h=setTimeout(w,t),g?v(e):d}(p);if(m)return clearTimeout(h),h=setTimeout(w,t),v(p)}return void 0===h&&(h=setTimeout(w,t)),d}return t=o(t)||0,r(n)&&(g=!!n.leading,u=(m="maxWait"in n)?a(o(n.maxWait)||0,t):u,y="trailing"in n?!!n.trailing:y),A.cancel=function(){void 0!==h&&clearTimeout(h),f=0,l=p=c=h=void 0},A.flush=function(){return void 0===h?d:x(i())},A}},39976:(e,t,n)=>{var r=n(78056);e.exports=function(e){return null==e?"":r(e)}},79950:(e,t,n)=>{var r=n(64797),i=n(29490),o=n(40554),a=n(92200),s=i((function(e){return e.push(void 0,o),r(a,void 0,e)}));e.exports=s},75299:(e,t,n)=>{var r=n(41313),i=n(29490),o=n(52914),a=i((function(e,t,n){return r(e,o(t)||0,n)}));e.exports=a},11284:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},89255:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{e.exports=function(e){return e}},45800:e=>{e.exports=function(){return!1}},86973:e=>{var t=Array.isArray;e.exports=t},538:(e,t,n)=>{var r=n(55470),i=n(19202);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},70673:(e,t,n)=>{var r=n(538),i=n(4406);e.exports=function(e){return i(e)&&r(e)}},39964:e=>{e.exports=function(){return!1}},34872:(e,t,n)=>{var r=n(47402);e.exports=function(e,t){return r(e,t)}},55470:(e,t,n)=>{var r=n(34316),i=n(16841);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},19202:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},91798:e=>{e.exports=function(){return!1}},16841:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},4406:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},215:(e,t,n)=>{var r=n(34316),i=n(6243),o=n(4406),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},8996:e=>{e.exports=function(){return!1}},66971:e=>{e.exports=function(){return!1}},46794:(e,t,n)=>{var r=n(11275)(Object.keys,Object);e.exports=r},10573:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},92200:(e,t,n)=>{var r=n(66006),i=n(41467)((function(e,t,n,i){r(e,t,n,i)}));e.exports=i},18288:(e,t,n)=>{var r=n(79577);e.exports=function(){return r.Date.now()}},99601:(e,t,n)=>{var r=n(77136)();e.exports=r},30886:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{var r=n(59345),i=n(67629);e.exports=function(e,t){return e&&e.length?i(e,r(t,2)):0}},76300:e=>{e.exports=function(e){return e}},52914:e=>{e.exports=function(e){return e}},62592:(e,t,n)=>{var r=n(25763),i=n(10573);e.exports=function(e){return r(e,i(e))}},9986:e=>{e.exports=function(e){return e}},81620:(e,t,n)=>{var r=n(16791)("toUpperCase");e.exports=r},89321:(e,t,n)=>{var r=n(61025),i=n(350),o=n(9986),a=n(62357);e.exports=function(e,t,n){return e=o(e),void 0===(t=n?void 0:t)?i(e)?a(e):r(e):e.match(t)||[]}},91521:function(e,t){var n,r,i;r=[],void 0===(i="function"==typeof(n=function(){return function(e){function t(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function n(t){var n,r=t.exec(e.substring(g));if(r)return n=r[0],g+=n.length,n}for(var r,i,o,a,s,l=e.length,c=/^[ \t\n\r\u000c]+/,u=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,p=/^\d+$/,f=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,g=0,m=[];;){if(n(u),g>=l)return m;r=n(d),i=[],","===r.slice(-1)?(r=r.replace(h,""),v()):y()}function y(){for(n(c),o="",a="in descriptor";;){if(s=e.charAt(g),"in descriptor"===a)if(t(s))o&&(i.push(o),o="",a="after descriptor");else{if(","===s)return g+=1,o&&i.push(o),void v();if("("===s)o+=s,a="in parens";else{if(""===s)return o&&i.push(o),void v();o+=s}}else if("in parens"===a)if(")"===s)o+=s,a="in descriptor";else{if(""===s)return i.push(o),void v();o+=s}else if("after descriptor"===a)if(t(s));else{if(""===s)return void v();a="in descriptor",g-=1}g+=1}}function v(){var t,n,o,a,s,l,c,u,d,h=!1,g={};for(a=0;a{"use strict";e.exports=i;var r=n(65335);function i(e){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(e)?e:new Uint8Array(e||0),this.pos=0,this.type=0,this.length=this.buf.length}i.Varint=0,i.Fixed64=1,i.Bytes=2,i.Fixed32=5;var o=4294967296,a=1/o,s="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function l(e){return e.type===i.Bytes?e.readVarint()+e.pos:e.pos+1}function c(e,t,n){return n?4294967296*t+(e>>>0):4294967296*(t>>>0)+(e>>>0)}function u(e,t,n){var r=t<=16383?1:t<=2097151?2:t<=268435455?3:Math.floor(Math.log(t)/(7*Math.LN2));n.realloc(r);for(var i=n.pos-1;i>=e;i--)n.buf[i+r]=n.buf[i]}function d(e,t){for(var n=0;n>>8,e[n+2]=t>>>16,e[n+3]=t>>>24}function A(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+(e[t+3]<<24)}i.prototype={destroy:function(){this.buf=null},readFields:function(e,t,n){for(n=n||this.length;this.pos>3,o=this.pos;this.type=7&r,e(i,t,this),this.pos===o&&this.skip(r)}return t},readMessage:function(e,t){return this.readFields(e,t,this.readVarint()+this.pos)},readFixed32:function(){var e=w(this.buf,this.pos);return this.pos+=4,e},readSFixed32:function(){var e=A(this.buf,this.pos);return this.pos+=4,e},readFixed64:function(){var e=w(this.buf,this.pos)+w(this.buf,this.pos+4)*o;return this.pos+=8,e},readSFixed64:function(){var e=w(this.buf,this.pos)+A(this.buf,this.pos+4)*o;return this.pos+=8,e},readFloat:function(){var e=r.read(this.buf,this.pos,!0,23,4);return this.pos+=4,e},readDouble:function(){var e=r.read(this.buf,this.pos,!0,52,8);return this.pos+=8,e},readVarint:function(e){var t,n,r=this.buf;return t=127&(n=r[this.pos++]),n<128?t:(t|=(127&(n=r[this.pos++]))<<7,n<128?t:(t|=(127&(n=r[this.pos++]))<<14,n<128?t:(t|=(127&(n=r[this.pos++]))<<21,n<128?t:function(e,t,n){var r,i,o=n.buf;if(i=o[n.pos++],r=(112&i)>>4,i<128)return c(e,r,t);if(i=o[n.pos++],r|=(127&i)<<3,i<128)return c(e,r,t);if(i=o[n.pos++],r|=(127&i)<<10,i<128)return c(e,r,t);if(i=o[n.pos++],r|=(127&i)<<17,i<128)return c(e,r,t);if(i=o[n.pos++],r|=(127&i)<<24,i<128)return c(e,r,t);if(i=o[n.pos++],r|=(1&i)<<31,i<128)return c(e,r,t);throw new Error("Expected varint not more than 10 bytes")}(t|=(15&(n=r[this.pos]))<<28,e,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var e=this.readVarint();return e%2==1?(e+1)/-2:e/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var e=this.readVarint()+this.pos,t=this.pos;return this.pos=e,e-t>=12&&s?function(e,t,n){return s.decode(e.subarray(t,n))}(this.buf,t,e):function(e,t,n){var r="",i=t;for(;i239?4:l>223?3:l>191?2:1;if(i+u>n)break;1===u?l<128&&(c=l):2===u?128==(192&(o=e[i+1]))&&(c=(31&l)<<6|63&o)<=127&&(c=null):3===u?(o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&((c=(15&l)<<12|(63&o)<<6|63&a)<=2047||c>=55296&&c<=57343)&&(c=null)):4===u&&(o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&((c=(15&l)<<18|(63&o)<<12|(63&a)<<6|63&s)<=65535||c>=1114112)&&(c=null)),null===c?(c=65533,u=1):c>65535&&(c-=65536,r+=String.fromCharCode(c>>>10&1023|55296),c=56320|1023&c),r+=String.fromCharCode(c),i+=u}return r}(this.buf,t,e)},readBytes:function(){var e=this.readVarint()+this.pos,t=this.buf.subarray(this.pos,e);return this.pos=e,t},readPackedVarint:function(e,t){if(this.type!==i.Bytes)return e.push(this.readVarint(t));var n=l(this);for(e=e||[];this.pos127;);else if(t===i.Bytes)this.pos=this.readVarint()+this.pos;else if(t===i.Fixed32)this.pos+=4;else{if(t!==i.Fixed64)throw new Error("Unimplemented type: "+t);this.pos+=8}},writeTag:function(e,t){this.writeVarint(e<<3|t)},realloc:function(e){for(var t=this.length||16;t268435455||e<0?function(e,t){var n,r;e>=0?(n=e%4294967296|0,r=e/4294967296|0):(r=~(-e/4294967296),4294967295^(n=~(-e%4294967296))?n=n+1|0:(n=0,r=r+1|0));if(e>=0x10000000000000000||e<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");t.realloc(10),function(e,t,n){n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos]=127&e}(n,0,t),function(e,t){var n=(7&e)<<4;if(t.buf[t.pos++]|=n|((e>>>=3)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;t.buf[t.pos++]=127&e}(r,t)}(e,this):(this.realloc(4),this.buf[this.pos++]=127&e|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=e>>>7&127))))},writeSVarint:function(e){this.writeVarint(e<0?2*-e-1:2*e)},writeBoolean:function(e){this.writeVarint(Boolean(e))},writeString:function(e){e=String(e),this.realloc(4*e.length),this.pos++;var t=this.pos;this.pos=function(e,t,n){for(var r,i,o=0;o55295&&r<57344){if(!i){r>56319||o+1===t.length?(e[n++]=239,e[n++]=191,e[n++]=189):i=r;continue}if(r<56320){e[n++]=239,e[n++]=191,e[n++]=189,i=r;continue}r=i-55296<<10|r-56320|65536,i=null}else i&&(e[n++]=239,e[n++]=191,e[n++]=189,i=null);r<128?e[n++]=r:(r<2048?e[n++]=r>>6|192:(r<65536?e[n++]=r>>12|224:(e[n++]=r>>18|240,e[n++]=r>>12&63|128),e[n++]=r>>6&63|128),e[n++]=63&r|128)}return n}(this.buf,e,this.pos);var n=this.pos-t;n>=128&&u(t,n,this),this.pos=t-1,this.writeVarint(n),this.pos+=n},writeFloat:function(e){this.realloc(4),r.write(this.buf,e,this.pos,!0,23,4),this.pos+=4},writeDouble:function(e){this.realloc(8),r.write(this.buf,e,this.pos,!0,52,8),this.pos+=8},writeBytes:function(e){var t=e.length;this.writeVarint(t),this.realloc(t);for(var n=0;n=128&&u(n,r,this),this.pos=n-1,this.writeVarint(r),this.pos+=r},writeMessage:function(e,t,n){this.writeTag(e,i.Bytes),this.writeRawMessage(t,n)},writePackedVarint:function(e,t){t.length&&this.writeMessage(e,d,t)},writePackedSVarint:function(e,t){t.length&&this.writeMessage(e,h,t)},writePackedBoolean:function(e,t){t.length&&this.writeMessage(e,g,t)},writePackedFloat:function(e,t){t.length&&this.writeMessage(e,p,t)},writePackedDouble:function(e,t){t.length&&this.writeMessage(e,f,t)},writePackedFixed32:function(e,t){t.length&&this.writeMessage(e,m,t)},writePackedSFixed32:function(e,t){t.length&&this.writeMessage(e,y,t)},writePackedFixed64:function(e,t){t.length&&this.writeMessage(e,v,t)},writePackedSFixed64:function(e,t){t.length&&this.writeMessage(e,b,t)},writeBytesField:function(e,t){this.writeTag(e,i.Bytes),this.writeBytes(t)},writeFixed32Field:function(e,t){this.writeTag(e,i.Fixed32),this.writeFixed32(t)},writeSFixed32Field:function(e,t){this.writeTag(e,i.Fixed32),this.writeSFixed32(t)},writeFixed64Field:function(e,t){this.writeTag(e,i.Fixed64),this.writeFixed64(t)},writeSFixed64Field:function(e,t){this.writeTag(e,i.Fixed64),this.writeSFixed64(t)},writeVarintField:function(e,t){this.writeTag(e,i.Varint),this.writeVarint(t)},writeSVarintField:function(e,t){this.writeTag(e,i.Varint),this.writeSVarint(t)},writeStringField:function(e,t){this.writeTag(e,i.Bytes),this.writeString(t)},writeFloatField:function(e,t){this.writeTag(e,i.Fixed32),this.writeFloat(t)},writeDoubleField:function(e,t){this.writeTag(e,i.Fixed64),this.writeDouble(t)},writeBooleanField:function(e,t){this.writeVarintField(e,Boolean(t))}}},9866:e=>{var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t}};e.exports=n(),e.exports.createColors=n},87909:(e,t,n)=>{"use strict";let r=n(62712);class i extends r{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}e.exports=i,i.default=i,r.registerAtRule(i)},44250:(e,t,n)=>{"use strict";let r=n(77975);class i extends r{constructor(e){super(e),this.type="comment"}}e.exports=i,i.default=i},62712:(e,t,n)=>{"use strict";let r,i,o,a,{isClean:s,my:l}=n(65050),c=n(72399),u=n(44250),d=n(77975);function h(e){return e.map((e=>(e.nodes&&(e.nodes=h(e.nodes)),delete e.source,e)))}function p(e){if(e[s]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)p(t)}class f extends d{append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,n,r=this.getIterator();for(;this.indexes[r]"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...n)=>e[t](...n.map((e=>"function"==typeof e?(t,n)=>e(t.toProxy(),n):e))):"every"===t||"some"===t?n=>e[t](((e,...t)=>n(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let n,r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let e of i)this.proxyOf.nodes.splice(r+1,0,e);for(let e in this.indexes)n=this.indexes[e],r(e[l]||f.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[s]&&p(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls((r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))})),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,n)=>{let r;try{r=e(t,n)}catch(e){throw t.addToError(e)}return!1!==r&&t.walk&&(r=t.walk(e)),r}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("atrule"===n.type&&e.test(n.name))return t(n,r)})):this.walk(((n,r)=>{if("atrule"===n.type&&n.name===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("atrule"===e.type)return t(e,n)})))}walkComments(e){return this.walk(((t,n)=>{if("comment"===t.type)return e(t,n)}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("decl"===n.type&&e.test(n.prop))return t(n,r)})):this.walk(((n,r)=>{if("decl"===n.type&&n.prop===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("decl"===e.type)return t(e,n)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("rule"===n.type&&e.test(n.selector))return t(n,r)})):this.walk(((n,r)=>{if("rule"===n.type&&n.selector===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("rule"===e.type)return t(e,n)})))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}f.registerParse=e=>{r=e},f.registerRule=e=>{i=e},f.registerAtRule=e=>{o=e},f.registerRoot=e=>{a=e},e.exports=f,f.default=f,f.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,o.prototype):"rule"===e.type?Object.setPrototypeOf(e,i.prototype):"decl"===e.type?Object.setPrototypeOf(e,c.prototype):"comment"===e.type?Object.setPrototypeOf(e,u.prototype):"root"===e.type&&Object.setPrototypeOf(e,a.prototype),e[l]=!0,e.nodes&&e.nodes.forEach((e=>{f.rebuild(e)}))}},7089:(e,t,n)=>{"use strict";let r=n(9866),i=n(57819);class o extends Error{constructor(e,t,n,r,i,a){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),r&&(this.source=r),a&&(this.plugin=a),void 0!==t&&void 0!==n&&("number"==typeof t?(this.line=t,this.column=n):(this.line=t.line,this.column=t.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,o)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=r.isColorSupported),i&&e&&(t=i(t));let n,o,a=t.split(/\r?\n/),s=Math.max(this.line-3,0),l=Math.min(this.line+2,a.length),c=String(l).length;if(e){let{bold:e,gray:t,red:i}=r.createColors(!0);n=t=>e(i(t)),o=e=>t(e)}else n=o=e=>e;return a.slice(s,l).map(((e,t)=>{let r=s+1+t,i=" "+(" "+r).slice(-c)+" | ";if(r===this.line){let t=o(i.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return n(">")+o(i)+e+"\n "+t+n("^")}return" "+o(i)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=o,o.default=o},72399:(e,t,n)=>{"use strict";let r=n(77975);class i extends r{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}e.exports=i,i.default=i},51126:(e,t,n)=>{"use strict";let r,i,o=n(62712);class a extends o{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new r(new i,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a},9881:(e,t,n)=>{"use strict";let r=n(72399),i=n(39549),o=n(44250),a=n(87909),s=n(77855),l=n(71979),c=n(32797);function u(e,t){if(Array.isArray(e))return e.map((e=>u(e)));let{inputs:n,...d}=e;if(n){t=[];for(let e of n){let n={...e,__proto__:s.prototype};n.map&&(n.map={...n.map,__proto__:i.prototype}),t.push(n)}}if(d.nodes&&(d.nodes=e.nodes.map((e=>u(e,t)))),d.source){let{inputId:e,...n}=d.source;d.source=n,null!=e&&(d.source.input=t[e])}if("root"===d.type)return new l(d);if("decl"===d.type)return new r(d);if("rule"===d.type)return new c(d);if("comment"===d.type)return new o(d);if("atrule"===d.type)return new a(d);throw new Error("Unknown node type: "+e.type)}e.exports=u,u.default=u},77855:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(45305),{fileURLToPath:o,pathToFileURL:a}=n(95648),{isAbsolute:s,resolve:l}=n(85584),{nanoid:c}=n(33232),u=n(57819),d=n(7089),h=n(39549),p=Symbol("fromOffsetCache"),f=Boolean(r&&i),g=Boolean(l&&s);class m{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!g||/^\w+:\/\//.test(t.from)||s(t.from)?this.file=t.from:this.file=l(t.from)),g&&f){let e=new h(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(e,t,n,r={}){let i,o,s;if(t&&"object"==typeof t){let e=t,r=n;if("number"==typeof e.offset){let r=this.fromOffset(e.offset);t=r.line,n=r.col}else t=e.line,n=e.column;if("number"==typeof r.offset){let e=this.fromOffset(r.offset);o=e.line,s=e.col}else o=r.line,s=r.column}else if(!n){let e=this.fromOffset(t);t=e.line,n=e.col}let l=this.origin(t,n,o,s);return i=l?new d(e,void 0===l.endLine?l.line:{column:l.column,line:l.line},void 0===l.endLine?l.column:{column:l.endColumn,line:l.endLine},l.source,l.file,r.plugin):new d(e,void 0===o?t:{column:n,line:t},void 0===o?n:{column:s,line:o},this.css,this.file,r.plugin),i.input={column:n,endColumn:s,endLine:o,line:t,source:this.css},this.file&&(a&&(i.input.url=a(this.file).toString()),i.input.file=this.file),i}fromOffset(e){let t,n;if(this[p])n=this[p];else{let e=this.css.split("\n");n=new Array(e.length);let t=0;for(let r=0,i=e.length;r=t)r=n.length-1;else{let t,i=n.length-2;for(;r>1),e=n[t+1])){r=t;break}r=t+1}}return{col:e-n[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:l(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,n,r){if(!this.map)return!1;let i,l,c=this.map.consumer(),u=c.originalPositionFor({column:t,line:e});if(!u.source)return!1;"number"==typeof n&&(i=c.originalPositionFor({column:r,line:n})),l=s(u.source)?a(u.source):new URL(u.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let d={column:u.column,endColumn:i&&i.column,endLine:i&&i.line,line:u.line,url:l.toString()};if("file:"===l.protocol){if(!o)throw new Error("file: protocol is not available in this PostCSS build");d.file=o(l)}let h=c.sourceContentFor(u.source);return h&&(d.source=h),d}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}}e.exports=m,m.default=m,u&&u.registerInput&&u.registerInput(m)},72359:(e,t,n)=>{"use strict";let{isClean:r,my:i}=n(65050),o=n(55029),a=n(414),s=n(62712),l=n(51126),c=(n(7669),n(6566)),u=n(79392),d=n(71979);const h={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},p={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},f={Once:!0,postcssPlugin:!0,prepare:!0},g=0;function m(e){return"object"==typeof e&&"function"==typeof e.then}function y(e){let t=!1,n=h[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,g,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,g,n+"Exit"]:[n,n+"Exit"]}function v(e){let t;return t="document"===e.type?["Document",g,"DocumentExit"]:"root"===e.type?["Root",g,"RootExit"]:y(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function b(e){return e[r]=!1,e.nodes&&e.nodes.forEach((e=>b(e))),e}let w={};class x{constructor(e,t,n){let r;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof x||t instanceof c)r=b(t.root),t.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=t.map);else{let e=u;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{r=e(t,n)}catch(e){this.processed=!0,this.error=e}r&&!r[i]&&s.rebuild(r)}else r=b(t);this.result=new c(e,r,n),this.helpers={...w,postcss:w,result:this.result},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?n.postcssVersion:(e.plugin=n.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if("object"==typeof t)for(let n in t){if(!p[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!f[n])if("object"==typeof t[n])for(let r in t[n])e(t,"*"===r?n:n+"-"+r.toLowerCase(),t[n][r]);else"function"==typeof t[n]&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e0;){let e=this.visitTick(t);if(m(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>n(e,this.helpers)));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return m(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=a;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new o(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){if(m(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[r];)e[r]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,r]of e){let e;this.result.lastPlugin=n;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(m(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:i}=t;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void e.pop();if(i.length>0&&t.visitorIndex{e[r]||this.walkSync(e)}));else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}x.registerPostcss=e=>{w=e},e.exports=x,x.default=x,d.registerLazyResult(x),l.registerLazyResult(x)},13979:e=>{"use strict";let t={comma:e=>t.split(e,[","],!0),space:e=>t.split(e,[" ","\n","\t"]),split(e,t,n){let r=[],i="",o=!1,a=0,s=!1,l="",c=!1;for(let n of e)c?c=!1:"\\"===n?c=!0:s?n===l&&(s=!1):'"'===n||"'"===n?(s=!0,l=n):"("===n?a+=1:")"===n?a>0&&(a-=1):0===a&&t.includes(n)&&(o=!0),o?(""!==i&&r.push(i.trim()),i="",o=!1):i+=n;return(n||""!==i)&&r.push(i.trim()),r}};e.exports=t,t.default=t},55029:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(45305),{dirname:o,relative:a,resolve:s,sep:l}=n(85584),{pathToFileURL:c}=n(95648),u=n(77855),d=Boolean(r&&i),h=Boolean(o&&s&&a&&l);e.exports=class{constructor(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.originalCSS=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,n=this.toUrl(this.path(e.file)),i=e.root||o(e.file);!1===this.mapOpts.sourcesContent?(t=new r(e.text),t.sourcesContent&&(t.sourcesContent=null)):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(i)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),h&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=i.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,n=1,r=1,o="",a={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((i,s,l)=>{if(this.css+=i,s&&"end"!==l&&(a.generated.line=n,a.generated.column=r-1,s.source&&s.source.start?(a.source=this.sourcePath(s),a.original.line=s.source.start.line,a.original.column=s.source.start.column-1,this.map.addMapping(a)):(a.source=o,a.original.line=1,a.original.column=0,this.map.addMapping(a))),e=i.match(/\n/g),e?(n+=e.length,t=i.lastIndexOf("\n"),r=i.length-t):r+=i.length,s&&"start"!==l){let e=s.parent||{raws:{}};("decl"===s.type||"atrule"===s.type&&!s.nodes)&&s===e.last&&!e.raws.semicolon||(s.source&&s.source.end?(a.source=this.sourcePath(s),a.original.line=s.source.end.line,a.original.column=s.source.end.column-1,a.generated.line=n,a.generated.column=r-2,this.map.addMapping(a)):(a.source=o,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=r-1,this.map.addMapping(a)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?o(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(n=o(s(n,this.mapOpts.annotation)));let r=a(n,e);return this.memoizedPaths.set(e,r),r}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new u(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,t.source.input.css)}}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(c){let t=c(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===l&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}},62532:(e,t,n)=>{"use strict";let r=n(55029),i=n(414),o=(n(7669),n(79392));const a=n(6566);class s{constructor(e,t,n){let o;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;let s=i;this.result=new a(this._processor,o,this._opts),this.result.css=t;let l=this;Object.defineProperty(this.result,"root",{get:()=>l.root});let c=new r(s,o,this._opts,t);if(c.isMap()){let[e,t]=c.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=o;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}}e.exports=s,s.default=s},77975:(e,t,n)=>{"use strict";let{isClean:r,my:i}=n(65050),o=n(7089),a=n(26865),s=n(414);function l(e,t){let n=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if("proxyCache"===r)continue;let i=e[r],o=typeof i;"parent"===r&&"object"===o?t&&(n[r]=t):"source"===r?n[r]=i:Array.isArray(i)?n[r]=i.map((e=>l(e,n))):("object"===o&&null!==i&&(i=l(i)),n[r]=i)}return n}class c{constructor(e={}){this.raws={},this[r]=!1,this[i]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let n of e[t])"function"==typeof n.clone?this.append(n.clone()):this.append(n)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=l(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:n,start:r}=this.rangeBy(t);return this.source.input.error(e,{column:r.column,line:r.line},{column:n.column,line:n.line},t)}return new o(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markDirty(){if(this[r]){this[r]=!1;let e=this;for(;e=e.parent;)e[r]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let n=this.source.start;if(e.index)n=this.positionInside(e.index,t);else if(e.word){let r=(t=this.toString()).indexOf(e.word);-1!==r&&(n=this.positionInside(r,t))}return n}positionInside(e,t){let n=t||this.toString(),r=this.source.start.column,i=this.source.start.line;for(let t=0;t"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof r&&r.toJSON)n[e]=r.toJSON(null,t);else if("source"===e){let o=t.get(r.input);null==o&&(o=i,t.set(r.input,i),i++),n[e]={end:r.end,inputId:o,start:r.start}}else n[e]=r}return r&&(n.inputs=[...t.keys()].map((e=>e.toJSON()))),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=s){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,n){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}get proxyOf(){return this}}e.exports=c,c.default=c},79392:(e,t,n)=>{"use strict";let r=n(62712),i=n(98600),o=n(77855);function a(e,t){let n=new o(e,t),r=new i(n);try{r.parse()}catch(e){throw e}return r.root}e.exports=a,a.default=a,r.registerParse(a)},98600:(e,t,n)=>{"use strict";let r=n(72399),i=n(25810),o=n(44250),a=n(87909),s=n(71979),l=n(32797);const c={empty:!0,space:!0};e.exports=class{constructor(e){this.input=e,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,n,r,i=new a;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);let o=!1,s=!1,l=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(l.length>0){for(r=l.length-1,n=l[r];n&&"space"===n[0];)n=l[--r];n&&(i.source.end=this.getPosition(n[3]||n[2]),i.source.end.offset++)}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(i.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(i,"params",l),o&&(e=l[l.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let n,r=0;for(let i=t-1;i>=0&&(n=e[i],"space"===n[0]||(r+=1,2!==r));i--);throw this.input.error("Missed semicolon","word"===n[0]?n[3]+1:n[2])}colon(e){let t,n,r,i=0;for(let[o,a]of e.entries()){if(t=a,n=t[0],"("===n&&(i+=1),")"===n&&(i-=1),0===i&&":"===n){if(r){if("word"===r[0]&&"progid"===r[1])continue;return o}this.doubleColon(t)}r=t}return!1}comment(e){let t=new o;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=i(this.input)}decl(e,t){let n=new r;this.init(n,e[0][2]);let i,o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(o[3]||o[2]||function(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}(e)),n.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;n.prop+=e.shift()[1]}for(n.raws.between="";e.length;){if(i=e.shift(),":"===i[0]){n.raws.between+=i[1];break}"word"===i[0]&&/\w/.test(i[1])&&this.unknownWord([i]),n.raws.between+=i[1]}"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let a,s=[];for(;e.length&&(a=e[0][0],"space"===a||"comment"===a);)s.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(i=e[t],"!important"===i[1].toLowerCase()){n.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r," !important"!==r&&(n.raws.important=r);break}if("important"===i[1].toLowerCase()){let r=e.slice(0),i="";for(let e=t;e>0;e--){let t=r[e][0];if(0===i.trim().indexOf("!")&&"space"!==t)break;i=r.pop()[1]+i}0===i.trim().indexOf("!")&&(n.important=!0,n.raws.important=i,e=r)}if("space"!==i[0]&&"comment"!==i[0])break}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(n.raws.between+=s.map((e=>e[1])).join(""),s=[]),this.raw(n,"value",s.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new l;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,n=null,r=!1,i=null,o=[],a=e[1].startsWith("--"),s=[],l=e;for(;l;){if(n=l[0],s.push(l),"("===n||"["===n)i||(i=l),o.push("("===n?")":"]");else if(a&&r&&"{"===n)i||(i=l),o.push("}");else if(0===o.length){if(";"===n){if(r)return void this.decl(s,a);break}if("{"===n)return void this.rule(s);if("}"===n){this.tokenizer.back(s.pop()),t=!0;break}":"===n&&(r=!0)}else n===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&r){if(!a)for(;s.length&&(l=s[s.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,r){let i,o,a,s,l=n.length,u="",d=!0;for(let e=0;ee+t[1]),"");e.raws[t]={raw:r,value:u}}e[t]=u}rule(e){e.pop();let t=new l;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n="";for(let r=t;r{"use strict";let r=n(7089),i=n(72399),o=n(72359),a=n(62712),s=n(50247),l=n(414),c=n(9881),u=n(51126),d=n(49271),h=n(44250),p=n(87909),f=n(6566),g=n(77855),m=n(79392),y=n(13979),v=n(32797),b=n(71979),w=n(77975);function x(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new s(e)}x.plugin=function(e,t){let n,r=!1;function i(...n){console&&console.warn&&!r&&(r=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let i=t(...n);return i.postcssPlugin=e,i.postcssVersion=(new s).version,i}return Object.defineProperty(i,"postcss",{get:()=>(n||(n=i()),n)}),i.process=function(e,t,n){return x([i(n)]).process(e,t)},i},x.stringify=l,x.parse=m,x.fromJSON=c,x.list=y,x.comment=e=>new h(e),x.atRule=e=>new p(e),x.decl=e=>new i(e),x.rule=e=>new v(e),x.root=e=>new b(e),x.document=e=>new u(e),x.CssSyntaxError=r,x.Declaration=i,x.Container=a,x.Processor=s,x.Document=u,x.Comment=h,x.Warning=d,x.AtRule=p,x.Result=f,x.Input=g,x.Rule=v,x.Root=b,x.Node=w,o.registerPostcss(x),e.exports=x,x.default=x},39549:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:i}=n(45305),{existsSync:o,readFileSync:a}=n(24768),{dirname:s,join:l}=n(85584);class c{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new r(this.text)),this.consumerCache}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var t;let n=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let n=e.lastIndexOf(t.pop()),r=e.indexOf("*/",n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}loadFile(e){if(this.root=s(e),o(e))return this.mapFile=e,a(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof r)return i.fromSourceMap(t).toString();if(t instanceof i)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let n=t(e);if(n){let e=this.loadFile(n);if(!e)throw new Error("Unable to load previous source map: "+n.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=l(s(e),t)),this.loadFile(t)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}e.exports=c,c.default=c},50247:(e,t,n)=>{"use strict";let r=n(62532),i=n(72359),o=n(51126),a=n(71979);class s{constructor(e=[]){this.version="8.4.39",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e)if(!0===n.postcss?n=n():n.postcss&&(n=n.postcss),"object"==typeof n&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if("object"==typeof n&&n.postcssPlugin)t.push(n);else if("function"==typeof n)t.push(n);else{if("object"!=typeof n||!n.parse&&!n.stringify)throw new Error(n+" is not a PostCSS plugin")}return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new i(this,e,t):new r(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}e.exports=s,s.default=s,a.registerProcessor(s),o.registerProcessor(s)},6566:(e,t,n)=>{"use strict";let r=n(49271);class i{constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let n=new r(e,t);return this.messages.push(n),n}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}}e.exports=i,i.default=i},71979:(e,t,n)=>{"use strict";let r,i,o=n(62712);class a extends o{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,n){let r=super.normalize(e);if(t)if("prepend"===n)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of r)e.raws.before=t.raws.before;return r}removeChild(e,t){let n=this.index(e);return!t&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new r(new i,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{i=e},e.exports=a,a.default=a,o.registerRoot(a)},32797:(e,t,n)=>{"use strict";let r=n(62712),i=n(13979);class o extends r{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}e.exports=o,o.default=o,r.registerRule(o)},26865:e=>{"use strict";const t={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class n{constructor(e){this.builder=e}atrule(e,t){let n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{let i=(e.raws.between||"")+(t?";":"");this.builder(n+r+i,e)}}beforeAfter(e,t){let n;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let r=e.parent,i=0;for(;r&&"root"!==r.type;)i+=1,r=r.parent;if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e0&&"comment"===e.nodes[t].type;)t-=1;let n=this.raw(e,"semicolon");for(let r=0;r{if(i=e.raws[n],void 0!==i)return!1}))}var s;return void 0===i&&(i=t[r]),a.rawCache[r]=i,i}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let n;return e.walkComments((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,t){let n;return e.walkDecls((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawBeforeRule(e){let t;return e.walk((n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return t=n.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((n=>{let r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){let e=n.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}e.exports=n,n.default=n},414:(e,t,n)=>{"use strict";let r=n(26865);function i(e,t){new r(t).stringify(e)}e.exports=i,i.default=i},65050:e=>{"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},25810:e=>{"use strict";const t="'".charCodeAt(0),n='"'.charCodeAt(0),r="\\".charCodeAt(0),i="/".charCodeAt(0),o="\n".charCodeAt(0),a=" ".charCodeAt(0),s="\f".charCodeAt(0),l="\t".charCodeAt(0),c="\r".charCodeAt(0),u="[".charCodeAt(0),d="]".charCodeAt(0),h="(".charCodeAt(0),p=")".charCodeAt(0),f="{".charCodeAt(0),g="}".charCodeAt(0),m=";".charCodeAt(0),y="*".charCodeAt(0),v=":".charCodeAt(0),b="@".charCodeAt(0),w=/[\t\n\f\r "#'()/;[\\\]{}]/g,x=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,A=/.[\r\n"'(/\\]/,S=/[\da-f]/i;e.exports=function(e,C={}){let E,k,T,_,O,P,I,M,L,R,j=e.css.valueOf(),F=C.ignoreErrors,D=j.length,N=0,B=[],z=[];function V(t){throw e.error("Unclosed "+t,N)}return{back:function(e){z.push(e)},endOfFile:function(){return 0===z.length&&N>=D},nextToken:function(e){if(z.length)return z.pop();if(N>=D)return;let C=!!e&&e.ignoreUnclosed;switch(E=j.charCodeAt(N),E){case o:case a:case l:case c:case s:k=N;do{k+=1,E=j.charCodeAt(k)}while(E===a||E===o||E===l||E===c||E===s);R=["space",j.slice(N,k)],N=k-1;break;case u:case d:case f:case g:case v:case m:case p:{let e=String.fromCharCode(E);R=[e,e,N];break}case h:if(M=B.length?B.pop()[1]:"",L=j.charCodeAt(N+1),"url"===M&&L!==t&&L!==n&&L!==a&&L!==o&&L!==l&&L!==s&&L!==c){k=N;do{if(P=!1,k=j.indexOf(")",k+1),-1===k){if(F||C){k=N;break}V("bracket")}for(I=k;j.charCodeAt(I-1)===r;)I-=1,P=!P}while(P);R=["brackets",j.slice(N,k+1),N,k],N=k}else k=j.indexOf(")",N+1),_=j.slice(N,k+1),-1===k||A.test(_)?R=["(","(",N]:(R=["brackets",_,N,k],N=k);break;case t:case n:T=E===t?"'":'"',k=N;do{if(P=!1,k=j.indexOf(T,k+1),-1===k){if(F||C){k=N+1;break}V("string")}for(I=k;j.charCodeAt(I-1)===r;)I-=1,P=!P}while(P);R=["string",j.slice(N,k+1),N,k],N=k;break;case b:w.lastIndex=N+1,w.test(j),k=0===w.lastIndex?j.length-1:w.lastIndex-2,R=["at-word",j.slice(N,k+1),N,k],N=k;break;case r:for(k=N,O=!0;j.charCodeAt(k+1)===r;)k+=1,O=!O;if(E=j.charCodeAt(k+1),O&&E!==i&&E!==a&&E!==o&&E!==l&&E!==c&&E!==s&&(k+=1,S.test(j.charAt(k)))){for(;S.test(j.charAt(k+1));)k+=1;j.charCodeAt(k+1)===a&&(k+=1)}R=["word",j.slice(N,k+1),N,k],N=k;break;default:E===i&&j.charCodeAt(N+1)===y?(k=j.indexOf("*/",N+2)+1,0===k&&(F||C?k=j.length:V("comment")),R=["comment",j.slice(N,k+1),N,k],N=k):(x.lastIndex=N+1,x.test(j),k=0===x.lastIndex?j.length-1:x.lastIndex-2,R=["word",j.slice(N,k+1),N,k],B.push(R),N=k)}return N++,R},position:function(){return N}}}},7669:e=>{"use strict";let t={};e.exports=function(e){t[e]||(t[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},49271:e=>{"use strict";class t{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=t,t.default=t},28414:(e,t,n)=>{"use strict";var r=n(98533);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},22300:(e,t,n)=>{e.exports=n(28414)()},98533:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},86458:(e,t,n)=>{"use strict";const r=n(57873),i=n(29221),o=n(47613),a=n(5137),s=Symbol("encodeFragmentIdentifier");function l(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?i(e):e}function d(e){return Array.isArray(e)?e.sort():"object"==typeof e?d(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function h(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function p(e){const t=(e=h(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function f(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function g(e,t){l((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const i="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!i&&u(n,e).includes(e.arrayFormatSeparator);n=o?u(n,e):n;const a=i||o?n.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===n?n:u(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const i=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!i)return void(r[t]=n?u(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>u(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],o):r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const i of e.split("&")){if(""===i)continue;let[e,a]=o(t.decode?i.replace(/\+/g," "):i,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:u(a,t),n(u(e,t),a,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=f(n[e],t);else r[e]=f(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e}),Object.create(null))}t.extract=p,t.parse=g,t.stringify=(e,t)=>{if(!e)return"";l((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[",i,"]"].join("")]:[...n,[c(t,e),"[",c(i,e),"]=",c(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[]"].join("")]:[...n,[c(t,e),"[]=",c(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),":list="].join("")]:[...n,[c(t,e),":list=",c(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?r:(i=null===i?"":i,0===r.length?[[c(n,e),t,c(i,e)].join("")]:[[r,c(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,c(t,e)]:[...n,[c(t,e),"=",c(r,e)].join("")]}}(t),i={};for(const t of Object.keys(e))n(t)||(i[t]=e[t]);const o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const i=e[n];return void 0===i?"":null===i?c(n,t):Array.isArray(i)?0===i.length&&"bracket-separator"===t.arrayFormat?c(n,t)+"[]":i.reduce(r(n),[]).join("&"):c(n,t)+"="+c(i,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=o(e,"#");return Object.assign({url:n.split("?")[0]||"",query:g(p(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=h(e.url).split("?")[0]||"",i=t.extract(e.url),o=t.parse(i,{sort:!1}),a=Object.assign(o,e.query);let l=t.stringify(a,n);l&&(l=`?${l}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${n[s]?c(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${l}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:i,query:o,fragmentIdentifier:l}=t.parseUrl(e,r);return t.stringifyUrl({url:i,query:a(o,n),fragmentIdentifier:l},r)},t.exclude=(e,n,r)=>{const i=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,i,r)}},37565:function(e){e.exports=function(){"use strict";function e(e,r,i,o,a){!function e(n,r,i,o,a){for(;o>i;){if(o-i>600){var s=o-i+1,l=r-i+1,c=Math.log(s),u=.5*Math.exp(2*c/3),d=.5*Math.sqrt(c*u*(s-u)/s)*(l-s/2<0?-1:1);e(n,r,Math.max(i,Math.floor(r-l*u/s+d)),Math.min(o,Math.floor(r+(s-l)*u/s+d)),a)}var h=n[r],p=i,f=o;for(t(n,i,r),a(n[o],h)>0&&t(n,i,o);p0;)f--}0===a(n[i],h)?t(n,i,f):t(n,++f,o),f<=r&&(i=f+1),r<=f&&(o=f-1)}}(e,r,i||0,o||e.length-1,a||n)}function t(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function n(e,t){return et?1:0}var r=function(e){void 0===e&&(e=9),this._maxEntries=Math.max(4,e),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function i(e,t,n){if(!n)return t.indexOf(e);for(var r=0;r=e.minX&&t.maxY>=e.minY}function f(e){return{children:e,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function g(t,n,r,i,o){for(var a=[n,r];a.length;)if(!((r=a.pop())-(n=a.pop())<=i)){var s=n+Math.ceil((r-n)/i/2)*i;e(t,s,n,r,o),a.push(n,s,s,r)}}return r.prototype.all=function(){return this._all(this.data,[])},r.prototype.search=function(e){var t=this.data,n=[];if(!p(e,t))return n;for(var r=this.toBBox,i=[];t;){for(var o=0;o=0&&i[t].children.length>this._maxEntries;)this._split(i,t),t--;this._adjustParentBBoxes(r,i,t)},r.prototype._split=function(e,t){var n=e[t],r=n.children.length,i=this._minEntries;this._chooseSplitAxis(n,i,r);var a=this._chooseSplitIndex(n,i,r),s=f(n.children.splice(a,n.children.length-a));s.height=n.height,s.leaf=n.leaf,o(n,this.toBBox),o(s,this.toBBox),t?e[t-1].children.push(s):this._splitRoot(n,s)},r.prototype._splitRoot=function(e,t){this.data=f([e,t]),this.data.height=e.height+1,this.data.leaf=!1,o(this.data,this.toBBox)},r.prototype._chooseSplitIndex=function(e,t,n){for(var r,i,o,s,l,c,d,h=1/0,p=1/0,f=t;f<=n-t;f++){var g=a(e,0,f,this.toBBox),m=a(e,f,n,this.toBBox),y=(i=g,o=m,s=void 0,l=void 0,c=void 0,d=void 0,s=Math.max(i.minX,o.minX),l=Math.max(i.minY,o.minY),c=Math.min(i.maxX,o.maxX),d=Math.min(i.maxY,o.maxY),Math.max(0,c-s)*Math.max(0,d-l)),v=u(g)+u(m);y=t;p--){var f=e.children[p];s(l,e.leaf?i(f):f),c+=d(l)}return c},r.prototype._adjustParentBBoxes=function(e,t,n){for(var r=n;r>=0;r--)s(t[r],e)},r.prototype._condense=function(e){for(var t=e.length-1,n=void 0;t>=0;t--)0===e[t].children.length?t>0?(n=e[t-1].children).splice(n.indexOf(e[t]),1):this.clear():o(e[t],this.toBBox)},r}()},77669:(e,t,n)=>{"use strict"; +function n(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}},23018:e=>{"use strict";var t=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),n(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function n(e,r,o,i,a,s,l,c,u,d){if(i&&"object"==typeof i&&!Array.isArray(i)){for(var h in r(i,a,s,l,c,u,d),i){var p=i[h];if(Array.isArray(p)){if(h in t.arrayKeywords)for(var f=0;f{var r=n(86973);e.exports=function(){if(!arguments.length)return[];var e=arguments[0];return r(e)?e:[e]}},26629:(e,t,n)=>{var r=n(51522),o=n(14452),i=n(55719),a=n(34971),s=n(25987);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t{var r=n(79577).Uint8Array;e.exports=r},64797:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},56389:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{e.exports=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{e.exports=function(e){return e.split("")}},61025:e=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(t)||[]}},12817:(e,t,n)=>{var r=n(76596),o=n(11284);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},8399:(e,t,n)=>{var r=n(76596),o=n(11284),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},30173:(e,t,n)=>{var r=n(11284);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},2809:(e,t,n)=>{var r=n(25763),o=n(46794);e.exports=function(e,t){return e&&r(t,o(t),e)}},6306:(e,t,n)=>{var r=n(25763),o=n(10573);e.exports=function(e,t){return e&&r(t,o(t),e)}},76596:(e,t,n)=>{var r=n(53695);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},19251:(e,t,n)=>{var r=n(26629),o=n(56389),i=n(8399),a=n(2809),s=n(6306),l=n(11702),c=n(42627),u=n(71979),d=n(55928),h=n(6806),p=n(39425),f=n(39073),g=n(19665),m=n(23635),y=n(67149),v=n(86973),b=n(39964),w=n(91798),A=n(16841),x=n(8996),S=n(46794),C=n(10573),E="[object Arguments]",k="[object Function]",T="[object Object]",_={};_[E]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object DataView]"]=_["[object Boolean]"]=_["[object Date]"]=_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Map]"]=_["[object Number]"]=_[T]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object Symbol]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Error]"]=_[k]=_["[object WeakMap]"]=!1,e.exports=function e(t,n,O,P,I,M){var L,R=1&n,j=2&n,F=4&n;if(O&&(L=I?O(t,P,I,M):O(t)),void 0!==L)return L;if(!A(t))return t;var D=v(t);if(D){if(L=g(t),!R)return c(t,L)}else{var N=f(t),z=N==k||"[object GeneratorFunction]"==N;if(b(t))return l(t,R);if(N==T||N==E||z&&!I){if(L=j||z?{}:y(t),!R)return j?d(t,s(L,t)):u(t,a(L,t))}else{if(!_[N])return I?t:{};L=m(t,N,R)}}M||(M=new r);var B=M.get(t);if(B)return B;M.set(t,L),x(t)?t.forEach((function(r){L.add(e(r,n,O,r,t,M))})):w(t)&&t.forEach((function(r,o){L.set(o,e(r,n,O,o,t,M))}));var V=D?void 0:(F?j?p:h:j?C:S)(t);return o(V||t,(function(r,o){V&&(r=t[o=r]),i(L,o,e(r,n,O,o,t,M))})),L}},66548:(e,t,n)=>{var r=n(16841),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},41313:e=>{e.exports=function(e,t,n){if("function"!=typeof e)throw new TypeError("Expected a function");return setTimeout((function(){e.apply(void 0,n)}),t)}},37981:(e,t,n)=>{var r=n(10609)();e.exports=r},34316:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},24927:e=>{e.exports=function(e,t,n){for(var r=n-1,o=e.length;++r{var r=n(39760),o=n(4406);e.exports=function e(t,n,i,a,s){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!=t&&n!=n:r(t,n,i,a,e,s))}},39760:(e,t,n)=>{var r=n(26629),o=n(16267),i=n(27822),a=n(18837),s=n(39073),l=n(86973),c=n(39964),u=n(66971),d="[object Arguments]",h="[object Array]",p="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,m,y){var v=l(e),b=l(t),w=v?h:s(e),A=b?h:s(t),x=(w=w==d?p:w)==p,S=(A=A==d?p:A)==p,C=w==A;if(C&&c(e)){if(!c(t))return!1;v=!0,x=!1}if(C&&!x)return y||(y=new r),v||u(e)?o(e,t,n,g,m,y):i(e,t,w,n,g,m,y);if(!(1&n)){var E=x&&f.call(e,"__wrapped__"),k=S&&f.call(t,"__wrapped__");if(E||k){var T=E?e.value():e,_=k?t.value():t;return y||(y=new r),m(T,_,n,g,y)}}return!!C&&(y||(y=new r),a(e,t,n,g,m,y))}},59345:e=>{e.exports=function(e){return e}},66006:(e,t,n)=>{var r=n(26629),o=n(12817),i=n(37981),a=n(99268),s=n(16841),l=n(10573),c=n(35282);e.exports=function e(t,n,u,d,h){t!==n&&i(n,(function(i,l){if(h||(h=new r),s(i))a(t,n,l,u,e,d,h);else{var p=d?d(c(t,l),i,l+"",t,n,h):void 0;void 0===p&&(p=i),o(t,l,p)}}),l)}},99268:(e,t,n)=>{var r=n(12817),o=n(11702),i=n(2877),a=n(42627),s=n(67149),l=n(23419),c=n(86973),u=n(70673),d=n(39964),h=n(55470),p=n(16841),f=n(215),g=n(66971),m=n(35282),y=n(62592);e.exports=function(e,t,n,v,b,w,A){var x=m(e,n),S=m(t,n),C=A.get(S);if(C)r(e,n,C);else{var E=w?w(x,S,n+"",e,t,A):void 0,k=void 0===E;if(k){var T=c(S),_=!T&&d(S),O=!T&&!_&&g(S);E=S,T||_||O?c(x)?E=x:u(x)?E=a(x):_?(k=!1,E=o(S,!0)):O?(k=!1,E=i(S,!0)):E=[]:f(S)||l(S)?(E=x,l(x)?E=y(x):p(x)&&!h(x)||(E=s(S))):k=!1}k&&(A.set(S,E),b(E,S,v,w,A),A.delete(S)),r(e,n,E)}}},22899:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,r,o,i){for(var a=-1,s=n(t((r-e)/(o||1)),0),l=Array(s);s--;)l[i?s:++a]=e,e+=o;return l}},29490:(e,t,n)=>{var r=n(35308),o=n(14385),i=n(92565);e.exports=function(e,t){return i(o(e,t,r),e+"")}},74316:e=>{e.exports=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r{e.exports=function(e,t){for(var n,r=-1,o=e.length;++r{e.exports=function(e){return e}},175:(e,t,n)=>{var r=n(24927);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},42966:(e,t,n)=>{var r=n(74316);e.exports=function(e,t,n){var o=e.length;return n=void 0===n?o:n,!t&&n>=o?e:r(e,t,n)}},52729:(e,t,n)=>{var r=n(38512);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},11702:(e,t,n)=>{e=n.nmd(e);var r=n(79577),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},2877:(e,t,n)=>{var r=n(52729);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},42627:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n{var r=n(8399),o=n(76596);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var s=-1,l=t.length;++s{var r=n(25763),o=n(58860);e.exports=function(e,t){return r(e,o(e),t)}},55928:(e,t,n)=>{var r=n(25763),o=n(23411);e.exports=function(e,t){return r(e,o(e),t)}},41467:(e,t,n)=>{var r=n(29490),o=n(14572);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r{e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}},16791:(e,t,n)=>{var r=n(42966),o=n(40238),i=n(41772),a=n(9986);e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,s=n?n[0]:t.charAt(0),l=n?r(n,1).join(""):t.slice(1);return s[e]()+l}}},84599:(e,t,n)=>{var r=n(10046),o=n(39976),i=n(89321),a=RegExp("['’]","g");e.exports=function(e){return function(t){return r(i(o(t).replace(a,"")),e,"")}}},77136:(e,t,n)=>{var r=n(22899),o=n(14572),i=n(76300);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&o(t,n,a)&&(n=a=void 0),t=i(t),void 0===n?(n=t,t=0):n=i(n),a=void 0===a?t{var r=n(66006),o=n(16841);e.exports=function e(t,n,i,a,s,l){return o(t)&&o(n)&&(l.set(n,t),r(t,n,void 0,e,l),l.delete(n)),t}},53695:(e,t,n)=>{var r=n(13442),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},16267:(e,t,n)=>{var r=n(70743),o=n(76780),i=n(175);e.exports=function(e,t,n,a,s,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var h=l.get(e),p=l.get(t);if(h&&p)return h==t&&p==e;var f=-1,g=!0,m=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++f{e.exports=function(e,t){return e===t||e!=e&&t!=t}},18837:(e,t,n)=>{var r=n(6806),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,a,s){var l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var d=u;d--;){var h=c[d];if(!(l?h in t:o.call(t,h)))return!1}var p=s.get(e),f=s.get(t);if(p&&f)return p==t&&f==e;var g=!0;s.set(e,t),s.set(t,e);for(var m=l;++d{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},6806:(e,t,n)=>{var r=n(11275)(Object.keys,Object);e.exports=r},39425:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},13442:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},6243:(e,t,n)=>{var r=n(11275)(Object.getPrototypeOf,Object);e.exports=r},58860:e=>{e.exports=function(){return[]}},23411:e=>{e.exports=function(){return[]}},39073:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},40238:e=>{var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},77969:e=>{var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=function(e){return t.test(e)}},19665:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},23635:e=>{e.exports=function(e){return e}},67149:(e,t,n)=>{var r=n(66548),o=n(6243),i=n(7275);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},14572:e=>{e.exports=function(){return!1}},7275:e=>{e.exports=function(){return!1}},51522:e=>{e.exports=function(){this.__data__=[],this.size=0}},14452:(e,t,n)=>{var r=n(30173),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},55719:(e,t,n)=>{var r=n(30173);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},34971:(e,t,n)=>{var r=n(30173);e.exports=function(e){return r(this.__data__,e)>-1}},25987:(e,t,n)=>{var r=n(30173);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},11275:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},14385:(e,t,n)=>{var r=n(64797),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a{var r=n(85876),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},35282:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},92565:e=>{e.exports=function(e){return e}},41772:(e,t,n)=>{var r=n(87926),o=n(40238),i=n(63618);e.exports=function(e){return o(e)?i(e):r(e)}},63618:e=>{var t="\\ud800-\\udfff",n="["+t+"]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^"+t+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",l="(?:"+r+"|"+o+")"+"?",c="[\\ufe0e\\ufe0f]?",u=c+l+("(?:\\u200d(?:"+[i,a,s].join("|")+")"+c+l+")*"),d="(?:"+[i+r+"?",r,a,s,n].join("|")+")",h=RegExp(o+"(?="+o+")|"+d+u,"g");e.exports=function(e){return e.match(h)||[]}},62357:e=>{var t="\\ud800-\\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="["+i+"]",s="\\d+",l="["+n+"]",c="["+r+"]",u="[^"+t+i+s+n+r+o+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",p="["+o+"]",f="(?:"+c+"|"+u+")",g="(?:"+p+"|"+u+")",m="(?:['’](?:d|ll|m|re|s|t|ve))?",y="(?:['’](?:D|LL|M|RE|S|T|VE))?",v="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",b="[\\ufe0e\\ufe0f]?",w=b+v+("(?:\\u200d(?:"+["[^"+t+"]",d,h].join("|")+")"+b+v+")*"),A="(?:"+[l,d,h].join("|")+")"+w,x=RegExp([p+"?"+c+"+"+m+"(?="+[a,p,"$"].join("|")+")",g+"+"+y+"(?="+[a,p+f,"$"].join("|")+")",p+"?"+f+"+"+m,p+"+"+y,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",s,A].join("|"),"g");e.exports=function(e){return e.match(x)||[]}},76390:(e,t,n)=>{var r=n(46900),o=n(84599)((function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)}));e.exports=o},46900:(e,t,n)=>{var r=n(9986),o=n(81620);e.exports=function(e){return o(r(e).toLowerCase())}},80363:(e,t,n)=>{var r=n(19251);e.exports=function(e){return r(e,5)}},44481:(e,t,n)=>{var r=n(16841),o=n(18288),i=n(52914),a=Math.max,s=Math.min;e.exports=function(e,t,n){var l,c,u,d,h,p,f=0,g=!1,m=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var n=l,r=c;return l=c=void 0,f=t,d=e.apply(r,n)}function b(e){var n=e-p;return void 0===p||n>=t||n<0||m&&e-f>=u}function w(){var e=o();if(b(e))return A(e);h=setTimeout(w,function(e){var n=t-(e-p);return m?s(n,u-(e-f)):n}(e))}function A(e){return h=void 0,y&&l?v(e):(l=c=void 0,d)}function x(){var e=o(),n=b(e);if(l=arguments,c=this,p=e,n){if(void 0===h)return function(e){return f=e,h=setTimeout(w,t),g?v(e):d}(p);if(m)return clearTimeout(h),h=setTimeout(w,t),v(p)}return void 0===h&&(h=setTimeout(w,t)),d}return t=i(t)||0,r(n)&&(g=!!n.leading,u=(m="maxWait"in n)?a(i(n.maxWait)||0,t):u,y="trailing"in n?!!n.trailing:y),x.cancel=function(){void 0!==h&&clearTimeout(h),f=0,l=p=c=h=void 0},x.flush=function(){return void 0===h?d:A(o())},x}},39976:(e,t,n)=>{var r=n(78056);e.exports=function(e){return null==e?"":r(e)}},79950:(e,t,n)=>{var r=n(64797),o=n(29490),i=n(40554),a=n(92200),s=o((function(e){return e.push(void 0,i),r(a,void 0,e)}));e.exports=s},75299:(e,t,n)=>{var r=n(41313),o=n(29490),i=n(52914),a=o((function(e,t,n){return r(e,i(t)||0,n)}));e.exports=a},11284:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},89255:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{e.exports=function(e){return e}},23419:e=>{e.exports=function(){return!1}},86973:e=>{var t=Array.isArray;e.exports=t},538:(e,t,n)=>{var r=n(55470),o=n(19202);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},70673:(e,t,n)=>{var r=n(538),o=n(4406);e.exports=function(e){return o(e)&&r(e)}},39964:e=>{e.exports=function(){return!1}},34872:(e,t,n)=>{var r=n(47402);e.exports=function(e,t){return r(e,t)}},55470:(e,t,n)=>{var r=n(34316),o=n(16841);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},19202:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},91798:e=>{e.exports=function(){return!1}},16841:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},4406:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},215:(e,t,n)=>{var r=n(34316),o=n(6243),i=n(4406),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},8996:e=>{e.exports=function(){return!1}},66971:e=>{e.exports=function(){return!1}},46794:(e,t,n)=>{var r=n(11275)(Object.keys,Object);e.exports=r},10573:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},92200:(e,t,n)=>{var r=n(66006),o=n(41467)((function(e,t,n,o){r(e,t,n,o)}));e.exports=o},18288:(e,t,n)=>{var r=n(79577);e.exports=function(){return r.Date.now()}},99601:(e,t,n)=>{var r=n(77136)();e.exports=r},30886:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n{var r=n(59345),o=n(67629);e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):0}},76300:e=>{e.exports=function(e){return e}},52914:e=>{e.exports=function(e){return e}},62592:(e,t,n)=>{var r=n(25763),o=n(10573);e.exports=function(e){return r(e,o(e))}},9986:e=>{e.exports=function(e){return e}},81620:(e,t,n)=>{var r=n(16791)("toUpperCase");e.exports=r},89321:(e,t,n)=>{var r=n(61025),o=n(77969),i=n(9986),a=n(62357);e.exports=function(e,t,n){return e=i(e),void 0===(t=n?void 0:t)?o(e)?a(e):r(e):e.match(t)||[]}},91521:function(e,t){var n,r,o;r=[],void 0===(o="function"==typeof(n=function(){return function(e){function t(e){return" "===e||"\t"===e||"\n"===e||"\f"===e||"\r"===e}function n(t){var n,r=t.exec(e.substring(g));if(r)return n=r[0],g+=n.length,n}for(var r,o,i,a,s,l=e.length,c=/^[ \t\n\r\u000c]+/,u=/^[, \t\n\r\u000c]+/,d=/^[^ \t\n\r\u000c]+/,h=/[,]+$/,p=/^\d+$/,f=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,g=0,m=[];;){if(n(u),g>=l)return m;r=n(d),o=[],","===r.slice(-1)?(r=r.replace(h,""),v()):y()}function y(){for(n(c),i="",a="in descriptor";;){if(s=e.charAt(g),"in descriptor"===a)if(t(s))i&&(o.push(i),i="",a="after descriptor");else{if(","===s)return g+=1,i&&o.push(i),void v();if("("===s)i+=s,a="in parens";else{if(""===s)return i&&o.push(i),void v();i+=s}}else if("in parens"===a)if(")"===s)i+=s,a="in descriptor";else{if(""===s)return o.push(i),void v();i+=s}else if("after descriptor"===a)if(t(s));else{if(""===s)return void v();a="in descriptor",g-=1}g+=1}}function v(){var t,n,i,a,s,l,c,u,d,h=!1,g={};for(a=0;a{"use strict";e.exports=o;var r=n(65335);function o(e){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(e)?e:new Uint8Array(e||0),this.pos=0,this.type=0,this.length=this.buf.length}o.Varint=0,o.Fixed64=1,o.Bytes=2,o.Fixed32=5;var i=4294967296,a=1/i,s="undefined"==typeof TextDecoder?null:new TextDecoder("utf8");function l(e){return e.type===o.Bytes?e.readVarint()+e.pos:e.pos+1}function c(e,t,n){return n?4294967296*t+(e>>>0):4294967296*(t>>>0)+(e>>>0)}function u(e,t,n){var r=t<=16383?1:t<=2097151?2:t<=268435455?3:Math.floor(Math.log(t)/(7*Math.LN2));n.realloc(r);for(var o=n.pos-1;o>=e;o--)n.buf[o+r]=n.buf[o]}function d(e,t){for(var n=0;n>>8,e[n+2]=t>>>16,e[n+3]=t>>>24}function x(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16)+(e[t+3]<<24)}o.prototype={destroy:function(){this.buf=null},readFields:function(e,t,n){for(n=n||this.length;this.pos>3,i=this.pos;this.type=7&r,e(o,t,this),this.pos===i&&this.skip(r)}return t},readMessage:function(e,t){return this.readFields(e,t,this.readVarint()+this.pos)},readFixed32:function(){var e=w(this.buf,this.pos);return this.pos+=4,e},readSFixed32:function(){var e=x(this.buf,this.pos);return this.pos+=4,e},readFixed64:function(){var e=w(this.buf,this.pos)+w(this.buf,this.pos+4)*i;return this.pos+=8,e},readSFixed64:function(){var e=w(this.buf,this.pos)+x(this.buf,this.pos+4)*i;return this.pos+=8,e},readFloat:function(){var e=r.read(this.buf,this.pos,!0,23,4);return this.pos+=4,e},readDouble:function(){var e=r.read(this.buf,this.pos,!0,52,8);return this.pos+=8,e},readVarint:function(e){var t,n,r=this.buf;return t=127&(n=r[this.pos++]),n<128?t:(t|=(127&(n=r[this.pos++]))<<7,n<128?t:(t|=(127&(n=r[this.pos++]))<<14,n<128?t:(t|=(127&(n=r[this.pos++]))<<21,n<128?t:function(e,t,n){var r,o,i=n.buf;if(o=i[n.pos++],r=(112&o)>>4,o<128)return c(e,r,t);if(o=i[n.pos++],r|=(127&o)<<3,o<128)return c(e,r,t);if(o=i[n.pos++],r|=(127&o)<<10,o<128)return c(e,r,t);if(o=i[n.pos++],r|=(127&o)<<17,o<128)return c(e,r,t);if(o=i[n.pos++],r|=(127&o)<<24,o<128)return c(e,r,t);if(o=i[n.pos++],r|=(1&o)<<31,o<128)return c(e,r,t);throw new Error("Expected varint not more than 10 bytes")}(t|=(15&(n=r[this.pos]))<<28,e,this))))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var e=this.readVarint();return e%2==1?(e+1)/-2:e/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var e=this.readVarint()+this.pos,t=this.pos;return this.pos=e,e-t>=12&&s?function(e,t,n){return s.decode(e.subarray(t,n))}(this.buf,t,e):function(e,t,n){var r="",o=t;for(;o239?4:l>223?3:l>191?2:1;if(o+u>n)break;1===u?l<128&&(c=l):2===u?128==(192&(i=e[o+1]))&&(c=(31&l)<<6|63&i)<=127&&(c=null):3===u?(i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&((c=(15&l)<<12|(63&i)<<6|63&a)<=2047||c>=55296&&c<=57343)&&(c=null)):4===u&&(i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&((c=(15&l)<<18|(63&i)<<12|(63&a)<<6|63&s)<=65535||c>=1114112)&&(c=null)),null===c?(c=65533,u=1):c>65535&&(c-=65536,r+=String.fromCharCode(c>>>10&1023|55296),c=56320|1023&c),r+=String.fromCharCode(c),o+=u}return r}(this.buf,t,e)},readBytes:function(){var e=this.readVarint()+this.pos,t=this.buf.subarray(this.pos,e);return this.pos=e,t},readPackedVarint:function(e,t){if(this.type!==o.Bytes)return e.push(this.readVarint(t));var n=l(this);for(e=e||[];this.pos127;);else if(t===o.Bytes)this.pos=this.readVarint()+this.pos;else if(t===o.Fixed32)this.pos+=4;else{if(t!==o.Fixed64)throw new Error("Unimplemented type: "+t);this.pos+=8}},writeTag:function(e,t){this.writeVarint(e<<3|t)},realloc:function(e){for(var t=this.length||16;t268435455||e<0?function(e,t){var n,r;e>=0?(n=e%4294967296|0,r=e/4294967296|0):(r=~(-e/4294967296),4294967295^(n=~(-e%4294967296))?n=n+1|0:(n=0,r=r+1|0));if(e>=0x10000000000000000||e<-0x10000000000000000)throw new Error("Given varint doesn't fit into 10 bytes");t.realloc(10),function(e,t,n){n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos++]=127&e|128,e>>>=7,n.buf[n.pos]=127&e}(n,0,t),function(e,t){var n=(7&e)<<4;if(t.buf[t.pos++]|=n|((e>>>=3)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;if(t.buf[t.pos++]=127&e|((e>>>=7)?128:0),!e)return;t.buf[t.pos++]=127&e}(r,t)}(e,this):(this.realloc(4),this.buf[this.pos++]=127&e|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=127&(e>>>=7)|(e>127?128:0),e<=127||(this.buf[this.pos++]=e>>>7&127))))},writeSVarint:function(e){this.writeVarint(e<0?2*-e-1:2*e)},writeBoolean:function(e){this.writeVarint(Boolean(e))},writeString:function(e){e=String(e),this.realloc(4*e.length),this.pos++;var t=this.pos;this.pos=function(e,t,n){for(var r,o,i=0;i55295&&r<57344){if(!o){r>56319||i+1===t.length?(e[n++]=239,e[n++]=191,e[n++]=189):o=r;continue}if(r<56320){e[n++]=239,e[n++]=191,e[n++]=189,o=r;continue}r=o-55296<<10|r-56320|65536,o=null}else o&&(e[n++]=239,e[n++]=191,e[n++]=189,o=null);r<128?e[n++]=r:(r<2048?e[n++]=r>>6|192:(r<65536?e[n++]=r>>12|224:(e[n++]=r>>18|240,e[n++]=r>>12&63|128),e[n++]=r>>6&63|128),e[n++]=63&r|128)}return n}(this.buf,e,this.pos);var n=this.pos-t;n>=128&&u(t,n,this),this.pos=t-1,this.writeVarint(n),this.pos+=n},writeFloat:function(e){this.realloc(4),r.write(this.buf,e,this.pos,!0,23,4),this.pos+=4},writeDouble:function(e){this.realloc(8),r.write(this.buf,e,this.pos,!0,52,8),this.pos+=8},writeBytes:function(e){var t=e.length;this.writeVarint(t),this.realloc(t);for(var n=0;n=128&&u(n,r,this),this.pos=n-1,this.writeVarint(r),this.pos+=r},writeMessage:function(e,t,n){this.writeTag(e,o.Bytes),this.writeRawMessage(t,n)},writePackedVarint:function(e,t){t.length&&this.writeMessage(e,d,t)},writePackedSVarint:function(e,t){t.length&&this.writeMessage(e,h,t)},writePackedBoolean:function(e,t){t.length&&this.writeMessage(e,g,t)},writePackedFloat:function(e,t){t.length&&this.writeMessage(e,p,t)},writePackedDouble:function(e,t){t.length&&this.writeMessage(e,f,t)},writePackedFixed32:function(e,t){t.length&&this.writeMessage(e,m,t)},writePackedSFixed32:function(e,t){t.length&&this.writeMessage(e,y,t)},writePackedFixed64:function(e,t){t.length&&this.writeMessage(e,v,t)},writePackedSFixed64:function(e,t){t.length&&this.writeMessage(e,b,t)},writeBytesField:function(e,t){this.writeTag(e,o.Bytes),this.writeBytes(t)},writeFixed32Field:function(e,t){this.writeTag(e,o.Fixed32),this.writeFixed32(t)},writeSFixed32Field:function(e,t){this.writeTag(e,o.Fixed32),this.writeSFixed32(t)},writeFixed64Field:function(e,t){this.writeTag(e,o.Fixed64),this.writeFixed64(t)},writeSFixed64Field:function(e,t){this.writeTag(e,o.Fixed64),this.writeSFixed64(t)},writeVarintField:function(e,t){this.writeTag(e,o.Varint),this.writeVarint(t)},writeSVarintField:function(e,t){this.writeTag(e,o.Varint),this.writeSVarint(t)},writeStringField:function(e,t){this.writeTag(e,o.Bytes),this.writeString(t)},writeFloatField:function(e,t){this.writeTag(e,o.Fixed32),this.writeFloat(t)},writeDoubleField:function(e,t){this.writeTag(e,o.Fixed64),this.writeDouble(t)},writeBooleanField:function(e,t){this.writeVarintField(e,Boolean(t))}}},9866:e=>{var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t}};e.exports=n(),e.exports.createColors=n},25044:(e,t,n)=>{"use strict";let r=n(11241);class o extends r{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}e.exports=o,o.default=o,r.registerAtRule(o)},27459:(e,t,n)=>{"use strict";let r=n(36040);class o extends r{constructor(e){super(e),this.type="comment"}}e.exports=o,o.default=o},11241:(e,t,n)=>{"use strict";let r,o,i,a,{isClean:s,my:l}=n(64191),c=n(73838),u=n(27459),d=n(36040);function h(e){return e.map((e=>(e.nodes&&(e.nodes=h(e.nodes)),delete e.source,e)))}function p(e){if(e[s]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)p(t)}class f extends d{append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,n,r=this.getIterator();for(;this.indexes[r]"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...n)=>e[t](...n.map((e=>"function"==typeof e?(t,n)=>e(t.toProxy(),n):e))):"every"===t||"some"===t?n=>e[t](((e,...t)=>n(e.toProxy(),...t))):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map((e=>e.toProxy())):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let n,r=this.index(e),o=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let e of o)this.proxyOf.nodes.splice(r+1,0,e);for(let e in this.indexes)n=this.indexes[e],r(e[l]||f.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[s]&&p(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e)))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls((r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,n))})),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each(((t,n)=>{let r;try{r=e(t,n)}catch(e){throw t.addToError(e)}return!1!==r&&t.walk&&(r=t.walk(e)),r}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("atrule"===n.type&&e.test(n.name))return t(n,r)})):this.walk(((n,r)=>{if("atrule"===n.type&&n.name===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("atrule"===e.type)return t(e,n)})))}walkComments(e){return this.walk(((t,n)=>{if("comment"===t.type)return e(t,n)}))}walkDecls(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("decl"===n.type&&e.test(n.prop))return t(n,r)})):this.walk(((n,r)=>{if("decl"===n.type&&n.prop===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("decl"===e.type)return t(e,n)})))}walkRules(e,t){return t?e instanceof RegExp?this.walk(((n,r)=>{if("rule"===n.type&&e.test(n.selector))return t(n,r)})):this.walk(((n,r)=>{if("rule"===n.type&&n.selector===e)return t(n,r)})):(t=e,this.walk(((e,n)=>{if("rule"===e.type)return t(e,n)})))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}f.registerParse=e=>{r=e},f.registerRule=e=>{o=e},f.registerAtRule=e=>{i=e},f.registerRoot=e=>{a=e},e.exports=f,f.default=f,f.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,i.prototype):"rule"===e.type?Object.setPrototypeOf(e,o.prototype):"decl"===e.type?Object.setPrototypeOf(e,c.prototype):"comment"===e.type?Object.setPrototypeOf(e,u.prototype):"root"===e.type&&Object.setPrototypeOf(e,a.prototype),e[l]=!0,e.nodes&&e.nodes.forEach((e=>{f.rebuild(e)}))}},43718:(e,t,n)=>{"use strict";let r=n(9866),o=n(45306);class i extends Error{constructor(e,t,n,r,o,a){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),r&&(this.source=r),a&&(this.plugin=a),void 0!==t&&void 0!==n&&("number"==typeof t?(this.line=t,this.column=n):(this.line=t.line,this.column=t.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,i)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=r.isColorSupported),o&&e&&(t=o(t));let n,i,a=t.split(/\r?\n/),s=Math.max(this.line-3,0),l=Math.min(this.line+2,a.length),c=String(l).length;if(e){let{bold:e,gray:t,red:o}=r.createColors(!0);n=t=>e(o(t)),i=e=>t(e)}else n=i=e=>e;return a.slice(s,l).map(((e,t)=>{let r=s+1+t,o=" "+(" "+r).slice(-c)+" | ";if(r===this.line){let t=i(o.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return n(">")+i(o)+e+"\n "+t+n("^")}return" "+i(o)+e})).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=i,i.default=i},73838:(e,t,n)=>{"use strict";let r=n(36040);class o extends r{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}e.exports=o,o.default=o},27417:(e,t,n)=>{"use strict";let r,o,i=n(11241);class a extends i{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new r(new o,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{o=e},e.exports=a,a.default=a},69318:(e,t,n)=>{"use strict";let r=n(73838),o=n(38574),i=n(27459),a=n(25044),s=n(17306),l=n(60868),c=n(89542);function u(e,t){if(Array.isArray(e))return e.map((e=>u(e)));let{inputs:n,...d}=e;if(n){t=[];for(let e of n){let n={...e,__proto__:s.prototype};n.map&&(n.map={...n.map,__proto__:o.prototype}),t.push(n)}}if(d.nodes&&(d.nodes=e.nodes.map((e=>u(e,t)))),d.source){let{inputId:e,...n}=d.source;d.source=n,null!=e&&(d.source.input=t[e])}if("root"===d.type)return new l(d);if("decl"===d.type)return new r(d);if("rule"===d.type)return new c(d);if("comment"===d.type)return new i(d);if("atrule"===d.type)return new a(d);throw new Error("Unknown node type: "+e.type)}e.exports=u,u.default=u},17306:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:o}=n(72770),{fileURLToPath:i,pathToFileURL:a}=n(66459),{isAbsolute:s,resolve:l}=n(33261),{nanoid:c}=n(33232),u=n(45306),d=n(43718),h=n(38574),p=Symbol("fromOffsetCache"),f=Boolean(r&&o),g=Boolean(l&&s);class m{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!g||/^\w+:\/\//.test(t.from)||s(t.from)?this.file=t.from:this.file=l(t.from)),g&&f){let e=new h(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(e,t,n,r={}){let o,i,s;if(t&&"object"==typeof t){let e=t,r=n;if("number"==typeof e.offset){let r=this.fromOffset(e.offset);t=r.line,n=r.col}else t=e.line,n=e.column;if("number"==typeof r.offset){let e=this.fromOffset(r.offset);i=e.line,s=e.col}else i=r.line,s=r.column}else if(!n){let e=this.fromOffset(t);t=e.line,n=e.col}let l=this.origin(t,n,i,s);return o=l?new d(e,void 0===l.endLine?l.line:{column:l.column,line:l.line},void 0===l.endLine?l.column:{column:l.endColumn,line:l.endLine},l.source,l.file,r.plugin):new d(e,void 0===i?t:{column:n,line:t},void 0===i?n:{column:s,line:i},this.css,this.file,r.plugin),o.input={column:n,endColumn:s,endLine:i,line:t,source:this.css},this.file&&(a&&(o.input.url=a(this.file).toString()),o.input.file=this.file),o}fromOffset(e){let t,n;if(this[p])n=this[p];else{let e=this.css.split("\n");n=new Array(e.length);let t=0;for(let r=0,o=e.length;r=t)r=n.length-1;else{let t,o=n.length-2;for(;r>1),e=n[t+1])){r=t;break}r=t+1}}return{col:e-n[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:l(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,n,r){if(!this.map)return!1;let o,l,c=this.map.consumer(),u=c.originalPositionFor({column:t,line:e});if(!u.source)return!1;"number"==typeof n&&(o=c.originalPositionFor({column:r,line:n})),l=s(u.source)?a(u.source):new URL(u.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let d={column:u.column,endColumn:o&&o.column,endLine:o&&o.line,line:u.line,url:l.toString()};if("file:"===l.protocol){if(!i)throw new Error("file: protocol is not available in this PostCSS build");d.file=i(l)}let h=c.sourceContentFor(u.source);return h&&(d.source=h),d}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}}e.exports=m,m.default=m,u&&u.registerInput&&u.registerInput(m)},18398:(e,t,n)=>{"use strict";let{isClean:r,my:o}=n(64191),i=n(13388),a=n(23439),s=n(11241),l=n(27417),c=(n(90644),n(21309)),u=n(50161),d=n(60868);const h={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},p={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},f={Once:!0,postcssPlugin:!0,prepare:!0},g=0;function m(e){return"object"==typeof e&&"function"==typeof e.then}function y(e){let t=!1,n=h[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,g,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,g,n+"Exit"]:[n,n+"Exit"]}function v(e){let t;return t="document"===e.type?["Document",g,"DocumentExit"]:"root"===e.type?["Root",g,"RootExit"]:y(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function b(e){return e[r]=!1,e.nodes&&e.nodes.forEach((e=>b(e))),e}let w={};class A{constructor(e,t,n){let r;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof A||t instanceof c)r=b(t.root),t.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=t.map);else{let e=u;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{r=e(t,n)}catch(e){this.processed=!0,this.error=e}r&&!r[o]&&s.rebuild(r)}else r=b(t);this.result=new c(e,r,n),this.helpers={...w,postcss:w,result:this.result},this.plugins=this.processor.plugins.map((e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e))}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?n.postcssVersion:(e.plugin=n.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if("object"==typeof t)for(let n in t){if(!p[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!f[n])if("object"==typeof t[n])for(let r in t[n])e(t,"*"===r?n:n+"-"+r.toLowerCase(),t[n][r]);else"function"==typeof t[n]&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e0;){let e=this.visitTick(t);if(m(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map((e=>n(e,this.helpers)));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map((t=>e.Once(t,this.helpers)));return m(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=a;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new i(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){if(m(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[r];)e[r]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,r]of e){let e;this.result.lastPlugin=n;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(m(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:o}=t;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void e.pop();if(o.length>0&&t.visitorIndex{e[r]||this.walkSync(e)}));else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}}A.registerPostcss=e=>{w=e},e.exports=A,A.default=A,d.registerLazyResult(A),l.registerLazyResult(A)},42576:e=>{"use strict";let t={comma:e=>t.split(e,[","],!0),space:e=>t.split(e,[" ","\n","\t"]),split(e,t,n){let r=[],o="",i=!1,a=0,s=!1,l="",c=!1;for(let n of e)c?c=!1:"\\"===n?c=!0:s?n===l&&(s=!1):'"'===n||"'"===n?(s=!0,l=n):"("===n?a+=1:")"===n?a>0&&(a-=1):0===a&&t.includes(n)&&(i=!0),i?(""!==o&&r.push(o.trim()),o="",i=!1):o+=n;return(n||""!==o)&&r.push(o.trim()),r}};e.exports=t,t.default=t},13388:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:o}=n(72770),{dirname:i,relative:a,resolve:s,sep:l}=n(33261),{pathToFileURL:c}=n(66459),u=n(17306),d=Boolean(r&&o),h=Boolean(i&&s&&a&&l);e.exports=class{constructor(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.originalCSS=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,n=this.toUrl(this.path(e.file)),o=e.root||i(e.file);!1===this.mapOpts.sourcesContent?(t=new r(e.text),t.sourcesContent&&(t.sourcesContent=null)):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(o)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),h&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,(t=>{e+=t})),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=o.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new o({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new o({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,n=1,r=1,i="",a={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,((o,s,l)=>{if(this.css+=o,s&&"end"!==l&&(a.generated.line=n,a.generated.column=r-1,s.source&&s.source.start?(a.source=this.sourcePath(s),a.original.line=s.source.start.line,a.original.column=s.source.start.column-1,this.map.addMapping(a)):(a.source=i,a.original.line=1,a.original.column=0,this.map.addMapping(a))),e=o.match(/\n/g),e?(n+=e.length,t=o.lastIndexOf("\n"),r=o.length-t):r+=o.length,s&&"start"!==l){let e=s.parent||{raws:{}};("decl"===s.type||"atrule"===s.type&&!s.nodes)&&s===e.last&&!e.raws.semicolon||(s.source&&s.source.end?(a.source=this.sourcePath(s),a.original.line=s.source.end.line,a.original.column=s.source.end.column-1,a.generated.line=n,a.generated.column=r-2,this.map.addMapping(a)):(a.source=i,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=r-1,this.map.addMapping(a)))}}))}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((e=>e.annotation)))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((e=>e.inline)))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((e=>e.withContent()))}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?i(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(n=i(s(n,this.mapOpts.annotation)));let r=a(n,e);return this.memoizedPaths.set(e,r),r}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk((e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}}));else{let e=new u(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk((t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,t.source.input.css)}}}));else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(c){let t=c(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===l&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}},37787:(e,t,n)=>{"use strict";let r=n(13388),o=n(23439),i=(n(90644),n(50161));const a=n(21309);class s{constructor(e,t,n){let i;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;let s=o;this.result=new a(this._processor,i,this._opts),this.result.css=t;let l=this;Object.defineProperty(this.result,"root",{get:()=>l.root});let c=new r(s,i,this._opts,t);if(c.isMap()){let[e,t]=c.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=i;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}}e.exports=s,s.default=s},36040:(e,t,n)=>{"use strict";let{isClean:r,my:o}=n(64191),i=n(43718),a=n(40636),s=n(23439);function l(e,t){let n=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if("proxyCache"===r)continue;let o=e[r],i=typeof o;"parent"===r&&"object"===i?t&&(n[r]=t):"source"===r?n[r]=o:Array.isArray(o)?n[r]=o.map((e=>l(e,n))):("object"===i&&null!==o&&(o=l(o)),n[r]=o)}return n}class c{constructor(e={}){this.raws={},this[r]=!1,this[o]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let n of e[t])"function"==typeof n.clone?this.append(n.clone()):this.append(n)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=l(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:n,start:r}=this.rangeBy(t);return this.source.input.error(e,{column:r.column,line:r.line},{column:n.column,line:n.line},t)}return new i(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markDirty(){if(this[r]){this[r]=!1;let e=this;for(;e=e.parent;)e[r]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let n=this.source.start;if(e.index)n=this.positionInside(e.index,t);else if(e.word){let r=(t=this.toString()).indexOf(e.word);-1!==r&&(n=this.positionInside(r,t))}return n}positionInside(e,t){let n=t||this.toString(),r=this.source.start.column,o=this.source.start.line;for(let t=0;t"object"==typeof e&&e.toJSON?e.toJSON(null,t):e));else if("object"==typeof r&&r.toJSON)n[e]=r.toJSON(null,t);else if("source"===e){let i=t.get(r.input);null==i&&(i=o,t.set(r.input,o),o++),n[e]={end:r.end,inputId:i,start:r.start}}else n[e]=r}return r&&(n.inputs=[...t.keys()].map((e=>e.toJSON()))),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=s){e.stringify&&(e=e.stringify);let t="";return e(this,(e=>{t+=e})),t}warn(e,t,n){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}get proxyOf(){return this}}e.exports=c,c.default=c},50161:(e,t,n)=>{"use strict";let r=n(11241),o=n(30699),i=n(17306);function a(e,t){let n=new i(e,t),r=new o(n);try{r.parse()}catch(e){throw e}return r.root}e.exports=a,a.default=a,r.registerParse(a)},30699:(e,t,n)=>{"use strict";let r=n(73838),o=n(28509),i=n(27459),a=n(25044),s=n(60868),l=n(89542);const c={empty:!0,space:!0};e.exports=class{constructor(e){this.input=e,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,n,r,o=new a;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,e[2]);let i=!1,s=!1,l=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){o.source.end=this.getPosition(e[2]),o.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(l.length>0){for(r=l.length-1,n=l[r];n&&"space"===n[0];)n=l[--r];n&&(o.source.end=this.getPosition(n[3]||n[2]),o.source.end.offset++)}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(o.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(o,"params",l),i&&(e=l[l.length-1],o.source.end=this.getPosition(e[3]||e[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),s&&(o.nodes=[],this.current=o)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let n,r=0;for(let o=t-1;o>=0&&(n=e[o],"space"===n[0]||(r+=1,2!==r));o--);throw this.input.error("Missed semicolon","word"===n[0]?n[3]+1:n[2])}colon(e){let t,n,r,o=0;for(let[i,a]of e.entries()){if(t=a,n=t[0],"("===n&&(o+=1),")"===n&&(o-=1),0===o&&":"===n){if(r){if("word"===r[0]&&"progid"===r[1])continue;return i}this.doubleColon(t)}r=t}return!1}comment(e){let t=new i;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=o(this.input)}decl(e,t){let n=new r;this.init(n,e[0][2]);let o,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||function(e){for(let t=e.length-1;t>=0;t--){let n=e[t],r=n[3]||n[2];if(r)return r}}(e)),n.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;n.prop+=e.shift()[1]}for(n.raws.between="";e.length;){if(o=e.shift(),":"===o[0]){n.raws.between+=o[1];break}"word"===o[0]&&/\w/.test(o[1])&&this.unknownWord([o]),n.raws.between+=o[1]}"_"!==n.prop[0]&&"*"!==n.prop[0]||(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let a,s=[];for(;e.length&&(a=e[0][0],"space"===a||"comment"===a);)s.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(o=e[t],"!important"===o[1].toLowerCase()){n.important=!0;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r," !important"!==r&&(n.raws.important=r);break}if("important"===o[1].toLowerCase()){let r=e.slice(0),o="";for(let e=t;e>0;e--){let t=r[e][0];if(0===o.trim().indexOf("!")&&"space"!==t)break;o=r.pop()[1]+o}0===o.trim().indexOf("!")&&(n.important=!0,n.raws.important=o,e=r)}if("space"!==o[0]&&"comment"!==o[0])break}e.some((e=>"space"!==e[0]&&"comment"!==e[0]))&&(n.raws.between+=s.map((e=>e[1])).join(""),s=[]),this.raw(n,"value",s.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new l;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,n=null,r=!1,o=null,i=[],a=e[1].startsWith("--"),s=[],l=e;for(;l;){if(n=l[0],s.push(l),"("===n||"["===n)o||(o=l),i.push("("===n?")":"]");else if(a&&r&&"{"===n)o||(o=l),i.push("}");else if(0===i.length){if(";"===n){if(r)return void this.decl(s,a);break}if("{"===n)return void this.rule(s);if("}"===n){this.tokenizer.back(s.pop()),t=!0;break}":"===n&&(r=!0)}else n===i[i.length-1]&&(i.pop(),0===i.length&&(o=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),i.length>0&&this.unclosedBracket(o),t&&r){if(!a)for(;s.length&&(l=s[s.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,r){let o,i,a,s,l=n.length,u="",d=!0;for(let e=0;ee+t[1]),"");e.raws[t]={raw:r,value:u}}e[t]=u}rule(e){e.pop();let t=new l;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n="";for(let r=t;r{"use strict";let r=n(43718),o=n(73838),i=n(18398),a=n(11241),s=n(87158),l=n(23439),c=n(69318),u=n(27417),d=n(73950),h=n(27459),p=n(25044),f=n(21309),g=n(17306),m=n(50161),y=n(42576),v=n(89542),b=n(60868),w=n(36040);function A(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new s(e)}A.plugin=function(e,t){let n,r=!1;function o(...n){console&&console.warn&&!r&&(r=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let o=t(...n);return o.postcssPlugin=e,o.postcssVersion=(new s).version,o}return Object.defineProperty(o,"postcss",{get:()=>(n||(n=o()),n)}),o.process=function(e,t,n){return A([o(n)]).process(e,t)},o},A.stringify=l,A.parse=m,A.fromJSON=c,A.list=y,A.comment=e=>new h(e),A.atRule=e=>new p(e),A.decl=e=>new o(e),A.rule=e=>new v(e),A.root=e=>new b(e),A.document=e=>new u(e),A.CssSyntaxError=r,A.Declaration=o,A.Container=a,A.Processor=s,A.Document=u,A.Comment=h,A.Warning=d,A.AtRule=p,A.Result=f,A.Input=g,A.Rule=v,A.Root=b,A.Node=w,i.registerPostcss(A),e.exports=A,A.default=A},38574:(e,t,n)=>{"use strict";let{SourceMapConsumer:r,SourceMapGenerator:o}=n(72770),{existsSync:i,readFileSync:a}=n(22337),{dirname:s,join:l}=n(33261);class c{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new r(this.text)),this.consumerCache}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var t;let n=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let n=e.lastIndexOf(t.pop()),r=e.indexOf("*/",n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}loadFile(e){if(this.root=s(e),i(e))return this.mapFile=e,a(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof r)return o.fromSourceMap(t).toString();if(t instanceof o)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let n=t(e);if(n){let e=this.loadFile(n);if(!e)throw new Error("Unable to load previous source map: "+n.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=l(s(e),t)),this.loadFile(t)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}e.exports=c,c.default=c},87158:(e,t,n)=>{"use strict";let r=n(37787),o=n(18398),i=n(27417),a=n(60868);class s{constructor(e=[]){this.version="8.4.38",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e)if(!0===n.postcss?n=n():n.postcss&&(n=n.postcss),"object"==typeof n&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if("object"==typeof n&&n.postcssPlugin)t.push(n);else if("function"==typeof n)t.push(n);else{if("object"!=typeof n||!n.parse&&!n.stringify)throw new Error(n+" is not a PostCSS plugin")}return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new o(this,e,t):new r(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}e.exports=s,s.default=s,a.registerProcessor(s),i.registerProcessor(s)},21309:(e,t,n)=>{"use strict";let r=n(73950);class o{constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let n=new r(e,t);return this.messages.push(n),n}warnings(){return this.messages.filter((e=>"warning"===e.type))}get content(){return this.css}}e.exports=o,o.default=o},60868:(e,t,n)=>{"use strict";let r,o,i=n(11241);class a extends i{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,n){let r=super.normalize(e);if(t)if("prepend"===n)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of r)e.raws.before=t.raws.before;return r}removeChild(e,t){let n=this.index(e);return!t&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new r(new o,this,e).stringify()}}a.registerLazyResult=e=>{r=e},a.registerProcessor=e=>{o=e},e.exports=a,a.default=a,i.registerRoot(a)},89542:(e,t,n)=>{"use strict";let r=n(11241),o=n(42576);class i extends r{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return o.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}e.exports=i,i.default=i,r.registerRule(i)},40636:e=>{"use strict";const t={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class n{constructor(e){this.builder=e}atrule(e,t){let n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{let o=(e.raws.between||"")+(t?";":"");this.builder(n+r+o,e)}}beforeAfter(e,t){let n;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let r=e.parent,o=0;for(;r&&"root"!==r.type;)o+=1,r=r.parent;if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e0&&"comment"===e.nodes[t].type;)t-=1;let n=this.raw(e,"semicolon");for(let r=0;r{if(o=e.raws[n],void 0!==o)return!1}))}var s;return void 0===o&&(o=t[r]),a.rawCache[r]=o,o}rawBeforeClose(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let n;return e.walkComments((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,t){let n;return e.walkDecls((e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let t;return e.walk((e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1})),t}rawBeforeRule(e){let t;return e.walk((n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return t=n.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls((e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t}rawEmptyBody(e){let t;return e.walk((e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1})),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk((n=>{let r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){let e=n.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}})),t}rawSemicolon(e){let t;return e.walk((e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1})),t}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}e.exports=n,n.default=n},23439:(e,t,n)=>{"use strict";let r=n(40636);function o(e,t){new r(t).stringify(e)}e.exports=o,o.default=o},64191:e=>{"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},28509:e=>{"use strict";const t="'".charCodeAt(0),n='"'.charCodeAt(0),r="\\".charCodeAt(0),o="/".charCodeAt(0),i="\n".charCodeAt(0),a=" ".charCodeAt(0),s="\f".charCodeAt(0),l="\t".charCodeAt(0),c="\r".charCodeAt(0),u="[".charCodeAt(0),d="]".charCodeAt(0),h="(".charCodeAt(0),p=")".charCodeAt(0),f="{".charCodeAt(0),g="}".charCodeAt(0),m=";".charCodeAt(0),y="*".charCodeAt(0),v=":".charCodeAt(0),b="@".charCodeAt(0),w=/[\t\n\f\r "#'()/;[\\\]{}]/g,A=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,x=/.[\r\n"'(/\\]/,S=/[\da-f]/i;e.exports=function(e,C={}){let E,k,T,_,O,P,I,M,L,R,j=e.css.valueOf(),F=C.ignoreErrors,D=j.length,N=0,z=[],B=[];function V(t){throw e.error("Unclosed "+t,N)}return{back:function(e){B.push(e)},endOfFile:function(){return 0===B.length&&N>=D},nextToken:function(e){if(B.length)return B.pop();if(N>=D)return;let C=!!e&&e.ignoreUnclosed;switch(E=j.charCodeAt(N),E){case i:case a:case l:case c:case s:k=N;do{k+=1,E=j.charCodeAt(k)}while(E===a||E===i||E===l||E===c||E===s);R=["space",j.slice(N,k)],N=k-1;break;case u:case d:case f:case g:case v:case m:case p:{let e=String.fromCharCode(E);R=[e,e,N];break}case h:if(M=z.length?z.pop()[1]:"",L=j.charCodeAt(N+1),"url"===M&&L!==t&&L!==n&&L!==a&&L!==i&&L!==l&&L!==s&&L!==c){k=N;do{if(P=!1,k=j.indexOf(")",k+1),-1===k){if(F||C){k=N;break}V("bracket")}for(I=k;j.charCodeAt(I-1)===r;)I-=1,P=!P}while(P);R=["brackets",j.slice(N,k+1),N,k],N=k}else k=j.indexOf(")",N+1),_=j.slice(N,k+1),-1===k||x.test(_)?R=["(","(",N]:(R=["brackets",_,N,k],N=k);break;case t:case n:T=E===t?"'":'"',k=N;do{if(P=!1,k=j.indexOf(T,k+1),-1===k){if(F||C){k=N+1;break}V("string")}for(I=k;j.charCodeAt(I-1)===r;)I-=1,P=!P}while(P);R=["string",j.slice(N,k+1),N,k],N=k;break;case b:w.lastIndex=N+1,w.test(j),k=0===w.lastIndex?j.length-1:w.lastIndex-2,R=["at-word",j.slice(N,k+1),N,k],N=k;break;case r:for(k=N,O=!0;j.charCodeAt(k+1)===r;)k+=1,O=!O;if(E=j.charCodeAt(k+1),O&&E!==o&&E!==a&&E!==i&&E!==l&&E!==c&&E!==s&&(k+=1,S.test(j.charAt(k)))){for(;S.test(j.charAt(k+1));)k+=1;j.charCodeAt(k+1)===a&&(k+=1)}R=["word",j.slice(N,k+1),N,k],N=k;break;default:E===o&&j.charCodeAt(N+1)===y?(k=j.indexOf("*/",N+2)+1,0===k&&(F||C?k=j.length:V("comment")),R=["comment",j.slice(N,k+1),N,k],N=k):(A.lastIndex=N+1,A.test(j),k=0===A.lastIndex?j.length-1:A.lastIndex-2,R=["word",j.slice(N,k+1),N,k],z.push(R),N=k)}return N++,R},position:function(){return N}}}},90644:e=>{"use strict";let t={};e.exports=function(e){t[e]||(t[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},73950:e=>{"use strict";class t{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=t,t.default=t},28414:(e,t,n)=>{"use strict";var r=n(98533);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},22300:(e,t,n)=>{e.exports=n(28414)()},98533:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},86458:(e,t,n)=>{"use strict";const r=n(57873),o=n(29221),i=n(47613),a=n(5137),s=Symbol("encodeFragmentIdentifier");function l(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function c(e,t){return t.encode?t.strict?r(e):encodeURIComponent(e):e}function u(e,t){return t.decode?o(e):e}function d(e){return Array.isArray(e)?e.sort():"object"==typeof e?d(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function h(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function p(e){const t=(e=h(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function f(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function g(e,t){l((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[].concat(r[e],n):r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const o="string"==typeof n&&n.includes(e.arrayFormatSeparator),i="string"==typeof n&&!o&&u(n,e).includes(e.arrayFormatSeparator);n=i?u(n,e):n;const a=o||i?n.split(e.arrayFormatSeparator).map((t=>u(t,e))):null===n?n:u(n,e);r[t]=a};case"bracket-separator":return(t,n,r)=>{const o=/(\[\])$/.test(t);if(t=t.replace(/\[\]$/,""),!o)return void(r[t]=n?u(n,e):n);const i=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>u(t,e)));void 0!==r[t]?r[t]=[].concat(r[t],i):r[t]=i};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[].concat(n[e],t):n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const o of e.split("&")){if(""===o)continue;let[e,a]=i(t.decode?o.replace(/\+/g," "):o,"=");a=void 0===a?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?a:u(a,t),n(u(e,t),a,r)}for(const e of Object.keys(r)){const n=r[e];if("object"==typeof n&&null!==n)for(const e of Object.keys(n))n[e]=f(n[e],t);else r[e]=f(n,t)}return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=d(n):e[t]=n,e}),Object.create(null))}t.extract=p,t.parse=g,t.stringify=(e,t)=>{if(!e)return"";l((t=Object.assign({encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:","},t)).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const o=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[",o,"]"].join("")]:[...n,[c(t,e),"[",c(o,e),"]=",c(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),"[]"].join("")]:[...n,[c(t,e),"[]=",c(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[c(t,e),":list="].join("")]:[...n,[c(t,e),":list=",c(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,o)=>void 0===o||e.skipNull&&null===o||e.skipEmptyString&&""===o?r:(o=null===o?"":o,0===r.length?[[c(n,e),t,c(o,e)].join("")]:[[r,c(o,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,c(t,e)]:[...n,[c(t,e),"=",c(r,e)].join("")]}}(t),o={};for(const t of Object.keys(e))n(t)||(o[t]=e[t]);const i=Object.keys(o);return!1!==t.sort&&i.sort(t.sort),i.map((n=>{const o=e[n];return void 0===o?"":null===o?c(n,t):Array.isArray(o)?0===o.length&&"bracket-separator"===t.arrayFormat?c(n,t)+"[]":o.reduce(r(n),[]).join("&"):c(n,t)+"="+c(o,t)})).filter((e=>e.length>0)).join("&")},t.parseUrl=(e,t)=>{t=Object.assign({decode:!0},t);const[n,r]=i(e,"#");return Object.assign({url:n.split("?")[0]||"",query:g(p(e),t)},t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:u(r,t)}:{})},t.stringifyUrl=(e,n)=>{n=Object.assign({encode:!0,strict:!0,[s]:!0},n);const r=h(e.url).split("?")[0]||"",o=t.extract(e.url),i=t.parse(o,{sort:!1}),a=Object.assign(i,e.query);let l=t.stringify(a,n);l&&(l=`?${l}`);let u=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);return e.fragmentIdentifier&&(u=`#${n[s]?c(e.fragmentIdentifier,n):e.fragmentIdentifier}`),`${r}${l}${u}`},t.pick=(e,n,r)=>{r=Object.assign({parseFragmentIdentifier:!0,[s]:!1},r);const{url:o,query:i,fragmentIdentifier:l}=t.parseUrl(e,r);return t.stringifyUrl({url:o,query:a(i,n),fragmentIdentifier:l},r)},t.exclude=(e,n,r)=>{const o=Array.isArray(n)?e=>!n.includes(e):(e,t)=>!n(e,t);return t.pick(e,o,r)}},37565:function(e){e.exports=function(){"use strict";function e(e,r,o,i,a){!function e(n,r,o,i,a){for(;i>o;){if(i-o>600){var s=i-o+1,l=r-o+1,c=Math.log(s),u=.5*Math.exp(2*c/3),d=.5*Math.sqrt(c*u*(s-u)/s)*(l-s/2<0?-1:1);e(n,r,Math.max(o,Math.floor(r-l*u/s+d)),Math.min(i,Math.floor(r+(s-l)*u/s+d)),a)}var h=n[r],p=o,f=i;for(t(n,o,r),a(n[i],h)>0&&t(n,o,i);p0;)f--}0===a(n[o],h)?t(n,o,f):t(n,++f,i),f<=r&&(o=f+1),r<=f&&(i=f-1)}}(e,r,o||0,i||e.length-1,a||n)}function t(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function n(e,t){return et?1:0}var r=function(e){void 0===e&&(e=9),this._maxEntries=Math.max(4,e),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function o(e,t,n){if(!n)return t.indexOf(e);for(var r=0;r=e.minX&&t.maxY>=e.minY}function f(e){return{children:e,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function g(t,n,r,o,i){for(var a=[n,r];a.length;)if(!((r=a.pop())-(n=a.pop())<=o)){var s=n+Math.ceil((r-n)/o/2)*o;e(t,s,n,r,i),a.push(n,s,s,r)}}return r.prototype.all=function(){return this._all(this.data,[])},r.prototype.search=function(e){var t=this.data,n=[];if(!p(e,t))return n;for(var r=this.toBBox,o=[];t;){for(var i=0;i=0&&o[t].children.length>this._maxEntries;)this._split(o,t),t--;this._adjustParentBBoxes(r,o,t)},r.prototype._split=function(e,t){var n=e[t],r=n.children.length,o=this._minEntries;this._chooseSplitAxis(n,o,r);var a=this._chooseSplitIndex(n,o,r),s=f(n.children.splice(a,n.children.length-a));s.height=n.height,s.leaf=n.leaf,i(n,this.toBBox),i(s,this.toBBox),t?e[t-1].children.push(s):this._splitRoot(n,s)},r.prototype._splitRoot=function(e,t){this.data=f([e,t]),this.data.height=e.height+1,this.data.leaf=!1,i(this.data,this.toBBox)},r.prototype._chooseSplitIndex=function(e,t,n){for(var r,o,i,s,l,c,d,h=1/0,p=1/0,f=t;f<=n-t;f++){var g=a(e,0,f,this.toBBox),m=a(e,f,n,this.toBBox),y=(o=g,i=m,s=void 0,l=void 0,c=void 0,d=void 0,s=Math.max(o.minX,i.minX),l=Math.max(o.minY,i.minY),c=Math.min(o.maxX,i.maxX),d=Math.min(o.maxY,i.maxY),Math.max(0,c-s)*Math.max(0,d-l)),v=u(g)+u(m);y=t;p--){var f=e.children[p];s(l,e.leaf?o(f):f),c+=d(l)}return c},r.prototype._adjustParentBBoxes=function(e,t,n){for(var r=n;r>=0;r--)s(t[r],e)},r.prototype._condense=function(e){for(var t=e.length-1,n=void 0;t>=0;t--)0===e[t].children.length?t>0?(n=e[t-1].children).splice(n.indexOf(e[t]),1):this.clear():i(e[t],this.toBBox)},r}()},77669:(e,t,n)=>{"use strict"; /** * @license React * react-dom.production.min.js @@ -246,7 +265,7 @@ function n(e){return"[object Object]"===Object.prototype.toString.call(e)}Object * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r=n(30538),i=n(82300);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n

")}}},{key:"onAdd",value:function(){this.value=this.mapViewer().footerBarApi.tabs.length,this.footerProps=this.onCreateContentProps(),this.mapViewer().footerBarApi.createTab(this.footerProps)}},{key:"onRemove",value:function(){var e;this.value&&null!==(e=this.mapViewer())&&void 0!==e&&e.footerBarApi&&this.mapViewer().footerBarApi.removeTab(this.footerProps.id)}},{key:"onSelected",value:function(){u.vF.logTraceCore("FOOTER-PLUGIN - onSelected")}}])}(l.G)},97821:(e,t,s)=>{"use strict";var n=s(36549),i=s(80085),a=s(95174),r=s(54111),o=s(42450),d=s(43021),l=s(24515),u=s(16896),c=s(93921),h=s(33544),_=s(2210);const m=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","title":"GeoView GeoChart Plugin Config Schema","description":"This Schema validator validates the GeoView GeoChart Plugin configuration.","type":"object","properties":{"version":{"description":"The schema version used to validate the configuration file. The schema should enumerate the list of versions accepted by this version of the viewer.","type":"string","enum":["1.0"]},"charts":{"description":"The array of chart configurations. The actual chart objects are validated with \'schema-chart.json\' at the moment","type":"array","items":{"type":"object"}}},"required":["charts"]}'),f={charts:[]};var p=s(888),g=s(74131),y=s(77156),M=s(53732),L=s.n(M),b=s(30538);s(30007);const v={};function k(){for(var e=arguments.length,t=new Array(e),s=0;s()=>{if(e.isInitialized)t();else{const s=()=>{setTimeout((()=>{e.off("initialized",s)}),0),t()};e.on("initialized",s)}};function x(e,t,s){e.loadNamespaces(t,Y(e,s))}function w(e,t,s,n){"string"==typeof s&&(s=[s]),s.forEach((t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,Y(e,n))}const D=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,T={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},S=e=>T[e];let j,H={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(D,S)};const O={type:"3rdParty",init(e){!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};H={...H,...e}}(e.options.react),function(e){j=e}(e)}},P=(0,b.createContext)();class A{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach((e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)}))}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const E=(e,t)=>{const s=(0,b.useRef)();return(0,b.useEffect)((()=>{s.current=t?s.current:e}),[e,t]),s.current};function C(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{i18n:s}=t,{i18n:n,defaultNS:i}=(0,b.useContext)(P)||{},a=s||n||j;if(a&&!a.reportNamespaces&&(a.reportNamespaces=new A),!a){k("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>"string"==typeof t?t:t&&"object"==typeof t&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}a.options.react&&void 0!==a.options.react.wait&&k("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const r={...H,...a.options.react,...t},{useSuspense:o,keyPrefix:d}=r;let l=e||i||a.options&&a.options.defaultNS;l="string"==typeof l?[l]:l||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(l);const u=(a.isInitialized||a.initializedStoreOnce)&&l.every((e=>function(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:s.lng,precheck:(t,n)=>{if(s.bindI18n&&s.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!n(t.isLanguageChangingTo,e))return!1}}):function(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=t.languages[0],i=!!t.options&&t.options.fallbackLng,a=t.languages[t.languages.length-1];if("cimode"===n.toLowerCase())return!0;const r=(e,s)=>{const n=t.services.backendConnector.state[`${e}|${s}`];return-1===n||2===n};return!(s.bindI18n&&s.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e)||!t.hasResourceBundle(n,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!r(n,e)||i&&!r(a,e)))}(e,t,s):(k("i18n.languages were undefined or empty",t.languages),!0)}(e,a,r)));function c(){return a.getFixedT(t.lng||null,"fallback"===r.nsMode?l:l[0],d)}const[h,_]=(0,b.useState)(c);let m=l.join();t.lng&&(m=`${t.lng}${m}`);const f=E(m),p=(0,b.useRef)(!0);(0,b.useEffect)((()=>{const{bindI18n:e,bindI18nStore:s}=r;function n(){p.current&&_(c)}return p.current=!0,u||o||(t.lng?w(a,t.lng,l,(()=>{p.current&&_(c)})):x(a,l,(()=>{p.current&&_(c)}))),u&&f&&f!==m&&p.current&&_(c),e&&a&&a.on(e,n),s&&a&&a.store.on(s,n),()=>{p.current=!1,e&&a&&e.split(" ").forEach((e=>a.off(e,n))),s&&a&&s.split(" ").forEach((e=>a.store.off(e,n)))}}),[a,m]);const g=(0,b.useRef)(!0);(0,b.useEffect)((()=>{p.current&&!g.current&&_(c),g.current=!1}),[a,d]);const y=[h,a,u];if(y.t=h,y.i18n=a,y.ready=u,u)return y;if(!u&&!o)return y;throw new Promise((e=>{t.lng?w(a,t.lng,l,(()=>e())):x(a,l,(()=>e()))}))} +/*! Package:geoview-geochart: 0.1.0 - "76146377418f2e66b143db03893f703846e7dbc8" - 2024-06-27T17:51:24.349Z */ +(self.webpackChunkgeoview_core=self.webpackChunkgeoview_core||[]).push([[783],{72104:(e,t)=>{"use strict";function s(e,t){return{validate:e,compare:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.formatNames=t.fastFormats=t.fullFormats=void 0,t.fullFormats={date:s(a,r),time:s(d,l),"date-time":s((function(e){const t=e.split(u);return 2===t.length&&a(t[0])&&d(t[1],!0)}),c),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:function(e){return h.test(e)&&_.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:function(e){if(y.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}},uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:function(e){return m.lastIndex=0,m.test(e)},int32:{type:"number",validate:function(e){return Number.isInteger(e)&&e<=p&&e>=f}},int64:{type:"number",validate:function(e){return Number.isInteger(e)}},float:{type:"number",validate:g},double:{type:"number",validate:g},password:!0,binary:!0},t.fastFormats={...t.fullFormats,date:s(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,r),time:s(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,l),"date-time":s(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,c),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},t.formatNames=Object.keys(t.fullFormats);const n=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,i=[0,31,28,31,30,31,30,31,31,30,31,30,31];function a(e){const t=n.exec(e);if(!t)return!1;const s=+t[1],a=+t[2],r=+t[3];return a>=1&&a<=12&&r>=1&&r<=(2===a&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(s)?29:i[a])}function r(e,t){if(e&&t)return e>t?1:e(t=n[1]+n[2]+n[3]+(n[4]||""))?1:e{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=s(72104),i=s(89187),a=s(3939),r=new a.Name("fullFormats"),o=new a.Name("fastFormats"),d=(e,t={keywords:!0})=>{if(Array.isArray(t))return l(e,t,n.fullFormats,r),e;const[s,a]="fast"===t.mode?[n.fastFormats,o]:[n.fullFormats,r];return l(e,t.formats||n.formatNames,s,a),t.keywords&&i.default(e),e};function l(e,t,s,n){var i,r;null!==(i=(r=e.opts.code).formats)&&void 0!==i||(r.formats=a._`require("ajv-formats/dist/formats").${n}`);for(const n of t)e.addFormat(n,s[n])}d.get=(e,t="full")=>{const s=("fast"===t?n.fastFormats:n.fullFormats)[e];if(!s)throw new Error(`Unknown format "${e}"`);return s},e.exports=t=d,Object.defineProperty(t,"__esModule",{value:!0}),t.default=d},89187:(e,t,s)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatLimitDefinition=void 0;const n=s(56052),i=s(3939),a=i.operators,r={formatMaximum:{okStr:"<=",ok:a.LTE,fail:a.GT},formatMinimum:{okStr:">=",ok:a.GTE,fail:a.LT},formatExclusiveMaximum:{okStr:"<",ok:a.LT,fail:a.GTE},formatExclusiveMinimum:{okStr:">",ok:a.GT,fail:a.LTE}},o={message:({keyword:e,schemaCode:t})=>i.str`should be ${r[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>i._`{comparison: ${r[e].okStr}, limit: ${t}}`};t.formatLimitDefinition={keyword:Object.keys(r),type:"string",schemaType:"string",$data:!0,error:o,code(e){const{gen:t,data:s,schemaCode:a,keyword:o,it:d}=e,{opts:l,self:u}=d;if(!l.validateFormats)return;const c=new n.KeywordCxt(d,u.RULES.all.format.definition,"format");function h(e){return i._`${e}.compare(${s}, ${a}) ${r[o].fail} 0`}c.$data?function(){const s=t.scopeValue("formats",{ref:u.formats,code:l.code.formats}),n=t.const("fmt",i._`${s}[${c.schemaCode}]`);e.fail$data(i.or(i._`typeof ${n} != "object"`,i._`${n} instanceof RegExp`,i._`typeof ${n}.compare != "function"`,h(n)))}():function(){const s=c.schema,n=u.formats[s];if(!n||!0===n)return;if("object"!=typeof n||n instanceof RegExp||"function"!=typeof n.compare)throw new Error(`"${o}": format "${s}" does not define "compare" function`);const a=t.scopeValue("formats",{key:s,ref:n,code:l.code.formats?i._`${l.code.formats}${i.getProperty(s)}`:void 0});e.fail$data(h(a))}()},dependencies:["format"]};t.default=e=>(e.addKeyword(t.formatLimitDefinition),e)},25860:(e,t,s)=>{"use strict";s.d(t,{b:()=>_});var n=s(59682),i=s(41108),a=s(95947),r=s(89153),o=s(79778),d=s(74780),l=s(43015),u=s(66700);function c(e,t,s){return t=(0,r.A)(t),(0,a.A)(e,h()?Reflect.construct(t,s||[],(0,r.A)(e).constructor):t.apply(e,s))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}var _=function(e){function t(){var e;(0,n.A)(this,t);for(var s=arguments.length,i=new Array(s),a=0;aContent for Footer plugin on map id ".concat(this.pluginProps.mapId," goes here...

")}}},{key:"onAdd",value:function(){this.value=this.mapViewer().footerBarApi.tabs.length,this.footerProps=this.onCreateContentProps(),this.mapViewer().footerBarApi.createTab(this.footerProps)}},{key:"onRemove",value:function(){this.value&&this.mapViewer().footerBarApi.removeTab(this.footerProps.id)}},{key:"onSelected",value:function(){u.vF.logTraceCore("FOOTER-PLUGIN - onSelected")}}])}(l.G)},29613:(e,t,s)=>{"use strict";var n=s(59682),i=s(41108),a=s(95947),r=s(71104),o=s(89153),d=s(79778),l=s(74780),u=s(67475),c=s(25860),h=s(27896),_=s(59387);const m=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","title":"GeoView GeoChart Plugin Config Schema","description":"This Schema validator validates the GeoView GeoChart Plugin configuration.","type":"object","properties":{"version":{"description":"The schema version used to validate the configuration file. The schema should enumerate the list of versions accepted by this version of the viewer.","type":"string","enum":["1.0"]},"charts":{"description":"The array of chart configurations. The actual chart objects are validated with \'schema-chart.json\' at the moment","type":"array","items":{"type":"object"}}},"required":["charts"]}'),f={charts:[]};var p=s(1839),g=s(80180),y=s(32031),M=s(64417),L=s.n(M),b=s(30538);s(30007);const v={};function k(){for(var e=arguments.length,t=new Array(e),s=0;s()=>{if(e.isInitialized)t();else{const s=()=>{setTimeout((()=>{e.off("initialized",s)}),0),t()};e.on("initialized",s)}};function x(e,t,s){e.loadNamespaces(t,Y(e,s))}function w(e,t,s,n){"string"==typeof s&&(s=[s]),s.forEach((t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)})),e.loadLanguages(t,Y(e,n))}const D=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,T={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},S=e=>T[e];let j,H={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(D,S)};const O={type:"3rdParty",init(e){!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};H={...H,...e}}(e.options.react),function(e){j=e}(e)}},P=(0,b.createContext)();class A{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach((e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)}))}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const E=(e,t)=>{const s=(0,b.useRef)();return(0,b.useEffect)((()=>{s.current=t?s.current:e}),[e,t]),s.current};function C(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{i18n:s}=t,{i18n:n,defaultNS:i}=(0,b.useContext)(P)||{},a=s||n||j;if(a&&!a.reportNamespaces&&(a.reportNamespaces=new A),!a){k("You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>"string"==typeof t?t:t&&"object"==typeof t&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}a.options.react&&void 0!==a.options.react.wait&&k("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const r={...H,...a.options.react,...t},{useSuspense:o,keyPrefix:d}=r;let l=e||i||a.options&&a.options.defaultNS;l="string"==typeof l?[l]:l||["translation"],a.reportNamespaces.addUsedNamespaces&&a.reportNamespaces.addUsedNamespaces(l);const u=(a.isInitialized||a.initializedStoreOnce)&&l.every((e=>function(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{lng:s.lng,precheck:(t,n)=>{if(s.bindI18n&&s.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!n(t.isLanguageChangingTo,e))return!1}}):function(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=t.languages[0],i=!!t.options&&t.options.fallbackLng,a=t.languages[t.languages.length-1];if("cimode"===n.toLowerCase())return!0;const r=(e,s)=>{const n=t.services.backendConnector.state[`${e}|${s}`];return-1===n||2===n};return!(s.bindI18n&&s.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e)||!t.hasResourceBundle(n,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!r(n,e)||i&&!r(a,e)))}(e,t,s):(k("i18n.languages were undefined or empty",t.languages),!0)}(e,a,r)));function c(){return a.getFixedT(t.lng||null,"fallback"===r.nsMode?l:l[0],d)}const[h,_]=(0,b.useState)(c);let m=l.join();t.lng&&(m=`${t.lng}${m}`);const f=E(m),p=(0,b.useRef)(!0);(0,b.useEffect)((()=>{const{bindI18n:e,bindI18nStore:s}=r;function n(){p.current&&_(c)}return p.current=!0,u||o||(t.lng?w(a,t.lng,l,(()=>{p.current&&_(c)})):x(a,l,(()=>{p.current&&_(c)}))),u&&f&&f!==m&&p.current&&_(c),e&&a&&a.on(e,n),s&&a&&a.store.on(s,n),()=>{p.current=!1,e&&a&&e.split(" ").forEach((e=>a.off(e,n))),s&&a&&s.split(" ").forEach((e=>a.store.off(e,n)))}}),[a,m]);const g=(0,b.useRef)(!0);(0,b.useEffect)((()=>{p.current&&!g.current&&_(c),g.current=!1}),[a,d]);const y=[h,a,u];if(y.t=h,y.i18n=a,y.ready=u,u)return y;if(!u&&!o)return y;throw new Promise((e=>{t.lng?w(a,t.lng,l,(()=>e())):x(a,l,(()=>e()))}))} /*! * @kurkle/color v0.3.2 * https://github.com/kurkle/color#readme * (c) 2023 Jukka Kurkela * Released under the MIT License */ -function F(e){return e+.5|0}const R=(e,t,s)=>Math.max(Math.min(e,s),t);function W(e){return R(F(2.55*e),0,255)}function z(e){return R(F(255*e),0,255)}function N(e){return R(F(e/2.55)/100,0,1)}function I(e){return R(F(100*e),0,100)}const V={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},U=[..."0123456789ABCDEF"],$=e=>U[15&e],B=e=>U[(240&e)>>4]+U[15&e],J=e=>(240&e)>>4==(15&e);function G(e){var t=(e=>J(e.r)&&J(e.g)&&J(e.b)&&J(e.a))(e)?$:B;return e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0}const q=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function K(e,t,s){const n=t*Math.min(s,1-s),i=(t,i=(t+e/30)%12)=>s-n*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function Z(e,t,s){const n=(n,i=(n+e/60)%6)=>s-s*t*Math.max(Math.min(i,4-i,1),0);return[n(5),n(3),n(1)]}function X(e,t,s){const n=K(e,1,.5);let i;for(t+s>1&&(i=1/(t+s),t*=i,s*=i),i=0;i<3;i++)n[i]*=1-t-s,n[i]+=t;return n}function Q(e){const t=e.r/255,s=e.g/255,n=e.b/255,i=Math.max(t,s,n),a=Math.min(t,s,n),r=(i+a)/2;let o,d,l;return i!==a&&(l=i-a,d=r>.5?l/(2-i-a):l/(i+a),o=function(e,t,s,n,i){return e===i?(t-s)/n+(t>16&255,a>>8&255,255&a]}return e}(),re.transparent=[0,0,0,0]);const t=re[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}const de=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const le=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,ue=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function ce(e,t,s){if(e){let n=Q(e);n[t]=Math.max(0,Math.min(n[t]+n[t]*s,0===t?360:1)),n=te(n),e.r=n[0],e.g=n[1],e.b=n[2]}}function he(e,t){return e?Object.assign(t||{},e):e}function _e(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=z(e[3]))):(t=he(e,{r:0,g:0,b:0,a:1})).a=z(t.a),t}function me(e){return"r"===e.charAt(0)?function(e){const t=de.exec(e);let s,n,i,a=255;if(t){if(t[7]!==s){const e=+t[7];a=t[8]?W(e):R(255*e,0,255)}return s=+t[1],n=+t[3],i=+t[5],s=255&(t[2]?W(s):R(s,0,255)),n=255&(t[4]?W(n):R(n,0,255)),i=255&(t[6]?W(i):R(i,0,255)),{r:s,g:n,b:i,a}}}(e):ne(e)}class fe{constructor(e){if(e instanceof fe)return e;const t=typeof e;let s;var n,i,a;"object"===t?s=_e(e):"string"===t&&(a=(n=e).length,"#"===n[0]&&(4===a||5===a?i={r:255&17*V[n[1]],g:255&17*V[n[2]],b:255&17*V[n[3]],a:5===a?17*V[n[4]]:255}:7!==a&&9!==a||(i={r:V[n[1]]<<4|V[n[2]],g:V[n[3]]<<4|V[n[4]],b:V[n[5]]<<4|V[n[6]],a:9===a?V[n[7]]<<4|V[n[8]]:255})),s=i||oe(e)||me(e)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var e=he(this._rgb);return e&&(e.a=N(e.a)),e}set rgb(e){this._rgb=_e(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${N(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0;var e}hexString(){return this._valid?G(this._rgb):void 0}hslString(){return this._valid?function(e){if(!e)return;const t=Q(e),s=t[0],n=I(t[1]),i=I(t[2]);return e.a<255?`hsla(${s}, ${n}%, ${i}%, ${N(e.a)})`:`hsl(${s}, ${n}%, ${i}%)`}(this._rgb):void 0}mix(e,t){if(e){const s=this.rgb,n=e.rgb;let i;const a=t===i?.5:t,r=2*a-1,o=s.a-n.a,d=((r*o==-1?r:(r+o)/(1+r*o))+1)/2;i=1-d,s.r=255&d*s.r+i*n.r+.5,s.g=255&d*s.g+i*n.g+.5,s.b=255&d*s.b+i*n.b+.5,s.a=a*s.a+(1-a)*n.a,this.rgb=s}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,s){const n=ue(N(e.r)),i=ue(N(e.g)),a=ue(N(e.b));return{r:z(le(n+s*(ue(N(t.r))-n))),g:z(le(i+s*(ue(N(t.g))-i))),b:z(le(a+s*(ue(N(t.b))-a))),a:e.a+s*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new fe(this.rgb)}alpha(e){return this._rgb.a=z(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=F(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return ce(this._rgb,2,e),this}darken(e){return ce(this._rgb,2,-e),this}saturate(e){return ce(this._rgb,1,e),this}desaturate(e){return ce(this._rgb,1,-e),this}rotate(e){return function(e,t){var s=Q(e);s[0]=se(s[0]+t),s=te(s),e.r=s[0],e.g=s[1],e.b=s[2]}(this._rgb,e),this}} +function F(e){return e+.5|0}const R=(e,t,s)=>Math.max(Math.min(e,s),t);function W(e){return R(F(2.55*e),0,255)}function z(e){return R(F(255*e),0,255)}function N(e){return R(F(e/2.55)/100,0,1)}function I(e){return R(F(100*e),0,100)}const V={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},$=[..."0123456789ABCDEF"],U=e=>$[15&e],B=e=>$[(240&e)>>4]+$[15&e],J=e=>(240&e)>>4==(15&e);function G(e){var t=(e=>J(e.r)&&J(e.g)&&J(e.b)&&J(e.a))(e)?U:B;return e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0}const q=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function K(e,t,s){const n=t*Math.min(s,1-s),i=(t,i=(t+e/30)%12)=>s-n*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function Z(e,t,s){const n=(n,i=(n+e/60)%6)=>s-s*t*Math.max(Math.min(i,4-i,1),0);return[n(5),n(3),n(1)]}function X(e,t,s){const n=K(e,1,.5);let i;for(t+s>1&&(i=1/(t+s),t*=i,s*=i),i=0;i<3;i++)n[i]*=1-t-s,n[i]+=t;return n}function Q(e){const t=e.r/255,s=e.g/255,n=e.b/255,i=Math.max(t,s,n),a=Math.min(t,s,n),r=(i+a)/2;let o,d,l;return i!==a&&(l=i-a,d=r>.5?l/(2-i-a):l/(i+a),o=function(e,t,s,n,i){return e===i?(t-s)/n+(t>16&255,a>>8&255,255&a]}return e}(),re.transparent=[0,0,0,0]);const t=re[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}const de=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const le=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,ue=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function ce(e,t,s){if(e){let n=Q(e);n[t]=Math.max(0,Math.min(n[t]+n[t]*s,0===t?360:1)),n=te(n),e.r=n[0],e.g=n[1],e.b=n[2]}}function he(e,t){return e?Object.assign(t||{},e):e}function _e(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=z(e[3]))):(t=he(e,{r:0,g:0,b:0,a:1})).a=z(t.a),t}function me(e){return"r"===e.charAt(0)?function(e){const t=de.exec(e);let s,n,i,a=255;if(t){if(t[7]!==s){const e=+t[7];a=t[8]?W(e):R(255*e,0,255)}return s=+t[1],n=+t[3],i=+t[5],s=255&(t[2]?W(s):R(s,0,255)),n=255&(t[4]?W(n):R(n,0,255)),i=255&(t[6]?W(i):R(i,0,255)),{r:s,g:n,b:i,a}}}(e):ne(e)}class fe{constructor(e){if(e instanceof fe)return e;const t=typeof e;let s;var n,i,a;"object"===t?s=_e(e):"string"===t&&(a=(n=e).length,"#"===n[0]&&(4===a||5===a?i={r:255&17*V[n[1]],g:255&17*V[n[2]],b:255&17*V[n[3]],a:5===a?17*V[n[4]]:255}:7!==a&&9!==a||(i={r:V[n[1]]<<4|V[n[2]],g:V[n[3]]<<4|V[n[4]],b:V[n[5]]<<4|V[n[6]],a:9===a?V[n[7]]<<4|V[n[8]]:255})),s=i||oe(e)||me(e)),this._rgb=s,this._valid=!!s}get valid(){return this._valid}get rgb(){var e=he(this._rgb);return e&&(e.a=N(e.a)),e}set rgb(e){this._rgb=_e(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${N(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0;var e}hexString(){return this._valid?G(this._rgb):void 0}hslString(){return this._valid?function(e){if(!e)return;const t=Q(e),s=t[0],n=I(t[1]),i=I(t[2]);return e.a<255?`hsla(${s}, ${n}%, ${i}%, ${N(e.a)})`:`hsl(${s}, ${n}%, ${i}%)`}(this._rgb):void 0}mix(e,t){if(e){const s=this.rgb,n=e.rgb;let i;const a=t===i?.5:t,r=2*a-1,o=s.a-n.a,d=((r*o==-1?r:(r+o)/(1+r*o))+1)/2;i=1-d,s.r=255&d*s.r+i*n.r+.5,s.g=255&d*s.g+i*n.g+.5,s.b=255&d*s.b+i*n.b+.5,s.a=a*s.a+(1-a)*n.a,this.rgb=s}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,s){const n=ue(N(e.r)),i=ue(N(e.g)),a=ue(N(e.b));return{r:z(le(n+s*(ue(N(t.r))-n))),g:z(le(i+s*(ue(N(t.g))-i))),b:z(le(a+s*(ue(N(t.b))-a))),a:e.a+s*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new fe(this.rgb)}alpha(e){return this._rgb.a=z(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=F(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return ce(this._rgb,2,e),this}darken(e){return ce(this._rgb,2,-e),this}saturate(e){return ce(this._rgb,1,e),this}desaturate(e){return ce(this._rgb,1,-e),this}rotate(e){return function(e,t){var s=Q(e);s[0]=se(s[0]+t),s=te(s),e.r=s[0],e.g=s[1],e.b=s[2]}(this._rgb,e),this}} /*! * Chart.js v4.4.3 * https://www.chartjs.org * (c) 2024 Chart.js Contributors * Released under the MIT License */ -function pe(){}const ge=(()=>{let e=0;return()=>e++})();function ye(e){return null==e}function Me(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function Le(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function be(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)}function ve(e,t){return be(e)?e:t}function ke(e,t){return void 0===e?t:e}const Ye=(e,t)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e;function xe(e,t,s){if(e&&"function"==typeof e.call)return e.apply(s,t)}function we(e,t,s,n){let i,a,r;if(Me(e))if(a=e.length,n)for(i=a-1;i>=0;i--)t.call(s,e[i],i);else for(i=0;ie,x:e=>e.x,y:e=>e.y};function Ee(e,t){const s=Ae[t]||(Ae[t]=function(e){const t=function(e){const t=e.split("."),s=[];let n="";for(const e of t)n+=e,n.endsWith("\\")?n=n.slice(0,-1)+".":(s.push(n),n="");return s}(e);return e=>{for(const s of t){if(""===s)break;e=e&&e[s]}return e}}(t));return s(e)}function Ce(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Fe=e=>void 0!==e,Re=e=>"function"==typeof e,We=(e,t)=>{if(e.size!==t.size)return!1;for(const s of e)if(!t.has(s))return!1;return!0};const ze=Math.PI,Ne=2*ze,Ie=Ne+ze,Ve=Number.POSITIVE_INFINITY,Ue=ze/180,$e=ze/2,Be=ze/4,Je=2*ze/3,Ge=Math.log10,qe=Math.sign;function Ke(e,t,s){return Math.abs(e-t)d&&l=Math.min(t,s)-n&&e<=Math.max(t,s)+n}function ut(e,t,s){s=s||(s=>e[s]1;)n=a+i>>1,s(n)?a=n:i=n;return{lo:a,hi:i}}const ct=(e,t,s,n)=>ut(e,s,n?n=>{const i=e[n][t];return ie[n][t]ut(e,s,(n=>e[n][t]>=s));const _t=["push","pop","shift","splice","unshift"];function mt(e,t){const s=e._chartjs;if(!s)return;const n=s.listeners,i=n.indexOf(t);-1!==i&&n.splice(i,1),n.length>0||(_t.forEach((t=>{delete e[t]})),delete e._chartjs)}function ft(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const pt="undefined"==typeof window?function(e){return e()}:window.requestAnimationFrame;function gt(e,t){let s=[],n=!1;return function(...i){s=i,n||(n=!0,pt.call(window,(()=>{n=!1,e.apply(t,s)})))}}const yt=e=>"start"===e?"left":"end"===e?"right":"center",Mt=(e,t,s)=>"start"===e?t:"end"===e?s:(t+s)/2;function Lt(e,t,s){const n=t.length;let i=0,a=n;if(e._sorted){const{iScale:r,_parsed:o}=e,d=r.axis,{min:l,max:u,minDefined:c,maxDefined:h}=r.getUserBounds();c&&(i=dt(Math.min(ct(o,d,l).lo,s?n:ct(t,d,r.getPixelForValue(l)).lo),0,n-1)),a=h?dt(Math.max(ct(o,r.axis,u,!0).hi+1,s?0:ct(t,d,r.getPixelForValue(u),!0).hi+1),i,n)-i:n-i}return{start:i,count:a}}function bt(e){const{xScale:t,yScale:s,_scaleRanges:n}=e,i={xmin:t.min,xmax:t.max,ymin:s.min,ymax:s.max};if(!n)return e._scaleRanges=i,!0;const a=n.xmin!==t.min||n.xmax!==t.max||n.ymin!==s.min||n.ymax!==s.max;return Object.assign(n,i),a}const vt=e=>0===e||1===e,kt=(e,t,s)=>-Math.pow(2,10*(e-=1))*Math.sin((e-t)*Ne/s),Yt=(e,t,s)=>Math.pow(2,-10*e)*Math.sin((e-t)*Ne/s)+1,xt={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>1-Math.cos(e*$e),easeOutSine:e=>Math.sin(e*$e),easeInOutSine:e=>-.5*(Math.cos(ze*e)-1),easeInExpo:e=>0===e?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>vt(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(2-Math.pow(2,-10*(2*e-1))),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>vt(e)?e:kt(e,.075,.3),easeOutElastic:e=>vt(e)?e:Yt(e,.075,.3),easeInOutElastic(e){const t=.1125;return vt(e)?e:e<.5?.5*kt(2*e,t,.45):.5+.5*Yt(2*e-1,t,.45)},easeInBack(e){const t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){const t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:e=>1-xt.easeOutBounce(1-e),easeOutBounce(e){const t=7.5625,s=2.75;return e<1/s?t*e*e:e<2/s?t*(e-=1.5/s)*e+.75:e<2.5/s?t*(e-=2.25/s)*e+.9375:t*(e-=2.625/s)*e+.984375},easeInOutBounce:e=>e<.5?.5*xt.easeInBounce(2*e):.5*xt.easeOutBounce(2*e-1)+.5};function wt(e){if(e&&"object"==typeof e){const t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function Dt(e){return wt(e)?e:new fe(e)}function Tt(e){return wt(e)?e:new fe(e).saturate(.5).darken(.1).hexString()}const St=["x","y","borderWidth","radius","tension"],jt=["color","borderColor","backgroundColor"];const Ht=new Map;function Ot(e,t,s){return function(e,t){t=t||{};const s=e+JSON.stringify(t);let n=Ht.get(s);return n||(n=new Intl.NumberFormat(e,t),Ht.set(s,n)),n}(t,s).format(e)}const Pt={values:e=>Me(e)?e:""+e,numeric(e,t,s){if(0===e)return"0";const n=this.chart.options.locale;let i,a=e;if(s.length>1){const t=Math.max(Math.abs(s[0].value),Math.abs(s[s.length-1].value));(t<1e-4||t>1e15)&&(i="scientific"),a=function(e,t){let s=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;Math.abs(s)>=1&&e!==Math.floor(e)&&(s=e-Math.floor(e));return s}(e,s)}const r=Ge(Math.abs(a)),o=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),d={notation:i,minimumFractionDigits:o,maximumFractionDigits:o};return Object.assign(d,this.options.ticks.format),Ot(e,n,d)},logarithmic(e,t,s){if(0===e)return"0";const n=s[t].significand||e/Math.pow(10,Math.floor(Ge(e)));return[1,2,3,5,10,15].includes(n)||t>.8*s.length?Pt.numeric.call(this,e,t,s):""}};var At={formatters:Pt};const Et=Object.create(null),Ct=Object.create(null);function Ft(e,t){if(!t)return e;const s=t.split(".");for(let t=0,n=s.length;te.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>Tt(t.backgroundColor),this.hoverBorderColor=(e,t)=>Tt(t.borderColor),this.hoverColor=(e,t)=>Tt(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return Rt(this,e,t)}get(e){return Ft(this,e)}describe(e,t){return Rt(Ct,e,t)}override(e,t){return Rt(Et,e,t)}route(e,t,s,n){const i=Ft(this,e),a=Ft(this,s),r="_"+t;Object.defineProperties(i,{[r]:{value:i[t],writable:!0},[t]:{enumerable:!0,get(){const e=this[r],t=a[n];return Le(e)?Object.assign({},t,e):ke(e,t)},set(e){this[r]=e}}})}apply(e){e.forEach((e=>e(this)))}}var zt=new Wt({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),e.set("animations",{colors:{type:"color",properties:jt},numbers:{type:"number",properties:St}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}})},function(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:At.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e&&"dash"!==e}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e})}]);function Nt(e,t,s,n,i){let a=t[i];return a||(a=t[i]=e.measureText(i).width,s.push(i)),a>n&&(n=a),n}function It(e,t,s,n){let i=(n=n||{}).data=n.data||{},a=n.garbageCollect=n.garbageCollect||[];n.font!==t&&(i=n.data={},a=n.garbageCollect=[],n.font=t),e.save(),e.font=t;let r=0;const o=s.length;let d,l,u,c,h;for(d=0;ds.length){for(d=0;d<_;d++)delete i[a[d]];a.splice(0,_)}return r}function Vt(e,t,s){const n=e.currentDevicePixelRatio,i=0!==s?Math.max(s/2,.5):0;return Math.round((t-i)*n)/n+i}function Ut(e,t){(t||e)&&((t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function $t(e,t,s,n){Bt(e,t,s,n,null)}function Bt(e,t,s,n,i){let a,r,o,d,l,u,c,h;const _=t.pointStyle,m=t.rotation,f=t.radius;let p=(m||0)*Ue;if(_&&"object"==typeof _&&(a=_.toString(),"[object HTMLImageElement]"===a||"[object HTMLCanvasElement]"===a))return e.save(),e.translate(s,n),e.rotate(p),e.drawImage(_,-_.width/2,-_.height/2,_.width,_.height),void e.restore();if(!(isNaN(f)||f<=0)){switch(e.beginPath(),_){default:i?e.ellipse(s,n,i/2,f,0,0,Ne):e.arc(s,n,f,0,Ne),e.closePath();break;case"triangle":u=i?i/2:f,e.moveTo(s+Math.sin(p)*u,n-Math.cos(p)*f),p+=Je,e.lineTo(s+Math.sin(p)*u,n-Math.cos(p)*f),p+=Je,e.lineTo(s+Math.sin(p)*u,n-Math.cos(p)*f),e.closePath();break;case"rectRounded":l=.516*f,d=f-l,r=Math.cos(p+Be)*d,c=Math.cos(p+Be)*(i?i/2-l:d),o=Math.sin(p+Be)*d,h=Math.sin(p+Be)*(i?i/2-l:d),e.arc(s-c,n-o,l,p-ze,p-$e),e.arc(s+h,n-r,l,p-$e,p),e.arc(s+c,n+o,l,p,p+$e),e.arc(s-h,n+r,l,p+$e,p+ze),e.closePath();break;case"rect":if(!m){d=Math.SQRT1_2*f,u=i?i/2:d,e.rect(s-u,n-d,2*u,2*d);break}p+=Be;case"rectRot":c=Math.cos(p)*(i?i/2:f),r=Math.cos(p)*f,o=Math.sin(p)*f,h=Math.sin(p)*(i?i/2:f),e.moveTo(s-c,n-o),e.lineTo(s+h,n-r),e.lineTo(s+c,n+o),e.lineTo(s-h,n+r),e.closePath();break;case"crossRot":p+=Be;case"cross":c=Math.cos(p)*(i?i/2:f),r=Math.cos(p)*f,o=Math.sin(p)*f,h=Math.sin(p)*(i?i/2:f),e.moveTo(s-c,n-o),e.lineTo(s+c,n+o),e.moveTo(s+h,n-r),e.lineTo(s-h,n+r);break;case"star":c=Math.cos(p)*(i?i/2:f),r=Math.cos(p)*f,o=Math.sin(p)*f,h=Math.sin(p)*(i?i/2:f),e.moveTo(s-c,n-o),e.lineTo(s+c,n+o),e.moveTo(s+h,n-r),e.lineTo(s-h,n+r),p+=Be,c=Math.cos(p)*(i?i/2:f),r=Math.cos(p)*f,o=Math.sin(p)*f,h=Math.sin(p)*(i?i/2:f),e.moveTo(s-c,n-o),e.lineTo(s+c,n+o),e.moveTo(s+h,n-r),e.lineTo(s-h,n+r);break;case"line":r=i?i/2:Math.cos(p)*f,o=Math.sin(p)*f,e.moveTo(s-r,n-o),e.lineTo(s+r,n+o);break;case"dash":e.moveTo(s,n),e.lineTo(s+Math.cos(p)*(i?i/2:f),n+Math.sin(p)*f);break;case!1:e.closePath()}e.fill(),t.borderWidth>0&&e.stroke()}}function Jt(e,t,s){return s=s||.5,!t||e&&e.x>t.left-s&&e.xt.top-s&&e.y0&&""!==a.strokeColor;let d,l;for(e.save(),e.font=i.string,function(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),ye(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}(e,a),d=0;d+e||0;function rs(e,t){const s={},n=Le(t),i=n?Object.keys(t):t,a=Le(e)?n?s=>ke(e[s],e[t[s]]):t=>e[t]:()=>e;for(const e of i)s[e]=as(a(e));return s}function os(e){return rs(e,{top:"y",right:"x",bottom:"y",left:"x"})}function ds(e){return rs(e,["topLeft","topRight","bottomLeft","bottomRight"])}function ls(e){const t=os(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function us(e,t){e=e||{},t=t||zt.font;let s=ke(e.size,t.size);"string"==typeof s&&(s=parseInt(s,10));let n=ke(e.style,t.style);n&&!(""+n).match(ns)&&(console.warn('Invalid font style specified: "'+n+'"'),n=void 0);const i={family:ke(e.family,t.family),lineHeight:is(ke(e.lineHeight,t.lineHeight),s),size:s,style:n,weight:ke(e.weight,t.weight),string:""};return i.string=function(e){return!e||ye(e.size)||ye(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(i),i}function cs(e,t,s,n){let i,a,r,o=!0;for(i=0,a=e.length;ie[0]){const a=s||e;void 0===n&&(n=Ys("_fallback",e));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:n,_getTarget:i,override:s=>_s([s,...e],t,a,n)};return new Proxy(r,{deleteProperty:(t,s)=>(delete t[s],delete t._keys,delete e[0][s],!0),get:(s,n)=>ys(s,n,(()=>function(e,t,s,n){let i;for(const a of t)if(i=Ys(ps(a,e),s),void 0!==i)return gs(e,i)?vs(s,n,e,i):i}(n,t,e,s))),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],t),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,t)=>xs(e).includes(t),ownKeys:e=>xs(e),set(e,t,s){const n=e._storage||(e._storage=i());return e[t]=n[t]=s,delete e._keys,!0}})}function ms(e,t,s,n){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:s,_stack:new Set,_descriptors:fs(e,n),setContext:t=>ms(e,t,s,n),override:i=>ms(e.override(i),t,s,n)};return new Proxy(i,{deleteProperty:(t,s)=>(delete t[s],delete e[s],!0),get:(e,t,s)=>ys(e,t,(()=>function(e,t,s){const{_proxy:n,_context:i,_subProxy:a,_descriptors:r}=e;let o=n[t];Re(o)&&r.isScriptable(t)&&(o=function(e,t,s,n){const{_proxy:i,_context:a,_subProxy:r,_stack:o}=s;if(o.has(e))throw new Error("Recursion detected: "+Array.from(o).join("->")+"->"+e);o.add(e);let d=t(a,r||n);o.delete(e),gs(e,d)&&(d=vs(i._scopes,i,e,d));return d}(t,o,e,s));Me(o)&&o.length&&(o=function(e,t,s,n){const{_proxy:i,_context:a,_subProxy:r,_descriptors:o}=s;if(void 0!==a.index&&n(e))return t[a.index%t.length];if(Le(t[0])){const s=t,n=i._scopes.filter((e=>e!==s));t=[];for(const d of s){const s=vs(n,i,e,d);t.push(ms(s,a,r&&r[e],o))}}return t}(t,o,e,r.isIndexable));gs(t,o)&&(o=ms(o,i,a&&a[t],r));return o}(e,t,s))),getOwnPropertyDescriptor:(t,s)=>t._descriptors.allKeys?Reflect.has(e,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,s),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,s)=>Reflect.has(e,s),ownKeys:()=>Reflect.ownKeys(e),set:(t,s,n)=>(e[s]=n,delete t[s],!0)})}function fs(e,t={scriptable:!0,indexable:!0}){const{_scriptable:s=t.scriptable,_indexable:n=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:s,indexable:n,isScriptable:Re(s)?s:()=>s,isIndexable:Re(n)?n:()=>n}}const ps=(e,t)=>e?e+Ce(t):t,gs=(e,t)=>Le(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function ys(e,t,s){if(Object.prototype.hasOwnProperty.call(e,t)||"constructor"===t)return e[t];const n=s();return e[t]=n,n}function Ms(e,t,s){return Re(e)?e(t,s):e}const Ls=(e,t)=>!0===e?t:"string"==typeof e?Ee(t,e):void 0;function bs(e,t,s,n,i){for(const a of t){const t=Ls(s,a);if(t){e.add(t);const a=Ms(t._fallback,s,i);if(void 0!==a&&a!==s&&a!==n)return a}else if(!1===t&&void 0!==n&&s!==n)return null}return!1}function vs(e,t,s,n){const i=t._rootScopes,a=Ms(t._fallback,s,n),r=[...e,...i],o=new Set;o.add(n);let d=ks(o,r,s,a||s,n);return null!==d&&((void 0===a||a===s||(d=ks(o,r,a,d,n),null!==d))&&_s(Array.from(o),[""],i,a,(()=>function(e,t,s){const n=e._getTarget();t in n||(n[t]={});const i=n[t];if(Me(i)&&Le(s))return s;return i||{}}(t,s,n))))}function ks(e,t,s,n,i){for(;s;)s=bs(e,t,s,n,i);return s}function Ys(e,t){for(const s of t){if(!s)continue;const t=s[e];if(void 0!==t)return t}}function xs(e){let t=e._keys;return t||(t=e._keys=function(e){const t=new Set;for(const s of e)for(const e of Object.keys(s).filter((e=>!e.startsWith("_"))))t.add(e);return Array.from(t)}(e._scopes)),t}function ws(e,t,s,n){const{iScale:i}=e,{key:a="r"}=this._parsing,r=new Array(n);let o,d,l,u;for(o=0,d=n;ot"x"===e?"y":"x";function js(e,t,s,n){const i=e.skip?t:e,a=t,r=s.skip?t:s,o=it(a,i),d=it(r,a);let l=o/(o+d),u=d/(o+d);l=isNaN(l)?0:l,u=isNaN(u)?0:u;const c=n*l,h=n*u;return{previous:{x:a.x-c*(r.x-i.x),y:a.y-c*(r.y-i.y)},next:{x:a.x+h*(r.x-i.x),y:a.y+h*(r.y-i.y)}}}function Hs(e,t="x"){const s=Ss(t),n=e.length,i=Array(n).fill(0),a=Array(n);let r,o,d,l=Ts(e,0);for(r=0;r!e.skip))),"monotone"===t.cubicInterpolationMode)Hs(e,i);else{let s=n?e[e.length-1]:e[0];for(a=0,r=e.length;ae.ownerDocument.defaultView.getComputedStyle(e,null);const Rs=["top","right","bottom","left"];function Ws(e,t,s){const n={};s=s?"-"+s:"";for(let i=0;i<4;i++){const a=Rs[i];n[a]=parseFloat(e[t+"-"+a+s])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}const zs=(e,t,s)=>(e>0||t>0)&&(!s||!s.shadowRoot);function Ns(e,t){if("native"in e)return e;const{canvas:s,currentDevicePixelRatio:n}=t,i=Fs(s),a="border-box"===i.boxSizing,r=Ws(i,"padding"),o=Ws(i,"border","width"),{x:d,y:l,box:u}=function(e,t){const s=e.touches,n=s&&s.length?s[0]:e,{offsetX:i,offsetY:a}=n;let r,o,d=!1;if(zs(i,a,e.target))r=i,o=a;else{const e=t.getBoundingClientRect();r=n.clientX-e.left,o=n.clientY-e.top,d=!0}return{x:r,y:o,box:d}}(e,s),c=r.left+(u&&o.left),h=r.top+(u&&o.top);let{width:_,height:m}=t;return a&&(_-=r.width+o.width,m-=r.height+o.height),{x:Math.round((d-c)/_*s.width/n),y:Math.round((l-h)/m*s.height/n)}}const Is=e=>Math.round(10*e)/10;function Vs(e,t,s,n){const i=Fs(e),a=Ws(i,"margin"),r=Cs(i.maxWidth,e,"clientWidth")||Ve,o=Cs(i.maxHeight,e,"clientHeight")||Ve,d=function(e,t,s){let n,i;if(void 0===t||void 0===s){const a=e&&Es(e);if(a){const e=a.getBoundingClientRect(),r=Fs(a),o=Ws(r,"border","width"),d=Ws(r,"padding");t=e.width-d.width-o.width,s=e.height-d.height-o.height,n=Cs(r.maxWidth,a,"clientWidth"),i=Cs(r.maxHeight,a,"clientHeight")}else t=e.clientWidth,s=e.clientHeight}return{width:t,height:s,maxWidth:n||Ve,maxHeight:i||Ve}}(e,t,s);let{width:l,height:u}=d;if("content-box"===i.boxSizing){const e=Ws(i,"border","width"),t=Ws(i,"padding");l-=t.width+e.width,u-=t.height+e.height}l=Math.max(0,l-a.width),u=Math.max(0,n?l/n:u-a.height),l=Is(Math.min(l,r,d.maxWidth)),u=Is(Math.min(u,o,d.maxHeight)),l&&!u&&(u=Is(l/2));return(void 0!==t||void 0!==s)&&n&&d.height&&u>d.height&&(u=d.height,l=Is(Math.floor(u*n))),{width:l,height:u}}function Us(e,t,s){const n=t||1,i=Math.floor(e.height*n),a=Math.floor(e.width*n);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const r=e.canvas;return r.style&&(s||!r.style.height&&!r.style.width)&&(r.style.height=`${e.height}px`,r.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==n||r.height!==i||r.width!==a)&&(e.currentDevicePixelRatio=n,r.height=i,r.width=a,e.ctx.setTransform(n,0,0,n,0,0),!0)}const $s=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};As()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch(e){}return e}();function Bs(e,t){const s=function(e,t){return Fs(e).getPropertyValue(t)}(e,t),n=s&&s.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:void 0}function Js(e,t,s,n){return{x:e.x+s*(t.x-e.x),y:e.y+s*(t.y-e.y)}}function Gs(e,t,s,n){return{x:e.x+s*(t.x-e.x),y:"middle"===n?s<.5?e.y:t.y:"after"===n?s<1?e.y:t.y:s>0?t.y:e.y}}function qs(e,t,s,n){const i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},r=Js(e,i,s),o=Js(i,a,s),d=Js(a,t,s),l=Js(r,o,s),u=Js(o,d,s);return Js(l,u,s)}function Ks(e,t,s){return e?function(e,t){return{x:s=>e+e+t-s,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,t)=>e-t,leftForLtr:(e,t)=>e-t}}(t,s):{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,t)=>e+t,leftForLtr:(e,t)=>e}}function Zs(e,t){let s,n;"ltr"!==t&&"rtl"!==t||(s=e.canvas.style,n=[s.getPropertyValue("direction"),s.getPropertyPriority("direction")],s.setProperty("direction",t,"important"),e.prevTextDirection=n)}function Xs(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function Qs(e){return"angle"===e?{between:ot,compare:at,normalize:rt}:{between:lt,compare:(e,t)=>e-t,normalize:e=>e}}function en({start:e,end:t,count:s,loop:n,style:i}){return{start:e%s,end:t%s,loop:n&&(t-e+1)%s==0,style:i}}function tn(e,t,s){if(!s)return[e];const{property:n,start:i,end:a}=s,r=t.length,{compare:o,between:d,normalize:l}=Qs(n),{start:u,end:c,loop:h,style:_}=function(e,t,s){const{property:n,start:i,end:a}=s,{between:r,normalize:o}=Qs(n),d=t.length;let l,u,{start:c,end:h,loop:_}=e;if(_){for(c+=d,h+=d,l=0,u=d;ly||d(i,g,f)&&0!==o(i,g),b=()=>!y||0===o(a,f)||d(a,g,f);for(let e=u,s=u;e<=c;++e)p=t[e%r],p.skip||(f=l(p[n]),f!==g&&(y=d(f,i,a),null===M&&L()&&(M=0===o(f,i)?e:s),null!==M&&b()&&(m.push(en({start:M,end:e,loop:h,count:r,style:_})),M=null),s=e,g=f));return null!==M&&m.push(en({start:M,end:c,loop:h,count:r,style:_})),m}function sn(e,t){const s=[],n=e.segments;for(let i=0;i{let e=0;return()=>e++})();function ye(e){return null==e}function Me(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function Le(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function be(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)}function ve(e,t){return be(e)?e:t}function ke(e,t){return void 0===e?t:e}const Ye=(e,t)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e;function xe(e,t,s){if(e&&"function"==typeof e.call)return e.apply(s,t)}function we(e,t,s,n){let i,a,r;if(Me(e))if(a=e.length,n)for(i=a-1;i>=0;i--)t.call(s,e[i],i);else for(i=0;ie,x:e=>e.x,y:e=>e.y};function Ee(e,t){const s=Ae[t]||(Ae[t]=function(e){const t=function(e){const t=e.split("."),s=[];let n="";for(const e of t)n+=e,n.endsWith("\\")?n=n.slice(0,-1)+".":(s.push(n),n="");return s}(e);return e=>{for(const s of t){if(""===s)break;e=e&&e[s]}return e}}(t));return s(e)}function Ce(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Fe=e=>void 0!==e,Re=e=>"function"==typeof e,We=(e,t)=>{if(e.size!==t.size)return!1;for(const s of e)if(!t.has(s))return!1;return!0};const ze=Math.PI,Ne=2*ze,Ie=Ne+ze,Ve=Number.POSITIVE_INFINITY,$e=ze/180,Ue=ze/2,Be=ze/4,Je=2*ze/3,Ge=Math.log10,qe=Math.sign;function Ke(e,t,s){return Math.abs(e-t)d&&l=Math.min(t,s)-n&&e<=Math.max(t,s)+n}function ut(e,t,s){s=s||(s=>e[s]1;)n=a+i>>1,s(n)?a=n:i=n;return{lo:a,hi:i}}const ct=(e,t,s,n)=>ut(e,s,n?n=>{const i=e[n][t];return ie[n][t]ut(e,s,(n=>e[n][t]>=s));const _t=["push","pop","shift","splice","unshift"];function mt(e,t){const s=e._chartjs;if(!s)return;const n=s.listeners,i=n.indexOf(t);-1!==i&&n.splice(i,1),n.length>0||(_t.forEach((t=>{delete e[t]})),delete e._chartjs)}function ft(e){const t=new Set(e);return t.size===e.length?e:Array.from(t)}const pt="undefined"==typeof window?function(e){return e()}:window.requestAnimationFrame;function gt(e,t){let s=[],n=!1;return function(...i){s=i,n||(n=!0,pt.call(window,(()=>{n=!1,e.apply(t,s)})))}}const yt=e=>"start"===e?"left":"end"===e?"right":"center",Mt=(e,t,s)=>"start"===e?t:"end"===e?s:(t+s)/2;function Lt(e,t,s){const n=t.length;let i=0,a=n;if(e._sorted){const{iScale:r,_parsed:o}=e,d=r.axis,{min:l,max:u,minDefined:c,maxDefined:h}=r.getUserBounds();c&&(i=dt(Math.min(ct(o,d,l).lo,s?n:ct(t,d,r.getPixelForValue(l)).lo),0,n-1)),a=h?dt(Math.max(ct(o,r.axis,u,!0).hi+1,s?0:ct(t,d,r.getPixelForValue(u),!0).hi+1),i,n)-i:n-i}return{start:i,count:a}}function bt(e){const{xScale:t,yScale:s,_scaleRanges:n}=e,i={xmin:t.min,xmax:t.max,ymin:s.min,ymax:s.max};if(!n)return e._scaleRanges=i,!0;const a=n.xmin!==t.min||n.xmax!==t.max||n.ymin!==s.min||n.ymax!==s.max;return Object.assign(n,i),a}const vt=e=>0===e||1===e,kt=(e,t,s)=>-Math.pow(2,10*(e-=1))*Math.sin((e-t)*Ne/s),Yt=(e,t,s)=>Math.pow(2,-10*e)*Math.sin((e-t)*Ne/s)+1,xt={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>1-Math.cos(e*Ue),easeOutSine:e=>Math.sin(e*Ue),easeInOutSine:e=>-.5*(Math.cos(ze*e)-1),easeInExpo:e=>0===e?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>vt(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(2-Math.pow(2,-10*(2*e-1))),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>vt(e)?e:kt(e,.075,.3),easeOutElastic:e=>vt(e)?e:Yt(e,.075,.3),easeInOutElastic(e){const t=.1125;return vt(e)?e:e<.5?.5*kt(2*e,t,.45):.5+.5*Yt(2*e-1,t,.45)},easeInBack(e){const t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){const t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:e=>1-xt.easeOutBounce(1-e),easeOutBounce(e){const t=7.5625,s=2.75;return e<1/s?t*e*e:e<2/s?t*(e-=1.5/s)*e+.75:e<2.5/s?t*(e-=2.25/s)*e+.9375:t*(e-=2.625/s)*e+.984375},easeInOutBounce:e=>e<.5?.5*xt.easeInBounce(2*e):.5*xt.easeOutBounce(2*e-1)+.5};function wt(e){if(e&&"object"==typeof e){const t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function Dt(e){return wt(e)?e:new fe(e)}function Tt(e){return wt(e)?e:new fe(e).saturate(.5).darken(.1).hexString()}const St=["x","y","borderWidth","radius","tension"],jt=["color","borderColor","backgroundColor"];const Ht=new Map;function Ot(e,t,s){return function(e,t){t=t||{};const s=e+JSON.stringify(t);let n=Ht.get(s);return n||(n=new Intl.NumberFormat(e,t),Ht.set(s,n)),n}(t,s).format(e)}const Pt={values:e=>Me(e)?e:""+e,numeric(e,t,s){if(0===e)return"0";const n=this.chart.options.locale;let i,a=e;if(s.length>1){const t=Math.max(Math.abs(s[0].value),Math.abs(s[s.length-1].value));(t<1e-4||t>1e15)&&(i="scientific"),a=function(e,t){let s=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;Math.abs(s)>=1&&e!==Math.floor(e)&&(s=e-Math.floor(e));return s}(e,s)}const r=Ge(Math.abs(a)),o=isNaN(r)?1:Math.max(Math.min(-1*Math.floor(r),20),0),d={notation:i,minimumFractionDigits:o,maximumFractionDigits:o};return Object.assign(d,this.options.ticks.format),Ot(e,n,d)},logarithmic(e,t,s){if(0===e)return"0";const n=s[t].significand||e/Math.pow(10,Math.floor(Ge(e)));return[1,2,3,5,10,15].includes(n)||t>.8*s.length?Pt.numeric.call(this,e,t,s):""}};var At={formatters:Pt};const Et=Object.create(null),Ct=Object.create(null);function Ft(e,t){if(!t)return e;const s=t.split(".");for(let t=0,n=s.length;te.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>Tt(t.backgroundColor),this.hoverBorderColor=(e,t)=>Tt(t.borderColor),this.hoverColor=(e,t)=>Tt(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return Rt(this,e,t)}get(e){return Ft(this,e)}describe(e,t){return Rt(Ct,e,t)}override(e,t){return Rt(Et,e,t)}route(e,t,s,n){const i=Ft(this,e),a=Ft(this,s),r="_"+t;Object.defineProperties(i,{[r]:{value:i[t],writable:!0},[t]:{enumerable:!0,get(){const e=this[r],t=a[n];return Le(e)?Object.assign({},t,e):ke(e,t)},set(e){this[r]=e}}})}apply(e){e.forEach((e=>e(this)))}}var zt=new Wt({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),e.set("animations",{colors:{type:"color",properties:jt},numbers:{type:"number",properties:St}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}})},function(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:At.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e&&"dash"!==e}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e})}]);function Nt(e,t,s,n,i){let a=t[i];return a||(a=t[i]=e.measureText(i).width,s.push(i)),a>n&&(n=a),n}function It(e,t,s,n){let i=(n=n||{}).data=n.data||{},a=n.garbageCollect=n.garbageCollect||[];n.font!==t&&(i=n.data={},a=n.garbageCollect=[],n.font=t),e.save(),e.font=t;let r=0;const o=s.length;let d,l,u,c,h;for(d=0;ds.length){for(d=0;d<_;d++)delete i[a[d]];a.splice(0,_)}return r}function Vt(e,t,s){const n=e.currentDevicePixelRatio,i=0!==s?Math.max(s/2,.5):0;return Math.round((t-i)*n)/n+i}function $t(e,t){(t||e)&&((t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function Ut(e,t,s,n){Bt(e,t,s,n,null)}function Bt(e,t,s,n,i){let a,r,o,d,l,u,c,h;const _=t.pointStyle,m=t.rotation,f=t.radius;let p=(m||0)*$e;if(_&&"object"==typeof _&&(a=_.toString(),"[object HTMLImageElement]"===a||"[object HTMLCanvasElement]"===a))return e.save(),e.translate(s,n),e.rotate(p),e.drawImage(_,-_.width/2,-_.height/2,_.width,_.height),void e.restore();if(!(isNaN(f)||f<=0)){switch(e.beginPath(),_){default:i?e.ellipse(s,n,i/2,f,0,0,Ne):e.arc(s,n,f,0,Ne),e.closePath();break;case"triangle":u=i?i/2:f,e.moveTo(s+Math.sin(p)*u,n-Math.cos(p)*f),p+=Je,e.lineTo(s+Math.sin(p)*u,n-Math.cos(p)*f),p+=Je,e.lineTo(s+Math.sin(p)*u,n-Math.cos(p)*f),e.closePath();break;case"rectRounded":l=.516*f,d=f-l,r=Math.cos(p+Be)*d,c=Math.cos(p+Be)*(i?i/2-l:d),o=Math.sin(p+Be)*d,h=Math.sin(p+Be)*(i?i/2-l:d),e.arc(s-c,n-o,l,p-ze,p-Ue),e.arc(s+h,n-r,l,p-Ue,p),e.arc(s+c,n+o,l,p,p+Ue),e.arc(s-h,n+r,l,p+Ue,p+ze),e.closePath();break;case"rect":if(!m){d=Math.SQRT1_2*f,u=i?i/2:d,e.rect(s-u,n-d,2*u,2*d);break}p+=Be;case"rectRot":c=Math.cos(p)*(i?i/2:f),r=Math.cos(p)*f,o=Math.sin(p)*f,h=Math.sin(p)*(i?i/2:f),e.moveTo(s-c,n-o),e.lineTo(s+h,n-r),e.lineTo(s+c,n+o),e.lineTo(s-h,n+r),e.closePath();break;case"crossRot":p+=Be;case"cross":c=Math.cos(p)*(i?i/2:f),r=Math.cos(p)*f,o=Math.sin(p)*f,h=Math.sin(p)*(i?i/2:f),e.moveTo(s-c,n-o),e.lineTo(s+c,n+o),e.moveTo(s+h,n-r),e.lineTo(s-h,n+r);break;case"star":c=Math.cos(p)*(i?i/2:f),r=Math.cos(p)*f,o=Math.sin(p)*f,h=Math.sin(p)*(i?i/2:f),e.moveTo(s-c,n-o),e.lineTo(s+c,n+o),e.moveTo(s+h,n-r),e.lineTo(s-h,n+r),p+=Be,c=Math.cos(p)*(i?i/2:f),r=Math.cos(p)*f,o=Math.sin(p)*f,h=Math.sin(p)*(i?i/2:f),e.moveTo(s-c,n-o),e.lineTo(s+c,n+o),e.moveTo(s+h,n-r),e.lineTo(s-h,n+r);break;case"line":r=i?i/2:Math.cos(p)*f,o=Math.sin(p)*f,e.moveTo(s-r,n-o),e.lineTo(s+r,n+o);break;case"dash":e.moveTo(s,n),e.lineTo(s+Math.cos(p)*(i?i/2:f),n+Math.sin(p)*f);break;case!1:e.closePath()}e.fill(),t.borderWidth>0&&e.stroke()}}function Jt(e,t,s){return s=s||.5,!t||e&&e.x>t.left-s&&e.xt.top-s&&e.y0&&""!==a.strokeColor;let d,l;for(e.save(),e.font=i.string,function(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),ye(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}(e,a),d=0;d+e||0;function rs(e,t){const s={},n=Le(t),i=n?Object.keys(t):t,a=Le(e)?n?s=>ke(e[s],e[t[s]]):t=>e[t]:()=>e;for(const e of i)s[e]=as(a(e));return s}function os(e){return rs(e,{top:"y",right:"x",bottom:"y",left:"x"})}function ds(e){return rs(e,["topLeft","topRight","bottomLeft","bottomRight"])}function ls(e){const t=os(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function us(e,t){e=e||{},t=t||zt.font;let s=ke(e.size,t.size);"string"==typeof s&&(s=parseInt(s,10));let n=ke(e.style,t.style);n&&!(""+n).match(ns)&&(console.warn('Invalid font style specified: "'+n+'"'),n=void 0);const i={family:ke(e.family,t.family),lineHeight:is(ke(e.lineHeight,t.lineHeight),s),size:s,style:n,weight:ke(e.weight,t.weight),string:""};return i.string=function(e){return!e||ye(e.size)||ye(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(i),i}function cs(e,t,s,n){let i,a,r,o=!0;for(i=0,a=e.length;ie[0])){const a=s||e;void 0===n&&(n=Ys("_fallback",e));const r={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:n,_getTarget:i,override:s=>_s([s,...e],t,a,n)};return new Proxy(r,{deleteProperty:(t,s)=>(delete t[s],delete t._keys,delete e[0][s],!0),get:(s,n)=>ys(s,n,(()=>function(e,t,s,n){let i;for(const a of t)if(i=Ys(ps(a,e),s),void 0!==i)return gs(e,i)?vs(s,n,e,i):i}(n,t,e,s))),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e._scopes[0],t),getPrototypeOf:()=>Reflect.getPrototypeOf(e[0]),has:(e,t)=>xs(e).includes(t),ownKeys:e=>xs(e),set(e,t,s){const n=e._storage||(e._storage=i());return e[t]=n[t]=s,delete e._keys,!0}})}function ms(e,t,s,n){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:s,_stack:new Set,_descriptors:fs(e,n),setContext:t=>ms(e,t,s,n),override:i=>ms(e.override(i),t,s,n)};return new Proxy(i,{deleteProperty:(t,s)=>(delete t[s],delete e[s],!0),get:(e,t,s)=>ys(e,t,(()=>function(e,t,s){const{_proxy:n,_context:i,_subProxy:a,_descriptors:r}=e;let o=n[t];Re(o)&&r.isScriptable(t)&&(o=function(e,t,s,n){const{_proxy:i,_context:a,_subProxy:r,_stack:o}=s;if(o.has(e))throw new Error("Recursion detected: "+Array.from(o).join("->")+"->"+e);o.add(e);let d=t(a,r||n);o.delete(e),gs(e,d)&&(d=vs(i._scopes,i,e,d));return d}(t,o,e,s));Me(o)&&o.length&&(o=function(e,t,s,n){const{_proxy:i,_context:a,_subProxy:r,_descriptors:o}=s;if(void 0!==a.index&&n(e))return t[a.index%t.length];if(Le(t[0])){const s=t,n=i._scopes.filter((e=>e!==s));t=[];for(const d of s){const s=vs(n,i,e,d);t.push(ms(s,a,r&&r[e],o))}}return t}(t,o,e,r.isIndexable));gs(t,o)&&(o=ms(o,i,a&&a[t],r));return o}(e,t,s))),getOwnPropertyDescriptor:(t,s)=>t._descriptors.allKeys?Reflect.has(e,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,s),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,s)=>Reflect.has(e,s),ownKeys:()=>Reflect.ownKeys(e),set:(t,s,n)=>(e[s]=n,delete t[s],!0)})}function fs(e,t={scriptable:!0,indexable:!0}){const{_scriptable:s=t.scriptable,_indexable:n=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:s,indexable:n,isScriptable:Re(s)?s:()=>s,isIndexable:Re(n)?n:()=>n}}const ps=(e,t)=>e?e+Ce(t):t,gs=(e,t)=>Le(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function ys(e,t,s){if(Object.prototype.hasOwnProperty.call(e,t)||"constructor"===t)return e[t];const n=s();return e[t]=n,n}function Ms(e,t,s){return Re(e)?e(t,s):e}const Ls=(e,t)=>!0===e?t:"string"==typeof e?Ee(t,e):void 0;function bs(e,t,s,n,i){for(const a of t){const t=Ls(s,a);if(t){e.add(t);const a=Ms(t._fallback,s,i);if(void 0!==a&&a!==s&&a!==n)return a}else if(!1===t&&void 0!==n&&s!==n)return null}return!1}function vs(e,t,s,n){const i=t._rootScopes,a=Ms(t._fallback,s,n),r=[...e,...i],o=new Set;o.add(n);let d=ks(o,r,s,a||s,n);return null!==d&&((void 0===a||a===s||(d=ks(o,r,a,d,n),null!==d))&&_s(Array.from(o),[""],i,a,(()=>function(e,t,s){const n=e._getTarget();t in n||(n[t]={});const i=n[t];if(Me(i)&&Le(s))return s;return i||{}}(t,s,n))))}function ks(e,t,s,n,i){for(;s;)s=bs(e,t,s,n,i);return s}function Ys(e,t){for(const s of t){if(!s)continue;const t=s[e];if(void 0!==t)return t}}function xs(e){let t=e._keys;return t||(t=e._keys=function(e){const t=new Set;for(const s of e)for(const e of Object.keys(s).filter((e=>!e.startsWith("_"))))t.add(e);return Array.from(t)}(e._scopes)),t}function ws(e,t,s,n){const{iScale:i}=e,{key:a="r"}=this._parsing,r=new Array(n);let o,d,l,u;for(o=0,d=n;ot"x"===e?"y":"x";function js(e,t,s,n){const i=e.skip?t:e,a=t,r=s.skip?t:s,o=it(a,i),d=it(r,a);let l=o/(o+d),u=d/(o+d);l=isNaN(l)?0:l,u=isNaN(u)?0:u;const c=n*l,h=n*u;return{previous:{x:a.x-c*(r.x-i.x),y:a.y-c*(r.y-i.y)},next:{x:a.x+h*(r.x-i.x),y:a.y+h*(r.y-i.y)}}}function Hs(e,t="x"){const s=Ss(t),n=e.length,i=Array(n).fill(0),a=Array(n);let r,o,d,l=Ts(e,0);for(r=0;r!e.skip))),"monotone"===t.cubicInterpolationMode)Hs(e,i);else{let s=n?e[e.length-1]:e[0];for(a=0,r=e.length;ae.ownerDocument.defaultView.getComputedStyle(e,null);const Rs=["top","right","bottom","left"];function Ws(e,t,s){const n={};s=s?"-"+s:"";for(let i=0;i<4;i++){const a=Rs[i];n[a]=parseFloat(e[t+"-"+a+s])||0}return n.width=n.left+n.right,n.height=n.top+n.bottom,n}const zs=(e,t,s)=>(e>0||t>0)&&(!s||!s.shadowRoot);function Ns(e,t){if("native"in e)return e;const{canvas:s,currentDevicePixelRatio:n}=t,i=Fs(s),a="border-box"===i.boxSizing,r=Ws(i,"padding"),o=Ws(i,"border","width"),{x:d,y:l,box:u}=function(e,t){const s=e.touches,n=s&&s.length?s[0]:e,{offsetX:i,offsetY:a}=n;let r,o,d=!1;if(zs(i,a,e.target))r=i,o=a;else{const e=t.getBoundingClientRect();r=n.clientX-e.left,o=n.clientY-e.top,d=!0}return{x:r,y:o,box:d}}(e,s),c=r.left+(u&&o.left),h=r.top+(u&&o.top);let{width:_,height:m}=t;return a&&(_-=r.width+o.width,m-=r.height+o.height),{x:Math.round((d-c)/_*s.width/n),y:Math.round((l-h)/m*s.height/n)}}const Is=e=>Math.round(10*e)/10;function Vs(e,t,s,n){const i=Fs(e),a=Ws(i,"margin"),r=Cs(i.maxWidth,e,"clientWidth")||Ve,o=Cs(i.maxHeight,e,"clientHeight")||Ve,d=function(e,t,s){let n,i;if(void 0===t||void 0===s){const a=e&&Es(e);if(a){const e=a.getBoundingClientRect(),r=Fs(a),o=Ws(r,"border","width"),d=Ws(r,"padding");t=e.width-d.width-o.width,s=e.height-d.height-o.height,n=Cs(r.maxWidth,a,"clientWidth"),i=Cs(r.maxHeight,a,"clientHeight")}else t=e.clientWidth,s=e.clientHeight}return{width:t,height:s,maxWidth:n||Ve,maxHeight:i||Ve}}(e,t,s);let{width:l,height:u}=d;if("content-box"===i.boxSizing){const e=Ws(i,"border","width"),t=Ws(i,"padding");l-=t.width+e.width,u-=t.height+e.height}l=Math.max(0,l-a.width),u=Math.max(0,n?l/n:u-a.height),l=Is(Math.min(l,r,d.maxWidth)),u=Is(Math.min(u,o,d.maxHeight)),l&&!u&&(u=Is(l/2));return(void 0!==t||void 0!==s)&&n&&d.height&&u>d.height&&(u=d.height,l=Is(Math.floor(u*n))),{width:l,height:u}}function $s(e,t,s){const n=t||1,i=Math.floor(e.height*n),a=Math.floor(e.width*n);e.height=Math.floor(e.height),e.width=Math.floor(e.width);const r=e.canvas;return r.style&&(s||!r.style.height&&!r.style.width)&&(r.style.height=`${e.height}px`,r.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==n||r.height!==i||r.width!==a)&&(e.currentDevicePixelRatio=n,r.height=i,r.width=a,e.ctx.setTransform(n,0,0,n,0,0),!0)}const Us=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};As()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch(e){}return e}();function Bs(e,t){const s=function(e,t){return Fs(e).getPropertyValue(t)}(e,t),n=s&&s.match(/^(\d+)(\.\d+)?px$/);return n?+n[1]:void 0}function Js(e,t,s,n){return{x:e.x+s*(t.x-e.x),y:e.y+s*(t.y-e.y)}}function Gs(e,t,s,n){return{x:e.x+s*(t.x-e.x),y:"middle"===n?s<.5?e.y:t.y:"after"===n?s<1?e.y:t.y:s>0?t.y:e.y}}function qs(e,t,s,n){const i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},r=Js(e,i,s),o=Js(i,a,s),d=Js(a,t,s),l=Js(r,o,s),u=Js(o,d,s);return Js(l,u,s)}function Ks(e,t,s){return e?function(e,t){return{x:s=>e+e+t-s,setWidth(e){t=e},textAlign:e=>"center"===e?e:"right"===e?"left":"right",xPlus:(e,t)=>e-t,leftForLtr:(e,t)=>e-t}}(t,s):{x:e=>e,setWidth(e){},textAlign:e=>e,xPlus:(e,t)=>e+t,leftForLtr:(e,t)=>e}}function Zs(e,t){let s,n;"ltr"!==t&&"rtl"!==t||(s=e.canvas.style,n=[s.getPropertyValue("direction"),s.getPropertyPriority("direction")],s.setProperty("direction",t,"important"),e.prevTextDirection=n)}function Xs(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function Qs(e){return"angle"===e?{between:ot,compare:at,normalize:rt}:{between:lt,compare:(e,t)=>e-t,normalize:e=>e}}function en({start:e,end:t,count:s,loop:n,style:i}){return{start:e%s,end:t%s,loop:n&&(t-e+1)%s==0,style:i}}function tn(e,t,s){if(!s)return[e];const{property:n,start:i,end:a}=s,r=t.length,{compare:o,between:d,normalize:l}=Qs(n),{start:u,end:c,loop:h,style:_}=function(e,t,s){const{property:n,start:i,end:a}=s,{between:r,normalize:o}=Qs(n),d=t.length;let l,u,{start:c,end:h,loop:_}=e;if(_){for(c+=d,h+=d,l=0,u=d;ly||d(i,g,f)&&0!==o(i,g),b=()=>!y||0===o(a,f)||d(a,g,f);for(let e=u,s=u;e<=c;++e)p=t[e%r],p.skip||(f=l(p[n]),f!==g&&(y=d(f,i,a),null===M&&L()&&(M=0===o(f,i)?e:s),null!==M&&b()&&(m.push(en({start:M,end:e,loop:h,count:r,style:_})),M=null),s=e,g=f));return null!==M&&m.push(en({start:M,end:c,loop:h,count:r,style:_})),m}function sn(e,t){const s=[],n=e.segments;for(let i=0;in({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(s-t.start,a)})))}_refresh(){this._request||(this._running=!0,this._request=pt.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(e=Date.now()){let t=0;this._charts.forEach(((s,n)=>{if(!s.running||!s.items.length)return;const i=s.items;let a,r=i.length-1,o=!1;for(;r>=0;--r)a=i[r],a._active?(a._total>s.duration&&(s.duration=a._total),a.tick(e),o=!0):(i[r]=i[i.length-1],i.pop());o&&(n.draw(),this._notify(n,s,e,"progress")),i.length||(s.running=!1,this._notify(n,s,e,"complete"),s.initial=!1),t+=i.length})),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let s=t.get(e);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,s)),s}listen(e,t,s){this._getAnims(e).listeners[t].push(s)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce(((e,t)=>Math.max(e,t._duration)),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const s=t.items;let n=s.length-1;for(;n>=0;--n)s[n].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var dn=new on;const ln="transparent",un={boolean:(e,t,s)=>s>.5?t:e,color(e,t,s){const n=Dt(e||ln),i=n.valid&&Dt(t||ln);return i&&i.valid?i.mix(n,s).hexString():t},number:(e,t,s)=>e+(t-e)*s};class cn{constructor(e,t,s,n){const i=t[s];n=cs([e.to,n,i,e.from]);const a=cs([e.from,i,n]);this._active=!0,this._fn=e.fn||un[e.type||typeof a],this._easing=xt[e.easing]||xt.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=s,this._from=a,this._to=n,this._promises=void 0}active(){return this._active}update(e,t,s){if(this._active){this._notify(!1);const n=this._target[this._prop],i=s-this._start,a=this._duration-i;this._start=s,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=cs([e.to,t,n,e.from]),this._from=cs([e.from,n,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,s=this._duration,n=this._prop,i=this._from,a=this._loop,r=this._to;let o;if(this._active=i!==r&&(a||t1?2-o:o,o=this._easing(Math.min(1,Math.max(0,o))),this._target[n]=this._fn(i,r,o))}wait(){const e=this._promises||(this._promises=[]);return new Promise(((t,s)=>{e.push({res:t,rej:s})}))}_notify(e){const t=e?"res":"rej",s=this._promises||[];for(let e=0;e{const i=e[n];if(!Le(i))return;const a={};for(const e of t)a[e]=i[e];(Me(i.properties)&&i.properties||[n]).forEach((e=>{e!==n&&s.has(e)||s.set(e,a)}))}))}_animateOptions(e,t){const s=t.options,n=function(e,t){if(!t)return;let s=e.options;if(!s)return void(e.options=t);s.$shared&&(e.options=s=Object.assign({},s,{$shared:!1,$animations:{}}));return s}(e,s);if(!n)return[];const i=this._createAnimations(n,s);return s.$shared&&function(e,t){const s=[],n=Object.keys(t);for(let t=0;t{e.options=s}),(()=>{})),i}_createAnimations(e,t){const s=this._properties,n=[],i=e.$animations||(e.$animations={}),a=Object.keys(t),r=Date.now();let o;for(o=a.length-1;o>=0;--o){const d=a[o];if("$"===d.charAt(0))continue;if("options"===d){n.push(...this._animateOptions(e,t));continue}const l=t[d];let u=i[d];const c=s.get(d);if(u){if(c&&u.active()){u.update(c,l,r);continue}u.cancel()}c&&c.duration?(i[d]=u=new cn(c,e,d,l),n.push(u)):e[d]=l}return n}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const s=this._createAnimations(e,t);return s.length?(dn.add(this._chart,s),!0):void 0}}function _n(e,t){const s=e&&e.options||{},n=s.reverse,i=void 0===s.min?t:0,a=void 0===s.max?t:0;return{start:n?a:i,end:n?i:a}}function mn(e,t){const s=[],n=e._getSortedDatasetMetas(t);let i,a;for(i=0,a=n.length;i0||!s&&t<0)return i.index}return null}function Mn(e,t){const{chart:s,_cachedMeta:n}=e,i=s._stacks||(s._stacks={}),{iScale:a,vScale:r,index:o}=n,d=a.axis,l=r.axis,u=function(e,t,s){return`${e.id}.${t.id}.${s.stack||s.type}`}(a,r,n),c=t.length;let h;for(let e=0;es[e].axis===t)).shift()}function bn(e,t){const s=e.controller.index,n=e.vScale&&e.vScale.axis;if(n){t=t||e._parsed;for(const e of t){const t=e._stacks;if(!t||void 0===t[n]||void 0===t[n][s])return;delete t[n][s],void 0!==t[n]._visualValues&&void 0!==t[n]._visualValues[s]&&delete t[n]._visualValues[s]}}}const vn=e=>"reset"===e||"none"===e,kn=(e,t)=>t?e:Object.assign({},e);class Yn{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=pn(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&bn(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,s=this.getDataset(),n=(e,t,s,n)=>"x"===e?t:"r"===e?n:s,i=t.xAxisID=ke(s.xAxisID,Ln(e,"x")),a=t.yAxisID=ke(s.yAxisID,Ln(e,"y")),r=t.rAxisID=ke(s.rAxisID,Ln(e,"r")),o=t.indexAxis,d=t.iAxisID=n(o,i,a,r),l=t.vAxisID=n(o,a,i,r);t.xScale=this.getScaleForId(i),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(r),t.iScale=this.getScaleForId(d),t.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&mt(this._data,this),e._stacked&&bn(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),s=this._data;if(Le(t)){const e=this._cachedMeta;this._data=function(e,t){const{iScale:s,vScale:n}=t,i="x"===s.axis?"x":"y",a="x"===n.axis?"x":"y",r=Object.keys(e),o=new Array(r.length);let d,l,u;for(d=0,l=r.length;d{const t="_onData"+Ce(e),s=n[e];Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value(...e){const i=s.apply(this,e);return n._chartjs.listeners.forEach((s=>{"function"==typeof s[t]&&s[t](...e)})),i}})})))),this._syncList=[],this._data=t}var n,i}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,s=this.getDataset();let n=!1;this._dataCheck();const i=t._stacked;t._stacked=pn(t.vScale,t),t.stack!==s.stack&&(n=!0,bn(t),t.stack=s.stack),this._resyncElements(e),(n||i!==t._stacked)&&Mn(this,t._parsed)}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),s=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:s,_data:n}=this,{iScale:i,_stacked:a}=s,r=i.axis;let o,d,l,u=0===e&&t===n.length||s._sorted,c=e>0&&s._parsed[e-1];if(!1===this._parsing)s._parsed=n,s._sorted=!0,l=n;else{l=Me(n[e])?this.parseArrayData(s,n,e,t):Le(n[e])?this.parseObjectData(s,n,e,t):this.parsePrimitiveData(s,n,e,t);const i=()=>null===d[r]||c&&d[r]e&&!t.hidden&&t._stacked&&{keys:mn(s,!0),values:null})(t,s,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:l,max:u}=function(e){const{min:t,max:s,minDefined:n,maxDefined:i}=e.getUserBounds();return{min:n?t:Number.NEGATIVE_INFINITY,max:i?s:Number.POSITIVE_INFINITY}}(r);let c,h;function _(){h=n[c];const t=h[r.axis];return!be(h[e.axis])||l>t||u=0;--c)if(!_()){this.updateRangeFromParsed(d,e,h,o);break}return d}getAllParsedValues(e){const t=this._cachedMeta._parsed,s=[];let n,i,a;for(n=0,i=t.length;n=0&&ethis.getContext(s,n,t)),u);return _.$shared&&(_.$shared=o,i[a]=Object.freeze(kn(_,o))),_}_resolveAnimations(e,t,s){const n=this.chart,i=this._cachedDataOpts,a=`animation-${t}`,r=i[a];if(r)return r;let o;if(!1!==n.options.animation){const n=this.chart.config,i=n.datasetAnimationScopeKeys(this._type,t),a=n.getOptionScopes(this.getDataset(),i);o=n.createResolver(a,this.getContext(e,s,t))}const d=new hn(n,o&&o.animations);return o&&o._cacheable&&(i[a]=Object.freeze(d)),d}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||vn(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const s=this.resolveDataElementOptions(e,t),n=this._sharedOptions,i=this.getSharedOptions(s),a=this.includeOptions(t,i)||i!==n;return this.updateSharedOptions(i,t,s),{sharedOptions:i,includeOptions:a}}updateElement(e,t,s,n){vn(n)?Object.assign(e,s):this._resolveAnimations(t,n).update(e,s)}updateSharedOptions(e,t,s){e&&!vn(t)&&this._resolveAnimations(void 0,t).update(e,s)}_setStyle(e,t,s,n){e.active=n;const i=this.getStyle(t,n);this._resolveAnimations(t,s,n).update(e,{options:!n&&this.getSharedOptions(i)||i})}removeHoverStyle(e,t,s){this._setStyle(e,s,"active",!1)}setHoverStyle(e,t,s){this._setStyle(e,s,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,s=this._cachedMeta.data;for(const[e,t,s]of this._syncList)this[e](t,s);this._syncList=[];const n=s.length,i=t.length,a=Math.min(i,n);a&&this.parse(0,a),i>n?this._insertElements(n,i-n,e):i{for(e.length+=t,r=e.length-1;r>=a;r--)e[r]=e[r-t]};for(o(i),r=e;re-t)))}return e._cache.$bar}(t,e.type);let n,i,a,r,o=t._length;const d=()=>{32767!==a&&-32768!==a&&(Fe(r)&&(o=Math.min(o,Math.abs(a-r)||o)),r=a)};for(n=0,i=s.length;nMath.abs(o)&&(d=o,l=r),t[s.axis]=l,t._custom={barStart:d,barEnd:l,start:i,end:a,min:r,max:o}}(e,t,s,n):t[s.axis]=s.parse(e,n),t}function Dn(e,t,s,n){const i=e.iScale,a=e.vScale,r=i.getLabels(),o=i===a,d=[];let l,u,c,h;for(l=s,u=s+n;le.x,s="left",n="right"):(t=e.base"spacing"!==e,_indexable:e=>"spacing"!==e&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:s,color:n}}=e.legend.options;return t.labels.map(((t,i)=>{const a=e.getDatasetMeta(0).controller.getStyle(i);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:n,lineWidth:a.borderWidth,pointStyle:s,hidden:!e.getDataVisibility(i),index:i}}))}return[]}},onClick(e,t,s){s.chart.toggleDataVisibility(t.index),s.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const s=this.getDataset().data,n=this._cachedMeta;if(!1===this._parsing)n._parsed=s;else{let i,a,r=e=>+s[e];if(Le(s[e])){const{key:e="value"}=this._parsing;r=t=>+Ee(s[t],e)}for(i=e,a=e+t;iot(e,o,d,!0)?1:Math.max(t,t*s,n,n*s),m=(e,t,n)=>ot(e,o,d,!0)?-1:Math.min(t,t*s,n,n*s),f=_(0,l,c),p=_($e,u,h),g=m(ze,l,c),y=m(ze+$e,u,h);n=(f-g)/2,i=(p-y)/2,a=-(f+g)/2,r=-(p+y)/2}return{ratioX:n,ratioY:i,offsetX:a,offsetY:r}}(h,c,o),g=(s.width-a)/_,y=(s.height-a)/m,M=Math.max(Math.min(g,y)/2,0),L=Ye(this.options.radius,M),b=(L-Math.max(L*o,0))/this._getVisibleDatasetWeightTotal();this.offsetX=f*L,this.offsetY=p*L,n.total=this.calculateTotal(),this.outerRadius=L-b*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-b*u,0),this.updateElements(i,0,i.length,e)}_circumference(e,t){const s=this.options,n=this._cachedMeta,i=this._getCircumference();return t&&s.animation.animateRotate||!this.chart.getDataVisibility(e)||null===n._parsed[e]||n.data[e].hidden?0:this.calculateCircumference(n._parsed[e]*i/Ne)}updateElements(e,t,s,n){const i="reset"===n,a=this.chart,r=a.chartArea,o=a.options.animation,d=(r.left+r.right)/2,l=(r.top+r.bottom)/2,u=i&&o.animateScale,c=u?0:this.innerRadius,h=u?0:this.outerRadius,{sharedOptions:_,includeOptions:m}=this._getSharedOptions(t,n);let f,p=this._getRotation();for(f=0;f0&&!isNaN(e)?Ne*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,s=this.chart,n=s.data.labels||[],i=Ot(t._parsed[e],s.options.locale);return{label:n[e]||"",value:i}}getMaxBorderWidth(e){let t=0;const s=this.chart;let n,i,a,r,o;if(!e)for(n=0,i=s.data.datasets.length;n{const a=e.getDatasetMeta(0).controller.getStyle(i);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:n,lineWidth:a.borderWidth,pointStyle:s,hidden:!e.getDataVisibility(i),index:i}}))}return[]}},onClick(e,t,s){s.chart.toggleDataVisibility(t.index),s.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const t=this._cachedMeta,s=this.chart,n=s.data.labels||[],i=Ot(t._parsed[e].r,s.options.locale);return{label:n[e]||"",value:i}}parseObjectData(e,t,s,n){return ws.bind(this)(e,t,s,n)}update(e){const t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){const e=this._cachedMeta,t={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach(((e,s)=>{const n=this.getParsed(s).r;!isNaN(n)&&this.chart.getDataVisibility(s)&&(nt.max&&(t.max=n))})),t}_updateRadius(){const e=this.chart,t=e.chartArea,s=e.options,n=Math.min(t.right-t.left,t.bottom-t.top),i=Math.max(n/2,0),a=(i-Math.max(s.cutoutPercentage?i/100*s.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=i-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,t,s,n){const i="reset"===n,a=this.chart,r=a.options.animation,o=this._cachedMeta.rScale,d=o.xCenter,l=o.yCenter,u=o.getIndexAngle(0)-.5*ze;let c,h=u;const _=360/this.countVisibleElements();for(c=0;c{!isNaN(this.getParsed(s).r)&&this.chart.getDataVisibility(s)&&t++})),t}_computeAngle(e,t,s){return this.chart.getDataVisibility(e)?et(this.resolveDataElementOptions(e,t).angle||s):0}}var En=Object.freeze({__proto__:null,BarController:class extends Yn{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,t,s,n){return Dn(e,t,s,n)}parseArrayData(e,t,s,n){return Dn(e,t,s,n)}parseObjectData(e,t,s,n){const{iScale:i,vScale:a}=e,{xAxisKey:r="x",yAxisKey:o="y"}=this._parsing,d="x"===i.axis?r:o,l="x"===a.axis?r:o,u=[];let c,h,_,m;for(c=s,h=s+n;ce.controller.options.grouped)),i=s.options.stacked,a=[],r=e=>{const s=e.controller.getParsed(t),n=s&&s[e.vScale.axis];if(ye(n)||isNaN(n))return!0};for(const s of n)if((void 0===t||!r(s))&&((!1===i||-1===a.indexOf(s.stack)||void 0===i&&void 0===s.stack)&&a.push(s.stack),s.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,t,s){const n=this._getStacks(e,s),i=void 0!==t?n.indexOf(t):-1;return-1===i?n.length-1:i}_getRuler(){const e=this.options,t=this._cachedMeta,s=t.iScale,n=[];let i,a;for(i=0,a=t.data.length;i=s?1:-1)}(c,t,r)*a,h===r&&(p-=c/2);const e=t.getPixelForDecimal(0),i=t.getPixelForDecimal(1),d=Math.min(e,i),_=Math.max(e,i);p=Math.max(Math.min(p,_),d),u=p+c,s&&!l&&(o._stacks[t.axis]._visualValues[n]=t.getValueForPixel(u)-t.getValueForPixel(p))}if(p===t.getPixelForValue(r)){const e=qe(c)*t.getLineWidthForValue(r)/2;p+=e,c-=e}return{size:c,base:p,head:u,center:u+c/2}}_calculateBarIndexPixels(e,t){const s=t.scale,n=this.options,i=n.skipNull,a=ke(n.maxBarThickness,1/0);let r,o;if(t.grouped){const s=i?this._getStackCount(e):t.stackCount,d="flex"===n.barThickness?function(e,t,s,n){const i=t.pixels,a=i[e];let r=e>0?i[e-1]:null,o=e=0;--s)t=Math.max(t,e[s].size(this.resolveDataElementOptions(s))/2);return t>0&&t}getLabelAndValue(e){const t=this._cachedMeta,s=this.chart.data.labels||[],{xScale:n,yScale:i}=t,a=this.getParsed(e),r=n.getLabelForValue(a.x),o=i.getLabelForValue(a.y),d=a._custom;return{label:s[e]||"",value:"("+r+", "+o+(d?", "+d:"")+")"}}update(e){const t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,s,n){const i="reset"===n,{iScale:a,vScale:r}=this._cachedMeta,{sharedOptions:o,includeOptions:d}=this._getSharedOptions(t,n),l=a.axis,u=r.axis;for(let c=t;c0&&this.getParsed(t-1);for(let s=0;s=g){y.skip=!0;continue}const L=this.getParsed(s),b=ye(L[h]),v=y[c]=a.getPixelForValue(L[c],s),k=y[h]=i||b?r.getBasePixel():r.getPixelForValue(o?this.applyStack(r,L,o):L[h],s);y.skip=isNaN(v)||isNaN(k)||b,y.stop=s>0&&Math.abs(L[c]-M[c])>f,m&&(y.parsed=L,y.raw=d.data[s]),u&&(y.options=l||this.resolveDataElementOptions(s,_.active?"active":n)),p||this.updateElement(_,s,y,n),M=L}}getMaxOverflow(){const e=this._cachedMeta,t=e.dataset,s=t.options&&t.options.borderWidth||0,n=e.data||[];if(!n.length)return s;const i=n[0].size(this.resolveDataElementOptions(0)),a=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(s,i,a)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}},PieController:class extends Pn{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}},PolarAreaController:An,RadarController:class extends Yn{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(e){const t=this._cachedMeta.vScale,s=this.getParsed(e);return{label:t.getLabels()[e],value:""+t.getLabelForValue(s[t.axis])}}parseObjectData(e,t,s,n){return ws.bind(this)(e,t,s,n)}update(e){const t=this._cachedMeta,s=t.dataset,n=t.data||[],i=t.iScale.getLabels();if(s.points=n,"resize"!==e){const t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);const a={_loop:!0,_fullLoop:i.length===n.length,options:t};this.updateElement(s,void 0,a,e)}this.updateElements(n,0,n.length,e)}updateElements(e,t,s,n){const i=this._cachedMeta.rScale,a="reset"===n;for(let r=t;r0&&this.getParsed(t-1);for(let l=t;l0&&Math.abs(s[h]-y[h])>p,f&&(m.parsed=s,m.raw=d.data[l]),c&&(m.options=u||this.resolveDataElementOptions(l,t.active?"active":n)),g||this.updateElement(t,l,m,n),y=s}this.updateSharedOptions(u,n,l)}getMaxOverflow(){const e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let s=t.length-1;s>=0;--s)e=Math.max(e,t[s].size(this.resolveDataElementOptions(s))/2);return e>0&&e}const s=e.dataset,n=s.options&&s.options.borderWidth||0;if(!t.length)return n;const i=t[0].size(this.resolveDataElementOptions(0)),a=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(n,i,a)/2}}});function Cn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Fn{static override(e){Object.assign(Fn.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return Cn()}parse(){return Cn()}format(){return Cn()}add(){return Cn()}diff(){return Cn()}startOf(){return Cn()}endOf(){return Cn()}}var Rn={_date:Fn};function Wn(e,t,s,n){const{controller:i,data:a,_sorted:r}=e,o=i._cachedMeta.iScale;if(o&&t===o.axis&&"r"!==t&&r&&a.length){const e=o._reversePixels?ht:ct;if(!n)return e(a,t,s);if(i._sharedOptions){const n=a[0],i="function"==typeof n.getRange&&n.getRange(t);if(i){const n=e(a,t,s-i),r=e(a,t,s+i);return{lo:n.lo,hi:r.hi}}}}return{lo:0,hi:a.length-1}}function zn(e,t,s,n,i){const a=e.getSortedVisibleDatasetMetas(),r=s[t];for(let e=0,s=a.length;e{e[r](t[s],i)&&(a.push({element:e,datasetIndex:n,index:d}),o=o||e.inRange(t.x,t.y,i))})),n&&!o?[]:a}var $n={evaluateInteractionItems:zn,modes:{index(e,t,s,n){const i=Ns(t,e),a=s.axis||"x",r=s.includeInvisible||!1,o=s.intersect?Nn(e,i,a,n,r):Vn(e,i,a,!1,n,r),d=[];return o.length?(e.getSortedVisibleDatasetMetas().forEach((e=>{const t=o[0].index,s=e.data[t];s&&!s.skip&&d.push({element:s,datasetIndex:e.index,index:t})})),d):[]},dataset(e,t,s,n){const i=Ns(t,e),a=s.axis||"xy",r=s.includeInvisible||!1;let o=s.intersect?Nn(e,i,a,n,r):Vn(e,i,a,!1,n,r);if(o.length>0){const t=o[0].datasetIndex,s=e.getDatasetMeta(t).data;o=[];for(let e=0;eNn(e,Ns(t,e),s.axis||"xy",n,s.includeInvisible||!1),nearest(e,t,s,n){const i=Ns(t,e),a=s.axis||"xy",r=s.includeInvisible||!1;return Vn(e,i,a,s.intersect,n,r)},x:(e,t,s,n)=>Un(e,Ns(t,e),"x",s.intersect,n),y:(e,t,s,n)=>Un(e,Ns(t,e),"y",s.intersect,n)}};const Bn=["left","top","right","bottom"];function Jn(e,t){return e.filter((e=>e.pos===t))}function Gn(e,t){return e.filter((e=>-1===Bn.indexOf(e.pos)&&e.box.axis===t))}function qn(e,t){return e.sort(((e,s)=>{const n=t?s:e,i=t?e:s;return n.weight===i.weight?n.index-i.index:n.weight-i.weight}))}function Kn(e,t){const s=function(e){const t={};for(const s of e){const{stack:e,pos:n,stackWeight:i}=s;if(!e||!Bn.includes(n))continue;const a=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=i}return t}(e),{vBoxMaxWidth:n,hBoxMaxHeight:i}=t;let a,r,o;for(a=0,r=e.length;a{n[e]=Math.max(t[e],s[e])})),n}return n(e?["left","right"]:["top","bottom"])}function ti(e,t,s,n){const i=[];let a,r,o,d,l,u;for(a=0,r=e.length,l=0;ae.box.fullSize)),!0),n=qn(Jn(t,"left"),!0),i=qn(Jn(t,"right")),a=qn(Jn(t,"top"),!0),r=qn(Jn(t,"bottom")),o=Gn(t,"x"),d=Gn(t,"y");return{fullSize:s,leftAndTop:n.concat(a),rightAndBottom:i.concat(d).concat(r).concat(o),chartArea:Jn(t,"chartArea"),vertical:n.concat(i).concat(d),horizontal:a.concat(r).concat(o)}}(e.boxes),d=o.vertical,l=o.horizontal;we(e.boxes,(e=>{"function"==typeof e.beforeLayout&&e.beforeLayout()}));const u=d.reduce(((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1),0)||1,c=Object.freeze({outerWidth:t,outerHeight:s,padding:i,availableWidth:a,availableHeight:r,vBoxMaxWidth:a/2/u,hBoxMaxHeight:r/2}),h=Object.assign({},i);Xn(h,ls(n));const _=Object.assign({maxPadding:h,w:a,h:r,x:i.left,y:i.top},i),m=Kn(d.concat(l),c);ti(o.fullSize,_,c,m),ti(d,_,c,m),ti(l,_,c,m)&&ti(d,_,c,m),function(e){const t=e.maxPadding;function s(s){const n=Math.max(t[s]-e[s],0);return e[s]+=n,n}e.y+=s("top"),e.x+=s("left"),s("right"),s("bottom")}(_),ni(o.leftAndTop,_,c,m),_.x+=_.w,_.y+=_.h,ni(o.rightAndBottom,_,c,m),e.chartArea={left:_.left,top:_.top,right:_.left+_.w,bottom:_.top+_.h,height:_.h,width:_.w},we(o.chartArea,(t=>{const s=t.box;Object.assign(s,e.chartArea),s.update(_.w,_.h,{left:0,top:0,right:0,bottom:0})}))}};class ai{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,s){}removeEventListener(e,t,s){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,s,n){return t=Math.max(0,t||e.width),s=s||e.height,{width:t,height:Math.max(0,n?Math.floor(t/n):s)}}isAttached(e){return!0}updateConfig(e){}}class ri extends ai{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const oi="$chartjs",di={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},li=e=>null===e||""===e;const ui=!!$s&&{passive:!0};function ci(e,t,s){e&&e.canvas&&e.canvas.removeEventListener(t,s,ui)}function hi(e,t){for(const s of e)if(s===t||s.contains(t))return!0}function _i(e,t,s){const n=e.canvas,i=new MutationObserver((e=>{let t=!1;for(const s of e)t=t||hi(s.addedNodes,n),t=t&&!hi(s.removedNodes,n);t&&s()}));return i.observe(document,{childList:!0,subtree:!0}),i}function mi(e,t,s){const n=e.canvas,i=new MutationObserver((e=>{let t=!1;for(const s of e)t=t||hi(s.removedNodes,n),t=t&&!hi(s.addedNodes,n);t&&s()}));return i.observe(document,{childList:!0,subtree:!0}),i}const fi=new Map;let pi=0;function gi(){const e=window.devicePixelRatio;e!==pi&&(pi=e,fi.forEach(((t,s)=>{s.currentDevicePixelRatio!==e&&t()})))}function yi(e,t,s){const n=e.canvas,i=n&&Es(n);if(!i)return;const a=gt(((e,t)=>{const n=i.clientWidth;s(e,t),n{const t=e[0],s=t.contentRect.width,n=t.contentRect.height;0===s&&0===n||a(s,n)}));return r.observe(i),function(e,t){fi.size||window.addEventListener("resize",gi),fi.set(e,t)}(e,a),r}function Mi(e,t,s){s&&s.disconnect(),"resize"===t&&function(e){fi.delete(e),fi.size||window.removeEventListener("resize",gi)}(e)}function Li(e,t,s){const n=e.canvas,i=gt((t=>{null!==e.ctx&&s(function(e,t){const s=di[e.type]||e.type,{x:n,y:i}=Ns(e,t);return{type:s,chart:t,native:e,x:void 0!==n?n:null,y:void 0!==i?i:null}}(t,e))}),e);return function(e,t,s){e&&e.addEventListener(t,s,ui)}(n,t,i),i}class bi extends ai{acquireContext(e,t){const s=e&&e.getContext&&e.getContext("2d");return s&&s.canvas===e?(function(e,t){const s=e.style,n=e.getAttribute("height"),i=e.getAttribute("width");if(e[oi]={initial:{height:n,width:i,style:{display:s.display,height:s.height,width:s.width}}},s.display=s.display||"block",s.boxSizing=s.boxSizing||"border-box",li(i)){const t=Bs(e,"width");void 0!==t&&(e.width=t)}if(li(n))if(""===e.style.height)e.height=e.width/(t||2);else{const t=Bs(e,"height");void 0!==t&&(e.height=t)}}(e,t),s):null}releaseContext(e){const t=e.canvas;if(!t[oi])return!1;const s=t[oi].initial;["height","width"].forEach((e=>{const n=s[e];ye(n)?t.removeAttribute(e):t.setAttribute(e,n)}));const n=s.style||{};return Object.keys(n).forEach((e=>{t.style[e]=n[e]})),t.width=t.width,delete t[oi],!0}addEventListener(e,t,s){this.removeEventListener(e,t);const n=e.$proxies||(e.$proxies={}),i={attach:_i,detach:mi,resize:yi}[t]||Li;n[t]=i(e,t,s)}removeEventListener(e,t){const s=e.$proxies||(e.$proxies={}),n=s[t];if(!n)return;({attach:Mi,detach:Mi,resize:Mi}[t]||ci)(e,t,n),s[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,s,n){return Vs(e,t,s,n)}isAttached(e){const t=e&&Es(e);return!(!t||!t.isConnected)}}class vi{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:t,y:s}=this.getProps(["x","y"],e);return{x:t,y:s}}hasValue(){return Xe(this.x)&&Xe(this.y)}getProps(e,t){const s=this.$animations;if(!t||!s)return this;const n={};return e.forEach((e=>{n[e]=s[e]&&s[e].active()?s[e]._to:this[e]})),n}}function ki(e,t){const s=e.options.ticks,n=function(e){const t=e.options.offset,s=e._tickSize(),n=e._length/s+(t?0:1),i=e._maxLength/s;return Math.floor(Math.min(n,i))}(e),i=Math.min(s.maxTicksLimit||n,n),a=s.major.enabled?function(e){const t=[];let s,n;for(s=0,n=e.length;si)return function(e,t,s,n){let i,a=0,r=s[0];for(n=Math.ceil(n),i=0;ie-t)).pop(),t}(n);for(let e=0,t=a.length-1;ei)return t}return Math.max(i,1)}(a,t,i);if(r>0){let e,s;const n=r>1?Math.round((d-o)/(r-1)):null;for(Yi(t,l,u,ye(n)?0:o-n,o),e=0,s=r-1;e"top"===t||"left"===t?e[t]+s:e[t]-s,wi=(e,t)=>Math.min(t||e,e);function Di(e,t){const s=[],n=e.length/t,i=e.length;let a=0;for(;ar+o)))return l}function Si(e){return e.drawTicks?e.tickLength:0}function ji(e,t){if(!e.display)return 0;const s=us(e.font,t),n=ls(e.padding);return(Me(e.text)?e.text.length:1)*s.lineHeight+n.height}function Hi(e,t,s){let n=yt(e);return(s&&"right"!==t||!s&&"right"===t)&&(n=(e=>"left"===e?"right":"right"===e?"left":e)(n)),n}class Oi extends vi{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:s,_suggestedMax:n}=this;return e=ve(e,Number.POSITIVE_INFINITY),t=ve(t,Number.NEGATIVE_INFINITY),s=ve(s,Number.POSITIVE_INFINITY),n=ve(n,Number.NEGATIVE_INFINITY),{min:ve(e,s),max:ve(t,n),minDefined:be(e),maxDefined:be(t)}}getMinMax(e){let t,{min:s,max:n,minDefined:i,maxDefined:a}=this.getUserBounds();if(i&&a)return{min:s,max:n};const r=this.getMatchingVisibleMetas();for(let o=0,d=r.length;on?n:s,n=i&&s>n?s:n,{min:ve(s,ve(n,s)),max:ve(n,ve(s,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){xe(this.options.beforeUpdate,[this])}update(e,t,s){const{beginAtZero:n,grace:i,ticks:a}=this.options,r=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(e,t,s){const{min:n,max:i}=e,a=Ye(t,(i-n)/2),r=(e,t)=>s&&0===e?0:e+t;return{min:r(n,-Math.abs(a)),max:r(i,a)}}(this,i,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const o=r=i||s<=1||!this.isHorizontal())return void(this.labelRotation=n);const l=this._getLabelSizes(),u=l.widest.width,c=l.highest.height,h=dt(this.chart.width-u,0,this.maxWidth);a=e.offset?this.maxWidth/s:h/(s-1),u+6>a&&(a=h/(s-(e.offset?.5:1)),r=this.maxHeight-Si(e.grid)-t.padding-ji(e.title,this.chart.options.font),o=Math.sqrt(u*u+c*c),d=tt(Math.min(Math.asin(dt((l.highest.height+6)/a,-1,1)),Math.asin(dt(r/o,-1,1))-Math.asin(dt(c/o,-1,1)))),d=Math.max(n,Math.min(i,d))),this.labelRotation=d}afterCalculateLabelRotation(){xe(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){xe(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:s,title:n,grid:i}}=this,a=this._isVisible(),r=this.isHorizontal();if(a){const a=ji(n,t.options.font);if(r?(e.width=this.maxWidth,e.height=Si(i)+a):(e.height=this.maxHeight,e.width=Si(i)+a),s.display&&this.ticks.length){const{first:t,last:n,widest:i,highest:a}=this._getLabelSizes(),o=2*s.padding,d=et(this.labelRotation),l=Math.cos(d),u=Math.sin(d);if(r){const t=s.mirror?0:u*i.width+l*a.height;e.height=Math.min(this.maxHeight,e.height+t+o)}else{const t=s.mirror?0:l*i.width+u*a.height;e.width=Math.min(this.maxWidth,e.width+t+o)}this._calculatePadding(t,n,u,l)}}this._handleMargins(),r?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,s,n){const{ticks:{align:i,padding:a},position:r}=this.options,o=0!==this.labelRotation,d="top"!==r&&"x"===this.axis;if(this.isHorizontal()){const r=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,c=0;o?d?(u=n*e.width,c=s*t.height):(u=s*e.height,c=n*t.width):"start"===i?c=t.width:"end"===i?u=e.width:"inner"!==i&&(u=e.width/2,c=t.width/2),this.paddingLeft=Math.max((u-r+a)*this.width/(this.width-r),0),this.paddingRight=Math.max((c-l+a)*this.width/(this.width-l),0)}else{let s=t.height/2,n=e.height/2;"start"===i?(s=0,n=e.height):"end"===i&&(s=t.height,n=0),this.paddingTop=s+a,this.paddingBottom=n+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){xe(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,s;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,s=e.length;t{const s=e.gc,n=s.length/2;let i;if(n>t){for(i=0;i({width:a[e]||0,height:r[e]||0});return{first:k(0),last:k(t-1),widest:k(b),highest:k(v),widths:a,heights:r}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return dt(this._alignToPixels?Vt(this.chart,t,0):t,-32768,32767)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&er*n?r/s:o/n:o*n0}_computeGridLineItems(e){const t=this.axis,s=this.chart,n=this.options,{grid:i,position:a,border:r}=n,o=i.offset,d=this.isHorizontal(),l=this.ticks.length+(o?1:0),u=Si(i),c=[],h=r.setContext(this.getContext()),_=h.display?h.width:0,m=_/2,f=function(e){return Vt(s,e,_)};let p,g,y,M,L,b,v,k,Y,x,w,D;if("top"===a)p=f(this.bottom),b=this.bottom-u,k=p-m,x=f(e.top)+m,D=e.bottom;else if("bottom"===a)p=f(this.top),x=e.top,D=f(e.bottom)-m,b=p+m,k=this.top+u;else if("left"===a)p=f(this.right),L=this.right-u,v=p-m,Y=f(e.left)+m,w=e.right;else if("right"===a)p=f(this.left),Y=e.left,w=f(e.right)-m,L=p+m,v=this.left+u;else if("x"===t){if("center"===a)p=f((e.top+e.bottom)/2+.5);else if(Le(a)){const e=Object.keys(a)[0],t=a[e];p=f(this.chart.scales[e].getPixelForValue(t))}x=e.top,D=e.bottom,b=p+m,k=b+u}else if("y"===t){if("center"===a)p=f((e.left+e.right)/2);else if(Le(a)){const e=Object.keys(a)[0],t=a[e];p=f(this.chart.scales[e].getPixelForValue(t))}L=p-m,v=L-u,Y=e.left,w=e.right}const T=ke(n.ticks.maxTicksLimit,l),S=Math.max(1,Math.ceil(l/T));for(g=0;g0&&(a-=n/2)}c={left:a,top:i,width:n+t.width,height:s+t.height,color:e.backdropColor}}f.push({label:M,font:Y,textOffset:D,options:{rotation:m,color:s,strokeColor:o,strokeWidth:l,textAlign:h,textBaseline:T,translation:[L,b],backdrop:c}})}return f}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-et(this.labelRotation))return"top"===e?"left":"right";let s="center";return"start"===t.align?s="left":"end"===t.align?s="right":"inner"===t.align&&(s="inner"),s}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:s,mirror:n,padding:i}}=this.options,a=e+i,r=this._getLabelSizes().widest.width;let o,d;return"left"===t?n?(d=this.right+i,"near"===s?o="left":"center"===s?(o="center",d+=r/2):(o="right",d+=r)):(d=this.right-a,"near"===s?o="right":"center"===s?(o="center",d-=r/2):(o="left",d=this.left)):"right"===t?n?(d=this.left+i,"near"===s?o="right":"center"===s?(o="center",d-=r/2):(o="left",d-=r)):(d=this.left+a,"near"===s?o="left":"center"===s?(o="center",d+=r/2):(o="right",d=this.right)):o="right",{textAlign:o,x:d}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:s,top:n,width:i,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(s,n,i,a),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const s=this.ticks.findIndex((t=>t.value===e));if(s>=0){return t.setContext(this.getContext(s)).lineWidth}return 0}drawGrid(e){const t=this.options.grid,s=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,a;const r=(e,t,n)=>{n.width&&n.color&&(s.save(),s.lineWidth=n.width,s.strokeStyle=n.color,s.setLineDash(n.borderDash||[]),s.lineDashOffset=n.borderDashOffset,s.beginPath(),s.moveTo(e.x,e.y),s.lineTo(t.x,t.y),s.stroke(),s.restore())};if(t.display)for(i=0,a=n.length;i{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:t,draw:e=>{this.drawLabels(e)}}]:[{z:t,draw:e=>{this.draw(e)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",n=[];let i,a;for(i=0,a=t.length;i{const n=s.split("."),i=n.pop(),a=[e].concat(n).join("."),r=t[s].split("."),o=r.pop(),d=r.join(".");zt.route(a,i,d,o)}))}(t,e.defaultRoutes);e.descriptors&&zt.describe(t,e.descriptors)}(e,a,s),this.override&&zt.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const t=this.items,s=e.id,n=this.scope;s in t&&delete t[s],n&&s in zt[n]&&(delete zt[n][s],this.override&&delete Et[s])}}class Ai{constructor(){this.controllers=new Pi(Yn,"datasets",!0),this.elements=new Pi(vi,"elements"),this.plugins=new Pi(Object,"plugins"),this.scales=new Pi(Oi,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,s){[...t].forEach((t=>{const n=s||this._getRegistryForType(t);s||n.isForType(t)||n===this.plugins&&t.id?this._exec(e,n,t):we(t,(t=>{const n=s||this._getRegistryForType(t);this._exec(e,n,t)}))}))}_exec(e,t,s){const n=Ce(e);xe(s["before"+n],[],s),t[e](s),xe(s["after"+n],[],s)}_getRegistryForType(e){for(let t=0;te.filter((e=>!t.some((t=>e.plugin.id===t.plugin.id))));this._notify(n(t,s),e,"stop"),this._notify(n(s,t),e,"start")}}function Fi(e,t){return t||!1!==e?!0===e?{}:e:null}function Ri(e,{plugin:t,local:s},n,i){const a=e.pluginScopeKeys(t),r=e.getOptionScopes(n,a);return s&&t.defaults&&r.push(t.defaults),e.createResolver(r,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Wi(e,t){const s=zt.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||s.indexAxis||"x"}function zi(e){if("x"===e||"y"===e||"r"===e)return e}function Ni(e,...t){if(zi(e))return e;for(const n of t){const t=n.axis||("top"===(s=n.position)||"bottom"===s?"x":"left"===s||"right"===s?"y":void 0)||e.length>1&&zi(e[0].toLowerCase());if(t)return t}var s;throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function Ii(e,t,s){if(s[t+"AxisID"]===e)return{axis:t}}function Vi(e,t){const s=Et[e.type]||{scales:{}},n=t.scales||{},i=Wi(e.type,t),a=Object.create(null);return Object.keys(n).forEach((t=>{const r=n[t];if(!Le(r))return console.error(`Invalid scale configuration for scale: ${t}`);if(r._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const o=Ni(t,r,function(e,t){if(t.data&&t.data.datasets){const s=t.data.datasets.filter((t=>t.xAxisID===e||t.yAxisID===e));if(s.length)return Ii(e,"x",s[0])||Ii(e,"y",s[0])}return{}}(t,e),zt.scales[r.type]),d=function(e,t){return e===t?"_index_":"_value_"}(o,i),l=s.scales||{};a[t]=Oe(Object.create(null),[{axis:o},r,l[o],l[d]])})),e.data.datasets.forEach((s=>{const i=s.type||e.type,r=s.indexAxis||Wi(i,t),o=(Et[i]||{}).scales||{};Object.keys(o).forEach((e=>{const t=function(e,t){let s=e;return"_index_"===e?s=t:"_value_"===e&&(s="x"===t?"y":"x"),s}(e,r),i=s[t+"AxisID"]||t;a[i]=a[i]||Object.create(null),Oe(a[i],[{axis:t},n[i],o[e]])}))})),Object.keys(a).forEach((e=>{const t=a[e];Oe(t,[zt.scales[t.type],zt.scale])})),a}function Ui(e){const t=e.options||(e.options={});t.plugins=ke(t.plugins,{}),t.scales=Vi(e,t)}function $i(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}const Bi=new Map,Ji=new Set;function Gi(e,t){let s=Bi.get(e);return s||(s=t(),Bi.set(e,s),Ji.add(s)),s}const qi=(e,t,s)=>{const n=Ee(t,s);void 0!==n&&e.add(n)};class Ki{constructor(e){this._config=function(e){return(e=e||{}).data=$i(e.data),Ui(e),e}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=$i(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),Ui(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Gi(e,(()=>[[`datasets.${e}`,""]]))}datasetAnimationScopeKeys(e,t){return Gi(`${e}.transition.${t}`,(()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]]))}datasetElementScopeKeys(e,t){return Gi(`${e}-${t}`,(()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]]))}pluginScopeKeys(e){const t=e.id;return Gi(`${this.type}-plugin-${t}`,(()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]]))}_cachedScopes(e,t){const s=this._scopeCache;let n=s.get(e);return n&&!t||(n=new Map,s.set(e,n)),n}getOptionScopes(e,t,s){const{options:n,type:i}=this,a=this._cachedScopes(e,s),r=a.get(t);if(r)return r;const o=new Set;t.forEach((t=>{e&&(o.add(e),t.forEach((t=>qi(o,e,t)))),t.forEach((e=>qi(o,n,e))),t.forEach((e=>qi(o,Et[i]||{},e))),t.forEach((e=>qi(o,zt,e))),t.forEach((e=>qi(o,Ct,e)))}));const d=Array.from(o);return 0===d.length&&d.push(Object.create(null)),Ji.has(t)&&a.set(t,d),d}chartOptionScopes(){const{options:e,type:t}=this;return[e,Et[t]||{},zt.datasets[t]||{},{type:t},zt,Ct]}resolveNamedOptions(e,t,s,n=[""]){const i={$shared:!0},{resolver:a,subPrefixes:r}=Zi(this._resolverCache,e,n);let o=a;if(function(e,t){const{isScriptable:s,isIndexable:n}=fs(e);for(const i of t){const t=s(i),a=n(i),r=(a||t)&&e[i];if(t&&(Re(r)||Xi(r))||a&&Me(r))return!0}return!1}(a,t)){i.$shared=!1;o=ms(a,s=Re(s)?s():s,this.createResolver(e,s,r))}for(const e of t)i[e]=o[e];return i}createResolver(e,t,s=[""],n){const{resolver:i}=Zi(this._resolverCache,e,s);return Le(t)?ms(i,t,void 0,n):i}}function Zi(e,t,s){let n=e.get(t);n||(n=new Map,e.set(t,n));const i=s.join();let a=n.get(i);if(!a){a={resolver:_s(t,s),subPrefixes:s.filter((e=>!e.toLowerCase().includes("hover")))},n.set(i,a)}return a}const Xi=e=>Le(e)&&Object.getOwnPropertyNames(e).some((t=>Re(e[t])));const Qi=["top","bottom","left","right","chartArea"];function ea(e,t){return"top"===e||"bottom"===e||-1===Qi.indexOf(e)&&"x"===t}function ta(e,t){return function(s,n){return s[e]===n[e]?s[t]-n[t]:s[e]-n[e]}}function sa(e){const t=e.chart,s=t.options.animation;t.notifyPlugins("afterRender"),xe(s&&s.onComplete,[e],t)}function na(e){const t=e.chart,s=t.options.animation;xe(s&&s.onProgress,[e],t)}function ia(e){return As()&&"string"==typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const aa={},ra=e=>{const t=ia(e);return Object.values(aa).filter((e=>e.canvas===t)).pop()};function oa(e,t,s){const n=Object.keys(e);for(const i of n){const n=+i;if(n>=t){const a=e[i];delete e[i],(s>0||n>t)&&(e[n+s]=a)}}}function da(e,t,s){return e.options.clip?e[s]:t[s]}class la{static defaults=zt;static instances=aa;static overrides=Et;static registry=Ei;static version="4.4.3";static getChart=ra;static register(...e){Ei.add(...e),ua()}static unregister(...e){Ei.remove(...e),ua()}constructor(e,t){const s=this.config=new Ki(t),n=ia(e),i=ra(n);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const a=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||function(e){return!As()||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?ri:bi}(n)),this.platform.updateConfig(s);const r=this.platform.acquireContext(n,a.aspectRatio),o=r&&r.canvas,d=o&&o.height,l=o&&o.width;this.id=ge(),this.ctx=r,this.canvas=o,this.width=l,this.height=d,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Ci,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){let s;return function(...n){return t?(clearTimeout(s),s=setTimeout(e,t,n)):e.apply(this,n),t}}((e=>this.update(e)),a.resizeDelay||0),this._dataChanges=[],aa[this.id]=this,r&&o?(dn.listen(this,"complete",sa),dn.listen(this,"progress",na),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:s,height:n,_aspectRatio:i}=this;return ye(e)?t&&i?i:n?s/n:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Ei}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Us(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return Ut(this.canvas,this.ctx),this}stop(){return dn.stop(this),this}resize(e,t){dn.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const s=this.options,n=this.canvas,i=s.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(n,e,t,i),r=s.devicePixelRatio||this.platform.getDevicePixelRatio(),o=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,Us(this,r,!0)&&(this.notifyPlugins("resize",{size:a}),xe(s.onResize,[this,a],this),this.attached&&this._doResize(o)&&this.render())}ensureScalesHaveIDs(){we(this.options.scales||{},((e,t)=>{e.id=t}))}buildOrUpdateScales(){const e=this.options,t=e.scales,s=this.scales,n=Object.keys(s).reduce(((e,t)=>(e[t]=!1,e)),{});let i=[];t&&(i=i.concat(Object.keys(t).map((e=>{const s=t[e],n=Ni(e,s),i="r"===n,a="x"===n;return{options:s,dposition:i?"chartArea":a?"bottom":"left",dtype:i?"radialLinear":a?"category":"linear"}})))),we(i,(t=>{const i=t.options,a=i.id,r=Ni(a,i),o=ke(i.type,t.dtype);void 0!==i.position&&ea(i.position,r)===ea(t.dposition)||(i.position=t.dposition),n[a]=!0;let d=null;if(a in s&&s[a].type===o)d=s[a];else{d=new(Ei.getScale(o))({id:a,type:o,ctx:this.ctx,chart:this}),s[d.id]=d}d.init(i,e)})),we(n,((e,t)=>{e||delete s[t]})),we(s,(e=>{ii.configure(this,e,e.options),ii.addBox(this,e)}))}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,s=e.length;if(e.sort(((e,t)=>e.index-t.index)),s>t){for(let e=t;et.length&&delete this._stacks,e.forEach(((e,s)=>{0===t.filter((t=>t===e._dataset)).length&&this._destroyDatasetMeta(s)}))}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let s,n;for(this._removeUnreferencedMetasets(),s=0,n=t.length;s{this.getDatasetMeta(t).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const s=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),n=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let e=0,t=this.data.datasets.length;e{e.reset()})),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(ta("z","_idx"));const{_active:r,_lastEvent:o}=this;o?this._eventHandler(o,!0):r.length&&this._updateHoverStyles(r,r,!0),this.render()}_updateScales(){we(this.scales,(e=>{ii.removeBox(this,e)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),s=new Set(e.events);We(t,s)&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:s,start:n,count:i}of t){oa(e,n,"_removeElements"===s?-i:i)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,s=t=>new Set(e.filter((e=>e[0]===t)).map(((e,t)=>t+","+e.splice(1).join(",")))),n=s(0);for(let e=1;ee.split(","))).map((e=>({method:e[1],start:+e[2],count:+e[3]})))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;ii.update(this,this.width,this.height,e);const t=this.chartArea,s=t.width<=0||t.height<=0;this._layers=[],we(this.boxes,(e=>{s&&"chartArea"===e.position||(e.configure&&e.configure(),this._layers.push(...e._layers()))}),this),this._layers.forEach(((e,t)=>{e._idx=t})),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let e=0,t=this.data.datasets.length;e=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,s=e._clip,n=!s.disabled,i=function(e,t){const{xScale:s,yScale:n}=e;return s&&n?{left:da(s,t,"left"),right:da(s,t,"right"),top:da(n,t,"top"),bottom:da(n,t,"bottom")}:t}(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",a)&&(n&&Gt(t,{left:!1===s.left?0:i.left-s.left,right:!1===s.right?this.width:i.right+s.right,top:!1===s.top?0:i.top-s.top,bottom:!1===s.bottom?this.height:i.bottom+s.bottom}),e.controller.draw(),n&&qt(t),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return Jt(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,s,n){const i=$n.modes[t];return"function"==typeof i?i(this,e,s,n):[]}getDatasetMeta(e){const t=this.data.datasets[e],s=this._metasets;let n=s.filter((e=>e&&e._dataset===t)).pop();return n||(n={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},s.push(n)),n}getContext(){return this.$context||(this.$context=hs(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const s=this.getDatasetMeta(e);return"boolean"==typeof s.hidden?!s.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,s){const n=s?"show":"hide",i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,n);Fe(t)?(i.data[t].hidden=!s,this.update()):(this.setDatasetVisibility(e,s),a.update(i,{visible:s}),this.update((t=>t.datasetIndex===e?n:void 0)))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),dn.remove(this),e=0,t=this.data.datasets.length;e{t.addEventListener(this,s,n),e[s]=n},n=(e,t,s)=>{e.offsetX=t,e.offsetY=s,this._eventHandler(e)};we(this.options.events,(e=>s(e,n)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,s=(s,n)=>{t.addEventListener(this,s,n),e[s]=n},n=(s,n)=>{e[s]&&(t.removeEventListener(this,s,n),delete e[s])},i=(e,t)=>{this.canvas&&this.resize(e,t)};let a;const r=()=>{n("attach",r),this.attached=!0,this.resize(),s("resize",i),s("detach",a)};a=()=>{this.attached=!1,n("resize",i),this._stop(),this._resize(0,0),s("attach",r)},t.isAttached(this.canvas)?r():a()}unbindEvents(){we(this._listeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._listeners={},we(this._responsiveListeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._responsiveListeners=void 0}updateHoverStyle(e,t,s){const n=s?"set":"remove";let i,a,r,o;for("dataset"===t&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+n+"DatasetHoverStyle"]()),r=0,o=e.length;r{const s=this.getDatasetMeta(e);if(!s)throw new Error("No dataset found at index "+e);return{datasetIndex:e,element:s.data[t],index:t}}));!De(s,t)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,t))}notifyPlugins(e,t,s){return this._plugins.notify(this,e,t,s)}isPluginEnabled(e){return 1===this._plugins._cache.filter((t=>t.plugin.id===e)).length}_updateHoverStyles(e,t,s){const n=this.options.hover,i=(e,t)=>e.filter((e=>!t.some((t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)))),a=i(t,e),r=s?e:i(e,t);a.length&&this.updateHoverStyle(a,n.mode,!1),r.length&&n.mode&&this.updateHoverStyle(r,n.mode,!0)}_eventHandler(e,t){const s={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},n=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",s,n))return;const i=this._handleEvent(e,t,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,n),(i||s.changed)&&this.render(),this}_handleEvent(e,t,s){const{_active:n=[],options:i}=this,a=t,r=this._getActiveElements(e,n,s,a),o=function(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}(e),d=function(e,t,s,n){return s&&"mouseout"!==e.type?n?t:e:null}(e,this._lastEvent,s,o);s&&(this._lastEvent=null,xe(i.onHover,[e,r,this],this),o&&xe(i.onClick,[e,r,this],this));const l=!De(r,n);return(l||t)&&(this._active=r,this._updateHoverStyles(r,n,t)),this._lastEvent=d,l}_getActiveElements(e,t,s,n){if("mouseout"===e.type)return[];if(!s)return t;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,n)}}function ua(){return we(la.instances,(e=>e._plugins.invalidate()))}function ca(e,t,s,n){const i=rs(e.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const a=(s-t)/2,r=Math.min(a,n*t/2),o=e=>{const t=(s-Math.min(a,e))*n/2;return dt(e,0,Math.min(a,t))};return{outerStart:o(i.outerStart),outerEnd:o(i.outerEnd),innerStart:dt(i.innerStart,0,r),innerEnd:dt(i.innerEnd,0,r)}}function ha(e,t,s,n){return{x:s+e*Math.cos(t),y:n+e*Math.sin(t)}}function _a(e,t,s,n,i,a){const{x:r,y:o,startAngle:d,pixelMargin:l,innerRadius:u}=t,c=Math.max(t.outerRadius+n+s-l,0),h=u>0?u+n+s+l:0;let _=0;const m=i-d;if(n){const e=((u>0?u-n:0)+(c>0?c-n:0))/2;_=(m-(0!==e?m*e/(e+n):m))/2}const f=(m-Math.max(.001,m*c-s/ze)/c)/2,p=d+f+_,g=i-f-_,{outerStart:y,outerEnd:M,innerStart:L,innerEnd:b}=ca(t,h,c,g-p),v=c-y,k=c-M,Y=p+y/v,x=g-M/k,w=h+L,D=h+b,T=p+L/w,S=g-b/D;if(e.beginPath(),a){const t=(Y+x)/2;if(e.arc(r,o,c,Y,t),e.arc(r,o,c,t,x),M>0){const t=ha(k,x,r,o);e.arc(t.x,t.y,M,x,g+$e)}const s=ha(D,g,r,o);if(e.lineTo(s.x,s.y),b>0){const t=ha(D,S,r,o);e.arc(t.x,t.y,b,g+$e,S+Math.PI)}const n=(g-b/h+(p+L/h))/2;if(e.arc(r,o,h,g-b/h,n,!0),e.arc(r,o,h,n,p+L/h,!0),L>0){const t=ha(w,T,r,o);e.arc(t.x,t.y,L,T+Math.PI,p-$e)}const i=ha(v,p,r,o);if(e.lineTo(i.x,i.y),y>0){const t=ha(v,Y,r,o);e.arc(t.x,t.y,y,p-$e,Y)}}else{e.moveTo(r,o);const t=Math.cos(Y)*c+r,s=Math.sin(Y)*c+o;e.lineTo(t,s);const n=Math.cos(x)*c+r,i=Math.sin(x)*c+o;e.lineTo(n,i)}e.closePath()}function ma(e,t,s,n,i){const{fullCircles:a,startAngle:r,circumference:o,options:d}=t,{borderWidth:l,borderJoinStyle:u,borderDash:c,borderDashOffset:h}=d,_="inner"===d.borderAlign;if(!l)return;e.setLineDash(c||[]),e.lineDashOffset=h,_?(e.lineWidth=2*l,e.lineJoin=u||"round"):(e.lineWidth=l,e.lineJoin=u||"bevel");let m=t.endAngle;if(a){_a(e,t,s,n,m,i);for(let t=0;ti?(l=i/d,e.arc(a,r,d,s+l,n-l,!0)):e.arc(a,r,i,s+$e,n-$e),e.closePath(),e.clip()}(e,t,m),a||(_a(e,t,s,n,m,i),e.stroke())}function fa(e,t,s=t){e.lineCap=ke(s.borderCapStyle,t.borderCapStyle),e.setLineDash(ke(s.borderDash,t.borderDash)),e.lineDashOffset=ke(s.borderDashOffset,t.borderDashOffset),e.lineJoin=ke(s.borderJoinStyle,t.borderJoinStyle),e.lineWidth=ke(s.borderWidth,t.borderWidth),e.strokeStyle=ke(s.borderColor,t.borderColor)}function pa(e,t,s){e.lineTo(s.x,s.y)}function ga(e,t,s={}){const n=e.length,{start:i=0,end:a=n-1}=s,{start:r,end:o}=t,d=Math.max(i,r),l=Math.min(a,o),u=io&&a>o;return{count:n,start:d,loop:t.loop,ilen:l(r+(l?o-e:e))%a,M=()=>{_!==m&&(e.lineTo(p,m),e.lineTo(p,_),e.lineTo(p,f))};for(d&&(c=i[y(0)],e.moveTo(c.x,c.y)),u=0;u<=o;++u){if(c=i[y(u)],c.skip)continue;const t=c.x,s=c.y,n=0|t;n===h?(s<_?_=s:s>m&&(m=s),p=(g*p+t)/++g):(M(),e.lineTo(t,s),h=n,g=0,_=m=s),f=s}M()}function La(e){const t=e.options,s=t.borderDash&&t.borderDash.length;return!(e._decimated||e._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||s)?Ma:ya}const ba="function"==typeof Path2D;function va(e,t,s,n){ba&&!t.options.segment?function(e,t,s,n){let i=t._path;i||(i=t._path=new Path2D,t.path(i,s,n)&&i.closePath()),fa(e,t.options),e.stroke(i)}(e,t,s,n):function(e,t,s,n){const{segments:i,options:a}=t,r=La(t);for(const o of i)fa(e,a,o.style),e.beginPath(),r(e,t,o,{start:s,end:s+n-1})&&e.closePath(),e.stroke()}(e,t,s,n)}class ka extends vi{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){const s=this.options;if((s.tension||"monotone"===s.cubicInterpolationMode)&&!s.stepped&&!this._pointsUpdated){const n=s.spanGaps?this._loop:this._fullLoop;Ps(this._points,s,e,n,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(e,t){const s=e.points,n=e.options.spanGaps,i=s.length;if(!i)return[];const a=!!e._loop,{start:r,end:o}=function(e,t,s,n){let i=0,a=t-1;if(s&&!n)for(;ii&&e[a%t].skip;)a--;return a%=t,{start:i,end:a}}(s,i,a,n);return nn(e,!0===n?[{start:r,end:o,loop:a}]:function(e,t,s,n){const i=e.length,a=[];let r,o=t,d=e[t];for(r=t+1;r<=s;++r){const s=e[r%i];s.skip||s.stop?d.skip||(n=!1,a.push({start:t%i,end:(r-1)%i,loop:n}),t=o=s.stop?r:null):(o=r,d.skip&&(t=r)),d=s}return null!==o&&a.push({start:t%i,end:o%i,loop:n}),a}(s,r,o"borderDash"!==e};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,s){const n=this.getProps(["x","y"],s),{angle:i,distance:a}=nt(n,{x:e,y:t}),{startAngle:r,endAngle:o,innerRadius:d,outerRadius:l,circumference:u}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],s),c=(this.options.spacing+this.options.borderWidth)/2,h=ke(u,o-r)>=Ne||ot(i,r,o),_=lt(a,d+c,l+c);return h&&_}getCenterPoint(e){const{x:t,y:s,startAngle:n,endAngle:i,innerRadius:a,outerRadius:r}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:o,spacing:d}=this.options,l=(n+i)/2,u=(a+r+d+o)/2;return{x:t+Math.cos(l)*u,y:s+Math.sin(l)*u}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:t,circumference:s}=this,n=(t.offset||0)/4,i=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=s>Ne?Math.floor(s/Ne):0,0===s||this.innerRadius<0||this.outerRadius<0)return;e.save();const r=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(r)*n,Math.sin(r)*n);const o=n*(1-Math.sin(Math.min(ze,s||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,function(e,t,s,n,i){const{fullCircles:a,startAngle:r,circumference:o}=t;let d=t.endAngle;if(a){_a(e,t,s,n,d,i);for(let t=0;te.replace("rgb(","rgba(").replace(")",", 0.5)")));function Aa(e){return Oa[e%Oa.length]}function Ea(e){return Pa[e%Pa.length]}function Ca(e){let t=0;return(s,n)=>{const i=e.getDatasetMeta(n).controller;i instanceof Pn?t=function(e,t){return e.backgroundColor=e.data.map((()=>Aa(t++))),t}(s,t):i instanceof An?t=function(e,t){return e.backgroundColor=e.data.map((()=>Ea(t++))),t}(s,t):i&&(t=function(e,t){return e.borderColor=Aa(t),e.backgroundColor=Ea(t),++t}(s,t))}}function Fa(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}var Ra={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,s){if(!s.enabled)return;const{data:{datasets:n},options:i}=e.config,{elements:a}=i;if(!s.forceOverride&&(Fa(n)||(r=i)&&(r.borderColor||r.backgroundColor)||a&&Fa(a)))return;var r;const o=Ca(e);n.forEach(o)}};function Wa(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function za(e){e.data.datasets.forEach((e=>{Wa(e)}))}var Na={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,s)=>{if(!s.enabled)return void za(e);const n=e.width;e.data.datasets.forEach(((t,i)=>{const{_data:a,indexAxis:r}=t,o=e.getDatasetMeta(i),d=a||t.data;if("y"===cs([r,e.options.indexAxis]))return;if(!o.controller.supportsDecimation)return;const l=e.scales[o.xAxisID];if("linear"!==l.type&&"time"!==l.type)return;if(e.options.parsing)return;let{start:u,count:c}=function(e,t){const s=t.length;let n,i=0;const{iScale:a}=e,{min:r,max:o,minDefined:d,maxDefined:l}=a.getUserBounds();return d&&(i=dt(ct(t,a.axis,r).lo,0,s-1)),n=l?dt(ct(t,a.axis,o).hi+1,i,s)-i:s-i,{start:i,count:n}}(o,d);if(c<=(s.threshold||4*n))return void Wa(t);let h;switch(ye(a)&&(t._data=d,delete t.data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}})),s.algorithm){case"lttb":h=function(e,t,s,n,i){const a=i.samples||n;if(a>=s)return e.slice(t,t+s);const r=[],o=(s-2)/(a-2);let d=0;const l=t+s-1;let u,c,h,_,m,f=t;for(r[d++]=e[f],u=0;uh&&(h=_,c=e[n],m=n);r[d++]=c,f=m}return r[d++]=e[l],r}(d,u,c,n,s);break;case"min-max":h=function(e,t,s,n){let i,a,r,o,d,l,u,c,h,_,m=0,f=0;const p=[],g=t+s-1,y=e[t].x,M=e[g].x-y;for(i=t;i_&&(_=o,u=i),m=(f*m+a.x)/++f;else{const s=i-1;if(!ye(l)&&!ye(u)){const t=Math.min(l,u),n=Math.max(l,u);t!==c&&t!==s&&p.push({...e[t],x:m}),n!==c&&n!==s&&p.push({...e[n],x:m})}i>0&&s!==c&&p.push(e[s]),p.push(a),d=t,f=0,h=_=o,l=u=c=i}}return p}(d,u,c,n);break;default:throw new Error(`Unsupported decimation algorithm '${s.algorithm}'`)}t._decimated=h}))},destroy(e){za(e)}};function Ia(e,t,s,n){if(n)return;let i=t[e],a=s[e];return"angle"===e&&(i=rt(i),a=rt(a)),{property:e,start:i,end:a}}function Va(e,t,s){for(;t>e;t--){const e=s[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function Ua(e,t,s,n){return e&&t?n(e[s],t[s]):e?e[s]:t?t[s]:0}function $a(e,t){let s=[],n=!1;return Me(e)?(n=!0,s=e):s=function(e,t){const{x:s=null,y:n=null}=e||{},i=t.points,a=[];return t.segments.forEach((({start:e,end:t})=>{t=Va(e,t,i);const r=i[e],o=i[t];null!==n?(a.push({x:r.x,y:n}),a.push({x:o.x,y:n})):null!==s&&(a.push({x:s,y:r.y}),a.push({x:s,y:o.y}))})),a}(e,t),s.length?new ka({points:s,options:{tension:0},_loop:n,_fullLoop:n}):null}function Ba(e){return e&&!1!==e.fill}function Ja(e,t,s){let n=e[t].fill;const i=[t];let a;if(!s)return n;for(;!1!==n&&-1===i.indexOf(n);){if(!be(n))return n;if(a=e[n],!a)return!1;if(a.visible)return n;i.push(n),n=a.fill}return!1}function Ga(e,t,s){const n=function(e){const t=e.options,s=t.fill;let n=ke(s&&s.target,s);void 0===n&&(n=!!t.backgroundColor);if(!1===n||null===n)return!1;if(!0===n)return"origin";return n}(e);if(Le(n))return!isNaN(n.value)&&n;let i=parseFloat(n);return be(i)&&Math.floor(i)===i?function(e,t,s,n){"-"!==e&&"+"!==e||(s=t+s);if(s===t||s<0||s>=n)return!1;return s}(n[0],t,i,s):["origin","start","end","stack","shape"].indexOf(n)>=0&&n}function qa(e,t,s){const n=[];for(let i=0;i=0;--t){const s=i[t].$filler;s&&(s.line.updateControlPoints(a,s.axis),n&&s.fill&&Qa(e.ctx,s,a))}},beforeDatasetsDraw(e,t,s){if("beforeDatasetsDraw"!==s.drawTime)return;const n=e.getSortedVisibleDatasetMetas();for(let t=n.length-1;t>=0;--t){const s=n[t].$filler;Ba(s)&&Qa(e.ctx,s,e.chartArea)}},beforeDatasetDraw(e,t,s){const n=t.meta.$filler;Ba(n)&&"beforeDatasetDraw"===s.drawTime&&Qa(e.ctx,n,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const ar=(e,t)=>{let{boxHeight:s=t,boxWidth:n=t}=e;return e.usePointStyle&&(s=Math.min(s,t),n=e.pointStyleWidth||Math.min(n,t)),{boxWidth:n,boxHeight:s,itemHeight:Math.max(t,s)}};class rr extends vi{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,s){this.maxWidth=e,this.maxHeight=t,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=xe(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter((t=>e.filter(t,this.chart.data)))),e.sort&&(t=t.sort(((t,s)=>e.sort(t,s,this.chart.data)))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display)return void(this.width=this.height=0);const s=e.labels,n=us(s.font),i=n.size,a=this._computeTitleHeight(),{boxWidth:r,itemHeight:o}=ar(s,i);let d,l;t.font=n.string,this.isHorizontal()?(d=this.maxWidth,l=this._fitRows(a,i,r,o)+10):(l=this.maxHeight,d=this._fitCols(a,n,r,o)+10),this.width=Math.min(d,e.maxWidth||this.maxWidth),this.height=Math.min(l,e.maxHeight||this.maxHeight)}_fitRows(e,t,s,n){const{ctx:i,maxWidth:a,options:{labels:{padding:r}}}=this,o=this.legendHitBoxes=[],d=this.lineWidths=[0],l=n+r;let u=e;i.textAlign="left",i.textBaseline="middle";let c=-1,h=-l;return this.legendItems.forEach(((e,_)=>{const m=s+t/2+i.measureText(e.text).width;(0===_||d[d.length-1]+m+2*r>a)&&(u+=l,d[d.length-(_>0?0:1)]=0,h+=l,c++),o[_]={left:0,top:h,row:c,width:m,height:n},d[d.length-1]+=m+r})),u}_fitCols(e,t,s,n){const{ctx:i,maxHeight:a,options:{labels:{padding:r}}}=this,o=this.legendHitBoxes=[],d=this.columnSizes=[],l=a-e;let u=r,c=0,h=0,_=0,m=0;return this.legendItems.forEach(((e,a)=>{const{itemWidth:f,itemHeight:p}=function(e,t,s,n,i){const a=function(e,t,s,n){let i=e.text;i&&"string"!=typeof i&&(i=i.reduce(((e,t)=>e.length>t.length?e:t)));return t+s.size/2+n.measureText(i).width}(n,e,t,s),r=function(e,t,s){let n=e;"string"!=typeof t.text&&(n=or(t,s));return n}(i,n,t.lineHeight);return{itemWidth:a,itemHeight:r}}(s,t,i,e,n);a>0&&h+p+2*r>l&&(u+=c+r,d.push({width:c,height:h}),_+=c+r,m++,c=h=0),o[a]={left:_,top:h,col:m,width:f,height:p},c=Math.max(c,f),h+=p+r})),u+=c,d.push({width:c,height:h}),u}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:s,labels:{padding:n},rtl:i}}=this,a=Ks(i,this.left,this.width);if(this.isHorizontal()){let i=0,r=Mt(s,this.left+n,this.right-this.lineWidths[i]);for(const o of t)i!==o.row&&(i=o.row,r=Mt(s,this.left+n,this.right-this.lineWidths[i])),o.top+=this.top+e+n,o.left=a.leftForLtr(a.x(r),o.width),r+=o.width+n}else{let i=0,r=Mt(s,this.top+e+n,this.bottom-this.columnSizes[i].height);for(const o of t)o.col!==i&&(i=o.col,r=Mt(s,this.top+e+n,this.bottom-this.columnSizes[i].height)),o.top=r,o.left+=this.left+n,o.left=a.leftForLtr(a.x(o.left),o.width),r+=o.height+n}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;Gt(e,this),this._draw(),qt(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:s,ctx:n}=this,{align:i,labels:a}=e,r=zt.color,o=Ks(e.rtl,this.left,this.width),d=us(a.font),{padding:l}=a,u=d.size,c=u/2;let h;this.drawTitle(),n.textAlign=o.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=d.string;const{boxWidth:_,boxHeight:m,itemHeight:f}=ar(a,u),p=this.isHorizontal(),g=this._computeTitleHeight();h=p?{x:Mt(i,this.left+l,this.right-s[0]),y:this.top+l+g,line:0}:{x:this.left+l,y:Mt(i,this.top+g+l,this.bottom-t[0].height),line:0},Zs(this.ctx,e.textDirection);const y=f+l;this.legendItems.forEach(((M,L)=>{n.strokeStyle=M.fontColor,n.fillStyle=M.fontColor;const b=n.measureText(M.text).width,v=o.textAlign(M.textAlign||(M.textAlign=a.textAlign)),k=_+c+b;let Y=h.x,x=h.y;o.setWidth(this.width),p?L>0&&Y+k+l>this.right&&(x=h.y+=y,h.line++,Y=h.x=Mt(i,this.left+l,this.right-s[h.line])):L>0&&x+y>this.bottom&&(Y=h.x=Y+t[h.line].width+l,h.line++,x=h.y=Mt(i,this.top+g+l,this.bottom-t[h.line].height));if(function(e,t,s){if(isNaN(_)||_<=0||isNaN(m)||m<0)return;n.save();const i=ke(s.lineWidth,1);if(n.fillStyle=ke(s.fillStyle,r),n.lineCap=ke(s.lineCap,"butt"),n.lineDashOffset=ke(s.lineDashOffset,0),n.lineJoin=ke(s.lineJoin,"miter"),n.lineWidth=i,n.strokeStyle=ke(s.strokeStyle,r),n.setLineDash(ke(s.lineDash,[])),a.usePointStyle){const r={radius:m*Math.SQRT2/2,pointStyle:s.pointStyle,rotation:s.rotation,borderWidth:i},d=o.xPlus(e,_/2);Bt(n,r,d,t+c,a.pointStyleWidth&&_)}else{const a=t+Math.max((u-m)/2,0),r=o.leftForLtr(e,_),d=ds(s.borderRadius);n.beginPath(),Object.values(d).some((e=>0!==e))?ts(n,{x:r,y:a,w:_,h:m,radius:d}):n.rect(r,a,_,m),n.fill(),0!==i&&n.stroke()}n.restore()}(o.x(Y),x,M),Y=((e,t,s,n)=>e===(n?"left":"right")?s:"center"===e?(t+s)/2:t)(v,Y+_+c,p?Y+k:this.right,e.rtl),function(e,t,s){es(n,s.text,e,t+f/2,d,{strikethrough:s.hidden,textAlign:o.textAlign(s.textAlign)})}(o.x(Y),x,M),p)h.x+=k+l;else if("string"!=typeof M.text){const e=d.lineHeight;h.y+=or(M,e)+l}else h.y+=y})),Xs(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,s=us(t.font),n=ls(t.padding);if(!t.display)return;const i=Ks(e.rtl,this.left,this.width),a=this.ctx,r=t.position,o=s.size/2,d=n.top+o;let l,u=this.left,c=this.width;if(this.isHorizontal())c=Math.max(...this.lineWidths),l=this.top+d,u=Mt(e.align,u,this.right-c);else{const t=this.columnSizes.reduce(((e,t)=>Math.max(e,t.height)),0);l=d+Mt(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}const h=Mt(r,u,u+c);a.textAlign=i.textAlign(yt(r)),a.textBaseline="middle",a.strokeStyle=t.color,a.fillStyle=t.color,a.font=s.string,es(a,t.text,h,l,s)}_computeTitleHeight(){const e=this.options.title,t=us(e.font),s=ls(e.padding);return e.display?t.lineHeight+s.height:0}_getLegendItemAt(e,t){let s,n,i;if(lt(e,this.left,this.right)&<(t,this.top,this.bottom))for(i=this.legendHitBoxes,s=0;se.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:s,pointStyle:n,textAlign:i,color:a,useBorderRadius:r,borderRadius:o}}=e.legend.options;return e._getSortedDatasetMetas().map((e=>{const d=e.controller.getStyle(s?0:void 0),l=ls(d.borderWidth);return{text:t[e.index].label,fillStyle:d.backgroundColor,fontColor:a,hidden:!e.visible,lineCap:d.borderCapStyle,lineDash:d.borderDash,lineDashOffset:d.borderDashOffset,lineJoin:d.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:d.borderColor,pointStyle:n||d.pointStyle,rotation:d.rotation,textAlign:i||d.textAlign,borderRadius:r&&(o||d.borderRadius),datasetIndex:e.index}}),this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class lr extends vi{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){const s=this.options;if(this.left=0,this.top=0,!s.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=e,this.height=this.bottom=t;const n=Me(s.text)?s.text.length:1;this._padding=ls(s.padding);const i=n*us(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:s,bottom:n,right:i,options:a}=this,r=a.align;let o,d,l,u=0;return this.isHorizontal()?(d=Mt(r,s,i),l=t+e,o=i-s):("left"===a.position?(d=s+e,l=Mt(r,n,t),u=-.5*ze):(d=i-e,l=Mt(r,t,n),u=.5*ze),o=n-t),{titleX:d,titleY:l,maxWidth:o,rotation:u}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const s=us(t.font),n=s.lineHeight/2+this._padding.top,{titleX:i,titleY:a,maxWidth:r,rotation:o}=this._drawArgs(n);es(e,t.text,0,0,s,{color:t.color,maxWidth:r,rotation:o,textAlign:yt(t.align),textBaseline:"middle",translation:[i,a]})}}var ur={id:"title",_element:lr,start(e,t,s){!function(e,t){const s=new lr({ctx:e.ctx,options:t,chart:e});ii.configure(e,s,t),ii.addBox(e,s),e.titleBlock=s}(e,s)},stop(e){const t=e.titleBlock;ii.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,s){const n=e.titleBlock;ii.configure(e,n,s),n.options=s},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const cr=new WeakMap;var hr={id:"subtitle",start(e,t,s){const n=new lr({ctx:e.ctx,options:s,chart:e});ii.configure(e,n,s),ii.addBox(e,n),cr.set(e,n)},stop(e){ii.removeBox(e,cr.get(e)),cr.delete(e)},beforeUpdate(e,t,s){const n=cr.get(e);ii.configure(e,n,s),n.options=s},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const _r={average(e){if(!e.length)return!1;let t,s,n=new Set,i=0,a=0;for(t=0,s=e.length;te+t))/n.size,y:i/a}},nearest(e,t){if(!e.length)return!1;let s,n,i,a=t.x,r=t.y,o=Number.POSITIVE_INFINITY;for(s=0,n=e.length;s-1?e.split("\n"):e}function pr(e,t){const{element:s,datasetIndex:n,index:i}=t,a=e.getDatasetMeta(n).controller,{label:r,value:o}=a.getLabelAndValue(i);return{chart:e,label:r,parsed:a.getParsed(i),raw:e.data.datasets[n].data[i],formattedValue:o,dataset:a.getDataset(),dataIndex:i,datasetIndex:n,element:s}}function gr(e,t){const s=e.chart.ctx,{body:n,footer:i,title:a}=e,{boxWidth:r,boxHeight:o}=t,d=us(t.bodyFont),l=us(t.titleFont),u=us(t.footerFont),c=a.length,h=i.length,_=n.length,m=ls(t.padding);let f=m.height,p=0,g=n.reduce(((e,t)=>e+t.before.length+t.lines.length+t.after.length),0);if(g+=e.beforeBody.length+e.afterBody.length,c&&(f+=c*l.lineHeight+(c-1)*t.titleSpacing+t.titleMarginBottom),g){f+=_*(t.displayColors?Math.max(o,d.lineHeight):d.lineHeight)+(g-_)*d.lineHeight+(g-1)*t.bodySpacing}h&&(f+=t.footerMarginTop+h*u.lineHeight+(h-1)*t.footerSpacing);let y=0;const M=function(e){p=Math.max(p,s.measureText(e).width+y)};return s.save(),s.font=l.string,we(e.title,M),s.font=d.string,we(e.beforeBody.concat(e.afterBody),M),y=t.displayColors?r+2+t.boxPadding:0,we(n,(e=>{we(e.before,M),we(e.lines,M),we(e.after,M)})),y=0,s.font=u.string,we(e.footer,M),s.restore(),p+=m.width,{width:p,height:f}}function yr(e,t,s,n){const{x:i,width:a}=s,{width:r,chartArea:{left:o,right:d}}=e;let l="center";return"center"===n?l=i<=(o+d)/2?"left":"right":i<=a/2?l="left":i>=r-a/2&&(l="right"),function(e,t,s,n){const{x:i,width:a}=n,r=s.caretSize+s.caretPadding;return"left"===e&&i+a+r>t.width||"right"===e&&i-a-r<0||void 0}(l,e,t,s)&&(l="center"),l}function Mr(e,t,s){const n=s.yAlign||t.yAlign||function(e,t){const{y:s,height:n}=t;return se.height-n/2?"bottom":"center"}(e,s);return{xAlign:s.xAlign||t.xAlign||yr(e,t,s,n),yAlign:n}}function Lr(e,t,s,n){const{caretSize:i,caretPadding:a,cornerRadius:r}=e,{xAlign:o,yAlign:d}=s,l=i+a,{topLeft:u,topRight:c,bottomLeft:h,bottomRight:_}=ds(r);let m=function(e,t){let{x:s,width:n}=e;return"right"===t?s-=n:"center"===t&&(s-=n/2),s}(t,o);const f=function(e,t,s){let{y:n,height:i}=e;return"top"===t?n+=s:n-="bottom"===t?i+s:i/2,n}(t,d,l);return"center"===d?"left"===o?m+=l:"right"===o&&(m-=l):"left"===o?m-=Math.max(u,h)+i:"right"===o&&(m+=Math.max(c,_)+i),{x:dt(m,0,n.width-t.width),y:dt(f,0,n.height-t.height)}}function br(e,t,s){const n=ls(s.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-n.right:e.x+n.left}function vr(e){return mr([],fr(e))}function kr(e,t){const s=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return s?e.override(s):e}const Yr={beforeTitle:pe,title(e){if(e.length>0){const t=e[0],s=t.chart.data.labels,n=s?s.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(n>0&&t.dataIndex{const t={before:[],lines:[],after:[]},i=kr(s,e);mr(t.before,fr(xr(i,"beforeLabel",this,e))),mr(t.lines,xr(i,"label",this,e)),mr(t.after,fr(xr(i,"afterLabel",this,e))),n.push(t)})),n}getAfterBody(e,t){return vr(xr(t.callbacks,"afterBody",this,e))}getFooter(e,t){const{callbacks:s}=t,n=xr(s,"beforeFooter",this,e),i=xr(s,"footer",this,e),a=xr(s,"afterFooter",this,e);let r=[];return r=mr(r,fr(n)),r=mr(r,fr(i)),r=mr(r,fr(a)),r}_createItems(e){const t=this._active,s=this.chart.data,n=[],i=[],a=[];let r,o,d=[];for(r=0,o=t.length;re.filter(t,n,i,s)))),e.itemSort&&(d=d.sort(((t,n)=>e.itemSort(t,n,s)))),we(d,(t=>{const s=kr(e.callbacks,t);n.push(xr(s,"labelColor",this,t)),i.push(xr(s,"labelPointStyle",this,t)),a.push(xr(s,"labelTextColor",this,t))})),this.labelColors=n,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=d,d}update(e,t){const s=this.options.setContext(this.getContext()),n=this._active;let i,a=[];if(n.length){const e=_r[s.position].call(this,n,this._eventPosition);a=this._createItems(s),this.title=this.getTitle(a,s),this.beforeBody=this.getBeforeBody(a,s),this.body=this.getBody(a,s),this.afterBody=this.getAfterBody(a,s),this.footer=this.getFooter(a,s);const t=this._size=gr(this,s),r=Object.assign({},e,t),o=Mr(this.chart,s,r),d=Lr(s,r,o,this.chart);this.xAlign=o.xAlign,this.yAlign=o.yAlign,i={opacity:1,x:d.x,y:d.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(i={opacity:0});this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,s,n){const i=this.getCaretPosition(e,s,n);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,s){const{xAlign:n,yAlign:i}=this,{caretSize:a,cornerRadius:r}=s,{topLeft:o,topRight:d,bottomLeft:l,bottomRight:u}=ds(r),{x:c,y:h}=e,{width:_,height:m}=t;let f,p,g,y,M,L;return"center"===i?(M=h+m/2,"left"===n?(f=c,p=f-a,y=M+a,L=M-a):(f=c+_,p=f+a,y=M-a,L=M+a),g=f):(p="left"===n?c+Math.max(o,l)+a:"right"===n?c+_-Math.max(d,u)-a:this.caretX,"top"===i?(y=h,M=y-a,f=p-a,g=p+a):(y=h+m,M=y+a,f=p+a,g=p-a),L=y),{x1:f,x2:p,x3:g,y1:y,y2:M,y3:L}}drawTitle(e,t,s){const n=this.title,i=n.length;let a,r,o;if(i){const d=Ks(s.rtl,this.x,this.width);for(e.x=br(this,s.titleAlign,s),t.textAlign=d.textAlign(s.titleAlign),t.textBaseline="middle",a=us(s.titleFont),r=s.titleSpacing,t.fillStyle=s.titleColor,t.font=a.string,o=0;o0!==e))?(e.beginPath(),e.fillStyle=i.multiKeyBackground,ts(e,{x:t,y:_,w:d,h:o,radius:r}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),ts(e,{x:s,y:_+1,w:d-2,h:o-2,radius:r}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(t,_,d,o),e.strokeRect(t,_,d,o),e.fillStyle=a.backgroundColor,e.fillRect(s,_+1,d-2,o-2))}e.fillStyle=this.labelTextColors[s]}drawBody(e,t,s){const{body:n}=this,{bodySpacing:i,bodyAlign:a,displayColors:r,boxHeight:o,boxWidth:d,boxPadding:l}=s,u=us(s.bodyFont);let c=u.lineHeight,h=0;const _=Ks(s.rtl,this.x,this.width),m=function(s){t.fillText(s,_.x(e.x+h),e.y+c/2),e.y+=c+i},f=_.textAlign(a);let p,g,y,M,L,b,v;for(t.textAlign=a,t.textBaseline="middle",t.font=u.string,e.x=br(this,f,s),t.fillStyle=s.bodyColor,we(this.beforeBody,m),h=r&&"right"!==f?"center"===a?d/2+l:d+2+l:0,M=0,b=n.length;M0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,s=this.$animations,n=s&&s.x,i=s&&s.y;if(n||i){const s=_r[e.position].call(this,this._active,this._eventPosition);if(!s)return;const a=this._size=gr(this,e),r=Object.assign({},s,this._size),o=Mr(t,e,r),d=Lr(e,r,o,t);n._to===d.x&&i._to===d.y||(this.xAlign=o.xAlign,this.yAlign=o.yAlign,this.width=a.width,this.height=a.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,d))}}_willRender(){return!!this.opacity}draw(e){const t=this.options.setContext(this.getContext());let s=this.opacity;if(!s)return;this._updateAnimationTarget(t);const n={width:this.width,height:this.height},i={x:this.x,y:this.y};s=Math.abs(s)<.001?0:s;const a=ls(t.padding),r=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&r&&(e.save(),e.globalAlpha=s,this.drawBackground(i,e,n,t),Zs(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),Xs(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const s=this._active,n=e.map((({datasetIndex:e,index:t})=>{const s=this.chart.getDatasetMeta(e);if(!s)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:s.data[t],index:t}})),i=!De(s,n),a=this._positionChanged(n,t);(i||a)&&(this._active=n,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,s=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const n=this.options,i=this._active||[],a=this._getActiveElements(e,i,t,s),r=this._positionChanged(a,e),o=t||!De(a,i)||r;return o&&(this._active=a,(n.enabled||n.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),o}_getActiveElements(e,t,s,n){const i=this.options;if("mouseout"===e.type)return[];if(!n)return t.filter((e=>this.chart.data.datasets[e.datasetIndex]&&void 0!==this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index)));const a=this.chart.getElementsAtEventForMode(e,i.mode,i,s);return i.reverse&&a.reverse(),a}_positionChanged(e,t){const{caretX:s,caretY:n,options:i}=this,a=_r[i.position].call(this,e,t);return!1!==a&&(s!==a.x||n!==a.y)}}var Dr={id:"tooltip",_element:wr,positioners:_r,afterInit(e,t,s){s&&(e.tooltip=new wr({chart:e,options:s}))},beforeUpdate(e,t,s){e.tooltip&&e.tooltip.initialize(s)},reset(e,t,s){e.tooltip&&e.tooltip.initialize(s)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const s={tooltip:t};if(!1===e.notifyPlugins("beforeTooltipDraw",{...s,cancelable:!0}))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",s)}},afterEvent(e,t){if(e.tooltip){const s=t.replay;e.tooltip.handleEvent(t.event,s,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Yr},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Tr=Object.freeze({__proto__:null,Colors:Ra,Decimation:Na,Filler:ir,Legend:dr,SubTitle:hr,Title:ur,Tooltip:Dr});function Sr(e,t,s,n){const i=e.indexOf(t);if(-1===i)return((e,t,s,n)=>("string"==typeof t?(s=e.push(t)-1,n.unshift({index:s,label:t})):isNaN(t)&&(s=null),s))(e,t,s,n);return i!==e.lastIndexOf(t)?s:i}function jr(e){const t=this.getLabels();return e>=0&&e_&&(Y=Ze(k*Y/_/h)*h),ye(o)||(L=Math.pow(10,o),Y=Math.ceil(Y*L)/L),"ticks"===n?(b=Math.floor(m/Y)*Y,v=Math.ceil(f/Y)*Y):(b=m,v=f),p&&g&&i&&function(e,t){const s=Math.round(e);return s-t<=e&&s+t>=e}((r-a)/i,Y/1e3)?(k=Math.round(Math.min((r-a)/Y,l)),Y=(r-a)/k,b=a,v=r):y?(b=p?a:b,v=g?r:v,k=d-1,Y=(v-b)/k):(k=(v-b)/Y,k=Ke(k,Math.round(k),Y/1e3)?Math.round(k):Math.ceil(k));const x=Math.max(st(Y),st(b));L=Math.pow(10,ye(o)?x:o),b=Math.round(b*L)/L,v=Math.round(v*L)/L;let w=0;for(p&&(c&&b!==a?(s.push({value:a}),br)break;s.push({value:e})}return g&&c&&v!==r?s.length&&Ke(s[s.length-1].value,r,Or(r,M,e))?s[s.length-1].value=r:s.push({value:r}):g&&v!==r||s.push({value:v}),s}function Or(e,t,{horizontal:s,minRotation:n}){const i=et(n),a=(s?Math.sin(i):Math.cos(i))||.001,r=.75*t*(""+e).length;return Math.min(t/a,r)}class Pr extends Oi{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return ye(e)||("number"==typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:t,maxDefined:s}=this.getUserBounds();let{min:n,max:i}=this;const a=e=>n=t?n:e,r=e=>i=s?i:e;if(e){const e=qe(n),t=qe(i);e<0&&t<0?r(0):e>0&&t>0&&a(0)}if(n===i){let t=0===i?1:Math.abs(.05*i);r(i+t),e||a(n-t)}this.min=n,this.max=i}getTickLimit(){const e=this.options.ticks;let t,{maxTicksLimit:s,stepSize:n}=e;return n?(t=Math.ceil(this.max/n)-Math.floor(this.min/n)+1,t>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${n} would result generating up to ${t} ticks. Limiting to 1000.`),t=1e3)):(t=this.computeTickLimit(),s=s||11),s&&(t=Math.min(s,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let s=this.getTickLimit();s=Math.max(2,s);const n=Hr({maxTicks:s,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&Qe(n,this,"value"),e.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}configure(){const e=this.ticks;let t=this.min,s=this.max;if(super.configure(),this.options.offset&&e.length){const n=(s-t)/Math.max(e.length-1,1)/2;t-=n,s+=n}this._startValue=t,this._endValue=s,this._valueRange=s-t}getLabelForValue(e){return Ot(e,this.chart.options.locale,this.options.ticks.format)}}class Ar extends Pr{static id="linear";static defaults={ticks:{callback:At.formatters.numeric}};determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=be(e)?e:0,this.max=be(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,s=et(this.options.ticks.minRotation),n=(e?Math.sin(s):Math.cos(s))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,i.lineHeight/n))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}const Er=e=>Math.floor(Ge(e)),Cr=(e,t)=>Math.pow(10,Er(e)+t);function Fr(e){return 1===e/Math.pow(10,Er(e))}function Rr(e,t,s){const n=Math.pow(10,s),i=Math.floor(e/n);return Math.ceil(t/n)-i}function Wr(e,{min:t,max:s}){t=ve(e.min,t);const n=[],i=Er(t);let a=function(e,t){let s=Er(t-e);for(;Rr(e,t,s)>10;)s++;for(;Rr(e,t,s)<10;)s--;return Math.min(s,Er(e))}(t,s),r=a<0?Math.pow(10,Math.abs(a)):1;const o=Math.pow(10,a),d=i>a?Math.pow(10,i):0,l=Math.round((t-d)*r)/r,u=Math.floor((t-d)/o/10)*o*10;let c=Math.floor((l-u)/Math.pow(10,a)),h=ve(e.min,Math.round((d+u+c*Math.pow(10,a))*r)/r);for(;h=10?c=c<15?15:20:c++,c>=20&&(a++,c=2,r=a>=0?1:r),h=Math.round((d+u+c*Math.pow(10,a))*r)/r;const _=ve(e.max,h);return n.push({value:_,major:Fr(_),significand:c}),n}class zr extends Oi{static id="logarithmic";static defaults={ticks:{callback:At.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){const s=Pr.prototype.parse.apply(this,[e,t]);if(0!==s)return be(s)&&s>0?s:null;this._zero=!0}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=be(e)?Math.max(0,e):null,this.max=be(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!be(this._userMin)&&(this.min=e===Cr(this.min,0)?Cr(this.min,-1):Cr(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let s=this.min,n=this.max;const i=t=>s=e?s:t,a=e=>n=t?n:e;s===n&&(s<=0?(i(1),a(10)):(i(Cr(s,-1)),a(Cr(n,1)))),s<=0&&i(Cr(n,-1)),n<=0&&a(Cr(s,1)),this.min=s,this.max=n}buildTicks(){const e=this.options,t=Wr({min:this._userMin,max:this._userMax},this);return"ticks"===e.bounds&&Qe(t,this,"value"),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return void 0===e?"0":Ot(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=Ge(e),this._valueRange=Ge(this.max)-Ge(e)}getPixelForValue(e){return void 0!==e&&0!==e||(e=this.min),null===e||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Ge(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const t=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+t*this._valueRange)}}function Nr(e){const t=e.ticks;if(t.display&&e.display){const e=ls(t.backdropPadding);return ke(t.font&&t.font.size,zt.font.size)+e.height}return 0}function Ir(e,t,s,n,i){return e===n||e===i?{start:t-s/2,end:t+s/2}:ei?{start:t-s,end:t}:{start:t,end:t+s}}function Vr(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},s=Object.assign({},t),n=[],i=[],a=e._pointLabels.length,r=e.options.pointLabels,o=r.centerPointLabels?ze/a:0;for(let c=0;ct.r&&(o=(n.end-t.r)/a,e.r=Math.max(e.r,t.r+o)),i.startt.b&&(d=(i.end-t.b)/r,e.b=Math.max(e.b,t.b+d))}function $r(e,t,s){const n=e.drawingArea,{extra:i,additionalAngle:a,padding:r,size:o}=s,d=e.getPointPosition(t,n+i+r,a),l=Math.round(tt(rt(d.angle+$e))),u=function(e,t,s){90===s||270===s?e-=t/2:(s>270||s<90)&&(e-=t);return e}(d.y,o.h,l),c=function(e){if(0===e||180===e)return"center";if(e<180)return"left";return"right"}(l),h=function(e,t,s){"right"===s?e-=t:"center"===s&&(e-=t/2);return e}(d.x,o.w,c);return{visible:!0,x:d.x,y:u,textAlign:c,left:h,top:u,right:h+o.w,bottom:u+o.h}}function Br(e,t){if(!t)return!0;const{left:s,top:n,right:i,bottom:a}=e;return!(Jt({x:s,y:n},t)||Jt({x:s,y:a},t)||Jt({x:i,y:n},t)||Jt({x:i,y:a},t))}function Jr(e,t,s){const{left:n,top:i,right:a,bottom:r}=s,{backdropColor:o}=t;if(!ye(o)){const s=ds(t.borderRadius),d=ls(t.backdropPadding);e.fillStyle=o;const l=n-d.left,u=i-d.top,c=a-n+d.width,h=r-i+d.height;Object.values(s).some((e=>0!==e))?(e.beginPath(),ts(e,{x:l,y:u,w:c,h,radius:s}),e.fill()):e.fillRect(l,u,c,h)}}function Gr(e,t,s,n){const{ctx:i}=e;if(s)i.arc(e.xCenter,e.yCenter,t,0,Ne);else{let s=e.getPointPosition(0,t);i.moveTo(s.x,s.y);for(let a=1;ae,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=ls(Nr(this.options)/2),t=this.width=this.maxWidth-e.width,s=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+s/2+e.top),this.drawingArea=Math.floor(Math.min(t,s)/2)}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!1);this.min=be(e)&&!isNaN(e)?e:0,this.max=be(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Nr(this.options))}generateTickLabels(e){Pr.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map(((e,t)=>{const s=xe(this.options.pointLabels.callback,[e,t],this);return s||0===s?s:""})).filter(((e,t)=>this.chart.getDataVisibility(t)))}fit(){const e=this.options;e.display&&e.pointLabels.display?Vr(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,s,n){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((s-n)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,s,n))}getIndexAngle(e){return rt(e*(Ne/(this._pointLabels.length||1))+et(this.options.startAngle||0))}getDistanceFromCenterForValue(e){if(ye(e))return NaN;const t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(ye(e))return NaN;const t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){const t=this._pointLabels||[];if(e>=0&&e=0;i--){const t=e._pointLabelItems[i];if(!t.visible)continue;const a=n.setContext(e.getPointLabelContext(i));Jr(s,a,t);const r=us(a.font),{x:o,y:d,textAlign:l}=t;es(s,e._pointLabels[i],o,d+r.lineHeight/2,r,{color:a.color,textAlign:l,textBaseline:"middle"})}}(this,a),n.display&&this.ticks.forEach(((e,t)=>{if(0!==t||0===t&&this.min<0){o=this.getDistanceFromCenterForValue(e.value);const s=this.getContext(t),r=n.setContext(s),d=i.setContext(s);!function(e,t,s,n,i){const a=e.ctx,r=t.circular,{color:o,lineWidth:d}=t;!r&&!n||!o||!d||s<0||(a.save(),a.strokeStyle=o,a.lineWidth=d,a.setLineDash(i.dash),a.lineDashOffset=i.dashOffset,a.beginPath(),Gr(e,s,r,n),a.closePath(),a.stroke(),a.restore())}(this,r,o,a,d)}})),s.display){for(e.save(),r=a-1;r>=0;r--){const n=s.setContext(this.getPointLabelContext(r)),{color:i,lineWidth:a}=n;a&&i&&(e.lineWidth=a,e.strokeStyle=i,e.setLineDash(n.borderDash),e.lineDashOffset=n.borderDashOffset,o=this.getDistanceFromCenterForValue(t.ticks.reverse?this.min:this.max),d=this.getPointPosition(r,o),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(d.x,d.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,t=this.options,s=t.ticks;if(!s.display)return;const n=this.getIndexAngle(0);let i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(n),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach(((n,r)=>{if(0===r&&this.min>=0&&!t.reverse)return;const o=s.setContext(this.getContext(r)),d=us(o.font);if(i=this.getDistanceFromCenterForValue(this.ticks[r].value),o.showLabelBackdrop){e.font=d.string,a=e.measureText(n.label).width,e.fillStyle=o.backdropColor;const t=ls(o.backdropPadding);e.fillRect(-a/2-t.left,-i-d.size/2-t.top,a+t.width,d.size+t.height)}es(e,n.label,0,-i,d,{color:o.color,strokeColor:o.textStrokeColor,strokeWidth:o.textStrokeWidth})})),e.restore()}drawTitle(){}}const Kr={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Zr=Object.keys(Kr);function Xr(e,t){return e-t}function Qr(e,t){if(ye(t))return null;const s=e._adapter,{parser:n,round:i,isoWeekday:a}=e._parseOpts;let r=t;return"function"==typeof n&&(r=n(r)),be(r)||(r="string"==typeof n?s.parse(r,n):s.parse(r)),null===r?null:(i&&(r="week"!==i||!Xe(a)&&!0!==a?s.startOf(r,i):s.startOf(r,"isoWeek",a)),+r)}function eo(e,t,s,n){const i=Zr.length;for(let a=Zr.indexOf(e);a=t?s[n]:s[i]]=!0}}else e[t]=!0}function so(e,t,s){const n=[],i={},a=t.length;let r,o;for(r=0;r=0&&(t[d].major=!0);return t}(e,n,i,s):n}class no extends Oi{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t={}){const s=e.time||(e.time={}),n=this._adapter=new Rn._date(e.adapters.date);n.init(t),Oe(s.displayFormats,n.formats()),this._parseOpts={parser:s.parser,round:s.round,isoWeekday:s.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return void 0===e?null:Qr(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,t=this._adapter,s=e.time.unit||"day";let{min:n,max:i,minDefined:a,maxDefined:r}=this.getUserBounds();function o(e){a||isNaN(e.min)||(n=Math.min(n,e.min)),r||isNaN(e.max)||(i=Math.max(i,e.max))}a&&r||(o(this._getLabelBounds()),"ticks"===e.bounds&&"labels"===e.ticks.source||o(this.getMinMax(!1))),n=be(n)&&!isNaN(n)?n:+t.startOf(Date.now(),s),i=be(i)&&!isNaN(i)?i:+t.endOf(Date.now(),s)+1,this.min=Math.min(n,i-1),this.max=Math.max(n+1,i)}_getLabelBounds(){const e=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY,s=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],s=e[e.length-1]),{min:t,max:s}}buildTicks(){const e=this.options,t=e.time,s=e.ticks,n="labels"===s.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&n.length&&(this.min=this._userMin||n[0],this.max=this._userMax||n[n.length-1]);const i=this.min,a=function(e,t,s){let n=0,i=e.length;for(;nn&&e[i-1]>s;)i--;return n>0||i=Zr.indexOf(s);a--){const s=Zr[a];if(Kr[s].common&&e._adapter.diff(i,n,s)>=t-1)return s}return Zr[s?Zr.indexOf(s):0]}(this,a.length,t.minUnit,this.min,this.max)),this._majorUnit=s.major.enabled&&"year"!==this._unit?function(e){for(let t=Zr.indexOf(e)+1,s=Zr.length;t+e.value)))}initOffsets(e=[]){let t,s,n=0,i=0;this.options.offset&&e.length&&(t=this.getDecimalForValue(e[0]),n=1===e.length?1-t:(this.getDecimalForValue(e[1])-t)/2,s=this.getDecimalForValue(e[e.length-1]),i=1===e.length?s:(s-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;n=dt(n,0,a),i=dt(i,0,a),this._offsets={start:n,end:i,factor:1/(n+1+i)}}_generate(){const e=this._adapter,t=this.min,s=this.max,n=this.options,i=n.time,a=i.unit||eo(i.minUnit,t,s,this._getLabelCapacity(t)),r=ke(n.ticks.stepSize,1),o="week"===a&&i.isoWeekday,d=Xe(o)||!0===o,l={};let u,c,h=t;if(d&&(h=+e.startOf(h,"isoWeek",o)),h=+e.startOf(h,d?"day":a),e.diff(s,t,a)>1e5*r)throw new Error(t+" and "+s+" are too far apart with stepSize of "+r+" "+a);const _="data"===n.ticks.source&&this.getDataTimestamps();for(u=h,c=0;u+e))}getLabelForValue(e){const t=this._adapter,s=this.options.time;return s.tooltipFormat?t.format(e,s.tooltipFormat):t.format(e,s.displayFormats.datetime)}format(e,t){const s=this.options.time.displayFormats,n=this._unit,i=t||s[n];return this._adapter.format(e,i)}_tickFormatFunction(e,t,s,n){const i=this.options,a=i.ticks.callback;if(a)return xe(a,[e,t,s],this);const r=i.time.displayFormats,o=this._unit,d=this._majorUnit,l=o&&r[o],u=d&&r[d],c=s[t],h=d&&u&&c&&c.major;return this._adapter.format(e,n||(h?u:l))}generateTickLabels(e){let t,s,n;for(t=0,s=e.length;t0?r:1}getDataTimestamps(){let e,t,s=this._cache.data||[];if(s.length)return s;const n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(e=0,t=n.length;e=e[o].pos&&t<=e[d].pos&&({lo:o,hi:d}=ct(e,"pos",t)),({pos:n,time:a}=e[o]),({pos:i,time:r}=e[d])):(t>=e[o].time&&t<=e[d].time&&({lo:o,hi:d}=ct(e,"time",t)),({time:n,pos:a}=e[o]),({time:i,pos:r}=e[d]));const l=i-n;return l?a+(r-a)*(t-n)/l:a}var ao=Object.freeze({__proto__:null,CategoryScale:class extends Oi{static id="category";static defaults={ticks:{callback:jr}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const e=this.getLabels();for(const{index:s,label:n}of t)e[s]===n&&e.splice(s,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(ye(e))return null;const s=this.getLabels();return((e,t)=>null===e?null:dt(Math.round(e),0,t))(t=isFinite(t)&&s[t]===e?t:Sr(s,e,ke(t,e),this._addedLabels),s.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:s,max:n}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(s=0),t||(n=this.getLabels().length-1)),this.min=s,this.max=n}buildTicks(){const e=this.min,t=this.max,s=this.options.offset,n=[];let i=this.getLabels();i=0===e&&t===i.length-1?i:i.slice(e,t+1),this._valueRange=Math.max(i.length-(s?0:1),1),this._startValue=this.min-(s?.5:0);for(let s=e;s<=t;s++)n.push({value:s});return n}getLabelForValue(e){return jr.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}},LinearScale:Ar,LogarithmicScale:zr,RadialLinearScale:qr,TimeScale:no,TimeSeriesScale:class extends no{static id="timeseries";static defaults=no.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=io(t,this.min),this._tableRange=io(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:t,max:s}=this,n=[],i=[];let a,r,o,d,l;for(a=0,r=e.length;a=t&&d<=s&&n.push(d);if(n.length<2)return[{time:t,pos:0},{time:s,pos:1}];for(a=0,r=n.length;ae-t))}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const t=this.getDataTimestamps(),s=this.getLabelTimestamps();return e=t.length&&s.length?this.normalize(t.concat(s)):t.length?t:s,e=this._cache.all=e,e}getDecimalForValue(e){return(io(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const t=this._offsets,s=this.getDecimalForPixel(e)/t.factor-t.end;return io(this._table,s*this._tableRange+this._minPos,!0)}}});const ro=[En,Ha,Tr,ao],oo="label";function lo(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function uo(e,t){e.labels=t}function co(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:oo;const n=[];e.datasets=t.map((t=>{const i=e.datasets.find((e=>e[s]===t[s]));return i&&t.data&&!n.includes(i)?(n.push(i),Object.assign(i,t),i):{...t}}))}function ho(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oo;const s={labels:[],datasets:[]};return uo(s,e.labels),co(s,e.datasets,t),s}function _o(e,t){const{height:s=150,width:n=300,redraw:i=!1,datasetIdKey:a,type:r,data:o,options:d,plugins:l=[],fallbackContent:u,updateMode:c,...h}=e,_=(0,b.useRef)(null),m=(0,b.useRef)(),f=()=>{_.current&&(m.current=new la(_.current,{type:r,data:ho(o,a),options:d&&{...d},plugins:l}),lo(t,m.current))},p=()=>{lo(t,null),m.current&&(m.current.destroy(),m.current=null)};return(0,b.useEffect)((()=>{!i&&m.current&&d&&function(e,t){const s=e.options;s&&t&&Object.assign(s,t)}(m.current,d)}),[i,d]),(0,b.useEffect)((()=>{!i&&m.current&&uo(m.current.config.data,o.labels)}),[i,o.labels]),(0,b.useEffect)((()=>{!i&&m.current&&o.datasets&&co(m.current.config.data,o.datasets,a)}),[i,o.datasets]),(0,b.useEffect)((()=>{m.current&&(i?(p(),setTimeout(f)):m.current.update(c))}),[i,d,o.labels,o.datasets,c]),(0,b.useEffect)((()=>{m.current&&(p(),setTimeout(f))}),[r]),(0,b.useEffect)((()=>(f(),()=>p())),[]),b.createElement("canvas",Object.assign({ref:_,role:"img",height:s,width:n},h),u)}const mo=(0,b.forwardRef)(_o);var fo=s(59173),po=s.n(fo); +class on{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,s,n){const i=t.listeners[n],a=t.duration;i.forEach((n=>n({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(s-t.start,a)})))}_refresh(){this._request||(this._running=!0,this._request=pt.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(e=Date.now()){let t=0;this._charts.forEach(((s,n)=>{if(!s.running||!s.items.length)return;const i=s.items;let a,r=i.length-1,o=!1;for(;r>=0;--r)a=i[r],a._active?(a._total>s.duration&&(s.duration=a._total),a.tick(e),o=!0):(i[r]=i[i.length-1],i.pop());o&&(n.draw(),this._notify(n,s,e,"progress")),i.length||(s.running=!1,this._notify(n,s,e,"complete"),s.initial=!1),t+=i.length})),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let s=t.get(e);return s||(s={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,s)),s}listen(e,t,s){this._getAnims(e).listeners[t].push(s)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce(((e,t)=>Math.max(e,t._duration)),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const s=t.items;let n=s.length-1;for(;n>=0;--n)s[n].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var dn=new on;const ln="transparent",un={boolean:(e,t,s)=>s>.5?t:e,color(e,t,s){const n=Dt(e||ln),i=n.valid&&Dt(t||ln);return i&&i.valid?i.mix(n,s).hexString():t},number:(e,t,s)=>e+(t-e)*s};class cn{constructor(e,t,s,n){const i=t[s];n=cs([e.to,n,i,e.from]);const a=cs([e.from,i,n]);this._active=!0,this._fn=e.fn||un[e.type||typeof a],this._easing=xt[e.easing]||xt.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=s,this._from=a,this._to=n,this._promises=void 0}active(){return this._active}update(e,t,s){if(this._active){this._notify(!1);const n=this._target[this._prop],i=s-this._start,a=this._duration-i;this._start=s,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=cs([e.to,t,n,e.from]),this._from=cs([e.from,n,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,s=this._duration,n=this._prop,i=this._from,a=this._loop,r=this._to;let o;if(this._active=i!==r&&(a||t1?2-o:o,o=this._easing(Math.min(1,Math.max(0,o))),this._target[n]=this._fn(i,r,o))}wait(){const e=this._promises||(this._promises=[]);return new Promise(((t,s)=>{e.push({res:t,rej:s})}))}_notify(e){const t=e?"res":"rej",s=this._promises||[];for(let e=0;e{const i=e[n];if(!Le(i))return;const a={};for(const e of t)a[e]=i[e];(Me(i.properties)&&i.properties||[n]).forEach((e=>{e!==n&&s.has(e)||s.set(e,a)}))}))}_animateOptions(e,t){const s=t.options,n=function(e,t){if(!t)return;let s=e.options;if(!s)return void(e.options=t);s.$shared&&(e.options=s=Object.assign({},s,{$shared:!1,$animations:{}}));return s}(e,s);if(!n)return[];const i=this._createAnimations(n,s);return s.$shared&&function(e,t){const s=[],n=Object.keys(t);for(let t=0;t{e.options=s}),(()=>{})),i}_createAnimations(e,t){const s=this._properties,n=[],i=e.$animations||(e.$animations={}),a=Object.keys(t),r=Date.now();let o;for(o=a.length-1;o>=0;--o){const d=a[o];if("$"===d.charAt(0))continue;if("options"===d){n.push(...this._animateOptions(e,t));continue}const l=t[d];let u=i[d];const c=s.get(d);if(u){if(c&&u.active()){u.update(c,l,r);continue}u.cancel()}c&&c.duration?(i[d]=u=new cn(c,e,d,l),n.push(u)):e[d]=l}return n}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const s=this._createAnimations(e,t);return s.length?(dn.add(this._chart,s),!0):void 0}}function _n(e,t){const s=e&&e.options||{},n=s.reverse,i=void 0===s.min?t:0,a=void 0===s.max?t:0;return{start:n?a:i,end:n?i:a}}function mn(e,t){const s=[],n=e._getSortedDatasetMetas(t);let i,a;for(i=0,a=n.length;i0||!s&&t<0)return i.index}return null}function Mn(e,t){const{chart:s,_cachedMeta:n}=e,i=s._stacks||(s._stacks={}),{iScale:a,vScale:r,index:o}=n,d=a.axis,l=r.axis,u=function(e,t,s){return`${e.id}.${t.id}.${s.stack||s.type}`}(a,r,n),c=t.length;let h;for(let e=0;es[e].axis===t)).shift()}function bn(e,t){const s=e.controller.index,n=e.vScale&&e.vScale.axis;if(n){t=t||e._parsed;for(const e of t){const t=e._stacks;if(!t||void 0===t[n]||void 0===t[n][s])return;delete t[n][s],void 0!==t[n]._visualValues&&void 0!==t[n]._visualValues[s]&&delete t[n]._visualValues[s]}}}const vn=e=>"reset"===e||"none"===e,kn=(e,t)=>t?e:Object.assign({},e);class Yn{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=pn(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&bn(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,s=this.getDataset(),n=(e,t,s,n)=>"x"===e?t:"r"===e?n:s,i=t.xAxisID=ke(s.xAxisID,Ln(e,"x")),a=t.yAxisID=ke(s.yAxisID,Ln(e,"y")),r=t.rAxisID=ke(s.rAxisID,Ln(e,"r")),o=t.indexAxis,d=t.iAxisID=n(o,i,a,r),l=t.vAxisID=n(o,a,i,r);t.xScale=this.getScaleForId(i),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(r),t.iScale=this.getScaleForId(d),t.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&mt(this._data,this),e._stacked&&bn(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),s=this._data;if(Le(t)){const e=this._cachedMeta;this._data=function(e,t){const{iScale:s,vScale:n}=t,i="x"===s.axis?"x":"y",a="x"===n.axis?"x":"y",r=Object.keys(e),o=new Array(r.length);let d,l,u;for(d=0,l=r.length;d{const t="_onData"+Ce(e),s=n[e];Object.defineProperty(n,e,{configurable:!0,enumerable:!1,value(...e){const i=s.apply(this,e);return n._chartjs.listeners.forEach((s=>{"function"==typeof s[t]&&s[t](...e)})),i}})})))),this._syncList=[],this._data=t}var n,i}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,s=this.getDataset();let n=!1;this._dataCheck();const i=t._stacked;t._stacked=pn(t.vScale,t),t.stack!==s.stack&&(n=!0,bn(t),t.stack=s.stack),this._resyncElements(e),(n||i!==t._stacked)&&Mn(this,t._parsed)}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),s=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(s,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:s,_data:n}=this,{iScale:i,_stacked:a}=s,r=i.axis;let o,d,l,u=0===e&&t===n.length||s._sorted,c=e>0&&s._parsed[e-1];if(!1===this._parsing)s._parsed=n,s._sorted=!0,l=n;else{l=Me(n[e])?this.parseArrayData(s,n,e,t):Le(n[e])?this.parseObjectData(s,n,e,t):this.parsePrimitiveData(s,n,e,t);const i=()=>null===d[r]||c&&d[r]e&&!t.hidden&&t._stacked&&{keys:mn(s,!0),values:null})(t,s,this.chart),d={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:l,max:u}=function(e){const{min:t,max:s,minDefined:n,maxDefined:i}=e.getUserBounds();return{min:n?t:Number.NEGATIVE_INFINITY,max:i?s:Number.POSITIVE_INFINITY}}(r);let c,h;function _(){h=n[c];const t=h[r.axis];return!be(h[e.axis])||l>t||u=0;--c)if(!_()){this.updateRangeFromParsed(d,e,h,o);break}return d}getAllParsedValues(e){const t=this._cachedMeta._parsed,s=[];let n,i,a;for(n=0,i=t.length;n=0&&ethis.getContext(s,n,t)),u);return _.$shared&&(_.$shared=o,i[a]=Object.freeze(kn(_,o))),_}_resolveAnimations(e,t,s){const n=this.chart,i=this._cachedDataOpts,a=`animation-${t}`,r=i[a];if(r)return r;let o;if(!1!==n.options.animation){const n=this.chart.config,i=n.datasetAnimationScopeKeys(this._type,t),a=n.getOptionScopes(this.getDataset(),i);o=n.createResolver(a,this.getContext(e,s,t))}const d=new hn(n,o&&o.animations);return o&&o._cacheable&&(i[a]=Object.freeze(d)),d}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||vn(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const s=this.resolveDataElementOptions(e,t),n=this._sharedOptions,i=this.getSharedOptions(s),a=this.includeOptions(t,i)||i!==n;return this.updateSharedOptions(i,t,s),{sharedOptions:i,includeOptions:a}}updateElement(e,t,s,n){vn(n)?Object.assign(e,s):this._resolveAnimations(t,n).update(e,s)}updateSharedOptions(e,t,s){e&&!vn(t)&&this._resolveAnimations(void 0,t).update(e,s)}_setStyle(e,t,s,n){e.active=n;const i=this.getStyle(t,n);this._resolveAnimations(t,s,n).update(e,{options:!n&&this.getSharedOptions(i)||i})}removeHoverStyle(e,t,s){this._setStyle(e,s,"active",!1)}setHoverStyle(e,t,s){this._setStyle(e,s,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,s=this._cachedMeta.data;for(const[e,t,s]of this._syncList)this[e](t,s);this._syncList=[];const n=s.length,i=t.length,a=Math.min(i,n);a&&this.parse(0,a),i>n?this._insertElements(n,i-n,e):i{for(e.length+=t,r=e.length-1;r>=a;r--)e[r]=e[r-t]};for(o(i),r=e;re-t)))}return e._cache.$bar}(t,e.type);let n,i,a,r,o=t._length;const d=()=>{32767!==a&&-32768!==a&&(Fe(r)&&(o=Math.min(o,Math.abs(a-r)||o)),r=a)};for(n=0,i=s.length;nMath.abs(o)&&(d=o,l=r),t[s.axis]=l,t._custom={barStart:d,barEnd:l,start:i,end:a,min:r,max:o}}(e,t,s,n):t[s.axis]=s.parse(e,n),t}function Dn(e,t,s,n){const i=e.iScale,a=e.vScale,r=i.getLabels(),o=i===a,d=[];let l,u,c,h;for(l=s,u=s+n;le.x,s="left",n="right"):(t=e.base"spacing"!==e,_indexable:e=>"spacing"!==e&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:s,color:n}}=e.legend.options;return t.labels.map(((t,i)=>{const a=e.getDatasetMeta(0).controller.getStyle(i);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:n,lineWidth:a.borderWidth,pointStyle:s,hidden:!e.getDataVisibility(i),index:i}}))}return[]}},onClick(e,t,s){s.chart.toggleDataVisibility(t.index),s.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const s=this.getDataset().data,n=this._cachedMeta;if(!1===this._parsing)n._parsed=s;else{let i,a,r=e=>+s[e];if(Le(s[e])){const{key:e="value"}=this._parsing;r=t=>+Ee(s[t],e)}for(i=e,a=e+t;iot(e,o,d,!0)?1:Math.max(t,t*s,n,n*s),m=(e,t,n)=>ot(e,o,d,!0)?-1:Math.min(t,t*s,n,n*s),f=_(0,l,c),p=_(Ue,u,h),g=m(ze,l,c),y=m(ze+Ue,u,h);n=(f-g)/2,i=(p-y)/2,a=-(f+g)/2,r=-(p+y)/2}return{ratioX:n,ratioY:i,offsetX:a,offsetY:r}}(h,c,o),g=(s.width-a)/_,y=(s.height-a)/m,M=Math.max(Math.min(g,y)/2,0),L=Ye(this.options.radius,M),b=(L-Math.max(L*o,0))/this._getVisibleDatasetWeightTotal();this.offsetX=f*L,this.offsetY=p*L,n.total=this.calculateTotal(),this.outerRadius=L-b*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-b*u,0),this.updateElements(i,0,i.length,e)}_circumference(e,t){const s=this.options,n=this._cachedMeta,i=this._getCircumference();return t&&s.animation.animateRotate||!this.chart.getDataVisibility(e)||null===n._parsed[e]||n.data[e].hidden?0:this.calculateCircumference(n._parsed[e]*i/Ne)}updateElements(e,t,s,n){const i="reset"===n,a=this.chart,r=a.chartArea,o=a.options.animation,d=(r.left+r.right)/2,l=(r.top+r.bottom)/2,u=i&&o.animateScale,c=u?0:this.innerRadius,h=u?0:this.outerRadius,{sharedOptions:_,includeOptions:m}=this._getSharedOptions(t,n);let f,p=this._getRotation();for(f=0;f0&&!isNaN(e)?Ne*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,s=this.chart,n=s.data.labels||[],i=Ot(t._parsed[e],s.options.locale);return{label:n[e]||"",value:i}}getMaxBorderWidth(e){let t=0;const s=this.chart;let n,i,a,r,o;if(!e)for(n=0,i=s.data.datasets.length;n{const a=e.getDatasetMeta(0).controller.getStyle(i);return{text:t,fillStyle:a.backgroundColor,strokeStyle:a.borderColor,fontColor:n,lineWidth:a.borderWidth,pointStyle:s,hidden:!e.getDataVisibility(i),index:i}}))}return[]}},onClick(e,t,s){s.chart.toggleDataVisibility(t.index),s.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};constructor(e,t){super(e,t),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(e){const t=this._cachedMeta,s=this.chart,n=s.data.labels||[],i=Ot(t._parsed[e].r,s.options.locale);return{label:n[e]||"",value:i}}parseObjectData(e,t,s,n){return ws.bind(this)(e,t,s,n)}update(e){const t=this._cachedMeta.data;this._updateRadius(),this.updateElements(t,0,t.length,e)}getMinMax(){const e=this._cachedMeta,t={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return e.data.forEach(((e,s)=>{const n=this.getParsed(s).r;!isNaN(n)&&this.chart.getDataVisibility(s)&&(nt.max&&(t.max=n))})),t}_updateRadius(){const e=this.chart,t=e.chartArea,s=e.options,n=Math.min(t.right-t.left,t.bottom-t.top),i=Math.max(n/2,0),a=(i-Math.max(s.cutoutPercentage?i/100*s.cutoutPercentage:1,0))/e.getVisibleDatasetCount();this.outerRadius=i-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(e,t,s,n){const i="reset"===n,a=this.chart,r=a.options.animation,o=this._cachedMeta.rScale,d=o.xCenter,l=o.yCenter,u=o.getIndexAngle(0)-.5*ze;let c,h=u;const _=360/this.countVisibleElements();for(c=0;c{!isNaN(this.getParsed(s).r)&&this.chart.getDataVisibility(s)&&t++})),t}_computeAngle(e,t,s){return this.chart.getDataVisibility(e)?et(this.resolveDataElementOptions(e,t).angle||s):0}}var En=Object.freeze({__proto__:null,BarController:class extends Yn{static id="bar";static defaults={datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}};static overrides={scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}};parsePrimitiveData(e,t,s,n){return Dn(e,t,s,n)}parseArrayData(e,t,s,n){return Dn(e,t,s,n)}parseObjectData(e,t,s,n){const{iScale:i,vScale:a}=e,{xAxisKey:r="x",yAxisKey:o="y"}=this._parsing,d="x"===i.axis?r:o,l="x"===a.axis?r:o,u=[];let c,h,_,m;for(c=s,h=s+n;ce.controller.options.grouped)),i=s.options.stacked,a=[],r=e=>{const s=e.controller.getParsed(t),n=s&&s[e.vScale.axis];if(ye(n)||isNaN(n))return!0};for(const s of n)if((void 0===t||!r(s))&&((!1===i||-1===a.indexOf(s.stack)||void 0===i&&void 0===s.stack)&&a.push(s.stack),s.index===e))break;return a.length||a.push(void 0),a}_getStackCount(e){return this._getStacks(void 0,e).length}_getStackIndex(e,t,s){const n=this._getStacks(e,s),i=void 0!==t?n.indexOf(t):-1;return-1===i?n.length-1:i}_getRuler(){const e=this.options,t=this._cachedMeta,s=t.iScale,n=[];let i,a;for(i=0,a=t.data.length;i=s?1:-1)}(c,t,r)*a,h===r&&(p-=c/2);const e=t.getPixelForDecimal(0),i=t.getPixelForDecimal(1),d=Math.min(e,i),_=Math.max(e,i);p=Math.max(Math.min(p,_),d),u=p+c,s&&!l&&(o._stacks[t.axis]._visualValues[n]=t.getValueForPixel(u)-t.getValueForPixel(p))}if(p===t.getPixelForValue(r)){const e=qe(c)*t.getLineWidthForValue(r)/2;p+=e,c-=e}return{size:c,base:p,head:u,center:u+c/2}}_calculateBarIndexPixels(e,t){const s=t.scale,n=this.options,i=n.skipNull,a=ke(n.maxBarThickness,1/0);let r,o;if(t.grouped){const s=i?this._getStackCount(e):t.stackCount,d="flex"===n.barThickness?function(e,t,s,n){const i=t.pixels,a=i[e];let r=e>0?i[e-1]:null,o=e=0;--s)t=Math.max(t,e[s].size(this.resolveDataElementOptions(s))/2);return t>0&&t}getLabelAndValue(e){const t=this._cachedMeta,s=this.chart.data.labels||[],{xScale:n,yScale:i}=t,a=this.getParsed(e),r=n.getLabelForValue(a.x),o=i.getLabelForValue(a.y),d=a._custom;return{label:s[e]||"",value:"("+r+", "+o+(d?", "+d:"")+")"}}update(e){const t=this._cachedMeta.data;this.updateElements(t,0,t.length,e)}updateElements(e,t,s,n){const i="reset"===n,{iScale:a,vScale:r}=this._cachedMeta,{sharedOptions:o,includeOptions:d}=this._getSharedOptions(t,n),l=a.axis,u=r.axis;for(let c=t;c0&&this.getParsed(t-1);for(let s=0;s=g){y.skip=!0;continue}const L=this.getParsed(s),b=ye(L[h]),v=y[c]=a.getPixelForValue(L[c],s),k=y[h]=i||b?r.getBasePixel():r.getPixelForValue(o?this.applyStack(r,L,o):L[h],s);y.skip=isNaN(v)||isNaN(k)||b,y.stop=s>0&&Math.abs(L[c]-M[c])>f,m&&(y.parsed=L,y.raw=d.data[s]),u&&(y.options=l||this.resolveDataElementOptions(s,_.active?"active":n)),p||this.updateElement(_,s,y,n),M=L}}getMaxOverflow(){const e=this._cachedMeta,t=e.dataset,s=t.options&&t.options.borderWidth||0,n=e.data||[];if(!n.length)return s;const i=n[0].size(this.resolveDataElementOptions(0)),a=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(s,i,a)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}},PieController:class extends Pn{static id="pie";static defaults={cutout:0,rotation:0,circumference:360,radius:"100%"}},PolarAreaController:An,RadarController:class extends Yn{static id="radar";static defaults={datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}};static overrides={aspectRatio:1,scales:{r:{type:"radialLinear"}}};getLabelAndValue(e){const t=this._cachedMeta.vScale,s=this.getParsed(e);return{label:t.getLabels()[e],value:""+t.getLabelForValue(s[t.axis])}}parseObjectData(e,t,s,n){return ws.bind(this)(e,t,s,n)}update(e){const t=this._cachedMeta,s=t.dataset,n=t.data||[],i=t.iScale.getLabels();if(s.points=n,"resize"!==e){const t=this.resolveDatasetElementOptions(e);this.options.showLine||(t.borderWidth=0);const a={_loop:!0,_fullLoop:i.length===n.length,options:t};this.updateElement(s,void 0,a,e)}this.updateElements(n,0,n.length,e)}updateElements(e,t,s,n){const i=this._cachedMeta.rScale,a="reset"===n;for(let r=t;r0&&this.getParsed(t-1);for(let l=t;l0&&Math.abs(s[h]-y[h])>p,f&&(m.parsed=s,m.raw=d.data[l]),c&&(m.options=u||this.resolveDataElementOptions(l,t.active?"active":n)),g||this.updateElement(t,l,m,n),y=s}this.updateSharedOptions(u,n,l)}getMaxOverflow(){const e=this._cachedMeta,t=e.data||[];if(!this.options.showLine){let e=0;for(let s=t.length-1;s>=0;--s)e=Math.max(e,t[s].size(this.resolveDataElementOptions(s))/2);return e>0&&e}const s=e.dataset,n=s.options&&s.options.borderWidth||0;if(!t.length)return n;const i=t[0].size(this.resolveDataElementOptions(0)),a=t[t.length-1].size(this.resolveDataElementOptions(t.length-1));return Math.max(n,i,a)/2}}});function Cn(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class Fn{static override(e){Object.assign(Fn.prototype,e)}options;constructor(e){this.options=e||{}}init(){}formats(){return Cn()}parse(){return Cn()}format(){return Cn()}add(){return Cn()}diff(){return Cn()}startOf(){return Cn()}endOf(){return Cn()}}var Rn={_date:Fn};function Wn(e,t,s,n){const{controller:i,data:a,_sorted:r}=e,o=i._cachedMeta.iScale;if(o&&t===o.axis&&"r"!==t&&r&&a.length){const e=o._reversePixels?ht:ct;if(!n)return e(a,t,s);if(i._sharedOptions){const n=a[0],i="function"==typeof n.getRange&&n.getRange(t);if(i){const n=e(a,t,s-i),r=e(a,t,s+i);return{lo:n.lo,hi:r.hi}}}}return{lo:0,hi:a.length-1}}function zn(e,t,s,n,i){const a=e.getSortedVisibleDatasetMetas(),r=s[t];for(let e=0,s=a.length;e{e[r](t[s],i)&&(a.push({element:e,datasetIndex:n,index:d}),o=o||e.inRange(t.x,t.y,i))})),n&&!o?[]:a}var Un={evaluateInteractionItems:zn,modes:{index(e,t,s,n){const i=Ns(t,e),a=s.axis||"x",r=s.includeInvisible||!1,o=s.intersect?Nn(e,i,a,n,r):Vn(e,i,a,!1,n,r),d=[];return o.length?(e.getSortedVisibleDatasetMetas().forEach((e=>{const t=o[0].index,s=e.data[t];s&&!s.skip&&d.push({element:s,datasetIndex:e.index,index:t})})),d):[]},dataset(e,t,s,n){const i=Ns(t,e),a=s.axis||"xy",r=s.includeInvisible||!1;let o=s.intersect?Nn(e,i,a,n,r):Vn(e,i,a,!1,n,r);if(o.length>0){const t=o[0].datasetIndex,s=e.getDatasetMeta(t).data;o=[];for(let e=0;eNn(e,Ns(t,e),s.axis||"xy",n,s.includeInvisible||!1),nearest(e,t,s,n){const i=Ns(t,e),a=s.axis||"xy",r=s.includeInvisible||!1;return Vn(e,i,a,s.intersect,n,r)},x:(e,t,s,n)=>$n(e,Ns(t,e),"x",s.intersect,n),y:(e,t,s,n)=>$n(e,Ns(t,e),"y",s.intersect,n)}};const Bn=["left","top","right","bottom"];function Jn(e,t){return e.filter((e=>e.pos===t))}function Gn(e,t){return e.filter((e=>-1===Bn.indexOf(e.pos)&&e.box.axis===t))}function qn(e,t){return e.sort(((e,s)=>{const n=t?s:e,i=t?e:s;return n.weight===i.weight?n.index-i.index:n.weight-i.weight}))}function Kn(e,t){const s=function(e){const t={};for(const s of e){const{stack:e,pos:n,stackWeight:i}=s;if(!e||!Bn.includes(n))continue;const a=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=i}return t}(e),{vBoxMaxWidth:n,hBoxMaxHeight:i}=t;let a,r,o;for(a=0,r=e.length;a{n[e]=Math.max(t[e],s[e])})),n}return n(e?["left","right"]:["top","bottom"])}function ti(e,t,s,n){const i=[];let a,r,o,d,l,u;for(a=0,r=e.length,l=0;ae.box.fullSize)),!0),n=qn(Jn(t,"left"),!0),i=qn(Jn(t,"right")),a=qn(Jn(t,"top"),!0),r=qn(Jn(t,"bottom")),o=Gn(t,"x"),d=Gn(t,"y");return{fullSize:s,leftAndTop:n.concat(a),rightAndBottom:i.concat(d).concat(r).concat(o),chartArea:Jn(t,"chartArea"),vertical:n.concat(i).concat(d),horizontal:a.concat(r).concat(o)}}(e.boxes),d=o.vertical,l=o.horizontal;we(e.boxes,(e=>{"function"==typeof e.beforeLayout&&e.beforeLayout()}));const u=d.reduce(((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1),0)||1,c=Object.freeze({outerWidth:t,outerHeight:s,padding:i,availableWidth:a,availableHeight:r,vBoxMaxWidth:a/2/u,hBoxMaxHeight:r/2}),h=Object.assign({},i);Xn(h,ls(n));const _=Object.assign({maxPadding:h,w:a,h:r,x:i.left,y:i.top},i),m=Kn(d.concat(l),c);ti(o.fullSize,_,c,m),ti(d,_,c,m),ti(l,_,c,m)&&ti(d,_,c,m),function(e){const t=e.maxPadding;function s(s){const n=Math.max(t[s]-e[s],0);return e[s]+=n,n}e.y+=s("top"),e.x+=s("left"),s("right"),s("bottom")}(_),ni(o.leftAndTop,_,c,m),_.x+=_.w,_.y+=_.h,ni(o.rightAndBottom,_,c,m),e.chartArea={left:_.left,top:_.top,right:_.left+_.w,bottom:_.top+_.h,height:_.h,width:_.w},we(o.chartArea,(t=>{const s=t.box;Object.assign(s,e.chartArea),s.update(_.w,_.h,{left:0,top:0,right:0,bottom:0})}))}};class ai{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,s){}removeEventListener(e,t,s){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,s,n){return t=Math.max(0,t||e.width),s=s||e.height,{width:t,height:Math.max(0,n?Math.floor(t/n):s)}}isAttached(e){return!0}updateConfig(e){}}class ri extends ai{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const oi="$chartjs",di={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},li=e=>null===e||""===e;const ui=!!Us&&{passive:!0};function ci(e,t,s){e&&e.canvas&&e.canvas.removeEventListener(t,s,ui)}function hi(e,t){for(const s of e)if(s===t||s.contains(t))return!0}function _i(e,t,s){const n=e.canvas,i=new MutationObserver((e=>{let t=!1;for(const s of e)t=t||hi(s.addedNodes,n),t=t&&!hi(s.removedNodes,n);t&&s()}));return i.observe(document,{childList:!0,subtree:!0}),i}function mi(e,t,s){const n=e.canvas,i=new MutationObserver((e=>{let t=!1;for(const s of e)t=t||hi(s.removedNodes,n),t=t&&!hi(s.addedNodes,n);t&&s()}));return i.observe(document,{childList:!0,subtree:!0}),i}const fi=new Map;let pi=0;function gi(){const e=window.devicePixelRatio;e!==pi&&(pi=e,fi.forEach(((t,s)=>{s.currentDevicePixelRatio!==e&&t()})))}function yi(e,t,s){const n=e.canvas,i=n&&Es(n);if(!i)return;const a=gt(((e,t)=>{const n=i.clientWidth;s(e,t),n{const t=e[0],s=t.contentRect.width,n=t.contentRect.height;0===s&&0===n||a(s,n)}));return r.observe(i),function(e,t){fi.size||window.addEventListener("resize",gi),fi.set(e,t)}(e,a),r}function Mi(e,t,s){s&&s.disconnect(),"resize"===t&&function(e){fi.delete(e),fi.size||window.removeEventListener("resize",gi)}(e)}function Li(e,t,s){const n=e.canvas,i=gt((t=>{null!==e.ctx&&s(function(e,t){const s=di[e.type]||e.type,{x:n,y:i}=Ns(e,t);return{type:s,chart:t,native:e,x:void 0!==n?n:null,y:void 0!==i?i:null}}(t,e))}),e);return function(e,t,s){e&&e.addEventListener(t,s,ui)}(n,t,i),i}class bi extends ai{acquireContext(e,t){const s=e&&e.getContext&&e.getContext("2d");return s&&s.canvas===e?(function(e,t){const s=e.style,n=e.getAttribute("height"),i=e.getAttribute("width");if(e[oi]={initial:{height:n,width:i,style:{display:s.display,height:s.height,width:s.width}}},s.display=s.display||"block",s.boxSizing=s.boxSizing||"border-box",li(i)){const t=Bs(e,"width");void 0!==t&&(e.width=t)}if(li(n))if(""===e.style.height)e.height=e.width/(t||2);else{const t=Bs(e,"height");void 0!==t&&(e.height=t)}}(e,t),s):null}releaseContext(e){const t=e.canvas;if(!t[oi])return!1;const s=t[oi].initial;["height","width"].forEach((e=>{const n=s[e];ye(n)?t.removeAttribute(e):t.setAttribute(e,n)}));const n=s.style||{};return Object.keys(n).forEach((e=>{t.style[e]=n[e]})),t.width=t.width,delete t[oi],!0}addEventListener(e,t,s){this.removeEventListener(e,t);const n=e.$proxies||(e.$proxies={}),i={attach:_i,detach:mi,resize:yi}[t]||Li;n[t]=i(e,t,s)}removeEventListener(e,t){const s=e.$proxies||(e.$proxies={}),n=s[t];if(!n)return;({attach:Mi,detach:Mi,resize:Mi}[t]||ci)(e,t,n),s[t]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,s,n){return Vs(e,t,s,n)}isAttached(e){const t=e&&Es(e);return!(!t||!t.isConnected)}}class vi{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:t,y:s}=this.getProps(["x","y"],e);return{x:t,y:s}}hasValue(){return Xe(this.x)&&Xe(this.y)}getProps(e,t){const s=this.$animations;if(!t||!s)return this;const n={};return e.forEach((e=>{n[e]=s[e]&&s[e].active()?s[e]._to:this[e]})),n}}function ki(e,t){const s=e.options.ticks,n=function(e){const t=e.options.offset,s=e._tickSize(),n=e._length/s+(t?0:1),i=e._maxLength/s;return Math.floor(Math.min(n,i))}(e),i=Math.min(s.maxTicksLimit||n,n),a=s.major.enabled?function(e){const t=[];let s,n;for(s=0,n=e.length;si)return function(e,t,s,n){let i,a=0,r=s[0];for(n=Math.ceil(n),i=0;ie-t)).pop(),t}(n);for(let e=0,t=a.length-1;ei)return t}return Math.max(i,1)}(a,t,i);if(r>0){let e,s;const n=r>1?Math.round((d-o)/(r-1)):null;for(Yi(t,l,u,ye(n)?0:o-n,o),e=0,s=r-1;e"top"===t||"left"===t?e[t]+s:e[t]-s,wi=(e,t)=>Math.min(t||e,e);function Di(e,t){const s=[],n=e.length/t,i=e.length;let a=0;for(;ar+o)))return l}function Si(e){return e.drawTicks?e.tickLength:0}function ji(e,t){if(!e.display)return 0;const s=us(e.font,t),n=ls(e.padding);return(Me(e.text)?e.text.length:1)*s.lineHeight+n.height}function Hi(e,t,s){let n=yt(e);return(s&&"right"!==t||!s&&"right"===t)&&(n=(e=>"left"===e?"right":"right"===e?"left":e)(n)),n}class Oi extends vi{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:s,_suggestedMax:n}=this;return e=ve(e,Number.POSITIVE_INFINITY),t=ve(t,Number.NEGATIVE_INFINITY),s=ve(s,Number.POSITIVE_INFINITY),n=ve(n,Number.NEGATIVE_INFINITY),{min:ve(e,s),max:ve(t,n),minDefined:be(e),maxDefined:be(t)}}getMinMax(e){let t,{min:s,max:n,minDefined:i,maxDefined:a}=this.getUserBounds();if(i&&a)return{min:s,max:n};const r=this.getMatchingVisibleMetas();for(let o=0,d=r.length;on?n:s,n=i&&s>n?s:n,{min:ve(s,ve(n,s)),max:ve(n,ve(s,n))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){xe(this.options.beforeUpdate,[this])}update(e,t,s){const{beginAtZero:n,grace:i,ticks:a}=this.options,r=a.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=s=Object.assign({left:0,right:0,top:0,bottom:0},s),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+s.left+s.right:this.height+s.top+s.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(e,t,s){const{min:n,max:i}=e,a=Ye(t,(i-n)/2),r=(e,t)=>s&&0===e?0:e+t;return{min:r(n,-Math.abs(a)),max:r(i,a)}}(this,i,n),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const o=r=i||s<=1||!this.isHorizontal())return void(this.labelRotation=n);const l=this._getLabelSizes(),u=l.widest.width,c=l.highest.height,h=dt(this.chart.width-u,0,this.maxWidth);a=e.offset?this.maxWidth/s:h/(s-1),u+6>a&&(a=h/(s-(e.offset?.5:1)),r=this.maxHeight-Si(e.grid)-t.padding-ji(e.title,this.chart.options.font),o=Math.sqrt(u*u+c*c),d=tt(Math.min(Math.asin(dt((l.highest.height+6)/a,-1,1)),Math.asin(dt(r/o,-1,1))-Math.asin(dt(c/o,-1,1)))),d=Math.max(n,Math.min(i,d))),this.labelRotation=d}afterCalculateLabelRotation(){xe(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){xe(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:s,title:n,grid:i}}=this,a=this._isVisible(),r=this.isHorizontal();if(a){const a=ji(n,t.options.font);if(r?(e.width=this.maxWidth,e.height=Si(i)+a):(e.height=this.maxHeight,e.width=Si(i)+a),s.display&&this.ticks.length){const{first:t,last:n,widest:i,highest:a}=this._getLabelSizes(),o=2*s.padding,d=et(this.labelRotation),l=Math.cos(d),u=Math.sin(d);if(r){const t=s.mirror?0:u*i.width+l*a.height;e.height=Math.min(this.maxHeight,e.height+t+o)}else{const t=s.mirror?0:l*i.width+u*a.height;e.width=Math.min(this.maxWidth,e.width+t+o)}this._calculatePadding(t,n,u,l)}}this._handleMargins(),r?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,s,n){const{ticks:{align:i,padding:a},position:r}=this.options,o=0!==this.labelRotation,d="top"!==r&&"x"===this.axis;if(this.isHorizontal()){const r=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,c=0;o?d?(u=n*e.width,c=s*t.height):(u=s*e.height,c=n*t.width):"start"===i?c=t.width:"end"===i?u=e.width:"inner"!==i&&(u=e.width/2,c=t.width/2),this.paddingLeft=Math.max((u-r+a)*this.width/(this.width-r),0),this.paddingRight=Math.max((c-l+a)*this.width/(this.width-l),0)}else{let s=t.height/2,n=e.height/2;"start"===i?(s=0,n=e.height):"end"===i&&(s=t.height,n=0),this.paddingTop=s+a,this.paddingBottom=n+a}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){xe(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,s;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,s=e.length;t{const s=e.gc,n=s.length/2;let i;if(n>t){for(i=0;i({width:a[e]||0,height:r[e]||0});return{first:k(0),last:k(t-1),widest:k(b),highest:k(v),widths:a,heights:r}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return dt(this._alignToPixels?Vt(this.chart,t,0):t,-32768,32767)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&er*n?r/s:o/n:o*n0}_computeGridLineItems(e){const t=this.axis,s=this.chart,n=this.options,{grid:i,position:a,border:r}=n,o=i.offset,d=this.isHorizontal(),l=this.ticks.length+(o?1:0),u=Si(i),c=[],h=r.setContext(this.getContext()),_=h.display?h.width:0,m=_/2,f=function(e){return Vt(s,e,_)};let p,g,y,M,L,b,v,k,Y,x,w,D;if("top"===a)p=f(this.bottom),b=this.bottom-u,k=p-m,x=f(e.top)+m,D=e.bottom;else if("bottom"===a)p=f(this.top),x=e.top,D=f(e.bottom)-m,b=p+m,k=this.top+u;else if("left"===a)p=f(this.right),L=this.right-u,v=p-m,Y=f(e.left)+m,w=e.right;else if("right"===a)p=f(this.left),Y=e.left,w=f(e.right)-m,L=p+m,v=this.left+u;else if("x"===t){if("center"===a)p=f((e.top+e.bottom)/2+.5);else if(Le(a)){const e=Object.keys(a)[0],t=a[e];p=f(this.chart.scales[e].getPixelForValue(t))}x=e.top,D=e.bottom,b=p+m,k=b+u}else if("y"===t){if("center"===a)p=f((e.left+e.right)/2);else if(Le(a)){const e=Object.keys(a)[0],t=a[e];p=f(this.chart.scales[e].getPixelForValue(t))}L=p-m,v=L-u,Y=e.left,w=e.right}const T=ke(n.ticks.maxTicksLimit,l),S=Math.max(1,Math.ceil(l/T));for(g=0;g0&&(a-=n/2)}c={left:a,top:i,width:n+t.width,height:s+t.height,color:e.backdropColor}}f.push({label:M,font:Y,textOffset:D,options:{rotation:m,color:s,strokeColor:o,strokeWidth:l,textAlign:h,textBaseline:T,translation:[L,b],backdrop:c}})}return f}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-et(this.labelRotation))return"top"===e?"left":"right";let s="center";return"start"===t.align?s="left":"end"===t.align?s="right":"inner"===t.align&&(s="inner"),s}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:s,mirror:n,padding:i}}=this.options,a=e+i,r=this._getLabelSizes().widest.width;let o,d;return"left"===t?n?(d=this.right+i,"near"===s?o="left":"center"===s?(o="center",d+=r/2):(o="right",d+=r)):(d=this.right-a,"near"===s?o="right":"center"===s?(o="center",d-=r/2):(o="left",d=this.left)):"right"===t?n?(d=this.left+i,"near"===s?o="right":"center"===s?(o="center",d-=r/2):(o="left",d-=r)):(d=this.left+a,"near"===s?o="left":"center"===s?(o="center",d+=r/2):(o="right",d=this.right)):o="right",{textAlign:o,x:d}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:s,top:n,width:i,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(s,n,i,a),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const s=this.ticks.findIndex((t=>t.value===e));if(s>=0){return t.setContext(this.getContext(s)).lineWidth}return 0}drawGrid(e){const t=this.options.grid,s=this.ctx,n=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,a;const r=(e,t,n)=>{n.width&&n.color&&(s.save(),s.lineWidth=n.width,s.strokeStyle=n.color,s.setLineDash(n.borderDash||[]),s.lineDashOffset=n.borderDashOffset,s.beginPath(),s.moveTo(e.x,e.y),s.lineTo(t.x,t.y),s.stroke(),s.restore())};if(t.display)for(i=0,a=n.length;i{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:n,draw:()=>{this.drawBorder()}},{z:t,draw:e=>{this.drawLabels(e)}}]:[{z:t,draw:e=>{this.draw(e)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),s=this.axis+"AxisID",n=[];let i,a;for(i=0,a=t.length;i{const n=s.split("."),i=n.pop(),a=[e].concat(n).join("."),r=t[s].split("."),o=r.pop(),d=r.join(".");zt.route(a,i,d,o)}))}(t,e.defaultRoutes);e.descriptors&&zt.describe(t,e.descriptors)}(e,a,s),this.override&&zt.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const t=this.items,s=e.id,n=this.scope;s in t&&delete t[s],n&&s in zt[n]&&(delete zt[n][s],this.override&&delete Et[s])}}class Ai{constructor(){this.controllers=new Pi(Yn,"datasets",!0),this.elements=new Pi(vi,"elements"),this.plugins=new Pi(Object,"plugins"),this.scales=new Pi(Oi,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,s){[...t].forEach((t=>{const n=s||this._getRegistryForType(t);s||n.isForType(t)||n===this.plugins&&t.id?this._exec(e,n,t):we(t,(t=>{const n=s||this._getRegistryForType(t);this._exec(e,n,t)}))}))}_exec(e,t,s){const n=Ce(e);xe(s["before"+n],[],s),t[e](s),xe(s["after"+n],[],s)}_getRegistryForType(e){for(let t=0;te.filter((e=>!t.some((t=>e.plugin.id===t.plugin.id))));this._notify(n(t,s),e,"stop"),this._notify(n(s,t),e,"start")}}function Fi(e,t){return t||!1!==e?!0===e?{}:e:null}function Ri(e,{plugin:t,local:s},n,i){const a=e.pluginScopeKeys(t),r=e.getOptionScopes(n,a);return s&&t.defaults&&r.push(t.defaults),e.createResolver(r,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Wi(e,t){const s=zt.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||s.indexAxis||"x"}function zi(e){if("x"===e||"y"===e||"r"===e)return e}function Ni(e,...t){if(zi(e))return e;for(const n of t){const t=n.axis||("top"===(s=n.position)||"bottom"===s?"x":"left"===s||"right"===s?"y":void 0)||e.length>1&&zi(e[0].toLowerCase());if(t)return t}var s;throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function Ii(e,t,s){if(s[t+"AxisID"]===e)return{axis:t}}function Vi(e,t){const s=Et[e.type]||{scales:{}},n=t.scales||{},i=Wi(e.type,t),a=Object.create(null);return Object.keys(n).forEach((t=>{const r=n[t];if(!Le(r))return console.error(`Invalid scale configuration for scale: ${t}`);if(r._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const o=Ni(t,r,function(e,t){if(t.data&&t.data.datasets){const s=t.data.datasets.filter((t=>t.xAxisID===e||t.yAxisID===e));if(s.length)return Ii(e,"x",s[0])||Ii(e,"y",s[0])}return{}}(t,e),zt.scales[r.type]),d=function(e,t){return e===t?"_index_":"_value_"}(o,i),l=s.scales||{};a[t]=Oe(Object.create(null),[{axis:o},r,l[o],l[d]])})),e.data.datasets.forEach((s=>{const i=s.type||e.type,r=s.indexAxis||Wi(i,t),o=(Et[i]||{}).scales||{};Object.keys(o).forEach((e=>{const t=function(e,t){let s=e;return"_index_"===e?s=t:"_value_"===e&&(s="x"===t?"y":"x"),s}(e,r),i=s[t+"AxisID"]||t;a[i]=a[i]||Object.create(null),Oe(a[i],[{axis:t},n[i],o[e]])}))})),Object.keys(a).forEach((e=>{const t=a[e];Oe(t,[zt.scales[t.type],zt.scale])})),a}function $i(e){const t=e.options||(e.options={});t.plugins=ke(t.plugins,{}),t.scales=Vi(e,t)}function Ui(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}const Bi=new Map,Ji=new Set;function Gi(e,t){let s=Bi.get(e);return s||(s=t(),Bi.set(e,s),Ji.add(s)),s}const qi=(e,t,s)=>{const n=Ee(t,s);void 0!==n&&e.add(n)};class Ki{constructor(e){this._config=function(e){return(e=e||{}).data=Ui(e.data),$i(e),e}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Ui(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),$i(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Gi(e,(()=>[[`datasets.${e}`,""]]))}datasetAnimationScopeKeys(e,t){return Gi(`${e}.transition.${t}`,(()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]]))}datasetElementScopeKeys(e,t){return Gi(`${e}-${t}`,(()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]]))}pluginScopeKeys(e){const t=e.id;return Gi(`${this.type}-plugin-${t}`,(()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]]))}_cachedScopes(e,t){const s=this._scopeCache;let n=s.get(e);return n&&!t||(n=new Map,s.set(e,n)),n}getOptionScopes(e,t,s){const{options:n,type:i}=this,a=this._cachedScopes(e,s),r=a.get(t);if(r)return r;const o=new Set;t.forEach((t=>{e&&(o.add(e),t.forEach((t=>qi(o,e,t)))),t.forEach((e=>qi(o,n,e))),t.forEach((e=>qi(o,Et[i]||{},e))),t.forEach((e=>qi(o,zt,e))),t.forEach((e=>qi(o,Ct,e)))}));const d=Array.from(o);return 0===d.length&&d.push(Object.create(null)),Ji.has(t)&&a.set(t,d),d}chartOptionScopes(){const{options:e,type:t}=this;return[e,Et[t]||{},zt.datasets[t]||{},{type:t},zt,Ct]}resolveNamedOptions(e,t,s,n=[""]){const i={$shared:!0},{resolver:a,subPrefixes:r}=Zi(this._resolverCache,e,n);let o=a;if(function(e,t){const{isScriptable:s,isIndexable:n}=fs(e);for(const i of t){const t=s(i),a=n(i),r=(a||t)&&e[i];if(t&&(Re(r)||Xi(r))||a&&Me(r))return!0}return!1}(a,t)){i.$shared=!1;o=ms(a,s=Re(s)?s():s,this.createResolver(e,s,r))}for(const e of t)i[e]=o[e];return i}createResolver(e,t,s=[""],n){const{resolver:i}=Zi(this._resolverCache,e,s);return Le(t)?ms(i,t,void 0,n):i}}function Zi(e,t,s){let n=e.get(t);n||(n=new Map,e.set(t,n));const i=s.join();let a=n.get(i);if(!a){a={resolver:_s(t,s),subPrefixes:s.filter((e=>!e.toLowerCase().includes("hover")))},n.set(i,a)}return a}const Xi=e=>Le(e)&&Object.getOwnPropertyNames(e).some((t=>Re(e[t])));const Qi=["top","bottom","left","right","chartArea"];function ea(e,t){return"top"===e||"bottom"===e||-1===Qi.indexOf(e)&&"x"===t}function ta(e,t){return function(s,n){return s[e]===n[e]?s[t]-n[t]:s[e]-n[e]}}function sa(e){const t=e.chart,s=t.options.animation;t.notifyPlugins("afterRender"),xe(s&&s.onComplete,[e],t)}function na(e){const t=e.chart,s=t.options.animation;xe(s&&s.onProgress,[e],t)}function ia(e){return As()&&"string"==typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const aa={},ra=e=>{const t=ia(e);return Object.values(aa).filter((e=>e.canvas===t)).pop()};function oa(e,t,s){const n=Object.keys(e);for(const i of n){const n=+i;if(n>=t){const a=e[i];delete e[i],(s>0||n>t)&&(e[n+s]=a)}}}function da(e,t,s){return e.options.clip?e[s]:t[s]}class la{static defaults=zt;static instances=aa;static overrides=Et;static registry=Ei;static version="4.4.3";static getChart=ra;static register(...e){Ei.add(...e),ua()}static unregister(...e){Ei.remove(...e),ua()}constructor(e,t){const s=this.config=new Ki(t),n=ia(e),i=ra(n);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const a=s.createResolver(s.chartOptionScopes(),this.getContext());this.platform=new(s.platform||function(e){return!As()||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?ri:bi}(n)),this.platform.updateConfig(s);const r=this.platform.acquireContext(n,a.aspectRatio),o=r&&r.canvas,d=o&&o.height,l=o&&o.width;this.id=ge(),this.ctx=r,this.canvas=o,this.width=l,this.height=d,this._options=a,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Ci,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){let s;return function(...n){return t?(clearTimeout(s),s=setTimeout(e,t,n)):e.apply(this,n),t}}((e=>this.update(e)),a.resizeDelay||0),this._dataChanges=[],aa[this.id]=this,r&&o?(dn.listen(this,"complete",sa),dn.listen(this,"progress",na),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:s,height:n,_aspectRatio:i}=this;return ye(e)?t&&i?i:n?s/n:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Ei}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():$s(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return $t(this.canvas,this.ctx),this}stop(){return dn.stop(this),this}resize(e,t){dn.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const s=this.options,n=this.canvas,i=s.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(n,e,t,i),r=s.devicePixelRatio||this.platform.getDevicePixelRatio(),o=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,$s(this,r,!0)&&(this.notifyPlugins("resize",{size:a}),xe(s.onResize,[this,a],this),this.attached&&this._doResize(o)&&this.render())}ensureScalesHaveIDs(){we(this.options.scales||{},((e,t)=>{e.id=t}))}buildOrUpdateScales(){const e=this.options,t=e.scales,s=this.scales,n=Object.keys(s).reduce(((e,t)=>(e[t]=!1,e)),{});let i=[];t&&(i=i.concat(Object.keys(t).map((e=>{const s=t[e],n=Ni(e,s),i="r"===n,a="x"===n;return{options:s,dposition:i?"chartArea":a?"bottom":"left",dtype:i?"radialLinear":a?"category":"linear"}})))),we(i,(t=>{const i=t.options,a=i.id,r=Ni(a,i),o=ke(i.type,t.dtype);void 0!==i.position&&ea(i.position,r)===ea(t.dposition)||(i.position=t.dposition),n[a]=!0;let d=null;if(a in s&&s[a].type===o)d=s[a];else{d=new(Ei.getScale(o))({id:a,type:o,ctx:this.ctx,chart:this}),s[d.id]=d}d.init(i,e)})),we(n,((e,t)=>{e||delete s[t]})),we(s,(e=>{ii.configure(this,e,e.options),ii.addBox(this,e)}))}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,s=e.length;if(e.sort(((e,t)=>e.index-t.index)),s>t){for(let e=t;et.length&&delete this._stacks,e.forEach(((e,s)=>{0===t.filter((t=>t===e._dataset)).length&&this._destroyDatasetMeta(s)}))}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let s,n;for(this._removeUnreferencedMetasets(),s=0,n=t.length;s{this.getDatasetMeta(t).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const s=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),n=this._animationsDisabled=!s.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let e=0,t=this.data.datasets.length;e{e.reset()})),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(ta("z","_idx"));const{_active:r,_lastEvent:o}=this;o?this._eventHandler(o,!0):r.length&&this._updateHoverStyles(r,r,!0),this.render()}_updateScales(){we(this.scales,(e=>{ii.removeBox(this,e)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),s=new Set(e.events);We(t,s)&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:s,start:n,count:i}of t){oa(e,n,"_removeElements"===s?-i:i)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,s=t=>new Set(e.filter((e=>e[0]===t)).map(((e,t)=>t+","+e.splice(1).join(",")))),n=s(0);for(let e=1;ee.split(","))).map((e=>({method:e[1],start:+e[2],count:+e[3]})))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;ii.update(this,this.width,this.height,e);const t=this.chartArea,s=t.width<=0||t.height<=0;this._layers=[],we(this.boxes,(e=>{s&&"chartArea"===e.position||(e.configure&&e.configure(),this._layers.push(...e._layers()))}),this),this._layers.forEach(((e,t)=>{e._idx=t})),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let e=0,t=this.data.datasets.length;e=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,s=e._clip,n=!s.disabled,i=function(e,t){const{xScale:s,yScale:n}=e;return s&&n?{left:da(s,t,"left"),right:da(s,t,"right"),top:da(n,t,"top"),bottom:da(n,t,"bottom")}:t}(e,this.chartArea),a={meta:e,index:e.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",a)&&(n&&Gt(t,{left:!1===s.left?0:i.left-s.left,right:!1===s.right?this.width:i.right+s.right,top:!1===s.top?0:i.top-s.top,bottom:!1===s.bottom?this.height:i.bottom+s.bottom}),e.controller.draw(),n&&qt(t),a.cancelable=!1,this.notifyPlugins("afterDatasetDraw",a))}isPointInArea(e){return Jt(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,s,n){const i=Un.modes[t];return"function"==typeof i?i(this,e,s,n):[]}getDatasetMeta(e){const t=this.data.datasets[e],s=this._metasets;let n=s.filter((e=>e&&e._dataset===t)).pop();return n||(n={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},s.push(n)),n}getContext(){return this.$context||(this.$context=hs(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const s=this.getDatasetMeta(e);return"boolean"==typeof s.hidden?!s.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,s){const n=s?"show":"hide",i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,n);Fe(t)?(i.data[t].hidden=!s,this.update()):(this.setDatasetVisibility(e,s),a.update(i,{visible:s}),this.update((t=>t.datasetIndex===e?n:void 0)))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),dn.remove(this),e=0,t=this.data.datasets.length;e{t.addEventListener(this,s,n),e[s]=n},n=(e,t,s)=>{e.offsetX=t,e.offsetY=s,this._eventHandler(e)};we(this.options.events,(e=>s(e,n)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,s=(s,n)=>{t.addEventListener(this,s,n),e[s]=n},n=(s,n)=>{e[s]&&(t.removeEventListener(this,s,n),delete e[s])},i=(e,t)=>{this.canvas&&this.resize(e,t)};let a;const r=()=>{n("attach",r),this.attached=!0,this.resize(),s("resize",i),s("detach",a)};a=()=>{this.attached=!1,n("resize",i),this._stop(),this._resize(0,0),s("attach",r)},t.isAttached(this.canvas)?r():a()}unbindEvents(){we(this._listeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._listeners={},we(this._responsiveListeners,((e,t)=>{this.platform.removeEventListener(this,t,e)})),this._responsiveListeners=void 0}updateHoverStyle(e,t,s){const n=s?"set":"remove";let i,a,r,o;for("dataset"===t&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+n+"DatasetHoverStyle"]()),r=0,o=e.length;r{const s=this.getDatasetMeta(e);if(!s)throw new Error("No dataset found at index "+e);return{datasetIndex:e,element:s.data[t],index:t}}));!De(s,t)&&(this._active=s,this._lastEvent=null,this._updateHoverStyles(s,t))}notifyPlugins(e,t,s){return this._plugins.notify(this,e,t,s)}isPluginEnabled(e){return 1===this._plugins._cache.filter((t=>t.plugin.id===e)).length}_updateHoverStyles(e,t,s){const n=this.options.hover,i=(e,t)=>e.filter((e=>!t.some((t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)))),a=i(t,e),r=s?e:i(e,t);a.length&&this.updateHoverStyle(a,n.mode,!1),r.length&&n.mode&&this.updateHoverStyle(r,n.mode,!0)}_eventHandler(e,t){const s={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},n=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",s,n))return;const i=this._handleEvent(e,t,s.inChartArea);return s.cancelable=!1,this.notifyPlugins("afterEvent",s,n),(i||s.changed)&&this.render(),this}_handleEvent(e,t,s){const{_active:n=[],options:i}=this,a=t,r=this._getActiveElements(e,n,s,a),o=function(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}(e),d=function(e,t,s,n){return s&&"mouseout"!==e.type?n?t:e:null}(e,this._lastEvent,s,o);s&&(this._lastEvent=null,xe(i.onHover,[e,r,this],this),o&&xe(i.onClick,[e,r,this],this));const l=!De(r,n);return(l||t)&&(this._active=r,this._updateHoverStyles(r,n,t)),this._lastEvent=d,l}_getActiveElements(e,t,s,n){if("mouseout"===e.type)return[];if(!s)return t;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,n)}}function ua(){return we(la.instances,(e=>e._plugins.invalidate()))}function ca(e,t,s,n){const i=rs(e.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const a=(s-t)/2,r=Math.min(a,n*t/2),o=e=>{const t=(s-Math.min(a,e))*n/2;return dt(e,0,Math.min(a,t))};return{outerStart:o(i.outerStart),outerEnd:o(i.outerEnd),innerStart:dt(i.innerStart,0,r),innerEnd:dt(i.innerEnd,0,r)}}function ha(e,t,s,n){return{x:s+e*Math.cos(t),y:n+e*Math.sin(t)}}function _a(e,t,s,n,i,a){const{x:r,y:o,startAngle:d,pixelMargin:l,innerRadius:u}=t,c=Math.max(t.outerRadius+n+s-l,0),h=u>0?u+n+s+l:0;let _=0;const m=i-d;if(n){const e=((u>0?u-n:0)+(c>0?c-n:0))/2;_=(m-(0!==e?m*e/(e+n):m))/2}const f=(m-Math.max(.001,m*c-s/ze)/c)/2,p=d+f+_,g=i-f-_,{outerStart:y,outerEnd:M,innerStart:L,innerEnd:b}=ca(t,h,c,g-p),v=c-y,k=c-M,Y=p+y/v,x=g-M/k,w=h+L,D=h+b,T=p+L/w,S=g-b/D;if(e.beginPath(),a){const t=(Y+x)/2;if(e.arc(r,o,c,Y,t),e.arc(r,o,c,t,x),M>0){const t=ha(k,x,r,o);e.arc(t.x,t.y,M,x,g+Ue)}const s=ha(D,g,r,o);if(e.lineTo(s.x,s.y),b>0){const t=ha(D,S,r,o);e.arc(t.x,t.y,b,g+Ue,S+Math.PI)}const n=(g-b/h+(p+L/h))/2;if(e.arc(r,o,h,g-b/h,n,!0),e.arc(r,o,h,n,p+L/h,!0),L>0){const t=ha(w,T,r,o);e.arc(t.x,t.y,L,T+Math.PI,p-Ue)}const i=ha(v,p,r,o);if(e.lineTo(i.x,i.y),y>0){const t=ha(v,Y,r,o);e.arc(t.x,t.y,y,p-Ue,Y)}}else{e.moveTo(r,o);const t=Math.cos(Y)*c+r,s=Math.sin(Y)*c+o;e.lineTo(t,s);const n=Math.cos(x)*c+r,i=Math.sin(x)*c+o;e.lineTo(n,i)}e.closePath()}function ma(e,t,s,n,i){const{fullCircles:a,startAngle:r,circumference:o,options:d}=t,{borderWidth:l,borderJoinStyle:u,borderDash:c,borderDashOffset:h}=d,_="inner"===d.borderAlign;if(!l)return;e.setLineDash(c||[]),e.lineDashOffset=h,_?(e.lineWidth=2*l,e.lineJoin=u||"round"):(e.lineWidth=l,e.lineJoin=u||"bevel");let m=t.endAngle;if(a){_a(e,t,s,n,m,i);for(let t=0;ti?(l=i/d,e.arc(a,r,d,s+l,n-l,!0)):e.arc(a,r,i,s+Ue,n-Ue),e.closePath(),e.clip()}(e,t,m),a||(_a(e,t,s,n,m,i),e.stroke())}function fa(e,t,s=t){e.lineCap=ke(s.borderCapStyle,t.borderCapStyle),e.setLineDash(ke(s.borderDash,t.borderDash)),e.lineDashOffset=ke(s.borderDashOffset,t.borderDashOffset),e.lineJoin=ke(s.borderJoinStyle,t.borderJoinStyle),e.lineWidth=ke(s.borderWidth,t.borderWidth),e.strokeStyle=ke(s.borderColor,t.borderColor)}function pa(e,t,s){e.lineTo(s.x,s.y)}function ga(e,t,s={}){const n=e.length,{start:i=0,end:a=n-1}=s,{start:r,end:o}=t,d=Math.max(i,r),l=Math.min(a,o),u=io&&a>o;return{count:n,start:d,loop:t.loop,ilen:l(r+(l?o-e:e))%a,M=()=>{_!==m&&(e.lineTo(p,m),e.lineTo(p,_),e.lineTo(p,f))};for(d&&(c=i[y(0)],e.moveTo(c.x,c.y)),u=0;u<=o;++u){if(c=i[y(u)],c.skip)continue;const t=c.x,s=c.y,n=0|t;n===h?(s<_?_=s:s>m&&(m=s),p=(g*p+t)/++g):(M(),e.lineTo(t,s),h=n,g=0,_=m=s),f=s}M()}function La(e){const t=e.options,s=t.borderDash&&t.borderDash.length;return!(e._decimated||e._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||s)?Ma:ya}const ba="function"==typeof Path2D;function va(e,t,s,n){ba&&!t.options.segment?function(e,t,s,n){let i=t._path;i||(i=t._path=new Path2D,t.path(i,s,n)&&i.closePath()),fa(e,t.options),e.stroke(i)}(e,t,s,n):function(e,t,s,n){const{segments:i,options:a}=t,r=La(t);for(const o of i)fa(e,a,o.style),e.beginPath(),r(e,t,o,{start:s,end:s+n-1})&&e.closePath(),e.stroke()}(e,t,s,n)}class ka extends vi{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){const s=this.options;if((s.tension||"monotone"===s.cubicInterpolationMode)&&!s.stepped&&!this._pointsUpdated){const n=s.spanGaps?this._loop:this._fullLoop;Ps(this._points,s,e,n,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(e,t){const s=e.points,n=e.options.spanGaps,i=s.length;if(!i)return[];const a=!!e._loop,{start:r,end:o}=function(e,t,s,n){let i=0,a=t-1;if(s&&!n)for(;ii&&e[a%t].skip;)a--;return a%=t,{start:i,end:a}}(s,i,a,n);return nn(e,!0===n?[{start:r,end:o,loop:a}]:function(e,t,s,n){const i=e.length,a=[];let r,o=t,d=e[t];for(r=t+1;r<=s;++r){const s=e[r%i];s.skip||s.stop?d.skip||(n=!1,a.push({start:t%i,end:(r-1)%i,loop:n}),t=o=s.stop?r:null):(o=r,d.skip&&(t=r)),d=s}return null!==o&&a.push({start:t%i,end:o%i,loop:n}),a}(s,r,o"borderDash"!==e};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,s){const n=this.getProps(["x","y"],s),{angle:i,distance:a}=nt(n,{x:e,y:t}),{startAngle:r,endAngle:o,innerRadius:d,outerRadius:l,circumference:u}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],s),c=(this.options.spacing+this.options.borderWidth)/2,h=ke(u,o-r)>=Ne||ot(i,r,o),_=lt(a,d+c,l+c);return h&&_}getCenterPoint(e){const{x:t,y:s,startAngle:n,endAngle:i,innerRadius:a,outerRadius:r}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:o,spacing:d}=this.options,l=(n+i)/2,u=(a+r+d+o)/2;return{x:t+Math.cos(l)*u,y:s+Math.sin(l)*u}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:t,circumference:s}=this,n=(t.offset||0)/4,i=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=s>Ne?Math.floor(s/Ne):0,0===s||this.innerRadius<0||this.outerRadius<0)return;e.save();const r=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(r)*n,Math.sin(r)*n);const o=n*(1-Math.sin(Math.min(ze,s||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,function(e,t,s,n,i){const{fullCircles:a,startAngle:r,circumference:o}=t;let d=t.endAngle;if(a){_a(e,t,s,n,d,i);for(let t=0;te.replace("rgb(","rgba(").replace(")",", 0.5)")));function Aa(e){return Oa[e%Oa.length]}function Ea(e){return Pa[e%Pa.length]}function Ca(e){let t=0;return(s,n)=>{const i=e.getDatasetMeta(n).controller;i instanceof Pn?t=function(e,t){return e.backgroundColor=e.data.map((()=>Aa(t++))),t}(s,t):i instanceof An?t=function(e,t){return e.backgroundColor=e.data.map((()=>Ea(t++))),t}(s,t):i&&(t=function(e,t){return e.borderColor=Aa(t),e.backgroundColor=Ea(t),++t}(s,t))}}function Fa(e){let t;for(t in e)if(e[t].borderColor||e[t].backgroundColor)return!0;return!1}var Ra={id:"colors",defaults:{enabled:!0,forceOverride:!1},beforeLayout(e,t,s){if(!s.enabled)return;const{data:{datasets:n},options:i}=e.config,{elements:a}=i;if(!s.forceOverride&&(Fa(n)||(r=i)&&(r.borderColor||r.backgroundColor)||a&&Fa(a)))return;var r;const o=Ca(e);n.forEach(o)}};function Wa(e){if(e._decimated){const t=e._data;delete e._decimated,delete e._data,Object.defineProperty(e,"data",{configurable:!0,enumerable:!0,writable:!0,value:t})}}function za(e){e.data.datasets.forEach((e=>{Wa(e)}))}var Na={id:"decimation",defaults:{algorithm:"min-max",enabled:!1},beforeElementsUpdate:(e,t,s)=>{if(!s.enabled)return void za(e);const n=e.width;e.data.datasets.forEach(((t,i)=>{const{_data:a,indexAxis:r}=t,o=e.getDatasetMeta(i),d=a||t.data;if("y"===cs([r,e.options.indexAxis]))return;if(!o.controller.supportsDecimation)return;const l=e.scales[o.xAxisID];if("linear"!==l.type&&"time"!==l.type)return;if(e.options.parsing)return;let{start:u,count:c}=function(e,t){const s=t.length;let n,i=0;const{iScale:a}=e,{min:r,max:o,minDefined:d,maxDefined:l}=a.getUserBounds();return d&&(i=dt(ct(t,a.axis,r).lo,0,s-1)),n=l?dt(ct(t,a.axis,o).hi+1,i,s)-i:s-i,{start:i,count:n}}(o,d);if(c<=(s.threshold||4*n))return void Wa(t);let h;switch(ye(a)&&(t._data=d,delete t.data,Object.defineProperty(t,"data",{configurable:!0,enumerable:!0,get:function(){return this._decimated},set:function(e){this._data=e}})),s.algorithm){case"lttb":h=function(e,t,s,n,i){const a=i.samples||n;if(a>=s)return e.slice(t,t+s);const r=[],o=(s-2)/(a-2);let d=0;const l=t+s-1;let u,c,h,_,m,f=t;for(r[d++]=e[f],u=0;uh&&(h=_,c=e[n],m=n);r[d++]=c,f=m}return r[d++]=e[l],r}(d,u,c,n,s);break;case"min-max":h=function(e,t,s,n){let i,a,r,o,d,l,u,c,h,_,m=0,f=0;const p=[],g=t+s-1,y=e[t].x,M=e[g].x-y;for(i=t;i_&&(_=o,u=i),m=(f*m+a.x)/++f;else{const s=i-1;if(!ye(l)&&!ye(u)){const t=Math.min(l,u),n=Math.max(l,u);t!==c&&t!==s&&p.push({...e[t],x:m}),n!==c&&n!==s&&p.push({...e[n],x:m})}i>0&&s!==c&&p.push(e[s]),p.push(a),d=t,f=0,h=_=o,l=u=c=i}}return p}(d,u,c,n);break;default:throw new Error(`Unsupported decimation algorithm '${s.algorithm}'`)}t._decimated=h}))},destroy(e){za(e)}};function Ia(e,t,s,n){if(n)return;let i=t[e],a=s[e];return"angle"===e&&(i=rt(i),a=rt(a)),{property:e,start:i,end:a}}function Va(e,t,s){for(;t>e;t--){const e=s[t];if(!isNaN(e.x)&&!isNaN(e.y))break}return t}function $a(e,t,s,n){return e&&t?n(e[s],t[s]):e?e[s]:t?t[s]:0}function Ua(e,t){let s=[],n=!1;return Me(e)?(n=!0,s=e):s=function(e,t){const{x:s=null,y:n=null}=e||{},i=t.points,a=[];return t.segments.forEach((({start:e,end:t})=>{t=Va(e,t,i);const r=i[e],o=i[t];null!==n?(a.push({x:r.x,y:n}),a.push({x:o.x,y:n})):null!==s&&(a.push({x:s,y:r.y}),a.push({x:s,y:o.y}))})),a}(e,t),s.length?new ka({points:s,options:{tension:0},_loop:n,_fullLoop:n}):null}function Ba(e){return e&&!1!==e.fill}function Ja(e,t,s){let n=e[t].fill;const i=[t];let a;if(!s)return n;for(;!1!==n&&-1===i.indexOf(n);){if(!be(n))return n;if(a=e[n],!a)return!1;if(a.visible)return n;i.push(n),n=a.fill}return!1}function Ga(e,t,s){const n=function(e){const t=e.options,s=t.fill;let n=ke(s&&s.target,s);void 0===n&&(n=!!t.backgroundColor);if(!1===n||null===n)return!1;if(!0===n)return"origin";return n}(e);if(Le(n))return!isNaN(n.value)&&n;let i=parseFloat(n);return be(i)&&Math.floor(i)===i?function(e,t,s,n){"-"!==e&&"+"!==e||(s=t+s);if(s===t||s<0||s>=n)return!1;return s}(n[0],t,i,s):["origin","start","end","stack","shape"].indexOf(n)>=0&&n}function qa(e,t,s){const n=[];for(let i=0;i=0;--t){const s=i[t].$filler;s&&(s.line.updateControlPoints(a,s.axis),n&&s.fill&&Qa(e.ctx,s,a))}},beforeDatasetsDraw(e,t,s){if("beforeDatasetsDraw"!==s.drawTime)return;const n=e.getSortedVisibleDatasetMetas();for(let t=n.length-1;t>=0;--t){const s=n[t].$filler;Ba(s)&&Qa(e.ctx,s,e.chartArea)}},beforeDatasetDraw(e,t,s){const n=t.meta.$filler;Ba(n)&&"beforeDatasetDraw"===s.drawTime&&Qa(e.ctx,n,e.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const ar=(e,t)=>{let{boxHeight:s=t,boxWidth:n=t}=e;return e.usePointStyle&&(s=Math.min(s,t),n=e.pointStyleWidth||Math.min(n,t)),{boxWidth:n,boxHeight:s,itemHeight:Math.max(t,s)}};class rr extends vi{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,s){this.maxWidth=e,this.maxHeight=t,this._margins=s,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=xe(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter((t=>e.filter(t,this.chart.data)))),e.sort&&(t=t.sort(((t,s)=>e.sort(t,s,this.chart.data)))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display)return void(this.width=this.height=0);const s=e.labels,n=us(s.font),i=n.size,a=this._computeTitleHeight(),{boxWidth:r,itemHeight:o}=ar(s,i);let d,l;t.font=n.string,this.isHorizontal()?(d=this.maxWidth,l=this._fitRows(a,i,r,o)+10):(l=this.maxHeight,d=this._fitCols(a,n,r,o)+10),this.width=Math.min(d,e.maxWidth||this.maxWidth),this.height=Math.min(l,e.maxHeight||this.maxHeight)}_fitRows(e,t,s,n){const{ctx:i,maxWidth:a,options:{labels:{padding:r}}}=this,o=this.legendHitBoxes=[],d=this.lineWidths=[0],l=n+r;let u=e;i.textAlign="left",i.textBaseline="middle";let c=-1,h=-l;return this.legendItems.forEach(((e,_)=>{const m=s+t/2+i.measureText(e.text).width;(0===_||d[d.length-1]+m+2*r>a)&&(u+=l,d[d.length-(_>0?0:1)]=0,h+=l,c++),o[_]={left:0,top:h,row:c,width:m,height:n},d[d.length-1]+=m+r})),u}_fitCols(e,t,s,n){const{ctx:i,maxHeight:a,options:{labels:{padding:r}}}=this,o=this.legendHitBoxes=[],d=this.columnSizes=[],l=a-e;let u=r,c=0,h=0,_=0,m=0;return this.legendItems.forEach(((e,a)=>{const{itemWidth:f,itemHeight:p}=function(e,t,s,n,i){const a=function(e,t,s,n){let i=e.text;i&&"string"!=typeof i&&(i=i.reduce(((e,t)=>e.length>t.length?e:t)));return t+s.size/2+n.measureText(i).width}(n,e,t,s),r=function(e,t,s){let n=e;"string"!=typeof t.text&&(n=or(t,s));return n}(i,n,t.lineHeight);return{itemWidth:a,itemHeight:r}}(s,t,i,e,n);a>0&&h+p+2*r>l&&(u+=c+r,d.push({width:c,height:h}),_+=c+r,m++,c=h=0),o[a]={left:_,top:h,col:m,width:f,height:p},c=Math.max(c,f),h+=p+r})),u+=c,d.push({width:c,height:h}),u}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:s,labels:{padding:n},rtl:i}}=this,a=Ks(i,this.left,this.width);if(this.isHorizontal()){let i=0,r=Mt(s,this.left+n,this.right-this.lineWidths[i]);for(const o of t)i!==o.row&&(i=o.row,r=Mt(s,this.left+n,this.right-this.lineWidths[i])),o.top+=this.top+e+n,o.left=a.leftForLtr(a.x(r),o.width),r+=o.width+n}else{let i=0,r=Mt(s,this.top+e+n,this.bottom-this.columnSizes[i].height);for(const o of t)o.col!==i&&(i=o.col,r=Mt(s,this.top+e+n,this.bottom-this.columnSizes[i].height)),o.top=r,o.left+=this.left+n,o.left=a.leftForLtr(a.x(o.left),o.width),r+=o.height+n}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;Gt(e,this),this._draw(),qt(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:s,ctx:n}=this,{align:i,labels:a}=e,r=zt.color,o=Ks(e.rtl,this.left,this.width),d=us(a.font),{padding:l}=a,u=d.size,c=u/2;let h;this.drawTitle(),n.textAlign=o.textAlign("left"),n.textBaseline="middle",n.lineWidth=.5,n.font=d.string;const{boxWidth:_,boxHeight:m,itemHeight:f}=ar(a,u),p=this.isHorizontal(),g=this._computeTitleHeight();h=p?{x:Mt(i,this.left+l,this.right-s[0]),y:this.top+l+g,line:0}:{x:this.left+l,y:Mt(i,this.top+g+l,this.bottom-t[0].height),line:0},Zs(this.ctx,e.textDirection);const y=f+l;this.legendItems.forEach(((M,L)=>{n.strokeStyle=M.fontColor,n.fillStyle=M.fontColor;const b=n.measureText(M.text).width,v=o.textAlign(M.textAlign||(M.textAlign=a.textAlign)),k=_+c+b;let Y=h.x,x=h.y;o.setWidth(this.width),p?L>0&&Y+k+l>this.right&&(x=h.y+=y,h.line++,Y=h.x=Mt(i,this.left+l,this.right-s[h.line])):L>0&&x+y>this.bottom&&(Y=h.x=Y+t[h.line].width+l,h.line++,x=h.y=Mt(i,this.top+g+l,this.bottom-t[h.line].height));if(function(e,t,s){if(isNaN(_)||_<=0||isNaN(m)||m<0)return;n.save();const i=ke(s.lineWidth,1);if(n.fillStyle=ke(s.fillStyle,r),n.lineCap=ke(s.lineCap,"butt"),n.lineDashOffset=ke(s.lineDashOffset,0),n.lineJoin=ke(s.lineJoin,"miter"),n.lineWidth=i,n.strokeStyle=ke(s.strokeStyle,r),n.setLineDash(ke(s.lineDash,[])),a.usePointStyle){const r={radius:m*Math.SQRT2/2,pointStyle:s.pointStyle,rotation:s.rotation,borderWidth:i},d=o.xPlus(e,_/2);Bt(n,r,d,t+c,a.pointStyleWidth&&_)}else{const a=t+Math.max((u-m)/2,0),r=o.leftForLtr(e,_),d=ds(s.borderRadius);n.beginPath(),Object.values(d).some((e=>0!==e))?ts(n,{x:r,y:a,w:_,h:m,radius:d}):n.rect(r,a,_,m),n.fill(),0!==i&&n.stroke()}n.restore()}(o.x(Y),x,M),Y=((e,t,s,n)=>e===(n?"left":"right")?s:"center"===e?(t+s)/2:t)(v,Y+_+c,p?Y+k:this.right,e.rtl),function(e,t,s){es(n,s.text,e,t+f/2,d,{strikethrough:s.hidden,textAlign:o.textAlign(s.textAlign)})}(o.x(Y),x,M),p)h.x+=k+l;else if("string"!=typeof M.text){const e=d.lineHeight;h.y+=or(M,e)+l}else h.y+=y})),Xs(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,s=us(t.font),n=ls(t.padding);if(!t.display)return;const i=Ks(e.rtl,this.left,this.width),a=this.ctx,r=t.position,o=s.size/2,d=n.top+o;let l,u=this.left,c=this.width;if(this.isHorizontal())c=Math.max(...this.lineWidths),l=this.top+d,u=Mt(e.align,u,this.right-c);else{const t=this.columnSizes.reduce(((e,t)=>Math.max(e,t.height)),0);l=d+Mt(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}const h=Mt(r,u,u+c);a.textAlign=i.textAlign(yt(r)),a.textBaseline="middle",a.strokeStyle=t.color,a.fillStyle=t.color,a.font=s.string,es(a,t.text,h,l,s)}_computeTitleHeight(){const e=this.options.title,t=us(e.font),s=ls(e.padding);return e.display?t.lineHeight+s.height:0}_getLegendItemAt(e,t){let s,n,i;if(lt(e,this.left,this.right)&<(t,this.top,this.bottom))for(i=this.legendHitBoxes,s=0;se.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:s,pointStyle:n,textAlign:i,color:a,useBorderRadius:r,borderRadius:o}}=e.legend.options;return e._getSortedDatasetMetas().map((e=>{const d=e.controller.getStyle(s?0:void 0),l=ls(d.borderWidth);return{text:t[e.index].label,fillStyle:d.backgroundColor,fontColor:a,hidden:!e.visible,lineCap:d.borderCapStyle,lineDash:d.borderDash,lineDashOffset:d.borderDashOffset,lineJoin:d.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:d.borderColor,pointStyle:n||d.pointStyle,rotation:d.rotation,textAlign:i||d.textAlign,borderRadius:r&&(o||d.borderRadius),datasetIndex:e.index}}),this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class lr extends vi{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){const s=this.options;if(this.left=0,this.top=0,!s.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=e,this.height=this.bottom=t;const n=Me(s.text)?s.text.length:1;this._padding=ls(s.padding);const i=n*us(s.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:s,bottom:n,right:i,options:a}=this,r=a.align;let o,d,l,u=0;return this.isHorizontal()?(d=Mt(r,s,i),l=t+e,o=i-s):("left"===a.position?(d=s+e,l=Mt(r,n,t),u=-.5*ze):(d=i-e,l=Mt(r,t,n),u=.5*ze),o=n-t),{titleX:d,titleY:l,maxWidth:o,rotation:u}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const s=us(t.font),n=s.lineHeight/2+this._padding.top,{titleX:i,titleY:a,maxWidth:r,rotation:o}=this._drawArgs(n);es(e,t.text,0,0,s,{color:t.color,maxWidth:r,rotation:o,textAlign:yt(t.align),textBaseline:"middle",translation:[i,a]})}}var ur={id:"title",_element:lr,start(e,t,s){!function(e,t){const s=new lr({ctx:e.ctx,options:t,chart:e});ii.configure(e,s,t),ii.addBox(e,s),e.titleBlock=s}(e,s)},stop(e){const t=e.titleBlock;ii.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,s){const n=e.titleBlock;ii.configure(e,n,s),n.options=s},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const cr=new WeakMap;var hr={id:"subtitle",start(e,t,s){const n=new lr({ctx:e.ctx,options:s,chart:e});ii.configure(e,n,s),ii.addBox(e,n),cr.set(e,n)},stop(e){ii.removeBox(e,cr.get(e)),cr.delete(e)},beforeUpdate(e,t,s){const n=cr.get(e);ii.configure(e,n,s),n.options=s},defaults:{align:"center",display:!1,font:{weight:"normal"},fullSize:!0,padding:0,position:"top",text:"",weight:1500},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const _r={average(e){if(!e.length)return!1;let t,s,n=new Set,i=0,a=0;for(t=0,s=e.length;te+t))/n.size,y:i/a}},nearest(e,t){if(!e.length)return!1;let s,n,i,a=t.x,r=t.y,o=Number.POSITIVE_INFINITY;for(s=0,n=e.length;s-1?e.split("\n"):e}function pr(e,t){const{element:s,datasetIndex:n,index:i}=t,a=e.getDatasetMeta(n).controller,{label:r,value:o}=a.getLabelAndValue(i);return{chart:e,label:r,parsed:a.getParsed(i),raw:e.data.datasets[n].data[i],formattedValue:o,dataset:a.getDataset(),dataIndex:i,datasetIndex:n,element:s}}function gr(e,t){const s=e.chart.ctx,{body:n,footer:i,title:a}=e,{boxWidth:r,boxHeight:o}=t,d=us(t.bodyFont),l=us(t.titleFont),u=us(t.footerFont),c=a.length,h=i.length,_=n.length,m=ls(t.padding);let f=m.height,p=0,g=n.reduce(((e,t)=>e+t.before.length+t.lines.length+t.after.length),0);if(g+=e.beforeBody.length+e.afterBody.length,c&&(f+=c*l.lineHeight+(c-1)*t.titleSpacing+t.titleMarginBottom),g){f+=_*(t.displayColors?Math.max(o,d.lineHeight):d.lineHeight)+(g-_)*d.lineHeight+(g-1)*t.bodySpacing}h&&(f+=t.footerMarginTop+h*u.lineHeight+(h-1)*t.footerSpacing);let y=0;const M=function(e){p=Math.max(p,s.measureText(e).width+y)};return s.save(),s.font=l.string,we(e.title,M),s.font=d.string,we(e.beforeBody.concat(e.afterBody),M),y=t.displayColors?r+2+t.boxPadding:0,we(n,(e=>{we(e.before,M),we(e.lines,M),we(e.after,M)})),y=0,s.font=u.string,we(e.footer,M),s.restore(),p+=m.width,{width:p,height:f}}function yr(e,t,s,n){const{x:i,width:a}=s,{width:r,chartArea:{left:o,right:d}}=e;let l="center";return"center"===n?l=i<=(o+d)/2?"left":"right":i<=a/2?l="left":i>=r-a/2&&(l="right"),function(e,t,s,n){const{x:i,width:a}=n,r=s.caretSize+s.caretPadding;return"left"===e&&i+a+r>t.width||"right"===e&&i-a-r<0||void 0}(l,e,t,s)&&(l="center"),l}function Mr(e,t,s){const n=s.yAlign||t.yAlign||function(e,t){const{y:s,height:n}=t;return se.height-n/2?"bottom":"center"}(e,s);return{xAlign:s.xAlign||t.xAlign||yr(e,t,s,n),yAlign:n}}function Lr(e,t,s,n){const{caretSize:i,caretPadding:a,cornerRadius:r}=e,{xAlign:o,yAlign:d}=s,l=i+a,{topLeft:u,topRight:c,bottomLeft:h,bottomRight:_}=ds(r);let m=function(e,t){let{x:s,width:n}=e;return"right"===t?s-=n:"center"===t&&(s-=n/2),s}(t,o);const f=function(e,t,s){let{y:n,height:i}=e;return"top"===t?n+=s:n-="bottom"===t?i+s:i/2,n}(t,d,l);return"center"===d?"left"===o?m+=l:"right"===o&&(m-=l):"left"===o?m-=Math.max(u,h)+i:"right"===o&&(m+=Math.max(c,_)+i),{x:dt(m,0,n.width-t.width),y:dt(f,0,n.height-t.height)}}function br(e,t,s){const n=ls(s.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-n.right:e.x+n.left}function vr(e){return mr([],fr(e))}function kr(e,t){const s=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return s?e.override(s):e}const Yr={beforeTitle:pe,title(e){if(e.length>0){const t=e[0],s=t.chart.data.labels,n=s?s.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(n>0&&t.dataIndex{const t={before:[],lines:[],after:[]},i=kr(s,e);mr(t.before,fr(xr(i,"beforeLabel",this,e))),mr(t.lines,xr(i,"label",this,e)),mr(t.after,fr(xr(i,"afterLabel",this,e))),n.push(t)})),n}getAfterBody(e,t){return vr(xr(t.callbacks,"afterBody",this,e))}getFooter(e,t){const{callbacks:s}=t,n=xr(s,"beforeFooter",this,e),i=xr(s,"footer",this,e),a=xr(s,"afterFooter",this,e);let r=[];return r=mr(r,fr(n)),r=mr(r,fr(i)),r=mr(r,fr(a)),r}_createItems(e){const t=this._active,s=this.chart.data,n=[],i=[],a=[];let r,o,d=[];for(r=0,o=t.length;re.filter(t,n,i,s)))),e.itemSort&&(d=d.sort(((t,n)=>e.itemSort(t,n,s)))),we(d,(t=>{const s=kr(e.callbacks,t);n.push(xr(s,"labelColor",this,t)),i.push(xr(s,"labelPointStyle",this,t)),a.push(xr(s,"labelTextColor",this,t))})),this.labelColors=n,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=d,d}update(e,t){const s=this.options.setContext(this.getContext()),n=this._active;let i,a=[];if(n.length){const e=_r[s.position].call(this,n,this._eventPosition);a=this._createItems(s),this.title=this.getTitle(a,s),this.beforeBody=this.getBeforeBody(a,s),this.body=this.getBody(a,s),this.afterBody=this.getAfterBody(a,s),this.footer=this.getFooter(a,s);const t=this._size=gr(this,s),r=Object.assign({},e,t),o=Mr(this.chart,s,r),d=Lr(s,r,o,this.chart);this.xAlign=o.xAlign,this.yAlign=o.yAlign,i={opacity:1,x:d.x,y:d.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(i={opacity:0});this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&s.external&&s.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,s,n){const i=this.getCaretPosition(e,s,n);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,s){const{xAlign:n,yAlign:i}=this,{caretSize:a,cornerRadius:r}=s,{topLeft:o,topRight:d,bottomLeft:l,bottomRight:u}=ds(r),{x:c,y:h}=e,{width:_,height:m}=t;let f,p,g,y,M,L;return"center"===i?(M=h+m/2,"left"===n?(f=c,p=f-a,y=M+a,L=M-a):(f=c+_,p=f+a,y=M-a,L=M+a),g=f):(p="left"===n?c+Math.max(o,l)+a:"right"===n?c+_-Math.max(d,u)-a:this.caretX,"top"===i?(y=h,M=y-a,f=p-a,g=p+a):(y=h+m,M=y+a,f=p+a,g=p-a),L=y),{x1:f,x2:p,x3:g,y1:y,y2:M,y3:L}}drawTitle(e,t,s){const n=this.title,i=n.length;let a,r,o;if(i){const d=Ks(s.rtl,this.x,this.width);for(e.x=br(this,s.titleAlign,s),t.textAlign=d.textAlign(s.titleAlign),t.textBaseline="middle",a=us(s.titleFont),r=s.titleSpacing,t.fillStyle=s.titleColor,t.font=a.string,o=0;o0!==e))?(e.beginPath(),e.fillStyle=i.multiKeyBackground,ts(e,{x:t,y:_,w:d,h:o,radius:r}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),ts(e,{x:s,y:_+1,w:d-2,h:o-2,radius:r}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(t,_,d,o),e.strokeRect(t,_,d,o),e.fillStyle=a.backgroundColor,e.fillRect(s,_+1,d-2,o-2))}e.fillStyle=this.labelTextColors[s]}drawBody(e,t,s){const{body:n}=this,{bodySpacing:i,bodyAlign:a,displayColors:r,boxHeight:o,boxWidth:d,boxPadding:l}=s,u=us(s.bodyFont);let c=u.lineHeight,h=0;const _=Ks(s.rtl,this.x,this.width),m=function(s){t.fillText(s,_.x(e.x+h),e.y+c/2),e.y+=c+i},f=_.textAlign(a);let p,g,y,M,L,b,v;for(t.textAlign=a,t.textBaseline="middle",t.font=u.string,e.x=br(this,f,s),t.fillStyle=s.bodyColor,we(this.beforeBody,m),h=r&&"right"!==f?"center"===a?d/2+l:d+2+l:0,M=0,b=n.length;M0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,s=this.$animations,n=s&&s.x,i=s&&s.y;if(n||i){const s=_r[e.position].call(this,this._active,this._eventPosition);if(!s)return;const a=this._size=gr(this,e),r=Object.assign({},s,this._size),o=Mr(t,e,r),d=Lr(e,r,o,t);n._to===d.x&&i._to===d.y||(this.xAlign=o.xAlign,this.yAlign=o.yAlign,this.width=a.width,this.height=a.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,d))}}_willRender(){return!!this.opacity}draw(e){const t=this.options.setContext(this.getContext());let s=this.opacity;if(!s)return;this._updateAnimationTarget(t);const n={width:this.width,height:this.height},i={x:this.x,y:this.y};s=Math.abs(s)<.001?0:s;const a=ls(t.padding),r=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&r&&(e.save(),e.globalAlpha=s,this.drawBackground(i,e,n,t),Zs(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),Xs(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const s=this._active,n=e.map((({datasetIndex:e,index:t})=>{const s=this.chart.getDatasetMeta(e);if(!s)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:s.data[t],index:t}})),i=!De(s,n),a=this._positionChanged(n,t);(i||a)&&(this._active=n,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,s=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const n=this.options,i=this._active||[],a=this._getActiveElements(e,i,t,s),r=this._positionChanged(a,e),o=t||!De(a,i)||r;return o&&(this._active=a,(n.enabled||n.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),o}_getActiveElements(e,t,s,n){const i=this.options;if("mouseout"===e.type)return[];if(!n)return t.filter((e=>this.chart.data.datasets[e.datasetIndex]&&void 0!==this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index)));const a=this.chart.getElementsAtEventForMode(e,i.mode,i,s);return i.reverse&&a.reverse(),a}_positionChanged(e,t){const{caretX:s,caretY:n,options:i}=this,a=_r[i.position].call(this,e,t);return!1!==a&&(s!==a.x||n!==a.y)}}var Dr={id:"tooltip",_element:wr,positioners:_r,afterInit(e,t,s){s&&(e.tooltip=new wr({chart:e,options:s}))},beforeUpdate(e,t,s){e.tooltip&&e.tooltip.initialize(s)},reset(e,t,s){e.tooltip&&e.tooltip.initialize(s)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const s={tooltip:t};if(!1===e.notifyPlugins("beforeTooltipDraw",{...s,cancelable:!0}))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",s)}},afterEvent(e,t){if(e.tooltip){const s=t.replay;e.tooltip.handleEvent(t.event,s,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Yr},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]},Tr=Object.freeze({__proto__:null,Colors:Ra,Decimation:Na,Filler:ir,Legend:dr,SubTitle:hr,Title:ur,Tooltip:Dr});function Sr(e,t,s,n){const i=e.indexOf(t);if(-1===i)return((e,t,s,n)=>("string"==typeof t?(s=e.push(t)-1,n.unshift({index:s,label:t})):isNaN(t)&&(s=null),s))(e,t,s,n);return i!==e.lastIndexOf(t)?s:i}function jr(e){const t=this.getLabels();return e>=0&&e_&&(Y=Ze(k*Y/_/h)*h),ye(o)||(L=Math.pow(10,o),Y=Math.ceil(Y*L)/L),"ticks"===n?(b=Math.floor(m/Y)*Y,v=Math.ceil(f/Y)*Y):(b=m,v=f),p&&g&&i&&function(e,t){const s=Math.round(e);return s-t<=e&&s+t>=e}((r-a)/i,Y/1e3)?(k=Math.round(Math.min((r-a)/Y,l)),Y=(r-a)/k,b=a,v=r):y?(b=p?a:b,v=g?r:v,k=d-1,Y=(v-b)/k):(k=(v-b)/Y,k=Ke(k,Math.round(k),Y/1e3)?Math.round(k):Math.ceil(k));const x=Math.max(st(Y),st(b));L=Math.pow(10,ye(o)?x:o),b=Math.round(b*L)/L,v=Math.round(v*L)/L;let w=0;for(p&&(c&&b!==a?(s.push({value:a}),br)break;s.push({value:e})}return g&&c&&v!==r?s.length&&Ke(s[s.length-1].value,r,Or(r,M,e))?s[s.length-1].value=r:s.push({value:r}):g&&v!==r||s.push({value:v}),s}function Or(e,t,{horizontal:s,minRotation:n}){const i=et(n),a=(s?Math.sin(i):Math.cos(i))||.001,r=.75*t*(""+e).length;return Math.min(t/a,r)}class Pr extends Oi{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return ye(e)||("number"==typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:t,maxDefined:s}=this.getUserBounds();let{min:n,max:i}=this;const a=e=>n=t?n:e,r=e=>i=s?i:e;if(e){const e=qe(n),t=qe(i);e<0&&t<0?r(0):e>0&&t>0&&a(0)}if(n===i){let t=0===i?1:Math.abs(.05*i);r(i+t),e||a(n-t)}this.min=n,this.max=i}getTickLimit(){const e=this.options.ticks;let t,{maxTicksLimit:s,stepSize:n}=e;return n?(t=Math.ceil(this.max/n)-Math.floor(this.min/n)+1,t>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${n} would result generating up to ${t} ticks. Limiting to 1000.`),t=1e3)):(t=this.computeTickLimit(),s=s||11),s&&(t=Math.min(s,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let s=this.getTickLimit();s=Math.max(2,s);const n=Hr({maxTicks:s,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&Qe(n,this,"value"),e.reverse?(n.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),n}configure(){const e=this.ticks;let t=this.min,s=this.max;if(super.configure(),this.options.offset&&e.length){const n=(s-t)/Math.max(e.length-1,1)/2;t-=n,s+=n}this._startValue=t,this._endValue=s,this._valueRange=s-t}getLabelForValue(e){return Ot(e,this.chart.options.locale,this.options.ticks.format)}}class Ar extends Pr{static id="linear";static defaults={ticks:{callback:At.formatters.numeric}};determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=be(e)?e:0,this.max=be(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,s=et(this.options.ticks.minRotation),n=(e?Math.sin(s):Math.cos(s))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,i.lineHeight/n))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}const Er=e=>Math.floor(Ge(e)),Cr=(e,t)=>Math.pow(10,Er(e)+t);function Fr(e){return 1===e/Math.pow(10,Er(e))}function Rr(e,t,s){const n=Math.pow(10,s),i=Math.floor(e/n);return Math.ceil(t/n)-i}function Wr(e,{min:t,max:s}){t=ve(e.min,t);const n=[],i=Er(t);let a=function(e,t){let s=Er(t-e);for(;Rr(e,t,s)>10;)s++;for(;Rr(e,t,s)<10;)s--;return Math.min(s,Er(e))}(t,s),r=a<0?Math.pow(10,Math.abs(a)):1;const o=Math.pow(10,a),d=i>a?Math.pow(10,i):0,l=Math.round((t-d)*r)/r,u=Math.floor((t-d)/o/10)*o*10;let c=Math.floor((l-u)/Math.pow(10,a)),h=ve(e.min,Math.round((d+u+c*Math.pow(10,a))*r)/r);for(;h=10?c=c<15?15:20:c++,c>=20&&(a++,c=2,r=a>=0?1:r),h=Math.round((d+u+c*Math.pow(10,a))*r)/r;const _=ve(e.max,h);return n.push({value:_,major:Fr(_),significand:c}),n}class zr extends Oi{static id="logarithmic";static defaults={ticks:{callback:At.formatters.logarithmic,major:{enabled:!0}}};constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(e,t){const s=Pr.prototype.parse.apply(this,[e,t]);if(0!==s)return be(s)&&s>0?s:null;this._zero=!0}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=be(e)?Math.max(0,e):null,this.max=be(t)?Math.max(0,t):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!be(this._userMin)&&(this.min=e===Cr(this.min,0)?Cr(this.min,-1):Cr(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let s=this.min,n=this.max;const i=t=>s=e?s:t,a=e=>n=t?n:e;s===n&&(s<=0?(i(1),a(10)):(i(Cr(s,-1)),a(Cr(n,1)))),s<=0&&i(Cr(n,-1)),n<=0&&a(Cr(s,1)),this.min=s,this.max=n}buildTicks(){const e=this.options,t=Wr({min:this._userMin,max:this._userMax},this);return"ticks"===e.bounds&&Qe(t,this,"value"),e.reverse?(t.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),t}getLabelForValue(e){return void 0===e?"0":Ot(e,this.chart.options.locale,this.options.ticks.format)}configure(){const e=this.min;super.configure(),this._startValue=Ge(e),this._valueRange=Ge(this.max)-Ge(e)}getPixelForValue(e){return void 0!==e&&0!==e||(e=this.min),null===e||isNaN(e)?NaN:this.getPixelForDecimal(e===this.min?0:(Ge(e)-this._startValue)/this._valueRange)}getValueForPixel(e){const t=this.getDecimalForPixel(e);return Math.pow(10,this._startValue+t*this._valueRange)}}function Nr(e){const t=e.ticks;if(t.display&&e.display){const e=ls(t.backdropPadding);return ke(t.font&&t.font.size,zt.font.size)+e.height}return 0}function Ir(e,t,s,n,i){return e===n||e===i?{start:t-s/2,end:t+s/2}:ei?{start:t-s,end:t}:{start:t,end:t+s}}function Vr(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},s=Object.assign({},t),n=[],i=[],a=e._pointLabels.length,r=e.options.pointLabels,o=r.centerPointLabels?ze/a:0;for(let c=0;ct.r&&(o=(n.end-t.r)/a,e.r=Math.max(e.r,t.r+o)),i.startt.b&&(d=(i.end-t.b)/r,e.b=Math.max(e.b,t.b+d))}function Ur(e,t,s){const n=e.drawingArea,{extra:i,additionalAngle:a,padding:r,size:o}=s,d=e.getPointPosition(t,n+i+r,a),l=Math.round(tt(rt(d.angle+Ue))),u=function(e,t,s){90===s||270===s?e-=t/2:(s>270||s<90)&&(e-=t);return e}(d.y,o.h,l),c=function(e){if(0===e||180===e)return"center";if(e<180)return"left";return"right"}(l),h=function(e,t,s){"right"===s?e-=t:"center"===s&&(e-=t/2);return e}(d.x,o.w,c);return{visible:!0,x:d.x,y:u,textAlign:c,left:h,top:u,right:h+o.w,bottom:u+o.h}}function Br(e,t){if(!t)return!0;const{left:s,top:n,right:i,bottom:a}=e;return!(Jt({x:s,y:n},t)||Jt({x:s,y:a},t)||Jt({x:i,y:n},t)||Jt({x:i,y:a},t))}function Jr(e,t,s){const{left:n,top:i,right:a,bottom:r}=s,{backdropColor:o}=t;if(!ye(o)){const s=ds(t.borderRadius),d=ls(t.backdropPadding);e.fillStyle=o;const l=n-d.left,u=i-d.top,c=a-n+d.width,h=r-i+d.height;Object.values(s).some((e=>0!==e))?(e.beginPath(),ts(e,{x:l,y:u,w:c,h,radius:s}),e.fill()):e.fillRect(l,u,c,h)}}function Gr(e,t,s,n){const{ctx:i}=e;if(s)i.arc(e.xCenter,e.yCenter,t,0,Ne);else{let s=e.getPointPosition(0,t);i.moveTo(s.x,s.y);for(let a=1;ae,padding:5,centerPointLabels:!1}};static defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};static descriptors={angleLines:{_fallback:"grid"}};constructor(e){super(e),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const e=this._padding=ls(Nr(this.options)/2),t=this.width=this.maxWidth-e.width,s=this.height=this.maxHeight-e.height;this.xCenter=Math.floor(this.left+t/2+e.left),this.yCenter=Math.floor(this.top+s/2+e.top),this.drawingArea=Math.floor(Math.min(t,s)/2)}determineDataLimits(){const{min:e,max:t}=this.getMinMax(!1);this.min=be(e)&&!isNaN(e)?e:0,this.max=be(t)&&!isNaN(t)?t:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Nr(this.options))}generateTickLabels(e){Pr.prototype.generateTickLabels.call(this,e),this._pointLabels=this.getLabels().map(((e,t)=>{const s=xe(this.options.pointLabels.callback,[e,t],this);return s||0===s?s:""})).filter(((e,t)=>this.chart.getDataVisibility(t)))}fit(){const e=this.options;e.display&&e.pointLabels.display?Vr(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(e,t,s,n){this.xCenter+=Math.floor((e-t)/2),this.yCenter+=Math.floor((s-n)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(e,t,s,n))}getIndexAngle(e){return rt(e*(Ne/(this._pointLabels.length||1))+et(this.options.startAngle||0))}getDistanceFromCenterForValue(e){if(ye(e))return NaN;const t=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-e)*t:(e-this.min)*t}getValueForDistanceFromCenter(e){if(ye(e))return NaN;const t=e/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-t:this.min+t}getPointLabelContext(e){const t=this._pointLabels||[];if(e>=0&&e=0;i--){const t=e._pointLabelItems[i];if(!t.visible)continue;const a=n.setContext(e.getPointLabelContext(i));Jr(s,a,t);const r=us(a.font),{x:o,y:d,textAlign:l}=t;es(s,e._pointLabels[i],o,d+r.lineHeight/2,r,{color:a.color,textAlign:l,textBaseline:"middle"})}}(this,a),n.display&&this.ticks.forEach(((e,t)=>{if(0!==t||0===t&&this.min<0){o=this.getDistanceFromCenterForValue(e.value);const s=this.getContext(t),r=n.setContext(s),d=i.setContext(s);!function(e,t,s,n,i){const a=e.ctx,r=t.circular,{color:o,lineWidth:d}=t;!r&&!n||!o||!d||s<0||(a.save(),a.strokeStyle=o,a.lineWidth=d,a.setLineDash(i.dash),a.lineDashOffset=i.dashOffset,a.beginPath(),Gr(e,s,r,n),a.closePath(),a.stroke(),a.restore())}(this,r,o,a,d)}})),s.display){for(e.save(),r=a-1;r>=0;r--){const n=s.setContext(this.getPointLabelContext(r)),{color:i,lineWidth:a}=n;a&&i&&(e.lineWidth=a,e.strokeStyle=i,e.setLineDash(n.borderDash),e.lineDashOffset=n.borderDashOffset,o=this.getDistanceFromCenterForValue(t.ticks.reverse?this.min:this.max),d=this.getPointPosition(r,o),e.beginPath(),e.moveTo(this.xCenter,this.yCenter),e.lineTo(d.x,d.y),e.stroke())}e.restore()}}drawBorder(){}drawLabels(){const e=this.ctx,t=this.options,s=t.ticks;if(!s.display)return;const n=this.getIndexAngle(0);let i,a;e.save(),e.translate(this.xCenter,this.yCenter),e.rotate(n),e.textAlign="center",e.textBaseline="middle",this.ticks.forEach(((n,r)=>{if(0===r&&this.min>=0&&!t.reverse)return;const o=s.setContext(this.getContext(r)),d=us(o.font);if(i=this.getDistanceFromCenterForValue(this.ticks[r].value),o.showLabelBackdrop){e.font=d.string,a=e.measureText(n.label).width,e.fillStyle=o.backdropColor;const t=ls(o.backdropPadding);e.fillRect(-a/2-t.left,-i-d.size/2-t.top,a+t.width,d.size+t.height)}es(e,n.label,0,-i,d,{color:o.color,strokeColor:o.textStrokeColor,strokeWidth:o.textStrokeWidth})})),e.restore()}drawTitle(){}}const Kr={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Zr=Object.keys(Kr);function Xr(e,t){return e-t}function Qr(e,t){if(ye(t))return null;const s=e._adapter,{parser:n,round:i,isoWeekday:a}=e._parseOpts;let r=t;return"function"==typeof n&&(r=n(r)),be(r)||(r="string"==typeof n?s.parse(r,n):s.parse(r)),null===r?null:(i&&(r="week"!==i||!Xe(a)&&!0!==a?s.startOf(r,i):s.startOf(r,"isoWeek",a)),+r)}function eo(e,t,s,n){const i=Zr.length;for(let a=Zr.indexOf(e);a=t?s[n]:s[i]]=!0}}else e[t]=!0}function so(e,t,s){const n=[],i={},a=t.length;let r,o;for(r=0;r=0&&(t[d].major=!0);return t}(e,n,i,s):n}class no extends Oi{static id="time";static defaults={bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}};constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,t={}){const s=e.time||(e.time={}),n=this._adapter=new Rn._date(e.adapters.date);n.init(t),Oe(s.displayFormats,n.formats()),this._parseOpts={parser:s.parser,round:s.round,isoWeekday:s.isoWeekday},super.init(e),this._normalized=t.normalized}parse(e,t){return void 0===e?null:Qr(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,t=this._adapter,s=e.time.unit||"day";let{min:n,max:i,minDefined:a,maxDefined:r}=this.getUserBounds();function o(e){a||isNaN(e.min)||(n=Math.min(n,e.min)),r||isNaN(e.max)||(i=Math.max(i,e.max))}a&&r||(o(this._getLabelBounds()),"ticks"===e.bounds&&"labels"===e.ticks.source||o(this.getMinMax(!1))),n=be(n)&&!isNaN(n)?n:+t.startOf(Date.now(),s),i=be(i)&&!isNaN(i)?i:+t.endOf(Date.now(),s)+1,this.min=Math.min(n,i-1),this.max=Math.max(n+1,i)}_getLabelBounds(){const e=this.getLabelTimestamps();let t=Number.POSITIVE_INFINITY,s=Number.NEGATIVE_INFINITY;return e.length&&(t=e[0],s=e[e.length-1]),{min:t,max:s}}buildTicks(){const e=this.options,t=e.time,s=e.ticks,n="labels"===s.source?this.getLabelTimestamps():this._generate();"ticks"===e.bounds&&n.length&&(this.min=this._userMin||n[0],this.max=this._userMax||n[n.length-1]);const i=this.min,a=function(e,t,s){let n=0,i=e.length;for(;nn&&e[i-1]>s;)i--;return n>0||i=Zr.indexOf(s);a--){const s=Zr[a];if(Kr[s].common&&e._adapter.diff(i,n,s)>=t-1)return s}return Zr[s?Zr.indexOf(s):0]}(this,a.length,t.minUnit,this.min,this.max)),this._majorUnit=s.major.enabled&&"year"!==this._unit?function(e){for(let t=Zr.indexOf(e)+1,s=Zr.length;t+e.value)))}initOffsets(e=[]){let t,s,n=0,i=0;this.options.offset&&e.length&&(t=this.getDecimalForValue(e[0]),n=1===e.length?1-t:(this.getDecimalForValue(e[1])-t)/2,s=this.getDecimalForValue(e[e.length-1]),i=1===e.length?s:(s-this.getDecimalForValue(e[e.length-2]))/2);const a=e.length<3?.5:.25;n=dt(n,0,a),i=dt(i,0,a),this._offsets={start:n,end:i,factor:1/(n+1+i)}}_generate(){const e=this._adapter,t=this.min,s=this.max,n=this.options,i=n.time,a=i.unit||eo(i.minUnit,t,s,this._getLabelCapacity(t)),r=ke(n.ticks.stepSize,1),o="week"===a&&i.isoWeekday,d=Xe(o)||!0===o,l={};let u,c,h=t;if(d&&(h=+e.startOf(h,"isoWeek",o)),h=+e.startOf(h,d?"day":a),e.diff(s,t,a)>1e5*r)throw new Error(t+" and "+s+" are too far apart with stepSize of "+r+" "+a);const _="data"===n.ticks.source&&this.getDataTimestamps();for(u=h,c=0;u+e))}getLabelForValue(e){const t=this._adapter,s=this.options.time;return s.tooltipFormat?t.format(e,s.tooltipFormat):t.format(e,s.displayFormats.datetime)}format(e,t){const s=this.options.time.displayFormats,n=this._unit,i=t||s[n];return this._adapter.format(e,i)}_tickFormatFunction(e,t,s,n){const i=this.options,a=i.ticks.callback;if(a)return xe(a,[e,t,s],this);const r=i.time.displayFormats,o=this._unit,d=this._majorUnit,l=o&&r[o],u=d&&r[d],c=s[t],h=d&&u&&c&&c.major;return this._adapter.format(e,n||(h?u:l))}generateTickLabels(e){let t,s,n;for(t=0,s=e.length;t0?r:1}getDataTimestamps(){let e,t,s=this._cache.data||[];if(s.length)return s;const n=this.getMatchingVisibleMetas();if(this._normalized&&n.length)return this._cache.data=n[0].controller.getAllParsedValues(this);for(e=0,t=n.length;e=e[o].pos&&t<=e[d].pos&&({lo:o,hi:d}=ct(e,"pos",t)),({pos:n,time:a}=e[o]),({pos:i,time:r}=e[d])):(t>=e[o].time&&t<=e[d].time&&({lo:o,hi:d}=ct(e,"time",t)),({time:n,pos:a}=e[o]),({time:i,pos:r}=e[d]));const l=i-n;return l?a+(r-a)*(t-n)/l:a}var ao=Object.freeze({__proto__:null,CategoryScale:class extends Oi{static id="category";static defaults={ticks:{callback:jr}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const e=this.getLabels();for(const{index:s,label:n}of t)e[s]===n&&e.splice(s,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(ye(e))return null;const s=this.getLabels();return((e,t)=>null===e?null:dt(Math.round(e),0,t))(t=isFinite(t)&&s[t]===e?t:Sr(s,e,ke(t,e),this._addedLabels),s.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:s,max:n}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(s=0),t||(n=this.getLabels().length-1)),this.min=s,this.max=n}buildTicks(){const e=this.min,t=this.max,s=this.options.offset,n=[];let i=this.getLabels();i=0===e&&t===i.length-1?i:i.slice(e,t+1),this._valueRange=Math.max(i.length-(s?0:1),1),this._startValue=this.min-(s?.5:0);for(let s=e;s<=t;s++)n.push({value:s});return n}getLabelForValue(e){return jr.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}},LinearScale:Ar,LogarithmicScale:zr,RadialLinearScale:qr,TimeScale:no,TimeSeriesScale:class extends no{static id="timeseries";static defaults=no.defaults;constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),t=this._table=this.buildLookupTable(e);this._minPos=io(t,this.min),this._tableRange=io(t,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:t,max:s}=this,n=[],i=[];let a,r,o,d,l;for(a=0,r=e.length;a=t&&d<=s&&n.push(d);if(n.length<2)return[{time:t,pos:0},{time:s,pos:1}];for(a=0,r=n.length;ae-t))}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const t=this.getDataTimestamps(),s=this.getLabelTimestamps();return e=t.length&&s.length?this.normalize(t.concat(s)):t.length?t:s,e=this._cache.all=e,e}getDecimalForValue(e){return(io(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const t=this._offsets,s=this.getDecimalForPixel(e)/t.factor-t.end;return io(this._table,s*this._tableRange+this._minPos,!0)}}});const ro=[En,Ha,Tr,ao],oo="label";function lo(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function uo(e,t){e.labels=t}function co(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:oo;const n=[];e.datasets=t.map((t=>{const i=e.datasets.find((e=>e[s]===t[s]));return i&&t.data&&!n.includes(i)?(n.push(i),Object.assign(i,t),i):{...t}}))}function ho(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oo;const s={labels:[],datasets:[]};return uo(s,e.labels),co(s,e.datasets,t),s}function _o(e,t){const{height:s=150,width:n=300,redraw:i=!1,datasetIdKey:a,type:r,data:o,options:d,plugins:l=[],fallbackContent:u,updateMode:c,...h}=e,_=(0,b.useRef)(null),m=(0,b.useRef)(),f=()=>{_.current&&(m.current=new la(_.current,{type:r,data:ho(o,a),options:d&&{...d},plugins:l}),lo(t,m.current))},p=()=>{lo(t,null),m.current&&(m.current.destroy(),m.current=null)};return(0,b.useEffect)((()=>{!i&&m.current&&d&&function(e,t){const s=e.options;s&&t&&Object.assign(s,t)}(m.current,d)}),[i,d]),(0,b.useEffect)((()=>{!i&&m.current&&uo(m.current.config.data,o.labels)}),[i,o.labels]),(0,b.useEffect)((()=>{!i&&m.current&&o.datasets&&co(m.current.config.data,o.datasets,a)}),[i,o.datasets]),(0,b.useEffect)((()=>{m.current&&(i?(p(),setTimeout(f)):m.current.update(c))}),[i,d,o.labels,o.datasets,c]),(0,b.useEffect)((()=>{m.current&&(p(),setTimeout(f))}),[r]),(0,b.useEffect)((()=>(f(),()=>p())),[]),b.createElement("canvas",Object.assign({ref:_,role:"img",height:s,width:n},h),u)}const mo=(0,b.forwardRef)(_o);var fo=s(59173),po=s.n(fo); /*! * chartjs-adapter-moment v1.0.1 * https://www.chartjs.org * (c) 2022 chartjs-adapter-moment Contributors * Released under the MIT license */ -const go={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Rn._date.override("function"==typeof po()?{_id:"moment",formats:function(){return go},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=po()(e,t):e instanceof po()||(e=po()(e)),e.isValid()?e.valueOf():null},format:function(e,t){return po()(e).format(t)},add:function(e,t,s){return po()(e).add(t,s).valueOf()},diff:function(e,t,s){return po()(e).diff(po()(t),s)},startOf:function(e,t,s){return e=po()(e),"isoWeek"===t?(s=Math.trunc(Math.min(Math.max(0,s),6)),e.isoWeekday(s).startOf("day").valueOf()):e.startOf(t).valueOf()},endOf:function(e,t){return po()(e).endOf(t).valueOf()}}:{});var yo=function(e){return"number"==typeof e&&!Number.isNaN(e)},Mo=function(e,t,s){return e?e[t%e.length]:s},Lo=function(e){var t=e.match(/^#([0-9a-f]{3}|[0-9a-f]{6})$/i);if(t){var s=3===t[1].length?t[1].split("").map((function(e){return e+e})).join(""):t[1];return"#".concat(s)}var n=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/i);if(n){var i=(0,p.A)(n,4),a=i[1],r=i[2],o=i[3];return"rgb(".concat(a,", ").concat(r,", ").concat(o,")")}var d=e.match(/^rgba\((\d+),\s*(\d+),\s*(\d+),\s*(\d*\.?\d+)\)$/i);if(d){var l=(0,p.A)(d,4),u=l[1],c=l[2],h=l[3];return"rgb(".concat(u,", ").concat(c,", ").concat(h,")")}return e},bo=function(e,t){var s="data:text/json;charset=utf-8,".concat(encodeURIComponent(JSON.stringify(e,null,2))),n=document.createElement("a");n.setAttribute("href",s),n.setAttribute("download",t),document.body.appendChild(n),n.click(),n.remove()},vo=["before","after","middle",!1],ko=["linear","logarithmic"],Yo=["rgba(54, 162, 235, 0.5)","rgba(255, 99, 132, 0.5)","rgba(75, 192, 192, 0.5)","rgba(255, 159, 64, 0.5)","rgba(153, 102, 255, 0.5)","rgba(255, 205, 86, 0.5)","rgba(201, 203, 207, 0.5)","rgba(0, 0, 255, 0.5)","rgba(0, 255, 0, 0.5)","rgba(255, 0, 0, 0.5)","rgba(255, 150, 0, 0.5)","rgba(255, 0, 255, 0.5)","rgba(30, 219, 34, 0.5)","rgba(190, 0, 190, 0.5)","rgba(132, 255, 255, 0.5)","rgba(255, 250, 0, 0.5)","rgba(128, 0, 128, 0.5)","rgba(0, 128, 128, 0.5)","rgba(128, 128, 0, 0.5)","rgba(128, 128, 128, 0.5)"],xo=Yo.map((function(e){return Lo(e)})),wo=["rgba(0, 0, 255, 0.5)","rgba(0, 255, 0, 0.5)","rgba(255, 0, 0, 0.5)","rgba(255, 150, 0, 0.5)","rgba(255, 0, 255, 0.5)","rgba(30, 219, 34, 0.5)","rgba(190, 0, 190, 0.5)","rgba(132, 255, 255, 0.5)","rgba(255, 250, 0, 0.5)"],Do=wo.map((function(e){return Lo(e)})),To=["rgba(30, 219, 34, 0.5)","rgba(190, 0, 190, 0.5)","rgba(255, 150, 0, 0.5)","rgba(0, 0, 255, 0.5)","rgba(132, 255, 255, 0.5)","rgba(255, 0, 255, 0.5)","rgba(0, 255, 0, 0.5)","rgba(255, 150, 75, 0.5)"],So=To.map((function(e){return Lo(e)})),jo={year:"numeric",month:"short",day:"numeric"},Ho=s(87120),Oo=s.n(Ho),Po=s(50008),Ao=s.n(Po);const Eo=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","title":"GeoChart Inputs Schema","description":"This Schema validator validates the GeoChart Inputs.","type":"object","properties":{"chart":{"description":"Supported types of chart.","enum":["line","bar","pie","doughnut"],"default":"line"},"title":{"description":"Optionally provide the title of the chart","type":"string"},"query":{"description":"Groups information on how the data should be queried in the table source","type":"object","properties":{"type":{"description":"Indicates the kind of query to perform - supported values are: \'esriRegular\', \'ogcAPIFeatures\' and \'json\'","type":"string"},"url":{"description":"Indicates the url where to fetch the data to build the chart with - supported urls are Esri services, OGC API Features services or urls pointing to a .json file built on the GeoJson format","type":"string"},"queryOptions":{"description":"","type":"object","properties":{"whereClauses":{"description":"Indicates how to generate the where clause to fetch the correct data in the table source. This is an array to support filtering on more than 1 field. The and logic operator is implicit","type":"array","items":{"type":"object","properties":{"field":{"description":"Indicates the field name, in the table source, on which to filter","type":"string"},"prefix":{"description":"Indicates the prefix/suffix to use to build the query (useful to support single-quotes when the attribute to query is a string)","type":"string"},"valueIs":{"description":"Indicates the value as a literal information (not read from a property name from the datasource)","type":"string"},"valueFrom":{"description":"Indicates the property name, in the datasource.sourceItem(!), to use to query the table source (the url)","type":"string"},"suffix":{"description":"Indicates the prefix/suffix to use to build the query (useful to support single-quotes when the attribute to query is a string)","type":"string"}},"required":["field"]}},"orderByField":{"description":"Indicates the property on which to order the results of the data coming from the table source","type":"string"}}}},"required":["type","url"]},"geochart":{"description":"Groups information on how to build the chart","type":"object","properties":{"borderWidth":{"description":"Indicates the thickness of the borders (or lines in the line chart)","type":"number"},"useSteps":{"description":"Indicates if the line chart should use steps - supported values are: \'before\', \'middle\', \'after\', false","enum":["before","after","middle",false],"default":false},"tension":{"description":"Indicates if the line chart should use tension when drawing the line between the values","type":"number"},"xAxis":{"description":"Groups information on the x axis","type":"object","properties":{"property":{"description":"Indicates the property name on which to read the information from the table source","type":"string"},"type":{"description":"Indicates the type of axis - supported values are: \'linear\', \'time\', \'timeseries\', \'logarithmic\', \'category\'","type":"string","default":"linear"},"label":{"description":"Indicates the text in the user interface that should be shown for the axis","type":"string"},"usePalette":{"description":"Indicates if a pre-determined (GeoChart specific) color palette should be used","type":"boolean"},"paletteBackgrounds":{"description":"Indicates the array of rgba color values to use as the palette for background coloring","type":"array","items":{"description":"A rgba() color","type":"string"}},"paletteBorders":{"description":"Indicates the array of rgb color values to use as the palette for border coloring","type":"array","items":{"description":"A rgb() color","type":"string"}},"tooltipSuffix":{"description":"Indicates the suffix to use on for the values when displayed in the tooltip","type":"string"}},"required":["property"]},"yAxis":{"description":"Groups information on the y axis","type":"object","properties":{"property":{"description":"Indicates the property name on which to read the information from the table source","type":"string"},"type":{"description":"Indicates the type of axis - supported values are: \'linear\', \'time\', \'timeseries\', \'logarithmic\', \'category\'","type":"string"},"label":{"description":"Indicates the text in the user interface that should be shown for the axis","type":"string"},"usePalette":{"description":"Indicates if a pre-determined (GeoChart specific) color palette should be used","type":"boolean"},"paletteBackgrounds":{"description":"Indicates the array of rgba color values to use as the palette for background coloring","type":"array","items":{"description":"A rgba() color","type":"string"}},"paletteBorders":{"description":"Indicates the array of rgb color values to use as the palette for border coloring","type":"array","items":{"description":"A rgb() color","type":"string"}},"tooltipSuffix":{"description":"Indicates the suffix to use on for the values when displayed in the tooltip","type":"string"}},"required":["property"]}},"required":["xAxis","yAxis"]},"category":{"description":"Indicates how the data from the table source should be categorized (this creates the datasets aka the legend)","type":"object","properties":{"property":{"description":"Indicates the property name to use to categorize records","type":"string"},"usePalette":{"description":"Indicates if a pre-determined (GeoChart specific) color palette should be used","type":"boolean"},"paletteBackgrounds":{"description":"Indicates the array of rgba color values to use as the palette for background coloring","type":"array","items":{"description":"A rgba() color","type":"string"}},"paletteBorders":{"description":"Indicates the array of rgb color values to use as the palette for border coloring","type":"array","items":{"description":"A rgb() color","type":"string"}}},"required":["property"]},"datasources":{"description":"Groups information on the datasources to build the datasource drop down and the chart","type":"array","items":{"type":"object","properties":{"display":{"description":"Indicates the string to be displayed in the drop down","type":"string"},"sourceItem":{"description":"Indicates the source item(!) used as reference to query the data from. This property has an object with a property that should equal the property in query.queryOptions.whereClauses.valueFrom","type":"object"},"value":{"description":"Indicates the inner value used for the \'sourceItem\'","type":["number","string"]},"items":{"description":"Indicates the actual items (coming from the table source), associated with the datasources.sourceItem (coming from the origin source), used to build the chart with. When items is already specified/populated, the data isn\'t fetched via the query.url","type":"array","items":{"type":"object"}}},"required":["display"]}},"ui":{"description":"Indicates what ui elements to show with the chart","type":"object","properties":{"xSlider":{"description":"Groups information on the x slider","type":"object","properties":{"display":{"description":"Indicates if the slider should be displayed","type":"boolean"},"step":{"description":"Indicates the steps the slider should jump when sliding","type":"number"},"min":{"description":"Indicates the minimum value for the slider","type":"number"},"max":{"description":"Indicates the maximum value for the slider","type":"number"}},"required":["display"]},"ySlider":{"description":"Groups information on the y slider","type":"object","properties":{"display":{"description":"Indicates if the slider should be displayed","type":"boolean"},"step":{"description":"Indicates the steps the slider should jump when sliding","type":"number"},"min":{"description":"Indicates the minimum value for the slider","type":"number"},"max":{"description":"Indicates the maximum value for the slider","type":"number"}},"required":["display"]},"stepsSwitcher":{"description":"Indicates if the select drop down to switch the steps on-the-fly is displayed","type":"boolean"},"resetStates":{"description":"Indicates if the button to reset the states is displayed","type":"boolean"},"description":{"description":"Indicates the description text to show at the bottom of the chart","type":"string"},"download":{"description":"Indicates if a download button should be displayed","type":"boolean"}}},"chartjsOptions":{"description":"Iindicates further ChartJS specific options to open the door to further customization when natively supported by ChartJS: https://www.chartjs.org/docs/latest/general/options.html","type":"object"}},"required":["chart","geochart","datasources"]}'),Co=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","title":"GeoChart Data Schema","description":"This Schema validator validates the ChartJS data. ABSOLUTELY UNFINISHED.","type":"object","properties":{"labels":{"description":"The labels to use for the X axis.","type":"array","items":{"type":"string"}},"datasets":{"description":"The mandatory datasets information to use to build the chart.","type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"data":{"oneOf":[{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"null"}]}},{"type":"array","items":{"type":"object","properties":{"x":{"oneOf":[{"type":"number"},{"type":"string"},{"type":"object"}]},"y":{"oneOf":[{"type":"number"},{"type":"string"}]}},"required":["x","y"]}},{"type":"object"}]},"backgroundColor":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"borderColor":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"borderWidth":{"type":"integer"},"stepped":{"anyOf":[{"type":"string","enum":["before","after","middle"]},{"type":"boolean"}],"default":false}},"required":["data"]}}}}'),Fo=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","title":"GeoChart Options Schema","description":"This Schema validator validates the ChartJS options.","type":"object","properties":{"responsive":{"type":"boolean"},"plugins":{"type":"object","properties":{"legend":{"type":"object","properties":{"display":{"type":"boolean"}}}}},"scales":{"type":"object"}},"required":["responsive","plugins"]}');var Ro,Wo=(0,i.A)((function e(){var t=this;(0,n.A)(this,e),(0,l.A)(this,"validateInputs",(function(e){return t.validateJsonSchema(Eo,e)})),(0,l.A)(this,"validateData",(function(e){return t.validateJsonSchema(Co,e)})),(0,l.A)(this,"validateOptions",(function(e){return t.validateJsonSchema(Fo,e)})),(0,l.A)(this,"validateJsonSchema",(function(e,s){var n,i=t.ajv.compile(e);return{valid:i(s),errors:null===(n=i.errors)||void 0===n?void 0:n.map((function(e){var t=e.message||"generic schema error";return"".concat(e.schemaPath," | ").concat(e.keyword," | ").concat(t)}))}})),this.ajv=new(Oo()),Ao()(this.ajv)}));function zo(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),s.push.apply(s,n)}return s}function No(e){for(var t=1;t0&&(d=Zo(e,t,s,n,i)),function(e){var t=e.datasets.sort((function(e,t){return e.label&&t.label?e.label.localeCompare(t.label):0}));e.datasets=t}(d),"time"!==(null===(r=e.geochart.xAxis)||void 0===r?void 0:r.type)&&"timeseries"!==(null===(o=e.geochart.xAxis)||void 0===o?void 0:o.type)||d.datasets.forEach((function(e){var t=e.data.sort((function(e,t){return e.x instanceof Date?e.x===t.x?0:e.x=0&&e.setDatasetVisibility(a,null===(i=t[n])||void 0===i?void 0:i.checked)})),e.update()}}),[i]),Ms=l((function(e,t){if(i.logTraceUseCallback("GEOCHART - processLoadingRecords",e,t),e){var s,n=e.config;if("pie"===n.type||"doughnut"===n.type)null===(s=e.data.labels)||void 0===s||s.forEach((function(s){var n,i=e.data.labels.indexOf(s),a=e.getDataVisibility(i);(null===(n=t[s])||void 0===n?void 0:n.checked)!==a&&e.toggleDataVisibility(i)})),e.update()}}),[i]),Ls=l((function(e,t,s,n,a,r,o){var d;i.logTraceUseCallback("GEOCHART - processLoadingRecords",e,t,s,n);var l=function(e,t,s,n){var i,a,r=No(No(No({},t),e.chartjsOptions),{},{plugins:No({},t.plugins)});if("line"===e.chart&&("time"===(null===(i=e.geochart.xAxis)||void 0===i?void 0:i.type)||"timeseries"===(null===(a=e.geochart.xAxis)||void 0===a?void 0:a.type))){var o,d=r;d.scales=No(No({},d.scales),{},{x:{type:null===(o=e.geochart.xAxis)||void 0===o?void 0:o.type,ticks:{autoSkip:!0,maxTicksLimit:20,major:{enabled:!0},padding:10,source:"auto",callback:function(e,t,s){var i=new Date(e).toLocaleString(n,jo);return s[t].geoLabel=i,s[t].major||t>0&&i!==s[t-1].geoLabel?i:""}},offset:!0}})}if("line"===e.chart||"bar"===e.chart){var l=r;s&&(l.scales=No(No({},l.scales),{},{y:{type:s}})),l.plugins=l.plugins||{},l.plugins.tooltip=l.plugins.tooltip||{},l.plugins.tooltip.callbacks=l.plugins.tooltip.callbacks||{},e.geochart.yAxis.tooltipSuffix&&(l.plugins.tooltip.callbacks.label=function(t){return"".concat(t.formattedValue," ").concat(e.geochart.yAxis.tooltipSuffix)})}return r}(e,H,r,n),u=Xo(e,t,s,a,o,O);null==q||q(e.chart,l,u),oe(e.chart),fe(l),ce(u),0===(null===(d=u.datasets)||void 0===d?void 0:d.length)&&ke({shouldRedraw:!0})}),[H,O,i]),bs=l((function(e,t,s,n,a,r,o,d,l){i.logTraceUseCallback("GEOCHART - processLoadingRecordsFilteringFirst",e,t,s,n);var u=o?(0,y.A)(o):[];if("line"===(null==e?void 0:e.chart)){var c,h;if(Array.isArray(d)&&2===d.length)if("time"===(null==e||null===(c=e.geochart)||void 0===c?void 0:c.xAxis.type)||"timeseries"===(null==e||null===(h=e.geochart)||void 0===h?void 0:h.xAxis.type)){var _=new Date(d[0]),m=new Date(d[1]);u=o.filter((function(t){var s=new Date(t[e.geochart.xAxis.property]);return _<=s&&s<=m}))}else{var f=d[0],p=d[1];u=o.filter((function(t){return f<=t[e.geochart.xAxis.property]&&t[e.geochart.xAxis.property]<=p}))}if(Array.isArray(l)&&2===l.length){var g=l[0],M=l[1];u=u.filter((function(t){return g<=t[e.geochart.yAxis.property]&&t[e.geochart.yAxis.property]<=M}))}}Ls(e,t,s,n,a,r,u),Ve(u)}),[Ls,i]),vs=l((function(e){i.logTraceUseCallback("GEOCHART - handleChartJSAfterInit",e,Re,Ae),ys(e,Ae),Ms(e,Re)}),[Re,Ae,Ms,ys,i]);r((function(){var e="GEOCHART - PARENT - INPUTS";return i.logTraceUseEffect(e,T),ne(T),Me(void 0),ce(nd.defaultProps.data),fe(nd.defaultProps.options),T&&xt(D.validateInputs(T)),function(){i.logTraceUseEffectUnmount(e,T)}}),[T,D,i]),r((function(){var e="GEOCHART - PARENT - CHARTJS INPUTS";return i.logTraceUseEffect(e),oe(j),fe(H),ce(O),function(){i.logTraceUseEffectUnmount(e)}}),[j,H,O,i]),r((function(){var e="GEOCHART - PARENT - DATASOURCE";return i.logTraceUseEffect(e,S),Me(S),function(){i.logTraceUseEffectUnmount(e,S)}}),[S,i]),r((function(){var e="GEOCHART - PARENT - LOADING DATASOURCE";return i.logTraceUseEffect(e,F),void 0!==F&&He(F),function(){i.logTraceUseEffectUnmount(e)}}),[F,i]),r((function(){var e="GEOCHART - PARENT - ACTION";return i.logTraceUseEffect(e,P),P&&ke(P),function(){i.logTraceUseEffectUnmount(e)}}),[P,i]),r((function(){var e="GEOCHART - CURRENT - i18n";i.logTraceUseEffect(e);var t=X.cloneInstance({lng:R,fallbackLng:R});return cs(t),function(){i.logTraceUseEffectUnmount(e)}}),[X,R,i]),r((function(){var e="GEOCHART - CURRENT - PLUGINS";return i.logTraceUseEffect(e),$t([{id:"geochart-chartjs-plugin",afterInit:function(e){return vs(e)}}]),function(){i.logTraceUseEffectUnmount(e)}}),[vs,i]),r((function(){var e,t="GEOCHART - CURRENT - INPUTS";i.logTraceUseEffect(t,se);var s=function(){var e=(0,g.A)(L().mark((function e(t,s,n){return L().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ms(t,s,n.sourceItem,K);case 2:n.items=e.sent,Me(n);case 4:case"end":return e.stop()}}),e)})));return function(t,s,n){return e.apply(this,arguments)}}();Ft((null==se?void 0:se.geochart.useSteps)||!1);var n="linear";if("logarithmic"===(null==se||null===(e=se.geochart.yAxis)||void 0===e?void 0:e.type)&&(n="logarithmic"),Nt(n),se&&se.datasources&&se.datasources.length>0){var a=se.datasources[0];!a.items&&se.query?s(se.query,us.language,a):Me(a)}else Me(void 0);return function(){i.logTraceUseEffectUnmount(t,se)}}),[se,us.language,i]),r((function(){var e,t,s,n="GEOCHART - CURRENT - SELECTED DATASOURCE";(i.logTraceUseEffect(n,se,ye),se&&ye)&&(ps(ye.items,null===(e=se.category)||void 0===e?void 0:e.property,null===(t=se.category)||void 0===t?void 0:t.paletteBackgrounds,null===(s=se.category)||void 0===s?void 0:s.paletteBorders),gs(se.chart,ye.items,se.geochart.xAxis.property,se.geochart.xAxis.paletteBackgrounds,se.geochart.xAxis.paletteBorders));return function(){i.logTraceUseEffectUnmount(n,ye)}}),[se,ye,ps,gs,i]),r((function(){var e="GEOCHART - CURRENT - DATASOURCE STEPS SLIDERS";if(i.logTraceUseEffect(e,se,ye),se&&ye){var t,s=function(e,t,s){var n,i,a,r,o,d,l=null==t||null===(n=t.xSlider)||void 0===n?void 0:n.min,u=null==t||null===(i=t.xSlider)||void 0===i?void 0:i.max;if(null!=t&&null!==(a=t.xSlider)&&void 0!==a&&a.display&&s&&s.length>0){if(void 0===l||void 0===u){var c=s.map((function(t){return"time"===e.xAxis.type||"timeseries"===e.xAxis.type?new Date(t[e.xAxis.property]).getTime():t[e.xAxis.property]}));l=void 0!==l?l:Math.floor(Math.min.apply(Math,(0,y.A)(c))),u=void 0!==u?u:Math.ceil(Math.max.apply(Math,(0,y.A)(c)))}Je(l),Ze(u),null!=t&&t.xSlider.step&&tt(null==t?void 0:t.xSlider.step)}var h=null==t||null===(r=t.ySlider)||void 0===r?void 0:r.min,_=null==t||null===(o=t.ySlider)||void 0===o?void 0:o.max;if(null!=t&&null!==(d=t.ySlider)&&void 0!==d&&d.display&&s&&s.length>0&&yo(s[0][e.yAxis.property])){if(void 0===h||void 0===_){var m=s.map((function(t){return t[e.yAxis.property]}));h=void 0!==h?h:Math.floor(Math.min.apply(Math,(0,y.A)(m))),_=void 0!==_?_:Math.ceil(Math.max.apply(Math,(0,y.A)(m)))}lt(h),_t(_),null!=t&&t.ySlider.step&>(null==t?void 0:t.ySlider.step)}return[l,u,h,_]}(se.geochart,se.ui,ye.items),n=(0,p.A)(s,4),a=n[0],r=n[1],o=n[2],d=n[3],l=function(e,t,s,n,i,a,r){var o,d,l=!1;if(null!=e&&null!==(o=e.xSlider)&&void 0!==o&&o.display)if(s&&!a)at([t,s]);else if(a){var u=(0,p.A)(a,2);t=u[0],s=u[1],l=!0}if(null!=e&&null!==(d=e.ySlider)&&void 0!==d&&d.display)if(i&&!r)bt([n,i]);else if(r){var c=(0,p.A)(r,2);n=c[0],i=c[1],l=!0}return[l,[t,s,n,i]]}(se.ui,a,r,o,d,it,Lt),u=(0,p.A)(l,2);t=u[0];var c=(0,p.A)(u[1],4);a=c[0],r=c[1],o=c[2],d=c[3],t?bs(se,Ae,Re,us.language,Ct,zt,ye.items,[a,r],[o,d]):Ls(se,Ae,Re,us.language,Ct,zt,ye.items)}return function(){i.logTraceUseEffectUnmount(e,ye)}}),[se,ye,Re,Ae,us.language,Ct,zt,it,Lt,bs,Ls,i]),r((function(){var e="GEOCHART - CURRENT - CHARTJS OPTIONS+DATA";return i.logTraceUseEffect(e,me,ue),me&&St(D.validateOptions(me)),ue&&Pt(D.validateData(ue)),function(){i.logTraceUseEffectUnmount(e)}}),[me,ue,D,i]),r((function(){var e="GEOCHART - CURRENT - DATASETS REGISTRY";return i.logTraceUseEffect(e),ys(_s.current,Ae),function(){i.logTraceUseEffectUnmount(e)}}),[Ae,ys,i]),r((function(){var e="GEOCHART - CURRENT - DATAS REGISTRY";return i.logTraceUseEffect(e),Ms(_s.current,Re),function(){i.logTraceUseEffectUnmount(e)}}),[Re,Ms,i]),r((function(){var e="GEOCHART - CURRENT - VALIDATORS - INPUTS";if(i.logTraceUseEffect(e,fs([Yt])),!fs([Yt])){var t=Wo.parseValidatorResultsMessages([Yt]);null==K||K("".concat(hs("geochart.parsingError"),"\n\n").concat(t),void 0)}return function(){i.logTraceUseEffectUnmount(e)}}),[Yt,hs,i]),r((function(){var e="GEOCHART - CURRENT - VALIDATORS - OPTIONS+DATA";if(i.logTraceUseEffect(e,fs([Tt,Ot])),!fs([Tt,Ot])){var t=Wo.parseValidatorResultsMessages([Tt,Ot]);null==K||K("".concat(hs("geochart.parsingError"),"\n\n").concat(t),void 0)}return function(){i.logTraceUseEffectUnmount(e)}}),[Tt,Ot,hs,i]),r((function(){var e="GEOCHART - CURRENT - ACTION";return i.logTraceUseEffect(e,ve),null!=ve&&ve.shouldRedraw&&(ve.shouldRedraw=!1,new Promise((function(e){De(!0),setTimeout((function(){De(!1),e()}),200)}))),function(){i.logTraceUseEffectUnmount(e)}}),[ve,i]);var ks,Ys,xs=function(){var e=(0,g.A)(L().mark((function e(t,s){var n;return L().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=se.datasources.find((function(e){return(e.value||e.display)===s.props.value}))){e.next=3;break}return e.abrupt("return");case 3:if(n.items){e.next=7;break}return e.next=6,ms(se.query,us.language,n.sourceItem,K);case 6:n.items=e.sent;case 7:Me(n),null==W||W(n,us.language);case 9:case"end":return e.stop()}}),e)})));return function(t,s){return e.apply(this,arguments)}}(),ws=function(e){at(e),null==I||I(e)},Ds=function(e){bt(e),null==U||U(e)},Ts=function(e,t){Ft(t.props.value),null==J||J(t.props.value)},Ss=function(e,t){Nt(t.props.value),null==G||G(t.props.value)},js=function(e){var t,s,n=null==V?void 0:V(e);return n||("time"===(null==se||null===(t=se.geochart)||void 0===t?void 0:t.xAxis.type)||"timeseries"===(null==se||null===(s=se.geochart)||void 0===s?void 0:s.xAxis.type)?new Date(e).toLocaleDateString(us.language,jo):e.toString())},Hs=function(e){var t=null==$?void 0:$(e);return t||e.toString()},Os=function(e){var t=sd({},ye);if(0===e&&(t.items=Ie||t.items,null!=se&&se.category)){var s,n=Object.keys(Ae).filter((function(e){return Ae[e].checked}));if(t.items=null===(s=t.items)||void 0===s?void 0:s.filter((function(e){return n.includes(e[se.category.property])})),"pie"===re||"doughnut"===re){var i,a=Object.keys(Re).filter((function(e){return Re[e].checked}));t.items=null===(i=t.items)||void 0===i?void 0:i.filter((function(e){return a.includes(e[se.geochart.xAxis.property])}))}}var r=null==B?void 0:B(t,e);r||(r="chart-data.json"),bo(t,r)},Ps=l((function(e,t){var s=[];if(Array.isArray(e))for(var n=0;n1){var e="pie"===re||"doughnut"===re?"".concat(hs("geochart.category"),":"):"";return(0,ed.jsxs)("div",{children:[(0,ed.jsx)(b,{sx:Z.checkDatasetWrapperLabel,children:e}),Object.entries(Ae).filter((function(e){return(0,p.A)(e,2)[1].visible})).map((function(e,t){var s,n=(0,p.A)(e,2),i=n[0],a=n[1];return"line"!==re&&"bar"!==re||(s=a.borderColor),(0,ed.jsxs)(h,{sx:Z.checkDatasetWrapper,children:[(0,ed.jsx)(f,{onChange:function(e){var s,n,a,r;n=t,a=i,r=null===(s=e.target)||void 0===s?void 0:s.checked,Ae[a].checked=r,Ee(sd({},Ae)),null==N||N(n,a,r)},checked:void 0===Ae[i].checked||Ae[i].checked}),(0,ed.jsx)(b,{sx:sd(sd({},Z.checkDatasetLabel),{color:s}),noWrap:!0,children:i})]},i||t)}))]})}return(0,ed.jsx)(h,{})},zs=function(){return se&&ue&&("pie"===re||"doughnut"===re)&&Object.keys(Re).length>1?(0,ed.jsx)(ed.Fragment,{children:Object.entries(Re).filter((function(e){return(0,p.A)(e,2)[1].visible})).map((function(e,t){var s=(0,p.A)(e,2),n=s[0],i=s[1].borderColor;return(0,ed.jsxs)(h,{sx:Z.checkDatasetWrapper,children:[(0,ed.jsx)(f,{onChange:function(e){var s,i,a,r;i=t,a=n,r=null===(s=e.target)||void 0===s?void 0:s.checked,Re[a].checked=r,We(sd({},Re)),null==z||z(i,a,r)},checked:void 0===Re[n].checked||Re[n].checked}),(0,ed.jsx)(b,{sx:sd(sd({},Z.checkDatasetLabel),{color:i}),noWrap:!0,children:n})]},n||t)}))}):(0,ed.jsx)(h,{})};return fs([Yt,Tt,Ot])?(0,ed.jsxs)(h,{sx:Z.mainContainer,children:[!E&&(0,ed.jsx)(c,{sx:sd(sd({},Q),Z.mainGeoChartContainer),children:(0,ed.jsxs)(_,{container:!0,sx:{m:"20px"},children:[(0,ed.jsxs)(_,{item:!0,xs:12,children:[(0,ed.jsxs)(h,{sx:Z.header,children:[Cs(),(0,ed.jsxs)(ed.Fragment,{children:[Fs(),Rs(),!1]}),null!=se&&null!==(Ys=se.ui)&&void 0!==Ys&&Ys.download?(0,ed.jsx)(h,{sx:Z.downloadButton,children:(0,ed.jsx)(m,{onButtonClick:Os,options:[hs("geochart.downloadFiltered"),hs("geochart.downloadAll")]})}):(0,ed.jsx)(h,{})]}),(0,ed.jsx)(h,{sx:Z.title,children:se&&se.title?(0,ed.jsx)(h,{sx:Z.title,children:se.title}):(0,ed.jsx)(h,{})}),(0,ed.jsxs)(h,{sx:Z.dataset,children:[zs(),Ws()]})]}),(0,ed.jsx)(_,{item:!0,xs:1,children:"line"===re||"bar"===re?(0,ed.jsx)(h,{sx:Z.yAxisLabel,children:(null==se?void 0:se.geochart.yAxis.label)||(null==se?void 0:se.geochart.yAxis.property)}):(0,ed.jsx)(h,{})}),(0,ed.jsxs)(_,{item:!0,sx:Z.chartContent,xs:10,children:[je&&(0,ed.jsx)(k,{sx:Z.loadingDatasource}),(0,ed.jsx)(mo,{ref:_s,type:re,data:ue,options:me,plugins:Ut,redraw:we})]}),(0,ed.jsx)(_,{item:!0,xs:1,children:Es()}),(0,ed.jsx)(_,{item:!0,xs:1.25}),(0,ed.jsxs)(_,{item:!0,xs:9.75,children:["line"===re||"bar"===re?(0,ed.jsx)(h,{sx:Z.xAxisLabel,children:(null==se?void 0:se.geochart.xAxis.label)||(null==se?void 0:se.geochart.xAxis.property)}):(0,ed.jsx)(h,{}),As()]}),(0,ed.jsx)(_,{item:!0,xs:1}),(0,ed.jsx)(_,{item:!0,xs:12,children:null!=se&&null!==(ks=se.ui)&&void 0!==ks&&ks.description?(0,ed.jsx)(h,{children:se.ui.description}):(0,ed.jsx)(h,{})})]})}),E&&(0,ed.jsx)(k,{})]}):(0,ed.jsxs)(h,{sx:Z.chartError,children:[hs("geochart.parsingError")," ",hs("geochart.viewConsoleDetails")]})}nd.defaultProps={sx:null,inputs:null,chart:"line",options:{responsive:!0,plugins:{legend:{display:!1}}},data:{datasets:[],labels:[],borderWidth:10}};const id=function(e){var t=window.cgpv,s=t.react,n=t.ui,i=s.useEffect,a=s.useState,r=s.useCallback,o=n.elements.Box,d=e.schemaValidator,l=a(),u=(0,p.A)(l,2),c=u[0],h=u[1],_=a(),m=(0,p.A)(_,2),f=m[0],g=m[1],y=a(),M=(0,p.A)(y,2),L=M[0],b=M[1],v=a(),k=(0,p.A)(v,2),Y=k[0],x=k[1],w=a(),D=(0,p.A)(w,2),T=D[0],S=D[1],j=a(),H=(0,p.A)(j,2),O=H[0],P=H[1],A=a(),E=(0,p.A)(A,2),C=E[0],F=E[1],R=a(),W=(0,p.A)(R,2),z=W[0],N=W[1],I=function(e){var t=e;t.detail.inputs?h(t.detail.inputs):(h(void 0),t.detail.chart&&g(t.detail.chart),t.detail.options&&x(t.detail.options),t.detail.data&&b(t.detail.data),S({shouldRedraw:!0}))},V=function(){S({shouldRedraw:!0})},U=function(e){var t=e;F(!1),N(!1),1===t.detail.state&&F(!0),2===t.detail.state&&N(!0)},$=r((function(e,t,s){window.dispatchEvent(new CustomEvent("chart/parsed",{detail:{chart:e,options:t,data:s}}))}),[]),B=r((function(e,t){console.error(e,t),alert(e)}),[]),J=r((function(e){P(e.detail.language)}),[]);return i((function(){return window.addEventListener("chart/load",I),window.addEventListener("chart/redraw",V),window.addEventListener("chart/language",J),window.addEventListener("chart/isLoading",U),function(){window.removeEventListener("chart/load",I),window.removeEventListener("chart/redraw",V),window.removeEventListener("chart/language",J),window.removeEventListener("chart/isLoading",U)}}),[J]),(0,ed.jsx)(o,{sx:{padding:"10px"},children:(0,ed.jsx)(nd,{inputs:c,schemaValidator:d,chart:f,data:L,options:Y,action:T,language:O,isLoadingChart:C,isLoadingDatasource:z,onParsed:$,onError:B})})},ad={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class rd{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||ad,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),s=0;s{this.observers[e]||(this.observers[e]=new Map);const s=this.observers[e].get(t)||0;this.observers[e].set(t,s+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n{let[t,n]=e;for(let e=0;e{let[n,i]=t;for(let t=0;t{e=s,t=n}));return s.resolve=e,s.reject=t,s}function ud(e){return null==e?"":""+e}const cd=/###/g;function hd(e,t,s){function n(e){return e&&e.indexOf("###")>-1?e.replace(cd,"."):e}function i(){return!e||"string"==typeof e}const a="string"!=typeof t?t:t.split(".");let r=0;for(;r":">",'"':""","'":"'","/":"/"};function yd(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>gd[e])):e}const Md=[" ",",","?","!",";"],Ld=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const s=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,s),this.regExpQueue.push(e),s}}(20);function bd(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const n=t.split(s);let i=e;for(let e=0;e-1&&r0?e.replace("_","-"):e}class kd extends dd{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,s){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,a=void 0!==n.ignoreJSONStructure?n.ignoreJSONStructure:this.options.ignoreJSONStructure;let r;e.indexOf(".")>-1?r=e.split("."):(r=[e,t],s&&(Array.isArray(s)?r.push(...s):"string"==typeof s&&i?r.push(...s.split(i)):r.push(s)));const o=md(this.data,r);return!o&&!t&&!s&&e.indexOf(".")>-1&&(e=r[0],t=r[1],s=r.slice(2).join(".")),o||!a||"string"!=typeof s?o:bd(this.data&&this.data[e]&&this.data[e][t],s,i)}addResource(e,t,s,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const a=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let r=[e,t];s&&(r=r.concat(a?s.split(a):s)),e.indexOf(".")>-1&&(r=e.split("."),n=t,t=r[1]),this.addNamespaces(t),_d(this.data,r,n),i.silent||this.emit("added",e,t,s,n)}addResources(e,t,s){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const n in s)("string"==typeof s[n]||Array.isArray(s[n]))&&this.addResource(e,t,n,s[n],{silent:!0});n.silent||this.emit("added",e,t,s)}addResourceBundle(e,t,s,n,i){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},r=[e,t];e.indexOf(".")>-1&&(r=e.split("."),n=s,s=t,t=r[1]),this.addNamespaces(t);let o=md(this.data,r)||{};a.skipCopy||(s=JSON.parse(JSON.stringify(s))),n?fd(o,s,i):o={...o,...s},_d(this.data,r,o),a.silent||this.emit("added",e,t,s)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var Yd={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,s,n,i){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,s,n,i))})),t}};const xd={};class wd extends dd{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),function(e,t,s){e.forEach((e=>{t[e]&&(s[e]=t[e])}))}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=od.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const s=this.resolve(e,t);return s&&void 0!==s.res}extractFromKey(e,t){let s=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===s&&(s=":");const n=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const a=s&&e.indexOf(s)>-1,r=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,s){t=t||"",s=s||"";const n=Md.filter((e=>t.indexOf(e)<0&&s.indexOf(e)<0));if(0===n.length)return!0;const i=Ld.getRegExp(`(${n.map((e=>"?"===e?"\\?":e)).join("|")})`);let a=!i.test(e);if(!a){const t=e.indexOf(s);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a}(e,s,n));if(a&&!r){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i};const a=e.split(s);(s!==n||s===n&&this.options.ns.indexOf(a[0])>-1)&&(i=a.shift()),e=a.join(n)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}translate(e,t,s){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const n=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:a,namespaces:r}=this.extractFromKey(e[e.length-1],t),o=r[r.length-1],d=t.lng||this.language,l=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&"cimode"===d.toLowerCase()){if(l){const e=t.nsSeparator||this.options.nsSeparator;return n?{res:`${o}${e}${a}`,usedKey:a,exactUsedKey:a,usedLng:d,usedNS:o,usedParams:this.getUsedParamsDetails(t)}:`${o}${e}${a}`}return n?{res:a,usedKey:a,exactUsedKey:a,usedLng:d,usedNS:o,usedParams:this.getUsedParamsDetails(t)}:a}const u=this.resolve(e,t);let c=u&&u.res;const h=u&&u.usedKey||a,_=u&&u.exactUsedKey||a,m=Object.prototype.toString.apply(c),f=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,p=!this.i18nFormat||this.i18nFormat.handleAsObject;if(p&&c&&("string"!=typeof c&&"boolean"!=typeof c&&"number"!=typeof c)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(m)<0&&("string"!=typeof f||!Array.isArray(c))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,c,{...t,ns:r}):`key '${a} (${this.language})' returned an object instead of string.`;return n?(u.res=e,u.usedParams=this.getUsedParamsDetails(t),u):e}if(i){const e=Array.isArray(c),s=e?[]:{},n=e?_:h;for(const e in c)if(Object.prototype.hasOwnProperty.call(c,e)){const a=`${n}${i}${e}`;s[e]=this.translate(a,{...t,joinArrays:!1,ns:r}),s[e]===a&&(s[e]=c[e])}c=s}}else if(p&&"string"==typeof f&&Array.isArray(c))c=c.join(f),c&&(c=this.extendTranslation(c,e,t,s));else{let n=!1,r=!1;const l=void 0!==t.count&&"string"!=typeof t.count,h=wd.hasDefaultValue(t),_=l?this.pluralResolver.getSuffix(d,t.count,t):"",m=t.ordinal&&l?this.pluralResolver.getSuffix(d,t.count,{ordinal:!1}):"",f=l&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),p=f&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${_}`]||t[`defaultValue${m}`]||t.defaultValue;!this.isValidLookup(c)&&h&&(n=!0,c=p),this.isValidLookup(c)||(r=!0,c=a);const g=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&r?void 0:c,y=h&&p!==c&&this.options.updateMissing;if(r||n||y){if(this.logger.log(y?"updateKey":"missingKey",d,o,a,y?p:c),i){const e=this.resolve(a,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const s=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&s&&s[0])for(let t=0;t{const i=h&&n!==c?n:g;this.options.missingKeyHandler?this.options.missingKeyHandler(e,o,s,i,y,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,o,s,i,y,t),this.emit("missingKey",e,o,s,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&l?e.forEach((e=>{const s=this.pluralResolver.getSuffixes(e,t);f&&t[`defaultValue${this.options.pluralSeparator}zero`]&&s.indexOf(`${this.options.pluralSeparator}zero`)<0&&s.push(`${this.options.pluralSeparator}zero`),s.forEach((s=>{n([e],a+s,t[`defaultValue${s}`]||p)}))})):n(e,a,p))}c=this.extendTranslation(c,e,t,u,s),r&&c===a&&this.options.appendNamespaceToMissingKey&&(c=`${o}:${a}`),(r||n)&&this.options.parseMissingKeyHandler&&(c="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${o}:${a}`:a,n?c:void 0):this.options.parseMissingKeyHandler(c))}return n?(u.res=c,u.usedParams=this.getUsedParamsDetails(t),u):c}extendTranslation(e,t,s,n,i){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...s},s.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!s.skipInterpolation){s.interpolation&&this.interpolator.init({...s,interpolation:{...this.options.interpolation,...s.interpolation}});const r="string"==typeof e&&(s&&s.interpolation&&void 0!==s.interpolation.skipOnVariables?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let o;if(r){const t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let d=s.replace&&"string"!=typeof s.replace?s.replace:s;if(this.options.interpolation.defaultVariables&&(d={...this.options.interpolation.defaultVariables,...d}),e=this.interpolator.interpolate(e,d,s.lng||this.language||n.usedLng,s),r){const t=e.match(this.interpolator.nestingRegexp);o<(t&&t.length)&&(s.nest=!1)}!s.lng&&"v1"!==this.options.compatibilityAPI&&n&&n.res&&(s.lng=this.language||n.usedLng),!1!==s.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,n=new Array(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const o=this.extractFromKey(e,r),d=o.key;s=d;let l=o.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));const u=void 0!==r.count&&"string"!=typeof r.count,c=u&&!r.ordinal&&0===r.count&&this.pluralResolver.shouldUseIntlApi(),h=void 0!==r.context&&("string"==typeof r.context||"number"==typeof r.context)&&""!==r.context,_=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);l.forEach((e=>{this.isValidLookup(t)||(a=e,!xd[`${_[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(a)&&(xd[`${_[0]}-${e}`]=!0,this.logger.warn(`key "${s}" for languages "${_.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),_.forEach((s=>{if(this.isValidLookup(t))return;i=s;const a=[d];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(a,d,s,e,r);else{let e;u&&(e=this.pluralResolver.getSuffix(s,r.count,r));const t=`${this.options.pluralSeparator}zero`,n=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(a.push(d+e),r.ordinal&&0===e.indexOf(n)&&a.push(d+e.replace(n,this.options.pluralSeparator)),c&&a.push(d+t)),h){const s=`${d}${this.options.contextSeparator}${r.context}`;a.push(s),u&&(a.push(s+e),r.ordinal&&0===e.indexOf(n)&&a.push(s+e.replace(n,this.options.pluralSeparator)),c&&a.push(s+t))}}let o;for(;o=a.pop();)this.isValidLookup(t)||(n=o,t=this.getResource(s,e,o,r))})))}))})),{res:t,usedKey:s,exactUsedKey:n,usedLng:i,usedNS:a}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,s){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,s,n):this.resourceStore.getResource(e,t,s,n)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],s=e.replace&&"string"!=typeof e.replace;let n=s?e.replace:e;if(s&&void 0!==e.count&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!s){n={...n};for(const e of t)delete n[e]}return n}static hasDefaultValue(e){const t="defaultValue";for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&t===s.substring(0,12)&&void 0!==e[s])return!0;return!1}}function Dd(e){return e.charAt(0).toUpperCase()+e.slice(1)}class Td{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=od.create("languageUtils")}getScriptPartFromCode(e){if(!(e=vd(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=vd(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let s=e.split("-");return this.options.lowerCaseLng?s=s.map((e=>e.toLowerCase())):2===s.length?(s[0]=s[0].toLowerCase(),s[1]=s[1].toUpperCase(),t.indexOf(s[1].toLowerCase())>-1&&(s[1]=Dd(s[1].toLowerCase()))):3===s.length&&(s[0]=s[0].toLowerCase(),2===s[1].length&&(s[1]=s[1].toUpperCase()),"sgn"!==s[0]&&2===s[2].length&&(s[2]=s[2].toUpperCase()),t.indexOf(s[1].toLowerCase())>-1&&(s[1]=Dd(s[1].toLowerCase())),t.indexOf(s[2].toLowerCase())>-1&&(s[2]=Dd(s[2].toLowerCase()))),s.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const s=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(s)||(t=s)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const s=this.getLanguagePartFromCode(e);if(this.isSupportedCode(s))return t=s;t=this.options.supportedLngs.find((e=>e===s?e:e.indexOf("-")<0&&s.indexOf("-")<0?void 0:e.indexOf("-")>0&&s.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===s||0===e.indexOf(s)&&s.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let s=e[t];return s||(s=e[this.getScriptPartFromCode(t)]),s||(s=e[this.formatLanguageCode(t)]),s||(s=e[this.getLanguagePartFromCode(t)]),s||(s=e.default),s||[]}toResolveHierarchy(e,t){const s=this.getFallbackCodes(t||this.options.fallbackLng||[],e),n=[],i=e=>{e&&(this.isSupportedCode(e)?n.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),s.forEach((e=>{n.indexOf(e)<0&&i(this.formatLanguageCode(e))})),n}}let Sd=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],jd={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};const Hd=["v1","v2","v3"],Od=["v4"],Pd={zero:0,one:1,two:2,few:3,many:4,other:5};class Ad{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=od.create("pluralResolver"),this.options.compatibilityJSON&&!Od.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){const e={};return Sd.forEach((t=>{t.lngs.forEach((s=>{e[s]={numbers:t.nr,plurals:jd[t.fc]}}))})),e}()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(vd("dev"===e?"en":e),{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=this.getRule(e,t);return this.shouldUseIntlApi()?s&&s.resolvedOptions().pluralCategories.length>1:s&&s.numbers.length>1}getPluralFormsOfKey(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,s).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=this.getRule(e,t);return s?this.shouldUseIntlApi()?s.resolvedOptions().pluralCategories.sort(((e,t)=>Pd[e]-Pd[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):s.numbers.map((s=>this.getSuffix(e,s,t))):[]}getSuffix(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.getRule(e,s);return n?this.shouldUseIntlApi()?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:this.getSuffixRetroCompatible(n,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const s=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let n=e.numbers[s];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===n?n="plural":1===n&&(n=""));const i=()=>this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString();return"v1"===this.options.compatibilityJSON?1===n?"":"number"==typeof n?`_plural_${n.toString()}`:i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString()}shouldUseIntlApi(){return!Hd.includes(this.options.compatibilityJSON)}}function Ed(e,t,s){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=function(e,t,s){const n=md(e,s);return void 0!==n?n:md(t,s)}(e,t,s);return!a&&i&&"string"==typeof s&&(a=bd(e,s,n),void 0===a&&(a=bd(t,s,n))),a}class Cd{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=od.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:s,useRawValueToEscape:n,prefix:i,prefixEscaped:a,suffix:r,suffixEscaped:o,formatSeparator:d,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:c,nestingPrefixEscaped:h,nestingSuffix:_,nestingSuffixEscaped:m,nestingOptionsSeparator:f,maxReplaces:p,alwaysFormat:g}=e.interpolation;this.escape=void 0!==t?t:yd,this.escapeValue=void 0===s||s,this.useRawValueToEscape=void 0!==n&&n,this.prefix=i?pd(i):a||"{{",this.suffix=r?pd(r):o||"}}",this.formatSeparator=d||",",this.unescapePrefix=l?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":l||"",this.nestingPrefix=c?pd(c):h||pd("$t("),this.nestingSuffix=_?pd(_):m||pd(")"),this.nestingOptionsSeparator=f||",",this.maxReplaces=p||1e3,this.alwaysFormat=void 0!==g&&g,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,s,n){let i,a,r;const o=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function d(e){return e.replace(/\$/g,"$$$$")}const l=e=>{if(e.indexOf(this.formatSeparator)<0){const i=Ed(t,o,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,s,{...n,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),a=i.shift().trim(),r=i.join(this.formatSeparator).trim();return this.format(Ed(t,o,a,this.options.keySeparator,this.options.ignoreJSONStructure),r,s,{...n,...t,interpolationkey:a})};this.resetRegExp();const u=n&&n.missingInterpolationHandler||this.options.missingInterpolationHandler,c=n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>d(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?d(this.escape(e)):d(e)}].forEach((t=>{for(r=0;i=t.regex.exec(e);){const s=i[1].trim();if(a=l(s),void 0===a)if("function"==typeof u){const t=u(e,i,n);a="string"==typeof t?t:""}else if(n&&Object.prototype.hasOwnProperty.call(n,s))a="";else{if(c){a=i[0];continue}this.logger.warn(`missed to pass in variable ${s} for interpolating ${e}`),a=""}else"string"==typeof a||this.useRawValueToEscape||(a=ud(a));const o=t.safeValue(a);if(e=e.replace(i[0],o),c?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,r++,r>=this.maxReplaces)break}})),e}nest(e,t){let s,n,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function r(e,t){const s=this.nestingOptionsSeparator;if(e.indexOf(s)<0)return e;const n=e.split(new RegExp(`${s}[ ]*{`));let a=`{${n[1]}`;e=n[0],a=this.interpolate(a,i);const r=a.match(/'/g),o=a.match(/"/g);(r&&r.length%2==0&&!o||o.length%2!=0)&&(a=a.replace(/'/g,'"'));try{i=JSON.parse(a),t&&(i={...t,...i})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${s}${a}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,e}for(;s=this.nestingRegexp.exec(e);){let o=[];i={...a},i=i.replace&&"string"!=typeof i.replace?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let d=!1;if(-1!==s[0].indexOf(this.formatSeparator)&&!/{.*}/.test(s[1])){const e=s[1].split(this.formatSeparator).map((e=>e.trim()));s[1]=e.shift(),o=e,d=!0}if(n=t(r.call(this,s[1].trim(),i),i),n&&s[0]===e&&"string"!=typeof n)return n;"string"!=typeof n&&(n=ud(n)),n||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`),n=""),d&&(n=o.reduce(((e,t)=>this.format(e,t,a.lng,{...a,interpolationkey:s[1].trim()})),n.trim())),e=e.replace(s[0],n),this.regexp.lastIndex=0}return e}}function Fd(e){const t={};return function(s,n,i){const a=n+JSON.stringify(i);let r=t[a];return r||(r=e(vd(n),i),t[a]=r),r(s)}}class Rd{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=od.create("formatter"),this.options=e,this.formats={number:Fd(((e,t)=>{const s=new Intl.NumberFormat(e,{...t});return e=>s.format(e)})),currency:Fd(((e,t)=>{const s=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>s.format(e)})),datetime:Fd(((e,t)=>{const s=new Intl.DateTimeFormat(e,{...t});return e=>s.format(e)})),relativetime:Fd(((e,t)=>{const s=new Intl.RelativeTimeFormat(e,{...t});return e=>s.format(e,t.range||"day")})),list:Fd(((e,t)=>{const s=new Intl.ListFormat(e,{...t});return e=>s.format(e)}))},this.init(e)}init(e){const t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Fd(t)}format(e,t,s){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce(((e,t)=>{const{formatName:i,formatOptions:a}=function(e){let t=e.toLowerCase().trim();const s={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const i=n[1].substring(0,n[1].length-1);"currency"===t&&i.indexOf(":")<0?s.currency||(s.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?s.range||(s.range=i.trim()):i.split(";").forEach((e=>{if(e){const[t,...n]=e.split(":"),i=n.join(":").trim().replace(/^'+|'+$/g,""),a=t.trim();s[a]||(s[a]=i),"false"===i&&(s[a]=!1),"true"===i&&(s[a]=!0),isNaN(i)||(s[a]=parseInt(i,10))}}))}return{formatName:t,formatOptions:s}}(t);if(this.formats[i]){let t=e;try{const r=n&&n.formatParams&&n.formatParams[n.interpolationkey]||{},o=r.locale||r.lng||n.locale||n.lng||s;t=this.formats[i](e,o,{...a,...n,...r})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e}),e)}}class Wd extends dd{constructor(e,t,s){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=s,this.languageUtils=s.languageUtils,this.options=n,this.logger=od.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(s,n.backend,n)}queueLoad(e,t,s,n){const i={},a={},r={},o={};return e.forEach((e=>{let n=!0;t.forEach((t=>{const r=`${e}|${t}`;!s.reload&&this.store.hasResourceBundle(e,t)?this.state[r]=2:this.state[r]<0||(1===this.state[r]?void 0===a[r]&&(a[r]=!0):(this.state[r]=1,n=!1,void 0===a[r]&&(a[r]=!0),void 0===i[r]&&(i[r]=!0),void 0===o[t]&&(o[t]=!0)))})),n||(r[e]=!0)})),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(r),toLoadNamespaces:Object.keys(o)}}loaded(e,t,s){const n=e.split("|"),i=n[0],a=n[1];t&&this.emit("failedLoading",i,a,t),s&&this.store.addResourceBundle(i,a,s,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2;const r={};this.queue.forEach((s=>{!function(e,t,s){const{obj:n,k:i}=hd(e,t,Object);n[i]=n[i]||[],n[i].push(s)}(s.loaded,[i],a),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(s,e),t&&s.errors.push(t),0!==s.pendingCount||s.done||(Object.keys(s.loaded).forEach((e=>{r[e]||(r[e]={});const t=s.loaded[e];t.length&&t.forEach((t=>{void 0===r[e][t]&&(r[e][t]=!0)}))})),s.done=!0,s.errors.length?s.callback(s.errors):s.callback())})),this.emit("loaded",r),this.queue=this.queue.filter((e=>!e.done))}read(e,t,s){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:s,tried:n,wait:i,callback:a});this.readingCalls++;const r=(r,o)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}r&&o&&n{this.read.call(this,e,t,s,n+1,2*i,a)}),i):a(r,o)},o=this.backend[s].bind(this.backend);if(2!==o.length)return o(e,t,r);try{const s=o(e,t);s&&"function"==typeof s.then?s.then((e=>r(null,e))).catch(r):r(null,s)}catch(e){r(e)}}prepareLoading(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);const i=this.queueLoad(e,t,s,n);if(!i.toLoad.length)return i.pending.length||n(),null;i.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,s){this.prepareLoading(e,t,{},s)}reload(e,t,s){this.prepareLoading(e,t,{reload:!0},s)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const s=e.split("|"),n=s[0],i=s[1];this.read(n,i,"read",void 0,void 0,((s,a)=>{s&&this.logger.warn(`${t}loading namespace ${i} for language ${n} failed`,s),!s&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${n}`,a),this.loaded(e,s,a)}))}saveMissing(e,t,s,n,i){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${s}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=s&&""!==s){if(this.backend&&this.backend.create){const o={...a,isUpdate:i},d=this.backend.create.bind(this.backend);if(d.length<6)try{let i;i=5===d.length?d(e,t,s,n,o):d(e,t,s,n),i&&"function"==typeof i.then?i.then((e=>r(null,e))).catch(r):r(null,i)}catch(e){r(e)}else d(e,t,s,n,r,o)}e&&e[0]&&this.store.addResource(e[0],t,s,n)}}}function zd(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const s=e[3]||e[2];Object.keys(s).forEach((e=>{t[e]=s[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function Nd(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Id(){}class Vd extends dd{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var s;if(super(),this.options=Nd(e),this.services={},this.logger=od,this.modules={external:[]},s=this,Object.getOwnPropertyNames(Object.getPrototypeOf(s)).forEach((e=>{"function"==typeof s[e]&&(s[e]=s[e].bind(s))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(s=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const n=zd();function i(e){return e?"function"==typeof e?new e:e:null}if(this.options={...n,...this.options,...Nd(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...n.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){let t;this.modules.logger?od.init(i(this.modules.logger),this.options):od.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=Rd);const s=new Td(this.options);this.store=new kd(this.options.resources,this.options);const a=this.services;a.logger=od,a.resourceStore=this.store,a.languageUtils=s,a.pluralResolver=new Ad(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format||(a.formatter=i(t),a.formatter.init(a,this.options),this.options.interpolation.format=a.formatter.format.bind(a.formatter)),a.interpolator=new Cd(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new Wd(i(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on("*",(function(t){for(var s=arguments.length,n=new Array(s>1?s-1:0),i=1;i1?s-1:0),i=1;i{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,s||(s=Id),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=function(){return e.store[t](...arguments)}}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const a=ld(),r=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(t),s(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?r():setTimeout(r,0),a}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Id;const s="string"==typeof e?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(s&&"cimode"===s.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],n=t=>{if(!t)return;if("cimode"===t)return;this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};if(s)n(s);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>n(e)))}this.options.preload&&this.options.preload.forEach((e=>n(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,s){const n=ld();return e||(e=this.languages),t||(t=this.options.ns),s||(s=Id),this.services.backendConnector.reload(e,t,(e=>{n.resolve(),s(e)})),n}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&Yd.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var s=this;this.isLanguageChangingTo=e;const n=ld();this.emit("languageChanging",e);const i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},a=(e,a)=>{a?(i(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit("languageChanged",a),this.logger.log("languageChanged",a)):this.isLanguageChangingTo=void 0,n.resolve((function(){return s.t(...arguments)})),t&&t(e,(function(){return s.t(...arguments)}))},r=t=>{e||t||!this.services.languageDetector||(t=[]);const s="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);s&&(this.language||i(s),this.translator.language||this.translator.changeLanguage(s),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(s)),this.loadResources(s,(e=>{a(e,s)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(r):this.services.languageDetector.detect(r):r(e):r(this.services.languageDetector.detect()),n}getFixedT(e,t,s){var n=this;const i=function(e,t){let a;if("object"!=typeof t){for(var r=arguments.length,o=new Array(r>2?r-2:0),d=2;d`${a.keyPrefix}${l}${e}`)):a.keyPrefix?`${a.keyPrefix}${l}${e}`:e,n.t(u,a)};return"string"==typeof e?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=s,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const s=t.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===s.toLowerCase())return!0;const a=(e,t)=>{const s=this.services.backendConnector.state[`${e}|${t}`];return-1===s||2===s};if(t.precheck){const e=t.precheck(this,a);if(void 0!==e)return e}return!!this.hasResourceBundle(s,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!a(s,e)||n&&!a(i,e)))}loadNamespaces(e,t){const s=ld();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{s.resolve(),t&&t(e)})),s):(t&&t(),Promise.resolve())}loadLanguages(e,t){const s=ld();"string"==typeof e&&(e=[e]);const n=this.options.preload||[],i=e.filter((e=>n.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e)));return i.length?(this.options.preload=n.concat(i),this.loadResources((e=>{s.resolve(),t&&t(e)})),s):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new Td(zd());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new Vd(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Id;const s=e.forkResourceStore;s&&delete e.forkResourceStore;const n={...this.options,...e,isClone:!0},i=new Vd(n);void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e));return["store","services","language"].forEach((e=>{i[e]=this[e]})),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},s&&(i.store=new kd(this.store.data,n),i.services.resourceStore=i.store),i.translator=new wd(i.services,n),i.translator.on("*",(function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n0){var o=function(e,t){var s,n;return e.charts.filter((function(e){return e.layers})).forEach((function(e){if(!n){var i=e.layers.filter((function(e){return e.layerId===t}));if(i.length>0){s=e;var a=(0,p.A)(i,1);n=a[0]}}})),[s,n]}(e,s.layerPath),d=(0,p.A)(o,2);n=d[0],(i=d[1])&&(a=t.getLayerEntryConfig(s.layerPath),r=s.features)}})),[n,i,a,r]},ul=function(e,t,s){var n=function(e){for(var t=1;t1?"s":"")}),[s]),w=r((function(e){al.vF.logTraceUseCallback("GEOCHART-PANEL - handleLayerChange",e),f(e.layerPath)}),[f]),D=o((function(){return al.vF.logTraceUseMemo("GEOCHART-PANEL - memoLayersList",h),c.map((function(e){return h.find((function(t){return t.layerPath===e}))})).filter((function(e){return e&&u[e.layerPath]})).map((function(e){var t,n,i;return{layerName:null!==(t=e.layerName)&&void 0!==t?t:"",layerPath:e.layerPath,layerStatus:e.layerStatus,queryStatus:e.queryStatus,numOffeatures:null!==(n=null===(i=e.features)||void 0===i?void 0:i.length)&&void 0!==n?n:0,layerFeatures:x(e),tooltip:"".concat(e.layerName,", ").concat(x(e)),layerUniqueId:"".concat(s,"-").concat(rl.DF.GEO_CHART,"-").concat(e.layerPath)}}))}),[c,h,u,x,s]),T=o((function(){return al.vF.logTraceUseMemo("GEOCHART-PANEL - memoLayerSelectedItem",D,_),D.find((function(e){return e.layerPath===_}))}),[D,_]);d((function(){al.vF.logTraceUseEffect("GEOCHART-PANEL - update layer data bypass",_),g(_)}),[_,g]),d((function(){if(al.vF.logTraceUseEffect("GEOCHART-PANEL - check selection",T),(!T||"processed"===T.queryStatus||"error"===T.queryStatus)&&""!==_)if(null!=T&&T.numOffeatures)g(T.layerPath);else{var e=D.find((function(e){return D.find((function(t){return e.layerPath===t.layerPath&&t.numOffeatures}))}));e?f(e.layerPath):al.vF.logDebug("GEOCHART-PANEL","select none",T)}}),[T,D]),d((function(){if(al.vF.logTraceUseEffect("GEOCHART-PANEL- mapClickCoordinates",M),M&&null!=D&&D.length&&!_.length){var e,t=D.find((function(e){return D.find((function(t){return e.layerPath===t.layerPath&&t.numOffeatures}))}));f(null!==(e=null==t?void 0:t.layerPath)&&void 0!==e?e:"")}else f("")}),[M,D]);var S=function(e,t,n){return(0,ed.jsx)(_l,{sx:t,mapId:s,config:{charts:[e]},layers:h,schemaValidator:b,provideCallbackRedraw:function(e){return function(e,t){v.current[e]=t}(n,e)}},n)},j=r((function(e){al.vF.logTraceUseCallback("GEOCHART PANEL - handleGuideIsOpen"),e&&f("")}),[f]);return D?(0,ed.jsx)(Xd.PE,{selectedLayerPath:_||"",layerList:D,onLayerListClicked:w,onIsEnlargeClicked:Y,onGuideIsOpen:j,guideContentIds:["chart","chart.children.chartTypes"],children:_&&(0,ed.jsx)(el.Box,{sx:{"& .MuiButtonGroup-groupedHorizontal.MuiButton-textSizeMedium":{fontSize:"0.9rem"}},children:Object.entries(u).map((function(e,t){var s=(0,p.A)(e,2),n=s[0],i=s[1];return n===_?S(i,{},t.toString()):(0,ed.jsx)(ed.Fragment,{})}))})}):(0,ed.jsx)(Qd.o,{children:(0,il.getLocalizedMessage)("geochart.panel.loadingUI",y)})}function fl(e,t,s){return t=(0,o.A)(t),(0,a.A)(e,pl()?Reflect.construct(t,s||[],(0,o.A)(e).constructor):t.apply(e,s))}function pl(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(pl=function(){return!!e})()}var gl=function(e){function t(){var e;(0,n.A)(this,t);for(var s=arguments.length,i=new Array(s),a=0;a0&&(d=Ko(e,t,s,n,i)),function(e){var t=e.datasets.sort((function(e,t){return e.label&&t.label?e.label.localeCompare(t.label):0}));e.datasets=t}(d),"time"!==(null===(r=e.geochart.xAxis)||void 0===r?void 0:r.type)&&"timeseries"!==(null===(o=e.geochart.xAxis)||void 0===o?void 0:o.type)||d.datasets.forEach((function(e){var t=e.data.sort((function(e,t){return e.x instanceof Date?e.x===t.x?0:e.x=0&&e.setDatasetVisibility(a,null===(i=t[n])||void 0===i?void 0:i.checked)})),e.update()}}),[n]),hs=d((function(e,t){if(n.logTraceUseCallback("GEOCHART - processLoadingRecords",e,t),e){var s,i=e.config;if("pie"===i.type||"doughnut"===i.type)null===(s=e.data.labels)||void 0===s||s.forEach((function(s){var n,i=e.data.labels.indexOf(s),a=e.getDataVisibility(i);(null===(n=t[s])||void 0===n?void 0:n.checked)!==a&&e.toggleDataVisibility(i)})),e.update()}}),[n]),_s=d((function(e,t,s,i,a,r){var o;n.logTraceUseCallback("GEOCHART - processLoadingRecords",e,t,s,i);var d=function(e,t,s){var n,i,a=zo(zo(zo({},t),e.chartjsOptions),{},{plugins:zo({},t.plugins)});if("line"===e.chart&&("time"===(null===(n=e.geochart.xAxis)||void 0===n?void 0:n.type)||"timeseries"===(null===(i=e.geochart.xAxis)||void 0===i?void 0:i.type))){var r,o=a;o.scales=zo(zo({},o.scales),{},{x:{type:null===(r=e.geochart.xAxis)||void 0===r?void 0:r.type,ticks:{autoSkip:!0,maxTicksLimit:20,major:{enabled:!0},padding:10,source:"auto",callback:function(e,t,n){var i=new Date(e).toLocaleString(s,So);return n[t].geoLabel=i,n[t].major||t>0&&i!==n[t-1].geoLabel?i:""}},offset:!0}})}if("line"===e.chart||"bar"===e.chart){var d,l,u=a;null!==(d=e.geochart.yAxis)&&void 0!==d&&d.type&&(u.scales=zo(zo({},u.scales),{},{y:{type:null===(l=e.geochart.yAxis)||void 0===l?void 0:l.type}})),u.plugins=u.plugins||{},u.plugins.tooltip=u.plugins.tooltip||{},u.plugins.tooltip.callbacks=u.plugins.tooltip.callbacks||{},e.geochart.yAxis.tooltipSuffix&&(u.plugins.tooltip.callbacks.label=function(t){return"".concat(t.formattedValue," ").concat(e.geochart.yAxis.tooltipSuffix)})}return a}(e,S,i),l=Zo(e,t,s,a,r,j);null==B||B(e.chart,d,l),ie(e.chart),he(d),de(l),0===(null===(o=l.datasets)||void 0===o?void 0:o.length)&&Le({shouldRedraw:!0})}),[S,j,n]),ms=d((function(e,t,s,i,a,r,o,d){n.logTraceUseCallback("GEOCHART - processLoadingRecordsFilteringFirst",e,t,s,i);var l=r?(0,y.A)(r):[];if("line"===(null==e?void 0:e.chart)){var u,c;if(Array.isArray(o)&&2===o.length)if("time"===(null==e||null===(u=e.geochart)||void 0===u?void 0:u.xAxis.type)||"timeseries"===(null==e||null===(c=e.geochart)||void 0===c?void 0:c.xAxis.type)){var h=new Date(o[0]),_=new Date(o[1]);l=r.filter((function(t){var s=new Date(t[e.geochart.xAxis.property]);return h<=s&&s<=_}))}else{var m=o[0],f=o[1];l=r.filter((function(t){return m<=t[e.geochart.xAxis.property]&&t[e.geochart.xAxis.property]<=f}))}if(Array.isArray(d)&&2===d.length){var p=d[0],g=d[1];l=l.filter((function(t){return p<=t[e.geochart.yAxis.property]&&t[e.geochart.yAxis.property]<=g}))}}_s(e,t,s,i,a,l),ze(l)}),[_s,n]),fs=d((function(e){n.logTraceUseCallback("GEOCHART - handleChartJSAfterInit",e,Ee,He),cs(e,He),hs(e,Ee)}),[Ee,He,hs,cs,n]);a((function(){var e="GEOCHART - PARENT - INPUTS";return n.logTraceUseEffect(e,w),ee(w),pe(void 0),de(sd.defaultProps.data),he(sd.defaultProps.options),w&&vt(x.validateInputs(w)),function(){n.logTraceUseEffectUnmount(e,w)}}),[w,x,n]),a((function(){var e="GEOCHART - PARENT - CHARTJS INPUTS";return n.logTraceUseEffect(e),ie(T),he(S),de(j),function(){n.logTraceUseEffectUnmount(e)}}),[T,S,j,n]),a((function(){var e="GEOCHART - PARENT - DATASOURCE";return n.logTraceUseEffect(e,D),pe(D),function(){n.logTraceUseEffectUnmount(e,D)}}),[D,n]),a((function(){var e="GEOCHART - PARENT - LOADING DATASOURCE";return n.logTraceUseEffect(e,A),void 0!==A&&Te(A),function(){n.logTraceUseEffectUnmount(e)}}),[A,n]),a((function(){var e="GEOCHART - PARENT - ACTION";return n.logTraceUseEffect(e,H),H&&Le(H),function(){n.logTraceUseEffectUnmount(e)}}),[H,n]),a((function(){var e="GEOCHART - CURRENT - i18n";n.logTraceUseEffect(e);var t=q.cloneInstance({lng:E,fallbackLng:E});return is(t),function(){n.logTraceUseEffectUnmount(e)}}),[q,E,n]),a((function(){var e="GEOCHART - CURRENT - PLUGINS";return n.logTraceUseEffect(e),Rt([{id:"geochart-chartjs-plugin",afterInit:function(e){return fs(e)}}]),function(){n.logTraceUseEffectUnmount(e)}}),[fs,n]),a((function(){var e,t="GEOCHART - CURRENT - INPUTS";n.logTraceUseEffect(t,Q);var s=function(){var e=(0,g.A)(L().mark((function e(t,s,n){return L().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,os(t,s,n.sourceItem,J);case 2:n.items=e.sent,pe(n);case 4:case"end":return e.stop()}}),e)})));return function(t,s,n){return e.apply(this,arguments)}}();if(null!=Q&&null!==(e=Q.ui)&&void 0!==e&&e.stepsSwitcher||At((null==Q?void 0:Q.geochart.useSteps)||!1),Q&&Q.datasources&&Q.datasources.length>0){var i=Q.datasources[0];!i.items&&Q.query?s(Q.query,ns.language,i):pe(i)}else pe(void 0);return function(){n.logTraceUseEffectUnmount(t,Q)}}),[Q,ns.language,n]),a((function(){var e,t,s,i="GEOCHART - CURRENT - SELECTED DATASOURCE";(n.logTraceUseEffect(i,Q,fe),Q&&fe)&&(ls(fe.items,null===(e=Q.category)||void 0===e?void 0:e.property,null===(t=Q.category)||void 0===t?void 0:t.paletteBackgrounds,null===(s=Q.category)||void 0===s?void 0:s.paletteBorders),us(Q.chart,fe.items,Q.geochart.xAxis.property,Q.geochart.xAxis.paletteBackgrounds,Q.geochart.xAxis.paletteBorders));return function(){n.logTraceUseEffectUnmount(i,fe)}}),[Q,fe,ls,us,n]),a((function(){var e="GEOCHART - CURRENT - DATASOURCE STEPS SLIDERS";if(n.logTraceUseEffect(e,Q,fe),Q&&fe){var t,s=function(e,t,s){var n,i,a,r,o,d,l=null==t||null===(n=t.xSlider)||void 0===n?void 0:n.min,u=null==t||null===(i=t.xSlider)||void 0===i?void 0:i.max;if(null!=t&&null!==(a=t.xSlider)&&void 0!==a&&a.display&&s&&s.length>0){if(void 0===l||void 0===u){var c=s.map((function(t){return"time"===e.xAxis.type||"timeseries"===e.xAxis.type?new Date(t[e.xAxis.property]).getTime():t[e.xAxis.property]}));l=void 0!==l?l:Math.floor(Math.min.apply(Math,(0,y.A)(c))),u=void 0!==u?u:Math.ceil(Math.max.apply(Math,(0,y.A)(c)))}$e(l),Ge(u),null!=t&&t.xSlider.step&&Xe(null==t?void 0:t.xSlider.step)}var h=null==t||null===(r=t.ySlider)||void 0===r?void 0:r.min,_=null==t||null===(o=t.ySlider)||void 0===o?void 0:o.max;if(null!=t&&null!==(d=t.ySlider)&&void 0!==d&&d.display&&s&&s.length>0&&yo(s[0][e.yAxis.property])){if(void 0===h||void 0===_){var m=s.map((function(t){return t[e.yAxis.property]}));h=void 0!==h?h:Math.floor(Math.min.apply(Math,(0,y.A)(m))),_=void 0!==_?_:Math.ceil(Math.max.apply(Math,(0,y.A)(m)))}rt(h),ut(_),null!=t&&t.ySlider.step&&mt(null==t?void 0:t.ySlider.step)}return[l,u,h,_]}(Q.geochart,Q.ui,fe.items),i=(0,p.A)(s,4),a=i[0],r=i[1],o=i[2],d=i[3],l=function(e,t,s,n,i,a,r){var o,d,l=!1;if(null!=e&&null!==(o=e.xSlider)&&void 0!==o&&o.display)if(s&&!a)st([t,s]);else if(a){var u=(0,p.A)(a,2);t=u[0],s=u[1],l=!0}if(null!=e&&null!==(d=e.ySlider)&&void 0!==d&&d.display)if(i&&!r)yt([n,i]);else if(r){var c=(0,p.A)(r,2);n=c[0],i=c[1],l=!0}return[l,[t,s,n,i]]}(Q.ui,a,r,o,d,tt,gt),u=(0,p.A)(l,2);t=u[0];var c=(0,p.A)(u[1],4);a=c[0],r=c[1],o=c[2],d=c[3],t?ms(Q,He,Ee,ns.language,Pt,fe.items,[a,r],[o,d]):_s(Q,He,Ee,ns.language,Pt,fe.items)}return function(){n.logTraceUseEffectUnmount(e,fe)}}),[Q,fe,Ee,He,ns.language,Pt,tt,gt,ms,_s,n]),a((function(){var e="GEOCHART - CURRENT - CHARTJS OPTIONS+DATA";return n.logTraceUseEffect(e,ce,oe),ce&&wt(x.validateOptions(ce)),oe&&jt(x.validateData(oe)),function(){n.logTraceUseEffectUnmount(e)}}),[ce,oe,x,n]),a((function(){var e="GEOCHART - CURRENT - DATASETS REGISTRY";return n.logTraceUseEffect(e),cs(rs.current,He),function(){n.logTraceUseEffectUnmount(e)}}),[He,cs,n]),a((function(){var e="GEOCHART - CURRENT - DATAS REGISTRY";return n.logTraceUseEffect(e),hs(rs.current,Ee),function(){n.logTraceUseEffectUnmount(e)}}),[Ee,hs,n]),a((function(){var e="GEOCHART - CURRENT - VALIDATORS - INPUTS";if(n.logTraceUseEffect(e,ds([bt])),!ds([bt])){var t=Ro.parseValidatorResultsMessages([bt]);null==J||J("".concat(as("geochart.parsingError"),"\n\n").concat(t),void 0)}return function(){n.logTraceUseEffectUnmount(e)}}),[bt,as,n]),a((function(){var e="GEOCHART - CURRENT - VALIDATORS - OPTIONS+DATA";if(n.logTraceUseEffect(e,ds([xt,St])),!ds([xt,St])){var t=Ro.parseValidatorResultsMessages([xt,St]);null==J||J("".concat(as("geochart.parsingError"),"\n\n").concat(t),void 0)}return function(){n.logTraceUseEffectUnmount(e)}}),[xt,St,as,n]),a((function(){var e="GEOCHART - CURRENT - ACTION";return n.logTraceUseEffect(e,Me),null!=Me&&Me.shouldRedraw&&(Me.shouldRedraw=!1,new Promise((function(e){Ye(!0),setTimeout((function(){Ye(!1),e()}),200)}))),function(){n.logTraceUseEffectUnmount(e)}}),[Me,n]);var ps,gs,ys=function(){var e=(0,g.A)(L().mark((function e(t,s){var n;return L().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=Q.datasources.find((function(e){return(e.value||e.display)===s.props.value}))){e.next=3;break}return e.abrupt("return");case 3:if(n.items){e.next=7;break}return e.next=6,os(Q.query,ns.language,n.sourceItem,J);case 6:n.items=e.sent;case 7:pe(n),null==F||F(n,ns.language);case 9:case"end":return e.stop()}}),e)})));return function(t,s){return e.apply(this,arguments)}}(),Ms=function(e){st(e),null==z||z(e)},Ls=function(e){yt(e),null==I||I(e)},bs=function(e,t){At(t.props.value),null==U||U(t.props.value)},vs=function(e){var t,s,n=null==N?void 0:N(e);return n||("time"===(null==Q||null===(t=Q.geochart)||void 0===t?void 0:t.xAxis.type)||"timeseries"===(null==Q||null===(s=Q.geochart)||void 0===s?void 0:s.xAxis.type)?new Date(e).toLocaleDateString(ns.language,So):e.toString())},ks=function(e){var t=null==V?void 0:V(e);return t||e.toString()},Ys=function(e){var t=td({},fe);if(0===e&&(t.items=We||t.items,null!=Q&&Q.category)){var s,n=Object.keys(He).filter((function(e){return He[e].checked}));if(t.items=null===(s=t.items)||void 0===s?void 0:s.filter((function(e){return n.includes(e[Q.category.property])})),"pie"===ne||"doughnut"===ne){var i,a=Object.keys(Ee).filter((function(e){return Ee[e].checked}));t.items=null===(i=t.items)||void 0===i?void 0:i.filter((function(e){return a.includes(e[Q.geochart.xAxis.property])}))}}var r=null==$?void 0:$(t,e);r||(r="chart-data.json"),bo(t,r)},xs=d((function(e,t){var s=[];if(Array.isArray(e))for(var n=0;n1){var e="pie"===ne||"doughnut"===ne?"".concat(as("geochart.category"),":"):"";return(0,Qo.jsxs)("div",{children:[(0,Qo.jsx)(M,{sx:G.checkDatasetWrapperLabel,children:e}),Object.entries(He).filter((function(e){return(0,p.A)(e,2)[1].visible})).map((function(e,t){var s,n=(0,p.A)(e,2),i=n[0],a=n[1];return"line"!==ne&&"bar"!==ne||(s=a.borderColor),(0,Qo.jsxs)(c,{sx:G.checkDatasetWrapper,children:[(0,Qo.jsx)(m,{onChange:function(e){var s,n,a,r;n=t,a=i,r=null===(s=e.target)||void 0===s?void 0:s.checked,He[a].checked=r,Oe(td({},He)),null==W||W(n,a,r)},checked:void 0===He[i].checked||He[i].checked}),(0,Qo.jsx)(M,{sx:td(td({},G.checkDatasetLabel),{color:s}),noWrap:!0,children:i})]},i||t)}))]})}return(0,Qo.jsx)(c,{})},Hs=function(){return Q&&oe&&("pie"===ne||"doughnut"===ne)&&Object.keys(Ee).length>1?(0,Qo.jsx)(Qo.Fragment,{children:Object.entries(Ee).filter((function(e){return(0,p.A)(e,2)[1].visible})).map((function(e,t){var s=(0,p.A)(e,2),n=s[0],i=s[1].borderColor;return(0,Qo.jsxs)(c,{sx:G.checkDatasetWrapper,children:[(0,Qo.jsx)(m,{onChange:function(e){var s,i,a,r;i=t,a=n,r=null===(s=e.target)||void 0===s?void 0:s.checked,Ee[a].checked=r,Ce(td({},Ee)),null==R||R(i,a,r)},checked:void 0===Ee[n].checked||Ee[n].checked}),(0,Qo.jsx)(M,{sx:td(td({},G.checkDatasetLabel),{color:i}),noWrap:!0,children:n})]},n||t)}))}):(0,Qo.jsx)(c,{})};return ds([bt,xt,St])?(0,Qo.jsxs)(c,{sx:G.mainContainer,children:[!P&&(0,Qo.jsx)(u,{sx:td(td({},K),G.mainGeoChartContainer),children:(0,Qo.jsxs)(h,{container:!0,sx:{m:"20px"},children:[(0,Qo.jsxs)(h,{item:!0,xs:12,children:[(0,Qo.jsxs)(c,{sx:G.header,children:[Ts(),(0,Qo.jsxs)(Qo.Fragment,{children:[Ss(),!1]}),null!=Q&&null!==(gs=Q.ui)&&void 0!==gs&&gs.download?(0,Qo.jsx)(c,{sx:G.downloadButton,children:(0,Qo.jsx)(_,{onButtonClick:Ys,options:[as("geochart.downloadFiltered"),as("geochart.downloadAll")]})}):(0,Qo.jsx)(c,{})]}),(0,Qo.jsx)(c,{sx:G.title,children:Q&&Q.title?(0,Qo.jsx)(c,{sx:G.title,children:Q.title}):(0,Qo.jsx)(c,{})}),(0,Qo.jsxs)(c,{sx:G.dataset,children:[Hs(),js()]})]}),(0,Qo.jsx)(h,{item:!0,xs:1,children:"line"===ne||"bar"===ne?(0,Qo.jsx)(c,{sx:G.yAxisLabel,children:(null==Q?void 0:Q.geochart.yAxis.label)||(null==Q?void 0:Q.geochart.yAxis.property)}):(0,Qo.jsx)(c,{})}),(0,Qo.jsxs)(h,{item:!0,sx:G.chartContent,xs:10,children:[De&&(0,Qo.jsx)(v,{sx:G.loadingDatasource}),(0,Qo.jsx)(mo,{ref:rs,type:ne,data:oe,options:ce,plugins:Ft,redraw:ke})]}),(0,Qo.jsx)(h,{item:!0,xs:1,children:Ds()}),(0,Qo.jsx)(h,{item:!0,xs:1.25}),(0,Qo.jsxs)(h,{item:!0,xs:9.75,children:["line"===ne||"bar"===ne?(0,Qo.jsx)(c,{sx:G.xAxisLabel,children:(null==Q?void 0:Q.geochart.xAxis.label)||(null==Q?void 0:Q.geochart.xAxis.property)}):(0,Qo.jsx)(c,{}),ws()]}),(0,Qo.jsx)(h,{item:!0,xs:1}),(0,Qo.jsx)(h,{item:!0,xs:12,children:null!=Q&&null!==(ps=Q.ui)&&void 0!==ps&&ps.description?(0,Qo.jsx)(c,{children:Q.ui.description}):(0,Qo.jsx)(c,{})})]})}),P&&(0,Qo.jsx)(v,{})]}):(0,Qo.jsxs)(c,{sx:G.chartError,children:[as("geochart.parsingError")," ",as("geochart.viewConsoleDetails")]})}sd.defaultProps={sx:null,inputs:null,chart:"line",options:{responsive:!0,plugins:{legend:{display:!1}}},data:{datasets:[],labels:[],borderWidth:10}};const nd=function(e){var t=window.cgpv,s=t.react,n=t.ui,i=s.useEffect,a=s.useState,r=s.useCallback,o=n.elements.Box,d=e.schemaValidator,l=a(),u=(0,p.A)(l,2),c=u[0],h=u[1],_=a(),m=(0,p.A)(_,2),f=m[0],g=m[1],y=a(),M=(0,p.A)(y,2),L=M[0],b=M[1],v=a(),k=(0,p.A)(v,2),Y=k[0],x=k[1],w=a(),D=(0,p.A)(w,2),T=D[0],S=D[1],j=a(),H=(0,p.A)(j,2),O=H[0],P=H[1],A=a(),E=(0,p.A)(A,2),C=E[0],F=E[1],R=a(),W=(0,p.A)(R,2),z=W[0],N=W[1],I=function(e){var t=e;t.detail.inputs?h(t.detail.inputs):(h(void 0),t.detail.chart&&g(t.detail.chart),t.detail.options&&x(t.detail.options),t.detail.data&&b(t.detail.data),S({shouldRedraw:!0}))},V=function(){S({shouldRedraw:!0})},$=function(e){var t=e;F(!1),N(!1),1===t.detail.state&&F(!0),2===t.detail.state&&N(!0)},U=r((function(e,t,s){window.dispatchEvent(new CustomEvent("chart/parsed",{detail:{chart:e,options:t,data:s}}))}),[]),B=r((function(e,t){console.error(e,t),alert(e)}),[]),J=r((function(e){P(e.detail.language)}),[]);return i((function(){return window.addEventListener("chart/load",I),window.addEventListener("chart/redraw",V),window.addEventListener("chart/language",J),window.addEventListener("chart/isLoading",$),function(){window.removeEventListener("chart/load",I),window.removeEventListener("chart/redraw",V),window.removeEventListener("chart/language",J),window.removeEventListener("chart/isLoading",$)}}),[J]),(0,Qo.jsx)(o,{sx:{padding:"10px"},children:(0,Qo.jsx)(sd,{inputs:c,schemaValidator:d,chart:f,data:L,options:Y,action:T,language:O,isLoadingChart:C,isLoadingDatasource:z,onParsed:U,onError:B})})},id={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class ad{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||id,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),s=0;s{this.observers[e]||(this.observers[e]=new Map);const s=this.observers[e].get(t)||0;this.observers[e].set(t,s+1)})),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n{let[t,n]=e;for(let e=0;e{let[n,i]=t;for(let t=0;t{e=s,t=n}));return s.resolve=e,s.reject=t,s}function ld(e){return null==e?"":""+e}const ud=/###/g;function cd(e,t,s){function n(e){return e&&e.indexOf("###")>-1?e.replace(ud,"."):e}function i(){return!e||"string"==typeof e}const a="string"!=typeof t?t:t.split(".");let r=0;for(;r":">",'"':""","'":"'","/":"/"};function gd(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(e=>pd[e])):e}const yd=[" ",",","?","!",";"],Md=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const s=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,s),this.regExpQueue.push(e),s}}(20);function Ld(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];const n=t.split(s);let i=e;for(let e=0;e-1&&r0?e.replace("_","-"):e}class vd extends od{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,s){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const i=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,a=void 0!==n.ignoreJSONStructure?n.ignoreJSONStructure:this.options.ignoreJSONStructure;let r;e.indexOf(".")>-1?r=e.split("."):(r=[e,t],s&&(Array.isArray(s)?r.push(...s):"string"==typeof s&&i?r.push(...s.split(i)):r.push(s)));const o=_d(this.data,r);return!o&&!t&&!s&&e.indexOf(".")>-1&&(e=r[0],t=r[1],s=r.slice(2).join(".")),o||!a||"string"!=typeof s?o:Ld(this.data&&this.data[e]&&this.data[e][t],s,i)}addResource(e,t,s,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const a=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator;let r=[e,t];s&&(r=r.concat(a?s.split(a):s)),e.indexOf(".")>-1&&(r=e.split("."),n=t,t=r[1]),this.addNamespaces(t),hd(this.data,r,n),i.silent||this.emit("added",e,t,s,n)}addResources(e,t,s){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const n in s)("string"==typeof s[n]||Array.isArray(s[n]))&&this.addResource(e,t,n,s[n],{silent:!0});n.silent||this.emit("added",e,t,s)}addResourceBundle(e,t,s,n,i){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},r=[e,t];e.indexOf(".")>-1&&(r=e.split("."),n=s,s=t,t=r[1]),this.addNamespaces(t);let o=_d(this.data,r)||{};a.skipCopy||(s=JSON.parse(JSON.stringify(s))),n?md(o,s,i):o={...o,...s},hd(this.data,r,o),a.silent||this.emit("added",e,t,s)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find((e=>t[e]&&Object.keys(t[e]).length>0))}toJSON(){return this.data}}var kd={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,s,n,i){return e.forEach((e=>{this.processors[e]&&(t=this.processors[e].process(t,s,n,i))})),t}};const Yd={};class xd extends od{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),function(e,t,s){e.forEach((e=>{t[e]&&(s[e]=t[e])}))}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=rd.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;const s=this.resolve(e,t);return s&&void 0!==s.res}extractFromKey(e,t){let s=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===s&&(s=":");const n=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const a=s&&e.indexOf(s)>-1,r=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||function(e,t,s){t=t||"",s=s||"";const n=yd.filter((e=>t.indexOf(e)<0&&s.indexOf(e)<0));if(0===n.length)return!0;const i=Md.getRegExp(`(${n.map((e=>"?"===e?"\\?":e)).join("|")})`);let a=!i.test(e);if(!a){const t=e.indexOf(s);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a}(e,s,n));if(a&&!r){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i};const a=e.split(s);(s!==n||s===n&&this.options.ns.indexOf(a[0])>-1)&&(i=a.shift()),e=a.join(n)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}translate(e,t,s){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const n=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:a,namespaces:r}=this.extractFromKey(e[e.length-1],t),o=r[r.length-1],d=t.lng||this.language,l=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(d&&"cimode"===d.toLowerCase()){if(l){const e=t.nsSeparator||this.options.nsSeparator;return n?{res:`${o}${e}${a}`,usedKey:a,exactUsedKey:a,usedLng:d,usedNS:o,usedParams:this.getUsedParamsDetails(t)}:`${o}${e}${a}`}return n?{res:a,usedKey:a,exactUsedKey:a,usedLng:d,usedNS:o,usedParams:this.getUsedParamsDetails(t)}:a}const u=this.resolve(e,t);let c=u&&u.res;const h=u&&u.usedKey||a,_=u&&u.exactUsedKey||a,m=Object.prototype.toString.apply(c),f=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,p=!this.i18nFormat||this.i18nFormat.handleAsObject;if(p&&c&&("string"!=typeof c&&"boolean"!=typeof c&&"number"!=typeof c)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(m)<0&&("string"!=typeof f||!Array.isArray(c))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,c,{...t,ns:r}):`key '${a} (${this.language})' returned an object instead of string.`;return n?(u.res=e,u.usedParams=this.getUsedParamsDetails(t),u):e}if(i){const e=Array.isArray(c),s=e?[]:{},n=e?_:h;for(const e in c)if(Object.prototype.hasOwnProperty.call(c,e)){const a=`${n}${i}${e}`;s[e]=this.translate(a,{...t,joinArrays:!1,ns:r}),s[e]===a&&(s[e]=c[e])}c=s}}else if(p&&"string"==typeof f&&Array.isArray(c))c=c.join(f),c&&(c=this.extendTranslation(c,e,t,s));else{let n=!1,r=!1;const l=void 0!==t.count&&"string"!=typeof t.count,h=xd.hasDefaultValue(t),_=l?this.pluralResolver.getSuffix(d,t.count,t):"",m=t.ordinal&&l?this.pluralResolver.getSuffix(d,t.count,{ordinal:!1}):"",f=l&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),p=f&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${_}`]||t[`defaultValue${m}`]||t.defaultValue;!this.isValidLookup(c)&&h&&(n=!0,c=p),this.isValidLookup(c)||(r=!0,c=a);const g=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&r?void 0:c,y=h&&p!==c&&this.options.updateMissing;if(r||n||y){if(this.logger.log(y?"updateKey":"missingKey",d,o,a,y?p:c),i){const e=this.resolve(a,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const s=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&s&&s[0])for(let t=0;t{const i=h&&n!==c?n:g;this.options.missingKeyHandler?this.options.missingKeyHandler(e,o,s,i,y,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,o,s,i,y,t),this.emit("missingKey",e,o,s,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&l?e.forEach((e=>{const s=this.pluralResolver.getSuffixes(e,t);f&&t[`defaultValue${this.options.pluralSeparator}zero`]&&s.indexOf(`${this.options.pluralSeparator}zero`)<0&&s.push(`${this.options.pluralSeparator}zero`),s.forEach((s=>{n([e],a+s,t[`defaultValue${s}`]||p)}))})):n(e,a,p))}c=this.extendTranslation(c,e,t,u,s),r&&c===a&&this.options.appendNamespaceToMissingKey&&(c=`${o}:${a}`),(r||n)&&this.options.parseMissingKeyHandler&&(c="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${o}:${a}`:a,n?c:void 0):this.options.parseMissingKeyHandler(c))}return n?(u.res=c,u.usedParams=this.getUsedParamsDetails(t),u):c}extendTranslation(e,t,s,n,i){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...s},s.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!s.skipInterpolation){s.interpolation&&this.interpolator.init({...s,interpolation:{...this.options.interpolation,...s.interpolation}});const r="string"==typeof e&&(s&&s.interpolation&&void 0!==s.interpolation.skipOnVariables?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let o;if(r){const t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let d=s.replace&&"string"!=typeof s.replace?s.replace:s;if(this.options.interpolation.defaultVariables&&(d={...this.options.interpolation.defaultVariables,...d}),e=this.interpolator.interpolate(e,d,s.lng||this.language,s),r){const t=e.match(this.interpolator.nestingRegexp);o<(t&&t.length)&&(s.nest=!1)}!s.lng&&"v1"!==this.options.compatibilityAPI&&n&&n.res&&(s.lng=n.usedLng),!1!==s.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,n=new Array(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((e=>{if(this.isValidLookup(t))return;const o=this.extractFromKey(e,r),d=o.key;s=d;let l=o.namespaces;this.options.fallbackNS&&(l=l.concat(this.options.fallbackNS));const u=void 0!==r.count&&"string"!=typeof r.count,c=u&&!r.ordinal&&0===r.count&&this.pluralResolver.shouldUseIntlApi(),h=void 0!==r.context&&("string"==typeof r.context||"number"==typeof r.context)&&""!==r.context,_=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);l.forEach((e=>{this.isValidLookup(t)||(a=e,!Yd[`${_[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(a)&&(Yd[`${_[0]}-${e}`]=!0,this.logger.warn(`key "${s}" for languages "${_.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),_.forEach((s=>{if(this.isValidLookup(t))return;i=s;const a=[d];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(a,d,s,e,r);else{let e;u&&(e=this.pluralResolver.getSuffix(s,r.count,r));const t=`${this.options.pluralSeparator}zero`,n=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(a.push(d+e),r.ordinal&&0===e.indexOf(n)&&a.push(d+e.replace(n,this.options.pluralSeparator)),c&&a.push(d+t)),h){const s=`${d}${this.options.contextSeparator}${r.context}`;a.push(s),u&&(a.push(s+e),r.ordinal&&0===e.indexOf(n)&&a.push(s+e.replace(n,this.options.pluralSeparator)),c&&a.push(s+t))}}let o;for(;o=a.pop();)this.isValidLookup(t)||(n=o,t=this.getResource(s,e,o,r))})))}))})),{res:t,usedKey:s,exactUsedKey:n,usedLng:i,usedNS:a}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,s){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,s,n):this.resourceStore.getResource(e,t,s,n)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],s=e.replace&&"string"!=typeof e.replace;let n=s?e.replace:e;if(s&&void 0!==e.count&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!s){n={...n};for(const e of t)delete n[e]}return n}static hasDefaultValue(e){const t="defaultValue";for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&t===s.substring(0,12)&&void 0!==e[s])return!0;return!1}}function wd(e){return e.charAt(0).toUpperCase()+e.slice(1)}class Dd{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=rd.create("languageUtils")}getScriptPartFromCode(e){if(!(e=bd(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=bd(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if("string"==typeof e&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let s=e.split("-");return this.options.lowerCaseLng?s=s.map((e=>e.toLowerCase())):2===s.length?(s[0]=s[0].toLowerCase(),s[1]=s[1].toUpperCase(),t.indexOf(s[1].toLowerCase())>-1&&(s[1]=wd(s[1].toLowerCase()))):3===s.length&&(s[0]=s[0].toLowerCase(),2===s[1].length&&(s[1]=s[1].toUpperCase()),"sgn"!==s[0]&&2===s[2].length&&(s[2]=s[2].toUpperCase()),t.indexOf(s[1].toLowerCase())>-1&&(s[1]=wd(s[1].toLowerCase())),t.indexOf(s[2].toLowerCase())>-1&&(s[2]=wd(s[2].toLowerCase()))),s.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach((e=>{if(t)return;const s=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(s)||(t=s)})),!t&&this.options.supportedLngs&&e.forEach((e=>{if(t)return;const s=this.getLanguagePartFromCode(e);if(this.isSupportedCode(s))return t=s;t=this.options.supportedLngs.find((e=>e===s?e:e.indexOf("-")<0&&s.indexOf("-")<0?void 0:e.indexOf("-")>0&&s.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===s||0===e.indexOf(s)&&s.length>1?e:void 0))})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let s=e[t];return s||(s=e[this.getScriptPartFromCode(t)]),s||(s=e[this.formatLanguageCode(t)]),s||(s=e[this.getLanguagePartFromCode(t)]),s||(s=e.default),s||[]}toResolveHierarchy(e,t){const s=this.getFallbackCodes(t||this.options.fallbackLng||[],e),n=[],i=e=>{e&&(this.isSupportedCode(e)?n.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return"string"==typeof e&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),s.forEach((e=>{n.indexOf(e)<0&&i(this.formatLanguageCode(e))})),n}}let Td=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Sd={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};const jd=["v1","v2","v3"],Hd=["v4"],Od={zero:0,one:1,two:2,few:3,many:4,other:5};class Pd{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=rd.create("pluralResolver"),this.options.compatibilityJSON&&!Hd.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){const e={};return Td.forEach((t=>{t.lngs.forEach((s=>{e[s]={numbers:t.nr,plurals:Sd[t.fc]}}))})),e}()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(bd("dev"===e?"en":e),{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=this.getRule(e,t);return this.shouldUseIntlApi()?s&&s.resolvedOptions().pluralCategories.length>1:s&&s.numbers.length>1}getPluralFormsOfKey(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,s).map((e=>`${t}${e}`))}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const s=this.getRule(e,t);return s?this.shouldUseIntlApi()?s.resolvedOptions().pluralCategories.sort(((e,t)=>Od[e]-Od[t])).map((e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`)):s.numbers.map((s=>this.getSuffix(e,s,t))):[]}getSuffix(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.getRule(e,s);return n?this.shouldUseIntlApi()?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:this.getSuffixRetroCompatible(n,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const s=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let n=e.numbers[s];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===n?n="plural":1===n&&(n=""));const i=()=>this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString();return"v1"===this.options.compatibilityJSON?1===n?"":"number"==typeof n?`_plural_${n.toString()}`:i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString()}shouldUseIntlApi(){return!jd.includes(this.options.compatibilityJSON)}}function Ad(e,t,s){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=function(e,t,s){const n=_d(e,s);return void 0!==n?n:_d(t,s)}(e,t,s);return!a&&i&&"string"==typeof s&&(a=Ld(e,s,n),void 0===a&&(a=Ld(t,s,n))),a}class Ed{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=rd.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:s,useRawValueToEscape:n,prefix:i,prefixEscaped:a,suffix:r,suffixEscaped:o,formatSeparator:d,unescapeSuffix:l,unescapePrefix:u,nestingPrefix:c,nestingPrefixEscaped:h,nestingSuffix:_,nestingSuffixEscaped:m,nestingOptionsSeparator:f,maxReplaces:p,alwaysFormat:g}=e.interpolation;this.escape=void 0!==t?t:gd,this.escapeValue=void 0===s||s,this.useRawValueToEscape=void 0!==n&&n,this.prefix=i?fd(i):a||"{{",this.suffix=r?fd(r):o||"}}",this.formatSeparator=d||",",this.unescapePrefix=l?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":l||"",this.nestingPrefix=c?fd(c):h||fd("$t("),this.nestingSuffix=_?fd(_):m||fd(")"),this.nestingOptionsSeparator=f||",",this.maxReplaces=p||1e3,this.alwaysFormat=void 0!==g&&g,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,s,n){let i,a,r;const o=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function d(e){return e.replace(/\$/g,"$$$$")}const l=e=>{if(e.indexOf(this.formatSeparator)<0){const i=Ad(t,o,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,s,{...n,...t,interpolationkey:e}):i}const i=e.split(this.formatSeparator),a=i.shift().trim(),r=i.join(this.formatSeparator).trim();return this.format(Ad(t,o,a,this.options.keySeparator,this.options.ignoreJSONStructure),r,s,{...n,...t,interpolationkey:a})};this.resetRegExp();const u=n&&n.missingInterpolationHandler||this.options.missingInterpolationHandler,c=n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>d(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?d(this.escape(e)):d(e)}].forEach((t=>{for(r=0;i=t.regex.exec(e);){const s=i[1].trim();if(a=l(s),void 0===a)if("function"==typeof u){const t=u(e,i,n);a="string"==typeof t?t:""}else if(n&&Object.prototype.hasOwnProperty.call(n,s))a="";else{if(c){a=i[0];continue}this.logger.warn(`missed to pass in variable ${s} for interpolating ${e}`),a=""}else"string"==typeof a||this.useRawValueToEscape||(a=ld(a));const o=t.safeValue(a);if(e=e.replace(i[0],o),c?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,r++,r>=this.maxReplaces)break}})),e}nest(e,t){let s,n,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function r(e,t){const s=this.nestingOptionsSeparator;if(e.indexOf(s)<0)return e;const n=e.split(new RegExp(`${s}[ ]*{`));let a=`{${n[1]}`;e=n[0],a=this.interpolate(a,i);const r=a.match(/'/g),o=a.match(/"/g);(r&&r.length%2==0&&!o||o.length%2!=0)&&(a=a.replace(/'/g,'"'));try{i=JSON.parse(a),t&&(i={...t,...i})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${s}${a}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,e}for(;s=this.nestingRegexp.exec(e);){let o=[];i={...a},i=i.replace&&"string"!=typeof i.replace?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let d=!1;if(-1!==s[0].indexOf(this.formatSeparator)&&!/{.*}/.test(s[1])){const e=s[1].split(this.formatSeparator).map((e=>e.trim()));s[1]=e.shift(),o=e,d=!0}if(n=t(r.call(this,s[1].trim(),i),i),n&&s[0]===e&&"string"!=typeof n)return n;"string"!=typeof n&&(n=ld(n)),n||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`),n=""),d&&(n=o.reduce(((e,t)=>this.format(e,t,a.lng,{...a,interpolationkey:s[1].trim()})),n.trim())),e=e.replace(s[0],n),this.regexp.lastIndex=0}return e}}function Cd(e){const t={};return function(s,n,i){const a=n+JSON.stringify(i);let r=t[a];return r||(r=e(bd(n),i),t[a]=r),r(s)}}class Fd{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=rd.create("formatter"),this.options=e,this.formats={number:Cd(((e,t)=>{const s=new Intl.NumberFormat(e,{...t});return e=>s.format(e)})),currency:Cd(((e,t)=>{const s=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>s.format(e)})),datetime:Cd(((e,t)=>{const s=new Intl.DateTimeFormat(e,{...t});return e=>s.format(e)})),relativetime:Cd(((e,t)=>{const s=new Intl.RelativeTimeFormat(e,{...t});return e=>s.format(e,t.range||"day")})),list:Cd(((e,t)=>{const s=new Intl.ListFormat(e,{...t});return e=>s.format(e)}))},this.init(e)}init(e){const t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Cd(t)}format(e,t,s){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce(((e,t)=>{const{formatName:i,formatOptions:a}=function(e){let t=e.toLowerCase().trim();const s={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const i=n[1].substring(0,n[1].length-1);"currency"===t&&i.indexOf(":")<0?s.currency||(s.currency=i.trim()):"relativetime"===t&&i.indexOf(":")<0?s.range||(s.range=i.trim()):i.split(";").forEach((e=>{if(e){const[t,...n]=e.split(":"),i=n.join(":").trim().replace(/^'+|'+$/g,""),a=t.trim();s[a]||(s[a]=i),"false"===i&&(s[a]=!1),"true"===i&&(s[a]=!0),isNaN(i)||(s[a]=parseInt(i,10))}}))}return{formatName:t,formatOptions:s}}(t);if(this.formats[i]){let t=e;try{const r=n&&n.formatParams&&n.formatParams[n.interpolationkey]||{},o=r.locale||r.lng||n.locale||n.lng||s;t=this.formats[i](e,o,{...a,...n,...r})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e}),e)}}class Rd extends od{constructor(e,t,s){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=s,this.languageUtils=s.languageUtils,this.options=n,this.logger=rd.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(s,n.backend,n)}queueLoad(e,t,s,n){const i={},a={},r={},o={};return e.forEach((e=>{let n=!0;t.forEach((t=>{const r=`${e}|${t}`;!s.reload&&this.store.hasResourceBundle(e,t)?this.state[r]=2:this.state[r]<0||(1===this.state[r]?void 0===a[r]&&(a[r]=!0):(this.state[r]=1,n=!1,void 0===a[r]&&(a[r]=!0),void 0===i[r]&&(i[r]=!0),void 0===o[t]&&(o[t]=!0)))})),n||(r[e]=!0)})),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(r),toLoadNamespaces:Object.keys(o)}}loaded(e,t,s){const n=e.split("|"),i=n[0],a=n[1];t&&this.emit("failedLoading",i,a,t),s&&this.store.addResourceBundle(i,a,s,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2;const r={};this.queue.forEach((s=>{!function(e,t,s,n){const{obj:i,k:a}=cd(e,t,Object);i[a]=i[a]||[],n&&(i[a]=i[a].concat(s)),n||i[a].push(s)}(s.loaded,[i],a),function(e,t){void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)}(s,e),t&&s.errors.push(t),0!==s.pendingCount||s.done||(Object.keys(s.loaded).forEach((e=>{r[e]||(r[e]={});const t=s.loaded[e];t.length&&t.forEach((t=>{void 0===r[e][t]&&(r[e][t]=!0)}))})),s.done=!0,s.errors.length?s.callback(s.errors):s.callback())})),this.emit("loaded",r),this.queue=this.queue.filter((e=>!e.done))}read(e,t,s){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:s,tried:n,wait:i,callback:a});this.readingCalls++;const r=(r,o)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}r&&o&&n{this.read.call(this,e,t,s,n+1,2*i,a)}),i):a(r,o)},o=this.backend[s].bind(this.backend);if(2!==o.length)return o(e,t,r);try{const s=o(e,t);s&&"function"==typeof s.then?s.then((e=>r(null,e))).catch(r):r(null,s)}catch(e){r(e)}}prepareLoading(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);const i=this.queueLoad(e,t,s,n);if(!i.toLoad.length)return i.pending.length||n(),null;i.toLoad.forEach((e=>{this.loadOne(e)}))}load(e,t,s){this.prepareLoading(e,t,{},s)}reload(e,t,s){this.prepareLoading(e,t,{reload:!0},s)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const s=e.split("|"),n=s[0],i=s[1];this.read(n,i,"read",void 0,void 0,((s,a)=>{s&&this.logger.warn(`${t}loading namespace ${i} for language ${n} failed`,s),!s&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${n}`,a),this.loaded(e,s,a)}))}saveMissing(e,t,s,n,i){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))this.logger.warn(`did not save key "${s}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(null!=s&&""!==s){if(this.backend&&this.backend.create){const o={...a,isUpdate:i},d=this.backend.create.bind(this.backend);if(d.length<6)try{let i;i=5===d.length?d(e,t,s,n,o):d(e,t,s,n),i&&"function"==typeof i.then?i.then((e=>r(null,e))).catch(r):r(null,i)}catch(e){r(e)}else d(e,t,s,n,r,o)}e&&e[0]&&this.store.addResource(e[0],t,s,n)}}}function Wd(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if("object"==typeof e[1]&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const s=e[3]||e[2];Object.keys(s).forEach((e=>{t[e]=s[e]}))}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function zd(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Nd(){}class Id extends od{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;var s;if(super(),this.options=zd(e),this.services={},this.logger=rd,this.modules={external:[]},s=this,Object.getOwnPropertyNames(Object.getPrototypeOf(s)).forEach((e=>{"function"==typeof s[e]&&(s[e]=s[e].bind(s))})),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout((()=>{this.init(e,t)}),0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(s=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const n=Wd();function i(e){return e?"function"==typeof e?new e:e:null}if(this.options={...n,...this.options,...zd(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...n.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){let t;this.modules.logger?rd.init(i(this.modules.logger),this.options):rd.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=Fd);const s=new Dd(this.options);this.store=new vd(this.options.resources,this.options);const a=this.services;a.logger=rd,a.resourceStore=this.store,a.languageUtils=s,a.pluralResolver=new Pd(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!t||this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format||(a.formatter=i(t),a.formatter.init(a,this.options),this.options.interpolation.format=a.formatter.format.bind(a.formatter)),a.interpolator=new Ed(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new Rd(i(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on("*",(function(t){for(var s=arguments.length,n=new Array(s>1?s-1:0),i=1;i1?s-1:0),i=1;i{e.init&&e.init(this)}))}if(this.format=this.options.interpolation.format,s||(s=Nd),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((t=>{this[t]=function(){return e.store[t](...arguments)}}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((t=>{this[t]=function(){return e.store[t](...arguments),e}}));const a=dd(),r=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(t),s(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?r():setTimeout(r,0),a}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nd;const s="string"==typeof e?e:this.language;if("function"==typeof e&&(t=e),!this.options.resources||this.options.partialBundledLanguages){if(s&&"cimode"===s.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return t();const e=[],n=t=>{if(!t)return;if("cimode"===t)return;this.services.languageUtils.toResolveHierarchy(t).forEach((t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)}))};if(s)n(s);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((e=>n(e)))}this.options.preload&&this.options.preload.forEach((e=>n(e))),this.services.backendConnector.load(e,this.options.ns,(e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),t(e)}))}else t(null)}reloadResources(e,t,s){const n=dd();return e||(e=this.languages),t||(t=this.options.ns),s||(s=Nd),this.services.backendConnector.reload(e,t,(e=>{n.resolve(),s(e)})),n}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&kd.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var s=this;this.isLanguageChangingTo=e;const n=dd();this.emit("languageChanging",e);const i=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},a=(e,a)=>{a?(i(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit("languageChanged",a),this.logger.log("languageChanged",a)):this.isLanguageChangingTo=void 0,n.resolve((function(){return s.t(...arguments)})),t&&t(e,(function(){return s.t(...arguments)}))},r=t=>{e||t||!this.services.languageDetector||(t=[]);const s="string"==typeof t?t:this.services.languageUtils.getBestMatchFromCodes(t);s&&(this.language||i(s),this.translator.language||this.translator.changeLanguage(s),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(s)),this.loadResources(s,(e=>{a(e,s)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(r):this.services.languageDetector.detect(r):r(e):r(this.services.languageDetector.detect()),n}getFixedT(e,t,s){var n=this;const i=function(e,t){let a;if("object"!=typeof t){for(var r=arguments.length,o=new Array(r>2?r-2:0),d=2;d`${a.keyPrefix}${l}${e}`)):a.keyPrefix?`${a.keyPrefix}${l}${e}`:e,n.t(u,a)};return"string"==typeof e?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=s,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const s=t.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===s.toLowerCase())return!0;const a=(e,t)=>{const s=this.services.backendConnector.state[`${e}|${t}`];return-1===s||2===s};if(t.precheck){const e=t.precheck(this,a);if(void 0!==e)return e}return!!this.hasResourceBundle(s,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!a(s,e)||n&&!a(i,e)))}loadNamespaces(e,t){const s=dd();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)})),this.loadResources((e=>{s.resolve(),t&&t(e)})),s):(t&&t(),Promise.resolve())}loadLanguages(e,t){const s=dd();"string"==typeof e&&(e=[e]);const n=this.options.preload||[],i=e.filter((e=>n.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e)));return i.length?(this.options.preload=n.concat(i),this.loadResources((e=>{s.resolve(),t&&t(e)})),s):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=this.services&&this.services.languageUtils||new Dd(Wd());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new Id(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nd;const s=e.forkResourceStore;s&&delete e.forkResourceStore;const n={...this.options,...e,isClone:!0},i=new Id(n);void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e));return["store","services","language"].forEach((e=>{i[e]=this[e]})),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},s&&(i.store=new vd(this.store.data,n),i.services.resourceStore=i.store),i.translator=new xd(i.services,n),i.translator.on("*",(function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),n=1;n0){var o=function(e,t){var s,n;return e.charts.filter((function(e){return e.layers})).forEach((function(e){if(!n){var i=e.layers.filter((function(e){return e.layerId===t}));if(i.length>0){s=e;var a=(0,p.A)(i,1);n=a[0]}}})),[s,n]}(e,s.layerPath),d=(0,p.A)(o,2);n=d[0],(i=d[1])&&(a=t.getLayerEntryConfig(s.layerPath),r=s.features)}})),[n,i,a,r]},dl=function(e,t,s){var n=function(e){for(var t=1;t1?"s":"")}),[s]),w=r((function(e){il.vF.logTraceUseCallback("GEOCHART-PANEL - handleLayerChange",e),f(e.layerPath)}),[f]),D=o((function(){return il.vF.logTraceUseMemo("GEOCHART-PANEL - memoLayersList",h),c.map((function(e){return h.find((function(t){return t.layerPath===e}))})).filter((function(e){return e&&u[e.layerPath]})).map((function(e){var t,s,n;return{layerName:null!==(t=e.layerName)&&void 0!==t?t:"",layerPath:e.layerPath,layerStatus:e.layerStatus,queryStatus:e.queryStatus,numOffeatures:null!==(s=null===(n=e.features)||void 0===n?void 0:n.length)&&void 0!==s?s:0,layerFeatures:x(e),tooltip:"".concat(e.layerName,", ").concat(x(e))}}))}),[c,h,u,x]),T=o((function(){return il.vF.logTraceUseMemo("GEOCHART-PANEL - memoLayerSelectedItem",D,_),D.find((function(e){return e.layerPath===_}))}),[D,_]);d((function(){il.vF.logTraceUseEffect("GEOCHART-PANEL - update layer data bypass",_),g(_)}),[_,g]),d((function(){if(il.vF.logTraceUseEffect("GEOCHART-PANEL - check selection",T),(!T||"processed"===T.queryStatus||"error"===T.queryStatus)&&""!==_)if(null!=T&&T.numOffeatures)g(T.layerPath);else{var e=D.find((function(e){return D.find((function(t){return e.layerPath===t.layerPath&&t.numOffeatures}))}));e?f(e.layerPath):il.vF.logDebug("GEOCHART-PANEL","select none",T)}}),[T,D]),d((function(){if(il.vF.logTraceUseEffect("GEOCHART-PANEL- mapClickCoordinates",M),M&&null!=D&&D.length&&!_.length){var e,t=D.find((function(e){return D.find((function(t){return e.layerPath===t.layerPath&&t.numOffeatures}))}));f(null!==(e=null==t?void 0:t.layerPath)&&void 0!==e?e:"")}else f("")}),[M,D]);var S=function(e,t,n){return(0,Qo.jsx)(cl,{sx:t,mapId:s,config:{charts:[e]},layers:h,schemaValidator:b,provideCallbackRedraw:function(e){return function(e,t){v.current[e]=t}(n,e)}},n)},j=r((function(e){il.vF.logTraceUseCallback("GEOCHART PANEL - handleGuideIsOpen"),e&&f("")}),[f]);return D?(0,Qo.jsx)(Zd.PE,{selectedLayerPath:_||"",layerList:D,onLayerListClicked:w,onIsEnlargeClicked:Y,onGuideIsOpen:j,guideContentIds:["chart","chart.children.chartTypes"],children:_&&(0,Qo.jsx)(Qd.Box,{children:Object.entries(u).map((function(e,t){var s=(0,p.A)(e,2),n=s[0],i=s[1];return n===_?S(i,{},t.toString()):(0,Qo.jsx)(Qo.Fragment,{})}))})}):(0,Qo.jsx)(Xd.o,{children:(0,nl.getLocalizedMessage)("geochart.panel.loadingUI",y)})}function _l(e,t,s){return t=(0,o.A)(t),(0,a.A)(e,ml()?Reflect.construct(t,s||[],(0,o.A)(e).constructor):t.apply(e,s))}function ml(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ml=function(){return!!e})()}var fl=function(e){function t(){var e;(0,n.A)(this,t);for(var s=arguments.length,i=new Array(s),a=0;a=20?"ste":"de")},week:{dow:1,doy:4}})}(s(59173))},64:function(e,t,s){!function(e){"use strict"; //! moment.js locale configuration @@ -235,7 +235,7 @@ function t(e,t){var s=e.split("_");return t%10==1&&t%100!=11?s[0]:t%10>=2&&t%10< //! moment.js locale configuration var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],s=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:s,weekdaysShort:s,weekdaysMin:s,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,s){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(s(59173))},2742:function(e,t,s){!function(e){"use strict"; //! moment.js locale configuration -e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(59173))},63077:function(e,t,s){!function(e){"use strict"; +e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(59173))},85458:function(e,t,s){!function(e){"use strict"; //! moment.js locale configuration e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,s){return e>11?s?"ප.ව.":"පස් වරු":s?"පෙ.ව.":"පෙර වරු"}})}(s(59173))},58696:function(e,t,s){!function(e){"use strict"; //! moment.js locale configuration @@ -301,7 +301,7 @@ e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月 //! moment.js locale configuration e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,s){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(s(59173))},44816:function(e,t,s){!function(e){"use strict"; //! moment.js locale configuration -e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,s){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(s(59173))},86062:(e,t,s)=>{var n={"./af":49769,"./af.js":49769,"./ar":86837,"./ar-dz":64,"./ar-dz.js":64,"./ar-kw":57028,"./ar-kw.js":57028,"./ar-ly":35617,"./ar-ly.js":35617,"./ar-ma":31840,"./ar-ma.js":31840,"./ar-ps":18547,"./ar-ps.js":18547,"./ar-sa":51946,"./ar-sa.js":51946,"./ar-tn":5324,"./ar-tn.js":5324,"./ar.js":86837,"./az":27005,"./az.js":27005,"./be":76847,"./be.js":76847,"./bg":98833,"./bg.js":98833,"./bm":47335,"./bm.js":47335,"./bn":43610,"./bn-bd":54717,"./bn-bd.js":54717,"./bn.js":43610,"./bo":98665,"./bo.js":98665,"./br":42686,"./br.js":42686,"./bs":52605,"./bs.js":52605,"./ca":18298,"./ca.js":18298,"./cs":50496,"./cs.js":50496,"./cv":52403,"./cv.js":52403,"./cy":64946,"./cy.js":64946,"./da":62993,"./da.js":62993,"./de":80749,"./de-at":93807,"./de-at.js":93807,"./de-ch":84825,"./de-ch.js":84825,"./de.js":80749,"./dv":70228,"./dv.js":70228,"./el":5523,"./el.js":5523,"./en-au":68224,"./en-au.js":68224,"./en-ca":59066,"./en-ca.js":59066,"./en-gb":87155,"./en-gb.js":87155,"./en-ie":91656,"./en-ie.js":91656,"./en-il":17527,"./en-il.js":17527,"./en-in":48089,"./en-in.js":48089,"./en-nz":8410,"./en-nz.js":8410,"./en-sg":31756,"./en-sg.js":31756,"./eo":28406,"./eo.js":28406,"./es":25506,"./es-do":60086,"./es-do.js":60086,"./es-mx":6866,"./es-mx.js":6866,"./es-us":95695,"./es-us.js":95695,"./es.js":25506,"./et":85291,"./et.js":85291,"./eu":63268,"./eu.js":63268,"./fa":28135,"./fa.js":28135,"./fi":15119,"./fi.js":15119,"./fil":24843,"./fil.js":24843,"./fo":21613,"./fo.js":21613,"./fr":61770,"./fr-ca":81523,"./fr-ca.js":81523,"./fr-ch":76628,"./fr-ch.js":76628,"./fr.js":61770,"./fy":29439,"./fy.js":29439,"./ga":92566,"./ga.js":92566,"./gd":81657,"./gd.js":81657,"./gl":60321,"./gl.js":60321,"./gom-deva":57548,"./gom-deva.js":57548,"./gom-latn":54423,"./gom-latn.js":54423,"./gu":54810,"./gu.js":54810,"./he":69713,"./he.js":69713,"./hi":1861,"./hi.js":1861,"./hr":11636,"./hr.js":11636,"./hu":39233,"./hu.js":39233,"./hy-am":40568,"./hy-am.js":40568,"./id":85503,"./id.js":85503,"./is":33326,"./is.js":33326,"./it":71183,"./it-ch":25043,"./it-ch.js":25043,"./it.js":71183,"./ja":51171,"./ja.js":51171,"./jv":61546,"./jv.js":61546,"./ka":24530,"./ka.js":24530,"./kk":93728,"./kk.js":93728,"./km":75990,"./km.js":75990,"./kn":11987,"./kn.js":11987,"./ko":87532,"./ko.js":87532,"./ku":49070,"./ku-kmr":95509,"./ku-kmr.js":95509,"./ku.js":49070,"./ky":77882,"./ky.js":77882,"./lb":89264,"./lb.js":89264,"./lo":40459,"./lo.js":40459,"./lt":66678,"./lt.js":66678,"./lv":94060,"./lv.js":94060,"./me":24460,"./me.js":24460,"./mi":69384,"./mi.js":69384,"./mk":54674,"./mk.js":54674,"./ml":1531,"./ml.js":1531,"./mn":65437,"./mn.js":65437,"./mr":11497,"./mr.js":11497,"./ms":56442,"./ms-my":72601,"./ms-my.js":72601,"./ms.js":56442,"./mt":53187,"./mt.js":53187,"./my":55320,"./my.js":55320,"./nb":82226,"./nb.js":82226,"./ne":93499,"./ne.js":93499,"./nl":58956,"./nl-be":99032,"./nl-be.js":99032,"./nl.js":58956,"./nn":5398,"./nn.js":5398,"./oc-lnc":6274,"./oc-lnc.js":6274,"./pa-in":20425,"./pa-in.js":20425,"./pl":5282,"./pl.js":5282,"./pt":48362,"./pt-br":51231,"./pt-br.js":51231,"./pt.js":48362,"./ro":2745,"./ro.js":2745,"./ru":66607,"./ru.js":66607,"./sd":78453,"./sd.js":78453,"./se":2742,"./se.js":2742,"./si":63077,"./si.js":63077,"./sk":58696,"./sk.js":58696,"./sl":89437,"./sl.js":89437,"./sq":64986,"./sq.js":64986,"./sr":92007,"./sr-cyrl":20970,"./sr-cyrl.js":20970,"./sr.js":92007,"./ss":85136,"./ss.js":85136,"./sv":42499,"./sv.js":42499,"./sw":44508,"./sw.js":44508,"./ta":73857,"./ta.js":73857,"./te":23933,"./te.js":23933,"./tet":67213,"./tet.js":67213,"./tg":59515,"./tg.js":59515,"./th":87370,"./th.js":87370,"./tk":87927,"./tk.js":87927,"./tl-ph":8767,"./tl-ph.js":8767,"./tlh":20092,"./tlh.js":20092,"./tr":61720,"./tr.js":61720,"./tzl":63542,"./tzl.js":63542,"./tzm":55605,"./tzm-latn":98367,"./tzm-latn.js":98367,"./tzm.js":55605,"./ug-cn":37422,"./ug-cn.js":37422,"./uk":29146,"./uk.js":29146,"./ur":34657,"./ur.js":34657,"./uz":72345,"./uz-latn":23435,"./uz-latn.js":23435,"./uz.js":72345,"./vi":56895,"./vi.js":56895,"./x-pseudo":98467,"./x-pseudo.js":98467,"./yo":52218,"./yo.js":52218,"./zh-cn":85624,"./zh-cn.js":85624,"./zh-hk":97488,"./zh-hk.js":97488,"./zh-mo":9061,"./zh-mo.js":9061,"./zh-tw":44816,"./zh-tw.js":44816};function i(e){var t=a(e);return s(t)}function a(e){if(!s.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=a,e.exports=i,i.id=86062},59173:function(e,t,s){(e=s.nmd(e)).exports=function(){"use strict";var t,n;function i(){return t.apply(null,arguments)}function a(e){t=e}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(d(e,t))return!1;return!0}function u(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function _(e,t){var s,n=[],i=e.length;for(s=0;s>>0;for(t=0;t0)for(s=0;s=0?s?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,W={},z={};function N(e,t,s,n){var i=n;"string"==typeof n&&(i=function(){return this[n]()}),e&&(z[e]=i),t&&(z[t[0]]=function(){return C(i.apply(this,arguments),t[1],t[2])}),s&&(z[s]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function I(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function V(e){var t,s,n=e.match(F);for(t=0,s=n.length;t=0&&R.test(e);)e=e.replace(R,n),R.lastIndex=0,s-=1;return e}var B={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function J(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match(F).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var G="Invalid date";function q(){return this._invalidDate}var K="%d",Z=/\d{1,2}/;function X(e){return this._ordinal.replace("%d",e)}var Q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ee(e,t,s,n){var i=this._relativeTime[s];return j(i)?i(e,t,s,n):i.replace(/%d/i,e)}function te(e,t){var s=this._relativeTime[e>0?"future":"past"];return j(s)?s(t):s.replace(/%s/i,t)}var se={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ne(e){return"string"==typeof e?se[e]||se[e.toLowerCase()]:void 0}function ie(e){var t,s,n={};for(s in e)d(e,s)&&(t=ne(s))&&(n[t]=e[s]);return n}var ae={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function re(e){var t,s=[];for(t in e)d(e,t)&&s.push({unit:t,priority:ae[t]});return s.sort((function(e,t){return e.priority-t.priority})),s}var oe,de=/\d/,le=/\d\d/,ue=/\d{3}/,ce=/\d{4}/,he=/[+-]?\d{6}/,_e=/\d\d?/,me=/\d\d\d\d?/,fe=/\d\d\d\d\d\d?/,pe=/\d{1,3}/,ge=/\d{1,4}/,ye=/[+-]?\d{1,6}/,Me=/\d+/,Le=/[+-]?\d+/,be=/Z|[+-]\d\d:?\d\d/gi,ve=/Z|[+-]\d\d(?::?\d\d)?/gi,ke=/[+-]?\d+(\.\d{1,3})?/,Ye=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,xe=/^[1-9]\d?/,we=/^([1-9]\d|\d)/;function De(e,t,s){oe[e]=j(t)?t:function(e,n){return e&&s?s:t}}function Te(e,t){return d(oe,e)?oe[e](t._strict,t._locale):new RegExp(Se(e))}function Se(e){return je(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,s,n,i){return t||s||n||i})))}function je(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function He(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Oe(e){var t=+e,s=0;return 0!==t&&isFinite(t)&&(s=He(t)),s}oe={};var Pe={};function Ae(e,t){var s,n,i=t;for("string"==typeof e&&(e=[e]),c(t)&&(i=function(e,s){s[t]=Oe(e)}),n=e.length,s=0;s68?1900:2e3)};var Ge,qe=Ze("FullYear",!0);function Ke(){return Fe(this.year())}function Ze(e,t){return function(s){return null!=s?(Qe(this,e,s),i.updateOffset(this,t),this):Xe(this,e)}}function Xe(e,t){if(!e.isValid())return NaN;var s=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?s.getUTCMilliseconds():s.getMilliseconds();case"Seconds":return n?s.getUTCSeconds():s.getSeconds();case"Minutes":return n?s.getUTCMinutes():s.getMinutes();case"Hours":return n?s.getUTCHours():s.getHours();case"Date":return n?s.getUTCDate():s.getDate();case"Day":return n?s.getUTCDay():s.getDay();case"Month":return n?s.getUTCMonth():s.getMonth();case"FullYear":return n?s.getUTCFullYear():s.getFullYear();default:return NaN}}function Qe(e,t,s){var n,i,a,r,o;if(e.isValid()&&!isNaN(s)){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(s):n.setMilliseconds(s));case"Seconds":return void(i?n.setUTCSeconds(s):n.setSeconds(s));case"Minutes":return void(i?n.setUTCMinutes(s):n.setMinutes(s));case"Hours":return void(i?n.setUTCHours(s):n.setHours(s));case"Date":return void(i?n.setUTCDate(s):n.setDate(s));case"FullYear":break;default:return}a=s,r=e.month(),o=29!==(o=e.date())||1!==r||Fe(a)?o:28,i?n.setUTCFullYear(a,r,o):n.setFullYear(a,r,o)}}function et(e){return j(this[e=ne(e)])?this[e]():this}function tt(e,t){if("object"==typeof e){var s,n=re(e=ie(e)),i=n.length;for(s=0;s=0?(o=new Date(e+400,t,s,n,i,a,r),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,s,n,i,a,r),o}function Lt(e){var t,s;return e<100&&e>=0?((s=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,s)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function bt(e,t,s){var n=7+t-s;return-(7+Lt(e,0,n).getUTCDay()-t)%7+n-1}function vt(e,t,s,n,i){var a,r,o=1+7*(t-1)+(7+s-n)%7+bt(e,n,i);return o<=0?r=Je(a=e-1)+o:o>Je(e)?(a=e+1,r=o-Je(e)):(a=e,r=o),{year:a,dayOfYear:r}}function kt(e,t,s){var n,i,a=bt(e.year(),t,s),r=Math.floor((e.dayOfYear()-a-1)/7)+1;return r<1?n=r+Yt(i=e.year()-1,t,s):r>Yt(e.year(),t,s)?(n=r-Yt(e.year(),t,s),i=e.year()+1):(i=e.year(),n=r),{week:n,year:i}}function Yt(e,t,s){var n=bt(e,t,s),i=bt(e+1,t,s);return(Je(e)-n+i)/7}function xt(e){return kt(e,this._week.dow,this._week.doy).week}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),De("w",_e,xe),De("ww",_e,le),De("W",_e,xe),De("WW",_e,le),Ee(["w","ww","W","WW"],(function(e,t,s,n){t[n.substr(0,1)]=Oe(e)}));var wt={dow:0,doy:6};function Dt(){return this._week.dow}function Tt(){return this._week.doy}function St(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function jt(e){var t=kt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ht(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Ot(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Pt(e,t){return e.slice(t,7).concat(e.slice(0,t))}N("d",0,"do","day"),N("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),N("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),N("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),De("d",_e),De("e",_e),De("E",_e),De("dd",(function(e,t){return t.weekdaysMinRegex(e)})),De("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),De("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ee(["dd","ddd","dddd"],(function(e,t,s,n){var i=s._locale.weekdaysParse(e,n,s._strict);null!=i?t.d=i:g(s).invalidWeekday=e})),Ee(["d","e","E"],(function(e,t,s,n){t[n]=Oe(e)}));var At="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Et="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ct="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ft=Ye,Rt=Ye,Wt=Ye;function zt(e,t){var s=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Pt(s,this._week.dow):e?s[e.day()]:s}function Nt(e){return!0===e?Pt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function It(e){return!0===e?Pt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Vt(e,t,s){var n,i,a,r=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=f([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return s?"dddd"===t?-1!==(i=Ge.call(this._weekdaysParse,r))?i:null:"ddd"===t?-1!==(i=Ge.call(this._shortWeekdaysParse,r))?i:null:-1!==(i=Ge.call(this._minWeekdaysParse,r))?i:null:"dddd"===t?-1!==(i=Ge.call(this._weekdaysParse,r))||-1!==(i=Ge.call(this._shortWeekdaysParse,r))||-1!==(i=Ge.call(this._minWeekdaysParse,r))?i:null:"ddd"===t?-1!==(i=Ge.call(this._shortWeekdaysParse,r))||-1!==(i=Ge.call(this._weekdaysParse,r))||-1!==(i=Ge.call(this._minWeekdaysParse,r))?i:null:-1!==(i=Ge.call(this._minWeekdaysParse,r))||-1!==(i=Ge.call(this._weekdaysParse,r))||-1!==(i=Ge.call(this._shortWeekdaysParse,r))?i:null}function Ut(e,t,s){var n,i,a;if(this._weekdaysParseExact)return Vt.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=f([2e3,1]).day(n),s&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),s&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(s&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(s&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!s&&this._weekdaysParse[n].test(e))return n}}function $t(e){if(!this.isValid())return null!=e?this:NaN;var t=Xe(this,"Day");return null!=e?(e=Ht(e,this.localeData()),this.add(e-t,"d")):t}function Bt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Jt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ot(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Gt(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Ft),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function qt(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Rt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Wt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zt(){function e(e,t){return t.length-e.length}var t,s,n,i,a,r=[],o=[],d=[],l=[];for(t=0;t<7;t++)s=f([2e3,1]).day(t),n=je(this.weekdaysMin(s,"")),i=je(this.weekdaysShort(s,"")),a=je(this.weekdays(s,"")),r.push(n),o.push(i),d.push(a),l.push(n),l.push(i),l.push(a);r.sort(e),o.sort(e),d.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Xt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function es(e,t){N(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function ts(e,t){return t._meridiemParse}function ss(e){return"p"===(e+"").toLowerCase().charAt(0)}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Xt),N("k",["kk",2],0,Qt),N("hmm",0,0,(function(){return""+Xt.apply(this)+C(this.minutes(),2)})),N("hmmss",0,0,(function(){return""+Xt.apply(this)+C(this.minutes(),2)+C(this.seconds(),2)})),N("Hmm",0,0,(function(){return""+this.hours()+C(this.minutes(),2)})),N("Hmmss",0,0,(function(){return""+this.hours()+C(this.minutes(),2)+C(this.seconds(),2)})),es("a",!0),es("A",!1),De("a",ts),De("A",ts),De("H",_e,we),De("h",_e,xe),De("k",_e,xe),De("HH",_e,le),De("hh",_e,le),De("kk",_e,le),De("hmm",me),De("hmmss",fe),De("Hmm",me),De("Hmmss",fe),Ae(["H","HH"],Ne),Ae(["k","kk"],(function(e,t,s){var n=Oe(e);t[Ne]=24===n?0:n})),Ae(["a","A"],(function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e})),Ae(["h","hh"],(function(e,t,s){t[Ne]=Oe(e),g(s).bigHour=!0})),Ae("hmm",(function(e,t,s){var n=e.length-2;t[Ne]=Oe(e.substr(0,n)),t[Ie]=Oe(e.substr(n)),g(s).bigHour=!0})),Ae("hmmss",(function(e,t,s){var n=e.length-4,i=e.length-2;t[Ne]=Oe(e.substr(0,n)),t[Ie]=Oe(e.substr(n,2)),t[Ve]=Oe(e.substr(i)),g(s).bigHour=!0})),Ae("Hmm",(function(e,t,s){var n=e.length-2;t[Ne]=Oe(e.substr(0,n)),t[Ie]=Oe(e.substr(n))})),Ae("Hmmss",(function(e,t,s){var n=e.length-4,i=e.length-2;t[Ne]=Oe(e.substr(0,n)),t[Ie]=Oe(e.substr(n,2)),t[Ve]=Oe(e.substr(i))}));var ns=/[ap]\.?m?\.?/i,is=Ze("Hours",!0);function as(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var rs,os={calendar:A,longDateFormat:B,invalidDate:G,ordinal:K,dayOfMonthOrdinalParse:Z,relativeTime:Q,months:it,monthsShort:at,week:wt,weekdays:At,weekdaysMin:Ct,weekdaysShort:Et,meridiemParse:ns},ds={},ls={};function us(e,t){var s,n=Math.min(e.length,t.length);for(s=0;s0;){if(n=ms(i.slice(0,t).join("-")))return n;if(s&&s.length>=t&&us(i,s)>=t-1)break;t--}a++}return rs}function _s(e){return!(!e||!e.match("^[^/\\\\]*$"))}function ms(t){var n=null;if(void 0===ds[t]&&e&&e.exports&&_s(t))try{n=rs._abbr,s(86062)("./"+t),fs(n)}catch(e){ds[t]=null}return ds[t]}function fs(e,t){var s;return e&&((s=u(t)?ys(e):ps(e,t))?rs=s:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rs._abbr}function ps(e,t){if(null!==t){var s,n=os;if(t.abbr=e,null!=ds[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ds[e]._config;else if(null!=t.parentLocale)if(null!=ds[t.parentLocale])n=ds[t.parentLocale]._config;else{if(null==(s=ms(t.parentLocale)))return ls[t.parentLocale]||(ls[t.parentLocale]=[]),ls[t.parentLocale].push({name:e,config:t}),null;n=s._config}return ds[e]=new P(O(n,t)),ls[e]&&ls[e].forEach((function(e){ps(e.name,e.config)})),fs(e),ds[e]}return delete ds[e],null}function gs(e,t){if(null!=t){var s,n,i=os;null!=ds[e]&&null!=ds[e].parentLocale?ds[e].set(O(ds[e]._config,t)):(null!=(n=ms(e))&&(i=n._config),t=O(i,t),null==n&&(t.abbr=e),(s=new P(t)).parentLocale=ds[e],ds[e]=s),fs(e)}else null!=ds[e]&&(null!=ds[e].parentLocale?(ds[e]=ds[e].parentLocale,e===fs()&&fs(e)):null!=ds[e]&&delete ds[e]);return ds[e]}function ys(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return rs;if(!r(e)){if(t=ms(e))return t;e=[e]}return hs(e)}function Ms(){return D(ds)}function Ls(e){var t,s=e._a;return s&&-2===g(e).overflow&&(t=s[We]<0||s[We]>11?We:s[ze]<1||s[ze]>nt(s[Re],s[We])?ze:s[Ne]<0||s[Ne]>24||24===s[Ne]&&(0!==s[Ie]||0!==s[Ve]||0!==s[Ue])?Ne:s[Ie]<0||s[Ie]>59?Ie:s[Ve]<0||s[Ve]>59?Ve:s[Ue]<0||s[Ue]>999?Ue:-1,g(e)._overflowDayOfYear&&(tze)&&(t=ze),g(e)._overflowWeeks&&-1===t&&(t=$e),g(e)._overflowWeekday&&-1===t&&(t=Be),g(e).overflow=t),e}var bs=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vs=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ks=/Z|[+-]\d\d(?::?\d\d)?/,Ys=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],xs=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ws=/^\/?Date\((-?\d+)/i,Ds=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ts={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ss(e){var t,s,n,i,a,r,o=e._i,d=bs.exec(o)||vs.exec(o),l=Ys.length,u=xs.length;if(d){for(g(e).iso=!0,t=0,s=l;tJe(a)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),s=Lt(a,0,e._dayOfYear),e._a[We]=s.getUTCMonth(),e._a[ze]=s.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=r[t]=n[t];for(;t<7;t++)e._a[t]=r[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ne]&&0===e._a[Ie]&&0===e._a[Ve]&&0===e._a[Ue]&&(e._nextDay=!0,e._a[Ne]=0),e._d=(e._useUTC?Lt:Mt).apply(null,r),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ne]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function zs(e){var t,s,n,i,a,r,o,d,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,r=4,s=Fs(t.GG,e._a[Re],kt(qs(),1,4).year),n=Fs(t.W,1),((i=Fs(t.E,1))<1||i>7)&&(d=!0)):(a=e._locale._week.dow,r=e._locale._week.doy,l=kt(qs(),a,r),s=Fs(t.gg,e._a[Re],l.year),n=Fs(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(d=!0):null!=t.e?(i=t.e+a,(t.e<0||t.e>6)&&(d=!0)):i=a),n<1||n>Yt(s,a,r)?g(e)._overflowWeeks=!0:null!=d?g(e)._overflowWeekday=!0:(o=vt(s,n,i,a,r),e._a[Re]=o.year,e._dayOfYear=o.dayOfYear)}function Ns(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],g(e).empty=!0;var t,s,n,a,r,o,d,l=""+e._i,u=l.length,c=0;for(d=(n=$(e._f,e._locale).match(F)||[]).length,t=0;t0&&g(e).unusedInput.push(r),l=l.slice(l.indexOf(s)+s.length),c+=s.length),z[a]?(s?g(e).empty=!1:g(e).unusedTokens.push(a),Ce(a,s,e)):e._strict&&!s&&g(e).unusedTokens.push(a);g(e).charsLeftOver=u-c,l.length>0&&g(e).unusedInput.push(l),e._a[Ne]<=12&&!0===g(e).bigHour&&e._a[Ne]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[Ne]=Is(e._locale,e._a[Ne],e._meridiem),null!==(o=g(e).era)&&(e._a[Re]=e._locale.erasConvertYear(o,e._a[Re])),Ws(e),Ls(e)}else Es(e);else Ss(e)}function Is(e,t,s){var n;return null==s?t:null!=e.meridiemHour?e.meridiemHour(t,s):null!=e.isPM?((n=e.isPM(s))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}function Vs(e){var t,s,n,i,a,r,o=!1,d=e._f.length;if(0===d)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:M()}));function Xs(e,t){var s,n;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return qs();for(s=t[0],n=1;nthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function kn(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Bs(t))._a?(e=t._isUTC?f(t._a):qs(t._a),this._isDSTShifted=this.isValid()&&un(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Yn(){return!!this.isValid()&&!this._isUTC}function xn(){return!!this.isValid()&&this._isUTC}function wn(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Dn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Tn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Sn(e,t){var s,n,i,a=e,r=null;return dn(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(r=Dn.exec(e))?(s="-"===r[1]?-1:1,a={y:0,d:Oe(r[ze])*s,h:Oe(r[Ne])*s,m:Oe(r[Ie])*s,s:Oe(r[Ve])*s,ms:Oe(ln(1e3*r[Ue]))*s}):(r=Tn.exec(e))?(s="-"===r[1]?-1:1,a={y:jn(r[2],s),M:jn(r[3],s),w:jn(r[4],s),d:jn(r[5],s),h:jn(r[6],s),m:jn(r[7],s),s:jn(r[8],s)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=On(qs(a.from),qs(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),n=new on(a),dn(e)&&d(e,"_locale")&&(n._locale=e._locale),dn(e)&&d(e,"_isValid")&&(n._isValid=e._isValid),n}function jn(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function Hn(e,t){var s={};return s.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(s.months,"M").isAfter(t)&&--s.months,s.milliseconds=+t-+e.clone().add(s.months,"M"),s}function On(e,t){var s;return e.isValid()&&t.isValid()?(t=mn(t,e),e.isBefore(t)?s=Hn(e,t):((s=Hn(t,e)).milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function Pn(e,t){return function(s,n){var i;return null===n||isNaN(+n)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=s,s=n,n=i),An(this,Sn(s,n),e),this}}function An(e,t,s,n){var a=t._milliseconds,r=ln(t._days),o=ln(t._months);e.isValid()&&(n=null==n||n,o&&_t(e,Xe(e,"Month")+o*s),r&&Qe(e,"Date",Xe(e,"Date")+r*s),a&&e._d.setTime(e._d.valueOf()+a*s),n&&i.updateOffset(e,r||o))}Sn.fn=on.prototype,Sn.invalid=rn;var En=Pn(1,"add"),Cn=Pn(-1,"subtract");function Fn(e){return"string"==typeof e||e instanceof String}function Rn(e){return Y(e)||h(e)||Fn(e)||c(e)||zn(e)||Wn(e)||null==e}function Wn(e){var t,s,n=o(e)&&!l(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],r=a.length;for(t=0;ts.valueOf():s.valueOf()9999?U(s,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(s,"Z")):U(s,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ti(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,s,n,i="moment",a="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s="-MM-DD[T]HH:mm:ss.SSS",n=a+'[")]',this.format(e+t+s+n)}function si(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)}function ni(e,t){return this.isValid()&&(Y(e)&&e.isValid()||qs(e).isValid())?Sn({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ii(e){return this.from(qs(),e)}function ai(e,t){return this.isValid()&&(Y(e)&&e.isValid()||qs(e).isValid())?Sn({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ri(e){return this.to(qs(),e)}function oi(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ys(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var di=w("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function li(){return this._locale}var ui=1e3,ci=60*ui,hi=60*ci,_i=3506328*hi;function mi(e,t){return(e%t+t)%t}function fi(e,t,s){return e<100&&e>=0?new Date(e+400,t,s)-_i:new Date(e,t,s).valueOf()}function pi(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-_i:Date.UTC(e,t,s)}function gi(e){var t,s;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(s=this._isUTC?pi:fi,e){case"year":t=s(this.year(),0,1);break;case"quarter":t=s(this.year(),this.month()-this.month()%3,1);break;case"month":t=s(this.year(),this.month(),1);break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=s(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=mi(t+(this._isUTC?0:this.utcOffset()*ci),hi);break;case"minute":t=this._d.valueOf(),t-=mi(t,ci);break;case"second":t=this._d.valueOf(),t-=mi(t,ui)}return this._d.setTime(t),i.updateOffset(this,!0),this}function yi(e){var t,s;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(s=this._isUTC?pi:fi,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=hi-mi(t+(this._isUTC?0:this.utcOffset()*ci),hi)-1;break;case"minute":t=this._d.valueOf(),t+=ci-mi(t,ci)-1;break;case"second":t=this._d.valueOf(),t+=ui-mi(t,ui)-1}return this._d.setTime(t),i.updateOffset(this,!0),this}function Mi(){return this._d.valueOf()-6e4*(this._offset||0)}function Li(){return Math.floor(this.valueOf()/1e3)}function bi(){return new Date(this.valueOf())}function vi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ki(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Yi(){return this.isValid()?this.toISOString():null}function xi(){return y(this)}function wi(){return m({},g(this))}function Di(){return g(this).overflow}function Ti(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Si(e,t){var s,n,a,r=this._eras||ys("en")._eras;for(s=0,n=r.length;s=0)return d[n]}function Hi(e,t){var s=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*s}function Oi(){var e,t,s,n=this.localeData().eras();for(e=0,t=n.length;e(a=Yt(e,n,i))&&(t=a),Xi.call(this,e,t,s,n,i))}function Xi(e,t,s,n,i){var a=vt(e,t,s,n,i),r=Lt(a.year,0,a.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}N("N",0,0,"eraAbbr"),N("NN",0,0,"eraAbbr"),N("NNN",0,0,"eraAbbr"),N("NNNN",0,0,"eraName"),N("NNNNN",0,0,"eraNarrow"),N("y",["y",1],"yo","eraYear"),N("y",["yy",2],0,"eraYear"),N("y",["yyy",3],0,"eraYear"),N("y",["yyyy",4],0,"eraYear"),De("N",Wi),De("NN",Wi),De("NNN",Wi),De("NNNN",zi),De("NNNNN",Ni),Ae(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,s,n){var i=s._locale.erasParse(e,n,s._strict);i?g(s).era=i:g(s).invalidEra=e})),De("y",Me),De("yy",Me),De("yyy",Me),De("yyyy",Me),De("yo",Ii),Ae(["y","yy","yyy","yyyy"],Re),Ae(["yo"],(function(e,t,s,n){var i;s._locale._eraYearOrdinalRegex&&(i=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[Re]=s._locale.eraYearOrdinalParse(e,i):t[Re]=parseInt(e,10)})),N(0,["gg",2],0,(function(){return this.weekYear()%100})),N(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Ui("gggg","weekYear"),Ui("ggggg","weekYear"),Ui("GGGG","isoWeekYear"),Ui("GGGGG","isoWeekYear"),De("G",Le),De("g",Le),De("GG",_e,le),De("gg",_e,le),De("GGGG",ge,ce),De("gggg",ge,ce),De("GGGGG",ye,he),De("ggggg",ye,he),Ee(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,s,n){t[n.substr(0,2)]=Oe(e)})),Ee(["gg","GG"],(function(e,t,s,n){t[n]=i.parseTwoDigitYear(e)})),N("Q",0,"Qo","quarter"),De("Q",de),Ae("Q",(function(e,t){t[We]=3*(Oe(e)-1)})),N("D",["DD",2],"Do","date"),De("D",_e,xe),De("DD",_e,le),De("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ae(["D","DD"],ze),Ae("Do",(function(e,t){t[ze]=Oe(e.match(_e)[0])}));var ea=Ze("Date",!0);function ta(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}N("DDD",["DDDD",3],"DDDo","dayOfYear"),De("DDD",pe),De("DDDD",ue),Ae(["DDD","DDDD"],(function(e,t,s){s._dayOfYear=Oe(e)})),N("m",["mm",2],0,"minute"),De("m",_e,we),De("mm",_e,le),Ae(["m","mm"],Ie);var sa=Ze("Minutes",!1);N("s",["ss",2],0,"second"),De("s",_e,we),De("ss",_e,le),Ae(["s","ss"],Ve);var na,ia,aa=Ze("Seconds",!1);for(N("S",0,0,(function(){return~~(this.millisecond()/100)})),N(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),N(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),N(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),N(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),N(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),N(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),De("S",pe,de),De("SS",pe,le),De("SSS",pe,ue),na="SSSS";na.length<=9;na+="S")De(na,Me);function ra(e,t){t[Ue]=Oe(1e3*("0."+e))}for(na="S";na.length<=9;na+="S")Ae(na,ra);function oa(){return this._isUTC?"UTC":""}function da(){return this._isUTC?"Coordinated Universal Time":""}ia=Ze("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var la=k.prototype;function ua(e){return qs(1e3*e)}function ca(){return qs.apply(null,arguments).parseZone()}function ha(e){return e}la.add=En,la.calendar=Vn,la.clone=Un,la.diff=Zn,la.endOf=yi,la.format=si,la.from=ni,la.fromNow=ii,la.to=ai,la.toNow=ri,la.get=et,la.invalidAt=Di,la.isAfter=$n,la.isBefore=Bn,la.isBetween=Jn,la.isSame=Gn,la.isSameOrAfter=qn,la.isSameOrBefore=Kn,la.isValid=xi,la.lang=di,la.locale=oi,la.localeData=li,la.max=Zs,la.min=Ks,la.parsingFlags=wi,la.set=tt,la.startOf=gi,la.subtract=Cn,la.toArray=vi,la.toObject=ki,la.toDate=bi,la.toISOString=ei,la.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(la[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),la.toJSON=Yi,la.toString=Qn,la.unix=Li,la.valueOf=Mi,la.creationData=Ti,la.eraName=Oi,la.eraNarrow=Pi,la.eraAbbr=Ai,la.eraYear=Ei,la.year=qe,la.isLeapYear=Ke,la.weekYear=$i,la.isoWeekYear=Bi,la.quarter=la.quarters=Qi,la.month=mt,la.daysInMonth=ft,la.week=la.weeks=St,la.isoWeek=la.isoWeeks=jt,la.weeksInYear=qi,la.weeksInWeekYear=Ki,la.isoWeeksInYear=Ji,la.isoWeeksInISOWeekYear=Gi,la.date=ea,la.day=la.days=$t,la.weekday=Bt,la.isoWeekday=Jt,la.dayOfYear=ta,la.hour=la.hours=is,la.minute=la.minutes=sa,la.second=la.seconds=aa,la.millisecond=la.milliseconds=ia,la.utcOffset=pn,la.utc=yn,la.local=Mn,la.parseZone=Ln,la.hasAlignedHourOffset=bn,la.isDST=vn,la.isLocal=Yn,la.isUtcOffset=xn,la.isUtc=wn,la.isUTC=wn,la.zoneAbbr=oa,la.zoneName=da,la.dates=w("dates accessor is deprecated. Use date instead.",ea),la.months=w("months accessor is deprecated. Use month instead",mt),la.years=w("years accessor is deprecated. Use year instead",qe),la.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gn),la.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",kn);var _a=P.prototype;function ma(e,t,s,n){var i=ys(),a=f().set(n,t);return i[s](a,e)}function fa(e,t,s){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return ma(e,t,s,"month");var n,i=[];for(n=0;n<12;n++)i[n]=ma(e,n,s,"month");return i}function pa(e,t,s,n){"boolean"==typeof e?(c(t)&&(s=t,t=void 0),t=t||""):(s=t=e,e=!1,c(t)&&(s=t,t=void 0),t=t||"");var i,a=ys(),r=e?a._week.dow:0,o=[];if(null!=s)return ma(t,(s+r)%7,n,"day");for(i=0;i<7;i++)o[i]=ma(t,(i+r)%7,n,"day");return o}function ga(e,t){return fa(e,t,"months")}function ya(e,t){return fa(e,t,"monthsShort")}function Ma(e,t,s){return pa(e,t,s,"weekdays")}function La(e,t,s){return pa(e,t,s,"weekdaysShort")}function ba(e,t,s){return pa(e,t,s,"weekdaysMin")}_a.calendar=E,_a.longDateFormat=J,_a.invalidDate=q,_a.ordinal=X,_a.preparse=ha,_a.postformat=ha,_a.relativeTime=ee,_a.pastFuture=te,_a.set=H,_a.eras=Si,_a.erasParse=ji,_a.erasConvertYear=Hi,_a.erasAbbrRegex=Fi,_a.erasNameRegex=Ci,_a.erasNarrowRegex=Ri,_a.months=lt,_a.monthsShort=ut,_a.monthsParse=ht,_a.monthsRegex=gt,_a.monthsShortRegex=pt,_a.week=xt,_a.firstDayOfYear=Tt,_a.firstDayOfWeek=Dt,_a.weekdays=zt,_a.weekdaysMin=It,_a.weekdaysShort=Nt,_a.weekdaysParse=Ut,_a.weekdaysRegex=Gt,_a.weekdaysShortRegex=qt,_a.weekdaysMinRegex=Kt,_a.isPM=ss,_a.meridiem=as,fs("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Oe(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=w("moment.lang is deprecated. Use moment.locale instead.",fs),i.langData=w("moment.langData is deprecated. Use moment.localeData instead.",ys);var va=Math.abs;function ka(){var e=this._data;return this._milliseconds=va(this._milliseconds),this._days=va(this._days),this._months=va(this._months),e.milliseconds=va(e.milliseconds),e.seconds=va(e.seconds),e.minutes=va(e.minutes),e.hours=va(e.hours),e.months=va(e.months),e.years=va(e.years),this}function Ya(e,t,s,n){var i=Sn(t,s);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function xa(e,t){return Ya(this,e,t,1)}function wa(e,t){return Ya(this,e,t,-1)}function Da(e){return e<0?Math.floor(e):Math.ceil(e)}function Ta(){var e,t,s,n,i,a=this._milliseconds,r=this._days,o=this._months,d=this._data;return a>=0&&r>=0&&o>=0||a<=0&&r<=0&&o<=0||(a+=864e5*Da(ja(o)+r),r=0,o=0),d.milliseconds=a%1e3,e=He(a/1e3),d.seconds=e%60,t=He(e/60),d.minutes=t%60,s=He(t/60),d.hours=s%24,r+=He(s/24),o+=i=He(Sa(r)),r-=Da(ja(i)),n=He(o/12),o%=12,d.days=r,d.months=o,d.years=n,this}function Sa(e){return 4800*e/146097}function ja(e){return 146097*e/4800}function Ha(e){if(!this.isValid())return NaN;var t,s,n=this._milliseconds;if("month"===(e=ne(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,s=this._months+Sa(t),e){case"month":return s;case"quarter":return s/3;case"year":return s/12}else switch(t=this._days+Math.round(ja(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}}function Oa(e){return function(){return this.as(e)}}var Pa=Oa("ms"),Aa=Oa("s"),Ea=Oa("m"),Ca=Oa("h"),Fa=Oa("d"),Ra=Oa("w"),Wa=Oa("M"),za=Oa("Q"),Na=Oa("y"),Ia=Pa;function Va(){return Sn(this)}function Ua(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function $a(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ba=$a("milliseconds"),Ja=$a("seconds"),Ga=$a("minutes"),qa=$a("hours"),Ka=$a("days"),Za=$a("months"),Xa=$a("years");function Qa(){return He(this.days()/7)}var er=Math.round,tr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function sr(e,t,s,n,i){return i.relativeTime(t||1,!!s,e,n)}function nr(e,t,s,n){var i=Sn(e).abs(),a=er(i.as("s")),r=er(i.as("m")),o=er(i.as("h")),d=er(i.as("d")),l=er(i.as("M")),u=er(i.as("w")),c=er(i.as("y")),h=a<=s.ss&&["s",a]||a0,h[4]=n,sr.apply(null,h)}function ir(e){return void 0===e?er:"function"==typeof e&&(er=e,!0)}function ar(e,t){return void 0!==tr[e]&&(void 0===t?tr[e]:(tr[e]=t,"s"===e&&(tr.ss=t-1),!0))}function rr(e,t){if(!this.isValid())return this.localeData().invalidDate();var s,n,i=!1,a=tr;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(a=Object.assign({},tr,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),n=nr(this,!i,a,s=this.localeData()),i&&(n=s.pastFuture(+this,n)),s.postformat(n)}var or=Math.abs;function dr(e){return(e>0)-(e<0)||+e}function lr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,s,n,i,a,r,o,d=or(this._milliseconds)/1e3,l=or(this._days),u=or(this._months),c=this.asSeconds();return c?(e=He(d/60),t=He(e/60),d%=60,e%=60,s=He(u/12),u%=12,n=d?d.toFixed(3).replace(/\.?0+$/,""):"",i=c<0?"-":"",a=dr(this._months)!==dr(c)?"-":"",r=dr(this._days)!==dr(c)?"-":"",o=dr(this._milliseconds)!==dr(c)?"-":"",i+"P"+(s?a+s+"Y":"")+(u?a+u+"M":"")+(l?r+l+"D":"")+(t||e||d?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(d?o+n+"S":"")):"P0D"}var ur=on.prototype;return ur.isValid=an,ur.abs=ka,ur.add=xa,ur.subtract=wa,ur.as=Ha,ur.asMilliseconds=Pa,ur.asSeconds=Aa,ur.asMinutes=Ea,ur.asHours=Ca,ur.asDays=Fa,ur.asWeeks=Ra,ur.asMonths=Wa,ur.asQuarters=za,ur.asYears=Na,ur.valueOf=Ia,ur._bubble=Ta,ur.clone=Va,ur.get=Ua,ur.milliseconds=Ba,ur.seconds=Ja,ur.minutes=Ga,ur.hours=qa,ur.days=Ka,ur.weeks=Qa,ur.months=Za,ur.years=Xa,ur.humanize=rr,ur.toISOString=lr,ur.toString=lr,ur.toJSON=lr,ur.locale=oi,ur.localeData=li,ur.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",lr),ur.lang=di,N("X",0,0,"unix"),N("x",0,0,"valueOf"),De("x",Le),De("X",ke),Ae("X",(function(e,t,s){s._d=new Date(1e3*parseFloat(e))})),Ae("x",(function(e,t,s){s._d=new Date(Oe(e))})), +e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,s){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(s(59173))},86062:(e,t,s)=>{var n={"./af":49769,"./af.js":49769,"./ar":86837,"./ar-dz":64,"./ar-dz.js":64,"./ar-kw":57028,"./ar-kw.js":57028,"./ar-ly":35617,"./ar-ly.js":35617,"./ar-ma":31840,"./ar-ma.js":31840,"./ar-ps":18547,"./ar-ps.js":18547,"./ar-sa":51946,"./ar-sa.js":51946,"./ar-tn":5324,"./ar-tn.js":5324,"./ar.js":86837,"./az":27005,"./az.js":27005,"./be":76847,"./be.js":76847,"./bg":98833,"./bg.js":98833,"./bm":47335,"./bm.js":47335,"./bn":43610,"./bn-bd":54717,"./bn-bd.js":54717,"./bn.js":43610,"./bo":98665,"./bo.js":98665,"./br":42686,"./br.js":42686,"./bs":52605,"./bs.js":52605,"./ca":18298,"./ca.js":18298,"./cs":50496,"./cs.js":50496,"./cv":52403,"./cv.js":52403,"./cy":64946,"./cy.js":64946,"./da":62993,"./da.js":62993,"./de":80749,"./de-at":93807,"./de-at.js":93807,"./de-ch":84825,"./de-ch.js":84825,"./de.js":80749,"./dv":70228,"./dv.js":70228,"./el":5523,"./el.js":5523,"./en-au":68224,"./en-au.js":68224,"./en-ca":59066,"./en-ca.js":59066,"./en-gb":87155,"./en-gb.js":87155,"./en-ie":91656,"./en-ie.js":91656,"./en-il":17527,"./en-il.js":17527,"./en-in":48089,"./en-in.js":48089,"./en-nz":8410,"./en-nz.js":8410,"./en-sg":31756,"./en-sg.js":31756,"./eo":28406,"./eo.js":28406,"./es":25506,"./es-do":60086,"./es-do.js":60086,"./es-mx":6866,"./es-mx.js":6866,"./es-us":95695,"./es-us.js":95695,"./es.js":25506,"./et":85291,"./et.js":85291,"./eu":63268,"./eu.js":63268,"./fa":28135,"./fa.js":28135,"./fi":15119,"./fi.js":15119,"./fil":24843,"./fil.js":24843,"./fo":21613,"./fo.js":21613,"./fr":61770,"./fr-ca":81523,"./fr-ca.js":81523,"./fr-ch":76628,"./fr-ch.js":76628,"./fr.js":61770,"./fy":29439,"./fy.js":29439,"./ga":92566,"./ga.js":92566,"./gd":81657,"./gd.js":81657,"./gl":60321,"./gl.js":60321,"./gom-deva":57548,"./gom-deva.js":57548,"./gom-latn":54423,"./gom-latn.js":54423,"./gu":54810,"./gu.js":54810,"./he":69713,"./he.js":69713,"./hi":1861,"./hi.js":1861,"./hr":11636,"./hr.js":11636,"./hu":39233,"./hu.js":39233,"./hy-am":40568,"./hy-am.js":40568,"./id":85503,"./id.js":85503,"./is":33326,"./is.js":33326,"./it":71183,"./it-ch":25043,"./it-ch.js":25043,"./it.js":71183,"./ja":51171,"./ja.js":51171,"./jv":61546,"./jv.js":61546,"./ka":24530,"./ka.js":24530,"./kk":93728,"./kk.js":93728,"./km":75990,"./km.js":75990,"./kn":11987,"./kn.js":11987,"./ko":87532,"./ko.js":87532,"./ku":49070,"./ku-kmr":95509,"./ku-kmr.js":95509,"./ku.js":49070,"./ky":77882,"./ky.js":77882,"./lb":89264,"./lb.js":89264,"./lo":40459,"./lo.js":40459,"./lt":66678,"./lt.js":66678,"./lv":94060,"./lv.js":94060,"./me":24460,"./me.js":24460,"./mi":69384,"./mi.js":69384,"./mk":54674,"./mk.js":54674,"./ml":1531,"./ml.js":1531,"./mn":65437,"./mn.js":65437,"./mr":11497,"./mr.js":11497,"./ms":56442,"./ms-my":72601,"./ms-my.js":72601,"./ms.js":56442,"./mt":53187,"./mt.js":53187,"./my":55320,"./my.js":55320,"./nb":82226,"./nb.js":82226,"./ne":93499,"./ne.js":93499,"./nl":58956,"./nl-be":99032,"./nl-be.js":99032,"./nl.js":58956,"./nn":5398,"./nn.js":5398,"./oc-lnc":6274,"./oc-lnc.js":6274,"./pa-in":20425,"./pa-in.js":20425,"./pl":5282,"./pl.js":5282,"./pt":48362,"./pt-br":51231,"./pt-br.js":51231,"./pt.js":48362,"./ro":2745,"./ro.js":2745,"./ru":66607,"./ru.js":66607,"./sd":78453,"./sd.js":78453,"./se":2742,"./se.js":2742,"./si":85458,"./si.js":85458,"./sk":58696,"./sk.js":58696,"./sl":89437,"./sl.js":89437,"./sq":64986,"./sq.js":64986,"./sr":92007,"./sr-cyrl":20970,"./sr-cyrl.js":20970,"./sr.js":92007,"./ss":85136,"./ss.js":85136,"./sv":42499,"./sv.js":42499,"./sw":44508,"./sw.js":44508,"./ta":73857,"./ta.js":73857,"./te":23933,"./te.js":23933,"./tet":67213,"./tet.js":67213,"./tg":59515,"./tg.js":59515,"./th":87370,"./th.js":87370,"./tk":87927,"./tk.js":87927,"./tl-ph":8767,"./tl-ph.js":8767,"./tlh":20092,"./tlh.js":20092,"./tr":61720,"./tr.js":61720,"./tzl":63542,"./tzl.js":63542,"./tzm":55605,"./tzm-latn":98367,"./tzm-latn.js":98367,"./tzm.js":55605,"./ug-cn":37422,"./ug-cn.js":37422,"./uk":29146,"./uk.js":29146,"./ur":34657,"./ur.js":34657,"./uz":72345,"./uz-latn":23435,"./uz-latn.js":23435,"./uz.js":72345,"./vi":56895,"./vi.js":56895,"./x-pseudo":98467,"./x-pseudo.js":98467,"./yo":52218,"./yo.js":52218,"./zh-cn":85624,"./zh-cn.js":85624,"./zh-hk":97488,"./zh-hk.js":97488,"./zh-mo":9061,"./zh-mo.js":9061,"./zh-tw":44816,"./zh-tw.js":44816};function i(e){var t=a(e);return s(t)}function a(e){if(!s.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=a,e.exports=i,i.id=86062},59173:function(e,t,s){(e=s.nmd(e)).exports=function(){"use strict";var t,n;function i(){return t.apply(null,arguments)}function a(e){t=e}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(d(e,t))return!1;return!0}function u(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function _(e,t){var s,n=[],i=e.length;for(s=0;s>>0;for(t=0;t0)for(s=0;s=0?s?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+n}var F=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,W={},z={};function N(e,t,s,n){var i=n;"string"==typeof n&&(i=function(){return this[n]()}),e&&(z[e]=i),t&&(z[t[0]]=function(){return C(i.apply(this,arguments),t[1],t[2])}),s&&(z[s]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function I(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function V(e){var t,s,n=e.match(F);for(t=0,s=n.length;t=0&&R.test(e);)e=e.replace(R,n),R.lastIndex=0,s-=1;return e}var B={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function J(e){var t=this._longDateFormat[e],s=this._longDateFormat[e.toUpperCase()];return t||!s?t:(this._longDateFormat[e]=s.match(F).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var G="Invalid date";function q(){return this._invalidDate}var K="%d",Z=/\d{1,2}/;function X(e){return this._ordinal.replace("%d",e)}var Q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ee(e,t,s,n){var i=this._relativeTime[s];return j(i)?i(e,t,s,n):i.replace(/%d/i,e)}function te(e,t){var s=this._relativeTime[e>0?"future":"past"];return j(s)?s(t):s.replace(/%s/i,t)}var se={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ne(e){return"string"==typeof e?se[e]||se[e.toLowerCase()]:void 0}function ie(e){var t,s,n={};for(s in e)d(e,s)&&(t=ne(s))&&(n[t]=e[s]);return n}var ae={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function re(e){var t,s=[];for(t in e)d(e,t)&&s.push({unit:t,priority:ae[t]});return s.sort((function(e,t){return e.priority-t.priority})),s}var oe,de=/\d/,le=/\d\d/,ue=/\d{3}/,ce=/\d{4}/,he=/[+-]?\d{6}/,_e=/\d\d?/,me=/\d\d\d\d?/,fe=/\d\d\d\d\d\d?/,pe=/\d{1,3}/,ge=/\d{1,4}/,ye=/[+-]?\d{1,6}/,Me=/\d+/,Le=/[+-]?\d+/,be=/Z|[+-]\d\d:?\d\d/gi,ve=/Z|[+-]\d\d(?::?\d\d)?/gi,ke=/[+-]?\d+(\.\d{1,3})?/,Ye=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,xe=/^[1-9]\d?/,we=/^([1-9]\d|\d)/;function De(e,t,s){oe[e]=j(t)?t:function(e,n){return e&&s?s:t}}function Te(e,t){return d(oe,e)?oe[e](t._strict,t._locale):new RegExp(Se(e))}function Se(e){return je(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,s,n,i){return t||s||n||i})))}function je(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function He(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Oe(e){var t=+e,s=0;return 0!==t&&isFinite(t)&&(s=He(t)),s}oe={};var Pe={};function Ae(e,t){var s,n,i=t;for("string"==typeof e&&(e=[e]),c(t)&&(i=function(e,s){s[t]=Oe(e)}),n=e.length,s=0;s68?1900:2e3)};var Ge,qe=Ze("FullYear",!0);function Ke(){return Fe(this.year())}function Ze(e,t){return function(s){return null!=s?(Qe(this,e,s),i.updateOffset(this,t),this):Xe(this,e)}}function Xe(e,t){if(!e.isValid())return NaN;var s=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?s.getUTCMilliseconds():s.getMilliseconds();case"Seconds":return n?s.getUTCSeconds():s.getSeconds();case"Minutes":return n?s.getUTCMinutes():s.getMinutes();case"Hours":return n?s.getUTCHours():s.getHours();case"Date":return n?s.getUTCDate():s.getDate();case"Day":return n?s.getUTCDay():s.getDay();case"Month":return n?s.getUTCMonth():s.getMonth();case"FullYear":return n?s.getUTCFullYear():s.getFullYear();default:return NaN}}function Qe(e,t,s){var n,i,a,r,o;if(e.isValid()&&!isNaN(s)){switch(n=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?n.setUTCMilliseconds(s):n.setMilliseconds(s));case"Seconds":return void(i?n.setUTCSeconds(s):n.setSeconds(s));case"Minutes":return void(i?n.setUTCMinutes(s):n.setMinutes(s));case"Hours":return void(i?n.setUTCHours(s):n.setHours(s));case"Date":return void(i?n.setUTCDate(s):n.setDate(s));case"FullYear":break;default:return}a=s,r=e.month(),o=29!==(o=e.date())||1!==r||Fe(a)?o:28,i?n.setUTCFullYear(a,r,o):n.setFullYear(a,r,o)}}function et(e){return j(this[e=ne(e)])?this[e]():this}function tt(e,t){if("object"==typeof e){var s,n=re(e=ie(e)),i=n.length;for(s=0;s=0?(o=new Date(e+400,t,s,n,i,a,r),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,s,n,i,a,r),o}function Lt(e){var t,s;return e<100&&e>=0?((s=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,s)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function bt(e,t,s){var n=7+t-s;return-(7+Lt(e,0,n).getUTCDay()-t)%7+n-1}function vt(e,t,s,n,i){var a,r,o=1+7*(t-1)+(7+s-n)%7+bt(e,n,i);return o<=0?r=Je(a=e-1)+o:o>Je(e)?(a=e+1,r=o-Je(e)):(a=e,r=o),{year:a,dayOfYear:r}}function kt(e,t,s){var n,i,a=bt(e.year(),t,s),r=Math.floor((e.dayOfYear()-a-1)/7)+1;return r<1?n=r+Yt(i=e.year()-1,t,s):r>Yt(e.year(),t,s)?(n=r-Yt(e.year(),t,s),i=e.year()+1):(i=e.year(),n=r),{week:n,year:i}}function Yt(e,t,s){var n=bt(e,t,s),i=bt(e+1,t,s);return(Je(e)-n+i)/7}function xt(e){return kt(e,this._week.dow,this._week.doy).week}N("w",["ww",2],"wo","week"),N("W",["WW",2],"Wo","isoWeek"),De("w",_e,xe),De("ww",_e,le),De("W",_e,xe),De("WW",_e,le),Ee(["w","ww","W","WW"],(function(e,t,s,n){t[n.substr(0,1)]=Oe(e)}));var wt={dow:0,doy:6};function Dt(){return this._week.dow}function Tt(){return this._week.doy}function St(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function jt(e){var t=kt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Ht(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Ot(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Pt(e,t){return e.slice(t,7).concat(e.slice(0,t))}N("d",0,"do","day"),N("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),N("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),N("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),N("e",0,0,"weekday"),N("E",0,0,"isoWeekday"),De("d",_e),De("e",_e),De("E",_e),De("dd",(function(e,t){return t.weekdaysMinRegex(e)})),De("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),De("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ee(["dd","ddd","dddd"],(function(e,t,s,n){var i=s._locale.weekdaysParse(e,n,s._strict);null!=i?t.d=i:g(s).invalidWeekday=e})),Ee(["d","e","E"],(function(e,t,s,n){t[n]=Oe(e)}));var At="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Et="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ct="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ft=Ye,Rt=Ye,Wt=Ye;function zt(e,t){var s=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Pt(s,this._week.dow):e?s[e.day()]:s}function Nt(e){return!0===e?Pt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function It(e){return!0===e?Pt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Vt(e,t,s){var n,i,a,r=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=f([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return s?"dddd"===t?-1!==(i=Ge.call(this._weekdaysParse,r))?i:null:"ddd"===t?-1!==(i=Ge.call(this._shortWeekdaysParse,r))?i:null:-1!==(i=Ge.call(this._minWeekdaysParse,r))?i:null:"dddd"===t?-1!==(i=Ge.call(this._weekdaysParse,r))||-1!==(i=Ge.call(this._shortWeekdaysParse,r))||-1!==(i=Ge.call(this._minWeekdaysParse,r))?i:null:"ddd"===t?-1!==(i=Ge.call(this._shortWeekdaysParse,r))||-1!==(i=Ge.call(this._weekdaysParse,r))||-1!==(i=Ge.call(this._minWeekdaysParse,r))?i:null:-1!==(i=Ge.call(this._minWeekdaysParse,r))||-1!==(i=Ge.call(this._weekdaysParse,r))||-1!==(i=Ge.call(this._shortWeekdaysParse,r))?i:null}function $t(e,t,s){var n,i,a;if(this._weekdaysParseExact)return Vt.call(this,e,t,s);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(i=f([2e3,1]).day(n),s&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[n]=new RegExp(a.replace(".",""),"i")),s&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(s&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(s&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!s&&this._weekdaysParse[n].test(e))return n}}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=Xe(this,"Day");return null!=e?(e=Ht(e,this.localeData()),this.add(e-t,"d")):t}function Bt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Jt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ot(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Gt(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Ft),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function qt(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Rt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Zt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Wt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Zt(){function e(e,t){return t.length-e.length}var t,s,n,i,a,r=[],o=[],d=[],l=[];for(t=0;t<7;t++)s=f([2e3,1]).day(t),n=je(this.weekdaysMin(s,"")),i=je(this.weekdaysShort(s,"")),a=je(this.weekdays(s,"")),r.push(n),o.push(i),d.push(a),l.push(n),l.push(i),l.push(a);r.sort(e),o.sort(e),d.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Xt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function es(e,t){N(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function ts(e,t){return t._meridiemParse}function ss(e){return"p"===(e+"").toLowerCase().charAt(0)}N("H",["HH",2],0,"hour"),N("h",["hh",2],0,Xt),N("k",["kk",2],0,Qt),N("hmm",0,0,(function(){return""+Xt.apply(this)+C(this.minutes(),2)})),N("hmmss",0,0,(function(){return""+Xt.apply(this)+C(this.minutes(),2)+C(this.seconds(),2)})),N("Hmm",0,0,(function(){return""+this.hours()+C(this.minutes(),2)})),N("Hmmss",0,0,(function(){return""+this.hours()+C(this.minutes(),2)+C(this.seconds(),2)})),es("a",!0),es("A",!1),De("a",ts),De("A",ts),De("H",_e,we),De("h",_e,xe),De("k",_e,xe),De("HH",_e,le),De("hh",_e,le),De("kk",_e,le),De("hmm",me),De("hmmss",fe),De("Hmm",me),De("Hmmss",fe),Ae(["H","HH"],Ne),Ae(["k","kk"],(function(e,t,s){var n=Oe(e);t[Ne]=24===n?0:n})),Ae(["a","A"],(function(e,t,s){s._isPm=s._locale.isPM(e),s._meridiem=e})),Ae(["h","hh"],(function(e,t,s){t[Ne]=Oe(e),g(s).bigHour=!0})),Ae("hmm",(function(e,t,s){var n=e.length-2;t[Ne]=Oe(e.substr(0,n)),t[Ie]=Oe(e.substr(n)),g(s).bigHour=!0})),Ae("hmmss",(function(e,t,s){var n=e.length-4,i=e.length-2;t[Ne]=Oe(e.substr(0,n)),t[Ie]=Oe(e.substr(n,2)),t[Ve]=Oe(e.substr(i)),g(s).bigHour=!0})),Ae("Hmm",(function(e,t,s){var n=e.length-2;t[Ne]=Oe(e.substr(0,n)),t[Ie]=Oe(e.substr(n))})),Ae("Hmmss",(function(e,t,s){var n=e.length-4,i=e.length-2;t[Ne]=Oe(e.substr(0,n)),t[Ie]=Oe(e.substr(n,2)),t[Ve]=Oe(e.substr(i))}));var ns=/[ap]\.?m?\.?/i,is=Ze("Hours",!0);function as(e,t,s){return e>11?s?"pm":"PM":s?"am":"AM"}var rs,os={calendar:A,longDateFormat:B,invalidDate:G,ordinal:K,dayOfMonthOrdinalParse:Z,relativeTime:Q,months:it,monthsShort:at,week:wt,weekdays:At,weekdaysMin:Ct,weekdaysShort:Et,meridiemParse:ns},ds={},ls={};function us(e,t){var s,n=Math.min(e.length,t.length);for(s=0;s0;){if(n=ms(i.slice(0,t).join("-")))return n;if(s&&s.length>=t&&us(i,s)>=t-1)break;t--}a++}return rs}function _s(e){return!(!e||!e.match("^[^/\\\\]*$"))}function ms(t){var n=null;if(void 0===ds[t]&&e&&e.exports&&_s(t))try{n=rs._abbr,s(86062)("./"+t),fs(n)}catch(e){ds[t]=null}return ds[t]}function fs(e,t){var s;return e&&((s=u(t)?ys(e):ps(e,t))?rs=s:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rs._abbr}function ps(e,t){if(null!==t){var s,n=os;if(t.abbr=e,null!=ds[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ds[e]._config;else if(null!=t.parentLocale)if(null!=ds[t.parentLocale])n=ds[t.parentLocale]._config;else{if(null==(s=ms(t.parentLocale)))return ls[t.parentLocale]||(ls[t.parentLocale]=[]),ls[t.parentLocale].push({name:e,config:t}),null;n=s._config}return ds[e]=new P(O(n,t)),ls[e]&&ls[e].forEach((function(e){ps(e.name,e.config)})),fs(e),ds[e]}return delete ds[e],null}function gs(e,t){if(null!=t){var s,n,i=os;null!=ds[e]&&null!=ds[e].parentLocale?ds[e].set(O(ds[e]._config,t)):(null!=(n=ms(e))&&(i=n._config),t=O(i,t),null==n&&(t.abbr=e),(s=new P(t)).parentLocale=ds[e],ds[e]=s),fs(e)}else null!=ds[e]&&(null!=ds[e].parentLocale?(ds[e]=ds[e].parentLocale,e===fs()&&fs(e)):null!=ds[e]&&delete ds[e]);return ds[e]}function ys(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return rs;if(!r(e)){if(t=ms(e))return t;e=[e]}return hs(e)}function Ms(){return D(ds)}function Ls(e){var t,s=e._a;return s&&-2===g(e).overflow&&(t=s[We]<0||s[We]>11?We:s[ze]<1||s[ze]>nt(s[Re],s[We])?ze:s[Ne]<0||s[Ne]>24||24===s[Ne]&&(0!==s[Ie]||0!==s[Ve]||0!==s[$e])?Ne:s[Ie]<0||s[Ie]>59?Ie:s[Ve]<0||s[Ve]>59?Ve:s[$e]<0||s[$e]>999?$e:-1,g(e)._overflowDayOfYear&&(tze)&&(t=ze),g(e)._overflowWeeks&&-1===t&&(t=Ue),g(e)._overflowWeekday&&-1===t&&(t=Be),g(e).overflow=t),e}var bs=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vs=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ks=/Z|[+-]\d\d(?::?\d\d)?/,Ys=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],xs=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ws=/^\/?Date\((-?\d+)/i,Ds=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Ts={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ss(e){var t,s,n,i,a,r,o=e._i,d=bs.exec(o)||vs.exec(o),l=Ys.length,u=xs.length;if(d){for(g(e).iso=!0,t=0,s=l;tJe(a)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),s=Lt(a,0,e._dayOfYear),e._a[We]=s.getUTCMonth(),e._a[ze]=s.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=r[t]=n[t];for(;t<7;t++)e._a[t]=r[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ne]&&0===e._a[Ie]&&0===e._a[Ve]&&0===e._a[$e]&&(e._nextDay=!0,e._a[Ne]=0),e._d=(e._useUTC?Lt:Mt).apply(null,r),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ne]=24),e._w&&void 0!==e._w.d&&e._w.d!==i&&(g(e).weekdayMismatch=!0)}}function zs(e){var t,s,n,i,a,r,o,d,l;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,r=4,s=Fs(t.GG,e._a[Re],kt(qs(),1,4).year),n=Fs(t.W,1),((i=Fs(t.E,1))<1||i>7)&&(d=!0)):(a=e._locale._week.dow,r=e._locale._week.doy,l=kt(qs(),a,r),s=Fs(t.gg,e._a[Re],l.year),n=Fs(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(d=!0):null!=t.e?(i=t.e+a,(t.e<0||t.e>6)&&(d=!0)):i=a),n<1||n>Yt(s,a,r)?g(e)._overflowWeeks=!0:null!=d?g(e)._overflowWeekday=!0:(o=vt(s,n,i,a,r),e._a[Re]=o.year,e._dayOfYear=o.dayOfYear)}function Ns(e){if(e._f!==i.ISO_8601)if(e._f!==i.RFC_2822){e._a=[],g(e).empty=!0;var t,s,n,a,r,o,d,l=""+e._i,u=l.length,c=0;for(d=(n=U(e._f,e._locale).match(F)||[]).length,t=0;t0&&g(e).unusedInput.push(r),l=l.slice(l.indexOf(s)+s.length),c+=s.length),z[a]?(s?g(e).empty=!1:g(e).unusedTokens.push(a),Ce(a,s,e)):e._strict&&!s&&g(e).unusedTokens.push(a);g(e).charsLeftOver=u-c,l.length>0&&g(e).unusedInput.push(l),e._a[Ne]<=12&&!0===g(e).bigHour&&e._a[Ne]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[Ne]=Is(e._locale,e._a[Ne],e._meridiem),null!==(o=g(e).era)&&(e._a[Re]=e._locale.erasConvertYear(o,e._a[Re])),Ws(e),Ls(e)}else Es(e);else Ss(e)}function Is(e,t,s){var n;return null==s?t:null!=e.meridiemHour?e.meridiemHour(t,s):null!=e.isPM?((n=e.isPM(s))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}function Vs(e){var t,s,n,i,a,r,o=!1,d=e._f.length;if(0===d)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis?this:e:M()}));function Xs(e,t){var s,n;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return qs();for(s=t[0],n=1;nthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function kn(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Bs(t))._a?(e=t._isUTC?f(t._a):qs(t._a),this._isDSTShifted=this.isValid()&&un(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Yn(){return!!this.isValid()&&!this._isUTC}function xn(){return!!this.isValid()&&this._isUTC}function wn(){return!!this.isValid()&&this._isUTC&&0===this._offset}i.updateOffset=function(){};var Dn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Tn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Sn(e,t){var s,n,i,a=e,r=null;return dn(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(r=Dn.exec(e))?(s="-"===r[1]?-1:1,a={y:0,d:Oe(r[ze])*s,h:Oe(r[Ne])*s,m:Oe(r[Ie])*s,s:Oe(r[Ve])*s,ms:Oe(ln(1e3*r[$e]))*s}):(r=Tn.exec(e))?(s="-"===r[1]?-1:1,a={y:jn(r[2],s),M:jn(r[3],s),w:jn(r[4],s),d:jn(r[5],s),h:jn(r[6],s),m:jn(r[7],s),s:jn(r[8],s)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=On(qs(a.from),qs(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),n=new on(a),dn(e)&&d(e,"_locale")&&(n._locale=e._locale),dn(e)&&d(e,"_isValid")&&(n._isValid=e._isValid),n}function jn(e,t){var s=e&&parseFloat(e.replace(",","."));return(isNaN(s)?0:s)*t}function Hn(e,t){var s={};return s.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(s.months,"M").isAfter(t)&&--s.months,s.milliseconds=+t-+e.clone().add(s.months,"M"),s}function On(e,t){var s;return e.isValid()&&t.isValid()?(t=mn(t,e),e.isBefore(t)?s=Hn(e,t):((s=Hn(t,e)).milliseconds=-s.milliseconds,s.months=-s.months),s):{milliseconds:0,months:0}}function Pn(e,t){return function(s,n){var i;return null===n||isNaN(+n)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=s,s=n,n=i),An(this,Sn(s,n),e),this}}function An(e,t,s,n){var a=t._milliseconds,r=ln(t._days),o=ln(t._months);e.isValid()&&(n=null==n||n,o&&_t(e,Xe(e,"Month")+o*s),r&&Qe(e,"Date",Xe(e,"Date")+r*s),a&&e._d.setTime(e._d.valueOf()+a*s),n&&i.updateOffset(e,r||o))}Sn.fn=on.prototype,Sn.invalid=rn;var En=Pn(1,"add"),Cn=Pn(-1,"subtract");function Fn(e){return"string"==typeof e||e instanceof String}function Rn(e){return Y(e)||h(e)||Fn(e)||c(e)||zn(e)||Wn(e)||null==e}function Wn(e){var t,s,n=o(e)&&!l(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],r=a.length;for(t=0;ts.valueOf():s.valueOf()9999?$(s,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",$(s,"Z")):$(s,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function ti(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,s,n,i="moment",a="";return this.isLocal()||(i=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+i+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s="-MM-DD[T]HH:mm:ss.SSS",n=a+'[")]',this.format(e+t+s+n)}function si(e){e||(e=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var t=$(this,e);return this.localeData().postformat(t)}function ni(e,t){return this.isValid()&&(Y(e)&&e.isValid()||qs(e).isValid())?Sn({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ii(e){return this.from(qs(),e)}function ai(e,t){return this.isValid()&&(Y(e)&&e.isValid()||qs(e).isValid())?Sn({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ri(e){return this.to(qs(),e)}function oi(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ys(e))&&(this._locale=t),this)}i.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",i.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var di=w("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function li(){return this._locale}var ui=1e3,ci=60*ui,hi=60*ci,_i=3506328*hi;function mi(e,t){return(e%t+t)%t}function fi(e,t,s){return e<100&&e>=0?new Date(e+400,t,s)-_i:new Date(e,t,s).valueOf()}function pi(e,t,s){return e<100&&e>=0?Date.UTC(e+400,t,s)-_i:Date.UTC(e,t,s)}function gi(e){var t,s;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(s=this._isUTC?pi:fi,e){case"year":t=s(this.year(),0,1);break;case"quarter":t=s(this.year(),this.month()-this.month()%3,1);break;case"month":t=s(this.year(),this.month(),1);break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=s(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=mi(t+(this._isUTC?0:this.utcOffset()*ci),hi);break;case"minute":t=this._d.valueOf(),t-=mi(t,ci);break;case"second":t=this._d.valueOf(),t-=mi(t,ui)}return this._d.setTime(t),i.updateOffset(this,!0),this}function yi(e){var t,s;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(s=this._isUTC?pi:fi,e){case"year":t=s(this.year()+1,0,1)-1;break;case"quarter":t=s(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=s(this.year(),this.month()+1,1)-1;break;case"week":t=s(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=s(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=s(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=hi-mi(t+(this._isUTC?0:this.utcOffset()*ci),hi)-1;break;case"minute":t=this._d.valueOf(),t+=ci-mi(t,ci)-1;break;case"second":t=this._d.valueOf(),t+=ui-mi(t,ui)-1}return this._d.setTime(t),i.updateOffset(this,!0),this}function Mi(){return this._d.valueOf()-6e4*(this._offset||0)}function Li(){return Math.floor(this.valueOf()/1e3)}function bi(){return new Date(this.valueOf())}function vi(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function ki(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Yi(){return this.isValid()?this.toISOString():null}function xi(){return y(this)}function wi(){return m({},g(this))}function Di(){return g(this).overflow}function Ti(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Si(e,t){var s,n,a,r=this._eras||ys("en")._eras;for(s=0,n=r.length;s=0)return d[n]}function Hi(e,t){var s=e.since<=e.until?1:-1;return void 0===t?i(e.since).year():i(e.since).year()+(t-e.offset)*s}function Oi(){var e,t,s,n=this.localeData().eras();for(e=0,t=n.length;e(a=Yt(e,n,i))&&(t=a),Xi.call(this,e,t,s,n,i))}function Xi(e,t,s,n,i){var a=vt(e,t,s,n,i),r=Lt(a.year,0,a.dayOfYear);return this.year(r.getUTCFullYear()),this.month(r.getUTCMonth()),this.date(r.getUTCDate()),this}function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}N("N",0,0,"eraAbbr"),N("NN",0,0,"eraAbbr"),N("NNN",0,0,"eraAbbr"),N("NNNN",0,0,"eraName"),N("NNNNN",0,0,"eraNarrow"),N("y",["y",1],"yo","eraYear"),N("y",["yy",2],0,"eraYear"),N("y",["yyy",3],0,"eraYear"),N("y",["yyyy",4],0,"eraYear"),De("N",Wi),De("NN",Wi),De("NNN",Wi),De("NNNN",zi),De("NNNNN",Ni),Ae(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,s,n){var i=s._locale.erasParse(e,n,s._strict);i?g(s).era=i:g(s).invalidEra=e})),De("y",Me),De("yy",Me),De("yyy",Me),De("yyyy",Me),De("yo",Ii),Ae(["y","yy","yyy","yyyy"],Re),Ae(["yo"],(function(e,t,s,n){var i;s._locale._eraYearOrdinalRegex&&(i=e.match(s._locale._eraYearOrdinalRegex)),s._locale.eraYearOrdinalParse?t[Re]=s._locale.eraYearOrdinalParse(e,i):t[Re]=parseInt(e,10)})),N(0,["gg",2],0,(function(){return this.weekYear()%100})),N(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),$i("gggg","weekYear"),$i("ggggg","weekYear"),$i("GGGG","isoWeekYear"),$i("GGGGG","isoWeekYear"),De("G",Le),De("g",Le),De("GG",_e,le),De("gg",_e,le),De("GGGG",ge,ce),De("gggg",ge,ce),De("GGGGG",ye,he),De("ggggg",ye,he),Ee(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,s,n){t[n.substr(0,2)]=Oe(e)})),Ee(["gg","GG"],(function(e,t,s,n){t[n]=i.parseTwoDigitYear(e)})),N("Q",0,"Qo","quarter"),De("Q",de),Ae("Q",(function(e,t){t[We]=3*(Oe(e)-1)})),N("D",["DD",2],"Do","date"),De("D",_e,xe),De("DD",_e,le),De("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ae(["D","DD"],ze),Ae("Do",(function(e,t){t[ze]=Oe(e.match(_e)[0])}));var ea=Ze("Date",!0);function ta(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}N("DDD",["DDDD",3],"DDDo","dayOfYear"),De("DDD",pe),De("DDDD",ue),Ae(["DDD","DDDD"],(function(e,t,s){s._dayOfYear=Oe(e)})),N("m",["mm",2],0,"minute"),De("m",_e,we),De("mm",_e,le),Ae(["m","mm"],Ie);var sa=Ze("Minutes",!1);N("s",["ss",2],0,"second"),De("s",_e,we),De("ss",_e,le),Ae(["s","ss"],Ve);var na,ia,aa=Ze("Seconds",!1);for(N("S",0,0,(function(){return~~(this.millisecond()/100)})),N(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),N(0,["SSS",3],0,"millisecond"),N(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),N(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),N(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),N(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),N(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),N(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),De("S",pe,de),De("SS",pe,le),De("SSS",pe,ue),na="SSSS";na.length<=9;na+="S")De(na,Me);function ra(e,t){t[$e]=Oe(1e3*("0."+e))}for(na="S";na.length<=9;na+="S")Ae(na,ra);function oa(){return this._isUTC?"UTC":""}function da(){return this._isUTC?"Coordinated Universal Time":""}ia=Ze("Milliseconds",!1),N("z",0,0,"zoneAbbr"),N("zz",0,0,"zoneName");var la=k.prototype;function ua(e){return qs(1e3*e)}function ca(){return qs.apply(null,arguments).parseZone()}function ha(e){return e}la.add=En,la.calendar=Vn,la.clone=$n,la.diff=Zn,la.endOf=yi,la.format=si,la.from=ni,la.fromNow=ii,la.to=ai,la.toNow=ri,la.get=et,la.invalidAt=Di,la.isAfter=Un,la.isBefore=Bn,la.isBetween=Jn,la.isSame=Gn,la.isSameOrAfter=qn,la.isSameOrBefore=Kn,la.isValid=xi,la.lang=di,la.locale=oi,la.localeData=li,la.max=Zs,la.min=Ks,la.parsingFlags=wi,la.set=tt,la.startOf=gi,la.subtract=Cn,la.toArray=vi,la.toObject=ki,la.toDate=bi,la.toISOString=ei,la.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(la[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),la.toJSON=Yi,la.toString=Qn,la.unix=Li,la.valueOf=Mi,la.creationData=Ti,la.eraName=Oi,la.eraNarrow=Pi,la.eraAbbr=Ai,la.eraYear=Ei,la.year=qe,la.isLeapYear=Ke,la.weekYear=Ui,la.isoWeekYear=Bi,la.quarter=la.quarters=Qi,la.month=mt,la.daysInMonth=ft,la.week=la.weeks=St,la.isoWeek=la.isoWeeks=jt,la.weeksInYear=qi,la.weeksInWeekYear=Ki,la.isoWeeksInYear=Ji,la.isoWeeksInISOWeekYear=Gi,la.date=ea,la.day=la.days=Ut,la.weekday=Bt,la.isoWeekday=Jt,la.dayOfYear=ta,la.hour=la.hours=is,la.minute=la.minutes=sa,la.second=la.seconds=aa,la.millisecond=la.milliseconds=ia,la.utcOffset=pn,la.utc=yn,la.local=Mn,la.parseZone=Ln,la.hasAlignedHourOffset=bn,la.isDST=vn,la.isLocal=Yn,la.isUtcOffset=xn,la.isUtc=wn,la.isUTC=wn,la.zoneAbbr=oa,la.zoneName=da,la.dates=w("dates accessor is deprecated. Use date instead.",ea),la.months=w("months accessor is deprecated. Use month instead",mt),la.years=w("years accessor is deprecated. Use year instead",qe),la.zone=w("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gn),la.isDSTShifted=w("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",kn);var _a=P.prototype;function ma(e,t,s,n){var i=ys(),a=f().set(n,t);return i[s](a,e)}function fa(e,t,s){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return ma(e,t,s,"month");var n,i=[];for(n=0;n<12;n++)i[n]=ma(e,n,s,"month");return i}function pa(e,t,s,n){"boolean"==typeof e?(c(t)&&(s=t,t=void 0),t=t||""):(s=t=e,e=!1,c(t)&&(s=t,t=void 0),t=t||"");var i,a=ys(),r=e?a._week.dow:0,o=[];if(null!=s)return ma(t,(s+r)%7,n,"day");for(i=0;i<7;i++)o[i]=ma(t,(i+r)%7,n,"day");return o}function ga(e,t){return fa(e,t,"months")}function ya(e,t){return fa(e,t,"monthsShort")}function Ma(e,t,s){return pa(e,t,s,"weekdays")}function La(e,t,s){return pa(e,t,s,"weekdaysShort")}function ba(e,t,s){return pa(e,t,s,"weekdaysMin")}_a.calendar=E,_a.longDateFormat=J,_a.invalidDate=q,_a.ordinal=X,_a.preparse=ha,_a.postformat=ha,_a.relativeTime=ee,_a.pastFuture=te,_a.set=H,_a.eras=Si,_a.erasParse=ji,_a.erasConvertYear=Hi,_a.erasAbbrRegex=Fi,_a.erasNameRegex=Ci,_a.erasNarrowRegex=Ri,_a.months=lt,_a.monthsShort=ut,_a.monthsParse=ht,_a.monthsRegex=gt,_a.monthsShortRegex=pt,_a.week=xt,_a.firstDayOfYear=Tt,_a.firstDayOfWeek=Dt,_a.weekdays=zt,_a.weekdaysMin=It,_a.weekdaysShort=Nt,_a.weekdaysParse=$t,_a.weekdaysRegex=Gt,_a.weekdaysShortRegex=qt,_a.weekdaysMinRegex=Kt,_a.isPM=ss,_a.meridiem=as,fs("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Oe(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),i.lang=w("moment.lang is deprecated. Use moment.locale instead.",fs),i.langData=w("moment.langData is deprecated. Use moment.localeData instead.",ys);var va=Math.abs;function ka(){var e=this._data;return this._milliseconds=va(this._milliseconds),this._days=va(this._days),this._months=va(this._months),e.milliseconds=va(e.milliseconds),e.seconds=va(e.seconds),e.minutes=va(e.minutes),e.hours=va(e.hours),e.months=va(e.months),e.years=va(e.years),this}function Ya(e,t,s,n){var i=Sn(t,s);return e._milliseconds+=n*i._milliseconds,e._days+=n*i._days,e._months+=n*i._months,e._bubble()}function xa(e,t){return Ya(this,e,t,1)}function wa(e,t){return Ya(this,e,t,-1)}function Da(e){return e<0?Math.floor(e):Math.ceil(e)}function Ta(){var e,t,s,n,i,a=this._milliseconds,r=this._days,o=this._months,d=this._data;return a>=0&&r>=0&&o>=0||a<=0&&r<=0&&o<=0||(a+=864e5*Da(ja(o)+r),r=0,o=0),d.milliseconds=a%1e3,e=He(a/1e3),d.seconds=e%60,t=He(e/60),d.minutes=t%60,s=He(t/60),d.hours=s%24,r+=He(s/24),o+=i=He(Sa(r)),r-=Da(ja(i)),n=He(o/12),o%=12,d.days=r,d.months=o,d.years=n,this}function Sa(e){return 4800*e/146097}function ja(e){return 146097*e/4800}function Ha(e){if(!this.isValid())return NaN;var t,s,n=this._milliseconds;if("month"===(e=ne(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,s=this._months+Sa(t),e){case"month":return s;case"quarter":return s/3;case"year":return s/12}else switch(t=this._days+Math.round(ja(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}}function Oa(e){return function(){return this.as(e)}}var Pa=Oa("ms"),Aa=Oa("s"),Ea=Oa("m"),Ca=Oa("h"),Fa=Oa("d"),Ra=Oa("w"),Wa=Oa("M"),za=Oa("Q"),Na=Oa("y"),Ia=Pa;function Va(){return Sn(this)}function $a(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function Ua(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ba=Ua("milliseconds"),Ja=Ua("seconds"),Ga=Ua("minutes"),qa=Ua("hours"),Ka=Ua("days"),Za=Ua("months"),Xa=Ua("years");function Qa(){return He(this.days()/7)}var er=Math.round,tr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function sr(e,t,s,n,i){return i.relativeTime(t||1,!!s,e,n)}function nr(e,t,s,n){var i=Sn(e).abs(),a=er(i.as("s")),r=er(i.as("m")),o=er(i.as("h")),d=er(i.as("d")),l=er(i.as("M")),u=er(i.as("w")),c=er(i.as("y")),h=a<=s.ss&&["s",a]||a0,h[4]=n,sr.apply(null,h)}function ir(e){return void 0===e?er:"function"==typeof e&&(er=e,!0)}function ar(e,t){return void 0!==tr[e]&&(void 0===t?tr[e]:(tr[e]=t,"s"===e&&(tr.ss=t-1),!0))}function rr(e,t){if(!this.isValid())return this.localeData().invalidDate();var s,n,i=!1,a=tr;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(i=e),"object"==typeof t&&(a=Object.assign({},tr,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),n=nr(this,!i,a,s=this.localeData()),i&&(n=s.pastFuture(+this,n)),s.postformat(n)}var or=Math.abs;function dr(e){return(e>0)-(e<0)||+e}function lr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,s,n,i,a,r,o,d=or(this._milliseconds)/1e3,l=or(this._days),u=or(this._months),c=this.asSeconds();return c?(e=He(d/60),t=He(e/60),d%=60,e%=60,s=He(u/12),u%=12,n=d?d.toFixed(3).replace(/\.?0+$/,""):"",i=c<0?"-":"",a=dr(this._months)!==dr(c)?"-":"",r=dr(this._days)!==dr(c)?"-":"",o=dr(this._milliseconds)!==dr(c)?"-":"",i+"P"+(s?a+s+"Y":"")+(u?a+u+"M":"")+(l?r+l+"D":"")+(t||e||d?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(d?o+n+"S":"")):"P0D"}var ur=on.prototype;return ur.isValid=an,ur.abs=ka,ur.add=xa,ur.subtract=wa,ur.as=Ha,ur.asMilliseconds=Pa,ur.asSeconds=Aa,ur.asMinutes=Ea,ur.asHours=Ca,ur.asDays=Fa,ur.asWeeks=Ra,ur.asMonths=Wa,ur.asQuarters=za,ur.asYears=Na,ur.valueOf=Ia,ur._bubble=Ta,ur.clone=Va,ur.get=$a,ur.milliseconds=Ba,ur.seconds=Ja,ur.minutes=Ga,ur.hours=qa,ur.days=Ka,ur.weeks=Qa,ur.months=Za,ur.years=Xa,ur.humanize=rr,ur.toISOString=lr,ur.toString=lr,ur.toJSON=lr,ur.locale=oi,ur.localeData=li,ur.toIsoString=w("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",lr),ur.lang=di,N("X",0,0,"unix"),N("x",0,0,"valueOf"),De("x",Le),De("X",ke),Ae("X",(function(e,t,s){s._d=new Date(1e3*parseFloat(e))})),Ae("x",(function(e,t,s){s._d=new Date(Oe(e))})), //! moment.js -i.version="2.30.1",a(qs),i.fn=la,i.min=Qs,i.max=en,i.now=tn,i.utc=f,i.unix=ua,i.months=ga,i.isDate=h,i.locale=fs,i.invalid=M,i.duration=Sn,i.isMoment=Y,i.weekdays=Ma,i.parseZone=ca,i.localeData=ys,i.isDuration=dn,i.monthsShort=ya,i.weekdaysMin=ba,i.defineLocale=ps,i.updateLocale=gs,i.locales=Ms,i.weekdaysShort=La,i.normalizeUnits=ne,i.relativeTimeRounding=ir,i.relativeTimeThreshold=ar,i.calendarFormat=In,i.prototype=la,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}},e=>{var t;t=97821,e(e.s=t)}]); +i.version="2.30.1",a(qs),i.fn=la,i.min=Qs,i.max=en,i.now=tn,i.utc=f,i.unix=ua,i.months=ga,i.isDate=h,i.locale=fs,i.invalid=M,i.duration=Sn,i.isMoment=Y,i.weekdays=Ma,i.parseZone=ca,i.localeData=ys,i.isDuration=dn,i.monthsShort=ya,i.weekdaysMin=ba,i.defineLocale=ps,i.updateLocale=gs,i.locales=Ms,i.weekdaysShort=La,i.normalizeUnits=ne,i.relativeTimeRounding=ir,i.relativeTimeThreshold=ar,i.calendarFormat=In,i.prototype=la,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()}},e=>{var t;t=29613,e(e.s=t)}]); //# sourceMappingURL=geoview-geochart.js.map \ No newline at end of file diff --git a/wp-content/geoview/corePackages/geoview-swiper.js b/wp-content/geoview/corePackages/geoview-swiper.js index 36c738cb7..7513caf2b 100644 --- a/wp-content/geoview/corePackages/geoview-swiper.js +++ b/wp-content/geoview/corePackages/geoview-swiper.js @@ -1,3 +1,3 @@ -/*! Package:geoview-swiper: 1.0.0 - "f13e26485dbe7c35c59a778420360f279bae3d59" - 2024-09-09T15:47:46.941Z */ -"use strict";(self.webpackChunkgeoview_core=self.webpackChunkgeoview_core||[]).push([[658],{55740:(e,t,n)=>{var r=n(36549),o=n(80085),a=n(95174),i=n(54111),s=n(42450),l=n(43021),u=n(24515),c=n(16896),d=n(17004),f=n(26666),p=n(30684),h=n(97282);function g(e,t,n){return t=(0,s.A)(t),(0,a.A)(e,m()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(m=function(){return!!e})()}var v=function(e){function t(){return(0,r.A)(this,t),g(this,t,arguments)}return(0,l.A)(t,e),(0,o.A)(t,[{key:"onCreateContent",value:function(){return this.react.createElement("div",void 0,"
Content for Map Plugin on map id ".concat(this.pluginProps.mapId," goes here...
"))}},{key:"onAdd",value:function(){var e=document.createElement("div");e.setAttribute("id","".concat(this.pluginProps.mapId,"-").concat(this.pluginId));var t=document.getElementById("mapTargetElement-".concat(this.pluginProps.mapId));null==t||t.prepend(e);var n=this.onCreateContent();(0,d.H)(e).render((0,h.jsx)(p.w.Provider,{value:{mapId:this.pluginProps.mapId},children:n}))}},{key:"onRemove",value:function(){this.api}}])}(f.G),y=n(74501),b=n(6335);const w=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","title":"GeoView Swiper Config Schema","type":"object","version":1,"comments":"Configuration for GeoView swiper package.","additionalProperties":false,"properties":{"orientation":{"type":"string","enum":["vertical","horizontal"],"description":"Orientation of the swiper bar.","default":"vertical"},"keyboardOffset":{"type":"number","minimum":10,"maximum":100,"description":"The offset value when swiper is moved from the keyboard.","default":10},"layers":{"type":"array","items":{"type":"string"}},"version":{"type":"string","enum":["1.0"],"description":"The schema version used to validate the configuration file. The schema should enumerate the list of versions accepted by this version of the viewer."}},"required":["orientation","layers"]}'),S=JSON.parse('{"orientation":"vertical","keyboardOffset":10,"layers":[]}');var D=n(77156),x=n(74131),P=n(888),E=n(53732),O=n.n(E),T=n(24900),C=n.n(T),M=n(17849),N=n(44481),j=n.n(N),k=n(63083),A=n(72459),I=n(42360),L=n(42877),R={layerSwipe:{position:"absolute",width:"100%",height:"100%"},handle:{backgroundColor:"rgba(50,50,50,0.75)",color:"#fff",width:"24px",height:"24px"},bar:{position:"absolute",backgroundColor:"rgba(50,50,50,0.75)",zIndex:151,boxSizing:"content-box",margin:0,padding:"0!important"},vertical:{width:"8px",height:"100%",cursor:"col-resize",top:"0px!important","& .handleContainer":{position:"relative",width:"58px",height:"24px",zIndex:1,top:"50%",left:"-25px","& .handleR":{transform:"rotate(90deg)",float:"right"},"& .handleL":{transform:"rotate(90deg)",float:"left"}}},horizontal:{width:"100%",height:"8px",cursor:"col-resize",left:"0px!important","& .handleContainer":{position:"relative",height:"58px",width:"24px",zIndex:1,left:"50%",top:"-24px","& .handleL":{verticalAlign:"top",marginBottom:"8px"}}}};function W(e){var t,n=e.viewer,r=e.config,o=window.cgpv,a=o.ui,i=o.react,s=i.useEffect,l=i.useState,u=i.useRef,c=i.useCallback,d=a.elements,f=d.Box,p=d.Tooltip,g=d.HandleIcon,m=r.orientation,v=u((null===(t=n.map)||void 0===t?void 0:t.getSize())||[0,0]),y=u(50),w=u(),S=l([]),E=(0,P.A)(S,2),T=E[0],N=E[1],W=l(v.current[0]/2),X=(0,P.A)(W,2),Y=X[0],F=X[1],U=l(v.current[1]/2),_=(0,P.A)(U,2),V=_[0],B=_[1],G=(0,k.lT)(),H=(0,I.t)(),z=(0,L.wE)(),K=(0,L.Nt)(),Z=c((function(e){b.vF.logTraceUseCallback("GEOVIEW-SWIPER - prerender",e);var t=e,n=t.context,r=(v.current[0]+6)*y.current/100,o=(v.current[1]+6)*y.current/100,a=(0,M.getRenderPixel)(t,[0,0]),i="vertical"===m?(0,M.getRenderPixel)(t,[r,0]):(0,M.getRenderPixel)(t,[v.current[0],0]),s="vertical"===m?(0,M.getRenderPixel)(t,[0,v.current[1]]):(0,M.getRenderPixel)(t,[0,o]),l="vertical"===m?(0,M.getRenderPixel)(t,[r,v.current[1]]):(0,M.getRenderPixel)(t,[v.current[0],o]);n.save(),n.beginPath(),n.moveTo(a[0],a[1]),n.lineTo(s[0],s[1]),n.lineTo(l[0],l[1]),n.lineTo(i[0],i[1]),n.closePath(),n.clip()}),[m]);function q(e){var t=e,n=t.context;n instanceof WebGLRenderingContext?"postrender"===t.type&&n.disable(n.SCISSOR_TEST):t.target.getClassName&&"ol-layer"!==t.target.getClassName()&&t.target.get("declutter")?setTimeout((function(){n.restore()}),0):n.restore()}var J=function(){var e=window.getComputedStyle(w.current),t=new DOMMatrixReadOnly(e.transform);return[t.m41,t.m42]},$=j()((function(){if(G.length){v.current=n.map.getSize()||[0,0];var e="vertical"===m?v.current[0]:v.current[1],t="vertical"===m?J()[0]:J()[1];y.current=t/e*100,"vertical"===m&&F(t),"vertical"===m&&B(t),T.forEach((function(e){e.changed()}))}}),100);s((function(){b.vF.logTraceUseEffect("SWIPER - mapLoaded",K),setTimeout($,100)}),[K,$]);var Q=j()((function(e){if(e.ctrlKey&&"ArrowLeft ArrowRight ArrowUp ArrowDown".includes(e.key)&&G.length){var t=J(),n="ArrowLeft"===e.key||"ArrowUp"===e.key?-10:10;t[0]=t[0]<=10?10:t[0]>=v.current[0]-10?v.current[0]-10:t[0],t[1]=t[1]<=10?10:t[1]>=v.current[1]-10?v.current[1]-10:t[1],w.current.style.transform="vertical"===m?"translate(".concat(t[0]+n,"px, 0px)"):"translate(0px, ".concat(t[1]+n,"px)"),setTimeout((function(){return $()}),75)}}),100),ee=c(function(){var e=(0,x.A)(O().mark((function e(t){var r,o;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n.layer.getOLLayerAsync(t);case 3:(r=e.sent)?(N((function(e){return[].concat((0,D.A)(e),[r])})),r.on(["precompose","prerender"],Z),r.on(["postcompose","postrender"],q),r.changed()):b.vF.logError("SWIPER - Failed to find layer to attach layer events",t),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),b.vF.logError("SWIPER - Failed to attach layer events",null===(o=n.layer)||void 0===o?void 0:o.geoviewLayers,t,e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}(),[n,Z]);return s((function(){b.vF.logTraceUseEffect("GEOVIEW-SWIPER - layerPaths",G);var e=G.map((function(e){return z.filter((function(t){return t.includes(e)}))})).flat();return e.forEach((function(e){ee(e).catch((function(e){b.vF.logPromiseFailed("attachLayerEventsOnPath in useEffect in Swiper",e)}))})),function(){b.vF.logTraceUseEffectUnmount("GEOVIEW-SWIPER - layerPaths",G),e.forEach((function(e){try{var t=n.layer.getOLLayer(e);t?(t.un(["precompose","prerender"],Z),t.un(["postcompose","postrender"],q),t.changed()):b.vF.logError("SWIPER - Failed to find layer to un-attach layer events",e)}catch(t){b.vF.logError("SWIPER - Failed to un-attach layer events",e,t)}})),N([])}}),[n,G,ee,Z,z]),s((function(){b.vF.logTraceUseEffect("GEOVIEW-SWIPER - mount",n.mapId);var e=null==w?void 0:w.current,t=function(){document.getElementById(n.mapId).classList.contains("map-focus-trap")&&(null==e||e.addEventListener("keydown",Q))},r=function(){null==e||e.removeEventListener("keydown",Q)};return null==e||e.addEventListener("focusin",t),null==e||e.addEventListener("focusout",r),function(){b.vF.logTraceUseEffectUnmount("GEOVIEW-SWIPER - unmount",n.mapId),null==e||e.removeEventListener("focusout",r),null==e||e.removeEventListener("focusin",t)}}),[n.mapId,Q]),G.length>0?(0,h.jsx)(f,{sx:R.layerSwipe,children:(0,h.jsx)(C(),{axis:"vertical"===m?"x":"y",bounds:"parent",defaultPosition:{x:"vertical"===m?Y:0,y:"vertical"===m?0:V},onStop:function(){return $()},onDrag:function(){return $()},nodeRef:w,children:(0,h.jsx)(f,{sx:["vertical"===m?R.vertical:R.horizontal,R.bar],tabIndex:0,ref:w,children:(0,h.jsx)(p,{title:(0,A.getLocalizedMessage)("swiper.tooltip",H),children:(0,h.jsxs)(f,{className:"handleContainer",children:[(0,h.jsx)(g,{sx:R.handle,className:"handleL"}),(0,h.jsx)(g,{sx:R.handle,className:"handleR"})]})})})})}):(0,h.jsx)(f,{})}function X(e,t,n){return t=(0,s.A)(t),(0,a.A)(e,Y()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function Y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Y=function(){return!!e})()}var F=function(e){function t(){var e;(0,r.A)(this,t);for(var n=arguments.length,o=new Array(n),a=0;a{function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;to,default:()=>a});const a=o},72121:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return c.default}}),t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(30538)),o=f(n(22300)),a=f(n(95491)),i=f(n(12663)),s=n(60715),l=n(44360),u=n(41918),c=f(n(45786)),d=f(n(60094));function f(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t{(0,d.default)("Draggable: onDragStart: %j",t);if(!1===this.props.onStart(e,(0,l.createDraggableData)(this,t)))return!1;this.setState({dragging:!0,dragged:!0})})),g(this,"onDrag",((e,t)=>{if(!this.state.dragging)return!1;(0,d.default)("Draggable: onDrag: %j",t);const n=(0,l.createDraggableData)(this,t),r={x:n.x,y:n.y,slackX:0,slackY:0};if(this.props.bounds){const{x:e,y:t}=r;r.x+=this.state.slackX,r.y+=this.state.slackY;const[o,a]=(0,l.getBoundPosition)(this,r.x,r.y);r.x=o,r.y=a,r.slackX=this.state.slackX+(e-r.x),r.slackY=this.state.slackY+(t-r.y),n.x=r.x,n.y=r.y,n.deltaX=r.x-this.state.x,n.deltaY=r.y-this.state.y}if(!1===this.props.onDrag(e,n))return!1;this.setState(r)})),g(this,"onDragStop",((e,t)=>{if(!this.state.dragging)return!1;if(!1===this.props.onStop(e,(0,l.createDraggableData)(this,t)))return!1;(0,d.default)("Draggable: onDragStop: %j",t);const n={dragging:!1,slackX:0,slackY:0};if(Boolean(this.props.position)){const{x:e,y:t}=this.props.position;n.x=e,n.y=t}this.setState(n)})),this.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:{...e.position},slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){void 0!==window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var e,t;return null!==(e=null===(t=this.props)||void 0===t||null===(t=t.nodeRef)||void 0===t?void 0:t.current)&&void 0!==e?e:a.default.findDOMNode(this)}render(){const{axis:e,bounds:t,children:n,defaultPosition:o,defaultClassName:a,defaultClassNameDragging:u,defaultClassNameDragged:d,position:f,positionOffset:p,scale:g,...m}=this.props;let v={},y=null;const b=!Boolean(f)||this.state.dragging,w=f||o,S={x:(0,l.canDragX)(this)&&b?this.state.x:w.x,y:(0,l.canDragY)(this)&&b?this.state.y:w.y};this.state.isElementSVG?y=(0,s.createSVGTransform)(S,p):v=(0,s.createCSSTransform)(S,p);const D=(0,i.default)(n.props.className||"",a,{[u]:this.state.dragging,[d]:this.state.dragged});return r.createElement(c.default,h({},m,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),r.cloneElement(r.Children.only(n),{className:D,style:{...n.props.style,...v},transform:y}))}}t.default=m,g(m,"displayName","Draggable"),g(m,"propTypes",{...c.default.propTypes,axis:o.default.oneOf(["both","x","y","none"]),bounds:o.default.oneOfType([o.default.shape({left:o.default.number,right:o.default.number,top:o.default.number,bottom:o.default.number}),o.default.string,o.default.oneOf([!1])]),defaultClassName:o.default.string,defaultClassNameDragging:o.default.string,defaultClassNameDragged:o.default.string,defaultPosition:o.default.shape({x:o.default.number,y:o.default.number}),positionOffset:o.default.shape({x:o.default.oneOfType([o.default.number,o.default.string]),y:o.default.oneOfType([o.default.number,o.default.string])}),position:o.default.shape({x:o.default.number,y:o.default.number}),className:u.dontSetMe,style:u.dontSetMe,transform:u.dontSetMe}),g(m,"defaultProps",{...c.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})},45786:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(30538)),o=c(n(22300)),a=c(n(95491)),i=n(60715),s=n(44360),l=n(41918),u=c(n(60094));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p={start:"touchstart",move:"touchmove",stop:"touchend"},h={start:"mousedown",move:"mousemove",stop:"mouseup"};let g=h;class m extends r.Component{constructor(){super(...arguments),f(this,"dragging",!1),f(this,"lastX",NaN),f(this,"lastY",NaN),f(this,"touchIdentifier",null),f(this,"mounted",!1),f(this,"handleDragStart",(e=>{if(this.props.onMouseDown(e),!this.props.allowAnyClick&&"number"==typeof e.button&&0!==e.button)return!1;const t=this.findDOMNode();if(!t||!t.ownerDocument||!t.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:n}=t;if(this.props.disabled||!(e.target instanceof n.defaultView.Node)||this.props.handle&&!(0,i.matchesSelectorAndParentsTo)(e.target,this.props.handle,t)||this.props.cancel&&(0,i.matchesSelectorAndParentsTo)(e.target,this.props.cancel,t))return;"touchstart"===e.type&&e.preventDefault();const r=(0,i.getTouchIdentifier)(e);this.touchIdentifier=r;const o=(0,s.getControlPosition)(e,r,this);if(null==o)return;const{x:a,y:l}=o,c=(0,s.createCoreData)(this,a,l);(0,u.default)("DraggableCore: handleDragStart: %j",c),(0,u.default)("calling",this.props.onStart);!1!==this.props.onStart(e,c)&&!1!==this.mounted&&(this.props.enableUserSelectHack&&(0,i.addUserSelectStyles)(n),this.dragging=!0,this.lastX=a,this.lastY=l,(0,i.addEvent)(n,g.move,this.handleDrag),(0,i.addEvent)(n,g.stop,this.handleDragStop))})),f(this,"handleDrag",(e=>{const t=(0,s.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:n,y:r}=t;if(Array.isArray(this.props.grid)){let e=n-this.lastX,t=r-this.lastY;if([e,t]=(0,s.snapToGrid)(this.props.grid,e,t),!e&&!t)return;n=this.lastX+e,r=this.lastY+t}const o=(0,s.createCoreData)(this,n,r);(0,u.default)("DraggableCore: handleDrag: %j",o);if(!1!==this.props.onDrag(e,o)&&!1!==this.mounted)this.lastX=n,this.lastY=r;else try{this.handleDragStop(new MouseEvent("mouseup"))}catch(e){const t=document.createEvent("MouseEvents");t.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(t)}})),f(this,"handleDragStop",(e=>{if(!this.dragging)return;const t=(0,s.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:n,y:r}=t;if(Array.isArray(this.props.grid)){let e=n-this.lastX||0,t=r-this.lastY||0;[e,t]=(0,s.snapToGrid)(this.props.grid,e,t),n=this.lastX+e,r=this.lastY+t}const o=(0,s.createCoreData)(this,n,r);if(!1===this.props.onStop(e,o)||!1===this.mounted)return!1;const a=this.findDOMNode();a&&this.props.enableUserSelectHack&&(0,i.removeUserSelectStyles)(a.ownerDocument),(0,u.default)("DraggableCore: handleDragStop: %j",o),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,a&&((0,u.default)("DraggableCore: Removing handlers"),(0,i.removeEvent)(a.ownerDocument,g.move,this.handleDrag),(0,i.removeEvent)(a.ownerDocument,g.stop,this.handleDragStop))})),f(this,"onMouseDown",(e=>(g=h,this.handleDragStart(e)))),f(this,"onMouseUp",(e=>(g=h,this.handleDragStop(e)))),f(this,"onTouchStart",(e=>(g=p,this.handleDragStart(e)))),f(this,"onTouchEnd",(e=>(g=p,this.handleDragStop(e))))}componentDidMount(){this.mounted=!0;const e=this.findDOMNode();e&&(0,i.addEvent)(e,p.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const e=this.findDOMNode();if(e){const{ownerDocument:t}=e;(0,i.removeEvent)(t,h.move,this.handleDrag),(0,i.removeEvent)(t,p.move,this.handleDrag),(0,i.removeEvent)(t,h.stop,this.handleDragStop),(0,i.removeEvent)(t,p.stop,this.handleDragStop),(0,i.removeEvent)(e,p.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,i.removeUserSelectStyles)(t)}}findDOMNode(){var e,t;return null!==(e=this.props)&&void 0!==e&&e.nodeRef?null===(t=this.props)||void 0===t||null===(t=t.nodeRef)||void 0===t?void 0:t.current:a.default.findDOMNode(this)}render(){return r.cloneElement(r.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}t.default=m,f(m,"displayName","DraggableCore"),f(m,"propTypes",{allowAnyClick:o.default.bool,children:o.default.node.isRequired,disabled:o.default.bool,enableUserSelectHack:o.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:o.default.arrayOf(o.default.number),handle:o.default.string,cancel:o.default.string,nodeRef:o.default.object,onStart:o.default.func,onDrag:o.default.func,onStop:o.default.func,onMouseDown:o.default.func,scale:o.default.number,className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe}),f(m,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},24900:(e,t,n)=>{const{default:r,DraggableCore:o}=n(72121);e.exports=r,e.exports.default=r,e.exports.DraggableCore=o},60715:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.addClassName=u,t.addEvent=function(e,t,n,r){if(!e)return;const o={capture:!0,...r};e.addEventListener?e.addEventListener(t,n,o):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},t.addUserSelectStyles=function(e){if(!e)return;let t=e.getElementById("react-draggable-style-el");t||(t=e.createElement("style"),t.type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t));e.body&&u(e.body,"react-draggable-transparent-selection")},t.createCSSTransform=function(e,t){const n=l(e,t,"px");return{[(0,o.browserPrefixToKey)("transform",o.default)]:n}},t.createSVGTransform=function(e,t){return l(e,t,"")},t.getTouch=function(e,t){return e.targetTouches&&(0,r.findInArray)(e.targetTouches,(e=>t===e.identifier))||e.changedTouches&&(0,r.findInArray)(e.changedTouches,(e=>t===e.identifier))},t.getTouchIdentifier=function(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier},t.getTranslation=l,t.innerHeight=function(e){let t=e.clientHeight;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,r.int)(n.paddingTop),t-=(0,r.int)(n.paddingBottom),t},t.innerWidth=function(e){let t=e.clientWidth;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,r.int)(n.paddingLeft),t-=(0,r.int)(n.paddingRight),t},t.matchesSelector=s,t.matchesSelectorAndParentsTo=function(e,t,n){let r=e;do{if(s(r,t))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},t.offsetXYFromParent=function(e,t,n){const r=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),o=(e.clientX+t.scrollLeft-r.left)/n,a=(e.clientY+t.scrollTop-r.top)/n;return{x:o,y:a}},t.outerHeight=function(e){let t=e.clientHeight;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,r.int)(n.borderTopWidth),t+=(0,r.int)(n.borderBottomWidth),t},t.outerWidth=function(e){let t=e.clientWidth;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,r.int)(n.borderLeftWidth),t+=(0,r.int)(n.borderRightWidth),t},t.removeClassName=c,t.removeEvent=function(e,t,n,r){if(!e)return;const o={capture:!0,...r};e.removeEventListener?e.removeEventListener(t,n,o):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null},t.removeUserSelectStyles=function(e){if(!e)return;try{if(e.body&&c(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{const t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(e){}};var r=n(41918),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(33748));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}let i="";function s(e,t){return i||(i=(0,r.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(t){return(0,r.isFunction)(e[t])}))),!!(0,r.isFunction)(e[i])&&e[i](t)}function l(e,t,n){let{x:r,y:o}=e,a="translate(".concat(r).concat(n,",").concat(o).concat(n,")");if(t){const e="".concat("string"==typeof t.x?t.x:t.x+n),r="".concat("string"==typeof t.y?t.y:t.y+n);a="translate(".concat(e,", ").concat(r,")")+a}return a}function u(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)")))||(e.className+=" ".concat(t))}function c(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)"),"g"),"")}},33748:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.browserPrefixToKey=o,t.browserPrefixToStyle=function(e,t){return t?"-".concat(t.toLowerCase(),"-").concat(e):e},t.default=void 0,t.getPrefix=r;const n=["Moz","Webkit","O","ms"];function r(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";const r=null===(e=window.document)||void 0===e||null===(e=e.documentElement)||void 0===e?void 0:e.style;if(!r)return"";if(t in r)return"";for(let e=0;e{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){0}},44360:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},t.createCoreData=function(e,t,n){const o=!(0,r.isNum)(e.lastX),i=a(e);return o?{node:i,deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}:{node:i,deltaX:t-e.lastX,deltaY:n-e.lastY,lastX:e.lastX,lastY:e.lastY,x:t,y:n}},t.createDraggableData=function(e,t){const n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}},t.getBoundPosition=function(e,t,n){if(!e.props.bounds)return[t,n];let{bounds:i}=e.props;i="string"==typeof i?i:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(i);const s=a(e);if("string"==typeof i){const{ownerDocument:e}=s,t=e.defaultView;let n;if(n="parent"===i?s.parentNode:e.querySelector(i),!(n instanceof t.HTMLElement))throw new Error('Bounds selector "'+i+'" could not find an element.');const a=n,l=t.getComputedStyle(s),u=t.getComputedStyle(a);i={left:-s.offsetLeft+(0,r.int)(u.paddingLeft)+(0,r.int)(l.marginLeft),top:-s.offsetTop+(0,r.int)(u.paddingTop)+(0,r.int)(l.marginTop),right:(0,o.innerWidth)(a)-(0,o.outerWidth)(s)-s.offsetLeft+(0,r.int)(u.paddingRight)-(0,r.int)(l.marginRight),bottom:(0,o.innerHeight)(a)-(0,o.outerHeight)(s)-s.offsetTop+(0,r.int)(u.paddingBottom)-(0,r.int)(l.marginBottom)}}(0,r.isNum)(i.right)&&(t=Math.min(t,i.right));(0,r.isNum)(i.bottom)&&(n=Math.min(n,i.bottom));(0,r.isNum)(i.left)&&(t=Math.max(t,i.left));(0,r.isNum)(i.top)&&(n=Math.max(n,i.top));return[t,n]},t.getControlPosition=function(e,t,n){const r="number"==typeof t?(0,o.getTouch)(e,t):null;if("number"==typeof t&&!r)return null;const i=a(n),s=n.props.offsetParent||i.offsetParent||i.ownerDocument.body;return(0,o.offsetXYFromParent)(r||e,s,n.props.scale)},t.snapToGrid=function(e,t,n){const r=Math.round(t/e[0])*e[0],o=Math.round(n/e[1])*e[1];return[r,o]};var r=n(41918),o=n(60715);function a(e){const t=e.findDOMNode();if(!t)throw new Error(": Unmounted during event!");return t}},41918:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=function(e,t,n){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(n," - do not set this, set it on the child."))},t.findInArray=function(e,t){for(let n=0,r=e.length;n{var t;t=55740,e(e.s=t)}]); +/*! Package:geoview-swiper: 0.1.0 - "76146377418f2e66b143db03893f703846e7dbc8" - 2024-06-27T17:51:24.349Z */ +"use strict";(self.webpackChunkgeoview_core=self.webpackChunkgeoview_core||[]).push([[658],{76681:(e,t,n)=>{var r=n(59682),o=n(41108),a=n(95947),i=n(71104),s=n(89153),l=n(79778),u=n(74780),c=n(67475),d=n(17004),f=n(43015),p=n(49686),h=n(97282);function g(e,t,n){return t=(0,s.A)(t),(0,a.A)(e,m()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(m=function(){return!!e})()}var v=function(e){function t(){return(0,r.A)(this,t),g(this,t,arguments)}return(0,l.A)(t,e),(0,o.A)(t,[{key:"onCreateContent",value:function(){return this.react.createElement("div",void 0,"
Content for Map Plugin on map id ".concat(this.pluginProps.mapId," goes here...
"))}},{key:"onAdd",value:function(){var e=document.createElement("div");e.setAttribute("id","".concat(this.pluginProps.mapId,"-").concat(this.pluginId));var t=document.getElementById("mapTargetElement-".concat(this.pluginProps.mapId));null==t||t.prepend(e);var n=this.onCreateContent();(0,d.H)(e).render((0,h.jsx)(p.w.Provider,{value:{mapId:this.pluginProps.mapId},children:n}))}},{key:"onRemove",value:function(){this.api}}])}(f.G),y=n(34536),b=n(66700);const w=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","title":"GeoView Swiper Config Schema","type":"object","version":1,"comments":"Configuration for GeoView swiper package.","additionalProperties":false,"properties":{"orientation":{"type":"string","enum":["vertical","horizontal"],"description":"Orientation of the swiper bar.","default":"vertical"},"keyboardOffset":{"type":"number","minimum":10,"maximum":100,"description":"The offset value when swiper is moved from the keyboard.","default":10},"layers":{"type":"array","items":{"type":"string"}},"version":{"type":"string","enum":["1.0"],"description":"The schema version used to validate the configuration file. The schema should enumerate the list of versions accepted by this version of the viewer."}},"required":["orientation","layers"]}'),S=JSON.parse('{"orientation":"vertical","keyboardOffset":10,"layers":[]}');var D=n(32031),x=n(80180),P=n(1839),E=n(64417),O=n.n(E),T=n(24900),C=n.n(T),M=n(11574),N=n(44481),j=n.n(N),k=n(7590),A=n(42982),I=n(76467),L=n(5182),R={layerSwipe:{position:"absolute",width:"100%",height:"100%"},handle:{backgroundColor:"rgba(50,50,50,0.75)",color:"#fff",width:"24px",height:"24px"},bar:{position:"absolute",backgroundColor:"rgba(50,50,50,0.75)",zIndex:151,boxSizing:"content-box",margin:0,padding:"0!important"},vertical:{width:"8px",height:"100%",cursor:"col-resize",top:"0px!important","& .handleContainer":{position:"relative",width:"58px",height:"24px",zIndex:1,top:"50%",left:"-25px","& .handleR":{transform:"rotate(90deg)",float:"right"},"& .handleL":{transform:"rotate(90deg)",float:"left"}}},horizontal:{width:"100%",height:"8px",cursor:"col-resize",left:"0px!important","& .handleContainer":{position:"relative",height:"58px",width:"24px",zIndex:1,left:"50%",top:"-24px","& .handleL":{verticalAlign:"top",marginBottom:"8px"}}}};function W(e){var t,n=e.viewer,r=e.config,o=window.cgpv,a=o.ui,i=o.react,s=i.useEffect,l=i.useState,u=i.useRef,c=i.useCallback,d=a.elements,f=d.Box,p=d.Tooltip,g=d.HandleIcon,m=r.orientation,v=u((null===(t=n.map)||void 0===t?void 0:t.getSize())||[0,0]),y=u(50),w=u(),S=l([]),E=(0,P.A)(S,2),T=E[0],N=E[1],W=l(v.current[0]/2),X=(0,P.A)(W,2),Y=X[0],F=X[1],U=l(v.current[1]/2),_=(0,P.A)(U,2),V=_[0],B=_[1],G=(0,k.lT)(),H=(0,I.t)(),z=(0,L.wE)(),K=(0,L.Nt)(),Z=c((function(e){b.vF.logTraceUseCallback("GEOVIEW-SWIPER - prerender",e);var t=e,n=t.context,r=(v.current[0]+6)*y.current/100,o=(v.current[1]+6)*y.current/100,a=(0,M.getRenderPixel)(t,[0,0]),i="vertical"===m?(0,M.getRenderPixel)(t,[r,0]):(0,M.getRenderPixel)(t,[v.current[0],0]),s="vertical"===m?(0,M.getRenderPixel)(t,[0,v.current[1]]):(0,M.getRenderPixel)(t,[0,o]),l="vertical"===m?(0,M.getRenderPixel)(t,[r,v.current[1]]):(0,M.getRenderPixel)(t,[v.current[0],o]);n.save(),n.beginPath(),n.moveTo(a[0],a[1]),n.lineTo(s[0],s[1]),n.lineTo(l[0],l[1]),n.lineTo(i[0],i[1]),n.closePath(),n.clip()}),[m]);function q(e){var t=e,n=t.context;n instanceof WebGLRenderingContext?"postrender"===t.type&&n.disable(n.SCISSOR_TEST):t.target.getClassName&&"ol-layer"!==t.target.getClassName()&&t.target.get("declutter")?setTimeout((function(){n.restore()}),0):n.restore()}var J=function(){var e=window.getComputedStyle(w.current),t=new DOMMatrixReadOnly(e.transform);return[t.m41,t.m42]},$=j()((function(){if(G.length){v.current=n.map.getSize()||[0,0];var e="vertical"===m?v.current[0]:v.current[1],t="vertical"===m?J()[0]:J()[1];y.current=t/e*100,"vertical"===m&&F(t),"vertical"===m&&B(t),T.forEach((function(e){e.changed()}))}}),100);s((function(){b.vF.logTraceUseEffect("SWIPER - mapLoaded",K),setTimeout($,100)}),[K,$]);var Q=j()((function(e){if(e.ctrlKey&&"ArrowLeft ArrowRight ArrowUp ArrowDown".includes(e.key)&&G.length){var t=J(),n="ArrowLeft"===e.key||"ArrowUp"===e.key?-10:10;t[0]=t[0]<=10?10:t[0]>=v.current[0]-10?v.current[0]-10:t[0],t[1]=t[1]<=10?10:t[1]>=v.current[1]-10?v.current[1]-10:t[1],w.current.style.transform="vertical"===m?"translate(".concat(t[0]+n,"px, 0px)"):"translate(0px, ".concat(t[1]+n,"px)"),setTimeout((function(){return $()}),75)}}),100),ee=c(function(){var e=(0,x.A)(O().mark((function e(t){var r,o;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n.layer.getOLLayerAsync(t);case 3:(r=e.sent)?(N((function(e){return[].concat((0,D.A)(e),[r])})),r.on(["precompose","prerender"],Z),r.on(["postcompose","postrender"],q),r.changed()):b.vF.logError("SWIPER - Failed to find layer to attach layer events",t),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),b.vF.logError("SWIPER - Failed to attach layer events",null===(o=n.layer)||void 0===o?void 0:o.geoviewLayers,t,e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}(),[n,Z]);return s((function(){b.vF.logTraceUseEffect("GEOVIEW-SWIPER - layerPaths",G);var e=G.map((function(e){return z.filter((function(t){return t.includes(e)}))})).flat();return e.forEach((function(e){ee(e).catch((function(e){b.vF.logPromiseFailed("attachLayerEventsOnPath in useEffect in Swiper",e)}))})),function(){b.vF.logTraceUseEffectUnmount("GEOVIEW-SWIPER - layerPaths",G),e.forEach((function(e){try{var t=n.layer.getOLLayer(e);t?(t.un(["precompose","prerender"],Z),t.un(["postcompose","postrender"],q),t.changed()):b.vF.logError("SWIPER - Failed to find layer to un-attach layer events",e)}catch(t){b.vF.logError("SWIPER - Failed to un-attach layer events",e,t)}})),N([])}}),[n,G,ee,Z,z]),s((function(){b.vF.logTraceUseEffect("GEOVIEW-SWIPER - mount",n.mapId);var e=null==w?void 0:w.current,t=function(){document.getElementById(n.mapId).classList.contains("map-focus-trap")&&(null==e||e.addEventListener("keydown",Q))},r=function(){null==e||e.removeEventListener("keydown",Q)};return null==e||e.addEventListener("focusin",t),null==e||e.addEventListener("focusout",r),function(){b.vF.logTraceUseEffectUnmount("GEOVIEW-SWIPER - unmount",n.mapId),null==e||e.removeEventListener("focusout",r),null==e||e.removeEventListener("focusin",t)}}),[n.mapId,Q]),G.length>0?(0,h.jsx)(f,{sx:R.layerSwipe,children:(0,h.jsx)(C(),{axis:"vertical"===m?"x":"y",bounds:"parent",defaultPosition:{x:"vertical"===m?Y:0,y:"vertical"===m?0:V},onStop:function(){return $()},onDrag:function(){return $()},nodeRef:w,children:(0,h.jsx)(f,{sx:["vertical"===m?R.vertical:R.horizontal,R.bar],tabIndex:0,ref:w,children:(0,h.jsx)(p,{title:(0,A.getLocalizedMessage)("swiper.tooltip",H),children:(0,h.jsxs)(f,{className:"handleContainer",children:[(0,h.jsx)(g,{sx:R.handle,className:"handleL"}),(0,h.jsx)(g,{sx:R.handle,className:"handleR"})]})})})})}):(0,h.jsx)(f,{})}function X(e,t,n){return t=(0,s.A)(t),(0,a.A)(e,Y()?Reflect.construct(t,n||[],(0,s.A)(e).constructor):t.apply(e,n))}function Y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Y=function(){return!!e})()}var F=function(e){function t(){var e;(0,r.A)(this,t);for(var n=arguments.length,o=new Array(n),a=0;a{function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;to,default:()=>a});const a=o},72121:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DraggableCore",{enumerable:!0,get:function(){return c.default}}),t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=p(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(30538)),o=f(n(22300)),a=f(n(95491)),i=f(n(12663)),s=n(60715),l=n(44360),u=n(41918),c=f(n(45786)),d=f(n(60094));function f(e){return e&&e.__esModule?e:{default:e}}function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(p=function(e){return e?n:t})(e)}function h(){return h=Object.assign?Object.assign.bind():function(e){for(var t=1;t{(0,d.default)("Draggable: onDragStart: %j",t);if(!1===this.props.onStart(e,(0,l.createDraggableData)(this,t)))return!1;this.setState({dragging:!0,dragged:!0})})),g(this,"onDrag",((e,t)=>{if(!this.state.dragging)return!1;(0,d.default)("Draggable: onDrag: %j",t);const n=(0,l.createDraggableData)(this,t),r={x:n.x,y:n.y,slackX:0,slackY:0};if(this.props.bounds){const{x:e,y:t}=r;r.x+=this.state.slackX,r.y+=this.state.slackY;const[o,a]=(0,l.getBoundPosition)(this,r.x,r.y);r.x=o,r.y=a,r.slackX=this.state.slackX+(e-r.x),r.slackY=this.state.slackY+(t-r.y),n.x=r.x,n.y=r.y,n.deltaX=r.x-this.state.x,n.deltaY=r.y-this.state.y}if(!1===this.props.onDrag(e,n))return!1;this.setState(r)})),g(this,"onDragStop",((e,t)=>{if(!this.state.dragging)return!1;if(!1===this.props.onStop(e,(0,l.createDraggableData)(this,t)))return!1;(0,d.default)("Draggable: onDragStop: %j",t);const n={dragging:!1,slackX:0,slackY:0};if(Boolean(this.props.position)){const{x:e,y:t}=this.props.position;n.x=e,n.y=t}this.setState(n)})),this.state={dragging:!1,dragged:!1,x:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,prevPropsPosition:{...e.position},slackX:0,slackY:0,isElementSVG:!1},!e.position||e.onDrag||e.onStop||console.warn("A `position` was applied to this , without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){void 0!==window.SVGElement&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.setState({dragging:!1})}findDOMNode(){var e,t;return null!==(e=null===(t=this.props)||void 0===t||null===(t=t.nodeRef)||void 0===t?void 0:t.current)&&void 0!==e?e:a.default.findDOMNode(this)}render(){const{axis:e,bounds:t,children:n,defaultPosition:o,defaultClassName:a,defaultClassNameDragging:u,defaultClassNameDragged:d,position:f,positionOffset:p,scale:g,...m}=this.props;let v={},y=null;const b=!Boolean(f)||this.state.dragging,w=f||o,S={x:(0,l.canDragX)(this)&&b?this.state.x:w.x,y:(0,l.canDragY)(this)&&b?this.state.y:w.y};this.state.isElementSVG?y=(0,s.createSVGTransform)(S,p):v=(0,s.createCSSTransform)(S,p);const D=(0,i.default)(n.props.className||"",a,{[u]:this.state.dragging,[d]:this.state.dragged});return r.createElement(c.default,h({},m,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),r.cloneElement(r.Children.only(n),{className:D,style:{...n.props.style,...v},transform:y}))}}t.default=m,g(m,"displayName","Draggable"),g(m,"propTypes",{...c.default.propTypes,axis:o.default.oneOf(["both","x","y","none"]),bounds:o.default.oneOfType([o.default.shape({left:o.default.number,right:o.default.number,top:o.default.number,bottom:o.default.number}),o.default.string,o.default.oneOf([!1])]),defaultClassName:o.default.string,defaultClassNameDragging:o.default.string,defaultClassNameDragged:o.default.string,defaultPosition:o.default.shape({x:o.default.number,y:o.default.number}),positionOffset:o.default.shape({x:o.default.oneOfType([o.default.number,o.default.string]),y:o.default.oneOfType([o.default.number,o.default.string])}),position:o.default.shape({x:o.default.number,y:o.default.number}),className:u.dontSetMe,style:u.dontSetMe,transform:u.dontSetMe}),g(m,"defaultProps",{...c.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})},45786:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=d(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(30538)),o=c(n(22300)),a=c(n(95491)),i=n(60715),s=n(44360),l=n(41918),u=c(n(60094));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(d=function(e){return e?n:t})(e)}function f(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const p={start:"touchstart",move:"touchmove",stop:"touchend"},h={start:"mousedown",move:"mousemove",stop:"mouseup"};let g=h;class m extends r.Component{constructor(){super(...arguments),f(this,"dragging",!1),f(this,"lastX",NaN),f(this,"lastY",NaN),f(this,"touchIdentifier",null),f(this,"mounted",!1),f(this,"handleDragStart",(e=>{if(this.props.onMouseDown(e),!this.props.allowAnyClick&&"number"==typeof e.button&&0!==e.button)return!1;const t=this.findDOMNode();if(!t||!t.ownerDocument||!t.ownerDocument.body)throw new Error(" not mounted on DragStart!");const{ownerDocument:n}=t;if(this.props.disabled||!(e.target instanceof n.defaultView.Node)||this.props.handle&&!(0,i.matchesSelectorAndParentsTo)(e.target,this.props.handle,t)||this.props.cancel&&(0,i.matchesSelectorAndParentsTo)(e.target,this.props.cancel,t))return;"touchstart"===e.type&&e.preventDefault();const r=(0,i.getTouchIdentifier)(e);this.touchIdentifier=r;const o=(0,s.getControlPosition)(e,r,this);if(null==o)return;const{x:a,y:l}=o,c=(0,s.createCoreData)(this,a,l);(0,u.default)("DraggableCore: handleDragStart: %j",c),(0,u.default)("calling",this.props.onStart);!1!==this.props.onStart(e,c)&&!1!==this.mounted&&(this.props.enableUserSelectHack&&(0,i.addUserSelectStyles)(n),this.dragging=!0,this.lastX=a,this.lastY=l,(0,i.addEvent)(n,g.move,this.handleDrag),(0,i.addEvent)(n,g.stop,this.handleDragStop))})),f(this,"handleDrag",(e=>{const t=(0,s.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:n,y:r}=t;if(Array.isArray(this.props.grid)){let e=n-this.lastX,t=r-this.lastY;if([e,t]=(0,s.snapToGrid)(this.props.grid,e,t),!e&&!t)return;n=this.lastX+e,r=this.lastY+t}const o=(0,s.createCoreData)(this,n,r);(0,u.default)("DraggableCore: handleDrag: %j",o);if(!1!==this.props.onDrag(e,o)&&!1!==this.mounted)this.lastX=n,this.lastY=r;else try{this.handleDragStop(new MouseEvent("mouseup"))}catch(e){const t=document.createEvent("MouseEvents");t.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(t)}})),f(this,"handleDragStop",(e=>{if(!this.dragging)return;const t=(0,s.getControlPosition)(e,this.touchIdentifier,this);if(null==t)return;let{x:n,y:r}=t;if(Array.isArray(this.props.grid)){let e=n-this.lastX||0,t=r-this.lastY||0;[e,t]=(0,s.snapToGrid)(this.props.grid,e,t),n=this.lastX+e,r=this.lastY+t}const o=(0,s.createCoreData)(this,n,r);if(!1===this.props.onStop(e,o)||!1===this.mounted)return!1;const a=this.findDOMNode();a&&this.props.enableUserSelectHack&&(0,i.removeUserSelectStyles)(a.ownerDocument),(0,u.default)("DraggableCore: handleDragStop: %j",o),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,a&&((0,u.default)("DraggableCore: Removing handlers"),(0,i.removeEvent)(a.ownerDocument,g.move,this.handleDrag),(0,i.removeEvent)(a.ownerDocument,g.stop,this.handleDragStop))})),f(this,"onMouseDown",(e=>(g=h,this.handleDragStart(e)))),f(this,"onMouseUp",(e=>(g=h,this.handleDragStop(e)))),f(this,"onTouchStart",(e=>(g=p,this.handleDragStart(e)))),f(this,"onTouchEnd",(e=>(g=p,this.handleDragStop(e))))}componentDidMount(){this.mounted=!0;const e=this.findDOMNode();e&&(0,i.addEvent)(e,p.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const e=this.findDOMNode();if(e){const{ownerDocument:t}=e;(0,i.removeEvent)(t,h.move,this.handleDrag),(0,i.removeEvent)(t,p.move,this.handleDrag),(0,i.removeEvent)(t,h.stop,this.handleDragStop),(0,i.removeEvent)(t,p.stop,this.handleDragStop),(0,i.removeEvent)(e,p.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,i.removeUserSelectStyles)(t)}}findDOMNode(){var e,t;return null!==(e=this.props)&&void 0!==e&&e.nodeRef?null===(t=this.props)||void 0===t||null===(t=t.nodeRef)||void 0===t?void 0:t.current:a.default.findDOMNode(this)}render(){return r.cloneElement(r.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}t.default=m,f(m,"displayName","DraggableCore"),f(m,"propTypes",{allowAnyClick:o.default.bool,children:o.default.node.isRequired,disabled:o.default.bool,enableUserSelectHack:o.default.bool,offsetParent:function(e,t){if(e[t]&&1!==e[t].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:o.default.arrayOf(o.default.number),handle:o.default.string,cancel:o.default.string,nodeRef:o.default.object,onStart:o.default.func,onDrag:o.default.func,onStop:o.default.func,onMouseDown:o.default.func,scale:o.default.number,className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe}),f(m,"defaultProps",{allowAnyClick:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1})},24900:(e,t,n)=>{const{default:r,DraggableCore:o}=n(72121);e.exports=r,e.exports.default=r,e.exports.DraggableCore=o},60715:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.addClassName=u,t.addEvent=function(e,t,n,r){if(!e)return;const o={capture:!0,...r};e.addEventListener?e.addEventListener(t,n,o):e.attachEvent?e.attachEvent("on"+t,n):e["on"+t]=n},t.addUserSelectStyles=function(e){if(!e)return;let t=e.getElementById("react-draggable-style-el");t||(t=e.createElement("style"),t.type="text/css",t.id="react-draggable-style-el",t.innerHTML=".react-draggable-transparent-selection *::-moz-selection {all: inherit;}\n",t.innerHTML+=".react-draggable-transparent-selection *::selection {all: inherit;}\n",e.getElementsByTagName("head")[0].appendChild(t));e.body&&u(e.body,"react-draggable-transparent-selection")},t.createCSSTransform=function(e,t){const n=l(e,t,"px");return{[(0,o.browserPrefixToKey)("transform",o.default)]:n}},t.createSVGTransform=function(e,t){return l(e,t,"")},t.getTouch=function(e,t){return e.targetTouches&&(0,r.findInArray)(e.targetTouches,(e=>t===e.identifier))||e.changedTouches&&(0,r.findInArray)(e.changedTouches,(e=>t===e.identifier))},t.getTouchIdentifier=function(e){if(e.targetTouches&&e.targetTouches[0])return e.targetTouches[0].identifier;if(e.changedTouches&&e.changedTouches[0])return e.changedTouches[0].identifier},t.getTranslation=l,t.innerHeight=function(e){let t=e.clientHeight;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,r.int)(n.paddingTop),t-=(0,r.int)(n.paddingBottom),t},t.innerWidth=function(e){let t=e.clientWidth;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,r.int)(n.paddingLeft),t-=(0,r.int)(n.paddingRight),t},t.matchesSelector=s,t.matchesSelectorAndParentsTo=function(e,t,n){let r=e;do{if(s(r,t))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},t.offsetXYFromParent=function(e,t,n){const r=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),o=(e.clientX+t.scrollLeft-r.left)/n,a=(e.clientY+t.scrollTop-r.top)/n;return{x:o,y:a}},t.outerHeight=function(e){let t=e.clientHeight;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,r.int)(n.borderTopWidth),t+=(0,r.int)(n.borderBottomWidth),t},t.outerWidth=function(e){let t=e.clientWidth;const n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,r.int)(n.borderLeftWidth),t+=(0,r.int)(n.borderRightWidth),t},t.removeClassName=c,t.removeEvent=function(e,t,n,r){if(!e)return;const o={capture:!0,...r};e.removeEventListener?e.removeEventListener(t,n,o):e.detachEvent?e.detachEvent("on"+t,n):e["on"+t]=null},t.removeUserSelectStyles=function(e){if(!e)return;try{if(e.body&&c(e.body,"react-draggable-transparent-selection"),e.selection)e.selection.empty();else{const t=(e.defaultView||window).getSelection();t&&"Caret"!==t.type&&t.removeAllRanges()}}catch(e){}};var r=n(41918),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(33748));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}let i="";function s(e,t){return i||(i=(0,r.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(t){return(0,r.isFunction)(e[t])}))),!!(0,r.isFunction)(e[i])&&e[i](t)}function l(e,t,n){let{x:r,y:o}=e,a="translate(".concat(r).concat(n,",").concat(o).concat(n,")");if(t){const e="".concat("string"==typeof t.x?t.x:t.x+n),r="".concat("string"==typeof t.y?t.y:t.y+n);a="translate(".concat(e,", ").concat(r,")")+a}return a}function u(e,t){e.classList?e.classList.add(t):e.className.match(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)")))||(e.className+=" ".concat(t))}function c(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(?:^|\\s)".concat(t,"(?!\\S)"),"g"),"")}},33748:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.browserPrefixToKey=o,t.browserPrefixToStyle=function(e,t){return t?"-".concat(t.toLowerCase(),"-").concat(e):e},t.default=void 0,t.getPrefix=r;const n=["Moz","Webkit","O","ms"];function r(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window)return"";const r=null===(e=window.document)||void 0===e||null===(e=e.documentElement)||void 0===e?void 0:e.style;if(!r)return"";if(t in r)return"";for(let e=0;e{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){0}},44360:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},t.createCoreData=function(e,t,n){const o=!(0,r.isNum)(e.lastX),i=a(e);return o?{node:i,deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}:{node:i,deltaX:t-e.lastX,deltaY:n-e.lastY,lastX:e.lastX,lastY:e.lastY,x:t,y:n}},t.createDraggableData=function(e,t){const n=e.props.scale;return{node:t.node,x:e.state.x+t.deltaX/n,y:e.state.y+t.deltaY/n,deltaX:t.deltaX/n,deltaY:t.deltaY/n,lastX:e.state.x,lastY:e.state.y}},t.getBoundPosition=function(e,t,n){if(!e.props.bounds)return[t,n];let{bounds:i}=e.props;i="string"==typeof i?i:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(i);const s=a(e);if("string"==typeof i){const{ownerDocument:e}=s,t=e.defaultView;let n;if(n="parent"===i?s.parentNode:e.querySelector(i),!(n instanceof t.HTMLElement))throw new Error('Bounds selector "'+i+'" could not find an element.');const a=n,l=t.getComputedStyle(s),u=t.getComputedStyle(a);i={left:-s.offsetLeft+(0,r.int)(u.paddingLeft)+(0,r.int)(l.marginLeft),top:-s.offsetTop+(0,r.int)(u.paddingTop)+(0,r.int)(l.marginTop),right:(0,o.innerWidth)(a)-(0,o.outerWidth)(s)-s.offsetLeft+(0,r.int)(u.paddingRight)-(0,r.int)(l.marginRight),bottom:(0,o.innerHeight)(a)-(0,o.outerHeight)(s)-s.offsetTop+(0,r.int)(u.paddingBottom)-(0,r.int)(l.marginBottom)}}(0,r.isNum)(i.right)&&(t=Math.min(t,i.right));(0,r.isNum)(i.bottom)&&(n=Math.min(n,i.bottom));(0,r.isNum)(i.left)&&(t=Math.max(t,i.left));(0,r.isNum)(i.top)&&(n=Math.max(n,i.top));return[t,n]},t.getControlPosition=function(e,t,n){const r="number"==typeof t?(0,o.getTouch)(e,t):null;if("number"==typeof t&&!r)return null;const i=a(n),s=n.props.offsetParent||i.offsetParent||i.ownerDocument.body;return(0,o.offsetXYFromParent)(r||e,s,n.props.scale)},t.snapToGrid=function(e,t,n){const r=Math.round(t/e[0])*e[0],o=Math.round(n/e[1])*e[1];return[r,o]};var r=n(41918),o=n(60715);function a(e){const t=e.findDOMNode();if(!t)throw new Error(": Unmounted during event!");return t}},41918:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.dontSetMe=function(e,t,n){if(e[t])return new Error("Invalid prop ".concat(t," passed to ").concat(n," - do not set this, set it on the child."))},t.findInArray=function(e,t){for(let n=0,r=e.length;n{var t;t=76681,e(e.s=t)}]); //# sourceMappingURL=geoview-swiper.js.map \ No newline at end of file diff --git a/wp-content/geoview/corePackages/geoview-time-slider.js b/wp-content/geoview/corePackages/geoview-time-slider.js index feeae7ede..b55b609ff 100644 --- a/wp-content/geoview/corePackages/geoview-time-slider.js +++ b/wp-content/geoview/corePackages/geoview-time-slider.js @@ -1,3 +1,3 @@ -/*! Package:geoview-time-slider: 1.0.0 - "f13e26485dbe7c35c59a778420360f279bae3d59" - 2024-09-09T15:47:46.941Z */ -"use strict";(self.webpackChunkgeoview_core=self.webpackChunkgeoview_core||[]).push([[405],{93921:(e,t,i)=>{i.d(t,{b:()=>f});var n=i(36549),r=i(80085),a=i(95174),o=i(42450),l=i(43021),s=i(24515),c=i(26666),u=i(6335);function d(e,t,i){return t=(0,o.A)(t),(0,a.A)(e,p()?Reflect.construct(t,i||[],(0,o.A)(e).constructor):t.apply(e,i))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}var f=function(e){function t(){var e;(0,n.A)(this,t);for(var i=arguments.length,r=new Array(i),a=0;aContent for Footer plugin on map id ".concat(this.pluginProps.mapId," goes here...

")}}},{key:"onAdd",value:function(){this.value=this.mapViewer().footerBarApi.tabs.length,this.footerProps=this.onCreateContentProps(),this.mapViewer().footerBarApi.createTab(this.footerProps)}},{key:"onRemove",value:function(){var e;this.value&&null!==(e=this.mapViewer())&&void 0!==e&&e.footerBarApi&&this.mapViewer().footerBarApi.removeTab(this.footerProps.id)}},{key:"onSelected",value:function(){u.vF.logTraceCore("FOOTER-PLUGIN - onSelected")}}])}(c.G)},72750:(e,t,i)=>{var n=i(36549),r=i(80085),a=i(95174),o=i(54111),l=i(42450),s=i(43021),c=i(24515),u=i(16896),d=i(46074),p=i(53921),f=i(93921),m=i(86124),g=i(90651),h=i(68194),v=i(42877),y=i(57882),w=i(23620),x=i(6335),b=i(22935),S=i(888),j=i(13679),P=i(35199),D=i(41413),L=i(30538),A=i(87286),T=i(47636),k=i(14475),I=i(40074),O=i(18816),E=i(96382),C=i(90139),V=i(72305),F=i(20123),R=i(97282);const M=(0,R.jsx)(C.A,{}),N=L.forwardRef((function(e,t){const i=(0,V.A)({name:"MuiNativeSelect",props:e}),{className:n,children:r,classes:a={},IconComponent:o=E.A,input:l=M,inputProps:s,variant:c,...u}=i,d=(0,O.A)(),p=(0,I.A)({props:i,muiFormControl:d,states:["variant"]}),f=(e=>{const{classes:t}=e;return(0,T.A)({root:["root"]},F.w,t)})({...i,classes:a}),{root:m,...g}=a;return(0,R.jsx)(L.Fragment,{children:L.cloneElement(l,{inputComponent:k.Ay,inputProps:{children:r,classes:g,IconComponent:o,variant:p.variant,type:void 0,...s,...l?l.props.inputProps:{}},ref:t,...u,className:(0,A.A)(f.root,l.props.className,n)})})}));N.muiName="Select";const B=N;var z=i(72459),G=i(42360),U=function(e){return{panelHeaders:{fontSize:e.palette.geoViewFontSize.lg,fontWeight:"600",marginBottom:"20px"},rightPanelBtnHolder:{marginTop:"20px",marginBottom:"9px",boxShadow:"0px 12px 9px -13px #E0E0E0"}}};function H(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function K(e){for(var t=1;tJ.current&&o===J.current?l=J.current:l-=W.current,l<=pe[0])l=(0,S.A)(pe,2)[1];if((o=l-W.current)J.current&&(o=J.current)}ee(n,[o,l])}}function Ce(){if(he&&!ue){var e,t=Pe.indexOf(ve[0]);e=Pe[t]===pe[1]?0:t+1,ee(n,[Pe[e]])}else if(he){var i=(pe[1]-pe[0])/20,r=ve[0]+i>pe[1]?pe[0]:ve[0]+i;ee(n,[r])}else{var a=(0,S.A)(ve,2),o=a[0],l=a[1];if(l-o==pe[1]-pe[0])return W.current=(pe[1]-pe[0])/10,void ee(n,[o,o+W.current]);if(W.current||(W.current=l-o),we&&xe){if((o+=W.current)>=l)o=(0,S.A)(pe,1)[0]}else if(we){if(l===pe[1]&&(l=o),(l+=W.current)>pe[1])l=(0,S.A)(pe,2)[1]}else{if(o=pe[1])o=(0,S.A)(pe,1)[0];if((l=o+W.current)>pe[1])l=(0,S.A)(pe,2)[1];l>J.current&&o{var t;t=72750,e(e.s=t)}]); +/*! Package:geoview-time-slider: 0.1.0 - "76146377418f2e66b143db03893f703846e7dbc8" - 2024-06-27T17:51:24.349Z */ +"use strict";(self.webpackChunkgeoview_core=self.webpackChunkgeoview_core||[]).push([[405],{25860:(e,t,r)=>{r.d(t,{b:()=>f});var n=r(59682),i=r(41108),a=r(95947),o=r(89153),l=r(79778),s=r(74780),c=r(43015),u=r(66700);function d(e,t,r){return t=(0,o.A)(t),(0,a.A)(e,p()?Reflect.construct(t,r||[],(0,o.A)(e).constructor):t.apply(e,r))}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}var f=function(e){function t(){var e;(0,n.A)(this,t);for(var r=arguments.length,i=new Array(r),a=0;aContent for Footer plugin on map id ".concat(this.pluginProps.mapId," goes here...

")}}},{key:"onAdd",value:function(){this.value=this.mapViewer().footerBarApi.tabs.length,this.footerProps=this.onCreateContentProps(),this.mapViewer().footerBarApi.createTab(this.footerProps)}},{key:"onRemove",value:function(){this.value&&this.mapViewer().footerBarApi.removeTab(this.footerProps.id)}},{key:"onSelected",value:function(){u.vF.logTraceCore("FOOTER-PLUGIN - onSelected")}}])}(c.G)},80006:(e,t,r)=>{var n=r(59682),i=r(41108),a=r(95947),o=r(71104),l=r(89153),s=r(79778),c=r(74780),u=r(67475),d=r(99937),p=r(93546),f=r(25860),g=r(12923),m=r(10223),h=r(1839),v=r(54502),y=r(42253),w=r(5182),b=r(55997),x=r(57029),A=r(66700),P=r(72666),j=r(65712),S=r(17658),D=r(64033),L=r(74112),T=r(30538),I=r(87286),k=r(67529),O=r(76024),E=r(88961),C=r(13755),V=r(36633),F=r(21350),M=r(96574),R=r(94980),N=r(97282);const z=["className","children","classes","IconComponent","input","inputProps","variant"],B=["root"],G=(0,N.jsx)(F.A,{}),U=T.forwardRef((function(e,t){const r=(0,M.A)({name:"MuiNativeSelect",props:e}),{className:n,children:i,classes:a={},IconComponent:o=V.A,input:l=G,inputProps:s}=r,c=(0,L.A)(r,z),u=(0,C.A)(),d=(0,E.A)({props:r,muiFormControl:u,states:["variant"]}),p=(e=>{const{classes:t}=e;return(0,k.A)({root:["root"]},R.w,t)})((0,D.A)({},r,{classes:a})),f=(0,L.A)(a,B);return(0,N.jsx)(T.Fragment,{children:T.cloneElement(l,(0,D.A)({inputComponent:O.Ay,inputProps:(0,D.A)({children:i,classes:f,IconComponent:o,variant:d.variant,type:void 0},s,l?l.props.inputProps:{}),ref:t},c,{className:(0,I.A)(p.root,l.props.className,n)}))})}));U.muiName="Select";const H=U;var K=r(42982),Y=r(76467),q=function(e){return{panelHeaders:{fontSize:e.palette.geoViewFontSize.lg,fontWeight:"600",marginBottom:"20px"},rightPanelBtnHolder:{marginTop:"20px",marginBottom:"9px",boxShadow:"0px 12px 9px -13px #E0E0E0"}}};function J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function W(e){for(var t=1;tU.current&&o===U.current?l=U.current:l-=J.current,l<=de[0])l=(0,h.A)(de,2)[1];if((o=l-J.current)U.current&&(o=U.current)}Z(n,[o,l])}}function Ee(){if(me&&!ce){var e,t=Pe.indexOf(he[0]);e=Pe[t]===de[1]?0:t+1,Z(n,[Pe[e]])}else if(me){var r=(de[1]-de[0])/20,i=he[0]+r>de[1]?de[0]:he[0]+r;Z(n,[i])}else{var a=(0,h.A)(he,2),o=a[0],l=a[1];if(l-o==de[1]-de[0])return J.current=(de[1]-de[0])/10,void Z(n,[o,o+J.current]);if(J.current||(J.current=l-o),ye&&we){if((o+=J.current)>=l)o=(0,h.A)(de,1)[0]}else if(ye){if(l===de[1]&&(l=o),(l+=J.current)>de[1])l=(0,h.A)(de,2)[1]}else{if(o=de[1])o=(0,h.A)(de,1)[0];if((l=o+J.current)>de[1])l=(0,h.A)(de,2)[1];l>U.current&&o{var t;t=80006,e(e.s=t)}]); //# sourceMappingURL=geoview-time-slider.js.map \ No newline at end of file diff --git a/wp-content/uploads/2024/03/chn-data.jpg b/wp-content/uploads/2024/03/chn-data.jpg index 62c3b2a9c998ed8b67de9dd11b70ac7749f59a2b..6fedbe9fdd688e46d31a010c7b39047dc9132b2b 100644 GIT binary patch literal 116558 zcmb69Wl-DS_XP^$TCBLcySuv=3ogYA#oeuVvEmXaP&5RJ7lITkP&Bw((I5qa7wDzm z-}9em?#r9JNHS+WnZ5Vfvd%i|@6z8b1bht@brl3eL<9uHmp8)SRRl!@G!zt66cjX6 zR8%xHG;~Z{OiT<6%-1+LSh&QmNl1ua6A_V8&{L6;(UKDpQL|FhGB7eTGm}uUbFndT z(laqL{reNdmq#%%FbOa*37E);$e8{=zy9_k5MUsFMMgkIBtSqSKtv`${5yz1^qI)%PKxH{>y_8F8O5h4k`_X zLR*4EzIm~U3G(@ZHpwl&DK6ZRstvCUTc*i6U-jweC^?*i-G#neeQU}A zeR*#G{z8_#uW`0g)4DeSp$_&}0rVEjg^ zqM!xoXJA)PGFpS`(Us4muBvszlxpKJR*7cLV5Q-g`E^G_^8j=OH=M8_OB!2dBosW3 z>5&&>qmVG`)_47iF_;SWsQ40X$uqKl5=4Gd;!uLxuf%cH9h`1Z0k_kwae-?gF6~Uam6bz*Liy$5zpK*K`hU$?9b-}jG$m)&%Oag|5 zG&<)fvtu7s^u9*HpfM^<|7R)6>j|&Gb$y9%gj(`y2&UMte_rOLtDvVx=^eM^C}Gm0 zqWVwHIWP?%7z$Na(m@@}IOeUI7VUQnG1ZVY5b$s?GQSDaX+&ne#z1^8uVh@YF*I$L z7bYVK0$T*SZ2ftbacg-`(YfIh{ujYWY9haONCK;2!cUA^mvJVk{XjC@x^_3%AO5!~0EXT=7%v-X!_gOA#&x{=DUnb}i=661aacGPYIB|Wq zwLrNxF=r&ims3wfpr&Dh4LT&?f^^-qgoykZK37=g^tXzCm{!VH9ATzsR;a_uKZ$iP z(8T&VV65)RG$=kEXVA3YHlCW44CVf&pM9wGS~7o%6jU%OI*ZS;+y zalmEa3%|;S$S73B+!Pgsdf%NdioKM-{n^l2`Y0 z{_PjG?8s}N>0Sy)B-;jkL*tPzycND+65Tl||9t}4HyHc@Ih(N>vq&DZ2dPm?QZ;0w z=|a#pz6Xfq-$-<|BP}7GI+e4&AJDLWcpl&`#p(f&pr^KgN$^*T1kuFj9^F63klL|E zP)3iPK;R|K$|CQXnkYGi{psYsbF8$hqH2>*|NkRQQV8~z&@&YV;bUtts35uwGsijs zr22}yG?`7J5p7LS&0FwlYXBq8Y|*5KW~V#c^FMkz_4hJknmuZq_Jh}{rnw+=6>o8f z3q@zJP7Y3>Y7qBM8~E2&(uhdPQd;Ztsp=#sOy47id_&EkC?n>Xmwb6&|mHC%gXXNursww6mk* zcJ}wZ7~~i@KpH^;UfPwZl*u7gO`P+T_7Gi!hp7re@445l{6k>o!UVh?FAWxr* z)ICZUKe3kcV0ZW9FkYV5X3Y-rB(eNL_86S(=B3eGWo=mkC>;MQMg!D=+R({Zpz!RG z&uU3mZ66ZnAih@g2r0OaZzhMM`@3ORLDMP*8KSNC1c+{4%iZhhkE6AW#u;<0=6OF@ z2DJhD=S+v?1KnJLp1nZpCq+)UhvIY?>*Us(<;l7^3bheQj)Jkq?uk>U&3MMDp$?VO zCSQvwdA6bni>;mc_yAoXkfx*rsBl8|q(f``<66qtdfdhF$d@d5nc50HPwynmT2|JQ zGx{sE?31J`L*uDBicP&dSg%Qc@gu-6FOcGYe#ljF=>@*8=>*vqC;W(X^a$v;*2QVl`AHs z>Oy!dS)-hGh-cgHXXlIo&%NRrCv#_`-9N7+h+W6tH*sZ4gi<{w7+p%`PSjt zJ}mUQs^j$PlGFFGtwFN6@4BmJfu`LczTKg!&(HtqH!lG)!ban)TW%aW8kS$wl*0tp z1A7L4wvyiBC+Axq*RjpXWQG4Ge-z@~`X_aa1POJENI8GHQd1WVpamQy4||cS6CLHf z%o|v+wN6#$aqGFVgM_Js#gxG$Z1>1{@6f5u#~1_*xm)!sumgDCkh2TVYe1|pwbU4} zR(gEq54(TSk~+As;hHg&svIf@*h{RUHN;$5vG&5P_OtIUTj6ZWB@uY8{U!4uKX6%j z*Dpo+e20w+udb)?-(0u>lU^@6gjI>suT<}M4pm3fadL9|8&~{7*3wxi%fV9#0eONL z)VRyqHL?EZ25OJ2jULx)bo$qtoCOk?O>=oo&EnYnByrKjl6Oyw_dil|A<(_cTklR9 zk5INHY93PMsnb~qiC>4`#r1UPJY>fIXuMz8Z_e?`d2bSA5!2MtERPVvaldF?dh@Dl zvZpSMOPFck!=57<<(+p9<@_{U^6@}->dIo{T2k=RpBKM4d7AgaQdG3Zzu3+LPg_`T zJ_&ydI@zjH?-=}u8eV=V6M=G~q4s@?k~7Xc#Wrj!eyU7^=IE8hvH3TBeyOJC`4G~j3m@lICu+wA9!NRFl6c3bu6^!!-;v~j$g}wx z?%x6ISNsZ?kB+PNTM=oduZ5bOIDu4B!{ejRR!96FJ-RR4*AH%d9k-y4th%w`U^7E^ z&%IzN>CiA#KPzsTs`Ybktn)3Rx6<~S7-KpNCrx>t(b=)g09+7GSv!_w$M&+qe+5I= zK76A5Nf6JnBG1#G2?xa%*$)6}V#GH_n0LxL-R#K<@UtszC{lVqA?D*}3mt_7pgZGO ziEQXBigxo29D40EVPCjihOx$boJN(G0Ifz#;y0Yeh2LrTP&iE#wvf85z#n2Q3Mjv2 zCVtIrsd(@wfe46tgP}E*IJuxLN=Y%u9SwB&=q9jfV^&jXvEuyZ;=wHVBQDjZ`Q*FH zClZ<-k3`;<2M^X_8+lV?i!Uk(IL9tLjD!0~pD1gajq0K1!qMs-wVkAUG$$Djjvwlx zkg%!hL2?ehuTb8iL@Ufi&Z02)^`T0foKrsm1xoCsdcr4-wMVbY6AwDW!*9Y?Uh3xg zjEh{Pqd1zxaeVXV{Qj-@#$wLO{w??Z=Ab1guUEHXDwm_J(kh*2c>MZt@-G4_bge;` zY4x$^IjwbX_x+HD3JSToxY=^BC$VygjLTW@&@<_%%T2Gc?XMQKPo|W35roFFs&XAs zXtb(v*c_FaQ%=8ahMiX7-W&@vJrIl$L$)0dI_o1FW)f$gg&@P^(kwm7Jn`s5N4GS+CFn*} z5Wgd(`*zKVclK8le#dNLuP~OcS%qu;oSGk>KpkgG-zXLU_D$Wb8C1z!uMoi{${q+V zg>H1Q%2p{jE1>&n$~at~A;Tw1Sc62^fUQe>`q$p-3<%wC#;R|PjHX+c zcO)fc)>TV>{dpE`hZp}M4PXG?Yg=BGNHV%P9BoW=7u1K;^u55>)HhuR#!;DI4)8*PQUe1PMo zS7B@a^>YOKBAoQyvMtaoP@?O%)41OwuZ1HS6_p_MNYx8)4)K#R&#t#E7{FT5wQNMe z;5Z0^RsWpN;TANm)j1zWMeEE_r9&3}3>r zsu0#|yEQY$AjiZ8ue@#sP%^h?A*ncUDik@d#5F2gq%mIyOa0nkGG&s$KxC3rG3g_I z*Yvq41M3B_W4fs6bzW*W47c3Kqz)g9vN6YUPF_phWuMIYo>*>Je+Cg+TT2qw9Biqi zy60@*HY98w1_$l=`=9$sF-K>eBVr zK$$5Yq!!x3V}Jfe%{n+7YD}x_oAMRQ-Ul6(+u_;al@IK~gTv7#OWO8-c~60u!CR;6 zS3SBCEOpt-MJexNx`eWAk-i4kds93lTE;h;pfpX z^=o^24iaB%!Yq-?ki#p`ClTY(%EL zYz?Hiy70f^s=a9*yj~N#e4t7gu$XAr2h&U)jnjBS$<{rj4}>42k~%j)4c||EB=03V z3}QreTtYYB*hBYkkJlFW|8(BZ^B&w%d02cO^a1Kh&Uimjnf16<9h@-V6FXnHNpHSw z9_Yo&US;`t$j|3y|~%Y42*5+)Y8e4mVM0wd6LvEGa`-n&x{CFzWL`L zR;~jY>3j`MT!|A>60NC!%^G}iXtFI$Z%%(RLjvI{dryc(mHUOxvnT=On&aeqvu-Nv zDEO&|o@s(by?XAdg|2#Dp&Ni&T8>8RF>>-2b^@2|LS5G->utZvp_Op6&}D7zp8LU5 z@QmpLTR6ChbqiV*Cl<2f3Hy?b)8gSRjVm*0Wo;g{a3SqbaMpKtA?$UnYYq>SA^D3S z*_sIAjafYmdu|YIPp*u~It_AfNQMQawih0C$mI67-gM8(VmXhXJNRfaWRlVBqPpqh zsAuy@EG=-USC}nRape$K*&7ERD9<#$byKN@0_K`6unG=TnWM@C`#;-Y*JLCNMAp1p zYm7@E0m${4!kTg}NnG|>o=a-B5w5Pg@a)C7C4Ra8a)v`VN*0U$BCzoVA{@er-ADbq2`0W|BAW)Ny&KAGFNDIS(Pg1q@Ai(Y z%AF)!TC1AMkXIe_TE523Ugx{E6*9HKSPCrx_V8 z^by23_{3Exe~2ECr=d$R(?3?LtM@h6LDHhGBr&vajP4eJ*T=qk3~-ydsWYh|5t0x; z#C?9lj`?MVR2nGeLa9!8BT z5=YY-XD!uUzE>dOVfH7xhjJiyJ&ZDUV!oI8@ejMH4q!vwrHf>*tsU)W0H5D?9``dR z`LW;or+fMDr>7tpC->&d?JhRI17(UQ*M+YwBMJkGbgj-Gf9pp11I_X}Kg69=hfP_7 zQo8kpFsLY4x+*f_9qj7|F^~yWYG#_ykp-4>8XT0sgBPzBnrqG!%J~c@d^zm3+MT96 ziN-OQ0an9-XH}{W`sseAENb6X<37n<8WoJU<68?t%2VDQwg*vDg;Axf6+8&|S?B`B zI|@7j5NS?tU#iI`?V>5fw172(v;}YPXPd)dO&maqlP&Ul60Mi8An8bpuKk&R$ zE5Gla9ERMzF*tbVKt`jH?l7*g3mtQKGFpb3N6zT6=je+W`T}*-Wx|&?9tdgCS&c2Ek{p@raZ5$34$5zL*T3OySLX4O zJ-y@1e!^$)kT0x~x?=uDRqZ42X&_bEGG^zdA&2@a?c)Gvu zx_{`n4w*PzYEW_r_gOsbi5oi@Yqz2Y4j@uw# zjsoYF^It+3;6~CJ_}(Do(+kc=DusWwPBgc)Q(xGqt+M4)t{kigUJ?apfH`?1-=Brt z@X+w2dbVvHimx|S)Y`^&yti96bEuyTzQQ&59uN>F@fU%3%|}vPGDt$K^JAO-^5od+ z@a5>0sVO8vZs!-L&zt#pS!0nsN{t+YUYc9k_KCB7yS=Nj2J1r8=_QWx0LnwEz!r{K zU{y&r2v2+bw@gZEUQus?e|76|?Aml&om-2QaQidt-WKgqe| zwdh7|3sqkiaKKw|3sK9;J7MmXm22t2r~7ltjsJK?{rw|SO%V}eVStDvmnr(Xa(v{M ze%MvUXVIy`ke;1li7%AN)yr4aL^^l|QNdtER#t0X*OIkXlKc5?9-`Ib+dC($g8M&I zJva64g&J%nGO)|Xny>%}yrcc*{`vL#UC^KB(tu>I#_P8iBiELvp^xvNF!tf@OuzRJ zZHrnf{Qj2#{C*i!2gZ{}zm5Qw5u%6J(y>9^in5~BTJtB>ARCyi379XkcAyc*{Bxw3 zm~rPPPNit@XM2$OW(;LUyKz+}EBBAi@}o*l3Q|*YvjPG6oOuatqZgX8Y69w00YpaS z8{9pdUM*3v!T>a)8g+Fqo!`9DG-(_z?|F=fegk#v~I_Kb?4eA5C( zejz6mBrGr<-{A~K3m>`t+mf-xh^m|q>SbWnz`CD@|FM4fbTv~@k5V8K+AE3Wdx}01Umdt>(|C$f26F8NEw?WX1*z)3pBir~;pzpg86~eD!CQGo zm1>IXlSzF&jLf}P#vtjZK{9E0o`$}UWgEHXQhyQTrZf^f6Z!RF9kId%1;3y$m-@6ctjqQa{S!*XJkIb`)qF!v5+R~D|nGI66 zs#B+FI+B>d44%uBK^l-vQr&~6r%m;S+#^4mS2fTzvVx?x0t*5jMJ>T<;w*I=HU+h0 zv3CfTjvp^LUg0_>uXEj!*o8TO_ooNrm5I-$LU?xnc@>>2sl1Wu`|@@4O%c#*x%kau zL&JdIO~~U?YwLa4K%1p87m(t5AGVJLrVw&HPwDQpX&!Pq?3?rIR^u{j+l3UmvuegD zJgx{kZ|nyQf+zi?o=#SMgy9-e88L2z&ak_UJb&YDOJ$h&Q)k)CJ zWfd$3Cj;lwRt$7mHcy_Qb&F(oIawQ2Xswg{W`ue_VItsruWvHWU4)q&Hx+;Ec%jiO zp1YGoF2a7(m*)oA3VHhu`DT z*?X(Z%okjDmg<+Hu{cZ;V{6`;$rl}q0}^{uSq&JKauc#*{5}pcTT4%yI^-+b16Iv_ zMk%_r9j|NCUFkXXkGyw=k~}&JZU4CgN}Z7?)OfkBK*MhjGCS_n)VP~`9`4@TVT;o6 zZuf4hZ`LKXPQ0SwH3u%C-eXT)ZQzto|Cuk5X>boO$voWVECivo$utyiPXFRrlygo0 z##`>vwP4x}K__V|683$&)VJbX)J+y>l_txvW?9Me7vWuu_0-Cr@Y%x5p!@sIj%)Xc z*~@O)n4{B>AMRY1OsU_um|U<5{C~1kYfq2Npe5pDlXEMH(UBuYJMTGT39Y+q&6-!m zzkQ!bSL% z=#RF>5-V%nlm)MD!=0u6ZNJd#@pbDgo?BVnZ8#-&GGzd5Nbbhu=8x{=uQ)}p#`jIv z3>B6|9rM*`%971jU1!-jd3`_-u)MI`Tyop*@m7B9iX13I$6Y>H{eWKQv}b*Ew|?gI zxhdBRuQ|5eqkVROLjr{WgK6Fb^1hm5TnF~vzz2y*S5JRVZbo6g_T=ks0kQ$blFjJO zX?U?Tj$u9*mKKTbd!u?KZSbfPfecnV$@zIgaZMN$6irVIEOMs;c;(ZdQpc-ROC$=y^+ z)QM==f1pvVl;jnkgE!{&s(>x1i=HgjaJrIF3&|c9J$(xSTGU;etWzgXI-6Y5T`~iS z#{{&}u4hk}nI9xyNLfCmEQB)E%A8~(5^9Y)(Yn^9NL^F?={lU8kr8BbteVE)J}24i ziU%QSlJz5d4oTEti?%Ps@u=$<|04(GqEJHvI9*u^9B|m|$p)<}x;*mNCaz4FRTY=c zE}RBdah8MJzBO$B4s5IMRm=Y+d<+P9c+{zq?1){x>~_LlsLAV#o!xT3>_)|I_FkW2 zU-Fa=(m%iuwrCIdX#`=Zq^Uz~jDdR0+UUCp=`BuN=3P_U?jF@`JGmbChL$L2I&4r^ zHD9qrNSJNN<9}3xxxlU*L_E}E1I#f-%QX2Be}1508D%5OLx8#D3Gq4mHf_NhmKF{8 zrHL}Q8Z=e<<+fd}{(s{~F49lfg=J#}N{}ZfZgJASTngv2p1QFf6!m|n`2Yx|h&3{; z(ew?t@A)_Y%C)Mu{6_7L7N?Wrq#6(P>K1=n?L4IFBm*)m?uki+VU1-#QYQVnep~k4 z=*J!SIb8T%Z^bpu!oG=j2E0Ld8EPfv0{0-|<^1WL!@c$Wl#M09U{vv!QR)0z!m7Cs zNF<-V0$V4G{JxD(G2*~IHj?l`o!CdQr0iBvN&#aI-ct{Ii-6H6Xcp(n)Qsl9{Pq7f z1nJc?0A%@|Io|sX-B659$H84lJH!MQ``IRefvN-;aO?l6M^*pNpT|3qITo{=gPGwO zX5(M5{bPrtuGnA+T-8c_00ajoPx!)LD*NGa;P5)|a-B*QAGl!J-m-Qc&>3@l*(cEj`2eqO^Me_@7ySIF{(GxywildzB z6^@TXb1qGK(w-M<$-(9OWWW1;=1b@Q#^t~H5+j*Wd*FfS+KPmLN^u~V-0oVFQDCp& zOr8CyFp*D1k2BDHa;n*&ue>3pVf;7l_~Wf&_RdwvY30<)Y$iBDa&NU^a_s0SO_p-1 zv&%gIuVLKvDMFOBv4M@AU*g%nwZ+-y*!|!r&UMFazL4UHr``%rF?p9fY_n_ed(%hJ zIs(DkpSgxwiyMAH94;f*U6*dctzvYZw(o}g$B2e30p?ne&AIX1a@gT03g?4*JrJj%r=8rV)0FNA^J~GjAL^3AHqV zeEUOH{4krFbsW@NWOpd5V7u=NIKPwXY5(%^>7&o6QCV9xKFDq;y9}%TcHZo9wst<= zq8QIbjE>k18zj+c;ol+*Zdt6g9}3=|tSx{z@3ol;PExazM@y*~g5EBhV88#*cnk{p zRu3eUS1+aJ0;0smo8~}TN zm9rJh%UdS$rbXf1#B8!ItwpAZV_T%i-rU$Mmagm~Jj>S(_D!at=y#Ab6;Q@~oo?t* zs`$CMZ1Kw7>XlW~!WqF!gB6&YJk};yEL22$V6aSPnT{kDtE*jW4Q7FhF8i-Ih zc5&x3vV?PhGtVIy3ybdcl@^!lW=xJy)`<>Db?-{LR5(i7HL@05Wpq zHpociOyjy)+Dp@?Sq7L+9vAr=xv46ym4SRuML1dSzr?3pQ2Ot%%vBdyQ3;{asBS zghb#kBJ9eC+Vo2S-}~yo zYx7x6uIXMr(Vg~OgY9Kob$;O3yi7f6uED62vJL{ENU4DS6(WUWgP=~DMjS>I3vu?R zDy;D@-nOwo=YO4(Zj3qiMWpnvet$Y$-q0!o{Ab`q@=kWKQpU?rBS!@Y^$#^{c7m)l zL45fM^YUTe>+YXZ=zB&X7RQawdTpTMOq!5#fg}4P6*TpOhfta{bbmfO_nrNB10lSM zrNc|!;x9)hV|1T>w<}r&$8A0_9J2xvCgG$$Q`RYjkw1AR!qkl()1)FIn%6gm|dsKdFkcMN%^EPlTt1x!#@> z@tbCnmiEu>1yd%5@Mqmz>Vm#_NQMt`SeAryac$(jT;27m@+U+KaY=(?SmRKOIq;g zzhR5~e`x4mxTDY_I4z&+wMK{uISPIxRl{3*#s|PxWX+Xbb#PaWZf_(1{7B{WG(vFf zD}NJ-+ExCO^L5L@*^l!_KbqD%*~=#8RYLkb0q>8m?{qcxuYImJ<=V+qp;F$r5Ac*WH*+KFEol`Uvqg6?CozAMkhzB`?XEAOOGo zkqPufIXQfJ6M6stzyWgb$iJ5Izx0SgR@%R4J-YGQT9jnxkF0aLyjnVR0%%mYie)=U1+Z<0mA~NSiM$scE*o z-F9my5?SLurPjF?wnBMM3_$1g7Gl z@jX~^LGub&lRP7RzFKs*mMiIS>vc!`#OCiy zDN@NpT6v#u@onwS@|3PbT&^K8^UxAmM?%ks-`cnS(@=3(&fXphiMDOOxkN(CtnEPY zkmGY~cI#rEQ46=`8z@5OD5zO`#V?D4GgKl>uxEJ`c>rw02M;D6BN$>N)@ z$a;-lO_6X`vt(|42pkprW|W4B08vq;QKRcqdXoZ%CL%0JYgD3JSwU;%t1|9?xN?&?}B|ZRIe3qjVe-5rEl=WPO+iZV8X5(Th4%4j%y#8SzEj`l4<{L_$UV zCwWCeCP2Y|P0ue+NXMXuD)82eh>=f0P)hit!>m zMU+K0LN?O(HHq*mbn%e-P%z6x*|FE)pkrof4y&zgf9y>h@oZyxf-Tw-C@_6=TsHvM zr6N3yjIe<-`{i4Vk!Ph8ymtZvms<%gD0W9^tUdr>q!)sVSaIWj3>(6}(EMC{=F8r3|k23`-d8aI_OHr0C8tI6_!jq%+IenhC34XxpSi$ZUe z6h$0sXcu{GQF!2%WfAIh_2q+L)&$tpjfd5HB&1)(r0f4+P8pZ1DJPH`DqLSzbfm>y z+B?3LZy|EG`WZV_$rbGzh-zAGayMMXat7w>3G@_*2lQMjJJ)Z3x zOpKy3!e;=4m3$&2wf~~Cb=kpAtV#1@EahNE>wuRhMBb10sh82{kF`URZWv&HeM~N%ALBbG1zR`q zIC%8Co0o{h4QvNx=;>h;J|$JPr0Oow5|86Q`c!xD)q7~~>38^?=Bw@v%qE&-2+Qp2$ z3l`e>gY0y`7zje6LdfJ^)N|qTr+yH;{@&M(ws!zq$k+*x(zj5XTvn2j)e#a#9 z5`s1n5e2KCl&F~t7*2sf#&J(X;7RW)Tm{A4G_)dl%sT0+_Myh_Y4@0NX?YYx97xEL z(#sNCGBXTkZy?Uo`T1j*%rQ4e2(xizCu(41LgRcve=50SuWaMi%;s(Xk+Sj7axYxL z7uqC4AE1yLSmDS5;WeaM46?v$osn*ACcH#6UB4hX&{~O$@+p3i5~hw*-qqDp>;qXW z#ew+lWJk5hBRm(Z`V%^^$u)dFnnkJUh?d!qz8boNWfg&Ii5grIq8+aDj`dihBvGvw zSw&Ww28TC|-F5$sVOQNBuEkSNj&@*pMg7d7XB)q9HwL%<6lGNf1(1+x>pqb%^l|XJH1(j=q-;)Fu#NsbP{~bFAqt8WS$27~G zKjU2qs~M~5ezR^I7WB`J((3!&#RJsyg%04Lp9JLOb8-}+so4x1pVjN6#|}s8P{pz+ z{ze%*pnytfnzHm23gO`G5Azod%=9w-i?CyeJB*ES8fruGEyDZqxMGH8rE(#0xf}d6 zUoqD_deSAy$u?5^>={PE;qBhO*P?w6{WW(|ceAwbq4z4lwyGUXHlEU}TXnF-Y?ZT& z%N6Yy|98lG>=$rnukQeBeD_kmN$R#Tqk~O|uV`V77uM3q;Ka5Ay}z$jVhYZvO;r{Y zpy5nxPl@!EbpJ2H`B&*4K9qRpa%ZHwK<3kj_t;uC{H%aI#BV?v1K!bUpm^NMRB1(f_ zI~z=?j2<_QYLY~YJ7cQ;I_Xr}r7|O=(+;|RLZ>MuLKIZpi*d%=Pn@~j9xeTMEO*u4 z89hJenKAyDR%Q33DBzSA+i?{54%^4izT-L*aDmYpIfs;IZ>M_VAZsIqq&P~wr;?`l zT%hV%Y%d%n>^_#lXtL;)$m<@SgqV2A*Gu-6sP>W2`s?vw6z=reS-dR;^&2Z@2b}vl z+Dm{qV9{Ot>_pX!-poG5ef#b*>zM1tF$grMGM(Za*%0pUh zs4x+obnllse3__=D6Lq7vQ*R1vU1-$lY`Lx)>T`rRI)U+Vb-uk)Q;^)QIcA*W&Cmq zq@Z$4?WjD3t-lC98A&nacW;W5EZv$DI3;QJA5d|$xQ6#DU8IWSE?Fb@r^|j>z)R;v z1aH1Uu`9uqYfCk=G)_k$-t&N8_jXk*x9-WV8E;G*wHeJGaUGL5sfrxcnZBKuZ7t06 zx46wq}_{5kyEu>!f%9UZ5n*E?zLoOjIq$kKe@Zb9i&`^-Wbo=sd9SoNx9wm}I) zg5n9s_+H*=OeuoiN^z`qC27`$#8Y4p{@IGsc$6s(o#0OfF$L5UJ~p;;vwuswWSR11 zrlZPPKWK*Q5PNzS`=zrrnsWA3agK{ebl^}|f}&WcvBB(WZb^XKdnKw+hO&U%jP3SR2oDpTxX*w}wu1{&mJZqPDv(C1bRNL1tXnSJxftip9!7PR}Y&$0dK{6rQf_pC_ZXr!K5 z>a>ax7;ors1oDIO=Y^^3`k|Qt2`M94#diAF4Jbc2foE5CGxo{QOTFy^C%Ho7G~PG9 zBJ%i(86AD=L`PdCJm7Ie`WImX`Kx{q^-1|7|4W;!fVUJBzzq)FUc^qi!n&WuHQLO+ zE|9cSuGOVeN||Vay8GsXJnUg7#^Z~;4vesVA?eI~t!40FRIP_$>ykrIMymqgwyLvU zv>kV~LFrg%L3OA3S_n25s=nPDtIEkJ!{L1t74cw=?l@$D=-l3^X4`^WYHhfQD~x37 z#pjHl3bl(Er2??rWeFXFbnS8JFs46KO$ZrgUJLQ&iJ%GtO@OuEIg|3soH+~-y?#X4 z-)>(^XHv#}ff;NpttS46@;dd&m7yw!NtCBTA*U|SiLUy zVw6@fPOYJS*60O4BX55uOe8gnTGieaL5?!jv&Ubbk-)B=H3wXI4tGHD4HLjW3F~>Vc{Z>|^q%Wz9KYvISBu(?Y;z@}*@o4fZ zW}PKOtW@hG1SWiaO^U=7s)bDIyDFtsPxigOmdzB$vjwY8JZ9yfOQrw7nef{NbGfII zD4XxJTX?VBnz*nM{k`<>MMG%+g#=<|zYwxC!FKe_Z1>E)^reNwt0I>|vVlAmk+@HJ z(>I1mL3sD!PKaLdw<#XE-*#xK`W0BO78gHph%%k67}MB zoJ^CL-hjYbKjGvV>%>p~1S%Pa;jG7Tg}n2vvgRHwH@tAV8{1i>#Ynk#N0RqhW?cudH-2NG_e7~x3tLf&uQe?g!1n z@*$YUc3&EKYU-ONG|A6z%BKBQM84WvV5L+U?;D{zM5fVKmDzc=CCy5um27VbNoGHZ zU;Ui+fwS4T%G;ZY`mB4R!@RfoD4?=+TQt|*%R-ex-*zJCn9s(3%KprF6cK-l&RTKH z@WS}wHX-klicJ{Ye9|TIrr*x99GG{#JJGXtWyT$((@sPJ+B~E!6X)i`)-v&xB<5uK zI%6dw1;@bO!q|WptJgDpWE2+Jh_xNcl+7NP8g~s%8C+qJz6))YANuhj{TtU`guBmd zlAzEgFH>ym4`PmW>HHt>b#c%37I5=2&4vr2%>qle<`OC+}{ zN3GQHI%O@c3z5na5bd_C%AWMi)1NlIKv(MgeRz$oUod6EgSIM{Z)#yJ!&693L`#63v+ zZ6?F!q}S}4%PI!FEN*fOPuaxy`=omB!iYnjs5@{5bjYwqy{420^%fpQ4(62PzhLLO3GLdUS%=1 zDBcOirw)k@Xf}tgtD5mpw~ec%?F-K1y{=G#reA#3y1<}X*%>%Az81T%?>B#_ZyhbsTG-as#&-XEnY4KUR;Y$t~zMU5lc-(k{Zy@p!<&5QQ{Bh zmIWlV_Qo$VW=WZAH#X&vyd~ezAt)$tr^3w;7~rlb)4!OD*OWUQG5^D5xlp~K${ZBG z03PUEJPgdrN)X8Ag_`bceP4)RKOHLmrI7bcvyYbGH}Lc?LW`bjr+EzX`7me?n2tw#CO`W^-yNu8Si%-!#1%B1pVT%2cJX512Lo~iAQNhjlaFp)039Z&G8W`lT&DxEs3N)lhR51ls+StXd|!$b)G| zs<<#Xb^a15cpm-M>h0A}YEXpfh5&dN;{tf~I3p}(TZqHIX@!F>2O53n*3MT5SUZOl7~yp;K*WAQfF`Ys^M_C`_P&gPv03^ zZ?Ek-p%E5Zt`FY*K}i*4H&<MAN__rha3gVp%`>Hq6^!J>>_#l;cM`z*TnQ z#C+?GiPc{OVfH1SJ9iq`z834fLzj& zk>jXT9k!=j>y}*gg_UE=VnqHTe3`MP8v-f!Z)dK_hD23&Pl(0Dt@6;*IHq^$ee=|i zTH)kwVh={w>|Gzs=P=t^)Q?h`B>oZ#;MH*w6Ewt8R+u?8B1T3pO9RzCFUnTO;jIft z6<`D5xH#<{r$ch!-#aABw&Q0-Yh3ntIgW3&u2ee6e_n*?gt(UE4)e}%~2|RzUiJkLCtWs7Du(XUGlR zY*ItZwYf#~SD8f=UvuxTo)Z-D2 z$nk#tl*F;8e`*^unqCXRYP3nX;6%OV&3k_u+9t3~`#*JC=Ei%8@eEnWx*WR$73U4r z*3yUYE5TSgT|~svImvp4M-=lz&x;0~J~3-#SpN?Iq(EE0pr#sRxI@&gB=(8i(LM?q z0HN^qu$N2o9dtZ>9~wpqm()(}6+j@~L;J2+$}K08NLZq0rf z6*z(Kbr2M})u&0#G1#&>6!zf-z|f{LnVikfb_5t)YX1P@=e!n>(^7IyXGm_>TPGHR zA&#f3Ixd(P7{Tlo2Rl=h^7(M?P()NvqZ2@{qG_u_wQzWNrf4)?7Q!KOwkIxA^ler@}ZU>>Ks zr>)Whhow3=Z3GuKt_oW;wr81a{$1LlwzAOf6PV_busi<%Fsu*%0L)xbqw+VpHoH~B zXmxIL!+lR=*8R@&E;Bz;!e5)eg=w|6&np-h4}V21swfB#btT2%5KuK2+U6FS*$Y85c5BKgKDiZHx706WIRf-W z>YKSTv{mOKsE+xCLOi*I*Vioy#ZNM*@5*@^&M%0&5yaMK?R1o;YXhD5hxR~H^5ETW zq6MbvFB6Pal4)FtOf0KQPA1Zox#!EBGe+XT<%q^;=Ts|2nexrXh|xezlF}OKD#xnV zAVpAU0dT)bEm%6kONrfZcf@MGXX+oq7^L5)({vgeqB4mj;RlcYQ|-2RU4puHUmqXC znSW|1tS+=fWqZD3vj})}kExzYi@L=C_=O__ zvm}akQIc2*zr*_Gno;E?9!-9!9kO19QB@U>ve#VE*$-R6`UA{U*dOkL$jG#;ZT%{& z+aw;SH`P?C)l}EL_E2HBIxy<@s;|reOHI>jhdpnns$j%%pJ15mRqe8Tftse5hSq@9 z1D1Ies&DazE@CoPHUf&hy&47mQmhn(HD$VyIZXmcFU_& zmVbpTnk-KPQlOkq9yZk(8a+>ONPrDc9WSmc$nz8T5Jb5wKu-63&U6prb~CQa;_ zW#f)B$!;Uk8l$kZGY%2%bx!d1I(=w0QakK!sJo`1CN~ZG$z6cGy;2wU$vwE+L|wv+ zxzx#7tgfCjD`YKwQLEjR~2RXD3M!P1QLaFY++NQ=! zXle&#!@-Vo@kqzz%gP((=vlG^*X+a)Y#i3d{4vA`9Z;-3SLcr_Fw&G)#Co^HbcG{9sC-t zx^Z!Ov9Fbjr|>G=U6qIMPi#h>$?nBQwCaGuDRDA*gxGwsH0+~bje)Jua+E%eXsUgc z4|PX(RXeO+iidSUN-7NH+scIuW;ZXD*r+ zz5Axqit76#L7J3}@;fHE?%xUz!I9JTFUNLS2BO!u%Hn+r2BN9&5wXuY1wF6h8N!W@ z%}r#AD7cv28^8Bf330_&KTTJNJ{e(afvNjwpyC)u7bmRY-mT=$JjP)Ii#wh;WIPXa z>Vh2H(@1w!FSkVZaO8|su;`$*wrIrC}1thG5Rqmix+ej>HA%1T=D=nB=K^U=Dn^jIj zeL~FoASv_-qVkUAXQ}$%f9=ZgiK(X(SKNp~>qKS?PZ{mvu`$8y4sL}xmCR&U8!RTZ zO?6+GIq!B5c0^#1Q+$>#`CVzY=J*)GG3+8iP@UniKQZj zaPWFY*J>!4AZ=KF)Z;;jX>+Ugsy&rCAZjXzu0>SGla5``aBKY>pDvhdmb6Y7sZVs; zxyGkVvQ6;5s>v;L{#0;97m-Gx*jz>}c^>+7 zjY?xEJyYBwX>mCO^CyTn0LnxTsg?*?E;iRKxsH7G*=AKK^s857sHt$gg{RQ_hc}h< z?w#MVtwI9pWv3P^G;JlvRb++Gz!>dU6m3#{lwg2rGbX9y7rJAyvbR0Bsh*261w}5g zo+YwbG8<7m8ix&&PZ8OgQ)|n^b-2GCO#W5}Fl1}!RBjZ)aw7aVGiUID;xeGByc!xB zp%6K^A}a9RhNzAitAB*oU_E(O;;quZflZugRRxaCg|7|8>c0{GfjRAnbvQJ7t$8$2 z46z;aPH}zFoaa%@ z@lonCTG4Jo9j<`MExxo3r<;+_r>ba?qMa)gzn~y-3WReb`MP@>#Jp=g0qm@nuZRRV zQby_&o@Ud{$oRuXLoUjIT;>OA76-S=FrXh2gfRmUW zive)+lv?%zM4!rZ?Tl6A1!pg{+c<)a!>tu*DX(mkYVuu(j@J=Y!w0|fb*s-4ah5gJ ztujJaV6!;O_fYz$$nk1-Q@;=mfA&IYSYMeq$qe*0Sl@-g(>tN2nd)kvBdX_dNG-uZ zRSVA+GsGmh&IDXs8iQ(aKltr?;||$R9yqW`pJUlUW@|DU{-nsEe^(8dy{@&|J|>Vr zYg3wvF$`gi*mv8en-0wdvAE_lDh@E zb2F<=3dZ3~O#c8XYaEbq9~6PC{{Sk-E9QVXlT}B%s}(y1 zN3%RFB@9pdzx1IH)`|HRySF2&PMuWQ*`F0UzuK_A9UmXfZvEGr*$$kEMy5`hX_Bk| z07v;)@klW1z0u}N&bo3?Nb+k?FZ?g~f22W-64RGukIUHH=QqmZst>?RGa))qSZJ9{ z0*E3*MN020`f2_ZzS9)8d@OxUQ0R$`r&TFL)?t@g)L(0DZShyBr*3`juVAw}-Y?$b zRXHnvQS@3U{HWi**C7Lyd1T9~>tru`8-#T<UJp4J-D@u7&l)PYJhy`YSFrNz0$h{otX07 zS?tpB`18{e{4-JI+;&x|3-IOa-a*pxJLWFLKTt!g(xkW50ZlLTO?!t(7=Yap&0A3K zWZBzJtcr8P#u2(7iY9}oFT?6-=-&R9j^S`ecYi6tv60i7Yh8~@4}0DltBpT( zjOf?m{gXx!L`?-yplNf68>4QPY(glF5wSif*&{2)8I*iRSqobeXyqlcC_Lw@uuQc@ zBQb{xdZt?9mDpJERcoUyt$sHD0Pv|?!?Ib0BgHAHJ0^@R1G4c5#L(n=o1GPoR?7ov zKt`Z#&FFxl*XR^Ey*WJ3_PktwAac+7=66ejzhiSWH&AxwY*xE7%yEk1``5xxY0l9u zAMFU)%vQF;8_f=W%ZbA@bAbqxCXK5?5);#dKUGIJYBcLb#UmmreK%Y~PLZFgIICPe zUBco%nYZ{tFh*w)^-OgigB~l$Zl;PpuD*?3dy6Pfx= z(h50_9o3=SC|v&lMQ5-!Xj>*X2bE^Ai!k$b9ZJk9g@_eUiR^$>Ra$fJ%Te7_lb75^kw)?=p0 zz9@67W73P`=8}w#9=}y&v>CBBK}WMx>XVjUs!LpO*D)jOpil8pPKIadp_7XnU!_#m zsF?4WQ`jNmF9NQF;n;+JBg84wf-0!2kiu%#XWr^mqlMLIXezIWXPZ+o9L}AtsI3*U zOb|Yr(Rgz(S%>##iKeQ!-Cwn;)ZuKNI9O^2nu?nZub`@;qkD2y6g1}E@>Uw^s5>EW zxa10Ml~q`Rc8D#%BJDYkOY7Y~%22!`%i@2A$7~#n>d}LJ&>SK&={IU9t^9G7PY+C$ zov}5H5ssG%=XA`L&uKG4+(FufExbz$qv5zbg$0s7hhxlNGgWD2EN?BQeuQ<_Q4x{{@{Q7* zt{9s{4kl)_$qTBhpD&4%zyg^Qne2tW2%~F3E~lc3SnUj}O+scwu{v7~J zh+It&8=ZMVD55%6zn9V8{KuvL0P;t=7nC^;Vw$E|;bAyqYLUXlZOBoM8K;oo!Z$jr zZx!~I!;b`SR(mM20&7=ySU8?-J0=sM)L!~6BvwV|qX)_fqBwueMrXN-!x0)1Bny^~lQrP4+lLrwWDwvx}27_5#~ zNO&+ct{Lz30@Y|QJ%Yj(5U~FMaX?d;Ty+am$S$ws{J9=iinR`=d#e7%>Z+i5cUG%E z#Ip@(v0EX@(c@stC25?<_B(`H<|{nH(-tq}T<({(-?iAfu%evYUW6&Qf>t=kUXn6c z96lTdRIp}3bTg7=>8)xjsx6kkg5&dXp%kqye+Zmm*>+BXP}0sFaWSp0WM#pVfktpC zx4OpP)D>FnstRXIixZw3s%b9TfkO8G08o-lgLKVHYKk8_lvbFh@;dW%Zwq8}xFe#f z&2CM8kh;0#sXNWWR=2 zOsvS%6xY)y>akVraB0b71Xj8(Gkt%AWd|naQzHx%SxYBy+n(UTnl5;6mo*zk5O?l~ zuFC^;ATARR+MdoIQ!?(F#eJ==_EZyii zzjd8eR<~}BXCB~>rz2aW8CSBdRb5vcv;J0>R_{e$sU&Tgm|iLof@=%Q;p>mGGTSC1 zknsNixepJK`O7)4qK<1#m*kj>&dcKMTUm2P%W1Tc@ed6hlRP#N=c~`Ee}_QxT2t9F zSu7taQHnjBqnVQRG}XI==LU+E8-C-dULy?$#5c|qQVC-Z8P@8mUAo+_R021FT+h)L z1m`AKRkhx$RZNi6^PW#@n~^O2$0lv{3s8njL^r=RUQvFW!tE~AGA6UcoZ3)RAcaGk z)1`8|#N0j}o0F2WG_nQ*tuE7;X?Z&=)i19hTU>Na7>*;R*Kd6g=hyP>?b$zP4VJmw zE~Xtng|1<4tJzUg=^v+QvrER~#~@}($t<&%84XxBQd%DzILOgK8|`!Pd4Raw zO%q2gIp3aNvKb0rztGWd`G;lIb9zZ{Da$oaq5E@b$-gdPY826%EbZXBf=!j8)rF=3 z*5i`0MChPvU#~50trj(jVJB5i^}M0U?5oN5i_fAtE&iAP!~iJ}00II60s;a80{{a7 z0RR91009vpF+mVfVR0aVk)bfL!O`LH@j(CD00;pA00BQT9!d>tF4@`JwmB({i?Sf> zg~W-~2Zk{>1@wP}CMCz&=?QJy_-EmdgSM9$ zbI#8>7RahT&S&jnA8XU-nfb7c@_{`LK_=QLo)s{8A;N~GV~hUo5?d0>OR$tEL*FS6 zl9-Wy_!$v!h>9DW655CCOQh$vK@TI%L1ZmQ24tIV(W1!|(-IEXv^AGvT2_8P`tO!R zvv5ZU8}LBU7egd~{{Rj)JdqA^{yO4$l1Yq;W?#T!a#{*z7m1~TT1&!DuSijPh4=`L zOW;e+^F>&MDK6KPCQ^2cx9DZ1tnLJ;5U1nclSu9CNqqWyA0kf#-hL`{Pk}S`6YnBQ z{&kT#AE4fsF1Vo4|RbU}NZ6Nd?Ny^{<+aEf|FHKjCF(i2;$`;T}Vgu&%7FjRz6_YOl!PruKlZ9m!@A!{{VkITIL2W9dR+>&GE5pjfs=Qj<`tcv3vgjc(UusmsB^>if;^C_AArEj0CZ+ z@+>dPB@7v9FgUZS%Unio8s(2xGL*s;m}*KI;qu8P(iT%8d3zZM^i){|2cag-6s5<( zm&cD%q$4Nz8vg+DC6XLFBO4SC_I<}3puZuqm%er?7Dhd^D_pfGPFFeM;h92p&RFTB zvg2Wu1gw;L6e@^ZGS*;a4`MYW%P&R-o6Lwu>^sn^9dXhZful}&%a5UKDnVddvTYEr zhxMOguH1gL#$I2c#H{^_7Jn2-;rkAUlum+gemfI@OcbXJA+1pzBH;*;aQpb|{{Weg zm1T;QEb#rfXoM^O0La4*2Ao(eehfb8K`~=dOT4Lc(W-!s7`&gDLctk}0 z<0SOjg%SP|sYRwgmjZ7H!}}ZjiG6j;a8pe7RW0x|?3$h|oeA_r=OwiQa=2GiD2pverx53+lEsnG&WT7K0GbP&S*VF{QNX~gRTwvvWg(~cxtcy!gG!oRzf9BuLG#L2s|tjD^o)l`JP4JXsxnSq4vXtIv1Lo=!DqCgZo!S z(D>z!!Xh;bEbwJ1*THnpB5cp{sB+|n+Ptn6bFy?ppFQxfJOsSIJRPF}Ki4crO*=+G z^~H^wPLmYLO4-&VCMZ{Sg;LP((1;|v5=nNr(@Om5l}`ho~w*v4$E#esI= z5cFp{;T{ZK?8cV4n{Nuh&Gm2RDoFn{%BY9imB>h}Y8%6vq`BM~AEAV7@ z$`J9wAeUdr+;Eg*io&u!$+SX9ixHy^A}bOoS!9EBmPJj?49hVnx4jM9I%y$avjnOX zt^pA*&wNY6(19c&N91E&ZFtBmQX5OrCnA{@v69KM)l&`!WJwNnRnF*S;DkVr!xg_F zgx-9u9)^@ffpBJ8ZX%VUhT=PnQP?bsqp}wr!BtHNP}9t&LreQ9-K7xqWUI3M5h@*v z-7T+p&N3)nUH$Na3I70M5}0X=8grfT8+;(epI;c4r<2;TKJsRaF9ZgVBTX4YQT$Js zNQ)hF{{TND0n%*i1S~MKMZl@4zC#K1^Y&R4JtJvSVWhBqFR(-5?nTtUIuBpNlX6m<8&)mSa}k# z66eUIazxYYwNBnnO7H|m?Xz1kWY?_(fY?tct0pHt&CYfdrsYnEfh78~3VItd=iu`k zMqh!-U+7Az9+Z8gGepj${{YAmKZ+=RnVuF*vK{fhD2;OLz?tk6lEDUkD9Z!lPvnIa zluCWLXRg0jd?qTs2a2Ub+2nC-FSY1svReT*E_8Ob*JEpAV)!MM24IQN_!io4mDkaX zpH=(~Z8kGTk^cbL#V645!0JDAr)mZ^kov(-+W_q!y|>Crbhb{6e0*;QNzkZb(VWJ+1zt6LL~GglF+|m z3=$|Fd_zo9&PFtGJ6dA3I4@cd(<-9fkByBl#Edv?(*p9#F`XKDMd!^2yW?|& z&hP0BQ(aM_Qo>Q;9fV1f8eImo2Mx)M)6n<7z?(^;jWzXpCBH%j{{Yj#=|uJLX`Vvd z%0vN*r$~!RN<(O88W&#K6r!Y(%e!fc(y6$N@qu;{d(AI|os6;Ub5H&V=0-40x-%PHjY!}}@J++|<(T+2iCm!*tVtzp=$3;03(jp}H!XHK zFz+n#)!M`orjTC`k2OS6s%ZxFG?0L;G^kC=T@5XcFS8G!GMD7x@Zz~%N41OYc@lKa zy_2L7R)>P`@XL>OLS~^do`jQSJqw8E!pyCOC{3DvzB#jWo1tKY%vi}KxJ$BE?UGeg z>9Qf@YlYnj>Ez48J+X8MsYk&nqYEv0CiqF3-+?BgOK?_g z2FqjWWn90ZWDJQ6pRuouM+ft@i{Q~qEbg@mswP!28mn(_g&}ZiJop=qB?aIjIuuV# zMr6?R#;*lq!2M)VQf?AykA{>bbRyyV8eZi}3}``p0B1poAl$EINB;m+A`MQAF_qiB zi6r8@GeHJX?==e6uKxf`hi<8{W8&Jn)k%0DMT7qUmB9O?egvG0gIt;(Qyx>L)>0ww zE858)Q8Sl$W4(M@RNu0E2Ok0p@j&eGEP=&(wq+B^4~>*!p0M^3C36UtEcoTUNR)E% z*tEds7_ZcNX~4snEBJlr4Tj7#lrz|Z7hpz?}+q@d!^jhYxYmW^nIG1Xi0Cv zO2-`KmNO^O2V+FG`m}SQ(orPGM1;9@BJMw<%-fpL1IU*sn`t;o0!dLpq3D|j(=;Lz zk}$9A3FRfe21y7usDmQWb&*g00gOqPSNjsDDj%^bWTPC8p7oYKu$&rC(i$Pz^+Yti z_cH2!Mi8kQt~Os33WkbfwJ499LtjObCYZ>Mab|oM7P2&w5jEtI zL1>K2_6UvmCNZJb!gD5yx;t^(_G9&IO!5UxQC8kt%i?lw3C<^Q^~R2xZ3`BzCx_RR zMum(MTudoHSs{a~tQs8{JUE|%yvj(6_alBaFl#emCl<$MFoTZtX=y52dC-+NxlbbI z7RxYUI(3;g?7Smk4ZmR?A~Q3=bbmh{M2wPN+)AY;49!r`sweSfitN!*GCe93etkE-$F!1WhPaHHMYItF1hfH%eHzaIoIF2{)gvi0Za?BhwG>@>bB*5@TaGoYx zDfTup?G_^gx?F6X6hleF)jKy5|DZn%of66AcN}`6aY!qCJ_)`H1g_8!Y`rkBY?h zFQXfNNXb50CNgwboGV|0{1^=fbw}Bs1};dqAAEiDD6TdwzBkG+<~lH}o`T+^k710Y zlwhBsQZ~aMdGqnu@Smdu@B7sggPmSkgmg>eA}Hzig6`cVA3|0WLM=;%*tSK&PT{}$ z35eA@R4_<1P6T03dqX-wTi@sZ^Q2TIZo+T*3v{GFoyICkM8M zPKGQJdlQsowd8~wmM%BNpP?w>#94*HA1~nnH1;I6Bk9-0@`#&JEgkZgR>$LnC2q znnfaAVl2m)z_f}YYOhCum&1+VLq|~9@LeqQUvj%x?xtN^Y{ReJK%F#TlZX&Im!n2- zKYArw;4fRyp)~x$zQ*QZyeJHm5CS=pL{&WCUeWe zJ&-SaX9fl=9RAME#3`-tnv)=3<}`P_ zqa#Jw!97t0%sQV1sUluvz<73ck37j8QPQMRERt44_ebE2BLeBt+Y!C@hf9ZT54iLq z#XMr2HU5klBq_fm7A125X)*l}xLH{OEJc3F(rR}-2_%G}5zH7+=znBb*zLN(h%2Uag`T6T_InB8`$d`%djw@D`h$D)DJkrikET+@xL6k2A}~{E zcD^6ro*3I-xiVdQ`XP7mWGNlLD0u}FD=6#+-4vZ6H3JN34gLtP=nU8`lTh#$_ZAa) zAb+c9d1=l`yB=SE3=s!kr=h9zH0h*8kJ{I=Au*WnWN3`k@)77EX)xsq^k8j}P8%ZcAJDpdG+Ae%$);@ZQ%HG|eMD$dcqPSOkk=Kl zBm?yR`FLW&_;(gKNTTkuo*0&T7|^NbhQ@OzNp_vYV@hyHiu7*Chpw=a)>Dd7nWjs8ueQqnfIEWSLm4`-0cQE{{HK!Bkg{YI z6RVsFE=6`>*q6dU%A&1oO%_cj=&aLOb0j<)X>v7Gn)0d=-on(JCjAoFl*j!%el3Ir z%aNJZiCCL4l5LofWAL2}6B{MH3U|&(L<_EVw27J_o)l9f5XH#b>aaeG4+0F}c_7Iv zzna7%Ptl2`K92TZMA^&1;kThO-AkcGg#O0xg&od>h_?s6WBF>yY;_M(#f0h60(Dt1 zUvPT`Js!;ro~;A^3@IYk9_S_5UERx(BS(QX9$=*Y(2(8gXjWyv8YGQ~FTdtqQL^PR z770Eu^}=yfEQvzGLS*g^7;Ms9N1+KM zBu#NA(h#*wCfxc7m(^Nx*irugHDBrvJNR$>N7F{>`yPw(13=XQ^IZ!|YH}@h{c! zMSn~7HGvIyEP8uPi{`D)%5gl2rnW`v1;N1$OMb#UQ`NE4OwR$&Jqm(UhPy(jB;nQi zH#}z6jq(~5=xucc(NnjGkJev9R-+);3S7cMMVI{(So4MFhtX{K8u}cSc~xBzdYK*A ziJrv0!6}kV{9P#$$&DYw4qCjvk@P=eR=*}+!!Mm|=$gL(lRv@W{fS5a0ECoV*RmP@ zOg`a3(p-+2J#BO7!7W7jzon3LSUteJD<1+9!bo{SMW^y0oLDwGwkqsnDYDatqLp@} z_Iba)&5cOKiF!C5zhlvrB{W}RdfItNf=!E8u?hr?d<{oSMU2dw#RO+{DZs|UOwB8k zNM%>C!)iw4d&HSUud_hC6X_Ce-{4$2IUNZ{5)?jd87pkQ$V)0&zsJPoY*L~i#y$;# z`8*L+x8RJ9JRv43IAX^w=+_t|;Gq1G_F_{oT*ynK{s;2cp>!=J8iFA+Mk%6hhGRzX zG&Z2LgEAJGNc5`Gdm=ctMF!G|+Dk^@w|_dtSI!M~j`(N468aUaOxgX5R8~glp*3VI zJ{a!%-v$wXgHsiQf#X5Qq&Vb7ZBgbs4X-O4B&be2iv4lYG&ReAMd!Ytl9VQrQ@q&aU9J{!qDAn-_%Gf0K2^{Yi)KWl@dk??2l?5<#}mTq4W1Gr2mb(?Kl&omfr$&Q z3Q_#=^q1Z1(Hu2mgJte?Bq1o_9zqPnSZp0$dp{*KTr_DhghjUXw00g_*r~nJ5)tox zPqbzx9v^KFPgJ}KvFVqC5L_`aD@gIJ+y(Yaa`nBpf*}qm0|iEjzQQNq=zo(ih0M@O z?3+J;ya&wj!Y3r@Srd_6EDg-YoPD7p8k5f*@Rtr&OBc+os>-q~{Jdl&rcu%$VuMRQ z?H?&z4p4^bECOqQU}Bc*pAVt}<=Uwp(WP-?7i{ML00jr`+aeD%N+}SMQym~wl9>>Y z^;B)U|(3mlzzP*59fs{ojjp}{%L58v487lCDpWy_w2>@}wd z5V;G9g2$FBw@jAE*J5YOiO(~u20g!FKu?gqYe^Dc_2&s=V#V-kMQ-r9cZ`^o7c=rW z3VI@PN<>a+3b20QUj6fkxL1v9iAZXHhuAanN@Td2Nn0mHgZ&78={2)6cMq zdj>GJ%?Ys0%c2)chvdIjs0Q6GTWe_vvG6sD+dc|`sM zDP9m%+F7vz(L&*?rM8wY)g{{VtrSo%K58I7^8stL4+pKMLat38q=Bf5vMuS-Il z3CpSkq)#k|wgsm88FwmD@;77R#2uEE(Xl+o>C5sg3Nan?ZQC;>CApchhh1xg+y&4@ z2E|Nx6BBMR7&RuNMl;#00&#*&JqE?zl!t3!0(3HN@=N9iiO+>@epcZ@H@EDG=$DO; zNP`cG3}juoeWBB)Dkc=NQ8@Z4x=LhByE}6c!QMub&+<&Xk}qO>6V48l{TUP!OY}0? zd|1)ORs{X1f2>^v?V!d(t%~U#la_VjVO36Y$X9?h$flk~XBkx_Ifrlm0I)*ul*oe9 zWJQheRa6B?x=cVq7Pj zCIU)HM{;ba*r&rA%lRDc*|dHKbiOU=WOBJfOOkpLgqI5M;?#~cu_*WP%R_SFVK)B& zNO&0tvVh{ zYw5A_Y)-OFzqAmKScN%PSul>*3dJqAM_V2j716QxVt?ewgo(-a&+R< zjFIR0t%&lzJ}USyH!^w>oTN{*gen_ibY%)wuPOqZ;5zY^RDRAIUd`n*Fz3LIZ2M4X zKVZsUNRYIHbQ-@<%LIS%lH@a~7h`Z^nJGR{#7>TzW@etgidNn`E;7nYk}oOI6US@} z==(3t%(6|S-(qT4Yq2o%tG}}%tLPf(&JHl+7xpfC)hDs6zR1H2#Fko>+BQlS0~0AU zLg_D|sbugJhqi@x^3TTxP?FR^VG|x$s@BLdd37PU5~+C-wrBbMg9bhmud(p<1Ii1d zx5EUZEQlkCBARP*D_YH=+fTAS#g}w(k}{TM+ux{iB|p@&-GG&93o>ab=!w~Xh^MKT zB7P#UyDSnT(JSp*z97j-n5O4R2^>ck12ubeOZ(&d=tT|7G@-pPda4C#Dk=BJT30h>~s@_O(u~Zmq(r&Pi#6WwO?nlX0|yt zDahD=pN%{{9z~>RvXaU2ct>OW-Wd+v`6hf52niKLJ0*5IrSwDqgh|~Kh9sjmG|gq2iec=!g7_ z{1H-Q5q*AA2?(pkdsWAcvl+3{p`&5|&3?LWSVl z1S(29g<~jXk;MW#A=se2`4%N-NG9~aG9~CTuD8LvL`oDP>*Uarb8v@K{fgXM;E!P^ z&k4^x4)Q--H=_t_Pu~ZOWst==eX%@^j94NFs}qO9{vG_k7s>QLv7J0Jmi0_s@z|`T z!-S03sm_vaOr*0!w-$BuI66di8=ye@&d-S^Z5nk7U$QgK$G<#it!o62L~_t%ixup@ zZmi^n02=u;nuaGW8h;sNvy?Z8M=!`u z*YR-K?RJrTmQwo&$se(~*$-Gn zk?FB=pL=DF!mMz~JJfpoN|G_H=J_B&0|UwvpXtkVer$IOzWXJmtcTjrtRrG=JPamW7^UrqK_vfn;b(7S4nD2ugx1 zYedMdi&#Q+#yt?SH}l`}H90=NLsM+7JTMJU1-U%0+rijJ7)j)06__%(oYtsFM)qJb zO8n7W9h#&UFDy$^T_zI3PSCz$FR3B27IFpems>olh;Nc zq;`{1a!&0lR{3-#w`_P8LvUO1(5=YwB_t>4@&Gs%PnFWhVu2p?9$w)*{L7c%TDLuTBS`= zIMj)*IxLD8m&C|HBV!+2I#R|u`q0#)UnhefV{b=BAuk`;jN4S7>xWEWIR^M9_`~_{ z`Tqbf>%#Sbx@I4SH6$v%1TS#X{>1h-dEu!ttcyoak32z_FJm0KB<;uOD;iX3KV{>L z)q)$+?h&7;ktaedqb?WZNhNZlBWU1B6>QppQz*9C3JYFO!-?Y&QojPEIQ&#_ z*VUnU$rH2Q2GcRZ#~DI!PG2@pb^O^WFOaXWRw;q0M@PeJ6(}p(5f3j1w*^B}k~+1} zntWuzWIoI+TxfVFTNQHY%KH>m(nYAY~o8CL6!I+ zw{M2vbp)pAj!2l#Ii8T^yT?QiC~PDFj__p|^8!#cC8I4sxi>$=j)dp=Y+W zucPxOMaTE#QW|N;;8%Ybn^`Rx`WS}Mk$wdG6XCi-m=~Ojh&%*45|29{h_BUu(52iT zulX@O{d_E^{FT#VOoW}svBgP|Iq=07GML97=tr3xr{JC<1E-N`aPTEQE9OxGspzY6 z?Ajf0-5$9A!~iG|0RRF50s#X91pxs7000000RRypF+ovb5OIN#p|Kz^!O`&H@&DQY z2mt{A0Y4!KMbh&)C-`wG0CiW1+E6y9z9j@6Nv&?%lv?#ElIF;&Mm^Z7gbeF3LJ2Bl zp}%bq`Hifoa`cu%;|WzBm&qyZ>}D!lKNAQ~Fr)j88`LrH?LJlQ6lvLWBi3Q)pxq%N{%iWy7xfsy^4?|yW`3^p@F=y$|ljc#qo&G9n zdf)A+Vr3Uf`GeCZUHn1&{`a>>w4=kC{l3zVMpy7ASjClOPJK6m&WH|l(GQ+?nzzR)W1h#Pey{VCv_u?R7$8dQad5c@DO*#q?*Z2*< zo*87jLUoIUyYA6(nj2uUr8$hXa|ElO6A|1?_(zT*<^jUgEF49uvQC^?tL?JM^LDvvUTeda3v05B*U=6mA3 z7Y*RVX)PMB2yEQ()O9ra8nfqTs4m0aeZ7c+qU>?z8|*Tk-=Ua{Y{pmJ6QjNW9}sUp zo^z#}oVFUS%Z0ZrxpaW`DQGFxP2zG(oBT{cu;X%)L*aa_S5Tae0^2w%L0jNljA|rXyv>x5N`duc-e3 zN$!SsFr>6Kf@lR?#fb=C%&q%MP#CHHsLj}@GMynR%(+>ep#f#WQnJ=lK)~x=vbKQU zCo>7eNm$E*8C~3H4JQ*d;f5veIF7?)vag9{W_3%&oWq+xGlRCJ<-NI|4|viWumvOA zkn$Z9dH5fwMyd|u;#{=rvwVCJt<~kC?;Ro!_7=>6R^j69D4n>NpyOj@f-OS(6^|$0OSv z{BHf>%b{}!T?V|&V7hLNN~oaDd`somiI$kOg>B=Rdn+=_j2!rtwqB!mhSds8)Pd$@ zj>YkbSe2h{;8B>=Ij=-@WX0}Qx_N_PID1S(xx4B6!?CE>GM^A=tV)HgSJq~~4l~3b zNtXU1<1wyNhMVR*)X5SmS+ki+TCM=uP;VS_#6q0YWo>RysLcm0I+~3sb1&8sx*qWc=xx1AA->3b z5C8@P5Ee6vNt|I}uD*;()X)A((jBuM;!}UhT2hKXGNo;p_l?MXnPGc2 zOID>Dfj*Vb#O*UXO6yQ&A;)fDms7+!6)N+GHK<{i`-WRgu-m3CBKrCw%LHpNVu_I6 zCS~D*{LDljn2@Xl*)=GxOvcz^o#-%48V=f*`*oII5GvSS6lW9lsF%=xU^ydZhH|=& z2;`LFc#Ul&se+=Fb(UER6?O2B=)W3*?@l8=W`c7{y-ZM%6!3OKCJhIm;eRi_<#}=* zOR2wH6X-%k^W=~F6PZyBnM0I@($ zzuqRCWtW9!8wRm_LfFO*pvCSX^8>7+yWG{{XtrW*p{!@O@Rd8CQu#Uv*Vp_YDPF!k)xIz#2rc zMkv=B^2$A7W)870gX-zD5;KkC{KTsW#5@lXXSoM7@ARAaKYG#c1YwtWl=e8jA_-aI z!1I^>#6@8QOs#Wy8F%ClAqRpC)MeK*tr&pq)HySgxO06GBbVI@3x)(L-sSP%+Gh0W zo+3>NRqs9GkSMOb2UBdNo13?5;R|)wRNUWzN~|8GT^`WZA1vn*)O9Mw0w@N{aYO1# z7axe_l)Ohd-vro^;!&;Fpc{wXdaYmloWrHrWpvD-d0pJmoy4-8LI5HIl<-5H-KpkL zl$1-Fj9;M-KD7uh$9{16jyfBvMq33L5m_wZH*V%m?kfv~{PqsgJ|qZm3UfD0^^UFn zCn41ZI@!wd!ramyc3=mlr%%(Dk(&*E@8g*K#C46vSwo7XuU?m#8Reaw*8~rxra}0ucmHa45jc0T&5GK zoF|9_QO$SfKitLqr~3m7CHmem1E%GwG&OU1ioz7h$nH@Qn)sMQ zcJmvRcsGqiHMEgcYR`#)cx`9Ycg8H=n06Jq=^Xb?vn!iz+PL|RQuR}-8hxh(Au4DN!f&sPpua&RuH$<_eUh@_k<~`bYox*TAm@-aOAfeCZU1zxcgEN$0;soAmQ>#^l zW@Xto0B4B!2qj*iJ>9_^;PEu$MDZJ@M~?ph6#Ppp+cA*iXu!hi;|GnLwj5Psh@XAhL#Q}SRFe;e6EmoBAMSvBj1g_Hg{F0krf+~5| z+$G$8$)9R-ej1H+pgS?@mg#lO7$ulG_AIgil>w66)Hh!wQ8e-t%$b9}oe zZJy*Ghph^WC+Md~Uh&gzf43jIR-E~WZF?SI#s&ApTxRM34BnzSAj}VM68SHt1=}w$ zwm6kY3=jpH%nt~@rjMFcLZO`r;V?U4pX1-7uTHp}%+%{GT4In&qWoOBJVPJxm_}w) zzaLq3DB@0KF2*(z;3arChOitiJ5L^b_h(YXL5nIk70HRfAU6`8B?dE`{^V6Rb2e@Q z z(e{+n$MS_GHr6<(TH&kPmE6MHQ9i`xV-y`riMRZS{A_b?{EK>p3%Aitgy}2UmxyyL zT61t1A3s-6o>CcOVA(OQAKi0X>MgeVSQq9Gs2Q!pW^VO1UvU%S8Oe94y(+tkx)%N; z(&0&7kjl{v9U_no<_&lAIGngo;xY5Lj|gI6=DSjpS#G-f2rVxz4`qXUYG_Jbak!Z_ z@G~Di6Y<#=z{Y39q~90M;tkSP4h|(JV-v(y@cYc9amn1XT*u5N%Cu0t{KVrQ%4qg( zUhDm9Wq?a}DObFsWpyMmKdB=?!FvLepCo7Y?@pc^(dc$0R164O=$go6N@9*N)E;2vcANS05}g|iTC1WHf&I!qQOf!8GHK1LYq^Nf z(XoX2gd7TFS+$8x5m6-AU@V;tz}GFc?MPt5ABlkkW@1F_}^e~lmWGh&CjqK&))y5|4JUvkmt(AN)+oW5Qyam@kOk6{u^|vzhjb zC<5;(yX224e~fHPt{~HD+`=gfR|A=;;a2KwF39_% zta9*9!_@1Y%ty`(q4CVX=YKGTWjCx!+W3lfGj(vsvlPm=h+)1NP3U|}l1;jAt{6*= zy`4T~a^unT8j$JCsWlV==yN&V=&wfz11r>6T%VJ%J*Ko5OM+a5-hu$Kw#9tDAwf+O z?k1=QD0W0XXaju{j!!!v*r+cTvf!TqTCWp8b%x1fw0%jS;6dE@zvg0IzW)IDh-RJ& z>cqdtZr4!Cdc-h}Iq&pjK2Qq8tG0+c6zU6dxt>bkXYD4m*LHInI+ZY$i|G#7I^{ID zgyh_n4#Ze~FKVw?5s#nubcm=o1M;vNI1Y5PQq29r?m)9M*Qj_JMvOnf!i( zFA$CxF9QvI5YFoa47B)#_UGM!=tBx^#I=z2fEG9H>0v!z?FM?8(ZuM(`H0UBDiqQT z+#nP+9yxfJz6@?rFy=o&xF1hNmwx@cJ#p?I82orbRqV7J8XwX1V&p<#w;z)`|kw zXB9)tIVeg}SuK|lb<`0oMD;V6)Lxl_)jMJ%mJeU%c-QR54dH~dr|jDJm2LyhS=nA{ zX7RYyLLB@}E(Sb#fG_dlUMCNrOB_3e@TTE^m{pIkYsB=lfNB$wkHb4Xd*zMo&FfKD z4QC7)mV;#vn9xO&Cr}zzR(qdx`|bfNh>f3E8ZOGP_#!TX5QB=AoO=@)j2D7?mx1*< z^9d_*x8ue$t1bi6{Y=}jUC-K67;qAo*{CRbtC#r(u4VY!FOGi@XPun?0PbO8<3BQh z81zOdPmTDmP^P;k=hg_)HbUSN=ECFssk1xmaC=Hhg!Nie&;eRwf2Gf?eOR?<7R#qc zm<*}M{rwI{@o0B1mlu@i%_M8R`zMKSAL-O9Q1fF;=z9%B{weMXs<)yK z0o!~{#+8OVIBH|k#>~Gk;YSQ;c1ujpG61C0`a^}}g{I$c5fpPhrfyt&;rl~piGOKi z^w)`@IrYN+f*?^>#ltgNlu(}GHukW~?E*ly_S8_hzY$9(FMLWsl(TbwVK{RpL73OR z4L#0h5OT7(h<+VCrHZE>V_*{sl?KKG8X+`w$?9h!FMmbc#=C%+g6=gm1%)&xRA*O+O5LfN0%BoTgX4zbHO>n)7yCc$IRmKAF|rYu!0O ztg1h#E}HzV*a7s@T*F%=MVi0Py=!ayiG#9-0@`IFw=mO|%WwTm4Yq9dmz;AS2-tTD zp1xIO*5-4Yp$#kUf%vQoV#^~KR{TZcRJH!SnlDz#nwC37ZvOz-a4LpRT|+1;?O#5u zy_sUWl{=Q%RB4D7=!sxE_L&b*6opIpb?4q^Cq2Ufhlrmi>HD#wxj=VT8kcRTKH-AY z4LXaK0EVmHW}eVljhcgG7T~y4{u3AWl^3e&v9Gous;-nML7dpG3=-2aY*n?pfJy$N z8Ud}9k7ism2r*)-lV*oDR`z^F!tRG2BKJe+cFPT;fU*lWV&QKQ80UE_nM)niKdsaA z0ssyOL)XAQihx%*ONzXa5btyAa6Zq8puD+#k?lpj>Nb0pH@X(bSh-h0{{Tc)t_|_W z!JF)F*MLAe^DoOx2U=HGva>?S+rQ!*X-hRfGTKHPi@%d9W!%t32~d!)V&@WJbguh~ z=x&yI;R3oXtj429)#`nDsKdaAUODtG>URGCQ{a{V0E;xOMXp=kIk=E429BYIP;2ys zd>a&VefnmP$xEs)m$UswWlmeS-Z~m_>9T9`gQw`z`GIBS+&<*{$WTUw9U<`^!Ev7WeR&7=EzqH{x>D6IaWE7zlbLk@8E+;E!EP zOmW#1H1I5E1>MH6zo{r38Mdlj@m9lTuuYj!=L_A$N#B*bdrHupi?|?z#8$lf%qm;w zCAj%Y6<9Dtlt9X{hEn;PU-mr8;No&RO08--BTKwM=!@-MCj-H25vBy{Cg^J{xn?!c zx^H)hnZ9CW{{T?=ia6QczS5HUFb@VTrmo|2JH5q#mK>}(h5RGw#ne7w%)I!PT&Q$KB60g!kn6VoActFm8>mp=Iv3eD%lBap;rV@^#6f*gvK3>G zWhzxH!Tp!L7RHwvk{VUL_b5W5hK;uM0zP-{iIZ#YL+tg}sJSqjXI8xN8%~J0AnqBnBn)N#O4HLY*VF$qvMuP!rRX< zS+J%!O5K|28Lqw1_L9YkOLdJUxTRTk{lp3lCCW3kafYQh7d1JY^9>D7 zdz9zr5S=->P(47acI@godrHL3&#}6{?jy0A%J{gA8`q8f!-|8`P~zt2{{U~J)dkSk zPT2j!DfoL$+<8TZ%qhvHWE&m6Rwcc24MM&*8hg}KALn$wtJ!@M4`h|g{{Rsb{2k4j zc=R`(;$AjOs_*nceF_A)1}m9~F0e)q$eD0q-xIkA9o8>>`rIr!cF(6$)}nq)shH!3 zv#0?uUhvNt@=I*`z2yZsov;4IW1Bu_&OIs@%W|hT2N{QE&Xeeinmpx|nw#_(yOt}S z#>IPLmN0!PISXB17u*{AUVMnS@!NgSc_$m@MTtIF{=jWMlOary=q;af6IB+bc-Avi z+%gi*fsO6+m2MlDp1a~>+&AEetu;iHW=4WXicrV)AbIILAS0- z)@3Pv&hyRvA+8-R-FtEMk7C+ZzA;mJFWujnQZn1D@Gc?ZovV+TaDNjoYK`2ZQ!j|o zZad;!4RSy25k^5Ao}IY5xWojDHhFSOj=xH_)3lHcIU!1 zc@WPFxrcAqqU%S!#?iOak5@%)V03rl+r-I!=DtvHfj72ep8b2NyE&95o)~6uYs|tM zR3Q^Oj|-d}4KVEHX-us+bp*BQ3BhS1tt}&zbQ*^Wf%f=k?c`<_EdcZ@I*=+M>|+ zEVfe6>F`a}HfuijpV5;kMjX0?V&G+7AOat^zuFn0S7Wb;J)#vE@OD|Y9q-5I%%QGw zrdKx0Vl*4RqFh;3*Al2oRZXnmsqcb=074)@$YoV$E(7Fg|69%P%8=@h;db6I*@ey~b0Gs5%~C z5cz3WDqb2*{{WjXc~6K>pe>cm(D{H}go*HZkqGM(I?hrk3Q8V_9-h!eDfe=F#~X^W z+Md9Q0+btBj)(R2{Kk{lP&VQLqycO-*!`wm!4!NcZ?V_;f(ur98ArhMVn!KjaOABp z-ui=vx;~6YM&_ry%i7BJy7YJs(qddjCFynTOzD~2_K8fZ%mC3osecKV%g`M9JZHRO z@dvm*yc|a|ts2bLb{S^7JLg{0Ptsi8FNnZY`=$!{m%CK7PJGIr7Kx{ZC)O$DvX_{Rd?5vqpaRq`@BqP?}@GR5U77k z?gznq%4OxCtB92{9^<;p19;ocrgZ*BBMuHR8r57!<&JB%7x4OSe#ol#M}TrY`g^}X z6r)j&nNLooduUz&(EedV2zUnO2cok>4P9JJoyx+ma?&VS!iEeS5}dWi(Kef#lulSE zJs1r=E&;^xN;NlOM&A#Zt6R@g5IvYu-JJS;q#Jy{$EV~V1u_2sxzxgD?~+vk)YIMS z=__G#0~K3ZrZv`Q#9^B(;{BkQUmw9QSjg>D@}?GTE;HQ7T*M*;bW7E_%uASfhM|~4 z!Y&~CRkDEl;%lSxd_`3A0x+n@OvVJ>jMEKws%Ji6{(rC8$~1aXDIraZjL$3aJl zd?8#1jAP{*+Ii|4t^WY9+`0l!t1mIXFBmF+y#D|&(<`jC_?g@wN~+)25E2w;!X^OS zZ{a)x@5~epxZxINYs!bQFX>iT>2kDYhw_&rU5vud*MDrLSPo@4123?d>bB|6R`U!K zX>_xNgr%8pwGhccmg0~Tf&T!R$gHz7Cb7XR_m|rH$1B0#wd#8!kc|?zqTnKEGTgd? z6d$<=x|(I-h@;=4Ys1X^O8M_Pj^&&~*66)XFVD}WN%ek;_rdB8QjR)IX*(qh`yt22 zps5V7#(Yek%)0OPmc!ew3`@0t$E%mi@RWJI$<%&AP>N>KeeNQ{Ib{>)t?wP&ehf47 zdAsn;ZULQ4RODt$dkKBD;xt~59-w-aIp4AtFS%0VEhfR-7t&JP@R^J!jq}XRqa!$g zPXQ`B?lH5;(p=_UmVo+0N;w4PHhr0Cbrr;ly=`jFk27HFSYVdS>w|*Me#TaG8)ZXU zTch8&P{T7Sua&BN&8x_b9-h&hk-R8=^M10vd{*TUqvf|quPvJXiCv5L)ZsSoP&CWi zxN^g^Eab!Ch(W{tQ^dXoVO4J)@M!7DF1#LrP^E1sg^K?Gk-4Jyn9|f99+nkKE3^b?CH8R9$(OW@xK{)hb9OO@|xL?EN=hoGp zZ|N_0wrX{I?M%7xM)NJXK81q`P$v+0Vc3U2{6n7}{atQ}Q zen|bM>pG^d+qqgTM*9?-i5&3q8B;9Q~oqGMC0C)*PE6wbnPv zcTg{|?mMB6Z%}-dv19%SNwT@!{{SHtqp0+0nX3y@>Tp2ZdoD-^&b&y29u~|bea+N+J;H%A z*u8m<`1CI0%%V%j;r{?}@k#Fg0Gv*vQkp$3PkW`*RA@z{7ks5>{30EwH_t^)>wU@i zf&zwuYSn8R-}3{+df-k*RvwB4bqAmY=iq*ot-!7yN)u!`1nC1mQEC-i9T}2wsLg$% z4ri1#!f9XvqizhzviQ0>lyM15;FJ)bFwS`WLD55{k85!8Ym+kjUBVo&PK)q1hy9th z4Um}$biSP;T8&1t1|9nr;IUZum-Ip%-B;jOnR`HZ*USoGP#k*RtIY>5v~Pocc!}LM zTz8K_$}L3{K{gJZN;lU9?J%n+wLL`x5rx1dIq^1*z)vi54$(Tr2_7_y^7SYe!HXvt z_>FPa`uA^}C1%aAi^`@Grq!Ev%PJYq55%*~y~j~&&YhzA_A%07tMFid;#WwOb1qIU zh=31Ye5KjdPl+Pmy}J4LkL39cl)F*|tyZlTq*XV2w1_daH+BhFnR!*0XR5q0H5Sb!I+4Jjf zliAO_aT$J(w7|~OB?|MzqO(VAzXkq;v*3Fu0I_UwGgwz_5L&VnSh1RVLACnDL0XJ) zM^46CxNOQ{xu-vsDGjk^Zz*7pKM!fiP~&+~Rk$c40OU+rajHV^UeQLr`SMtU2oAWH zB(%pX;h7HT!?=Nc>&&OWh?b4(8$*Dc1LAmqjnyyJ#BTy=ZP_+kX|0RQUX8}8)+UO=Y6#mCHU9vq}bf2GDI`@WW7r?Tlt6qs4FFzMv+`V?)4({HW%k_i7pPgO#22=jyN$*D1#HH`2MF&Um=zW=?Erau^!tz1NJV#Y`jYq@b3b)&Oxh`G+&T7|4;MNF!?sj>**|rI z2Nw_1<{@#!8V;d8K{Xu7aCiQbBTMZL4xZkBiGjcj@dv*ar46z7nzw6Tt2-k#ZRYuc z6kd`%b23M6^&Zt6tDep)_0P0IvmLunE2cVn8#j-^8{Lm$f43fwUpc%N^9|Mw)zlII zc<7qu+4vXY0mReL@e}MNWfE0DZ56}Hp{B{qyI=9e0H@Ms;q;#VG@NA{{-uI@73ty+ zuw2be-`aQP?)l=ch}`+S)ykn)K|u}6pPlQcx6Gwrhv}$uKJu$~tiJN?=HlR;Uvi>? z*l~Qh{Tx{JDiC+%zY{oQ>2qMJw9jQf&L=R|Gl{A{JaPH247gmj(L>Y&w{r z2062Dcc@(*;AgTM$@2AHCcx`q;o<=cTnb5j7wX(7yjJpc99F2}X~(?VcefSiEmGC@ zoSh|GmYn!~;ZHf;=KbQW(F^4fw}@t1zcJ>a+XkQ$$n%(Rn~TrHUdCb>e$6UZC_?*5 zzpwT;{6j3he0^|ubS9S>GjKm+UNZ#S?id?HQ1jHxUOa|u7rMM31TDONLh11xGA7^X^rjy!C7yeF1}u6{%OMB ztOf+kG>_b@;+?Su9i#Yg5dHaM*OTTUpfv{pbRTjra>_n=eGz{f@-S=8+mJ@G$MHSf zb5}p&UvHYZdxaGe_wpf<`}MGBxO!Kj*6>Sdn~TU!xBmb+msO{A&!XlU_vhD%x9tM3 z)FOdas$7LpLh&(&)ecO%W;jjDX6w@DXE4Pv`x~8!`l`D9Lz#p#wRI7heZzA%F9~6W z6vDksgY!Ew%Z5s^m)>=jfJ{!7UkEwE(hP@dV_gnMf!6P$R4|=25JC&Qt`ck+N^vabO&JUHZFu zgZ#KwZEmX_dz}@gHUb*emK9EU%gi{9EW#{TPoUGZ{XFNsq?&_vDe!6*k_Q&F=cysu^M z08yhtv(!$HbYp;Y&G5f4QAa?2!4TnkZ{+S+h1Qf??vy}OPG9CZ7AjgG?pK|K{B<)W z26iKIx!!KoyO$2Z`QXi4#d;UxsdJ+;s*mCoX3IGL01xIM+&q+zs@A$KYoq`Mj78sz zIK3>bd%PA|rJ?A~CxbYJRB%ehRBl;5o$$^ALas}!xkXlpu$+y4lWZjr^T8`;=#|s( z;#+^`>ru}xx;4+1;^FS@EUz9X&|(-CR07s-weH*h0IX`` zz{CnG?A%M>AM7T!g6Xf1h%zUgPo`P8Pxc3=^)=P)<=l7;;Chy3!t!obxJ##ndLI|Y zo^=&vgO`7!LSMII)|Y@7XmwTk8ZU3@C|M@b`*G2zhp!P|Xn+-gE7`XAj_)t2eQhlJ zBXaik+tW_!8OHmZ{>RW?A3v$hm-0C!ys%t$>Q6Ds{q(8@(H4?i8l#uuQz!uMM^v!(em+6_o z<=fP%nKp^kX!Lr5nfQD@fVqos^(}M{yz-ByxPHO{oQ!{5eV?Zs>K6*__a6v@$psqE zOg9?ItaODd)#z6+T}xDV?z3eZVzG|OqoKvd5SWPSR7GjjiB_7pbt96UoztK*=gY3iOrx*N}0ejEAp_ccAuH4O7EX{ z@hk0c@94+NeUhQMb^)t$Lz9I^xU?xAjJ!GOJdHtdlJ2Es(o1yRf^KE2J5?(N1^fW?;&>A(k`y zo-AZ~mcgD9-2D&_KDQ4p)&BsnoY)fg=YN=U*Dnqqd78gi33|eu ztP+=Ncb`rp?177w(I}+~AU`wSKYPr-T}^wnGzjJm$WO##1oF(_Y=1#HdF z=4h3o0`vEtHq+1(O^cspM*=a_{zt&fs`UN5Scv{*RBR?qH4L`a{mBDcf@?4 zE(%%l-2`$YN3|6t*D&Th0ty=AQ3T{3BeCgf4qf#g(KNo3Cy(3;TP7mxu|^0Y9h1V6 z(`V8IBM#$*ELZgq=rH^2a7ynXrqw1gb~KZNls;Vu9ay?^H3B*EkSAVpPn<$>vfhs!%Kmx2{BK0Z zXD|6;c?J)DU`E-c$5Wb z`}$T#ankkl)w_Pu?pB=3y&yljUJHk3bK7q|@NBbRqy4Vo^th~9aVL(O}pK77R;0~Njw$cb8&9sdACPfw1ZwlFTvrIhglAC(&EAVqcY=Un7VsRCLOM?lv$O<==PUs^Q-LYXY(AN*$F`pWY7M@ukhgX z!VYk4M(=RnEk^7subGSdrx-X0SKep-F=`l?f?XW4dW_|sttw7#T8=q=d4YzLh=<$1 z63XRtO8qXkjDD5)@4Vudi}CF)baK4M-!u@}OMcMW@f!A#mo8jKFipSvGB-J&5EE*= zL-)R>_`OZMKcKWjP>#>#Ax$>h>KeW#y`VQ`91^9ta}x(|12R2z4s5DFG3oOw@4)5W z>zJj_$;vIug=Lk4KooxQ{2p+nozNm)T<#*4eQJ^P%$MU?*lF|xV9&3mwX zp60YB9ZIK+92OQH_AUGpyGxb@(>N96_?=JskC|4a1#m>MAX?PC3Oki{RcXRFmoF6o zXll?sP&lq&*Cp@TX#0D5->$Y_rO@z1+r0LONZaL-PF0A@dmi zQ&BB2t>X~IkbqcAV5H3r-M96-~?(uY8a$wBCn$Jv#2$8 z74a*?v2fn0Wf>d0n1|-ijRXfZp&w6((2tFI_m14tS6*guv<77bEHTps0VTU`Je2p8 z5uxmr3>+V{I_$EiybNr9#M7qFS{2I%yn0Xo(t_P!7GAjA-1(7vf1Dh7K&$R1*E0k- z1rf7LmMX$zh;%mNJVS6bOeD3$ze&h&N)H1!`&RTF%K4SR<%haA5cQuC=>^Oz%_D9Pa^ zzf@M=`G)9}FS(ire)7x34PE~Luo1g!GYh;14J5CYH$~Oett387>ZI@~CQLiordkZ_ zZBc4N)~A9g)tP9t^pOu1+sCv(eajHCF-1NJarwa!#qFFAhjP=Z+Olbvz|XWzvrh=L z1rcO<{Txlqf?*~23j5r!FkG_YjQ@M$Q5N4*2q}?4j zi-%agJjXjHLl{z%Q!jQtAgeWi=)JPkM>-XsD72o;4A0#JXIrbDyb?P zWzBo*+BEFAG1#6HvL<5k98|2dxcLc)vY=q;wZAh9ok{gYmK^Ij`^P#EBTMJzH1g{D zLL8SRJNZZF?_Qin0$M^3Q!Nvbm_%G;Q<6F5fpk3M`G#2)3s=MdK6IvbLJM0h3fR{( zd~)5^;YCxMD^O>jP8CeUMPZnsVbxw^Lxn~FQ7O?$*uTuJTiLYIpI{G0=pGqk)92Hh z^>>cl_#&9J60fMUA$2Y4@eU`gMlIJL%tc4D49nFs8L96701yxAjBMj1 zt?p-saM_)lY^v;>a5ZaL=4wgJlizD(n-}gdAk! z%s)xjsJt26#E~zv5WSjp%iLQ`bfY(OrzzxxVw`3=2?kSoM=N-PWANwc9@q8R<&4yb zJK>L{ETl!5)L};3!1#qamof=Kxn48vE#jTZ7X2j*gn%rM(k@PngTQ2$E&l z@#$x(nXAh&b7JBamy08GVPn>96t{e`pnS2*t$pF7_Ccxxu)9Pp0yhpSrCU2Xl}0}Q z0I`zx$Lu-_7%*2!{NJR%-t!ZC-H&q}YhFjDv$g%DT3B&RLcvC=7Ow0Q--8cwrE2eq zk?j|A?2i@~GMv^0i5N4oJ8&|$?|R-x$59Lx{{WR0x)^K2P?Pmqj%S*2!|o;#vw|<8 z9xJpa4=f}nDt61N6_>R*6mb@090M=1CDc5j1OQgTxtKG2C%DH^%-VH`)ltj&O`=|H z{E%T;qocQ&u<%v5Cog{uU*;UoZ^bbD%6ODCML3uk)JAN1o2+$zK8~8)!J0@k-1@Mm z{jhkR(!j2a%+=l0;qMZ={f?lmm+6`2dq?t#NN-Y{#p51g-EhH)Qs^boP%8Y!*gy7H z7@ookEoCd;(nu{m_dJR_H552c{V&%40E7xF_F77G&IS6fWZ);hAdZ{#Nj0WShp0Kh z8rZgR2J;*}C7u)S1TwYM&$0{YGB90%meY)oTO8_Dub8b>)WyCnz8(dBfbr;xcW@GQ#NWbJIorHRZU9Hk8esh zDW^&;g^mV5dj^p+L9 zE)|wuJDV(@SY;Z&!W#|i?)oK_LLI}ZbvnM3z8d6AN{!g>P|O>O8Tp0Ka9ePzvw*E0 zV3Eju=635)w3JveDR&p!>}2i`5m$x+>dPoT(sqq0>> z%*gU=gU0aZ-YpyEyps=3`kPk|rx%DNQ(euon9PfvxQKWmPzAPs{LeQOvQ!1|Uox;7P9Dw5IxYLe9=q`kqUzO6 zmGzz~Z^WpE>JhFUE+RrR*mjM1{t#))E>V@MJ&4>IsiI7X+X_3^c)8Yc9?6Wn-vke!VqOXa|6+N0} zXwh}r3;ZE30oe;^_%(6?>RG)H<9drx`em? z0I3svo%cAoF#scx#NFuUy73!h$Vp{-VuEmS3O$yZFPNOO6<`ib1*Q}SL^9i*MC0!* zdKr`P3%9An%y3#~C_It!z?&UT6vt(oUS%4rOzWSxpcvjgLUm9hS z{j}?%{BlYU)5$NyZYUTYm-L8Qa?REnHOq|dZM&dtp86&NSXs=B|l$CzP1GXAqety48cJAYf(9kVyaqZ=pkMhnM&>c%Ye)9k*z+@P(tXs5J#yGe2Am0&}N+PZGr=GXS|lQxVH#vaJO^e`)1|`@;zE_D%U1`ZKfH z<{-+{PH-dvvkwdqSqbU97&m^!&S1rm)@eB;X$m#RSS@uRt*FX>Pif zDEl6xY~*+#{Q2Bisd-54rCmFo5}y$j=4=Za_LgO#Nt8AAyDzrLab%$`m-$k*Gqrb< zbq_{@`hd%`+Byd=;IWV9Lvr{T-^(XT{LM<=1w+6Ft-6mS=dDeAPW=dsD9Yu?=*$9R zH!+dP3NlZ9OxH( zw-%yDVC_&vY^4v8I5IwM_FzV^gPXMOQ$(p^mebQ4UiVUoq#oi1%pnI+o4}v<@gFMW zCv`?31-Y%TMgp641Q~IV1hxx#0@mMfHJu6|*%%uWj|o!X2->J9x|L?J2&rwh?FI0| z4J;=mtSX{`8uCSct11Z<441&hv#l-}EM%P>z{pyqJCqi;cY~Fgkwu-1Pe2z3qA0Y% z)2fI(ml@eDs9&GN08wiNwN1q@%}Q7srdAIJpNVL<4!*^Carzp75rsqKR|82anxziC zYE%FRsKect+KT+tT{go6DJ~dke8Il@4=^HXvwp-C>E-(B$EnqI7nw58{{TDqB|SMs zzT&x49%~Sem8R*^B>==M4HvS{Vi|LehHXbe`qkTtFmRDFGGQAU6Kn|Y1%+=!?BWiY8{L8=`%+%<%aBi)Q ze6L@Vq&Zmmy8a9o{9W&vV|0P?RXGh4%}QWGIQsB;s zirG1-d*VyWZUB}x_8H3-Il|4`8(Zn-F2+z%r2t&Xi>-%MKB3mxRd-ReX&#amtwt~7 z_>?gtsamc70Lign*~t-fHaQpo+9}0#8xKvXVNMiSHJ21o!coTDTmoXI>2VJcSCX$D zLawllhy7qI)@LU01S_+8?i(E5et8HjHwdNKaeEjk;IUeiCAL(<;V2fuav5Neg4UhX zLK1}wsK*33l4FoG`Ffk!Unjt3<@|P7$75{sDF?S-JuU% zYq|wjU;+Rv1r-y7T3QQ2)(E!V;=^LyL5N%DrjJyKbOtF!m{MQHQ^{7}n7cwuPDy7Oa0nhlH{{W`;i=iw3 z0Bv74<0uZcDSi*L4#0RQn#1xkzElu_PXe_OYR5>t_XLu?T9Sm%E!j266Gf$kq`RXSSB9PXP+G0Ub~IF|}<8^ohuKRs37LR&+FhL{rAsuFWx8(5`|lY!9)VitR;X0`0Cuj(xqAOdq! z=q|s+=lvH_@u-zuV3cri3jCfz8VbemI+j6QEBhR=v43p3MNFPDR}(u+a6MG2QVnn_ z<4!a;qY<xV9jHN-;0eBkn6P&H z03(*|tiM=*CcQ{FhWujH)h>o5qpL1!*u>R>wNa=IE_=*+%?QcV3p4diLQz4Nq71Jx zX0LVZU_g#il=O;#pfGAwv^x`0%sIWoXyI8k29k;cb2MJ6n0#SU&P3wc?i6c@!dp~ z*x=%ZtiuV^Dg&UO-}Ngiw!D>q=q*0YV}PTt@3>HPnEAUZQF66OS0Lr)R$?FR<=4Un zeg6QtiP#}9f&c(fFYs2{3{EI+1uOnQpeIKwqF^bA92_6wbN+`?v_d1Ka==LtCvT6~ z3S8g<)dr7v8``~|!vI?av`UCIEuiH4EYg{wvYArLs~p5o2Iz5TX%k2WcI=3)bxCFH z>LR%Xhjhdx5;2D`h%;h2o7)R{BW+nS4O<(a;CBJLs$8=IgDacn8y$k)brDXE1ELsJ zXO=rq4o26g7zfs><)}VEHS!EnsK{cyj#9YPqf6schFaATtfG#%`x64jnTYbnIfN5P z)0LC}HHVagb<)j+*&A*$)Q-TNjTgFL_w&{r%Ld^0DZkrV z9P$Tptj|QpL~tAob2$Y9cfdzpAa1*d{{SMtPT%~vU*W`H1bc-bs&r`+N!$$iw-K?Z zmt6N!YGq4RU?UpP0DOP(fdNP$Wln+G#p2?NBeXFU&N(wmz8I(kiz!x^z)aE{U`rko z_=}{X-LhcNuoq5Y)*~D{QE?LJENHd*)5AE96;cV0jkQr8Ng%H+pd#F~IOd?Ry@$9gr+RGU6usghaiuCXKBKD26K=xM;f1{f4Vmib+jv{oXen zRfq`V-ep3bUP|ri6cE8_ZOY4|l43zvM8ZXYDp|uXS`A=a4>6V9z;r!An`(~QPGL#y zhm>ocTw`iEJC=V)1WF@>awJXK1aQ0f#B+QVkHSEj?jpw~Z}Ara;;Dm^n%Y6nRIkc` z_ZIQ9PWb2&Tlwn6?5wSuJeV=;y+BACzRbo>bk{9(Ts_8BPuTE-IdzNu4P*wpq8+E%Jv(4^t|Hp{Nvm?Hs^nt9xLUp3#zC{4 zK+V`WMOo@OunWq;$przH3h2Z)p}v`wS9b%Y@he{11AG-KFgC|gt7Ik5CdsW%CC;Uc z$}YKxOZjQ3V(XjYScqJ>gD&3MzEakjr*iwx90fbB;n7w)SV47zi0$nF;I1w$PQ zHQWlkb<5-^9V;8S=_Ux43H&8ERNqJ0S{7?axneO@)GJueEDN>-ROlV6KW}!azKK^8 zqJ_JrX#`9(Sz4URSpWkzS|i^#OHZ=qJZ-A5*h+9g8e0P`2M}*FF)jswqaBlmu4w+^ zR0q*$xS z4q^c=q>0sikW3pkuGVK$og@sHt{-K*U0tt7L7*bgbcuC}C@1IOIelfdKUQ*}1p+y+ zAOI8?1NG(JKcDb0+^9!;_+`Yf9zVqA{SGI2N>^h#36e7So`(BbXL=EX+5Z5tm;knh zm(~X&smksO;LerPxX2|98|akPsk#OGh_(-^N)1b0nkvz7Dvs$C@R`e2)!~7njNt{u z$Ym@IMq0dD_BRILdkrm{q0%CS%*f#Cpo?d&=?J6JA;LuoX;5yq-jVTwt=q_Cj22lf zQhg(;(4%sQ)I2T-V45r7hSV zad9Tw&Cf<*4yWrpC}<~?-K}T^p6!WF-Dz_PYkR@ITydv z63^ZhJdjDs@IG5}w*`tU^zR?9*_A7j@YFvbrnH@ zo}RG*xr`er>L#j3E@~EHW{R>>#U)b8XJoZvZOa*=#{FPyyt+D$6N#Ddx1=)D42q-s zMYeN$7|DsMYchfbh){6@w4OPR<3#&#vo}>3KLoBE2L8fPb6=TnK&4RyI32wXu2)hg zZ~p+oHy0kWYo3;^6c#T|Bf{Q4_I?DlLe0;hAJf115@&R9YEl*yGIK3;~m-y*eRzMxVrG zW_>Y8;S?;*Eudhh{-x)-+fCUKNqGoP$9cJdugwRJKbnCz781v#ZWOlBpkF+hWTQ=J zcr%HRy30RZvp@^0q7fIRh%Gqjm!O`Yx+Jg6LgPZGuFb=g`h&4p;>SckU6g_+=tYXt z0^zg8*5xq>tp&*c08s*N3xZ-l^v5{yFk=^p8WGY!^79>!xe~!jZZL0%_LyR_K&6E_ zjGTh#Q5>yD+%<0s5pWa(_C59vPsKUB8D8zp=;xTT6lU@&zhBW?U(k&-zd;g}3o=#D z0cfw;m5JaQei?Wjj;r(*i>nZNl)$4f>W)ctUjg9mIxi8PE0Rzt!)e3%oc{o+#W3Zv zGbUEvzd>Oe4bnY~4#T&w4(cUJo2cZA3dW0o@tK1U2O%2h{)8xna$z+ZthfiVv2SW6 zW059JT^;u_^jI%<48=y%Qz$$|pTjWObQtClC07q4#4&UD$%PonWvedUnO$LxEW{z; zprsW4Wyag*+PocsGrQwq?m|)yr`AHTnN?ct{-$Y^xUk@JQ944&OW3!F@?u*oiOT*- ze9bC?;iqw4Zr+6GXV&3M+Wz;ne`lyANO}+-kaq&Uvn{mlT$UnUS43X$i^Yk>MGW|D z86gFjZC3`P76$OX!sR1Q+~52AA-vZ(4b#apRZ53~V=EgylA=VdbBNds^w1Ch;;0L* zt`B(fwBr(1fTbvt=OYfwTf=Fq)C6O^Oam!mrQcSd(ZC~^AG(i_5Y&+0&J5@PCC1bn zS$8DmV$LGaHmt!H)N{{~m*d88&2Gi+;g;gLbgmY{7nP-MVi8m(_JG}2F)E9FXk0H- zF&4KaCS%&;Rb5CuB{1C@0lt7vp;iG0Nh}y4e;j}g)ySp8Kj52@vgqJ|6clKUHWoV^ zlM1`}MI!L~5}`W`#f6-|yw719gO;6h6+w0ZE})zWy@D~KCKDqBEJ@`}iS_=nDrra= ziDDE`?~O*H13@koyz1hZk^-;}4(*g)Jw^-Y2ndxMZ5UnaHoL@CR?ekpTBcskd=lHi za;h!5lZBMF#~wo=Kxwg2wDpM|U=6n3Y+zKy2g&JT=q}vQWrIHB@7s1u{YkPzk1WU& za?0&?h)xA*o-8WZO`g$T&%WUTEG0{TT>)+dx?A>~sx%R7Oyd%@^_Lav& z01Z%Lv!0mnHlQG-g52b<@(BQ8LE{uBXK;mpa(5KfYf;0{M+DF&by=cZBxW)0jsxTz zuZJG}GVk?2Q>v~i5~`=(@+Em4%OaY3V}_+Q-gS=)9%t4-dBHIZLbrPjk#hBfFmj7U zc5wsRL%z<%`k*wNFH0T>t1@V7 zYtX<9Y?420H){RGp-sgdjtP+$cY+2kV>h?C^9%6y1L*E&PdR zlVe=FJO2PuvYs+l(~@bNQvExYRA6D%!lK^tOpNQE8g&C1xq7nzR4YRK|= z0R8naK|^B7=TNkJFH=ATfYxEG^3_{LjcnFlWkJ#X$fc;F()!;G94=*o!BO!oAdHD;>>IF!2H6MUkYw<3Lbn@hf_4f>4-F zc=*Rpn-DXYXaE&5>#mSM8{Mn4wg>f4-~_$qSpaS1Su19Qsul}dtY79Zi;naPf!9z| zVzkqW6?_&0g9)IOejG<%Tk42{G2E&pprMy0g&IgiI%BoGtWPg@rl4S*Vz7`8AUlA6 zBl2Hbqs(FVu^%>9c*kT%OfotWLtDL7B4y{XH7G|hM)DAUl$&( zgZv8e)hf9lC@3@#Qq@w8S8PV3q6P3`#dAT^(lOeWj&OvjwosysZ{Y(`JifM~n(N5NNED2fAaeX8~0;UPPUqrKFLbXLhW-JoF zY;Z{!vrs6ux=pfxG-SL?A$d9KFr05kw~B^if&T!~I=^Gw)k~chUtw(4gqCwUhL>wA z2j0x(=AdTnV677$G8at_L#yr?D~4K7K`)1IY(wF>bpg^0m%{`B2iKVL5}rNwSs2SG zBt!LBDOL{w5GL~I_E-Yc39_M^_VDXR*;V$Q>yy->ne{ZhQE3oDiu+_mKG zQ&C1mn=(anI7pfT?{&DBsui9hAgZoNv^ZWRejs0wjoRel;DuVkkZ(w}0iAS~?;X;4 zFWSHhT$(Vj=>QPxottVkWJzQlOf>C6tn)wM_NA1p#g;kvUSQ#xEGoxeJcwWw0|mnP zSE!M8Sm$wfbykJ)vULfrY+3Z|Jz##^a-WMdOA7QaU`{z8Ir$O?fs*wJG&WOAv6Tqb zF*;Lqe-f0`4|RBy6a^Ro$LO=SN3rKLkX(IPa?ds}EFdO~&k@siw=79kg)5~ch%KtI zNG%NTBd-M)dZrgAu-a=$D@+^dDmFsjpg+}JhSga(fSNS4@8b)Q%ShlC%tZ^n!Kk6) zFf|oLnzoJl#1T=Vuk%nhy6b`TV5-3#74;N>!l}k)V<~pW5H@X`%2gUAslw*v>AJ4v z%%;lV%vw&6peod1@mR96QJ`3Z1KdWcjp_DP35t#gj@dX`K*l9PIzqdnFnQ!9UhR5N zp$X5i^)&Dp2dPV^uP-hz6B2_;RX8OY&gFf){$tyG=@l6wZH2K*tE->NrYH69HE?&A zvI6v_Na}UX_jqiC&3zZIvN_qCElbHFJ#soNn^lJ4J?r1X45IOyQp9P0k5U}-!lAw6 z&417a4bm>5Na;P)zz>!mcCrwY0y4nZ$DSi&FH07@$EZ48w}+7Hm9C}19kICTnr+d+ z(BO^W(K>m448+#yJLk8sh+yXZ3L9RfS~@U%4gjDc(Ax{Xy{?Z^o;b4=1HgousmLmg zumQGFtz@7MzW#>yV*daUkXk9FZGS8~dfa6eXyR8KX*`sEnZ`N@Cx+0LI9M0*65YW% zFUCgwFks1OJR$l!%StY>-O6B96r{K+S{f3A;R!DVB&-vB5_Xs)W&>2~7 z1AgsR)>nAt1yZq*_yfn`GJr0T{f0Xxgqw|S)>BFToTa}M#h7!2!p`GKIJroaqsIqP z(QdhTfQEBfTr3!$Qwg1&a}1Q@f0XjzFz~Da6+ve7p@Q)NV|x4I@1Jg>=o^Le z&MwT?pp+W`_bLH_qeODFGP1zaV~`_g(dk9p*Y6v-z=m3dqGCXF13Ih7M7)le+G)yj z22^gW(_i&Ge%Ackv3Vz>W08q6hjSvH@JhmE%kSvN07l7D-E>4r+RuNdu)^(T{{TP` zmsoyTte_NX(}?xhVy6<=w0=JS0ODb0r6(a;iV;bq*%q}|uwn+zM>!%RP80lHt5-9#@P zC+!NePQJ_m%|NHrZmVDem0-(RR*qXZLinQaRPbQ0PLa{&G4U&P2LP?qY*%riaeT_P zNxG)!_kB!WhMx{jJAYKjjQ~9ht`M@jSIiLrDY+bw;?ggqVvrJ7gzpj&#kb^ zP-qMCHyRhT4h_dO0ifsu;6(Z^E!;h$=EyiP3~b|td%`H&1gWye?n?U8Pe+l0y4CBM zimWM?pyf}E;+NU+hjpnm@VNW2XQAibnS9;Ka7(%+fEuE-dFgq-XQqlAI0 zAwhh+#d9}t^7*wV6|N$605cBxL4}7y2A|&m?N~;Fa7o$yKp38c4V84;+~KX?oA?Av zU=f0uXvR!D9>|z$ss8}u1Qb^ANuY^+SjxM()N`(FY;b>E$1N3cQ<{z@zx+ekc%27F>v70mu{iw`S}A(P@3MhU zlVx_yiF;25f+m?mqe};XvODRn<fmsKY}pF6fDz~81wcUW za^&7Z_J4^y#(Sw?B*M;pkqGiNyO)$y1>y?72}$g|R&k8R7-dZM?lX`re`Pl4WbPE1 zFcD^^y0}*Lf7u=Uft*Ku5PEXT$^Ft-@?d(NF-`6$a@%;|EW0>68QdGq633Ayd}j(7 zr>K=%wM#4Z?irR8KX5V>xV8xVSODM@gkU0tsSD4y1p2EW`ssmUKES|5XQ&r#lU$CE2^}-{eZqpkSE~Ta#lSWF}~ZD&e#@w zA;#$!P+Th6+zcNP%pHv96LdHEhpiP3k>W&K?IU;2jOEs{{{YGOb#9(MlT}M< zqqt&gDDU9zow4P@0TCXllxP~3ZymmMD9U7Ud`fVB??iv_T(&im&q zYVpxv3SZq}?MLZz_^RP@{fRMaz~DAtj1Tcl8Q6B!F)#N}y!;X@udn1P{PQVYZiKM8 z>r^AWyoG{WG8QKfRX->+5R6!t05~G?^)iHS$U_d{SOHk9oG5GTe{UZg8yhBlpm#tE zUQ`zd5_Y}6qPm%>5(sX)C8MUb#QXXX2w?1(K?S3hQK{IKuVMzNBmsL;twI@h{vJu? zeu>x!=hzbb0mcuy!k91xmoHUt$>^3)MX*_@7V###u{{bR?ngoAXlYrS>H-5uFP) zelQhq^K#>WbdZ9|2`O@xO-eujk$Kq#|T4CrukVw@XxPs_(Hb=OiM6g)U z56*%+3e(>)_iQ6kr=(()CAnhPIcQ0RjVjp^J98_PJiWYZmm&bFUX5*lvUj3YXV`|S zDaI8Py5`)c2Lc+FjlnQn&|2&>ew{7wKY!}eUF^^!24@~u7y5&IWR^I1fv zvgK9dj2x*gXmxjr1iuscHBec2kwXc}3vO;`ynQ$f%ewQcBQA3BZZy+s1rhWnf>lz< zi1oh6;qIFSxAr0g)C}~N!3@1R9z&lX`wIU6WU1gTI;eisUcO<^wc{_Gi(Q;Q1Wpqq zD1b;igwZAC@b%FUU&(rxk@5zuJhTB`p5iVp*uc>nA)zfcx|$^~d;J{7&ycUFr@{*X zoj%IKfn`oul;&*(1_Kh@!mIXi`nW>36G6B02eSDwcDEB$HgLdoQ))I0kT-$IJ9?QK zN`F-?yBrk#*u+ZcbTbMxIO=0qUI*SHS^(uKOWi`&UQ;ssV2z%YV#o&~(Rlnzfs?70 zF3nQ~TN-Zgtl_==BG|MbHEXskQ!HFiy?;_e(6p228Lt~-oYZ$0{Iw0j^ypfxqRa#a zP2z~hN@nt~Sgsr}$@MCfD>GSJ*pIUAJ7gCZd2+=sO$Kizdzj5zs>iG=r{N0!0NT(U z+-^2q2-3WkxGkmkj6)-Vx0vp1o0Ww8ORb%7#Ah%zQ3xMG&7lIVZgG{=LHqlz;1IAn zU+xx|kjb>}EG{r5k&q9KW&n&ivQqy5F*vL(5!E&4yP{z*5bx9`+`fC1YUy-o_&G<_ zi$PZ7uM93CAZ_1-&G+QyHhSz_Q0*-50hXJC&!CZUAh;ST^ZMwoyN*Y=nopQa^iT-)rT z7#U!((i@i85$&(jNPeG}$6f&1y$}U=Rw2Ff5;QLUS_D);eX< zy8w4zt>Wf+)MWr#HCfs@CnACaP* zRI^oBu3*%cj0pBjqzPlG>_4)01vI}gT~k7mfl3tG9g>xL14$`(Y_CM8ib-{^#l(J1K&4&w6x73`Qf{#JE6B>dYbR1vy-U=8dr%gY>v|;<0?t@aEC;YkwsK6JbN3^N!*Q=PshBJxZ)noh4ya+*#MH%5vJn zGi0*_3yXj&tfz!tuC88c{VTI^%(VBLg4UL{;tR~i)hN?(i>)Qz3n`8<0RgKuL0jrt zL~Tu9bqDsA!Qc)(s8^;}MXJGq;mqdSfI}R8TDj32(sg;o1rU_GkgcCr_BfQG?q6rp z%aw!T^D6VhnxD+O%SyKxwoZodcJ~+7qVPm30Lr)s`cXBlz#P-QS-IW&LoStn(8pzj z%0B&hqBwwZSiE2Qh$U_kv=HrwVP#4#$y?PxGuq$O*zTBO)@L=i9J3#TEH#{i(?JBI zbCxLpesHhA<~16jLEaqu`qUw;6<#F1FXx!N02JMA;hk9qKs}1gT&mK_yOS@l>S!(+ zdkO7~wEBPKSAdf^X?!Cn6 zV#QOm0xvZbYU~^a62Rhz^l<(n0?C!fATaI}Gk6ZdVNgQy)v^|lzt1az$jEO-*yRWgfuAX)-s zdFi#CT)kP%n#DV+QO}jkAUiZQ`mBb92cIe;#ahKxy~+(mHCzSY+^C}~M@!QJ*G93G zdI@zb4n~)+F(R>du``Ckfaif_U~_lDR02y$Otub46zjyH4I(~F3+V;7^d*Ka?|n=@ zm-dQ_!nFHv2wwV*DAzw@QB`HZ7(meI<}41`LsxF!MV7$WDh`GI_=gn( z?*|QzSOt6-_l94vT&wM0o~U2b0$Yx^hiID0#y*RM+#j|dcVUD%AI*iXb!+qVN+rz^ zAdVPS(>24|agm1ISpG)`ggNr3ul((gTRMfm@WC-Swh5-7>v`rC0*p+QpRImCeQkgB zFSF)C4rW7r~m_GvRfRC|R zty_xW#l@RyJpck|H-?rqBO-vEOJu#w%_78oRw*?{Or^o?sKd_AY!Zh2jX1V_W`vH~> z4rNrP;v3ow{-y1({KP1=d0t^dDsbvuYghY-P>Za$FfQqX*`s+{CS@8WA0q1272zF2 zzv2`ZHRVNGpp@dj2sK|~q_#p)XDrXBvlxIIypU~f$brhyh77T;Y5)hL*vnip{cLV4 zvb6+|K zrwz6uUcz8!hBck=72Hj4*un0GaMq$Eyl_OM>WEMVwtAP-6(RgHG>&RP@Qiy3i5dQouQm!(@|o<}TVcD`OwfEu=|HeLDX;qqUjl28ESh+0ijf!f6{o>s=*#G1j5 z(iNm|P+~Kp)|~180Pzq!NOOh4<+)h~_Ta?Xf~{k;4F>A$+903&q(=HZYvk`@L}*oW@~(4k-p?aHt%>3|-8M2JJP!X00fQ668_og}@om9bnr z!8KxWNUKZDk0x29Ef7$i3T6!VD&1Tw8vq+2Dh`s`T|Gm>f(14XrEw4t0AVxg0UDG) z0Sb=7sv7$%h<@fJ6;8}>o{&r83RB}X3X!q@0F1C)g4_P(K*+gFhb{xiI8=h4unnp^ znTpWU+-7Hr4kls1o4#`@D+>x@&ZhvvsOk{lg{C(RnE<4NH9P$yFBZH)@ElHEHb8?H|iqN1kMzv0rceh7O%p}n> z4FFjdWrix-+N|4Wg9Jw?DP4alS7soF{Gp9{qZbiN*D95NO4J?Oxgtnt`bS;baRPU= z)mgYxIFG`B%Q#gn#}dw2t7}yNRWP;C_i+&HgP`;xH5#vAR5u9GDW70*PMsJS9B&EG z7avQBZSmVJ4#cli3ae(96s;dfZ_UeAiqQpiS0Hgvmw}`ed;}Dyl|b92s^y|&P$1=r zwK+Nn$dE6-9`(VgmT@VnDY;yIptL@2MF4QgDL)cl{5)fp*0pS)&LY})Jhu{^D%3S3zdt*+mNsUfy*vcazH>$ zhK?#N86UDx8aw|0tYb*w)@FgSzX+D`rTY*8OLEHL$thrQ!Y{oWDs1^%`Mox5ayu0)dH75ucrjF_??l9 z0p!B6?!uionfH*mAJ}Y{BqFWT+_o*ooIs-)!^%pI(#P&0G-_Z8RN(b;_BAR;hG`(% z{%{MENrQFLbdtUi0t@QlZiH**r$Qzp7p8-Kh3@qih}lMn`*OyVU71ILHDjl^VvW-H zsKX#>K;J_Kbh;2w@Qh&Qy%>%=yDWjD21?jGV7*_qzhYfkV$C17+yq7?zp2aYwBo}? zp!#a=E-+QgQBtk9glSoF;bm(3SYOzM3S-$+aeWue00001fI622Ni<_`#yMJDGMyr` zm4~)yGW&=s3!nn`RkjSNycL=hJTn|zilew&hTX(1dabYmfn9M>Tj9j*I9}%_@Np>?+=nRv7UgQI zq88*R<-hEOkI!}!GCm$tb?^}`aEf;gdr)XP3g<9owFE&(FESK>JB3M;0CdBI1Vhd< z?|=}U14({?pQr1j$#$ix7b$9Qm3{50Fcz{BbCi{04o#{xtEDb?FX@TFyO? zP0Q|4K=STe)8g;_Ny1|$Y3z89(pkNyYrsuAB0=fN3pmtiT55&C%S*PDd%*>PK)G9r zNm+S#?kdr&tHcPM2H$JjGBMoPuwza7T|0Nor4_JAc4L`g$<@NZCZf`4Q|j%MY^Npi zQm+0mSn-Z?jL_LBuyI-+^( zLguiHp6z0cvNN(F;4!M#vd#i=e4>ZHPut26${uppLrjtf4uoj!Lj2PP!Yr>hBcsG# zmr=q{bqWPMoU7w9+RE=DC6NIQ1h=)QY1iOABHsMFD~`n((RP&Z6I~%EpuTc?50OF$ z*_(Yp{@Ch!O#V(@u|-G>+kljBaO-NH*tk~s?Op}^8JR{6k5E;jvNkbw0_a0+?7Y0J zRuIdDdPdUt#gK>qXaxtt1$QsN(2N(4Ar*a%P|X{cYb^^U;*4RV4c`$CSuWCsMk&?8 zxNq&8;CI1-Wk_JOJM5a4aWlsevF|762k#H0Dhg^pmwziSQ_lY1{{Ud+#Y6!xrKw4N zXWPxcBuJ!yCE$5#1o6>z+v2!l1-drG2`4nUk#+7fo>u%ILQF zeGV9zB+a28WrJ1Y0w}T3;A|8wu3Bgp>neo;uwN07Eu9g$alSY%p<@1@vXo#52Yd0hrZ2yg z>^^=&9E}ixQxy)Gqis|$+ZDFv-Ut4`h*-8+U=oZVY%CaSt|Y3WUxH~fS`N|PBFqSGLa)9KVcQ!6%2w=A)Kxkq5>6_ahC%_^#@axe<}0OGqCqP#*`e(=VIEx&Iq zy7-QR%UwTLf4eEc+49=zgK0P|>G1=YTZf(-#lgb>4y@DJ#fz1Ktm{EM~aW*85=z>AN3ZH8dF z0AQBy^k)k?gI25i$}m=oH34S@f!XN_;$Jb^hD0`b6EEh6VY^@QCp1MC+3^@5wQ%ik z7(^n=QmBZB=cTYaSTS}50Ds>y#lWL0;pzofuo+j=sahSzW3E3v+-{d$lTLq_Xcp*W zG}|nqYsTP8+S(=<1&rpKwG133&4;9wCsaCJj|bQYppA~WJ|R2UfU}~xi`qh+1GVN= zZD_I=6v-mlKs61252Y>_7qyOLd`QSD;RrtYbNznFnCRG>EWLN%>k)z-sT0gXwB4dD`9v@VPU#$xo#ydTqZ z*VH@_e~Vg`&6fkz3|T_nIKCC+D0P4p1bE0^CZNUb){%jLq8%0!mF|vMAg*5_mcIJ1 zZQrj;5q+O{R7xXISMuOban<52A>f=ZdTOiSv+D`d`Bqpatc17Q*}DJ*%|PdGn?r=9 z;$q@oZ-n_U(H`V6%`2gZL%3B*_(4;LE&jPBjj2$jEbJ1-EG37p4dPWrdo^v!!HR`+ zv~A-A4%7)@=?2L)0+!EZ5JaIxin4QDLiMH=8x~Ccv0AWl9E_s1Z z1kPi!+rvg>9=xR668HSX@9RqHD%DWqgd`^RgvnobmoE54Z6Cf}GS*v=_7% zW5S>SJU1(o8&FliI#om|Wk?dmT8ILy6>2?VRdlM(H4?DZNCdL}8(rJN6>8mg^5&2m zcRP_>Kg=wav7E49>usuV4s*gwK)$urV0n8l!mt`sv+)}7Zd*=l5S7NToud8-m!z)L zZI9;*wwI>~=X}9-Kq>)+P9_CHJLxjmIU`039j-*|F&OZd41vT_z(c=z-~vs>th5-3>lv-uRvB z)>Li`^{qwx{_vBW{@?yfErztw?EzP)QdrRo_L+ee6asQWr%x_;4)8!4=)V}z4Cxdo z4&b#JI64}6+A$1mmYud^wOlH`w7ap2i-Qr}NsBi9*^IZCQy%zedX(Ed{Lv*4#+%uF z&Qz&)I=048jaMxY6=m*L>4DT2NV=zv1Z%NMW$SlGE8Df1$6umf$YIYCh@~hw9YDGp zS>OH$>9d9L6u^h&eZT~BKpMVTQC+BA=6NW@BJMOYuY}1A%_8yyh+Uux^Qo{HH5a|g z{{X%%ecA+z?n0k!oIxqUXTSJ?g)M*8{{Yxv62>eKAN`B4Hk`M0_=$GTR{{M+w&pRN zZnzI(7B>@y18YwO`{W&UB}D`@gOA>JX}8YQrF8G&Y8%v3VSc0*66u2T^^0q6V;mkXv%zfs!&~ii%24 zvAF9^U*k@2itea_fsT@p*|182-e|&dCL}e1x*u*4D;(&erA{gal!k4JZMQGI)ch~t zdPt+<2&yHm;s=o(Ji&<5R9j*$n9nc9!rD4rL-tA&f;jRpThBz#26C}~X>~oV^yCnB zG&-{mYS`?*KMRHVDvazs=HnW1Vg$R$rouUDt+t(N})17D&8LiT}j zu-LMt9+_aFQgnqEv|fs`BQ_3Ql`ytX(luPYlu3%_0;<;V{8!sG~|IDal~?ZM!Jbj5ANbr zmYP=EwT%ugt-K5jYHAH;G;wdAS#R$#8k;2@!n2TOx0j%lHBBJ<9{V!SN_|!L{{RSB zvu&?)H!9+RYe)K0!=xX=O!NL0-m2#YM1VnY)uJ%L5*(Ia#49ijj!NdDs`@CXQRW!y zE{so-o$D-h<2nu_$yRCyqZ+M8Be1BW)7MVO*?hauY@wQnWE`~8PCK~m67~&6mdJvZ z6T9~!4KJHZ%uIDIf|Ye*L>e-*ZYnO03>d2izpDaM!PW>;>*IVBWP&%Sl)jiCjrsRh zt?A4b;(Nl_WCeo`95E`sf}^^2cNM0DF5Rc4+)5^xauOSE;*b@*Z{z}A4ulzO;Yp6% zcon8xXl7jyZI3t%(DhtgvSOt$jh|3$Ka*h1x_qgfIF-cVuNZ&qNg)=f?J-i)rvCud z@fX&%aW9J4)0hNV=)*OM>R=G2FD_RWyO~wlmbowI`auF@Zl|@0c+wQ6v4TDz?UoCb zo@Iiu?b!ms3qa4pH=%<9*KAn2N02z|x(QBjOeU0-e~2hHIz9Jbt*uqJmOhN((-1+h zUB{cu4D0rpq>P>ys1O4HP)2E8z@`bb2XUYa<9rg+DxjlD-%(Be;y-`!FO4FGS8OU! zJqbm5ay_#8V|PSrJx8Z-YQh1(?i4^RT?D`wwn5}OV$_W-Z2n(h8$J10wg5sMSrvgz zEQ?bns!+uT?H(+8f;!h9=Z^tz*#7_=*!3N(8hR_Fb%M<{d7t(TO$8%PFpzz94c+=n zv<7&4fpy8p2qCL$>%dz%dA2$*sZntfjc^ab5fgy087=A5DHMQs6A$uBR->Uln1L(C zW#u3i!mK0BqfCrAdVy#2uaFA!*@9-bpaTNq338Y)u|Z*V$?{vetdLJBfeR)f?QJjA zG4^E0mZ3*?0_M`TTF>Z1GK*f9fgjnT0XP~|^RtVLK;(WR0kIWGSunB}zPo!fb*lrB z5sVH=@-nf?a~+2bQjP?-s4j>r`XV$5OXC2H|@YxT3kaVujQukE|1F*4HsD zo(ARPg3eTL0>-yrwu*A0zmZzf4#&X$pov#4HmpF@Lqk$LoRFz)r;zeX92tPsZDwZ) z1)apPvmfXC3H(3gMd{;tHhxG|z=G%=N{d3sm4Gh4csxU{3+ev=kf8U;o%wKYs`oXd z;Ae%|IzvaXP3iKcx;8IXX#_Amv!YFmWzCatyCa@02-+Gx^tTQ4@7I+x;&Mr z;Ak*pNB{w&1YC0}y>RsiXyjwQ7CnGCA9#Qm+G)#u%VC@bE@G59Q7gw>0>t2-Ayo5Js zwsNeb^fr{;u!!q#ODIZkHq`_x0ty?^#URDw>6y<>v##oObZOx9k#$GfVNx38m~tbr z%+4~jF`j?Oi%P=jPCqjZBZPLk{{RyW!^%m2{3(DJ&NwGbX&vyp2WmRk(F4`F#&H9F zzS0W4u!a=*a)DR_ZYltM24OoG+Xy5oT2=HI&MLFaz$M&3@VlutG0$@4GD1Pc8h~m+ z!gYI^+rg^(>|w;!!%BC85AYl!TBeBaPNg6zY*xmY>SiJ>_QlmMHj4g?tbwqg9VO~2 zyQ^S|zMA~bU$|0f4TjSo1gag6S8Fxx0uDZfq0n5<7=RGt*4ExZ2kV-ZYqr7r3FDo9 zFs*sO`z^;sv*3Sn+$bGEz#4loP@M4zDF-ZWmQjQ7VDZNZtp+LuaZ5!K@Qk@7@Z_-2 zrv<9&QB$v2@#xyag=+J1KUOv)DZ^edUFJH0$!lV8${nhsOWI7{7*~4c5bp1B+xVFf!d>E4;N#>#9NsD%{#yAjjN1w! z{YUK(6C%B|1S@)?*9CZPB^&r-f;U5fx8W_6uN|kXpg@08<8Yp@5VQao2J7W%TKm^3ueD9SzGrz;g?!S-MYu(XYY+Y4QI6xM=3}U4Myv zb>Z>-s1(AANW?Jzqo zrM~A(1(%Gh?UwtH2yKO%T(2x+6NHdw4$;I^Kisf>h^q4ud}9KQMZL8IZ5)+yzn0*J z!W{8cxW<=+9RC31hJzt{)%tg%I?OI^Ln?fzd;CuYTq#?grXe z%+AB08QT2!4mGWTp;=(4(Pjp-2wD%;#amMoPuk{#RAe z$K8@XEr%xM(yG0SW-g6l5(Q?!M$p;v0aoo_e_|T6t&YdiDk}=tu-1=J8x+L=im;2e zx%m&elvEL?fn+aiyK^zblCJ!Y)e~5UVD*J;>lg~!@@OSxEvlzMRcASvug1$d7ctUU z1vRTVCc1RCJPKJxRffNdjhd#pc#588Q~>Q`Y1(e9O<{Uw%d2M^hNb1D?&Et!!7|hP zwfszfq|hA}L!&curIy68#~d-_)$l+rZb&vV=#?(_={7~ zxQlr*`dvqpC{U#W;vwBKr!1iDVP+sow~3;%@w=c6C$T9Ls~d!_lB1wT3xl=@-Gtv{ zK^rfUSu*XD$!<)JZZ4V}kg$-s=p22TT>z^+>e6Zl&VO&#iQT^;{{Sb!x;0hAf4xC3B3liDU2-bW^=~#hm8~>K)R*lQ4*E7q z3BX{~s>Y86th$@1d40eM!r^$k;oCEFvMp8%tB(HwtE|+(;U1QbXr!}9;`gG231!pQ zKsv!ik^R9|N4om#A$r5S9)=eBi{LA}Yh}U_j={qfY-_a{mNRLXoA1D()gPgCFI44t zBbVh_L|d#}PaHB*-~(g}eQvN{ETmk6Sf=6t3f)sJ!Vc0UBtA}wunozPt0w#Ca_BIS z2wSd^9o1Mq%=FS*7rh~dUWTk?+QW8pDnwg*mXBV90J%~SH~<}yXzbch0DlXp_3JmS zVz2B2_a4S$FpM^%Y{9qSCkW{aWH+cBs2q<84^fj+;48}muKTMptT7sAL7@Q*3?6=z zdhkn|cjV=8yy$ks>qlyMKuhHas6lT~iJ=4sEVb1Opy;?hN*6%4HToeHQ7ck$3Kg6k zKEwK>)Cvf>iY_85_R0Y0Ao;jO#~*~3nY-pJv+O-KFxj;ODGTq&W59q4RY%D#N)|#@ z?p-^-AOllD*(z?ypyE+SS{ckVTl9P*PoTon`8D_;)Eq*KNq&=jiqXyw9D)iHH)G9*P zKX4ctCO@ta7L=Jg&cFTDgtPBlK#mp2BzBB?c8tjb7yLSzdgv9P7TT>hR|#l z7^mz77vM6+)->U|(OsxkC=VsqFWG*6IA7fvm0SUw-MOH_05{~n!F)uOg-N@*hhAeZ z#gTIsR80gW{&~@8>HG}(aK}{1a@kB&QTVQ@pu9nqTbRWfZ>{ntIpmkD3h~~ODP2x>|;l;fFi39jnG?3 z_}r&Ec69PG>lc7IV_Rq^6LRKP5h{Y33#`qhRgcwZmLG-)F)O64NcAv_cfwn?2d!}G zF+jh%zbqm|x-Bf{Ys=e<(~tWQHkdynHM}doPsFydt`1>FEz916{{Ui!DG#2A>ZP>d zVJiUt0JTZ2KzG1BC5SKs4m>0R$g)4JvkWpFG`W55Fu69n~z5q$OCvZ?bxF-@J?Nbf^L7U@eY2<~XPj z865*ofHrzZ+g?}$@>Tq0b>+MurE&P&AK=#1=%=;B4s*nsSMlFbsBK?J+KhOpQ(BeR zs$p&~qW*GmxcqP$FN63b9z~`CLg~NmFQ8Hq)I#;RExZ&Z*6##OlOsjMC)jR;6;SO~ zTKUUBabdM%y4#NNs^h2?`_&%X>e~|>AxC+bZ}5F~CKLOvzJ*jGt4|c}^I1ZDzUa@0 z%lvdT!R`l#WBgnNYkk1jcwGeiMD<*9II!ioZN!PJPVWMxMG0Q|(i@WYU5 z7Fz8yDQR8_a9tcjXPbDI6tcJq!f2Psu^Ow$8i;F_-)`j=lDUJGo+Wqsanvpr(!qyV zn4qmp7}dw)qUwQ|wl3YVpVfaW$v@wDO#2J50PZlWA~Slrb*DOG)t z0JGxZfND_TnPYmGg<@;;>2e;CtV)Y6%ehOS-uyjL$XBAd#{{ZllF2BZjE>r@vUBzA8WK>5k1hgjS$4YXd8!-+56a)%Q zj0=T^6L1D(1lmizorQyv5ST5gxY*rLY0|)}yt5&V@gGZTD-Cr3peDpwlD-x^SY}!e1VTtAUP*LSl)ow5!=pR6l*S(4 z_0#%uQ5gRK8Nc}`#zdbZT-l57`~h+R@m;?*Sl{GV40%Ux5$gDwq^~q zQfo6C4&_ox+s5|?m%79Q+fV?u@I|LCD#DA^&K|9AD*eJ&tK0T|(0DNZmfFy-?bOoJ zxwu&jnUK;_D%)}Ok3vqLJxnYXGXs!ZT3T$Ncd4svQPt57wJ5US#Z1610DE*t9aHOteeTGhI} zR8K8(oiA;*4H8(c7rTK#!kA`sp`u?wSG0KWt=+iD8H)Sg5;|2wv@9w z6xyzegZLJ7T-}3j7h1E`?5a%0x@NI*2m2!Wi~#-B8mwU_Bfns^nT^ESKbYR^g0bd^ zEWLnuzL>l60O@)vH8scta(@vy^(N-^LPCuE=viWfc$8wQ3TC-wZKUF*y|2MWY2n?( zy|vI_o47et;3WpnFhEp(8}<^!i))0=-T+eX{fGYmePP@ge*otx$Ktcv0MSGYa@glTd(UgzY*JjCD{#tSa9+hy}nL=!162syA1Zg-1bEs+z8) z#OU-23c(A7wvjG3D8+3Xk&i$4qGJ7GA|0gLdNRU8FD0qS7m4F+UhT#MARCd&D60ofEdgGECp-zC+Xgn4w#1XFxN-Pig~ z0>N+im}KL}s$3)E4;&}Z?iHc6ycMuPiy|O9UlWp`GzANE zF|*GZ_BeKyT*E1rhmweMIeI6s+qa{3@MT0Yw(P8SU5N$Ad5j>PP^p8w?oIGk7XJVi ztqhU_Y&D_0m4Yr>$(iR5NVK@~b0?bjG3==Ys}#6pKIYoOOP-8W&V5ilp+9~jD`p*3 zx8vC0idrj}7~_~9bS<4s@cT0&|VwuA-tYbyw{;*Ng7K^~4@C5GXi zf;C;k0U3{37w$1iD+u#~8(UTTx`kx}gP0+UXP}5!Gz-g+U`Q|&63tJY46U!DdT?a{Ki_ml>$H)wX%oWoSp+aPq-6fbQ2qD>4nh4asc9fMZ%lSKw~pnTTI%5Av&l(Z^(r`u$>mkW z7hF}$bfH6b$6qH;4^d*4=w1jLWUU%fctOn%$h@p%Ru+z-62M^_I>c?2zFJF22EnZN zQ3yMNGkq`ujF?G>z!?pFg1QUU`5Yrdi{bu^%fsjT0kNqVn7eChuO7j$OpZj?_!F34 zA))=pFetTDWhFaS5#3#oeXeLlselL2p%^}a7(i-u1UB=xNLTk5C0mJ_%FHZ5fnm@w zuRTS)0zwwfq<1Uae^F#$_vgwR1r9cttK#;REF3R#=LY$g7**M5vGhiFwfcn>dm;Y- zBvzxXgg`iDz`FG>YH{9+n}RTj8UbCt9UKv5Na?b3jWj?A(SUSy1m^|S^dR612!t0n zwF!3UC5e^6L4-gO_+d6Eg*Q;Lok(f>K}|xFVQTlu+`}W=_eDS@2hu730M{1kONEu0 z_M$Oy$H%YY8Yo&YZ0ZdX_j!hRm%L2+N3#qH0)#Ru0^0;4OM>zaV&i;_t5mctAG0LT>)=y4qa6&S&XD{P@cn~wt_HHxJl!Z9yHS|5)wL05g3W?Rha zH=s@xtAWjz3=Db&mRU{?n2Mod^-kM}ZHbc`?5wMp+aBSwcLK|RA*AW*Gk^=b)XaEl zGXDURRP^^4fDS@R?w|m9gF2VsR*}1Ui_n19QLpo%R@^?yzJ-6JC@%sz6Ve{xr$6|- zmlXWA8Hsc$dn@*)M9{mY6`Sj1A&hn0q_y#9~GjNYB*!U zQAM<;hCR)`10(Vb7#%w-ITDBa>aY1ajraA&>?eSfV%^2VWk^??A4ys~mP!&0jze7$ zPcve0_Cg^1;%Of3l)HbJZXDIYXG90IqUWfTbGCsfdNgklRPU9caNqNYuXySL00UQ7 zCOK7HT za{xOvD63d2e&QclR!%}x23r}RfFNo(J;w}9>nAMph_^UCtB!h%fOp!)QZ}WovD*N7 zbPoQ?#lY#5YSGeMCLK8)jldjqr%`T>#d3rSmInU7%H0!p{(qSl`tt`t-GE~%Hu8!l zHs<9xe{9#PPpAPy-qTFa< zaIcVIt{B3Cj15DA%c@ehdkB-4$drT;+c}S9A)A6QUSWQo1%*Zqd)vS8$M=-$?qJ!> zu@!B48ySLf9V=`?C<`r-ySPx`TWNK`zs_q8c~@gh0kw&GQMc@|@GcU(8xG(ZG8K4MnRnhl`Gh*sB)z45-Xk zP4Ym%$#<9lA4qP$2JEznLBb`8BX3nY{A~l?bM4JQ}}(S8+h>CHoY!l`kP32O2z%x{i0ZUBP&v?{GXa zf=u2zg09uQ<|qIqIj!g;-wKq<7pVDqU}5V#hAT*B7N`j|)s4wT6*rPANT6+Ch=%JC3OvBev>tkoPlUcb)(>JRq;fFVfa zNDD2wwsP6rBMuQi2?ZK8ue*?ZVJel#Fb@9AX{IF4JtKtD{d#?6nq#2sMkBQweYfkEF__0l#2?G`X2#!;#4@Z3ddExL6CJsh8FU z*xreGVDxn>0e5469zoU(Gc;!CCHGStJVIG~7@N0cQcF=icL2as%(H$}!L@+D_2&w7 zYYwjuWkNrZW{Ze2;AM}D)H$M9D1Hg0S8=Q{p!FGwxIxrig2hG`ni|J<5Z%U<((ULY zS43GYgc31Mu8ECNl=FI102HaMzlK^=G%b&UOlI=|5m#+X0GDQ>g`os+@W$w=sFed( z@q(@A7l2xk1<2G<^hWAk41FNx$`I_+5t&)v>XL!L2)TKOjJz#!L`8#e!|5-Q5TVR- zM#{oxKFjhDZ5ZK?2(xFA#86mzB5X77uKxhenN4IFL7=bV0W56n{{U%)U{U1G8UcSQ z9#?*L;6t*f>f>wyt^{(aPKe;RfGu0o+tKn6)r}^fkEFVc88Dwag=$p5{{So=Ew=U; z)7Wy_(-efPt@is4kXJsDabdMNW+4M*XP2>RfU=4J>Zd8&!w}Wo!b8U5Gc3 zH!6u^!<&{YqBe65;^U}CW*HLBZ3WWRki;n9KkRuNF}G_ovKt*IWC{xzI57VJd8|>< zDJGWk18mHSWw-`7_gxKwpo+aJ?7gnjBwgo0{{SEo0f3lWn_JNuox?mK#X5v*6J1*= z8GVY78Znz7SeCNppbQA;32(f1MN3pY;}vv**Udm#Mks8Ch!(HxWmH43rtFTLJSk0_ zTz8fua+>t=S;`}wo)#A9I=W(&xrcb4s_-PR2O`&5+Q6w4z)p70@0hJ$CpnKk`v7)?pV+*=MVkOTN6A^WrH8 zPXmI-$el0`UY!I7CQA~(mmO<49??uq&IHQi_*P0JZ?ErP#njEyS|b^hHwB z4k+}noteO;egiDftJTZ=F_w>{GPnZZ+l+xga6!$H6&GYF-KAkr6|tt~UEA=`GoRj!23$B;)n zt3z5E0F1MH8ORi?j!pY-<`#*fbX{nZ(%paUB-tftAtdWh5*{jGO4nbxbo*1t5OK7f zIcI=O#aCmRy)V3taSeXy#;20HMtchogSOL4t!YjVsom9z&khW=CehB@<4O5 zQ~mlRMAMLqs;gksZTT}v&t(nsvv(2;aVUoP&gLtZwp#>exV>eHXys;%KOx#R84=a! z$}yx&{7@do*YXMf0L!K+5o!>H@kS?$MCA=<_oVw);K+5(^v#|sdKw0qiSp^5q){Im zbR7@a)F24Lt!9b$nv7)8KbNr%4$Q;yreZuo;)(a3gX5#Nz9A7gHWHIhDko}iB#4cFa3-9Tg5X0NGDWo0Aa7KP)>$4oW3+~7!&(_g;>45X-w20f zU_~!UTTx0h9Hg7)YJ%q{TAo8A>Cu$x<9wH!DV-rQ=g+Mw5_Yba@k zIMMfi&OlZxHTS4a$UUNs0h3yv#)+uTGTkxM*LO-l9G0Rn)btgepZTDsik~W3cjFvj zCrFnjiI2v+QTbF*Mi;v+)B-&iO%#X*(JoC$;YNZ75Vr3n^~Aex3=cMR5xF|l5&aMA z%bcE20*D!JAn(R+mWbX>7S;~w)uorZ`%pB;12ppxcBNCDm;ii{KW|lCN=O%$7rJ3e^-q*Ksn@>H<&gI_U{?Yi$b+wp7FqOZ_ zPlBbGx!I~U?b?K^YY96tK-YG2K$|b6+DEXA&v4}E;!I@JO_j||$`_DQNM-iS;VRBE zlI{DqELuXyQwSMjAg=Prd3Q;mdj1~pa45MWUbB6I`-Ni)XmrII9>PHK1AbMWn|y0n ztk!yGq(eNLB%PUub=r zcjX{BrUUWzFU*FZ@cq_56sYWlsAOWDaCW9ZtIK2gY(Fdm;@=eC9DRa?8UQ{k9c7Pn zD^WRgI%N6GMtE{dxG%Ksp)^}7++>(H=(kr>+@Rnzo?DrDLmk9!1ll2m2pw9I+H|quL@B*zAsaIR!1c{ypZfHMJ?Pv20AHs60OYa- zBVf_F6>@U*n#}@5Z$-(ZI-V~H&db{V_;NV*AIg;pI@3f!)`}IaPBy5QG~)@SFu~QJ zww7G>rnfP^t*ib!NGMud7`xSLX}gZ>llSg~t$u`DKGkkH)Q6u-NK$7hBPm0xG0EGc zGQ}osXZ0yV&GgA(0FrQ(H0I)6+EM`0yF>8l(U_kDTyzRa)o?3Rph)o;{Ivd}Cp1PnMt<#G-1zo({z43hW2oC@;2F1%#-P+*Qn0QOxfsvy7eMxFa-+`7*ZoRu}_jCp@b?6Yo*B<3{Z0{I~ey ziX9?`NxzCE#&*YHwWkaiG~a?F1I$6vJ?{{WTP*Z7RZJkf)4SiW4h zQqR8<2bCFVTQ$1SApYKZ6O*+8nh}3(@!}lQHr`Y^NPcKgb56fC55{Am^5>&M;-dTN zvo=oEZ|T<(pmb~1wc%$0w77RIb8>E5cB?yyEs5<`Xc&c#&)`!)Fgf}3#e!Qcd?vuiZn1lCzPafA$w)BoyP7X zw}|ZS*)?Ssa^g6}$E#d4r*HB^`9Z=1OiJh9xHcJ7O4 zBaUa;y-d#gw&B>S((p|CBOg4r-a^gndtf=Kn4dLq;=_j~8Dl~>G?5+kr!;`%&?OBk z0yZDEKJ;F*N81;etdq)zOk{DFfe%jjeV0?7PU8b&KwU%@%`Ac{zMr`%)~sdh!90sS z&v*@uLl1IF%|vkZaD`uLOMS;F6SvYM^Q|9Xq-^nMiN>YWq4^*A$5dj6Ws+Br?CQl1 z%FgfSK}jK2(Gu1}6$-VBy(&ji-Nu=UIf%No9gCY|0SeHJCe-5(vflcA%#R*L#k?|q zt!7?HE+>*Pz*DAqQnq-satvX%jC@lf5wa1AZXhiVWHR+bsM?9zjABEv?Y_Fw=>GsQ zAdqsVkhk96L!DT*4$LMw;M=}8wS6B?-_2SR4(?al*hSWi-_|wM1yV6j z5PC4717Q*lD=bJESQ!A2tbu{#wIB0x{gXn!?P>kBK|z4=$?~nq^5AHr(u`(@vD@;f z6uXm5$b(wWdgh}-?jv7Q3mk$4s|S=$7Afu^5SdmRt6hZjbNMNM6=O*gkXcgTfEJ~U zW8$Mid_}w0X$O-`2iQ)B?!&m7ExMf4#D}YSkT~y~1eEJ)K|`xnYTnuB&arxP_w=6T z=*@*&C%X$d7lWT^+?o>eIX6Vh1HMD>YM0qHexFQ-~OS4i~**pu|Gm;l^jjpRC{QLK;*!YV>R+M^@upcVpGP+#M;($u$lDq?2A+5)`ImbUm845osqV*YK?l^y+w4>^ zJkAj=nITW5iqhA8+~WD;^#LOikTOUVLuk-qh@#s*tnTDxsIEq| zt&T1HkBWvUmNRoZ$t2PlrRwe^v<0FIXo6`aHk+C1NiETXMIr<8D<#f|KtZDPkNZ&R zAL;OBY;mX#)ap_rSV4x5qe2c@R$klbDZw1AWI58b{{Z4Pe*VTesLwh+{{XTDq3n@} z!mYRwnsy_VJC{7G(;b=3yA#qW-ZXVWhIO9Gwa7^6lMjV6NIJrRl>mIuB( z;`LP0QPSL!He%m2zNlkP)B!E8IK;q%s{>G8%?}id)LfFcH#Yr~ibgBqt|S?G+p{8v{%oFtWDBF#?vWFV6W`Nbah?!Ow zl6h1!q@F(PgXN+8NXM5!Sf@WUDGm)0tviGpG-`P}R0ktkbTOJ(VYpw=u>eChS?r<# zRx5i+-&n3fgQZ2@kM(1^iLQ`b#p+OK;ySdn5+lnhT0nVJ{-yrceh*NABak#*B%VlY zp-{|R?9`)p^;#4^^OU{wOGxdb-tzv~K_FP_E5X_9N^KTJ?pxS0%!b{Xf1XVcljTCj zo=t8KAeQf6ryYGsrCBF^W3;ysA)a>txt>`h-kKK(j@>;tNRfyp=Fa*FNUhCoYjaXK zf3nO(W-f{{b)ksG0omlK@`qg4!cipob#E}VTPB^dYa2+5SvBx zQ;du=&N!!6K*K)bC_m!cA@T?hi9#wrzSMf5&lda1w@pFu1g$aJDurF#EO9m4q_NLl zn;zE)%sojYePy}z3A@FT4^q08L|T^eXfC9PTwO^%HpMCzIxncfCXvqdinfv&;Y(>} zf=C}ns0N5lCIWJ%7~?{jK_4nX;@XUg)KZ`ai~Ri5){@H`yy8lN)@k$F9-DZBH0>Zd zy4X1Z<@zXO8$~7gjCQSNxp2MN+E7hH1IXb8yb!qhWw>h$_LF;94#{_L@;H_4Zse9w zSw7y-xuP*h0u7jRC8)M(hi}CQBV~WM_OlTsL`Ra+e>X??=Apsyr#gxwKqFT0H6j89 zAm^h&DUMAUS3&T%5{^|Is^cqI_I1`j?NC4=`+~HSqBWBhN^a7-T zE#o3o8y#vr5Ydd6saHQVTk%>|Cz7;%v$}^4HeX~QzbbT3#FtMfPWgVUndH0Uivn6r zkUN3R$n2J<`_%A;j|b)WJXcyqJMzmL9nvKNZXHD)pnGNe>rnlQ^+x#Bk-KJtB%Eou znnj|A$x+HUb-J~M)$XG7e3>Lc1)AERd(ZL%1}?T&0@`$yuI(*aQ;BWiwv5XO^^2$b z&o6Py)Cw`RGbVpmOGyVAC%U#!lB3@`2BnS*nY3pZI@DJ3Om#`sp|n_-DLy*sP~FK1 z*#*U{>8$fQL2h79vBUW^(q^EyK!SPandWluP{d?$8s5yV;yC(Q+JlRkNK4rJ@Gqxa zl;5RqLp%Ko8+}Z zI1giU8&oaM6^eyI4718jTiZRvnhUwsXW`S+n-hhmT^z4l#O%i$6>R1*+A~NX8(sQ) znLDp@tKu|b5jCVAlT=W&t%NZYlR{<+y3hojsfKwkMo{CHT|9vr@sYtA&?Fu%05t27 zva13pjMf=EM4*kS5XsJ@`}8gF7LVGaO&so6o=rwB=N7e;q0&M+A9zA&sT6;$DDHA^ zWPf@iUY6kJYMHk+YjR-9)%AglcVhJWliQh`*>(pYK1FLD2BZogW`d2isNnCoN)BT? zAoY8M9A5P#iVjydE*vY%GEByRT> zhmywxH>dOqNg2{boQg>|Ayw>T&+5tQF~PNV&S{{Xsy z=2$1n_IU9|9yGrIw?j+DL(o#hA9rs1ubMGDTcm$|sy~wFp!?GkooeI&Otd9GlPAW@ z?{E0DtVfMPJ`cMf`4BxjM(`z@^t=>^qU%FkeuVJ=45#%t6|kLTY4^ zGl%XP+~TdSyG|ZNg2mz5+G%8kHc2IEj?V;JuPE^d`ILfwEMrZ~vI*pylgDp8*YQZU zD;*_zXaV$P(}-gntQ$1wHHK5MUNU(dngOI6yrqJ zfzb7geoTI7wu5So50hy0$_Uk;bj1UngXP<9fRO@LpF29K8POabJrm#-XnZIQt2%hp zziR&gA#3GH>aYW~86$M=$Bv(BG%0cAS?eFezrP!fkhTq61DcBNIhac=%n`u^j|M1o zxy#!}DXF3{IYyvr&gB9RO{`BJDSR-V+_z+$4nrvuX;*Rp9It)PY|KUg-S3U&cNjF49~`D*4tG`Z(&%L{YuV&vPvPd8=@3WBQh>IlCpEqtDB| znIBQ#Z2ny=VMma&!#uZlo2BQe;zQVGB<$AUW}KILWAoLRo{56{9m(kD`)%>982(9Nb;#q2B#d+Iz{)Qp}4Tha(Si7Y@lj2sK4)7*bY?IuzXQ~A20DX!0#IReZGG~ z>F*HbcfC$bzM~F8%R}Khvj8?|zT10(lj4h^*{UzSOy4@vRkTlYYub)$c_BJV6qCeR zBq$#5{D1%=e~?7w6R~r%6JJAck@s0#q1vAW?6Ah<*Kj8qWd$~?8@|9UG22avbUssB zn7FbXO(KCHd4I}D9}9UsR#T0e)R4D+Kk}33Wj&kGQo$rIqrq7YV6c zbcAs&Kpy8K@O^~fZBed~^iP4eu>6f^D<^PIEEnh(X$k$>QhnR~ib9zZnY* zYP~#;wWa9s`qzv90MityAl^1me7gX6=_1klYbdpn1GTJo%aIiLulY%t4$Yw+CvY~b zHlNm^;IM#n#I<%Qts9H0V&3Xly5#We28{R@Spxqun~s zAb#rq0FjdiOax9(IX*e3C{S#4j0{QGkn=W!@P=1_G;Cpp_BUniC*|2nR0E~EMyK`e zt%O)~vYgE81Kizj!7AR_=Y3XNxZ_h5sH;0UVwg)Ut=6+VL}KbV(yru&8;*1O zlr!UW^*4{eUq@41Nio^>sIOi#vInvM5i-59$z?{!;WEv|(NY$#sR1*HY z&|F%MO5w(=f=CFKBYST~>eTV3^vMVhY(_ZNYTou(MzKBorasXot?cBRl}~h^FhD&r z=QyUgj?|Qa9%&Hlv6E3C8D?07$=|t>;X8eZD%Jrsff`Ry1ZcK*vRsoBpGT05qM18x zQ>Mkv%@XJfH{8=UPf|egj1?QT5&+eGfKfs`x(JBy)rXIJb4)M-^kM+jK=_~r8600b z{++VgqHW)Vl}%T(k+PAmvmGb4j&X?(e$VEmNUz@!6MN$8deJtQefVo3(CZoCI=R3t zN$?Df(48Z!)scSq?KR906ZEd-$#*>r4{{U*YzLp*!+Kb4`+a256sz1jGd6irf_!xY&49pV=o=N?G#JwWc`s0)`53Gn|q9R>SsiOzRsx2e@rLlmI z(zU$HvP<4d4jaY(TrC#L4RR|rA>KWzB>wKnUjP#y^3jvIk20?Jb#cC$!I zos|647b0X3O2PMNrFHF`7;GhcZ7iuE5XCBjps08tIfMLd(;u5u(ad)9NN#3!K{dQv zHBBIUaXfYqjQvc}z`ek;Tu(L3hI&l?STxRyXcc-+!W&U-R&$6Y64U7NaA^SY5~tps z_dPZTjTIuXxzdYfk$!m>C&ruXJ>La6VJksL{{Sc8Ytt1RLVL5nbp;jEi)thq#FtKa zDC{}qL5QTE`x6=l$82+j_m3Bc8rW9dI7IDVlh`%)hBnDUj<^xQabR`BX^Y zjw!@5B((8Ca*r*ouVtlf?9iB8qglXblp@^T#*-I_UnRgPd2w{Q2%uZ#nF3s!SWXH} z9Fe(4w_lB@$CJh3baNa0CyXAiBrx`(XN%N0(?(G0)f6uw)g*>U&a%S&=sT{_Wr3+2 zNKVYcF@+y7@wU2>*p`Wyxh&JSW(0{1%$=^qB0Pjfl3jf;5J1;2FUt{-RIb1hIJR-gM5%TWC6XtN^psVsk8+P|C9|Q7+fQ)|!1^^}pkd<8 z7tJhK+d^QEp0YQ~cTzr4 zD(m~0BKRM3fJUqdOV)P4eljLl@+f~8TX^-R7&_E91GZqC`dt42b-sY5rnD3%j%qy3 zXz9?@P<#hrCib!hw+`eYNhyu>X1K`cj8KPLt0$jZsI6fSBSj-A99j_$e^sWkxkQSc z3OS9Va}$SFjyuhs2Zl+Y8(DgBDCs?{;u7)6av_EU5u1;WEh#iJQLE=>F_~ltmlu%2 zhT7RwvDx9B;UuD_X`4MQt%ISKTf2_=sN#PV*&zG(vMGrsw%f>!dZ^sdIXim*CYSHX zpJ4ek{{Vie{g|Do3St1+tx2A9b4TI$h!Z+~$D6A%Uvalj1P7 zXz{c%Tg!0}vX2S{X;9itHp>ynI<$7*Ogr~2duwwhXTP*^=5(V;bsf$kx|RcJK9a=^ ztg*D|FR4g~BY`A%;CbraL3o8OZXrp~HLht053^iF3~m-VCUAace#9#hMHd}Zj*ajF zts;`aSJa#9W>0eJgK{JqJK=HCOhJxTpKIW`cia zVra@g9&UAQKB`yVInXJdp>)R_(Xah4SdJd19R2sd62N`NmM@dNne5K-Ry4x&a0GtH zZQko3NhOT)ytVZ9H7rIc3{H9^fQ%U<$0e{ij!x}jzQ<~@zmjrRMq=k_2&gWmfaL|% zwCDBbgvB9<)sQkkKCPrlztpzc!ZWR0T)gCOY+gh*u|*ZUFWqS_p}Nn0dubt%D_tNL zMONA{S>-7Ngzn}*oInCfWx=fUwLt=XV^k^mRLl(q2sZX8)%B+*98V4l(Q&TT+%#Ak z%|G96qoNQGBN@#X*NU{cJai|`4%}90MYJyUX>QTNk+A@pDi4q*A*)tsQ~qy{oo*(6(N?P&UK!Y17< zuM*`1PWK5Mhg*4}oy1OJJC#=f6IRg4Viq~tJ7taratSQ4NMkt>`h==-wF>+eqJt)a zjVna>twjOzPJ<0Xt*xGNaXrXH>|53<8_D4QCqW_HQi znh6jB(E4nqO(pdZhBWMEknpTz(-GpmS#v^H&hONCbta$V3+?y-vowV9T?z9f3e=w< zHR89WUP$1m7bAYMpN)EhjvWHK@}zQyk^6qd!8UVu{p5ZvK1`7!yq&n&>E=TTDUdBezBD|UzFWr_jcHu9Aq>fJ3MNr_H{i}IqP z*3=~*nFT?50tlxzmhKBck_Y0_s0WXxF#xoZO!5}VsG{DP(FUrYV&2wm2Gqz|qG)=yKukqR3OG%{M& zYcvI0nAL+zbpe`Rs)?d`902N3%CJ&Ss}ym^Xi{-)YIv!(k_%ZD;F`XWMuOHXoNLn= zr;+UKQZ?vG-mOC{HD3k@L}iwP)vQk#KsC3dIt0s-_Ws zIxxZAT5*F&02-{0BSv`@?_>f-wzf#{mFdK~8QFiYR``%I(WU_Te%<69=>9C_HxQ(a zf%uR|vpX8}yTR%53u~Fu4)g0JuyiVhNM6|yf)nEeQW*lLs05Y4jbS9~U8Il5#T)&j zi?(;EBpB6Vad@4lWhhFv-&JO77(HhOduZic(%Ve@mR&7TrDv7oJ3SLh#Rz4d*4@CK zSYo>X$2{JVI!TBkwUX4C-dQG_63dfQ$WIzY2m-CNfdrX>f9)Av&Z|An$|6fu7dEEZ ze$^W8b*YF%){tY96P{f_rjzGXRFH92S4|nZH^&}?lhs=kq=`?;(w>rFVtnt8NB@0CK|#manTd^-qdRqA8_E`^dJx8lO&`{$ifeSX-C>0L|D* z$JIq>9pngzKCBoeWhhxqBg<f;SE}sK?DQ$@Y>*h#KX6tl(6eO#c8(v7m@(jM$>2o^z8e z%0ou6nv9;`Du13USpDn7HqZ4*6Qry0jC%;A``4tzQr=~6{{WtXiJ)sVSsZLkh@WU~ z-4kV76LlYQ3wRRO`RDZL2kV%g3Gt-foE`UwS;HP>mfrHo(?S-(q#D1fzJEgI1(w`h zAw46Sa63_7YY`U9xAjOi@@Z8#toC!cR#`1)i}@CE1ue_C7u;&c% zR7;X6q{TD$DEzL}pE+7F8Y)MSKdftDKFcS~G7-wZjrO8I8vAom{oTEor@4kdGd#1t zwzhWZ2MFD5+`vQy-wnJr+6m+03R4TFVm;xEI@KtptaL?H!?^9 zM3#s0XvnSJ*#be>6aq(0Aw45~4nXopkFgEBM)s{*;>KJ2Yjf0(5Kyk-hfh`&pkKgq~CJy37AON>O zNWUODxWPWg9~J5V8(B7kcZ6)Mo`6(i=9uL4&r5&3TgMu2JmyEfh0D}ZlyK@&IS154 zVlNZQU5ARJ2TfUE!P=3-%p;O`(mC{A$lS4(SmPSeoPHv7HMpSSpuAMiYFS=K-TgaN z-gYc|<(e2Io%BoC1d6a&J4iIZwn$0?I z4z&~RHl#v%R3+cVO zFPz70?6&FHgeu~lc_``7f-dufsjMf2Z1_rukD9Rb^}2+}wyO_jOJOn;krj*(+uIl=KASE! zh})P4`vPN{cymYuV`e96PZLMlhw*61$z-;7c{O<$B3J%u>0KeOkH@6bB6&rG95GiH zal!Yrfx$D+PTGnC16s{n4m(p&tMoEJ>aofsjU-w%C*H9`;=IQ}`y=5!&fiUUyL(FJ zuYgArs~lohi~h++29W+O8t6=Y4SngG=T+{Kloz=jdTv3MqR=MPOU~jo7h=o=w!e)5 z62;QaN{H59C^V~@}+EzeE zD;t}~Ng}A*alcq&{F+C}qIT$*BU&nay|NteQbG!|i~+Msxf<3I5w%^+Ol6KW>2)-X zAhv=V8*p_JdR4G~2F1_AL2DEr$3~z2bTtR?(V_EKFW!E_fIk{fzRX4|1o(tCjXG!c z0L>Ghbg?9;QR12H96>*}<^u7&6(6Xoah+s=#_9@GV3WkY9JG|o6O(+s5EBldVNTIY z+cb`w?ufa~GMHbDT5mP9kSMOn?RTivt-=?9trR7V=JiO5!Nu!lNnDge1|7iX$FhdW;+$aBD+MnB`94 z2F)62$(&>wwk3#elD6+xBQTYwnFR)syltZOC^&CLEWB1_|MBf%(fab>v@TE%Q3wvq{C zvza6jGWt~KjX~+MMt7d_@$RH0gGps;@J(AIVNUW=)cE4z!ir{gUN%^QP4Pn}u83zaVPNi-OWG!786M%%v4P4=r03I?Jm+W}4l znbi;=)k|P()(Sti`5S)0)(9?Vn)M(IRs1bnAm8%<>-sy?z1wY=Ia=Os& zc+qTmml)cEx%Z&?qI3HsWNOO`*q_pm)NS1BNWr{%I%bvs02aEk4mX0@;7*$=j; zYtfT63lfKC1g!?h+on21`Wkgd8C8Der)Wf>Q)XL}7}Wwqe%MFiw${DL#8rDgerJBH zfyT9db?OPfYAdoPCgnOq6|~_MSYku8=i}JS6O%-R-=F^g>DDIFPBkoL z(^`oA)~+t2gUp$(xJejE9T8o-kGDbr8nA~RIz1MU5Un-DU~-OBamJhFkyiS17w9Aq zh+`2hD2|HQpaG%?>ElEcU(Rlo-S@JbeDHK?m2P10W{{S`GNAVzvhTchz zsSSyMw6_;eBKR@VXjO$3kRmgd!6*!5KvU?LL5E9LjjVlZMz|*kpM_PR81y0s_HsovCw?TYb1&> z2>@zo^z*hKRGUv65Ji-L#Qy+^K%b-L(& z)XGtIrdRS*5$ne8F$|*QI;MGu^Wd-Xu?Gf>S#uh8kK)khl}2;r(GxydLE=qgqI?=E zM;48U@eYnTD{6%l%7U3u`B8=yeW+YSoK((eTpDCag;*I3Cf2RsdE6pjOoWIaf&T#I zIKiVvU!4(S0PM!J(lXT_o7Jj!4$U;bg205Gx?SHTvKM$EmgU9G!wijTPnZ#?`(ws= zL*vV0PZ+pyV(3?Qv&^$ebhjrUGZ9gd<3vyz(+nQC{iF8%;xopGZ%-R2saGRfLUXGQ z2U=wgHDeU^X_!!?$R&^C`Dt4~Rh4i$Db&+|Ux6ij!qbuA*Z%bcxYfD}$UPw+n-C9{ zH1Px;R1HY)+Sw9#=Z0BORk%5+eqM_gI;3b2YPq5F#-vv`RcPOH6+#gd3YVOk&|C~u z_azRi>Q_O@i6d74D|V0MAy1|?tEY&U`&N2Cfu=a+QH&s3b>9fFf4Je!Xs%GLAii+IH%igCIr}h2TP~fY2e1!wsJ}db-Q2_C1+wpAEK=y>mZ4AO- zCxKN_%b}Pb5fyfYD8*)h(~<@U#Psg}0Bj-UTMCUvM!iASr#~Ag8u4C@@OMylsHGUy znT$>z-salY7vnReDXnGXpa5N0q5wHFP9vt2$U}5Z50+~1yaDA~J8sb3>6;v@TtT&N z3F7Iv*1NwtwmL3MnW77wn;EOAw2j?ihqDlgO(DUi8o1R5$#H?@;I zmw7)SDDh)Lk4$glr}it3RqZFi$exoUsrD+J+U?$}Tv%m${d`bh!zfdxDqo6oB zGaX|{LUF6Bt5{DceMZtj@ioAPGb1OZi-0A%gVG~O1Bv0#Gq2dxpYo-BaJ4y6hfsbv zpSHE39v$4K)dzOUnsi`>fqu@H4jPPaa@_4Kf=(_a(!~i@I009C71Of>I z0|EsF0RR910RRyKAu&M^QDJcsAOj*WGJ%nyvC%@o;XqRGV(}9*a)OcsBcj66vj5ru z2mt~C2|ob+4E49=RPuyy9i4xY?W@=sV^RE%P(9u;)_LWm8lqJ{( z25xBAE4m~$3;e@;hMK2}n~{=?@f?Jq$S#wLD}yK0D&QoCJus>bzvv{%#%c);Np=_g zJdL|a`zf6MIZp`nI|Uo@Py3)i!~>8jIYnhrZ1zC9@3&N3YH+e5&M(DEOLAM??5qto;?zWu08*p^O%^8jUesN4!;83?&ikUF4& z?5gLO`UKo@eOGLe>%}3UxzTQ;2cw49F=UNZVw5jkSxXM+>@VAzsg?XHqn4tboYhHw zYVsa&$WUR}hy0*nDEXlKE{uqN+3ckQac>C8NI38aRKJHQv29I)3`QbR5i#Bm?i8Sc zKv|G+eS-eOEG5|I+thg}X6fhZsh7#*D59AjQ0k=(3H&PKBaL}}6}t-IOk&{<&eb|> zgvaslEO|sRH3<$|B!9yqqOSQUKp(lf$62Cy%8!mXyT>o-2#|o|hG72SDmTFLe%Ns> z4@WqSn+F# z4Tx661tl2>zK7*V{{Sz|Pt;KyYsvf}R7;R};0fCR4-sfe5!t4L_)5x&$3?{{S)p)HgrV zsN~U+c0a-3gPs_aFAPw$Q?_aW2!evM%$<7=<6>Lc4-qhns|Lp*$bUgZ5$q^cy^6Lr zt^!8nuNbaR{{SnaX&8@MT9K(MU@{mPWl`jdoGOMD=BgNnE2{?J_y8_fQV~EU=b9Wb z{^2*=CX8k$=~NuVWDY{4pu|kWS!h>M4C4MdT_+G00=aF0XDEUw#7T5;o6`B99m7R& zKTxR`SZWP%pkL-6SZq$K`{;`vk_Qmp5GG&7i=u#w%dAHBQfpng?aL^?mCXhtC0q>g zsz0mP>{RTI0hjP*jD&{62~m!@C;*D&N&GM^Bk9jW+LkDiQDTWWRHk@gCNt~-!sT>u zu!=^qT^mIKcBx}lbY|XK9dPp9Faj7sHVv+d4mhFuqMzU*<`^rfGs2-%cAg(AtTp*W zkGAQEQG{(QO)^w8{Y?s}m&Py%v?x4u;?o%zhY{B=Odvca=uS|By+G!t=!3xxHHyKn zs)@V=m1Bs$pkW6QC5BR|!Ppxq!5JhUaky0eNl&IU7J>cBjGtv?^*}-QP#5>uu9Jl1 zCflxnZspl@V8eHJAKib`hcuhdYo?%fqusElVN~O3DY5}byEsMXBaeq_QO0UmWO=Xa zuQf`f0k_Wx_(_(HvgpiE#Stt^4j>v$Vxi!Q8&n*&z^WlAYo-_F2q39|;)d&_5gd$) zmNWs$Gzw6&k|^8J4j3Vz{#35yGmGQJT7w~yJy9S9NkO3jfXfV>bfJwT+$VHHLR^=V zX_+hPKA2I-@>M-i_xlCXMBC%_LzfOk#roR){Cs!3VEDIgUz#Skm4WGT}Z|N z5Z^aBHWfz+wD|%PRl(E49%B29)DazBy%cdnxPN5)7tEZ>jPT^9N-iI)b3Xwd7-0@h zN>D-=eC}|WN39T$$X(SIc*Y6WDFwrlvkDtY5LFSlB9zL&KNCoH_lD z9(nc_?efG*E9I)308~(uTv?*4({v0X+hIsUn=oAy#TCiVPizB{i;)NfiV`wKkU!!E zabsy+ba61#l8-%&RSgY68{k`D?z%^V=^Q<1RKb`cg#y|3075RpXUAL&u&SJWBY~i~ zQ8~uG>Vwq&6PQ6@KXDo86;GhclCYKsLvIBO#(SXHe&hB}5j2L4o1bPxu@eTPOng-b zH5AION~(t$6YILAl+`WzTA$;q-BTIBL47scVr3MHJVqBMF}8>}xJRg9k<4ZDk9+`0 zHx~m;OBKX+nhbbD?~NUFaELN9_fT+0m5!Qdq;N9G%y}-f5maT78iZUKgP6jqosB>- zf6I_@Lvit{>p;MWvj^{$wjcp=ylafE4mIn zdkXe6#;4G70}Ow*$8UwzpeIb3LC2Xg@==&cpfmLfqNotpLUIH%Pd^k3LKqW#^r}2C zLw#}!rVZl$NKgSgfu8HT5aJp=u`K2y`cW4+SCH`ZzL9T{PUet`?o|i`KDa@|0dY1X zGk8(gXyUaJx&ydtb7+o4-7_jK6)tF2@IHN zMb_(6JtbhH;)EN_HdDz+3IRdkgvmjRaF@(|h{nXRqdtBpOm+d@njnQ$S=Dn;b>R=i zXot?Is0nYngXhUeq9BBab6+a1lmUJz9}LiFDEB#+tkEQdP@Gix*>s#h&5W4m3HJp& zzM*tD&Y^(tx;Gz$&_fSeA|&l|sqE>0#unuc0LS+7-B4lq3Q>9yn!W~=9hLbn$xJGV zYzKHV<%9wtYoCF#jK2*HM~@{!onnS}%af$xhyWTYOCpGiY(qCI04hv?QL&*AhZ}_y zF$))OLokH16Z2{!gfRhE3;^6NtRpL*bW5l>nuXZ5PjnmcfKYKpW&tt+#OAsvOH-<& zlAE{#Jjv4=%f)v-qj<>s4oUQpTlSBW*iTIM*PAsZKXsKpagjlj76@Wk*yN=idF}9| zebkS*UOlaqjx@kyFsde^>ey;(6y6gn9njhw{sQRX5D`IL3)WbNWzukXI4^OMfJV(T z6aN6Yg#sXqm>>h#U>sOGB49Zgf`E<|>XIB!BDy{(ZPf@EBRWa;t`HKX5hccXJ{3if z;V)Q6x{rvHQ7;3Z+m?&FVf&lynN>JcuIv&YJ~+wbgHR$+o~W_@Rem`;gxw#s-@mSGj1 zH5kl#qK4eFBARcnB`Mm`>9zYH@I_Id=OTmjMu&S9^g;wC;pECVOhUq=0XyNUqLZUA zqg@b)=SSU?0su1PgNdZpo%P46dN(5`xH{yC1vFcLx+XW7Zza`;M3Q-ic|#6lT<8(p*aSGB ze5Tqc%rD{wr$i)gX3f*KX8!;QhUz{e6AYQFxICBSu1db>G35Ha@w9@Lw&b$Ul9wOL zg)pW&3uBq)t}|Uo^7>yxXF^5638H|Gv(bhA5pea!MyTOR9~B5W@kGRIx-kf&)cw)q z?!h+CA?H+NEkJ~*j8e*P<75j(QgqWEjfl7{>6$GF%I7jrMd+?4zC)N&pkkW|_ssvyA`0Bk4d zc?-8!?mQa`jAIOGBOqxC~p^3`C(1!T?`^D>pcaPP7q7fcyl?9f#?U{5yE`I@uDn@u7H9aoSzic z7H4JAh+{Q1^fF8ifCa+`N$D5CL5j6ahUHE#-R{EJQe^B9U?c`Z2t-{hRR(-NXHO3PjqI(b!AmJ%NVrKebwA~_EkLd9=K+*#`sg&eh%E3w~~$%qbM6uG2@ah zG{BIEC`-&K!~0MErpf~WCQm|gd}(i#QS4Zuz+R%BR!zhh?|&qCdO~SXb|~<|B;ve7 zB{EcqLRyeL*GUf+PK6{dJkEg=#hMVpO-L0(63VK$2ZYpoWK;qe;14Ph^QsP=R{-Nm zjY2$78XvLLA;k_^3+#Y~2aq1;GlKvFl4t^<6E{Bt2smMeepFRrM&}75xyT@RvooG; zjD$1aMRg((3{4tJ#Pj&=jR!P}4X;0Q*yy}9{NO+)nzC*m+-Ub~dXZ^Q5kw)6X&+V4 zMEbBEXu}SbP;m_5uaQNM?K1R4kDDn+aAoD1?)&eiIdb2ZtqW9JdxaPg!zMD~hahuM zGckn2A~Yd%AhYNvebf+-1<^yM`sRu%KZNG|7JQ#9Cb~j8HtP%V3wWW!1%O8i5J#G& zjgH3(u7G;3fwm=e;68pMOiYt%T4zFVloyD|Akcg2S4MnL5BrUG86sHM3nzvH-GoTR zsmLe<5Y|^ZlYwDUassQPhk^3@pa(|NX#uY4F%aFQnR+4%WlSrLIV%^S?98?MBj%)e zXfB5t7o;O{nkeG$A8297A=p3)c=|v5q4^%FIf29uMBNx+*1TR8Ktq&YN%%Xc$C@wM zROd#!=*UkqZL&ql#BY$?pz38oD5g7@7py7yFzRR; zq+Lf``2%!9Wd7`-8M?o=SX!jeAtP9>eg+kcx0Q;39ww-DKzk18^~Cvdo@*k<%?3q+ z1|$Cf5#mbg{{T!q(ej32lohW302mcsz&CdWFyvQ4Jr`0jOHW%e0vNA39YIAEPvdgX zkOucxaB^#f-FaYqktoZ&btmC>na_4cG(T^|&Ag3h2ZNBvYD zRb9>#7lSeNOa`T&Z22Tdbp4KqF~D$)&6AFf9PV>C6C8FVFdDXKOx4WBrzBoG$7n{M zDuU-BbGqxCsSf#|A)639!ju`D?853MhOUbWLNbIQJUh`vJ%ur>O%c;ZLH_`i8mb)Y zfaRstFqdLVJhXz4+IPTpGjD&C&35)eNElBk<;osfcS+FxS9%{%rVvsoh*HD2z=QjV zsZ-&KpJYqJG9s#Wpd!aTRYLL60Te{cku88vR|Hgk6rhB@q~@Rzwf?U)(r}E8N0P2G zAx#fC`2-uKX--9~)syFmu@yW^pq`$yW~+`5l*a-+j<>QxGdBc)t`! z;A}9<4H;JmJB+~RXH_^?n(DEBijczIHEb$qq%WD%w7eshiV++(n-QkS7-JQL`;63% zSkXBMN-iThy$fUznuCZQtX7fLf824MK2&3fj_%nVS6V3YHX5#sL##4ylwWC#JnT0p zh_<2~VSO^dKe8M>BT1-Q&9@Unnsc9wI}+{{XmK#3RB9cgX547vPM?U|6ET zi8~CG0ufBliBpA%Im+W)D6{cJiVQ(K2E>tN86zxf&E7tpolhlk4-ufu{37I+I+BkF z^+C>RWcHLWdmeKrVFOk-^HWDeRE`1Q^@QgNoF;|9e5*pE9Zv8QGsdtN@S$!>11<02 zfe~#?Y9@mi>Ks>1)kq+JsZ|o%Uq!_U5(KgH%qoRYTp-cZ!(+A6@pM%OBbLYjVjWkj zp(uw5%|qXu>Kan!>l5CJ=RuHCYb%004BR+Z$Q;1b53Dyu$eOKjBq*VV6LatvS_okP8X$Ng>cz2Dg!)+dU>rpw_)+l> z<#om`9ws2^r^S|ToQNdGt(eSU91m0&vyo67P+&jqMmomu!foQI%bO!8 zKnEuk!ng!bmWtR?>YUZ=r?QsG;(`e^iK#lWJ0c0fik+wK_XnROBnyqApSq!^$Hy}W zMPf7`mBo?QRntY~@6G;OPkT1JgmE;YlkMV*oFgH0Va;L^JGB>{cyRv!hVtSpb!)N$ z7zuYbYm=6W2%{qO2g4;GC;(s(9b)9@KEkV|fAqK{{gB{_#C`K!*r^qZp(t2+ARY)@ z1MZ8(6v@wPRs zF*n>Uj6^_qvwikb!MulHGQp*pW!=12i}9u>!pQKO!e-f!n}#Tui5G`byQX7qK`5xY zg5$V5SF;eVRHM3W~xRv#?;&AwC+VHw8}5B>^tHqf2Qx?gz$jE zKX{{R@?9?xhJ%JrV(YBW5!I*eqcGTkV`JhGIM&fL!PhX1=`2eWJJO3M9?ydSWJXbZ z6j5jeO_xc;He!k>u!K3hvQh-eIC>Fn#!5W_v)jXv^_p6ou#iEbj&WwzUr6^*aX>uA z#dMBD*uv7^AM%9D(d^ozf6~q*^=H&e-F@{7MgYlOoZ-r2wXF{p;9L8IY za13yIgIHJ813tN^3{6re|bNTMNx*+|3#Zw30qUBe3^7GlEaUewVF)5_CN#}Ez17d*38Lbp=5p9!+=gf4a)$_pAQ(}t z%j3&$O?T|;?2D6sjB2EHR8j#E(SvRmAxuL#+~!qdh@T1tf6*SaGY29RoH{(x99>iN zknYMi;v|BO>BLY|BKQ`IIx=G))Y1-y1sn+f01$Ui?$G^;3_^IiK+mwDGAU8%pWQxD& zYC%$A!bU`M1SE4`Ok6Lhy1pYCt|)y+$|5*(f3ZQvVq?z__Y97E6j+^E5Bspv#OPH< z5-JE^HVdR^VH2;gM~XHKS&X%~#ttj@U36RkOpz3}YWM|mj|k5t-3$Ua-1-DC7|Iw+ zlaoybbI)HuzrGdw;cj5$sgqt>sS`Mw(B-*7fK|efb<{F|0Um`U-txF`nU2(DRpw zMoH{K^0C}%pfH@ild=0K_#=o>oHkJ|kO(ppBOn(^#S|nr6p0sw{gG%U*$kwCJECur-DJy9q-N75PSPubPIxhu^X zlFA=tH1!VG(H^LZgVFQA;7jBrcO?T1Fov0#-x);CV!p#fW~+%IbcPqD$s1&ehBH8D zPubJNL{lg1EHDfTqOuNGemc&B^M(0nw)5no@Y|c}rXz|ts6OW)qjCF0hsj+S9t$&t zO>z2(J`@T_s)aw%Rstd(74&sO&5}KE2Z+sAu_2-QZcUIM;t9${ue)JTU3ib$ei57` z4+DuspfV>V2MLB%CHF?S6j4P$ANN=A5pqy-0CB!+>Ys`ZS4$4p8Zr$GG#A|NowPvC zq}1u4#+Vg6Z;6tkr!7jbz;Q)%QnJk(0E;+T$8(Bd?mUQCm9Yx#Tui9 zLqrDEY%^>F!emBa6A<+oZiKb=!zM>8BLrRK%dII8WwE=ijJgIBQ7={XhBoU9wxI|1 z^HFg{cBaFea#YutzQ{KJ017iE9!R)8n(f%z0P)97H9INhb2*~k$T-nS5{#|-K;W*o zMQE=Mk!i0q{^&RE0^>H!D8ybUDZ)!K1hHS+8e5v74x~Z$%s%U+gczBwC9)GVX}-m9 zgZ`l{)58Fn%;*&?G)IOw&xnM4;Y;KOtEMIwl$f0qp#^}W1V~Yk7f5~m)FL7D+l1w@ zqaz{o&<_q$jt39stHb9UuqsgdpvuazJYI8G3S%Q}msI3_Z`jBI!UwtKwg4c=$v}NS zLqrT+9#@BK#)>vN%iR~p!*x^yJs_B~oQ{Q7<0F##N2%nfRp*I}1=}(5FpR^2QMRam z2O)l_ozM2iqY+1$qimpr^kYiu^$Lcf;N*UBJTcL%PI@}1mo+l^%~*Tme=L5PBQroM zS5gCOpBe>0_M)J~k?Is>b(6lx;b&d=hmg#w4pWU#nEfCH4ilU*_D8J&W3ETUa+c{m z4v{Gme4-XA-kKa~L(fDNF|s&^Kr|wcQ)(kSd~M4pBEC^rofM5;&6=PU&sMS>SSO>3 z1#XX5mIjwq#)x(VvKSirs`5*vgi0^n z1zSSDwx?uzkjry(|)H}Zo=3Wf*O-_3^2yb4NFwEs-L2_ zZ$5`B!?t5gYN%AfM~VUTnzn^*3cq+{b5{NZcRqNQH(!q0zSvA+S}PP=rQsZ5n|OwY zlf?XM$wgD_jx|Bzj5B4aMVKO0T^B*Q{;y3}`A|v``-u9nt~BST>8Mp;^#+(wVQeN0 z%pUwX9Vk@nMtU7Wm;z$q7bOz?gzysPytzDZ3%q33h!aA(+*F0+GjqKL5+1y#%?21r zu$$9$IE_v@jBAK-3Z`E;RxYGFmGp+>wld|XWj@>KlwavT26#}{O;AE%3@%3yv9s=r z9MBvWmvhaglJP41sYzQJ^c6O>Z-QHfLrY4A`HABCn0iQG9Y+*Sr{;?}fne&gjnQ!a*TadIIiwVL!M!0nGAX0`$^h8<|>_ z_L@T+km>R~#yp;k69ToR(&6A27eh~!hFv>x7Ef&}MiQ+lq?sh-cl&g!S?7KUBn=GQ z7@g0Rhu!$~MCFYM9b>Lf$~b__On2k^@qEUA%-?)LwsIrnNjOt)k1#$&?m}kSw_ULM zhw1emt+0WG0myzB4^Gly96Xnx&Hn&%Y(H+1{CYt`X@@1XG<9S8XrPeB;zh4BN`h9N z+3%Smmz;`ou|3O%v)R%krx>1;SKnE29bdv$L_OtsXh%6`fYG0q9Dv8CsONqHWcrnE zK?|?`UWMO(0{p&J_A+N9gk*>uVL!be%wPwA<@Ukt?iUS7TZ z{7!G1bdY(sr1UMY<($Xz!HhTAeMTVo#HWq}zoh2fOAHP%woj4W{y=3&gp&x_{()S? z!le}bT(|g&yd*A}O8eR}cPrU~S1TP#{rLiAyAZ_*trgf!sQXD@NvQ`0OIIVUvr25l z5Xjc1{Mm(g0)PUn;1X4|%U?$*(;qhooSNpM^tP5QD!dkJeJrxXVseZDCyp#bZaKg8 zZSbA?k9RpEa86&nNO9gwBWxJNgTZ|R*p>D1JMvI@dL;Y$nYI`KCzA}}{Yp9c1q0*g z7=5r}dpTc5{)6UE7`EG_R3?40T{?95ohsM1K}1!4>(3`S3u7oFi&w223BoJ=`crVL zN`y4y2^Nv_e6h&LRk~_5Ue$Mje<7*NGDjLlffFQgCZcD{+QdIo4YZ-E!)f?7w|Z!y zGOa35q6w2mkLjR$FDmTkAyQ8z3_T+u2Q9y_RsF-2)GT3GHs_8xAn`<9hX6BfgFm0F zj%NY@d3BHex2WMek;nE1eY|?{_vPzz?Z*Jvaa2FYDn|@;yYg7or(=WI z5li`^dFSUcLOI-vRi!7wZF;&$QD@a^y{PRVJB+P2WCslN9cY9RTx7X+D#K2IZ{K@!_Z_6gULye8q@VoyTl(dZ@5}dVfMgtr z_rvadn+My=ruo_#w*$#R2ch&g*|2@O_PG3+f%uc=Ju&p7Q|er~)#*`W zjx1?vODZwdpOpN1k-l&^5Mz6Sxg5i9F7Nb;gv>eT&{^9O2_5@uEomcu49My7<~QSl zH<7|6wfbs8DFNJa%UA2w+rM7abEi1B8SRHxq$m1py{QC@iqO(EXqY3>Wk;nS9MVvk z`DLaLGqUETYFg2WQYlhY=7=^OE>^J_`s%tJeien6)vX%UUDrv|k_1Z0dPIdjnl144 zfBA>d-`geFlgIY~BgsJrXTyMdc>*(jg@7EJk{pkzz z+b7WAmO|<S`k;(*X>~ZxE}K2W&hlyZYY*|0Q<}7b3*mwI>LpSh z<4~b$dfepf>Q%OUcxJQux6y-+OPZxwC$3T|m(t`SbfsgnH#Walgn^?!{oJ4|?888Y zQ)a{AQtWG2I5M>InVh>|Vl%q<8*_z`{ByPK zI>fxEMay?Sn|PvwQ<(_ms%p`=9RC3PwFK0!O)@lk#6UJt)Y5WdlGd*Tk1af-KB+Zm zr*qR@=W%fr;i1 zT0T=IXcH`gi8=_MZu8{`ui;aw-!B)`_Aa%yubH}Q-;Lx!44H8<=TC-Vn1{Zyl|W^{djNk?ItRL@#`1cp+Wp& zKG^>N@v!}d0lDLo!0>;!NQI1@_PZdGW@WdoRIKJFO)akPE~9EaMvQ2wLW)v{w3&8< z7Xa_nsTF9uP;O3GkW-8#O%Ef>6#)2?&&5?ZKaZj|Fu!pkyH?RFC901Dd1aeW){M(L z>ygY1bZThuN9Q~+Ueif5YyKoa++{kYn=`dKb+tR%bEFn+{v$$r5lO1*v!aNMvN#>x zQgIC_WHkQ(4$=@OAIKDM!p4SSjEXuW{pu0#zEHH&euLRm?mDiK8HUWzSGP$nLSTDW zrHUYO?_J1Y!-Ea(6+sSR+2?|K_>TsBha9g~Upfk3WSixL# z%~}CwqDRz~}r2M$uV4`jh)&qR1+^K^&H!8sshJs;jP#D3q~JG=aOIl`p;wgbmIL4GHg!0C>60kHZb zAIAb0+9jSyDn?*a=$d4PGb`vM$phPL)#0vdyU#|AvuHqU>DT*awg3R)qIX0gP-D*$ zI!4fHj({d=@FXshsmP#`W5ouUXM8$+SoT>TQjHH7mr{-P@7Nz#2XZ=9T3Lf;tgdJC zxdg8Zt#8fdfNy#>4g)Vsm!ql&J37>VOl7S{PZf7|)h#?xh@hoLI+5^8m!|KEbtqFc zkn_o2u9*P2d79l&n!cTPS&r3Wm0*BD1aNdiuq~6X)ZUH^Z7z|MyVh3{YO%z+ii1*B zZ6Je6A~l`eBH~X_Fo5Sb{=4A;-;N(cH}FuzA04;&?St%c#3c_e+B^RM9v|DN=x_{0 z-^;1#8Q2!e6wCg*U9u;WlI45M_N1!zp`DmXS${MGzS_R09f}e~mbB-G{F)J#C>f`* z94XFPkM&oc%5;}nsE@&+*J((2G?rITxdE&8^2E0Vq~T^Q6$|*^f2D*Z535NS3g>h3 z#ybvKr|MzToo3a7jpAwRTuxHSq|6V4D}u_=)3;3Ut=ZLIX31sLP#!e&_Y)g-zJ|Yh z>T<;C1ZG)u=wzNxud}G?A4-FUn@GXVS!0a3;;$7NY5r7G9e+{F*IvY&ut-lpH^$rG zC@LG)r%tqa-MZH?hT!Mnup^@jHHgys31aIb1YS6!i0DrrER26F`}HH+5O9-|5ybK6 z8<)t9vwV`U`6m;H+tnAplLPO^sPwVeVh$tH6qE|F{Y^Nz9a01#C(H5K;oPsG-Hy!D zJ9PX*UaQwK&!k!Uijluff8LpkD{0qIB0gEO9caw5=rFohEX)J^;CVE860GT|)N%st zl&y9jlWJ9hkt|xg9r{utY4^pb`dWF$%LK`&iFv_F`dSBwnlk;d1<4{KC9anTb_t?* zPY3iqnF*KbC10?^5*O!y5_ZU=6d~sKH`MPM(n(z?(nu;`!atUL23)Z`ll>i9^`osA zf-bQ}VAM!UCG{zdXrN6?fT+3^t8lsc%hZ7#_%qpjnRh--(fn&_D5FppHxKGSowlJP-YucKG@faTzbb;PsDkTc-VEUH4|IU`H@^voz2i>diaO z{GT=0qe#W28~*?-nygbgJFJOURFS2yBxs7oF03YM=_$dBW=ZCP)$WfPN;o~l(#Ppp z{5>~vyYbB~NeUKu6mu+}kO`l^ZQkaZInNu1P|23Gs@9J=XVD`-B%?y_)S)brJZF+a zVms0Hq?VlNx~lKDmqI!Uvk}WHSNbJ0%RJ8`@_i?1rnPVvHK}ovrPw5z9uR2yj5g+y zIYoH;$0$P?kCTe%j7>{>uT;I#1x7k!6 z2bWd*a6C~ehCJpIWF^E)M>_E%|LyQ6~-<)@FUV31@No@>CBhPtquwM+m4Ppgf%SkCFCp zdVJ0W1LN2J9OJOa*NWqvkl-5*INpbDJ0i5Z_~WQPOSt&6z(etGR{6u$_iRNaa1Js z^g1xXBZ_)$d$ggRT6%mncj1yqk*_zY!-8nkJDrn$RZ>PeQwn!`iP|AZ3o8qXZM8R0NE*s8*}DehXqM-v~Zy`|EFN~~Hb9prvbX7p9#d0zFaaKG0*IQ4R- z!E)7Gez!Fj&iQULY=%frfstRwb|RAo2csW zMq+_~6p)>%;rvAf^V$HCoZ6 zKT|l=(|z*Q`#R*#k$>s*RAfZasYf7{bspvU{(>#~G{P0`ww+Q(BK6LMfH^c4WV>KI z5XanbnOIhExgbpns{XZ{2{fPeDvQNJ*tiQ=<+c3X#B9aTc#f-Zi zEX}qF2lJW{G-fB$@6Qa8(4X-$1cE7AZAI^%)|_-_=9Bf+DVud9t~A^FidPMgT%PR0 zy_Nhkr>Bxsguxh%w8&%aw5_Ync5)R&x{MFR!Cr;eGQlKTL{d73p4BKjsS}4l*=GHE z!<6)7OL~lx##jvGUoC0yS{x^8H>tR4b)cHn(QbaVD1ZHDxof`uH*QHRhMh{4W2*>? zEVE%Ch2?!Np^X|@dTN(FjXKduCYK(FNW&nCoU%;Km6 z#CzjU!{D3;zIONc*pQhxuKxhG&9KE^ZaE?I^bZ5aC{D1=$)3#@bIG8uax!4oVj@1& zx+bY4(tQlNoD(a@a<-{yC#eOfhy$SMzS*Hl&s>=<)Jtds9_E(u_jwJuWn0of3ZzIdfK9Nq%)PfBYNYkj*GQ~gQ9WogL&llo77U3%) z)zj?}mX(kiM$-9g(LR?t9w2EFaO8H%F(fdXGFi7I=gR%$rynz>Q+m+;uT5zKR4B*>Hc%swp6c0|0jrewS-o@$rRqB|PiTJKswH;{r$)^!> zfmt;eU?vroKzD49+rhd6wrmbAEmRa z&_QYhi$&B$%Uo3#d8201YfPqTZ6!2~3P|ywaH_Eeehsc!`f6=ujA=4)k-rYmbMBf< zknSr{qV>0Dh6H+SkTR4!TWr*9NcK{UdRO7G1RP`3-?td86@>aL-S?8TGNDNa;o1rh zYAQF=#LIr}l$>XWR+31^(?Nb{+m=tQLkbyM{{Z5+?jRK7(WbNKYD(6P*ef?#$L3a^ zsmUZr(7W?}MU0Yu9Dqki9GmKI&-ryb)*<{orwa8GM3pN3gqnu7qiIIJP{d>u64CRu zYRcA+nTT7pYB!%v0w~^go;32*w+by?*1XIU6E~$MIzg zv5#}E8ojq$_-Zc7i?M}{%{L;nC4^~e7JTNy#kvQN16Y**q4BgVAm83V1F5ZUD| zW|HolIZLe+nupZItO(|;jQS)}K}sZ&W|BHBaUjYNp=nx_H{UC z;d;C*DJuLPQx3pT7MFuI)vGW4KD)UAF^M7mX=>nGIP==0Zo zSM^E9nmtz1MHX5gO;kmM2OV7h02~8v90PnOIgAJTrq8*}x*xYen{OlGZ|cN*awDUA zkgDH&Bra{-`C|R^>Eymm&H&;-9lz1vpE$DJ8DjIvSgICH zGf|4>pq3_D6r{{W70!g?p%WM2Z^ zCHV9w{{V>BZyu8W0M4;4=N4%{mn=6XBZ~`CZRg#9=Njh?X*T4zecz8zH^)BweMNxz zGjkkQDaIaPt*J`SJ1ZQuVj5Tb^VGQwq~`-T1Ie{XtjJ=a`6D?p%lR~q;XF|!ND%VQ zWndqNp_uc%7K2_b_(P#Mj6pciDQ&^_v!)*!w;{Bh$SvN6qJt=*J?)_>dmK0qA1sJ%80gFh>9yz}+klWMz`swxNcjq3qk;r%} z!+xi{6>Ud$4oZt>NkE5HD|PFb00@~BsVWCcI?Y9P#b>lYiO{&(82;{VsH1Q77%a^aER0XT)^G@QpJ!;qJbE_RSBYe}U zHDJ@rsbB0TdP!=?B2b-}Z z^1h!mglUjjvrqJ^Xj4|_+Lu6vZ}$FCAV*oH{Dpko?F)YsjeH!F4N}QA0zkb20rA4UX1;kBaUkQpQJ53 zT5YR9eq$6#5(v|!tFYDqrQ7=!ITe`XcSHo{#C$YqT%n1z1!~%=S+knFu7VX;bWeB7 zdR=Qia(#R0a)_=|{8hAN1Xf_xXp42Hibjm^t3oIv?FZ2z2c1(xmFVkCbO^yRB15VT z`BxUTJ^Qt&*Q%Uhe*UUlL03cY96v3POd`p36@oz$9aSUQVAsD8qoJchokXb!fim`` z1uzV?Xia6-<=kLr)kiH;PL9UY%cM&*)T4R!>8cQr#}iBN^fPhsR9(Drm=BjGKLsap zt~#<$RI_W4ED}h zr+<|@-;++b_Kc63j;jR`ytG>MFbQI*VdPEc3%`?T^(S-6EoEbPL{cV^X0ac_grpy=-MJ*#?z zF&IS9JU1>5HkVzZiN$Wa&JpfczMqGvLq{jnb*rp6=~~sw)5%88vvJ@2O48hOT)k>E zQj`KEBR0i`XVgo%=}I$d^V~X}Gjaxjbm%2zNTs)ZAdo=9^-cNZt1Ub8Y~oYNRe{2G z9I!6f&F$h7Z9%i*GO;8A16yZazq& zV0>bblf}Iff1y1v0O;}OvK;r$M-{!!c;#A+JMmj`#~fm`S|964HK}dZHfu=+SG8)H zj~ z+_j<66=0ES1a~v=C;VPHx;&Y`-;gqK^VFDka`msNG1jXD2?Sy&v-I@%x#PKaGC!cN z*|V6C_?IW*5DtXwIb>tom!zG%u}AXhz8nK#$EzKo9Jj>&*$E_bYzJ@JZ}bmJu|vs7 zigo19j~EQ(5#@{V!MUrJ#5G&Pn?r7GHQ83F8lup^?OEER}R|^*1!FUTdc;=%R(^lD3wUMTw>94;z z-gs_@h#eopC$5tY+`6ULs|Pfzq!*Aiy?vPxCx;qMz9PRl`|KMvI;Pd}6cA~ZAdt@# zFg(YKP^Lqdmi6zcam#)E0AV4|6(|mE)yKAPzn7=({)6Uv!yj}B#2SUwWs%$)pQ^`9$wqtjo;U@Vm4l8;X{?0{ zSu1K(-b*KjQMkZJN*vvNnB^?x2Q z%VtS_V}1N-!)Qz!HQUg_Os!Iln=*@+3k4ij#aQfsC1%?dcIkfkNfNbvI*6$rA{iJe z#F5YinoUx95XFk13@gXULEoz$BZ`5?&`2LA`*?w{H2Ch=~t-2QnrzP6o^!xq}p_}_n%L#aWxve>q}z%Go?vj(4cpDZBGhV zxgABh59RKY)1^F=Wj|k&E4nhL;P;-(yp!0yXPYBdjNi7_WmI{Oi5qzIPjXqZR}rH- zXi$?2T9r__;;_OfCw50-=bJ>wZdtg^h5%6U=*NO`z&QFg!n>YLAEf<`NA?{H{{Tf$ zFe(0Cz-IlF9ArXBix?i8e^7lBC@6VXB&V0EA9Rz}?YG8p+=Mm*%YIp9B8rzEMce62 z4eC|ZYS$1cv#b2FrIfP}l{!|whCaocl)EQ!tPj_Nv76xljxDL_F;zs8DC0x{P#m>J zy`i+{Ot)2cr$*XZfKHjJI!9^E1cB=huesXQ=Nz(?80v=Mc_M~kdTDIkvmap~(``@# z=_=|m*o>9@BNNR6PWto{S}}tThGXLr$$C1&wODpA zvw7yX97<6DY2Xtl2A4#yAmZ6gd?b8&>D-xCI8mz%Xd!+DyGgh!3w7YW-CACq+lI1h^TKR$yt$o=J-nNI+k6BJIR~;lnJato z>YaA?<@$X5uZ#7%;Ll{WtwU}T;mejY92B~9KoY7lRD~AEs zrlE1_1eZSl01z?~FJ5VIdnQ`a+{kRzk5s!8qS~)|I~*aF>?sV~Q(i=OMS=?P!hu&| zzbvCyzWj0RK>`$ky~tcXfH%cEm-Hiz`8Qboyn2u9!*k@wcKH#|^^1fl`jbJ#;uF6H zz7Q8unyTU?vDEUcp>>z0Fx6JFG@v{1;27Ja5P$mof)vT;)6v{d1M&#N;V;K&6w*(WtUE?J)0j{KA%!(<>dO^^BZu2oe!hc2Q$)( z?M?XL^E|x=Kj*wn!0=#wxJy}0B}xZ~B1&&jZzhbADC<|JIQns5JkCYMCo*SPEA7`-y@xGZSehA$pK_YPc zzfwhDclhnnnH29!1MQD`v}cRf52#F#h@p-V!Y-1=lA%YXe(X-wV6!%yTuWM~;##H< zZQ9f#zJjz6X~LXb5CA?fM3IjYck;{C-e-%Bl^404rqm^MJgHF;JI?o*(Y!A(ApBs2 z%^*e8Pi6#xSn}~uHuNHYCM6CBLQ3^te=dLl)t7u$+vEZHH=rGX#E)g=D@=+C#s~F> ziJUGM4#lu+azBqn{rJcZ7~74+oUk_dR3DcezC4Ke7U$xi3`XsqOJXt1Hc_9qFlhW^wg_V<=?W}l=~Xgslb(B zNS13H5Sa9>IHY^JX)r)UlBS~^k{F#dn4$&cN-|C2k5XiQ4D{!Wa(Y4DqsByB50+~h zgfPZybU5^}d?SOG#PS`hXo6-g@ z(XVxxi;~O+0tQFn6G_zjKSloCH~r{ay1k}#D0yHzj$V_Oj`Jr@M{YfK!Z2gaR>BD- z8iZB6Yg&q~rBUAC)xR&Bv1;9^H4V*bTGhAz02OA6)n0ty*341%r+rSuz(WP98jNq= zMxRs=va~t`JU`2$ZJ@enzTGTVtH0FGqw<_R=T!H~nq$ekNj9J$+9)K~s?8*gEqzX; z{?S3GO$u;Z8ien%iM#oqOZ)7;m5JZu!6N?vZ1Ncwb_0AT z82e!xK^paOx?mgagyHCadQa9)=6oB}cC!y0Cx0%x1M&^Gi)Q_3aGC>Iq@@bTRlf{- z>B!H%S|_mle-CNZB8EBOeIR>r8f-D{@?EMS+0w-K+HTctGw_s-?=6_LN8iqM5X@uE zKS!5YFK&Oz6XJ@nP~Vi-W|(nok{IMs&ezl0FIEMb_LBhb(reRgW^jOHb|ZH&EeWA} zsadsI`B>s-o;VYnu&~svi58+7u)Oj+7dYPFt^v#j#2XU59f$FV?h5qZ8f0^lOTNmJ zeElN{+>SeRjxK&p-wFPvo=5o+fNzM~lDW2U8DrRp`X6kM+~ObLxPSH)SP3|@FWxpo z?dTa?{<3kCWOKxguwgjo+Z1sfHtD3F)GL~tmJ5ooBnhP0L`1W{{6-?LFs0zwsST!yTD+4Or7M;L+)6GD?sj!EB8rGJTNpws4-VLi}qWBGKhyyP6FJ;^+KGeMk(D@n25+Wo9IB$j9D1Ki3BM;O)x^!tWcYi36 zu2u5Rec1bKu zMn!UFPcNt#^1J-H0oDHi+14SzcNm_G4%mzc@!SmNxKBO5X`5_C+ka9qL&;qP%3VD% zKL-zwQO?{OygXaa8HV0Uz9ClzZO1p?#|hoWQn&Qa%PdyY?xUm7q>#p9TeQS%Vtmv) za9x7QIBo%B>6y z$=b6&;%K6D=DM9iIViDK&@rx?`foKXwR*Kx536PzfV2GUA7af3&6dn^uWA%(5d}I2UG6fP7 z$>i=Hcn)kc+c|ys@J+CO+_){8B`POgOXyR!ZTyxd?he$A42kj#MljrR&$tbn z?eRa`8TR;r{JN_Uc`SOK>&AJahWfL`ewdy&tt~xMvW5%O+-9k8 zmUXx$0t%X5ogFAbFK!J^@hmd-p%oP7_U~#Usg!8+;7Ag5mL!mIccE3^n@OV3kcMqT zPWlKM#Tq(oYNM1n7Nt5b9G6v{#}%cizs7s|av<)<+DrfsiBNE1-GK@Eklo_%@W?7AK3?N~lm_9sRm$ zk;nm^sc4csVtMqU@F=4%N$g#w@;la%7$dH($7EINtG+w%9zVmZiOo7f;UAVCe=JCz zPq6L7@sWyx`5JIeJptqKFa5a;*$Cx=H{ZpSr^^8VyEG^t&7I4+X5Rtm!+a!kT8nX^C6(hy1U4pRXJ&j^Jd@EC_S{ljPh>QTAj8I7@ z!c8`G%|f)i#i$!suk@zUP)j@+?Q4^c&(W@(r@s_P^=IWb5z$wCX54XEKHPBqh5$}( z0po{d@yP+^c|f7x$q>l=a#?wv3j4g?1{5dApGo_4R^U!{`Fv&_li<=w{!({S1M)r` zj(0~*v4_7U=f~yU7`y)f9y|QKL*{>a5!{T#xG*=r76<-eGJIMVG9iekFf*UHRwMe6 zxWMEOF7UxGzZ^YT_W11Q<+oQJ*sL4NBbDKPQHu~Oy6gNv7xxn>t;BTd>naV{(mw zJ-ItRr_03D9} zQdLBZMUejh)y?t2`Cub#JCIip@*lcAoUiW#vE_h?{f;T)gnMV-0o%!WM=|qdDY`Ol zJQ$7sAns0YjJu2kh4Ke~i92Eq{QX1(JeQ`}K~E*d7&F-67zrO6TrBC_CHi^k+Jdy_ zG?gZ9OKroW&HH(2%$o5y^V{9QFqc@J&`jfAF1I&2cREYzby8oe9`-z#r}j z5e`n$bMnX`vg5_;*iR;jOpnD)w}|n9?>R!P6r6}w!H}tPTO$p>ksUYw+M?!rd%5Z{hq!LO%jDC`&G~fy!~i`J009F61Ox*H1q1>D0R;d60RRFKAu$6I zK~WGOVR0fdfiOZ+k)g2!6F|YyBVuy!GvR{qLsMXqveN(B00;pC0SP|<{S6hlN*oXB zZO7eKHdY4f%+&m@)jo(!Qg|7qK1Z8QO7XYpN68Kp_P%eo{rhqHY6Ww0v{VX+*L$pY zI|+iZ;fH7>T>#g!QesA-#S+XgCFD@g!U`m@t|6x81?4)ai_GhzEht-;0H){WfZN$8kbT42^| z(5HtuUJnmc^4-Y1Y_P<%Q0lBqPJ_P5;s&}QI8)uvlQYXCRS#)(W;!ejn)M5=T-#%5pc|CPeR4JPh$WVtvuq zg9~w8tq2U%_d<{j=6|R%#08^%m!`_Lk$@JRcJ=>2yPfL^xs$*7e$LDjkWNDA+jeyhJqLQc;)y9^&JMi+%z?aLv)Wm_|X@ zi_T_`DLxY)W7Ss^5~Q1x`~+dv9nAvuJDp1P<=^z0^MnvmgmPH()N!{1Myr%fQ{&j% zhyKx`)9SDb@$$~Vf005-A1%VWSA?&1YsJoPYlfHv?uX|!);?H|h}T5&;(gG3Bc(2w z1{k`-48v&fjZV%#w*pQZ{3LuXagcjy!%(;5{{Yl~-;bXY!ojSRb7cU0k&LG~)&QXS zlC3E42iS}IYjHlzqwFq<5)sPO`7TDSxZ|K+coQ3=4+`VhRifQhC+M%K)!oX*EG{z; z3v1C~vo*ZmTYVE5h&mjx-enxSHI5(-r0P~aZjZ0jRW|ew9#hgdt zCO3^Ju?8p?Zcqv84(b_%+U1-70GYRYyW)v#$IM768`2XSATlokx}q@`hYi`J4NV!ozdg8w9qu(P0ccpaSRX6d6FO{5!L> ziE#3P@d9o-ExGKBY>GUO4V}zcH#MVbrfL3!zyU6z!;n)b0IFpge`Lt1BxquR3BYmj z4}hIVMDXFz@ITUd@sD&Li=mtFJ&?Mz8H=W6kw5l&kyPxXJAUc;UdKx{lkmq?h+gbL zdsARE0PwLwfO`Qb@YM2Gi2Vil4tuMPK&%mvjJRk4K8sOC=+J)d>ap`l4IUcFw4H#} zcO=}MN#G=l5kvD8LIC>rJO_x~6T-`0T@ZqGR^Neufqo`}2m`4m!GBTYRGR#zfG6f> zz-a?!yX*>cu%2{vKDJopjcD;Xv2$Pwe6iFIwR8>^5{`F#Ew9YjEHcABVn>H_8uU)g zcS2wk2rvwSL0Hckd8UTqsE{Cn!h9}~9))?E;Ui)+JOt5NSNsEg9jF}_%xFc50mB9G zU10KjBQIFFw6DZHqZ@|^o_EjJ4k-r;p6#aWM19ZrhUAmnBL&WJW?rXxM z#7MOOx_gT$4K;|^n(z}O4X?(|M<_-?w+%VWodH9XNa}!S=zt*rI}Qc_QUl)B;kTs8 zaUFPFp#1b$@0T=7W&k_UV#_fb8KMSZX^LA?fy*!s{X!B^fGSFtInQwo_l(+|Rw-zA zxY|cax$1xnFSlV%OK6!Rb?%|;X~ZE(CrNKl4t8x<-%wK zp?6N)AC-Ut=&3Vd!U-VW(uP;E1BY!!;Hm(;KZXYS;zpetC<*%T_a4)|4GP2&@*~pg z2QzmkC_SZqEQ7FUiT)NTYlTKoA;WM^#^HV}<<@{xp%oH=Ad{Cjn77@ODt)0<=)PZ} z2=Jn>4f(Ewk~wVJtKzu3uoMG^9%!vEHWgUGuVVm^B;_W?Y~Zm!HIJbu!sd-_aCjOO zbZYB$gd_z?xZouuzW+rK9vZ_JY<&`092nvSI$t=d6>1) z&4}+aj=i=4f5`s;3x9Li3aXP*P08G$<045mXzi&-Gu&my(tm&`I7~P!HIxC*uiJA$7Dx*Hz*D0lW+HisZu@syUDA29iZBN9O(U^{Sh^+FEY zBLYD6HbcO{lQ+a>OmrMcfMP%-PSd(2r~83#-Be+cOSFiH2U+1lHCU8JKI!o$2UE!T zZ2dxHINf+$poJZgYp}Fwk(aUAVllgb*&i~n+WnyA`^q8MhS6q?hw`w-ebImrf0fzeRz4w z@?k@r{lwUI34yHEI@juXE>X&2Tar+Ai~%W7pYindm1E`m@(L+Ls9CBO#7uD4P4VR;rMzGo-;hj0wib#_D#=< z?Is{@c3+2fZsI%2J|anxqm60VdDu%&QZ@A)Kp~-`4);O;;9!nHn*#BxH;vk|klVb> zS3%WAX1KJ+P7lc9Akss&Ov$r{koxF)6;|2fOs1K;wRt*f6YHuuiav-y>by=sLVOL$ zM9CvLZjJu{Ef=~i{{TvWFEb*2ZN!#835PR==FK~&<$J*OF`_p_!gUcePt0bW27wbT zpIPB@jK7lH*Y+BrB=EPfq9|~`Ezb*ZyGrtbS=l^JVL(Ztr3VYY!aKT)8TpziSri*} zSYWx;GknJNx*2>oHV1m@u=2c%ftAy^jn!Ok<5wQ%fq)akgqJjrh2OX{$4~)mNicNu zMnT{^a)=?J(!4An<`L#5#GZ+QpzBI?OskAu$&)Ra_1Q85Ohx1;gM{}+TNV?x!>0#^ z=9r$BSh3em(y=5Rt@J?RJW>U{O_$-xCfN*w(CoZelQE#!MT{n8F3@YTsYZ>wRLQW7 z%EBxnfR7bE7mm6Rh?DLc4WNX7DZkid$JaoIh7YXXdXx*^{{RC6s}rEu4r{Bcn=778 zd3WQ#E{f-kzROE{O*t$%E~-_j>lzfm2V{$w{J7jr69y{@xbTtO8WdfG`SAekrkjO~So3&!l=kCciqylh_pw^6K+uk6HJ}5r zHv_(>g#sCe+p)M$&e*7XzED;kOrkQl$(`Hq{`{0^`mZRm^ZU;D0sYQ_2m^(iRp-Pq ze_`pwX2p1j&;xQ)=MK$z)B9cf6^T7XK<;hB&53@E)S?>3&?n|PDil?mjQa~Jnd4#0 zrwutMQJ-sdep?k}&r~7Jwu=b4n#Y;DI0be$&GB_ZGnq0im>oS0Razd`b=o`6H=i@4 zY-Y%iML`z_b&OqvOdQ%1V?EIjwL{feVS;zD`HH3hJ1jBc{{Uze8rJx-%+i1pV6Z`U zq|~39hP>D;Mzn;<8ZQY?5QL&9ZUeHm$VoH+T$KkA#Fr7d{slP4f*o5+YPA!@%MXR8 zpug1#1XOlR0}BXb^>>@;0b#!!;km$NZJG=THVMN!>Us?tJ0m3V?bMT?3P5(^3T>6o zHNCX~`ti|R*V^BIU|=;{L~`Oc%I&-E4xt#wY=Sq9M?w{`TuaBgLtx1Z1=%2w;wVT= zsTHD#%?$>S(R0>QkDi7!+p=JST|c*E!IWi+e(9A4BGa%!LAWapn@NR^=C&d{(b`rc zo=*BBQm!~+WXvXg>S#9ZRf(F^o~0h@9L#70Y6!6%H%tU}2o{s@xPreCEwJ#6-6W%* z3T|BvjiXW)AR}>9XS!rXNmy_X98@Y9dYTiE)l z@@vQ!qM=ki!(KZMYjHK%56!~{{`eh5j3-n>ntzU@QD$rB!I#Y>Tjg{zxuHG4?hGHA zB==9u0gq6LswM(HAp}iCiq&E`0c?!~9_t;?H;S}Vr4WFO0Ej{Yqwx#_u(>}ZB#5c0 zF}Y96NdX4St63R)jZ@n#m<<%KQ(ido)9$&m^$U0h|jttK6dcYmd{T5e07}&|m2loqrpPAa2kEa6#!^D0T{{STj0az#) zcWXYy+xAw1wh9g_hy%HxC!kn|6BO!fI}JFA1H#jweaP>^xL9>@(47ZZzYDtjm*hMz z>^J7O7N|bF`ujT`1_Bf)7vP$KJ|-TMq^1!3CX#!a0(ue1BQ!j0bUw4f$BkWwJ{{)u z-C#L`LOen`#g&yu*$F#to*El14EK)n%xH{FsXt_7I-yW;)p%MePu!EKQ!bpN;clL$ z{0~>fA-(h@ro{bwo(}Lfua5L@2SalL;kX)lsx$}+zntu{bQdSQaWMC|G;4dGK~yt= z=t(B&?r=58W&uI~&@BQs=GTq6_2j=csPKGsQ10o3dZI^lQPYN;ntLrc5(C%;q(~^p zw4(?I2HnQhv~LR?-N zxmiOPbF>M}K(N}&Q7XYvjgY~qo4EJUX$RzIi1An|9%~P4qSuXh=nx?vLqe&Ouac?8sWH*dK5C^HskC^LWyP}7X~EhBE=HyQYzwP z_8SfWl1uahfURG*@LUjG2f6hJDE z_Uit_PB;2+@IKIW>}*pH<-WOqoUXAXZDO%A11)fUK{~mlSFm4*B65j|G}5{(N4m3D ze%4=!eQ#=wg*-jN5I+6);K}>+gK$D18)w!x19(;*sLZTC>d%Dxxlg=%Bc1xV-}nIz z1H=nW4PY9l!PTaY9*X;~6AJuWx_CnTQ9arrLmu1wJs|Z8qk|-l;Y}w&9v&=B z8Y)UTv3`x{-MW>E3}_J`Um&23ovAyf0hZkmR&U)wExV0c&YfJb4kjgmF+s2cfXwRw zxi(nu VqffNbub~bMbJ|a)U*)hy^(KXmYVQlDcz(5KFiYu$~SbmJ<>8hhg`z0Cn z1{a0jL;Msk^-_9T6-L^iRXv3ZxLZi`X7_USl<+_vR?ri>j;KHu;%{N8>^0)~Ex%3_ zUnC$oxo1G>*P-D2vi5`gdZQ9!)bJi5X9_rag^ituQYzi1C_!I^bMUti3GCBS5dK75 z72zhvEKr?EH6-qOr<^1GwmXq z`tyWp1B<&F3H3mjsEdbaM#`^>_u>$&ZV|r6|!Sq9pZps%Z$X- z6wHp=WfWiq4mzxStiDp*(b%W8xOW*RG5Oga>W7BYQ!+YPOPy*70QEcv0hx~Tvv~KL z{m9YQ;B&u5ijq+o&Er9%LKFxLJUu`%PeN=0G!zgF9*x}yVe;X7&vt(6ZKtZlIHZ8)xZG$#QtVPeAbc}fKJ2DueX^QC>Z)$zyN%Bg;A>!YCj3nq zED^6+Ps=g?0He^TCe*Zc?3p4K9Y-zr*M<4OLzeE>_Thd8st*CgSC@0ktw(YH07}P{ zs_wt!E-fSB0>TlD%_4R{L#Q0vPJqs(K_JNoQMBk)h+9x@c16u#6lioFrNn&#fk+_O z#gBfd=EQh|uy4XQ?y(CCz0d(|IxoYy#8`_F>tc-xuS6G!6-4;kEf1+r&4DsRc$+%U zy<4Ij4x@n$9aF=HLnwgEM!C_mffa9b`_T63vH_uj2mbXts<_;%i=iMHiy#0N34~(i zEoA$w-M{6!tKvI$MgY}j1o=deLpsLyL&Qjv?;hlqvi2u@inln+*7z z&1X{2O65jcP(U@H!{VM3sT~Rd&H@NJw)8p`Jw~AF4;lwA6t4&f_D`x3KX8U;5&-UK zu^jgUH-?VDZPgflU>mWM5bm5VreY##y|@_;1M>j5Xfq`Bvcmz}ge4Cy=s+CaU%xJ# z+HzQNwx?xafhfS++V9VDPik@;u2%@<#UCdPoD{X=%-ALfy+sIEXZpTJ5fo^cj`Bg{ zY(|#<0OTqsa(KE0)m@ej*+=g?BN6rK8m19H5Q2qI3Wre=Mirfu*j{@ov=C2LYaOnv zPz0UL2UU^5)h!YxE=GWmtl=xl;Rn?`I|{+}A}k%JNl}v;A;9~D>m7fn&yO+%i5aHZgk`62P&~8F9^H&{Q zPU__ue#)DkYoBj^LtTG`LGAi;>-SbXOaO%tbKWTdrv2=OSG~o=UL_wJPG+5mUhw+Z z@P1b?$kb0%%&yd5<-$)?%*C<@u^^}A7;c=9LxfsM;0ifGF=T1FAdO#kfw1_B#m+t# zHim8lSsb{G5J9KQamJdKA1k|jE>Fr_FLKh093N*8YZnA=LStNAuz)rIeaapTF)kWb zjS2*exhvu~5HurGvH_0+Q$vp~^ zd29syknugm!*J7KD(lUl<=2Ozzcsz39PN5?U)t^LHv22^GdAP}&v%urx&8*_7H`^W zTi3e4Wk0&7va#b(s?xvantzYIo2MHT!;m|~$vI%_&;%fK;f5XEV;F6iV2;yuNzmLK zM-0OjA=w%T>6&bMqH!^z00M$^Xx!>k+lC#aNpG&|Np;DoDdrdm1FN>&n=ixVlLtH& z#__LY{O#4QG5-MKbnK}1-G|HwMyJK|tRisPitxz-Nsvr*ozyjrpp63guM5@q+J)!) zb{$Ux04t-(rwj2sntMxVjrlL95|6O4q4oknRUhpN6j$P88z+p70f3XJyev>j;P(a- zGSlVWT4+N2Q=G$DYyx(uUx;zaCLIUsbPYnODe;-D4V!g>v7FYE46zU>Om{{|*L5+_ z$Ju6&@-^?kNf8N_2oEXK_f*OOJ)%50`!;KXk|q4TJvxd?d|)5=yJ)THP79 zLVEFFJ$3or0f^B+MJHfK?i1Y7)=O^IvD5Akxiu>gk|^yeFT$HGQLAn>3;KsZ+S`4C z{{WfLPQ|)MYZ1b{=l$E*Ys+!(rYc!dV~-zd#urO{{Tx2u*JcV+CnC%m{MPf;T3`ERv~lX0(&Qj)u-O< zbSOx0L?62&59{&LM%oQ5%zUXFl6x!wnfn#JQ z3tBv}{o0vWOmoSS;Uw2>U@yc5v{D(V>RnK<<>Of=)Xu7*gn~8>rf*J2%xPP9UINNV z@|~;I66OIU3!@;^D+QIot<2xiRz|a z?50Ez+n07C#bM=V`&rcR00H;lBsIXFE~8O#s*hRyYP9?X3@P8lzo#t@l8o z2Ts4BG1F8kbv!hx*1w~&?mHeO4hMzE`YReM6i155l~53$qGeOth{9#Q>!WSE6du=~ zbb?9k5(<_-;dh1KBg6jy1Gw9`Ow88alj{lp0MK`sTnYD@tawA4`~Ji%N9EfwzUu=s z++aixsZ7YiTwF6qGt)!I5VKD6?Ieq)I)jn0#-C)Ifk z0x}Sw-3p;Z%@4016W$;&tF7KW-ZH+fHi>bv&1K2k*wm^j?Sk(5vgu zt9^wdL?^1j1jJ9hOGBys0h@#VPwO2A=wUK z3A3{F_o9Ui*tE(UY(Q*V`>Zm|Q+&YXXw=BRMT9>v`^+(4?`gPL12&mm^{OWk#8kMS zrpp^RiL7P@(0Aeogk0zs{{SV1%@+CGs;>xD0XrdW!>Q7fb%@jItc-S5RcX-*Y_;Gl z?7ogxl+g%KEqOObjl%Ti*8HHWjX#zD0Ip8Fbp0Qhx9z&I=JU4R%J)oc_6v7^`yK`i z7&~=C#^#A8z2jv5>HZXDu1o+#=5;~n08mSaca{Jm*+tWqh)x)B3~8XH$qN#w%h9I* z4{)#p%Wiz29V>b4fPN6U6Pcs;19U@L=Fy{0r0{qyZN|v>qG{88m4Yx3KbMDUd7O3Z z5Q1&YYspAgU+L!4{f;I8)elp2PaQbuIVt)p8guTvr2M*j8<2yuI_}Y;YwHQ_{FhR- z0mj{@g`6YihxJ?KakJVs>IK5oJL#ZB7$V8wfV@OlEOUq*Z6l=-g5yMF_vOTKZ^Aqy z)QXfcfR0g!VDSJB8fwQ^H=%j*8Tqg@7S8c07?=a@+iq{7L#(* zzT|KOxuiH$#EVEn%I4Q$VtEWcCORT0;c7vJR3N8}`%P+rbZvg?7!$;21XKYo8y%Jd z+Qx$>^gDrQN5d03M(YT>36cSjB%8QO4#RfN7wr-dF9Pl~Z=~F#Du+~Ln{eNn>fvg% z;ibFs1@hr-^j=Z*KEr>%J->g@-M?;o+%HZy9M3AQ2t%`ho8jN*WF^5-jj9E#Edi~c zT*qR(_+~qe9qKroxU96;gK$#=9_EW#@jfBgB16SLw2g>D*I08J>N^{(N8$%~i%qf( zNec#JqQiF7ars>^f&NGNOpX{}0`MK9a-G7Yaic;s)Lo(GDQ~PN#5u?2u-qJN6_g7^!(=xN&pE2roRXq?xkn&h_nLt*m{{Vku zuM0N(p$h(zg;DyA`i^tk_&|;nJeODGW@uhusVV;e)M<)c+J`{supUD*14uO;Q~WKw z(6_ij#AriI9)S?|xWJnZr=UPirY?0uHXaa;g~#s$hoBcHV6X#U1kPYUKo__IU2;je zlmQ)Tu-aX`EC$a(A7t{+i(J6#S*vDc2`An)C)b1(L}V3KlsSEWj!{*9I#cAdR6Q4n zboM&b^6ScfMMv+U@6`@tEh^e|TKhT_*%*K{5q6PSJr3wj$%8ibp86E{M=ATJ=YjX# z8T(eW>Butp%`_WFd-2C}7zLUuJ?^m_F^y(yJ`yZ?p$=%F(Zg~4X~bv3^G%CJpbcW` z)GN!&^Zq&YS}zm6gZWoiHR2^ODsuTp*QYS!Z_<=!y0f`NxBar)>A$lQ6C{)&yqKCN zRB(82@7O210e%62{xi)^Q%34)5P|#e)bRwNJ&+~rp>M?9KH+=u`sV$}tyH>@1BC_5M05aU7H=AW%p2w-q0_;=~X_ zw;#CmLYq#g5%%ILr3mD@JeqL2qm((#py-)I{Gnn|2`C1mD8ta42RITm53q96>U0CC zL;A0&=rnJjRy=H|IBChR8l6w^!(U`2=E|ghvHCrIy&w1H5aX!ds_a&lJC0H9PdLmC z9X-&TAoG#aG=mKzru-}d-s;83Ze3f`xhKj?E+}Av8 zJV()M$#ce|mgm_}tNUGT-~RaxIPF8S2+;jGtcpCgK&$&0$iY%=3&O^@+C;?b{DosUK6b{y&$$oxnp9ylMh~0Pi7y{}7Mh zA>Q9^fDQog@d^Hk`@e;dfCvwt_!bGSmKG2ASNVU{;^7kz5#Rbd2izmT)jlA2fa`b> zAprpKzzgnQh%g~5Lh>1i8o0j!^q(OKp1x;kpjv*AMrBPI?%Pq+$Yge+79g5BT$lUy zhXnwTbbjS4eu~N%eZf?Z&qDY$^#V1DH5lrgUmLg#1psC6n?+S=leTWF@BbO^fA7>$ z?Z13jM@_oFe9pBN0qbCM!c5*4XT1o$CH?G&FhEk=J7GxM2fpi4=p^w^N&s+zDmo7; z+_Ql@c^m78Kbf;M-D;to6@0FMtD_+LWyH7gL#a}C9VTG%LxI==MflKRBvWdxZoL`+ z6iu?Ypp4RFfBLnokuPR&9sYlXKtzg6-cwNWDUnZ7aSV+$uV@x83&P1`8nnbzdzV`1 zfn_Bd`@BqlB)Nkj#aq_@>Zy|gGR^MZaXc_KH~G@1$q(;75ViUAUsVr@@n5sGn7woG zoEQ~#Eh=c7s=R&2O7)xDgI`&gE#tya;Lfjf>w<7Y?F`BcxvU>zsSqYBCKf>+JUpG1i5ewvYaIyezKzR_PZ%?&k=oh{i_n?GKy zOwVxtxwfdxk<6-_dYTFioQus97A91pKA^|YZxN_V+9s6=A*`=CE^NJD?3-LxLypW&SdUJj~rc)3#fKtgIvUT{zpy#FA{dZUMB{A z`%uHQm4vsF%=3baNGxFrLSCJe=`_4w}qc~sf_+T7&|KA@A5VVW{MVPP5b zBmTd~!F!o9Y%8rF15c9;HVr^sj>!3b>*L3>9`mI>x@LLSJkprcwsBf2CG%3qE_*&5 z0ljgEgP(YxdwYh^PuEQ~ZX%-1MP7*23GC$Lv6n^vuuB$q77wsJKnkwH zQegGHxBu1NORAX6#IVv@4D1@bT9%ic!w8j#R;FG0{{>uChz+ebRf6t+UF{Dk`sHHi zxJXu?5Nuwx;riz$g*gRLB|CA5VAj|zyc*37;JNUj_HNt|D|bF>(OoY)9qv5d(^O8e zG#c}1Z|{iH?Ejys!FP5I__1fDWl=sVzE^QU_>%3BrJcaCGpc z+{~(lbDBU42Gjmkm6x7E->tfrx=Huwm%lpPeUG&F+ov zahiXS;;2^8F;wa)*L@K*xuHq?i%`|~({UxEN`<5Up7>t{e=`l8B;8d>{GP;y36F0)lnvf@8`hMg!M zf^9MVm(;i$p>18rk3ERi?FyeLE?ahTE2eh_`dPAHM->v8n~9gV3SkB63sJ1*n!br9 z;%qn!dqz>k*N~;U? zo7TezT2f@@0jyUm2l*G0{BlIk%B>yy?LpgUPt(oICB3GVOR|u0e;3-6ebB(t=Ln%e zsI9X?p(DJU2`^DccV>shaBPG8em|*=S1*cb&$G4RAw%> zHnJ_&nrsGMXOx-9TYEI&;1H;QM`%2&>2hogVImB*sI(e`e7abzH}9;+HXOEVC^tcJ zF&_GKF>HWVTQr0WmnG=W;uI&05A^EG|pB9ZdVmt$3BnYEl&Bb zRsV0^dE$dR*gHi~(XQd(w(kvn;-#5G(!aJpCmI|Z`%kT-1c}qiE?3($eTHMG(|B*k zXr*<|MTrv)FQX)U-_ZP6sgMY$anQQlMZ^{Q>geWgqc;G)69P=L{LO_Pf*5e(7XJWGjDBY$>%nvwPZ__T&Ncmh=c}Of&SKF1UAj zGRrJP-TAD_H#dnhiIwWgWrOXprCqA4NbTS}{slUb+Ne*t!TrU~vhQrK6=3!@r*A?|Ds zO9RsCX{om2w`A&?!_s#Bk%b8uIf(Drg$v!Xa?c%xwEIxAVY#Xt>CM)Zi&Q7<7bJry zy7yO&&&&+MJdQHE*QFf{s138)%ei?~y_JaGR-z6kmvt|v&tp^IR z=p9FLCPFV0xlkjJkV8yo{yih+bhiWGD*iS7Azpg#DkkvDPhJy5M zH3x0?p4T{JwcVWk$hmKP@}9vsI4xuA-0XcsQTO`eMinQoa_{e}z8PLplelbly2B}cyK<@5+n025`$KY`0KLuZkj}a;>96M=Ek3~=* zX^vV_@0UkL!bmV5N+pgT8+so)szBj&y1Ey0O$gsX1<_1QF_gH)Ryor&6u{FuJRh%8 zc278PbQh2Ox^>7s`)Z1;QDE+{H*=Z8^@U|Lr@>z!ZF%cZ(q%f;-;M?89edoWExTI= zX&mH-n!_F+>VH1Y)>#(AoX6G#<8U2eS@B0WXxX4E4P}c2h@R*-n6Tv&CV^)AgRMtJ zlSqFy*pk+8b2Md9@6jK7+i^-|2O9miCO~X-#1hzhw$F-3wQ_J>Y}yP35^Li_Rctxa zqK(20qAnuYmW`z{W=~1*PX)7oD}yP|haxeC{(3dRmysY2o5bx1Z@hf)jcL z${o$G%1LeT5VL}9rq{3)&`Mx3C=ToC`!-p{2nVZ-MdX&2Q)41hxmkGaH`t43ewJpn)*$X z`L{0Fc@SoO-S>};BHI-C3p{;Z-Z0vzRH(k)E?sq^UGn?z`g!6bfM!UsWw)|}`QjH- zXOrWENUx_}_I!hZ&)`FD0R+ExQpSJ3K=}Mki%s4gMRNcUK4V6vqPB_thsjQk9mSeI zn{dnCR&UWZZJ9N+@UCPSmsUJH_ujO-(031z_{p4^(uRsG|76s;dc?WG9hsvM!ch32 zV%b)0&ZuiN)C;N?$rZ&AL)%$rd6=q+ZDvtheS`7yrC4Gp|{{ zK=PL!U0;|nA1Dr=%c~!qqlx(}79`bo4otTKhyMcnZ2(=G)4`{9LzC}}msx{-AZ_w-JN|}{|Yu^=x{^_E;$=Fc; zNKXN{ttiGrZ$>H*JC(@hOw9)9hvRmqL|ltPu061WV`CVt?w|DYhGpd~W6w(inVbRB zpi;lRJjSIXSt|Z9BTm#&&PA@=D0us^%wn5$B1!g(q{p&+cV`fp#udgt`BBHWTyrBb z4kUu}P`@{=-je z@3e0Rc}b!6A$7{9#-TpIT%>giLBJ{-#vq1mBGe49Zs12ij3IIXu894Lz`wxI(6mb6Js6rhj(%3oteyp^8XyYotY$V%oAf zE1>y+W1v>gbO-XB*FBH-*TApL_b_&Z^9bof>U8BIGhI^)W3ADXU_>-B0%3%B5-ydt3+KiY~?S z7m*)Vq2I}vL5>g8hvp1uVf(1xmFcto^f~SjA#c@u=nB6R(}Jl zgTE(|SpiQ>-;R>pQq7^5)jW``&!nT?%%nadkVe1l1IVtT>j~t&+}i+DkWgO6TpKuYcqhHO~Cl2OR&dVUgyq(G;@&X$FHgY2NLF* zENv&|3wEaM3w-e|Q8YbF^S%ChOK&q~N>R)pb`}HOfrdUDcf0%!Aa_cKeEJu#NF8%A zHw%CT?xAPYFbEx)s+amj*t}OG5eas-8`LV8Y0$GYb|^a+KaS3g!0=poIyICsxRz+$ zHIHe{QhU)!rQTkVWBO*dl~Jm3(;Gc&>;QM>tZm&G#d~#@YmGq^YUj=CCJ4Zk7Gg`{ zFcpVe$^%=I7p~7H4zI;X@aY9pGY#imnU-OaX7F!538PDyo}YFgNJ?@@xf?*DWojE_ z>@h9GTf4i~58ypCYgHt;yOw5{joq!R(#sNq%4DU`^MNkc6LHw?2T)qtODwWqaKC+Q zV{2&bmreYZ*-ZiO&R(>iYgA~wXgx2Sw6YsyQ&e8ef)TJBs}E1`o%EtC zrk?d#VZkQG9sgE#bsqhcrAg{sqj~DlNRds2mZ>9@u6s_CyrvRrD2IGJ8c@qpolRL*WiQzFnW@`U(1~(Wwk}y8XHe=)qf*a4VMXU9 z#}N1Sjz1wDS;ht%$mG4OaCc^Wk0|b~8#sr32cFqd+W0)3ral?a^!-A2Oy6R%5rcEj zv*%R322*zZ^F+aOo(W^suA_$I`v=*ZxtOWiN?(e>?D4q#) z3akfUEkSuW9v=NcOZv*+307dr713<63?B6f_MP@8-#MSi3CXWMvd0vjPmATI#cegm z_N70>n(4?zFO2d_U9MR}O$}0qj744XE53vFu$#qM=oNtYt#Y`DX?UY)1r1Y#Nn_Nq z?DH~#w(f8|1N4?wj`sAyT z>57#!pvJcQT1KN%h3y*`4BGjP8Zex(UQ)Dd`Z(nNRHHEzADKwox$(yAU{Omh7_!RS zYl!lVw8|s9mMh_<2t1AH{9G-mM+cFFpF1Y)KA` zs;iX{%Dz_>hykf^V0MEbO^W$PGi)KLVT^1 zM5t2DNp*mQMjV<)OSU|qvEoHlkUMG3rsA~YUBz!q`Ph~Fu_E+ljG?R8`}T1}^F_1Y z4eP@L0{1;jzwiEGK=znL4Bo#8DG@j#<>?nJ`lbf=Ersz=kANHt?`p(uRh6k@0yjK{ z9`VD4HiLEwhIj^sI%>}oO^jpDt*}}2Q4f_POwE}98iN7O){zPvI;#<^fSnzW3kSuRQ?qll>_Dt%MGRxd z5F{5}qBe+?{Cc$5E*vntFISg6Z9eLi9jBywz@NV7AA39$kgJ#@0}eg|eKHjf*g(c@ zURSa$)p&UYn4nc&t(OpB4a6M|tk^N;G*DUynTvS@}Ue-ER zW*?%0r+k& zl^%FDIq>qFrdN-+??r2f)j8IeOFs2(SP$IP8g@cm1glYQTs0adW_hne0!U<0CQ-LZ zfP0!;ox>GBa9$O1X9J$cTT2~zTMcqM$FqXRjyiB+>cm{J@o1zjYTIeAId`C!7{f0p66w7L?DBBh*Zo83b|=#Q)Q3g4V@t&+9Bo1Zz~80`@|$@~-N zp)KZaOsnxnX@A2?K=kDzRHb$<>VyrfLt%dx$*O$V&x0{ zY~v1^A)d}zSbYQ7^mDm4gruX=+nSda&DLODTyGZerJP)Bk zmjvpfFMPK}O=S}Fgjcl!1sA0*dar;7sZNt+t^8yi_=Z{S~cJqBJoe2 z(=}<#qIWzRE_M(x4f>r&zdGwP<%}bhvLw&-kBYbV$4Uw_WKd zAw*?5LSs-XH2)X@4$&IeP&BG{eaDo02Bq1feEBoBY3r=5+#V)-UK z0rmwlokgz;QLCLcN^`SYmy0MltN#-et5$%@R{3)H%3|7K6A?4Hz{--dJ$(40R(akUpkX(9o8VIY{C&(NMeYx=VED=u1i=HeZr_ooKIhKNZu6@lTWa;O1bQz9x@T>Xrl~O}JlE(;XO&bQA~O;%~3l^cfxX!u+|E&B3?~KKnzO zi_Ml?>d_Y0XrYn`QOL7<_qOU4sjwY=!@xp>_Nez&yIQBn*~hxMi$}Q{#e-~a7EuHg znPId}^Y&v*0Lui=3yc=muWVj?QnxG|aSn|zd2Tys5+S)M<#2+6o>zCGy&O&L6*DM% zPtH2bZrPqqc&Nq$Bx}r2M%nS4?3_K%lEK%)Y)tsEwjC*S#YZn;%_9?uBcM&qB#K zc7)e>PMuukvgF81enNfc&3HM(LUOXE!913C|v{F^{lObAG+;eir zT;B?9-SF8*?RFHa?uR`Q)cgxDJ32>`oS3+3_Gjy7Ak?c6Q<XU6b#`koQQ$id5dM8g0R^c{D4z3Ah<7&P5Is9vjSRoCx-lf5{i zq69HQr4vziWH-#=PW~iEr6&>Cwu+%pfaVq_h3hcZS?b3eA{Se&3cQVURTl3AB~HJs zo%+Ug&^Y1(Wh_cKuD>3AigrU73s(HImTbsfG=^$uI%nIRwlClVbj+NOcKlCeM9Ol{ zZ``iF?GizuWjHjL-q7vT7^hO+G7LG|Hl2PFdG_MZ*IqWs+`eqgpQWS@x_vLnRZI!q z!V_i%Ft-Z)u8r8)1o<7!376K4?S=6+Y?w*rp!17RJWDq6A>(Z7B{;xV@^RhQh9MfH zLB*`Vq*Y{MoDbkfN1+0~Ch^(e&Vk7cto{OAx_&n&jTI|%%eof8?QrUjhIFO~XX|%# zr#*4^T-#?yS&A`!PH&|e7xve{#YwjpS!T|ImQ}XWkN+&vt7b%gawfFI9+~-M+{leP zy@h_~ExU>{kJ!i|lP_>@y>1t8?{GdNEzHHFWq$J9gx)}R@@C;G<;N^bNf?_pIKFcO zfPY6+<73p@?|MIO2I|5r2zinBe%3q!9-2#t_V>&JfN1H+`O;U0zLArtmKQ4kK5s4e zqs?kS$$#@I%{>1kJ8%X7n8-jZg^HhoUtSx2RT8Zc#S8LC%yb0fpvOgqTuv~i1kwKu@+CiV*-C96psx%!M`+p=;5LbVc(9!7!ZmAS z0>eAQZ)4HZT{Bp-8Wm(VJWem+_an8xuZOLpK>S~ z4Rf~rFTGky_Z!mku%i;~qUhteV+3QE>y~U-(J}Xn7T>^qG%n(cV4vXdFG}yIpa$@j z^_z~y(1!-ciYyus4XxBx^mh&v?Ar+MZK1ky;q>_I{>T_|@Q`DBGIl9CE|&l0#Kd8G zUr>PpfNu%;oyPmNXl;zyu_<=ol-%q5cmh%`$&>Cmk&~Cb^Rr~2-DMu2#&H&0jC?97 zx_n90!H@Y@l?jv-pKcx z+g!@a@A~hTGyPdigvUswa>$;amK}V|3Ld9fUh2)w>t7kYcoQ&( zQ~yO0VIB_xv)}O3y^??TiQBbx{9oY7@)0>Zss!UMbs)Ky2{)NG95wkeQ@s6~u4Ab# zV*9yBga511R9|+O&W;=0uJ;6s%!!a66WqA^eO74cxYx!GoxHbb$oTESu|BKkb(MJE zF`_S_VdnIt?JVDB#8q7|jMl)>f6wqFzO6y{5&E7|rBP&-Y$pH^rJKfx4ZTwPPX1uE zh$?H__@eSzR57#uJeR!aGzM`?fJD64WUoO40B%#w`X4Sy{~*%hgz}3{!cXPAvuXO7 z@VX{<{Iv|(OO%#h06F~GG`PqB9vEVkv0iVNz9f~~K72{WSOGS9;FM?Vzix;{OYAvv zj*Y(pS8cNWyaa2WHqA$E?)^HG9y=$OjqMW+`Vy=p`t8Y`6kM7_GIjxmGzmcksYhhR z&g#nd|2DZk82@u_LJ{-fGt0=Oxx|=V{*qV%WO}KNAs#jK0cR_=ff2s37e;ew?@;|X zZ|^2EUZnMjQ>hGAiH;#>Ga%;+?fX`XrF%Go;Y*{{LA(I|^M*jf*&xUTXHD!1-s^`b zrXxgf*rW%02Ea`3aXX7w0nfj25Th207 zBRtThPtl$#N#pS% z2d!Z~rm7xCMyBm3NdSW9!RA|MH_2T;CJ=oXNx4tzm?Oh4abNu1r=PhfX8GG*Ypa>c z?Rf`#2DGE6b1>&e%jPCO3}zY>mq6%&-SDzYINM0~1g=c8P2+sTr?5z`;whvOxl|8_%(UJYY}rstFnxV1{JUt+IKgAMHxKh+jGHAdn;Z(>(hk9L_K(DD9r zMz@p+;d~pX1T|rBk7^rN4lf)5}a<+Fv90 z9!g=7#c`NLtcE5z!P(}{jkS6qV*1M_08o>Oz|zvT7cZ8`HEMyoJ6V1^-vB&8Lu3ed z!)|a|<8T`Re?gF3Tt+GpwSL1akf4>CC;M#Fly$aTSDP^%Qu`**O-&b{bWq50R5KJ#P=f&78(13u2&5-Za?p0+QqDGZt6=H zj_J_|0&CX+RV#uG#iQesUm+zke&G;i|FH=v&VLGy(HnGTP6w=r+gdv-!-$n>>W9%T&I92nDa-5P*r&5}yr(@&0Y*MbF%`C-L z=C#^9(9mL!9Yr>Ds)yWhgga7})b4RE)jB!_Qo3_~V|`lgGM8TE`F)T>%*i(xu53a}TsoMf0} z(206~Q_=A0^u3Ap%8I28k27uamyh%5EWNE7X{*DTCpD+$dkk_cG?i*n<{Id!j;^r2 z?@UCB4bu~*$D<6CY^eqV(MF_I5p&Aj#$9}H$GGN`5-|oK55)9&J1sx|P5W=|38??_ zfvNr6$$<_ofQ?SIUzia{uxAWT}D32N^1Ylf~o+U)h~`k9c2%sAux5p`&>l?lnYo-A+9l2vexp;(ZYiZTotG zF&a_+=})P8_qnxsG#cLhXiY#>mz=viWq1khTCdYZV_BoR6AzXLX_`FxlE4;|zwL^G zBgdr;l)qavcR;kOuFI{g$ZdXZ#8Lc!B%OR~ODhqVd!SXWtxkw{T^^A(h)$_0QPL#1 zBNg(UUkkGtf-nc)@fNG3VGMl}&l1N$T=?<%0K-Bq#SKfaqpuv2a=fZJJP5*7{&~(xh7#%GvLhz zhbrF_Kt6e+#2lTlu;0_L7s22l-*KY+^FLar7#)P4g?QYfl1w!e? zOAIeju~^?LsGrIq_~>?nd4ShfIwVW~H&LqTstvQK22b&^*JB3U51KS(lB!vmkSRA4 zR>n=pt$V;<;26Y!w)|r#AQzI>cv85>z&W1qJM2(75s}@g{E?_=;=vr=7Dsf>e1P-U zfj=C2l8ES#BIk;SUAy&B`*g<-0%+=+3h>rHLua-f>A1SrkA-XY7t4P7u$)Ca;Jm20 zRRreop$~UUH2UsMTpgDrb8qQo^&*SMHKy4anew?y4&T__kLPq4)^cZd{-x{}ir&Qg zLQogQ^qrRjUOVbJ^Lj63y~K)4T1Tq13ptCoLnLLEa8zMXeVWEk^wlKk71fn1qn6W9 za7w(PKtl=G#FwX&;f2ve4RzbwR<=q;n;pi6NSepBis7S>*Gd7Z8MWISWI zLKFpm%*`+mfeeN?21SKtZ#YZbI`=B-VCN89ElJ=-)iA!th&EF_zvT*JmN}|#Gtj@4 z#;>FcS6%G0gr1sE<&jJ3Sl@^cL$t(KU)}G#EK!k&{9|Y!XS?SpX!Um8?vCh&S@D;5 zOkk#kTB)@cvdWcCR5b3)38BZ1_SN{;WfvQw-H8FeNA%A>(=|Cu3(C}#ii_^<5*yp~ z=1AksoBr_l>?pUnvu3I$8j!shvDq!2l%;6O*{n5vVMs1M;cp#)r%rm78K;+hc6bsp zfcQqnR#JSpd~{#1u}EG=v*U4%6seXKqS!x7IV`-6p5iaC_u4t9u-^GkRL(8uO;Au$ zgPW#xm+D9&sj4Vn&m6UP?Vy*tU7Z1y#Y#d)_dxeU=dU*Cf)}x(s-Yw;fcRRhiAV&- z$flprQI>OBN+_^%Dy-+Gvrn76gnV@jP2*Sdx}qBXR#b>8<{i3v7bNE@u(QI7=i$sr z<8S9+tzYv5I=%Z_cVsWCxgC^rubR(3s>PQrrgpHxEsNnpW;hvxC1nM*`JNfd+JH{J z<=LOa3#h?J=RL~NSia5l>m3dqpNfpOWmE)zRD_t$#bhQ>csyooAAME<+X3;~VIP<8 z7%U;KZh@i|(EjYxD~eWE#k z7vsgm5c5l0y&_AiJ8ibd@UKhNv+hf%y1xLW=p>D&nvb~a1au3s%GfQ+F>(C8dfDku zj#tsqAAX166V$t=-vY?`5`n|*Upqx^J)rqIaDzLMrzn`Op0sy&TBad6x48CG^>58t zU0vnf5~U?Xa_r5a-21EMkf)M0qgUld)_;=XRF;9Cm%3LP*=d7__B)#2V@hxn$?c9x zHhLZDu9?RA7YLWxem3BREhunsxoh+1`aUWlAh&+K#$~*;UP(o+VUPHkKsxyy*_?9- z78Vv}!grhPVJ>T7dS;C$s;gt_W{LWSAE9=>vf$@J#ECo`dyQ$cO*T6%QfQbn$o?FA?XTAmC@o#U4Ozz9%Mj#qUW6#^ScbI~|v* z&puj5zKI%hxazGoLsIXRZjo!==J}lmS9_Hop*@%CIee6xG+nVoAvH^wAb7YC0k!lk8 z-o5fq^~JxUy$%C|AAZe)dbp|_7r4wHI0}(XI)O&GC5oAU1}sPNqe20P;v>9rA#DCn zgyUbp@y@MxS-dv3+mO>r#>pE+v7*U^{iC3AyS0)2xvD<0G8gKQ96mK(=5;5mW8ZEJ zAO91-E_XR;e@95dhi3w)Bd%kX&vI)utt|H=JE)mIKluDQwznEN*s+i9PPCPsJa@WI z@7`RcQ$2HOzoH1AnHRtRiL_7X@$MoA-CUS^yCO!L&bW&5snyAVBgqGiLfZpRbWXRU z@#oM3opP(JX!dx2y{j{=M?>M-TS44+`6(Z0>wH!b!WME7j%KN6#PoeA6c)dk)0BGlvBf}CL7(A`^^i)D`G@9=H0D@j zO0_(>la(1|t)uq=45XbNqTbfdBoA|kOwnR1xvtAUds z($cpG%0YC-!Af;SLGGZnlIaLveeuqUNFl=1pegtLiLX2<^5jpR`p7bGsli+>QV3#* z5UegTyBt+NjiY7QUk-83eIa zUWhu4r;XZ00d0GQYm&k5dz&8o8qo2G0~ra_**?%Z`4ya;^w=u4Q!&7n9*Ip)r<-N_ z95-I(FR+<1$9$cVIa$4$uh|rfUn5>elX#EEK*sWJAS;4GnQ84%)%6?UjP5}Ak?&uC z_b@4<+bv`rS&m(VuVmT&{D|txlbk*<3Th3@wO=9gY{H^$vTAgCI_+#sZ-F{`t>1al zCcy+5wSpX&t`wSUZCPoem?M5C9YBV@OqNd4%vJ7G|9Udq^-FYj!M;`0)OujZTVDKq zXQa-I;jJby(VV0q{?j72Me(YqjV_b2zD8jN)5lTmaYIv92&vcZ%_2SwbhCy#s+msH z?o2MnHTl%O`8V}O`u%%NnN278(wRpM97rTF6$Kowlly0jE~=0w4s6gjuN4zDO`dSi z!gFal|NRnK3S2NAIn>RiHk_Itcc=9gQP{_a)qQg6v)Lp`4qfEYChO=kN?2xDo%4|{ zo+nytQz}p&--3}SI?z_ze`uP2gCQlt$i`pxj5EXw>>lJq*yJx9Frwtlygs^P^sK8t zYsrJwl8P?`G+QH*#ZR(@#$^q}(bLjZddPpN=$d@9CaL&g22n|5$vVuSf_gFjt~5WI z{7LLvvXYwoyc(Zx5|L_e#5HI-e?IMf$-qv$cDm0^U%_%y)A}&&GqG!Ci8$d-dR9@Z z0pY!j@DZ0ytjKJ$@|ap)eN%hmaV71RL);oTq}w5U zBqe_QHP=+q&I|DIsFK?Hq9a}Lq`wKH>8}etwYm5}aNUK0#z|qi0~CKg5}oPMmrCLL1w%m%ayYL$kQ+0p45o5Q|Fq&B-Nl`6i%JQ*TT00A({t_T%RxJ* zz;Z?K<1=sW2U{g;r2;h?wi*lbDjUl_EU)$?Z=z zP4aU|1fBCv;T`?#Pp3Yse*57WT?OjcSlLvdaFZ8;Y?|&<-9B2Vo~sMC52uk1ejdz3eYj*wQrI5){`1n1e(g6 z%0p*wNWE^~QJ6g`#*5f&*Cw!c)fDFCX@NEt8826HR6ZKRBP*!8=8VmQ;&-_p$Ng~0 z^!`eJ#wc+pw1g<^U|D^|!Tyu?oxJ*~6XWeJK63H3=$wE*85CCo_m@Hm^2-S(%|h>v z;URt35;K2Kj06Rzy#EXMnD&^Hvxa>-Ec3uDef_>3_2JbL`~qb)*`49PfJsBB&a&9j zhwsdeE}bUNl+qn4Adn|f@hW#s<}U7-818R98s(%X3MdV-OKv|pEzv}EKqT86r246T zH@}mWRlyCRMv%0(Q`i)(fjK^Bu0sfV~8tQ>#%3((BwjvubCTD|X^ z)h@ltezEX)V#G^F;~kjpNVTUW>!fszq{eb$U=M}|A$qkN^%m|UMnMRn$=*v(3fOn9 zwyLYfGlpbN?cF;XjgG)0U~tLztsooea*ouvFWQ`a_6@C8M6Om4$MqWU!Y`7^gLdaq z5gk~-VEELw#A`*Vl161Ls$DHUm6YreSy3*ls+D|fE5i8(Tc?GT9A4RsSM~jUo)L+* z@v2`{Z#mA*GwuGE%sBoCp{$m?Mw7AFN)jU^0liwZfa$}gpR5k9J@S|#(|(Bu>!27jE6w_b^c5;(LidL68Ov_l2BP!s zmH9>K!`H?N1en%GFfx~LR}v9-VNvqqXE%p7ft8cqse#a0LBAMk9)T46pV zH)XBRKIdh>_Z&;A&wddX&881Wcl3I|O|_5E_vh#sILaPb`<%CgfT+`RY6}bVzLb99 z@r&eT#z{@RI$jVjUsS$?3!xn{UX1lVYfhL#f^}a`$WsO{y}?$wN6SGxmd>SJ(#}c= zovuV>Hm}M{Fvi!1(;PC-CYOa4ja8Omwc7F3A08Ny}C=yWIeKjzzzR32uUtT`|W$S7gosQzso8CV@Y{B$yin_Iz? zRIg=fFPcxLNNT!%PqJGjU9bz!9RrIVi6exX;Y++T>t8P1`#zj)hSIlsR zp|g8pc8s6dv#wtS#{HbRyfB#^dLA{gn?M{ zhmMM(!aD81#~qXLzkm?x2d!tNsj>+}y>dH~CvDzsjCr^C-U>HV?|05G6HrnoXtEG_ zRZ;^pti)K8zc|c|;Wg~ty{G!ToA=m=o=!hZC8I%?-!W$B!*6CbK6uE{w?oHGZUS1U zDCpYZ%jdm}$MZ#M5gVfqAGX6P{=4?3IN)IfN1UPe0&09YfaX49VCKZkD!ryAbZLCbK0hSnea{P^UU(&y8<2XL} zFpKVY_2cDKJ7o@w`Q+q%g2nwVR*&jjA`k6*Ge4b z{kOAPtVy}>9(J(lN04%g12(3QN?x7^Pl*BvL zHJnj47o}{%vfEKXvv@u;N$7WzR%R93b{&6g?Z@|`8CLoyO(+Ws4bsFWLXFVW4#?aI zPdCDTY9uJRHUgraIed;Ab|w<`c*o)|{{SsfVq=#;+}|ndN2P688x4(F@Nm3jbqYEf zlOMJ4jJUi&*17Y%%u>S_p64+_N?vZ%KGt%iJ76D(HF7%;!mqW7rrGvemp30(pr z1E=b1W?^x#Lp(F2Kt5&#Te++j#>FGSo){t#`J_Y4_3j%;VSi^154-tzzZPG$PqT5$ z?@+)Yc(DKs%yk-CrrEgk_n2W2ym){CVr)j1sW8~6afjV_Ql0>fgPVS}9tYjFY)HoP zLcLa$=1_WHb|Ioj%gjQe{6@AMfi|8kqC7;mU)Gg`x{j2c#^T>C1t(MBbCn6D8d|Nb zuekFyyiT{*p{-O{t^Tx(2-1q?rWQYwY6mWcoSgvgN}+2ozl1KPtSUjJ1^`xL*jA%Z zEm_Z{Up9iWP+YX$alO2>oj2`h*9W&CcpD**fam5ughXcIOZna*yV?Ml0IX-Ah>(MDZ)Z&)v8u+ac<7n%F| zQYyx|Q9_SFQ({C!E>?5bPfEw*Ws3;X$!OQMy0_A>*nC&C6K0XJK^~uPwP3b>A7`dm zQ|`yDOc=z$4Vu~-j~5w^?A9xzU#%qZ$S$pVn;5#s5YGK6pm@=j%uhRir5tN{(l5g9 zTSMWue+DvHHs00uB!At|{6FJZYz`j-7Y-EE^={^w4j-L7y~RY~?!%=Xl^;(Goh|FQ zZceS@9LAqYW%!e=BZm9bpWeHDXelCyBgXwLQH!xZrsAN|dU!kTBK2*|Y$C#K zG+Hp!CbYQ7i)A^G{{S$x8RU6Nz!jBxlUcELzDTd>dQ4j8;m!DRe`8tY#K`LtghkT* z>F~;kUyR5`rSD0%c61KkjV!J6<*a@&_Vy_t!>8dUw?E@pd`=$=65-;$RMYQX{9E`@ zG@oinrNolcW<~6jxHWuRBS=U~8j}YMhWT=zrj(JaOJx=m+DNC@N|X1QgkxCH-H+GP zz|N?-nAlfZ#7>x49%($NFIy*XOOD4hE`uv-pUYm-NvQ?7*RS~0WH7xt*wk&> zh`(B7%i2k1ZxVMKivd~1Sk}|W!Gps{C16;sf?rc!%11X6XBt7% z?rE=-+pQ)oQ<87Oas4abARiy=YK~Nub0Y>D91YMM?v@FVT#K9z^Vt{F0~>UT*JN-XLPM-oIV zi(y-D9Qgc5+1Oxw+}7_{eS?995RVGV!>hM?j}Dwp3=twgr<&d9B9DYnP`w4K6vZHG z8#h5%cor4@W7O~32GI`JH4-Wy32S%}ee%*j@WJI@U#$`Vxi%FZ8TRJW#Dg|O2IO_5 z{{ZdXtN5wKTWEfjh#1YeGveZdD#p52!pHv5!yYEHN1^)Cy0!AKHtTBXNAYj+)5Opo zB6AN)icuib!W&jJHP?D{@SRTM=M}$X_#wg-ZlK+-R*t3DZtaL)_dpwh7T)Zu#dIQ%f{DCv9C?R+jX@Dz;9 zbR_hnw6IXHiLp`U`_?lT77i{f&6R(-sP^8@c17cPy?ao}Ak!-fY$0662PjFu(x8B& z7h`vBr+l)<1ZGKCA`Yb1)7$22;dXdtW2SNbRk1ct?D)8ne;vlPiI}aUkNAyH#llM+ zPjkF}^N7qZk}vLj51SO-IU_&R(vySvniJFcXyYUg{1cMb`qDU&L#enmh+@THQbRXV zI||#|PHmaNiw~7tNZy5*=K4{-vUbbe+gJ!2EG=y26nlzKlir;ZS1r`7S>03`` z;cY|XWSi11#@y^*OsqsJl)_&mf7TE@TH$hb>* z8;Nao(!bhVXS^nO(m0K|NbO$zh2e31;yj&idfNEWwsA1vu$qkCe#WpnKM%8`v}ytF z$GuG;i3=XphK!TPe=~F*gTW6jHgz2c2ld}P>jY(wUc=U~$(8~2)}lPN^sT40{n)cW z=+iT0vFx=5+4ned%9)ARPw!LvMEM**rDT4x9>1jw4%FIG!ZAqMN5=k@V2A?f27;7W zZi;g&=$x0fYTC~GQ)@?ojjtLX@7}g<$X%C-nn5mL;>tdi=cR4$8p=7V@i5=awH%8s zx1!m!0*5Nvlc_#3{{TutI&QYRy#D}d8;P|)m^C(>!jN3+S_;qftn`DuFEbK*9}wkh zZzk2&nQuX<{XAB^Wh0@bCibkL)u4Y0H0Lpv$I+*A`TCKQ=Gt}ZuYBq*Ul z)s4QktajFeWm-HsiKabuthkM}wGo~IfZF;S04i)Uyjcez9$R*-G^S|v>NF>@r^)dE zXyIdSX!#%2Yuy=^&pe0quX}i9;m*;O=}=&BOLu|@xxST-*_dshwwXDHMjb^bvZ#*D zHX`v3mKxT{z$VYlE=QJgp!y2;V*L1)&VF9iGzKxq>mz6d zK?1vJoIB`2q8P+O}>N-r8Jb z@#ZdV68(K^+#)e$D`&Q?Ugq&=ycYB3P&NquYCj5%{QIr_P<{{T7~wzPU_O17)j*y~))*Gg;oFHME+rp-w?jO3JB znCYi_8V?W|i6*;KcHY_wT?X;zHEMP+=tb6%#$H`(DPzt3DRdM-J$FU%ef&gTu0gTi zlhaDMUcD*$UYn-0ojhb)r33ubH)H*xiwlb2q-FA(KmDr{#M`?>z8V(PckNp?8Q{U9 zVqZLi`&KGb6jxs{kJo8B047nH7b*o}r zYGX_KYf+$$0uF+-r%*++6+WV*7`UT0m0I6TYAiY`4p2|ln+Ufr5i!5hrE%v@R)o8H zuS(#}Kk>*3@~vhAL9IzBh=6YL9*Qbai2geSOoKtzpjmvFp%%`Ai6>u$eQOO4BWmMU7dRPN ztS&VBR2WrFHY= z5AIt!BqGe*#;vXQo@Tb@Yklc#x|6A_;)<(_9Yr#}9kVX0=}}@5U!m}xl%8GB)Nf;c zUF7DVExJz2>p?>3JS(J!#zn;`zu&;X{*`>h56QRFf3z@1gU5+uzIi_q&C<4Z)WKqp z3IY}Fax&WVbOhS<#5lJ?suU;Ad;O~%xTM7t#q1yxh`t)b3`;rHx^f$bIGf&Cq%c+zu`yh{o!^QCQ~vv$oO&)+qEOe|nh|%N`yu z6n}-c&nF5Nanube2#QAUEt#8B{*{M~<$Uo-=?|f(ppG3>YI>8@?%DWX+Iwbpoyp-g zZ@#tF_mO%6+mAc_DSJfsa#qlL@Aco?C;M*9LhS?=D}W*STDCPa*XBQq1tS zOiiuX=n%r--iZKQn+oE~ip(P9kLT`c7=$PgcHI)0rQ8X(<>m_nb-e4?g?S!InL zP{iwQ!n#&JX+?mCJfEVDtxxSsG!iPomCuykwj2$C!93Cqc{#sIekOSFE}260*RJ>d z?ogn95*<&erqmJitQMG9#_gdq!GWGs^D5j|vj`e@oX#__H;=#Gm&|-Fa;@qyx&0^$ z4dh&EFHaLg&lUdw>8Pg-qjI+A^xnh~T?HSdz9q?^127cGH}}ff*IYexvoIhE1P}JbW3I*QZ-n3vb}@IaXj{kehud z!35VTMt@a3DTXaIKP%_@c6ERse=qRyS|)`3~$xYbQ?Uk#n2 zY^&EP=~2TbBnQMDI)oeLmE|TVKl4AOMHq@OgSO~En-cSO9E(_E#A#*IQ(^j4tRhx- zaHu+yKqlMUgfkX^bhn_Xpuxu?y5W;OvWpJ2mFEFCd?>%Ut7&U)#I{%)n6KKfsgeW* za+_*5E)rGHVq7n3!#f@%Y;zdRvwGC|;*vfv>H5%lVDk&FtwuxhUi+J+C9O~C>s>c_&(pyyp%V9`_nzG= zk1BcN{*@jjU#~8-92LFm_^0_lB|SWOkEWES!=+|FEoVP1b2rkm3d!}Wm8;e#FT2Z_ z*>W42_FTBcO_k3GFPGMv709kWEdcInD5oU6k7M%o6x$~X?p)y`%yqqCHf9?H&haIg z`qSMJnNLAjy^jXe!wF*v6#k>9>sZZ~h}hgIqjq)p^7_`z+mK^WaUCL-_Q`rhmIpjF z5=7dI9+kz!-~HTw>Y=fn0;_cvriN)bB#}&a>@_vhbguK09C{$p zo}pDl%7VaDn3JD}3g>ax&{WZ6ji<$83fo-{i(5K)F*sn@a!QRg>q)~G$(OFSt*eZe zYhy+W3;Z=Yk>0R)7%&X$hF6h}j%yDAABioqpX@hHF9tH_`g+!UZ(bT|I$xzsxSK4l zMUzsCQM$;1m!YffNP;|$51z3S2w-<+3IOVB+1wzrYHeFB4eWC2X$9Kn zcc1O~GC<1Lhfi8b%bb?V{{UKMWg6-!JhU}qxbvHDX9zVlE+EUv7&Nc|>N=6vd&k0T z%c^%2n1v0lgnTvcUo2$QQmlhd$X;f@h_|M+g5DBKbm>_S%xi^zh}Q_Ol+yy^EQ6Hj zezk%)osYH76%}7Q07ufW@eg{LvVmiu{{TJH%fV1`-saoe4V8<+*$MuY?`1T^L|6H` zt!>?nhldJrICzL_j-4%7O}C1`;MNp|;SZgw1B^_58D~I6`ySPZEZ>5Qa>J?U1q>{a zfx?{W*|inNnk^n4C)Fror)Fdjt<+w`*B=tR&j`!h1Fd`fJ$e5C^w+*2u#26~!(1t) z{v?)Pl_;3-v3#pYlT0(0Xs&bv(xHW71Ot6;Z(h)2TNyfR>_0KSzfvOW~@#Q{LqUr>t?lJ%H&`dD+A04x!>(vjh_!4&O>rQt(SyM9tjZ(5PA8! z>q*r38MC#8D6rj}3J-I<)>iqeC#kO?`fqsE`qkbpyy@#)t!#&_bEl&URtIx9UZ&J> z1@w%5rj`{Z?%9n(d2Bk9){%0L1TZ9sbBmu^Xl23k#@Am;UL43AFjlS;{{a2eMCqt} z!lIN&KE9M(yJSQ6G$qJ#NOh%P-3>M%YsyclsK_V?@V`m`4x6}xuqLxN$ZGHM)=TQ! zx^C%LV_RzjDU@UI%p;WtHEeuT`$iU@kW7auKRBhusO6XN-?*$!CMQcq+1~d7Ymdgm zyTo+^`c!S56@k6R>0{!iTie&`NrUJlc5pfaQ{evq4TM8NIhW?FJox>N?F=J|kL1$g zwkFq;AH;@r0#x+xxR9dc*jK(qgoa#Hyo$!)cQvziq^qO?0QlZ4I}G2)Dx`i}kP{S}C-4V*9|Ah;hto z*^Qs(#!9;MOaB0kM9Dd4;jb%bYaWrx@eGL44M9H*K#LXceC^bp`_y~e$(fG{O@Qoo z<{tk5rng;wl_M05n%A)DTR$%cMhwK=ty@Rh8L;^C3=yeV{MY!ZFKY0u=ZZx7^`w!u z?%GKf6T(Ye9>a0CHx#XX&eu6bB4wg&RxQ^`3Iz{8iTYBIqO-59W*dwrjAc%vwM8cr z=to*)4fLmx!QqakmkhrVENZ|uy(plu(y-SN^B(jh^`OA-!ub#0h|DZ$wtQ{gzh~Ra zGYV`h%hE${y&xPsz?{J9X#*$%_7u=&?@bBx{+d@0DqBE3DmIo2<`-H_Nm>)NyZD7Kfb_i6!8Lq%KGhoxHz#-D zq2*P-&{XcwJj$Z{TWNX{w6X|;`?b0+b4a-mEy=g9f<^at<3_x{8j8n72--n#228-* zx$J#veWwgK5jdG#d2^1JtOn4FYLmp1$?$Z&V;(K3x8jR85)sR%_pOqG4Zl7fFX32= zRhJ3}3IcEP(2o*%jKN#wwt}(PsP;@hJnh`|HM4M2;e%o%8K;}d2SgN@G|Tv(ihWwK z;5=y_P{g)^rpIGs#K{gAM+k;I=ZHGf?HSVx1}Z3!aq^iB`gZA9{8YF+S|UvZd{E3} zlvC|YX~E&05+fv%75X?8KG<~OJRlTk8cQEhM``1*pU2?Io&zf77PWrS#$f*djlgj5 z8J8fnVKJD|jD{RZiNx{e83nCU%CRP9{{Z(`Slv~gPcxg5>APs{Og_txv2)QDy_&+v z@=c783qF-5&%#WZ9}gA2)dn6cGGvA|Mfz_j4z-^sKD8L4)B!$i>C~SM>E~N=g5PRc zPzx0`?-1r7>GzWTT4B{4sM;%)F0-?D&z=ByY1+axAHxbrm+kpB*Dl9Py&RYLD5>d2~rEBEQdA&t;*I-wgaO zP<0ivHdI?N2vePj^AT8xzhv#`+7bfDZ?1yJekW-A?$VEpmPM1{JK{oI%Kc7&dJ4y3 zrd(sq1|}5Z$B~vnPqQbN2?ibsVgfKVajCUQv+)>)hGdfp&loD%mg{b3q$VWDDkw1!VxpH3 zEK;;f!$gRGjVBU(N;Hua$UjT&mQ;ldk}y?Xq}CcF+S_6CGqN!)e&&$^AW$p@o)&DP z^Z|CwT-_)j8{f-HEH{=4H8!IoH}KZ~08>eZ>&0yJi{GZ~i|8o8J{DyAR|IAkCBF5P zdJV?aAL341u<26H7eUP4l^AU2G0px|2DTf>xV0h5)}TSGKbgnZ!;OoH4ab>v6&74v z0G_nV!PFjaN>XiJXWn(CK^U@%mhra`YCDRZzXYBNMfblvN zCrX}Y_KzNsN63J8?dwrOu|Tlu>Z07;>k$A^#fd_?>!+n7i4ZvGXnl7}63n?+QZwO? z4qZ_BU;TH-_&AdnXXhVEmL3anqSLz$#-ni}2VRD=u56bXhic*|kVo+mdfPiT9iXD} z2Y*f*8zc-rweF{g#W|%A?+XxsOk^CeGUu zqZVn9M7`SGJu6{tv4~NI#J}ToQ}a}kEGwCfsssxk702Q>y3}L2>S_VaGj}g)V`|BM zr&04`Q9h-&>g7Q9#e$})#?mpBZibi3OyPQ(S!9>Uw)&bFb-mb@JDbvgu-?Yht8Ms~x#5Fv zQ|VdBT#)EKYK}0TQFH4+F>Q390O{al4fn2xT@S58{CNk858bhC7sCB36t_$DwPD;c zY1)Q|#qOhtdz`+N(Y~9=y-6F!FA2BOp^(UzBGtF?(_pY*!Enyj&+^vGz+-2{Cey^V z`ExI;)&w^PF+Ov94%IUmAA=g9E6sQ9LuBB%yl-}oiPrTF2Mvdjq>2Pb*6nfSdW8${A?|8Y6R@HvL z>0Agns{Zb|lcBbvmDKb#Z7Fo+-tv4Stwx!8_*tz+Rm<1(tH|R{LG`48ROUR*>USmH5-(J!WD~*~miT#X z@Y0+3*j|^W_wt{$LHs4JYNviIIBeNsJjd@_Ji>5Ma2q^fYz;hEh!n>bvHt+>tS1X0 zF%o@Cb)$aO&FfN3VbzqC?ni1Eh>B;OuQ%bXf*g7ZsS`-pzgq@A8_H3X>f7V8`N9P%M~*Wog)jHb2clRTkO-SZ~C4 zp4QEv`&J@0Y3&1*ayhN(NqiN-yT(oP_aAyz4lbtScGZg#*nCI2nFd~|extp6Hkdq2 z4HLkvG91S+sm~rofjq0{^!rrPLx6)ktPurZcGedj#Sx0X%G;l%4cMn(ffRtwa_dOB z5HF=|EN|@mBTttO4eT5m;Z{Vr7+0qv>y7uKWI#iiH;}=&Q(e z`%tXwduA8(qifow!$Mm5@;7@muULHX{uGA)04rau5(iQRGbW=#ep-tT#!F{t)8)^t zI4T4$SPKDDFop9d%`BP$dT)A^nMCVh6%M*08?Nj3*?xZ~Vi(M})suRaPV@VgFmsNL-}Uf8dF1zo76X+(*LK&(&5Oi7 z%fiC1e=#+%Hg+ojkH>u*qJOSGxhCBg+*H( zX(B}FxjT;$_?J_C?7hWk;>Ly<6ltYol0K5@{MGFa*3B2XMB?}STUNxt&4Iv5 zB=f$Y54A-yE(*b}_RDVfq{8H}639J8`tFhxm|8`+p@V^XNB#FCQG1kFzx+wXTRrvj zR|z5Zg-;QVc$l2c(^}ebadw_B_hg>Y4>RS`?%D6HvsVf)bzE2eC*JLz`r9_?r^t9{ zx#c|tK@LuL)>G8)bXf(MUZ%s8iQ+58!?4wUTEk#qgo6?j&DFb5!@(oA7Iaq@y4-6> ziy8z#6-PiTYVC-2aumL4$kA)rtON7orUx^5Fa9+0EJEyTDW{Dsnnf4sQ%cy7VuJSW z{i_Pf(2Rn?bhoDLxqYeUW{&Tt)|l8*i+E&Ca0hw=D6rnYjV5n}dQx~3zl61g09&t$ zUU~BR3)UQ2bvM_^c zR`jP^8upJJ1L0c?v;Hn?l^@|-4`t!8(7U%hgG`6F)}VeszY^(KoEV>&9IiSV!^y>k zSla#VQ$@y1xtV^Vu<{mMjr>H>t2y~y#C@+OXkdaUYlg#o^CTh z442J&p0z&8!Q!McO#pX2?rYtkjn-ip4H{(xb`^%g!!p~2Y(8x0r{?vq*;p<&96+2~ z-v0nvTm~9ETD-Ve_>68Hd!Mx~&%z9GcEX@z%#GlZUK=I)Hkb6@KjTiYd_7v7dMK%I z=`FKd73f6?CyL?YG6B(rZGDpaL6aMVH*;&Lt&fbxVfK??=DfL$k2jKt1XzoTh7^|& zNEeAT7wLKcD6ke4YTG+$ur9cKI%b^fsH_Ie$KtWkjfEt1)d zD9I2V=}76|T@Ab*bM&l(#@VK3k#x&gTNsG%OQEsx9$sn$9|I_5v8Y&~;Xmo(#V-y) zFJsn@R$V*N-Wft3ov52vJ!bw|=08fw_3<4X8pbROwrBUwBE(#tUbV8K!NCqpAtWAq zp7k_jjLYX08;4M93n>OkI4zZr!P15-X~d1=2fI=*_ufX#9d37FuZTQ$JqZfFo(xm4 z$cWil+SLp~6vzobebdHdPER`Ov=6-jd&M$q_MtS1D#t3XH%14oEVr5CD{E>GuICEs zQM=Srm}GcnkQ};(G}xGxGw~PctzdxQi95EYhO&LPOj>u~#(77bzsj0?J|B^!jVv!> zdsnkoZKI2BzK8XxT1-m64YI_#U%9Lh0}7V(-?Pxm?Hl{u+C;fp=}XrB89cOkb*Gmv z!bz;tc8q?ek~T8EPj%F1n;l-4CRuOF-{b|Q~ z2L2+RlsaqRo;=H#brl?$qq(gA07?e?x@_YsjJZ^?)4gon zklSTt#LF`w&DPhwL9@mZ5rxC~NxQl0OqPVCV05so6DvRf(=LR1ZrWJI!C_g#ch+5S~f#lHH~T*^M4;JS^EoD9z5_r_!0FcR2{j>rue#CU$(=nA((Bcv)}vpw`g! zuRf=ziHK2hYmU-?4L?&!6K2mQ>|0!g6oV>(xjKG9Hs3Gs+M?DGZqyCyD60|Pvk}&_ z3X}JIP?zC;wV@wM#X=XIbf`_!#$c0U;`3r~VsK5+-msfz3AB_X@eKF!5qcia?94+F zj{gAkgVLbG!-YW{D5yT0u>*$bI2}CJ9jGr1@nYvzqYAqjVV5JChF8vFlmOsgPm6re z2}o}%uSOO7@BaYhO$+4BH06D5ps6@;$;FMMlzKL%l-vWj^fv22;*(cYap;|DNqyv` zBQoaI!5yoHnKD>q>1vWJE*>IsroOcv5ndqAY@l@~rA@YQaI5eQGLQaInLV zY(uiMbj?_gX>hT?uNUIGd_JFggBu4Wx@jOmdS>uFb};kmmZcxRgV2l zB%B3Roh_}ifu{4&+pS8bII~MDyL13)tzodL?rdpItm80xWf;JO{{pr=@vMhF{%rfyb5fH9B!3BCxJ}hp6xo ze)Jo$-zFLvjpT(K`mm(I;iGKH1WLoWTHC;#lRl(ZvyBwHH-wLtKzZ`@sc>Qdyf=Pl z0@v$C7>~d@Tcsuv7`(BH#K4IOF{noDMHpkkteA{b41=fxPw7}~ud>^TC-Cz2fAXwW z+1aTQ$;&nV73)|GUJGfVF-Er?REEd6~2O^!%FpA#tS$~#`aZDB-t&LSeVzMX%iKGDZ*tY5p~ zUxb$a-nE1FXb0lsW#c!eYK}CCa>j~_=%c_5q<^hgp0ow4rnLYYOWGHdJ2Xn!vurDwki1rJGS(yTQ+tff{*=N!>@KLG0cMWe@nRZp?J1Ke9cbF5@gu(=LL>gxG9H;v|VD z59KuzZ5_Kj!7(`kd_4uK4`ljr=liM(*-I1~R(40U5i4_=+8bL6_*UU!S>@=wwyle> zp~m6HB4>MF$|(CQgwCa2K)2Ou3?vv)Xkt|DpzxDR%J=o(wDy#HIs(ScC&HKOUd>@- zwD`$+M7=)0TKA;Mb$tGcI?`c`-1D;%ehcU;Y-6z)ykXgxeG>V8^|Q8eY{)o3-J4f$ zQ$tFV%UOr50)86jtb&|fzT%=hpKUiXX4dss z2>Y5*(FbbD^)--Mlcg}f-h*~NGS$sjZ%XE?_BDq&b0?)Pq@NG_z9;!wu`6&GYif=A zj)sQz>Ia07qUS&>VLn}{G!XtQQeN-VPg;rufLR3}+}O2=iMsy)DWF3OgK&3kiLg@7 zBg1r+4X!(yz(~_zaPr7=Ga$L$kJ+$e$Kxf)=)W~(Dr*5jK)himOC-i zF{m&bcL=|N)*f8Bg5v$;>Lvhl>uLW!A8>aiPC)r4C17^`X;y`uJT0h*5>rg^fwF zHjV~oOc6X8jk5!&A6k4i+u7favze7e&o#&Nt(lHpqk~y=&C$o!u*#s52q*o|@K0Nb(}tSD+N9P2^iqK-_O(dd+U4v)@IoVfC!X z<*di$u4ejI59?2Sg<6o^M}unYq}qs}zD8b+YW;z02{p#j_&HoX&jD z>$!XQiLj{0Ry|D~mEN;}D_1l$-z?cVS5~9%7P(@3ZtMKysd8mUzU}xy7r<#r1kL;dO~A-r=k3UfYSN0_Jmad=MR8bgYlkxQV8ha*d$vazO=K09>qC-; zz6LfFqQbHJ6AOX5VYUOqjZ9PH46MGRuJ;;H>EJ8rS;*=u zE%h~Fn@zcFw04c1^^43Pdt10!bD^s6@ zb)^|aw;DAP_wY>FVq;i!%Lu6Yx8$Cboho-KnsqgWk24eU?zI@ftb&J_(?wkS z=I2owY%{MZdV(n2+s%DN4X6A~H31V3=oa1;zV`9A{{WumpCA|TLY#PUSVyDarui2c zj_F=+M_)-xZ-E0bx&HvAk&kg=uk6Q)ZWugQ(w1Sb8?5?;X9M~I*CycGFGNvTmbrP@ zdxm~rbOlCpf93&aj6pztHXCMcVpa<9_`pB>`XR3b&FL8wgkydf-F!8H7APlqA_zwI|P38FHscwj?YyEfez%O1a z*Y^@;$SBJjzs%_)EsQd!r~H@EG&NR4MRfc6$JC|ebp9?Q%CFmBg@%)a^S;e#8%O^D2BE?DR*q#BT`=VY99>I8rclSh2bugr zIj58QD3@@L(=%5dcBJW2HMBff=9T2%{2X5VCH`}L9L}YBRnKlCAAxS+Z}&f+;#T*m zeP&(;+`ohuy!N4(80zapp+c2Kv$z>m>={h0WJRR^0NDPkFZ&Rvt%DS7 za9_n?Jxj&xgf1wzOM8|2mqpGhIOJvOE=U1N468o-clM*+>9^*ZAUxgTuTqr>4ErW# z?9;7sW(tO)*-QuWeM;D0LEPpqa`yaBv60WyGkWt zJ?VS%+zhxO3m_7#j`dS%yq7Ml9W18_&4d6^i!Y26H zzT51d_WLaL3F)L*Tj}9P#pFkCFPuYyZJAn%>iuD3&EjG#8-aeFdxh6ZU>}AQ?8nVa zkQe~O-Tg!d0Lt|kI%#s{E6rE- zXWP`j)(bDMAZIUQu24axLc&EbD~t3>_bvVIZ8F5*Df{toM{xe{xL8-0;Bhf;dtI`u zoa26urWs-X02RcSg}tpE63QWIEU%(0ppP%yx?8m{oSy``9y{NT{LvWO;!*ed_BZCw z@4y8F-}B5@44)`~J81H#UZ$1l^GptXPvi7j710%2T_Hv|@M-q_52k=qD1>%&OW*!$ zUb{?pyxIM-lYOo~BRPAfqtohULzNxd>K91q39lE(rS#Ms;0zWVBK*rLH^s&72@v7` z0CVbpGR38Q4ul-C@}w@9Ihl8Q_Dv>b*g5q-Y^Ob>-bYuLKfEK$-oN{VZC{-#a&!=R z;BgwGLFIV^%=8M4!nvdb7gmoJ}JQFcDMQo zY(%2B@SR+BIP<@czCE`yET4Zck)rtixqj=u>ZXDi;V<&DFC&+Ka`e{%FF^E_Qn1zI z4*vi$%l@A%p%ZlDJV#XCVXv>pjl06X-g?sO_&z9nY(q!#bt<_kFn(gs{{V`&amcog zoyk?M6K$HsuBYCgqqrIhUI}_ieFoycws>V2{$>il%;+foW6mq`h1LD<1z9@rg*y&j2kY#Zr*QCZe%_#!!nazRt{OL@al0U z_?02o<|VQK0aEYJvQnqU-T>yOHBhA(J~j2=LbnVH1-ug5YO0UCL`@%cujM(rxsC$2 zH&(w_)klVA2XnPwvQuU#m-u%IF-3CP{{RyA2a>MR;Z+K4jys0UkS8&EFa3at z(cFLd62hNLFVhn){QGP_i|rSW2InnrjoV&vQM7*-Ou5{4cWHW7cyut~XWMeU zs)EBdeah55 zKbiL^Z;&eFm|9~%Us`+V+`k$jsY zKbL`TKe+BD@m<<@#QHtIx8IU?&Vg~2RA20jz5f92Oa@tF+;q@vaDA{quqvHEc+l}8 z?~<0lCkdQ8OBD0Mf9R!+{{S%#ck-6=#CteNdUNIPiP%?3ZdQCs&f@;A&BDdQ3J0gd zHPLd%B(X(A3mi;McFdBw{r(DthLwgDKJYtF+^`xi-?>!o;anb67Rx58756sD zj(;@*03tOq^I+=d@c#gOwR8RZjjNhj^5p4Zo^^NS1oz^#X< z`xNj@M7lE#yJw<9HQ)^-(4Ih3G^Eus>SVcknBPy1HV~xbhR*PL`ngQs{5W8I))L3V zi*-$iFz3BRcT&jlRa%(+=5GKiirA-fhC3g-a}SgFwZGfF%yJ*VG3#9Kr<$y?VDkjo*M4#i8e+9^$N4O_Sf z3SUEso2q5IONc%#jZV(qB=oZMs9 zxcn1xW83zP*Mmk?n%;q)y|WBIIzPn2pdL7(Ea=)pr13kOVZrWx!U2v+jrHpvQyb(|CK=XaTPO~j`XzDKpI~Rk%+$3hzttLtwb|LiV}nCa z;Ocb$0EPYBzN;qO-SmZZ8!$U&UbYFe#yG}1L|L>~3H2PB z3uVkjD~eXzO|=yN0J1N)f{Bv1RM;$MC-TGN_0P4&!M?p6UzcA3<%@XV=$0n4ZiP~Z z*B%9hpgp2$t#pn#WdOYQolw8@R6!ML>Wy{B!33y|A{{T~jmj$uG@wIg_&e?p|!&BM?W8_v$b~ErVzi}B<%gXhJA!!ngHzEykA;OJA4$mOu04>bOuBQJOedhrmV1~%Cir-M70}x#PZveAFZTQ~ z2nMe*wUs?#52$#1@Ftj==2O?{5dG>3O8EZ(GoKp+OuhmO1gGG4>6sVu^%?d@ZP^4% zGv!s@sO*ZT9ji{JMhM}^aVWbN;HzXS#A%OdiP9a#-LgbLCdO6q_5H#)?5-ep4$17; z^!$nig=Z8LAI!NzS$Um9%9R9LqyGT8Ft?U@d#~zcIGTsE9PtjZxpZ;xY&~A%t<=H( zOmTY^eZLCmX}r_8c!bM7-1`sr>LP7__G&H$jc!y4fGLYraZx8h+wKXy zwE5_F6;sdr-NXC*6Gi}0;d}rNIEupl2$qtDN3F&7@yE=>*obW6Z|4YX^+; z4e??A(EayT$w_k8Gt-dNQzmRQ^T8lJArC3KqqcMzTP9^8U)SMo0PWmERffpWJ*Ex^=nn_! zL9+a4v}O%s;sHEE>$o`=Qy~?9*@Q3m^Sw$Cim&l`pt;dhFbG4+A!cTW)Bp+$9zOaG zW`4)vf4J<~3d=k0j{*sJj+BJy9Iy{lW-l7exb{7Pe>uk``EIu)~k7bsv6p5e||WR{a3A}czK(1K8cZ= z5cT~*d$#oos%7eb+WSo@n)L8XOMLWrBgkvQwZbpuWOH>ejsd5S87srVEyFh&vy^t( zHS1?_?y`zopNG;D0NKjRb!Lhu;2>ATRa$iyd3a3ubqX;505e`25xO1A%g*0W)GzK? zOZc07;HV{uPnSm85ly(o;!)hGrG=+}c-<*n>&}$PTFpPaN}T!T`<}j_w_|M_5Cuv6 ztB0w7?Xf}BHq)^_gy*JIZr!I#y<_X#emQ#T^%fp8jF_ADXSxmO)uAB^huI31%4 z${#PpckA2`1E8W49WXlWI+*Xnq!#06$ERj*A?z>Au}%3CikM;k}KRlCx6YX^_ z=5%WR0OKgQEu#cSyRP6OT$^T8c08d|hky(Bxh@gkmO(wN5DBLzDP?yb;C!{bz;u-uhp=|e1zUdv)JC|u_Q<`yn7cJQDx3ie zC9>sqhU5P2$XH!2yF=<&2c@6x1}Oe-^C^YxOE=F3{{SCza4o*a#XY{|4|Ng0YOk05 z6W*dCi+6Qa{XwvQL?VcKj(oy*G_H2au<-Sq5q(S@y00n%xCouc^*KaB4X+WaSH%=H ziFVj(+PNb{<(+lzYgBzM8Ah{JmrPn(z<`EYWwGt+EX(onroFdPqrv%jA;*lpQ&jgJ zex^X|IA^e$VE86K5OI80Dg5&$HIFqaiqr6=GlD1Vet*6n6VWkon04w3;*Yqt$VwAt zscvyT%Af6;=zT=fcdKXjD$u{t{KpN5gTH^$Z5h z+5L~XmwuaM(661orxX7GVEi6^YGo7l$QL6^?rx5zExJd8xtY0pA3J65gMWdEc}stZ zl&&3@*Xni|H-;S4s*ZYO6odXjli=r;bn_S*M zx*TFu4@?|P1NOlZ#{6~C)9Mi3`HIJ9fVfOI!uRDl{04tet?qH0M$`MS)#1$AwbQ7h zMNJH~KH;A%rIL7#k8Aj5I+h2`{{U%@=eciZkM4$_UmQ`_jmTa#;tv_kqjPB=O54uA z2Z$yKVAH_+h(NR43M&wVLz^zlf{l>tamEi6B>qfPXtKKP znZ30ap24d1?l*qZ&jjM7i*9X?QNM4emUAe5YC1fU%kvBME9n+>$@@)t66E%cy;W*6 zW3$a<54lBoKjJZh&LWjh7Y!?dWySd~D>1c%rCv$G_?Ome#7SZ#2goqcpMpC9cy&#nFy}Uu0@Gw2vKQ%{WndWLnM&gNGKQkiVzV&)%EBF*h=dtd6kiqp0Dze(Ie1llUrV-eFGg{8Gbmu3QR)Zb8$R*4 zdWUx(JPzM+)o%82{pA*hVaUzriOk-sf5t)Wkq4j?`S8ip)$Tj~V9Ps2@$Elk)9b=; zIhX^K8JLC8ZC7J;~Mu5+vUC$AC(4U zU$j86zdus`86A;cWqP;Pf8QSVpEd0(c3tRDI9824%w3jf zBa7!w)0`BP)O&Tl9I+OP0B429x%vL(U*yUJK(|mVIruFXGKn4|1?v1jC~rTxwhC); zXuwjVjNBZxL&||3i!Qyyi$6*0QEirqRvMYXXZD2{K5nB$e=Zqen?uog)Td&fg*dZw z(G!;0+yYsc5js+33W@E?{x);P>1>t(xaaaqh;PgFIW4zdj)~8}gBePvo$40DW!Na) zKBc`i2Cs_5pRdejJ;4E_$%y+~t0Z>af z;n-#=7HZz8JDtogaV5i+3MDw@d=QNvp5&zzSAELuF)_ZT@&xAe(t?r%*&`W9LM=F!v6qh ziIb4F=A!N|{D`v7d2X>NJ!93U+F$2U&kyB`da&sXU!3p>9q3!H!--1}+9W2ckU##K&yTBz_n#$+X6IS|yq%I~O z_Kq^Y48O;?dzSUR!%zu;(KG;`8|yU*{dXN7Q7(nr2izLBJxV^Jn@hbhYOvHM{{Z$i zbZlqSRLVJ+Wi6Wh`h@D^JCatDX3e2e0B^W`2iO{dq0jJ*muza3enh7*Jq8vGalw%!RBMV$!PFzbKMW~V=@X9 z%Ut@3cFDGm=0W>U$z4!~h6Mm?!G_FicOaoOLCneeEf-l(r_D@KVK%8{$(=%06qmA!LnQ&719WCpdc5wWZnHt6Mo?-zz4asc=7T*LI8A|C*E72|uY}Lg*xxP_U{{VE3m%hq1IrN5p z9-I5C8%-!4gmjd;#^*uf#EfbU1o#6O1mZXPLmb)sz8pt~rmfS2S^bBT=-$X`0dmh_>3x8)1|+l5zd6 zKmB>kiF(OW(lm9G*W512TkED%-Oqq_5MTXFCVPD5eMQ0!d%=D^!F?WcVeU8L&$cp5 zBP31^s$F@<-mFhh{lB$`f?JA%px+T&9>#Y+n5x)pRr`HT%dPX>&CAQi{i6fRzu@pb z+V~SKH$?%*s7inU;P{g%iz*Z@LZ$I z{cLjgFHjri)3|BF(|n1o*2!Y+j~Vti^usE;n`f^irVSVPhEv_ASJ>gn!(q@u$C>~N091;_ozrv|T?aqd&UqF4Eey5uj! z{Jtk53VUgsrpMHEbv4xOn}^~bHuXKG0k75Sp)7%3PHpB7178pMm#qOxCcZ0G!toCT zJ;5;#%;%_M)M!_kg7Zt;DEsrL1`V;T6u!wSATc$s%(ts^F< zLMcTLzm5`;1O5?>-OCA&ekE>TOX?w`QC(k;H9K6Xdp{jBG5-L_ zHwt6#+GNBE4IA_RK1SwQSCZ%2i#&UY$0?u>S4vr3>lfdnObRBnmIIO?4H-- zqmrF4sB(Jr`<5afQ#_DuBC0N#xT0g3qx)>jZA(k8VjEku`$1+OW=HB)U3+#`)0o;&!4I6T==vzhA@KN z{{W=gcJlrAOmp4ho{#qxmW(s_`g0S%a0FEoUhHYCy0dM0$ zd!XR0c|P+4+;XWE1;X{rR?SMg_ciu>lFeF=(m>GoVY_gVj+5>Q#UB)<)31xFP`}Oc zdVQ#I$j(K{^@RNwr{$N^UTolCqw|uuT()s4SXY1gfyA)O92W-gwfjiIxzw`~?jScU z;H3*8a;l=6+rY)hTXNEe*^zz+Q=Q9vPR`=z>y){Y)f_mxjPLdK$=~bkliyok6Domx zC$*H!6Fz?juPcr{lFRLylj(;wLq+{oBp<+olo)!>v;uLAzaH3U_cGq&b;Vr8q}`p6 zbF;9l(Hd-I|lz5F%Q3oy*0$Hka!qJ&Gf zkjZDsDf(~Xd+VQ2&b9GAJgA)cc9f;AnV3G`5jY&o7r^p26y-vnL1CJNAJHfICPRR+ zD4nKD^qF4CW9t@}=KVv@zs#p`MINsHv;Gvs%}1@5e(?*m140T0zietL*SaHfnpbD} zR-toUX1}EsomITN<5%!1oYwB+%H@e!{0uHLbFqPRla-QXr?OY-Xz+6_%B9HmA|NKm zQE%KVyQ|c!AkaV>E1XO;s>}!ZS%xYbrv-5{J$zI$@t7ai`t#ILPf@Gtl?~DOJ0E_1 z+^c#*`|IOzXtx9_G!#9>X!eQuQMENRFTs|kTFjew@g**BKnC=mezDifFwW)pUNx@U ze6yKJF$0k4&k~~iTWvHvEPM4YVQ&8Bj-Un=>$opRyncF@hJW{6c>TACC3?@2E1KT9 zlywg;7sL&7+#_6Yd3WrT>fyG1M`f(Br-#U)Re69)2H84dkfwc)Qv-9IvpMVI58AFG zpB=?0L5=VEWOObq)a%p}rfp}Cl-E$Le-UfEx4uDtbx+v_aw+}w5g6@B?D zM(RA3@_;Y+icU0eFz=Ty7^L}R-R$q&1VT~^DqXgeK@!_ z7v{c9HP75jJk_#j!e8JofqvKj06%@r-H3Ac08uRt{O_5Ok!pqVTaOSaTD;_aP5f?k z7$&jtP!-}{!<${e04O|%h~|F7^U#@vgZz9o{VCM0!4)j$$Kol(I;`xSyILyz<#6@- z7yLunq<=SM>se(U`E`Hf_Sb#=bqwTfd{lXS(>XnLaNhal{vm4wcauq1Rl0`9rJI9b zLwJMj+%x<{b_t8x*Qopoave`zFQJAnS3P{uTT}84cjD01$T>Yr?>>+J0I=5h=b`9? z9vV2QtwWC2P}%Ochv3|>-=OE*i~ZUgJr$_m8uV!Aye?hacFKnO`ePE=L5nZ6aE6|v zfEwq^iza=@FR4EiJ)xn(0n-xYX$tM!LBs*#R@X4vnSK*7%koYSFa;iO#Tf}{_PxS* z!^-K@`xE43>Qo<+pmxLIN+|ad-R4fMGwb1O8yP5`teKw#p;$&9ejg>xiUOekYJfzQ zEnr&bGbsN500wM&4-w3zHPD(9`=gixtx&4WX1tgmzi4myF!i3F@e}vdIvs!ZL)9mL zqMv1({iAvRi-*;C~`svL>r}rJ915g>ooRY%}qX?y+?&cPK z`9{A`C{<$~9=k=}FFzeZstF{FVt?s{DZe_oO81(lWn#*R+y-L69ERW~oL2y&R{{TL3O8Z{lP=s*xjIZ#B{{SQ=3~x{E zQ&&}*U$>|>-~RxCr~yZW61qz%r@59PxosvA2-BYh%|x{h3?DPMzW|ERM-<2NLTCfv z!o9$T_b>Q>S2RjR13o5oZY!h2+9T9I-_L-|zNGY~eMRK%`G;-Z=iL4trR8ykD9%)w zI7<$uMfuOMF|UKS0c!9?`$kY|7$Yw&&F$6?>gpLVEKd*3Nu-_2B*D31L@ZD^v%LEg zN;k9p0vnlTTKIL;{h6!$Kz3E2A3Z`~c3dAE+V z5f4(1`$k9cSgrR+T-#Coa=vf5?SV+kH3G;=)Cpklm#}B}{2Px9;cvNpkG}vXnD-~O z0W%tGvziXz*6ZPI@5skf@x9OcB2Lel^!o9do&1TF!54tK>MF{oe{l(aXt>xRMK7IV z?jXcB#0O;cJ5GNT30?8=_teh*=Mg{kVr)k*s3+6K)C%%B68HW-3rEWiG%_(3nsx8v zu{*>@uZ~iksfzUFL9=B2qrzYJd|fm6JcW|y6_r&vxac%iKQGfV8h>qw3C4jz;QEik zmeix+hS9h;r^ykR2mt{A0Y4D=9a5?~JB#eg0?3|9^41u* zWBjrG2Rkbm7*M6m$b+#2OF91lo%BlB$rlHyo?yH8FMtz+2hU_OrXZaUY{^!N zh&tu3srwLM{vlj_E@7{dwgB9J)@9gnIBP*LCnAugz{+8DzQc#b#@MPyDH}O63ImNl zu)+xGm_&=JC_Y8Z1&4B-Sug3L7nrIlzyAQ9+99IyOzM#Y+yqRW%W5%^=z?0mD!Eb& zY7)qdST^wLDl5CfStU8(oA>Tep^L-*Mp<5?b`US!u>mleM+kUsX9iDj-Vi`3Zp=GJ ze{39jkZ zDNAedL39BI*=zM>S(E)k3+hx|B!B+^FcO%P$4=O3IT9Dc$b#Dl&KQthLy>u#9(4?u zLfr++^Y65b;6OBL^AM8S}8T)|Xv%
7H%>G34lM$(!X@K;ipzzgQrJkT-Jr19SU@nNu zuny%v_ZkCZDOZPs{HUw=-^4kZf)e8+9S5d}@h_nO0G4kLp&^X{>QaSWOPN6L=7mN@ zoZo*R%m#0}Tr;x=Fuqglg6Kn0nQriJLVXZ!UwKCGE+;-ns6ya%Y;=bEz;r;F@BV~X zt27P=#e6iV=MfpwQuTN!h{M7AytYH`_9(M0cOvICM170FbE!=~y79B#>{o+DHIB-p zyJwn)YQdLvMTr#bFu`W)oBUo`5Bdiy5B~tei`+$m?sGj%c|xj=q2R+bV*6#Hq&X#= zBr}3mR6TP7#={Vy4Tt^ST|n-qj(>KqB8sE#n@_a@0)hqM*2ZE2jkTTI-SrRDhsrO9`vh`oJwyW>+ywsgk7J|Dgy@33x{I5r z5=C&Hqr99HhR#E6u&TKK0I<~rEBgE2$jGj7<6E6N~UrtE30q}aMpz`2&k?1K@h6C zoR_OOnPHp9*2 zhX*X9LWL5h?~a7gLuQj+q9}{|BMhkDbK@}7&^GA^qHXt3 zuGjnSdaHaow6bX1H!Q+G2D;Djt8n=ms1Zq6i#LH072~)S`qK%}J83BH;F~_tQ3hA5#&I*wOJj@YdSfxMG4p zVvAl!+!=btSHA>w1S9-8&m!i9z_1MmNB;o7A$TBLP%#AsSJVC^rnxy~ws80N0MMbR zV&nDH@8!c=;$-ic_QWj1wh`u2kPBbnfIPjgu$X{`wO1aenJ+nEv4`0f2-F`vF6{vO z2mb)hOotIV5YTvD7-2A~!+6|Qua@&=$HX-o0F6Kk;kbgwvr^HT4UZt$juHoDskdY$ zo;^wM1R0f}AiUmkT7c98$hXlwIQ259@Od~>(gccWMP4`^k>a}Cp50UixEHlLd1mg= zsv_37;AQZ$LYu_mE7(rVz`VT z5OBW8@Y$F;?_3ZSeh6!5Bx5RH;l!|KA@Lqu{!;xwS6zBqo01SGm`HA^( zbP{*qjTyL(Bt{e^8rzO`WZMZ8P{$AI@F1ddik&MxurAgr1)Z1(21ea_w{b%d;-Um# zY+HS}@}$DP(a9ZGHt*(SJrd^D8CIf|RFIp;m1yRRxFL@PtOp6WlEX76mgUVX(}($$ zw1$AEBo=9ZMTCtrtPB=_tnj{=PZKQL7HukWOFd>Cpl%q_ZoLqS8Dp1(IPX_5 z63)$)!5cjFq`N`9V3zmiTVMQ16);v-VD$w`^rsTLuFOg!raPzA`~!aIXL|yE#tonL z`vX(a1$j7}AXcz=&yTIa>Wga;gTjX3l%|LztvH-i^)VfffUGZJFL9C@_;9g6wW6;v zs30hNN_?o=JP*h@nZ|-MiR?v0KT2ki?Mm^;0OXc(gj}+WD>E3H2qp~D6xNbr22um= zK4Kg6I%BKM^T)>?%b!?hGTH`lxv_o6?~rg)#?VKfcON;}(-OLF7PKoYpZPdr!FrD7 zVu5b<%30I$6a ze%TO%=Ka0%GP zp5YV)NCC`^K^x?&O@9cLWYq#YhxNY;?xL~M?}6>X5WsF~7oNyk{m+5xzUsow@t74T zI_VTT+ggt`3HFp#x?qq-jotPEiiQ+W2BCc)1Ydw?_*4O-20rIMecb=gC09M}a#{yN< z&k`6&Hoq~?b>eG}N(a7AO9TG^w3E3`<1C$NdiX#Z^w0FQ7}CE^lgfZKGSJfz_j6SL z0DN3ls%R*0@Q)VMM_q{C8;WQ=O1{Zf0c$jhCJ(_Al`=s6V1TiFoB`QRW^A3tMJzIu z(+563{&knkqEPX?l?%9{i9iWVcWtjj(1LJ%pbqX+NSoW87hFfIIc^YkPV&2+1BO?Q zPzsFv{r3RK7>+T!x52xCD_x+XD*-DnX9UXP(;c-hRJzW{AmvZx9_7A?-0S$1oM*x1C@0Ji&TT~Nr}ZUVgCM96u#7wg%(;uHm~iXh zO5UYoN+?{w&kC=IG*&AxEa@z_n4&BJgoG&zT#IbQ_w9`30qVuyK*1A zM)4j1ribi(iVZ`j*qoB46sKjHPh`g|SG|2;hL{G;R+!ZxifHhWtPnI{3-!s`e%|EY z1rbRz=QlR=F!64Q$!`I~(pSMp>~%YYGR4>b0J7$nXG4DC@p||%)Xy$91xo&w!v+zl zy3JGsVMMaBGjjpZv_@}1?Ssbb9v}O$W5r7HHh2{dV=-Ziv$X#JCB=>`j-$67xtZJ} zsEP-Q+Wuqtn7!DV z!KM=IOh}^-t5EHxzMEsFyh|1UljtV|{9H*W3_@l6Hs*AtMqV3GL;-TTqg`Zw`=X5mjah)?8a`TfhO4Mp#sWaBwQG%tR7dd2MG#9 z4LJ5f{$WV_;}FNDU-lP;patSFzTM2`$xly=8R}cSsF$CB3;_WLhCH!PFe$Xl(u-xy z5mUL`CD{_7RElT^Qj8YjLnzu<0{;M}U_5F%;Qs)&KH+e{4v#jYX<~Fi5w(|_fCUT= z6LOG(0KImBD=V^N=30}=Hw3F@+e!UIUY)uljtx;e*sE3n{1{!p6dw1-vE&>vmOAN>j?xHNGsvNW+f(Qs8zqqTrt8l(6myVCgYQ_9M&?tc+f5rqX-laa_0o4zc*kck&V#to^E`{NxS&yXfj%Fk1P;9dx!1suo~XJRh5 zC1w8r662 zD|v@xwl@=?&1UmM^0l1ENc%}=_uX?j= z%xLevG2AIXohAkiyg<7J5dr0c95)_c7*yE~%E!<^c~d^L9|!Y%ChV+M7cWKg==BK_ zD=O1;;<%4Hp0%ld5Vx*w)CAqW33kSU9oBjAN6<{4T8{nrHbhnmff)mY8Uc=uB44H( zw^%~~$HVlQO<6Y-y!Z2B-#7za`=0?_7TAo->h980m}?!EoK-z zQU=vSF!G_B!5k`^W~wSw!AxSvvg=tHoMs`oFyNqMw#+HHeM9mJQ=5aTI+lw8{U6BP+;M`paGQo9R zDJ;#*YrasR66u9r=vI)|rCKd(RdUo6qPjMwe0|FpOy|%9FSg*1-a^~hCfWm(NDW@TtX+u zO@(g}D%HA1hgn!?yHb~)6!7U~G4|fnr?_NmaR{RNL(&@+Yk|anQ=CY+z$J?6wyd=A z!r%Om?hjJlf|V*%Ju@`DJ#)Y?nxStS?av|-H1kwx`+?EuwaPXrALet=kG>c)s+`mS zD0-TP)UP6vard?z& zliZoV*=rY1fa;gjN_0Ce>2QRLfoCHH`w8~eqKR9W4V2OF#10cE%7qSDdROFB0JtJ@ z(2RfpJ{W+%wUH{Wx^hb20E8JDm~E#JZEUCHC>?kuD%K(SrlEw(leD}d?Kx(1MA0d$ z@?c;^p8ddp8VGzST+}Em$5B&9FxNA(L*sohA7()fWBLC8rBGv!xx;THgPv*$#rro8*UWXN9jr+3UeV=F z5YL?k2hkLZmFgV8a`8--XjvC*A5#ZEefqKOWxSW}7qgXd!lFw2!HJwta@1yqWVEKK zaW6nR{cGgbnNVeXv0BNxjuiM7@})G*efic{T5j`mKHdoRd1CA3L3Yx59mMQFzf$WQ zSiowe=i=TNzJ#k+fZVNHynBT~V&#rL8W9_?qPhNxn^vL6hh1bD~b+=@3C zr#^QnaAZ2P_1rygiE58&5?ddF$J{fN%{j&WQCARgEhv4%Rj*Jez#c}8pomR)0NI8! zU$HCb4k{BUfHzJfP8V+Q!JX$FZft{mDXS_t{)R1h63tM#s$n*|giX33K5_G=KKQTa zXwgesLR(dBt6(`t*Ur6Y7TSXteo>OD1_{S$ifovtg(K!Wf`_HJmHJ;sVLD}t_KiB- z+;IW({SKsv@v%hi%@CAlO|rHs8nSL!TtgOaod%xZN6#nK?`J9vjde(p_Fjs(8)_Y# zmmBzf5F+IqgfP++8GWxTM;sL^KxHfjhx=zeJd>%tA~|*deKE~M@}Ea*3-j}*j4q#- zRjLX153)Dmzes#TdnYdfk%7$-Ek+OHE2RZR8XaN9S}J11s0}m7^Opo$0^ohiGYqCbd_G_SSG=^lRJ8eY#`yj;M9jE7<)78HqM><=;dtnN3d`>dvqTnD#{{WCwICWT zi!p9x({kb#C&^iG9lCjjx8kp?nQLnd1K%xOIlIj3my;Y!fW@IvakykSwzwcgy7v0II|jNe3JR0$V5QPaZ)CLExR zOS_l2Gv1MHeyG<|T4m(`&CF${9oB9rNjBL>sfzcPvNd(!W)0LUu>g7|L6ynsZ!lT- z!Im1|paFtVL%69;nIat!B@oxc zjJy$la6f>hWxI(uEEg|jp+07S~FchobOoTpnOw*Q^!Q{6SmFmQI{w5wR4*Z=(t@)C?wwRb#-F0ZmxN z*ZZ2P*a+I~O4W6eJ>RUunR+D+nOs%-YGKcch)xXA-&>%SUNH*e?FoQb;*2`S2DRDK zmBT9~z#k?b_+k9vmBe8j=zpg~9IfrRU<4~m<)!4XBgHq+_#6?&^~IHLt_WbDfOSS9 zgKGX*2Art>OUSm9|G?Aihp-Qyg3T%!Zu3Z{bd5`L0@ zrsm=+Bw4!Zl{ej{@oqgqJ!C;|-AkpU5XTYrnPq#I30%XL>0vGmVl5XKkQZey0SwV` z)yoTucjSi~Bp&mMsb`A@sw_Ti1Wky<^hQ6UlEi*B8G60TE=bQcS2ulEEP1_BAF?y{#v8LLOZh98Sv z08xeboFctxBG*@8+r|l3fL1T7q}diT$BUKIAJJzhz~9MTp7F$N^*;Sg!opQnAoLuk zbNPJL#kW9ghj8M_w)xM8Qj)x6?DX9mj)-kfC6{GR?lzO(L~%#w5tUy6Z6M%HVd#$v z`R?TL4sPkFz4i>H4E7V+@T0qG^jJ|}v6UQ%zeE70^$RY&ypvTzS9M#VRuMHk%?Wn1 z@@;F>qnX4dhJaj5`sE9cA&9>cR>Yce*?yyM373d@S5WFjAGqQP4n8YIrg(4=)EGno zQI5R2kEkO#Ar^|zii-pjRtCQ1##+~M0wZ=;`ew6Cf(UYV6%krWBC$4Re3*{-dV!31 zNV5nD7P6wV{UI+Sun})1G4~zD@c7#>NqZt~*@__sAG8{`(*mn<$7^P%WH!%b8<_R!w0 zCi+vE%2r&)0eN-U(!{3-0O?W8TL*o*I5`4Pn8q50NUr1d^m}E&*oNxtG(15N^a$cVRD$Rr(A;& zrr0p0=wNy!O=R0DP7`t0(GCKJD^NroHzNXuk8G-vJKDUf=Q94n-YM90>R#|w-li6| zn#}Ct3vG_#sOgp+X&F2#NLYChQ$?QFV~^d(31ioKgcc`S%g#SX$rV|tMqDjM247Df z`v}`%VP-2NQYtQe%@kasT>TQUS-~i(n7nx5n6}la-l`cd;zM1PWUiZnkk5fFjO>cZ zQ()pzD+sUDyu;r7QOf015#>OCdB`a6_FacU>U8cB}J2!G!fN*o#E;9J1cmC3cY9L${V>F`@Vm z1Y!__vA8d;MB7fI;&8>NpgC?Wwx>_7XqT9iCdmt_5j+YJAtOZJKb)B%78$w-|KC*WyoUKoz zJYk<-0`Jx8RZx~xnGyd0Isj4QknSRq@P6Wc3(W(U&+2bzSkvtz1H}D8Gr7u)d7*31}}> ztvR&?L~2Q2o0j#?QO-Ir0}+L^L0Bpj1g1+dS~=?bW%P=zwdH-RGSm{nNmXinmQezu z33KJX$~ZQ_?ns$!(=Gde000^|n*wp3q+Xv3XWt~34MKze0I3(jQVNV;KsmT3CiWAU z7aZ@j;JBQFwpXwIfgMY?EUhm9jQv;$ci0--cu=7ZPzkvT3}!7pmHd-Wy+G#%<}f7p7$ z4U}>RD3$Q{39%qLJ#4IUoQ=)wd0qHdSf&|VawR(hN2f{lY6ui85lz!~X_HU|Ok0tx zBLr|S247O5pHXiRI)PB``(P_ohFrW9TNg@X+ip-`&+N94I=M?Pupz-PdK6o_*nl=M zt)dUj!cJByU`tnWfDt-_PynFdB|B61c7e*cfWn10_Fh+POA^w`vL=6Q*)3Mq1DMeS z3of}JnvyvOOv4f?g{f0wO4y3+?5|hc1o?Jjk@YIHqM#-sp`-rCUqE`B_$%f$ zLF$$^F<}0cq8P)N4Dq4bTi8=8`r;ti5`ZmR=gI}a2f(l#D0Lvypn&ePwhBdxR8qKs z6dPsNpmXj*Gyq^G_wp9VY~PY?ww%hGlbx-ev_$%LKL* z^$EiT$?XnMmZ#SS=iWm|(bbj<1$U`s zm_Af4aNI*_WiPoMx^sZ%% z{#@hV0eeYFKmgz{Osx{`U$>Cc=cSbFbPx6Im!Gy(AAO*J?!J~0Yu1NzeUgVyP@?YZ zPjOcA{&9CzhMD5vU9k&tgkM~Rz66Boqu8#CYk+%MV8@mh*t>$n^Xk&lut+^81#$ZwXFl_pkAY--<0U&v0 zQ??mn;nh{k{MyG}rf)lZ3-?w-Uau}GNX0~E&FY5~t^_7L@l2CN zC-!v}Fnn~a%|I~Y#dAe0EO@x|qVa;<6%VCD4~&1v;unQmQ)EQ`cqYD==IF;RBF6wJ7_mP8_; zdJt|ObPXtB1FLJ8EMd%YMOoPKdY!OuP+n^47l7D0U>d6#=LnC*kZ7R&Krj?;bZVCZ zRAw-jYzNw0aZvVvtnfO46deH6*g=5RVAt^nv8t4dQ##U_g$z`w__|7z2MH{!7*#dM zN>>bfX}Mcltrc+&?-z*{h{3T^dB*0TvR@7IWvh%ae7gM2r?_Db1_=_JQ)E56+${t( z#fG)_tCD@>%sSa?01?Z5?y`vGa9iM%th>al8t8Ga3&3A2CbSk0{{R66_aFZNR1Vhx z2Tay^jxX54k>%%k!eRQj=*8K#84_W&ZkOzw#FJ|Z*tBXN{(^SN_p64yA$_G#Uk68) zJ3{kpuHR%MKng1bcm{bt+51Vkd6Pm5ix0m@WM5uiZ8`|{{o@j{t(>TCf`*50R8-|S$GW=A4MWxX<)Zzrxp|CR~a~^B}8$89kBJT{% zG-TZj)&cbL&R9Y#A_lb{E>W*+xG%ec`HZJmkGWU@;KKZs1v<)k#dxB9KMC7PAEz*D z3Cd;&t(rB~{{X@;cBZ9XZVTx5UBC?vOJ8o|)FWjweaB$mG-Jp>)fyPQHl(n#%`gK3 z9^*hZ`oS2-f<;Fa{ftg2D<5)_Z4Ge&%YSt<3~u4P;#JH1jm(`HKNI`cFs=+Y@7-QU+tHlu2vMWy4#dvI37=1+KMNfxyln)2CA!QP&!lDRn zWzijP>H*y^h5~`+(LRjtL!_5BkOKXant%aN2(Jz8i=LaCF8=^GaxKIq*4gJHcyL_A zOX!({I0_?dQ|EXMA$RVH{M5weF{s9AGoNR0l)bc}9WCuo%u3Iv;YePEUP6DZ_4_dI?Fsxz5;e3s%uXc=tvW8|vS++xy_h zvXY3SnW6sH0kKc%VtZsq0&BrUaetli) z2J#!LLJ&iE>FECe_75E4$@qDNdJ1EZ^#dWbn!AOiEMnfq1yg%O{{ZB05Ka;rVoDuO z8DbUue@wnreLns83R@SOoMyBqa}tO2B-q5@hYiaZ@N%=Z?ly|&P&9#mc^QLY^`Ej^ z7Hsm!{;kF)THOUP9|p{$3aNCf8mb3RvH{mIn{Z6d=!+^A*gysVY!$`JlkZ#402~nl zn63KMgbZmr2kot5$_9&~@o^%$Dr}e;Rri334i}i-3H}m}%5xbK;?_fB*O=)G$Qb0l zQ;BcIV_@AnIH_uR@uw=GWp8zPeUym*03f$VDvFZ3;WbW(ThEp$SLNpnTD<_v2J*>} zQZ|-ovE-c8tT8o&-}Q2_LU{u=WmVTLO~UE1txn&4>8Q82ty<%jfWC1Jdl7Q$AV8_#?u-Kp@i|9-ONYqcF%t2jTJHr(bf{r6~38HW;iu z&f`=sCUfHau(ZG-$#U^8`=0fwQB21U0w@;A(8T};Qn3(S-%Q14=9ZU%M z!A>v&sy_Mu0M4R|csU4j4zh|^-HAZs-N7_%q-b^osb;v~>I9Uk(d(}UL`12K579?3 zTP5q5`m^8}`u_mfr<~?n8MkuC)*6?*hP5=q@=N#~H5_ZBwIJs@xT$blI}->4g2jFk-C!{QLp6hl zU=Q6l)8Z34>*T=>VXF#m{f?yV9?G?7h3}dC?w*R^icv-%{2!3p$EGNO0*?5IJn&td zdY1s%aLj>=n;6ur%d-EC&1N20<&U%L1m`(TqZSR z*yc0K0KP~`s{Dun9e^T7NrtZsdQb)x3`$SxOPRjIln-4?r9}<|C4jO}@9|)gH#VB( zW+Kts3aeQY*>X;RRQAdq(Au1{|Am8j*6TlV}iNmA%=gQ<|{k4uE~_;ukXR|s8VbgeaCK%Uvoxb%5)0E zf}aBt@_O^O&!HSzfwxAEM&iUS>gK?>y@M7Q+*Xc9I3O4V@31okP#@mRq1&B!lwXlc z^!W#DICqJtdt+A5d`FB99K^TUWM*cm#Nc5_kSM8=zhicdg_74w_(CD70L5Nyz_yQC-O4hC#a(f`{YGh%qKt{TYQrwn}i&m0qA0PUW%FgHk z(f&uip6uW@`XOrTL2`DWRiEq)Wlo&LrL8sK#fFvawR#~9TW>8DabE56m_@OtSTSQJ zzb;tzpa5VT1iQO!a@Ps#5y^9_vSu2tIz~G3C7)9#d=kK|a_%43alruCowB4XwQM{O zXs`BMuqj)ww^H!Mcau3;Ujby&mjM?MO%_*>dJu#+lpA1DAHRDbC>LzedzjGd%f(Jq zmMA;|0%(2&s~nK{I)}BeVOf=Q1{x*xT|vY^Cv__g>6rL&1QmD#+*Uu0An=s7;JBF} zN6WRkAI!QEVDjQ3(GNS-b zrV6tPq5M|j1-!K|>>*Sop(hYnH`#Z1cCu107$V+_+;F(87PIVF9ku|9*kQUqcZbq$ zsFxPH#d}Pc1_%`Za7=*mP@#2tGWM}^XlxBfS9{HL0o=aST zg~~qmOZw#;@~A?HNNeGMR#|fnye@8(!#Gr@tX+ zB)8romAi)HyqRg=P{hFUW#@1s;`=#i+;+#spac)V64dS!MQz|do=~6S;u!J1-r2Y! z_FMI!TKa>ReH|AddPogMbqhfTPUpMRz<0D*Cn=dbi}Wt7;DIYK8SW#a+GP=!xau{| zc52Cf2F`KEi;T?qS|i{c{{RFteN3F6)rLT?574MejLo034IEbU%um{11w!C<#MX%B z`oaKU_>G>@d*Tvf5&mWthvTlYtZGFi3pQlprE%OHbZ=)RU)wsX_lct z4s-}6Anb`@gL!?*?kaU3eje8!_tkAFYU#^2+SKK*fZ~ndQG@p5#Z92gJfFo})BsTf zgM*2CwSG~IEp9`7>_LuTB`lCS1>+oy8w)=4%T<&R$wdTL+{CNO39;Y&F#a|K0G4%G zwJP4>w7F4z03!e!K)@B!Fk-02J_MY5}tq=7ZAyx0FH465=)!X@@8CwPwXlYXeR4s&@+%0_ zefJo0rs41)qOUh&)X2&eM=@%O_ZyX~Zq_L((Ge^jLVK*eRUrf+oIChZX^hZyeL)4A zNTwLS%yWq0W1wml>&gKrsB=w`+l>LrGqy%p>&4*$^oM9O6g4dx0%)!nwq;_qECZcO z+O-n4gmVGQIJnwD3CB4?3?errz6b$&VDS1&7=M?oo}l4jV_y1)i{y=-bO`NVtdhv8 zmzAE0&EBRLECN3ZBT(i6L|r94QEys{wr1NJe&H5|r&-nQHyyFWj?++V5I<6B_CmLW zV43J}jq5B03a!V3sBUw`>P)Vj4pwy&id=k8mV@l-AcDXY=z+EMzMajAx`;(bGk3qK zE~#buOUx+jm+KsP%MLs#S|TNgz^KI6!jhzI*D%5TMRbPbRLxbf*J~Ow+?YnBdH9~c zZUC(R0Hkc!d1raFM$ zz~z*kkL2|q4O{QUPPzaNhng3kaor=3VX6wv$Y+8J=gMNw6gB<(O`dDRwz9Xl%A2tJP03|RL@LH|( za+nPS*Ra9ag)jf>$`KcO9!&ls? zwq$K+kEDcUg3>w)@$yR(u_OFwd8%*h5eqo2eN;zakZiyri{(HwCOL~8)I)mlc>r?9QA2={vd?lIkDz}3ZFh53$&{4 z`rllEnGZ*)j$9^XJH!`o#mEMngfCoJDEcpPGs~r}41$2$+wXxkgO!iA;cTp`X&K}Wsdg+3(CJu(iG}vOkEk?O`Avi*U5u%uEdFz1`q^DnrDc3$23gCNa{ zR*dL~d7JP)MwMuWPX##jXt?80xL~PsP-|LfT&?7qJKQ8gBX~j zn2?~ZrcZENzA9cm*X2uf{{T=4Re!z-LR}V&ZUAz|$n*1%Z-njcXTJ{>=xpHKwSd}?9@00CJFzdSwEOc7-5EbO_sULs{lyx@X4(fCk0)UaIaXh_2xdF#qd zNiS1PN9pI$3eiBM%;z4DNJmP~an}#2SE1?@T$ptCBU17)!2nCp0HLBBx1LS9+Zi;R zw1X+Kae7@?3I^f-0Bzvy?gfqI9wd1~QuEe^mlP~UK51e!zJs(3121P64V^-uS_taD zaV+7hJf29}H)AXDKY@nzE*K{1U~7c8tQN(4w0EQkG`UAy{{V@j!Z~@B zCiP1XskL7rt<}pR^uk+fHrMBge3~t(_fq4CqeL2s5UF5TNb4>SmDAQ+@P@Y6mLjUL zc-uvgb?hBg4*WVm_B@tIlq8+{d z1R@2q4n!@Ar@}7i7$Ds)JI%fNvw>g#0Oya^TL62vqy%1Qrh)gBVVGH=jg69rElO-u z&s;&DmwFFQ6F>gEAd2k|JW<0@*|FXCau`iobm^CHWZ0opceDEZZIouPqxoV{v%>xk zU?YnguQ4*>VTG9L(Wq6`w}@8ABf`Rk!VSZB`nPbXAUOVmfjDp6vHF*AVWp~KxIWTe zv6*n{^h*?`e}qsoRWRZmLe8-29}%c6L8jfIm=T4RG30l0H~>(2T8@_RA(n|^`4v5^ zy_s4#AefQ*g3<2GT9VSOmjRq*>uZE=ml2z6ua;C*-ia-@0)rm~nrG-ED)0oaOcQI=VK{`VCW_k{eirt} zDZ!BU6D%X95k-^Il99!7dX2z10xRZ)RC;4qiJs4~BiK314mb$wW{x4E@AS6XRie|V zhx1qrKCU)_pn&-GKYY5y1%%erKIOsexJ=~q^!}3d^L2cMh)vzale|&`pg^=WDg$lx z2nd&R4yd8kbPbY@VnPcZ8J6jA1prE|VqzQ(6+{(d`x3R(OQKSCaGKRXZZbv8ABFxA z%6VifYqywrV!2}lb5Ea83*jFe115j5?HP)t4nE$Xln`?l)S_+PV}iUY_AX*&RN%}@ z8gG~-4f=T?tyBdBJ*-!U#ziErNFwUxh94FCVQ|I}(EB0?XM=>=F=4WTIGAw)P`e`l zH+lG7un!cGKZYOZfWay#8XS?@rsAmNVg}kHsx9K&JX`~x(~fZAH5Tiauf57Xlgn7S zs9~7NR3iZa-4y-6tysa)rTVJ3>Ep%ma*W!<{{SdfD)SAftIO1+1L@;St|(iXMK1wx zA*?bZpo7bheKPI01UKG1o;l(@j$I#E=y+lza@4TE`a-!H ziZY0smFB_1XNidxl*upd?S{pvQ~s2|FFCH?k3NVra>6VQlp@C`QdQxt{<@uG*GN}>1*m5H?TA^{KDQ^+n|ta8eh0Jo|7`C zZPKr({6D13oz|C}U2|6t<=6RKR+w^?bhCk6TSzlm%O(Nt0f*2SCh;B1*Z1WtNcf^` zg^vk_`-nnSVJ#@JsO_begV%}=fhsIWq4uk(quA7bIpLNlMCv=$m1m4ayrT-HM9~6_Rz8liytHf72+pwJBDEb{{RIRu#)Py5B%)i zzT=+(UK!$Fb8h7jjfASk{EL3S%qrC5?lN?`>jewQ_c`!vt{>WL)EmMBb3P!00T+g1 zTWSjr4xz)oA$(6+dEc!aXhr!O_QilE$yKkU8Epk5dOqNhulh-_gKxhUy6~AdZC%XH zEEWJ>A>nZnm-3fQ+J9)0H&=F8Xwm-9to>dh7b3X<_^Uq!te`vqtbKkl4-UlnE9cW8jZBWx%`p5|Q32$@ zc%Uo$1K7zyzpw=!iiYsbs6pidO*$Ic1Rq{(43JWQe$U-ww+|Nt-U`wwglkGy@Kv67zy;C+Y2ItLU(eHp1CUQ8b) zdusbh08vhR5_8Cu1sVFqYw?5s0L*`h!hHOG#%Z-YmH4pDQAFj(?8d<3QEU;jd}Bd%}}otBaELXXJ8TlT~K_=HJj00R31$a zAKMB^&e^<>iot>=s{|3?{898cwmcog?Y5r0y6RzG!{48a9~&1Vh>=i60xWAo;PMaR z{@br&Rl3jD_s^=y5}V+87nyPS402FZnBgJKX+Y>N7s9@Ge$0OkR zKXtZpVeCl%0HHe%Zq3HUpJs>bNaNRii5AKT<(GdFNNO=jz!p($R!LbHW+cE-g>NolgN4Y6H1aWYhg^yL6CMK?bNISMsk@-O@2CLfW( zpW`+E0PT?CfmULa6GPyy<9}et2mFZ-!2Z&xBn+6)3--lD2*w33HY8-B9B~lb*q`nT zx*QM+CM5TWsdti)Tg6^RJ4wqUc6Rdq80M%Kl9uJt2lc(&I~0fq@1 zZ)r^ZW2H&5<-pL{jv*?If&T!Ml9>egL-e@>77zQ~xa#DI@L zpSe|=(T%~+-4aLY8ZTKZTULJl#V3|F!f_>`fxOFrljQy9{GZi@Mm~x#7>HZg;G@IY zHc~Riv$COh=h7e2YKCB`xudfhawy>x5oeLeA|vuLlJDbMeSKJq4X&W`#v&X@0G!bO z0E&lg_8*vMIvZ1K#u_fA0h5l(U1ZYm9CM~?h@c6N62}#|Z`Z`mV_RAFTaScR@t2L{e6|^Ct!(3Tz7T{!2a&jc&x7%@Qc7%X#s03s^Pn_B(bTs&o@|z z0JAGE8Xp9JEb9XyY0vBI_m)q9prm%s=PZ1W zM<4>Mw9G|d2kxWnnGkz@h9;s|oz2K-3dJ9xM*NZcKK%R~qxulJ76c9Z5vV?9dtpe$ zO@ar9$;lK$O3W)Y;8{s8^$=^TF1&KQY#Acz)2*wCI((PNZ0hQsddsx~z$crlgm+ov z9>F=lwGVIF6b(BaQ*lWQo>C)5bb@g4gCRk4X?{M}a zbHXnu!4$|<1c#GgG(pJ}6$DZJ`~ql@wcj9W8YF*swF}2K#N`aUS1Kr3`(Tvvrkd~K z{MIW1EJ)=xhZI{l=|{)FKJq63QIR+d1fPFlARi*#hzkmX3(UUFJLp72sj? zaL|s;-^exK>mPizz2EnW+SW)o5)Z$d^H>p^z$ieYgo?;e-Q%~K`19;UXWWQ8>%fqX zD1@t9NQL~bkZ9n@qu_0w%N+6cO5qfeAbAC}Xs9TD@8*tjHR8@fhu(5Y4lxm*$F;~? zjdiQX*C2|0VaLbPoJfDqX8mFg|pdb`)tyz{bTh&EWTVyHjX&DCAzU-1>xo>BhSg zDh>I&n+$P@Siu=UeT(^}VEL~&w2~Wz2OA1+``a;o@DCpXGT4xiaR96;r03I{!vkH2 z)PY94l5AaM_Gd(NjU)UM^;trwER2G|WqKu`KEMcq@#HPzKLLOo@-kUfN93_fAmq!g zLAIe)fDg0YP`@awO=PYRa8({JJV>;zoYTPv$U2blkH4`Z{X{=e0?x|T=V+Ft`jyEw zcMN>-qh&P1!Sjk3iV;n+6p8lsWSPGxqG?z~9L~CEV1qR_UI_!QQP&X8R1BB?v40v- z80SeQ+==6vgMh?NzGWq$G*a9@UcwJY%AaQO7azw>yKo_J=o?@Rva+55q)^mfWDfvIET6y)k7Q3f zlA<_(JmmMDGsn-IL}oRP3VTGe=1FVtS|16@>0?plvB_pMBzY7gtdFj0G1Xa(&Hm?B z6YI55^N4S3bLJPTPJ}d)#SG|Vi?(xJq>21(bxGb%P)F6LU{+JSia6@Nyn;UQ!*y9W zU9E4aAFIenbtqaE0Q_|6=kF|0^*MyQ3{@40Cp3DC>=}NeVoA1t$_b3rWARfNc`o^?C6f(#uj1E0Lfk#*rkgwRk%x2`mI~fckkLD?T1$P)g{RS~0 zI36>N5F*uK@#l&z8o-6FmM6L`DFc8PBKeiLfCU?~ckv4V{#CdhEYNXoO4FWH3FK_& ztN@dTrR>DL*K6W&uE8#U9Jb^u&GgG8Hs>IU;gLywc_%oTo&NL%ioVrg65~?dJX=C7ctn{JzADlglNLdKY*o8_Bfe zl$IQ}q4y5bKa5u$`;-wyfdrf&_W0y15owOXT?Ll#xB~ONk+^Y#`_T(wlbd@OvK2Wo zwGEQLW_53iBNdSQERZiZK+fgbyo?YIR!rTqL1^0<9?c9^U~D{$d>??tO^GHfD-te# zS*8i#OgRAGY;S%DmW4FY59YK%qmgvEq)_FhO(@Do7WC;SbjEcjS~GObkO_`@(89An`8k*ZvKu=lRV_?qDA>?ZOYbgFj&mu_pv-|{yg7FLP&&R9^PED^F z0KUf23)7y9{sfcasN$aj?WB#a-X=`wR&t%-cq2@p59osjT& zB?@afMl6KwKY=7|?je>MlSViLe7*=WNGBS@jWblEI>PKZuC=!96=LTo#h zQ9-{FgcbsW8#Z-hzX$uUf(f?vPsm~j$(Ql4ykVTi-{jx}*|t6cF$Rp14m3UC^1umA zB?|HPBH77U9|Bo9Vf|*Xr>q2C6;kRU{_zsZ`$0o33WNr*P zYw!;=hex;pNHpb-yBB*%5?2i zH6R{K>A?O(P{@epEqO$VOYyAKk?g1R=F^%F z`#*K_1QJaAB26g_-G|!RM2qR5hBlGH4e4TvKct2TT4@ApERpL(V2dM+xuKz{A_F3I zJvm74MXax{tt5o|yg#FjQ*7`$%h=U<$m=^)21_f*+~gV3qh_C&Hcui69X14$So_KU z0FN9VtK@qF7>GpzNj6Eylm#aXmLwmGKEa$h;EJpi12(jxPV_KrB!}QJ2E;OlAKXb= z>m`s3_wqrkox(0_YXmIcANw{w&2R}fWcfdAV%x;Uu7!M~k>dvk@Fb`}qqUDKF|+U9 zM=4AWjsYT7kZ{M>Wi|vpEb4581}R&k65Qke0BzUD=}sH)nt1iov#ff=<}NsL0rYX1 zoQ_NYF?|G0&mn}rlMD@9Q)!kW0>`y1ZOS>eWt;xonnjH{zN|%wobMIvKnKrBRzUN= z5J{*0mWi!SC2VYR<>%tYM1-3&HMN`q&PhQ)9|zZsz(gjsm@9xJvQ2;h&5d=C@+-5! zyHgtj5=!#1P8eq~gZnWlEn(=j{g!in_y!hnB%xWxCdY<_i}}|hkr`A-KWrwH=hV3I zidIZzBjSPgt3XhjozdxhOx?F-Do8kp&cP9N=Xgf6`@BS_`mD9fCV7oI@`GEWL}f(fMLXkfs@&I{Rk zeLXJc^`_q06V1(jbzNuHZBrC)BLt6cRLP_@^`q&sMI8dY)VwQ3jzqkhC2$QdpWZ;e z2`turNfnYy&B6%K*ddfLrLP%hC5>cW56WF(LLJDaABB|jkT`z^oAi%nkKS9fm4FfN z<=6pdi)WZY{{p2ZBC*KNf8T-Ny5C>(kVr#6HE+-a6U=+z2L+}e90EYdsDHu5_Sq=}Dzlhh9*4FbI>hwpocba_HfhKnt`mHpG14cTzzHQJjPJ^hIYh)j_HviQjkuCZD$ssnmCZD7SAXHig~X%GiA8O z#6qDW1oB=ygEuC;T2-@WjH?y=YIT|9Jm7`B*soD z{BPnD=JHT($YJpjEg1wMs~~x-BmC;kEKSNWykmBB8zkzy4q_uaCm@=57&1;olteFa z_9c}if=&!JN9^o9_+5Zc<^3eb*d)*--fHL>)VYl{HD1zbLa}U?Mkda*k)+DlI%uaZ7ty+QjbnJ`b1#xf3nS2&0Zpi(~(AEd7X$$w=`MR&;b{R8L|%` zGW>Y>y3McR1}d5eWb^=`U+}s-i)9hBCF>7SHdw|=H&RZ{{WOo3A~kwe4=yEuZRz|#_-kf zt-}&Uappx#QD(AAjX0VPm4!;0#&CROeybn!1AjZhMn?k}%+Z1XtR4jt2O2VVC)Vtw zohop=(R5&n5ZhuNpUSdsmfU-=2%yuAUUceUo-MT`lPFYBAzLldH`zp(y()G80KMdk zPBo4s-5T0rSfT23CybtFnYqg|2(}UPU4D`SD-W2Xd0T=IM}mvUfF*;1f;G?+W=>Kz zO#c9&j6Ip-V%^xZ-DM<)ZcX+dStsQ(rXq^Ga&z~S`WSvstccOPk-4>qtBE-?9x4Qy zf7CL=9@v>EYstt_*@&OWB#fC1yv6;a58#w~VsMP1BhSKdWunSd;PNlx{8mxQKRVyM zD@W{K1U60N2f)CZ!3$?)y^d*qQ42MVlC?%6oX08pWU{cARCKMPEKRR8Eyhgqn(#dG z2+(Zn=(!M`{b_9^>}eVS`foov(nRr^eOP{)FRPb(arT@$;h1YT_O zwccv*h99eQJfzWgck+6CD=h2Je|7dAuzL9Ekfgh)9(iPu%ggaZkTO>q7YsmWArjsa zC0s(WjwWJLz#!F?QpSPd7^ayTL&^yD6q32cs>i@qIjI+M-OC;%j5wdjX2b?LZ(2fv4C)kv?fvKvK67%fLByYmJR#^iN{4HK29~nn3vt<1Ssd%F+)Z-6> zrNU#gG%pjBeHhgdww^KGV2JsggT5r7r&d&h_vBjy1^3xnjlFM%B9siZ}8j zgH9kvyt9YaZT@-?y8-&kBQ&(%W_&vtkIJ@HHhJlfC?ld zfKx(&%KH=-#DoU(DmCB3G2#?)v*4A8UKT8D&>7ldFE-b-R(02rT`MPk3;4++Q6xY= zZ4vNRW*mZuR7hC84@2kCymbz?JsLhRDJFqN85@s9qQ4_pQ6$~5I1kve6gC!BKIKuu z#Bwr$UFNV$Ob$^d@j!U#S!mbCO4eCiyUjG)M&-4Q2+d8?uOMvdI>HGoKwNo^H|I~n zQPg8c=M!}3_8{)-NF<1qnI&a55_Wb7lIa4~CdXEfQFv-}xz5qBWboXrGYO`H;_+9pr50I1hhID|Ivns^Gi zlKQd0#W+`U&_Q-H5ke65G4u^7 z0rt10c`QfO7^sV5=(VOi)9N+#hx}Q#K|Dr>O_p$Fn^m;P8nNy+zx{A}%`H~hlpx&M z1PEas254$UDznYCyk-Gcq66O`suyh3NQrbiJIyfdCIA7m(w1MPk>Wm0ogGr{B$H}$ zJj~}^Ev(Erl5jucMvdM8NAXd?ITAzp$z|<|5NfzQk6@F93V6rXbxVRhg(M-r*Vv-k zvtqdb0rQX&Lta?ORD;hO`FN}F6;%i1(ib#Gk6UDNNU|hET1@lt`xy`-b_4C9=*Gkv zG9?=x@`eIb{xLceoI(QmXYV8YTUJra$O&bvk|!QY09XQH`WU1Q8D2K5%o~<+e`lERXb4aouG zBXxDP!J6aqvgX*FuQ{*jvg;vGO|-5_rM!;If+i%kP{Ho9N_~X@DdpqkJjV^WSio&E`zN;WiL#Yx_kEq2FsHM@1WqZ1AtgXbVGq)A`STuOF z`#T1AG8~>|)`#hn$OiOu&cpfE+kzNgSp1gA;y0awO_?WY=Ur`novREH%ch=(kVl~a z`UqK?HXOreRbY19jEDlj9g=EG0K5X&6k|)yO1=U1PsRSmx0Yu#ZvHD9(JY0wTb@t~ z1`l6se)3{@cqHH0Fd8?Gizu`z%4xnlp8z2yjS+(X0COC(og+sUEl!?Cj3dNMvJvvu)0{s%vKY_L4X_GC+aRz9ccA>cqT4X z*0yfWgl0{FT|!YL?8-bGZlweMO}`QVlOmE0gmWVPQOQh3NT4^*f(S9Ec0i@ulaq>u z_y-{e0rnz-a!4U?L-1%%h1p40`c~NyA;wI{mO`ONB2AmXgq&azaAl0MT#r)fNvW({ zMZMK~U_zZ^axebQuFQLB-iAHsB~If0bC3W5KLPhC@(GlwBW{Lg zR%VY9Rg=Mz218;=Alr#dze}e=+ol2ufcW+-`o-Oi;t8=H*1R<=B!X<%^fjT2Swz!q z%+Dt|HS`AoKEUb;5$)^lO7l5)k=^LHWr8y#pY8h-sF!bMc%zJKYL8xZHIBrhHSF~7 z;&mTR+8FjBc%&%wK(mu-7GmuehYgM=#A~kKf1^Yb2yv z`=f|ew2x=UpNlwIK(bw=G>2Wt^19#}2(2BGU^7!Ig^?`o>@d@YHTC3a>zSOX_kh=& zk9;}^=RGkc7pVk}TY-`QTg-}4t29**{Y0mzK{FFS(rZj^Ch6L!iz5v!CLAL@7iQ=$ zN|i}7jg43ZKm_}5MA0^T{p_yxRX#OVU^l3uecgsz+&B@3Ch zrjUjZYefKrSp=UrMT*A(h3EQgxz}!d7JwVw5hQMKj+eB8mRNeWuL>X2_G4m7}$ zrM!wG!H@Y2li%A27kMO%%}2#ynBU{ym(Vgzf);-=0;BO97~uyL5^FnZ1|Ka1+0%a+8RIE}q?2NlGPS6WS(-PNcw=w&+h`*aNT_oTxMlIvBCJ5X1Mfk@260nST1JMA#KtR9Ey}9F)=%9oB zJplaY{1!kMYsFQFkwP&u^2ZEX%*Bg@2_FGN5m=o1YxW^-RBdXIyo>yX!hYmD z&Ezx^#L_WqU`aNYEP|g-DE1?Xq&letZ97RXb<6w!J~icCn9LJ#bOj~Vg&srQdDC1G zte~W1mt(*_E56|-cArU41y?&aEXHNomz2`=Sxa0UAXB`LF1kj+ahat>SMQnQ0gNb3 z6@)0_I3Y9`2R>O>jg43vVZtX;o;P6}LlIt6Z7T&8f=36*Vty*{Ou=Yw$PzH>k(7v1 zMoF^FiYY72;RLV(P&k42LJirHM&)C;*k)?1i9vfZn`$?C?9tnR!_?xGc)mg6M^cZi z6NWO9=69gbBmP*M4-bcuFs8xyDd!y@7v(`F#EeV=AVEGLJxLQQI8_?G0Gnr^jjrAnIC1=DDnZ2 zg&aknix*g;kmu-p2Jk`A{{Wf3^Oidr{{3Z$%K#DDB3mEDhc$j1kfgO>DzKA$Y zJYQ%ecpXEf!@4-nJ#?y)D2lvcmyc;E{P_O>$0*(i)~uOS3LMn0o|)63600#*n&B|3V;O;Sa1c??|56o4aGG5~zC2J#4_Uq7qOdM;*XV|Fht z{$VuPFY+htjc?8~awPo3fcY{=E{Dfio>}Bxp9Bz%c-9?cWQ_j+Oe~Ti5~OMcDEP5d zULHfl8-_pW$j?$mDhJUDGGV6jmKIhaxN>26{6<-LZLqXU9Kmmu=bsngiXMpJ)I(D6(W!s#c zxWr)vh+oG7z^UW&L*Syfg9>r#@(lj~2kkdl(Fa;>RiCA97;ry0mB9N!$lHThnML@q zbZgJfvi|Z*>ogjVoSmw`CJlXwIvz&uU`5MwuQrjPa34 z_9dAN3D0D@n-Ra#KwQTg8U^8X8RqQ5YaCN~&Y2pPGRZWZ*Dhl~#)H&LK^2Qwovo`H z6k$i{fE1eZ7??u!SCcs;DwPnRL=*?d16kT?%3yIAH-jS&3Vee{=hiT&Lg(&+z2{8v}K*4P7CloSn(hLvX%GtY)iwf#xNWEfaKOc)$o%F%^ybF zU7ciMAf~UnD9JWiqdCSBapNP%_(v*o)?rxa$?J83Yex*1@x(Eu>6a3&P=!$BGe;vd`(vs0@9CMD+mmZX+Y#_|`WOL_f4HvC z&UWbZq}@SN|_P`9L~gw z{+dn^3ZwHd{46n~66U(n7d%PwZtw$nD>AKMnXt-8qji)1jvujW6Z(R&ct_;4j>hm< zHgEyTk6oONP=lrGF0?@sR^&yWpEd{#BwG7=&a3eoy80VyxeCi2*`xLWM#SM|92@Dj zv?X`e(c4YkWtl*sUu9p6Vgm8_KC&r5@Y2G=^3N4wj%&r|krFFTgzRca``p@Iq1^;F zLA5Tq?8(hqo8RGc-q% z2_oI1`&FZ-DHC@l)J@!CNwW+^jpoFHxCmf*n}l&`>`G4!T~yK{eXgRC3CWW$`d%VI z?8@NyA1BpfAu<#r*TBF{*q8#KpN03EAFMw=k@S%kG+2ZbF8rUCG%ReDpQ@w|s1`Z} zXwmy2V5W?b@NPoBXk^HGPT-g+2hZ9)R&Z+MyGYQleg6Q`{{WnO62?Kme_2N@awRv* z9f@l{9x^v0BvD+3x*k?`By}`Dc62(MYmN=Quh^ZDb#@FAa~rS(e(Zg(c+Wn#Y?L$R*=Ik@jA2-;gx zYl0NPt34RMEq5@>DkCQ#jKP6jovC5gP|VEc+R4aa<>b7G7lNTZvc|mqhPeWDL1$@S z$1fN?)(%t>KiS$t!!qJ2|7N@Yf9ZZf8Bg}`BHB`>_%7V6MwgD{{Xk-XbV_8 z39RiVRBP+JDu=&+0|`HPTGQ{6P45IF{e~zO4 zA_8;G{B+2bi_0#|?XczCe~i+dVsa#PIz*IhSY(Oj*OOQ*3o_WqWO&$0lj)6!lVe&g zpF2t0Jynm?7_omXmM4+*nyDVNe^W8%BXeo*hzD9YG|G2+tFvvr;K%VFiYLIF@ueRg zvWWMvtWAHsYFi@ z+180PwTU0;$O>z`<_i8KsRV=e0p{^11aWB!gG=#7?>g3qnm+tJCur_#thgftSZJ7f z;(kdrL$5^Z+uKf+)-}3eul6X)VJvw0&~z~p+ee4mKiDWcKxHVIT7 z81gnveUofQ3Ko#{skR3VEl!^#vwc?Y%O}N5a=HEHoVPi(gyl)%ICul(%$i?C)(#22a*z60nK3c4b~K_!3YqyAxPrFSbK1 z@uTB4YnPcwR@l72mWw2FY7h&NV{$kC44abIJ~=GXkrqMG9y)q+b$o_!y% z`pDCfqGV7w504e*bR8pPPKhc=pyOJ%9I^WXy>}Y2$@WHnsu(VbxC)rphuA(Wk4mAV zBOqy_ULkkM{0zFVP6ENf(oWf*Ms1d921*A5hHtrH%Q;D`S?VsVv+e-QOE8&Rs`v<$ma(oY)IcGZbEhedS z>6=4h1e{7d^ZQsDCpyH7rMni~Vyef?E_o0oP#TBIpCc!}0A`N5BqmAr^_yN(8|O)p zBiQ8Y0Y@f7uuD*qMhk-Ej)F-nO2`OEg_hd=2WBcVCzu97G~7=S^(|P=PucpcMdU_o zNylUy9?AHMBIhP=AwbZRmlv*zM)TjS|QTuRta#CD1Y- z#Z-Nl;WScQRj1n>RGco={7iYy|PmY#301h7+e-(h{s5VL8kR)bT9=;--P-96G9Fjh2 zD!)Qs5z#_Hu;$Xr5)J2du$#f)R(c*I@|*{6wYEbBP}CL?cbhIxfP(!HFXV>8)NvJ1 zUNe_GiS=V{R_eQ7O$<<^QHYb|4`%}qmxIwC9dxKLmynuN_!Z+N9s$GZvMCB2rFIxX>tl~xpC)-Yjv_Za?8+(Y2n66}{Ue7I?g|IQ5w!8i(g-@$Vo4?)*v-E`_{l1H23<0@}EypHKXAd z+2@cMH4h&Lzy$S)mt}`fMOIYf@fumliR1toZx93XF2J0n%lnhdftw%BzB->#T_^#~4xcPQ%^;jB zeteTV@gcJNF}m0f2k>BHK|{ZcNk3%mKo7Xz5;LlFrQASAP3o`D==V7q@CadJ;2O=% zB;0_+@#=MLPcUe8xn-N_wg$@)iz?mYw=xKIApMZWPm?hvu_k2{4!}Ozds-MXRM8-~ zqHqyjLjM4e0K}PUo3nmZO2wGSizua(2=tt07j9-BT$3I-T`a@Q9x$XnxFw9#r$P!{6fsvs=Lb1Wo6H@SE;qe3`Gf;AZlER|@+5iXv0s#p>0O_94tZcID%~bKgH{C?4 zb%qWtKE(muzkZPBagWC5)F>k!vEnGp4+!@|;SVNxcj!=jc7FzXCj-D@oiBw5ArMfI zq2fLMKR%q?rNj}$U{M$j8mga$rUwH8sw>}y{S)xHtomLrqVZ?aDByVNtMGN<1f2{M zCkVyUAe&_*N9tP97YVU@s0{)zYuXGg6nHPtHC``;&1cfn;Epxx9-SHPY!ynI+$)xW zI;A{skCvT;X%s_o4-=`N&(DHq1G^p@{2b0p&rSowap?{* zz*Tw_=?n%ZfxE6XbZ6y~Jnon#@VA;^E+d*X1m(rd(MH}nX_{$ql#K>+NANHcYoOgh zwy;FavireVUYZ0V?5*ZduTGx{EXHcR3)8p#3{3!Gkp&EMLj4gmUA_kVgr`tbM(u~Y?X6tqfW&})&YburV2>$?oJP!`m2ef>X!-vWR`{WZE){5p%K~>*% zH#$f~{{SfT`5#n-=Ws zCS#l{1kw7A@Q6%CjO^99|jbre`jP6#KviGVzIj2i5Bft?yfN;6d z&@N^h#8)IBLTs}#9;Izbcl3!5TCJ#avJ#c%R3IcFNCYBVB0FD-<}EoLa|K%y0QV0e zaC@TwAf4hcLPA5Zm;DUzm^7imB}@u9pUF;wbVoo-i@}x8Z4+l05Iv!Ynqh%M7_Eug zWe{YB=%fWCgx8Peci3QM^;9z*j|d^LsS-k_K1B(jcc}}iNv|p7VL*R zLERLIP7d}yYs8)okb>C6eQygQf;hB# zCl*-<7*W*t+i>52qtL1p;=d3~fLZY7vqCI&d*(G<&9pM?hw|!8j0v*v zI){LKuEQbe8KO4`8_~Ejf`AQ>0)TYF8>cnQJ=BhI-*%8k)>3hflmn6;s-0I8xQk|_zUzY((s9spiBS?N-#!k z63R5g!qF4>O@IIl>4A%Zj3a1U3Y9Wy?$#P36<15v=uEa6B5xbxan_2NCI-dvpU0wTX}mAxW#NppKa9|rLy5tnlg`0&xOzu8p)-Js zV>H-@cwsO?1+K`;(>2J$b0ZAEQrNYGH!yQ6Y0hQ|J%m=wG`yJQ+%9JS094`HDAjgSdxRP^H9P_&@Y5Ro zc=C@{P8GTALI)8tfh0(n$oVap-L~wAJ=XVs?47@* z526r4z7d~&7nYb9BNKr{@3;`rkp0M$fQS=4f;^&v(8hb9xN1ONE)N+T$0*ofF{c6D zKUF7i{{SJ@GuDN2yI;3U!eI{o019{+9Yl(Bjib!Ap|0;gWCPh6nfuu?P|hi1WWl*WaR%HAz;4r|+Lv%z${j*Mrnsax1rbo2UC?by! ziN*pl^+q5}oXz+u2_9I9T;!=i)5 zdoK{GY*Cu8QoI!&;}VWJ{2=IwG)G9-6l5u2FcFP)1$a!rxX|hmg63{TY??fxfsJ(R z5P`r`7))lZ2Q9HRw#n^!2bZ- z-ZF_tm9ue2mNc?qZ)5K?cbaLO^9V)PcDW25OQc{0t5x$JfaWT>sw;d9(>IxNDiJ0= z$jdAa8T3vArqnoS1W#dPV9N^xB2YW-jSVu0LC%MeDy0-625V+VoRf$eNJ7#>dAirg zt*+~GH3&uDxc!BSGg4@&KWxg2gN*)E$N*|gNy3-VW~9MQbv^JTHNN^TRyKq4nN)$m z_y+L;{%CHrSbg)xPBI7VHNbKTnk)S+##G{~iB&`3K4OG8d;BrsFh(wLu#_{75-8wt zX@+WuN3v;BK|%t;NOQWH3@Ln}c&Rdyltvd+X_?I7B23O>Bvilwy~)o(jUtR1*$>KK zcGofNN-`7{9kIU%RBbpZfQx<6=+lbaRdM*E93FQY0lS_-4bheqz^IZfpK`WsAX*Uj zO@kmr1*3VUZ99854UY+_nw3Uh|_BS!h$ zBLpX!IKOq)jXhODY)v96gy>vme6qkVCg?=oxJ*J zHPoYkk9tD!M|fw3z!zN&(D4{$3V zD59o<90G2q_dqvxrobtY^IYc;y-}hSAw~e=?bnG$poO+S`mLaTmxpWcH+Z&&F!DMC z!@sGB2RvruFyEml#FXvU8eE?xvm3h1p7|h*ZRLj4Y}$TUOob*7bD6?gn0ARUVFJDMiGAA=XWipr_0W+`QETMr`LM>#PGj@G~ zHO2ATI6&kx5yGNFNZlS$NQjuHZ#0fsKtmug99|at;!)rTaY*|j4`o~k9n*KesL(B- zd;OFrdjw~G1HEJ+*&W0ED{fZQJ|8Y&NZej3-A0m_Q+NjiODzh6n&)ke{WDG7WFSkm z%UGczeL@g{z(*|(X`!Ulij;dCijf$Ilww#QeCH1=Ian%8y)!6ouuy%@sKKJ9z$k$F z#-s!yR5@!oj`$doBir(UAP7Q{IYkZDiUCYp&O}MLjxvFkprZ(s2xt&&Zwugfyf-Lx z!W=fbo836+s&RSNo`^w~$u<}tUJu>F%0V02g|&=l2qKyev4SEwAv9xv;Pb?zz%dv& z`IKS$ah;_}(p63UXqwm|2=E#Fq}xd3P=Q7b6V&Jv2yyw1M`cx2wS+VK1+(5Cx-cbj z?3+f3MC6?Yx9N~vgCY0T9#9N?>D@RxQAI|`ePEjgwm^ORloo#2M*;nYYr@e0bHMT4 zRH`cUiaaz%WD$T){{UOVJ;LJgktwddV4G3S;6FL4N4)m?1pV$b4bCXyKZ=zX0F}aNP~(L$Do@ zM*{?6*JnA{t73n`lf_$}qZ+miI^08pR2*NCbH z$JV$EUA!YbGzj!)CGds>_>MseeZXi$W_z1?CWkZ`XB>hduM*v{?1T;g7drHS z2A$DH8%K^z#%|Cf6Mas6K<>0h(uh}tBBvYl1_P*M5Q%Y@V23ni_E*NdUo(0hCY4Hl zdct@PddDDbjZr+pUHAZSv_xUqNSe1JriTLr8u#bB@2Vxo_UGK#1+xq$^(v(u-J2#) zf2l;h)&xR%l-P?xM0Q-v&-18MYe&4yP?S@mXfy)DjK(u}e7YU{)>H1U*Q%!h@txmQ zm%mTO%67O%%Oid;k0X9vE>ZsgJt}ZgAvO(+V^IM+CO1O}L(>O9r~3>tz~e~zP zpyRSKVBYgr>L2!=XQAj$73{y_bGb)EaR{)~AuD!3J3_n;r{lOq8C=+RTTtx19Azb|x2!RG+JT#iL#sjfc7!+XlK$u9v z(bXQ1(H@}VDEKL?5aw-r^#ntanDFX2=!YZb)KrncaaC0b8G2*15or0UW3EZzmilF8XLfapkK`hkK_+G9x2^qG1uMe&f1f z^rotfkY6Z44rAdT{dNe%oCIEAVPP6aR4>6^D)mnoi8SuEfCH9Fj32^;3&}kJ!!4s` z4`owc*Nf4M63Nxgju|LmDPK(psrPkf2U5Q*e;g8QoGS#9OdIO~b-0 zjp9`uFmoLfDY-3Snyyut0}k1x>WjM(anAn#?e2Pn*x9K$(@3FZ;PiN&Y-rah>j=y*t& ziA3*4sm4`=pfysOGBwPhhsrPa^j z{{W=sjAKo32=G!P>og?+(R{L~^eP*_wgL;4{{Xhfu{S~v`=*h#hm)bMa9c9wnK)D4 z#RIvt1_9L$*X&bH_DQs@q1`ia#uF21K2(Zf`lk}|C^gkOGKpz3*S<7cFxK8PFcqqk zMFs{&ygn=O1>l54DLUeD7#l;+0WW|s3zubcau9<@1xvc~6oMyl{sWeZ+*LI4UN%e1 zpmAt-dM3A(rf`_aIMzOC$LNW3XAoy(Aq)K8xg-7i=A2rdXR4XcElE({G@MBW(x6R- z1_Gqy0%dM$N7)WN6?ke_$RQnXz%de46j$rES(UeYj!}R>xc>lAiX0YIaVOW{D$Zft zE6tJ8MqaNQT~jDNlvOTCnh(88)g)jcE<-*I1aDMcuYXx2&0I=$=_}P#8j0L{{U&eBc6c?4uvWH||YNq#0 zp%163D5jXBJdoT7c*vo;{{XHH=!7~|M~tDoNf7R>_2Mbmj4D_8 z=vXU=`t>Lf5dZ=L0s;X81OWsB0{{a7009C61OO2Q5+M*1 zF$N$aK@=4uFfubyBtl^pKyftx+5iXv0|5aD0RI3E$I1O=V13X;o%=S{XWpE7@;|~e zV|vLX2r#KXlOlIJ&6DJo1LTH~`BVxt3jy+E4d5hT9>mB9!cX{5!N^aKuxs~;IRmSh zmB!HRPL9W&$K|#@*uZAia&Otft`^zPkN*H${{V&+(s}fhfJVlM*tEn9@vY~)yU|t$ z5c3fFi4#1@~z$XWeum=9v zNR11UOODMe{#Z%gCsK!fes$^R^}Ga=q3t%de|~?>vKwM1+V9i!GGEqw_%pEW*EV;D z7ygg$?EUK!CO&YwpdbU}@72&h&shh@y5rIn)yDY zd}2kn-ZTD(`F}*`nH+!+0ib?7QHS1`A-%}8d4eY~6G#$7qsJssmax1q6aG{EKCDl- zUx0!y?oR&z(gy?W3XaJpP&_Z;@FPei6F^qDPNFzBWvQS|7jje1odz$pi!B2)SFJxW+Qp}j`Xh;BOV&9{FBLzb@4U5HY+K@) z*vk_^A~#b)ps1$A{ESU*C3vm)ePxL|HoncBXr!{J)^}a(P*q}17yV-mWU+@_VWuPe z{{Xy!zY*x)7~iZcdleHxN0aH?6R);k_~XI;GQ^L|GVZ2ou-ZAl@KgfPF zyOZEb{{R^5;Alb!QL+C3LYkU&Os#(0lMTrk{Bwkjdo$(7k)~lF0Ovb6lrJ2W;7B4^ zl6n$yagQ z-{;V}50N4t81ez}xgX^~QK1Ze?12MtQ2Z0Y$=gCsKDBi-y`QT%>+&snj-}f~f2htf zgCP^YBVlBnh`mbX>BMhGg^H}kb`GVAjODj}WuX;VmOiLC8a3=ON%%Vg4|0sEcaWye z&ml39&T(A9<*bTQ@_cNRq|;Av@FgJ*8fqwEYd#=I;?c=B`}R?gc)imdNoGx8D^u-O+OVFrbc zEv`;wyUGvY%@ype1lMf6u^RRu9&N;Nq6LV#>~;r_PEHA$>_()Nxl15LFCWIiMLIwU z1RS|_&m$ZO&eMb6g3Ph%O$5DQLV^`*mU#lkrx!=4O40pB!5~WDWj%welovX!II4o(Id5IJ{mT4pW}$3U&K8*NXU<-4dD*fmV_=dL4Gzq| z@(&|;J$3pq#uIEWN`43VtDsc}Bv*g+F-Uw7(jlPJ7Vsj7e2_@=(9tFt2FY%~jgLhn z9gA8m+Erj~4C*l0U(u0> z*ntQKZlQ*aMn3YUbBaqSF~q2LF57zQ1Zzs&$49#~5zK`po9W7Lr;FI;Ap@bIe())N zN*2<|saNU4Dn#`r`5s}nG+OCz{{SYKo9v$L)N&B=w(h_2VC6W6ER~+5OB@CzGAt1r z6W6OJF2e20awSUdIpH|d8vg(;SwlfU43T}&)kBapG(K>Rjbv;=>PEj_r0H_vfB_%n zRV9GL8c;m|#z4npDE(&j>tZq2YY`oEFlX-q?h*?&fym!r?0U?Eort6l;CTCVe_jB= zA^5^h0(Ffm1Ec(v{cYUmMnSO~cV5^?A1xtsr1qKr0N6$V)(F=$KU>$N0DJm8)A&Ts zkF#etgDbba%gA$wkee2h2gbc5CO$ZI^z6O5AzrJAMMaZok0DkWR;-iOkCnbw zp<%9q!_Udc^C6}(Aw+#!H8^)gD%I|&Z*>w z1ngk>$((CKHPG~5_QTRMvm~tNBth3p6oN6;fdp)Ry(N@5(xL?)YJg6&upb?^b6WNB zomVtJQ$LMno+05B%0DXnJV_WbjvgI%$@r3v1a^3c{j=>34fT>xv_{e-ndJ6|AH)jV zo_6+}PGVlYu5!#Eyqpz3>6jfbgPNzV;jK}`lu z?HwRu`#v$xN8j1;gp#>Dhqkgs(fNZvaZZQzl$pe;v&bkNkLO9P*+ zVZ_%%qDdZpa1CLNT=@v-PLgr063-`qkt&VmhtHRHi71rM%*o$zj$$so#GhJLnVPUk z5!5mtBgQd}PTI{{WRd>X0Cm zy?j)zbJz#t_^rifinCQbMXUOk`jO_x?38zJ^hM6e{{X27 zG)p(>c5oA#KD!w5Dvjb0*zeSMNP~WDvV9+~UAF;I(G2fmUh=b_W;j^9QdWY{9`X8l z6UA@nUHX|v5y(nCxz7__>MEdWBP1eWSbAhRTI8uojXMYwzC7xc_R4zr)7U_YH$ zcpDS9dy(FV%xaOJyr^D<-{73%q)QN*(o4q7id^S4Qm65rX?O~+UXuHgN{OJ{pAQTY z#Fc49TABVGZv)7&5SliP{)R5-Bb%0XGmtFG+B4mb2&8F!hA(8hv@Z6L zb(3>O~DzLGkc8F&Vd1N%c&r{3yWTA&>Y=Wj{mHjEsLFLh|GrA7qjM zI^;1Qk_LGBG1+C!MJJOa1u?+sfOT910pw`O+b2ToO2=9Cvhi!lR4jA_Vsc1|AM?uE zQe+N+YLoGgZ9VGmX0N~FLk+5>dJzg0MVPKb)lswY$b)<+w zliKEBe#Sql;g?A~H>`6BFnIY}+)RCQQbY;UG%GLUG;KOKBUU}Q5qFWnl*dYT97Wa% zy6*(aM$GaTV4^VUbR%Mt?d3r#?+761{{WW2*aH*&N1*YJy;wF^mrM>z5k?^FDe>Iz zV9vzQQAycRp`mg;c^)(m`DfRF7vo-}1|3W-=h`KM#oquRXy%vXx~q){qF~xN z;B4euXC#l4_KbGwxe}14aiLYg@t^MgKIvoa`3@_R2mb&b&E6!U_lvOJvqxLcA7}?T zena??ei3~(g;>kUR7hfjjfGSw0eMR@Ll9Uv+LBj|mSK~;bh!`YOT|YTLe^iD<-kKU z^()x7Wp3F>V?ugWLSN56H?;6sG0c)6ktF93$YQG!^0OhACArGMKe0Kf%AEwIHJY5F zL}^}IB#gL2T4i7UeT?CJm_c$_j5^lOe{kqWBPWskldS_hp9N-MbKFO58Dr>tdRhme z&>lSh0E|k%xkxUgFYoL~&vN+)2!-3=>+W;-WCOwbzA&Ecope27{@Wbh@grwFP*#_E z!NIRkOs0);BVlfo%41^{S;w-ILHTIzNONc%eO3^g(R)%Y~7Tt`kRqQuZ=cVE!bfG^J^*wl@ zJTqKqu3m-(9tN}ZycmbR3?;DjDJ_O@oW3Q9yd=26QDI|aZ&>1t5KnoZ_vFYRF^b7ft{n)Tc5U*E~7EdP#1Zd3>Q@`>_ z67|@IGIUSb5G>ls}*u8B(n(e%g4u{ z5x+Qf_)m6ej@#0uwyedLJ2mWuc1w_44FR#m%@`*i+)tiDft7`t>GdcJ)^F=qGCqDH zr`@YgTXO#ZCh+=hs?Y9){pGX$PH|Q}h|rc3j$U}gc|(sjcE)=ZxN4>6`g*%kr1x%L zuMOrcX000aLH02ey95(B8bQSeHtjq5{YN6oQlwz91F|7Ju_uO95uHt1NF-q|rm|N6 z5Ft>jp_>3?K$ax>#y>2THcmyZpk}<}Qk404fnRbh{_)XVd6ojd9UBjWotG(B;2@2Uwqdpz{B=HYgGKPH7<7m+%tHHftzH64a9PF2;pUekq&ToscloPsi4uMq6A~oSg~jpY6E zYt0+9Y#l4|P|SKu$nl~d?nd&3@O?jc=)~fv14AK*%Hai@QPfXj9&=6XsNv=+eXQjx z#|)rHgDT7#>eYE`##BhM@vzshdP~Qmh70^CdwWGF$E6Z27{^t4ILh+Jt30g{Hzu`a zmb`NSB$61WPik7zm|RGlva3Y0;W`^A49&b6{S0^31uok^2VROdfB-UQV5ErDu-RoD zayJY;b^9^Rq0#4!qw^i9clhC|#X$v~MvvbZ(hOXciXPZ>e<8p6KoNVBvUYyObqsN5 zU1LmuZz7a9IAdfbvNjGgS@?mn3Y<+mj0_SGIuY@#@s8m~Z2X+>5Oo^#m5oYZ#h!BY z6uApR{B5ZqllT`NSm9FdQ>U_ELoj!G=2( zo)_rVxY?#V7AeUK^gB5RA3VciEB@rZU!pvA1hK>TBH3{SuG>lNM-jU zSv@0HW6?P7WbLv1tpg&$_$M{{Wtc$krrl+=3!N zHI~qI&_`4QMq)>f&*X)e_1+l_hgtk`27*Qqla2z&qZ|E*^qF>@at9rBJt(=Fqb!B< z^@INalJPO}3+=q$OiV;|rjvq_K3*nCD9V5mc**_+-=|W-^^&&Xf@(?`*^ zEdWTF}ml>4=lkVbBgd~_$ebAI-vS`{(Ek9|R?_Pu zP!Mcu_3D-R6HVezU}@q}2-De96=wzy=2W}2ula4cT;X7q+ zbp!tZ8t3wD@-xX5WAyoLdpvj2)4{o32$PP8%{1Rvanek|&p!-`=;d+b;Q0F_8yd)$qUg#;Wd^!{%tFqp zJ*j_=(Kg=94cM@$GN<5PFykhR+i$dB{NH(V^U=@V{Uq!gz-4ScJ$5i?c^Uf4Kdc9S zaC*4fk&t*LFl>C8m-X*2!3zHXsug9G*Id&lRZN^Xjk;CmAb=PzfB6jnbZcCK%6pI> zOP1rS3r!Cf9bWjzA7F%FKQu{s6lCZ z&sLl@Q`>`%tguJ?nPudsk^2rxdpxb*;o?<^J|m7a8eVS0!A;D3R~H>L*eBEKDcT-6 z%2R>}AraT~W(qc7g}HJpPyYbG^DQdsLy>;J;|YSA2w#!oQoOrH1b8gLK{yM@cCjhf zS7jr>^Xs+!&oDp`NBO8=J~00Pp~}DNaeh5?K1*$z(fuLtca9S<|EVC&=^%!OfRC#AZ{c(fwtC_~Lj^ zv-iB3Gwy9oyioDhz+fM<3JATCJ6QcQe7hPU{6{GI-c+NGT zk*v%|o%$j(w^XIYg#PW0M)$tm7n8j-Jz%Xuv4J$+GeF{NlfCW(vz|R7Q_EcIDeuBL zLfrL{Hic^u*o;dbEi+3ZP>Y4*AZYqvwMG~5YWrDlD(s~7-u#+Y;j)4md9?yH)cy+X zK-Z7glyW>00UIB@l1_kP#9aP!pdLkX0)@rj?f0z+m!j(j#=Q>z08)Yw<$v|rzyY6S zP$}4A0NG|Nd{<|WdiT~(4|NJJbc!D9v;L<%K^G7NUJbf?6SFbPjd4H%sfb8s_Uk7zUpIq_9cCd5q?c@1$ zr(hYlmp|z!Oa1HXCL@- zwjx7^S;}%TQH09;6e|r>Y_c@nhtj-wihXC&|cE zb=la;T%+2Qgrcifv7N8-f@M@~JdLvpZ1q3AX1_&A2MYo;O;#td0Y`>nI}%`1*tT!v zX3yB{5P6bw*C3Tjf#?u+EJu%!Os80=6liZdF7=Q67#J z1W)xxCV0wgLV@~btkqUIQXXEinBuGT9DZZD#|yUHTbuv}gI>RN98}@xEHTAbIf+2) z0I^r)?1MWa%Cw&!0jerz@zLP&h z-bB4ep&(>>X$}pm_X$v2QUr9GB2mn$qpHL_d1%#++e5~!Xpl$SA_p48a)+t?VNgbi zgzxe989W(6mFyf3Y!eY;zn9uE)Tr22W;=B2nj6aeBhH@bfTb8Z%Wg!HQql8QUafA? z{XN1#6sy~u<`S?d{{Yl)+@3?nn7K*7?M|{*g8)vbYvL%3 zF!9v|TFD6FE0>qtJdL3xl0lF1*d$>i_Q%|Qp;xHufDhYDzZfSQ0};VG0##?!j~={$ ze@E4hmw8`(bM=#xvFWUxgN~S+>xbiI%ScC5j3C$_8pr@rWWwysOJ;|wjYbL9ydSni z1Z+g(K}qp|;Z;8}qo^Ycg_uSH{r>>3B@|%Rez%-VtuzH1-6`Vy5Q!ANF1_{{Sl*p!`Wb z37nN7a8^v}p9MGWeln+UF$n`$dY=HP9<~mXSc6IiezM1szLPoDmK4z2>-HrfQ$_{S z`hK^7Y7$P)zQta|E=u2!LO=WVY-3nJbYdZ&V@K5dYaNK618?J6`-unPRPSa~EI|sS z4CCUke`$}qLd zKhz}gyydwePA|g!3s!7JUVQ~!En3oAev!k#tZo?dmtu)b^73}AO*9;w`vmL_>nxGV z*i=cEah1=fM!4vQrAXFEl^dC25Jn;Y0FkhK53w+lEAP@`b<`s1dY@3k_E+`*IXT$Y z4}ph4c4d(W03a&6F^V~(CMN?+okvU|xa+{7R;rO8Ep5jK|-j?=o@9)b!yfDox^+gRr zkPFCjMuci6u-7?e3ptHhI<|ls9K6d7HYbRIp{E)-@-i+8+`2C1(#0c2;nt;- zZWc1l8j-OPC4G02zqGj$^j(s}uX7rgJ;?a`9f%mR&Aj&u_yPt)+ct7<^f?F}MoxPk zpe}$I&J=Gu7kwX(0|#&YYgUomc9sgAkGd#DCy1tsNSmoJIvo%eB_!;hC+=WKAV9~q zkB_wM4TB>%^Bb}*u*~0~Gk)~a91wWX_CM)+M07)|4TyVp1$m;P6=s*4ryL17al+|y zJ+!+h8p}3hoq9=RJTSbm{XNf1Ep(OOyA{30_W0Q$Z^jzec-h?`{%sJX^M1<~Ye z5(aEzag)a}lAOGK+dtT{i`9C756QVa_uZ>kqgps&5k+g4Z+O+E7XdxO9?TqB<4{+~ zt0W#0g;lK|zb)^o4DuK&anz+QZQbfWT!q!A0hx`CYyHLexh*BB>DrFWODtj3k_J|y zkWDPh5*Kizm7KtW7^T~{P!uQtdIc;%4n(qz9MO^SHSj(?HZ_19VIx|_KcR~u!WUb~ z6csv&bfB1sd5IeuCmU{hXI0j0VnpxZ5(J{2(L0Lwg+85oQ>M#hJK zKaVTa$N*<&15jRQhM)Pce3W`~eh)oIgzMMmCI0|Zkq^fQ**QAaMH-^)V2j4^Ao)F4 z3x0<4x{sZVViae%Ezpu`bmbDjk_^2_ zT8rB?_yM4nTZ?W!M7PG(wL_V%mg3}StN=WDBdls&{++KSr5g1oR1|V@@^?{kr$e;)Ld5~EOo~*Ysi5(-bmV64q3lxCrVW6afw*7 zr|Zr|8Rch`%Bld+#g#v;YCDrOFg&aD$F=-YR;Lt_L*7T>WgqCsDOD(PP|EvMkbmvq zj}ov|&_yhJGrFMJRcQ_)Djy4{km&gUeYP2b=tSy^toNeBBK!sa0K7)*{))t9XkzQ` z%P%7O>Wa+C+zI9RX^-NOJ!S6JYL_KTICT2oIPDSBHotwCN7Vj&-)CqG$ovr(J*wYckRW{|LX z2<~s$r(@}><&^Suk*d-xIS?nH46htqVu4X9@{SCz2ORNCwCM60p;%Mnt9?0HQ~v-b z>J~jBiXJWFu~=BKPmHA%$&hf|Oi`q^9Vx@^I5E*yEF4sVQ>2cKVl@QtL+!K0dg4@w z%O?p^Xwl}gt?V8@jQ38W=H^lsym8uC@UMKRM&zdVo)Y>|`YoeZ?IDLZD{+YtqKTfaZOTxiD^OlbrvWITO; z=3P9Kl^|yyOj(eFTaH@N8FJk6T9mj)E8v5%vFI{(Z3I+6ssPv7HYL-bKt90PDJ-JqC z>8n+gddwJ`%lJ7y_d~*I`ilC>%zpkX)@4%b-l^x z@>G!4slhEH6FpZ``sp@ZzVv{3QP~!P}pA3`S=zp z#X1<|GM*l8l3d~I+;4q&*eAY^6tTq|2o!M&Y)dWt!k$z6W@HSI!{m9nI0B2#nXSy?Ld}EHIVkJIUc+fv; zep40)#ysQTEKGd3&>A1D-~^oxK>KR2WPr=mB%0oaYxI1?#Ds9)A7Xi=#|PZUs_5_% z^>U5K*D=aYMs_fLvd91+D#!+IU^XIfMvtX=-UkkW;N%pHmKKT1OT{6Y^!DNOE)&ah zbSuVVzXC8Tv;cv!QBTdj0xJ@Gsl>r*x;1&g)=t0MENO67-cZ8DJ5fZnc;mpC$o_0` ztZET2N|fgJW0Z2%m_oyYYD2#pPnbqN)vu)D7amEU>R9G9W_b9or(lMZLZeR=1@_XP zD*gIT$WTC@{2Bx2#xVeF@m=rEc?oibWQ7H(c{_1VN4Bw-l;F|$^cp@4QiJ0hlP6r* z9tIzbiBz^2)8i5zt+2y>G6S$i50AD(?Kbhd$?%b)jbS6;VAgT5ZbIht%;2mkYhh>34kUEY}aUW@rvL_9_od|2)S<%56V*`; zZ+v&-ESm5lQU}@acajhkVviqW8vuZCdRP7D>(^uU@&E}4rOwWP@I8J8!UG*PbeYS@ z2?t|i*Jmb=xX7gLx;x*GP)Nx2axZLve1rCu8riPF{{R8Y`7y>j1DZP7*v&Rd!(DPP z0)Rak*6;%i7H5*}9E@UTSAUxJS560Z|*+NhGf`a;}Z)^Rr3<1kI`KgL_+ z(xiQ+tMwJB-}uhArU}qRc4(KPOKFxjFU4|~F3$Hc?%4MIp%*>KLn2bToYm22)1TJm z;aW(;;Lbpcmr{;Zj3(G$o zii*3}AIFK5$tAnB_PmCUru>^uOuT6k6 zMn>KU2KS!>Kze{k*i|Ix2TGBMWw}Gyas+J3dN-)_bt?VUTrk)G{{146qj2eRC6#}b z5cmXodGsiRen28PDab%<*Zy2`OP~PUiRAmzX5?>?3Et1gsLc$R^l);tjP(@Pv&j4Q z-n5yq@OWF!l1pT#I-rl_)tLt@!VKa2@(=w&R#EeVTJiJaIlB@diU=rDN>GSn&QhD$ zh%_kUltm98BWeo?TI3g*?MYSg%y7<)1hn}!r(#NXXXYuSCSkxTiYquIBq0WdUzTh0 z8da;*DuE&8_8>rSPiv7$R=3m9qH)o6?Y~P*5{UM;2a{iIwm)QlAc=M#xK|{4pxbQB z7r_YKhW%XXL4bMKaujU#c`zVRpguhMY+yV1r(90`pZPSQea9=kn*lSDko$o$aM}z5 zY;1jp{;}X7_E^Iaw)9i~0CX&LZ)xu+s@??W%8T8TU4Zwrya&13u1p>VmFVa=#MwW@`$lmJ-B;b=!VQP zMzW8nB8pW+i;d!9s~Jp>h@_GkQ;p)`tF(q!1&9+fENsd2?N@mNeE=fXygT%t`I4!X1mZK%=PYJz|Wp$uyo3!O+@|9+Efyxf4iG(99j!(k;T2r3#wvZJWbA7pVeohR_(gl@%)h>`nHe0e-%A?%qlckdx$!)uk# zfCf=KOg3THFclp&jSBcycctBx;rYzhK>?#L%wnX#Fo$ z;EYel{T&ojtfUIEyH*hJ(=(N6qcACqd;l{?du|#y!Vel7$q^HnPhpS2 z9C;taKE&1~nUA=L5Nt^&S#&)T7IER^=sGW)cO|u-tkEN2p7M=;_4fA)JeBubdF4ij z*a0U%veaD;#hYYd)>cto2Xp)03KYe6rXp~t#lC5RC**{0{t~y11E^w9zvL=Q|ebG;rtwl+L zlb?@}M?2fPEibyF^=5?F7daaB5ngJX!H9oi52z?i2U{{+=OQZ=Tg^!lE9#&O87FRs zry*KO^^CUoo+tWzKY)w3xT(w`O-|P;z`o={R)BN69 zT1zF|=w`BQ^gV9>0L2hE4otgUh?o@L+CFuXpCK@84SM`yGbz}XHMbAAyD^=Bb~ZlB zQ~MK!JcI!y?xWBVjtLl&_54qwOz1R?Vn!M~Vbzt-sH#abk(YP`q9YYsj;!DlSA?Tq zW^<`UWd1&-YU(t?~`q%pLTa4|b0*)|BJP%6RXolp4wVUk5VNWVY#_Lm((4T=^$z+)t7h`=?H6!>U} z>7|K-oY+5fzw!+I`b8Va!9c47K4xq2fuwu$KY-ttlQy&%Mtpg2PsMud^C-?mft#S% z&f@_M;6ile2tGD_e_F+i4=2=Tft+-qB=d3}tjmzLhflQpWi|dpEfM%)nd8&-lc?*w zg^69CRQ~{BzFCBDBzel)mRlBw~zI55pi2{t*+u(UHk0jvVj0(l{gQYmg#w3zYtk3xCA{|$+ zrxu`1?it+4DI?j>U})q7qUcE&*2Gd1;m6O9wWUA$2b=JgD4|JM7qJD@%zo}=*^(P z&%55Zd|2e@dwb+BL0JIuU&bcL^XcQ!`^a^Xr$L}Mqo|Nmh)C|`*t2?*`ocRuT>XRT zL&~}ckoIlnj>baYkr*;q!}$QR3{$n=+OdT6^PX^lu#E&_O00!PMc3RIjJQPAcZhbN zf$1*x4gwegJynXZV7Kc`fv1Me3v1L~rXq72adXL1Z|QSY;v|>ylash%3mjAJ$72g^ zFl-Dexad&r5yOp*gPn*T9wGk2-*g|Bz1V&oq|bUx_vF^FE4lJ(?0JGlh14{QraAic zrFE+@Bl?|T`K`N;Wwzg=kTBUSHTwPf>(0U`bF7@IFhwV#`S%BZAIMZ+Kb*&SfT#fB z%GE>uQcEu$gUUrpL9`TO2W%#-SMrKknnv#b0A|Nhavhzq^q{`jGqE7IagO9E$W#UF zN5;V3w~{dHqX9j1eLr}=?e|l(Aa2iUpi}R~_OxaEWfkpSNQ#z-kipRA*BB1F$TipP zKN&^(Y4Y4jYOs(`S*mhh$u^!wrm~|kVoCAvQ)t~!r;pr_w)><~hZsg}N6eCu>9umFh2ks8i_VZB<#r_agM!TKocVYk;V{U z&(;yP134KQG+2bhx#|!V8QlHv;SN^+08dJ_{n8FvoHO-982K8*A92?sgQIAle}9Nc z56Fc6)B)q{QTJ?oWjh7|)Y_;u?!mG4c-D=1j3;Vkqc@2xaZxIFfLB%?8Yb4U0gP)E z!w(*_NC41ln#13IHst7akR6dbd=GX*@Dah@7km-O zM#}9R0|I$2(l>V5#$p#?i7axYYrWwr4r|h!edbVa$X;h6w)~Ul{0*%g)YwuBl7Qr= z_|OQH>j#gH=R3B>DDLE#PL7N3WG;vpGe$K9sdCT!~i=H009F61Ox;F1_lBH z0RaF20RRFKAu$6IK~WGQVR0ZZGJ!xskpvS`p|QauGf-mD@Zs?kLvn(W|Jncu0RsUE zKLGN@5Y-6tsD%d+z@mkI2v1)u(0@uOe@ylH7yg1!^T(DvBj8$ucnT@L$-a30gMSf2 ziQo!p;C>d~3k#uoeNKCk7$HNrRz+u`=N{CBR8DpicA>+Uf@Aj>s8Q@&z~# zhug~Q@Mqux9syK%T^=5+U&*?ZDA5R(;WWT#renD~Y?~QDg@ogTetXyEF?dqI;Vmwp za80j7XpbpIq^(C2Um5uAJd@=We=MWGM+=nxWZ?@I8p^nxA!5(56ZH#D1~?Gh0BZ#1 za&ddkt};N_BT@NqJzPVqHX~VDK>8+!4!U+u{#&3j{F09Y#3qmjve7&DPtMtp*n#i5AH!t`0@L#>Qq}{@mc$K6 zH{E!vWn{ZeL|I@Mb(~B`QV}j|#%VVMT=pnXalgcr5csj>4+iSc zg2OLyuphZLL9J^{=v$n1zbh#)L%mB{(&og_`#zW0ylJ9cs`8{{XDT zExdbhaupsAv*v8X<^$f#2;slxC*|$AIxJ^mJ;#(AHM^M9D>QzJjcAo2htka;Si5qn z8YNc~5~ifk)CEF+q+j5Ix*i~c98SJXLmB`(6L7SD9eCYefi87~*`r{cmCmhbJ58lI z-*gW-lar7An8B=4gQ}T#F`LP{a1C+H(*~sJ z$6hrcLxI)34um0bKVB`(4L@B7C{_v<5~@u}+?uL>zaCNXilf9MD(Z+Mz;Fn8WmRaa zi};9;!K~>k8#r*x*E@YeaUh|}o6NCV4!^xk5s}6x{gw8Sgb%AJ71o;>PRvQ1#^!pX z4G4b>PF6?J$AGSfP;?=BhbitUJTJxJ&x1fj^`bKX4{$0Kf^f+bI!5xjp5YE~vq999 zAT&Zej&RI&Z}=#7kIE20{Zoki(}JpM74U>>@Wacw;CKY?BgA}GHtoOxn91sQOb5Ef zb{NgOB8laEN-`9n+81EE7oJr&&;li?{yArN(xjboAw~!Yqug7V`N^E>7 zLc6N*4sjGYT1W?JOfA75DZ7q@jk*-vv0^Ae79j2uzWIQ3Yo$D~+d7L7{mJEQUPaw2 z6E+bf2OEQ+a-2t#X4|022@-on+?vr)CcsL%UcW zyjm)onWC}TdMB4~-6cCL8O$g_8iJWEW3tKr0NItdBd0YkQqjvpK|) zZGM~vRynbl4QJ+7Mi>_>MCERxbv;Nx1)_8{uc_#7D9cW%hY+^;Y(3T}!z9tUL4nmh zt!bcsS`*h|zS2Mb0>}HuK`s%>HjR^XLX+Yi3v7T!oB}lXeSQyK0#izLQ)K;6fQ5n; zSBlRD7h%NN*$Ia{MzRhpTRt@O0s ze-Y#Mr!n)*kV%3p`WR~E`?5n^>Skt?H3e5BxW$Hoc{YpMM3>O{q;sh(;VLsDy;l5X*|%gTF((tOtkf6JG1= zZu*4BHRI)iO!SHrEO}X@dY#;-EY4Zw2YBK9wi$WQk!Fqhs~~>mwItIq790!&``dDK z092B&z{SOJcUU$BFgjBMXKof>Dz;z;u(yGw*r%DXq-s^riNpHCwMU&?*T2BjetZYQ z6e;1;#!>K^$~}>S!X4ZTg|7nuYOz85Z6ts})JpdnjvT>J$X9^yWn&M`B)jMkxBDeH zv>V2wWFex;+M~)gxjF!`UC8Xgx&>k2xkElNu-mCdTui&Uzk|@|YpG$pqW~uT*n2r= zV0HfOVKvNak0Xtpr?o`^Mi0Q4Du;mh8~iSaR^63aCUu`>f`01o`d3`K*J7G*-!Trf z><r$e=Ap&cV|g;2`&7;{O}LN^MhbP#}q z@DLG_P?D*tY5TSgS^1~tS6cDdr;%Eiw2Du3O(XI|nbSb0Hr-JmwMZ?LNPA9iVy81I zBIlwJB7VGRj}VWD@g5@u4?2kW!U?D#f<8@SiA|6_qo_I+id@iUDa{s=ngGh+V?%K& zHc(SRlW{^1b%%n zg2Z!iC)F}crx(52xYjfX!TghnJp_Z$EGOcDcn}t5Gv#E(wJ@%-v)S<^3Bj#(Kn<&X%EmeDb5sz6Kl!iLQw|?nwDu{$j+I8uP~lfX$v z3NtFlz{(K|LHy+*^J z1Bj|V-{l@u0mgl%z-r^rBbnDHa&CB&_jo^>`(6itMh+S7T;ZYEAYFiM6)ZbO#b6we zU0OJSa|p{_Wa1q9k~C<#vuG1)IwM4QU2o)#Bg@mkXqp$L8t@(+J`|#zMNou76TnyV z`l-(13;{Hn&dUS{)+#;G83Ms@cj3z`k;m}}P7dsaPek&!D0iC{{UP~bQ+Sb?ql55YNsJNTcCij#I^3D-IbtBG&GvJQ?uf}uG_Ha5w63* zhx{oZJE*-j&=e|F3LZt3yhp`v0H*+lm9Lsn@E$sFbQhT11e;c!5rB5lpP7tt3VS=a4@73F`V>` z074$&m8}{C-f++}T#abH(VS8XEw19%0*cA6tb zh(S9kI*Wyl9Ut3T&?W+PCZwH7I@LJgzx!=HMT+}AcYY?=?K>v`%jItRNz@JlHY2Rj zuYH2b!-gn5Qcl|wWr-w@NDv47@Tt&lc3jx6sp+#vLBXNVc{kEEM>Zp_$%lF+i{mMwR1+BIIAN#t`N{FWeW=T)mSdv0x0o3N0>O2IB1W+ z4?4n%-&7_v-=c0-Fv-knPM|kf+@LIl?hx?e4BKnQILUL2l4^Sde}#v5)!GijfvKR} zlV}OKu`Y8NgV0zYjhCt8lztZIJDvwK8aZ3B-WAIAJeOwF2JO`GxD@VybKh5Xk4<)1 zu4Vwx-ZcRZV|N;ptxo}Ur;s>ZA1dnpUaL=uFcYMqm0=IOc_%e#7c|#oNi7%Ost^&b z+Wk1gK^~)V*lMxf*BhCc_D{`=A;r$tG@`}G28^-ZNviup+(oMq{!tlXj}|=+#Tg2K zE=((DKBK-+tT-8KWH4+jN$bPbXwkX<00CnM6C{f?M@yONtiHP^Q&s3-(^ZF&m~l+g zA;)S-dRX zM*Cca^E)Ws8%_h5qUSxwm94ocpLc~aYs_O#fe8nLi)26|rcHqAQ!<#S>WceQgESB) ztfyu;W;1RLLby$*o+yWac)}40)mVr^3)T7~l5h8aT zO2r2XYXTfb$3Qsp;e!r-r*P1l048U6^=Jojv7MaQHi5kc@U;B*DY<0Na&=cL2;w=q ziZmXis^dH8(W62Nv0=G33kkIrnzZ$lK^SB>vAV^~okBEllx@KO05F1j5UQyt_;m9M zJ^{t3$=D%&H_=e1g=BnV%^X5834ysx0pI57n}Ez*;NPzo{o9V-lN+^R7JqQ7Q-)p5 zKQ!=rLEzbQ#YyzFyPeL#W04v&9rqhV6k$v{H>?d-Ey>Bx!Y1!E3mT~G-%$Va*3&uO-ViY8U%eMIt)vl_(sF2 zLIB`s78YClrh87d7ab^5Fy0Y9h63}6EeN0m=h*#&_l zIk8=Hw?Mg`eJvL!_8XN4?ph)}Eqk;(xCG(v2syd^17ZZfi0BH2OE>8Wp^JWl#w6zH!OeY6CoX(92(HfNCQRY5K@+^;v%7gPp zsPG;QyfxW3znXXt0pK{W1JEk{^ipeEn7wSD{{W4Y2x%P0_Jm1|P0xP=IevDHM&ND{ z4r7HQWrj{8jW%yr9RkD;X!%+wPgEhuO#bWa<=MXv?n=iEart6eKjllYpX$USayRiG z*d`Y^nz-D%SG=#{INZ9wO@bf9%nM?Ml`wQzZfS8M4f~_c?rgh(swMAnsT8JzutdNE z*&56#5MehgItrds6-T#IpdCu1@eX1%8x9Q(A4F|*;*9aS(}AkDmOM6A;A*`}{4TCI zZQ(XXLzNE=c%B6xCDAF_qigWlIv{Il(Gi%6#)n=2N!L`-Xq`u6(5s(Iw0A?ZxZt(I zbai8Ts*lgKZiLI6>S-li2~-N>i_4#i0JH!FhaXX+N8xYzH!09XLc$=slppOx)9u4SOp}OGU!55)t4e zeur_@8N+dgyHT@U`yM`=NqcmS!VuwCHefhwOG>kohGB84^*BiEI-@1uF1^vqx^`p! z*dfZG${fF4*{U6W=cbMa6dD+SR+79t63@!fiox^ki|uoFk!i0o09wM=Q>n zf-4ERTqs9TLY!MVi=yZEajD&6e+|`PcjhO6n6AVf!4(S$&%>-c)yw_KuEbzGklM!H z%LoGzlvTmMh{Ad0*ufLJB%II-s^A+yB|C|PXxsDwI$82JLDZofHRE7|huOg8(=qF* z3q@o*ryQpHc)p8Y%izp3D>WLQC*?jzscGbo1<-=4gk;m!0jU7*vLwl=cdB+X!O4Zp z)x%EW>kwt`rIjUKziq^5J9~K$ly3jNx5l>?zx)ZOSc;yql08c zx9GFsV8ydcjf7b=F}k~M!%|i=u>jJ-eUN|?OR=#zS|*hJ2BkD%Gv;tJBVY=4Q?6=< zbvqHbT$r{X>URfFSI+bF6cC&kFxp6Stth~74l`0*Mae>6s*ftkunMQo(;?gb%h@1{P6VU zLd7~Ow91GskE#_QpKTYXFYLWJSEnxq=f*Y~4y5Q8HZi%q^cxN!5!DR%La}1b#M~zw zj&N>KIRKkDe8i{HWxb6^+6Ic~a;+|%0%CitKr>WU;R6QmvrJqA*2rZI<&B8A;aYrU z$y#}yvE*E<>*Ss-qM+Y_%ZT4e{KTRQqOrcI#l2c!ujaCjpUCwE1Ua;5x$Lms!51+d zq$g220z9`q$dQEL13`)EQ}j^|pmS_U(2Im&gmMwATod3Nt}&Zqr1#@i0h#gn2O&iv z%`ym~9_t9=G+DwVj-h&8P^tT&AvZP)BsO5TF}QC;AOsQRLVV491He)7U0v7czG{y% zMQwU`f)z)Zw+JAc!1%0)CK2al$9^~t%H#4>2&Jzp3D|8vGp#!m{LRE}W2_Ni2(XR@ z#lfx63wx4>7iD|g1oYJsM_bo{j7FJh>$hU33m*=>j__{MnjzETaN;7>%n=#WyK0 zw_Q+>cTEi)IBpy^u7GeU%y0wKX9?G;m*QSeU4@5$R}SM+({U<9noS_@m{2TFy=#R* zBRCxnsnl?gnjMPs0P6zgL|JoYsV=E22v2X?%8e#ZPTK`!B!FYO5aWF+O;b^ZJJfXp zU^=FNVgRs03n)g%fRU=Bek3P-5aIHVJ9XU-2g6W&hvnU2JhCS{M2^&`DdETS_X*YD zJtiFjrKDW;gk%+naPb|rk5UR~4+23JaJ0spd0yK%TqA~h)qSM5e5Wf!=o8tBAac4( zq<#}ssNsD(rneAm*$3KaP%X_@f*|D@Pg0sPL}k(w8&G0uN!TD<=-lg|3l0D~+HV00 zg+buHh@-;f68N`5M-Nx-ukitT$~=8f{W#mq^|r`)7oQ;1peJ_F{X`T<#?kqSa3ful zjxGVSqnW)32!hD=gy3)stz6BU(kdlm20T@+xr5VCRDJFfhG#U;u$qyn8-<86ekr1L z9cZlfi>zO~V`f_JSAlvH8KGj0FH84WVYp!WoMf0f0I=e@Lx34h)E1sM(`i`Fd#nR_ zMq_I#y!wgXWpvqtL$>gbFsd*SuIhyeB?v$6sQh4=A_%3-A{<5_ERH?+~d%M2L&L18qFC?OEhU^nOhx)1xY>ZVW}ENgN$K$H2Oq7*|hm;-Wj zM>CsH(MGiXplvKp0OGpHEjnI&wDv|pp^ERX1Hf1$> zj3)m8EXb`T1OhYS(~Y-B(x05@*7}LsG)^SC?3id82n%nb6yQ8s`N#O5r;+mc!43gg z!^fyv8ujwIPx(UonLwNeRL96kylhdBZNm(I;y$jDC`hSj(OOVOiK@ecdA}tA8u?(M z`6v^3*M;~L5JSK!-zahQojjYux$}<-f{&-jw0>gVRoa^q(mzBcr}GF*0$T0cu?mCp zMyS__@D2?@1k}Yud{qT9y@IyhO_4zad>)j-Q;Sw0gflrB`8JAt7pGKZhw|~B+)t6A zK-xlKA>cHdmXXt9j2@md#Hy`)exc`I;jFzQz);|P!$PV*L_9(YG7*B0k!_Y7rbmb% jj4GZ3!V^$JfGvC_H8mawg}kHX@4)jq{sY8#{{a8lu4;(!