@mapsindoors/map-template 1.44.2 → 1.44.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{_commonjsHelpers-ba3f0406-1b43c1be.mjs → _commonjsHelpers-ba3f0406-b365bfe7.mjs} +2 -2
- package/dist/combo-box-item.entry-345c20a3.mjs +22 -0
- package/dist/{icon-b8d01d6f-706e205a.mjs → icon-b8d01d6f-900d5034.mjs} +2 -2
- package/dist/mapsindoors-react.es.js +1 -1
- package/dist/mapsindoors-react.umd.js +4 -4
- package/dist/mapsindoors-webcomponent.es.js +13 -13
- package/dist/mapsindoors-webcomponent.umd.js +4 -4
- package/dist/{mi-card_2.entry-c26b382b.mjs → mi-card_2.entry-6bc4ff53.mjs} +2 -2
- package/dist/{mi-chip.entry-75dd30a9.mjs → mi-chip.entry-b2169d4c.mjs} +2 -2
- package/dist/{mi-column.entry-9f727037.mjs → mi-column.entry-b02f82da.mjs} +2 -2
- package/dist/{mi-combo-box.entry-f7ef9c45.mjs → mi-combo-box.entry-2343a50f.mjs} +4 -4
- package/dist/{mi-data-table.entry-ee80a9b0.mjs → mi-data-table.entry-ac669645.mjs} +3 -3
- package/dist/{mi-distance_2.entry-393cf3d1.mjs → mi-distance_2.entry-f33b390a.mjs} +3 -3
- package/dist/mi-dropdown-item.entry-3951b56f.mjs +22 -0
- package/dist/{mi-dropdown.entry-60f99b89.mjs → mi-dropdown.entry-b3313e7a.mjs} +33 -33
- package/dist/{mi-floor-selector.entry-7ea03e26.mjs → mi-floor-selector.entry-dff357ee.mjs} +2 -2
- package/dist/{mi-keyboard.entry-882b206f.mjs → mi-keyboard.entry-acea57cd.mjs} +3 -3
- package/dist/{mi-list-item-category.entry-e5898ac7.mjs → mi-list-item-category.entry-bd936263.mjs} +4 -4
- package/dist/{mi-list-item-location.entry-6973b0f7.mjs → mi-list-item-location.entry-e2d33c66.mjs} +4 -4
- package/dist/{mi-list.entry-7e44aa9c.mjs → mi-list.entry-12493f9a.mjs} +2 -2
- package/dist/{mi-location-booking.entry-9f5b3bd1.mjs → mi-location-booking.entry-393d6ad0.mjs} +3 -3
- package/dist/{mi-location-info.entry-e7dc52bf.mjs → mi-location-info.entry-5cbf7cb6.mjs} +2 -2
- package/dist/{mi-map-googlemaps.entry-b9f27e6c.mjs → mi-map-googlemaps.entry-8d8748ea.mjs} +3 -3
- package/dist/{mi-map-mapbox.entry-4f03ccd2.mjs → mi-map-mapbox.entry-d4d21c4f.mjs} +3 -3
- package/dist/{mi-metric-card.entry-e07f13ee.mjs → mi-metric-card.entry-b3489f25.mjs} +3 -3
- package/dist/{mi-my-position.entry-55a9ef1f.mjs → mi-my-position.entry-f825c9f3.mjs} +3 -3
- package/dist/{mi-notification.entry-25c9848c.mjs → mi-notification.entry-2668b6a1.mjs} +2 -2
- package/dist/{mi-route-instructions-heading.entry-0e294bd2.mjs → mi-route-instructions-heading.entry-51c1c131.mjs} +4 -4
- package/dist/{mi-route-instructions-maneuver-legacy.entry-963d825e.mjs → mi-route-instructions-maneuver-legacy.entry-658fed67.mjs} +3 -3
- package/dist/{mi-route-instructions-maneuver.entry-6448a6c3.mjs → mi-route-instructions-maneuver.entry-982b0460.mjs} +3 -3
- package/dist/{mi-route-instructions-step-legacy.entry-334c9f25.mjs → mi-route-instructions-step-legacy.entry-b201f44a.mjs} +4 -4
- package/dist/{mi-route-instructions-step.entry-f9e5400b.mjs → mi-route-instructions-step.entry-d4679ab2.mjs} +4 -4
- package/dist/{mi-route-instructions.entry-409fe31f.mjs → mi-route-instructions.entry-ae234dd1.mjs} +5 -5
- package/dist/{mi-scroll-buttons.entry-243df826.mjs → mi-scroll-buttons.entry-83f7ff88.mjs} +2 -2
- package/dist/{mi-search.entry-c4186039.mjs → mi-search.entry-3faadaa8.mjs} +3 -3
- package/dist/{mi-share-sms.entry-fbf1284f.mjs → mi-share-sms.entry-9aa23447.mjs} +2 -2
- package/dist/{mi-step-switcher.entry-60c2ee91.mjs → mi-step-switcher.entry-a378c371.mjs} +2 -2
- package/dist/{mi-tab-panel.entry-78a58653.mjs → mi-tab-panel.entry-c7153f7d.mjs} +2 -2
- package/dist/{mi-tab.entry-448065dd.mjs → mi-tab.entry-2ffe9d3e.mjs} +2 -2
- package/dist/{mi-tabs.entry-354cd598.mjs → mi-tabs.entry-128bca6f.mjs} +2 -2
- package/dist/{mi-time.entry-04f92ae6.mjs → mi-time.entry-37dce0ae.mjs} +2 -2
- package/dist/{mi-variables-9a6c8d4d-31b02b92.mjs → mi-variables-9a6c8d4d-80303e34.mjs} +2 -2
- package/dist/{reactcomponent-06b957e9.mjs → reactcomponent-ac813731.mjs} +6 -6
- package/dist/{route-travel-mode.enum-7f4ce9c7-2aa97bf4.mjs → route-travel-mode.enum-7f4ce9c7-2a4bbdbf.mjs} +2 -2
- package/dist/{sort-order.enum-64ce8998-6fc39032.mjs → sort-order.enum-64ce8998-7c3905bd.mjs} +3 -3
- package/dist/{unit-system.enum-eaefb53e-351965d0.mjs → unit-system.enum-eaefb53e-a912c4b5.mjs} +2 -2
- package/dist/{utils-ae714467-27d525da.mjs → utils-ae714467-a47ae5a0.mjs} +2 -2
- package/package.json +1 -1
- package/dist/combo-box-item.entry-9294ada5.mjs +0 -22
- package/dist/mi-dropdown-item.entry-d78bf191.mjs +0 -22
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`.mi-toggle{margin:0}.mi-toggle:disabled{cursor:not-allowed}.mi-toggle+.mi-label{margin-left:8px}@supports (appearance: none) or (-moz-appearance: none) or (-webkit-appearance: none){.mi-toggle{padding:2px;box-sizing:border-box;appearance:none;-moz-appearance:none;-webkit-appearance:none;width:48px;height:24px;border-radius:9999px;background-color:#6b7280;transition:background-color .3s ease}.mi-toggle:disabled{opacity:.48}.mi-toggle:checked{background-color:#22c55e}.mi-toggle:after{content:"";display:inline-block;width:20px;height:20px;transform:translate(0);border-radius:50%;background-color:#fcfcfc;box-shadow:0 2px 2px #0003,0 1px 1px #0003;transition:.3s ease}.mi-toggle:checked:after{transform:translate(24px)}}.mapsindoors-map{--z-index-top: 999999;--z-index-popup: 950;--z-index-modal: 900;--z-index-spinner: 800;--z-index-overlay: 700;--z-index-dropdown: 600;--z-index-toast: 500;--z-index-header: 400;--z-index-sticky: 300;--z-index-mask: 200;--z-index-masked: 100;--z-index-default: 1;--z-index-deep: -999999;--transition-slowly: .6s ease;--transition-quickly: .3s ease;--tailwind-colors-rose-900: #881337;--tailwind-colors-rose-800: #9f1239;--tailwind-colors-rose-700: #be123c;--tailwind-colors-rose-600: #e11d48;--tailwind-colors-rose-500: #f43f5e;--tailwind-colors-rose-400: #fb7185;--tailwind-colors-rose-300: #fda4af;--tailwind-colors-rose-200: #fecdd3;--tailwind-colors-rose-100: #ffe4e6;--tailwind-colors-rose-50: #fff1f2;--tailwind-colors-pink-900: #831843;--tailwind-colors-pink-800: #9d174d;--tailwind-colors-pink-700: #be185d;--tailwind-colors-pink-600: #db2777;--tailwind-colors-pink-500: #ec4899;--tailwind-colors-pink-400: #f472b6;--tailwind-colors-pink-300: #f9a8d4;--tailwind-colors-pink-200: #fbcfe8;--tailwind-colors-pink-100: #fce7f3;--tailwind-colors-pink-50: #fdf2f8;--tailwind-colors-fuchsia-900: #701a75;--tailwind-colors-fuchsia-800: #86198f;--tailwind-colors-fuchsia-700: #a21caf;--tailwind-colors-fuchsia-600: #c026d3;--tailwind-colors-fuchsia-500: #d946ef;--tailwind-colors-fuchsia-400: #e879f9;--tailwind-colors-fuchsia-300: #f0abfc;--tailwind-colors-fuchsia-200: #f5d0fe;--tailwind-colors-fuchsia-100: #fae8ff;--tailwind-colors-fuchsia-50: #fdf4ff;--tailwind-colors-purple-900: #581c87;--tailwind-colors-purple-800: #6b21a8;--tailwind-colors-purple-700: #7e22ce;--tailwind-colors-purple-600: #9333ea;--tailwind-colors-purple-500: #a855f7;--tailwind-colors-purple-400: #c084fc;--tailwind-colors-purple-300: #d8b4fe;--tailwind-colors-purple-200: #e9d5ff;--tailwind-colors-purple-100: #f3e8ff;--tailwind-colors-purple-50: #faf5ff;--tailwind-colors-violet-900: #4c1d95;--tailwind-colors-violet-800: #5b21b6;--tailwind-colors-violet-700: #6d28d9;--tailwind-colors-violet-600: #7c3aed;--tailwind-colors-violet-500: #8b5cf6;--tailwind-colors-violet-400: #a78bfa;--tailwind-colors-violet-300: #c4b5fd;--tailwind-colors-violet-200: #ddd6fe;--tailwind-colors-violet-100: #ede9fe;--tailwind-colors-violet-50: #f5f3ff;--tailwind-colors-indigo-900: #312e81;--tailwind-colors-indigo-800: #3730a3;--tailwind-colors-indigo-700: #4338ca;--tailwind-colors-indigo-600: #4f46e5;--tailwind-colors-indigo-500: #6366f1;--tailwind-colors-indigo-400: #818cf8;--tailwind-colors-indigo-300: #a5b4fc;--tailwind-colors-indigo-200: #c7d2fe;--tailwind-colors-indigo-100: #e0e7ff;--tailwind-colors-indigo-50: #eef2ff;--tailwind-colors-blue-900: #1e3a8a;--tailwind-colors-blue-800: #1e40af;--tailwind-colors-blue-700: #1d4ed8;--tailwind-colors-blue-600: #2563eb;--tailwind-colors-blue-500: #3b82f6;--tailwind-colors-blue-400: #60a5fa;--tailwind-colors-blue-300: #93c5fd;--tailwind-colors-blue-200: #bfdbfe;--tailwind-colors-blue-100: #dbeafe;--tailwind-colors-blue-50: #eff6ff;--tailwind-colors-sky-900: #0c4a6e;--tailwind-colors-sky-800: #075985;--tailwind-colors-sky-700: #0369a1;--tailwind-colors-sky-600: #0284c7;--tailwind-colors-sky-500: #0ea5e9;--tailwind-colors-sky-400: #38bdf8;--tailwind-colors-sky-300: #7dd3fc;--tailwind-colors-sky-200: #bae6fd;--tailwind-colors-sky-100: #e0f2fe;--tailwind-colors-sky-50: #f0f9ff;--tailwind-colors-cyan-900: #164e63;--tailwind-colors-cyan-800: #155e75;--tailwind-colors-cyan-700: #0e7490;--tailwind-colors-cyan-600: #0891b2;--tailwind-colors-cyan-500: #06b6d4;--tailwind-colors-cyan-400: #22d3ee;--tailwind-colors-cyan-300: #67e8f9;--tailwind-colors-cyan-200: #a5f3fc;--tailwind-colors-cyan-100: #cffafe;--tailwind-colors-cyan-50: #ecfeff;--tailwind-colors-teal-900: #134e4a;--tailwind-colors-teal-800: #115e59;--tailwind-colors-teal-700: #0f766e;--tailwind-colors-teal-600: #0d9488;--tailwind-colors-teal-500: #14b8a6;--tailwind-colors-teal-400: #2dd4bf;--tailwind-colors-teal-300: #5eead4;--tailwind-colors-teal-200: #99f6e4;--tailwind-colors-teal-100: #ccfbf1;--tailwind-colors-teal-50: #f0fdfa;--tailwind-colors-emerald-900: #064e3b;--tailwind-colors-emerald-800: #065f46;--tailwind-colors-emerald-700: #047857;--tailwind-colors-emerald-600: #059669;--tailwind-colors-emerald-500: #10b981;--tailwind-colors-emerald-400: #34d399;--tailwind-colors-emerald-300: #6ee7b7;--tailwind-colors-emerald-200: #a7f3d0;--tailwind-colors-emerald-100: #d1fae5;--tailwind-colors-emerald-50: #ecfdf5;--tailwind-colors-green-900: #14532d;--tailwind-colors-green-800: #166534;--tailwind-colors-green-700: #15803d;--tailwind-colors-green-600: #16a34a;--tailwind-colors-green-500: #22c55e;--tailwind-colors-green-400: #4ade80;--tailwind-colors-green-300: #86efac;--tailwind-colors-green-200: #bbf7d0;--tailwind-colors-green-100: #dcfce7;--tailwind-colors-green-50: #f0fdf4;--tailwind-colors-lime-900: #365314;--tailwind-colors-lime-800: #3f6212;--tailwind-colors-lime-700: #4d7c0f;--tailwind-colors-lime-600: #65a30d;--tailwind-colors-lime-500: #84cc16;--tailwind-colors-lime-400: #a3e635;--tailwind-colors-lime-300: #bef264;--tailwind-colors-lime-200: #d9f99d;--tailwind-colors-lime-100: #ecfccb;--tailwind-colors-lime-50: #f7fee7;--tailwind-colors-yellow-900: #713f12;--tailwind-colors-yellow-800: #854d0e;--tailwind-colors-yellow-700: #a16207;--tailwind-colors-yellow-600: #ca8a04;--tailwind-colors-yellow-500: #eab308;--tailwind-colors-yellow-400: #facc15;--tailwind-colors-yellow-300: #fde047;--tailwind-colors-yellow-200: #fef08a;--tailwind-colors-yellow-100: #fef9c3;--tailwind-colors-yellow-50: #fefce8;--tailwind-colors-amber-900: #78350f;--tailwind-colors-amber-800: #92400e;--tailwind-colors-amber-700: #b45309;--tailwind-colors-amber-600: #d97706;--tailwind-colors-amber-500: #f59e0b;--tailwind-colors-amber-400: #fbbf24;--tailwind-colors-amber-300: #fcd34d;--tailwind-colors-amber-200: #fde68a;--tailwind-colors-amber-100: #fef3c7;--tailwind-colors-amber-50: #fffbeb;--tailwind-colors-orange-900: #7c2d12;--tailwind-colors-orange-800: #9a3412;--tailwind-colors-orange-700: #c2410c;--tailwind-colors-orange-600: #ea580c;--tailwind-colors-orange-500: #f97316;--tailwind-colors-orange-400: #fb923c;--tailwind-colors-orange-300: #fdba74;--tailwind-colors-orange-200: #fed7aa;--tailwind-colors-orange-100: #ffedd5;--tailwind-colors-orange-50: #fff7ed;--tailwind-colors-red-900: #7f1d1d;--tailwind-colors-red-800: #991b1b;--tailwind-colors-red-700: #b91c1c;--tailwind-colors-red-600: #dc2626;--tailwind-colors-red-500: #ef4444;--tailwind-colors-red-400: #f87171;--tailwind-colors-red-300: #fca5a5;--tailwind-colors-red-200: #fecaca;--tailwind-colors-red-100: #fee2e2;--tailwind-colors-red-50: #fef2f2;--tailwind-colors-stone-900: #1c1917;--tailwind-colors-stone-800: #292524;--tailwind-colors-stone-700: #44403c;--tailwind-colors-stone-600: #57534e;--tailwind-colors-stone-500: #78716c;--tailwind-colors-stone-400: #a8a29e;--tailwind-colors-stone-300: #d6d3d1;--tailwind-colors-stone-200: #e7e5e4;--tailwind-colors-stone-100: #f5f5f4;--tailwind-colors-stone-50: #fafaf9;--tailwind-colors-neutral-900: #171717;--tailwind-colors-neutral-800: #262626;--tailwind-colors-neutral-700: #404040;--tailwind-colors-neutral-600: #525252;--tailwind-colors-neutral-500: #737373;--tailwind-colors-neutral-400: #a3a3a3;--tailwind-colors-neutral-300: #d4d4d4;--tailwind-colors-neutral-200: #e5e5e5;--tailwind-colors-neutral-100: #f5f5f5;--tailwind-colors-neutral-50: #fafafa;--tailwind-colors-zinc-900: #18181b;--tailwind-colors-zinc-800: #27272a;--tailwind-colors-zinc-700: #3f3f46;--tailwind-colors-zinc-600: #52525b;--tailwind-colors-zinc-500: #71717a;--tailwind-colors-zinc-400: #a1a1aa;--tailwind-colors-zinc-300: #d4d4d8;--tailwind-colors-zinc-200: #e4e4e7;--tailwind-colors-zinc-100: #f4f4f5;--tailwind-colors-zinc-50: #fafafa;--tailwind-colors-gray-900: #111827;--tailwind-colors-gray-800: #1f2937;--tailwind-colors-gray-700: #374151;--tailwind-colors-gray-600: #4b5563;--tailwind-colors-gray-500: #6b7280;--tailwind-colors-gray-400: #9ca3af;--tailwind-colors-gray-300: #d1d5db;--tailwind-colors-gray-200: #e5e7eb;--tailwind-colors-gray-100: #f3f4f6;--tailwind-colors-gray-50: #f9fafb;--tailwind-colors-slate-900: #0f172a;--tailwind-colors-slate-800: #1e293b;--tailwind-colors-slate-700: #334155;--tailwind-colors-slate-600: #475569;--tailwind-colors-slate-500: #64748b;--tailwind-colors-slate-400: #94a3b8;--tailwind-colors-slate-300: #cbd5e1;--tailwind-colors-slate-200: #e2e8f0;--tailwind-colors-slate-100: #f1f5f9;--tailwind-colors-slate-50: #f8fafc;--tailwind-colors-black: #000000;--tailwind-colors-white: #ffffff;--spacing-xxxx-large: 64px;--spacing-xxx-large: 48px;--spacing-xx-large: 40px;--spacing-x-large: 32px;--spacing-large: 24px;--spacing-medium: 16px;--spacing-small: 12px;--spacing-x-small: 8px;--spacing-xx-small: 4px;--spacing-xxx-small: 2px;--rounding-circle: 50%;--rounding-pill: 9999px;--rounding-x-large: 16px;--rounding-large: 8px;--rounding-medium: 4px;--rounding-small: 2px;--rounding-x-small: 1px;--rounding-xx-small: 0px;--opacity-xxx-large: 1;--opacity-xx-large: .88;--opacity-x-large: .72;--opacity-large: .48;--opacity-medium: .24;--opacity-small: .16;--opacity-x-small: .08;--opacity-xx-small: 0;--icon-size-xx-large: 64px;--icon-size-x-large: 48px;--icon-size-large: 32px;--icon-size-medium: 24px;--icon-size-small: 16px;--font-measure-large: 34rem;--font-measure-medium: 30rem;--font-measure-small: 20rem;--font-tracking-x-large: .25rem;--font-tracking-large: .1rem;--font-tracking-medium: normal;--font-tracking-small: -.05rem;--font-weight-xx-large: 700;--font-weight-x-large: 600;--font-weight-large: 500;--font-weight-medium: 400;--font-weight-small: 300;--font-size-xxxx-large: 4.5rem;--font-size-xxx-large: 3rem;--font-size-xx-large: 2.25rem;--font-size-x-large: 1.5rem;--font-size-large: 1.25rem;--font-size-medium: 1rem;--font-size-small: .875rem;--font-size-x-small: .75rem;--font-family-serif: Georgia, Times, Times New Roman, serif;--font-family-monospace: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;--font-family-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--elevation-x-large: 0px 20px 20px rgba(0, 0, 0, .2), 0px 16px 16px rgba(0, 0, 0, .16), 0px 2px 2px rgba(0, 0, 0, .2), 0px 4px 4px rgba(0, 0, 0, .16), 0px 8px 8px rgba(0, 0, 0, .12);--elevation-large: 0px 16px 16px rgba(0, 0, 0, .16), 0px 2px 2px rgba(0, 0, 0, .2), 0px 4px 4px rgba(0, 0, 0, .16), 0px 8px 8px rgba(0, 0, 0, .12);--elevation-medium: 0px 2px 2px rgba(0, 0, 0, .2), 0px 4px 4px rgba(0, 0, 0, .18), 0px 8px 8px rgba(0, 0, 0, .16);--elevation-small: 0px 4px 4px rgba(0, 0, 0, .16), 0px 2px 2px rgba(0, 0, 0, .18), 0px 1px 1px rgba(0, 0, 0, .2);--elevation-x-small: 0px 2px 2px rgba(0, 0, 0, .2), 0px 1px 1px rgba(0, 0, 0, .2);--color-transparent-base: rgba(0, 0, 0, 0);--color-white-base: #fcfcfc;--breakpoints-xx-large: only screen and (min-width: 1220px);--breakpoints-x-large: only screen and (min-width: 1025px);--breakpoints-large: only screen and (min-width: 992px);--breakpoints-medium: only screen and (min-width: 768px);--breakpoints-small: only screen and (min-width: 576px);--breakpoints-x-small: only screen and (max-width: 575px);--breakpoints-xx-small: only screen and (max-width: 360px);--brand-colors-black-100: #000000;--brand-colors-black-80: #323232;--brand-colors-black-60: #666666;--brand-colors-black-40: #999999;--brand-colors-black-20: #cccccc;--brand-colors-white-100: #ffffff;--brand-colors-dark-pine-100: #005655;--brand-colors-dark-pine-80: #327676;--brand-colors-dark-pine-60: #669999;--brand-colors-dark-pine-40: #99bbbb;--brand-colors-dark-pine-20: #ccdddd;--brand-colors-sky-blue-100: #abddff;--brand-colors-sky-blue-80: #c3e5ff;--brand-colors-sky-blue-60: #d2ebff;--brand-colors-sky-blue-40: #e1f2ff;--brand-colors-sky-blue-20: #f0f8ff;--brand-colors-sand-100: #ffefd7;--brand-colors-sand-80: #fff2df;--brand-colors-sand-60: #fff5e7;--brand-colors-brand-lime-100: #cdff00;--brand-colors-brand-lime-80: #d7ff32;--brand-colors-brand-lime-60: #e1ff66;--brand-colors-brand-lime-40: #ebff99;--brand-colors-brand-lime-20: #f5ffcc;--brand-colors-electric-purple-100: #7d49f3;--brand-colors-electric-purple-80: #976df5;--brand-colors-electric-purple-60: #b191f7;--brand-colors-electric-purple-40: #cbb6fa;--brand-colors-electric-purple-20: #e5dafc;--font-family-sans-serif: Figtree, var(--font-family-system);--color-dusk-base: var(--tailwind-colors-violet-500);--color-dusk-100: var(--tailwind-colors-violet-900);--color-dusk-90: var(--tailwind-colors-violet-800);--color-dusk-80: var(--tailwind-colors-violet-700);--color-dusk-70: var(--tailwind-colors-violet-600);--color-dusk-60: var(--tailwind-colors-violet-500);--color-dusk-50: var(--tailwind-colors-violet-400);--color-dusk-40: var(--tailwind-colors-violet-300);--color-dusk-30: var(--tailwind-colors-violet-200);--color-dusk-20: var(--tailwind-colors-violet-100);--color-dusk-10: var(--tailwind-colors-violet-50);--color-slate-base: var(--tailwind-colors-slate-500);--color-slate-100: var(--tailwind-colors-slate-900);--color-slate-90: var(--tailwind-colors-slate-800);--color-slate-80: var(--tailwind-colors-slate-700);--color-slate-70: var(--tailwind-colors-slate-600);--color-slate-60: var(--tailwind-colors-slate-500);--color-slate-50: var(--tailwind-colors-slate-400);--color-slate-40: var(--tailwind-colors-slate-300);--color-slate-30: var(--tailwind-colors-slate-200);--color-slate-20: var(--tailwind-colors-slate-100);--color-slate-10: var(--tailwind-colors-slate-50);--color-teal-base: var(--tailwind-colors-teal-500);--color-teal-100: var(--tailwind-colors-teal-900);--color-teal-90: var(--tailwind-colors-teal-800);--color-teal-80: var(--tailwind-colors-teal-700);--color-teal-70: var(--tailwind-colors-teal-600);--color-teal-60: var(--tailwind-colors-teal-500);--color-teal-50: var(--tailwind-colors-teal-400);--color-teal-40: var(--tailwind-colors-teal-300);--color-teal-30: var(--tailwind-colors-teal-200);--color-teal-20: var(--tailwind-colors-teal-100);--color-teal-10: var(--tailwind-colors-teal-50);--color-sky-base: var(--tailwind-colors-sky-500);--color-sky-100: var(--tailwind-colors-sky-900);--color-sky-90: var(--tailwind-colors-sky-800);--color-sky-80: var(--tailwind-colors-sky-700);--color-sky-70: var(--tailwind-colors-sky-600);--color-sky-60: var(--tailwind-colors-sky-500);--color-sky-50: var(--tailwind-colors-sky-400);--color-sky-40: var(--tailwind-colors-sky-300);--color-sky-30: var(--tailwind-colors-sky-200);--color-sky-20: var(--tailwind-colors-sky-100);--color-sky-10: var(--tailwind-colors-sky-50);--color-indigo-base: var(--tailwind-colors-indigo-500);--color-indigo-100: var(--tailwind-colors-indigo-900);--color-indigo-90: var(--tailwind-colors-indigo-800);--color-indigo-80: var(--tailwind-colors-indigo-700);--color-indigo-70: var(--tailwind-colors-indigo-600);--color-indigo-60: var(--tailwind-colors-indigo-500);--color-indigo-50: var(--tailwind-colors-indigo-400);--color-indigo-40: var(--tailwind-colors-indigo-300);--color-indigo-30: var(--tailwind-colors-indigo-200);--color-indigo-20: var(--tailwind-colors-indigo-100);--color-indigo-10: var(--tailwind-colors-indigo-50);--color-magenta-base: var(--tailwind-colors-pink-500);--color-magenta-100: var(--tailwind-colors-pink-900);--color-magenta-90: var(--tailwind-colors-pink-800);--color-magenta-80: var(--tailwind-colors-pink-700);--color-magenta-70: var(--tailwind-colors-pink-600);--color-magenta-60: var(--tailwind-colors-pink-500);--color-magenta-50: var(--tailwind-colors-pink-400);--color-magenta-40: var(--tailwind-colors-pink-300);--color-magenta-30: var(--tailwind-colors-pink-200);--color-magenta-20: var(--tailwind-colors-pink-100);--color-magenta-10: var(--tailwind-colors-pink-50);--color-purple-base: var(--tailwind-colors-purple-500);--color-purple-100: var(--tailwind-colors-purple-900);--color-purple-90: var(--tailwind-colors-purple-800);--color-purple-80: var(--tailwind-colors-purple-700);--color-purple-70: var(--tailwind-colors-purple-600);--color-purple-60: var(--tailwind-colors-purple-500);--color-purple-50: var(--tailwind-colors-purple-400);--color-purple-40: var(--tailwind-colors-purple-300);--color-purple-30: var(--tailwind-colors-purple-200);--color-purple-20: var(--tailwind-colors-purple-100);--color-purple-10: var(--tailwind-colors-purple-50);--color-bronze-base: var(--tailwind-colors-amber-500);--color-bronze-100: var(--tailwind-colors-amber-900);--color-bronze-90: var(--tailwind-colors-amber-800);--color-bronze-80: var(--tailwind-colors-amber-700);--color-bronze-70: var(--tailwind-colors-amber-600);--color-bronze-60: var(--tailwind-colors-amber-500);--color-bronze-50: var(--tailwind-colors-amber-400);--color-bronze-40: var(--tailwind-colors-amber-300);--color-bronze-30: var(--tailwind-colors-amber-200);--color-bronze-20: var(--tailwind-colors-amber-100);--color-bronze-10: var(--tailwind-colors-amber-50);--color-blue-base: var(--tailwind-colors-blue-500);--color-blue-100: var(--tailwind-colors-blue-900);--color-blue-90: var(--tailwind-colors-blue-800);--color-blue-80: var(--tailwind-colors-blue-700);--color-blue-70: var(--tailwind-colors-blue-600);--color-blue-60: var(--tailwind-colors-blue-500);--color-blue-50: var(--tailwind-colors-blue-400);--color-blue-40: var(--tailwind-colors-blue-300);--color-blue-30: var(--tailwind-colors-blue-200);--color-blue-20: var(--tailwind-colors-blue-100);--color-blue-10: var(--tailwind-colors-blue-50);--color-green-base: var(--tailwind-colors-green-500);--color-green-100: var(--tailwind-colors-green-900);--color-green-90: var(--tailwind-colors-green-800);--color-green-80: var(--tailwind-colors-green-700);--color-green-70: var(--tailwind-colors-green-600);--color-green-60: var(--tailwind-colors-green-500);--color-green-50: var(--tailwind-colors-green-400);--color-green-40: var(--tailwind-colors-green-300);--color-green-30: var(--tailwind-colors-green-200);--color-green-20: var(--tailwind-colors-green-100);--color-green-10: var(--tailwind-colors-green-50);--color-red-base: var(--tailwind-colors-red-500);--color-red-100: var(--tailwind-colors-red-900);--color-red-90: var(--tailwind-colors-red-800);--color-red-80: var(--tailwind-colors-red-700);--color-red-70: var(--tailwind-colors-red-600);--color-red-60: var(--tailwind-colors-red-500);--color-red-50: var(--tailwind-colors-red-400);--color-red-40: var(--tailwind-colors-red-300);--color-red-30: var(--tailwind-colors-red-200);--color-red-20: var(--tailwind-colors-red-100);--color-red-10: var(--tailwind-colors-red-50);--color-gray-base: var(--tailwind-colors-gray-500);--color-gray-100: var(--tailwind-colors-gray-900);--color-gray-90: var(--tailwind-colors-gray-800);--color-gray-80: var(--tailwind-colors-gray-700);--color-gray-70: var(--tailwind-colors-gray-600);--color-gray-60: var(--tailwind-colors-gray-500);--color-gray-50: var(--tailwind-colors-gray-400);--color-gray-40: var(--tailwind-colors-gray-300);--color-gray-30: var(--tailwind-colors-gray-200);--color-gray-20: var(--tailwind-colors-gray-100);--color-gray-10: var(--tailwind-colors-gray-50);--color-hotorchid-base: var(--tailwind-colors-pink-500);--color-white-white: var(--tailwind-colors-white);--color-black-black: var(--tailwind-colors-black);--color-black-base: var(--tailwind-colors-stone-900)}.mapsindoors-map{position:relative;width:100%;height:100%;overflow-y:hidden}.mapsindoors-map *{box-sizing:border-box;font-family:var(--font-family-system)}.mapsindoors-map--show-elements mi-floor-selector{visibility:visible}.mapsindoors-map--show-elements .venue-selector__button{display:block}.mapsindoors-map--hide-elements mi-floor-selector{visibility:hidden}.mapsindoors-map--hide-elements .venue-selector__button{display:none}.mapsindoors-map--show-my-position mi-my-position{display:block}.mapsindoors-map--hide-my-position mi-my-position{display:none}.mapsindoors-map .mi-floor-selector__list{box-sizing:unset}.map-container{width:100%;height:100%;position:relative}.map-container #mi_map_logo{z-index:var(--z-index-dropdown)!important}.prevent-scroll{-webkit-overflow-scrolling:touch;overscroll-behavior:none}.gm-style .gmnoprint{right:44px!important}.gm-style .gmnoprint div{border-radius:var(--rounding-large)!important}.mapboxgl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0/0)}.mapboxgl-canvas{left:0;position:absolute;top:0}.mapboxgl-map:-webkit-full-screen{height:100%;width:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass{cursor:grab;-webkit-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer{cursor:pointer}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass:active{cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.mapboxgl-ctrl-top-left{left:0;top:0}.mapboxgl-ctrl-top-right{right:0;top:0}.mapboxgl-ctrl-bottom-left{bottom:0;left:0}.mapboxgl-ctrl-bottom-right{bottom:0;right:0}.mapboxgl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{float:left;margin:10px 0 0 10px}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{float:right;margin:10px 10px 0 0}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl{float:left;margin:0 0 10px 10px}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl{float:right;margin:0 10px 10px 0}.mapboxgl-ctrl-group{background:#fff;border-radius:4px}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px #0000001a}@media (-ms-high-contrast:active){.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.mapboxgl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;overflow:hidden;padding:0;width:29px}.mapboxgl-ctrl-group button+button{border-top:1px solid #ddd}.mapboxgl-ctrl button .mapboxgl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (-ms-high-contrast:active){.mapboxgl-ctrl-icon{background-color:transparent}.mapboxgl-ctrl-group button+button{border-top:1px solid ButtonText}}.mapboxgl-ctrl-attrib-button:focus,.mapboxgl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl button:disabled{cursor:not-allowed}.mapboxgl-ctrl button:disabled .mapboxgl-ctrl-icon{opacity:.25}.mapboxgl-ctrl-group button:first-child{border-radius:4px 4px 0 0}.mapboxgl-ctrl-group button:last-child{border-radius:0 0 4px 4px}.mapboxgl-ctrl-group button:only-child{border-radius:inherit}.mapboxgl-ctrl button:not(:disabled):hover{background-color:#0000000d}.mapboxgl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23999'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting .mapboxgl-ctrl-icon{animation:mapboxgl-spin 2s linear infinite}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23999'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23000'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}}@keyframes mapboxgl-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='0.3' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='0.9' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:23px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23fff' stroke-width='3' fill='%23fff'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23000'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E")}}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{background-color:#ffffff80;margin:0;padding:0 5px}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.mapboxgl-ctrl-attrib.mapboxgl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib-button{background-color:#ffffff80;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-top-left .mapboxgl-ctrl-attrib-button{left:0}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-button{background-color:#0000000d}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{right:0;top:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{left:0;top:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' fill='%23fff'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.mapboxgl-ctrl-attrib a{color:#000000bf;text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-left:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:#ffffffbf;border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px;white-space:nowrap}.mapboxgl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-anchor-left{flex-direction:row}.mapboxgl-popup-anchor-right{flex-direction:row-reverse}.mapboxgl-popup-tip{border:10px solid transparent;height:0;width:0;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}.mapboxgl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.mapboxgl-popup-close-button:hover{background-color:#0000000d}.mapboxgl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px #0000001a;padding:10px 10px 15px;pointer-events:auto;position:relative}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-track-pointer{display:none}.mapboxgl-popup-track-pointer *{pointer-events:none;user-select:none}.mapboxgl-map:hover .mapboxgl-popup-track-pointer{display:flex}.mapboxgl-map:active .mapboxgl-popup-track-pointer{display:none}.mapboxgl-marker{left:0;opacity:1;position:absolute;top:0;transition:opacity .2s;will-change:transform}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.mapboxgl-user-location-dot:before{animation:mapboxgl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.mapboxgl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px #00000059;box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading{height:0;width:0}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after,.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-bottom:7.5px solid #4aa1eb;content:"";position:absolute}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-left:7.5px solid transparent;transform:translateY(-28px) skewY(-20deg)}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after{border-right:7.5px solid transparent;transform:translate(7.5px,-28px) skewY(20deg)}@keyframes mapboxgl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}@media print{.mapbox-improve-map{display:none}}.mapboxgl-scroll-zoom-blocker,.mapboxgl-touch-pan-blocker{align-items:center;background:rgba(0,0,0,.7);color:#fff;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;height:100%;justify-content:center;left:0;opacity:0;pointer-events:none;position:absolute;text-align:center;top:0;transition:opacity .75s ease-in-out;transition-delay:1s;width:100%}.mapboxgl-scroll-zoom-blocker-show,.mapboxgl-touch-pan-blocker-show{opacity:1;transition:opacity .1s ease-in-out}.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page,.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-control-container .mapboxgl-ctrl-group{margin:10px var(--spacing-small) 10px 0!important;border-radius:var(--rounding-large);box-shadow:0 0 0 var(--spacing-xxx-small) #e5e7eb!important}.mapboxgl-control-container .mapboxgl-ctrl-group button{padding:var(--spacing-large)}.mapboxgl-control-container .mapboxgl-ctrl-zoom-in{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTAuODMzMzQ0IDEwQzAuODMzMzQ0IDEwLjMzMTUgMC45NjUwNCAxMC42NDk1IDEuMTk5NDYgMTAuODgzOUMxLjQzMzg4IDExLjExODMgMS43NTE4MiAxMS4yNSAyLjA4MzM0IDExLjI1SDguNTQxNjhDOC41OTY5MyAxMS4yNSA4LjY0OTkyIDExLjI3MTkgOC42ODg5OSAxMS4zMTFDOC43MjgwNiAxMS4zNTAxIDguNzUwMDEgMTEuNDAzMSA4Ljc1MDAxIDExLjQ1ODNWMTcuOTE2N0M4Ljc1MDAxIDE4LjI0ODIgOC44ODE3MSAxOC41NjYxIDkuMTE2MTMgMTguODAwNUM5LjM1MDU1IDE5LjAzNSA5LjY2ODQ5IDE5LjE2NjcgMTAgMTkuMTY2N0MxMC4zMzE1IDE5LjE2NjcgMTAuNjQ5NSAxOS4wMzUgMTAuODgzOSAxOC44MDA1QzExLjExODMgMTguNTY2MSAxMS4yNSAxOC4yNDgyIDExLjI1IDE3LjkxNjdWMTEuNDU4M0MxMS4yNSAxMS40MDMxIDExLjI3MiAxMS4zNTAxIDExLjMxMSAxMS4zMTFDMTEuMzUwMSAxMS4yNzE5IDExLjQwMzEgMTEuMjUgMTEuNDU4MyAxMS4yNUgxNy45MTY3QzE4LjI0ODIgMTEuMjUgMTguNTY2MSAxMS4xMTgzIDE4LjgwMDYgMTAuODgzOUMxOS4wMzUgMTAuNjQ5NSAxOS4xNjY3IDEwLjMzMTUgMTkuMTY2NyAxMEMxOS4xNjY3IDkuNjY4NDggMTkuMDM1IDkuMzUwNTQgMTguODAwNiA5LjExNjEyQzE4LjU2NjEgOC44ODE2OSAxOC4yNDgyIDguNzUgMTcuOTE2NyA4Ljc1SDExLjQ1ODNDMTEuNDAzMSA4Ljc1IDExLjM1MDEgOC43MjgwNSAxMS4zMTEgOC42ODg5OEMxMS4yNzIgOC42NDk5MSAxMS4yNSA4LjU5NjkyIDExLjI1IDguNTQxNjdWMi4wODMzM0MxMS4yNSAxLjc1MTgxIDExLjExODMgMS40MzM4NyAxMC44ODM5IDEuMTk5NDVDMTAuNjQ5NSAwLjk2NTAyOSAxMC4zMzE1IDAuODMzMzMzIDEwIDAuODMzMzMzQzkuNjY4NDkgMC44MzMzMzMgOS4zNTA1NSAwLjk2NTAyOSA5LjExNjEzIDEuMTk5NDVDOC44ODE3MSAxLjQzMzg3IDguNzUwMDEgMS43NTE4MSA4Ljc1MDAxIDIuMDgzMzNWOC41NDE2N0M4Ljc1MDAxIDguNTk2OTIgOC43MjgwNiA4LjY0OTkxIDguNjg4OTkgOC42ODg5OEM4LjY0OTkyIDguNzI4MDUgOC41OTY5MyA4Ljc1IDguNTQxNjggOC43NUgyLjA4MzM0QzEuNzUxODIgOC43NSAxLjQzMzg4IDguODgxNjkgMS4xOTk0NiA5LjExNjEyQzAuOTY1MDQgOS4zNTA1NCAwLjgzMzM0NCA5LjY2ODQ4IDAuODMzMzQ0IDEwWiIgZmlsbD0iIzc4NzE2QyIvPgo8L3N2Zz4K);background-repeat:no-repeat;background-size:20px 20px;background-position:center center}.mapboxgl-control-container .mapboxgl-ctrl-zoom-out{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIuMDgzMzMgMTEuNjY2N0gxNy45MTY3QzE4LjI0ODIgMTEuNjY2NyAxOC41NjYxIDExLjUzNSAxOC44MDA1IDExLjMwMDZDMTkuMDM1IDExLjA2NjEgMTkuMTY2NyAxMC43NDgyIDE5LjE2NjcgMTAuNDE2N0MxOS4xNjY3IDEwLjA4NTEgMTkuMDM1IDkuNzY3MiAxOC44MDA1IDkuNTMyNzhDMTguNTY2MSA5LjI5ODM2IDE4LjI0ODIgOS4xNjY2NyAxNy45MTY3IDkuMTY2NjdIMi4wODMzM0MxLjc1MTgxIDkuMTY2NjcgMS40MzM4NyA5LjI5ODM2IDEuMTk5NDUgOS41MzI3OEMwLjk2NTAyOSA5Ljc2NzIgMC44MzMzMzMgMTAuMDg1MSAwLjgzMzMzMyAxMC40MTY3QzAuODMzMzMzIDEwLjc0ODIgMC45NjUwMjkgMTEuMDY2MSAxLjE5OTQ1IDExLjMwMDZDMS40MzM4NyAxMS41MzUgMS43NTE4MSAxMS42NjY3IDIuMDgzMzMgMTEuNjY2N1oiIGZpbGw9IiM3ODcxNkMiLz4KPC9zdmc+Cg==);background-repeat:no-repeat;background-size:20px 20px;background-position:center center}.mapboxgl-control-container .mapboxgl-ctrl-icon{background-image:none}.splash-screen{will-change:transform,rotate;display:grid;width:100%;height:100%;position:absolute;z-index:var(--z-index-top);background-color:var(--brand-colors-white-100)}.splash-screen__logo{width:100%;max-height:100%}.splash-screen__loader{width:var(--spacing-xxx-large);height:var(--spacing-xxx-large);border-radius:50%;position:relative;animation:loader 1s infinite linear}.splash-screen__container{display:grid;justify-self:center;grid-auto-flow:row;grid-auto-rows:300px min-content;align-content:center;grid-template-columns:300px;justify-items:center;align-items:center;gap:var(--spacing-xxx-large);animation:slideIn 1s}@keyframes loader{0%{rotate:0deg}to{rotate:360deg}}@keyframes slideIn{0%{transform:translateY(100%)}to{transform:translateY(0)}}.venue-selector__content{position:absolute;background-color:#fff;z-index:var(--z-index-popup);overflow-y:hidden;display:grid;grid-template-rows:var(--spacing-xxxx-large) 1fr}.venue-selector__content h1{color:var(--color-gray-90);font-size:var(--font-size-small);margin:0;height:calc(var(--spacing-xx-large) + 2 * var(--spacing-small));display:flex;align-items:center;justify-content:center}.venue-selector__content-enter{top:var(--spacing-small);bottom:calc(100% - var(--spacing-xxxx-large));left:var(--spacing-x-small);width:var(--spacing-xx-large);transition:all .4s ease;opacity:0}.venue-selector__content-enter-active,.venue-selector__content-enter-done{top:0;bottom:0;left:0;width:100%;opacity:1}.venue-selector__content-exit{top:var(--spacing-xxxx-large);bottom:0;left:0;width:100%;transition:all .4s ease;opacity:1}.venue-selector__content-exit-active{top:var(--spacing-small);bottom:calc(100% - var(--spacing-xxxx-large));left:var(--spacing-x-small);width:var(--spacing-xx-large);opacity:0}.venue-selector__list{overflow-y:auto}.venue-selector__button{background-color:var(--tailwind-colors-white);border-radius:var(--rounding-large);border:1px solid #E6E6E6;position:absolute;width:var(--spacing-xx-large);height:var(--spacing-xx-large);top:var(--spacing-small);left:var(--spacing-x-small);z-index:var(--z-index-sticky)}.venue-selector__button--open{z-index:calc(var(--z-index-popup) + 1)}.venue-selector__button svg{display:block;margin:0 auto}.venue-selector__button:hover{background-color:var(--tailwind-colors-gray-100);border:1px solid var(--tailwind-colors-gray-200)}@media (min-width: 992px){.venue-selector__content{width:568px;left:var(--spacing-large);bottom:var(--spacing-large);top:var(--spacing-large);border-radius:var(--rounding-large)}.venue-selector__button{top:var(--spacing-x-large);left:var(--spacing-x-large)}}.venue{all:unset;width:calc(100% - var(--spacing-medium));margin:0 var(--spacing-x-small) var(--spacing-x-small) var(--spacing-x-small);border-radius:var(--rounding-x-large);color:var(--color-white-base);position:relative;background:linear-gradient(#b8b8b8,#5e5e5e)}.venue__image{position:relative;width:100%;aspect-ratio:16/9;background-repeat:no-repeat;background-size:cover;background-position:50% 50%;border-radius:var(--rounding-x-large)}.venue__image:hover{border:2px solid var(--brand-colors-dark-pine-100)}.venue__content{position:absolute;bottom:0;top:50%;padding:var(--spacing-medium);border-radius:var(--rounding-x-large);font-size:var(--font-size-small);background:linear-gradient(rgba(0,0,0,0),rgba(0,0,0,.6));width:100%;display:flex;align-items:flex-end;justify-content:space-between;gap:var(--spacing-medium)}.venue__current{border:1px solid white;border-radius:var(--rounding-large);padding:var(--spacing-x-small)}@media (min-width: 992px){.venue{margin:0 72px var(--spacing-medium) 72px;width:calc(100% - 144px)}}.sheet{pointer-events:none;opacity:0;transition:all .25s;position:absolute;bottom:0;width:100%;max-height:100%;transform:translateY(100%);background-color:var(--color-white-white);border-top-left-radius:var(--rounding-large);border-top-right-radius:var(--rounding-large)}.sheet:before{position:absolute;content:" ";top:var(--spacing-xx-small);left:50%;transform:translate(-50%);width:28px;height:var(--spacing-xx-small);border-radius:var(--spacing-xx-small);background-color:var(--color-gray-20)}.sheet--active{pointer-events:all;opacity:1;transform:translateY(0)}.sheet--dragging{transition:none}.sheet--dragging *{user-select:none}.sheet__content{height:100%;overflow-y:auto}.bottom-sheets{pointer-events:none;position:absolute;inset:0;z-index:var(--z-index-overlay);overflow:hidden}.location-details{padding:var(--spacing-medium);color:var(--color-black-base);display:grid;height:100%;overflow-y:hidden;grid-template-rows:min-content 1fr 64px}.location-details--content-below{position:relative}.location-details--content-below:before{content:"";position:absolute;bottom:calc(64px + var(--spacing-medium));left:0;right:0;height:var(--spacing-xx-large);background:linear-gradient(rgba(255,255,255,0),white)}.location-details--content-above{position:relative}.location-details--content-above:after{content:"";position:absolute;top:56px;left:0;right:0;height:var(--spacing-xx-large);background:linear-gradient(white,rgba(255,255,255,0))}.location-details__details{display:flex;flex-direction:column;gap:var(--spacing-medium);overflow-y:auto}.location-details__details>*:first-child{margin-top:var(--spacing-medium)}.location-details__image{width:100%;border-radius:var(--rounding-large);object-fit:contain;margin:var(--spacing-medium) 0}.location-details__categories{font-size:var(--font-size-small);margin:0}.location-details__description{white-space:pre-wrap;overflow-wrap:break-word}.location-details__description div{font-size:var(--font-size-small);color:var(--color-gray-70);line-height:1.5;overflow-y:hidden;max-height:var(--spacing-xxxx-large)}.location-details__description button{all:unset;font-size:var(--font-size-small);color:var(--color-blue-base);margin-top:var(--spacing-x-small);cursor:pointer}.location-details__description--full div{max-height:none}.location-details__wayfinding{margin-top:var(--spacing-medium);color:var(--color-white-white);border-radius:var(--rounding-large);border:none;font-size:var(--font-size-small);width:100%;height:var(--spacing-xxx-large);position:relative;font-weight:var(--font-weight-x-large)}.location-details__wayfinding:hover{filter:brightness(90%)}.location-details--no-route{opacity:.5;cursor:not-allowed}.location-info{display:grid;align-items:center;font-size:var(--font-size-small);grid-template-columns:min-content 1fr var(--spacing-xx-large);gap:var(--spacing-x-small)}.location-info__icon{margin-right:var(--spacing-medium)}.location-info__icon img{height:var(--spacing-x-large);display:block}.location-info__close{background:none;border:1px solid var(--tailwind-colors-gray-200);margin-left:auto;width:var(--spacing-xx-large);height:var(--spacing-xx-large);border-radius:var(--rounding-large);display:grid;justify-content:center;align-items:center;align-self:start}.location-info__close:hover{background-color:var(--tailwind-colors-gray-50);cursor:pointer}.location-info__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.location-info__content{display:grid;gap:var(--spacing-xx-small)}.wayfinding{color:var(--brand-colors-black-100);display:grid;grid-template-rows:238px min-content;min-height:435px}.wayfinding__directions{background-color:var(--color-gray-20);border-bottom:1px solid var(--color-gray-30);padding:var(--spacing-medium);position:relative;border-radius:var(--rounding-large) var(--rounding-large) 0 0}.wayfinding__title{font-size:var(--font-size-small);text-align:center;font-weight:var(--font-weight-large);color:var(--color-gray-70);padding-bottom:var(--spacing-medium)}.wayfinding__close{position:absolute;top:var(--spacing-x-small);right:var(--spacing-x-small);background-color:var(--tailwind-colors-gray-100);border:1px solid var(--tailwind-colors-gray-200);margin-left:auto;width:var(--spacing-xx-large);height:var(--spacing-xx-large);border-radius:var(--rounding-large);display:grid;justify-content:center;align-items:center}.wayfinding__close:hover{background-color:var(--tailwind-colors-gray-200)}.wayfinding__locations{display:grid;gap:var(--spacing-medium);position:relative}.wayfinding__label{display:grid;gap:var(--spacing-x-small);font-size:var(--font-size-small);color:var(--color-gray-70);font-weight:var(--font-weight-large)}.wayfinding__use-current-position{padding:var(--spacing-medium);font-size:var(--font-size-medium);font-weight:var(--font-weight-large);line-height:1rem;transition:all .3s ease 0s;border-radius:var(--rounding-large);background-color:#f9fafb;display:grid;grid-template-columns:var(--spacing-x-large) 1fr;align-items:center;cursor:pointer;gap:var(--spacing-medium);border:1px solid rgb(229,231,235);margin:var(--spacing-x-small) var(--spacing-x-small) 0 var(--spacing-x-small);height:fit-content;justify-items:start}.wayfinding__use-current-position svg{justify-self:center}.wayfinding__details{padding:var(--spacing-large) var(--spacing-medium) var(--spacing-medium) var(--spacing-medium)}.wayfinding__results{display:grid;gap:var(--spacing-x-small);padding:var(--spacing-x-small);grid-auto-rows:min-content}.wayfinding__results p{text-align:center}.wayfinding__info{display:grid;gap:var(--spacing-x-small)}.wayfinding__distance,.wayfinding__time{display:grid;grid-auto-flow:column;grid-template-columns:20px 1fr 1fr;gap:var(--spacing-x-small);align-items:center;color:var(--color-gray-70);width:fit-content}.wayfinding__distance svg{width:20px;height:20px}.wayfinding__time svg{width:var(--spacing-medium);height:var(--spacing-medium)}.wayfinding__minutes,.wayfinding__meters{font-weight:var(--font-weight-large)}.wayfinding hr{margin:var(--spacing-large) 0 var(--spacing-x-small) 0;background-color:var(--color-gray-30);border:none;height:1px}.wayfinding__button{color:var(--color-white-white);border-radius:var(--rounding-large);border:none;font-size:var(--font-size-small);width:100%;height:var(--spacing-xxx-large);position:relative;margin-top:var(--spacing-medium);font-weight:var(--font-weight-x-large)}.wayfinding__button:hover{filter:brightness(90%)}.wayfinding__scrollable{overflow:auto}.wayfinding__error{text-align:center}.wayfinding__switch{border:none;background:transparent;position:absolute;right:0;top:80px}.wayfinding__switch:hover{opacity:.8}.wayfinding__google{justify-self:center;width:110px}.wayfinding__settings{display:grid;grid-auto-flow:column;justify-content:space-between;width:100%;align-items:center}.wayfinding mi-dropdown::part(dropdown-container){overflow-y:auto;left:unset;right:var(--spacing-medium);top:unset;bottom:unset;min-width:160px;margin-top:0;margin-bottom:0}.wayfinding mi-dropdown::part(button){border-radius:var(--spacing-x-small);padding:0 var(--spacing-small);height:36px;background:var(--color-gray-10);border:1px solid var(--color-gray-30)}.non-selectable{pointer-events:none;opacity:.5}.tooltip{display:grid;position:relative}.tooltip:hover .tooltip__text{display:block}.tooltip__text{min-width:200px;top:-20px;left:50%;transform:translate(-50%,-100%);padding:0 var(--spacing-medium);color:var(--color-gray-70);background-color:var(--brand-colors-white-100);font-size:var(--font-size-small);border-radius:var(--rounding-large);position:absolute;z-index:10000;box-shadow:0 1px var(--spacing-x-small) #0003;display:none}.tooltip__text i{position:absolute;top:100%;left:50%;margin-left:-12px;width:var(--spacing-large);height:var(--spacing-small);overflow:hidden}.tooltip__text i:after{content:"";position:absolute;width:var(--spacing-small);height:var(--spacing-small);left:50%;transform:translate(-50%,-50%) rotate(45deg);background-color:var(--brand-colors-white-100);box-shadow:0 1px var(--spacing-x-small) #0003}.accessibility{display:grid;grid-auto-flow:column;gap:var(--spacing-x-small);align-items:center;width:fit-content}.directions{color:var(--brand-colors-black-100);height:100%;grid-template-rows:1fr}.directions__details{padding:var(--spacing-medium) 0}.directions__cancel,.directions__finish{background-color:var(--tailwind-colors-gray-100);border:none;border-radius:var(--rounding-large);width:100%;height:fit-content;padding:var(--spacing-medium);text-transform:uppercase;font-weight:var(--font-weight-x-large);color:var(--color-gray-70)}.directions__cancel:hover,.directions__finish:hover{background-color:var(--tailwind-colors-gray-200)}.directions__finish{color:var(--color-white-white)}.directions__minutes{font-weight:var(--font-weight-large);color:var(--color-gray-60);position:sticky;top:0;background:var(--color-white-white);z-index:10000;padding-bottom:var(--spacing-medium);padding-top:var(--spacing-medium)}.directions__info{display:flex;align-items:center;font-size:var(--font-size-small)}.directions__icon{margin-right:var(--spacing-medium)}.directions__icon img{height:var(--spacing-x-large);display:block}.directions__name{display:grid;grid-auto-flow:column;gap:var(--spacing-xx-small);font-size:var(--font-size-small)}.directions mi-location-info{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.directions__content{display:grid;gap:var(--spacing-xx-small)}.directions__qr-code{width:fit-content;display:grid;gap:var(--spacing-medium);grid-auto-flow:column;align-items:center;padding:var(--spacing-medium);background-color:var(--tailwind-colors-gray-100);border:none;border-radius:var(--rounding-large);font-weight:var(--font-weight-x-large);color:var(--color-gray-90)}.directions__qr-code:hover{background-color:var(--tailwind-colors-gray-200)}.directions__kiosk{display:grid;grid-auto-flow:column;align-items:center;justify-content:space-between;padding:var(--spacing-x-small) var(--spacing-medium) var(--spacing-medium) var(--spacing-medium)}.directions hr{width:100%;background-color:var(--color-gray-30);height:1px;border:none}.directions__steps{padding:0 var(--spacing-medium)}.directions__actions{padding:0 var(--spacing-medium) var(--spacing-medium) var(--spacing-medium);position:sticky;bottom:0;background:var(--color-white-white);border-top:1px solid var(--color-gray-30)}@media (max-width: 992px){.directions{min-height:273px}}.route-instructions{height:100%;display:grid;grid-template-rows:1fr min-content}.route-instructions__footer{position:sticky;bottom:134px;background:white;padding-bottom:var(--spacing-medium)}.route-instructions__footer:before{content:"";position:absolute;pointer-events:none;bottom:var(--spacing-xx-large);left:0;right:0;height:var(--spacing-xx-large);background:linear-gradient(rgba(255,255,255,0),white)}.route-instructions__footer--kiosk:before{background:transparent}.route-instructions__actions{display:grid;grid-auto-flow:column;justify-content:space-between;align-items:center}.route-instructions__overview{color:var(--color-gray-90);font-weight:var(--font-weight-large)}.route-instructions__button{display:grid;justify-content:center;background:none;border:none;width:var(--icon-size-medium);height:var(--icon-size-medium);align-content:center}.route-instructions__button--kiosk{border-radius:var(--rounding-large);border:1px solid var(--color-gray-30);padding:18px}.route-instructions button:disabled,.route-instructions button[disabled]{cursor:not-allowed;opacity:.3}.route-instructions mi-route-instructions-step{height:100%}.search{padding:var(--spacing-medium)}.search__error{text-align:center}.search__results{display:grid;gap:var(--spacing-x-small);overflow:auto;flex:1 1 auto;margin-top:var(--spacing-x-small)}.search__results>*{height:fit-content}.search__scroll-buttons{position:fixed;left:calc(50% + 304px);bottom:var(--spacing-x-large)}.search__info{display:grid;grid-auto-flow:column;gap:var(--spacing-x-small)}.search__legend{width:var(--spacing-xxx-large);height:var(--spacing-xxx-large);border:1px solid var(--color-gray-30);border-radius:var(--rounding-large);background-color:#fff}@media (max-width: 992px){.search{padding:var(--spacing-medium) var(--spacing-x-small) var(--spacing-medium) var(--spacing-x-small)}}.categories{overflow:auto hidden;flex-shrink:0;display:grid;grid-auto-flow:column;gap:var(--spacing-x-small);margin-top:var(--spacing-x-small)}.categories ::-webkit-scrollbar{width:0;height:0;background:transparent}.categories__list{display:grid;grid-auto-flow:column;gap:var(--spacing-x-small);overflow:auto hidden;grid-auto-columns:min-content;scrollbar-width:none}.categories__scroll-button{width:var(--spacing-xxx-large);height:var(--spacing-xxx-large);background-color:var(--brand-colors-white-100);border:1px solid var(--color-gray-30);border-radius:var(--spacing-x-small)}.categories__scroll-button:disabled{cursor:not-allowed;opacity:.3}.locations-list{display:grid;grid-template-rows:50px 1fr;height:100%}.locations-list__header{padding:var(--spacing-medium)}.locations-list__title{font-size:var(--font-size-medium);text-align:center;font-weight:var(--font-weight-large);color:var(--color-gray-90)}.locations-list__close{position:absolute;top:var(--spacing-x-small);right:var(--spacing-x-small);background:none;border:none}.locations-list__list{display:grid;gap:var(--spacing-x-small);overflow:auto;grid-auto-rows:min-content;padding:var(--spacing-x-small)}.locations-list__scrollable{overflow:auto}@media (max-width: 992px){.locations-list{min-height:200px}}.modal{position:absolute;z-index:var(--z-index-overlay);width:568px;left:var(--spacing-x-large);bottom:var(--spacing-x-large);border-radius:var(--spacing-x-small);border:1px solid var(--color-gray-30);background:var(--color-white-white);transform:translateY(calc(100% + var(--spacing-large)));overflow:auto;display:none;max-height:80%}.modal--open{transform:translateY(0);display:block}.modal--full:not(.modal--kiosk){height:100%}.modal--full:not(.modal--kiosk) .modal__content{height:100%}.modal--substeps,.modal--substeps .modal__content{height:100%}.modal--kiosk{left:0;right:0;margin-left:auto;margin-right:auto;max-height:none}.notification{z-index:10000000;min-width:320px}.background{z-index:var(--z-index-spinner);background-color:var(--color-black-black);opacity:.5;position:fixed;width:100%;height:100%;top:0px;left:0px;overflow:hidden}.qr-code{position:absolute;background:white;top:50%;left:50%;transform:translate(-50%,-50%);z-index:100;border-radius:var(--rounding-large);padding:var(--spacing-medium);z-index:var(--z-index-modal);display:grid}.qr-code__button{color:var(--color-white-white);border-radius:var(--rounding-large);border:none;font-size:var(--font-size-small);width:100%;height:var(--spacing-xxx-large);position:relative;margin-top:var(--spacing-medium);font-weight:var(--font-weight-x-large);text-transform:uppercase}.qr-code__button:hover{filter:brightness(90%)}.qr-code__image{justify-self:center;padding-top:var(--spacing-medium)}.qr-code p{font-weight:var(--font-weight-large)}.legend{position:absolute;background:white;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:var(--rounding-large);padding:var(--spacing-medium);z-index:var(--z-index-modal);display:grid;width:500px}.legend__background{z-index:var(--z-index-spinner);background-color:var(--color-black-black);opacity:.5;position:fixed;width:100%;height:100%;top:0px;left:0px;overflow:hidden}.legend__button{color:var(--color-white-white);border-radius:var(--rounding-large);border:none;font-size:var(--font-size-small);width:100%;height:var(--spacing-xxx-large);position:relative;margin-top:var(--spacing-medium);font-weight:var(--font-weight-x-large);text-transform:uppercase}.legend__button:hover{filter:brightness(90%)}.legend__heading{font-size:var(--spacing-x-large);font-weight:var(--font-weight-xx-large);color:var(--color-gray-90);padding-top:var(--spacing-medium)}.legend__section{display:grid;gap:var(--spacing-medium);word-break:break-all}.legend__sections--scrollable:before{content:"";position:absolute;bottom:calc(56px + var(--spacing-small));left:0;right:0;height:var(--spacing-xx-large);background:linear-gradient(rgba(255,255,255,0),white)}.legend__sections--scrollable:after{content:"";position:absolute;top:0;left:0;right:0;height:var(--spacing-xx-large);background:linear-gradient(white,rgba(255,255,255,0))}.legend__content{padding-bottom:var(--spacing-medium)}.legend .scroll-buttons{position:fixed;left:520px;bottom:0}`)),document.head.appendChild(o)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
|
-
(function(){try{var Ze=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vo=new Error().stack;Vo&&(Ze._sentryDebugIds=Ze._sentryDebugIds||{},Ze._sentryDebugIds[Vo]="
|
|
2
|
+
(function(){try{var Ze=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vo=new Error().stack;Vo&&(Ze._sentryDebugIds=Ze._sentryDebugIds||{},Ze._sentryDebugIds[Vo]="18ad47de-04f6-4191-9fa2-fce12df10ca9",Ze._sentryDebugIdIdentifier="sentry-dbid-18ad47de-04f6-4191-9fa2-fce12df10ca9")}catch{}})();(function(Ze,Vo){typeof exports=="object"&&typeof module<"u"?module.exports=Vo(require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["react","react-dom"],Vo):(Ze=typeof globalThis<"u"?globalThis:Ze||self,Ze.MapTemplateReact=Vo(Ze.React,Ze.ReactDOM))})(this,function(Ze,Vo){"use strict";function e4(t){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const l=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(i,o,l.get?l:{enumerable:!0,get:()=>t[o]})}}return i.default=t,Object.freeze(i)}const kn=e4(Ze);var s8=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};s8.SENTRY_RELEASE={id:"c75bc9ed00c4491767d8ca0aa604b2ed6d7e8e86"};var a8=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Tv(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ev={exports:{}},Zd={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.min.js
|
|
5
5
|
*
|
|
@@ -84,7 +84,7 @@ Recoil Snapshots only last for the duration of the callback they are provided to
|
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
This is currently a DEV-only warning but will become a thrown exception in the next release of Recoil.
|
|
87
|
-
`;class g0{constructor(i,o){Li(this,"_store",void 0),Li(this,"_refCount",1),Li(this,"getLoadable",l=>(this.checkRefCount_INTERNAL(),g$(this._store,l))),Li(this,"getPromise",l=>(this.checkRefCount_INTERNAL(),this.getLoadable(l).toPromise())),Li(this,"getNodes_UNSTABLE",l=>{if(this.checkRefCount_INTERNAL(),(l==null?void 0:l.isModified)===!0){if((l==null?void 0:l.isInitialized)===!1)return[];const _=this._store.getState().currentTree;return IE(_.dirtyAtoms)}const h=this._store.getState().knownAtoms,y=this._store.getState().knownSelectors;return(l==null?void 0:l.isInitialized)==null?wE.values():l.isInitialized===!0?IE(bE([h,y])):sb(wE.values(),({key:_})=>!h.has(_)&&!y.has(_))}),Li(this,"getInfo_UNSTABLE",({key:l})=>(this.checkRefCount_INTERNAL(),h$(this._store,this._store.getState().currentTree,l))),Li(this,"map",l=>{this.checkRefCount_INTERNAL();const h=new db(this,hb);return l(h),h}),Li(this,"asyncMap",async l=>{this.checkRefCount_INTERNAL();const h=new db(this,hb);return h.retain(),await l(h),h.autoRelease_INTERNAL(),h}),this._store={storeID:f$(),parentStoreID:o,getState:()=>i,replaceState:l=>{i.currentTree=l(i.currentTree)},getGraph:l=>{const h=i.graphsByVersion;if(h.has(l))return Ar(h.get(l));const y=d$();return h.set(l,y),y},subscribeToTransactions:()=>({release:()=>{}}),addTransactionMetadata:()=>{throw Ii("Cannot subscribe to Snapshots")}};for(const l of this._store.getState().knownAtoms)u$(this._store,l,"get"),m0(this._store,l,1);this.autoRelease_INTERNAL()}retain(){if(this._refCount<=0){if(process.env.NODE_ENV!=="production")throw Ii("Snapshot has already been released.");ho("Attempt to retain() Snapshot that was already released.")}this._refCount++;let i=!1;return()=>{i||(i=!0,this._release())}}autoRelease_INTERNAL(){b$||window.setTimeout(()=>this._release(),10)}_release(){if(this._refCount--,this._refCount===0){if(this._store.getState().nodeCleanupFunctions.forEach(i=>i()),this._store.getState().nodeCleanupFunctions.clear(),!vr("recoil_memory_managament_2020"))return}else this._refCount<0&&process.env.NODE_ENV!=="production"&&ho("Snapshot released an extra time.")}isRetained(){return this._refCount>0}checkRefCount_INTERNAL(){vr("recoil_memory_managament_2020")&&this._refCount<=0&&process.env.NODE_ENV!=="production"&&ho(w$)}getStore_INTERNAL(){return this.checkRefCount_INTERNAL(),this._store}getID(){return this.checkRefCount_INTERNAL(),this._store.getState().currentTree.stateID}getStoreID(){return this.checkRefCount_INTERNAL(),this._store.storeID}}function EE(t,i,o=!1){const l=t.getState(),h=o?v$():i.version;return{currentTree:{version:o?h:i.version,stateID:o?h:i.stateID,transactionMetadata:{...i.transactionMetadata},dirtyAtoms:new Set(i.dirtyAtoms),atomValues:i.atomValues.clone(),nonvalidatedAtoms:i.nonvalidatedAtoms.clone()},commitDepth:0,nextTree:null,previousTree:null,knownAtoms:new Set(l.knownAtoms),knownSelectors:new Set(l.knownSelectors),transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(h,t.getGraph(i.version)),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map(l0(l.nodeCleanupFunctions.entries(),([y])=>[y,()=>{}]))}}function I$(t){const i=new g0(x$());return t!=null?i.map(t):i}const[SE,DE]=M$((t,i)=>{var o;const l=t.getState(),h=i==="latest"?(o=l.nextTree)!==null&&o!==void 0?o:l.currentTree:Ar(l.previousTree);return new g0(EE(t,h),t.storeID)},(t,i)=>{var o,l;return String(i)+String(t.storeID)+String((o=t.getState().nextTree)===null||o===void 0?void 0:o.version)+String(t.getState().currentTree.version)+String((l=t.getState().previousTree)===null||l===void 0?void 0:l.version)});_$(DE);function T$(t,i="latest"){const o=SE(t,i);return o.isRetained()?o:(DE(),SE(t,i))}class db extends g0{constructor(i,o){super(EE(i.getStore_INTERNAL(),i.getStore_INTERNAL().getState().currentTree,!0),i.getStoreID()),Li(this,"_batch",void 0),Li(this,"set",(l,h)=>{this.checkRefCount_INTERNAL();const y=this.getStore_INTERNAL();this._batch(()=>{m0(y,l.key,1),TE(this.getStore_INTERNAL(),l,h)})}),Li(this,"reset",l=>{this.checkRefCount_INTERNAL();const h=this.getStore_INTERNAL();this._batch(()=>{m0(h,l.key,1),TE(this.getStore_INTERNAL(),l,p$)})}),Li(this,"setUnvalidatedAtomValues_DEPRECATED",l=>{this.checkRefCount_INTERNAL();const h=this.getStore_INTERNAL();hb(()=>{for(const[y,_]of l.entries())m0(h,y,1),y$(h,new m$(y),_)})}),this._batch=o}}var y0={Snapshot:g0,MutableSnapshot:db,freshSnapshot:I$,cloneSnapshot:T$},E$=y0.Snapshot,S$=y0.MutableSnapshot,D$=y0.freshSnapshot,A$=y0.cloneSnapshot,_0=Object.freeze({__proto__:null,Snapshot:E$,MutableSnapshot:S$,freshSnapshot:D$,cloneSnapshot:A$});function N$(...t){const i=new Set;for(const o of t)for(const l of o)i.add(l);return i}var C$=N$;const{useRef:L$}=Ze;function O$(t){const i=L$(t);return i.current===t&&typeof t=="function"&&(i.current=t()),i}var AE=O$;const{getNextTreeStateVersion:z$,makeEmptyStoreState:NE}=JT,{cleanUpNode:k$,getDownstreamNodes:j$,initializeNode:R$,setNodeValue:P$,setUnvalidatedAtomValue_DEPRECATED:U$}=kl,{graph:B$}=Tf,{cloneGraph:F$}=Tf,{getNextStoreID:CE}=h0,{createMutableSource:fb,reactMode:LE}=xh,{applyAtomValueWrites:V$}=oa,{releaseScheduledRetainablesNow:OE}=Bc,{freshSnapshot:$$}=_0,{useCallback:Y$,useContext:zE,useEffect:pb,useMemo:Q$,useRef:H$,useState:G$}=Ze;function Af(){throw Ii("This component must be used inside a <RecoilRoot> component.")}const kE=Object.freeze({storeID:CE(),getState:Af,replaceState:Af,getGraph:Af,subscribeToTransactions:Af,addTransactionMetadata:Af});let mb=!1;function jE(t){if(mb)throw Ii("An atom update was triggered within the execution of a state updater function. State updater functions provided to Recoil must be pure functions.");const i=t.getState();if(i.nextTree===null){vr("recoil_memory_managament_2020")&&vr("recoil_release_on_cascading_update_killswitch_2021")&&i.commitDepth>0&&OE(t);const o=i.currentTree.version,l=z$();i.nextTree={...i.currentTree,version:l,stateID:l,dirtyAtoms:new Set,transactionMetadata:{}},i.graphsByVersion.set(l,F$(Ar(i.graphsByVersion.get(o))))}}const RE=Ze.createContext({current:kE}),v0=()=>zE(RE),PE=Ze.createContext(null);function Z$(){const t=zE(PE);return t==null&&a0("Attempted to use a Recoil hook outside of a <RecoilRoot>. <RecoilRoot> must be an ancestor of any component that uses Recoil hooks."),t}function gb(t,i,o){const l=j$(t,o,o.dirtyAtoms);for(const h of l){const y=i.nodeToComponentSubscriptions.get(h);if(y)for(const[_,[a,v]]of y)v(o)}}function UE(t){const i=t.getState(),o=i.currentTree,l=o.dirtyAtoms;if(l.size){for(const[h,y]of i.nodeTransactionSubscriptions)if(l.has(h))for(const[_,a]of y)a(t);for(const[h,y]of i.transactionSubscriptions)y(t);(!LE().early||i.suspendedComponentResolvers.size>0)&&(gb(t,i,o),i.suspendedComponentResolvers.forEach(h=>h()),i.suspendedComponentResolvers.clear())}i.queuedComponentCallbacks_DEPRECATED.forEach(h=>h(o)),i.queuedComponentCallbacks_DEPRECATED.splice(0,i.queuedComponentCallbacks_DEPRECATED.length)}function W$(t){const i=t.getState();i.commitDepth++;try{const{nextTree:o}=i;if(o==null)return;i.previousTree=i.currentTree,i.currentTree=o,i.nextTree=null,UE(t),i.previousTree!=null?i.graphsByVersion.delete(i.previousTree.version):ho("Ended batch with no previous state, which is unexpected","recoil"),i.previousTree=null,vr("recoil_memory_managament_2020")&&o==null&&OE(t)}finally{i.commitDepth--}}function q$({setNotifyBatcherOfChange:t}){const i=v0(),[,o]=G$([]);return t(()=>o({})),pb(()=>(t(()=>o({})),()=>{t(()=>{})}),[t]),pb(()=>{CF.enqueueExecution("Batcher",()=>{W$(i.current)})}),null}process.env.NODE_ENV!=="production"&&typeof window<"u"&&!window.$recoilDebugStates&&(window.$recoilDebugStates=[]);function K$(t,i){const o=NE();return i({set:(l,h)=>{const y=o.currentTree,_=P$(t,y,l.key,h),a=new Set(_.keys()),v=y.nonvalidatedAtoms.clone();for(const E of a)v.delete(E);o.currentTree={...y,dirtyAtoms:C$(y.dirtyAtoms,a),atomValues:V$(y.atomValues,_),nonvalidatedAtoms:v}},setUnvalidatedAtomValues:l=>{l.forEach((h,y)=>{o.currentTree=U$(o.currentTree,y,h)})}}),o}function X$(t){const i=$$(t),o=i.getStore_INTERNAL().getState();return i.retain(),o.nodeCleanupFunctions.forEach(l=>l()),o.nodeCleanupFunctions.clear(),o}let BE=0;function J$({initializeState_DEPRECATED:t,initializeState:i,store_INTERNAL:o,children:l}){let h;const y=j=>{const U=h.current.graphsByVersion;if(U.has(j))return Ar(U.get(j));const V=B$();return U.set(j,V),V},_=(j,U)=>{if(U==null){const{transactionSubscriptions:V}=C.current.getState(),Z=BE++;return V.set(Z,j),{release:()=>{V.delete(Z)}}}else{const{nodeTransactionSubscriptions:V}=C.current.getState();V.has(U)||V.set(U,new Map);const Z=BE++;return Ar(V.get(U)).set(Z,j),{release:()=>{const ee=V.get(U);ee&&(ee.delete(Z),ee.size===0&&V.delete(U))}}}},a=j=>{jE(C.current);for(const U of Object.keys(j))Ar(C.current.getState().nextTree).transactionMetadata[U]=j[U]},v=j=>{jE(C.current);const U=Ar(h.current.nextTree);let V;try{mb=!0,V=j(U)}finally{mb=!1}V!==U&&(process.env.NODE_ENV!=="production"&&typeof window<"u"&&window.$recoilDebugStates.push(V),h.current.nextTree=V,LE().early&&gb(C.current,h.current,V),Ar(E.current)())},E=H$(null),A=Y$(j=>{E.current=j},[E]),C=AE(()=>o??{storeID:CE(),getState:()=>h.current,replaceState:v,getGraph:y,subscribeToTransactions:_,addTransactionMetadata:a});o!=null&&(C.current=o),h=AE(()=>t!=null?K$(C.current,t):i!=null?X$(i):NE());const L=Q$(()=>fb==null?void 0:fb(h,()=>h.current.currentTree.version),[h]);return pb(()=>{const j=C.current;for(const U of new Set(j.getState().knownAtoms))R$(j,U,"get");return()=>{for(const U of j.getState().knownAtoms)k$(j,U)}},[C]),Ze.createElement(RE.Provider,{value:C},Ze.createElement(PE.Provider,{value:L},Ze.createElement(q$,{setNotifyBatcherOfChange:A}),l))}function eY(t){const{override:i,...o}=t,l=v0();return i===!1&&l.current!==kE?t.children:Ze.createElement(J$,o)}function tY(){return v0().current.storeID}var Qa={RecoilRoot:eY,useStoreRef:v0,useRecoilMutableSource:Z$,useRecoilStoreID:tY,notifyComponents_FOR_TESTING:gb,sendEndOfBatchNotifications_FOR_TESTING:UE};function nY(t,i){if(t===i)return!0;if(t.length!==i.length)return!1;for(let o=0,l=t.length;o<l;o++)if(t[o]!==i[o])return!1;return!0}var iY=nY;const{useEffect:rY,useRef:oY}=Ze;function sY(t){const i=oY();return rY(()=>{i.current=t}),i.current}var FE=sY;const{useStoreRef:aY}=Qa,{SUSPENSE_TIMEOUT_MS:lY}=Bc,{updateRetainCount:Nf}=Bc,{RetentionZone:cY}=d0,{useEffect:uY,useRef:hY}=Ze,{isSSR:VE}=Df;function dY(t){if(vr("recoil_memory_managament_2020"))return fY(t)}function fY(t){const o=(Array.isArray(t)?t:[t]).map(_=>_ instanceof cY?_:_.key),l=aY();uY(()=>{if(!vr("recoil_memory_managament_2020"))return;const _=l.current;if(h.current&&!VE)window.clearTimeout(h.current),h.current=null;else for(const a of o)Nf(_,a,1);return()=>{for(const a of o)Nf(_,a,-1)}},[l,...o]);const h=hY(),y=FE(o);if(!VE&&(y===void 0||!iY(y,o))){const _=l.current;for(const a of o)Nf(_,a,1);if(y)for(const a of y)Nf(_,a,-1);h.current&&window.clearTimeout(h.current),h.current=window.setTimeout(()=>{h.current=null;for(const a of o)Nf(_,a,-1)},lY)}}var yb=dY;function pY(){return"<component name not available>"}var Cf=pY;const{batchUpdates:mY}=p0,{DEFAULT_VALUE:$E}=$o,{currentRendererSupportsUseSyncExternalStore:gY,reactMode:Fc,useMutableSource:yY,useSyncExternalStore:_Y}=xh,{useRecoilMutableSource:vY,useStoreRef:sa}=Qa,{isRecoilValue:xY}=Pc,{AbstractRecoilValue:_b,getRecoilValueAsLoadable:Lf,setRecoilValue:x0,setUnvalidatedRecoilValue:bY,subscribeToRecoilValue:bh}=oa,{useCallback:Yo,useEffect:Mh,useMemo:YE,useRef:Of,useState:vb}=Ze,{setByAddingToSet:MY}=tE,{isSSR:wY}=Df;function xb(t,i,o){if(t.state==="hasValue")return t.contents;throw t.state==="loading"?new Promise(h=>{const y=o.current.getState().suspendedComponentResolvers;y.add(h),wY&&_r(t.contents)&&t.contents.finally(()=>{y.delete(h)})}):t.state==="hasError"?t.contents:Ii(`Invalid value of loadable atom "${i.key}"`)}function jo(t,i){if(!xY(t))throw Ii(`Invalid argument to ${i}: expected an atom or selector but got ${String(t)}`)}function IY(){const t=Cf(),i=sa(),[,o]=vb([]),l=Of(new Set);l.current=new Set;const h=Of(new Set),y=Of(new Map),_=Yo(v=>{const E=y.current.get(v);E&&(E.release(),y.current.delete(v))},[y]),a=Yo((v,E)=>{y.current.has(E)&&o([])},[]);return Mh(()=>{const v=i.current;If(l.current,h.current).forEach(E=>{if(y.current.has(E)){a0(`Double subscription to RecoilValue "${E}"`);return}const A=bh(v,new _b(E),L=>a(L,E),t);y.current.set(E,A),v.getState().nextTree?v.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{a(v.getState(),E)}):a(v.getState(),E)}),If(h.current,l.current).forEach(E=>{_(E)}),h.current=l.current}),Mh(()=>{const v=y.current;return If(l.current,new Set(v.keys())).forEach(E=>{const A=bh(i.current,new _b(E),C=>a(C,E),t);v.set(E,A)}),()=>v.forEach((E,A)=>_(A))},[t,i,_,a]),YE(()=>{function v(U){return process.env.NODE_ENV!=="production"&&jo(U,"useSetRecoilState"),V=>{x0(i.current,U,V)}}function E(U){return process.env.NODE_ENV!=="production"&&jo(U,"useResetRecoilState"),()=>x0(i.current,U,$E)}function A(U){var V;process.env.NODE_ENV!=="production"&&jo(U,"useRecoilValueLoadable"),l.current.has(U.key)||(l.current=MY(l.current,U.key));const Z=i.current.getState();return Lf(i.current,U,Fc().early&&(V=Z.nextTree)!==null&&V!==void 0?V:Z.currentTree)}function C(U){process.env.NODE_ENV!=="production"&&jo(U,"useRecoilValue");const V=A(U);return xb(V,U,i)}function L(U){return process.env.NODE_ENV!=="production"&&jo(U,"useRecoilState"),[C(U),v(U)]}function j(U){return process.env.NODE_ENV!=="production"&&jo(U,"useRecoilStateLoadable"),[A(U),v(U)]}return{getRecoilValue:C,getRecoilValueLoadable:A,getRecoilState:L,getRecoilStateLoadable:j,getSetRecoilState:v,getResetRecoilState:E}},[l,i])}const zf={current:0};function TY(t){const i=sa(),o=Cf(),l=Yo(()=>{var a;process.env.NODE_ENV!=="production"&&zf.current++;const v=i.current,E=v.getState(),A=Fc().early&&(a=E.nextTree)!==null&&a!==void 0?a:E.currentTree;return{loadable:Lf(v,t,A),key:t.key}},[i,t]),h=Yo(a=>{let v;return()=>{var E,A;const C=a();return(E=v)!==null&&E!==void 0&&E.loadable.is(C.loadable)&&((A=v)===null||A===void 0?void 0:A.key)===C.key?v:(v=C,C)}},[]),y=YE(()=>h(l),[l,h]),_=Yo(a=>{const v=i.current;return bh(v,t,a,o).release},[i,t,o]);return _Y(_,y,y).loadable}function EY(t){const i=sa(),o=Yo(()=>{var E;const A=i.current,C=A.getState(),L=Fc().early&&(E=C.nextTree)!==null&&E!==void 0?E:C.currentTree;return Lf(A,t,L)},[i,t]),l=Yo(()=>(process.env.NODE_ENV!=="production"&&zf.current++,o()),[o]),h=Cf(),y=Yo((E,A)=>{const C=i.current;return bh(C,t,()=>{if(!vr("recoil_suppress_rerender_in_callback"))return A();const j=o();v.current.is(j)||A(),v.current=j},h).release},[i,t,h,o]),_=vY();if(_==null)throw Ii("Recoil hooks must be used in components contained within a <RecoilRoot> component.");const a=yY(_,l,y),v=Of(a);return Mh(()=>{v.current=a}),a}function bb(t){const i=sa(),o=Cf(),l=Yo(()=>{var v;process.env.NODE_ENV!=="production"&&zf.current++;const E=i.current,A=E.getState(),C=Fc().early&&(v=A.nextTree)!==null&&v!==void 0?v:A.currentTree;return Lf(E,t,C)},[i,t]),h=Yo(()=>({loadable:l(),key:t.key}),[l,t.key]),y=Yo(v=>{const E=h();return v.loadable.is(E.loadable)&&v.key===E.key?v:E},[h]);Mh(()=>{const v=bh(i.current,t,E=>{a(y)},o);return a(y),v.release},[o,t,i,y]);const[_,a]=vb(h);return _.key!==t.key?h().loadable:_.loadable}function SY(t){const i=sa(),[,o]=vb([]),l=Cf(),h=Yo(()=>{var a;process.env.NODE_ENV!=="production"&&zf.current++;const v=i.current,E=v.getState(),A=Fc().early&&(a=E.nextTree)!==null&&a!==void 0?a:E.currentTree;return Lf(v,t,A)},[i,t]),y=h(),_=Of(y);return Mh(()=>{_.current=y}),Mh(()=>{const a=i.current,v=a.getState(),E=bh(a,t,C=>{var L;if(!vr("recoil_suppress_rerender_in_callback"))return o([]);const j=h();(L=_.current)!==null&&L!==void 0&&L.is(j)||o(j),_.current=j},l);if(v.nextTree)a.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{_.current=null,o([])});else{var A;if(!vr("recoil_suppress_rerender_in_callback"))return o([]);const C=h();(A=_.current)!==null&&A!==void 0&&A.is(C)||o(C),_.current=C}return E.release},[l,h,t,i]),y}function Mb(t){return process.env.NODE_ENV!=="production"&&jo(t,"useRecoilValueLoadable"),vr("recoil_memory_managament_2020")&&yb(t),{TRANSITION_SUPPORT:bb,SYNC_EXTERNAL_STORE:gY()?TY:bb,MUTABLE_SOURCE:EY,LEGACY:SY}[Fc().mode](t)}function QE(t){process.env.NODE_ENV!=="production"&&jo(t,"useRecoilValue");const i=sa(),o=Mb(t);return xb(o,t,i)}function b0(t){process.env.NODE_ENV!=="production"&&jo(t,"useSetRecoilState");const i=sa();return Yo(o=>{x0(i.current,t,o)},[i,t])}function DY(t){process.env.NODE_ENV!=="production"&&jo(t,"useResetRecoilState");const i=sa();return Yo(()=>{x0(i.current,t,$E)},[i,t])}function AY(t){return process.env.NODE_ENV!=="production"&&jo(t,"useRecoilState"),[QE(t),b0(t)]}function NY(t){return process.env.NODE_ENV!=="production"&&jo(t,"useRecoilStateLoadable"),[Mb(t),b0(t)]}function CY(){const t=sa();return(i,o={})=>{mY(()=>{t.current.addTransactionMetadata(o),i.forEach((l,h)=>bY(t.current,new _b(h),l))})}}function HE(t){return process.env.NODE_ENV!=="production"&&(jo(t,"useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE"),Fc().early||ho("Attepmt to use a hook with UNSTABLE_TRANSITION_SUPPORT in a rendering mode incompatible with concurrent rendering. Try enabling the recoil_sync_external_store or recoil_transition_support GKs.")),vr("recoil_memory_managament_2020")&&yb(t),bb(t)}function GE(t){process.env.NODE_ENV!=="production"&&jo(t,"useRecoilValue_TRANSITION_SUPPORT_UNSTABLE");const i=sa(),o=HE(t);return xb(o,t,i)}function LY(t){return process.env.NODE_ENV!=="production"&&jo(t,"useRecoilState_TRANSITION_SUPPORT_UNSTABLE"),[GE(t),b0(t)]}var OY={recoilComponentGetRecoilValueCount_FOR_TESTING:zf,useRecoilInterface:IY,useRecoilState:AY,useRecoilStateLoadable:NY,useRecoilValue:QE,useRecoilValueLoadable:Mb,useResetRecoilState:DY,useSetRecoilState:b0,useSetUnvalidatedAtomValues:CY,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:HE,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:GE,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:LY};function zY(t,i){const o=new Map;for(const[l,h]of t)i(h,l)&&o.set(l,h);return o}var kY=zY;function jY(t,i){const o=new Set;for(const l of t)i(l)&&o.add(l);return o}var RY=jY;function PY(...t){const i=new Map;for(let o=0;o<t.length;o++){const l=t[o].keys();let h;for(;!(h=l.next()).done;)i.set(h.value,t[o].get(h.value))}return i}var UY=PY;const{batchUpdates:BY}=p0,{DEFAULT_VALUE:FY,getNode:ZE,nodes:VY}=$o,{useStoreRef:wb}=Qa,{AbstractRecoilValue:$Y,setRecoilValueLoadable:YY}=oa,{SUSPENSE_TIMEOUT_MS:QY}=Bc,{cloneSnapshot:M0}=_0,{useCallback:w0,useEffect:WE,useRef:qE,useState:HY}=Ze,{isSSR:KE}=Df;function I0(t){const i=wb();WE(()=>i.current.subscribeToTransactions(t).release,[t,i])}function XE(t){const i=t.atomValues.toMap(),o=u0(kY(i,(l,h)=>{const _=ZE(h).persistence_UNSTABLE;return _!=null&&_.type!=="none"&&l.state==="hasValue"}),l=>l.contents);return UY(t.nonvalidatedAtoms.toMap(),o)}function GY(t){I0(w0(i=>{let o=i.getState().previousTree;const l=i.getState().currentTree;o||(ho("Transaction subscribers notified without a previous tree being present -- this is a bug in Recoil"),o=i.getState().currentTree);const h=XE(l),y=XE(o),_=u0(VY,v=>{var E,A,C,L;return{persistence_UNSTABLE:{type:(E=(A=v.persistence_UNSTABLE)===null||A===void 0?void 0:A.type)!==null&&E!==void 0?E:"none",backButton:(C=(L=v.persistence_UNSTABLE)===null||L===void 0?void 0:L.backButton)!==null&&C!==void 0?C:!1}}}),a=RY(l.dirtyAtoms,v=>h.has(v)||y.has(v));t({atomValues:h,previousAtomValues:y,atomInfo:_,modifiedAtoms:a,transactionMetadata:{...l.transactionMetadata}})},[t]))}function ZY(t){I0(w0(i=>{const o=M0(i,"latest"),l=M0(i,"previous");t({snapshot:o,previousSnapshot:l})},[t]))}function WY(){const t=wb(),[i,o]=HY(()=>M0(t.current)),l=FE(i),h=qE(),y=qE();if(I0(w0(a=>o(M0(a)),[])),WE(()=>{const a=i.retain();if(h.current&&!KE){var v;window.clearTimeout(h.current),h.current=null,(v=y.current)===null||v===void 0||v.call(y),y.current=null}return()=>{window.setTimeout(a,10)}},[i]),l!==i&&!KE){if(h.current){var _;window.clearTimeout(h.current),h.current=null,(_=y.current)===null||_===void 0||_.call(y),y.current=null}y.current=i.retain(),h.current=window.setTimeout(()=>{var a;h.current=null,(a=y.current)===null||a===void 0||a.call(y),y.current=null},QY)}return i}function JE(t,i){var o;const l=t.getState(),h=(o=l.nextTree)!==null&&o!==void 0?o:l.currentTree,y=i.getStore_INTERNAL().getState().currentTree;BY(()=>{const _=new Set;for(const E of[h.atomValues.keys(),y.atomValues.keys()])for(const A of E){var a,v;((a=h.atomValues.get(A))===null||a===void 0?void 0:a.contents)!==((v=y.atomValues.get(A))===null||v===void 0?void 0:v.contents)&&ZE(A).shouldRestoreFromSnapshots&&_.add(A)}_.forEach(E=>{YY(t,new $Y(E),y.atomValues.has(E)?Ar(y.atomValues.get(E)):FY)}),t.replaceState(E=>({...E,stateID:i.getID()}))})}function qY(){const t=wb();return w0(i=>JE(t.current,i),[t])}var eS={useRecoilSnapshot:WY,gotoSnapshot:JE,useGotoRecoilSnapshot:qY,useRecoilTransactionObserver:ZY,useTransactionObservation_DEPRECATED:GY,useTransactionSubscription_DEPRECATED:I0};const{peekNodeInfo:KY}=kl,{useStoreRef:XY}=Qa;function JY(){const t=XY();return({key:i})=>KY(t.current,t.current.getState().currentTree,i)}var eQ=JY;const{reactMode:tQ}=xh,{RecoilRoot:nQ,useStoreRef:iQ}=Qa,{useMemo:rQ}=Ze;function oQ(){tQ().mode==="MUTABLE_SOURCE"&&console.warn("Warning: There are known issues using useRecoilBridgeAcrossReactRoots() in recoil_mutable_source rendering mode. Please consider upgrading to recoil_sync_external_store mode.");const t=iQ().current;return rQ(()=>{function i({children:o}){return Ze.createElement(nQ,{store_INTERNAL:t},o)}return i},[t])}var sQ=oQ;const{loadableWithValue:aQ}=wf,{initializeNode:lQ}=kl,{DEFAULT_VALUE:cQ,getNode:uQ}=$o,{copyTreeState:hQ,getRecoilValueAsLoadable:dQ,invalidateDownstreams:fQ,writeLoadableToTreeState:pQ}=oa;function tS(t){return uQ(t.key).nodeType==="atom"}class mQ{constructor(i,o){Li(this,"_store",void 0),Li(this,"_treeState",void 0),Li(this,"_changes",void 0),Li(this,"get",l=>{if(this._changes.has(l.key))return this._changes.get(l.key);if(!tS(l))throw Ii("Reading selectors within atomicUpdate is not supported");const h=dQ(this._store,l,this._treeState);if(h.state==="hasValue")return h.contents;throw h.state==="hasError"?h.contents:Ii(`Expected Recoil atom ${l.key} to have a value, but it is in a loading state.`)}),Li(this,"set",(l,h)=>{if(!tS(l))throw Ii("Setting selectors within atomicUpdate is not supported");if(typeof h=="function"){const y=this.get(l);this._changes.set(l.key,h(y))}else lQ(this._store,l.key,"set"),this._changes.set(l.key,h)}),Li(this,"reset",l=>{this.set(l,cQ)}),this._store=i,this._treeState=o,this._changes=new Map}newTreeState_INTERNAL(){if(this._changes.size===0)return this._treeState;const i=hQ(this._treeState);for(const[o,l]of this._changes)pQ(i,o,aQ(l));return fQ(this._store,i),i}}function gQ(t){return i=>{t.replaceState(o=>{const l=new mQ(t,o);return i(l),l.newTreeState_INTERNAL()})}}var yQ={atomicUpdater:gQ},_Q=yQ.atomicUpdater,nS=Object.freeze({__proto__:null,atomicUpdater:_Q});function vQ(t,i){if(!t)throw new Error(i)}var xQ=vQ,aa=xQ;const{atomicUpdater:bQ}=nS,{batchUpdates:MQ}=p0,{DEFAULT_VALUE:wQ}=$o,{useStoreRef:IQ}=Qa,{refreshRecoilValue:TQ,setRecoilValue:iS}=oa,{cloneSnapshot:EQ}=_0,{gotoSnapshot:SQ}=eS,{useCallback:DQ}=Ze;class rS{}const AQ=new rS;function oS(t,i,o,l){let h=AQ,y;if(MQ(()=>{const a="useRecoilCallback() expects a function that returns a function: it accepts a function of the type (RecoilInterface) => (Args) => ReturnType and returns a callback function (Args) => ReturnType, where RecoilInterface is an object {snapshot, set, ...} and Args and ReturnType are the argument and return types of the callback you want to create. Please see the docs at recoiljs.org for details.";if(typeof i!="function")throw Ii(a);const v=nE({...l??{},set:(A,C)=>iS(t,A,C),reset:A=>iS(t,A,wQ),refresh:A=>TQ(t,A),gotoSnapshot:A=>SQ(t,A),transact_UNSTABLE:A=>bQ(t)(A)},{snapshot:()=>{const A=EQ(t);return y=A.retain(),A}}),E=i(v);if(typeof E!="function")throw Ii(a);h=E(...o)}),h instanceof rS&&(process.env.NODE_ENV!=="production"?aa(!1,"batchUpdates should return immediately"):aa(!1)),_r(h))h=h.finally(()=>{var a;(a=y)===null||a===void 0||a()});else{var _;(_=y)===null||_===void 0||_()}return h}function NQ(t,i){const o=IQ();return DQ((...l)=>oS(o.current,t,l),i!=null?[...i,o]:void 0)}var sS={recoilCallback:oS,useRecoilCallback:NQ};const{useStoreRef:CQ}=Qa,{refreshRecoilValue:LQ}=oa,{useCallback:OQ}=Ze;function zQ(t){const i=CQ();return OQ(()=>{const o=i.current;LQ(o,t)},[t,i])}var kQ=zQ;const{atomicUpdater:jQ}=nS,{useStoreRef:RQ}=Qa,{useMemo:PQ}=Ze;function UQ(t,i){const o=RQ();return PQ(()=>(...l)=>{jQ(o.current)(y=>{t(y)(...l)})},i!=null?[...i,o]:void 0)}var BQ=UQ;class FQ{constructor(i){Li(this,"value",void 0),this.value=i}}var VQ={WrappedValue:FQ},$Q=VQ.WrappedValue,aS=Object.freeze({__proto__:null,WrappedValue:$Q});const{isFastRefreshEnabled:YQ}=xh;class lS extends Error{}class QQ{constructor(i){var o,l,h;Li(this,"_name",void 0),Li(this,"_numLeafs",void 0),Li(this,"_root",void 0),Li(this,"_onHit",void 0),Li(this,"_onSet",void 0),Li(this,"_mapNodeValue",void 0),this._name=i==null?void 0:i.name,this._numLeafs=0,this._root=null,this._onHit=(o=i==null?void 0:i.onHit)!==null&&o!==void 0?o:()=>{},this._onSet=(l=i==null?void 0:i.onSet)!==null&&l!==void 0?l:()=>{},this._mapNodeValue=(h=i==null?void 0:i.mapNodeValue)!==null&&h!==void 0?h:y=>y}size(){return this._numLeafs}root(){return this._root}get(i,o){var l;return(l=this.getLeafNode(i,o))===null||l===void 0?void 0:l.value}getLeafNode(i,o){if(this._root==null)return;let l=this._root;for(;l;){if(o==null||o.onNodeVisit(l),l.type==="leaf")return this._onHit(l),l;const h=this._mapNodeValue(i(l.nodeKey));l=l.branches.get(h)}}set(i,o,l){const h=()=>{var y,_,a,v;let E,A;for(const[Z,ee]of i){var C,L,j;const ne=this._root;if((ne==null?void 0:ne.type)==="leaf")throw this.invalidCacheError();const re=E;if(E=re?re.branches.get(A):ne,E=(C=E)!==null&&C!==void 0?C:{type:"branch",nodeKey:Z,parent:re,branches:new Map,branchKey:A},E.type!=="branch"||E.nodeKey!==Z)throw this.invalidCacheError();re==null||re.branches.set(A,E),l==null||(L=l.onNodeVisit)===null||L===void 0||L.call(l,E),A=this._mapNodeValue(ee),this._root=(j=this._root)!==null&&j!==void 0?j:E}const U=E?(y=E)===null||y===void 0?void 0:y.branches.get(A):this._root;if(U!=null&&(U.type!=="leaf"||U.branchKey!==A))throw this.invalidCacheError();const V={type:"leaf",value:o,parent:E,branchKey:A};(_=E)===null||_===void 0||_.branches.set(A,V),this._root=(a=this._root)!==null&&a!==void 0?a:V,this._numLeafs++,this._onSet(V),l==null||(v=l.onNodeVisit)===null||v===void 0||v.call(l,V)};try{h()}catch(y){if(y instanceof lS)this.clear(),h();else throw y}}delete(i){const o=this.root();if(!o)return!1;if(i===o)return this._root=null,this._numLeafs=0,!0;let l=i.parent,h=i.branchKey;for(;l;){var y;if(l.branches.delete(h),l===o)return l.branches.size===0?(this._root=null,this._numLeafs=0):this._numLeafs--,!0;if(l.branches.size>0)break;h=(y=l)===null||y===void 0?void 0:y.branchKey,l=l.parent}for(;l!==o;l=l.parent)if(l==null)return!1;return this._numLeafs--,!0}clear(){this._numLeafs=0,this._root=null}invalidCacheError(){const i=YQ()?"Possible Fast Refresh module reload detected. This may also be caused by an selector returning inconsistent values. Resetting cache.":"Invalid cache values. This happens when selectors do not return consistent values for the same input dependency values. That may also be caused when using Fast Refresh to change a selector implementation. Resetting cache.";throw ho(i+(this._name!=null?` - ${this._name}`:"")),new lS}}var HQ={TreeCache:QQ},GQ=HQ.TreeCache,cS=Object.freeze({__proto__:null,TreeCache:GQ});class ZQ{constructor(i){var o;Li(this,"_maxSize",void 0),Li(this,"_size",void 0),Li(this,"_head",void 0),Li(this,"_tail",void 0),Li(this,"_map",void 0),Li(this,"_keyMapper",void 0),this._maxSize=i.maxSize,this._size=0,this._head=null,this._tail=null,this._map=new Map,this._keyMapper=(o=i.mapKey)!==null&&o!==void 0?o:l=>l}head(){return this._head}tail(){return this._tail}size(){return this._size}maxSize(){return this._maxSize}has(i){return this._map.has(this._keyMapper(i))}get(i){const o=this._keyMapper(i),l=this._map.get(o);if(l)return this.set(i,l.value),l.value}set(i,o){const l=this._keyMapper(i);this._map.get(l)&&this.delete(i);const y=this.head(),_={key:i,right:y,left:null,value:o};y?y.left=_:this._tail=_,this._map.set(l,_),this._head=_,this._size++,this._maybeDeleteLRU()}_maybeDeleteLRU(){this.size()>this.maxSize()&&this.deleteLru()}deleteLru(){const i=this.tail();i&&this.delete(i.key)}delete(i){const o=this._keyMapper(i);if(!this._size||!this._map.has(o))return;const l=Ar(this._map.get(o)),h=l.right,y=l.left;h&&(h.left=l.left),y&&(y.right=l.right),l===this.head()&&(this._head=h),l===this.tail()&&(this._tail=y),this._map.delete(o),this._size--}clear(){this._size=0,this._head=null,this._tail=null,this._map=new Map}}var WQ={LRUCache:ZQ},qQ=WQ.LRUCache,uS=Object.freeze({__proto__:null,LRUCache:qQ});const{LRUCache:KQ}=uS,{TreeCache:XQ}=cS;function JQ({name:t,maxSize:i,mapNodeValue:o=l=>l}){const l=new KQ({maxSize:i}),h=new XQ({name:t,mapNodeValue:o,onHit:y=>{l.set(y,!0)},onSet:y=>{const _=l.tail();l.set(y,!0),_&&h.size()>i&&h.delete(_.key)}});return h}var hS=JQ;const eH=15;function xs(t,i,o){if(typeof t=="string"&&!t.includes('"')&&!t.includes("\\"))return`"${t}"`;switch(typeof t){case"undefined":return"";case"boolean":return t?"true":"false";case"number":case"symbol":return String(t);case"string":return JSON.stringify(t);case"function":if((i==null?void 0:i.allowFunctions)!==!0)throw Ii("Attempt to serialize function in a Recoil cache key");return`__FUNCTION(${t.name})__`}if(t===null)return"null";if(typeof t!="object"){var l;return(l=JSON.stringify(t))!==null&&l!==void 0?l:""}if(_r(t))return"__PROMISE__";if(Array.isArray(t))return`[${t.map((h,y)=>xs(h,i,y.toString()))}]`;if(typeof t.toJSON=="function")return xs(t.toJSON(o),i,o);if(t instanceof Map){const h={};for(const[y,_]of t)h[typeof y=="string"?y:xs(y,i)]=_;return xs(h,i,o)}return t instanceof Set?xs(Array.from(t).sort((h,y)=>xs(h,i).localeCompare(xs(y,i))),i,o):Symbol!==void 0&&t[Symbol.iterator]!=null&&typeof t[Symbol.iterator]=="function"?xs(Array.from(t),i,o):`{${Object.keys(t).filter(h=>t[h]!==void 0).sort().map(h=>`${xs(h,i)}:${xs(t[h],i,h)}`).join(",")}}`}function tH(t,i={allowFunctions:!1}){if(process.env.NODE_ENV!=="production"&&typeof window<"u"){const o=window.performance?window.performance.now():0,l=xs(t,i),h=window.performance?window.performance.now():0;return h-o>eH&&(console.groupCollapsed(`Recoil: Spent ${h-o}ms computing a cache key`),console.warn(t,l),console.groupEnd()),l}return xs(t,i)}var T0=tH;const{TreeCache:nH}=cS,E0={equality:"reference",eviction:"keep-all",maxSize:1/0};function iH({equality:t=E0.equality,eviction:i=E0.eviction,maxSize:o=E0.maxSize}=E0,l){const h=rH(t);return oH(i,o,h,l)}function rH(t){switch(t){case"reference":return i=>i;case"value":return i=>T0(i)}throw Ii(`Unrecognized equality policy ${t}`)}function oH(t,i,o,l){switch(t){case"keep-all":return new nH({name:l,mapNodeValue:o});case"lru":return hS({name:l,maxSize:Ar(i),mapNodeValue:o});case"most-recent":return hS({name:l,maxSize:1,mapNodeValue:o})}throw Ii(`Unrecognized eviction policy ${t}`)}var sH=iH;function aH(t){var i,o;if(typeof window>"u")return!1;const h=(o=(t!=null?(i=t.ownerDocument)!==null&&i!==void 0?i:t:document).defaultView)!==null&&o!==void 0?o:window;return t!=null&&(typeof h.Node=="function"?t instanceof h.Node:typeof t=="object"&&typeof t.nodeType=="number"&&typeof t.nodeName=="string")}var lH=aH;const{isReactNative:cH,isWindow:uH}=Df;function hH(t){if(t===null||typeof t!="object")return!0;switch(typeof t.$$typeof){case"symbol":return!0;case"number":return!0}return!!(t["@@__IMMUTABLE_ITERABLE__@@"]!=null||t["@@__IMMUTABLE_KEYED__@@"]!=null||t["@@__IMMUTABLE_INDEXED__@@"]!=null||t["@@__IMMUTABLE_ORDERED__@@"]!=null||t["@@__IMMUTABLE_RECORD__@@"]!=null||lH(t)||_r(t)||t instanceof Error||ArrayBuffer.isView(t)||!cH&&uH(t))}function dS(t){if(!(typeof t!="object"||hH(t))){Object.freeze(t);for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)){const o=t[i];typeof o=="object"&&o!=null&&!Object.isFrozen(o)&&dS(o)}Object.seal(t)}}var Ib=dS;function dH(t){return()=>null}var fH={startPerfBlock:dH};const{isLoadable:pH,loadableWithError:S0,loadableWithPromise:mH,loadableWithValue:Tb}=wf,{WrappedValue:fS}=aS,{getNodeLoadable:D0,peekNodeLoadable:gH,setNodeValue:yH}=kl,{saveDepsToStore:_H}=Tf,{DEFAULT_VALUE:vH,getConfigDeletionHandler:xH,getNode:bH,registerNode:pS}=$o,{isRecoilValue:MH}=Pc,{markRecoilValueModified:mS}=oa,{retainedByOptionWithDefault:wH}=Bc,{recoilCallback:IH}=sS,{startPerfBlock:TH}=fH;class gS{}const kf=new gS,jf=[],A0=new Map,EH=(()=>{let t=0;return()=>t++})();function yS(t){let i=null;const{key:o,get:l,cachePolicy_UNSTABLE:h}=t,y=t.set!=null?t.set:void 0;if(process.env.NODE_ENV!=="production"){if(typeof o!="string")throw Ii("A key option with a unique string value must be provided when creating a selector.");if(typeof l!="function")throw Ii("Selectors must specify a get callback option to get the selector value.")}const _=new Set,a=sH(h??{equality:"reference",eviction:"keep-all"},o),v=wH(t.retainedBy_UNSTABLE),E=new Map;let A=0;function C(){return!vr("recoil_memory_managament_2020")||A>0}function L(ae){return ae.getState().knownSelectors.add(o),A++,()=>{A--}}function j(){return xH(o)!==void 0&&!C()}function U(ae,G,X,ge,fe){Re(G,ge,fe),V(ae,X)}function V(ae,G){Se(ae,G)&&tt(ae),ee(G,!0)}function Z(ae,G){Se(ae,G)&&(Ar(Ve(ae)).stateVersions.clear(),ee(G,!1))}function ee(ae,G){const X=A0.get(ae);if(X!=null){for(const ge of X)mS(ge,Ar(i));G&&A0.delete(ae)}}function ne(ae,G){let X=A0.get(G);X==null&&A0.set(G,X=new Set),X.add(ae)}function re(ae,G,X,ge,fe,Ne){return G.then(Oe=>{if(!C())throw tt(ae),kf;const Ae=Tb(Oe);return U(ae,X,fe,Ae,ge),Oe}).catch(Oe=>{if(!C())throw tt(ae),kf;if(_r(Oe))return ie(ae,Oe,X,ge,fe,Ne);const Ae=S0(Oe);throw U(ae,X,fe,Ae,ge),Oe})}function ie(ae,G,X,ge,fe,Ne){return G.then(Oe=>{if(!C())throw tt(ae),kf;Ne.loadingDepKey!=null&&Ne.loadingDepPromise===G?X.atomValues.set(Ne.loadingDepKey,Tb(Oe)):ae.getState().knownSelectors.forEach(Ce=>{X.atomValues.delete(Ce)});const Ae=Me(ae,X);if(Ae&&Ae.state!=="loading"){if((Se(ae,fe)||Ve(ae)==null)&&V(ae,fe),Ae.state==="hasValue")return Ae.contents;throw Ae.contents}if(!Se(ae,fe)){const Ce=qe(ae,X);if(Ce!=null)return Ce.loadingLoadable.contents}const[$e,st]=Ie(ae,X,fe);if($e.state!=="loading"&&U(ae,X,fe,$e,st),$e.state==="hasError")throw $e.contents;return $e.contents}).catch(Oe=>{if(Oe instanceof gS)throw kf;if(!C())throw tt(ae),kf;const Ae=S0(Oe);throw U(ae,X,fe,Ae,ge),Oe})}function te(ae,G,X,ge){var fe,Ne,Oe,Ae;if(Se(ae,ge)||G.version===((fe=ae.getState())===null||fe===void 0||(Ne=fe.currentTree)===null||Ne===void 0?void 0:Ne.version)||G.version===((Oe=ae.getState())===null||Oe===void 0||(Ae=Oe.nextTree)===null||Ae===void 0?void 0:Ae.version)){var $e,st,Ce;_H(o,X,ae,($e=(st=ae.getState())===null||st===void 0||(Ce=st.nextTree)===null||Ce===void 0?void 0:Ce.version)!==null&&$e!==void 0?$e:ae.getState().currentTree.version)}for(const Xe of X)_.add(Xe)}function Ie(ae,G,X){const ge=TH(o);let fe=!0,Ne=!0;const Oe=()=>{ge(),Ne=!1};let Ae,$e=!1,st;const Ce={loadingDepKey:null,loadingDepPromise:null},Xe=new Map;function yt({key:Ft}){const hn=D0(ae,G,Ft);switch(Xe.set(Ft,hn),fe||(te(ae,G,new Set(Xe.keys()),X),Z(ae,X)),hn.state){case"hasValue":return hn.contents;case"hasError":throw hn.contents;case"loading":throw Ce.loadingDepKey=Ft,Ce.loadingDepPromise=hn.contents,hn.contents}throw Ii("Invalid Loadable state")}const jt=Ft=>(...hn)=>{if(Ne)throw Ii("Callbacks from getCallback() should only be called asynchronously after the selector is evalutated. It can be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.");return i==null&&(process.env.NODE_ENV!=="production"?aa(!1,"Recoil Value can never be null"):aa(!1)),IH(ae,Ft,hn,{node:i})};try{Ae=l({get:yt,getCallback:jt}),Ae=MH(Ae)?yt(Ae):Ae,pH(Ae)&&(Ae.state==="hasError"&&($e=!0),Ae=Ae.contents),_r(Ae)?Ae=re(ae,Ae,G,Xe,X,Ce).finally(Oe):Oe(),Ae=Ae instanceof fS?Ae.value:Ae}catch(Ft){Ae=Ft,_r(Ae)?Ae=ie(ae,Ae,G,Xe,X,Ce).finally(Oe):($e=!0,Oe())}return $e?st=S0(Ae):_r(Ae)?st=mH(Ae):st=Tb(Ae),fe=!1,We(ae,X,Xe),te(ae,G,new Set(Xe.keys()),X),[st,Xe]}function Me(ae,G){let X=G.atomValues.get(o);if(X!=null)return X;const ge=new Set;try{X=a.get(Ne=>(typeof Ne!="string"&&(process.env.NODE_ENV!=="production"?aa(!1,"Cache nodeKey is type string"):aa(!1)),D0(ae,G,Ne).contents),{onNodeVisit:Ne=>{Ne.type==="branch"&&Ne.nodeKey!==o&&ge.add(Ne.nodeKey)}})}catch(Ne){throw Ii(`Problem with cache lookup for selector "${o}": ${Ne.message}`)}if(X){var fe;G.atomValues.set(o,X),te(ae,G,ge,(fe=Ve(ae))===null||fe===void 0?void 0:fe.executionID)}return X}function de(ae,G){const X=Me(ae,G);if(X!=null)return tt(ae),X;const ge=qe(ae,G);if(ge!=null){var fe;return((fe=ge.loadingLoadable)===null||fe===void 0?void 0:fe.state)==="loading"&&ne(ae,ge.executionID),ge.loadingLoadable}const Ne=EH(),[Oe,Ae]=Ie(ae,G,Ne);return Oe.state==="loading"?(je(ae,Ne,Oe,Ae,G),ne(ae,Ne)):(tt(ae),Re(G,Oe,Ae)),Oe}function qe(ae,G){const X=bE([E.has(ae)?[Ar(E.get(ae))]:[],l0(sb(E,([fe])=>fe!==ae),([,fe])=>fe)]);function ge(fe){for(const[Ne,Oe]of fe)if(!D0(ae,G,Ne).is(Oe))return!0;return!1}for(const fe of X){if(fe.stateVersions.get(G.version)||!ge(fe.depValuesDiscoveredSoFarDuringAsyncWork))return fe.stateVersions.set(G.version,!0),fe;fe.stateVersions.set(G.version,!1)}}function Ve(ae){return E.get(ae)}function je(ae,G,X,ge,fe){E.set(ae,{depValuesDiscoveredSoFarDuringAsyncWork:ge,executionID:G,loadingLoadable:X,stateVersions:new Map([[fe.version,!0]])})}function We(ae,G,X){if(Se(ae,G)){const ge=Ve(ae);ge!=null&&(ge.depValuesDiscoveredSoFarDuringAsyncWork=X)}}function tt(ae){E.delete(ae)}function Se(ae,G){var X;return G===((X=Ve(ae))===null||X===void 0?void 0:X.executionID)}function He(ae){return Array.from(ae.entries()).map(([G,X])=>[G,X.contents])}function Re(ae,G,X){process.env.NODE_ENV!=="production"&&G.state!=="loading"&&!t.dangerouslyAllowMutability&&Ib(G.contents),ae.atomValues.set(o,G);try{a.set(He(X),G)}catch(ge){throw Ii(`Problem with setting cache for selector "${o}": ${ge.message}`)}}function Le(ae){if(jf.includes(o)){const G=`Recoil selector has circular dependencies: ${jf.slice(jf.indexOf(o)).join(" → ")}`;return S0(Ii(G))}jf.push(o);try{return ae()}finally{jf.pop()}}function ht(ae,G){const X=G.atomValues.get(o);return X??a.get(ge=>{var fe;return typeof ge!="string"&&(process.env.NODE_ENV!=="production"?aa(!1,"Cache nodeKey is type string"):aa(!1)),(fe=gH(ae,G,ge))===null||fe===void 0?void 0:fe.contents})}function ot(ae,G){return Le(()=>de(ae,G))}function me(ae){ae.atomValues.delete(o)}function ve(ae,G){i==null&&(process.env.NODE_ENV!=="production"?aa(!1,"Recoil Value can never be null"):aa(!1));for(const ge of _){var X;const fe=bH(ge);(X=fe.clearCache)===null||X===void 0||X.call(fe,ae,G)}_.clear(),me(G),a.clear(),mS(ae,i)}return y!=null?i=pS({key:o,nodeType:"selector",peek:ht,get:ot,set:(G,X,ge)=>{let fe=!1;const Ne=new Map;function Oe({key:Ce}){if(fe)throw Ii("Recoil: Async selector sets are not currently supported.");const Xe=D0(G,X,Ce);if(Xe.state==="hasValue")return Xe.contents;if(Xe.state==="loading"){const yt=`Getting value of asynchronous atom or selector "${Ce}" in a pending state while setting selector "${o}" is not yet supported.`;throw ho(yt),Ii(yt)}else throw Xe.contents}function Ae(Ce,Xe){if(fe){const Ft="Recoil: Async selector sets are not currently supported.";throw ho(Ft),Ii(Ft)}const yt=typeof Xe=="function"?Xe(Oe(Ce)):Xe;yH(G,X,Ce.key,yt).forEach((Ft,hn)=>Ne.set(hn,Ft))}function $e(Ce){Ae(Ce,vH)}const st=y({set:Ae,get:Oe,reset:$e},ge);if(st!==void 0)throw _r(st)?Ii("Recoil: Async selector sets are not currently supported."):Ii("Recoil: selector set should be a void function.");return fe=!0,Ne},init:L,invalidate:me,clearCache:ve,shouldDeleteConfigOnRelease:j,dangerouslyAllowMutability:t.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:v}):i=pS({key:o,nodeType:"selector",peek:ht,get:ot,init:L,invalidate:me,clearCache:ve,shouldDeleteConfigOnRelease:j,dangerouslyAllowMutability:t.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:v})}yS.value=t=>new fS(t);var wh=yS;const{isLoadable:SH,loadableWithError:Eb,loadableWithPromise:Sb,loadableWithValue:Ih}=wf,{WrappedValue:_S}=aS,{peekNodeInfo:DH}=kl,{DEFAULT_VALUE:Vc,DefaultValue:jl,getConfigDeletionHandler:vS,registerNode:AH,setConfigDeletionHandler:NH}=$o,{isRecoilValue:CH}=Pc,{getRecoilValueAsLoadable:LH,markRecoilValueModified:OH,setRecoilValue:xS,setRecoilValueLoadable:zH}=oa,{retainedByOptionWithDefault:kH}=Bc,Rf=t=>t instanceof _S?t.value:t;function jH(t){const{key:i,persistence_UNSTABLE:o}=t,l=kH(t.retainedBy_UNSTABLE);let h=0;function y(ne){return Sb(ne.then(re=>(_=Ih(re),re)).catch(re=>{throw _=Eb(re),re}))}let _=_r(t.default)?y(t.default):SH(t.default)?t.default.state==="loading"?y(t.default.contents):t.default:Ih(Rf(t.default));E(_.contents);let a;const v=new Map;function E(ne){return process.env.NODE_ENV!=="production"&&t.dangerouslyAllowMutability!==!0?_r(ne)?ne.then(re=>(Ib(re),re)):(Ib(ne),ne):ne}function A(ne,re){const ie=re.then(te=>{var Ie,Me;return((Me=((Ie=ne.getState().nextTree)!==null&&Ie!==void 0?Ie:ne.getState().currentTree).atomValues.get(i))===null||Me===void 0?void 0:Me.contents)===ie&&xS(ne,ee,te),te}).catch(te=>{var Ie,Me;throw((Me=((Ie=ne.getState().nextTree)!==null&&Ie!==void 0?Ie:ne.getState().currentTree).atomValues.get(i))===null||Me===void 0?void 0:Me.contents)===ie&&zH(ne,ee,Eb(te)),te});return ie}function C(ne,re,ie){var te;h++;const Ie=()=>{var Ve;h--,(Ve=v.get(ne))===null||Ve===void 0||Ve.forEach(je=>je()),v.delete(ne)};if(ne.getState().knownAtoms.add(i),_.state==="loading"){const Ve=()=>{var je;((je=ne.getState().nextTree)!==null&&je!==void 0?je:ne.getState().currentTree).atomValues.has(i)||OH(ne,ee)};_.contents.finally(Ve)}const Me=(te=t.effects)!==null&&te!==void 0?te:t.effects_UNSTABLE;if(Me!=null){let Se=function(me){if(je&&me.key===i){const ve=Ve;return ve instanceof jl?L(ne,re):_r(ve)?Sb(ve.then(ae=>ae instanceof jl?_.toPromise():ae)):Ih(ve)}return LH(ne,me)},He=function(me){return Se(me).toPromise()},Re=function(me){var ve;const ae=DH(ne,(ve=ne.getState().nextTree)!==null&&ve!==void 0?ve:ne.getState().currentTree,me.key);return je&&me.key===i&&!(Ve instanceof jl)?{...ae,isSet:!0,loadable:Se(me)}:ae},Ve=Vc,je=!0,We=!1,tt=null;const Le=me=>ve=>{if(je){const ae=Se(ee),G=ae.state==="hasValue"?ae.contents:Vc;Ve=typeof ve=="function"?ve(G):ve,_r(Ve)&&(Ve=Ve.then(X=>(tt={effect:me,value:X},X)))}else{if(_r(ve))throw Ii("Setting atoms to async values is not implemented.");typeof ve!="function"&&(tt={effect:me,value:Rf(ve)}),xS(ne,ee,typeof ve=="function"?ae=>{const G=Rf(ve(ae));return tt={effect:me,value:G},G}:Rf(ve))}},ht=me=>()=>Le(me)(Vc),ot=me=>ve=>{var ae;const{release:G}=ne.subscribeToTransactions(X=>{var ge;let{currentTree:fe,previousTree:Ne}=X.getState();Ne||(ho("Transaction subscribers notified without a next tree being present -- this is a bug in Recoil"),Ne=fe);const Oe=(ge=fe.atomValues.get(i))!==null&&ge!==void 0?ge:_;if(Oe.state==="hasValue"){var Ae,$e,st,Ce;const Xe=Oe.contents,yt=(Ae=Ne.atomValues.get(i))!==null&&Ae!==void 0?Ae:_,jt=yt.state==="hasValue"?yt.contents:Vc;(($e=tt)===null||$e===void 0?void 0:$e.effect)!==me||((st=tt)===null||st===void 0?void 0:st.value)!==Xe?ve(Xe,jt,!fe.atomValues.has(i)):((Ce=tt)===null||Ce===void 0?void 0:Ce.effect)===me&&(tt=null)}},i);v.set(ne,[...(ae=v.get(ne))!==null&&ae!==void 0?ae:[],G])};for(const me of Me)try{const ve=me({node:ee,storeID:ne.storeID,parentStoreID_UNSTABLE:ne.parentStoreID,trigger:ie,setSelf:Le(me),resetSelf:ht(me),onSet:ot(me),getPromise:He,getLoadable:Se,getInfo_UNSTABLE:Re});if(ve!=null){var de;v.set(ne,[...(de=v.get(ne))!==null&&de!==void 0?de:[],ve])}}catch(ve){Ve=ve,We=!0}if(je=!1,!(Ve instanceof jl)){var qe;const me=We?Eb(Ve):_r(Ve)?Sb(A(ne,Ve)):Ih(Rf(Ve));E(me.contents),re.atomValues.set(i,me),(qe=ne.getState().nextTree)===null||qe===void 0||qe.atomValues.set(i,me)}}return Ie}function L(ne,re){var ie,te;return(ie=(te=re.atomValues.get(i))!==null&&te!==void 0?te:a)!==null&&ie!==void 0?ie:_}function j(ne,re){if(re.atomValues.has(i))return Ar(re.atomValues.get(i));if(re.nonvalidatedAtoms.has(i)){if(a!=null)return a;if(o==null)return a0(`Tried to restore a persisted value for atom ${i} but it has no persistence settings.`),_;const ie=re.nonvalidatedAtoms.get(i),te=o.validator(ie,Vc);return a=te instanceof jl?_:Ih(te),a}else return _}function U(){a=void 0}function V(ne,re,ie){if(re.atomValues.has(i)){const te=Ar(re.atomValues.get(i));if(te.state==="hasValue"&&ie===te.contents)return new Map}else if(!re.nonvalidatedAtoms.has(i)&&ie instanceof jl)return new Map;return E(ie),a=void 0,new Map().set(i,Ih(ie))}function Z(){return vS(i)!==void 0&&h<=0}const ee=AH({key:i,nodeType:"atom",peek:L,get:j,set:V,init:C,invalidate:U,shouldDeleteConfigOnRelease:Z,dangerouslyAllowMutability:t.dangerouslyAllowMutability,persistence_UNSTABLE:t.persistence_UNSTABLE?{type:t.persistence_UNSTABLE.type,backButton:t.persistence_UNSTABLE.backButton}:void 0,shouldRestoreFromSnapshots:!0,retainedBy:l});return ee}function Db(t){if(process.env.NODE_ENV!=="production"&&typeof t.key!="string")throw Ii("A key option with a unique string value must be provided when creating an atom.");const{...i}=t,o="default"in t?t.default:new Promise(()=>{});return CH(o)?RH({...i,default:o}):jH({...i,default:o})}function RH(t){const i=Db({...t,default:Vc,persistence_UNSTABLE:t.persistence_UNSTABLE===void 0?void 0:{...t.persistence_UNSTABLE,validator:l=>l instanceof jl?l:Ar(t.persistence_UNSTABLE).validator(l,Vc)},effects:t.effects,effects_UNSTABLE:t.effects_UNSTABLE}),o=wh({key:`${t.key}__withFallback`,get:({get:l})=>{const h=l(i);return h instanceof jl?t.default:h},set:({set:l},h)=>l(i,h),cachePolicy_UNSTABLE:{eviction:"most-recent"},dangerouslyAllowMutability:t.dangerouslyAllowMutability});return NH(o.key,vS(t.key)),o}Db.value=t=>new _S(t);var bS=Db;class PH{constructor(i){var o;Li(this,"_map",void 0),Li(this,"_keyMapper",void 0),this._map=new Map,this._keyMapper=(o=i==null?void 0:i.mapKey)!==null&&o!==void 0?o:l=>l}size(){return this._map.size}has(i){return this._map.has(this._keyMapper(i))}get(i){return this._map.get(this._keyMapper(i))}set(i,o){this._map.set(this._keyMapper(i),o)}delete(i){this._map.delete(this._keyMapper(i))}clear(){this._map.clear()}}var UH={MapCache:PH},BH=UH.MapCache,FH=Object.freeze({__proto__:null,MapCache:BH});const{LRUCache:MS}=uS,{MapCache:VH}=FH,N0={equality:"reference",eviction:"none",maxSize:1/0};function $H({equality:t=N0.equality,eviction:i=N0.eviction,maxSize:o=N0.maxSize}=N0){const l=YH(t);return QH(i,o,l)}function YH(t){switch(t){case"reference":return i=>i;case"value":return i=>T0(i)}throw Ii(`Unrecognized equality policy ${t}`)}function QH(t,i,o){switch(t){case"keep-all":return new VH({mapKey:o});case"lru":return new MS({mapKey:o,maxSize:Ar(i)});case"most-recent":return new MS({mapKey:o,maxSize:1})}throw Ii(`Unrecognized eviction policy ${t}`)}var wS=$H;const{setConfigDeletionHandler:HH}=$o;function GH(t){var i,o;const l=wS({equality:(i=(o=t.cachePolicyForParams_UNSTABLE)===null||o===void 0?void 0:o.equality)!==null&&i!==void 0?i:"value",eviction:"keep-all"});return h=>{var y,_;const a=l.get(h);if(a!=null)return a;const{cachePolicyForParams_UNSTABLE:v,...E}=t,A="default"in t?t.default:new Promise(()=>{}),C=bS({...E,key:`${t.key}__${(y=T0(h))!==null&&y!==void 0?y:"void"}`,default:typeof A=="function"?A(h):A,retainedBy_UNSTABLE:typeof t.retainedBy_UNSTABLE=="function"?t.retainedBy_UNSTABLE(h):t.retainedBy_UNSTABLE,effects:typeof t.effects=="function"?t.effects(h):typeof t.effects_UNSTABLE=="function"?t.effects_UNSTABLE(h):(_=t.effects)!==null&&_!==void 0?_:t.effects_UNSTABLE});return l.set(h,C),HH(C.key,()=>{l.delete(h)}),C}}var ZH=GH;const{setConfigDeletionHandler:WH}=$o;let qH=0;function KH(t){var i,o;const l=wS({equality:(i=(o=t.cachePolicyForParams_UNSTABLE)===null||o===void 0?void 0:o.equality)!==null&&i!==void 0?i:"value",eviction:"keep-all"});return h=>{var y;let _;try{_=l.get(h)}catch(L){throw Ii(`Problem with cache lookup for selector ${t.key}: ${L.message}`)}if(_!=null)return _;const a=`${t.key}__selectorFamily/${(y=T0(h,{allowFunctions:!0}))!==null&&y!==void 0?y:"void"}/${qH++}`,v=L=>t.get(h)(L),E=t.cachePolicy_UNSTABLE,A=typeof t.retainedBy_UNSTABLE=="function"?t.retainedBy_UNSTABLE(h):t.retainedBy_UNSTABLE;let C;if(t.set!=null){const L=t.set;C=wh({key:a,get:v,set:(U,V)=>L(h)(U,V),cachePolicy_UNSTABLE:E,dangerouslyAllowMutability:t.dangerouslyAllowMutability,retainedBy_UNSTABLE:A})}else C=wh({key:a,get:v,cachePolicy_UNSTABLE:E,dangerouslyAllowMutability:t.dangerouslyAllowMutability,retainedBy_UNSTABLE:A});return l.set(h,C),WH(C.key,()=>{l.delete(h)}),C}}var Rl=KH;const XH=Rl({key:"__constant",get:t=>()=>t,cachePolicyForParams_UNSTABLE:{equality:"reference"}});function JH(t){return XH(t)}var eG=JH;const tG=Rl({key:"__error",get:t=>()=>{throw Ii(t)},cachePolicyForParams_UNSTABLE:{equality:"reference"}});function nG(t){return tG(t)}var iG=nG;function rG(t){return t}var oG=rG;const{loadableWithError:IS,loadableWithPromise:TS,loadableWithValue:ES}=wf;function C0(t,i){const o=Array(i.length).fill(void 0),l=Array(i.length).fill(void 0);for(const[h,y]of i.entries())try{o[h]=t(y)}catch(_){l[h]=_}return[o,l]}function sG(t){return t!=null&&!_r(t)}function L0(t){return Array.isArray(t)?t:Object.getOwnPropertyNames(t).map(i=>t[i])}function Ab(t,i){return Array.isArray(t)?i:Object.getOwnPropertyNames(t).reduce((o,l,h)=>({...o,[l]:i[h]}),{})}function Th(t,i,o){const l=o.map((h,y)=>h==null?ES(i[y]):_r(h)?TS(h):IS(h));return Ab(t,l)}function aG(t,i){return i.map((o,l)=>o===void 0?t[l]:o)}const lG=Rl({key:"__waitForNone",get:t=>({get:i})=>{const o=L0(t),[l,h]=C0(i,o);return Th(t,l,h)},dangerouslyAllowMutability:!0}),cG=Rl({key:"__waitForAny",get:t=>({get:i})=>{const o=L0(t),[l,h]=C0(i,o);return h.some(y=>!_r(y))?Th(t,l,h):new Promise(y=>{for(const[_,a]of h.entries())_r(a)&&a.then(v=>{l[_]=v,h[_]=void 0,y(Th(t,l,h))}).catch(v=>{h[_]=v,y(Th(t,l,h))})})},dangerouslyAllowMutability:!0}),uG=Rl({key:"__waitForAll",get:t=>({get:i})=>{const o=L0(t),[l,h]=C0(i,o);if(h.every(_=>_==null))return Ab(t,l);const y=h.find(sG);if(y!=null)throw y;return Promise.all(h).then(_=>Ab(t,aG(l,_)))},dangerouslyAllowMutability:!0}),hG=Rl({key:"__waitForAllSettled",get:t=>({get:i})=>{const o=L0(t),[l,h]=C0(i,o);return h.every(y=>!_r(y))?Th(t,l,h):Promise.all(h.map((y,_)=>_r(y)?y.then(a=>{l[_]=a,h[_]=void 0}).catch(a=>{l[_]=void 0,h[_]=a}):null)).then(()=>Th(t,l,h))},dangerouslyAllowMutability:!0}),dG=Rl({key:"__noWait",get:t=>({get:i})=>{try{return wh.value(ES(i(t)))}catch(o){return wh.value(_r(o)?TS(o):IS(o))}},dangerouslyAllowMutability:!0});var fG={waitForNone:lG,waitForAny:cG,waitForAll:uG,waitForAllSettled:hG,noWait:dG};const{RecoilLoadable:pG}=wf,{DefaultValue:mG}=$o,{RecoilRoot:gG,useRecoilStoreID:yG}=Qa,{isRecoilValue:_G}=Pc,{retentionZone:vG}=d0,{freshSnapshot:xG}=_0,{useRecoilState:bG,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:MG,useRecoilStateLoadable:wG,useRecoilValue:IG,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:TG,useRecoilValueLoadable:EG,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:SG,useResetRecoilState:DG,useSetRecoilState:AG}=OY,{useGotoRecoilSnapshot:NG,useRecoilSnapshot:CG,useRecoilTransactionObserver:LG}=eS,{useRecoilCallback:OG}=sS,{noWait:zG,waitForAll:kG,waitForAllSettled:jG,waitForAny:RG,waitForNone:PG}=fG;var Eh={DefaultValue:mG,isRecoilValue:_G,RecoilLoadable:pG,RecoilEnv:vh,RecoilRoot:gG,useRecoilStoreID:yG,useRecoilBridgeAcrossReactRoots_UNSTABLE:sQ,atom:bS,selector:wh,atomFamily:ZH,selectorFamily:Rl,constSelector:eG,errorSelector:iG,readOnlySelector:oG,noWait:zG,waitForNone:PG,waitForAny:RG,waitForAll:kG,waitForAllSettled:jG,useRecoilValue:IG,useRecoilValueLoadable:EG,useRecoilState:bG,useRecoilStateLoadable:wG,useSetRecoilState:AG,useResetRecoilState:DG,useGetRecoilValueInfo_UNSTABLE:eQ,useRecoilRefresher_UNSTABLE:kQ,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:SG,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:TG,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:MG,useRecoilCallback:OG,useRecoilTransaction_UNSTABLE:BQ,useGotoRecoilSnapshot:NG,useRecoilSnapshot:CG,useRecoilTransactionObserver_UNSTABLE:LG,snapshot_UNSTABLE:xG,useRetain:yb,retentionZone:vG},UG=Eh.RecoilRoot,di=Eh.atom,SS=Eh.selector,cn=Eh.useRecoilValue,On=Eh.useRecoilState,bs=Eh.useResetRecoilState;const BG=(t,i)=>{const o=t[i];return o?typeof o=="function"?o():Promise.resolve(o):new Promise((l,h)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(h.bind(null,new Error("Unknown variable dynamic import: "+i)))})},FG="mi-components";let O0,DS,os=!1,Nb=!1;const Ha=(t,i="")=>()=>{},VG=(t,i)=>()=>{},$G="{visibility:hidden}.hydrated{visibility:inherit}",AS="http://www.w3.org/1999/xlink",NS={},YG="http://www.w3.org/2000/svg",QG="http://www.w3.org/1999/xhtml",HG=t=>t!=null,Cb=t=>(t=typeof t,t==="object"||t==="function");function CS(t){var i,o,l;return(l=(o=(i=t.head)===null||i===void 0?void 0:i.querySelector('meta[name="csp-nonce"]'))===null||o===void 0?void 0:o.getAttribute("content"))!==null&&l!==void 0?l:void 0}const Pe=(t,i,...o)=>{let l=null,h=null,y=!1,_=!1;const a=[],v=A=>{for(let C=0;C<A.length;C++)l=A[C],Array.isArray(l)?v(l):l!=null&&typeof l!="boolean"&&((y=typeof t!="function"&&!Cb(l))&&(l=String(l)),y&&_?a[a.length-1].$text$+=l:a.push(y?Lb(null,l):l),_=y)};if(v(o),i){i.key&&(h=i.key);{const A=i.className||i.class;A&&(i.class=typeof A!="object"?A:Object.keys(A).filter(C=>A[C]).join(" "))}}const E=Lb(t,null);return E.$attrs$=i,a.length>0&&(E.$children$=a),E.$key$=h,E},Lb=(t,i)=>{const o={$flags$:0,$tag$:t,$text$:i,$elm$:null,$children$:null};return o.$attrs$=null,o.$key$=null,o},Jr={},GG=t=>t&&t.$tag$===Jr,ZG=(t,i)=>t!=null&&!Cb(t)?i&4?t==="false"?!1:t===""||!!t:i&2?parseFloat(t):i&1?String(t):t:t,Ga=t=>Pl(t).$hostElement$,pr=(t,i,o)=>{const l=Ga(t);return{emit:h=>LS(l,i,{bubbles:!!(o&4),composed:!!(o&2),cancelable:!!(o&1),detail:h})}},LS=(t,i,o)=>{const l=fo.ce(i,o);return t.dispatchEvent(l),l},OS=new WeakMap,WG=(t,i,o)=>{let l=R0.get(t);gZ&&o?(l=l||new CSSStyleSheet,typeof l=="string"?l=i:l.replaceSync(i)):l=i,R0.set(t,l)},qG=(t,i,o,l)=>{var h;let y=zS(i);const _=R0.get(y);if(t=t.nodeType===11?t:la,_)if(typeof _=="string"){t=t.head||t;let a=OS.get(t),v;if(a||OS.set(t,a=new Set),!a.has(y)){{v=la.createElement("style"),v.innerHTML=_;const E=(h=fo.$nonce$)!==null&&h!==void 0?h:CS(la);E!=null&&v.setAttribute("nonce",E),t.insertBefore(v,t.querySelector("link"))}a&&a.add(y)}}else t.adoptedStyleSheets.includes(_)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,_]);return y},KG=t=>{const i=t.$cmpMeta$,o=t.$hostElement$,l=i.$flags$,h=Ha("attachStyles",i.$tagName$),y=qG(o.shadowRoot?o.shadowRoot:o.getRootNode(),i);l&10&&(o["s-sc"]=y,o.classList.add(y+"-h")),h()},zS=(t,i)=>"sc-"+t.$tagName$,kS=(t,i,o,l,h,y)=>{if(o!==l){let _=ZS(t,i),a=i.toLowerCase();if(i==="class"){const v=t.classList,E=jS(o),A=jS(l);v.remove(...E.filter(C=>C&&!A.includes(C))),v.add(...A.filter(C=>C&&!E.includes(C)))}else if(i==="style"){for(const v in o)(!l||l[v]==null)&&(v.includes("-")?t.style.removeProperty(v):t.style[v]="");for(const v in l)(!o||l[v]!==o[v])&&(v.includes("-")?t.style.setProperty(v,l[v]):t.style[v]=l[v])}else if(i!=="key")if(i==="ref")l&&l(t);else if(!_&&i[0]==="o"&&i[1]==="n")i[2]==="-"?i=i.slice(3):ZS(Pf,a)?i=a.slice(2):i=a[2]+i.slice(3),o&&fo.rel(t,i,o,!1),l&&fo.ael(t,i,l,!1);else{const v=Cb(l);if((_||v&&l!==null)&&!h)try{if(t.tagName.includes("-"))t[i]=l;else{const A=l??"";i==="list"?_=!1:(o==null||t[i]!=A)&&(t[i]=A)}}catch{}let E=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(i=a,E=!0),l==null||l===!1?(l!==!1||t.getAttribute(i)==="")&&(E?t.removeAttributeNS(AS,i):t.removeAttribute(i)):(!_||y&4||h)&&!v&&(l=l===!0?"":l,E?t.setAttributeNS(AS,i,l):t.setAttribute(i,l))}}},XG=/\s/,jS=t=>t?t.split(XG):[],RS=(t,i,o,l)=>{const h=i.$elm$.nodeType===11&&i.$elm$.host?i.$elm$.host:i.$elm$,y=t&&t.$attrs$||NS,_=i.$attrs$||NS;for(l in y)l in _||kS(h,l,y[l],void 0,o,i.$flags$);for(l in _)kS(h,l,y[l],_[l],o,i.$flags$)},z0=(t,i,o,l)=>{const h=i.$children$[o];let y=0,_,a;if(h.$text$!==null)_=h.$elm$=la.createTextNode(h.$text$);else{if(os||(os=h.$tag$==="svg"),_=h.$elm$=la.createElementNS(os?YG:QG,h.$tag$),os&&h.$tag$==="foreignObject"&&(os=!1),RS(null,h,os),HG(O0)&&_["s-si"]!==O0&&_.classList.add(_["s-si"]=O0),h.$children$)for(y=0;y<h.$children$.length;++y)a=z0(t,h,y),a&&_.appendChild(a);h.$tag$==="svg"?os=!1:_.tagName==="foreignObject"&&(os=!0)}return _},PS=(t,i,o,l,h,y)=>{let _=t,a;for(_.shadowRoot&&_.tagName===DS&&(_=_.shadowRoot);h<=y;++h)l[h]&&(a=z0(null,o,h),a&&(l[h].$elm$=a,_.insertBefore(a,i)))},US=(t,i,o,l,h)=>{for(;i<=o;++i)(l=t[i])&&(h=l.$elm$,BS(l),h.remove())},JG=(t,i,o,l)=>{let h=0,y=0,_=0,a=0,v=i.length-1,E=i[0],A=i[v],C=l.length-1,L=l[0],j=l[C],U,V;for(;h<=v&&y<=C;)if(E==null)E=i[++h];else if(A==null)A=i[--v];else if(L==null)L=l[++y];else if(j==null)j=l[--C];else if(k0(E,L))Sh(E,L),E=i[++h],L=l[++y];else if(k0(A,j))Sh(A,j),A=i[--v],j=l[--C];else if(k0(E,j))Sh(E,j),t.insertBefore(E.$elm$,A.$elm$.nextSibling),E=i[++h],j=l[--C];else if(k0(A,L))Sh(A,L),t.insertBefore(A.$elm$,E.$elm$),A=i[--v],L=l[++y];else{for(_=-1,a=h;a<=v;++a)if(i[a]&&i[a].$key$!==null&&i[a].$key$===L.$key$){_=a;break}_>=0?(V=i[_],V.$tag$!==L.$tag$?U=z0(i&&i[y],o,_):(Sh(V,L),i[_]=void 0,U=V.$elm$),L=l[++y]):(U=z0(i&&i[y],o,y),L=l[++y]),U&&E.$elm$.parentNode.insertBefore(U,E.$elm$)}h>v?PS(t,l[C+1]==null?null:l[C+1].$elm$,o,l,y,C):y>C&&US(i,h,v)},k0=(t,i)=>t.$tag$===i.$tag$?t.$key$===i.$key$:!1,Sh=(t,i)=>{const o=i.$elm$=t.$elm$,l=t.$children$,h=i.$children$,y=i.$tag$,_=i.$text$;_===null?(os=y==="svg"?!0:y==="foreignObject"?!1:os,y==="slot"||RS(t,i,os),l!==null&&h!==null?JG(o,l,i,h):h!==null?(t.$text$!==null&&(o.textContent=""),PS(o,null,i,h,0,h.length-1)):l!==null&&US(l,0,l.length-1),os&&y==="svg"&&(os=!1)):t.$text$!==_&&(o.data=_)},BS=t=>{t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(BS)},eZ=(t,i)=>{const o=t.$hostElement$,l=t.$cmpMeta$,h=t.$vnode$||Lb(null,null),y=GG(i)?i:Pe(null,null,i);DS=o.tagName,l.$attrsToReflect$&&(y.$attrs$=y.$attrs$||{},l.$attrsToReflect$.map(([_,a])=>y.$attrs$[a]=o[_])),y.$tag$=null,y.$flags$|=4,t.$vnode$=y,y.$elm$=h.$elm$=o.shadowRoot||o,O0=o["s-sc"],Sh(h,y)},FS=(t,i)=>{i&&!t.$onRenderResolve$&&i["s-p"]&&i["s-p"].push(new Promise(o=>t.$onRenderResolve$=o))},j0=(t,i)=>{if(t.$flags$|=16,t.$flags$&4){t.$flags$|=512;return}return FS(t,t.$ancestorComponent$),_Z(()=>tZ(t,i))},tZ=(t,i)=>{const o=Ha("scheduleUpdate",t.$cmpMeta$.$tagName$),l=t.$lazyInstance$;let h;return i&&(t.$flags$|=256,t.$queuedListeners$&&(t.$queuedListeners$.map(([y,_])=>$c(l,y,_)),t.$queuedListeners$=null),h=$c(l,"componentWillLoad")),h=$S(h,()=>$c(l,"componentWillRender")),o(),$S(h,()=>nZ(t,l,i))},nZ=async(t,i,o)=>{const l=t.$hostElement$,h=Ha("update",t.$cmpMeta$.$tagName$),y=l["s-rc"];o&&KG(t);const _=Ha("render",t.$cmpMeta$.$tagName$);iZ(t,i),y&&(y.map(a=>a()),l["s-rc"]=void 0),_(),h();{const a=l["s-p"],v=()=>rZ(t);a.length===0?v():(Promise.all(a).then(v),t.$flags$|=4,a.length=0)}},iZ=(t,i,o)=>{try{i=i.render&&i.render(),t.$flags$&=-17,t.$flags$|=2,eZ(t,i)}catch(l){Yc(l,t.$hostElement$)}return null},rZ=t=>{const i=t.$cmpMeta$.$tagName$,o=t.$hostElement$,l=Ha("postUpdate",i),h=t.$lazyInstance$,y=t.$ancestorComponent$;$c(h,"componentDidRender"),t.$flags$&64?l():(t.$flags$|=64,YS(o),$c(h,"componentDidLoad"),l(),t.$onReadyResolve$(o),y||VS()),t.$onInstanceResolve$(o),t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),t.$flags$&512&&jb(()=>j0(t,!1)),t.$flags$&=-517},Ob=t=>{{const i=Pl(t),o=i.$hostElement$.isConnected;return o&&(i.$flags$&18)===2&&j0(i,!1),o}},VS=t=>{YS(la.documentElement),jb(()=>LS(Pf,"appload",{detail:{namespace:FG}}))},$c=(t,i,o)=>{if(t&&t[i])try{return t[i](o)}catch(l){Yc(l)}},$S=(t,i)=>t&&t.then?t.then(i):i(),YS=t=>t.classList.add("hydrated"),oZ=(t,i)=>Pl(t).$instanceValues$.get(i),sZ=(t,i,o,l)=>{const h=Pl(t),y=h.$hostElement$,_=h.$instanceValues$.get(i),a=h.$flags$,v=h.$lazyInstance$;o=ZG(o,l.$members$[i][0]);const E=Number.isNaN(_)&&Number.isNaN(o),A=o!==_&&!E;if((!(a&8)||_===void 0)&&A&&(h.$instanceValues$.set(i,o),v)){if(l.$watchers$&&a&128){const C=l.$watchers$[i];C&&C.map(L=>{try{v[L](o,_,i)}catch(j){Yc(j,y)}})}(a&18)===2&&j0(h,!1)}},QS=(t,i,o)=>{if(i.$members$){t.watchers&&(i.$watchers$=t.watchers);const l=Object.entries(i.$members$),h=t.prototype;if(l.map(([y,[_]])=>{_&31||o&2&&_&32?Object.defineProperty(h,y,{get(){return oZ(this,y)},set(a){sZ(this,y,a,i)},configurable:!0,enumerable:!0}):o&1&&_&64&&Object.defineProperty(h,y,{value(...a){const v=Pl(this);return v.$onInstancePromise$.then(()=>v.$lazyInstance$[y](...a))}})}),o&1){const y=new Map;h.attributeChangedCallback=function(_,a,v){fo.jmp(()=>{const E=y.get(_);if(this.hasOwnProperty(E))v=this[E],delete this[E];else if(h.hasOwnProperty(E)&&typeof this[E]=="number"&&this[E]==v)return;this[E]=v===null&&typeof this[E]=="boolean"?!1:v})},t.observedAttributes=l.filter(([_,a])=>a[0]&15).map(([_,a])=>{const v=a[1]||_;return y.set(v,_),a[0]&512&&i.$attrsToReflect$.push([_,v]),v})}}return t},aZ=async(t,i,o,l,h)=>{if(!(i.$flags$&32)){{if(i.$flags$|=32,h=mZ(o),h.then){const v=VG();h=await h,v()}h.isProxied||(o.$watchers$=h.watchers,QS(h,o,2),h.isProxied=!0);const a=Ha("createInstance",o.$tagName$);i.$flags$|=8;try{new h(i)}catch(v){Yc(v)}i.$flags$&=-9,i.$flags$|=128,a(),HS(i.$lazyInstance$)}if(h.style){let a=h.style;const v=zS(o);if(!R0.has(v)){const E=Ha("registerStyles",o.$tagName$);WG(v,a,!!(o.$flags$&1)),E()}}}const y=i.$ancestorComponent$,_=()=>j0(i,!0);y&&y["s-rc"]?y["s-rc"].push(_):_()},HS=t=>{$c(t,"connectedCallback")},lZ=t=>{if(!(fo.$flags$&1)){const i=Pl(t),o=i.$cmpMeta$,l=Ha("connectedCallback",o.$tagName$);if(i.$flags$&1)GS(t,i,o.$listeners$),HS(i.$lazyInstance$);else{i.$flags$|=1;{let h=t;for(;h=h.parentNode||h.host;)if(h["s-p"]){FS(i,i.$ancestorComponent$=h);break}}o.$members$&&Object.entries(o.$members$).map(([h,[y]])=>{if(y&31&&t.hasOwnProperty(h)){const _=t[h];delete t[h],t[h]=_}}),aZ(t,i,o)}l()}},cZ=t=>{if(!(fo.$flags$&1)){const i=Pl(t),o=i.$lazyInstance$;i.$rmListeners$&&(i.$rmListeners$.map(l=>l()),i.$rmListeners$=void 0),$c(o,"disconnectedCallback")}},uZ=(t,i={})=>{var o;const l=Ha(),h=[],y=i.exclude||[],_=Pf.customElements,a=la.head,v=a.querySelector("meta[charset]"),E=la.createElement("style"),A=[];let C,L=!0;Object.assign(fo,i),fo.$resourcesUrl$=new URL(i.resourcesUrl||"./",la.baseURI).href,t.map(j=>{j[1].map(U=>{const V={$flags$:U[0],$tagName$:U[1],$members$:U[2],$listeners$:U[3]};V.$members$=U[2],V.$listeners$=U[3],V.$attrsToReflect$=[],V.$watchers$={};const Z=V.$tagName$,ee=class extends HTMLElement{constructor(ne){super(ne),ne=this,pZ(ne,V),V.$flags$&1&&ne.attachShadow({mode:"open"})}connectedCallback(){C&&(clearTimeout(C),C=null),L?A.push(this):fo.jmp(()=>lZ(this))}disconnectedCallback(){fo.jmp(()=>cZ(this))}componentOnReady(){return Pl(this).$onReadyPromise$}};V.$lazyBundleId$=j[0],!y.includes(Z)&&!_.get(Z)&&(h.push(Z),_.define(Z,QS(ee,V,1)))})});{E.innerHTML=h+$G,E.setAttribute("data-styles","");const j=(o=fo.$nonce$)!==null&&o!==void 0?o:CS(la);j!=null&&E.setAttribute("nonce",j),a.insertBefore(E,v?v.nextSibling:a.firstChild)}L=!1,A.length?A.map(j=>j.connectedCallback()):fo.jmp(()=>C=setTimeout(VS,30)),l()},GS=(t,i,o,l)=>{o&&o.map(([h,y,_])=>{const a=dZ(t,h),v=hZ(i,_),E=fZ(h);fo.ael(a,y,v,E),(i.$rmListeners$=i.$rmListeners$||[]).push(()=>fo.rel(a,y,v,E))})},hZ=(t,i)=>o=>{try{t.$flags$&256?t.$lazyInstance$[i](o):(t.$queuedListeners$=t.$queuedListeners$||[]).push([i,o])}catch(l){Yc(l)}},dZ=(t,i)=>i&8?Pf:t,fZ=t=>(t&2)!==0,zb=new WeakMap,Pl=t=>zb.get(t),Pi=(t,i)=>zb.set(i.$lazyInstance$=t,i),pZ=(t,i)=>{const o={$flags$:0,$hostElement$:t,$cmpMeta$:i,$instanceValues$:new Map};return o.$onInstancePromise$=new Promise(l=>o.$onInstanceResolve$=l),o.$onReadyPromise$=new Promise(l=>o.$onReadyResolve$=l),t["s-p"]=[],t["s-rc"]=[],GS(t,o,i.$listeners$),zb.set(t,o)},ZS=(t,i)=>i in t,Yc=(t,i)=>(0,console.error)(t,i),WS=new Map,mZ=(t,i,o)=>{const l=t.$tagName$.replace(/-/g,"_"),h=t.$lazyBundleId$,y=WS.get(h);if(y)return y[l];/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return BG(Object.assign({"./combo-box-item.entry.js":()=>Promise.resolve().then(()=>LK),"./mi-card_2.entry.js":()=>Promise.resolve().then(()=>kK),"./mi-chip.entry.js":()=>Promise.resolve().then(()=>RK),"./mi-column.entry.js":()=>Promise.resolve().then(()=>PK),"./mi-combo-box.entry.js":()=>Promise.resolve().then(()=>FK),"./mi-data-table.entry.js":()=>Promise.resolve().then(()=>WK),"./mi-distance_2.entry.js":()=>Promise.resolve().then(()=>XK),"./mi-dropdown-item.entry.js":()=>Promise.resolve().then(()=>JK),"./mi-dropdown.entry.js":()=>Promise.resolve().then(()=>tX),"./mi-floor-selector.entry.js":()=>Promise.resolve().then(()=>iX),"./mi-keyboard.entry.js":()=>Promise.resolve().then(()=>hX),"./mi-list-item-category.entry.js":()=>Promise.resolve().then(()=>fX),"./mi-list-item-location.entry.js":()=>Promise.resolve().then(()=>mX),"./mi-list.entry.js":()=>Promise.resolve().then(()=>yX),"./mi-location-booking.entry.js":()=>Promise.resolve().then(()=>Vie),"./mi-location-info.entry.js":()=>Promise.resolve().then(()=>Yie),"./mi-map-googlemaps.entry.js":()=>Promise.resolve().then(()=>Gie),"./mi-map-mapbox.entry.js":()=>Promise.resolve().then(()=>Kie),"./mi-metric-card.entry.js":()=>Promise.resolve().then(()=>Jie),"./mi-my-position.entry.js":()=>Promise.resolve().then(()=>gre),"./mi-notification.entry.js":()=>Promise.resolve().then(()=>_re),"./mi-route-instructions-heading.entry.js":()=>Promise.resolve().then(()=>xre),"./mi-route-instructions-maneuver-legacy.entry.js":()=>Promise.resolve().then(()=>Mre),"./mi-route-instructions-maneuver.entry.js":()=>Promise.resolve().then(()=>Ire),"./mi-route-instructions-step-legacy.entry.js":()=>Promise.resolve().then(()=>Ere),"./mi-route-instructions-step.entry.js":()=>Promise.resolve().then(()=>Dre),"./mi-route-instructions.entry.js":()=>Promise.resolve().then(()=>Nre),"./mi-scroll-buttons.entry.js":()=>Promise.resolve().then(()=>Lre),"./mi-search.entry.js":()=>Promise.resolve().then(()=>Rre),"./mi-share-sms.entry.js":()=>Promise.resolve().then(()=>Ure),"./mi-step-switcher.entry.js":()=>Promise.resolve().then(()=>Fre),"./mi-tab-panel.entry.js":()=>Promise.resolve().then(()=>$re),"./mi-tab.entry.js":()=>Promise.resolve().then(()=>Yre),"./mi-tabs.entry.js":()=>Promise.resolve().then(()=>Hre),"./mi-time.entry.js":()=>Promise.resolve().then(()=>Gre)}),`./${h}.entry.js`).then(_=>(WS.set(h,_),_[l]),Yc)},R0=new Map,Pf=typeof window<"u"?window:{},la=Pf.document||{head:{}},fo={$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,i,o,l)=>t.addEventListener(i,o,l),rel:(t,i,o,l)=>t.removeEventListener(i,o,l),ce:(t,i)=>new CustomEvent(t,i)},qS=t=>Promise.resolve(t),gZ=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),KS=[],XS=[],yZ=(t,i)=>o=>{t.push(o),Nb||(Nb=!0,i&&fo.$flags$&4?jb(kb):fo.raf(kb))},JS=t=>{for(let i=0;i<t.length;i++)try{t[i](performance.now())}catch(o){Yc(o)}t.length=0},kb=()=>{JS(KS),JS(XS),(Nb=KS.length>0)&&fo.raf(kb)},jb=t=>qS().then(t),_Z=yZ(XS,!0),vZ=()=>qS(),xZ=(t,i)=>typeof window>"u"?Promise.resolve():vZ().then(()=>uZ([["mi-route-instructions",[[1,"mi-route-instructions",{activeStep:[1040],unit:[1],route:[16],hideIndoorSubsteps:[4,"hide-indoor-substeps"],travelMode:[1,"travel-mode"],originLocation:[16],originName:[1,"origin-name"],destinationLocation:[16],destinationName:[1,"destination-name"],translations:[16]}]]],["mi-route-instructions-step",[[1,"mi-route-instructions-step",{step:[1],hideIndoorSubsteps:[4,"hide-indoor-substeps"],fromRouteContext:[1,"from-route-context"],fromTravelMode:[1,"from-travel-mode"],fromTransitStop:[1,"from-transit-stop"],destinationLocation:[1,"destination-location"],unit:[1],showToggleButton:[4,"show-toggle-button"],translations:[1],stepData:[32],translationsData:[32],substepsAreOpen:[32],openSubsteps:[64],closeSubsteps:[64]}]]],["mi-route-instructions-heading",[[1,"mi-route-instructions-heading",{originName:[1,"origin-name"],destinationName:[1,"destination-name"],totalTravelTime:[2,"total-travel-time"],totalWalkingDistance:[2,"total-walking-distance"],travelMode:[1,"travel-mode"],unit:[1],translations:[16]}]]],["mi-list",[[1,"mi-list",{scrollButtonsEnabled:[4,"scroll-buttons-enabled"],scrollLength:[2,"scroll-length"]},[[0,"listItemDidRender","updateScrollButtonsState"]]]]],["mi-list-item-location",[[1,"mi-list-item-location",{location:[8],showExternalId:[4,"show-external-id"],unit:[1],icon:[1],level:[1],iconBadge:[1,"icon-badge"],iconBadgeValue:[1,"icon-badge-value"],iconURLToRender:[32]}]]],["mi-metric-card",[[1,"mi-metric-card",{label:[1],value:[1],tip:[1],spinner:[4],error:[1],showToolTip:[32]}]]],["mi-location-booking",[[1,"mi-location-booking",{location:[16],duration:[2],translations:[16],show:[2],startHour:[2,"start-hour"],stopHour:[2,"stop-hour"],bookingTitle:[1,"booking-title"],timeSlots:[32]}]]],["mi-share-sms",[[0,"mi-share-sms",{venueId:[1,"venue"],originLocationId:[1,"origin"],destinationLocationId:[1,"destination"],countryCode:[1,"country-code"],phoneNumberInputPlaceholder:[1,"input-placeholder"],submitButtonLabel:[1,"submit-button-label"]}]]],["combo-box-item",[[0,"combo-box-item",{selected:[4],value:[1],text:[1]}]]],["mi-chip",[[0,"mi-chip",{icon:[1],content:[1],backgroundColor:[1,"background-color"],active:[4]}]]],["mi-column",[[1,"mi-column",{monospace:[4],alignContent:[1,"align-content"],label:[1],sortable:[1],sort:[1],binding:[1],fitContent:[4,"fit-content"],width:[1]},[[0,"cellContentClicked","cellContentClickedHandler"]]]]],["mi-combo-box",[[1,"mi-combo-box",{open:[4],items:[16],itemsOrder:[1,"items-order"],filterable:[4],selected:[16],noResultsMessage:[1,"no-results-message"],disabled:[4],currentItems:[32]},[[8,"click","checkForClickOutside"],[1,"mousemove","mouseMoveEventHandler"],[11,"scroll","scrollEventHandler"],[11,"resize","resizeEventHandler"]]]]],["mi-data-table",[[1,"mi-data-table",{rows:[16],maxRows:[2,"max-rows"],page:[2],selectable:[4],selected:[16],emptyPageHeader:[1,"empty-page-header"],emptyPageSubheader:[1,"empty-page-subheader"],isHeaderSticky:[4,"sticky-header"],numberOfSelectedRows:[32],tableRows:[32],currentPage:[32],sortByColumn:[32]}]]],["mi-dropdown",[[1,"mi-dropdown",{open:[4],items:[16],itemsOrder:[1,"items-order"],label:[1],filterable:[4],multiple:[4],selected:[16],noResultsMessage:[1,"no-results-message"],iconSrc:[1,"icon"],iconAlt:[1,"icon-alt"],disabled:[4],currentItems:[32]},[[0,"focusout","focusOutEventHandler"],[8,"click","checkForClickOutside"],[1,"mousemove","mouseMoveEventHandler"],[11,"scroll","scrollEventHandler"],[11,"resize","resizeEventHandler"]]]]],["mi-dropdown-item",[[0,"mi-dropdown-item",{selected:[4],value:[1],text:[1]}]]],["mi-floor-selector",[[0,"mi-floor-selector",{mapsindoors:[8],primaryColor:[1,"primary-color"],floors:[32],currentFloor:[32],floorSelectorClosed:[32],fadeFloorSelectorOnTop:[32],fadeFloorSelectorOnBottom:[32]}]]],["mi-list-item-category",[[1,"mi-list-item-category",{category:[8],orientation:[513]}]]],["mi-map-googlemaps",[[1,"mi-map-googlemaps",{gmApiKey:[1,"gm-api-key"],miApiKey:[1,"mi-api-key"],gmOptions:[16],disableExternalLinks:[4,"disable-external-links"],floorSelectorControlPosition:[1,"floor-selector-control-position"],floorIndex:[1537,"floor-index"],myPositionControlPosition:[1,"my-position-control-position"],polygonHighlightOptions:[16],language:[1],polylineOptions:[16],getMapInstance:[64],getMapsIndoorsInstance:[64],getDirectionsServiceInstance:[64],getDirectionsRendererInstance:[64],highlightLocation:[64],clearHighlightLocation:[64]}]]],["mi-map-mapbox",[[1,"mi-map-mapbox",{accessToken:[1,"access-token"],miApiKey:[1,"mi-api-key"],disableExternalLinks:[4,"disable-external-links"],floorSelectorControlPosition:[1,"floor-selector-control-position"],floorIndex:[1537,"floor-index"],myPositionControlPosition:[1,"my-position-control-position"],polygonHighlightOptions:[16],polylineOptions:[16],zoom:[1537],maxPitch:[1538,"max-pitch"],maxZoom:[1537,"max-zoom"],bearing:[1537],pitch:[1537],language:[1],getMapInstance:[64],getMapsIndoorsInstance:[64],getDirectionsServiceInstance:[64],getDirectionsRendererInstance:[64],highlightLocation:[64],clearHighlightLocation:[64]}]]],["mi-my-position",[[0,"mi-my-position",{mapsindoors:[8],myPositionOptions:[8,"my-position-options"],positionState:[32],watchPosition:[64]}]]],["mi-notification",[[1,"mi-notification",{position:[1],duration:[2],push:[64],clearAll:[64]}]]],["mi-search",[[0,"mi-search",{placeholder:[1],idAttribute:[1,"id-attribute"],dataAttributes:[16],mapsindoors:[4],google:[4],mapbox:[4],language:[1],miFields:[1,"mi-fields"],miTake:[2,"mi-take"],miSkip:[2,"mi-skip"],miOrder:[1,"mi-order"],miCategories:[1,"mi-categories"],miNear:[1,"mi-near"],miVenue:[1,"mi-venue"],gmCountryCode:[1,"gm-country-code"],value:[1537],disabled:[4],sessionToken:[1,"session-token"],userPosition:[1,"user-position"],clear:[64],triggerSearch:[64],setDisplayText:[64],focusInput:[64],getInputField:[64]}]]],["mi-step-switcher",[[1,"mi-step-switcher",{heading:[1],steps:[16],stepIndex:[514,"step-index"]}]]],["mi-tab",[[1,"mi-tab",{label:[1],tabFor:[1,"tab-for"]}]]],["mi-tab-panel",[[1,"mi-tab-panel",{isActive:[32],active:[64]}]]],["mi-tabs",[[1,"mi-tabs",{active:[2],bordered:[4],tabs:[32]}]]],["mi-distance_2",[[1,"mi-distance",{meters:[2],unit:[1]}],[1,"mi-icon",{iconName:[1,"icon-name"]}]]],["mi-route-instructions-step-legacy",[[1,"mi-route-instructions-step-legacy",{step:[1],hideIndoorSubsteps:[4,"hide-indoor-substeps"],fromRouteContext:[1,"from-route-context"],fromTravelMode:[1,"from-travel-mode"],fromTransitStop:[1,"from-transit-stop"],unit:[1],translations:[1],stepData:[32],translationsData:[32],substepsAreOpen:[32]}]]],["mi-route-instructions-maneuver",[[1,"mi-route-instructions-maneuver",{maneuver:[1],translations:[1],unit:[1],maneuverData:[32],translationsData:[32]}]]],["mi-scroll-buttons",[[1,"mi-scroll-buttons",{scrollContainerElementRef:[16],scrollLength:[2,"scroll-length"],updateScrollButtonsState:[64]}]]],["mi-keyboard",[[0,"mi-keyboard",{inputElement:[16],layout:[1],language:[1],clearInputField:[64]}]]],["mi-route-instructions-maneuver-legacy",[[1,"mi-route-instructions-maneuver-legacy",{maneuver:[1],translations:[1],unit:[1],maneuverData:[32],translationsData:[32]}]]],["mi-card_2",[[1,"mi-card"],[1,"mi-spinner",{inverse:[4]}]]],["mi-location-info",[[1,"mi-location-info",{location:[8],level:[1],showExternalId:[4,"show-external-id"]}]]],["mi-time",[[1,"mi-time",{seconds:[2],translations:[1],translationsData:[32]}]]]],i)),bZ={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,i){console&&console[t]&&console[t].apply(console,i)}};class P0{constructor(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(i,o)}init(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=o.prefix||"i18next:",this.logger=i||bZ,this.options=o,this.debug=o.debug}log(){for(var i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];return this.forward(o,"log","",!0)}warn(){for(var i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];return this.forward(o,"warn","",!0)}error(){for(var i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];return this.forward(o,"error","")}deprecate(){for(var i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];return this.forward(o,"warn","WARNING DEPRECATED: ",!0)}forward(i,o,l,h){return h&&!this.debug?null:(typeof i[0]=="string"&&(i[0]=`${l}${this.prefix} ${i[0]}`),this.logger[o](i))}create(i){return new P0(this.logger,{prefix:`${this.prefix}:${i}:`,...this.options})}clone(i){return i=i||this.options,i.prefix=i.prefix||this.prefix,new P0(this.logger,i)}}var ca=new P0;class U0{constructor(){this.observers={}}on(i,o){return i.split(" ").forEach(l=>{this.observers[l]=this.observers[l]||[],this.observers[l].push(o)}),this}off(i,o){if(this.observers[i]){if(!o){delete this.observers[i];return}this.observers[i]=this.observers[i].filter(l=>l!==o)}}emit(i){for(var o=arguments.length,l=new Array(o>1?o-1:0),h=1;h<o;h++)l[h-1]=arguments[h];this.observers[i]&&[].concat(this.observers[i]).forEach(_=>{_(...l)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(_=>{_.apply(_,[i,...l])})}}function Uf(){let t,i;const o=new Promise((l,h)=>{t=l,i=h});return o.resolve=t,o.reject=i,o}function eD(t){return t==null?"":""+t}function MZ(t,i,o){t.forEach(l=>{i[l]&&(o[l]=i[l])})}function Rb(t,i,o){function l(_){return _&&_.indexOf("###")>-1?_.replace(/###/g,"."):_}function h(){return!t||typeof t=="string"}const y=typeof i!="string"?[].concat(i):i.split(".");for(;y.length>1;){if(h())return{};const _=l(y.shift());!t[_]&&o&&(t[_]=new o),Object.prototype.hasOwnProperty.call(t,_)?t=t[_]:t={}}return h()?{}:{obj:t,k:l(y.shift())}}function tD(t,i,o){const{obj:l,k:h}=Rb(t,i,Object);l[h]=o}function wZ(t,i,o,l){const{obj:h,k:y}=Rb(t,i,Object);h[y]=h[y]||[],l&&(h[y]=h[y].concat(o)),l||h[y].push(o)}function B0(t,i){const{obj:o,k:l}=Rb(t,i);if(o)return o[l]}function IZ(t,i,o){const l=B0(t,o);return l!==void 0?l:B0(i,o)}function nD(t,i,o){for(const l in i)l!=="__proto__"&&l!=="constructor"&&(l in t?typeof t[l]=="string"||t[l]instanceof String||typeof i[l]=="string"||i[l]instanceof String?o&&(t[l]=i[l]):nD(t[l],i[l],o):t[l]=i[l]);return t}function Dh(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var TZ={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function EZ(t){return typeof t=="string"?t.replace(/[&<>"'\/]/g,i=>TZ[i]):t}const SZ=[" ",",","?","!",";"];function DZ(t,i,o){i=i||"",o=o||"";const l=SZ.filter(_=>i.indexOf(_)<0&&o.indexOf(_)<0);if(l.length===0)return!0;const h=new RegExp(`(${l.map(_=>_==="?"?"\\?":_).join("|")})`);let y=!h.test(t);if(!y){const _=t.indexOf(o);_>0&&!h.test(t.substring(0,_))&&(y=!0)}return y}function F0(t,i){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!t)return;if(t[i])return t[i];const l=i.split(o);let h=t;for(let y=0;y<l.length;++y){if(!h||typeof h[l[y]]=="string"&&y+1<l.length)return;if(h[l[y]]===void 0){let _=2,a=l.slice(y,y+_).join(o),v=h[a];for(;v===void 0&&l.length>y+_;)_++,a=l.slice(y,y+_).join(o),v=h[a];if(v===void 0)return;if(v===null)return null;if(i.endsWith(a)){if(typeof v=="string")return v;if(a&&typeof v[a]=="string")return v[a]}const E=l.slice(y+_).join(o);return E?F0(v,E,o):void 0}h=h[l[y]]}return h}function V0(t){return t&&t.indexOf("_")>0?t.replace("_","-"):t}class iD extends U0{constructor(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=i||{},this.options=o,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}removeNamespaces(i){const o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}getResource(i,o,l){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const y=h.keySeparator!==void 0?h.keySeparator:this.options.keySeparator,_=h.ignoreJSONStructure!==void 0?h.ignoreJSONStructure:this.options.ignoreJSONStructure;let a=[i,o];l&&typeof l!="string"&&(a=a.concat(l)),l&&typeof l=="string"&&(a=a.concat(y?l.split(y):l)),i.indexOf(".")>-1&&(a=i.split("."));const v=B0(this.data,a);return v||!_||typeof l!="string"?v:F0(this.data&&this.data[i]&&this.data[i][o],l,y)}addResource(i,o,l,h){let y=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const _=y.keySeparator!==void 0?y.keySeparator:this.options.keySeparator;let a=[i,o];l&&(a=a.concat(_?l.split(_):l)),i.indexOf(".")>-1&&(a=i.split("."),h=o,o=a[1]),this.addNamespaces(o),tD(this.data,a,h),y.silent||this.emit("added",i,o,l,h)}addResources(i,o,l){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const y in l)(typeof l[y]=="string"||Object.prototype.toString.apply(l[y])==="[object Array]")&&this.addResource(i,o,y,l[y],{silent:!0});h.silent||this.emit("added",i,o,l)}addResourceBundle(i,o,l,h,y){let _=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},a=[i,o];i.indexOf(".")>-1&&(a=i.split("."),h=l,l=o,o=a[1]),this.addNamespaces(o);let v=B0(this.data,a)||{};h?nD(v,l,y):v={...v,...l},tD(this.data,a,v),_.silent||this.emit("added",i,o,l)}removeResourceBundle(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}hasResourceBundle(i,o){return this.getResource(i,o)!==void 0}getResourceBundle(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(i,o)}:this.getResource(i,o)}getDataByLanguage(i){return this.data[i]}hasLanguageSomeTranslations(i){const o=this.getDataByLanguage(i);return!!(o&&Object.keys(o)||[]).find(h=>o[h]&&Object.keys(o[h]).length>0)}toJSON(){return this.data}}var rD={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,i,o,l,h){return t.forEach(y=>{this.processors[y]&&(i=this.processors[y].process(i,o,l,h))}),i}};const oD={};class $0 extends U0{constructor(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),MZ(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],i,this),this.options=o,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ca.create("translator")}changeLanguage(i){i&&(this.language=i)}exists(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;const l=this.resolve(i,o);return l&&l.res!==void 0}extractFromKey(i,o){let l=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;l===void 0&&(l=":");const h=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let y=o.ns||this.options.defaultNS||[];const _=l&&i.indexOf(l)>-1,a=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!DZ(i,l,h);if(_&&!a){const v=i.match(this.interpolator.nestingRegexp);if(v&&v.length>0)return{key:i,namespaces:y};const E=i.split(l);(l!==h||l===h&&this.options.ns.indexOf(E[0])>-1)&&(y=E.shift()),i=E.join(h)}return typeof y=="string"&&(y=[y]),{key:i,namespaces:y}}translate(i,o,l){if(typeof o!="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),typeof o=="object"&&(o={...o}),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);const h=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,y=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,{key:_,namespaces:a}=this.extractFromKey(i[i.length-1],o),v=a[a.length-1],E=o.lng||this.language,A=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(E&&E.toLowerCase()==="cimode"){if(A){const ie=o.nsSeparator||this.options.nsSeparator;return h?{res:`${v}${ie}${_}`,usedKey:_,exactUsedKey:_,usedLng:E,usedNS:v,usedParams:this.getUsedParamsDetails(o)}:`${v}${ie}${_}`}return h?{res:_,usedKey:_,exactUsedKey:_,usedLng:E,usedNS:v,usedParams:this.getUsedParamsDetails(o)}:_}const C=this.resolve(i,o);let L=C&&C.res;const j=C&&C.usedKey||_,U=C&&C.exactUsedKey||_,V=Object.prototype.toString.apply(L),Z=["[object Number]","[object Function]","[object RegExp]"],ee=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,ne=!this.i18nFormat||this.i18nFormat.handleAsObject;if(ne&&L&&(typeof L!="string"&&typeof L!="boolean"&&typeof L!="number")&&Z.indexOf(V)<0&&!(typeof ee=="string"&&V==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const ie=this.options.returnedObjectHandler?this.options.returnedObjectHandler(j,L,{...o,ns:a}):`key '${_} (${this.language})' returned an object instead of string.`;return h?(C.res=ie,C.usedParams=this.getUsedParamsDetails(o),C):ie}if(y){const ie=V==="[object Array]",te=ie?[]:{},Ie=ie?U:j;for(const Me in L)if(Object.prototype.hasOwnProperty.call(L,Me)){const de=`${Ie}${y}${Me}`;te[Me]=this.translate(de,{...o,joinArrays:!1,ns:a}),te[Me]===de&&(te[Me]=L[Me])}L=te}}else if(ne&&typeof ee=="string"&&V==="[object Array]")L=L.join(ee),L&&(L=this.extendTranslation(L,i,o,l));else{let ie=!1,te=!1;const Ie=o.count!==void 0&&typeof o.count!="string",Me=$0.hasDefaultValue(o),de=Ie?this.pluralResolver.getSuffix(E,o.count,o):"",qe=o.ordinal&&Ie?this.pluralResolver.getSuffix(E,o.count,{ordinal:!1}):"",Ve=o[`defaultValue${de}`]||o[`defaultValue${qe}`]||o.defaultValue;!this.isValidLookup(L)&&Me&&(ie=!0,L=Ve),this.isValidLookup(L)||(te=!0,L=_);const We=(o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&te?void 0:L,tt=Me&&Ve!==L&&this.options.updateMissing;if(te||ie||tt){if(this.logger.log(tt?"updateKey":"missingKey",E,v,_,tt?Ve:L),y){const Le=this.resolve(_,{...o,keySeparator:!1});Le&&Le.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 Se=[];const He=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&He&&He[0])for(let Le=0;Le<He.length;Le++)Se.push(He[Le]);else this.options.saveMissingTo==="all"?Se=this.languageUtils.toResolveHierarchy(o.lng||this.language):Se.push(o.lng||this.language);const Re=(Le,ht,ot)=>{const me=Me&&ot!==L?ot:We;this.options.missingKeyHandler?this.options.missingKeyHandler(Le,v,ht,me,tt,o):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(Le,v,ht,me,tt,o),this.emit("missingKey",Le,v,ht,L)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Ie?Se.forEach(Le=>{this.pluralResolver.getSuffixes(Le,o).forEach(ht=>{Re([Le],_+ht,o[`defaultValue${ht}`]||Ve)})}):Re(Se,_,Ve))}L=this.extendTranslation(L,i,o,C,l),te&&L===_&&this.options.appendNamespaceToMissingKey&&(L=`${v}:${_}`),(te||ie)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?L=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${v}:${_}`:_,ie?L:void 0):L=this.options.parseMissingKeyHandler(L))}return h?(C.res=L,C.usedParams=this.getUsedParamsDetails(o),C):L}extendTranslation(i,o,l,h,y){var _=this;if(this.i18nFormat&&this.i18nFormat.parse)i=this.i18nFormat.parse(i,{...this.options.interpolation.defaultVariables,...l},l.lng||this.language||h.usedLng,h.usedNS,h.usedKey,{resolved:h});else if(!l.skipInterpolation){l.interpolation&&this.interpolator.init({...l,interpolation:{...this.options.interpolation,...l.interpolation}});const E=typeof i=="string"&&(l&&l.interpolation&&l.interpolation.skipOnVariables!==void 0?l.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let A;if(E){const L=i.match(this.interpolator.nestingRegexp);A=L&&L.length}let C=l.replace&&typeof l.replace!="string"?l.replace:l;if(this.options.interpolation.defaultVariables&&(C={...this.options.interpolation.defaultVariables,...C}),i=this.interpolator.interpolate(i,C,l.lng||this.language,l),E){const L=i.match(this.interpolator.nestingRegexp),j=L&&L.length;A<j&&(l.nest=!1)}!l.lng&&this.options.compatibilityAPI!=="v1"&&h&&h.res&&(l.lng=h.usedLng),l.nest!==!1&&(i=this.interpolator.nest(i,function(){for(var L=arguments.length,j=new Array(L),U=0;U<L;U++)j[U]=arguments[U];return y&&y[0]===j[0]&&!l.context?(_.logger.warn(`It seems you are nesting recursively key: ${j[0]} in key: ${o[0]}`),null):_.translate(...j,o)},l)),l.interpolation&&this.interpolator.reset()}const a=l.postProcess||this.options.postProcess,v=typeof a=="string"?[a]:a;return i!=null&&v&&v.length&&l.applyPostProcessor!==!1&&(i=rD.handle(v,i,o,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...h,usedParams:this.getUsedParamsDetails(l)},...l}:l,this)),i}resolve(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l,h,y,_,a;return typeof i=="string"&&(i=[i]),i.forEach(v=>{if(this.isValidLookup(l))return;const E=this.extractFromKey(v,o),A=E.key;h=A;let C=E.namespaces;this.options.fallbackNS&&(C=C.concat(this.options.fallbackNS));const L=o.count!==void 0&&typeof o.count!="string",j=L&&!o.ordinal&&o.count===0&&this.pluralResolver.shouldUseIntlApi(),U=o.context!==void 0&&(typeof o.context=="string"||typeof o.context=="number")&&o.context!=="",V=o.lngs?o.lngs:this.languageUtils.toResolveHierarchy(o.lng||this.language,o.fallbackLng);C.forEach(Z=>{this.isValidLookup(l)||(a=Z,!oD[`${V[0]}-${Z}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(a)&&(oD[`${V[0]}-${Z}`]=!0,this.logger.warn(`key "${h}" for languages "${V.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!!!")),V.forEach(ee=>{if(this.isValidLookup(l))return;_=ee;const ne=[A];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(ne,A,ee,Z,o);else{let ie;L&&(ie=this.pluralResolver.getSuffix(ee,o.count,o));const te=`${this.options.pluralSeparator}zero`,Ie=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(L&&(ne.push(A+ie),o.ordinal&&ie.indexOf(Ie)===0&&ne.push(A+ie.replace(Ie,this.options.pluralSeparator)),j&&ne.push(A+te)),U){const Me=`${A}${this.options.contextSeparator}${o.context}`;ne.push(Me),L&&(ne.push(Me+ie),o.ordinal&&ie.indexOf(Ie)===0&&ne.push(Me+ie.replace(Ie,this.options.pluralSeparator)),j&&ne.push(Me+te))}}let re;for(;re=ne.pop();)this.isValidLookup(l)||(y=re,l=this.getResource(ee,Z,re,o))}))})}),{res:l,usedKey:h,exactUsedKey:y,usedLng:_,usedNS:a}}isValidLookup(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}getResource(i,o,l){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,l,h):this.resourceStore.getResource(i,o,l,h)}getUsedParamsDetails(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const o=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],l=i.replace&&typeof i.replace!="string";let h=l?i.replace:i;if(l&&typeof i.count<"u"&&(h.count=i.count),this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),!l){h={...h};for(const y of o)delete h[y]}return h}static hasDefaultValue(i){const o="defaultValue";for(const l in i)if(Object.prototype.hasOwnProperty.call(i,l)&&o===l.substring(0,o.length)&&i[l]!==void 0)return!0;return!1}}function Pb(t){return t.charAt(0).toUpperCase()+t.slice(1)}class sD{constructor(i){this.options=i,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ca.create("languageUtils")}getScriptPartFromCode(i){if(i=V0(i),!i||i.indexOf("-")<0)return null;const o=i.split("-");return o.length===2||(o.pop(),o[o.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(o.join("-"))}getLanguagePartFromCode(i){if(i=V0(i),!i||i.indexOf("-")<0)return i;const o=i.split("-");return this.formatLanguageCode(o[0])}formatLanguageCode(i){if(typeof i=="string"&&i.indexOf("-")>-1){const o=["hans","hant","latn","cyrl","cans","mong","arab"];let l=i.split("-");return this.options.lowerCaseLng?l=l.map(h=>h.toLowerCase()):l.length===2?(l[0]=l[0].toLowerCase(),l[1]=l[1].toUpperCase(),o.indexOf(l[1].toLowerCase())>-1&&(l[1]=Pb(l[1].toLowerCase()))):l.length===3&&(l[0]=l[0].toLowerCase(),l[1].length===2&&(l[1]=l[1].toUpperCase()),l[0]!=="sgn"&&l[2].length===2&&(l[2]=l[2].toUpperCase()),o.indexOf(l[1].toLowerCase())>-1&&(l[1]=Pb(l[1].toLowerCase())),o.indexOf(l[2].toLowerCase())>-1&&(l[2]=Pb(l[2].toLowerCase()))),l.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?i.toLowerCase():i}isSupportedCode(i){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(i=this.getLanguagePartFromCode(i)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(i)>-1}getBestMatchFromCodes(i){if(!i)return null;let o;return i.forEach(l=>{if(o)return;const h=this.formatLanguageCode(l);(!this.options.supportedLngs||this.isSupportedCode(h))&&(o=h)}),!o&&this.options.supportedLngs&&i.forEach(l=>{if(o)return;const h=this.getLanguagePartFromCode(l);if(this.isSupportedCode(h))return o=h;o=this.options.supportedLngs.find(y=>{if(y===h)return y;if(!(y.indexOf("-")<0&&h.indexOf("-")<0)&&y.indexOf(h)===0)return y})}),o||(o=this.getFallbackCodes(this.options.fallbackLng)[0]),o}getFallbackCodes(i,o){if(!i)return[];if(typeof i=="function"&&(i=i(o)),typeof i=="string"&&(i=[i]),Object.prototype.toString.apply(i)==="[object Array]")return i;if(!o)return i.default||[];let l=i[o];return l||(l=i[this.getScriptPartFromCode(o)]),l||(l=i[this.formatLanguageCode(o)]),l||(l=i[this.getLanguagePartFromCode(o)]),l||(l=i.default),l||[]}toResolveHierarchy(i,o){const l=this.getFallbackCodes(o||this.options.fallbackLng||[],i),h=[],y=_=>{_&&(this.isSupportedCode(_)?h.push(_):this.logger.warn(`rejecting language code not found in supportedLngs: ${_}`))};return typeof i=="string"&&(i.indexOf("-")>-1||i.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&y(this.formatLanguageCode(i)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&y(this.getScriptPartFromCode(i)),this.options.load!=="currentOnly"&&y(this.getLanguagePartFromCode(i))):typeof i=="string"&&y(this.formatLanguageCode(i)),l.forEach(_=>{h.indexOf(_)<0&&y(this.formatLanguageCode(_))}),h}}let AZ=[{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}],NZ={1:function(t){return+(t>1)},2:function(t){return+(t!=1)},3:function(t){return 0},4:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},5:function(t){return t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},6:function(t){return t==1?0:t>=2&&t<=4?1:2},7:function(t){return t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},8:function(t){return t==1?0:t==2?1:t!=8&&t!=11?2:3},9:function(t){return+(t>=2)},10:function(t){return t==1?0:t==2?1:t<7?2:t<11?3:4},11:function(t){return t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3},12:function(t){return+(t%10!=1||t%100==11)},13:function(t){return+(t!==0)},14:function(t){return t==1?0:t==2?1:t==3?2:3},15:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2},16:function(t){return t%10==1&&t%100!=11?0:t!==0?1:2},17:function(t){return t==1||t%10==1&&t%100!=11?0:1},18:function(t){return t==0?0:t==1?1:2},19:function(t){return t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3},20:function(t){return t==1?0:t==0||t%100>0&&t%100<20?1:2},21:function(t){return t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0},22:function(t){return t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3}};const CZ=["v1","v2","v3"],LZ=["v4"],aD={zero:0,one:1,two:2,few:3,many:4,other:5};function OZ(){const t={};return AZ.forEach(i=>{i.lngs.forEach(o=>{t[o]={numbers:i.nr,plurals:NZ[i.fc]}})}),t}class zZ{constructor(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=i,this.options=o,this.logger=ca.create("pluralResolver"),(!this.options.compatibilityJSON||LZ.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!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=OZ()}addRule(i,o){this.rules[i]=o}getRule(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(V0(i),{type:o.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[i]||this.rules[this.languageUtils.getLanguagePartFromCode(i)]}needsPlural(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const l=this.getRule(i,o);return this.shouldUseIntlApi()?l&&l.resolvedOptions().pluralCategories.length>1:l&&l.numbers.length>1}getPluralFormsOfKey(i,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(i,l).map(h=>`${o}${h}`)}getSuffixes(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const l=this.getRule(i,o);return l?this.shouldUseIntlApi()?l.resolvedOptions().pluralCategories.sort((h,y)=>aD[h]-aD[y]).map(h=>`${this.options.prepend}${o.ordinal?`ordinal${this.options.prepend}`:""}${h}`):l.numbers.map(h=>this.getSuffix(i,h,o)):[]}getSuffix(i,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const h=this.getRule(i,l);return h?this.shouldUseIntlApi()?`${this.options.prepend}${l.ordinal?`ordinal${this.options.prepend}`:""}${h.select(o)}`:this.getSuffixRetroCompatible(h,o):(this.logger.warn(`no plural rule found for: ${i}`),"")}getSuffixRetroCompatible(i,o){const l=i.noAbs?i.plurals(o):i.plurals(Math.abs(o));let h=i.numbers[l];this.options.simplifyPluralSuffix&&i.numbers.length===2&&i.numbers[0]===1&&(h===2?h="plural":h===1&&(h=""));const y=()=>this.options.prepend&&h.toString()?this.options.prepend+h.toString():h.toString();return this.options.compatibilityJSON==="v1"?h===1?"":typeof h=="number"?`_plural_${h.toString()}`:y():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&i.numbers.length===2&&i.numbers[0]===1?y():this.options.prepend&&l.toString()?this.options.prepend+l.toString():l.toString()}shouldUseIntlApi(){return!CZ.includes(this.options.compatibilityJSON)}}function lD(t,i,o){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",h=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,y=IZ(t,i,o);return!y&&h&&typeof o=="string"&&(y=F0(t,o,l),y===void 0&&(y=F0(i,o,l))),y}class kZ{constructor(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ca.create("interpolator"),this.options=i,this.format=i.interpolation&&i.interpolation.format||(o=>o),this.init(i)}init(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};i.interpolation||(i.interpolation={escapeValue:!0});const o=i.interpolation;this.escape=o.escape!==void 0?o.escape:EZ,this.escapeValue=o.escapeValue!==void 0?o.escapeValue:!0,this.useRawValueToEscape=o.useRawValueToEscape!==void 0?o.useRawValueToEscape:!1,this.prefix=o.prefix?Dh(o.prefix):o.prefixEscaped||"{{",this.suffix=o.suffix?Dh(o.suffix):o.suffixEscaped||"}}",this.formatSeparator=o.formatSeparator?o.formatSeparator:o.formatSeparator||",",this.unescapePrefix=o.unescapeSuffix?"":o.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":o.unescapeSuffix||"",this.nestingPrefix=o.nestingPrefix?Dh(o.nestingPrefix):o.nestingPrefixEscaped||Dh("$t("),this.nestingSuffix=o.nestingSuffix?Dh(o.nestingSuffix):o.nestingSuffixEscaped||Dh(")"),this.nestingOptionsSeparator=o.nestingOptionsSeparator?o.nestingOptionsSeparator:o.nestingOptionsSeparator||",",this.maxReplaces=o.maxReplaces?o.maxReplaces:1e3,this.alwaysFormat=o.alwaysFormat!==void 0?o.alwaysFormat:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const i=`${this.prefix}(.+?)${this.suffix}`;this.regexp=new RegExp(i,"g");const o=`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;this.regexpUnescape=new RegExp(o,"g");const l=`${this.nestingPrefix}(.+?)${this.nestingSuffix}`;this.nestingRegexp=new RegExp(l,"g")}interpolate(i,o,l,h){let y,_,a;const v=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function E(U){return U.replace(/\$/g,"$$$$")}const A=U=>{if(U.indexOf(this.formatSeparator)<0){const ne=lD(o,v,U,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(ne,void 0,l,{...h,...o,interpolationkey:U}):ne}const V=U.split(this.formatSeparator),Z=V.shift().trim(),ee=V.join(this.formatSeparator).trim();return this.format(lD(o,v,Z,this.options.keySeparator,this.options.ignoreJSONStructure),ee,l,{...h,...o,interpolationkey:Z})};this.resetRegExp();const C=h&&h.missingInterpolationHandler||this.options.missingInterpolationHandler,L=h&&h.interpolation&&h.interpolation.skipOnVariables!==void 0?h.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:U=>E(U)},{regex:this.regexp,safeValue:U=>this.escapeValue?E(this.escape(U)):E(U)}].forEach(U=>{for(a=0;y=U.regex.exec(i);){const V=y[1].trim();if(_=A(V),_===void 0)if(typeof C=="function"){const ee=C(i,y,h);_=typeof ee=="string"?ee:""}else if(h&&Object.prototype.hasOwnProperty.call(h,V))_="";else if(L){_=y[0];continue}else this.logger.warn(`missed to pass in variable ${V} for interpolating ${i}`),_="";else typeof _!="string"&&!this.useRawValueToEscape&&(_=eD(_));const Z=U.safeValue(_);if(i=i.replace(y[0],Z),L?(U.regex.lastIndex+=_.length,U.regex.lastIndex-=y[0].length):U.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),i}nest(i,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h,y,_;function a(v,E){const A=this.nestingOptionsSeparator;if(v.indexOf(A)<0)return v;const C=v.split(new RegExp(`${A}[ ]*{`));let L=`{${C[1]}`;v=C[0],L=this.interpolate(L,_);const j=L.match(/'/g),U=L.match(/"/g);(j&&j.length%2===0&&!U||U.length%2!==0)&&(L=L.replace(/'/g,'"'));try{_=JSON.parse(L),E&&(_={...E,..._})}catch(V){return this.logger.warn(`failed parsing options string in nesting for key ${v}`,V),`${v}${A}${L}`}return delete _.defaultValue,v}for(;h=this.nestingRegexp.exec(i);){let v=[];_={...l},_=_.replace&&typeof _.replace!="string"?_.replace:_,_.applyPostProcessor=!1,delete _.defaultValue;let E=!1;if(h[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(h[1])){const A=h[1].split(this.formatSeparator).map(C=>C.trim());h[1]=A.shift(),v=A,E=!0}if(y=o(a.call(this,h[1].trim(),_),_),y&&h[0]===i&&typeof y!="string")return y;typeof y!="string"&&(y=eD(y)),y||(this.logger.warn(`missed to resolve ${h[1]} for nesting ${i}`),y=""),E&&(y=v.reduce((A,C)=>this.format(A,C,l.lng,{...l,interpolationkey:h[1].trim()}),y.trim())),i=i.replace(h[0],y),this.regexp.lastIndex=0}return i}}function jZ(t){let i=t.toLowerCase().trim();const o={};if(t.indexOf("(")>-1){const l=t.split("(");i=l[0].toLowerCase().trim();const h=l[1].substring(0,l[1].length-1);i==="currency"&&h.indexOf(":")<0?o.currency||(o.currency=h.trim()):i==="relativetime"&&h.indexOf(":")<0?o.range||(o.range=h.trim()):h.split(";").forEach(_=>{if(!_)return;const[a,...v]=_.split(":"),E=v.join(":").trim().replace(/^'+|'+$/g,"");o[a.trim()]||(o[a.trim()]=E),E==="false"&&(o[a.trim()]=!1),E==="true"&&(o[a.trim()]=!0),isNaN(E)||(o[a.trim()]=parseInt(E,10))})}return{formatName:i,formatOptions:o}}function Ah(t){const i={};return function(l,h,y){const _=h+JSON.stringify(y);let a=i[_];return a||(a=t(V0(h),y),i[_]=a),a(l)}}class RZ{constructor(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ca.create("formatter"),this.options=i,this.formats={number:Ah((o,l)=>{const h=new Intl.NumberFormat(o,{...l});return y=>h.format(y)}),currency:Ah((o,l)=>{const h=new Intl.NumberFormat(o,{...l,style:"currency"});return y=>h.format(y)}),datetime:Ah((o,l)=>{const h=new Intl.DateTimeFormat(o,{...l});return y=>h.format(y)}),relativetime:Ah((o,l)=>{const h=new Intl.RelativeTimeFormat(o,{...l});return y=>h.format(y,l.range||"day")}),list:Ah((o,l)=>{const h=new Intl.ListFormat(o,{...l});return y=>h.format(y)})},this.init(i)}init(i){const l=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=l.formatSeparator?l.formatSeparator:l.formatSeparator||","}add(i,o){this.formats[i.toLowerCase().trim()]=o}addCached(i,o){this.formats[i.toLowerCase().trim()]=Ah(o)}format(i,o,l){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return o.split(this.formatSeparator).reduce((a,v)=>{const{formatName:E,formatOptions:A}=jZ(v);if(this.formats[E]){let C=a;try{const L=h&&h.formatParams&&h.formatParams[h.interpolationkey]||{},j=L.locale||L.lng||h.locale||h.lng||l;C=this.formats[E](a,j,{...A,...h,...L})}catch(L){this.logger.warn(L)}return C}else this.logger.warn(`there was no format function for ${E}`);return a},i)}}function PZ(t,i){t.pending[i]!==void 0&&(delete t.pending[i],t.pendingCount--)}class UZ extends U0{constructor(i,o,l){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=i,this.store=o,this.services=l,this.languageUtils=l.languageUtils,this.options=h,this.logger=ca.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=h.maxParallelReads||10,this.readingCalls=0,this.maxRetries=h.maxRetries>=0?h.maxRetries:5,this.retryTimeout=h.retryTimeout>=1?h.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(l,h.backend,h)}queueLoad(i,o,l,h){const y={},_={},a={},v={};return i.forEach(E=>{let A=!0;o.forEach(C=>{const L=`${E}|${C}`;!l.reload&&this.store.hasResourceBundle(E,C)?this.state[L]=2:this.state[L]<0||(this.state[L]===1?_[L]===void 0&&(_[L]=!0):(this.state[L]=1,A=!1,_[L]===void 0&&(_[L]=!0),y[L]===void 0&&(y[L]=!0),v[C]===void 0&&(v[C]=!0)))}),A||(a[E]=!0)}),(Object.keys(y).length||Object.keys(_).length)&&this.queue.push({pending:_,pendingCount:Object.keys(_).length,loaded:{},errors:[],callback:h}),{toLoad:Object.keys(y),pending:Object.keys(_),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(v)}}loaded(i,o,l){const h=i.split("|"),y=h[0],_=h[1];o&&this.emit("failedLoading",y,_,o),l&&this.store.addResourceBundle(y,_,l),this.state[i]=o?-1:2;const a={};this.queue.forEach(v=>{wZ(v.loaded,[y],_),PZ(v,i),o&&v.errors.push(o),v.pendingCount===0&&!v.done&&(Object.keys(v.loaded).forEach(E=>{a[E]||(a[E]={});const A=v.loaded[E];A.length&&A.forEach(C=>{a[E][C]===void 0&&(a[E][C]=!0)})}),v.done=!0,v.errors.length?v.callback(v.errors):v.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(v=>!v.done)}read(i,o,l){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,y=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,_=arguments.length>5?arguments[5]:void 0;if(!i.length)return _(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:l,tried:h,wait:y,callback:_});return}this.readingCalls++;const a=(E,A)=>{if(this.readingCalls--,this.waitingReads.length>0){const C=this.waitingReads.shift();this.read(C.lng,C.ns,C.fcName,C.tried,C.wait,C.callback)}if(E&&A&&h<this.maxRetries){setTimeout(()=>{this.read.call(this,i,o,l,h+1,y*2,_)},y);return}_(E,A)},v=this.backend[l].bind(this.backend);if(v.length===2){try{const E=v(i,o);E&&typeof E.then=="function"?E.then(A=>a(null,A)).catch(a):a(null,E)}catch(E){a(E)}return}return v(i,o,a)}prepareLoading(i,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=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."),h&&h();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);const y=this.queueLoad(i,o,l,h);if(!y.toLoad.length)return y.pending.length||h(),null;y.toLoad.forEach(_=>{this.loadOne(_)})}load(i,o,l){this.prepareLoading(i,o,{},l)}reload(i,o,l){this.prepareLoading(i,o,{reload:!0},l)}loadOne(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const l=i.split("|"),h=l[0],y=l[1];this.read(h,y,"read",void 0,void 0,(_,a)=>{_&&this.logger.warn(`${o}loading namespace ${y} for language ${h} failed`,_),!_&&a&&this.logger.log(`${o}loaded namespace ${y} for language ${h}`,a),this.loaded(i,_,a)})}saveMissing(i,o,l,h,y){let _=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},a=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn(`did not save key "${l}" as the namespace "${o}" 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!!!");return}if(!(l==null||l==="")){if(this.backend&&this.backend.create){const v={..._,isUpdate:y},E=this.backend.create.bind(this.backend);if(E.length<6)try{let A;E.length===5?A=E(i,o,l,h,v):A=E(i,o,l,h),A&&typeof A.then=="function"?A.then(C=>a(null,C)).catch(a):a(null,A)}catch(A){a(A)}else E(i,o,l,h,a,v)}!i||!i[0]||this.store.addResource(i[0],o,l,h)}}}function cD(){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(i){let o={};if(typeof i[1]=="object"&&(o=i[1]),typeof i[1]=="string"&&(o.defaultValue=i[1]),typeof i[2]=="string"&&(o.tDescription=i[2]),typeof i[2]=="object"||typeof i[3]=="object"){const l=i[3]||i[2];Object.keys(l).forEach(h=>{o[h]=l[h]})}return o},interpolation:{escapeValue:!0,format:(t,i,o,l)=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function uD(t){return typeof t.ns=="string"&&(t.ns=[t.ns]),typeof t.fallbackLng=="string"&&(t.fallbackLng=[t.fallbackLng]),typeof t.fallbackNS=="string"&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t}function Y0(){}function BZ(t){Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(o=>{typeof t[o]=="function"&&(t[o]=t[o].bind(t))})}class Bf extends U0{constructor(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(super(),this.options=uD(i),this.services={},this.logger=ca,this.modules={external:[]},BZ(this),o&&!this.isInitialized&&!i.isClone){if(!this.options.initImmediate)return this.init(i,o),this;setTimeout(()=>{this.init(i,o)},0)}}init(){var i=this;let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(l=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));const h=cD();this.options={...h,...this.options,...uD(o)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...h.interpolation,...this.options.interpolation}),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function y(A){return A?typeof A=="function"?new A:A:null}if(!this.options.isClone){this.modules.logger?ca.init(y(this.modules.logger),this.options):ca.init(null,this.options);let A;this.modules.formatter?A=this.modules.formatter:typeof Intl<"u"&&(A=RZ);const C=new sD(this.options);this.store=new iD(this.options.resources,this.options);const L=this.services;L.logger=ca,L.resourceStore=this.store,L.languageUtils=C,L.pluralResolver=new zZ(C,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),A&&(!this.options.interpolation.format||this.options.interpolation.format===h.interpolation.format)&&(L.formatter=y(A),L.formatter.init(L,this.options),this.options.interpolation.format=L.formatter.format.bind(L.formatter)),L.interpolator=new kZ(this.options),L.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},L.backendConnector=new UZ(y(this.modules.backend),L.resourceStore,L,this.options),L.backendConnector.on("*",function(j){for(var U=arguments.length,V=new Array(U>1?U-1:0),Z=1;Z<U;Z++)V[Z-1]=arguments[Z];i.emit(j,...V)}),this.modules.languageDetector&&(L.languageDetector=y(this.modules.languageDetector),L.languageDetector.init&&L.languageDetector.init(L,this.options.detection,this.options)),this.modules.i18nFormat&&(L.i18nFormat=y(this.modules.i18nFormat),L.i18nFormat.init&&L.i18nFormat.init(this)),this.translator=new $0(this.services,this.options),this.translator.on("*",function(j){for(var U=arguments.length,V=new Array(U>1?U-1:0),Z=1;Z<U;Z++)V[Z-1]=arguments[Z];i.emit(j,...V)}),this.modules.external.forEach(j=>{j.init&&j.init(this)})}if(this.format=this.options.interpolation.format,l||(l=Y0),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const A=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);A.length>0&&A[0]!=="dev"&&(this.options.lng=A[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(A=>{this[A]=function(){return i.store[A](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(A=>{this[A]=function(){return i.store[A](...arguments),i}});const v=Uf(),E=()=>{const A=(C,L)=>{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),v.resolve(L),l(C,L)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return A(null,this.t.bind(this));this.changeLanguage(this.options.lng,A)};return this.options.resources||!this.options.initImmediate?E():setTimeout(E,0),v}loadResources(i){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Y0;const h=typeof i=="string"?i:this.language;if(typeof i=="function"&&(l=i),!this.options.resources||this.options.partialBundledLanguages){if(h&&h.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return l();const y=[],_=a=>{if(!a||a==="cimode")return;this.services.languageUtils.toResolveHierarchy(a).forEach(E=>{E!=="cimode"&&y.indexOf(E)<0&&y.push(E)})};h?_(h):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(v=>_(v)),this.options.preload&&this.options.preload.forEach(a=>_(a)),this.services.backendConnector.load(y,this.options.ns,a=>{!a&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),l(a)})}else l(null)}reloadResources(i,o,l){const h=Uf();return i||(i=this.languages),o||(o=this.options.ns),l||(l=Y0),this.services.backendConnector.reload(i,o,y=>{h.resolve(),l(y)}),h}use(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&rD.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}setResolvedLanguage(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(let o=0;o<this.languages.length;o++){const l=this.languages[o];if(!(["cimode","dev"].indexOf(l)>-1)&&this.store.hasLanguageSomeTranslations(l)){this.resolvedLanguage=l;break}}}changeLanguage(i,o){var l=this;this.isLanguageChangingTo=i;const h=Uf();this.emit("languageChanging",i);const y=v=>{this.language=v,this.languages=this.services.languageUtils.toResolveHierarchy(v),this.resolvedLanguage=void 0,this.setResolvedLanguage(v)},_=(v,E)=>{E?(y(E),this.translator.changeLanguage(E),this.isLanguageChangingTo=void 0,this.emit("languageChanged",E),this.logger.log("languageChanged",E)):this.isLanguageChangingTo=void 0,h.resolve(function(){return l.t(...arguments)}),o&&o(v,function(){return l.t(...arguments)})},a=v=>{!i&&!v&&this.services.languageDetector&&(v=[]);const E=typeof v=="string"?v:this.services.languageUtils.getBestMatchFromCodes(v);E&&(this.language||y(E),this.translator.language||this.translator.changeLanguage(E),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(E)),this.loadResources(E,A=>{_(A,E)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(i),h}getFixedT(i,o,l){var h=this;const y=function(_,a){let v;if(typeof a!="object"){for(var E=arguments.length,A=new Array(E>2?E-2:0),C=2;C<E;C++)A[C-2]=arguments[C];v=h.options.overloadTranslationOptionHandler([_,a].concat(A))}else v={...a};v.lng=v.lng||y.lng,v.lngs=v.lngs||y.lngs,v.ns=v.ns||y.ns,v.keyPrefix=v.keyPrefix||l||y.keyPrefix;const L=h.options.keySeparator||".";let j;return v.keyPrefix&&Array.isArray(_)?j=_.map(U=>`${v.keyPrefix}${L}${U}`):j=v.keyPrefix?`${v.keyPrefix}${L}${_}`:_,h.t(j,v)};return typeof i=="string"?y.lng=i:y.lngs=i,y.ns=o,y.keyPrefix=l,y}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(i){this.options.defaultNS=i}hasLoadedNamespace(i){let o=arguments.length>1&&arguments[1]!==void 0?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 l=o.lng||this.resolvedLanguage||this.languages[0],h=this.options?this.options.fallbackLng:!1,y=this.languages[this.languages.length-1];if(l.toLowerCase()==="cimode")return!0;const _=(a,v)=>{const E=this.services.backendConnector.state[`${a}|${v}`];return E===-1||E===2};if(o.precheck){const a=o.precheck(this,_);if(a!==void 0)return a}return!!(this.hasResourceBundle(l,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||_(l,i)&&(!h||_(y,i)))}loadNamespaces(i,o){const l=Uf();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(h=>{this.options.ns.indexOf(h)<0&&this.options.ns.push(h)}),this.loadResources(h=>{l.resolve(),o&&o(h)}),l):(o&&o(),Promise.resolve())}loadLanguages(i,o){const l=Uf();typeof i=="string"&&(i=[i]);const h=this.options.preload||[],y=i.filter(_=>h.indexOf(_)<0);return y.length?(this.options.preload=h.concat(y),this.loadResources(_=>{l.resolve(),o&&o(_)}),l):(o&&o(),Promise.resolve())}dir(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";const o=["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"],l=this.services&&this.services.languageUtils||new sD(cD());return o.indexOf(l.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;return new Bf(i,o)}cloneInstance(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Y0;const l=i.forkResourceStore;l&&delete i.forkResourceStore;const h={...this.options,...i,isClone:!0},y=new Bf(h);return(i.debug!==void 0||i.prefix!==void 0)&&(y.logger=y.logger.clone(i)),["store","services","language"].forEach(a=>{y[a]=this[a]}),y.services={...this.services},y.services.utils={hasLoadedNamespace:y.hasLoadedNamespace.bind(y)},l&&(y.store=new iD(this.store.data,h),y.services.resourceStore=y.store),y.translator=new $0(y.services,h),y.translator.on("*",function(a){for(var v=arguments.length,E=new Array(v>1?v-1:0),A=1;A<v;A++)E[A-1]=arguments[A];y.emit(a,...E)}),y.init(h,o),y.translator.options=h,y.translator.backendConnector.services.utils={hasLoadedNamespace:y.hasLoadedNamespace.bind(y)},y}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const yo=Bf.createInstance();yo.createInstance=Bf.createInstance,yo.createInstance,yo.dir,yo.init,yo.loadResources,yo.reloadResources,yo.use,yo.changeLanguage,yo.getFixedT;const Ub=yo.t;yo.exists,yo.setDefaultNamespace,yo.hasLoadedNamespace,yo.loadNamespaces,yo.loadLanguages;function Q0(){return Q0=Object.assign?Object.assign.bind():function(t){for(var i=1;i<arguments.length;i++){var o=arguments[i];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(t[l]=o[l])}return t},Q0.apply(this,arguments)}function FZ(){if(console&&console.warn){for(var t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];typeof i[0]=="string"&&(i[0]=`react-i18next:: ${i[0]}`),console.warn(...i)}}const hD={};function Bb(){for(var t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];typeof i[0]=="string"&&hD[i[0]]||(typeof i[0]=="string"&&(hD[i[0]]=new Date),FZ(...i))}const dD=(t,i)=>()=>{if(t.isInitialized)i();else{const o=()=>{setTimeout(()=>{t.off("initialized",o)},0),i()};t.on("initialized",o)}};function fD(t,i,o){t.loadNamespaces(i,dD(t,o))}function pD(t,i,o,l){typeof o=="string"&&(o=[o]),o.forEach(h=>{t.options.ns.indexOf(h)<0&&t.options.ns.push(h)}),t.loadLanguages(i,dD(t,l))}function VZ(t,i){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const l=i.languages[0],h=i.options?i.options.fallbackLng:!1,y=i.languages[i.languages.length-1];if(l.toLowerCase()==="cimode")return!0;const _=(a,v)=>{const E=i.services.backendConnector.state[`${a}|${v}`];return E===-1||E===2};return o.bindI18n&&o.bindI18n.indexOf("languageChanging")>-1&&i.services.backendConnector.backend&&i.isLanguageChangingTo&&!_(i.isLanguageChangingTo,t)?!1:!!(i.hasResourceBundle(l,t)||!i.services.backendConnector.backend||i.options.resources&&!i.options.partialBundledLanguages||_(l,t)&&(!h||_(y,t)))}function $Z(t,i){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!i.languages||!i.languages.length?(Bb("i18n.languages were undefined or empty",i.languages),!0):i.options.ignoreJSONStructure!==void 0?i.hasLoadedNamespace(t,{lng:o.lng,precheck:(h,y)=>{if(o.bindI18n&&o.bindI18n.indexOf("languageChanging")>-1&&h.services.backendConnector.backend&&h.isLanguageChangingTo&&!y(h.isLanguageChangingTo,t))return!1}}):VZ(t,i,o)}const YZ=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,QZ={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},HZ=t=>QZ[t];let Fb={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:t=>t.replace(YZ,HZ)};function GZ(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Fb={...Fb,...t}}function ZZ(){return Fb}let mD;function WZ(t){mD=t}function qZ(){return mD}const KZ={type:"3rdParty",init(t){GZ(t.options.react),WZ(t)}},XZ=Ze.createContext();class JZ{constructor(){this.usedNamespaces={}}addUsedNamespaces(i){i.forEach(o=>{this.usedNamespaces[o]||(this.usedNamespaces[o]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const eW=(t,i)=>{const o=Ze.useRef();return Ze.useEffect(()=>{o.current=i?o.current:t},[t,i]),o.current};function Ms(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:o}=i,{i18n:l,defaultNS:h}=Ze.useContext(XZ)||{},y=o||l||qZ();if(y&&!y.reportNamespaces&&(y.reportNamespaces=new JZ),!y){Bb("You will need to pass in an i18next instance by using initReactI18next");const re=(te,Ie)=>typeof Ie=="string"?Ie:Ie&&typeof Ie=="object"&&typeof Ie.defaultValue=="string"?Ie.defaultValue:Array.isArray(te)?te[te.length-1]:te,ie=[re,{},!1];return ie.t=re,ie.i18n={},ie.ready=!1,ie}y.options.react&&y.options.react.wait!==void 0&&Bb("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const _={...ZZ(),...y.options.react,...i},{useSuspense:a,keyPrefix:v}=_;let E=t||h||y.options&&y.options.defaultNS;E=typeof E=="string"?[E]:E||["translation"],y.reportNamespaces.addUsedNamespaces&&y.reportNamespaces.addUsedNamespaces(E);const A=(y.isInitialized||y.initializedStoreOnce)&&E.every(re=>$Z(re,y,_));function C(){return y.getFixedT(i.lng||null,_.nsMode==="fallback"?E:E[0],v)}const[L,j]=Ze.useState(C);let U=E.join();i.lng&&(U=`${i.lng}${U}`);const V=eW(U),Z=Ze.useRef(!0);Ze.useEffect(()=>{const{bindI18n:re,bindI18nStore:ie}=_;Z.current=!0,!A&&!a&&(i.lng?pD(y,i.lng,E,()=>{Z.current&&j(C)}):fD(y,E,()=>{Z.current&&j(C)})),A&&V&&V!==U&&Z.current&&j(C);function te(){Z.current&&j(C)}return re&&y&&y.on(re,te),ie&&y&&y.store.on(ie,te),()=>{Z.current=!1,re&&y&&re.split(" ").forEach(Ie=>y.off(Ie,te)),ie&&y&&ie.split(" ").forEach(Ie=>y.store.off(Ie,te))}},[y,U]);const ee=Ze.useRef(!0);Ze.useEffect(()=>{Z.current&&!ee.current&&j(C),ee.current=!1},[y,v]);const ne=[L,y,A];if(ne.t=L,ne.i18n=y,ne.ready=A,A||!A&&!a)return ne;throw new Promise(re=>{i.lng?pD(y,i.lng,E,()=>re()):fD(y,E,()=>re())})}const tW={Close:"Close",From:"From",To:"To",Distance:"Distance","Estimated time":"Estimated time",Level:"Level","Search by name, category, building...":"Search by name, category, building...","Nothing was found":"Nothing was found",d:"d",h:"h",min:"min",Walk:"Walk",Bike:"Bike",Transit:"Transit",Drive:"Drive","Start wayfinding":"Start wayfinding","Read full description":"Read full description",Locations:"Locations","Directions not available":"Directions not available","Start directions":"Start directions",Previous:"Previous",Next:"Next",StepYofX:"Step {{activeStep}} of {{totalSteps}}","You have arrived":"You have arrived",Leave:"Leave",Park:"Park",at:"at",Building:"Building",Venue:"Venue","Take staircase to level":"Take staircase to level","Take the ladder to level":"Take the ladder to level","Take elevator to level":"Take elevator to level","Take escalator to level":"Take escalator to level","Take wheelchair lift to level":"Take wheelchair lift to level","Take wheelchair ramp to level":"Take wheelchair ramp to level",Exit:"Exit",Enter:"Enter",stops:"stops","and continue":"and continue","Continue straight ahead":"Continue straight ahead","Go left":"Go left","Go sharp left":"Go sharp left","Go slight left":"Go slight left","Go right":"Go right","Go sharp right":"Go sharp right","Go slight right":"Go slight right","Turn around":"Turn around",Switch:"Switch",Accessibility:"Accessibility","No route found":"No route found","My position":"My position","Turn on Accessibility to get directions that avoid stairs and escalators.":"Turn on Accessibility to get directions that avoid stairs and escalators.","Go!":"Go!",Venues:"Venues","Select venue":"Select venue",Current:"Current","Scan QR code":"Scan QR code","Scan the QR code to see the route on your phone":"Scan the QR code to see the route on your phone",Done:"Done","Cancel route":"Cancel route","Finish route":"Finish route"},nW={Close:"Luk",From:"Fra",To:"Til",Distance:"Distance","Estimated time":"Forventet tid",Level:"Etage","Search by name, category, building...":"Søg efter navn, kategori, bygning...","Nothing was found":"Intet fundet",d:"d",h:"t",min:"min",Walk:"Til fods",Bike:"Cykling",Transit:"Offentlig transport",Drive:"Kørsel","Start wayfinding":"Start rutebeskrivelse","Read full description":"Læs hel beskrivelse",Locations:"Lokationer","Directions not available":"Rutevejledning ikke tilgængelig","Start directions":"Start rutevejledning",Previous:"Forrige",Next:"Næste",StepYofX:"Trin {{activeStep}} ud af {{totalSteps}}","You have arrived":"Du er ankommet",Leave:"Forlad",Park:"Parkér",at:"ved",Building:"Bygning",Venue:"Venue","Take staircase to level":"Tag trappen til etage","Take the ladder to level":"Tag stigen til etage","Take elevator to level":"Tag elevatoren til etage","Take escalator to level":"Tag rulletrappen til etage","Take wheelchair lift to level":"Tag kørestolsliften til etage","Take wheelchair ramp to level":"Tag kørestolsrampen til etage",Exit:"Forlad",Enter:"Gå ind i",stops:"stop","and continue":"og fortsæt","Continue straight ahead":"Fortsæt ligeud","Go left":"Drej til venstre","Go sharp left":"Drej skarpt til venstre","Go slight left":"Drej en smule til venstre","Go right":"Drej til højre","Go sharp right":"Drej skarpt til højre","Go slight right":"Drej en smule til højre","Turn around":"Vend om",Switch:"Skift",Accessibility:"Tilgængelig rute","No route found":"Ingen rute fundet","My position":"Min position","Turn on Accessibility to get directions that avoid stairs and escalators.":'Slå "Tilgængelig rute" til for at få en rutevejledning uden trapper og rulletrapper.',"Go!":"Go!",Venues:"Venues","Select venue":"Vælg venue",Current:"Valgt","Scan QR code":"Scan QR-kode","Scan the QR code to see the route on your phone":"Scan QR-koden for at se ruten på din mobil",Done:"Afslut","Cancel route":"Annullér ruten","Finish route":"Afslut ruten"},iW={Close:"Schließen",From:"Von",To:"Nach",Distance:"Distanz","Estimated time":"Geschätzte Zeit",Level:"Etage","Search by name, category, building...":"Suche nach Name, Kategorie, Gebäude...","Nothing was found":"Keine Suchtreffer",d:"d",h:"h",min:"min",Walk:"Zu Fuß",Bike:"Fahrrad",Transit:"Öffentliche Verkehrsmittel",Drive:"Auto","Start wayfinding":"Starte Navigation","Read full description":"Öffne vollständige Beschreibung",Locations:"Locations","Directions not available":"Beschreibung nicht verfügbar","Start directions":"Starte Beschreibung",Previous:"Zurück",Next:"Weiter",StepYofX:"Schritt {{activeStep}} von {{totalSteps}}","You have arrived":"Sie haben ihr Ziel erreicht",Leave:"Verlassen",Park:"Parken",at:"bei",Building:"Gebäude",Venue:"Standort","Take staircase to level":"Nutzen Sie die Treppe zur Etage","Take the ladder to level":"Nutzen Sie die Leiter zur Etage","Take elevator to level":"Nutzen Sie den Aufzug zur Etage","Take escalator to level":"Nutzen Sie die Rolltreppe zur Etage","Take wheelchair lift to level":"Nutzen Sie den Rollstuhllift zur Etage","Take wheelchair ramp to level":"Nutzen Sie die Rollstuhlrampe zur Etage",Exit:"Verlasse das",Enter:"Gehe in das",stops:"Zwischenstopps","and continue":"und Weg fortsetzen","Continue straight ahead":"Weiter geradeaus","Go left":"Links abbiegen","Go sharp left":"Scharf links abbiegen","Go slight left":"Leicht links abbiegen","Go right":"Rechts abbiegen","Go sharp right":"Scharf rechts abbiegen","Go slight right":"Leicht rechts abbiegen","Turn around":"Umdrehen",Switch:"Umkehren",Accessibility:"Barrierefrei","No route found":"Keine Route gefunden","My position":"Meine Position","Turn on Accessibility to get directions that avoid stairs and escalators.":"Schalte Barrierefrei ein, um Treppen und Rolltreppen zu vermeiden.","Go!":"Start!",Venues:"Standorte","Select venue":"Wähle Standort",Current:"Aktuell","Scan QR code":"QR-Code scannen","Scan the QR code to see the route on your phone":"Scannen Sie den QR-Code, um die Route auf Ihrem Smartphone anzuzeigen",Done:"Schließen","Cancel route":"Route abbrechen","Finish route":"Route beenden"},rW={Close:"Fermer",From:"De",To:"À",Distance:"Distance","Estimated time":"Heure d'arrivée estimée",Level:"Niveau","Search by name, category, building...":"Recherche par nom, catégorie, bâtiment...","Nothing was found":"Rien n'a été trouvé",d:"d",h:"h",min:"min",Walk:"À pied",Bike:"À vélo",Transit:"En transports",Drive:"Voiture","Start wayfinding":"Commencer la navigation","Read full description":"Lire la description complète",Locations:"Emplacements","Directions not available":"Itinéraire non disponible","Start directions":"Commencer la navigation",Previous:"Précédent",Next:"Suivant",StepYofX:"Étape {{activeStep}} sur {{totalSteps}}","You have arrived":"Vous êtes arrivé",Leave:"Départ",Park:"Parc",at:"à",Building:"Bâtiment",Venue:"Lieu","Take staircase to level":"Prenez l'escalier jusqu'au niveau","Take the ladder to level":"Empruntez l'escalier pour rejoindre le niveau","Take elevator to level":"Prenez l'ascenseur jusqu'au niveau","Take escalator to level":"Empruntez l'escalier roulant jusqu'au niveau","Take wheelchair lift to level":"Prenez l'élévateur pour fauteuil roulant jusqu'au niveau","Take wheelchair ramp to level":"Prenez la rampe pour fauteuil roulant jusqu'au niveau",Exit:"Partir",Enter:"Entrer",stops:"arrêts","and continue":"et continuez","Continue straight ahead":"Continuez tout droit","Go left":"Tournez a gauche","Go sharp left":"Allez directement à gauche","Go slight left":"Allez légèrement à gauche","Go right":"Allez à droite","Go sharp right":"Allez directement à droite","Go slight right":"Allez légèrement à droite","Turn around":"Faite demi-tour",Switch:"Changer",Accessibility:"Accessibilité","No route found":"Aucun itinéraire trouvé","My position":"Ma position","Turn on Accessibility to get directions that avoid stairs and escalators.":"Activez l'accessibilité pour obtenir des itinéraires qui évitent les escaliers.","Go!":"C'est parti!",Venues:"Lieux","Select venue":"Sélectionner le lieu",Current:"Actuel","Scan QR code":"Scanne le code QR","Scan the QR code to see the route on your phone":"Scannez le code QR pour voir l'itinéraire sur votre téléphone",Done:"Fini","Cancel route":"Annuler l'itinéraire","Finish route":"Terminer l'itinéraire"};function oW(t){yo.use(KZ).init({resources:{en:{translation:tW},da:{translation:nW},de:{translation:iW},fr:{translation:rW}},lng:t,fallbackLng:"en",interpolation:{escapeValue:!1}})}const Qle="",Ro={Google:"google",Mapbox:"mapbox"},Qo=di({key:"mapsIndoorsInstance",default:null,dangerouslyAllowMutability:!0}),sW=t=>{const i=cn(Qo),o=Ze.useRef(),[l,h]=Ze.useState([]);Ze.useEffect(()=>{(async()=>{if(i&&t){for(const a of l)o.current.disableLiveData(a);o.current=new window.mapsindoors.LiveDataManager(i);const _=await o.current.LiveDataInfo.activeDomainTypes();for(const a of _)await o.current.enableLiveData(a);h(_)}})()},[t,i])},Hle="";var aW=function t(i,o){if(i===o)return!0;if(i&&o&&typeof i=="object"&&typeof o=="object"){if(i.constructor!==o.constructor)return!1;var l,h,y;if(Array.isArray(i)){if(l=i.length,l!=o.length)return!1;for(h=l;h--!==0;)if(!t(i[h],o[h]))return!1;return!0}if(i.constructor===RegExp)return i.source===o.source&&i.flags===o.flags;if(i.valueOf!==Object.prototype.valueOf)return i.valueOf()===o.valueOf();if(i.toString!==Object.prototype.toString)return i.toString()===o.toString();if(y=Object.keys(i),l=y.length,l!==Object.keys(o).length)return!1;for(h=l;h--!==0;)if(!Object.prototype.hasOwnProperty.call(o,y[h]))return!1;for(h=l;h--!==0;){var _=y[h];if(!t(i[_],o[_]))return!1}return!0}return i!==i&&o!==o};const gD="__googleMapsScriptId";var Nh;(function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.LOADING=1]="LOADING",t[t.SUCCESS=2]="SUCCESS",t[t.FAILURE=3]="FAILURE"})(Nh||(Nh={}));let lW=class Gd{constructor({apiKey:i,authReferrerPolicy:o,channel:l,client:h,id:y=gD,language:_,libraries:a=[],mapIds:v,nonce:E,region:A,retries:C=3,url:L="https://maps.googleapis.com/maps/api/js",version:j}){if(this.CALLBACK="__googleMapsCallback",this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=i,this.authReferrerPolicy=o,this.channel=l,this.client=h,this.id=y||gD,this.language=_,this.libraries=a,this.mapIds=v,this.nonce=E,this.region=A,this.retries=C,this.url=L,this.version=j,Gd.instance){if(!aW(this.options,Gd.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Gd.instance.options)}`);return Gd.instance}Gd.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?Nh.FAILURE:this.done?Nh.SUCCESS:this.loading?Nh.LOADING:Nh.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let i=this.url;return i+=`?callback=${this.CALLBACK}`,this.apiKey&&(i+=`&key=${this.apiKey}`),this.channel&&(i+=`&channel=${this.channel}`),this.client&&(i+=`&client=${this.client}`),this.libraries.length>0&&(i+=`&libraries=${this.libraries.join(",")}`),this.language&&(i+=`&language=${this.language}`),this.region&&(i+=`®ion=${this.region}`),this.version&&(i+=`&v=${this.version}`),this.mapIds&&(i+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(i+=`&auth_referrer_policy=${this.authReferrerPolicy}`),i}deleteScript(){const i=document.getElementById(this.id);i&&i.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((i,o)=>{this.loadCallback(l=>{l?o(l.error):i(window.google)})})}loadCallback(i){this.callbacks.push(i),this.execute()}setScript(){if(document.getElementById(this.id)){this.callback();return}const i=this.createUrl(),o=document.createElement("script");o.id=this.id,o.type="text/javascript",o.src=i,o.onerror=this.loadErrorCallback.bind(this),o.defer=!0,o.async=!0,this.nonce&&(o.nonce=this.nonce),document.head.appendChild(o)}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(i){if(this.errors.push(i),this.errors.length<=this.retries){const o=this.errors.length*Math.pow(2,this.errors.length);console.log(`Failed to load Google Maps script, retrying in ${o} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},o)}else this.onerrorEvent=i,this.callback()}setCallback(){window.__googleMapsCallback=this.callback.bind(this)}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(i=>{i(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading||(this.loading=!0,this.setCallback(),this.setScript())}}};const H0=di({key:"gmApiKey",default:null}),Os=di({key:"primaryColor",default:"#005655"}),yD=di({key:"gmMapId",default:null}),Ff=di({key:"bearing",default:0}),Vf=di({key:"pitch",default:0}),_D=t=>{const[i,o]=Ze.useState(!1);return Ze.useEffect(()=>{const l=window.matchMedia(t);l.matches!==i&&o(l.matches);const h=()=>o(l.matches);return window.addEventListener("resize",h),()=>window.removeEventListener("resize",h)},[i,t]),i},Za=()=>_D("(min-width: 992px)");function cW({onMapView:t,onPositionControl:i}){const o=cn(H0),l=cn(yD),[h,y]=Ze.useState(),[_,a]=Ze.useState(),[v,E]=Ze.useState(!1),[A,C]=Ze.useState(!1),[L,j]=Ze.useState(!1),U=cn(Qo),V=cn(Os),Z=cn(Ff),ee=cn(Vf),ne=Za();return Ze.useEffect(()=>{new lW({apiKey:o,version:"quarterly",libraries:["geometry","places"]}).load().then(ie=>{y(ie);const te={element:document.getElementById("map"),disableDefaultUI:!0,center:{lat:0,lng:0},zoom:21,mapId:l,heading:isNaN(parseInt(Z))?0:parseInt(Z),tilt:isNaN(parseInt(ee))?0:parseInt(ee)},Ie=new window.mapsindoors.mapView.GoogleMapsView(te);a(Ie);const Me=new window.mapsindoors.directions.GoogleMapsProvider;t(Ie,Me)})},[]),Ze.useEffect(()=>{if(U&&_&&h&&!A){const re=document.createElement("mi-my-position");re.mapsindoors=U,_.getMap().controls[h.maps.ControlPosition.RIGHT_TOP].push(re),C(!0),i(re)}if(U&&_&&h&&!v){const re=document.createElement("mi-floor-selector");re.mapsindoors=U,re.primaryColor=V,_.getMap().controls[h.maps.ControlPosition.RIGHT_TOP].push(re),E(!0)}U&&_&&h&&!L&&ne&&(_.getMap().setOptions({zoomControl:!0,zoomControlOptions:{style:h.maps.ZoomControlStyle.DEFAULT,position:h.maps.ControlPosition.RIGHT_TOP}}),j(!0))},[U,_,h,v,A]),et.jsx("div",{className:"map-container",id:"map","data-sentry-component":"GoogleMapsMap","data-sentry-source-file":"GoogleMapsMap.jsx"})}var vD={exports:{}};(function(t,i){(function(o,l){t.exports=l()})(a8,function(){var o,l,h;function y(a,v){if(!o)o=v;else if(!l)l=v;else{var E="self.onerror = function() { console.error('An error occurred while parsing the WebWorker bundle. This is most likely due to improper transpilation by Babel; please see https://docs.mapbox.com/mapbox-gl-js/guides/install/#transpiling'); }; var sharedChunk = {}; ("+o+")(sharedChunk); ("+l+")(sharedChunk); self.onerror = null;",A={};o(A),h=v(A),typeof window<"u"&&window&&window.URL&&window.URL.createObjectURL&&(h.workerUrl=window.URL.createObjectURL(new Blob([E],{type:"text/javascript"})))}}y(["exports"],function(a){var v="3.3.0";let E;const A={API_URL:"https://api.mapbox.com",get API_URL_REGEX(){if(E==null){const n=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;try{E=process.env.API_URL_REGEX!=null?new RegExp(process.env.API_URL_REGEX):n}catch{E=n}}return E},get API_TILEJSON_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/v[0-9]*\/.*\.json.*$)/i},get API_SPRITE_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/styles\/v[0-9]*\/)(.*\/sprite.*\..*$)/i},get API_FONTS_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/fonts\/v[0-9]*\/)(.*\.pbf.*$)/i},get API_STYLE_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/styles\/v[0-9]*\/)(.*$)/i},get API_CDN_URL_REGEX(){return/^((https?:)?\/\/)?api\.mapbox\.c(n|om)(\/mapbox-gl-js\/)(.*$)/i},get EVENTS_URL(){if(!A.API_URL)return null;try{const n=new URL(A.API_URL);return n.hostname==="api.mapbox.cn"?"https://events.mapbox.cn/events/v2":n.hostname==="api.mapbox.com"?"https://events.mapbox.com/events/v2":null}catch{return null}},SESSION_PATH:"/map-sessions/v1",FEEDBACK_URL:"https://apps.mapbox.com/feedback",TILE_URL_VERSION:"v4",RASTER_URL_PREFIX:"raster/v1",RASTERARRAYS_URL_PREFIX:"rasterarrays/v1",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,DEFAULT_STYLE:"mapbox://styles/mapbox/standard",MAX_PARALLEL_IMAGE_REQUESTS:16,DRACO_URL:"https://api.mapbox.com/mapbox-gl-js/draco_decoder_gltf_v1.5.6.wasm",MESHOPT_URL:"https://api.mapbox.com/mapbox-gl-js/meshopt_base_v0.20.wasm",MESHOPT_SIMD_URL:"https://api.mapbox.com/mapbox-gl-js/meshopt_simd_v0.20.wasm",GLYPHS_URL:"mapbox://fonts/mapbox/{fontstack}/{range}.pbf"};function C(n){return A.API_URL_REGEX.test(n)}function L(n){return n.indexOf("mapbox:")===0}function j(n){return A.API_CDN_URL_REGEX.test(n)}function U(n){return A.API_SPRITE_REGEX.test(n)}function V(n){return A.API_STYLE_REGEX.test(n)&&!U(n)}const Z={create:"create",load:"load",fullLoad:"fullLoad"};function ee(n){const e=n.name.split("?")[0];return j(e)&&e.includes("mapbox-gl.js")?"javascript":j(e)&&e.includes("mapbox-gl.css")?"css":function(r){return A.API_FONTS_REGEX.test(r)}(e)?"fontRange":U(e)?"sprite":V(e)?"style":function(r){return A.API_TILEJSON_REGEX.test(r)}(e)?"tilejson":"other"}function ne(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var re=ie;function ie(n,e,r,c){this.cx=3*n,this.bx=3*(r-n)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(c-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=n,this.p1y=e,this.p2x=r,this.p2y=c}ie.prototype={sampleCurveX:function(n){return((this.ax*n+this.bx)*n+this.cx)*n},sampleCurveY:function(n){return((this.ay*n+this.by)*n+this.cy)*n},sampleCurveDerivativeX:function(n){return(3*this.ax*n+2*this.bx)*n+this.cx},solveCurveX:function(n,e){if(e===void 0&&(e=1e-6),n<0)return 0;if(n>1)return 1;for(var r=n,c=0;c<8;c++){var d=this.sampleCurveX(r)-n;if(Math.abs(d)<e)return r;var f=this.sampleCurveDerivativeX(r);if(Math.abs(f)<1e-6)break;r-=d/f}var g=0,b=1;for(r=n,c=0;c<20&&(d=this.sampleCurveX(r),!(Math.abs(d-n)<e));c++)n>d?g=r:b=r,r=.5*(b-g)+g;return r},solve:function(n,e){return this.sampleCurveY(this.solveCurveX(n,e))}};var te=ne(re),Ie=Me;function Me(n,e){this.x=n,this.y=e}Me.prototype={clone:function(){return new Me(this.x,this.y)},add:function(n){return this.clone()._add(n)},sub:function(n){return this.clone()._sub(n)},multByPoint:function(n){return this.clone()._multByPoint(n)},divByPoint:function(n){return this.clone()._divByPoint(n)},mult:function(n){return this.clone()._mult(n)},div:function(n){return this.clone()._div(n)},rotate:function(n){return this.clone()._rotate(n)},rotateAround:function(n,e){return this.clone()._rotateAround(n,e)},matMult:function(n){return this.clone()._matMult(n)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(n){return this.x===n.x&&this.y===n.y},dist:function(n){return Math.sqrt(this.distSqr(n))},distSqr:function(n){var e=n.x-this.x,r=n.y-this.y;return e*e+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(n){return Math.atan2(this.y-n.y,this.x-n.x)},angleWith:function(n){return this.angleWithSep(n.x,n.y)},angleWithSep:function(n,e){return Math.atan2(this.x*e-this.y*n,this.x*n+this.y*e)},_matMult:function(n){var e=n[2]*this.x+n[3]*this.y;return this.x=n[0]*this.x+n[1]*this.y,this.y=e,this},_add:function(n){return this.x+=n.x,this.y+=n.y,this},_sub:function(n){return this.x-=n.x,this.y-=n.y,this},_mult:function(n){return this.x*=n,this.y*=n,this},_div:function(n){return this.x/=n,this.y/=n,this},_multByPoint:function(n){return this.x*=n.x,this.y*=n.y,this},_divByPoint:function(n){return this.x/=n.x,this.y/=n.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var n=this.y;return this.y=this.x,this.x=-n,this},_rotate:function(n){var e=Math.cos(n),r=Math.sin(n),c=r*this.x+e*this.y;return this.x=e*this.x-r*this.y,this.y=c,this},_rotateAround:function(n,e){var r=Math.cos(n),c=Math.sin(n),d=e.y+c*(this.x-e.x)+r*(this.y-e.y);return this.x=e.x+r*(this.x-e.x)-c*(this.y-e.y),this.y=d,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},Me.convert=function(n){return n instanceof Me?n:Array.isArray(n)?new Me(n[0],n[1]):n};var de=ne(Ie);const qe=Math.PI/180,Ve=180/Math.PI;function je(n){return n*qe}function We(n){return n*Ve}const tt=[[0,0],[1,0],[1,1],[0,1]];function Se(n){if(n<=0)return 0;if(n>=1)return 1;const e=n*n,r=e*n;return 4*(n<.5?r:3*(n-e)+r-.75)}function He(n,e,r,c){const d=new te(n,e,r,c);return function(f){return d.solve(f)}}const Re=He(.25,.1,.25,1);function Le(n,e,r){return Math.min(r,Math.max(e,n))}function ht(n,e,r){return(r=Le((r-n)/(e-n),0,1))*r*(3-2*r)}function ot(n,e,r){const c=r-e,d=((n-e)%c+c)%c+e;return d===e?r:d}function me(n,e,r){if(!n.length)return r(null,[]);let c=n.length;const d=new Array(n.length);let f=null;n.forEach((g,b)=>{e(g,(w,I)=>{w&&(f=w),d[b]=I,--c==0&&r(f,d)})})}function ve(n,...e){for(const r of e)for(const c in r)n[c]=r[c];return n}let ae=1;function G(){return ae++}function X(){return function n(e){return e?(e^Math.random()*(16>>e/4)).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,n)}()}function ge(n){return n<=1?1:Math.pow(2,Math.ceil(Math.log(n)/Math.LN2))}function fe(n){return!!n&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(n)}function Ne(n,e){n.forEach(r=>{e[r]&&(e[r]=e[r].bind(e))})}function Oe(n,e){return n.indexOf(e,n.length-e.length)!==-1}function Ae(n,e,r){const c={};for(const d in n)c[d]=e.call(r||this,n[d],d,n);return c}function $e(n,e,r){const c={};for(const d in n)e.call(r||this,n[d],d,n)&&(c[d]=n[d]);return c}function st(n){return Array.isArray(n)?n.map(st):typeof n=="object"&&n?Ae(n,st):n}const Ce={};function Xe(n){Ce[n]||(typeof console<"u"&&console.warn(n),Ce[n]=!0)}function yt(n,e,r){return(r.y-n.y)*(e.x-n.x)>(e.y-n.y)*(r.x-n.x)}function jt(n){let e=0;for(let r,c,d=0,f=n.length,g=f-1;d<f;g=d++)r=n[d],c=n[g],e+=(c.x-r.x)*(r.y+c.y);return e}function Ft([n,e,r]){const c=je(e+90),d=je(r);return{x:n*Math.cos(c)*Math.sin(d),y:n*Math.sin(c)*Math.sin(d),z:n*Math.cos(d),azimuthal:e,polar:r}}function hn(){return typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope}function jn(n){const e={};if(n.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(r,c,d,f)=>{const g=d||f;return e[c]=!g||g.toLowerCase(),""}),e["max-age"]){const r=parseInt(e["max-age"],10);isNaN(r)?delete e["max-age"]:e["max-age"]=r}return e}let Dt,Cn,En,In,Un,ti,lt=null;function se(n){try{const e=self[n];return e.setItem("_mapbox_test_",1),e.removeItem("_mapbox_test_"),!0}catch{return!1}}function ce(n,e){return[n[4*e],n[4*e+1],n[4*e+2],n[4*e+3]]}function ke(n,e,r,c){for(;e<r;){const d=e+r>>1;n[d]<c?e=d+1:r=d}return e}function mt(n,e,r,c){for(;e<r;){const d=e+r>>1;n[d]<=c?e=d+1:r=d}return e}function Mt(){return Dt==null&&(Dt=self.OffscreenCanvas&&new OffscreenCanvas(1,1).getContext("2d")&&typeof self.createImageBitmap=="function"),Dt}const gt={now:()=>In!==void 0?In:performance.now(),setNow(n){In=n},restoreNow(){In=void 0},frame(n){const e=requestAnimationFrame(n);return{cancel:()=>cancelAnimationFrame(e)}},getImageData(n,e=0){const{width:r,height:c}=n;Un||(Un=document.createElement("canvas"));const d=Un.getContext("2d",{willReadFrequently:!0});if(!d)throw new Error("failed to create canvas 2d context");return(r>Un.width||c>Un.height)&&(Un.width=r,Un.height=c),d.clearRect(-e,-e,r+2*e,c+2*e),d.drawImage(n,0,0,r,c),d.getImageData(-e,-e,r+2*e,c+2*e)},resolveURL:n=>(Cn||(Cn=document.createElement("a")),Cn.href=n,Cn.href),get devicePixelRatio(){return window.devicePixelRatio},get prefersReducedMotion(){return!!window.matchMedia&&(En==null&&(En=window.matchMedia("(prefers-reduced-motion: reduce)")),En.matches)},hasCanvasFingerprintNoise(){if(ti!==void 0)return ti;if(!Mt())return ti=!1,!1;const n=new OffscreenCanvas(85,1),e=n.getContext("2d",{willReadFrequently:!0});let r=0;for(let d=0;d<n.width;++d)e.fillStyle=`rgba(${r++},${r++},${r++}, 255)`,e.fillRect(d,0,1,1);const c=e.getImageData(0,0,n.width,n.height);r=0;for(let d=0;d<c.data.length;++d)if(d%4!=3&&r++!==c.data[d])return ti=!0,!0;return ti=!1,!1}},Ot="mapbox-tiles";let xt=500,ln=50,Ye,Be;function At(){try{return caches}catch{}}function nn(){const n=At();n&&!Ye&&(Ye=n.open(Ot))}function Nt(n){const e=n.indexOf("?");if(e<0)return n;const r=["language","worldview"],c=new URLSearchParams,d=new URLSearchParams(n.slice(e));for(const f of r){const g=d.get(f);g&&c.set(f,g)}return`${n.slice(0,e)}?${c.toString()}`}function Bt(n,e){const r=n.indexOf("?");if(r<0)return`${n}?${new URLSearchParams(e).toString()}`;const c=new URLSearchParams(n.slice(r));for(const d in e)c.set(d,e[d]);return`${n.slice(0,r)}?${c.toString()}`}let Qt=1/0;const Wt={supported:!1,testSupport:function(n){!Zn&&wn&&(oi?Fi(n):on=n)}};let on,wn,Zn=!1,oi=!1;const Ti=typeof self<"u"?self:{};function Fi(n){const e=n.createTexture();n.bindTexture(n.TEXTURE_2D,e);try{if(n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,wn),n.isContextLost())return;Wt.supported=!0}catch{}n.deleteTexture(e),Zn=!0}Ti.document&&(wn=Ti.document.createElement("img"),wn.onload=function(){on&&Fi(on),on=null,oi=!0},wn.onerror=function(){Zn=!0,on=null},wn.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");const Vi={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image",Model:"Model"};typeof Object.freeze=="function"&&Object.freeze(Vi);class Gn extends Error{constructor(e,r,c){r===401&&C(c)&&(e+=": you may have provided an invalid Mapbox access token. See https://docs.mapbox.com/api/overview/#access-tokens-and-token-scopes"),super(e),this.status=r,this.url=c}toString(){return`${this.name}: ${this.message} (${this.status}): ${this.url}`}}const Gi=hn()?()=>self.worker&&self.worker.referrer:()=>(location.protocol==="blob:"?parent:self).location.href,It=function(n,e){if(!(/^file:/.test(r=n.url)||/^file:/.test(Gi())&&!/^\w+:/.test(r))){if(self.fetch&&self.Request&&self.AbortController&&Request.prototype.hasOwnProperty("signal"))return function(c,d){const f=new AbortController,g=new Request(c.url,{method:c.method||"GET",body:c.body,credentials:c.credentials,headers:c.headers,referrer:Gi(),referrerPolicy:c.referrerPolicy,signal:f.signal});let b=!1,w=!1;const I=(S=g.url).indexOf("sku=")>0&&C(S);var S;c.type==="json"&&g.headers.set("Accept","application/json");const N=(P,F,$)=>{if(w)return;if(P&&P.message!=="SecurityError"&&Xe(P.toString()),F&&$)return z(F);const H=Date.now();fetch(g).then(q=>{if(q.ok){const he=I?q.clone():null;return z(q,he,H)}return d(new Gn(q.statusText,q.status,c.url))}).catch(q=>{q.name!=="AbortError"&&d(new Error(`${q.message} ${c.url}`))})},z=(P,F,$)=>{(c.type==="arrayBuffer"?P.arrayBuffer():c.type==="json"?P.json():P.text()).then(H=>{w||(F&&$&&function(q,he,_e){if(nn(),!Ye)return;const ye=jn(he.headers.get("Cache-Control")||"");if(ye["no-store"])return;const De={status:he.status,statusText:he.statusText,headers:new Headers};he.headers.forEach((Ke,it)=>De.headers.set(it,Ke)),ye["max-age"]&&De.headers.set("Expires",new Date(_e+1e3*ye["max-age"]).toUTCString());const Te=De.headers.get("Expires");if(!Te||new Date(Te).getTime()-_e<42e4)return;let Fe=Nt(q.url);if(he.status===206){const Ke=q.headers.get("Range");if(!Ke)return;De.status=200,Fe=Bt(Fe,{range:Ke})}(function(Ke,it){if(Be===void 0)try{new Response(new ReadableStream),Be=!0}catch{Be=!1}Be?it(Ke.body):Ke.blob().then(it)})(he,Ke=>{const it=new Response(Ke,De);nn(),Ye&&Ye.then(pt=>pt.put(Fe,it)).catch(pt=>Xe(pt.message))})}(g,F,$),b=!0,d(null,H,P.headers.get("Cache-Control"),P.headers.get("Expires")))}).catch(H=>{w||d(new Error(H.message))})};return I?function(P,F){if(nn(),!Ye)return F(null);Ye.then($=>{let H=Nt(P.url);const q=P.headers.get("Range");q&&(H=Bt(H,{range:q})),$.match(H).then(he=>{const _e=function(ye){if(!ye)return!1;const De=new Date(ye.headers.get("Expires")||0),Te=jn(ye.headers.get("Cache-Control")||"");return De>Date.now()&&!Te["no-cache"]}(he);$.delete(H),_e&&$.put(H,he.clone()),F(null,he,_e)}).catch(F)}).catch(F)}(g,N):N(null,null),{cancel:()=>{w=!0,b||f.abort()}}}(n,e);if(hn()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",n,e,void 0,!0)}var r;return function(c,d){const f=new XMLHttpRequest;f.open(c.method||"GET",c.url,!0),c.type==="arrayBuffer"&&(f.responseType="arraybuffer");for(const g in c.headers)f.setRequestHeader(g,c.headers[g]);return c.type==="json"&&(f.responseType="text",f.setRequestHeader("Accept","application/json")),f.withCredentials=c.credentials==="include",f.onerror=()=>{d(new Error(f.statusText))},f.onload=()=>{if((f.status>=200&&f.status<300||f.status===0)&&f.response!==null){let g=f.response;if(c.type==="json")try{g=JSON.parse(f.response)}catch(b){return d(b)}d(null,g,f.getResponseHeader("Cache-Control"),f.getResponseHeader("Expires"))}else d(new Gn(f.statusText,f.status,c.url))},f.send(c.body),{cancel:()=>f.abort()}}(n,e)},St=function(n,e){return It(ve(n,{type:"arrayBuffer"}),e)};function Zt(n){const e=document.createElement("a");return e.href=n,e.protocol===location.protocol&&e.host===location.host}const en="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";let qt,Ee;qt=[],Ee=0;const at=function(n,e){if(Wt.supported&&(n.headers||(n.headers={}),n.headers.accept="image/webp,*/*"),Ee>=A.MAX_PARALLEL_IMAGE_REQUESTS){const f={requestParameters:n,callback:e,cancelled:!1,cancel(){this.cancelled=!0}};return qt.push(f),f}Ee++;let r=!1;const c=()=>{if(!r)for(r=!0,Ee--;qt.length&&Ee<A.MAX_PARALLEL_IMAGE_REQUESTS;){const f=qt.shift(),{requestParameters:g,callback:b,cancelled:w}=f;w||(f.cancel=at(g,b).cancel)}},d=St(n,(f,g,b,w)=>{c(),f?e(f):g&&(self.createImageBitmap?function(I,S){const N=new Blob([new Uint8Array(I)],{type:"image/png"});createImageBitmap(N).then(z=>{S(null,z)}).catch(z=>{S(new Error(`Could not load image because of ${z.message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`))})}(g,(I,S)=>e(I,S,b,w)):function(I,S){const N=new Image;N.onload=()=>{S(null,N),URL.revokeObjectURL(N.src),N.onload=null,requestAnimationFrame(()=>{N.src=en})},N.onerror=()=>S(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));const z=new Blob([new Uint8Array(I)],{type:"image/png"});N.src=I.byteLength?URL.createObjectURL(z):en}(g,(I,S)=>e(I,S,b,w)))});return{cancel:()=>{d.cancel(),c()}}},dt="01",Ct="NO_ACCESS_TOKEN",Rt=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;function zt(n){const e=n.match(Rt);if(!e)throw new Error("Unable to parse URL object");return{protocol:e[1],authority:e[2],path:e[3]||"/",params:e[4]?e[4].split("&"):[]}}function sn(n){const e=n.params.length?`?${n.params.join("&")}`:"";return`${n.protocol}://${n.authority}${n.path}${e}`}const $t="mapbox.eventData";function Wn(n){if(!n)return null;const e=n.split(".");if(!e||e.length!==3)return null;try{return JSON.parse(decodeURIComponent(atob(e[1]).split("").map(r=>"%"+("00"+r.charCodeAt(0).toString(16)).slice(-2)).join("")))}catch{return null}}class Yn{constructor(e){this.type=e,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null}getStorageKey(e){const r=Wn(A.ACCESS_TOKEN);let c="";return c=r&&r.u?btoa(encodeURIComponent(r.u).replace(/%([0-9A-F]{2})/g,(d,f)=>String.fromCharCode(+("0x"+f)))):A.ACCESS_TOKEN||"",e?`${$t}.${e}:${c}`:`${$t}:${c}`}fetchEventData(){const e=se("localStorage"),r=this.getStorageKey(),c=this.getStorageKey("uuid");if(e)try{const d=localStorage.getItem(r);d&&(this.eventData=JSON.parse(d));const f=localStorage.getItem(c);f&&(this.anonId=f)}catch{Xe("Unable to read from LocalStorage")}}saveEventData(){const e=se("localStorage"),r=this.getStorageKey(),c=this.getStorageKey("uuid"),d=this.anonId;if(e&&d)try{localStorage.setItem(c,d),Object.keys(this.eventData).length>=1&&localStorage.setItem(r,JSON.stringify(this.eventData))}catch{Xe("Unable to write to LocalStorage")}}processRequests(e){}postEvent(e,r,c,d){if(!A.EVENTS_URL)return;const f=zt(A.EVENTS_URL);f.params.push(`access_token=${d||A.ACCESS_TOKEN||""}`);const g={event:this.type,created:new Date(e).toISOString()},b=r?ve(g,r):g,w={url:sn(f),headers:{"Content-Type":"text/plain"},body:JSON.stringify([b])};this.pendingRequest=function(I,S){return It(ve(I,{method:"POST"}),S)}(w,I=>{this.pendingRequest=null,c(I),this.saveEventData(),this.processRequests(d)})}queueRequest(e,r){this.queue.push(e),this.processRequests(r)}}const Bn=new class extends Yn{constructor(n){super("appUserTurnstile"),this._customAccessToken=n}postTurnstileEvent(n,e){A.EVENTS_URL&&A.ACCESS_TOKEN&&Array.isArray(n)&&n.some(r=>L(r)||C(r))&&this.queueRequest(Date.now(),e)}processRequests(n){if(this.pendingRequest||this.queue.length===0)return;this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();const e=Wn(A.ACCESS_TOKEN),r=e?e.u:A.ACCESS_TOKEN;let c=r!==this.eventData.tokenU;fe(this.anonId)||(this.anonId=X(),c=!0);const d=this.queue.shift();if(this.eventData.lastSuccess){const f=new Date(this.eventData.lastSuccess),g=new Date(d),b=(d-this.eventData.lastSuccess)/864e5;c=c||b>=1||b<-1||f.getDate()!==g.getDate()}else c=!0;c?this.postEvent(d,{sdkIdentifier:"mapbox-gl-js",sdkVersion:v,skuId:dt,"enabled.telemetry":!1,userId:this.anonId},f=>{f||(this.eventData.lastSuccess=d,this.eventData.tokenU=r)},n):this.processRequests()}},zi=Bn.postTurnstileEvent.bind(Bn),xr=new class extends Yn{constructor(){super("map.load"),this.success={},this.skuToken=""}postMapLoadEvent(n,e,r,c){this.skuToken=e,this.errorCb=c,A.EVENTS_URL&&(r||A.ACCESS_TOKEN?this.queueRequest({id:n,timestamp:Date.now()},r):this.errorCb(new Error(Ct)))}processRequests(n){if(this.pendingRequest||this.queue.length===0)return;const{id:e,timestamp:r}=this.queue.shift();e&&this.success[e]||(this.anonId||this.fetchEventData(),fe(this.anonId)||(this.anonId=X()),this.postEvent(r,{sdkIdentifier:"mapbox-gl-js",sdkVersion:v,skuId:dt,skuToken:this.skuToken,userId:this.anonId},c=>{c?this.errorCb(c):e&&(this.success[e]=!0)},n))}remove(){this.errorCb=null}},gi=xr.postMapLoadEvent.bind(xr),Er=new class extends Yn{constructor(){super("gljs.performance")}postPerformanceEvent(n,e){A.EVENTS_URL&&(n||A.ACCESS_TOKEN)&&this.queueRequest({timestamp:Date.now(),performanceData:e},n)}processRequests(n){if(this.pendingRequest||this.queue.length===0)return;const{timestamp:e,performanceData:r}=this.queue.shift(),c=function(d){const f=performance.getEntriesByType("resource"),g=performance.getEntriesByType("mark"),b=function(P){const F={};if(P){for(const $ in P)if($!=="other")for(const H of P[$]){const q=`${$}ResolveRangeMin`,he=`${$}ResolveRangeMax`,_e=`${$}RequestCount`,ye=`${$}RequestCachedCount`;F[q]=Math.min(F[q]||1/0,H.startTime),F[he]=Math.max(F[he]||-1/0,H.responseEnd);const De=Te=>{F[Te]===void 0&&(F[Te]=0),++F[Te]};H.transferSize!==void 0&&H.transferSize===0&&De(ye),De(_e)}}return F}(function(P,F){const $={};if(P)for(const H of P){const q=F(H);$[q]===void 0&&($[q]=[]),$[q].push(H)}return $}(f,ee)),w=window.devicePixelRatio,I=navigator.connection||navigator.mozConnection||navigator.webkitConnection,S=I?I.effectiveType:void 0,N={counters:[],metadata:[],attributes:[]},z=(P,F,$)=>{$!=null&&P.push({name:F,value:$.toString()})};for(const P in b)z(N.counters,P,b[P]);if(d.interactionRange[0]!==1/0&&d.interactionRange[1]!==-1/0&&(z(N.counters,"interactionRangeMin",d.interactionRange[0]),z(N.counters,"interactionRangeMax",d.interactionRange[1])),g)for(const P of Object.keys(Z)){const F=Z[P],$=g.find(H=>H.name===F);$&&z(N.counters,F,$.startTime)}return z(N.counters,"visibilityHidden",d.visibilityHidden),z(N.attributes,"style",function(P){if(P)for(const F of P){const $=F.name.split("?")[0];if(V($)){const H=$.split("/").slice(-2);if(H.length===2)return`mapbox://styles/${H[0]}/${H[1]}`}}}(f)),z(N.attributes,"terrainEnabled",d.terrainEnabled?"true":"false"),z(N.attributes,"fogEnabled",d.fogEnabled?"true":"false"),z(N.attributes,"projection",d.projection),z(N.attributes,"zoom",d.zoom),z(N.metadata,"devicePixelRatio",w),z(N.metadata,"connectionEffectiveType",S),z(N.metadata,"navigatorUserAgent",navigator.userAgent),z(N.metadata,"screenWidth",window.screen.width),z(N.metadata,"screenHeight",window.screen.height),z(N.metadata,"windowWidth",window.innerWidth),z(N.metadata,"windowHeight",window.innerHeight),z(N.metadata,"mapWidth",d.width/w),z(N.metadata,"mapHeight",d.height/w),z(N.metadata,"webglRenderer",d.renderer),z(N.metadata,"webglVendor",d.vendor),z(N.metadata,"sdkVersion",v),z(N.metadata,"sdkIdentifier","mapbox-gl-js"),N}(r);for(const d of c.metadata);for(const d of c.counters);for(const d of c.attributes);this.postEvent(e,c,()=>{},n)}},as=Er.postPerformanceEvent.bind(Er),to=new class extends Yn{constructor(){super("map.auth"),this.success={},this.skuToken=""}getSession(n,e,r,c){if(!A.API_URL||!A.SESSION_PATH)return;const d=zt(A.API_URL+A.SESSION_PATH);d.params.push(`sku=${e||""}`),d.params.push(`access_token=${c||A.ACCESS_TOKEN||""}`);const f={url:sn(d),headers:{"Content-Type":"text/plain"}};this.pendingRequest=function(g,b){return It(ve(g,{method:"GET"}),b)}(f,g=>{this.pendingRequest=null,r(g),this.saveEventData(),this.processRequests(c)})}getSessionAPI(n,e,r,c){this.skuToken=e,this.errorCb=c,A.SESSION_PATH&&A.API_URL&&(r||A.ACCESS_TOKEN?this.queueRequest({id:n,timestamp:Date.now()},r):this.errorCb(new Error(Ct)))}processRequests(n){if(this.pendingRequest||this.queue.length===0)return;const{id:e,timestamp:r}=this.queue.shift();e&&this.success[e]||this.getSession(r,this.skuToken,c=>{c?this.errorCb(c):e&&(this.success[e]=!0)},n)}remove(){this.errorCb=null}},Kc=to.getSessionAPI.bind(to),pa=new Set;function Vl(n,e,r){r[n]&&r[n].indexOf(e)!==-1||(r[n]=r[n]||[],r[n].push(e))}function ap(n,e,r){if(r&&r[n]){const c=r[n].indexOf(e);c!==-1&&r[n].splice(c,1)}}class Xa{constructor(e,r={}){ve(this,r),this.type=e}}class lp extends Xa{constructor(e,r={}){super("error",ve({error:e},r))}}class $l{on(e,r){return this._listeners=this._listeners||{},Vl(e,r,this._listeners),this}off(e,r){return ap(e,r,this._listeners),ap(e,r,this._oneTimeListeners),this}once(e,r){return r?(this._oneTimeListeners=this._oneTimeListeners||{},Vl(e,r,this._oneTimeListeners),this):new Promise(c=>this.once(e,c))}fire(e,r){typeof e=="string"&&(e=new Xa(e,r||{}));const c=e.type;if(this.listens(c)){e.target=this;const d=this._listeners&&this._listeners[c]?this._listeners[c].slice():[];for(const b of d)b.call(this,e);const f=this._oneTimeListeners&&this._oneTimeListeners[c]?this._oneTimeListeners[c].slice():[];for(const b of f)ap(c,b,this._oneTimeListeners),b.call(this,e);const g=this._eventedParent;g&&(ve(e,typeof this._eventedParentData=="function"?this._eventedParentData():this._eventedParentData),g.fire(e))}else e instanceof lp&&console.error(e.error);return this}listens(e){return!!(this._listeners&&this._listeners[e]&&this._listeners[e].length>0||this._oneTimeListeners&&this._oneTimeListeners[e]&&this._oneTimeListeners[e].length>0||this._eventedParent&&this._eventedParent.listens(e))}setEventedParent(e,r){return this._eventedParent=e,this._eventedParentData=r,this}}a.y=void 0;var Oy={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 Yh(n){return(n=Math.round(n))<0?0:n>255?255:n}function cp(n){return Yh(n[n.length-1]==="%"?parseFloat(n)/100*255:parseInt(n))}function Qh(n){return(e=n[n.length-1]==="%"?parseFloat(n)/100:parseFloat(n))<0?0:e>1?1:e;var e}function up(n,e,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?n+(e-n)*r*6:2*r<1?e:3*r<2?n+(e-n)*(2/3-r)*6:n}try{a.y={}.parseCSSColor=function(n){var e,r=n.replace(/ /g,"").toLowerCase();if(r in Oy)return Oy[r].slice();if(r[0]==="#")return r.length===4?(e=parseInt(r.substr(1),16))>=0&&e<=4095?[(3840&e)>>4|(3840&e)>>8,240&e|(240&e)>>4,15&e|(15&e)<<4,1]:null:r.length===7&&(e=parseInt(r.substr(1),16))>=0&&e<=16777215?[(16711680&e)>>16,(65280&e)>>8,255&e,1]:null;var c=r.indexOf("("),d=r.indexOf(")");if(c!==-1&&d+1===r.length){var f=r.substr(0,c),g=r.substr(c+1,d-(c+1)).split(","),b=1;switch(f){case"rgba":if(g.length!==4)return null;b=Qh(g.pop());case"rgb":return g.length!==3?null:[cp(g[0]),cp(g[1]),cp(g[2]),b];case"hsla":if(g.length!==4)return null;b=Qh(g.pop());case"hsl":if(g.length!==3)return null;var w=(parseFloat(g[0])%360+360)%360/360,I=Qh(g[1]),S=Qh(g[2]),N=S<=.5?S*(I+1):S+I-S*I,z=2*S-N;return[Yh(255*up(z,N,w+1/3)),Yh(255*up(z,N,w)),Yh(255*up(z,N,w-1/3)),b];default:return null}}return null}}catch{}class wo{constructor(e,r,c,d=1){this.r=e,this.g=r,this.b=c,this.a=d}static parse(e){if(!e)return;if(e instanceof wo)return e;if(typeof e!="string")return;const r=a.y(e);return r?new wo(r[0]/255*r[3],r[1]/255*r[3],r[2]/255*r[3],r[3]):void 0}toString(){const[e,r,c,d]=this.toArray();return`rgba(${Math.round(e)},${Math.round(r)},${Math.round(c)},${d})`}toArray(){const{r:e,g:r,b:c,a:d}=this;return d===0?[0,0,0,0]:[255*e/d,255*r/d,255*c/d,d]}toArray01(){const{r:e,g:r,b:c,a:d}=this;return d===0?[0,0,0,0]:[e/d,r/d,c/d,d]}toArray01Scaled(e){const{r,g:c,b:d,a:f}=this;return f===0?[0,0,0]:[r/f*e,c/f*e,d/f*e]}toArray01PremultipliedAlpha(){const{r:e,g:r,b:c,a:d}=this;return[e,r,c,d]}toArray01Linear(){const{r:e,g:r,b:c,a:d}=this;return d===0?[0,0,0,0]:[Math.pow(e/d,2.2),Math.pow(r/d,2.2),Math.pow(c/d,2.2),d]}}wo.black=new wo(0,0,0,1),wo.white=new wo(1,1,1,1),wo.transparent=new wo(0,0,0,0),wo.red=new wo(1,0,0,1),wo.blue=new wo(0,0,1,1);var Sr=wo;function ui(n,e,r){return n*(1-r)+e*r}function zy(n,e,r){return n.map((c,d)=>ui(c,e[d],r))}var Hh=Object.freeze({__proto__:null,array:zy,color:function(n,e,r){return new Sr(ui(n.r,e.r,r),ui(n.g,e.g,r),ui(n.b,e.b,r),ui(n.a,e.a,r))},number:ui});function hp(n,...e){for(const r of e)for(const c in r)n[c]=r[c];return n}class c3 extends Error{constructor(e,r){super(r),this.message=r,this.key=e}}var Ts=c3;class dp{constructor(e,r=[]){this.parent=e,this.bindings={};for(const[c,d]of r)this.bindings[c]=d}concat(e){return new dp(this,e)}get(e){if(this.bindings[e])return this.bindings[e];if(this.parent)return this.parent.get(e);throw new Error(`${e} not found in scope.`)}has(e){return!!this.bindings[e]||!!this.parent&&this.parent.has(e)}}var u3=dp;const Yl={kind:"null"},fn={kind:"number"},Di={kind:"string"},Ai={kind:"boolean"},Zo={kind:"color"},Ql={kind:"object"},yi={kind:"value"},Gh={kind:"collator"},Hl={kind:"formatted"},Xc={kind:"resolvedImage"};function Io(n,e){return{kind:"array",itemType:n,N:e}}function Ir(n){if(n.kind==="array"){const e=Ir(n.itemType);return typeof n.N=="number"?`array<${e}, ${n.N}>`:n.itemType.kind==="value"?"array":`array<${e}>`}return n.kind}const Dn=[Yl,fn,Di,Ai,Zo,Hl,Ql,Io(yi),Xc];function Ja(n,e){if(e.kind==="error")return null;if(n.kind==="array"){if(e.kind==="array"&&(e.N===0&&e.itemType.kind==="value"||!Ja(n.itemType,e.itemType))&&(typeof n.N!="number"||n.N===e.N))return null}else{if(n.kind===e.kind)return null;if(n.kind==="value"){for(const r of Dn)if(!Ja(r,e))return null}}return`Expected ${Ir(n)} but found ${Ir(e)} instead.`}function Rn(n,e){return e.some(r=>r.kind===n.kind)}function ma(n,e){return e.some(r=>r==="null"?n===null:r==="array"?Array.isArray(n):r==="object"?n&&!Array.isArray(n)&&typeof n=="object":r===typeof n)}class ni{constructor(e,r,c){this.sensitivity=e?r?"variant":"case":r?"accent":"base",this.locale=c,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}compare(e,r){return this.collator.compare(e,r)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class Gl{constructor(e,r,c,d,f){this.text=e.normalize?e.normalize():e,this.image=r,this.scale=c,this.fontStack=d,this.textColor=f}}class no{constructor(e){this.sections=e}static fromString(e){return new no([new Gl(e,null,null,null,null)])}isEmpty(){return this.sections.length===0||!this.sections.some(e=>e.text.length!==0||e.image&&e.image.namePrimary.length!==0)}static factory(e){return e instanceof no?e:no.fromString(e)}toString(){return this.sections.length===0?"":this.sections.map(e=>e.text).join("")}serialize(){const e=["format"];for(const r of this.sections){if(r.image){e.push(["image",r.image.namePrimary]);continue}e.push(r.text);const c={};r.fontStack&&(c["text-font"]=["literal",r.fontStack.split(",")]),r.scale&&(c["font-scale"]=r.scale),r.textColor&&(c["text-color"]=["rgba"].concat(r.textColor.toArray())),e.push(c)}return e}}class An{constructor(e){this.namePrimary=e.namePrimary,e.nameSecondary&&(this.nameSecondary=e.nameSecondary),this.available=e.available}toString(){return this.nameSecondary?`[${this.namePrimary},${this.nameSecondary}]`:this.namePrimary}static fromString(e,r){return e?new An({namePrimary:e,nameSecondary:r,available:!1}):null}serialize(){return this.nameSecondary?["image",this.namePrimary,this.nameSecondary]:["image",this.namePrimary]}}function ky(n,e,r,c){return typeof n=="number"&&n>=0&&n<=255&&typeof e=="number"&&e>=0&&e<=255&&typeof r=="number"&&r>=0&&r<=255?c===void 0||typeof c=="number"&&c>=0&&c<=1?null:`Invalid rgba value [${[n,e,r,c].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid rgba value [${(typeof c=="number"?[n,e,r,c]:[n,e,r]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}function el(n){if(n===null||typeof n=="string"||typeof n=="boolean"||typeof n=="number"||n instanceof Sr||n instanceof ni||n instanceof no||n instanceof An)return!0;if(Array.isArray(n)){for(const e of n)if(!el(e))return!1;return!0}if(typeof n=="object"){for(const e in n)if(!el(n[e]))return!1;return!0}return!1}function Nr(n){if(n===null)return Yl;if(typeof n=="string")return Di;if(typeof n=="boolean")return Ai;if(typeof n=="number")return fn;if(n instanceof Sr)return Zo;if(n instanceof ni)return Gh;if(n instanceof no)return Hl;if(n instanceof An)return Xc;if(Array.isArray(n)){const e=n.length;let r;for(const c of n){const d=Nr(c);if(r){if(r===d)continue;r=yi;break}r=d}return Io(r||yi,e)}return Ql}function Wo(n){const e=typeof n;return n===null?"":e==="string"||e==="number"||e==="boolean"?String(n):n instanceof Sr||n instanceof no||n instanceof An?n.toString():JSON.stringify(n)}class ga{constructor(e,r){this.type=e,this.value=r}static parse(e,r){if(e.length!==2)return r.error(`'literal' expression requires exactly one argument, but found ${e.length-1} instead.`);if(!el(e[1]))return r.error("invalid value");const c=e[1];let d=Nr(c);const f=r.expectedType;return d.kind!=="array"||d.N!==0||!f||f.kind!=="array"||typeof f.N=="number"&&f.N!==0||(d=f),new ga(d,c)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}serialize(){return this.type.kind==="array"||this.type.kind==="object"?["literal",this.value]:this.value instanceof Sr?["rgba"].concat(this.value.toArray()):this.value instanceof no?this.value.serialize():this.value}}var zs=ga,Cr=class{constructor(n){this.name="ExpressionEvaluationError",this.message=n}toJSON(){return this.message}};const fp={string:Di,number:fn,boolean:Ai,object:Ql};class pp{constructor(e,r){this.type=e,this.args=r}static parse(e,r){if(e.length<2)return r.error("Expected at least one argument.");let c,d=1;const f=e[0];if(f==="array"){let b,w;if(e.length>2){const I=e[1];if(typeof I!="string"||!(I in fp)||I==="object")return r.error('The item type argument of "array" must be one of string, number, boolean',1);b=fp[I],d++}else b=yi;if(e.length>3){if(e[2]!==null&&(typeof e[2]!="number"||e[2]<0||e[2]!==Math.floor(e[2])))return r.error('The length argument to "array" must be a positive integer literal',2);w=e[2],d++}c=Io(b,w)}else c=fp[f];const g=[];for(;d<e.length;d++){const b=r.parse(e[d],d,yi);if(!b)return null;g.push(b)}return new pp(c,g)}evaluate(e){for(let r=0;r<this.args.length;r++){const c=this.args[r].evaluate(e);if(!Ja(this.type,Nr(c)))return c;if(r===this.args.length-1)throw new Cr(`Expected value to be of type ${Ir(this.type)}, but found ${Ir(Nr(c))} instead.`)}return null}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every(e=>e.outputDefined())}serialize(){const e=this.type,r=[e.kind];if(e.kind==="array"){const c=e.itemType;if(c.kind==="string"||c.kind==="number"||c.kind==="boolean"){r.push(c.kind);const d=e.N;(typeof d=="number"||this.args.length>1)&&r.push(d)}}return r.concat(this.args.map(c=>c.serialize()))}}var ks=pp;class Zl{constructor(e){this.type=Hl,this.sections=e}static parse(e,r){if(e.length<2)return r.error("Expected at least one argument.");const c=e[1];if(!Array.isArray(c)&&typeof c=="object")return r.error("First argument must be an image or text section.");const d=[];let f=!1;for(let g=1;g<=e.length-1;++g){const b=e[g];if(f&&typeof b=="object"&&!Array.isArray(b)){f=!1;let w=null;if(b["font-scale"]&&(w=r.parse(b["font-scale"],1,fn),!w))return null;let I=null;if(b["text-font"]&&(I=r.parse(b["text-font"],1,Io(Di)),!I))return null;let S=null;if(b["text-color"]&&(S=r.parse(b["text-color"],1,Zo),!S))return null;const N=d[d.length-1];N.scale=w,N.font=I,N.textColor=S}else{const w=r.parse(e[g],1,yi);if(!w)return null;const I=w.type.kind;if(I!=="string"&&I!=="value"&&I!=="null"&&I!=="resolvedImage")return r.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");f=!0,d.push({content:w,scale:null,font:null,textColor:null})}}return new Zl(d)}evaluate(e){return new no(this.sections.map(r=>{const c=r.content.evaluate(e);return Nr(c)===Xc?new Gl("",c,null,null,null):new Gl(Wo(c),null,r.scale?r.scale.evaluate(e):null,r.font?r.font.evaluate(e).join(","):null,r.textColor?r.textColor.evaluate(e):null)}))}eachChild(e){for(const r of this.sections)e(r.content),r.scale&&e(r.scale),r.font&&e(r.font),r.textColor&&e(r.textColor)}outputDefined(){return!1}serialize(){const e=["format"];for(const r of this.sections){e.push(r.content.serialize());const c={};r.scale&&(c["font-scale"]=r.scale.serialize()),r.font&&(c["text-font"]=r.font.serialize()),r.textColor&&(c["text-color"]=r.textColor.serialize()),e.push(c)}return e}}class tl{constructor(e,r){this.type=Xc,this.inputPrimary=e,this.inputSecondary=r}static parse(e,r){if(e.length<2)return r.error("Expected two or more arguments.");const c=r.parse(e[1],1,Di);if(!c)return r.error("No image name provided.");if(e.length===2)return new tl(c);const d=r.parse(e[2],1,Di);return d?new tl(c,d):r.error("Secondary image variant is not a string.")}evaluate(e){const r=An.fromString(this.inputPrimary.evaluate(e),this.inputSecondary?this.inputSecondary.evaluate(e):void 0);return r&&e.availableImages&&(r.available=e.availableImages.indexOf(r.namePrimary)>-1,r.nameSecondary&&r.available&&e.availableImages&&(r.available=e.availableImages.indexOf(r.nameSecondary)>-1)),r}eachChild(e){e(this.inputPrimary),this.inputSecondary&&e(this.inputSecondary)}outputDefined(){return!1}serialize(){return this.inputSecondary?["image",this.inputPrimary.serialize(),this.inputSecondary.serialize()]:["image",this.inputPrimary.serialize()]}}function Wl(n){return n instanceof Number?"number":n instanceof String?"string":n instanceof Boolean?"boolean":Array.isArray(n)?"array":n===null?"null":typeof n}const ls={"to-boolean":Ai,"to-color":Zo,"to-number":fn,"to-string":Di};class Zh{constructor(e,r){this.type=e,this.args=r}static parse(e,r){if(e.length<2)return r.error("Expected at least one argument.");const c=e[0],d=[];let f=Yl;if(c==="to-array"){if(!Array.isArray(e[1]))return null;const g=e[1].length;if(r.expectedType){if(r.expectedType.kind!=="array")return r.error(`Expected ${r.expectedType.kind} but found array.`);f=Io(r.expectedType.itemType,g)}else{if(!(g>0&&el(e[1][0])))return null;f=Io(Nr(e[1][0]),g)}for(let b=0;b<g;b++){const w=e[1][b];let I;if(Wl(w)==="array")I=r.parse(w,void 0,f.itemType);else{const S=Wl(w);if(S!==f.itemType.kind)return r.error(`Expected ${f.itemType.kind} but found ${S}.`);I=r.registry.literal.parse(["literal",w===void 0?null:w],r)}if(!I)return null;d.push(I)}}else{if((c==="to-boolean"||c==="to-string")&&e.length!==2)return r.error("Expected one argument.");f=ls[c];for(let g=1;g<e.length;g++){const b=r.parse(e[g],g,yi);if(!b)return null;d.push(b)}}return new Zh(f,d)}evaluate(e){if(this.type.kind==="boolean")return!!this.args[0].evaluate(e);if(this.type.kind==="color"){let r,c;for(const d of this.args){if(r=d.evaluate(e),c=null,r instanceof Sr)return r;if(typeof r=="string"){const f=e.parseColor(r);if(f)return f}else if(Array.isArray(r)&&(c=r.length<3||r.length>4?`Invalid rbga value ${JSON.stringify(r)}: expected an array containing either three or four numeric values.`:ky(r[0],r[1],r[2],r[3]),!c))return new Sr(r[0]/255,r[1]/255,r[2]/255,r[3])}throw new Cr(c||`Could not parse color from value '${typeof r=="string"?r:String(JSON.stringify(r))}'`)}if(this.type.kind==="number"){let r=null;for(const c of this.args){if(r=c.evaluate(e),r===null)return 0;const d=Number(r);if(!isNaN(d))return d}throw new Cr(`Could not convert ${JSON.stringify(r)} to number.`)}return this.type.kind==="formatted"?no.fromString(Wo(this.args[0].evaluate(e))):this.type.kind==="resolvedImage"?An.fromString(Wo(this.args[0].evaluate(e))):this.type.kind==="array"?this.args.map(r=>r.evaluate(e)):Wo(this.args[0].evaluate(e))}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every(e=>e.outputDefined())}serialize(){if(this.type.kind==="formatted")return new Zl([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if(this.type.kind==="resolvedImage")return new tl(this.args[0]).serialize();const e=this.type.kind==="array"?[]:[`to-${this.type.kind}`];return this.eachChild(r=>{e.push(r.serialize())}),e}}var js=Zh;const Jc=["Unknown","Point","LineString","Polygon"];var jy=class{constructor(n,e){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,this.scope=n,this.options=e}id(){return this.feature&&this.feature.id!==void 0?this.feature.id:null}geometryType(){return this.feature?typeof this.feature.type=="number"?Jc[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||{}}measureLight(n){return this.globals.brightness||0}distanceFromCenter(){if(this.featureTileCoord&&this.featureDistanceData){const n=this.featureDistanceData.center,e=this.featureDistanceData.scale,{x:r,y:c}=this.featureTileCoord;return this.featureDistanceData.bearing[0]*(r*e-n[0])+this.featureDistanceData.bearing[1]*(c*e-n[1])}return 0}parseColor(n){let e=this._parseColorCache[n];return e||(e=this._parseColorCache[n]=Sr.parse(n)),e}getConfig(n){return this.options?this.options.get(n):null}};class nl{constructor(e,r,c,d,f){this.name=e,this.type=r,this._evaluate=c,this.args=d,this._overloadIndex=f}evaluate(e){if(!this._evaluate){const r=nl.definitions[this.name];this._evaluate=Array.isArray(r)?r[2]:r.overloads[this._overloadIndex][1]}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,r){const c=e[0],d=nl.definitions[c];if(!d)return r.error(`Unknown expression "${c}". If you wanted a literal array, use ["literal", [...]].`,0);const f=Array.isArray(d)?d[0]:d.type,g=Array.isArray(d)?[[d[1],d[2]]]:d.overloads,b=[];let w=null,I=-1;for(const[S,N]of g){if(Array.isArray(S)&&S.length!==e.length-1)continue;b.push(S),I++,w=new $y(r.registry,r.path,null,r.scope,void 0,r._scope,r.options);const z=[];let P=!1;for(let F=1;F<e.length;F++){const $=e[F],H=Array.isArray(S)?S[F-1]:S.type,q=w.parse($,1+z.length,H);if(!q){P=!0;break}z.push(q)}if(!P)if(Array.isArray(S)&&S.length!==z.length)w.error(`Expected ${S.length} arguments, but found ${z.length} instead.`);else{for(let F=0;F<z.length;F++){const $=Array.isArray(S)?S[F]:S.type,H=z[F];w.concat(F+1).checkSubtype($,H.type)}if(w.errors.length===0)return new nl(c,f,N,z,I)}}if(b.length===1)r.errors.push(...w.errors);else{const S=(b.length?b:g.map(([z])=>z)).map(Ry).join(" | "),N=[];for(let z=1;z<e.length;z++){const P=r.parse(e[z],1+N.length);if(!P)return null;N.push(Ir(P.type))}r.error(`Expected arguments of type ${S}, but found (${N.join(", ")}) instead.`)}return null}static register(e,r){nl.definitions=r;for(const c in r)e[c]=nl}}function Ry(n){return Array.isArray(n)?`(${n.map(Ir).join(", ")})`:`(${Ir(n.type)}...)`}var fi=nl;class eu{constructor(e,r,c){this.type=Gh,this.locale=c,this.caseSensitive=e,this.diacriticSensitive=r}static parse(e,r){if(e.length!==2)return r.error("Expected one argument.");const c=e[1];if(typeof c!="object"||Array.isArray(c))return r.error("Collator options argument must be an object.");const d=r.parse(c["case-sensitive"]!==void 0&&c["case-sensitive"],1,Ai);if(!d)return null;const f=r.parse(c["diacritic-sensitive"]!==void 0&&c["diacritic-sensitive"],1,Ai);if(!f)return null;let g=null;return c.locale&&(g=r.parse(c.locale,1,Di),!g)?null:new eu(d,f,g)}evaluate(e){return new ni(this.caseSensitive.evaluate(e),this.diacriticSensitive.evaluate(e),this.locale?this.locale.evaluate(e):null)}eachChild(e){e(this.caseSensitive),e(this.diacriticSensitive),this.locale&&e(this.locale)}outputDefined(){return!1}serialize(){const e={};return e["case-sensitive"]=this.caseSensitive.serialize(),e["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(e.locale=this.locale.serialize()),["collator",e]}}var mp={exports:{}};mp.exports=function(){function n(c,d,f,g,b){for(;g>f;){if(g-f>600){var w=g-f+1,I=d-f+1,S=Math.log(w),N=.5*Math.exp(2*S/3),z=.5*Math.sqrt(S*N*(w-N)/w)*(I-w/2<0?-1:1);n(c,d,Math.max(f,Math.floor(d-I*N/w+z)),Math.min(g,Math.floor(d+(w-I)*N/w+z)),b)}var P=c[d],F=f,$=g;for(e(c,f,d),b(c[g],P)>0&&e(c,f,g);F<$;){for(e(c,F,$),F++,$--;b(c[F],P)<0;)F++;for(;b(c[$],P)>0;)$--}b(c[f],P)===0?e(c,f,$):e(c,++$,g),$<=d&&(f=$+1),d<=$&&(g=$-1)}}function e(c,d,f){var g=c[d];c[d]=c[f],c[f]=g}function r(c,d){return c<d?-1:c>d?1:0}return function(c,d,f,g,b){n(c,d,f||0,g||c.length-1,b||r)}}();var h3=ne(mp.exports);function d3(n){let e=0;for(let r,c,d=0,f=n.length,g=f-1;d<f;g=d++)r=n[d],c=n[g],e+=(c.x-r.x)*(r.y+c.y);return e}function ya(n,e){n[0]=Math.min(n[0],e[0]),n[1]=Math.min(n[1],e[1]),n[2]=Math.max(n[2],e[0]),n[3]=Math.max(n[3],e[1])}function _a(n,e){return!(n[0]<=e[0]||n[2]>=e[2]||n[1]<=e[1]||n[3]>=e[3])}function Wh(n,e,r){const c=n[0]-e[0],d=n[1]-e[1],f=n[0]-r[0],g=n[1]-r[1];return c*g-f*d==0&&c*f<=0&&d*g<=0}function ql(n,e,r=!1){let c=!1;for(let b=0,w=e.length;b<w;b++){const I=e[b];for(let S=0,N=I.length,z=N-1;S<N;z=S++){const P=I[z],F=I[S];if(Wh(n,P,F))return r;(f=P)[1]>(d=n)[1]!=(g=F)[1]>d[1]&&d[0]<(g[0]-f[0])*(d[1]-f[1])/(g[1]-f[1])+f[0]&&(c=!c)}}var d,f,g;return c}function gp(n,e,r,c){const d=c[0]-r[0],f=c[1]-r[1],g=(n[0]-r[0])*f-d*(n[1]-r[1]),b=(e[0]-r[0])*f-d*(e[1]-r[1]);return g>0&&b<0||g<0&&b>0}function Rs(n,e,r,c){return(d=[c[0]-r[0],c[1]-r[1]])[0]*(f=[e[0]-n[0],e[1]-n[1]])[1]-d[1]*f[0]!=0&&!(!gp(n,e,r,c)||!gp(r,c,n,e));var d,f}const va=8192;function tu(n,e){const r=(180+n[0])/360,c=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+n[1]*Math.PI/360)))/360,d=Math.pow(2,e.z);return[Math.round(r*d*va),Math.round(c*d*va)]}function yp(n,e){for(let r=0;r<e.length;r++)if(ql(n,e[r]))return!0;return!1}function _p(n,e,r){for(const c of r)for(let d=0,f=c.length,g=f-1;d<f;g=d++)if(Rs(n,e,c[g],c[d]))return!0;return!1}function qo(n,e){for(let r=0;r<n.length;++r)if(!ql(n[r],e))return!1;for(let r=0;r<n.length-1;++r)if(_p(n[r],n[r+1],e))return!1;return!0}function Py(n,e){for(let r=0;r<e.length;r++)if(qo(n,e[r]))return!0;return!1}function vp(n,e,r){const c=[];for(let d=0;d<n.length;d++){const f=[];for(let g=0;g<n[d].length;g++){const b=tu(n[d][g],r);ya(e,b),f.push(b)}c.push(f)}return c}function xp(n,e,r){const c=[];for(let d=0;d<n.length;d++){const f=vp(n[d],e,r);c.push(f)}return c}function bp(n,e,r,c){if(n[0]<r[0]||n[0]>r[2]){const d=.5*c;let f=n[0]-r[0]>d?-c:r[0]-n[0]>d?c:0;f===0&&(f=n[0]-r[2]>d?-c:r[2]-n[0]>d?c:0),n[0]+=f}ya(e,n)}function Mp(n,e,r,c){const d=Math.pow(2,c.z)*va,f=[c.x*va,c.y*va],g=[];if(!n)return g;for(const b of n)for(const w of b){const I=[w.x+f[0],w.y+f[1]];bp(I,e,r,d),g.push(I)}return g}function wp(n,e,r,c){const d=Math.pow(2,c.z)*va,f=[c.x*va,c.y*va],g=[];if(!n)return g;for(const w of n){const I=[];for(const S of w){const N=[S.x+f[0],S.y+f[1]];ya(e,N),I.push(N)}g.push(I)}if(e[2]-e[0]<=d/2){(b=e)[0]=b[1]=1/0,b[2]=b[3]=-1/0;for(const w of g)for(const I of w)bp(I,e,r,d)}var b;return g}class Kl{constructor(e,r){this.type=Ai,this.geojson=e,this.geometries=r}static parse(e,r){if(e.length!==2)return r.error(`'within' expression requires exactly one argument, but found ${e.length-1} instead.`);if(el(e[1])){const c=e[1];if(c.type==="FeatureCollection")for(let d=0;d<c.features.length;++d){const f=c.features[d].geometry.type;if(f==="Polygon"||f==="MultiPolygon")return new Kl(c,c.features[d].geometry)}else if(c.type==="Feature"){const d=c.geometry.type;if(d==="Polygon"||d==="MultiPolygon")return new Kl(c,c.geometry)}else if(c.type==="Polygon"||c.type==="MultiPolygon")return new Kl(c,c)}return r.error("'within' expression requires valid geojson object that contains polygon geometry type.")}evaluate(e){if(e.geometry()!=null&&e.canonicalID()!=null){if(e.geometryType()==="Point")return function(r,c){const d=[1/0,1/0,-1/0,-1/0],f=[1/0,1/0,-1/0,-1/0],g=r.canonicalID();if(!g)return!1;if(c.type==="Polygon"){const b=vp(c.coordinates,f,g),w=Mp(r.geometry(),d,f,g);if(!_a(d,f))return!1;for(const I of w)if(!ql(I,b))return!1}if(c.type==="MultiPolygon"){const b=xp(c.coordinates,f,g),w=Mp(r.geometry(),d,f,g);if(!_a(d,f))return!1;for(const I of w)if(!yp(I,b))return!1}return!0}(e,this.geometries);if(e.geometryType()==="LineString")return function(r,c){const d=[1/0,1/0,-1/0,-1/0],f=[1/0,1/0,-1/0,-1/0],g=r.canonicalID();if(!g)return!1;if(c.type==="Polygon"){const b=vp(c.coordinates,f,g),w=wp(r.geometry(),d,f,g);if(!_a(d,f))return!1;for(const I of w)if(!qo(I,b))return!1}if(c.type==="MultiPolygon"){const b=xp(c.coordinates,f,g),w=wp(r.geometry(),d,f,g);if(!_a(d,f))return!1;for(const I of w)if(!Py(I,b))return!1}return!0}(e,this.geometries)}return!1}eachChild(){}outputDefined(){return!0}serialize(){return["within",this.geojson]}}var qh=Kl,nu={exports:{}};nu.exports=function(){var n={kilometers:1,miles:.621371192237334,nauticalmiles:.5399568034557235,meters:1e3,metres:1e3,yards:1093.6132983377079,feet:3280.839895013123,inches:39370.078740157485},e=1/298.257223563,r=e*(2-e),c=Math.PI/180,d=function(I,S){if(I===void 0)throw new Error("No latitude given.");if(S&&!n[S])throw new Error("Unknown unit "+S+". Use one of: "+Object.keys(n).join(", "));var N=6378.137*c*(S?n[S]:1),z=Math.cos(I*c),P=1/(1-r*(1-z*z)),F=Math.sqrt(P);this.kx=N*F*z,this.ky=N*F*P*(1-r)},f={units:{configurable:!0}};function g(I,S){return I[0]===S[0]&&I[1]===S[1]}function b(I,S,N){var z=w(S[0]-I[0]);return[I[0]+z*N,I[1]+(S[1]-I[1])*N]}function w(I){for(;I<-180;)I+=360;for(;I>180;)I-=360;return I}return d.fromTile=function(I,S,N){var z=Math.PI*(1-2*(I+.5)/Math.pow(2,S)),P=Math.atan(.5*(Math.exp(z)-Math.exp(-z)))/c;return new d(P,N)},f.units.get=function(){return n},d.prototype.distance=function(I,S){var N=w(I[0]-S[0])*this.kx,z=(I[1]-S[1])*this.ky;return Math.sqrt(N*N+z*z)},d.prototype.bearing=function(I,S){var N=w(S[0]-I[0])*this.kx;return Math.atan2(N,(S[1]-I[1])*this.ky)/c},d.prototype.destination=function(I,S,N){var z=N*c;return this.offset(I,Math.sin(z)*S,Math.cos(z)*S)},d.prototype.offset=function(I,S,N){return[I[0]+S/this.kx,I[1]+N/this.ky]},d.prototype.lineDistance=function(I){for(var S=0,N=0;N<I.length-1;N++)S+=this.distance(I[N],I[N+1]);return S},d.prototype.area=function(I){for(var S=0,N=0;N<I.length;N++)for(var z=I[N],P=0,F=z.length,$=F-1;P<F;$=P++)S+=w(z[P][0]-z[$][0])*(z[P][1]+z[$][1])*(N?-1:1);return Math.abs(S)/2*this.kx*this.ky},d.prototype.along=function(I,S){var N=0;if(S<=0)return I[0];for(var z=0;z<I.length-1;z++){var P=I[z],F=I[z+1],$=this.distance(P,F);if((N+=$)>S)return b(P,F,(S-(N-$))/$)}return I[I.length-1]},d.prototype.pointToSegmentDistance=function(I,S,N){var z=S[0],P=S[1],F=w(N[0]-z)*this.kx,$=(N[1]-P)*this.ky,H=0;return F===0&&$===0||((H=(w(I[0]-z)*this.kx*F+(I[1]-P)*this.ky*$)/(F*F+$*$))>1?(z=N[0],P=N[1]):H>0&&(z+=F/this.kx*H,P+=$/this.ky*H)),F=w(I[0]-z)*this.kx,$=(I[1]-P)*this.ky,Math.sqrt(F*F+$*$)},d.prototype.pointOnLine=function(I,S){for(var N,z,P,F,$=1/0,H=0;H<I.length-1;H++){var q=I[H][0],he=I[H][1],_e=w(I[H+1][0]-q)*this.kx,ye=(I[H+1][1]-he)*this.ky,De=0;_e===0&&ye===0||((De=(w(S[0]-q)*this.kx*_e+(S[1]-he)*this.ky*ye)/(_e*_e+ye*ye))>1?(q=I[H+1][0],he=I[H+1][1]):De>0&&(q+=_e/this.kx*De,he+=ye/this.ky*De));var Te=(_e=w(S[0]-q)*this.kx)*_e+(ye=(S[1]-he)*this.ky)*ye;Te<$&&($=Te,N=q,z=he,P=H,F=De)}return{point:[N,z],index:P,t:Math.max(0,Math.min(1,F))}},d.prototype.lineSlice=function(I,S,N){var z=this.pointOnLine(N,I),P=this.pointOnLine(N,S);if(z.index>P.index||z.index===P.index&&z.t>P.t){var F=z;z=P,P=F}var $=[z.point],H=z.index+1,q=P.index;!g(N[H],$[0])&&H<=q&&$.push(N[H]);for(var he=H+1;he<=q;he++)$.push(N[he]);return g(N[q],P.point)||$.push(P.point),$},d.prototype.lineSliceAlong=function(I,S,N){for(var z=0,P=[],F=0;F<N.length-1;F++){var $=N[F],H=N[F+1],q=this.distance($,H);if((z+=q)>I&&P.length===0&&P.push(b($,H,(I-(z-q))/q)),z>=S)return P.push(b($,H,(S-(z-q))/q)),P;z>I&&P.push(H)}return P},d.prototype.bufferPoint=function(I,S){var N=S/this.ky,z=S/this.kx;return[I[0]-z,I[1]-N,I[0]+z,I[1]+N]},d.prototype.bufferBBox=function(I,S){var N=S/this.ky,z=S/this.kx;return[I[0]-z,I[1]-N,I[2]+z,I[3]+N]},d.prototype.insideBBox=function(I,S){return w(I[0]-S[0])>=0&&w(I[0]-S[2])<=0&&I[1]>=S[1]&&I[1]<=S[3]},Object.defineProperties(d,f),d}();var xa=ne(nu.exports),Ip={exports:{}};Ip.exports=function(){var n=function(r,c){if(r===void 0&&(r=[]),c===void 0&&(c=e),this.data=r,this.length=this.data.length,this.compare=c,this.length>0)for(var d=(this.length>>1)-1;d>=0;d--)this._down(d)};function e(r,c){return r<c?-1:r>c?1:0}return n.prototype.push=function(r){this.data.push(r),this.length++,this._up(this.length-1)},n.prototype.pop=function(){if(this.length!==0){var r=this.data[0],c=this.data.pop();return this.length--,this.length>0&&(this.data[0]=c,this._down(0)),r}},n.prototype.peek=function(){return this.data[0]},n.prototype._up=function(r){for(var c=this.data,d=this.compare,f=c[r];r>0;){var g=r-1>>1,b=c[g];if(d(f,b)>=0)break;c[r]=b,r=g}c[r]=f},n.prototype._down=function(r){for(var c=this.data,d=this.compare,f=this.length>>1,g=c[r];r<f;){var b=1+(r<<1),w=c[b],I=b+1;if(I<this.length&&d(c[I],w)<0&&(b=I,w=c[I]),d(w,g)>=0)break;c[r]=w,r=b}c[r]=g},n}();var Ko=ne(Ip.exports),un=8192;function Kh(n,e){return e.dist-n.dist}const Tp=100,iu=50;function Ep(n){const e=[1/0,1/0,-1/0,-1/0];if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==n[r])return!1;return!0}function ba(n){return n[1]-n[0]+1}function cs(n,e){const r=n[1]>=n[0]&&n[1]<e;return r||console.warn("Distance Expression: Index is out of range"),r}function Sp(n,e){if(n[0]>n[1])return[null,null];const r=ba(n);if(e){if(r===2)return[n,null];const c=Math.floor(r/2);return[[n[0],n[0]+c],[n[0]+c,n[1]]]}{if(r===1)return[n,null];const c=Math.floor(r/2)-1;return[[n[0],n[0]+c],[n[0]+c+1,n[1]]]}}function il(n,e){const r=[1/0,1/0,-1/0,-1/0];if(!cs(e,n.length))return r;for(let c=e[0];c<=e[1];++c)ya(r,n[c]);return r}function Xh(n){const e=[1/0,1/0,-1/0,-1/0];for(let r=0;r<n.length;++r)for(let c=0;c<n[r].length;++c)ya(e,n[r][c]);return e}function rl(n,e,r){if(Ep(n)||Ep(e))return NaN;let c=0,d=0;return n[2]<e[0]&&(c=e[0]-n[2]),n[0]>e[2]&&(c=n[0]-e[2]),n[1]>e[3]&&(d=n[1]-e[3]),n[3]<e[1]&&(d=e[1]-n[3]),r.distance([0,0],[c,d])}function Dp(n){return 360*n-180}function f3(n){return 360/Math.PI*Math.atan(Math.exp((180-360*n)*Math.PI/180))-90}function Xl(n,e){const r=Math.pow(2,e.z),c=(n.y/un+e.y)/r;return[Dp((n.x/un+e.x)/r),f3(c)]}function p3(n,e){const r=[];for(let c=0;c<n.length;++c)r.push(Xl(n[c],e));return r}function Uy(n,e,r){const c=r.pointOnLine(e,n).point;return r.distance(n,c)}function By(n,e,r,c,d){const f=r.slice(c[0],c[1]+1);let g=1/0;for(let b=e[0];b<=e[1];++b)if((g=Math.min(g,Uy(n[b],f,d)))===0)return 0;return g}function Ap(n,e,r,c,d){const f=Math.min(d.pointToSegmentDistance(n,r,c),d.pointToSegmentDistance(e,r,c)),g=Math.min(d.pointToSegmentDistance(r,n,e),d.pointToSegmentDistance(c,n,e));return Math.min(f,g)}function m3(n,e,r,c,d){if(!cs(e,n.length)||!cs(c,r.length))return NaN;let f=1/0;for(let g=e[0];g<e[1];++g)for(let b=c[0];b<c[1];++b){if(Rs(n[g],n[g+1],r[b],r[b+1]))return 0;f=Math.min(f,Ap(n[g],n[g+1],r[b],r[b+1],d))}return f}function g3(n,e,r,c,d){if(!cs(e,n.length)||!cs(c,r.length))return NaN;let f=1/0;for(let g=e[0];g<=e[1];++g)for(let b=c[0];b<=c[1];++b)if((f=Math.min(f,d.distance(n[g],r[b])))===0)return f;return f}function y3(n,e,r){if(ql(n,e,!0))return 0;let c=1/0;for(const d of e){const f=d.length;if(f<2)return console.warn("Distance Expression: Invalid polygon!"),NaN;if(d[0]!==d[f-1]&&(c=Math.min(c,r.pointToSegmentDistance(n,d[f-1],d[0])))===0||(c=Math.min(c,Uy(n,d,r)))===0)return c}return c}function Fy(n,e,r,c){if(!cs(e,n.length))return NaN;for(let f=e[0];f<=e[1];++f)if(ql(n[f],r,!0))return 0;let d=1/0;for(let f=e[0];f<e[1];++f)for(const g of r)for(let b=0,w=g.length,I=w-1;b<w;I=b++){if(Rs(n[f],n[f+1],g[I],g[b]))return 0;d=Math.min(d,Ap(n[f],n[f+1],g[I],g[b],c))}return d}function ru(n,e){for(const r of n)for(let c=0;c<=r.length-1;++c)if(ql(r[c],e,!0))return!0;return!1}function _3(n,e,r,c=1/0){const d=Xh(n),f=Xh(e);if(c!==1/0&&rl(d,f,r)>=c)return c;if(_a(d,f)){if(ru(n,e))return 0}else if(ru(e,n))return 0;let g=c;for(const b of n)for(let w=0,I=b.length,S=I-1;w<I;S=w++)for(const N of e)for(let z=0,P=N.length,F=P-1;z<P;F=z++){if(Rs(b[S],b[w],N[F],N[z]))return 0;g=Math.min(g,Ap(b[S],b[w],N[F],N[z],r))}return g}function Jh(n,e,r,c,d,f,g){if(f===null||g===null)return;const b=rl(il(c,f),il(d,g),r);b<e&&n.push({dist:b,range1:f,range2:g})}function Np(n,e,r,c,d=1/0){let f=Math.min(c.distance(n[0],r[0][0]),d);if(f===0)return f;const g=new Ko([{dist:0,range1:[0,n.length-1],range2:[0,0]}],Kh),b=e?iu:Tp,w=Xh(r);for(;g.length;){const I=g.pop();if(I.dist>=f)continue;const S=I.range1;if(ba(S)<=b){if(!cs(S,n.length))return NaN;if(e){const N=Fy(n,S,r,c);if((f=Math.min(f,N))===0)return f}else for(let N=S[0];N<=S[1];++N){const z=y3(n[N],r,c);if((f=Math.min(f,z))===0)return f}}else{const N=Sp(S,e);if(N[0]!==null){const z=rl(il(n,N[0]),w,c);z<f&&g.push({dist:z,range1:N[0],range2:[0,0]})}if(N[1]!==null){const z=rl(il(n,N[1]),w,c);z<f&&g.push({dist:z,range1:N[1],range2:[0,0]})}}}return f}function Vy(n,e,r,c,d,f=1/0){let g=Math.min(f,d.distance(n[0],r[0]));if(g===0)return g;const b=new Ko([{dist:0,range1:[0,n.length-1],range2:[0,r.length-1]}],Kh),w=e?iu:Tp,I=c?iu:Tp;for(;b.length;){const S=b.pop();if(S.dist>=g)continue;const N=S.range1,z=S.range2;if(ba(N)<=w&&ba(z)<=I){if(!cs(N,n.length)||!cs(z,r.length))return NaN;if(e&&c?g=Math.min(g,m3(n,N,r,z,d)):e||c?e&&!c?g=Math.min(g,By(r,z,n,N,d)):!e&&c&&(g=Math.min(g,By(n,N,r,z,d))):g=Math.min(g,g3(n,N,r,z,d)),g===0)return g}else{const P=Sp(N,e),F=Sp(z,c);Jh(b,g,d,n,r,P[0],F[0]),Jh(b,g,d,n,r,P[0],F[1]),Jh(b,g,d,n,r,P[1],F[0]),Jh(b,g,d,n,r,P[1],F[1])}}return g}function Cp(n,e,r,c,d=1/0){let f=d;const g=il(n,[0,n.length-1]);for(const b of r)if(!(f!==1/0&&rl(g,il(b,[0,b.length-1]),c)>=f)&&(f=Math.min(f,Vy(n,e,b,!0,c,f)),f===0))return f;return f}function ed(n,e,r,c,d=1/0){let f=d;const g=il(n,[0,n.length-1]);for(const b of r){if(f!==1/0&&rl(g,Xh(b),c)>=f)continue;const w=Np(n,e,b,c,f);if(isNaN(w))return w;if((f=Math.min(f,w))===0)return f}return f}function Lp(n){return n==="Point"||n==="MultiPoint"||n==="LineString"||n==="MultiLineString"||n==="Polygon"||n==="MultiPolygon"}class ol{constructor(e,r){this.type=fn,this.geojson=e,this.geometries=r}static parse(e,r){if(e.length!==2)return r.error(`'distance' expression requires either one argument, but found ' ${e.length-1} instead.`);if(el(e[1])){const c=e[1];if(c.type==="FeatureCollection"){for(let d=0;d<c.features.length;++d)if(Lp(c.features[d].geometry.type))return new ol(c,c.features[d].geometry)}else if(c.type==="Feature"){if(Lp(c.geometry.type))return new ol(c,c.geometry)}else if(Lp(c.type))return new ol(c,c)}return r.error("'distance' expression needs to be an array with format ['Distance', GeoJSONObj].")}evaluate(e){const r=e.geometry(),c=e.canonicalID();if(r!=null&&c!=null){if(e.geometryType()==="Point")return function(d,f,g){const b=[];for(const I of d)for(const S of I)b.push(Xl(S,f));const w=new xa(b[0][1],"meters");return g.type==="Point"||g.type==="MultiPoint"||g.type==="LineString"?Vy(b,!1,g.type==="Point"?[g.coordinates]:g.coordinates,g.type==="LineString",w):g.type==="MultiLineString"?Cp(b,!1,g.coordinates,w):g.type==="Polygon"||g.type==="MultiPolygon"?ed(b,!1,g.type==="Polygon"?[g.coordinates]:g.coordinates,w):null}(r,c,this.geometries);if(e.geometryType()==="LineString")return function(d,f,g){const b=[];for(const I of d){const S=[];for(const N of I)S.push(Xl(N,f));b.push(S)}const w=new xa(b[0][0][1],"meters");if(g.type==="Point"||g.type==="MultiPoint"||g.type==="LineString")return Cp(g.type==="Point"?[g.coordinates]:g.coordinates,g.type==="LineString",b,w);if(g.type==="MultiLineString"){let I=1/0;for(let S=0;S<g.coordinates.length;S++){const N=Cp(g.coordinates[S],!0,b,w,I);if(isNaN(N))return N;if((I=Math.min(I,N))===0)return I}return I}if(g.type==="Polygon"||g.type==="MultiPolygon"){let I=1/0;for(let S=0;S<b.length;S++){const N=ed(b[S],!0,g.type==="Polygon"?[g.coordinates]:g.coordinates,w,I);if(isNaN(N))return N;if((I=Math.min(I,N))===0)return I}return I}return null}(r,c,this.geometries);if(e.geometryType()==="Polygon")return function(d,f,g){const b=[];for(const I of function(S,N){const z=S.length;if(z<=1)return[S];const P=[];let F,$;for(let H=0;H<z;H++){const q=d3(S[H]);q!==0&&(S[H].area=Math.abs(q),$===void 0&&($=q<0),$===q<0?(F&&P.push(F),F=[S[H]]):F.push(S[H]))}return F&&P.push(F),P}(d)){const S=[];for(let N=0;N<I.length;++N)S.push(p3(I[N],f));b.push(S)}const w=new xa(b[0][0][0][1],"meters");if(g.type==="Point"||g.type==="MultiPoint"||g.type==="LineString")return ed(g.type==="Point"?[g.coordinates]:g.coordinates,g.type==="LineString",b,w);if(g.type==="MultiLineString"){let I=1/0;for(let S=0;S<g.coordinates.length;S++){const N=ed(g.coordinates[S],!0,b,w,I);if(isNaN(N))return N;if((I=Math.min(I,N))===0)return I}return I}return g.type==="Polygon"||g.type==="MultiPolygon"?function(I,S,N){let z=1/0;for(const P of I)for(const F of S){const $=_3(P,F,N,z);if(isNaN($))return $;if((z=Math.min(z,$))===0)return z}return z}(g.type==="Polygon"?[g.coordinates]:g.coordinates,b,w):null}(r,c,this.geometries);console.warn("Distance Expression: currently only evaluates valid Point/LineString/Polygon geometries.")}else console.warn("Distance Expression: requirs valid feature and canonical information.");return null}eachChild(){}outputDefined(){return!0}serialize(){return["distance",this.geojson]}}var td=ol;function ou(n,e){switch(n){case"string":return Wo(e);case"number":return+e;case"boolean":return!!e;case"color":return Sr.parse(e);case"formatted":return no.fromString(Wo(e));case"resolvedImage":return An.fromString(Wo(e))}return e}function Op(n,e,r,c){return c!==void 0&&(n=c*Math.round(n/c)),e!==void 0&&n<e&&(n=e),r!==void 0&&n>r&&(n=r),n}class su{constructor(e,r,c){this.type=e,this.key=r,this.scope=c}static parse(e,r){let c=r.expectedType;if(c==null&&(c=yi),e.length<2||e.length>3)return r.error("Invalid number of arguments for 'config' expression.");const d=r.parse(e[1],1);if(!(d instanceof zs))return r.error("Key name of 'config' expression must be a string literal.");if(e.length>=3){const f=r.parse(e[2],2);return f instanceof zs?new su(c,Wo(d.value),Wo(f.value)):r.error("Scope of 'config' expression must be a string literal.")}return new su(c,Wo(d.value))}evaluate(e){const r=[this.key,this.scope,e.scope].filter(Boolean).join(""),c=e.getConfig(r);if(!c)return null;const{type:d,value:f,values:g,minValue:b,maxValue:w,stepValue:I}=c,S=c.default.evaluate(e);let N=S;if(f){const z=e.scope;e.scope=(z||"").split("").slice(1).join(""),N=f.evaluate(e),e.scope=z}return d&&(N=ou(d,N)),N===void 0||b===void 0&&w===void 0&&I===void 0||(typeof N=="number"?N=Op(N,b,w,I):Array.isArray(N)&&(N=N.map(z=>typeof z=="number"?Op(z,b,w,I):z))),f!==void 0&&N!==void 0&&g&&!g.includes(N)&&(N=S,d&&(N=ou(d,N))),(d&&d!==this.type||N!==void 0&&Nr(N)!==this.type)&&(N=ou(this.type.kind,N)),N}eachChild(){}outputDefined(){return!1}serialize(){const e=["config",this.key];return this.scope&&e.concat(this.key),e}}var Jl=su;function ec(n){if(n instanceof fi&&(n.name==="get"&&n.args.length===1||n.name==="feature-state"||n.name==="has"&&n.args.length===1||n.name==="properties"||n.name==="geometry-type"||n.name==="id"||/^filter-/.test(n.name))||n instanceof qh||n instanceof td)return!1;let e=!0;return n.eachChild(r=>{e&&!ec(r)&&(e=!1)}),e}function au(n){if(n instanceof fi&&n.name==="feature-state")return!1;let e=!0;return n.eachChild(r=>{e&&!au(r)&&(e=!1)}),e}function lu(n){if(n instanceof Jl)return!1;let e=!0;return n.eachChild(r=>{e&&!lu(r)&&(e=!1)}),e}function io(n,e){if(n instanceof fi&&e.indexOf(n.name)>=0)return!1;let r=!0;return n.eachChild(c=>{r&&!io(c,e)&&(r=!1)}),r}class Ma{constructor(e,r){this.type=r.type,this.name=e,this.boundExpression=r}static parse(e,r){if(e.length!==2||typeof e[1]!="string")return r.error("'var' expression requires exactly one string literal argument.");const c=e[1];return r.scope.has(c)?new Ma(c,r.scope.get(c)):r.error(`Unknown variable "${c}". Make sure "${c}" 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 vo=Ma;class zp{constructor(e,r=[],c,d=new u3,f=[],g,b){this.registry=e,this.path=r,this.key=r.map(w=>`[${w}]`).join(""),this.scope=d,this.errors=f,this.expectedType=c,this._scope=g,this.options=b}parse(e,r,c,d,f={}){return r||c?this.concat(r,c,d)._parse(e,f):this._parse(e,f)}_parse(e,r){function c(d,f,g){return g==="assert"?new ks(f,[d]):g==="coerce"?new js(f,[d]):d}if(e!==null&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"||(e=["literal",e]),Array.isArray(e)){if(e.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const d=typeof e[0]=="string"?this.registry[e[0]]:void 0;if(d){let f=d.parse(e,this);if(!f)return null;if(this.expectedType){const g=this.expectedType,b=f.type;if(g.kind!=="string"&&g.kind!=="number"&&g.kind!=="boolean"&&g.kind!=="object"&&g.kind!=="array"||b.kind!=="value")if(g.kind!=="color"&&g.kind!=="formatted"&&g.kind!=="resolvedImage"||b.kind!=="value"&&b.kind!=="string"){if(this.checkSubtype(g,b))return null}else f=c(f,g,r.typeAnnotation||"coerce");else f=c(f,g,r.typeAnnotation||"assert")}if(!(f instanceof zs)&&f.type.kind!=="resolvedImage"&&kp(f)){const g=new jy(this._scope,this.options);try{f=new zs(f.type,f.evaluate(g))}catch(b){return this.error(b.message),null}}return f}return js.parse(["to-array",e],this)}return this.error(e===void 0?"'undefined' value invalid. Use null instead.":typeof e=="object"?'Bare objects invalid. Use ["literal", {...}] instead.':`Expected an array, but found ${typeof e} instead.`)}concat(e,r,c){const d=typeof e=="number"?this.path.concat(e):this.path,f=c?this.scope.concat(c):this.scope;return new zp(this.registry,d,r||null,f,this.errors,this._scope,this.options)}error(e,...r){const c=`${this.key}${r.map(d=>`[${d}]`).join("")}`;this.errors.push(new Ts(c,e))}checkSubtype(e,r){const c=Ja(e,r);return c&&this.error(c),c}}var $y=zp;function kp(n){if(n instanceof vo)return kp(n.boundExpression);if(n instanceof fi&&n.name==="error"||n instanceof eu||n instanceof qh||n instanceof td||n instanceof Jl)return!1;const e=n instanceof js||n instanceof ks;let r=!0;return n.eachChild(c=>{r=e?r&&kp(c):r&&c instanceof zs}),!!r&&ec(n)&&io(n,["zoom","heatmap-density","line-progress","raster-value","sky-radial-progress","accumulated","is-supported-script","pitch","distance-from-center","measure-light","raster-particle-speed"])}function sl(n,e){const r=n.length-1;let c,d,f=0,g=r,b=0;for(;f<=g;)if(b=Math.floor((f+g)/2),c=n[b],d=n[b+1],c<=e){if(b===r||e<d)return b;f=b+1}else{if(!(c>e))throw new Cr("Input is not a number.");g=b-1}return 0}class nd{constructor(e,r,c){this.type=e,this.input=r,this.labels=[],this.outputs=[];for(const[d,f]of c)this.labels.push(d),this.outputs.push(f)}static parse(e,r){if(e.length-1<4)return r.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return r.error("Expected an even number of arguments.");const c=r.parse(e[1],1,fn);if(!c)return null;const d=[];let f=null;r.expectedType&&r.expectedType.kind!=="value"&&(f=r.expectedType);for(let g=1;g<e.length;g+=2){const b=g===1?-1/0:e[g],w=e[g+1],I=g,S=g+1;if(typeof b!="number")return r.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',I);if(d.length&&d[d.length-1][0]>=b)return r.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',I);const N=r.parse(w,S,f);if(!N)return null;f=f||N.type,d.push([b,N])}return new nd(f,c,d)}evaluate(e){const r=this.labels,c=this.outputs;if(r.length===1)return c[0].evaluate(e);const d=this.input.evaluate(e);if(d<=r[0])return c[0].evaluate(e);const f=r.length;return d>=r[f-1]?c[f-1].evaluate(e):c[sl(r,d)].evaluate(e)}eachChild(e){e(this.input);for(const r of this.outputs)e(r)}outputDefined(){return this.outputs.every(e=>e.outputDefined())}serialize(){const e=["step",this.input.serialize()];for(let r=0;r<this.labels.length;r++)r>0&&e.push(this.labels[r]),e.push(this.outputs[r].serialize());return e}}var cu=nd;const Yy=.95047,wa=1.08883,Qy=4/29,tc=6/29,jp=3*tc*tc,Hy=tc*tc*tc,v3=Math.PI/180,us=180/Math.PI;function id(n){return n>Hy?Math.pow(n,1/3):n/jp+Qy}function rd(n){return n>tc?n*n*n:jp*(n-Qy)}function od(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055)}function sd(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Rp(n){const e=sd(n.r),r=sd(n.g),c=sd(n.b),d=id((.4124564*e+.3575761*r+.1804375*c)/Yy),f=id((.2126729*e+.7151522*r+.072175*c)/1);return{l:116*f-16,a:500*(d-f),b:200*(f-id((.0193339*e+.119192*r+.9503041*c)/wa)),alpha:n.a}}function Pp(n){let e=(n.l+16)/116,r=isNaN(n.a)?e:e+n.a/500,c=isNaN(n.b)?e:e-n.b/200;return e=1*rd(e),r=Yy*rd(r),c=wa*rd(c),new Sr(od(3.2404542*r-1.5371385*e-.4985314*c),od(-.969266*r+1.8760108*e+.041556*c),od(.0556434*r-.2040259*e+1.0572252*c),n.alpha)}function Gy(n,e,r){const c=e-n;return n+r*(c>180||c<-180?c-360*Math.round(c/360):c)}const nc={forward:Rp,reverse:Pp,interpolate:function(n,e,r){return{l:ui(n.l,e.l,r),a:ui(n.a,e.a,r),b:ui(n.b,e.b,r),alpha:ui(n.alpha,e.alpha,r)}}},ic={forward:function(n){const{l:e,a:r,b:c}=Rp(n),d=Math.atan2(c,r)*us;return{h:d<0?d+360:d,c:Math.sqrt(r*r+c*c),l:e,alpha:n.a}},reverse:function(n){const e=n.h*v3,r=n.c;return Pp({l:n.l,a:Math.cos(e)*r,b:Math.sin(e)*r,alpha:n.alpha})},interpolate:function(n,e,r){return{h:Gy(n.h,e.h,r),c:ui(n.c,e.c,r),l:ui(n.l,e.l,r),alpha:ui(n.alpha,e.alpha,r)}}};var Up=Object.freeze({__proto__:null,hcl:ic,lab:nc});class uu{constructor(e,r,c,d,f){this.type=e,this.operator=r,this.interpolation=c,this.input=d,this.labels=[],this.outputs=[];for(const[g,b]of f)this.labels.push(g),this.outputs.push(b)}static interpolationFactor(e,r,c,d){let f=0;if(e.name==="exponential")f=rc(r,e.base,c,d);else if(e.name==="linear")f=rc(r,1,c,d);else if(e.name==="cubic-bezier"){const g=e.controlPoints;f=new te(g[0],g[1],g[2],g[3]).solve(rc(r,1,c,d))}return f}static parse(e,r){let[c,d,f,...g]=e;if(!Array.isArray(d)||d.length===0)return r.error("Expected an interpolation type expression.",1);if(d[0]==="linear")d={name:"linear"};else if(d[0]==="exponential"){const I=d[1];if(typeof I!="number")return r.error("Exponential interpolation requires a numeric base.",1,1);d={name:"exponential",base:I}}else{if(d[0]!=="cubic-bezier")return r.error(`Unknown interpolation type ${String(d[0])}`,1,0);{const I=d.slice(1);if(I.length!==4||I.some(S=>typeof S!="number"||S<0||S>1))return r.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);d={name:"cubic-bezier",controlPoints:I}}}if(e.length-1<4)return r.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return r.error("Expected an even number of arguments.");if(f=r.parse(f,2,fn),!f)return null;const b=[];let w=null;c==="interpolate-hcl"||c==="interpolate-lab"?w=Zo:r.expectedType&&r.expectedType.kind!=="value"&&(w=r.expectedType);for(let I=0;I<g.length;I+=2){const S=g[I],N=g[I+1],z=I+3,P=I+4;if(typeof S!="number")return r.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',z);if(b.length&&b[b.length-1][0]>=S)return r.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',z);const F=r.parse(N,P,w);if(!F)return null;w=w||F.type,b.push([S,F])}return w.kind==="number"||w.kind==="color"||w.kind==="array"&&w.itemType.kind==="number"&&typeof w.N=="number"?new uu(w,c,d,f,b):r.error(`Type ${Ir(w)} is not interpolatable.`)}evaluate(e){const r=this.labels,c=this.outputs;if(r.length===1)return c[0].evaluate(e);const d=this.input.evaluate(e);if(d<=r[0])return c[0].evaluate(e);const f=r.length;if(d>=r[f-1])return c[f-1].evaluate(e);const g=sl(r,d),b=uu.interpolationFactor(this.interpolation,d,r[g],r[g+1]),w=c[g].evaluate(e),I=c[g+1].evaluate(e);return this.operator==="interpolate"?Hh[this.type.kind.toLowerCase()](w,I,b):this.operator==="interpolate-hcl"?ic.reverse(ic.interpolate(ic.forward(w),ic.forward(I),b)):nc.reverse(nc.interpolate(nc.forward(w),nc.forward(I),b))}eachChild(e){e(this.input);for(const r of this.outputs)e(r)}outputDefined(){return this.outputs.every(e=>e.outputDefined())}serialize(){let e;e=this.interpolation.name==="linear"?["linear"]:this.interpolation.name==="exponential"?this.interpolation.base===1?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);const r=[this.operator,e,this.input.serialize()];for(let c=0;c<this.labels.length;c++)r.push(this.labels[c],this.outputs[c].serialize());return r}}function rc(n,e,r,c){const d=c-r,f=n-r;return d===0?0:e===1?f/d:(Math.pow(e,f)-1)/(Math.pow(e,d)-1)}var Po=uu;class oc{constructor(e,r){this.type=e,this.args=r}static parse(e,r){if(e.length<2)return r.error("Expectected at least one argument.");let c=null;const d=r.expectedType;d&&d.kind!=="value"&&(c=d);const f=[];for(const b of e.slice(1)){const w=r.parse(b,1+f.length,c,void 0,{typeAnnotation:"omit"});if(!w)return null;c=c||w.type,f.push(w)}const g=d&&f.some(b=>Ja(d,b.type));return new oc(g?yi:c,f)}evaluate(e){let r,c=null,d=0;for(const f of this.args){if(d++,c=f.evaluate(e),c&&c instanceof An&&!c.available&&(r||(r=c),c=null,d===this.args.length))return r;if(c!==null)break}return c}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every(e=>e.outputDefined())}serialize(){const e=["coalesce"];return this.eachChild(r=>{e.push(r.serialize())}),e}}var Bp=oc;class ad{constructor(e,r){this.type=r.type,this.bindings=[].concat(e),this.result=r}evaluate(e){return this.result.evaluate(e)}eachChild(e){for(const r of this.bindings)e(r[1]);e(this.result)}static parse(e,r){if(e.length<4)return r.error(`Expected at least 3 arguments, but found ${e.length-1} instead.`);const c=[];for(let f=1;f<e.length-1;f+=2){const g=e[f];if(typeof g!="string")return r.error(`Expected string, but found ${typeof g} instead.`,f);if(/[^a-zA-Z0-9_]/.test(g))return r.error("Variable names must contain only alphanumeric characters or '_'.",f);const b=r.parse(e[f+1],f+1);if(!b)return null;c.push([g,b])}const d=r.parse(e[e.length-1],e.length-1,r.expectedType,c);return d?new ad(c,d):null}outputDefined(){return this.result.outputDefined()}serialize(){const e=["let"];for(const[r,c]of this.bindings)e.push(r,c.serialize());return e.push(this.result.serialize()),e}}var Fp=ad;class Ia{constructor(e,r,c){this.type=e,this.index=r,this.input=c}static parse(e,r){if(e.length!==3)return r.error(`Expected 2 arguments, but found ${e.length-1} instead.`);const c=r.parse(e[1],1,fn),d=r.parse(e[2],2,Io(r.expectedType||yi));return c&&d?new Ia(d.type.itemType,c,d):null}evaluate(e){const r=this.index.evaluate(e),c=this.input.evaluate(e);if(r<0)throw new Cr(`Array index out of bounds: ${r} < 0.`);if(r>=c.length)throw new Cr(`Array index out of bounds: ${r} > ${c.length-1}.`);if(r!==Math.floor(r))throw new Cr(`Array index must be an integer, but found ${r} instead.`);return c[r]}eachChild(e){e(this.index),e(this.input)}outputDefined(){return!1}serialize(){return["at",this.index.serialize(),this.input.serialize()]}}var _i=Ia;class Vp{constructor(e,r){this.type=Ai,this.needle=e,this.haystack=r}static parse(e,r){if(e.length!==3)return r.error(`Expected 2 arguments, but found ${e.length-1} instead.`);const c=r.parse(e[1],1,yi),d=r.parse(e[2],2,yi);return c&&d?Rn(c.type,[Ai,Di,fn,Yl,yi])?new Vp(c,d):r.error(`Expected first argument to be of type boolean, string, number or null, but found ${Ir(c.type)} instead`):null}evaluate(e){const r=this.needle.evaluate(e),c=this.haystack.evaluate(e);if(c==null)return!1;if(!ma(r,["boolean","string","number","null"]))throw new Cr(`Expected first argument to be of type boolean, string, number or null, but found ${Ir(Nr(r))} instead.`);if(!ma(c,["string","array"]))throw new Cr(`Expected second argument to be of type array or string, but found ${Ir(Nr(c))} instead.`);return c.indexOf(r)>=0}eachChild(e){e(this.needle),e(this.haystack)}outputDefined(){return!0}serialize(){return["in",this.needle.serialize(),this.haystack.serialize()]}}var x3=Vp;class ld{constructor(e,r,c){this.type=fn,this.needle=e,this.haystack=r,this.fromIndex=c}static parse(e,r){if(e.length<=2||e.length>=5)return r.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const c=r.parse(e[1],1,yi),d=r.parse(e[2],2,yi);if(!c||!d)return null;if(!Rn(c.type,[Ai,Di,fn,Yl,yi]))return r.error(`Expected first argument to be of type boolean, string, number or null, but found ${Ir(c.type)} instead`);if(e.length===4){const f=r.parse(e[3],3,fn);return f?new ld(c,d,f):null}return new ld(c,d)}evaluate(e){const r=this.needle.evaluate(e),c=this.haystack.evaluate(e);if(!ma(r,["boolean","string","number","null"]))throw new Cr(`Expected first argument to be of type boolean, string, number or null, but found ${Ir(Nr(r))} instead.`);if(!ma(c,["string","array"]))throw new Cr(`Expected second argument to be of type array or string, but found ${Ir(Nr(c))} instead.`);if(this.fromIndex){const d=this.fromIndex.evaluate(e);return c.indexOf(r,d)}return c.indexOf(r)}eachChild(e){e(this.needle),e(this.haystack),this.fromIndex&&e(this.fromIndex)}outputDefined(){return!1}serialize(){if(this.fromIndex!=null&&this.fromIndex!==void 0){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 Zy=ld;class $p{constructor(e,r,c,d,f,g){this.inputType=e,this.type=r,this.input=c,this.cases=d,this.outputs=f,this.otherwise=g}static parse(e,r){if(e.length<5)return r.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if(e.length%2!=1)return r.error("Expected an even number of arguments.");let c,d;r.expectedType&&r.expectedType.kind!=="value"&&(d=r.expectedType);const f={},g=[];for(let I=2;I<e.length-1;I+=2){let S=e[I];const N=e[I+1];Array.isArray(S)||(S=[S]);const z=r.concat(I);if(S.length===0)return z.error("Expected at least one branch label.");for(const F of S){if(typeof F!="number"&&typeof F!="string")return z.error("Branch labels must be numbers or strings.");if(typeof F=="number"&&Math.abs(F)>Number.MAX_SAFE_INTEGER)return z.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if(typeof F=="number"&&Math.floor(F)!==F)return z.error("Numeric branch labels must be integer values.");if(c){if(z.checkSubtype(c,Nr(F)))return null}else c=Nr(F);if(f[String(F)]!==void 0)return z.error("Branch labels must be unique.");f[String(F)]=g.length}const P=r.parse(N,I,d);if(!P)return null;d=d||P.type,g.push(P)}const b=r.parse(e[1],1,yi);if(!b)return null;const w=r.parse(e[e.length-1],e.length-1,d);return w?b.type.kind!=="value"&&r.concat(1).checkSubtype(c,b.type)?null:new $p(c,d,b,f,g,w):null}evaluate(e){const r=this.input.evaluate(e);return(Nr(r)===this.inputType&&this.outputs[this.cases[r]]||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()],r=Object.keys(this.cases).sort(),c=[],d={};for(const g of r){const b=d[this.cases[g]];b===void 0?(d[this.cases[g]]=c.length,c.push([this.cases[g],[g]])):c[b][1].push(g)}const f=g=>this.inputType.kind==="number"?Number(g):g;for(const[g,b]of c)e.push(b.length===1?f(b[0]):b.map(f)),e.push(this.outputs[g].serialize());return e.push(this.otherwise.serialize()),e}}var Wy=$p;class cd{constructor(e,r,c){this.type=e,this.branches=r,this.otherwise=c}static parse(e,r){if(e.length<4)return r.error(`Expected at least 3 arguments, but found only ${e.length-1}.`);if(e.length%2!=0)return r.error("Expected an odd number of arguments.");let c;r.expectedType&&r.expectedType.kind!=="value"&&(c=r.expectedType);const d=[];for(let g=1;g<e.length-1;g+=2){const b=r.parse(e[g],g,Ai);if(!b)return null;const w=r.parse(e[g+1],g+1,c);if(!w)return null;d.push([b,w]),c=c||w.type}const f=r.parse(e[e.length-1],e.length-1,c);return f?new cd(c,d,f):null}evaluate(e){for(const[r,c]of this.branches)if(r.evaluate(e))return c.evaluate(e);return this.otherwise.evaluate(e)}eachChild(e){for(const[r,c]of this.branches)e(r),e(c);e(this.otherwise)}outputDefined(){return this.branches.every(([e,r])=>r.outputDefined())&&this.otherwise.outputDefined()}serialize(){const e=["case"];return this.eachChild(r=>{e.push(r.serialize())}),e}}var qy=cd;class hu{constructor(e,r,c,d){this.type=e,this.input=r,this.beginIndex=c,this.endIndex=d}static parse(e,r){if(e.length<=2||e.length>=5)return r.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const c=r.parse(e[1],1,yi),d=r.parse(e[2],2,fn);if(!c||!d)return null;if(!Rn(c.type,[Io(yi),Di,yi]))return r.error(`Expected first argument to be of type array or string, but found ${Ir(c.type)} instead`);if(e.length===4){const f=r.parse(e[3],3,fn);return f?new hu(c.type,c,d,f):null}return new hu(c.type,c,d)}evaluate(e){const r=this.input.evaluate(e),c=this.beginIndex.evaluate(e);if(!ma(r,["string","array"]))throw new Cr(`Expected first argument to be of type array or string, but found ${Ir(Nr(r))} instead.`);if(this.endIndex){const d=this.endIndex.evaluate(e);return r.slice(c,d)}return r.slice(c)}eachChild(e){e(this.input),e(this.beginIndex),this.endIndex&&e(this.endIndex)}outputDefined(){return!1}serialize(){if(this.endIndex!=null&&this.endIndex!==void 0){const e=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),e]}return["slice",this.input.serialize(),this.beginIndex.serialize()]}}var sc=hu;function Yp(n,e){return n==="=="||n==="!="?e.kind==="boolean"||e.kind==="string"||e.kind==="number"||e.kind==="null"||e.kind==="value":e.kind==="string"||e.kind==="number"||e.kind==="value"}function Qp(n,e,r,c){return c.compare(e,r)===0}function ac(n,e,r){const c=n!=="=="&&n!=="!=";return class o8{constructor(f,g,b){this.type=Ai,this.lhs=f,this.rhs=g,this.collator=b,this.hasUntypedArgument=f.type.kind==="value"||g.type.kind==="value"}static parse(f,g){if(f.length!==3&&f.length!==4)return g.error("Expected two or three arguments.");const b=f[0];let w=g.parse(f[1],1,yi);if(!w)return null;if(!Yp(b,w.type))return g.concat(1).error(`"${b}" comparisons are not supported for type '${Ir(w.type)}'.`);let I=g.parse(f[2],2,yi);if(!I)return null;if(!Yp(b,I.type))return g.concat(2).error(`"${b}" comparisons are not supported for type '${Ir(I.type)}'.`);if(w.type.kind!==I.type.kind&&w.type.kind!=="value"&&I.type.kind!=="value")return g.error(`Cannot compare types '${Ir(w.type)}' and '${Ir(I.type)}'.`);c&&(w.type.kind==="value"&&I.type.kind!=="value"?w=new ks(I.type,[w]):w.type.kind!=="value"&&I.type.kind==="value"&&(I=new ks(w.type,[I])));let S=null;if(f.length===4){if(w.type.kind!=="string"&&I.type.kind!=="string"&&w.type.kind!=="value"&&I.type.kind!=="value")return g.error("Cannot use collator to compare non-string types.");if(S=g.parse(f[3],3,Gh),!S)return null}return new o8(w,I,S)}evaluate(f){const g=this.lhs.evaluate(f),b=this.rhs.evaluate(f);if(c&&this.hasUntypedArgument){const w=Nr(g),I=Nr(b);if(w.kind!==I.kind||w.kind!=="string"&&w.kind!=="number")throw new Cr(`Expected arguments for "${n}" to be (string, string) or (number, number), but found (${w.kind}, ${I.kind}) instead.`)}if(this.collator&&!c&&this.hasUntypedArgument){const w=Nr(g),I=Nr(b);if(w.kind!=="string"||I.kind!=="string")return e(f,g,b)}return this.collator?r(f,g,b,this.collator.evaluate(f)):e(f,g,b)}eachChild(f){f(this.lhs),f(this.rhs),this.collator&&f(this.collator)}outputDefined(){return!0}serialize(){const f=[n];return this.eachChild(g=>{f.push(g.serialize())}),f}}}const Hp=ac("==",function(n,e,r){return e===r},Qp),Gp=ac("!=",function(n,e,r){return e!==r},function(n,e,r,c){return!Qp(0,e,r,c)}),b3=ac("<",function(n,e,r){return e<r},function(n,e,r,c){return c.compare(e,r)<0}),M3=ac(">",function(n,e,r){return e>r},function(n,e,r,c){return c.compare(e,r)>0}),Ky=ac("<=",function(n,e,r){return e<=r},function(n,e,r,c){return c.compare(e,r)<=0}),w3=ac(">=",function(n,e,r){return e>=r},function(n,e,r,c){return c.compare(e,r)>=0});class Zp{constructor(e,r,c,d,f,g){this.type=Di,this.number=e,this.locale=r,this.currency=c,this.unit=d,this.minFractionDigits=f,this.maxFractionDigits=g}static parse(e,r){if(e.length!==3)return r.error("Expected two arguments.");const c=r.parse(e[1],1,fn);if(!c)return null;const d=e[2];if(typeof d!="object"||Array.isArray(d))return r.error("NumberFormat options argument must be an object.");let f=null;if(d.locale&&(f=r.parse(d.locale,1,Di),!f))return null;let g=null;if(d.currency&&(g=r.parse(d.currency,1,Di),!g))return null;let b=null;if(d.unit&&(b=r.parse(d.unit,1,Di),!b))return null;let w=null;if(d["min-fraction-digits"]&&(w=r.parse(d["min-fraction-digits"],1,fn),!w))return null;let I=null;return d["max-fraction-digits"]&&(I=r.parse(d["max-fraction-digits"],1,fn),!I)?null:new Zp(c,f,g,b,w,I)}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 Wp{constructor(e){this.type=fn,this.input=e}static parse(e,r){if(e.length!==2)return r.error(`Expected 1 argument, but found ${e.length-1} instead.`);const c=r.parse(e[1],1);return c?c.type.kind!=="array"&&c.type.kind!=="string"&&c.type.kind!=="value"?r.error(`Expected argument of type string or array, but found ${Ir(c.type)} instead.`):new Wp(c):null}evaluate(e){const r=this.input.evaluate(e);if(typeof r=="string"||Array.isArray(r))return r.length;throw new Cr(`Expected value to be of type string or array, but found ${Ir(Nr(r))} instead.`)}eachChild(e){e(this.input)}outputDefined(){return!1}serialize(){const e=["length"];return this.eachChild(r=>{e.push(r.serialize())}),e}}function Xy(n){return function(){n=1831565813+(n|=0)|0;let e=Math.imul(n^n>>>15,1|n);return e=e+Math.imul(e^e>>>7,61|e)^e,((e^e>>>14)>>>0)/4294967296}}const qp={"==":Hp,"!=":Gp,">":M3,"<":b3,">=":w3,"<=":Ky,array:ks,at:_i,boolean:ks,case:qy,coalesce:Bp,collator:eu,format:Zl,image:tl,in:x3,"index-of":Zy,interpolate:Po,"interpolate-hcl":Po,"interpolate-lab":Po,length:Wp,let:Fp,literal:zs,match:Wy,number:ks,"number-format":Zp,object:ks,slice:sc,step:cu,string:ks,"to-boolean":js,"to-color":js,"to-number":js,"to-string":js,var:vo,within:qh,distance:td,config:Jl};function Kp(n,[e,r,c,d]){e=e.evaluate(n),r=r.evaluate(n),c=c.evaluate(n);const f=d?d.evaluate(n):1,g=ky(e,r,c,f);if(g)throw new Cr(g);return new Sr(e/255*f,r/255*f,c/255*f,f)}function Jy(n,[e,r,c,d]){e=e.evaluate(n),r=r.evaluate(n),c=c.evaluate(n);const f=d?d.evaluate(n):1,g=function(I,S,N,z){return typeof I=="number"&&I>=0&&I<=360?typeof S=="number"&&S>=0&&S<=100&&typeof N=="number"&&N>=0&&N<=100?z===void 0||typeof z=="number"&&z>=0&&z<=1?null:`Invalid hsla value [${[I,S,N,z].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid hsla value [${(typeof z=="number"?[I,S,N,z]:[I,S,N]).join(", ")}]: 's', and 'l' must be between 0 and 100.`:`Invalid hsla value [${(typeof z=="number"?[I,S,N,z]:[I,S,N]).join(", ")}]: 'h' must be between 0 and 360.`}(e,r,c,f);if(g)throw new Cr(g);const b=`hsla(${e}, ${r}%, ${c}%, ${f})`,w=Sr.parse(b);if(!w)throw new Cr(`Failed to parse HSLA color: ${b}`);return w}function Xp(n,e){return n in e}function Jp(n,e){const r=e[n];return r===void 0?null:r}function al(n){return{type:n}}fi.register(qp,{error:[{kind:"error"},[Di],(n,[e])=>{throw new Cr(e.evaluate(n))}],typeof:[Di,[yi],(n,[e])=>Ir(Nr(e.evaluate(n)))],"to-rgba":[Io(fn,4),[Zo],(n,[e])=>e.evaluate(n).toArray()],rgb:[Zo,[fn,fn,fn],Kp],rgba:[Zo,[fn,fn,fn,fn],Kp],hsl:[Zo,[fn,fn,fn],Jy],hsla:[Zo,[fn,fn,fn,fn],Jy],has:{type:Ai,overloads:[[[Di],(n,[e])=>Xp(e.evaluate(n),n.properties())],[[Di,Ql],(n,[e,r])=>Xp(e.evaluate(n),r.evaluate(n))]]},get:{type:yi,overloads:[[[Di],(n,[e])=>Jp(e.evaluate(n),n.properties())],[[Di,Ql],(n,[e,r])=>Jp(e.evaluate(n),r.evaluate(n))]]},"feature-state":[yi,[Di],(n,[e])=>Jp(e.evaluate(n),n.featureState||{})],properties:[Ql,[],n=>n.properties()],"geometry-type":[Di,[],n=>n.geometryType()],id:[yi,[],n=>n.id()],zoom:[fn,[],n=>n.globals.zoom],pitch:[fn,[],n=>n.globals.pitch||0],"distance-from-center":[fn,[],n=>n.distanceFromCenter()],"measure-light":[fn,[Di],(n,[e])=>n.measureLight(e.evaluate(n))],"heatmap-density":[fn,[],n=>n.globals.heatmapDensity||0],"line-progress":[fn,[],n=>n.globals.lineProgress||0],"raster-value":[fn,[],n=>n.globals.rasterValue||0],"raster-particle-speed":[fn,[],n=>n.globals.rasterParticleSpeed||0],"sky-radial-progress":[fn,[],n=>n.globals.skyRadialProgress||0],accumulated:[yi,[],n=>n.globals.accumulated===void 0?null:n.globals.accumulated],"+":[fn,al(fn),(n,e)=>{let r=0;for(const c of e)r+=c.evaluate(n);return r}],"*":[fn,al(fn),(n,e)=>{let r=1;for(const c of e)r*=c.evaluate(n);return r}],"-":{type:fn,overloads:[[[fn,fn],(n,[e,r])=>e.evaluate(n)-r.evaluate(n)],[[fn],(n,[e])=>-e.evaluate(n)]]},"/":[fn,[fn,fn],(n,[e,r])=>e.evaluate(n)/r.evaluate(n)],"%":[fn,[fn,fn],(n,[e,r])=>e.evaluate(n)%r.evaluate(n)],ln2:[fn,[],()=>Math.LN2],pi:[fn,[],()=>Math.PI],e:[fn,[],()=>Math.E],"^":[fn,[fn,fn],(n,[e,r])=>Math.pow(e.evaluate(n),r.evaluate(n))],sqrt:[fn,[fn],(n,[e])=>Math.sqrt(e.evaluate(n))],log10:[fn,[fn],(n,[e])=>Math.log(e.evaluate(n))/Math.LN10],ln:[fn,[fn],(n,[e])=>Math.log(e.evaluate(n))],log2:[fn,[fn],(n,[e])=>Math.log(e.evaluate(n))/Math.LN2],sin:[fn,[fn],(n,[e])=>Math.sin(e.evaluate(n))],cos:[fn,[fn],(n,[e])=>Math.cos(e.evaluate(n))],tan:[fn,[fn],(n,[e])=>Math.tan(e.evaluate(n))],asin:[fn,[fn],(n,[e])=>Math.asin(e.evaluate(n))],acos:[fn,[fn],(n,[e])=>Math.acos(e.evaluate(n))],atan:[fn,[fn],(n,[e])=>Math.atan(e.evaluate(n))],min:[fn,al(fn),(n,e)=>Math.min(...e.map(r=>r.evaluate(n)))],max:[fn,al(fn),(n,e)=>Math.max(...e.map(r=>r.evaluate(n)))],abs:[fn,[fn],(n,[e])=>Math.abs(e.evaluate(n))],round:[fn,[fn],(n,[e])=>{const r=e.evaluate(n);return r<0?-Math.round(-r):Math.round(r)}],floor:[fn,[fn],(n,[e])=>Math.floor(e.evaluate(n))],ceil:[fn,[fn],(n,[e])=>Math.ceil(e.evaluate(n))],"filter-==":[Ai,[Di,yi],(n,[e,r])=>n.properties()[e.value]===r.value],"filter-id-==":[Ai,[yi],(n,[e])=>n.id()===e.value],"filter-type-==":[Ai,[Di],(n,[e])=>n.geometryType()===e.value],"filter-<":[Ai,[Di,yi],(n,[e,r])=>{const c=n.properties()[e.value],d=r.value;return typeof c==typeof d&&c<d}],"filter-id-<":[Ai,[yi],(n,[e])=>{const r=n.id(),c=e.value;return typeof r==typeof c&&r<c}],"filter->":[Ai,[Di,yi],(n,[e,r])=>{const c=n.properties()[e.value],d=r.value;return typeof c==typeof d&&c>d}],"filter-id->":[Ai,[yi],(n,[e])=>{const r=n.id(),c=e.value;return typeof r==typeof c&&r>c}],"filter-<=":[Ai,[Di,yi],(n,[e,r])=>{const c=n.properties()[e.value],d=r.value;return typeof c==typeof d&&c<=d}],"filter-id-<=":[Ai,[yi],(n,[e])=>{const r=n.id(),c=e.value;return typeof r==typeof c&&r<=c}],"filter->=":[Ai,[Di,yi],(n,[e,r])=>{const c=n.properties()[e.value],d=r.value;return typeof c==typeof d&&c>=d}],"filter-id->=":[Ai,[yi],(n,[e])=>{const r=n.id(),c=e.value;return typeof r==typeof c&&r>=c}],"filter-has":[Ai,[yi],(n,[e])=>e.value in n.properties()],"filter-has-id":[Ai,[],n=>n.id()!==null&&n.id()!==void 0],"filter-type-in":[Ai,[Io(Di)],(n,[e])=>e.value.indexOf(n.geometryType())>=0],"filter-id-in":[Ai,[Io(yi)],(n,[e])=>e.value.indexOf(n.id())>=0],"filter-in-small":[Ai,[Di,Io(yi)],(n,[e,r])=>r.value.indexOf(n.properties()[e.value])>=0],"filter-in-large":[Ai,[Di,Io(yi)],(n,[e,r])=>function(c,d,f,g){for(;f<=g;){const b=f+g>>1;if(d[b]===c)return!0;d[b]>c?g=b-1:f=b+1}return!1}(n.properties()[e.value],r.value,0,r.value.length-1)],all:{type:Ai,overloads:[[[Ai,Ai],(n,[e,r])=>e.evaluate(n)&&r.evaluate(n)],[al(Ai),(n,e)=>{for(const r of e)if(!r.evaluate(n))return!1;return!0}]]},any:{type:Ai,overloads:[[[Ai,Ai],(n,[e,r])=>e.evaluate(n)||r.evaluate(n)],[al(Ai),(n,e)=>{for(const r of e)if(r.evaluate(n))return!0;return!1}]]},"!":[Ai,[Ai],(n,[e])=>!e.evaluate(n)],"is-supported-script":[Ai,[Di],(n,[e])=>{const r=n.globals&&n.globals.isSupportedScript;return!r||r(e.evaluate(n))}],upcase:[Di,[Di],(n,[e])=>e.evaluate(n).toUpperCase()],downcase:[Di,[Di],(n,[e])=>e.evaluate(n).toLowerCase()],concat:[Di,al(yi),(n,e)=>e.map(r=>Wo(r.evaluate(n))).join("")],"resolved-locale":[Di,[Gh],(n,[e])=>e.evaluate(n).resolvedLocale()],random:[fn,[fn,fn,yi],(n,e)=>{const[r,c,d]=e.map(g=>g.evaluate(n));if(r>c||r===c)return r;let f;if(typeof d=="string")f=function(g){let b=0;if(g.length===0)return b;for(let w=0;w<g.length;w++)b=(b<<5)-b+g.charCodeAt(w),b|=0;return b}(d);else{if(typeof d!="number")throw new Cr(`Invalid seed input: ${d}`);f=d}return r+Xy(f)()*(c-r)}]});var lc=qp;function em(n){return{result:"success",value:n}}function ll(n){return{result:"error",value:n}}function e_(n,e){return!!n&&!!n.parameters&&n.parameters.indexOf(e)>-1}function ud(n){return n["property-type"]==="data-driven"}function tm(n){return e_(n.expression,"measure-light")}function t_(n){return e_(n.expression,"zoom")}function nm(n){return!!n.expression&&n.expression.interpolated}function hd(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)}function n_(n){return n}function im(n,e){const r=e.type==="color",c=n.stops&&typeof n.stops[0][0]=="object",d=c||!(c||n.property!==void 0),f=n.type||(nm(e)?"exponential":"interval");if(r&&((n=hp({},n)).stops&&(n.stops=n.stops.map(I=>[I[0],Sr.parse(I[1])])),n.default=Sr.parse(n.default?n.default:e.default)),n.colorSpace&&n.colorSpace!=="rgb"&&!Up[n.colorSpace])throw new Error(`Unknown color space: ${n.colorSpace}`);let g,b,w;if(f==="exponential")g=i_;else if(f==="interval")g=T3;else if(f==="categorical"){g=I3,b=Object.create(null);for(const I of n.stops)b[I[0]]=I[1];w=typeof n.stops[0][0]}else{if(f!=="identity")throw new Error(`Unknown function type "${f}"`);g=r_}if(c){const I={},S=[];for(let P=0;P<n.stops.length;P++){const F=n.stops[P],$=F[0].zoom;I[$]===void 0&&(I[$]={zoom:$,type:n.type,property:n.property,default:n.default,stops:[]},S.push($)),I[$].stops.push([F[0].value,F[1]])}const N=[];for(const P of S)N.push([I[P].zoom,im(I[P],e)]);const z={name:"linear"};return{kind:"composite",interpolationType:z,interpolationFactor:Po.interpolationFactor.bind(void 0,z),zoomStops:N.map(P=>P[0]),evaluate:({zoom:P},F)=>i_({stops:N,base:n.base},e,P).evaluate(P,F)}}if(d){const I=f==="exponential"?{name:"exponential",base:n.base!==void 0?n.base:1}:null;return{kind:"camera",interpolationType:I,interpolationFactor:Po.interpolationFactor.bind(void 0,I),zoomStops:n.stops.map(S=>S[0]),evaluate:({zoom:S})=>g(n,e,S,b,w)}}return{kind:"source",evaluate(I,S){const N=S&&S.properties?S.properties[n.property]:void 0;return N===void 0?du(n.default,e.default):g(n,e,N,b,w)}}}function du(n,e,r){return n!==void 0?n:e!==void 0?e:r!==void 0?r:void 0}function I3(n,e,r,c,d){return du(typeof r===d?c[r]:void 0,n.default,e.default)}function T3(n,e,r){if(Wl(r)!=="number")return du(n.default,e.default);const c=n.stops.length;if(c===1||r<=n.stops[0][0])return n.stops[0][1];if(r>=n.stops[c-1][0])return n.stops[c-1][1];const d=sl(n.stops.map(f=>f[0]),r);return n.stops[d][1]}function i_(n,e,r){const c=n.base!==void 0?n.base:1;if(Wl(r)!=="number")return du(n.default,e.default);const d=n.stops.length;if(d===1||r<=n.stops[0][0])return n.stops[0][1];if(r>=n.stops[d-1][0])return n.stops[d-1][1];const f=sl(n.stops.map(S=>S[0]),r),g=function(S,N,z,P){const F=P-z,$=S-z;return F===0?0:N===1?$/F:(Math.pow(N,$)-1)/(Math.pow(N,F)-1)}(r,c,n.stops[f][0],n.stops[f+1][0]),b=n.stops[f][1],w=n.stops[f+1][1];let I=Hh[e.type]||n_;if(n.colorSpace&&n.colorSpace!=="rgb"){const S=Up[n.colorSpace];I=(N,z)=>S.reverse(S.interpolate(S.forward(N),S.forward(z),g))}return typeof b.evaluate=="function"?{evaluate(...S){const N=b.evaluate.apply(void 0,S),z=w.evaluate.apply(void 0,S);if(N!==void 0&&z!==void 0)return I(N,z,g)}}:I(b,w,g)}function r_(n,e,r){return e.type==="color"?r=Sr.parse(r):e.type==="formatted"?r=no.fromString(r.toString()):e.type==="resolvedImage"?r=An.fromString(r.toString()):Wl(r)===e.type||e.type==="enum"&&e.values[r]||(r=void 0),du(r,n.default,e.default)}class dd{constructor(e,r,c,d){this.expression=e,this._warningHistory={},this._evaluator=new jy(c,d),this._defaultValue=r?function(f){return f.type==="color"&&(hd(f.default)||Array.isArray(f.default))?new Sr(0,0,0,0):f.type==="color"?Sr.parse(f.default)||null:f.default===void 0?null:f.default}(r):null,this._enumValues=r&&r.type==="enum"?r.values:null}evaluateWithoutErrorHandling(e,r,c,d,f,g,b,w){return this._evaluator.globals=e,this._evaluator.feature=r,this._evaluator.featureState=c,this._evaluator.canonical=d||null,this._evaluator.availableImages=f||null,this._evaluator.formattedSection=g,this._evaluator.featureTileCoord=b||null,this._evaluator.featureDistanceData=w||null,this.expression.evaluate(this._evaluator)}evaluate(e,r,c,d,f,g,b,w){this._evaluator.globals=e,this._evaluator.feature=r||null,this._evaluator.featureState=c||null,this._evaluator.canonical=d||null,this._evaluator.availableImages=f||null,this._evaluator.formattedSection=g||null,this._evaluator.featureTileCoord=b||null,this._evaluator.featureDistanceData=w||null;try{const I=this.expression.evaluate(this._evaluator);if(I==null||typeof I=="number"&&I!=I)return this._defaultValue;if(this._enumValues&&!(I in this._enumValues))throw new Cr(`Expected value to be one of ${Object.keys(this._enumValues).map(S=>JSON.stringify(S)).join(", ")}, but found ${JSON.stringify(I)} instead.`);return I}catch(I){return this._warningHistory[I.message]||(this._warningHistory[I.message]=!0,typeof console<"u"&&console.warn(I.message)),this._defaultValue}}}function fu(n){return Array.isArray(n)&&n.length>0&&typeof n[0]=="string"&&n[0]in lc}function fd(n,e,r,c){const d=new $y(lc,[],e?function(g){const b={color:Zo,string:Di,number:fn,enum:Di,boolean:Ai,formatted:Hl,resolvedImage:Xc};return g.type==="array"?Io(b[g.value]||yi,g.length):b[g.type]}(e):void 0,void 0,void 0,r,c),f=d.parse(n,void 0,void 0,void 0,e&&e.type==="string"?{typeAnnotation:"coerce"}:void 0);return f?em(new dd(f,e,r,c)):ll(d.errors)}class rm{constructor(e,r,c){this.kind=e,this._styleExpression=r,this.isLightConstant=c,this.isStateDependent=e!=="constant"&&!au(r.expression),this.isConfigDependent=!lu(r.expression)}evaluateWithoutErrorHandling(e,r,c,d,f,g){return this._styleExpression.evaluateWithoutErrorHandling(e,r,c,d,f,g)}evaluate(e,r,c,d,f,g){return this._styleExpression.evaluate(e,r,c,d,f,g)}}class pu{constructor(e,r,c,d,f){this.kind=e,this.zoomStops=c,this._styleExpression=r,this.isStateDependent=e!=="camera"&&!au(r.expression),this.isLightConstant=f,this.isConfigDependent=!lu(r.expression),this.interpolationType=d}evaluateWithoutErrorHandling(e,r,c,d,f,g){return this._styleExpression.evaluateWithoutErrorHandling(e,r,c,d,f,g)}evaluate(e,r,c,d,f,g){return this._styleExpression.evaluate(e,r,c,d,f,g)}interpolationFactor(e,r,c){return this.interpolationType?Po.interpolationFactor(this.interpolationType,e,r,c):0}}function pd(n,e,r,c){if((n=fd(n,e,r,c)).result==="error")return n;const d=n.value.expression,f=ec(d);if(!f&&!ud(e))return ll([new Ts("","data expressions not supported")]);const g=io(d,["zoom","pitch","distance-from-center"]);if(!g&&!t_(e))return ll([new Ts("","zoom expressions not supported")]);const b=io(d,["measure-light"]);if(!b&&!tm(e))return ll([new Ts("","measure-light expression not supported")]);const w=e.expression&&e.expression.relaxZoomRestriction,I=gu(d);return I||g||w?I instanceof Ts?ll([I]):I instanceof Po&&!nm(e)?ll([new Ts("",'"interpolate" expressions cannot be used with this property')]):em(I?new pu(f?"camera":"composite",n.value,I.labels,I instanceof Po?I.interpolation:void 0,b):new rm(f?"constant":"source",n.value,b)):ll([new Ts("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression, or in the properties of atmosphere.')])}class mu{constructor(e,r){this._parameters=e,this._specification=r,hp(this,im(this._parameters,this._specification))}static deserialize(e){return new mu(e._parameters,e._specification)}static serialize(e){return{_parameters:e._parameters,_specification:e._specification}}}function gu(n){let e=null;if(n instanceof Fp)e=gu(n.result);else if(n instanceof Bp){for(const r of n.args)if(e=gu(r),e)break}else(n instanceof cu||n instanceof Po)&&n.input instanceof fi&&n.input.name==="zoom"&&(e=n);return e instanceof Ts||n.eachChild(r=>{const c=gu(r);c instanceof Ts?e=c:e&&c&&e!==c&&(e=new Ts("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))}),e}var E3=ds,hs=3;function ds(n,e,r){var c=this.cells=[];if(n instanceof ArrayBuffer){this.arrayBuffer=n;var d=new Int32Array(this.arrayBuffer);n=d[0],this.d=(e=d[1])+2*(r=d[2]);for(var f=0;f<this.d*this.d;f++){var g=d[hs+f],b=d[hs+f+1];c.push(g===b?null:d.subarray(g,b))}var w=d[hs+c.length+1];this.keys=d.subarray(d[hs+c.length],w),this.bboxes=d.subarray(w),this.insert=this._insertReadonly}else{this.d=e+2*r;for(var I=0;I<this.d*this.d;I++)c.push([]);this.keys=[],this.bboxes=[]}this.n=e,this.extent=n,this.padding=r,this.scale=e/n,this.uid=0;var S=r/e*n;this.min=-S,this.max=n+S}ds.prototype.insert=function(n,e,r,c,d){this._forEachCell(e,r,c,d,this._insertCell,this.uid++),this.keys.push(n),this.bboxes.push(e),this.bboxes.push(r),this.bboxes.push(c),this.bboxes.push(d)},ds.prototype._insertReadonly=function(){throw"Cannot insert into a GridIndex created from an ArrayBuffer."},ds.prototype._insertCell=function(n,e,r,c,d,f){this.cells[d].push(f)},ds.prototype.query=function(n,e,r,c,d){var f=this.min,g=this.max;if(n<=f&&e<=f&&g<=r&&g<=c&&!d)return Array.prototype.slice.call(this.keys);var b=[];return this._forEachCell(n,e,r,c,this._queryCell,b,{},d),b},ds.prototype._queryCell=function(n,e,r,c,d,f,g,b){var w=this.cells[d];if(w!==null)for(var I=this.keys,S=this.bboxes,N=0;N<w.length;N++){var z=w[N];if(g[z]===void 0){var P=4*z;(b?b(S[P+0],S[P+1],S[P+2],S[P+3]):n<=S[P+2]&&e<=S[P+3]&&r>=S[P+0]&&c>=S[P+1])?(g[z]=!0,f.push(I[z])):g[z]=!1}}},ds.prototype._forEachCell=function(n,e,r,c,d,f,g,b){for(var w=this._convertToCellCoord(n),I=this._convertToCellCoord(e),S=this._convertToCellCoord(r),N=this._convertToCellCoord(c),z=w;z<=S;z++)for(var P=I;P<=N;P++){var F=this.d*P+z;if((!b||b(this._convertFromCellCoord(z),this._convertFromCellCoord(P),this._convertFromCellCoord(z+1),this._convertFromCellCoord(P+1)))&&d.call(this,n,e,r,c,F,f,g,b))return}},ds.prototype._convertFromCellCoord=function(n){return(n-this.padding)/this.scale},ds.prototype._convertToCellCoord=function(n){return Math.max(0,Math.min(this.d-1,Math.floor(n*this.scale)+this.padding))},ds.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var n=this.cells,e=hs+this.cells.length+1+1,r=0,c=0;c<this.cells.length;c++)r+=this.cells[c].length;var d=new Int32Array(e+r+this.keys.length+this.bboxes.length);d[0]=this.extent,d[1]=this.n,d[2]=this.padding;for(var f=e,g=0;g<n.length;g++){var b=n[g];d[hs+g]=f,d.set(b,f),f+=b.length}return d[hs+n.length]=f,d.set(this.keys,f),d[hs+n.length+1]=f+=this.keys.length,d.set(this.bboxes,f),f+=this.bboxes.length,d.buffer};var Ps=ne(E3);const yu={};function pn(n,e,r={}){Object.defineProperty(n,"_classRegistryKey",{value:e,writeable:!1}),yu[e]={klass:n,omit:r.omit||[]}}pn(Object,"Object"),Ps.serialize=function(n,e){const r=n.toArrayBuffer();return e&&e.add(r),{buffer:r}},Ps.deserialize=function(n){return new Ps(n.buffer)},Object.defineProperty(Ps,"name",{value:"Grid"}),pn(Ps,"Grid"),pn(Sr,"Color"),pn(Error,"Error"),pn(no,"Formatted"),pn(Gl,"FormattedSection"),pn(Gn,"AJAXError"),pn(An,"ResolvedImage"),pn(mu,"StylePropertyFunction"),pn(dd,"StyleExpression",{omit:["_evaluator"]}),pn(pu,"ZoomDependentExpression"),pn(rm,"ZoomConstantExpression"),pn(fi,"CompoundExpression",{omit:["_evaluate"]});for(const n in lc)yu[lc[n]._classRegistryKey]||pn(lc[n],`Expression${n}`);function o_(n){return n&&typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||n.constructor&&n.constructor.name==="ArrayBuffer")}function md(n){return self.ImageBitmap&&n instanceof ImageBitmap}function Ta(n,e){if(n==null||typeof n=="boolean"||typeof n=="number"||typeof n=="string"||n instanceof Boolean||n instanceof Number||n instanceof String||n instanceof Date||n instanceof RegExp)return n;if(o_(n)||md(n))return e&&e.add(n),n;if(ArrayBuffer.isView(n)){const r=n;return e&&e.add(r.buffer),r}if(n instanceof ImageData)return e&&e.add(n.data.buffer),n;if(Array.isArray(n)){const r=[];for(const c of n)r.push(Ta(c,e));return r}if(n instanceof Map){const r={$name:"Map"};for(const[c,d]of n.entries())r[c]=Ta(d);return r}if(typeof n=="object"){const r=n.constructor,c=r._classRegistryKey;if(!c)throw new Error(`can't serialize object of unregistered class ${c}`);const d=r.serialize?r.serialize(n,e):{};if(!r.serialize){for(const f in n)n.hasOwnProperty(f)&&(yu[c].omit.indexOf(f)>=0||(d[f]=Ta(n[f],e)));n instanceof Error&&(d.message=n.message)}if(d.$name)throw new Error("$name property is reserved for worker serialization logic.");return c!=="Object"&&(d.$name=c),d}throw new Error("can't serialize object of type "+typeof n)}function cl(n){if(n==null||typeof n=="boolean"||typeof n=="number"||typeof n=="string"||n instanceof Boolean||n instanceof Number||n instanceof String||n instanceof Date||n instanceof RegExp||o_(n)||md(n)||ArrayBuffer.isView(n)||n instanceof ImageData)return n;if(Array.isArray(n))return n.map(cl);if(typeof n=="object"){const e=n.$name||"Object";if(e==="Map"){const d=new Map;for(const f of Object.keys(n))f!=="$name"&&d.set(f,cl(n[f]));return d}const{klass:r}=yu[e];if(!r)throw new Error(`can't deserialize unregistered class ${e}`);if(r.deserialize)return r.deserialize(n);const c=Object.create(r.prototype);for(const d of Object.keys(n))d!=="$name"&&(c[d]=cl(n[d]));return c}throw new Error("can't deserialize object of type "+typeof n)}const _n={"Latin-1 Supplement":n=>n>=128&&n<=255,Arabic:n=>n>=1536&&n<=1791,"Arabic Supplement":n=>n>=1872&&n<=1919,"Arabic Extended-A":n=>n>=2208&&n<=2303,"Hangul Jamo":n=>n>=4352&&n<=4607,"Unified Canadian Aboriginal Syllabics":n=>n>=5120&&n<=5759,Khmer:n=>n>=6016&&n<=6143,"Unified Canadian Aboriginal Syllabics Extended":n=>n>=6320&&n<=6399,"General Punctuation":n=>n>=8192&&n<=8303,"Letterlike Symbols":n=>n>=8448&&n<=8527,"Number Forms":n=>n>=8528&&n<=8591,"Miscellaneous Technical":n=>n>=8960&&n<=9215,"Control Pictures":n=>n>=9216&&n<=9279,"Optical Character Recognition":n=>n>=9280&&n<=9311,"Enclosed Alphanumerics":n=>n>=9312&&n<=9471,"Geometric Shapes":n=>n>=9632&&n<=9727,"Miscellaneous Symbols":n=>n>=9728&&n<=9983,"Miscellaneous Symbols and Arrows":n=>n>=11008&&n<=11263,"CJK Radicals Supplement":n=>n>=11904&&n<=12031,"Kangxi Radicals":n=>n>=12032&&n<=12255,"Ideographic Description Characters":n=>n>=12272&&n<=12287,"CJK Symbols and Punctuation":n=>n>=12288&&n<=12351,Hiragana:n=>n>=12352&&n<=12447,Katakana:n=>n>=12448&&n<=12543,Bopomofo:n=>n>=12544&&n<=12591,"Hangul Compatibility Jamo":n=>n>=12592&&n<=12687,Kanbun:n=>n>=12688&&n<=12703,"Bopomofo Extended":n=>n>=12704&&n<=12735,"CJK Strokes":n=>n>=12736&&n<=12783,"Katakana Phonetic Extensions":n=>n>=12784&&n<=12799,"Enclosed CJK Letters and Months":n=>n>=12800&&n<=13055,"CJK Compatibility":n=>n>=13056&&n<=13311,"CJK Unified Ideographs Extension A":n=>n>=13312&&n<=19903,"Yijing Hexagram Symbols":n=>n>=19904&&n<=19967,"CJK Unified Ideographs":n=>n>=19968&&n<=40959,"Yi Syllables":n=>n>=40960&&n<=42127,"Yi Radicals":n=>n>=42128&&n<=42191,"Hangul Jamo Extended-A":n=>n>=43360&&n<=43391,"Hangul Syllables":n=>n>=44032&&n<=55215,"Hangul Jamo Extended-B":n=>n>=55216&&n<=55295,"Private Use Area":n=>n>=57344&&n<=63743,"CJK Compatibility Ideographs":n=>n>=63744&&n<=64255,"Arabic Presentation Forms-A":n=>n>=64336&&n<=65023,"Vertical Forms":n=>n>=65040&&n<=65055,"CJK Compatibility Forms":n=>n>=65072&&n<=65103,"Small Form Variants":n=>n>=65104&&n<=65135,"Arabic Presentation Forms-B":n=>n>=65136&&n<=65279,"Halfwidth and Fullwidth Forms":n=>n>=65280&&n<=65519,"CJK Unified Ideographs Extension B":n=>n>=131072&&n<=173791};function Ea(n){for(const e of n)if(om(e.charCodeAt(0)))return!0;return!1}function S3(n){for(const e of n)if(!D3(e.charCodeAt(0)))return!1;return!0}function D3(n){return!(_n.Arabic(n)||_n["Arabic Supplement"](n)||_n["Arabic Extended-A"](n)||_n["Arabic Presentation Forms-A"](n)||_n["Arabic Presentation Forms-B"](n))}function om(n){return!(n!==746&&n!==747&&(n<4352||!(_n["Bopomofo Extended"](n)||_n.Bopomofo(n)||_n["CJK Compatibility Forms"](n)&&!(n>=65097&&n<=65103)||_n["CJK Compatibility Ideographs"](n)||_n["CJK Compatibility"](n)||_n["CJK Radicals Supplement"](n)||_n["CJK Strokes"](n)||!(!_n["CJK Symbols and Punctuation"](n)||n>=12296&&n<=12305||n>=12308&&n<=12319||n===12336)||_n["CJK Unified Ideographs Extension A"](n)||_n["CJK Unified Ideographs"](n)||_n["Enclosed CJK Letters and Months"](n)||_n["Hangul Compatibility Jamo"](n)||_n["Hangul Jamo Extended-A"](n)||_n["Hangul Jamo Extended-B"](n)||_n["Hangul Jamo"](n)||_n["Hangul Syllables"](n)||_n.Hiragana(n)||_n["Ideographic Description Characters"](n)||_n.Kanbun(n)||_n["Kangxi Radicals"](n)||_n["Katakana Phonetic Extensions"](n)||_n.Katakana(n)&&n!==12540||!(!_n["Halfwidth and Fullwidth Forms"](n)||n===65288||n===65289||n===65293||n>=65306&&n<=65310||n===65339||n===65341||n===65343||n>=65371&&n<=65503||n===65507||n>=65512&&n<=65519)||!(!_n["Small Form Variants"](n)||n>=65112&&n<=65118||n>=65123&&n<=65126)||_n["Unified Canadian Aboriginal Syllabics"](n)||_n["Unified Canadian Aboriginal Syllabics Extended"](n)||_n["Vertical Forms"](n)||_n["Yijing Hexagram Symbols"](n)||_n["Yi Syllables"](n)||_n["Yi Radicals"](n))))}function s_(n){return!(om(n)||function(e){return!!(_n["Latin-1 Supplement"](e)&&(e===167||e===169||e===174||e===177||e===188||e===189||e===190||e===215||e===247)||_n["General Punctuation"](e)&&(e===8214||e===8224||e===8225||e===8240||e===8241||e===8251||e===8252||e===8258||e===8263||e===8264||e===8265||e===8273)||_n["Letterlike Symbols"](e)||_n["Number Forms"](e)||_n["Miscellaneous Technical"](e)&&(e>=8960&&e<=8967||e>=8972&&e<=8991||e>=8996&&e<=9e3||e===9003||e>=9085&&e<=9114||e>=9150&&e<=9165||e===9167||e>=9169&&e<=9179||e>=9186&&e<=9215)||_n["Control Pictures"](e)&&e!==9251||_n["Optical Character Recognition"](e)||_n["Enclosed Alphanumerics"](e)||_n["Geometric Shapes"](e)||_n["Miscellaneous Symbols"](e)&&!(e>=9754&&e<=9759)||_n["Miscellaneous Symbols and Arrows"](e)&&(e>=11026&&e<=11055||e>=11088&&e<=11097||e>=11192&&e<=11243)||_n["CJK Symbols and Punctuation"](e)||_n.Katakana(e)||_n["Private Use Area"](e)||_n["CJK Compatibility Forms"](e)||_n["Small Form Variants"](e)||_n["Halfwidth and Fullwidth Forms"](e)||e===8734||e===8756||e===8757||e>=9984&&e<=10087||e>=10102&&e<=10131||e===65532||e===65533)}(n))}function a_(n){return n>=1424&&n<=2303||_n["Arabic Presentation Forms-A"](n)||_n["Arabic Presentation Forms-B"](n)}function l_(n,e){return!(!e&&a_(n)||n>=2304&&n<=3583||n>=3840&&n<=4255||_n.Khmer(n))}function sm(n){for(const e of n)if(a_(e.charCodeAt(0)))return!0;return!1}const am="deferred",lm="loading",cm="loaded";let um=null,To="unavailable",Sa=null;const c_=function(n){n&&typeof n=="string"&&n.indexOf("NetworkError")>-1&&(To="error"),um&&um(n)};function hm(){dm.fire(new Xa("pluginStateChange",{pluginStatus:To,pluginURL:Sa}))}const dm=new $l,Da=function(){return To},fm=function(){if(To!==am||!Sa)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");To=lm,hm(),Sa&&St({url:Sa},n=>{n?c_(n):(To=cm,hm())})},Uo={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:()=>To===cm||Uo.applyArabicShaping!=null,isLoading:()=>To===lm,setState(n){To=n.pluginStatus,Sa=n.pluginURL},isParsed:()=>Uo.applyArabicShaping!=null&&Uo.processBidirectionalText!=null&&Uo.processStyledBidirectionalText!=null,getPluginURL:()=>Sa};class sr{constructor(e,r){this.zoom=e,r?(this.now=r.now,this.fadeDuration=r.fadeDuration,this.transition=r.transition,this.pitch=r.pitch,this.brightness=r.brightness):(this.now=0,this.fadeDuration=0,this.transition={},this.pitch=0,this.brightness=0)}isSupportedScript(e){return function(r,c){for(const d of r)if(!l_(d.charCodeAt(0),c))return!1;return!0}(e,Uo.isLoaded())}}class gd{constructor(e,r,c,d){this.property=e,this.value=r,this.expression=function(f,g,b,w){if(hd(f))return new mu(f,g);if(fu(f)||Array.isArray(f)&&f.length>0){const I=pd(f,g,b,w);if(I.result==="error")throw new Error(I.value.map(S=>`${S.key}: ${S.message}`).join(", "));return I.value}{let I=f;return typeof f=="string"&&g.type==="color"&&(I=Sr.parse(f)),{kind:"constant",isConfigDependent:!1,evaluate:()=>I}}}(r===void 0?e.specification.default:r,e.specification,c,d)}isDataDriven(){return this.expression.kind==="source"||this.expression.kind==="composite"}possiblyEvaluate(e,r,c){return this.property.possiblyEvaluate(this,e,r,c)}}class pm{constructor(e,r,c){this.property=e,this.value=new gd(e,void 0,r,c)}transitioned(e,r){return new mm(this.property,this.value,r,ve({},e.transition,this.transition),e.now)}untransitioned(){return new mm(this.property,this.value,null,{},0)}}class Us{constructor(e,r,c){this._properties=e,this._values=Object.create(e.defaultTransitionablePropertyValues),this._scope=r,this._options=c,this.isConfigDependent=!1}getValue(e){return st(this._values[e].value.value)}setValue(e,r){this._values.hasOwnProperty(e)||(this._values[e]=new pm(this._values[e].property,this._scope,this._options)),this._values[e].value=new gd(this._values[e].property,r===null?void 0:st(r),this._scope,this._options),this.isConfigDependent=this.isConfigDependent||this._values[e].value.expression.isConfigDependent}setTransitionOrValue(e,r){r&&(this._options=r);const c=this._properties.properties;if(e)for(const d in e){const f=e[d];if(Oe(d,"-transition")){const g=d.slice(0,-11);c[g]&&this.setTransition(g,f)}else c[d]&&this.setValue(d,f)}}getTransition(e){return st(this._values[e].transition)}setTransition(e,r){this._values.hasOwnProperty(e)||(this._values[e]=new pm(this._values[e].property)),this._values[e].transition=st(r)||void 0}serialize(){const e={};for(const r of Object.keys(this._values)){const c=this.getValue(r);c!==void 0&&(e[r]=c);const d=this.getTransition(r);d!==void 0&&(e[`${r}-transition`]=d)}return e}transitioned(e,r){const c=new ul(this._properties);for(const d of Object.keys(this._values))c._values[d]=this._values[d].transitioned(e,r._values[d]);return c}untransitioned(){const e=new ul(this._properties);for(const r of Object.keys(this._values))e._values[r]=this._values[r].untransitioned();return e}}class mm{constructor(e,r,c,d,f){const g=d.delay||0,b=d.duration||0;f=f||0,this.property=e,this.value=r,this.begin=f+g,this.end=this.begin+b,e.specification.transition&&(d.delay||d.duration)&&(this.prior=c)}possiblyEvaluate(e,r,c){const d=e.now||0,f=this.value.possiblyEvaluate(e,r,c),g=this.prior;if(g){if(d>this.end)return this.prior=null,f;if(this.value.isDataDriven())return this.prior=null,f;if(d<this.begin)return g.possiblyEvaluate(e,r,c);{const b=(d-this.begin)/(this.end-this.begin);return this.property.interpolate(g.possiblyEvaluate(e,r,c),f,Se(b))}}return f}}class ul{constructor(e){this._properties=e,this._values=Object.create(e.defaultTransitioningPropertyValues)}possiblyEvaluate(e,r,c){const d=new _u(this._properties);for(const f of Object.keys(this._values))d._values[f]=this._values[f].possiblyEvaluate(e,r,c);return d}hasTransition(){for(const e of Object.keys(this._values))if(this._values[e].prior)return!0;return!1}}class A3{constructor(e,r,c){this._properties=e,this._values=Object.create(e.defaultPropertyValues),this._scope=r,this._options=c,this.isConfigDependent=!1}getValue(e){return st(this._values[e].value)}setValue(e,r){this._values[e]=new gd(this._values[e].property,r===null?void 0:st(r),this._scope,this._options),this.isConfigDependent=this.isConfigDependent||this._values[e].expression.isConfigDependent}serialize(){const e={};for(const r of Object.keys(this._values)){const c=this.getValue(r);c!==void 0&&(e[r]=c)}return e}possiblyEvaluate(e,r,c){const d=new _u(this._properties);for(const f of Object.keys(this._values))d._values[f]=this._values[f].possiblyEvaluate(e,r,c);return d}}class cc{constructor(e,r,c){this.property=e,this.value=r,this.parameters=c}isConstant(){return this.value.kind==="constant"}constantOr(e){return this.value.kind==="constant"?this.value.value:e}evaluate(e,r,c,d){return this.property.evaluate(this.value,this.parameters,e,r,c,d)}}class _u{constructor(e){this._properties=e,this._values=Object.create(e.defaultPossiblyEvaluatedValues)}get(e){return this._values[e]}}class tn{constructor(e){this.specification=e}possiblyEvaluate(e,r){return e.expression.evaluate(r)}interpolate(e,r,c){const d=Hh[this.specification.type];return d?d(e,r,c):e}}class Tn{constructor(e,r){this.specification=e,this.overrides=r}possiblyEvaluate(e,r,c,d){return new cc(this,e.expression.kind==="constant"||e.expression.kind==="camera"?{kind:"constant",value:e.expression.evaluate(r,null,{},c,d)}:e.expression,r)}interpolate(e,r,c){if(e.value.kind!=="constant"||r.value.kind!=="constant")return e;if(e.value.value===void 0||r.value.value===void 0)return new cc(this,{kind:"constant",value:void 0},e.parameters);const d=Hh[this.specification.type];return d?new cc(this,{kind:"constant",value:d(e.value.value,r.value.value,c)},e.parameters):e}evaluate(e,r,c,d,f,g){return e.kind==="constant"?e.value:e.evaluate(r,c,d,f,g)}}class hl{constructor(e){this.specification=e}possiblyEvaluate(e,r,c,d){return!!e.expression.evaluate(r,null,{},c,d)}interpolate(){return!1}}class ar{constructor(e){this.properties=e,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];const r=new sr(0,{});for(const c in e){const d=e[c];d.specification.overridable&&this.overridableProperties.push(c);const f=this.defaultPropertyValues[c]=new gd(d,void 0),g=this.defaultTransitionablePropertyValues[c]=new pm(d);this.defaultTransitioningPropertyValues[c]=g.untransitioned(),this.defaultPossiblyEvaluatedValues[c]=f.possiblyEvaluate(r)}}}function vu(n){return n instanceof Number||n instanceof String||n instanceof Boolean?n.valueOf():n}function xu(n){if(Array.isArray(n))return n.map(xu);if(n instanceof Object&&!(n instanceof Number||n instanceof String||n instanceof Boolean)){const e={};for(const r in n)e[r]=xu(n[r]);return e}return vu(n)}pn(Tn,"DataDrivenProperty"),pn(tn,"DataConstantProperty"),pn(hl,"ColorRampProperty");var ut=JSON.parse('{"$version":8,"$root":{"version":{"required":true,"type":"enum","values":[8]},"fragment":{"type":"boolean"},"name":{"type":"string"},"metadata":{"type":"*"},"center":{"type":"array","value":"number"},"zoom":{"type":"number"},"bearing":{"type":"number","default":0,"period":360},"pitch":{"type":"number","default":0},"light":{"type":"light"},"lights":{"required":false,"type":"array","value":"light-3d"},"terrain":{"type":"terrain","optional":true},"fog":{"type":"fog"},"camera":{"type":"camera"},"imports":{"type":"array","value":"import"},"schema":{"type":"schema"},"sources":{"required":true,"type":"sources"},"sprite":{"type":"string"},"glyphs":{"type":"string","default":"mapbox://fonts/mapbox/{fontstack}/{range}.pbf"},"transition":{"type":"transition"},"projection":{"type":"projection"},"layers":{"required":true,"type":"array","value":"layer"},"models":{"type":"models"}},"model":{"type":"string","required":true},"import":{"id":{"type":"string","required":true},"url":{"type":"string","required":true},"config":{"type":"config"},"data":{"type":"$root"}},"config":{"*":{"type":"*"}},"schema":{"*":{"type":"option"}},"option":{"default":{"type":"*","required":true},"type":{"type":"enum","values":{"string":1,"number":1,"boolean":1,"color":1}},"array":{"type":"boolean"},"minValue":{"type":"number"},"maxValue":{"type":"number"},"stepValue":{"type":"number"},"values":{"type":"array","value":"*"},"metadata":{"type":"*"}},"models":{"*":{"type":"model"}},"light-3d":{"id":{"type":"string","required":true},"properties":{"type":"properties"},"type":{"type":"enum","values":{"ambient":{},"directional":{},"flat":{}}}},"properties":["properties_light_directional","properties_light_ambient","properties_light_flat"],"properties_light_directional":{"direction":{"type":"array","default":[210,30],"minimum":[0,0],"maximum":[360,90],"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"cast-shadows":{"type":"boolean","default":false,"expression":{},"property-type":"data-constant"},"shadow-intensity":{"type":"number","property-type":"data-constant","default":1,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"properties_light_ambient":{"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"properties_light_flat":{"anchor":{"type":"enum","default":"viewport","values":{"map":1,"viewport":1},"property-type":"data-constant","expression":{"parameters":["zoom"]}},"position":{"type":"array","default":[1.15,210,30],"length":3,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"sources":{"*":{"type":"source"}},"source":["source_vector","source_raster","source_raster_dem","source_raster_array","source_geojson","source_video","source_image","source_model"],"source_vector":{"type":{"required":true,"type":"enum","values":{"vector":1}},"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":1,"tms":1},"default":"xyz"},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"attribution":{"type":"string"},"promoteId":{"type":"promoteId"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster":{"type":{"required":true,"type":"enum","values":{"raster":1}},"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},"scheme":{"type":"enum","values":{"xyz":1,"tms":1},"default":"xyz"},"attribution":{"type":"string"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster_dem":{"type":{"required":true,"type":"enum","values":{"raster-dem":1}},"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},"attribution":{"type":"string"},"encoding":{"type":"enum","values":{"terrarium":1,"mapbox":1},"default":"mapbox"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster_array":{"type":{"required":true,"type":"enum","values":{"raster-array":1}},"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},"attribution":{"type":"string"},"rasterLayers":{"type":"*"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_geojson":{"type":{"required":true,"type":"enum","values":{"geojson":1}},"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":0.375},"cluster":{"type":"boolean","default":false},"clusterRadius":{"type":"number","default":50,"minimum":0},"clusterMaxZoom":{"type":"number"},"clusterMinPoints":{"type":"number"},"clusterProperties":{"type":"*"},"lineMetrics":{"type":"boolean","default":false},"generateId":{"type":"boolean","default":false},"promoteId":{"type":"promoteId"}},"source_video":{"type":{"required":true,"type":"enum","values":{"video":1}},"urls":{"required":true,"type":"array","value":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"source_image":{"type":{"required":true,"type":"enum","values":{"image":1}},"url":{"required":false,"type":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"source_model":{"type":{"required":true,"type":"enum","values":{"model":1,"batched-model":1}},"maxzoom":{"type":"number","default":18},"minzoom":{"type":"number","default":0},"tiles":{"type":"array","value":"string"}},"layer":{"id":{"type":"string","required":true},"type":{"type":"enum","values":{"fill":{},"line":{},"symbol":{},"circle":{},"heatmap":{},"fill-extrusion":{},"raster":{},"raster-particle":{},"hillshade":{},"model":{},"background":{},"sky":{},"slot":{}},"required":true},"metadata":{"type":"*"},"source":{"type":"string"},"source-layer":{"type":"string"},"slot":{"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_raster-particle","layout_hillshade","layout_background","layout_sky","layout_model"],"layout_background":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_sky":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_model":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"},"model-id":{"type":"string","default":"","property-type":"data-driven","expression":{"parameters":["zoom","feature"]}}},"layout_fill":{"fill-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_circle":{"circle-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_heatmap":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_fill-extrusion":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"},"fill-extrusion-edge-radius":{"type":"number","private":true,"default":0,"minimum":0,"maximum":1,"expression":{},"property-type":"constant"}},"layout_line":{"line-cap":{"type":"enum","values":{"butt":1,"round":1,"square":1},"default":"butt","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-join":{"type":"enum","values":{"bevel":1,"round":1,"miter":1},"default":"miter","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{"type":"number","default":2,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-round-limit":{"type":"number","default":1.05,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_symbol":{"symbol-placement":{"type":"enum","values":{"point":1,"line":1,"line-center":1},"default":"point","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"symbol-spacing":{"type":"number","default":250,"minimum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{"type":"enum","values":{"auto":1,"viewport-y":1,"source":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"symbol-z-elevate":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-optional":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-size":{"type":"number","default":1,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{"type":"enum","values":{"none":1,"width":1,"height":1,"both":1},"default":"none","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit-padding":{"type":"array","value":"number","length":4,"default":[0,0,0,0],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-image":{"type":"resolvedImage","tokens":true,"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{"type":"number","default":0,"period":360,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{"type":"number","default":2,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-offset":{"type":"array","value":"number","length":2,"default":[0,0],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{"type":"enum","values":{"center":1,"left":1,"right":1,"top":1,"bottom":1,"top-left":1,"top-right":1,"bottom-left":1,"bottom-right":1},"default":"center","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-field":{"type":"formatted","default":"","tokens":true,"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-font":{"type":"array","value":"string","default":["Open Sans Regular","Arial Unicode MS Regular"],"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-size":{"type":"number","default":16,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{"type":"number","default":10,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{"type":"number","default":1.2,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-letter-spacing":{"type":"number","default":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-justify":{"type":"enum","values":{"auto":1,"left":1,"center":1,"right":1},"default":"center","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{"type":"number","default":0,"property-type":"data-driven","expression":{"interpolated":true,"parameters":["zoom","feature"]}},"text-variable-anchor":{"type":"array","value":"enum","values":{"center":1,"left":1,"right":1,"top":1,"bottom":1,"top-left":1,"top-right":1,"bottom-left":1,"bottom-right":1},"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-anchor":{"type":"enum","values":{"center":1,"left":1,"right":1,"top":1,"bottom":1,"top-left":1,"top-right":1,"bottom-left":1,"bottom-right":1},"default":"center","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{"type":"number","default":45,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-writing-mode":{"type":"array","value":"enum","values":{"horizontal":1,"vertical":1},"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-rotate":{"type":"number","default":0,"period":360,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-padding":{"type":"number","default":2,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-keep-upright":{"type":"boolean","default":true,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-transform":{"type":"enum","values":{"none":1,"uppercase":1,"lowercase":1},"default":"none","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-offset":{"type":"array","value":"number","length":2,"default":[0,0],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-optional":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_raster":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_raster-particle":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_hillshade":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"filter":{"type":"array","value":"*"},"filter_symbol":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature","pitch","distance-from-center"]}},"filter_fill":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_line":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_circle":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_fill-extrusion":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_heatmap":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_operator":{"type":"enum","values":{"==":1,"!=":1,">":1,">=":1,"<":1,"<=":1,"in":1,"!in":1,"all":1,"any":1,"none":1,"has":1,"!has":1}},"geometry_type":{"type":"enum","values":{"Point":1,"LineString":1,"Polygon":1}},"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":1,"exponential":1,"interval":1,"categorical":1},"default":"exponential"},"colorSpace":{"type":"enum","values":{"rgb":1,"lab":1,"hcl":1},"default":"rgb"},"default":{"type":"*","required":false}},"function_stop":{"type":"array","minimum":0,"maximum":24,"value":["number","color"],"length":2},"expression":{"type":"array","value":"*","minimum":1},"fog":{"range":{"type":"array","default":[0.5,10],"minimum":-20,"maximum":20,"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"high-color":{"type":"color","property-type":"data-constant","default":"#245cdf","expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"space-color":{"type":"color","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],4,"#010b19",7,"#367ab9"],"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"horizon-blend":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],4,0.2,7,0.1],"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"star-intensity":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],5,0.35,6,0],"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"vertical-range":{"type":"array","default":[0,0],"minimum":0,"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true}}},"camera":{"camera-projection":{"type":"enum","values":{"perspective":1,"orthographic":1},"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"default":"perspective","property-type":"data-constant"}},"light":{"anchor":{"type":"enum","default":"viewport","values":{"map":1,"viewport":1},"property-type":"data-constant","expression":{"parameters":["zoom"]}},"position":{"type":"array","default":[1.15,210,30],"length":3,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"projection":{"name":{"type":"enum","values":{"albers":1,"equalEarth":1,"equirectangular":1,"lambertConformalConic":1,"mercator":1,"naturalEarth":1,"winkelTripel":1,"globe":1},"default":"mercator","required":true},"center":{"type":"array","length":2,"value":"number","property-type":"data-constant","minimum":[-180,-90],"maximum":[180,90]},"parallels":{"type":"array","length":2,"value":"number","property-type":"data-constant","minimum":[-90,-90],"maximum":[90,90]}},"terrain":{"source":{"type":"string","required":true},"exaggeration":{"type":"number","property-type":"data-constant","default":1,"minimum":0,"maximum":1000,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"paint":["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background","paint_sky","paint_model"],"paint_fill":{"fill-antialias":{"type":"boolean","default":true,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-outline-color":{"type":"color","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"fill-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-extrusion-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"fill-extrusion-height":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{"type":"boolean","default":true,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-ambient-occlusion-intensity":{"property-type":"data-constant","type":"number","private":true,"default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-radius":{"property-type":"data-constant","type":"number","private":true,"default":3,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-wall-radius":{"property-type":"data-constant","type":"number","default":3,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-ground-radius":{"property-type":"data-constant","type":"number","default":3,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-ground-attenuation":{"property-type":"data-constant","type":"number","default":0.69,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"fill-extrusion-flood-light-color":{"property-type":"data-constant","type":"color","default":"#ffffff","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]}},"fill-extrusion-flood-light-intensity":{"property-type":"data-constant","type":"number","default":0,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]}},"fill-extrusion-flood-light-wall-radius":{"property-type":"data-driven","type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["feature","feature-state"]}},"fill-extrusion-flood-light-ground-radius":{"property-type":"data-driven","type":"number","default":0,"transition":true,"expression":{"interpolated":true,"parameters":["feature","feature-state"]}},"fill-extrusion-flood-light-ground-attenuation":{"property-type":"data-constant","type":"number","default":0.69,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"fill-extrusion-vertical-scale":{"property-type":"data-constant","type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"fill-extrusion-rounded-roof":{"property-type":"data-constant","type":"boolean","default":true,"expression":{"parameters":["zoom"]}},"fill-extrusion-cutoff-fade-range":{"type":"number","default":0,"minimum":0,"maximum":1,"expression":{},"property-type":"data-constant"},"fill-extrusion-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_line":{"line-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"line-width":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-gap-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-offset":{"type":"number","default":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-blur":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-dasharray":{"type":"array","value":"number","minimum":0,"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-gradient":{"type":"color","expression":{"interpolated":true,"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],"property-type":"constant"},"line-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"line-border-width":{"type":"number","private":true,"default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-border-color":{"type":"color","private":true,"default":"rgba(0, 0, 0, 0)","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"}},"paint_circle":{"circle-radius":{"type":"number","default":5,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-blur":{"type":"number","default":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{"type":"enum","values":{"map":1,"viewport":1},"default":"viewport","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-stroke-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-stroke-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_heatmap":{"heatmap-radius":{"type":"number","default":30,"minimum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"heatmap-weight":{"type":"number","default":1,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"heatmap-intensity":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"heatmap-color":{"type":"color","default":["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",0.1,"royalblue",0.3,"cyan",0.5,"lime",0.7,"yellow",1,"red"],"expression":{"interpolated":true,"parameters":["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_symbol":{"icon-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-emissive-strength":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-driven"},"text-emissive-strength":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-driven"},"icon-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-halo-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-halo-blur":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-image-cross-fade":{"type":"number","property-type":"data-driven","default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"transition":true},"text-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-color":{"type":"color","default":"#000000","transition":true,"overridable":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-halo-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-halo-blur":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-color-saturation":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{},"property-type":"data-constant"}},"paint_raster":{"raster-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-color":{"type":"color","expression":{"interpolated":true,"parameters":["raster-value"]},"property-type":"color-ramp"},"raster-color-mix":{"type":"array","default":[0.2126,0.7152,0.0722,0],"length":4,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"raster-color-range":{"type":"array","length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"raster-hue-rotate":{"type":"number","default":0,"period":360,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{"type":"number","default":0,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-saturation":{"type":"number","default":0,"minimum":-1,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-contrast":{"type":"number","default":0,"minimum":-1,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-resampling":{"type":"enum","values":{"linear":1,"nearest":1},"default":"linear","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{"type":"number","default":300,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"raster-array-band":{"type":"string","required":false,"property-type":"data-constant"},"raster-elevation":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_raster-particle":{"raster-particle-array-band":{"type":"string","required":false,"property-type":"data-constant"},"raster-particle-count":{"type":"number","default":512,"minimum":1,"property-type":"data-constant"},"raster-particle-color":{"type":"color","expression":{"interpolated":true,"parameters":["raster-particle-speed"]},"property-type":"color-ramp"},"raster-particle-max-speed":{"type":"number","default":1,"minimum":1,"property-type":"data-constant"},"raster-particle-speed-factor":{"type":"number","default":0.2,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-particle-fade-opacity-factor":{"type":"number","default":0.98,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-particle-reset-rate-factor":{"type":"number","default":0.8,"minimum":0,"maximum":1,"property-type":"data-constant"}},"paint_hillshade":{"hillshade-illumination-direction":{"type":"number","default":335,"minimum":0,"maximum":359,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"viewport","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{"type":"number","default":0.5,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"hillshade-highlight-color":{"type":"color","default":"#FFFFFF","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"hillshade-accent-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"hillshade-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_background":{"background-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"background-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"background-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"background-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_sky":{"sky-type":{"type":"enum","values":{"gradient":1,"atmosphere":1},"default":"atmosphere","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun":{"type":"array","value":"number","length":2,"minimum":[0,0],"maximum":[360,180],"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun-intensity":{"type":"number","default":10,"minimum":0,"maximum":100,"property-type":"data-constant"},"sky-gradient-center":{"type":"array","value":"number","default":[0,0],"length":2,"minimum":[0,0],"maximum":[360,180],"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-gradient-radius":{"type":"number","default":90,"minimum":0,"maximum":180,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-gradient":{"type":"color","default":["interpolate",["linear"],["sky-radial-progress"],0.8,"#87ceeb",1,"white"],"expression":{"interpolated":true,"parameters":["sky-radial-progress"]},"property-type":"color-ramp"},"sky-atmosphere-halo-color":{"type":"color","default":"white","property-type":"data-constant"},"sky-atmosphere-color":{"type":"color","default":"white","property-type":"data-constant"},"sky-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_model":{"model-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"model-rotation":{"type":"array","value":"number","length":3,"default":[0,0,0],"period":360,"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","zoom"]},"transition":true},"model-scale":{"type":"array","value":"number","length":3,"default":[1,1,1],"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","zoom"]},"transition":true},"model-translation":{"type":"array","value":"number","length":3,"default":[0,0,0],"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","zoom"]},"transition":true},"model-color":{"type":"color","default":"#ffffff","property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light","zoom"]},"transition":true},"model-color-mix-intensity":{"type":"number","property-type":"data-driven","default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light"]},"transition":true},"model-type":{"type":"enum","values":{"common-3d":1,"location-indicator":1},"default":"common-3d","property-type":"data-constant"},"model-cast-shadows":{"type":"boolean","default":true,"expression":{},"property-type":"data-constant"},"model-receive-shadows":{"type":"boolean","default":true,"expression":{},"property-type":"data-constant"},"model-ambient-occlusion-intensity":{"type":"number","default":1,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant","transition":true},"model-emissive-strength":{"type":"number","property-type":"data-driven","default":0,"minimum":0,"maximum":5,"expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light"]},"transition":true},"model-roughness":{"type":"number","default":1,"minimum":0,"maximum":1,"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state"]},"transition":true},"model-height-based-emissive-strength-multiplier":{"type":"array","default":[1,1,1,1,0],"length":5,"value":"number","property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light"]},"transition":true},"model-cutoff-fade-range":{"type":"number","default":0,"minimum":0,"maximum":1,"expression":{},"property-type":"data-constant"}},"transition":{"duration":{"type":"number","default":300,"minimum":0},"delay":{"type":"number","default":0,"minimum":0}},"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 gm(n){if(n===!0||n===!1)return!0;if(!Array.isArray(n)||n.length===0)return!1;switch(n[0]){case"has":return n.length>=2&&n[1]!=="$id"&&n[1]!=="$type";case"in":return n.length>=3&&(typeof n[1]!="string"||Array.isArray(n[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return n.length!==3||Array.isArray(n[1])||Array.isArray(n[2]);case"any":case"all":for(const e of n.slice(1))if(!gm(e)&&typeof e!="boolean")return!1;return!0;default:return!0}}function Bo(n,e="fill"){if(n==null)return{filter:()=>!0,needGeometry:!1,needFeature:!1};gm(n)||(n=bu(n));const r=n;let c=!0;try{c=function(I){if(!uc(I))return I;let S=xu(I);return ym(S),S=u_(S),S}(r)}catch{console.warn(`Failed to extract static filter. Filter will continue working, but at higher memory usage and slower framerate.
|
|
87
|
+
`;class g0{constructor(i,o){Li(this,"_store",void 0),Li(this,"_refCount",1),Li(this,"getLoadable",l=>(this.checkRefCount_INTERNAL(),g$(this._store,l))),Li(this,"getPromise",l=>(this.checkRefCount_INTERNAL(),this.getLoadable(l).toPromise())),Li(this,"getNodes_UNSTABLE",l=>{if(this.checkRefCount_INTERNAL(),(l==null?void 0:l.isModified)===!0){if((l==null?void 0:l.isInitialized)===!1)return[];const _=this._store.getState().currentTree;return IE(_.dirtyAtoms)}const h=this._store.getState().knownAtoms,y=this._store.getState().knownSelectors;return(l==null?void 0:l.isInitialized)==null?wE.values():l.isInitialized===!0?IE(bE([h,y])):sb(wE.values(),({key:_})=>!h.has(_)&&!y.has(_))}),Li(this,"getInfo_UNSTABLE",({key:l})=>(this.checkRefCount_INTERNAL(),h$(this._store,this._store.getState().currentTree,l))),Li(this,"map",l=>{this.checkRefCount_INTERNAL();const h=new db(this,hb);return l(h),h}),Li(this,"asyncMap",async l=>{this.checkRefCount_INTERNAL();const h=new db(this,hb);return h.retain(),await l(h),h.autoRelease_INTERNAL(),h}),this._store={storeID:f$(),parentStoreID:o,getState:()=>i,replaceState:l=>{i.currentTree=l(i.currentTree)},getGraph:l=>{const h=i.graphsByVersion;if(h.has(l))return Ar(h.get(l));const y=d$();return h.set(l,y),y},subscribeToTransactions:()=>({release:()=>{}}),addTransactionMetadata:()=>{throw Ii("Cannot subscribe to Snapshots")}};for(const l of this._store.getState().knownAtoms)u$(this._store,l,"get"),m0(this._store,l,1);this.autoRelease_INTERNAL()}retain(){if(this._refCount<=0){if(process.env.NODE_ENV!=="production")throw Ii("Snapshot has already been released.");ho("Attempt to retain() Snapshot that was already released.")}this._refCount++;let i=!1;return()=>{i||(i=!0,this._release())}}autoRelease_INTERNAL(){b$||window.setTimeout(()=>this._release(),10)}_release(){if(this._refCount--,this._refCount===0){if(this._store.getState().nodeCleanupFunctions.forEach(i=>i()),this._store.getState().nodeCleanupFunctions.clear(),!vr("recoil_memory_managament_2020"))return}else this._refCount<0&&process.env.NODE_ENV!=="production"&&ho("Snapshot released an extra time.")}isRetained(){return this._refCount>0}checkRefCount_INTERNAL(){vr("recoil_memory_managament_2020")&&this._refCount<=0&&process.env.NODE_ENV!=="production"&&ho(w$)}getStore_INTERNAL(){return this.checkRefCount_INTERNAL(),this._store}getID(){return this.checkRefCount_INTERNAL(),this._store.getState().currentTree.stateID}getStoreID(){return this.checkRefCount_INTERNAL(),this._store.storeID}}function EE(t,i,o=!1){const l=t.getState(),h=o?v$():i.version;return{currentTree:{version:o?h:i.version,stateID:o?h:i.stateID,transactionMetadata:{...i.transactionMetadata},dirtyAtoms:new Set(i.dirtyAtoms),atomValues:i.atomValues.clone(),nonvalidatedAtoms:i.nonvalidatedAtoms.clone()},commitDepth:0,nextTree:null,previousTree:null,knownAtoms:new Set(l.knownAtoms),knownSelectors:new Set(l.knownSelectors),transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(h,t.getGraph(i.version)),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map(l0(l.nodeCleanupFunctions.entries(),([y])=>[y,()=>{}]))}}function I$(t){const i=new g0(x$());return t!=null?i.map(t):i}const[SE,DE]=M$((t,i)=>{var o;const l=t.getState(),h=i==="latest"?(o=l.nextTree)!==null&&o!==void 0?o:l.currentTree:Ar(l.previousTree);return new g0(EE(t,h),t.storeID)},(t,i)=>{var o,l;return String(i)+String(t.storeID)+String((o=t.getState().nextTree)===null||o===void 0?void 0:o.version)+String(t.getState().currentTree.version)+String((l=t.getState().previousTree)===null||l===void 0?void 0:l.version)});_$(DE);function T$(t,i="latest"){const o=SE(t,i);return o.isRetained()?o:(DE(),SE(t,i))}class db extends g0{constructor(i,o){super(EE(i.getStore_INTERNAL(),i.getStore_INTERNAL().getState().currentTree,!0),i.getStoreID()),Li(this,"_batch",void 0),Li(this,"set",(l,h)=>{this.checkRefCount_INTERNAL();const y=this.getStore_INTERNAL();this._batch(()=>{m0(y,l.key,1),TE(this.getStore_INTERNAL(),l,h)})}),Li(this,"reset",l=>{this.checkRefCount_INTERNAL();const h=this.getStore_INTERNAL();this._batch(()=>{m0(h,l.key,1),TE(this.getStore_INTERNAL(),l,p$)})}),Li(this,"setUnvalidatedAtomValues_DEPRECATED",l=>{this.checkRefCount_INTERNAL();const h=this.getStore_INTERNAL();hb(()=>{for(const[y,_]of l.entries())m0(h,y,1),y$(h,new m$(y),_)})}),this._batch=o}}var y0={Snapshot:g0,MutableSnapshot:db,freshSnapshot:I$,cloneSnapshot:T$},E$=y0.Snapshot,S$=y0.MutableSnapshot,D$=y0.freshSnapshot,A$=y0.cloneSnapshot,_0=Object.freeze({__proto__:null,Snapshot:E$,MutableSnapshot:S$,freshSnapshot:D$,cloneSnapshot:A$});function N$(...t){const i=new Set;for(const o of t)for(const l of o)i.add(l);return i}var C$=N$;const{useRef:L$}=Ze;function O$(t){const i=L$(t);return i.current===t&&typeof t=="function"&&(i.current=t()),i}var AE=O$;const{getNextTreeStateVersion:z$,makeEmptyStoreState:NE}=JT,{cleanUpNode:k$,getDownstreamNodes:j$,initializeNode:R$,setNodeValue:P$,setUnvalidatedAtomValue_DEPRECATED:U$}=kl,{graph:B$}=Tf,{cloneGraph:F$}=Tf,{getNextStoreID:CE}=h0,{createMutableSource:fb,reactMode:LE}=xh,{applyAtomValueWrites:V$}=oa,{releaseScheduledRetainablesNow:OE}=Bc,{freshSnapshot:$$}=_0,{useCallback:Y$,useContext:zE,useEffect:pb,useMemo:Q$,useRef:H$,useState:G$}=Ze;function Af(){throw Ii("This component must be used inside a <RecoilRoot> component.")}const kE=Object.freeze({storeID:CE(),getState:Af,replaceState:Af,getGraph:Af,subscribeToTransactions:Af,addTransactionMetadata:Af});let mb=!1;function jE(t){if(mb)throw Ii("An atom update was triggered within the execution of a state updater function. State updater functions provided to Recoil must be pure functions.");const i=t.getState();if(i.nextTree===null){vr("recoil_memory_managament_2020")&&vr("recoil_release_on_cascading_update_killswitch_2021")&&i.commitDepth>0&&OE(t);const o=i.currentTree.version,l=z$();i.nextTree={...i.currentTree,version:l,stateID:l,dirtyAtoms:new Set,transactionMetadata:{}},i.graphsByVersion.set(l,F$(Ar(i.graphsByVersion.get(o))))}}const RE=Ze.createContext({current:kE}),v0=()=>zE(RE),PE=Ze.createContext(null);function Z$(){const t=zE(PE);return t==null&&a0("Attempted to use a Recoil hook outside of a <RecoilRoot>. <RecoilRoot> must be an ancestor of any component that uses Recoil hooks."),t}function gb(t,i,o){const l=j$(t,o,o.dirtyAtoms);for(const h of l){const y=i.nodeToComponentSubscriptions.get(h);if(y)for(const[_,[a,v]]of y)v(o)}}function UE(t){const i=t.getState(),o=i.currentTree,l=o.dirtyAtoms;if(l.size){for(const[h,y]of i.nodeTransactionSubscriptions)if(l.has(h))for(const[_,a]of y)a(t);for(const[h,y]of i.transactionSubscriptions)y(t);(!LE().early||i.suspendedComponentResolvers.size>0)&&(gb(t,i,o),i.suspendedComponentResolvers.forEach(h=>h()),i.suspendedComponentResolvers.clear())}i.queuedComponentCallbacks_DEPRECATED.forEach(h=>h(o)),i.queuedComponentCallbacks_DEPRECATED.splice(0,i.queuedComponentCallbacks_DEPRECATED.length)}function W$(t){const i=t.getState();i.commitDepth++;try{const{nextTree:o}=i;if(o==null)return;i.previousTree=i.currentTree,i.currentTree=o,i.nextTree=null,UE(t),i.previousTree!=null?i.graphsByVersion.delete(i.previousTree.version):ho("Ended batch with no previous state, which is unexpected","recoil"),i.previousTree=null,vr("recoil_memory_managament_2020")&&o==null&&OE(t)}finally{i.commitDepth--}}function q$({setNotifyBatcherOfChange:t}){const i=v0(),[,o]=G$([]);return t(()=>o({})),pb(()=>(t(()=>o({})),()=>{t(()=>{})}),[t]),pb(()=>{CF.enqueueExecution("Batcher",()=>{W$(i.current)})}),null}process.env.NODE_ENV!=="production"&&typeof window<"u"&&!window.$recoilDebugStates&&(window.$recoilDebugStates=[]);function K$(t,i){const o=NE();return i({set:(l,h)=>{const y=o.currentTree,_=P$(t,y,l.key,h),a=new Set(_.keys()),v=y.nonvalidatedAtoms.clone();for(const E of a)v.delete(E);o.currentTree={...y,dirtyAtoms:C$(y.dirtyAtoms,a),atomValues:V$(y.atomValues,_),nonvalidatedAtoms:v}},setUnvalidatedAtomValues:l=>{l.forEach((h,y)=>{o.currentTree=U$(o.currentTree,y,h)})}}),o}function X$(t){const i=$$(t),o=i.getStore_INTERNAL().getState();return i.retain(),o.nodeCleanupFunctions.forEach(l=>l()),o.nodeCleanupFunctions.clear(),o}let BE=0;function J$({initializeState_DEPRECATED:t,initializeState:i,store_INTERNAL:o,children:l}){let h;const y=j=>{const U=h.current.graphsByVersion;if(U.has(j))return Ar(U.get(j));const V=B$();return U.set(j,V),V},_=(j,U)=>{if(U==null){const{transactionSubscriptions:V}=C.current.getState(),Z=BE++;return V.set(Z,j),{release:()=>{V.delete(Z)}}}else{const{nodeTransactionSubscriptions:V}=C.current.getState();V.has(U)||V.set(U,new Map);const Z=BE++;return Ar(V.get(U)).set(Z,j),{release:()=>{const ee=V.get(U);ee&&(ee.delete(Z),ee.size===0&&V.delete(U))}}}},a=j=>{jE(C.current);for(const U of Object.keys(j))Ar(C.current.getState().nextTree).transactionMetadata[U]=j[U]},v=j=>{jE(C.current);const U=Ar(h.current.nextTree);let V;try{mb=!0,V=j(U)}finally{mb=!1}V!==U&&(process.env.NODE_ENV!=="production"&&typeof window<"u"&&window.$recoilDebugStates.push(V),h.current.nextTree=V,LE().early&&gb(C.current,h.current,V),Ar(E.current)())},E=H$(null),A=Y$(j=>{E.current=j},[E]),C=AE(()=>o??{storeID:CE(),getState:()=>h.current,replaceState:v,getGraph:y,subscribeToTransactions:_,addTransactionMetadata:a});o!=null&&(C.current=o),h=AE(()=>t!=null?K$(C.current,t):i!=null?X$(i):NE());const L=Q$(()=>fb==null?void 0:fb(h,()=>h.current.currentTree.version),[h]);return pb(()=>{const j=C.current;for(const U of new Set(j.getState().knownAtoms))R$(j,U,"get");return()=>{for(const U of j.getState().knownAtoms)k$(j,U)}},[C]),Ze.createElement(RE.Provider,{value:C},Ze.createElement(PE.Provider,{value:L},Ze.createElement(q$,{setNotifyBatcherOfChange:A}),l))}function eY(t){const{override:i,...o}=t,l=v0();return i===!1&&l.current!==kE?t.children:Ze.createElement(J$,o)}function tY(){return v0().current.storeID}var Qa={RecoilRoot:eY,useStoreRef:v0,useRecoilMutableSource:Z$,useRecoilStoreID:tY,notifyComponents_FOR_TESTING:gb,sendEndOfBatchNotifications_FOR_TESTING:UE};function nY(t,i){if(t===i)return!0;if(t.length!==i.length)return!1;for(let o=0,l=t.length;o<l;o++)if(t[o]!==i[o])return!1;return!0}var iY=nY;const{useEffect:rY,useRef:oY}=Ze;function sY(t){const i=oY();return rY(()=>{i.current=t}),i.current}var FE=sY;const{useStoreRef:aY}=Qa,{SUSPENSE_TIMEOUT_MS:lY}=Bc,{updateRetainCount:Nf}=Bc,{RetentionZone:cY}=d0,{useEffect:uY,useRef:hY}=Ze,{isSSR:VE}=Df;function dY(t){if(vr("recoil_memory_managament_2020"))return fY(t)}function fY(t){const o=(Array.isArray(t)?t:[t]).map(_=>_ instanceof cY?_:_.key),l=aY();uY(()=>{if(!vr("recoil_memory_managament_2020"))return;const _=l.current;if(h.current&&!VE)window.clearTimeout(h.current),h.current=null;else for(const a of o)Nf(_,a,1);return()=>{for(const a of o)Nf(_,a,-1)}},[l,...o]);const h=hY(),y=FE(o);if(!VE&&(y===void 0||!iY(y,o))){const _=l.current;for(const a of o)Nf(_,a,1);if(y)for(const a of y)Nf(_,a,-1);h.current&&window.clearTimeout(h.current),h.current=window.setTimeout(()=>{h.current=null;for(const a of o)Nf(_,a,-1)},lY)}}var yb=dY;function pY(){return"<component name not available>"}var Cf=pY;const{batchUpdates:mY}=p0,{DEFAULT_VALUE:$E}=$o,{currentRendererSupportsUseSyncExternalStore:gY,reactMode:Fc,useMutableSource:yY,useSyncExternalStore:_Y}=xh,{useRecoilMutableSource:vY,useStoreRef:sa}=Qa,{isRecoilValue:xY}=Pc,{AbstractRecoilValue:_b,getRecoilValueAsLoadable:Lf,setRecoilValue:x0,setUnvalidatedRecoilValue:bY,subscribeToRecoilValue:bh}=oa,{useCallback:Yo,useEffect:Mh,useMemo:YE,useRef:Of,useState:vb}=Ze,{setByAddingToSet:MY}=tE,{isSSR:wY}=Df;function xb(t,i,o){if(t.state==="hasValue")return t.contents;throw t.state==="loading"?new Promise(h=>{const y=o.current.getState().suspendedComponentResolvers;y.add(h),wY&&_r(t.contents)&&t.contents.finally(()=>{y.delete(h)})}):t.state==="hasError"?t.contents:Ii(`Invalid value of loadable atom "${i.key}"`)}function jo(t,i){if(!xY(t))throw Ii(`Invalid argument to ${i}: expected an atom or selector but got ${String(t)}`)}function IY(){const t=Cf(),i=sa(),[,o]=vb([]),l=Of(new Set);l.current=new Set;const h=Of(new Set),y=Of(new Map),_=Yo(v=>{const E=y.current.get(v);E&&(E.release(),y.current.delete(v))},[y]),a=Yo((v,E)=>{y.current.has(E)&&o([])},[]);return Mh(()=>{const v=i.current;If(l.current,h.current).forEach(E=>{if(y.current.has(E)){a0(`Double subscription to RecoilValue "${E}"`);return}const A=bh(v,new _b(E),L=>a(L,E),t);y.current.set(E,A),v.getState().nextTree?v.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{a(v.getState(),E)}):a(v.getState(),E)}),If(h.current,l.current).forEach(E=>{_(E)}),h.current=l.current}),Mh(()=>{const v=y.current;return If(l.current,new Set(v.keys())).forEach(E=>{const A=bh(i.current,new _b(E),C=>a(C,E),t);v.set(E,A)}),()=>v.forEach((E,A)=>_(A))},[t,i,_,a]),YE(()=>{function v(U){return process.env.NODE_ENV!=="production"&&jo(U,"useSetRecoilState"),V=>{x0(i.current,U,V)}}function E(U){return process.env.NODE_ENV!=="production"&&jo(U,"useResetRecoilState"),()=>x0(i.current,U,$E)}function A(U){var V;process.env.NODE_ENV!=="production"&&jo(U,"useRecoilValueLoadable"),l.current.has(U.key)||(l.current=MY(l.current,U.key));const Z=i.current.getState();return Lf(i.current,U,Fc().early&&(V=Z.nextTree)!==null&&V!==void 0?V:Z.currentTree)}function C(U){process.env.NODE_ENV!=="production"&&jo(U,"useRecoilValue");const V=A(U);return xb(V,U,i)}function L(U){return process.env.NODE_ENV!=="production"&&jo(U,"useRecoilState"),[C(U),v(U)]}function j(U){return process.env.NODE_ENV!=="production"&&jo(U,"useRecoilStateLoadable"),[A(U),v(U)]}return{getRecoilValue:C,getRecoilValueLoadable:A,getRecoilState:L,getRecoilStateLoadable:j,getSetRecoilState:v,getResetRecoilState:E}},[l,i])}const zf={current:0};function TY(t){const i=sa(),o=Cf(),l=Yo(()=>{var a;process.env.NODE_ENV!=="production"&&zf.current++;const v=i.current,E=v.getState(),A=Fc().early&&(a=E.nextTree)!==null&&a!==void 0?a:E.currentTree;return{loadable:Lf(v,t,A),key:t.key}},[i,t]),h=Yo(a=>{let v;return()=>{var E,A;const C=a();return(E=v)!==null&&E!==void 0&&E.loadable.is(C.loadable)&&((A=v)===null||A===void 0?void 0:A.key)===C.key?v:(v=C,C)}},[]),y=YE(()=>h(l),[l,h]),_=Yo(a=>{const v=i.current;return bh(v,t,a,o).release},[i,t,o]);return _Y(_,y,y).loadable}function EY(t){const i=sa(),o=Yo(()=>{var E;const A=i.current,C=A.getState(),L=Fc().early&&(E=C.nextTree)!==null&&E!==void 0?E:C.currentTree;return Lf(A,t,L)},[i,t]),l=Yo(()=>(process.env.NODE_ENV!=="production"&&zf.current++,o()),[o]),h=Cf(),y=Yo((E,A)=>{const C=i.current;return bh(C,t,()=>{if(!vr("recoil_suppress_rerender_in_callback"))return A();const j=o();v.current.is(j)||A(),v.current=j},h).release},[i,t,h,o]),_=vY();if(_==null)throw Ii("Recoil hooks must be used in components contained within a <RecoilRoot> component.");const a=yY(_,l,y),v=Of(a);return Mh(()=>{v.current=a}),a}function bb(t){const i=sa(),o=Cf(),l=Yo(()=>{var v;process.env.NODE_ENV!=="production"&&zf.current++;const E=i.current,A=E.getState(),C=Fc().early&&(v=A.nextTree)!==null&&v!==void 0?v:A.currentTree;return Lf(E,t,C)},[i,t]),h=Yo(()=>({loadable:l(),key:t.key}),[l,t.key]),y=Yo(v=>{const E=h();return v.loadable.is(E.loadable)&&v.key===E.key?v:E},[h]);Mh(()=>{const v=bh(i.current,t,E=>{a(y)},o);return a(y),v.release},[o,t,i,y]);const[_,a]=vb(h);return _.key!==t.key?h().loadable:_.loadable}function SY(t){const i=sa(),[,o]=vb([]),l=Cf(),h=Yo(()=>{var a;process.env.NODE_ENV!=="production"&&zf.current++;const v=i.current,E=v.getState(),A=Fc().early&&(a=E.nextTree)!==null&&a!==void 0?a:E.currentTree;return Lf(v,t,A)},[i,t]),y=h(),_=Of(y);return Mh(()=>{_.current=y}),Mh(()=>{const a=i.current,v=a.getState(),E=bh(a,t,C=>{var L;if(!vr("recoil_suppress_rerender_in_callback"))return o([]);const j=h();(L=_.current)!==null&&L!==void 0&&L.is(j)||o(j),_.current=j},l);if(v.nextTree)a.getState().queuedComponentCallbacks_DEPRECATED.push(()=>{_.current=null,o([])});else{var A;if(!vr("recoil_suppress_rerender_in_callback"))return o([]);const C=h();(A=_.current)!==null&&A!==void 0&&A.is(C)||o(C),_.current=C}return E.release},[l,h,t,i]),y}function Mb(t){return process.env.NODE_ENV!=="production"&&jo(t,"useRecoilValueLoadable"),vr("recoil_memory_managament_2020")&&yb(t),{TRANSITION_SUPPORT:bb,SYNC_EXTERNAL_STORE:gY()?TY:bb,MUTABLE_SOURCE:EY,LEGACY:SY}[Fc().mode](t)}function QE(t){process.env.NODE_ENV!=="production"&&jo(t,"useRecoilValue");const i=sa(),o=Mb(t);return xb(o,t,i)}function b0(t){process.env.NODE_ENV!=="production"&&jo(t,"useSetRecoilState");const i=sa();return Yo(o=>{x0(i.current,t,o)},[i,t])}function DY(t){process.env.NODE_ENV!=="production"&&jo(t,"useResetRecoilState");const i=sa();return Yo(()=>{x0(i.current,t,$E)},[i,t])}function AY(t){return process.env.NODE_ENV!=="production"&&jo(t,"useRecoilState"),[QE(t),b0(t)]}function NY(t){return process.env.NODE_ENV!=="production"&&jo(t,"useRecoilStateLoadable"),[Mb(t),b0(t)]}function CY(){const t=sa();return(i,o={})=>{mY(()=>{t.current.addTransactionMetadata(o),i.forEach((l,h)=>bY(t.current,new _b(h),l))})}}function HE(t){return process.env.NODE_ENV!=="production"&&(jo(t,"useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE"),Fc().early||ho("Attepmt to use a hook with UNSTABLE_TRANSITION_SUPPORT in a rendering mode incompatible with concurrent rendering. Try enabling the recoil_sync_external_store or recoil_transition_support GKs.")),vr("recoil_memory_managament_2020")&&yb(t),bb(t)}function GE(t){process.env.NODE_ENV!=="production"&&jo(t,"useRecoilValue_TRANSITION_SUPPORT_UNSTABLE");const i=sa(),o=HE(t);return xb(o,t,i)}function LY(t){return process.env.NODE_ENV!=="production"&&jo(t,"useRecoilState_TRANSITION_SUPPORT_UNSTABLE"),[GE(t),b0(t)]}var OY={recoilComponentGetRecoilValueCount_FOR_TESTING:zf,useRecoilInterface:IY,useRecoilState:AY,useRecoilStateLoadable:NY,useRecoilValue:QE,useRecoilValueLoadable:Mb,useResetRecoilState:DY,useSetRecoilState:b0,useSetUnvalidatedAtomValues:CY,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:HE,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:GE,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:LY};function zY(t,i){const o=new Map;for(const[l,h]of t)i(h,l)&&o.set(l,h);return o}var kY=zY;function jY(t,i){const o=new Set;for(const l of t)i(l)&&o.add(l);return o}var RY=jY;function PY(...t){const i=new Map;for(let o=0;o<t.length;o++){const l=t[o].keys();let h;for(;!(h=l.next()).done;)i.set(h.value,t[o].get(h.value))}return i}var UY=PY;const{batchUpdates:BY}=p0,{DEFAULT_VALUE:FY,getNode:ZE,nodes:VY}=$o,{useStoreRef:wb}=Qa,{AbstractRecoilValue:$Y,setRecoilValueLoadable:YY}=oa,{SUSPENSE_TIMEOUT_MS:QY}=Bc,{cloneSnapshot:M0}=_0,{useCallback:w0,useEffect:WE,useRef:qE,useState:HY}=Ze,{isSSR:KE}=Df;function I0(t){const i=wb();WE(()=>i.current.subscribeToTransactions(t).release,[t,i])}function XE(t){const i=t.atomValues.toMap(),o=u0(kY(i,(l,h)=>{const _=ZE(h).persistence_UNSTABLE;return _!=null&&_.type!=="none"&&l.state==="hasValue"}),l=>l.contents);return UY(t.nonvalidatedAtoms.toMap(),o)}function GY(t){I0(w0(i=>{let o=i.getState().previousTree;const l=i.getState().currentTree;o||(ho("Transaction subscribers notified without a previous tree being present -- this is a bug in Recoil"),o=i.getState().currentTree);const h=XE(l),y=XE(o),_=u0(VY,v=>{var E,A,C,L;return{persistence_UNSTABLE:{type:(E=(A=v.persistence_UNSTABLE)===null||A===void 0?void 0:A.type)!==null&&E!==void 0?E:"none",backButton:(C=(L=v.persistence_UNSTABLE)===null||L===void 0?void 0:L.backButton)!==null&&C!==void 0?C:!1}}}),a=RY(l.dirtyAtoms,v=>h.has(v)||y.has(v));t({atomValues:h,previousAtomValues:y,atomInfo:_,modifiedAtoms:a,transactionMetadata:{...l.transactionMetadata}})},[t]))}function ZY(t){I0(w0(i=>{const o=M0(i,"latest"),l=M0(i,"previous");t({snapshot:o,previousSnapshot:l})},[t]))}function WY(){const t=wb(),[i,o]=HY(()=>M0(t.current)),l=FE(i),h=qE(),y=qE();if(I0(w0(a=>o(M0(a)),[])),WE(()=>{const a=i.retain();if(h.current&&!KE){var v;window.clearTimeout(h.current),h.current=null,(v=y.current)===null||v===void 0||v.call(y),y.current=null}return()=>{window.setTimeout(a,10)}},[i]),l!==i&&!KE){if(h.current){var _;window.clearTimeout(h.current),h.current=null,(_=y.current)===null||_===void 0||_.call(y),y.current=null}y.current=i.retain(),h.current=window.setTimeout(()=>{var a;h.current=null,(a=y.current)===null||a===void 0||a.call(y),y.current=null},QY)}return i}function JE(t,i){var o;const l=t.getState(),h=(o=l.nextTree)!==null&&o!==void 0?o:l.currentTree,y=i.getStore_INTERNAL().getState().currentTree;BY(()=>{const _=new Set;for(const E of[h.atomValues.keys(),y.atomValues.keys()])for(const A of E){var a,v;((a=h.atomValues.get(A))===null||a===void 0?void 0:a.contents)!==((v=y.atomValues.get(A))===null||v===void 0?void 0:v.contents)&&ZE(A).shouldRestoreFromSnapshots&&_.add(A)}_.forEach(E=>{YY(t,new $Y(E),y.atomValues.has(E)?Ar(y.atomValues.get(E)):FY)}),t.replaceState(E=>({...E,stateID:i.getID()}))})}function qY(){const t=wb();return w0(i=>JE(t.current,i),[t])}var eS={useRecoilSnapshot:WY,gotoSnapshot:JE,useGotoRecoilSnapshot:qY,useRecoilTransactionObserver:ZY,useTransactionObservation_DEPRECATED:GY,useTransactionSubscription_DEPRECATED:I0};const{peekNodeInfo:KY}=kl,{useStoreRef:XY}=Qa;function JY(){const t=XY();return({key:i})=>KY(t.current,t.current.getState().currentTree,i)}var eQ=JY;const{reactMode:tQ}=xh,{RecoilRoot:nQ,useStoreRef:iQ}=Qa,{useMemo:rQ}=Ze;function oQ(){tQ().mode==="MUTABLE_SOURCE"&&console.warn("Warning: There are known issues using useRecoilBridgeAcrossReactRoots() in recoil_mutable_source rendering mode. Please consider upgrading to recoil_sync_external_store mode.");const t=iQ().current;return rQ(()=>{function i({children:o}){return Ze.createElement(nQ,{store_INTERNAL:t},o)}return i},[t])}var sQ=oQ;const{loadableWithValue:aQ}=wf,{initializeNode:lQ}=kl,{DEFAULT_VALUE:cQ,getNode:uQ}=$o,{copyTreeState:hQ,getRecoilValueAsLoadable:dQ,invalidateDownstreams:fQ,writeLoadableToTreeState:pQ}=oa;function tS(t){return uQ(t.key).nodeType==="atom"}class mQ{constructor(i,o){Li(this,"_store",void 0),Li(this,"_treeState",void 0),Li(this,"_changes",void 0),Li(this,"get",l=>{if(this._changes.has(l.key))return this._changes.get(l.key);if(!tS(l))throw Ii("Reading selectors within atomicUpdate is not supported");const h=dQ(this._store,l,this._treeState);if(h.state==="hasValue")return h.contents;throw h.state==="hasError"?h.contents:Ii(`Expected Recoil atom ${l.key} to have a value, but it is in a loading state.`)}),Li(this,"set",(l,h)=>{if(!tS(l))throw Ii("Setting selectors within atomicUpdate is not supported");if(typeof h=="function"){const y=this.get(l);this._changes.set(l.key,h(y))}else lQ(this._store,l.key,"set"),this._changes.set(l.key,h)}),Li(this,"reset",l=>{this.set(l,cQ)}),this._store=i,this._treeState=o,this._changes=new Map}newTreeState_INTERNAL(){if(this._changes.size===0)return this._treeState;const i=hQ(this._treeState);for(const[o,l]of this._changes)pQ(i,o,aQ(l));return fQ(this._store,i),i}}function gQ(t){return i=>{t.replaceState(o=>{const l=new mQ(t,o);return i(l),l.newTreeState_INTERNAL()})}}var yQ={atomicUpdater:gQ},_Q=yQ.atomicUpdater,nS=Object.freeze({__proto__:null,atomicUpdater:_Q});function vQ(t,i){if(!t)throw new Error(i)}var xQ=vQ,aa=xQ;const{atomicUpdater:bQ}=nS,{batchUpdates:MQ}=p0,{DEFAULT_VALUE:wQ}=$o,{useStoreRef:IQ}=Qa,{refreshRecoilValue:TQ,setRecoilValue:iS}=oa,{cloneSnapshot:EQ}=_0,{gotoSnapshot:SQ}=eS,{useCallback:DQ}=Ze;class rS{}const AQ=new rS;function oS(t,i,o,l){let h=AQ,y;if(MQ(()=>{const a="useRecoilCallback() expects a function that returns a function: it accepts a function of the type (RecoilInterface) => (Args) => ReturnType and returns a callback function (Args) => ReturnType, where RecoilInterface is an object {snapshot, set, ...} and Args and ReturnType are the argument and return types of the callback you want to create. Please see the docs at recoiljs.org for details.";if(typeof i!="function")throw Ii(a);const v=nE({...l??{},set:(A,C)=>iS(t,A,C),reset:A=>iS(t,A,wQ),refresh:A=>TQ(t,A),gotoSnapshot:A=>SQ(t,A),transact_UNSTABLE:A=>bQ(t)(A)},{snapshot:()=>{const A=EQ(t);return y=A.retain(),A}}),E=i(v);if(typeof E!="function")throw Ii(a);h=E(...o)}),h instanceof rS&&(process.env.NODE_ENV!=="production"?aa(!1,"batchUpdates should return immediately"):aa(!1)),_r(h))h=h.finally(()=>{var a;(a=y)===null||a===void 0||a()});else{var _;(_=y)===null||_===void 0||_()}return h}function NQ(t,i){const o=IQ();return DQ((...l)=>oS(o.current,t,l),i!=null?[...i,o]:void 0)}var sS={recoilCallback:oS,useRecoilCallback:NQ};const{useStoreRef:CQ}=Qa,{refreshRecoilValue:LQ}=oa,{useCallback:OQ}=Ze;function zQ(t){const i=CQ();return OQ(()=>{const o=i.current;LQ(o,t)},[t,i])}var kQ=zQ;const{atomicUpdater:jQ}=nS,{useStoreRef:RQ}=Qa,{useMemo:PQ}=Ze;function UQ(t,i){const o=RQ();return PQ(()=>(...l)=>{jQ(o.current)(y=>{t(y)(...l)})},i!=null?[...i,o]:void 0)}var BQ=UQ;class FQ{constructor(i){Li(this,"value",void 0),this.value=i}}var VQ={WrappedValue:FQ},$Q=VQ.WrappedValue,aS=Object.freeze({__proto__:null,WrappedValue:$Q});const{isFastRefreshEnabled:YQ}=xh;class lS extends Error{}class QQ{constructor(i){var o,l,h;Li(this,"_name",void 0),Li(this,"_numLeafs",void 0),Li(this,"_root",void 0),Li(this,"_onHit",void 0),Li(this,"_onSet",void 0),Li(this,"_mapNodeValue",void 0),this._name=i==null?void 0:i.name,this._numLeafs=0,this._root=null,this._onHit=(o=i==null?void 0:i.onHit)!==null&&o!==void 0?o:()=>{},this._onSet=(l=i==null?void 0:i.onSet)!==null&&l!==void 0?l:()=>{},this._mapNodeValue=(h=i==null?void 0:i.mapNodeValue)!==null&&h!==void 0?h:y=>y}size(){return this._numLeafs}root(){return this._root}get(i,o){var l;return(l=this.getLeafNode(i,o))===null||l===void 0?void 0:l.value}getLeafNode(i,o){if(this._root==null)return;let l=this._root;for(;l;){if(o==null||o.onNodeVisit(l),l.type==="leaf")return this._onHit(l),l;const h=this._mapNodeValue(i(l.nodeKey));l=l.branches.get(h)}}set(i,o,l){const h=()=>{var y,_,a,v;let E,A;for(const[Z,ee]of i){var C,L,j;const ne=this._root;if((ne==null?void 0:ne.type)==="leaf")throw this.invalidCacheError();const re=E;if(E=re?re.branches.get(A):ne,E=(C=E)!==null&&C!==void 0?C:{type:"branch",nodeKey:Z,parent:re,branches:new Map,branchKey:A},E.type!=="branch"||E.nodeKey!==Z)throw this.invalidCacheError();re==null||re.branches.set(A,E),l==null||(L=l.onNodeVisit)===null||L===void 0||L.call(l,E),A=this._mapNodeValue(ee),this._root=(j=this._root)!==null&&j!==void 0?j:E}const U=E?(y=E)===null||y===void 0?void 0:y.branches.get(A):this._root;if(U!=null&&(U.type!=="leaf"||U.branchKey!==A))throw this.invalidCacheError();const V={type:"leaf",value:o,parent:E,branchKey:A};(_=E)===null||_===void 0||_.branches.set(A,V),this._root=(a=this._root)!==null&&a!==void 0?a:V,this._numLeafs++,this._onSet(V),l==null||(v=l.onNodeVisit)===null||v===void 0||v.call(l,V)};try{h()}catch(y){if(y instanceof lS)this.clear(),h();else throw y}}delete(i){const o=this.root();if(!o)return!1;if(i===o)return this._root=null,this._numLeafs=0,!0;let l=i.parent,h=i.branchKey;for(;l;){var y;if(l.branches.delete(h),l===o)return l.branches.size===0?(this._root=null,this._numLeafs=0):this._numLeafs--,!0;if(l.branches.size>0)break;h=(y=l)===null||y===void 0?void 0:y.branchKey,l=l.parent}for(;l!==o;l=l.parent)if(l==null)return!1;return this._numLeafs--,!0}clear(){this._numLeafs=0,this._root=null}invalidCacheError(){const i=YQ()?"Possible Fast Refresh module reload detected. This may also be caused by an selector returning inconsistent values. Resetting cache.":"Invalid cache values. This happens when selectors do not return consistent values for the same input dependency values. That may also be caused when using Fast Refresh to change a selector implementation. Resetting cache.";throw ho(i+(this._name!=null?` - ${this._name}`:"")),new lS}}var HQ={TreeCache:QQ},GQ=HQ.TreeCache,cS=Object.freeze({__proto__:null,TreeCache:GQ});class ZQ{constructor(i){var o;Li(this,"_maxSize",void 0),Li(this,"_size",void 0),Li(this,"_head",void 0),Li(this,"_tail",void 0),Li(this,"_map",void 0),Li(this,"_keyMapper",void 0),this._maxSize=i.maxSize,this._size=0,this._head=null,this._tail=null,this._map=new Map,this._keyMapper=(o=i.mapKey)!==null&&o!==void 0?o:l=>l}head(){return this._head}tail(){return this._tail}size(){return this._size}maxSize(){return this._maxSize}has(i){return this._map.has(this._keyMapper(i))}get(i){const o=this._keyMapper(i),l=this._map.get(o);if(l)return this.set(i,l.value),l.value}set(i,o){const l=this._keyMapper(i);this._map.get(l)&&this.delete(i);const y=this.head(),_={key:i,right:y,left:null,value:o};y?y.left=_:this._tail=_,this._map.set(l,_),this._head=_,this._size++,this._maybeDeleteLRU()}_maybeDeleteLRU(){this.size()>this.maxSize()&&this.deleteLru()}deleteLru(){const i=this.tail();i&&this.delete(i.key)}delete(i){const o=this._keyMapper(i);if(!this._size||!this._map.has(o))return;const l=Ar(this._map.get(o)),h=l.right,y=l.left;h&&(h.left=l.left),y&&(y.right=l.right),l===this.head()&&(this._head=h),l===this.tail()&&(this._tail=y),this._map.delete(o),this._size--}clear(){this._size=0,this._head=null,this._tail=null,this._map=new Map}}var WQ={LRUCache:ZQ},qQ=WQ.LRUCache,uS=Object.freeze({__proto__:null,LRUCache:qQ});const{LRUCache:KQ}=uS,{TreeCache:XQ}=cS;function JQ({name:t,maxSize:i,mapNodeValue:o=l=>l}){const l=new KQ({maxSize:i}),h=new XQ({name:t,mapNodeValue:o,onHit:y=>{l.set(y,!0)},onSet:y=>{const _=l.tail();l.set(y,!0),_&&h.size()>i&&h.delete(_.key)}});return h}var hS=JQ;const eH=15;function xs(t,i,o){if(typeof t=="string"&&!t.includes('"')&&!t.includes("\\"))return`"${t}"`;switch(typeof t){case"undefined":return"";case"boolean":return t?"true":"false";case"number":case"symbol":return String(t);case"string":return JSON.stringify(t);case"function":if((i==null?void 0:i.allowFunctions)!==!0)throw Ii("Attempt to serialize function in a Recoil cache key");return`__FUNCTION(${t.name})__`}if(t===null)return"null";if(typeof t!="object"){var l;return(l=JSON.stringify(t))!==null&&l!==void 0?l:""}if(_r(t))return"__PROMISE__";if(Array.isArray(t))return`[${t.map((h,y)=>xs(h,i,y.toString()))}]`;if(typeof t.toJSON=="function")return xs(t.toJSON(o),i,o);if(t instanceof Map){const h={};for(const[y,_]of t)h[typeof y=="string"?y:xs(y,i)]=_;return xs(h,i,o)}return t instanceof Set?xs(Array.from(t).sort((h,y)=>xs(h,i).localeCompare(xs(y,i))),i,o):Symbol!==void 0&&t[Symbol.iterator]!=null&&typeof t[Symbol.iterator]=="function"?xs(Array.from(t),i,o):`{${Object.keys(t).filter(h=>t[h]!==void 0).sort().map(h=>`${xs(h,i)}:${xs(t[h],i,h)}`).join(",")}}`}function tH(t,i={allowFunctions:!1}){if(process.env.NODE_ENV!=="production"&&typeof window<"u"){const o=window.performance?window.performance.now():0,l=xs(t,i),h=window.performance?window.performance.now():0;return h-o>eH&&(console.groupCollapsed(`Recoil: Spent ${h-o}ms computing a cache key`),console.warn(t,l),console.groupEnd()),l}return xs(t,i)}var T0=tH;const{TreeCache:nH}=cS,E0={equality:"reference",eviction:"keep-all",maxSize:1/0};function iH({equality:t=E0.equality,eviction:i=E0.eviction,maxSize:o=E0.maxSize}=E0,l){const h=rH(t);return oH(i,o,h,l)}function rH(t){switch(t){case"reference":return i=>i;case"value":return i=>T0(i)}throw Ii(`Unrecognized equality policy ${t}`)}function oH(t,i,o,l){switch(t){case"keep-all":return new nH({name:l,mapNodeValue:o});case"lru":return hS({name:l,maxSize:Ar(i),mapNodeValue:o});case"most-recent":return hS({name:l,maxSize:1,mapNodeValue:o})}throw Ii(`Unrecognized eviction policy ${t}`)}var sH=iH;function aH(t){var i,o;if(typeof window>"u")return!1;const h=(o=(t!=null?(i=t.ownerDocument)!==null&&i!==void 0?i:t:document).defaultView)!==null&&o!==void 0?o:window;return t!=null&&(typeof h.Node=="function"?t instanceof h.Node:typeof t=="object"&&typeof t.nodeType=="number"&&typeof t.nodeName=="string")}var lH=aH;const{isReactNative:cH,isWindow:uH}=Df;function hH(t){if(t===null||typeof t!="object")return!0;switch(typeof t.$$typeof){case"symbol":return!0;case"number":return!0}return!!(t["@@__IMMUTABLE_ITERABLE__@@"]!=null||t["@@__IMMUTABLE_KEYED__@@"]!=null||t["@@__IMMUTABLE_INDEXED__@@"]!=null||t["@@__IMMUTABLE_ORDERED__@@"]!=null||t["@@__IMMUTABLE_RECORD__@@"]!=null||lH(t)||_r(t)||t instanceof Error||ArrayBuffer.isView(t)||!cH&&uH(t))}function dS(t){if(!(typeof t!="object"||hH(t))){Object.freeze(t);for(const i in t)if(Object.prototype.hasOwnProperty.call(t,i)){const o=t[i];typeof o=="object"&&o!=null&&!Object.isFrozen(o)&&dS(o)}Object.seal(t)}}var Ib=dS;function dH(t){return()=>null}var fH={startPerfBlock:dH};const{isLoadable:pH,loadableWithError:S0,loadableWithPromise:mH,loadableWithValue:Tb}=wf,{WrappedValue:fS}=aS,{getNodeLoadable:D0,peekNodeLoadable:gH,setNodeValue:yH}=kl,{saveDepsToStore:_H}=Tf,{DEFAULT_VALUE:vH,getConfigDeletionHandler:xH,getNode:bH,registerNode:pS}=$o,{isRecoilValue:MH}=Pc,{markRecoilValueModified:mS}=oa,{retainedByOptionWithDefault:wH}=Bc,{recoilCallback:IH}=sS,{startPerfBlock:TH}=fH;class gS{}const kf=new gS,jf=[],A0=new Map,EH=(()=>{let t=0;return()=>t++})();function yS(t){let i=null;const{key:o,get:l,cachePolicy_UNSTABLE:h}=t,y=t.set!=null?t.set:void 0;if(process.env.NODE_ENV!=="production"){if(typeof o!="string")throw Ii("A key option with a unique string value must be provided when creating a selector.");if(typeof l!="function")throw Ii("Selectors must specify a get callback option to get the selector value.")}const _=new Set,a=sH(h??{equality:"reference",eviction:"keep-all"},o),v=wH(t.retainedBy_UNSTABLE),E=new Map;let A=0;function C(){return!vr("recoil_memory_managament_2020")||A>0}function L(ae){return ae.getState().knownSelectors.add(o),A++,()=>{A--}}function j(){return xH(o)!==void 0&&!C()}function U(ae,G,X,ge,fe){Re(G,ge,fe),V(ae,X)}function V(ae,G){Se(ae,G)&&tt(ae),ee(G,!0)}function Z(ae,G){Se(ae,G)&&(Ar(Ve(ae)).stateVersions.clear(),ee(G,!1))}function ee(ae,G){const X=A0.get(ae);if(X!=null){for(const ge of X)mS(ge,Ar(i));G&&A0.delete(ae)}}function ne(ae,G){let X=A0.get(G);X==null&&A0.set(G,X=new Set),X.add(ae)}function re(ae,G,X,ge,fe,Ne){return G.then(Oe=>{if(!C())throw tt(ae),kf;const Ae=Tb(Oe);return U(ae,X,fe,Ae,ge),Oe}).catch(Oe=>{if(!C())throw tt(ae),kf;if(_r(Oe))return ie(ae,Oe,X,ge,fe,Ne);const Ae=S0(Oe);throw U(ae,X,fe,Ae,ge),Oe})}function ie(ae,G,X,ge,fe,Ne){return G.then(Oe=>{if(!C())throw tt(ae),kf;Ne.loadingDepKey!=null&&Ne.loadingDepPromise===G?X.atomValues.set(Ne.loadingDepKey,Tb(Oe)):ae.getState().knownSelectors.forEach(Ce=>{X.atomValues.delete(Ce)});const Ae=Me(ae,X);if(Ae&&Ae.state!=="loading"){if((Se(ae,fe)||Ve(ae)==null)&&V(ae,fe),Ae.state==="hasValue")return Ae.contents;throw Ae.contents}if(!Se(ae,fe)){const Ce=qe(ae,X);if(Ce!=null)return Ce.loadingLoadable.contents}const[$e,st]=Ie(ae,X,fe);if($e.state!=="loading"&&U(ae,X,fe,$e,st),$e.state==="hasError")throw $e.contents;return $e.contents}).catch(Oe=>{if(Oe instanceof gS)throw kf;if(!C())throw tt(ae),kf;const Ae=S0(Oe);throw U(ae,X,fe,Ae,ge),Oe})}function te(ae,G,X,ge){var fe,Ne,Oe,Ae;if(Se(ae,ge)||G.version===((fe=ae.getState())===null||fe===void 0||(Ne=fe.currentTree)===null||Ne===void 0?void 0:Ne.version)||G.version===((Oe=ae.getState())===null||Oe===void 0||(Ae=Oe.nextTree)===null||Ae===void 0?void 0:Ae.version)){var $e,st,Ce;_H(o,X,ae,($e=(st=ae.getState())===null||st===void 0||(Ce=st.nextTree)===null||Ce===void 0?void 0:Ce.version)!==null&&$e!==void 0?$e:ae.getState().currentTree.version)}for(const Xe of X)_.add(Xe)}function Ie(ae,G,X){const ge=TH(o);let fe=!0,Ne=!0;const Oe=()=>{ge(),Ne=!1};let Ae,$e=!1,st;const Ce={loadingDepKey:null,loadingDepPromise:null},Xe=new Map;function yt({key:Ft}){const hn=D0(ae,G,Ft);switch(Xe.set(Ft,hn),fe||(te(ae,G,new Set(Xe.keys()),X),Z(ae,X)),hn.state){case"hasValue":return hn.contents;case"hasError":throw hn.contents;case"loading":throw Ce.loadingDepKey=Ft,Ce.loadingDepPromise=hn.contents,hn.contents}throw Ii("Invalid Loadable state")}const jt=Ft=>(...hn)=>{if(Ne)throw Ii("Callbacks from getCallback() should only be called asynchronously after the selector is evalutated. It can be used for selectors to return objects with callbacks that can work with Recoil state without a subscription.");return i==null&&(process.env.NODE_ENV!=="production"?aa(!1,"Recoil Value can never be null"):aa(!1)),IH(ae,Ft,hn,{node:i})};try{Ae=l({get:yt,getCallback:jt}),Ae=MH(Ae)?yt(Ae):Ae,pH(Ae)&&(Ae.state==="hasError"&&($e=!0),Ae=Ae.contents),_r(Ae)?Ae=re(ae,Ae,G,Xe,X,Ce).finally(Oe):Oe(),Ae=Ae instanceof fS?Ae.value:Ae}catch(Ft){Ae=Ft,_r(Ae)?Ae=ie(ae,Ae,G,Xe,X,Ce).finally(Oe):($e=!0,Oe())}return $e?st=S0(Ae):_r(Ae)?st=mH(Ae):st=Tb(Ae),fe=!1,We(ae,X,Xe),te(ae,G,new Set(Xe.keys()),X),[st,Xe]}function Me(ae,G){let X=G.atomValues.get(o);if(X!=null)return X;const ge=new Set;try{X=a.get(Ne=>(typeof Ne!="string"&&(process.env.NODE_ENV!=="production"?aa(!1,"Cache nodeKey is type string"):aa(!1)),D0(ae,G,Ne).contents),{onNodeVisit:Ne=>{Ne.type==="branch"&&Ne.nodeKey!==o&&ge.add(Ne.nodeKey)}})}catch(Ne){throw Ii(`Problem with cache lookup for selector "${o}": ${Ne.message}`)}if(X){var fe;G.atomValues.set(o,X),te(ae,G,ge,(fe=Ve(ae))===null||fe===void 0?void 0:fe.executionID)}return X}function de(ae,G){const X=Me(ae,G);if(X!=null)return tt(ae),X;const ge=qe(ae,G);if(ge!=null){var fe;return((fe=ge.loadingLoadable)===null||fe===void 0?void 0:fe.state)==="loading"&&ne(ae,ge.executionID),ge.loadingLoadable}const Ne=EH(),[Oe,Ae]=Ie(ae,G,Ne);return Oe.state==="loading"?(je(ae,Ne,Oe,Ae,G),ne(ae,Ne)):(tt(ae),Re(G,Oe,Ae)),Oe}function qe(ae,G){const X=bE([E.has(ae)?[Ar(E.get(ae))]:[],l0(sb(E,([fe])=>fe!==ae),([,fe])=>fe)]);function ge(fe){for(const[Ne,Oe]of fe)if(!D0(ae,G,Ne).is(Oe))return!0;return!1}for(const fe of X){if(fe.stateVersions.get(G.version)||!ge(fe.depValuesDiscoveredSoFarDuringAsyncWork))return fe.stateVersions.set(G.version,!0),fe;fe.stateVersions.set(G.version,!1)}}function Ve(ae){return E.get(ae)}function je(ae,G,X,ge,fe){E.set(ae,{depValuesDiscoveredSoFarDuringAsyncWork:ge,executionID:G,loadingLoadable:X,stateVersions:new Map([[fe.version,!0]])})}function We(ae,G,X){if(Se(ae,G)){const ge=Ve(ae);ge!=null&&(ge.depValuesDiscoveredSoFarDuringAsyncWork=X)}}function tt(ae){E.delete(ae)}function Se(ae,G){var X;return G===((X=Ve(ae))===null||X===void 0?void 0:X.executionID)}function He(ae){return Array.from(ae.entries()).map(([G,X])=>[G,X.contents])}function Re(ae,G,X){process.env.NODE_ENV!=="production"&&G.state!=="loading"&&!t.dangerouslyAllowMutability&&Ib(G.contents),ae.atomValues.set(o,G);try{a.set(He(X),G)}catch(ge){throw Ii(`Problem with setting cache for selector "${o}": ${ge.message}`)}}function Le(ae){if(jf.includes(o)){const G=`Recoil selector has circular dependencies: ${jf.slice(jf.indexOf(o)).join(" → ")}`;return S0(Ii(G))}jf.push(o);try{return ae()}finally{jf.pop()}}function ht(ae,G){const X=G.atomValues.get(o);return X??a.get(ge=>{var fe;return typeof ge!="string"&&(process.env.NODE_ENV!=="production"?aa(!1,"Cache nodeKey is type string"):aa(!1)),(fe=gH(ae,G,ge))===null||fe===void 0?void 0:fe.contents})}function ot(ae,G){return Le(()=>de(ae,G))}function me(ae){ae.atomValues.delete(o)}function ve(ae,G){i==null&&(process.env.NODE_ENV!=="production"?aa(!1,"Recoil Value can never be null"):aa(!1));for(const ge of _){var X;const fe=bH(ge);(X=fe.clearCache)===null||X===void 0||X.call(fe,ae,G)}_.clear(),me(G),a.clear(),mS(ae,i)}return y!=null?i=pS({key:o,nodeType:"selector",peek:ht,get:ot,set:(G,X,ge)=>{let fe=!1;const Ne=new Map;function Oe({key:Ce}){if(fe)throw Ii("Recoil: Async selector sets are not currently supported.");const Xe=D0(G,X,Ce);if(Xe.state==="hasValue")return Xe.contents;if(Xe.state==="loading"){const yt=`Getting value of asynchronous atom or selector "${Ce}" in a pending state while setting selector "${o}" is not yet supported.`;throw ho(yt),Ii(yt)}else throw Xe.contents}function Ae(Ce,Xe){if(fe){const Ft="Recoil: Async selector sets are not currently supported.";throw ho(Ft),Ii(Ft)}const yt=typeof Xe=="function"?Xe(Oe(Ce)):Xe;yH(G,X,Ce.key,yt).forEach((Ft,hn)=>Ne.set(hn,Ft))}function $e(Ce){Ae(Ce,vH)}const st=y({set:Ae,get:Oe,reset:$e},ge);if(st!==void 0)throw _r(st)?Ii("Recoil: Async selector sets are not currently supported."):Ii("Recoil: selector set should be a void function.");return fe=!0,Ne},init:L,invalidate:me,clearCache:ve,shouldDeleteConfigOnRelease:j,dangerouslyAllowMutability:t.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:v}):i=pS({key:o,nodeType:"selector",peek:ht,get:ot,init:L,invalidate:me,clearCache:ve,shouldDeleteConfigOnRelease:j,dangerouslyAllowMutability:t.dangerouslyAllowMutability,shouldRestoreFromSnapshots:!1,retainedBy:v})}yS.value=t=>new fS(t);var wh=yS;const{isLoadable:SH,loadableWithError:Eb,loadableWithPromise:Sb,loadableWithValue:Ih}=wf,{WrappedValue:_S}=aS,{peekNodeInfo:DH}=kl,{DEFAULT_VALUE:Vc,DefaultValue:jl,getConfigDeletionHandler:vS,registerNode:AH,setConfigDeletionHandler:NH}=$o,{isRecoilValue:CH}=Pc,{getRecoilValueAsLoadable:LH,markRecoilValueModified:OH,setRecoilValue:xS,setRecoilValueLoadable:zH}=oa,{retainedByOptionWithDefault:kH}=Bc,Rf=t=>t instanceof _S?t.value:t;function jH(t){const{key:i,persistence_UNSTABLE:o}=t,l=kH(t.retainedBy_UNSTABLE);let h=0;function y(ne){return Sb(ne.then(re=>(_=Ih(re),re)).catch(re=>{throw _=Eb(re),re}))}let _=_r(t.default)?y(t.default):SH(t.default)?t.default.state==="loading"?y(t.default.contents):t.default:Ih(Rf(t.default));E(_.contents);let a;const v=new Map;function E(ne){return process.env.NODE_ENV!=="production"&&t.dangerouslyAllowMutability!==!0?_r(ne)?ne.then(re=>(Ib(re),re)):(Ib(ne),ne):ne}function A(ne,re){const ie=re.then(te=>{var Ie,Me;return((Me=((Ie=ne.getState().nextTree)!==null&&Ie!==void 0?Ie:ne.getState().currentTree).atomValues.get(i))===null||Me===void 0?void 0:Me.contents)===ie&&xS(ne,ee,te),te}).catch(te=>{var Ie,Me;throw((Me=((Ie=ne.getState().nextTree)!==null&&Ie!==void 0?Ie:ne.getState().currentTree).atomValues.get(i))===null||Me===void 0?void 0:Me.contents)===ie&&zH(ne,ee,Eb(te)),te});return ie}function C(ne,re,ie){var te;h++;const Ie=()=>{var Ve;h--,(Ve=v.get(ne))===null||Ve===void 0||Ve.forEach(je=>je()),v.delete(ne)};if(ne.getState().knownAtoms.add(i),_.state==="loading"){const Ve=()=>{var je;((je=ne.getState().nextTree)!==null&&je!==void 0?je:ne.getState().currentTree).atomValues.has(i)||OH(ne,ee)};_.contents.finally(Ve)}const Me=(te=t.effects)!==null&&te!==void 0?te:t.effects_UNSTABLE;if(Me!=null){let Se=function(me){if(je&&me.key===i){const ve=Ve;return ve instanceof jl?L(ne,re):_r(ve)?Sb(ve.then(ae=>ae instanceof jl?_.toPromise():ae)):Ih(ve)}return LH(ne,me)},He=function(me){return Se(me).toPromise()},Re=function(me){var ve;const ae=DH(ne,(ve=ne.getState().nextTree)!==null&&ve!==void 0?ve:ne.getState().currentTree,me.key);return je&&me.key===i&&!(Ve instanceof jl)?{...ae,isSet:!0,loadable:Se(me)}:ae},Ve=Vc,je=!0,We=!1,tt=null;const Le=me=>ve=>{if(je){const ae=Se(ee),G=ae.state==="hasValue"?ae.contents:Vc;Ve=typeof ve=="function"?ve(G):ve,_r(Ve)&&(Ve=Ve.then(X=>(tt={effect:me,value:X},X)))}else{if(_r(ve))throw Ii("Setting atoms to async values is not implemented.");typeof ve!="function"&&(tt={effect:me,value:Rf(ve)}),xS(ne,ee,typeof ve=="function"?ae=>{const G=Rf(ve(ae));return tt={effect:me,value:G},G}:Rf(ve))}},ht=me=>()=>Le(me)(Vc),ot=me=>ve=>{var ae;const{release:G}=ne.subscribeToTransactions(X=>{var ge;let{currentTree:fe,previousTree:Ne}=X.getState();Ne||(ho("Transaction subscribers notified without a next tree being present -- this is a bug in Recoil"),Ne=fe);const Oe=(ge=fe.atomValues.get(i))!==null&&ge!==void 0?ge:_;if(Oe.state==="hasValue"){var Ae,$e,st,Ce;const Xe=Oe.contents,yt=(Ae=Ne.atomValues.get(i))!==null&&Ae!==void 0?Ae:_,jt=yt.state==="hasValue"?yt.contents:Vc;(($e=tt)===null||$e===void 0?void 0:$e.effect)!==me||((st=tt)===null||st===void 0?void 0:st.value)!==Xe?ve(Xe,jt,!fe.atomValues.has(i)):((Ce=tt)===null||Ce===void 0?void 0:Ce.effect)===me&&(tt=null)}},i);v.set(ne,[...(ae=v.get(ne))!==null&&ae!==void 0?ae:[],G])};for(const me of Me)try{const ve=me({node:ee,storeID:ne.storeID,parentStoreID_UNSTABLE:ne.parentStoreID,trigger:ie,setSelf:Le(me),resetSelf:ht(me),onSet:ot(me),getPromise:He,getLoadable:Se,getInfo_UNSTABLE:Re});if(ve!=null){var de;v.set(ne,[...(de=v.get(ne))!==null&&de!==void 0?de:[],ve])}}catch(ve){Ve=ve,We=!0}if(je=!1,!(Ve instanceof jl)){var qe;const me=We?Eb(Ve):_r(Ve)?Sb(A(ne,Ve)):Ih(Rf(Ve));E(me.contents),re.atomValues.set(i,me),(qe=ne.getState().nextTree)===null||qe===void 0||qe.atomValues.set(i,me)}}return Ie}function L(ne,re){var ie,te;return(ie=(te=re.atomValues.get(i))!==null&&te!==void 0?te:a)!==null&&ie!==void 0?ie:_}function j(ne,re){if(re.atomValues.has(i))return Ar(re.atomValues.get(i));if(re.nonvalidatedAtoms.has(i)){if(a!=null)return a;if(o==null)return a0(`Tried to restore a persisted value for atom ${i} but it has no persistence settings.`),_;const ie=re.nonvalidatedAtoms.get(i),te=o.validator(ie,Vc);return a=te instanceof jl?_:Ih(te),a}else return _}function U(){a=void 0}function V(ne,re,ie){if(re.atomValues.has(i)){const te=Ar(re.atomValues.get(i));if(te.state==="hasValue"&&ie===te.contents)return new Map}else if(!re.nonvalidatedAtoms.has(i)&&ie instanceof jl)return new Map;return E(ie),a=void 0,new Map().set(i,Ih(ie))}function Z(){return vS(i)!==void 0&&h<=0}const ee=AH({key:i,nodeType:"atom",peek:L,get:j,set:V,init:C,invalidate:U,shouldDeleteConfigOnRelease:Z,dangerouslyAllowMutability:t.dangerouslyAllowMutability,persistence_UNSTABLE:t.persistence_UNSTABLE?{type:t.persistence_UNSTABLE.type,backButton:t.persistence_UNSTABLE.backButton}:void 0,shouldRestoreFromSnapshots:!0,retainedBy:l});return ee}function Db(t){if(process.env.NODE_ENV!=="production"&&typeof t.key!="string")throw Ii("A key option with a unique string value must be provided when creating an atom.");const{...i}=t,o="default"in t?t.default:new Promise(()=>{});return CH(o)?RH({...i,default:o}):jH({...i,default:o})}function RH(t){const i=Db({...t,default:Vc,persistence_UNSTABLE:t.persistence_UNSTABLE===void 0?void 0:{...t.persistence_UNSTABLE,validator:l=>l instanceof jl?l:Ar(t.persistence_UNSTABLE).validator(l,Vc)},effects:t.effects,effects_UNSTABLE:t.effects_UNSTABLE}),o=wh({key:`${t.key}__withFallback`,get:({get:l})=>{const h=l(i);return h instanceof jl?t.default:h},set:({set:l},h)=>l(i,h),cachePolicy_UNSTABLE:{eviction:"most-recent"},dangerouslyAllowMutability:t.dangerouslyAllowMutability});return NH(o.key,vS(t.key)),o}Db.value=t=>new _S(t);var bS=Db;class PH{constructor(i){var o;Li(this,"_map",void 0),Li(this,"_keyMapper",void 0),this._map=new Map,this._keyMapper=(o=i==null?void 0:i.mapKey)!==null&&o!==void 0?o:l=>l}size(){return this._map.size}has(i){return this._map.has(this._keyMapper(i))}get(i){return this._map.get(this._keyMapper(i))}set(i,o){this._map.set(this._keyMapper(i),o)}delete(i){this._map.delete(this._keyMapper(i))}clear(){this._map.clear()}}var UH={MapCache:PH},BH=UH.MapCache,FH=Object.freeze({__proto__:null,MapCache:BH});const{LRUCache:MS}=uS,{MapCache:VH}=FH,N0={equality:"reference",eviction:"none",maxSize:1/0};function $H({equality:t=N0.equality,eviction:i=N0.eviction,maxSize:o=N0.maxSize}=N0){const l=YH(t);return QH(i,o,l)}function YH(t){switch(t){case"reference":return i=>i;case"value":return i=>T0(i)}throw Ii(`Unrecognized equality policy ${t}`)}function QH(t,i,o){switch(t){case"keep-all":return new VH({mapKey:o});case"lru":return new MS({mapKey:o,maxSize:Ar(i)});case"most-recent":return new MS({mapKey:o,maxSize:1})}throw Ii(`Unrecognized eviction policy ${t}`)}var wS=$H;const{setConfigDeletionHandler:HH}=$o;function GH(t){var i,o;const l=wS({equality:(i=(o=t.cachePolicyForParams_UNSTABLE)===null||o===void 0?void 0:o.equality)!==null&&i!==void 0?i:"value",eviction:"keep-all"});return h=>{var y,_;const a=l.get(h);if(a!=null)return a;const{cachePolicyForParams_UNSTABLE:v,...E}=t,A="default"in t?t.default:new Promise(()=>{}),C=bS({...E,key:`${t.key}__${(y=T0(h))!==null&&y!==void 0?y:"void"}`,default:typeof A=="function"?A(h):A,retainedBy_UNSTABLE:typeof t.retainedBy_UNSTABLE=="function"?t.retainedBy_UNSTABLE(h):t.retainedBy_UNSTABLE,effects:typeof t.effects=="function"?t.effects(h):typeof t.effects_UNSTABLE=="function"?t.effects_UNSTABLE(h):(_=t.effects)!==null&&_!==void 0?_:t.effects_UNSTABLE});return l.set(h,C),HH(C.key,()=>{l.delete(h)}),C}}var ZH=GH;const{setConfigDeletionHandler:WH}=$o;let qH=0;function KH(t){var i,o;const l=wS({equality:(i=(o=t.cachePolicyForParams_UNSTABLE)===null||o===void 0?void 0:o.equality)!==null&&i!==void 0?i:"value",eviction:"keep-all"});return h=>{var y;let _;try{_=l.get(h)}catch(L){throw Ii(`Problem with cache lookup for selector ${t.key}: ${L.message}`)}if(_!=null)return _;const a=`${t.key}__selectorFamily/${(y=T0(h,{allowFunctions:!0}))!==null&&y!==void 0?y:"void"}/${qH++}`,v=L=>t.get(h)(L),E=t.cachePolicy_UNSTABLE,A=typeof t.retainedBy_UNSTABLE=="function"?t.retainedBy_UNSTABLE(h):t.retainedBy_UNSTABLE;let C;if(t.set!=null){const L=t.set;C=wh({key:a,get:v,set:(U,V)=>L(h)(U,V),cachePolicy_UNSTABLE:E,dangerouslyAllowMutability:t.dangerouslyAllowMutability,retainedBy_UNSTABLE:A})}else C=wh({key:a,get:v,cachePolicy_UNSTABLE:E,dangerouslyAllowMutability:t.dangerouslyAllowMutability,retainedBy_UNSTABLE:A});return l.set(h,C),WH(C.key,()=>{l.delete(h)}),C}}var Rl=KH;const XH=Rl({key:"__constant",get:t=>()=>t,cachePolicyForParams_UNSTABLE:{equality:"reference"}});function JH(t){return XH(t)}var eG=JH;const tG=Rl({key:"__error",get:t=>()=>{throw Ii(t)},cachePolicyForParams_UNSTABLE:{equality:"reference"}});function nG(t){return tG(t)}var iG=nG;function rG(t){return t}var oG=rG;const{loadableWithError:IS,loadableWithPromise:TS,loadableWithValue:ES}=wf;function C0(t,i){const o=Array(i.length).fill(void 0),l=Array(i.length).fill(void 0);for(const[h,y]of i.entries())try{o[h]=t(y)}catch(_){l[h]=_}return[o,l]}function sG(t){return t!=null&&!_r(t)}function L0(t){return Array.isArray(t)?t:Object.getOwnPropertyNames(t).map(i=>t[i])}function Ab(t,i){return Array.isArray(t)?i:Object.getOwnPropertyNames(t).reduce((o,l,h)=>({...o,[l]:i[h]}),{})}function Th(t,i,o){const l=o.map((h,y)=>h==null?ES(i[y]):_r(h)?TS(h):IS(h));return Ab(t,l)}function aG(t,i){return i.map((o,l)=>o===void 0?t[l]:o)}const lG=Rl({key:"__waitForNone",get:t=>({get:i})=>{const o=L0(t),[l,h]=C0(i,o);return Th(t,l,h)},dangerouslyAllowMutability:!0}),cG=Rl({key:"__waitForAny",get:t=>({get:i})=>{const o=L0(t),[l,h]=C0(i,o);return h.some(y=>!_r(y))?Th(t,l,h):new Promise(y=>{for(const[_,a]of h.entries())_r(a)&&a.then(v=>{l[_]=v,h[_]=void 0,y(Th(t,l,h))}).catch(v=>{h[_]=v,y(Th(t,l,h))})})},dangerouslyAllowMutability:!0}),uG=Rl({key:"__waitForAll",get:t=>({get:i})=>{const o=L0(t),[l,h]=C0(i,o);if(h.every(_=>_==null))return Ab(t,l);const y=h.find(sG);if(y!=null)throw y;return Promise.all(h).then(_=>Ab(t,aG(l,_)))},dangerouslyAllowMutability:!0}),hG=Rl({key:"__waitForAllSettled",get:t=>({get:i})=>{const o=L0(t),[l,h]=C0(i,o);return h.every(y=>!_r(y))?Th(t,l,h):Promise.all(h.map((y,_)=>_r(y)?y.then(a=>{l[_]=a,h[_]=void 0}).catch(a=>{l[_]=void 0,h[_]=a}):null)).then(()=>Th(t,l,h))},dangerouslyAllowMutability:!0}),dG=Rl({key:"__noWait",get:t=>({get:i})=>{try{return wh.value(ES(i(t)))}catch(o){return wh.value(_r(o)?TS(o):IS(o))}},dangerouslyAllowMutability:!0});var fG={waitForNone:lG,waitForAny:cG,waitForAll:uG,waitForAllSettled:hG,noWait:dG};const{RecoilLoadable:pG}=wf,{DefaultValue:mG}=$o,{RecoilRoot:gG,useRecoilStoreID:yG}=Qa,{isRecoilValue:_G}=Pc,{retentionZone:vG}=d0,{freshSnapshot:xG}=_0,{useRecoilState:bG,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:MG,useRecoilStateLoadable:wG,useRecoilValue:IG,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:TG,useRecoilValueLoadable:EG,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:SG,useResetRecoilState:DG,useSetRecoilState:AG}=OY,{useGotoRecoilSnapshot:NG,useRecoilSnapshot:CG,useRecoilTransactionObserver:LG}=eS,{useRecoilCallback:OG}=sS,{noWait:zG,waitForAll:kG,waitForAllSettled:jG,waitForAny:RG,waitForNone:PG}=fG;var Eh={DefaultValue:mG,isRecoilValue:_G,RecoilLoadable:pG,RecoilEnv:vh,RecoilRoot:gG,useRecoilStoreID:yG,useRecoilBridgeAcrossReactRoots_UNSTABLE:sQ,atom:bS,selector:wh,atomFamily:ZH,selectorFamily:Rl,constSelector:eG,errorSelector:iG,readOnlySelector:oG,noWait:zG,waitForNone:PG,waitForAny:RG,waitForAll:kG,waitForAllSettled:jG,useRecoilValue:IG,useRecoilValueLoadable:EG,useRecoilState:bG,useRecoilStateLoadable:wG,useSetRecoilState:AG,useResetRecoilState:DG,useGetRecoilValueInfo_UNSTABLE:eQ,useRecoilRefresher_UNSTABLE:kQ,useRecoilValueLoadable_TRANSITION_SUPPORT_UNSTABLE:SG,useRecoilValue_TRANSITION_SUPPORT_UNSTABLE:TG,useRecoilState_TRANSITION_SUPPORT_UNSTABLE:MG,useRecoilCallback:OG,useRecoilTransaction_UNSTABLE:BQ,useGotoRecoilSnapshot:NG,useRecoilSnapshot:CG,useRecoilTransactionObserver_UNSTABLE:LG,snapshot_UNSTABLE:xG,useRetain:yb,retentionZone:vG},UG=Eh.RecoilRoot,di=Eh.atom,SS=Eh.selector,cn=Eh.useRecoilValue,On=Eh.useRecoilState,bs=Eh.useResetRecoilState;const BG=(t,i)=>{const o=t[i];return o?typeof o=="function"?o():Promise.resolve(o):new Promise((l,h)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(h.bind(null,new Error("Unknown variable dynamic import: "+i)))})},FG="mi-components";let O0,DS,os=!1,Nb=!1;const Ha=(t,i="")=>()=>{},VG=(t,i)=>()=>{},$G="{visibility:hidden}.hydrated{visibility:inherit}",AS="http://www.w3.org/1999/xlink",NS={},YG="http://www.w3.org/2000/svg",QG="http://www.w3.org/1999/xhtml",HG=t=>t!=null,Cb=t=>(t=typeof t,t==="object"||t==="function");function CS(t){var i,o,l;return(l=(o=(i=t.head)===null||i===void 0?void 0:i.querySelector('meta[name="csp-nonce"]'))===null||o===void 0?void 0:o.getAttribute("content"))!==null&&l!==void 0?l:void 0}const Pe=(t,i,...o)=>{let l=null,h=null,y=!1,_=!1;const a=[],v=A=>{for(let C=0;C<A.length;C++)l=A[C],Array.isArray(l)?v(l):l!=null&&typeof l!="boolean"&&((y=typeof t!="function"&&!Cb(l))&&(l=String(l)),y&&_?a[a.length-1].$text$+=l:a.push(y?Lb(null,l):l),_=y)};if(v(o),i){i.key&&(h=i.key);{const A=i.className||i.class;A&&(i.class=typeof A!="object"?A:Object.keys(A).filter(C=>A[C]).join(" "))}}const E=Lb(t,null);return E.$attrs$=i,a.length>0&&(E.$children$=a),E.$key$=h,E},Lb=(t,i)=>{const o={$flags$:0,$tag$:t,$text$:i,$elm$:null,$children$:null};return o.$attrs$=null,o.$key$=null,o},Jr={},GG=t=>t&&t.$tag$===Jr,ZG=(t,i)=>t!=null&&!Cb(t)?i&4?t==="false"?!1:t===""||!!t:i&2?parseFloat(t):i&1?String(t):t:t,Ga=t=>Pl(t).$hostElement$,pr=(t,i,o)=>{const l=Ga(t);return{emit:h=>LS(l,i,{bubbles:!!(o&4),composed:!!(o&2),cancelable:!!(o&1),detail:h})}},LS=(t,i,o)=>{const l=fo.ce(i,o);return t.dispatchEvent(l),l},OS=new WeakMap,WG=(t,i,o)=>{let l=R0.get(t);gZ&&o?(l=l||new CSSStyleSheet,typeof l=="string"?l=i:l.replaceSync(i)):l=i,R0.set(t,l)},qG=(t,i,o,l)=>{var h;let y=zS(i);const _=R0.get(y);if(t=t.nodeType===11?t:la,_)if(typeof _=="string"){t=t.head||t;let a=OS.get(t),v;if(a||OS.set(t,a=new Set),!a.has(y)){{v=la.createElement("style"),v.innerHTML=_;const E=(h=fo.$nonce$)!==null&&h!==void 0?h:CS(la);E!=null&&v.setAttribute("nonce",E),t.insertBefore(v,t.querySelector("link"))}a&&a.add(y)}}else t.adoptedStyleSheets.includes(_)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,_]);return y},KG=t=>{const i=t.$cmpMeta$,o=t.$hostElement$,l=i.$flags$,h=Ha("attachStyles",i.$tagName$),y=qG(o.shadowRoot?o.shadowRoot:o.getRootNode(),i);l&10&&(o["s-sc"]=y,o.classList.add(y+"-h")),h()},zS=(t,i)=>"sc-"+t.$tagName$,kS=(t,i,o,l,h,y)=>{if(o!==l){let _=ZS(t,i),a=i.toLowerCase();if(i==="class"){const v=t.classList,E=jS(o),A=jS(l);v.remove(...E.filter(C=>C&&!A.includes(C))),v.add(...A.filter(C=>C&&!E.includes(C)))}else if(i==="style"){for(const v in o)(!l||l[v]==null)&&(v.includes("-")?t.style.removeProperty(v):t.style[v]="");for(const v in l)(!o||l[v]!==o[v])&&(v.includes("-")?t.style.setProperty(v,l[v]):t.style[v]=l[v])}else if(i!=="key")if(i==="ref")l&&l(t);else if(!_&&i[0]==="o"&&i[1]==="n")i[2]==="-"?i=i.slice(3):ZS(Pf,a)?i=a.slice(2):i=a[2]+i.slice(3),o&&fo.rel(t,i,o,!1),l&&fo.ael(t,i,l,!1);else{const v=Cb(l);if((_||v&&l!==null)&&!h)try{if(t.tagName.includes("-"))t[i]=l;else{const A=l??"";i==="list"?_=!1:(o==null||t[i]!=A)&&(t[i]=A)}}catch{}let E=!1;a!==(a=a.replace(/^xlink\:?/,""))&&(i=a,E=!0),l==null||l===!1?(l!==!1||t.getAttribute(i)==="")&&(E?t.removeAttributeNS(AS,i):t.removeAttribute(i)):(!_||y&4||h)&&!v&&(l=l===!0?"":l,E?t.setAttributeNS(AS,i,l):t.setAttribute(i,l))}}},XG=/\s/,jS=t=>t?t.split(XG):[],RS=(t,i,o,l)=>{const h=i.$elm$.nodeType===11&&i.$elm$.host?i.$elm$.host:i.$elm$,y=t&&t.$attrs$||NS,_=i.$attrs$||NS;for(l in y)l in _||kS(h,l,y[l],void 0,o,i.$flags$);for(l in _)kS(h,l,y[l],_[l],o,i.$flags$)},z0=(t,i,o,l)=>{const h=i.$children$[o];let y=0,_,a;if(h.$text$!==null)_=h.$elm$=la.createTextNode(h.$text$);else{if(os||(os=h.$tag$==="svg"),_=h.$elm$=la.createElementNS(os?YG:QG,h.$tag$),os&&h.$tag$==="foreignObject"&&(os=!1),RS(null,h,os),HG(O0)&&_["s-si"]!==O0&&_.classList.add(_["s-si"]=O0),h.$children$)for(y=0;y<h.$children$.length;++y)a=z0(t,h,y),a&&_.appendChild(a);h.$tag$==="svg"?os=!1:_.tagName==="foreignObject"&&(os=!0)}return _},PS=(t,i,o,l,h,y)=>{let _=t,a;for(_.shadowRoot&&_.tagName===DS&&(_=_.shadowRoot);h<=y;++h)l[h]&&(a=z0(null,o,h),a&&(l[h].$elm$=a,_.insertBefore(a,i)))},US=(t,i,o,l,h)=>{for(;i<=o;++i)(l=t[i])&&(h=l.$elm$,BS(l),h.remove())},JG=(t,i,o,l)=>{let h=0,y=0,_=0,a=0,v=i.length-1,E=i[0],A=i[v],C=l.length-1,L=l[0],j=l[C],U,V;for(;h<=v&&y<=C;)if(E==null)E=i[++h];else if(A==null)A=i[--v];else if(L==null)L=l[++y];else if(j==null)j=l[--C];else if(k0(E,L))Sh(E,L),E=i[++h],L=l[++y];else if(k0(A,j))Sh(A,j),A=i[--v],j=l[--C];else if(k0(E,j))Sh(E,j),t.insertBefore(E.$elm$,A.$elm$.nextSibling),E=i[++h],j=l[--C];else if(k0(A,L))Sh(A,L),t.insertBefore(A.$elm$,E.$elm$),A=i[--v],L=l[++y];else{for(_=-1,a=h;a<=v;++a)if(i[a]&&i[a].$key$!==null&&i[a].$key$===L.$key$){_=a;break}_>=0?(V=i[_],V.$tag$!==L.$tag$?U=z0(i&&i[y],o,_):(Sh(V,L),i[_]=void 0,U=V.$elm$),L=l[++y]):(U=z0(i&&i[y],o,y),L=l[++y]),U&&E.$elm$.parentNode.insertBefore(U,E.$elm$)}h>v?PS(t,l[C+1]==null?null:l[C+1].$elm$,o,l,y,C):y>C&&US(i,h,v)},k0=(t,i)=>t.$tag$===i.$tag$?t.$key$===i.$key$:!1,Sh=(t,i)=>{const o=i.$elm$=t.$elm$,l=t.$children$,h=i.$children$,y=i.$tag$,_=i.$text$;_===null?(os=y==="svg"?!0:y==="foreignObject"?!1:os,y==="slot"||RS(t,i,os),l!==null&&h!==null?JG(o,l,i,h):h!==null?(t.$text$!==null&&(o.textContent=""),PS(o,null,i,h,0,h.length-1)):l!==null&&US(l,0,l.length-1),os&&y==="svg"&&(os=!1)):t.$text$!==_&&(o.data=_)},BS=t=>{t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(BS)},eZ=(t,i)=>{const o=t.$hostElement$,l=t.$cmpMeta$,h=t.$vnode$||Lb(null,null),y=GG(i)?i:Pe(null,null,i);DS=o.tagName,l.$attrsToReflect$&&(y.$attrs$=y.$attrs$||{},l.$attrsToReflect$.map(([_,a])=>y.$attrs$[a]=o[_])),y.$tag$=null,y.$flags$|=4,t.$vnode$=y,y.$elm$=h.$elm$=o.shadowRoot||o,O0=o["s-sc"],Sh(h,y)},FS=(t,i)=>{i&&!t.$onRenderResolve$&&i["s-p"]&&i["s-p"].push(new Promise(o=>t.$onRenderResolve$=o))},j0=(t,i)=>{if(t.$flags$|=16,t.$flags$&4){t.$flags$|=512;return}return FS(t,t.$ancestorComponent$),_Z(()=>tZ(t,i))},tZ=(t,i)=>{const o=Ha("scheduleUpdate",t.$cmpMeta$.$tagName$),l=t.$lazyInstance$;let h;return i&&(t.$flags$|=256,t.$queuedListeners$&&(t.$queuedListeners$.map(([y,_])=>$c(l,y,_)),t.$queuedListeners$=null),h=$c(l,"componentWillLoad")),h=$S(h,()=>$c(l,"componentWillRender")),o(),$S(h,()=>nZ(t,l,i))},nZ=async(t,i,o)=>{const l=t.$hostElement$,h=Ha("update",t.$cmpMeta$.$tagName$),y=l["s-rc"];o&&KG(t);const _=Ha("render",t.$cmpMeta$.$tagName$);iZ(t,i),y&&(y.map(a=>a()),l["s-rc"]=void 0),_(),h();{const a=l["s-p"],v=()=>rZ(t);a.length===0?v():(Promise.all(a).then(v),t.$flags$|=4,a.length=0)}},iZ=(t,i,o)=>{try{i=i.render&&i.render(),t.$flags$&=-17,t.$flags$|=2,eZ(t,i)}catch(l){Yc(l,t.$hostElement$)}return null},rZ=t=>{const i=t.$cmpMeta$.$tagName$,o=t.$hostElement$,l=Ha("postUpdate",i),h=t.$lazyInstance$,y=t.$ancestorComponent$;$c(h,"componentDidRender"),t.$flags$&64?l():(t.$flags$|=64,YS(o),$c(h,"componentDidLoad"),l(),t.$onReadyResolve$(o),y||VS()),t.$onInstanceResolve$(o),t.$onRenderResolve$&&(t.$onRenderResolve$(),t.$onRenderResolve$=void 0),t.$flags$&512&&jb(()=>j0(t,!1)),t.$flags$&=-517},Ob=t=>{{const i=Pl(t),o=i.$hostElement$.isConnected;return o&&(i.$flags$&18)===2&&j0(i,!1),o}},VS=t=>{YS(la.documentElement),jb(()=>LS(Pf,"appload",{detail:{namespace:FG}}))},$c=(t,i,o)=>{if(t&&t[i])try{return t[i](o)}catch(l){Yc(l)}},$S=(t,i)=>t&&t.then?t.then(i):i(),YS=t=>t.classList.add("hydrated"),oZ=(t,i)=>Pl(t).$instanceValues$.get(i),sZ=(t,i,o,l)=>{const h=Pl(t),y=h.$hostElement$,_=h.$instanceValues$.get(i),a=h.$flags$,v=h.$lazyInstance$;o=ZG(o,l.$members$[i][0]);const E=Number.isNaN(_)&&Number.isNaN(o),A=o!==_&&!E;if((!(a&8)||_===void 0)&&A&&(h.$instanceValues$.set(i,o),v)){if(l.$watchers$&&a&128){const C=l.$watchers$[i];C&&C.map(L=>{try{v[L](o,_,i)}catch(j){Yc(j,y)}})}(a&18)===2&&j0(h,!1)}},QS=(t,i,o)=>{if(i.$members$){t.watchers&&(i.$watchers$=t.watchers);const l=Object.entries(i.$members$),h=t.prototype;if(l.map(([y,[_]])=>{_&31||o&2&&_&32?Object.defineProperty(h,y,{get(){return oZ(this,y)},set(a){sZ(this,y,a,i)},configurable:!0,enumerable:!0}):o&1&&_&64&&Object.defineProperty(h,y,{value(...a){const v=Pl(this);return v.$onInstancePromise$.then(()=>v.$lazyInstance$[y](...a))}})}),o&1){const y=new Map;h.attributeChangedCallback=function(_,a,v){fo.jmp(()=>{const E=y.get(_);if(this.hasOwnProperty(E))v=this[E],delete this[E];else if(h.hasOwnProperty(E)&&typeof this[E]=="number"&&this[E]==v)return;this[E]=v===null&&typeof this[E]=="boolean"?!1:v})},t.observedAttributes=l.filter(([_,a])=>a[0]&15).map(([_,a])=>{const v=a[1]||_;return y.set(v,_),a[0]&512&&i.$attrsToReflect$.push([_,v]),v})}}return t},aZ=async(t,i,o,l,h)=>{if(!(i.$flags$&32)){{if(i.$flags$|=32,h=mZ(o),h.then){const v=VG();h=await h,v()}h.isProxied||(o.$watchers$=h.watchers,QS(h,o,2),h.isProxied=!0);const a=Ha("createInstance",o.$tagName$);i.$flags$|=8;try{new h(i)}catch(v){Yc(v)}i.$flags$&=-9,i.$flags$|=128,a(),HS(i.$lazyInstance$)}if(h.style){let a=h.style;const v=zS(o);if(!R0.has(v)){const E=Ha("registerStyles",o.$tagName$);WG(v,a,!!(o.$flags$&1)),E()}}}const y=i.$ancestorComponent$,_=()=>j0(i,!0);y&&y["s-rc"]?y["s-rc"].push(_):_()},HS=t=>{$c(t,"connectedCallback")},lZ=t=>{if(!(fo.$flags$&1)){const i=Pl(t),o=i.$cmpMeta$,l=Ha("connectedCallback",o.$tagName$);if(i.$flags$&1)GS(t,i,o.$listeners$),HS(i.$lazyInstance$);else{i.$flags$|=1;{let h=t;for(;h=h.parentNode||h.host;)if(h["s-p"]){FS(i,i.$ancestorComponent$=h);break}}o.$members$&&Object.entries(o.$members$).map(([h,[y]])=>{if(y&31&&t.hasOwnProperty(h)){const _=t[h];delete t[h],t[h]=_}}),aZ(t,i,o)}l()}},cZ=t=>{if(!(fo.$flags$&1)){const i=Pl(t),o=i.$lazyInstance$;i.$rmListeners$&&(i.$rmListeners$.map(l=>l()),i.$rmListeners$=void 0),$c(o,"disconnectedCallback")}},uZ=(t,i={})=>{var o;const l=Ha(),h=[],y=i.exclude||[],_=Pf.customElements,a=la.head,v=a.querySelector("meta[charset]"),E=la.createElement("style"),A=[];let C,L=!0;Object.assign(fo,i),fo.$resourcesUrl$=new URL(i.resourcesUrl||"./",la.baseURI).href,t.map(j=>{j[1].map(U=>{const V={$flags$:U[0],$tagName$:U[1],$members$:U[2],$listeners$:U[3]};V.$members$=U[2],V.$listeners$=U[3],V.$attrsToReflect$=[],V.$watchers$={};const Z=V.$tagName$,ee=class extends HTMLElement{constructor(ne){super(ne),ne=this,pZ(ne,V),V.$flags$&1&&ne.attachShadow({mode:"open"})}connectedCallback(){C&&(clearTimeout(C),C=null),L?A.push(this):fo.jmp(()=>lZ(this))}disconnectedCallback(){fo.jmp(()=>cZ(this))}componentOnReady(){return Pl(this).$onReadyPromise$}};V.$lazyBundleId$=j[0],!y.includes(Z)&&!_.get(Z)&&(h.push(Z),_.define(Z,QS(ee,V,1)))})});{E.innerHTML=h+$G,E.setAttribute("data-styles","");const j=(o=fo.$nonce$)!==null&&o!==void 0?o:CS(la);j!=null&&E.setAttribute("nonce",j),a.insertBefore(E,v?v.nextSibling:a.firstChild)}L=!1,A.length?A.map(j=>j.connectedCallback()):fo.jmp(()=>C=setTimeout(VS,30)),l()},GS=(t,i,o,l)=>{o&&o.map(([h,y,_])=>{const a=dZ(t,h),v=hZ(i,_),E=fZ(h);fo.ael(a,y,v,E),(i.$rmListeners$=i.$rmListeners$||[]).push(()=>fo.rel(a,y,v,E))})},hZ=(t,i)=>o=>{try{t.$flags$&256?t.$lazyInstance$[i](o):(t.$queuedListeners$=t.$queuedListeners$||[]).push([i,o])}catch(l){Yc(l)}},dZ=(t,i)=>i&8?Pf:t,fZ=t=>(t&2)!==0,zb=new WeakMap,Pl=t=>zb.get(t),Pi=(t,i)=>zb.set(i.$lazyInstance$=t,i),pZ=(t,i)=>{const o={$flags$:0,$hostElement$:t,$cmpMeta$:i,$instanceValues$:new Map};return o.$onInstancePromise$=new Promise(l=>o.$onInstanceResolve$=l),o.$onReadyPromise$=new Promise(l=>o.$onReadyResolve$=l),t["s-p"]=[],t["s-rc"]=[],GS(t,o,i.$listeners$),zb.set(t,o)},ZS=(t,i)=>i in t,Yc=(t,i)=>(0,console.error)(t,i),WS=new Map,mZ=(t,i,o)=>{const l=t.$tagName$.replace(/-/g,"_"),h=t.$lazyBundleId$,y=WS.get(h);if(y)return y[l];/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return BG(Object.assign({"./combo-box-item.entry.js":()=>Promise.resolve().then(()=>LK),"./mi-card_2.entry.js":()=>Promise.resolve().then(()=>kK),"./mi-chip.entry.js":()=>Promise.resolve().then(()=>RK),"./mi-column.entry.js":()=>Promise.resolve().then(()=>PK),"./mi-combo-box.entry.js":()=>Promise.resolve().then(()=>FK),"./mi-data-table.entry.js":()=>Promise.resolve().then(()=>WK),"./mi-distance_2.entry.js":()=>Promise.resolve().then(()=>XK),"./mi-dropdown-item.entry.js":()=>Promise.resolve().then(()=>JK),"./mi-dropdown.entry.js":()=>Promise.resolve().then(()=>tX),"./mi-floor-selector.entry.js":()=>Promise.resolve().then(()=>iX),"./mi-keyboard.entry.js":()=>Promise.resolve().then(()=>hX),"./mi-list-item-category.entry.js":()=>Promise.resolve().then(()=>fX),"./mi-list-item-location.entry.js":()=>Promise.resolve().then(()=>mX),"./mi-list.entry.js":()=>Promise.resolve().then(()=>yX),"./mi-location-booking.entry.js":()=>Promise.resolve().then(()=>Vie),"./mi-location-info.entry.js":()=>Promise.resolve().then(()=>Yie),"./mi-map-googlemaps.entry.js":()=>Promise.resolve().then(()=>Gie),"./mi-map-mapbox.entry.js":()=>Promise.resolve().then(()=>Kie),"./mi-metric-card.entry.js":()=>Promise.resolve().then(()=>Jie),"./mi-my-position.entry.js":()=>Promise.resolve().then(()=>gre),"./mi-notification.entry.js":()=>Promise.resolve().then(()=>_re),"./mi-route-instructions-heading.entry.js":()=>Promise.resolve().then(()=>xre),"./mi-route-instructions-maneuver-legacy.entry.js":()=>Promise.resolve().then(()=>Mre),"./mi-route-instructions-maneuver.entry.js":()=>Promise.resolve().then(()=>Ire),"./mi-route-instructions-step-legacy.entry.js":()=>Promise.resolve().then(()=>Ere),"./mi-route-instructions-step.entry.js":()=>Promise.resolve().then(()=>Dre),"./mi-route-instructions.entry.js":()=>Promise.resolve().then(()=>Nre),"./mi-scroll-buttons.entry.js":()=>Promise.resolve().then(()=>Lre),"./mi-search.entry.js":()=>Promise.resolve().then(()=>Rre),"./mi-share-sms.entry.js":()=>Promise.resolve().then(()=>Ure),"./mi-step-switcher.entry.js":()=>Promise.resolve().then(()=>Fre),"./mi-tab-panel.entry.js":()=>Promise.resolve().then(()=>$re),"./mi-tab.entry.js":()=>Promise.resolve().then(()=>Yre),"./mi-tabs.entry.js":()=>Promise.resolve().then(()=>Hre),"./mi-time.entry.js":()=>Promise.resolve().then(()=>Gre)}),`./${h}.entry.js`).then(_=>(WS.set(h,_),_[l]),Yc)},R0=new Map,Pf=typeof window<"u"?window:{},la=Pf.document||{head:{}},fo={$flags$:0,$resourcesUrl$:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,i,o,l)=>t.addEventListener(i,o,l),rel:(t,i,o,l)=>t.removeEventListener(i,o,l),ce:(t,i)=>new CustomEvent(t,i)},qS=t=>Promise.resolve(t),gZ=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch{}return!1})(),KS=[],XS=[],yZ=(t,i)=>o=>{t.push(o),Nb||(Nb=!0,i&&fo.$flags$&4?jb(kb):fo.raf(kb))},JS=t=>{for(let i=0;i<t.length;i++)try{t[i](performance.now())}catch(o){Yc(o)}t.length=0},kb=()=>{JS(KS),JS(XS),(Nb=KS.length>0)&&fo.raf(kb)},jb=t=>qS().then(t),_Z=yZ(XS,!0),vZ=()=>qS(),xZ=(t,i)=>typeof window>"u"?Promise.resolve():vZ().then(()=>uZ([["mi-route-instructions",[[1,"mi-route-instructions",{activeStep:[1040],unit:[1],route:[16],hideIndoorSubsteps:[4,"hide-indoor-substeps"],travelMode:[1,"travel-mode"],originLocation:[16],originName:[1,"origin-name"],destinationLocation:[16],destinationName:[1,"destination-name"],translations:[16]}]]],["mi-route-instructions-step",[[1,"mi-route-instructions-step",{step:[1],hideIndoorSubsteps:[4,"hide-indoor-substeps"],fromRouteContext:[1,"from-route-context"],fromTravelMode:[1,"from-travel-mode"],fromTransitStop:[1,"from-transit-stop"],destinationLocation:[1,"destination-location"],unit:[1],showToggleButton:[4,"show-toggle-button"],translations:[1],stepData:[32],translationsData:[32],substepsAreOpen:[32],openSubsteps:[64],closeSubsteps:[64]}]]],["mi-route-instructions-heading",[[1,"mi-route-instructions-heading",{originName:[1,"origin-name"],destinationName:[1,"destination-name"],totalTravelTime:[2,"total-travel-time"],totalWalkingDistance:[2,"total-walking-distance"],travelMode:[1,"travel-mode"],unit:[1],translations:[16]}]]],["mi-list",[[1,"mi-list",{scrollButtonsEnabled:[4,"scroll-buttons-enabled"],scrollLength:[2,"scroll-length"]},[[0,"listItemDidRender","updateScrollButtonsState"]]]]],["mi-list-item-location",[[1,"mi-list-item-location",{location:[8],showExternalId:[4,"show-external-id"],unit:[1],icon:[1],level:[1],iconBadge:[1,"icon-badge"],iconBadgeValue:[1,"icon-badge-value"],iconURLToRender:[32]}]]],["mi-metric-card",[[1,"mi-metric-card",{label:[1],value:[1],tip:[1],spinner:[4],error:[1],showToolTip:[32]}]]],["mi-location-booking",[[1,"mi-location-booking",{location:[16],duration:[2],translations:[16],show:[2],startHour:[2,"start-hour"],stopHour:[2,"stop-hour"],bookingTitle:[1,"booking-title"],timeSlots:[32]}]]],["mi-share-sms",[[0,"mi-share-sms",{venueId:[1,"venue"],originLocationId:[1,"origin"],destinationLocationId:[1,"destination"],countryCode:[1,"country-code"],phoneNumberInputPlaceholder:[1,"input-placeholder"],submitButtonLabel:[1,"submit-button-label"]}]]],["combo-box-item",[[0,"combo-box-item",{selected:[4],disabled:[4],excludefromall:[4],value:[1],text:[1]}]]],["mi-chip",[[0,"mi-chip",{icon:[1],content:[1],backgroundColor:[1,"background-color"],active:[4]}]]],["mi-column",[[1,"mi-column",{monospace:[4],alignContent:[1,"align-content"],label:[1],sortable:[1],sort:[1],binding:[1],fitContent:[4,"fit-content"],width:[1]},[[0,"cellContentClicked","cellContentClickedHandler"]]]]],["mi-combo-box",[[1,"mi-combo-box",{open:[4],items:[16],itemsOrder:[1,"items-order"],filterable:[4],selected:[16],noResultsMessage:[1,"no-results-message"],disabled:[4],currentItems:[32]},[[8,"click","checkForClickOutside"],[1,"mousemove","mouseMoveEventHandler"],[11,"scroll","scrollEventHandler"],[11,"resize","resizeEventHandler"]]]]],["mi-data-table",[[1,"mi-data-table",{rows:[16],maxRows:[2,"max-rows"],page:[2],selectable:[4],selected:[16],emptyPageHeader:[1,"empty-page-header"],emptyPageSubheader:[1,"empty-page-subheader"],isHeaderSticky:[4,"sticky-header"],numberOfSelectedRows:[32],tableRows:[32],currentPage:[32],sortByColumn:[32]}]]],["mi-dropdown",[[1,"mi-dropdown",{open:[4],items:[16],itemsOrder:[1,"items-order"],label:[1],filterable:[4],multiple:[4],selected:[16],noResultsMessage:[1,"no-results-message"],iconSrc:[1,"icon"],iconAlt:[1,"icon-alt"],disabled:[4],currentItems:[32]},[[0,"focusout","focusOutEventHandler"],[8,"click","checkForClickOutside"],[1,"mousemove","mouseMoveEventHandler"],[11,"scroll","scrollEventHandler"],[11,"resize","resizeEventHandler"]]]]],["mi-dropdown-item",[[0,"mi-dropdown-item",{selected:[4],disabled:[4],excludefromall:[4],value:[1],text:[1]}]]],["mi-floor-selector",[[0,"mi-floor-selector",{mapsindoors:[8],primaryColor:[1,"primary-color"],floors:[32],currentFloor:[32],floorSelectorClosed:[32],fadeFloorSelectorOnTop:[32],fadeFloorSelectorOnBottom:[32]}]]],["mi-list-item-category",[[1,"mi-list-item-category",{category:[8],orientation:[513]}]]],["mi-map-googlemaps",[[1,"mi-map-googlemaps",{gmApiKey:[1,"gm-api-key"],miApiKey:[1,"mi-api-key"],gmOptions:[16],disableExternalLinks:[4,"disable-external-links"],floorSelectorControlPosition:[1,"floor-selector-control-position"],floorIndex:[1537,"floor-index"],myPositionControlPosition:[1,"my-position-control-position"],polygonHighlightOptions:[16],language:[1],polylineOptions:[16],getMapInstance:[64],getMapsIndoorsInstance:[64],getDirectionsServiceInstance:[64],getDirectionsRendererInstance:[64],highlightLocation:[64],clearHighlightLocation:[64]}]]],["mi-map-mapbox",[[1,"mi-map-mapbox",{accessToken:[1,"access-token"],miApiKey:[1,"mi-api-key"],disableExternalLinks:[4,"disable-external-links"],floorSelectorControlPosition:[1,"floor-selector-control-position"],floorIndex:[1537,"floor-index"],myPositionControlPosition:[1,"my-position-control-position"],polygonHighlightOptions:[16],polylineOptions:[16],zoom:[1537],maxPitch:[1538,"max-pitch"],maxZoom:[1537,"max-zoom"],bearing:[1537],pitch:[1537],language:[1],getMapInstance:[64],getMapsIndoorsInstance:[64],getDirectionsServiceInstance:[64],getDirectionsRendererInstance:[64],highlightLocation:[64],clearHighlightLocation:[64]}]]],["mi-my-position",[[0,"mi-my-position",{mapsindoors:[8],myPositionOptions:[8,"my-position-options"],positionState:[32],watchPosition:[64]}]]],["mi-notification",[[1,"mi-notification",{position:[1],duration:[2],push:[64],clearAll:[64]}]]],["mi-search",[[0,"mi-search",{placeholder:[1],idAttribute:[1,"id-attribute"],dataAttributes:[16],mapsindoors:[4],google:[4],mapbox:[4],language:[1],miFields:[1,"mi-fields"],miTake:[2,"mi-take"],miSkip:[2,"mi-skip"],miOrder:[1,"mi-order"],miCategories:[1,"mi-categories"],miNear:[1,"mi-near"],miVenue:[1,"mi-venue"],gmCountryCode:[1,"gm-country-code"],value:[1537],disabled:[4],sessionToken:[1,"session-token"],userPosition:[1,"user-position"],clear:[64],triggerSearch:[64],setDisplayText:[64],focusInput:[64],getInputField:[64]}]]],["mi-step-switcher",[[1,"mi-step-switcher",{heading:[1],steps:[16],stepIndex:[514,"step-index"]}]]],["mi-tab",[[1,"mi-tab",{label:[1],tabFor:[1,"tab-for"]}]]],["mi-tab-panel",[[1,"mi-tab-panel",{isActive:[32],active:[64]}]]],["mi-tabs",[[1,"mi-tabs",{active:[2],bordered:[4],tabs:[32]}]]],["mi-distance_2",[[1,"mi-distance",{meters:[2],unit:[1]}],[1,"mi-icon",{iconName:[1,"icon-name"]}]]],["mi-route-instructions-step-legacy",[[1,"mi-route-instructions-step-legacy",{step:[1],hideIndoorSubsteps:[4,"hide-indoor-substeps"],fromRouteContext:[1,"from-route-context"],fromTravelMode:[1,"from-travel-mode"],fromTransitStop:[1,"from-transit-stop"],unit:[1],translations:[1],stepData:[32],translationsData:[32],substepsAreOpen:[32]}]]],["mi-route-instructions-maneuver",[[1,"mi-route-instructions-maneuver",{maneuver:[1],translations:[1],unit:[1],maneuverData:[32],translationsData:[32]}]]],["mi-scroll-buttons",[[1,"mi-scroll-buttons",{scrollContainerElementRef:[16],scrollLength:[2,"scroll-length"],updateScrollButtonsState:[64]}]]],["mi-keyboard",[[0,"mi-keyboard",{inputElement:[16],layout:[1],language:[1],clearInputField:[64]}]]],["mi-route-instructions-maneuver-legacy",[[1,"mi-route-instructions-maneuver-legacy",{maneuver:[1],translations:[1],unit:[1],maneuverData:[32],translationsData:[32]}]]],["mi-card_2",[[1,"mi-card"],[1,"mi-spinner",{inverse:[4]}]]],["mi-location-info",[[1,"mi-location-info",{location:[8],level:[1],showExternalId:[4,"show-external-id"]}]]],["mi-time",[[1,"mi-time",{seconds:[2],translations:[1],translationsData:[32]}]]]],i)),bZ={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,i){console&&console[t]&&console[t].apply(console,i)}};class P0{constructor(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(i,o)}init(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=o.prefix||"i18next:",this.logger=i||bZ,this.options=o,this.debug=o.debug}log(){for(var i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];return this.forward(o,"log","",!0)}warn(){for(var i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];return this.forward(o,"warn","",!0)}error(){for(var i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];return this.forward(o,"error","")}deprecate(){for(var i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];return this.forward(o,"warn","WARNING DEPRECATED: ",!0)}forward(i,o,l,h){return h&&!this.debug?null:(typeof i[0]=="string"&&(i[0]=`${l}${this.prefix} ${i[0]}`),this.logger[o](i))}create(i){return new P0(this.logger,{prefix:`${this.prefix}:${i}:`,...this.options})}clone(i){return i=i||this.options,i.prefix=i.prefix||this.prefix,new P0(this.logger,i)}}var ca=new P0;class U0{constructor(){this.observers={}}on(i,o){return i.split(" ").forEach(l=>{this.observers[l]=this.observers[l]||[],this.observers[l].push(o)}),this}off(i,o){if(this.observers[i]){if(!o){delete this.observers[i];return}this.observers[i]=this.observers[i].filter(l=>l!==o)}}emit(i){for(var o=arguments.length,l=new Array(o>1?o-1:0),h=1;h<o;h++)l[h-1]=arguments[h];this.observers[i]&&[].concat(this.observers[i]).forEach(_=>{_(...l)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(_=>{_.apply(_,[i,...l])})}}function Uf(){let t,i;const o=new Promise((l,h)=>{t=l,i=h});return o.resolve=t,o.reject=i,o}function eD(t){return t==null?"":""+t}function MZ(t,i,o){t.forEach(l=>{i[l]&&(o[l]=i[l])})}function Rb(t,i,o){function l(_){return _&&_.indexOf("###")>-1?_.replace(/###/g,"."):_}function h(){return!t||typeof t=="string"}const y=typeof i!="string"?[].concat(i):i.split(".");for(;y.length>1;){if(h())return{};const _=l(y.shift());!t[_]&&o&&(t[_]=new o),Object.prototype.hasOwnProperty.call(t,_)?t=t[_]:t={}}return h()?{}:{obj:t,k:l(y.shift())}}function tD(t,i,o){const{obj:l,k:h}=Rb(t,i,Object);l[h]=o}function wZ(t,i,o,l){const{obj:h,k:y}=Rb(t,i,Object);h[y]=h[y]||[],l&&(h[y]=h[y].concat(o)),l||h[y].push(o)}function B0(t,i){const{obj:o,k:l}=Rb(t,i);if(o)return o[l]}function IZ(t,i,o){const l=B0(t,o);return l!==void 0?l:B0(i,o)}function nD(t,i,o){for(const l in i)l!=="__proto__"&&l!=="constructor"&&(l in t?typeof t[l]=="string"||t[l]instanceof String||typeof i[l]=="string"||i[l]instanceof String?o&&(t[l]=i[l]):nD(t[l],i[l],o):t[l]=i[l]);return t}function Dh(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var TZ={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function EZ(t){return typeof t=="string"?t.replace(/[&<>"'\/]/g,i=>TZ[i]):t}const SZ=[" ",",","?","!",";"];function DZ(t,i,o){i=i||"",o=o||"";const l=SZ.filter(_=>i.indexOf(_)<0&&o.indexOf(_)<0);if(l.length===0)return!0;const h=new RegExp(`(${l.map(_=>_==="?"?"\\?":_).join("|")})`);let y=!h.test(t);if(!y){const _=t.indexOf(o);_>0&&!h.test(t.substring(0,_))&&(y=!0)}return y}function F0(t,i){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!t)return;if(t[i])return t[i];const l=i.split(o);let h=t;for(let y=0;y<l.length;++y){if(!h||typeof h[l[y]]=="string"&&y+1<l.length)return;if(h[l[y]]===void 0){let _=2,a=l.slice(y,y+_).join(o),v=h[a];for(;v===void 0&&l.length>y+_;)_++,a=l.slice(y,y+_).join(o),v=h[a];if(v===void 0)return;if(v===null)return null;if(i.endsWith(a)){if(typeof v=="string")return v;if(a&&typeof v[a]=="string")return v[a]}const E=l.slice(y+_).join(o);return E?F0(v,E,o):void 0}h=h[l[y]]}return h}function V0(t){return t&&t.indexOf("_")>0?t.replace("_","-"):t}class iD extends U0{constructor(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=i||{},this.options=o,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}removeNamespaces(i){const o=this.options.ns.indexOf(i);o>-1&&this.options.ns.splice(o,1)}getResource(i,o,l){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const y=h.keySeparator!==void 0?h.keySeparator:this.options.keySeparator,_=h.ignoreJSONStructure!==void 0?h.ignoreJSONStructure:this.options.ignoreJSONStructure;let a=[i,o];l&&typeof l!="string"&&(a=a.concat(l)),l&&typeof l=="string"&&(a=a.concat(y?l.split(y):l)),i.indexOf(".")>-1&&(a=i.split("."));const v=B0(this.data,a);return v||!_||typeof l!="string"?v:F0(this.data&&this.data[i]&&this.data[i][o],l,y)}addResource(i,o,l,h){let y=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const _=y.keySeparator!==void 0?y.keySeparator:this.options.keySeparator;let a=[i,o];l&&(a=a.concat(_?l.split(_):l)),i.indexOf(".")>-1&&(a=i.split("."),h=o,o=a[1]),this.addNamespaces(o),tD(this.data,a,h),y.silent||this.emit("added",i,o,l,h)}addResources(i,o,l){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const y in l)(typeof l[y]=="string"||Object.prototype.toString.apply(l[y])==="[object Array]")&&this.addResource(i,o,y,l[y],{silent:!0});h.silent||this.emit("added",i,o,l)}addResourceBundle(i,o,l,h,y){let _=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},a=[i,o];i.indexOf(".")>-1&&(a=i.split("."),h=l,l=o,o=a[1]),this.addNamespaces(o);let v=B0(this.data,a)||{};h?nD(v,l,y):v={...v,...l},tD(this.data,a,v),_.silent||this.emit("added",i,o,l)}removeResourceBundle(i,o){this.hasResourceBundle(i,o)&&delete this.data[i][o],this.removeNamespaces(o),this.emit("removed",i,o)}hasResourceBundle(i,o){return this.getResource(i,o)!==void 0}getResourceBundle(i,o){return o||(o=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(i,o)}:this.getResource(i,o)}getDataByLanguage(i){return this.data[i]}hasLanguageSomeTranslations(i){const o=this.getDataByLanguage(i);return!!(o&&Object.keys(o)||[]).find(h=>o[h]&&Object.keys(o[h]).length>0)}toJSON(){return this.data}}var rD={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,i,o,l,h){return t.forEach(y=>{this.processors[y]&&(i=this.processors[y].process(i,o,l,h))}),i}};const oD={};class $0 extends U0{constructor(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),MZ(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],i,this),this.options=o,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ca.create("translator")}changeLanguage(i){i&&(this.language=i)}exists(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;const l=this.resolve(i,o);return l&&l.res!==void 0}extractFromKey(i,o){let l=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;l===void 0&&(l=":");const h=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let y=o.ns||this.options.defaultNS||[];const _=l&&i.indexOf(l)>-1,a=!this.options.userDefinedKeySeparator&&!o.keySeparator&&!this.options.userDefinedNsSeparator&&!o.nsSeparator&&!DZ(i,l,h);if(_&&!a){const v=i.match(this.interpolator.nestingRegexp);if(v&&v.length>0)return{key:i,namespaces:y};const E=i.split(l);(l!==h||l===h&&this.options.ns.indexOf(E[0])>-1)&&(y=E.shift()),i=E.join(h)}return typeof y=="string"&&(y=[y]),{key:i,namespaces:y}}translate(i,o,l){if(typeof o!="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),typeof o=="object"&&(o={...o}),o||(o={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);const h=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,y=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,{key:_,namespaces:a}=this.extractFromKey(i[i.length-1],o),v=a[a.length-1],E=o.lng||this.language,A=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(E&&E.toLowerCase()==="cimode"){if(A){const ie=o.nsSeparator||this.options.nsSeparator;return h?{res:`${v}${ie}${_}`,usedKey:_,exactUsedKey:_,usedLng:E,usedNS:v,usedParams:this.getUsedParamsDetails(o)}:`${v}${ie}${_}`}return h?{res:_,usedKey:_,exactUsedKey:_,usedLng:E,usedNS:v,usedParams:this.getUsedParamsDetails(o)}:_}const C=this.resolve(i,o);let L=C&&C.res;const j=C&&C.usedKey||_,U=C&&C.exactUsedKey||_,V=Object.prototype.toString.apply(L),Z=["[object Number]","[object Function]","[object RegExp]"],ee=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,ne=!this.i18nFormat||this.i18nFormat.handleAsObject;if(ne&&L&&(typeof L!="string"&&typeof L!="boolean"&&typeof L!="number")&&Z.indexOf(V)<0&&!(typeof ee=="string"&&V==="[object Array]")){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const ie=this.options.returnedObjectHandler?this.options.returnedObjectHandler(j,L,{...o,ns:a}):`key '${_} (${this.language})' returned an object instead of string.`;return h?(C.res=ie,C.usedParams=this.getUsedParamsDetails(o),C):ie}if(y){const ie=V==="[object Array]",te=ie?[]:{},Ie=ie?U:j;for(const Me in L)if(Object.prototype.hasOwnProperty.call(L,Me)){const de=`${Ie}${y}${Me}`;te[Me]=this.translate(de,{...o,joinArrays:!1,ns:a}),te[Me]===de&&(te[Me]=L[Me])}L=te}}else if(ne&&typeof ee=="string"&&V==="[object Array]")L=L.join(ee),L&&(L=this.extendTranslation(L,i,o,l));else{let ie=!1,te=!1;const Ie=o.count!==void 0&&typeof o.count!="string",Me=$0.hasDefaultValue(o),de=Ie?this.pluralResolver.getSuffix(E,o.count,o):"",qe=o.ordinal&&Ie?this.pluralResolver.getSuffix(E,o.count,{ordinal:!1}):"",Ve=o[`defaultValue${de}`]||o[`defaultValue${qe}`]||o.defaultValue;!this.isValidLookup(L)&&Me&&(ie=!0,L=Ve),this.isValidLookup(L)||(te=!0,L=_);const We=(o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&te?void 0:L,tt=Me&&Ve!==L&&this.options.updateMissing;if(te||ie||tt){if(this.logger.log(tt?"updateKey":"missingKey",E,v,_,tt?Ve:L),y){const Le=this.resolve(_,{...o,keySeparator:!1});Le&&Le.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 Se=[];const He=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&He&&He[0])for(let Le=0;Le<He.length;Le++)Se.push(He[Le]);else this.options.saveMissingTo==="all"?Se=this.languageUtils.toResolveHierarchy(o.lng||this.language):Se.push(o.lng||this.language);const Re=(Le,ht,ot)=>{const me=Me&&ot!==L?ot:We;this.options.missingKeyHandler?this.options.missingKeyHandler(Le,v,ht,me,tt,o):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(Le,v,ht,me,tt,o),this.emit("missingKey",Le,v,ht,L)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Ie?Se.forEach(Le=>{this.pluralResolver.getSuffixes(Le,o).forEach(ht=>{Re([Le],_+ht,o[`defaultValue${ht}`]||Ve)})}):Re(Se,_,Ve))}L=this.extendTranslation(L,i,o,C,l),te&&L===_&&this.options.appendNamespaceToMissingKey&&(L=`${v}:${_}`),(te||ie)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?L=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${v}:${_}`:_,ie?L:void 0):L=this.options.parseMissingKeyHandler(L))}return h?(C.res=L,C.usedParams=this.getUsedParamsDetails(o),C):L}extendTranslation(i,o,l,h,y){var _=this;if(this.i18nFormat&&this.i18nFormat.parse)i=this.i18nFormat.parse(i,{...this.options.interpolation.defaultVariables,...l},l.lng||this.language||h.usedLng,h.usedNS,h.usedKey,{resolved:h});else if(!l.skipInterpolation){l.interpolation&&this.interpolator.init({...l,interpolation:{...this.options.interpolation,...l.interpolation}});const E=typeof i=="string"&&(l&&l.interpolation&&l.interpolation.skipOnVariables!==void 0?l.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let A;if(E){const L=i.match(this.interpolator.nestingRegexp);A=L&&L.length}let C=l.replace&&typeof l.replace!="string"?l.replace:l;if(this.options.interpolation.defaultVariables&&(C={...this.options.interpolation.defaultVariables,...C}),i=this.interpolator.interpolate(i,C,l.lng||this.language,l),E){const L=i.match(this.interpolator.nestingRegexp),j=L&&L.length;A<j&&(l.nest=!1)}!l.lng&&this.options.compatibilityAPI!=="v1"&&h&&h.res&&(l.lng=h.usedLng),l.nest!==!1&&(i=this.interpolator.nest(i,function(){for(var L=arguments.length,j=new Array(L),U=0;U<L;U++)j[U]=arguments[U];return y&&y[0]===j[0]&&!l.context?(_.logger.warn(`It seems you are nesting recursively key: ${j[0]} in key: ${o[0]}`),null):_.translate(...j,o)},l)),l.interpolation&&this.interpolator.reset()}const a=l.postProcess||this.options.postProcess,v=typeof a=="string"?[a]:a;return i!=null&&v&&v.length&&l.applyPostProcessor!==!1&&(i=rD.handle(v,i,o,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...h,usedParams:this.getUsedParamsDetails(l)},...l}:l,this)),i}resolve(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l,h,y,_,a;return typeof i=="string"&&(i=[i]),i.forEach(v=>{if(this.isValidLookup(l))return;const E=this.extractFromKey(v,o),A=E.key;h=A;let C=E.namespaces;this.options.fallbackNS&&(C=C.concat(this.options.fallbackNS));const L=o.count!==void 0&&typeof o.count!="string",j=L&&!o.ordinal&&o.count===0&&this.pluralResolver.shouldUseIntlApi(),U=o.context!==void 0&&(typeof o.context=="string"||typeof o.context=="number")&&o.context!=="",V=o.lngs?o.lngs:this.languageUtils.toResolveHierarchy(o.lng||this.language,o.fallbackLng);C.forEach(Z=>{this.isValidLookup(l)||(a=Z,!oD[`${V[0]}-${Z}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(a)&&(oD[`${V[0]}-${Z}`]=!0,this.logger.warn(`key "${h}" for languages "${V.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!!!")),V.forEach(ee=>{if(this.isValidLookup(l))return;_=ee;const ne=[A];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(ne,A,ee,Z,o);else{let ie;L&&(ie=this.pluralResolver.getSuffix(ee,o.count,o));const te=`${this.options.pluralSeparator}zero`,Ie=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(L&&(ne.push(A+ie),o.ordinal&&ie.indexOf(Ie)===0&&ne.push(A+ie.replace(Ie,this.options.pluralSeparator)),j&&ne.push(A+te)),U){const Me=`${A}${this.options.contextSeparator}${o.context}`;ne.push(Me),L&&(ne.push(Me+ie),o.ordinal&&ie.indexOf(Ie)===0&&ne.push(Me+ie.replace(Ie,this.options.pluralSeparator)),j&&ne.push(Me+te))}}let re;for(;re=ne.pop();)this.isValidLookup(l)||(y=re,l=this.getResource(ee,Z,re,o))}))})}),{res:l,usedKey:h,exactUsedKey:y,usedLng:_,usedNS:a}}isValidLookup(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}getResource(i,o,l){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,o,l,h):this.resourceStore.getResource(i,o,l,h)}getUsedParamsDetails(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const o=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],l=i.replace&&typeof i.replace!="string";let h=l?i.replace:i;if(l&&typeof i.count<"u"&&(h.count=i.count),this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),!l){h={...h};for(const y of o)delete h[y]}return h}static hasDefaultValue(i){const o="defaultValue";for(const l in i)if(Object.prototype.hasOwnProperty.call(i,l)&&o===l.substring(0,o.length)&&i[l]!==void 0)return!0;return!1}}function Pb(t){return t.charAt(0).toUpperCase()+t.slice(1)}class sD{constructor(i){this.options=i,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ca.create("languageUtils")}getScriptPartFromCode(i){if(i=V0(i),!i||i.indexOf("-")<0)return null;const o=i.split("-");return o.length===2||(o.pop(),o[o.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(o.join("-"))}getLanguagePartFromCode(i){if(i=V0(i),!i||i.indexOf("-")<0)return i;const o=i.split("-");return this.formatLanguageCode(o[0])}formatLanguageCode(i){if(typeof i=="string"&&i.indexOf("-")>-1){const o=["hans","hant","latn","cyrl","cans","mong","arab"];let l=i.split("-");return this.options.lowerCaseLng?l=l.map(h=>h.toLowerCase()):l.length===2?(l[0]=l[0].toLowerCase(),l[1]=l[1].toUpperCase(),o.indexOf(l[1].toLowerCase())>-1&&(l[1]=Pb(l[1].toLowerCase()))):l.length===3&&(l[0]=l[0].toLowerCase(),l[1].length===2&&(l[1]=l[1].toUpperCase()),l[0]!=="sgn"&&l[2].length===2&&(l[2]=l[2].toUpperCase()),o.indexOf(l[1].toLowerCase())>-1&&(l[1]=Pb(l[1].toLowerCase())),o.indexOf(l[2].toLowerCase())>-1&&(l[2]=Pb(l[2].toLowerCase()))),l.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?i.toLowerCase():i}isSupportedCode(i){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(i=this.getLanguagePartFromCode(i)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(i)>-1}getBestMatchFromCodes(i){if(!i)return null;let o;return i.forEach(l=>{if(o)return;const h=this.formatLanguageCode(l);(!this.options.supportedLngs||this.isSupportedCode(h))&&(o=h)}),!o&&this.options.supportedLngs&&i.forEach(l=>{if(o)return;const h=this.getLanguagePartFromCode(l);if(this.isSupportedCode(h))return o=h;o=this.options.supportedLngs.find(y=>{if(y===h)return y;if(!(y.indexOf("-")<0&&h.indexOf("-")<0)&&y.indexOf(h)===0)return y})}),o||(o=this.getFallbackCodes(this.options.fallbackLng)[0]),o}getFallbackCodes(i,o){if(!i)return[];if(typeof i=="function"&&(i=i(o)),typeof i=="string"&&(i=[i]),Object.prototype.toString.apply(i)==="[object Array]")return i;if(!o)return i.default||[];let l=i[o];return l||(l=i[this.getScriptPartFromCode(o)]),l||(l=i[this.formatLanguageCode(o)]),l||(l=i[this.getLanguagePartFromCode(o)]),l||(l=i.default),l||[]}toResolveHierarchy(i,o){const l=this.getFallbackCodes(o||this.options.fallbackLng||[],i),h=[],y=_=>{_&&(this.isSupportedCode(_)?h.push(_):this.logger.warn(`rejecting language code not found in supportedLngs: ${_}`))};return typeof i=="string"&&(i.indexOf("-")>-1||i.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&y(this.formatLanguageCode(i)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&y(this.getScriptPartFromCode(i)),this.options.load!=="currentOnly"&&y(this.getLanguagePartFromCode(i))):typeof i=="string"&&y(this.formatLanguageCode(i)),l.forEach(_=>{h.indexOf(_)<0&&y(this.formatLanguageCode(_))}),h}}let AZ=[{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}],NZ={1:function(t){return+(t>1)},2:function(t){return+(t!=1)},3:function(t){return 0},4:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},5:function(t){return t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},6:function(t){return t==1?0:t>=2&&t<=4?1:2},7:function(t){return t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},8:function(t){return t==1?0:t==2?1:t!=8&&t!=11?2:3},9:function(t){return+(t>=2)},10:function(t){return t==1?0:t==2?1:t<7?2:t<11?3:4},11:function(t){return t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3},12:function(t){return+(t%10!=1||t%100==11)},13:function(t){return+(t!==0)},14:function(t){return t==1?0:t==2?1:t==3?2:3},15:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2},16:function(t){return t%10==1&&t%100!=11?0:t!==0?1:2},17:function(t){return t==1||t%10==1&&t%100!=11?0:1},18:function(t){return t==0?0:t==1?1:2},19:function(t){return t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3},20:function(t){return t==1?0:t==0||t%100>0&&t%100<20?1:2},21:function(t){return t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0},22:function(t){return t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3}};const CZ=["v1","v2","v3"],LZ=["v4"],aD={zero:0,one:1,two:2,few:3,many:4,other:5};function OZ(){const t={};return AZ.forEach(i=>{i.lngs.forEach(o=>{t[o]={numbers:i.nr,plurals:NZ[i.fc]}})}),t}class zZ{constructor(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=i,this.options=o,this.logger=ca.create("pluralResolver"),(!this.options.compatibilityJSON||LZ.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!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=OZ()}addRule(i,o){this.rules[i]=o}getRule(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(V0(i),{type:o.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[i]||this.rules[this.languageUtils.getLanguagePartFromCode(i)]}needsPlural(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const l=this.getRule(i,o);return this.shouldUseIntlApi()?l&&l.resolvedOptions().pluralCategories.length>1:l&&l.numbers.length>1}getPluralFormsOfKey(i,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(i,l).map(h=>`${o}${h}`)}getSuffixes(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const l=this.getRule(i,o);return l?this.shouldUseIntlApi()?l.resolvedOptions().pluralCategories.sort((h,y)=>aD[h]-aD[y]).map(h=>`${this.options.prepend}${o.ordinal?`ordinal${this.options.prepend}`:""}${h}`):l.numbers.map(h=>this.getSuffix(i,h,o)):[]}getSuffix(i,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const h=this.getRule(i,l);return h?this.shouldUseIntlApi()?`${this.options.prepend}${l.ordinal?`ordinal${this.options.prepend}`:""}${h.select(o)}`:this.getSuffixRetroCompatible(h,o):(this.logger.warn(`no plural rule found for: ${i}`),"")}getSuffixRetroCompatible(i,o){const l=i.noAbs?i.plurals(o):i.plurals(Math.abs(o));let h=i.numbers[l];this.options.simplifyPluralSuffix&&i.numbers.length===2&&i.numbers[0]===1&&(h===2?h="plural":h===1&&(h=""));const y=()=>this.options.prepend&&h.toString()?this.options.prepend+h.toString():h.toString();return this.options.compatibilityJSON==="v1"?h===1?"":typeof h=="number"?`_plural_${h.toString()}`:y():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&i.numbers.length===2&&i.numbers[0]===1?y():this.options.prepend&&l.toString()?this.options.prepend+l.toString():l.toString()}shouldUseIntlApi(){return!CZ.includes(this.options.compatibilityJSON)}}function lD(t,i,o){let l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",h=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,y=IZ(t,i,o);return!y&&h&&typeof o=="string"&&(y=F0(t,o,l),y===void 0&&(y=F0(i,o,l))),y}class kZ{constructor(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ca.create("interpolator"),this.options=i,this.format=i.interpolation&&i.interpolation.format||(o=>o),this.init(i)}init(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};i.interpolation||(i.interpolation={escapeValue:!0});const o=i.interpolation;this.escape=o.escape!==void 0?o.escape:EZ,this.escapeValue=o.escapeValue!==void 0?o.escapeValue:!0,this.useRawValueToEscape=o.useRawValueToEscape!==void 0?o.useRawValueToEscape:!1,this.prefix=o.prefix?Dh(o.prefix):o.prefixEscaped||"{{",this.suffix=o.suffix?Dh(o.suffix):o.suffixEscaped||"}}",this.formatSeparator=o.formatSeparator?o.formatSeparator:o.formatSeparator||",",this.unescapePrefix=o.unescapeSuffix?"":o.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":o.unescapeSuffix||"",this.nestingPrefix=o.nestingPrefix?Dh(o.nestingPrefix):o.nestingPrefixEscaped||Dh("$t("),this.nestingSuffix=o.nestingSuffix?Dh(o.nestingSuffix):o.nestingSuffixEscaped||Dh(")"),this.nestingOptionsSeparator=o.nestingOptionsSeparator?o.nestingOptionsSeparator:o.nestingOptionsSeparator||",",this.maxReplaces=o.maxReplaces?o.maxReplaces:1e3,this.alwaysFormat=o.alwaysFormat!==void 0?o.alwaysFormat:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const i=`${this.prefix}(.+?)${this.suffix}`;this.regexp=new RegExp(i,"g");const o=`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;this.regexpUnescape=new RegExp(o,"g");const l=`${this.nestingPrefix}(.+?)${this.nestingSuffix}`;this.nestingRegexp=new RegExp(l,"g")}interpolate(i,o,l,h){let y,_,a;const v=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function E(U){return U.replace(/\$/g,"$$$$")}const A=U=>{if(U.indexOf(this.formatSeparator)<0){const ne=lD(o,v,U,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(ne,void 0,l,{...h,...o,interpolationkey:U}):ne}const V=U.split(this.formatSeparator),Z=V.shift().trim(),ee=V.join(this.formatSeparator).trim();return this.format(lD(o,v,Z,this.options.keySeparator,this.options.ignoreJSONStructure),ee,l,{...h,...o,interpolationkey:Z})};this.resetRegExp();const C=h&&h.missingInterpolationHandler||this.options.missingInterpolationHandler,L=h&&h.interpolation&&h.interpolation.skipOnVariables!==void 0?h.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:U=>E(U)},{regex:this.regexp,safeValue:U=>this.escapeValue?E(this.escape(U)):E(U)}].forEach(U=>{for(a=0;y=U.regex.exec(i);){const V=y[1].trim();if(_=A(V),_===void 0)if(typeof C=="function"){const ee=C(i,y,h);_=typeof ee=="string"?ee:""}else if(h&&Object.prototype.hasOwnProperty.call(h,V))_="";else if(L){_=y[0];continue}else this.logger.warn(`missed to pass in variable ${V} for interpolating ${i}`),_="";else typeof _!="string"&&!this.useRawValueToEscape&&(_=eD(_));const Z=U.safeValue(_);if(i=i.replace(y[0],Z),L?(U.regex.lastIndex+=_.length,U.regex.lastIndex-=y[0].length):U.regex.lastIndex=0,a++,a>=this.maxReplaces)break}}),i}nest(i,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h,y,_;function a(v,E){const A=this.nestingOptionsSeparator;if(v.indexOf(A)<0)return v;const C=v.split(new RegExp(`${A}[ ]*{`));let L=`{${C[1]}`;v=C[0],L=this.interpolate(L,_);const j=L.match(/'/g),U=L.match(/"/g);(j&&j.length%2===0&&!U||U.length%2!==0)&&(L=L.replace(/'/g,'"'));try{_=JSON.parse(L),E&&(_={...E,..._})}catch(V){return this.logger.warn(`failed parsing options string in nesting for key ${v}`,V),`${v}${A}${L}`}return delete _.defaultValue,v}for(;h=this.nestingRegexp.exec(i);){let v=[];_={...l},_=_.replace&&typeof _.replace!="string"?_.replace:_,_.applyPostProcessor=!1,delete _.defaultValue;let E=!1;if(h[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(h[1])){const A=h[1].split(this.formatSeparator).map(C=>C.trim());h[1]=A.shift(),v=A,E=!0}if(y=o(a.call(this,h[1].trim(),_),_),y&&h[0]===i&&typeof y!="string")return y;typeof y!="string"&&(y=eD(y)),y||(this.logger.warn(`missed to resolve ${h[1]} for nesting ${i}`),y=""),E&&(y=v.reduce((A,C)=>this.format(A,C,l.lng,{...l,interpolationkey:h[1].trim()}),y.trim())),i=i.replace(h[0],y),this.regexp.lastIndex=0}return i}}function jZ(t){let i=t.toLowerCase().trim();const o={};if(t.indexOf("(")>-1){const l=t.split("(");i=l[0].toLowerCase().trim();const h=l[1].substring(0,l[1].length-1);i==="currency"&&h.indexOf(":")<0?o.currency||(o.currency=h.trim()):i==="relativetime"&&h.indexOf(":")<0?o.range||(o.range=h.trim()):h.split(";").forEach(_=>{if(!_)return;const[a,...v]=_.split(":"),E=v.join(":").trim().replace(/^'+|'+$/g,"");o[a.trim()]||(o[a.trim()]=E),E==="false"&&(o[a.trim()]=!1),E==="true"&&(o[a.trim()]=!0),isNaN(E)||(o[a.trim()]=parseInt(E,10))})}return{formatName:i,formatOptions:o}}function Ah(t){const i={};return function(l,h,y){const _=h+JSON.stringify(y);let a=i[_];return a||(a=t(V0(h),y),i[_]=a),a(l)}}class RZ{constructor(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ca.create("formatter"),this.options=i,this.formats={number:Ah((o,l)=>{const h=new Intl.NumberFormat(o,{...l});return y=>h.format(y)}),currency:Ah((o,l)=>{const h=new Intl.NumberFormat(o,{...l,style:"currency"});return y=>h.format(y)}),datetime:Ah((o,l)=>{const h=new Intl.DateTimeFormat(o,{...l});return y=>h.format(y)}),relativetime:Ah((o,l)=>{const h=new Intl.RelativeTimeFormat(o,{...l});return y=>h.format(y,l.range||"day")}),list:Ah((o,l)=>{const h=new Intl.ListFormat(o,{...l});return y=>h.format(y)})},this.init(i)}init(i){const l=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=l.formatSeparator?l.formatSeparator:l.formatSeparator||","}add(i,o){this.formats[i.toLowerCase().trim()]=o}addCached(i,o){this.formats[i.toLowerCase().trim()]=Ah(o)}format(i,o,l){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return o.split(this.formatSeparator).reduce((a,v)=>{const{formatName:E,formatOptions:A}=jZ(v);if(this.formats[E]){let C=a;try{const L=h&&h.formatParams&&h.formatParams[h.interpolationkey]||{},j=L.locale||L.lng||h.locale||h.lng||l;C=this.formats[E](a,j,{...A,...h,...L})}catch(L){this.logger.warn(L)}return C}else this.logger.warn(`there was no format function for ${E}`);return a},i)}}function PZ(t,i){t.pending[i]!==void 0&&(delete t.pending[i],t.pendingCount--)}class UZ extends U0{constructor(i,o,l){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=i,this.store=o,this.services=l,this.languageUtils=l.languageUtils,this.options=h,this.logger=ca.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=h.maxParallelReads||10,this.readingCalls=0,this.maxRetries=h.maxRetries>=0?h.maxRetries:5,this.retryTimeout=h.retryTimeout>=1?h.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(l,h.backend,h)}queueLoad(i,o,l,h){const y={},_={},a={},v={};return i.forEach(E=>{let A=!0;o.forEach(C=>{const L=`${E}|${C}`;!l.reload&&this.store.hasResourceBundle(E,C)?this.state[L]=2:this.state[L]<0||(this.state[L]===1?_[L]===void 0&&(_[L]=!0):(this.state[L]=1,A=!1,_[L]===void 0&&(_[L]=!0),y[L]===void 0&&(y[L]=!0),v[C]===void 0&&(v[C]=!0)))}),A||(a[E]=!0)}),(Object.keys(y).length||Object.keys(_).length)&&this.queue.push({pending:_,pendingCount:Object.keys(_).length,loaded:{},errors:[],callback:h}),{toLoad:Object.keys(y),pending:Object.keys(_),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(v)}}loaded(i,o,l){const h=i.split("|"),y=h[0],_=h[1];o&&this.emit("failedLoading",y,_,o),l&&this.store.addResourceBundle(y,_,l),this.state[i]=o?-1:2;const a={};this.queue.forEach(v=>{wZ(v.loaded,[y],_),PZ(v,i),o&&v.errors.push(o),v.pendingCount===0&&!v.done&&(Object.keys(v.loaded).forEach(E=>{a[E]||(a[E]={});const A=v.loaded[E];A.length&&A.forEach(C=>{a[E][C]===void 0&&(a[E][C]=!0)})}),v.done=!0,v.errors.length?v.callback(v.errors):v.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(v=>!v.done)}read(i,o,l){let h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,y=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,_=arguments.length>5?arguments[5]:void 0;if(!i.length)return _(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:o,fcName:l,tried:h,wait:y,callback:_});return}this.readingCalls++;const a=(E,A)=>{if(this.readingCalls--,this.waitingReads.length>0){const C=this.waitingReads.shift();this.read(C.lng,C.ns,C.fcName,C.tried,C.wait,C.callback)}if(E&&A&&h<this.maxRetries){setTimeout(()=>{this.read.call(this,i,o,l,h+1,y*2,_)},y);return}_(E,A)},v=this.backend[l].bind(this.backend);if(v.length===2){try{const E=v(i,o);E&&typeof E.then=="function"?E.then(A=>a(null,A)).catch(a):a(null,E)}catch(E){a(E)}return}return v(i,o,a)}prepareLoading(i,o){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=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."),h&&h();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof o=="string"&&(o=[o]);const y=this.queueLoad(i,o,l,h);if(!y.toLoad.length)return y.pending.length||h(),null;y.toLoad.forEach(_=>{this.loadOne(_)})}load(i,o,l){this.prepareLoading(i,o,{},l)}reload(i,o,l){this.prepareLoading(i,o,{reload:!0},l)}loadOne(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const l=i.split("|"),h=l[0],y=l[1];this.read(h,y,"read",void 0,void 0,(_,a)=>{_&&this.logger.warn(`${o}loading namespace ${y} for language ${h} failed`,_),!_&&a&&this.logger.log(`${o}loaded namespace ${y} for language ${h}`,a),this.loaded(i,_,a)})}saveMissing(i,o,l,h,y){let _=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},a=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(o)){this.logger.warn(`did not save key "${l}" as the namespace "${o}" 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!!!");return}if(!(l==null||l==="")){if(this.backend&&this.backend.create){const v={..._,isUpdate:y},E=this.backend.create.bind(this.backend);if(E.length<6)try{let A;E.length===5?A=E(i,o,l,h,v):A=E(i,o,l,h),A&&typeof A.then=="function"?A.then(C=>a(null,C)).catch(a):a(null,A)}catch(A){a(A)}else E(i,o,l,h,a,v)}!i||!i[0]||this.store.addResource(i[0],o,l,h)}}}function cD(){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(i){let o={};if(typeof i[1]=="object"&&(o=i[1]),typeof i[1]=="string"&&(o.defaultValue=i[1]),typeof i[2]=="string"&&(o.tDescription=i[2]),typeof i[2]=="object"||typeof i[3]=="object"){const l=i[3]||i[2];Object.keys(l).forEach(h=>{o[h]=l[h]})}return o},interpolation:{escapeValue:!0,format:(t,i,o,l)=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function uD(t){return typeof t.ns=="string"&&(t.ns=[t.ns]),typeof t.fallbackLng=="string"&&(t.fallbackLng=[t.fallbackLng]),typeof t.fallbackNS=="string"&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t}function Y0(){}function BZ(t){Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(o=>{typeof t[o]=="function"&&(t[o]=t[o].bind(t))})}class Bf extends U0{constructor(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(super(),this.options=uD(i),this.services={},this.logger=ca,this.modules={external:[]},BZ(this),o&&!this.isInitialized&&!i.isClone){if(!this.options.initImmediate)return this.init(i,o),this;setTimeout(()=>{this.init(i,o)},0)}}init(){var i=this;let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0;typeof o=="function"&&(l=o,o={}),!o.defaultNS&&o.defaultNS!==!1&&o.ns&&(typeof o.ns=="string"?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));const h=cD();this.options={...h,...this.options,...uD(o)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...h.interpolation,...this.options.interpolation}),o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);function y(A){return A?typeof A=="function"?new A:A:null}if(!this.options.isClone){this.modules.logger?ca.init(y(this.modules.logger),this.options):ca.init(null,this.options);let A;this.modules.formatter?A=this.modules.formatter:typeof Intl<"u"&&(A=RZ);const C=new sD(this.options);this.store=new iD(this.options.resources,this.options);const L=this.services;L.logger=ca,L.resourceStore=this.store,L.languageUtils=C,L.pluralResolver=new zZ(C,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),A&&(!this.options.interpolation.format||this.options.interpolation.format===h.interpolation.format)&&(L.formatter=y(A),L.formatter.init(L,this.options),this.options.interpolation.format=L.formatter.format.bind(L.formatter)),L.interpolator=new kZ(this.options),L.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},L.backendConnector=new UZ(y(this.modules.backend),L.resourceStore,L,this.options),L.backendConnector.on("*",function(j){for(var U=arguments.length,V=new Array(U>1?U-1:0),Z=1;Z<U;Z++)V[Z-1]=arguments[Z];i.emit(j,...V)}),this.modules.languageDetector&&(L.languageDetector=y(this.modules.languageDetector),L.languageDetector.init&&L.languageDetector.init(L,this.options.detection,this.options)),this.modules.i18nFormat&&(L.i18nFormat=y(this.modules.i18nFormat),L.i18nFormat.init&&L.i18nFormat.init(this)),this.translator=new $0(this.services,this.options),this.translator.on("*",function(j){for(var U=arguments.length,V=new Array(U>1?U-1:0),Z=1;Z<U;Z++)V[Z-1]=arguments[Z];i.emit(j,...V)}),this.modules.external.forEach(j=>{j.init&&j.init(this)})}if(this.format=this.options.interpolation.format,l||(l=Y0),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const A=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);A.length>0&&A[0]!=="dev"&&(this.options.lng=A[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(A=>{this[A]=function(){return i.store[A](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(A=>{this[A]=function(){return i.store[A](...arguments),i}});const v=Uf(),E=()=>{const A=(C,L)=>{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),v.resolve(L),l(C,L)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return A(null,this.t.bind(this));this.changeLanguage(this.options.lng,A)};return this.options.resources||!this.options.initImmediate?E():setTimeout(E,0),v}loadResources(i){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Y0;const h=typeof i=="string"?i:this.language;if(typeof i=="function"&&(l=i),!this.options.resources||this.options.partialBundledLanguages){if(h&&h.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return l();const y=[],_=a=>{if(!a||a==="cimode")return;this.services.languageUtils.toResolveHierarchy(a).forEach(E=>{E!=="cimode"&&y.indexOf(E)<0&&y.push(E)})};h?_(h):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(v=>_(v)),this.options.preload&&this.options.preload.forEach(a=>_(a)),this.services.backendConnector.load(y,this.options.ns,a=>{!a&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),l(a)})}else l(null)}reloadResources(i,o,l){const h=Uf();return i||(i=this.languages),o||(o=this.options.ns),l||(l=Y0),this.services.backendConnector.reload(i,o,y=>{h.resolve(),l(y)}),h}use(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&rD.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}setResolvedLanguage(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(let o=0;o<this.languages.length;o++){const l=this.languages[o];if(!(["cimode","dev"].indexOf(l)>-1)&&this.store.hasLanguageSomeTranslations(l)){this.resolvedLanguage=l;break}}}changeLanguage(i,o){var l=this;this.isLanguageChangingTo=i;const h=Uf();this.emit("languageChanging",i);const y=v=>{this.language=v,this.languages=this.services.languageUtils.toResolveHierarchy(v),this.resolvedLanguage=void 0,this.setResolvedLanguage(v)},_=(v,E)=>{E?(y(E),this.translator.changeLanguage(E),this.isLanguageChangingTo=void 0,this.emit("languageChanged",E),this.logger.log("languageChanged",E)):this.isLanguageChangingTo=void 0,h.resolve(function(){return l.t(...arguments)}),o&&o(v,function(){return l.t(...arguments)})},a=v=>{!i&&!v&&this.services.languageDetector&&(v=[]);const E=typeof v=="string"?v:this.services.languageUtils.getBestMatchFromCodes(v);E&&(this.language||y(E),this.translator.language||this.translator.changeLanguage(E),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(E)),this.loadResources(E,A=>{_(A,E)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(i),h}getFixedT(i,o,l){var h=this;const y=function(_,a){let v;if(typeof a!="object"){for(var E=arguments.length,A=new Array(E>2?E-2:0),C=2;C<E;C++)A[C-2]=arguments[C];v=h.options.overloadTranslationOptionHandler([_,a].concat(A))}else v={...a};v.lng=v.lng||y.lng,v.lngs=v.lngs||y.lngs,v.ns=v.ns||y.ns,v.keyPrefix=v.keyPrefix||l||y.keyPrefix;const L=h.options.keySeparator||".";let j;return v.keyPrefix&&Array.isArray(_)?j=_.map(U=>`${v.keyPrefix}${L}${U}`):j=v.keyPrefix?`${v.keyPrefix}${L}${_}`:_,h.t(j,v)};return typeof i=="string"?y.lng=i:y.lngs=i,y.ns=o,y.keyPrefix=l,y}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(i){this.options.defaultNS=i}hasLoadedNamespace(i){let o=arguments.length>1&&arguments[1]!==void 0?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 l=o.lng||this.resolvedLanguage||this.languages[0],h=this.options?this.options.fallbackLng:!1,y=this.languages[this.languages.length-1];if(l.toLowerCase()==="cimode")return!0;const _=(a,v)=>{const E=this.services.backendConnector.state[`${a}|${v}`];return E===-1||E===2};if(o.precheck){const a=o.precheck(this,_);if(a!==void 0)return a}return!!(this.hasResourceBundle(l,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||_(l,i)&&(!h||_(y,i)))}loadNamespaces(i,o){const l=Uf();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(h=>{this.options.ns.indexOf(h)<0&&this.options.ns.push(h)}),this.loadResources(h=>{l.resolve(),o&&o(h)}),l):(o&&o(),Promise.resolve())}loadLanguages(i,o){const l=Uf();typeof i=="string"&&(i=[i]);const h=this.options.preload||[],y=i.filter(_=>h.indexOf(_)<0);return y.length?(this.options.preload=h.concat(y),this.loadResources(_=>{l.resolve(),o&&o(_)}),l):(o&&o(),Promise.resolve())}dir(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";const o=["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"],l=this.services&&this.services.languageUtils||new sD(cD());return o.indexOf(l.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;return new Bf(i,o)}cloneInstance(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Y0;const l=i.forkResourceStore;l&&delete i.forkResourceStore;const h={...this.options,...i,isClone:!0},y=new Bf(h);return(i.debug!==void 0||i.prefix!==void 0)&&(y.logger=y.logger.clone(i)),["store","services","language"].forEach(a=>{y[a]=this[a]}),y.services={...this.services},y.services.utils={hasLoadedNamespace:y.hasLoadedNamespace.bind(y)},l&&(y.store=new iD(this.store.data,h),y.services.resourceStore=y.store),y.translator=new $0(y.services,h),y.translator.on("*",function(a){for(var v=arguments.length,E=new Array(v>1?v-1:0),A=1;A<v;A++)E[A-1]=arguments[A];y.emit(a,...E)}),y.init(h,o),y.translator.options=h,y.translator.backendConnector.services.utils={hasLoadedNamespace:y.hasLoadedNamespace.bind(y)},y}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const yo=Bf.createInstance();yo.createInstance=Bf.createInstance,yo.createInstance,yo.dir,yo.init,yo.loadResources,yo.reloadResources,yo.use,yo.changeLanguage,yo.getFixedT;const Ub=yo.t;yo.exists,yo.setDefaultNamespace,yo.hasLoadedNamespace,yo.loadNamespaces,yo.loadLanguages;function Q0(){return Q0=Object.assign?Object.assign.bind():function(t){for(var i=1;i<arguments.length;i++){var o=arguments[i];for(var l in o)Object.prototype.hasOwnProperty.call(o,l)&&(t[l]=o[l])}return t},Q0.apply(this,arguments)}function FZ(){if(console&&console.warn){for(var t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];typeof i[0]=="string"&&(i[0]=`react-i18next:: ${i[0]}`),console.warn(...i)}}const hD={};function Bb(){for(var t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];typeof i[0]=="string"&&hD[i[0]]||(typeof i[0]=="string"&&(hD[i[0]]=new Date),FZ(...i))}const dD=(t,i)=>()=>{if(t.isInitialized)i();else{const o=()=>{setTimeout(()=>{t.off("initialized",o)},0),i()};t.on("initialized",o)}};function fD(t,i,o){t.loadNamespaces(i,dD(t,o))}function pD(t,i,o,l){typeof o=="string"&&(o=[o]),o.forEach(h=>{t.options.ns.indexOf(h)<0&&t.options.ns.push(h)}),t.loadLanguages(i,dD(t,l))}function VZ(t,i){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const l=i.languages[0],h=i.options?i.options.fallbackLng:!1,y=i.languages[i.languages.length-1];if(l.toLowerCase()==="cimode")return!0;const _=(a,v)=>{const E=i.services.backendConnector.state[`${a}|${v}`];return E===-1||E===2};return o.bindI18n&&o.bindI18n.indexOf("languageChanging")>-1&&i.services.backendConnector.backend&&i.isLanguageChangingTo&&!_(i.isLanguageChangingTo,t)?!1:!!(i.hasResourceBundle(l,t)||!i.services.backendConnector.backend||i.options.resources&&!i.options.partialBundledLanguages||_(l,t)&&(!h||_(y,t)))}function $Z(t,i){let o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!i.languages||!i.languages.length?(Bb("i18n.languages were undefined or empty",i.languages),!0):i.options.ignoreJSONStructure!==void 0?i.hasLoadedNamespace(t,{lng:o.lng,precheck:(h,y)=>{if(o.bindI18n&&o.bindI18n.indexOf("languageChanging")>-1&&h.services.backendConnector.backend&&h.isLanguageChangingTo&&!y(h.isLanguageChangingTo,t))return!1}}):VZ(t,i,o)}const YZ=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,QZ={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},HZ=t=>QZ[t];let Fb={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:t=>t.replace(YZ,HZ)};function GZ(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Fb={...Fb,...t}}function ZZ(){return Fb}let mD;function WZ(t){mD=t}function qZ(){return mD}const KZ={type:"3rdParty",init(t){GZ(t.options.react),WZ(t)}},XZ=Ze.createContext();class JZ{constructor(){this.usedNamespaces={}}addUsedNamespaces(i){i.forEach(o=>{this.usedNamespaces[o]||(this.usedNamespaces[o]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const eW=(t,i)=>{const o=Ze.useRef();return Ze.useEffect(()=>{o.current=i?o.current:t},[t,i]),o.current};function Ms(t){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:o}=i,{i18n:l,defaultNS:h}=Ze.useContext(XZ)||{},y=o||l||qZ();if(y&&!y.reportNamespaces&&(y.reportNamespaces=new JZ),!y){Bb("You will need to pass in an i18next instance by using initReactI18next");const re=(te,Ie)=>typeof Ie=="string"?Ie:Ie&&typeof Ie=="object"&&typeof Ie.defaultValue=="string"?Ie.defaultValue:Array.isArray(te)?te[te.length-1]:te,ie=[re,{},!1];return ie.t=re,ie.i18n={},ie.ready=!1,ie}y.options.react&&y.options.react.wait!==void 0&&Bb("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const _={...ZZ(),...y.options.react,...i},{useSuspense:a,keyPrefix:v}=_;let E=t||h||y.options&&y.options.defaultNS;E=typeof E=="string"?[E]:E||["translation"],y.reportNamespaces.addUsedNamespaces&&y.reportNamespaces.addUsedNamespaces(E);const A=(y.isInitialized||y.initializedStoreOnce)&&E.every(re=>$Z(re,y,_));function C(){return y.getFixedT(i.lng||null,_.nsMode==="fallback"?E:E[0],v)}const[L,j]=Ze.useState(C);let U=E.join();i.lng&&(U=`${i.lng}${U}`);const V=eW(U),Z=Ze.useRef(!0);Ze.useEffect(()=>{const{bindI18n:re,bindI18nStore:ie}=_;Z.current=!0,!A&&!a&&(i.lng?pD(y,i.lng,E,()=>{Z.current&&j(C)}):fD(y,E,()=>{Z.current&&j(C)})),A&&V&&V!==U&&Z.current&&j(C);function te(){Z.current&&j(C)}return re&&y&&y.on(re,te),ie&&y&&y.store.on(ie,te),()=>{Z.current=!1,re&&y&&re.split(" ").forEach(Ie=>y.off(Ie,te)),ie&&y&&ie.split(" ").forEach(Ie=>y.store.off(Ie,te))}},[y,U]);const ee=Ze.useRef(!0);Ze.useEffect(()=>{Z.current&&!ee.current&&j(C),ee.current=!1},[y,v]);const ne=[L,y,A];if(ne.t=L,ne.i18n=y,ne.ready=A,A||!A&&!a)return ne;throw new Promise(re=>{i.lng?pD(y,i.lng,E,()=>re()):fD(y,E,()=>re())})}const tW={Close:"Close",From:"From",To:"To",Distance:"Distance","Estimated time":"Estimated time",Level:"Level","Search by name, category, building...":"Search by name, category, building...","Nothing was found":"Nothing was found",d:"d",h:"h",min:"min",Walk:"Walk",Bike:"Bike",Transit:"Transit",Drive:"Drive","Start wayfinding":"Start wayfinding","Read full description":"Read full description",Locations:"Locations","Directions not available":"Directions not available","Start directions":"Start directions",Previous:"Previous",Next:"Next",StepYofX:"Step {{activeStep}} of {{totalSteps}}","You have arrived":"You have arrived",Leave:"Leave",Park:"Park",at:"at",Building:"Building",Venue:"Venue","Take staircase to level":"Take staircase to level","Take the ladder to level":"Take the ladder to level","Take elevator to level":"Take elevator to level","Take escalator to level":"Take escalator to level","Take wheelchair lift to level":"Take wheelchair lift to level","Take wheelchair ramp to level":"Take wheelchair ramp to level",Exit:"Exit",Enter:"Enter",stops:"stops","and continue":"and continue","Continue straight ahead":"Continue straight ahead","Go left":"Go left","Go sharp left":"Go sharp left","Go slight left":"Go slight left","Go right":"Go right","Go sharp right":"Go sharp right","Go slight right":"Go slight right","Turn around":"Turn around",Switch:"Switch",Accessibility:"Accessibility","No route found":"No route found","My position":"My position","Turn on Accessibility to get directions that avoid stairs and escalators.":"Turn on Accessibility to get directions that avoid stairs and escalators.","Go!":"Go!",Venues:"Venues","Select venue":"Select venue",Current:"Current","Scan QR code":"Scan QR code","Scan the QR code to see the route on your phone":"Scan the QR code to see the route on your phone",Done:"Done","Cancel route":"Cancel route","Finish route":"Finish route"},nW={Close:"Luk",From:"Fra",To:"Til",Distance:"Distance","Estimated time":"Forventet tid",Level:"Etage","Search by name, category, building...":"Søg efter navn, kategori, bygning...","Nothing was found":"Intet fundet",d:"d",h:"t",min:"min",Walk:"Til fods",Bike:"Cykling",Transit:"Offentlig transport",Drive:"Kørsel","Start wayfinding":"Start rutebeskrivelse","Read full description":"Læs hel beskrivelse",Locations:"Lokationer","Directions not available":"Rutevejledning ikke tilgængelig","Start directions":"Start rutevejledning",Previous:"Forrige",Next:"Næste",StepYofX:"Trin {{activeStep}} ud af {{totalSteps}}","You have arrived":"Du er ankommet",Leave:"Forlad",Park:"Parkér",at:"ved",Building:"Bygning",Venue:"Venue","Take staircase to level":"Tag trappen til etage","Take the ladder to level":"Tag stigen til etage","Take elevator to level":"Tag elevatoren til etage","Take escalator to level":"Tag rulletrappen til etage","Take wheelchair lift to level":"Tag kørestolsliften til etage","Take wheelchair ramp to level":"Tag kørestolsrampen til etage",Exit:"Forlad",Enter:"Gå ind i",stops:"stop","and continue":"og fortsæt","Continue straight ahead":"Fortsæt ligeud","Go left":"Drej til venstre","Go sharp left":"Drej skarpt til venstre","Go slight left":"Drej en smule til venstre","Go right":"Drej til højre","Go sharp right":"Drej skarpt til højre","Go slight right":"Drej en smule til højre","Turn around":"Vend om",Switch:"Skift",Accessibility:"Tilgængelig rute","No route found":"Ingen rute fundet","My position":"Min position","Turn on Accessibility to get directions that avoid stairs and escalators.":'Slå "Tilgængelig rute" til for at få en rutevejledning uden trapper og rulletrapper.',"Go!":"Go!",Venues:"Venues","Select venue":"Vælg venue",Current:"Valgt","Scan QR code":"Scan QR-kode","Scan the QR code to see the route on your phone":"Scan QR-koden for at se ruten på din mobil",Done:"Afslut","Cancel route":"Annullér ruten","Finish route":"Afslut ruten"},iW={Close:"Schließen",From:"Von",To:"Nach",Distance:"Distanz","Estimated time":"Geschätzte Zeit",Level:"Etage","Search by name, category, building...":"Suche nach Name, Kategorie, Gebäude...","Nothing was found":"Keine Suchtreffer",d:"d",h:"h",min:"min",Walk:"Zu Fuß",Bike:"Fahrrad",Transit:"Öffentliche Verkehrsmittel",Drive:"Auto","Start wayfinding":"Starte Navigation","Read full description":"Öffne vollständige Beschreibung",Locations:"Locations","Directions not available":"Beschreibung nicht verfügbar","Start directions":"Starte Beschreibung",Previous:"Zurück",Next:"Weiter",StepYofX:"Schritt {{activeStep}} von {{totalSteps}}","You have arrived":"Sie haben ihr Ziel erreicht",Leave:"Verlassen",Park:"Parken",at:"bei",Building:"Gebäude",Venue:"Standort","Take staircase to level":"Nutzen Sie die Treppe zur Etage","Take the ladder to level":"Nutzen Sie die Leiter zur Etage","Take elevator to level":"Nutzen Sie den Aufzug zur Etage","Take escalator to level":"Nutzen Sie die Rolltreppe zur Etage","Take wheelchair lift to level":"Nutzen Sie den Rollstuhllift zur Etage","Take wheelchair ramp to level":"Nutzen Sie die Rollstuhlrampe zur Etage",Exit:"Verlasse das",Enter:"Gehe in das",stops:"Zwischenstopps","and continue":"und Weg fortsetzen","Continue straight ahead":"Weiter geradeaus","Go left":"Links abbiegen","Go sharp left":"Scharf links abbiegen","Go slight left":"Leicht links abbiegen","Go right":"Rechts abbiegen","Go sharp right":"Scharf rechts abbiegen","Go slight right":"Leicht rechts abbiegen","Turn around":"Umdrehen",Switch:"Umkehren",Accessibility:"Barrierefrei","No route found":"Keine Route gefunden","My position":"Meine Position","Turn on Accessibility to get directions that avoid stairs and escalators.":"Schalte Barrierefrei ein, um Treppen und Rolltreppen zu vermeiden.","Go!":"Start!",Venues:"Standorte","Select venue":"Wähle Standort",Current:"Aktuell","Scan QR code":"QR-Code scannen","Scan the QR code to see the route on your phone":"Scannen Sie den QR-Code, um die Route auf Ihrem Smartphone anzuzeigen",Done:"Schließen","Cancel route":"Route abbrechen","Finish route":"Route beenden"},rW={Close:"Fermer",From:"De",To:"À",Distance:"Distance","Estimated time":"Heure d'arrivée estimée",Level:"Niveau","Search by name, category, building...":"Recherche par nom, catégorie, bâtiment...","Nothing was found":"Rien n'a été trouvé",d:"d",h:"h",min:"min",Walk:"À pied",Bike:"À vélo",Transit:"En transports",Drive:"Voiture","Start wayfinding":"Commencer la navigation","Read full description":"Lire la description complète",Locations:"Emplacements","Directions not available":"Itinéraire non disponible","Start directions":"Commencer la navigation",Previous:"Précédent",Next:"Suivant",StepYofX:"Étape {{activeStep}} sur {{totalSteps}}","You have arrived":"Vous êtes arrivé",Leave:"Départ",Park:"Parc",at:"à",Building:"Bâtiment",Venue:"Lieu","Take staircase to level":"Prenez l'escalier jusqu'au niveau","Take the ladder to level":"Empruntez l'escalier pour rejoindre le niveau","Take elevator to level":"Prenez l'ascenseur jusqu'au niveau","Take escalator to level":"Empruntez l'escalier roulant jusqu'au niveau","Take wheelchair lift to level":"Prenez l'élévateur pour fauteuil roulant jusqu'au niveau","Take wheelchair ramp to level":"Prenez la rampe pour fauteuil roulant jusqu'au niveau",Exit:"Partir",Enter:"Entrer",stops:"arrêts","and continue":"et continuez","Continue straight ahead":"Continuez tout droit","Go left":"Tournez a gauche","Go sharp left":"Allez directement à gauche","Go slight left":"Allez légèrement à gauche","Go right":"Allez à droite","Go sharp right":"Allez directement à droite","Go slight right":"Allez légèrement à droite","Turn around":"Faite demi-tour",Switch:"Changer",Accessibility:"Accessibilité","No route found":"Aucun itinéraire trouvé","My position":"Ma position","Turn on Accessibility to get directions that avoid stairs and escalators.":"Activez l'accessibilité pour obtenir des itinéraires qui évitent les escaliers.","Go!":"C'est parti!",Venues:"Lieux","Select venue":"Sélectionner le lieu",Current:"Actuel","Scan QR code":"Scanne le code QR","Scan the QR code to see the route on your phone":"Scannez le code QR pour voir l'itinéraire sur votre téléphone",Done:"Fini","Cancel route":"Annuler l'itinéraire","Finish route":"Terminer l'itinéraire"};function oW(t){yo.use(KZ).init({resources:{en:{translation:tW},da:{translation:nW},de:{translation:iW},fr:{translation:rW}},lng:t,fallbackLng:"en",interpolation:{escapeValue:!1}})}const Qle="",Ro={Google:"google",Mapbox:"mapbox"},Qo=di({key:"mapsIndoorsInstance",default:null,dangerouslyAllowMutability:!0}),sW=t=>{const i=cn(Qo),o=Ze.useRef(),[l,h]=Ze.useState([]);Ze.useEffect(()=>{(async()=>{if(i&&t){for(const a of l)o.current.disableLiveData(a);o.current=new window.mapsindoors.LiveDataManager(i);const _=await o.current.LiveDataInfo.activeDomainTypes();for(const a of _)await o.current.enableLiveData(a);h(_)}})()},[t,i])},Hle="";var aW=function t(i,o){if(i===o)return!0;if(i&&o&&typeof i=="object"&&typeof o=="object"){if(i.constructor!==o.constructor)return!1;var l,h,y;if(Array.isArray(i)){if(l=i.length,l!=o.length)return!1;for(h=l;h--!==0;)if(!t(i[h],o[h]))return!1;return!0}if(i.constructor===RegExp)return i.source===o.source&&i.flags===o.flags;if(i.valueOf!==Object.prototype.valueOf)return i.valueOf()===o.valueOf();if(i.toString!==Object.prototype.toString)return i.toString()===o.toString();if(y=Object.keys(i),l=y.length,l!==Object.keys(o).length)return!1;for(h=l;h--!==0;)if(!Object.prototype.hasOwnProperty.call(o,y[h]))return!1;for(h=l;h--!==0;){var _=y[h];if(!t(i[_],o[_]))return!1}return!0}return i!==i&&o!==o};const gD="__googleMapsScriptId";var Nh;(function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.LOADING=1]="LOADING",t[t.SUCCESS=2]="SUCCESS",t[t.FAILURE=3]="FAILURE"})(Nh||(Nh={}));let lW=class Gd{constructor({apiKey:i,authReferrerPolicy:o,channel:l,client:h,id:y=gD,language:_,libraries:a=[],mapIds:v,nonce:E,region:A,retries:C=3,url:L="https://maps.googleapis.com/maps/api/js",version:j}){if(this.CALLBACK="__googleMapsCallback",this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=i,this.authReferrerPolicy=o,this.channel=l,this.client=h,this.id=y||gD,this.language=_,this.libraries=a,this.mapIds=v,this.nonce=E,this.region=A,this.retries=C,this.url=L,this.version=j,Gd.instance){if(!aW(this.options,Gd.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Gd.instance.options)}`);return Gd.instance}Gd.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?Nh.FAILURE:this.done?Nh.SUCCESS:this.loading?Nh.LOADING:Nh.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let i=this.url;return i+=`?callback=${this.CALLBACK}`,this.apiKey&&(i+=`&key=${this.apiKey}`),this.channel&&(i+=`&channel=${this.channel}`),this.client&&(i+=`&client=${this.client}`),this.libraries.length>0&&(i+=`&libraries=${this.libraries.join(",")}`),this.language&&(i+=`&language=${this.language}`),this.region&&(i+=`®ion=${this.region}`),this.version&&(i+=`&v=${this.version}`),this.mapIds&&(i+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(i+=`&auth_referrer_policy=${this.authReferrerPolicy}`),i}deleteScript(){const i=document.getElementById(this.id);i&&i.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((i,o)=>{this.loadCallback(l=>{l?o(l.error):i(window.google)})})}loadCallback(i){this.callbacks.push(i),this.execute()}setScript(){if(document.getElementById(this.id)){this.callback();return}const i=this.createUrl(),o=document.createElement("script");o.id=this.id,o.type="text/javascript",o.src=i,o.onerror=this.loadErrorCallback.bind(this),o.defer=!0,o.async=!0,this.nonce&&(o.nonce=this.nonce),document.head.appendChild(o)}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(i){if(this.errors.push(i),this.errors.length<=this.retries){const o=this.errors.length*Math.pow(2,this.errors.length);console.log(`Failed to load Google Maps script, retrying in ${o} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},o)}else this.onerrorEvent=i,this.callback()}setCallback(){window.__googleMapsCallback=this.callback.bind(this)}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(i=>{i(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading||(this.loading=!0,this.setCallback(),this.setScript())}}};const H0=di({key:"gmApiKey",default:null}),Os=di({key:"primaryColor",default:"#005655"}),yD=di({key:"gmMapId",default:null}),Ff=di({key:"bearing",default:0}),Vf=di({key:"pitch",default:0}),_D=t=>{const[i,o]=Ze.useState(!1);return Ze.useEffect(()=>{const l=window.matchMedia(t);l.matches!==i&&o(l.matches);const h=()=>o(l.matches);return window.addEventListener("resize",h),()=>window.removeEventListener("resize",h)},[i,t]),i},Za=()=>_D("(min-width: 992px)");function cW({onMapView:t,onPositionControl:i}){const o=cn(H0),l=cn(yD),[h,y]=Ze.useState(),[_,a]=Ze.useState(),[v,E]=Ze.useState(!1),[A,C]=Ze.useState(!1),[L,j]=Ze.useState(!1),U=cn(Qo),V=cn(Os),Z=cn(Ff),ee=cn(Vf),ne=Za();return Ze.useEffect(()=>{new lW({apiKey:o,version:"quarterly",libraries:["geometry","places"]}).load().then(ie=>{y(ie);const te={element:document.getElementById("map"),disableDefaultUI:!0,center:{lat:0,lng:0},zoom:21,mapId:l,heading:isNaN(parseInt(Z))?0:parseInt(Z),tilt:isNaN(parseInt(ee))?0:parseInt(ee)},Ie=new window.mapsindoors.mapView.GoogleMapsView(te);a(Ie);const Me=new window.mapsindoors.directions.GoogleMapsProvider;t(Ie,Me)})},[]),Ze.useEffect(()=>{if(U&&_&&h&&!A){const re=document.createElement("mi-my-position");re.mapsindoors=U,_.getMap().controls[h.maps.ControlPosition.RIGHT_TOP].push(re),C(!0),i(re)}if(U&&_&&h&&!v){const re=document.createElement("mi-floor-selector");re.mapsindoors=U,re.primaryColor=V,_.getMap().controls[h.maps.ControlPosition.RIGHT_TOP].push(re),E(!0)}U&&_&&h&&!L&&ne&&(_.getMap().setOptions({zoomControl:!0,zoomControlOptions:{style:h.maps.ZoomControlStyle.DEFAULT,position:h.maps.ControlPosition.RIGHT_TOP}}),j(!0))},[U,_,h,v,A]),et.jsx("div",{className:"map-container",id:"map","data-sentry-component":"GoogleMapsMap","data-sentry-source-file":"GoogleMapsMap.jsx"})}var vD={exports:{}};(function(t,i){(function(o,l){t.exports=l()})(a8,function(){var o,l,h;function y(a,v){if(!o)o=v;else if(!l)l=v;else{var E="self.onerror = function() { console.error('An error occurred while parsing the WebWorker bundle. This is most likely due to improper transpilation by Babel; please see https://docs.mapbox.com/mapbox-gl-js/guides/install/#transpiling'); }; var sharedChunk = {}; ("+o+")(sharedChunk); ("+l+")(sharedChunk); self.onerror = null;",A={};o(A),h=v(A),typeof window<"u"&&window&&window.URL&&window.URL.createObjectURL&&(h.workerUrl=window.URL.createObjectURL(new Blob([E],{type:"text/javascript"})))}}y(["exports"],function(a){var v="3.3.0";let E;const A={API_URL:"https://api.mapbox.com",get API_URL_REGEX(){if(E==null){const n=/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/|\?|$)/i;try{E=process.env.API_URL_REGEX!=null?new RegExp(process.env.API_URL_REGEX):n}catch{E=n}}return E},get API_TILEJSON_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/v[0-9]*\/.*\.json.*$)/i},get API_SPRITE_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/styles\/v[0-9]*\/)(.*\/sprite.*\..*$)/i},get API_FONTS_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/fonts\/v[0-9]*\/)(.*\.pbf.*$)/i},get API_STYLE_REGEX(){return/^((https?:)?\/\/)?([^\/]+\.)?mapbox\.c(n|om)(\/styles\/v[0-9]*\/)(.*$)/i},get API_CDN_URL_REGEX(){return/^((https?:)?\/\/)?api\.mapbox\.c(n|om)(\/mapbox-gl-js\/)(.*$)/i},get EVENTS_URL(){if(!A.API_URL)return null;try{const n=new URL(A.API_URL);return n.hostname==="api.mapbox.cn"?"https://events.mapbox.cn/events/v2":n.hostname==="api.mapbox.com"?"https://events.mapbox.com/events/v2":null}catch{return null}},SESSION_PATH:"/map-sessions/v1",FEEDBACK_URL:"https://apps.mapbox.com/feedback",TILE_URL_VERSION:"v4",RASTER_URL_PREFIX:"raster/v1",RASTERARRAYS_URL_PREFIX:"rasterarrays/v1",REQUIRE_ACCESS_TOKEN:!0,ACCESS_TOKEN:null,DEFAULT_STYLE:"mapbox://styles/mapbox/standard",MAX_PARALLEL_IMAGE_REQUESTS:16,DRACO_URL:"https://api.mapbox.com/mapbox-gl-js/draco_decoder_gltf_v1.5.6.wasm",MESHOPT_URL:"https://api.mapbox.com/mapbox-gl-js/meshopt_base_v0.20.wasm",MESHOPT_SIMD_URL:"https://api.mapbox.com/mapbox-gl-js/meshopt_simd_v0.20.wasm",GLYPHS_URL:"mapbox://fonts/mapbox/{fontstack}/{range}.pbf"};function C(n){return A.API_URL_REGEX.test(n)}function L(n){return n.indexOf("mapbox:")===0}function j(n){return A.API_CDN_URL_REGEX.test(n)}function U(n){return A.API_SPRITE_REGEX.test(n)}function V(n){return A.API_STYLE_REGEX.test(n)&&!U(n)}const Z={create:"create",load:"load",fullLoad:"fullLoad"};function ee(n){const e=n.name.split("?")[0];return j(e)&&e.includes("mapbox-gl.js")?"javascript":j(e)&&e.includes("mapbox-gl.css")?"css":function(r){return A.API_FONTS_REGEX.test(r)}(e)?"fontRange":U(e)?"sprite":V(e)?"style":function(r){return A.API_TILEJSON_REGEX.test(r)}(e)?"tilejson":"other"}function ne(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var re=ie;function ie(n,e,r,c){this.cx=3*n,this.bx=3*(r-n)-this.cx,this.ax=1-this.cx-this.bx,this.cy=3*e,this.by=3*(c-e)-this.cy,this.ay=1-this.cy-this.by,this.p1x=n,this.p1y=e,this.p2x=r,this.p2y=c}ie.prototype={sampleCurveX:function(n){return((this.ax*n+this.bx)*n+this.cx)*n},sampleCurveY:function(n){return((this.ay*n+this.by)*n+this.cy)*n},sampleCurveDerivativeX:function(n){return(3*this.ax*n+2*this.bx)*n+this.cx},solveCurveX:function(n,e){if(e===void 0&&(e=1e-6),n<0)return 0;if(n>1)return 1;for(var r=n,c=0;c<8;c++){var d=this.sampleCurveX(r)-n;if(Math.abs(d)<e)return r;var f=this.sampleCurveDerivativeX(r);if(Math.abs(f)<1e-6)break;r-=d/f}var g=0,b=1;for(r=n,c=0;c<20&&(d=this.sampleCurveX(r),!(Math.abs(d-n)<e));c++)n>d?g=r:b=r,r=.5*(b-g)+g;return r},solve:function(n,e){return this.sampleCurveY(this.solveCurveX(n,e))}};var te=ne(re),Ie=Me;function Me(n,e){this.x=n,this.y=e}Me.prototype={clone:function(){return new Me(this.x,this.y)},add:function(n){return this.clone()._add(n)},sub:function(n){return this.clone()._sub(n)},multByPoint:function(n){return this.clone()._multByPoint(n)},divByPoint:function(n){return this.clone()._divByPoint(n)},mult:function(n){return this.clone()._mult(n)},div:function(n){return this.clone()._div(n)},rotate:function(n){return this.clone()._rotate(n)},rotateAround:function(n,e){return this.clone()._rotateAround(n,e)},matMult:function(n){return this.clone()._matMult(n)},unit:function(){return this.clone()._unit()},perp:function(){return this.clone()._perp()},round:function(){return this.clone()._round()},mag:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},equals:function(n){return this.x===n.x&&this.y===n.y},dist:function(n){return Math.sqrt(this.distSqr(n))},distSqr:function(n){var e=n.x-this.x,r=n.y-this.y;return e*e+r*r},angle:function(){return Math.atan2(this.y,this.x)},angleTo:function(n){return Math.atan2(this.y-n.y,this.x-n.x)},angleWith:function(n){return this.angleWithSep(n.x,n.y)},angleWithSep:function(n,e){return Math.atan2(this.x*e-this.y*n,this.x*n+this.y*e)},_matMult:function(n){var e=n[2]*this.x+n[3]*this.y;return this.x=n[0]*this.x+n[1]*this.y,this.y=e,this},_add:function(n){return this.x+=n.x,this.y+=n.y,this},_sub:function(n){return this.x-=n.x,this.y-=n.y,this},_mult:function(n){return this.x*=n,this.y*=n,this},_div:function(n){return this.x/=n,this.y/=n,this},_multByPoint:function(n){return this.x*=n.x,this.y*=n.y,this},_divByPoint:function(n){return this.x/=n.x,this.y/=n.y,this},_unit:function(){return this._div(this.mag()),this},_perp:function(){var n=this.y;return this.y=this.x,this.x=-n,this},_rotate:function(n){var e=Math.cos(n),r=Math.sin(n),c=r*this.x+e*this.y;return this.x=e*this.x-r*this.y,this.y=c,this},_rotateAround:function(n,e){var r=Math.cos(n),c=Math.sin(n),d=e.y+c*(this.x-e.x)+r*(this.y-e.y);return this.x=e.x+r*(this.x-e.x)-c*(this.y-e.y),this.y=d,this},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}},Me.convert=function(n){return n instanceof Me?n:Array.isArray(n)?new Me(n[0],n[1]):n};var de=ne(Ie);const qe=Math.PI/180,Ve=180/Math.PI;function je(n){return n*qe}function We(n){return n*Ve}const tt=[[0,0],[1,0],[1,1],[0,1]];function Se(n){if(n<=0)return 0;if(n>=1)return 1;const e=n*n,r=e*n;return 4*(n<.5?r:3*(n-e)+r-.75)}function He(n,e,r,c){const d=new te(n,e,r,c);return function(f){return d.solve(f)}}const Re=He(.25,.1,.25,1);function Le(n,e,r){return Math.min(r,Math.max(e,n))}function ht(n,e,r){return(r=Le((r-n)/(e-n),0,1))*r*(3-2*r)}function ot(n,e,r){const c=r-e,d=((n-e)%c+c)%c+e;return d===e?r:d}function me(n,e,r){if(!n.length)return r(null,[]);let c=n.length;const d=new Array(n.length);let f=null;n.forEach((g,b)=>{e(g,(w,I)=>{w&&(f=w),d[b]=I,--c==0&&r(f,d)})})}function ve(n,...e){for(const r of e)for(const c in r)n[c]=r[c];return n}let ae=1;function G(){return ae++}function X(){return function n(e){return e?(e^Math.random()*(16>>e/4)).toString(16):([1e7]+-[1e3]+-4e3+-8e3+-1e11).replace(/[018]/g,n)}()}function ge(n){return n<=1?1:Math.pow(2,Math.ceil(Math.log(n)/Math.LN2))}function fe(n){return!!n&&/^[0-9a-f]{8}-[0-9a-f]{4}-[4][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(n)}function Ne(n,e){n.forEach(r=>{e[r]&&(e[r]=e[r].bind(e))})}function Oe(n,e){return n.indexOf(e,n.length-e.length)!==-1}function Ae(n,e,r){const c={};for(const d in n)c[d]=e.call(r||this,n[d],d,n);return c}function $e(n,e,r){const c={};for(const d in n)e.call(r||this,n[d],d,n)&&(c[d]=n[d]);return c}function st(n){return Array.isArray(n)?n.map(st):typeof n=="object"&&n?Ae(n,st):n}const Ce={};function Xe(n){Ce[n]||(typeof console<"u"&&console.warn(n),Ce[n]=!0)}function yt(n,e,r){return(r.y-n.y)*(e.x-n.x)>(e.y-n.y)*(r.x-n.x)}function jt(n){let e=0;for(let r,c,d=0,f=n.length,g=f-1;d<f;g=d++)r=n[d],c=n[g],e+=(c.x-r.x)*(r.y+c.y);return e}function Ft([n,e,r]){const c=je(e+90),d=je(r);return{x:n*Math.cos(c)*Math.sin(d),y:n*Math.sin(c)*Math.sin(d),z:n*Math.cos(d),azimuthal:e,polar:r}}function hn(){return typeof WorkerGlobalScope<"u"&&typeof self<"u"&&self instanceof WorkerGlobalScope}function jn(n){const e={};if(n.replace(/(?:^|(?:\s*\,\s*))([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)(?:\=(?:([^\x00-\x20\(\)<>@\,;\:\\"\/\[\]\?\=\{\}\x7F]+)|(?:\"((?:[^"\\]|\\.)*)\")))?/g,(r,c,d,f)=>{const g=d||f;return e[c]=!g||g.toLowerCase(),""}),e["max-age"]){const r=parseInt(e["max-age"],10);isNaN(r)?delete e["max-age"]:e["max-age"]=r}return e}let Dt,Cn,En,In,Un,ti,lt=null;function se(n){try{const e=self[n];return e.setItem("_mapbox_test_",1),e.removeItem("_mapbox_test_"),!0}catch{return!1}}function ce(n,e){return[n[4*e],n[4*e+1],n[4*e+2],n[4*e+3]]}function ke(n,e,r,c){for(;e<r;){const d=e+r>>1;n[d]<c?e=d+1:r=d}return e}function mt(n,e,r,c){for(;e<r;){const d=e+r>>1;n[d]<=c?e=d+1:r=d}return e}function Mt(){return Dt==null&&(Dt=self.OffscreenCanvas&&new OffscreenCanvas(1,1).getContext("2d")&&typeof self.createImageBitmap=="function"),Dt}const gt={now:()=>In!==void 0?In:performance.now(),setNow(n){In=n},restoreNow(){In=void 0},frame(n){const e=requestAnimationFrame(n);return{cancel:()=>cancelAnimationFrame(e)}},getImageData(n,e=0){const{width:r,height:c}=n;Un||(Un=document.createElement("canvas"));const d=Un.getContext("2d",{willReadFrequently:!0});if(!d)throw new Error("failed to create canvas 2d context");return(r>Un.width||c>Un.height)&&(Un.width=r,Un.height=c),d.clearRect(-e,-e,r+2*e,c+2*e),d.drawImage(n,0,0,r,c),d.getImageData(-e,-e,r+2*e,c+2*e)},resolveURL:n=>(Cn||(Cn=document.createElement("a")),Cn.href=n,Cn.href),get devicePixelRatio(){return window.devicePixelRatio},get prefersReducedMotion(){return!!window.matchMedia&&(En==null&&(En=window.matchMedia("(prefers-reduced-motion: reduce)")),En.matches)},hasCanvasFingerprintNoise(){if(ti!==void 0)return ti;if(!Mt())return ti=!1,!1;const n=new OffscreenCanvas(85,1),e=n.getContext("2d",{willReadFrequently:!0});let r=0;for(let d=0;d<n.width;++d)e.fillStyle=`rgba(${r++},${r++},${r++}, 255)`,e.fillRect(d,0,1,1);const c=e.getImageData(0,0,n.width,n.height);r=0;for(let d=0;d<c.data.length;++d)if(d%4!=3&&r++!==c.data[d])return ti=!0,!0;return ti=!1,!1}},Ot="mapbox-tiles";let xt=500,ln=50,Ye,Be;function At(){try{return caches}catch{}}function nn(){const n=At();n&&!Ye&&(Ye=n.open(Ot))}function Nt(n){const e=n.indexOf("?");if(e<0)return n;const r=["language","worldview"],c=new URLSearchParams,d=new URLSearchParams(n.slice(e));for(const f of r){const g=d.get(f);g&&c.set(f,g)}return`${n.slice(0,e)}?${c.toString()}`}function Bt(n,e){const r=n.indexOf("?");if(r<0)return`${n}?${new URLSearchParams(e).toString()}`;const c=new URLSearchParams(n.slice(r));for(const d in e)c.set(d,e[d]);return`${n.slice(0,r)}?${c.toString()}`}let Qt=1/0;const Wt={supported:!1,testSupport:function(n){!Zn&&wn&&(oi?Fi(n):on=n)}};let on,wn,Zn=!1,oi=!1;const Ti=typeof self<"u"?self:{};function Fi(n){const e=n.createTexture();n.bindTexture(n.TEXTURE_2D,e);try{if(n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,wn),n.isContextLost())return;Wt.supported=!0}catch{}n.deleteTexture(e),Zn=!0}Ti.document&&(wn=Ti.document.createElement("img"),wn.onload=function(){on&&Fi(on),on=null,oi=!0},wn.onerror=function(){Zn=!0,on=null},wn.src="data:image/webp;base64,UklGRh4AAABXRUJQVlA4TBEAAAAvAQAAAAfQ//73v/+BiOh/AAA=");const Vi={Unknown:"Unknown",Style:"Style",Source:"Source",Tile:"Tile",Glyphs:"Glyphs",SpriteImage:"SpriteImage",SpriteJSON:"SpriteJSON",Image:"Image",Model:"Model"};typeof Object.freeze=="function"&&Object.freeze(Vi);class Gn extends Error{constructor(e,r,c){r===401&&C(c)&&(e+=": you may have provided an invalid Mapbox access token. See https://docs.mapbox.com/api/overview/#access-tokens-and-token-scopes"),super(e),this.status=r,this.url=c}toString(){return`${this.name}: ${this.message} (${this.status}): ${this.url}`}}const Gi=hn()?()=>self.worker&&self.worker.referrer:()=>(location.protocol==="blob:"?parent:self).location.href,It=function(n,e){if(!(/^file:/.test(r=n.url)||/^file:/.test(Gi())&&!/^\w+:/.test(r))){if(self.fetch&&self.Request&&self.AbortController&&Request.prototype.hasOwnProperty("signal"))return function(c,d){const f=new AbortController,g=new Request(c.url,{method:c.method||"GET",body:c.body,credentials:c.credentials,headers:c.headers,referrer:Gi(),referrerPolicy:c.referrerPolicy,signal:f.signal});let b=!1,w=!1;const I=(S=g.url).indexOf("sku=")>0&&C(S);var S;c.type==="json"&&g.headers.set("Accept","application/json");const N=(P,F,$)=>{if(w)return;if(P&&P.message!=="SecurityError"&&Xe(P.toString()),F&&$)return z(F);const H=Date.now();fetch(g).then(q=>{if(q.ok){const he=I?q.clone():null;return z(q,he,H)}return d(new Gn(q.statusText,q.status,c.url))}).catch(q=>{q.name!=="AbortError"&&d(new Error(`${q.message} ${c.url}`))})},z=(P,F,$)=>{(c.type==="arrayBuffer"?P.arrayBuffer():c.type==="json"?P.json():P.text()).then(H=>{w||(F&&$&&function(q,he,_e){if(nn(),!Ye)return;const ye=jn(he.headers.get("Cache-Control")||"");if(ye["no-store"])return;const De={status:he.status,statusText:he.statusText,headers:new Headers};he.headers.forEach((Ke,it)=>De.headers.set(it,Ke)),ye["max-age"]&&De.headers.set("Expires",new Date(_e+1e3*ye["max-age"]).toUTCString());const Te=De.headers.get("Expires");if(!Te||new Date(Te).getTime()-_e<42e4)return;let Fe=Nt(q.url);if(he.status===206){const Ke=q.headers.get("Range");if(!Ke)return;De.status=200,Fe=Bt(Fe,{range:Ke})}(function(Ke,it){if(Be===void 0)try{new Response(new ReadableStream),Be=!0}catch{Be=!1}Be?it(Ke.body):Ke.blob().then(it)})(he,Ke=>{const it=new Response(Ke,De);nn(),Ye&&Ye.then(pt=>pt.put(Fe,it)).catch(pt=>Xe(pt.message))})}(g,F,$),b=!0,d(null,H,P.headers.get("Cache-Control"),P.headers.get("Expires")))}).catch(H=>{w||d(new Error(H.message))})};return I?function(P,F){if(nn(),!Ye)return F(null);Ye.then($=>{let H=Nt(P.url);const q=P.headers.get("Range");q&&(H=Bt(H,{range:q})),$.match(H).then(he=>{const _e=function(ye){if(!ye)return!1;const De=new Date(ye.headers.get("Expires")||0),Te=jn(ye.headers.get("Cache-Control")||"");return De>Date.now()&&!Te["no-cache"]}(he);$.delete(H),_e&&$.put(H,he.clone()),F(null,he,_e)}).catch(F)}).catch(F)}(g,N):N(null,null),{cancel:()=>{w=!0,b||f.abort()}}}(n,e);if(hn()&&self.worker&&self.worker.actor)return self.worker.actor.send("getResource",n,e,void 0,!0)}var r;return function(c,d){const f=new XMLHttpRequest;f.open(c.method||"GET",c.url,!0),c.type==="arrayBuffer"&&(f.responseType="arraybuffer");for(const g in c.headers)f.setRequestHeader(g,c.headers[g]);return c.type==="json"&&(f.responseType="text",f.setRequestHeader("Accept","application/json")),f.withCredentials=c.credentials==="include",f.onerror=()=>{d(new Error(f.statusText))},f.onload=()=>{if((f.status>=200&&f.status<300||f.status===0)&&f.response!==null){let g=f.response;if(c.type==="json")try{g=JSON.parse(f.response)}catch(b){return d(b)}d(null,g,f.getResponseHeader("Cache-Control"),f.getResponseHeader("Expires"))}else d(new Gn(f.statusText,f.status,c.url))},f.send(c.body),{cancel:()=>f.abort()}}(n,e)},St=function(n,e){return It(ve(n,{type:"arrayBuffer"}),e)};function Zt(n){const e=document.createElement("a");return e.href=n,e.protocol===location.protocol&&e.host===location.host}const en="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVQYV2NgAAIAAAUAAarVyFEAAAAASUVORK5CYII=";let qt,Ee;qt=[],Ee=0;const at=function(n,e){if(Wt.supported&&(n.headers||(n.headers={}),n.headers.accept="image/webp,*/*"),Ee>=A.MAX_PARALLEL_IMAGE_REQUESTS){const f={requestParameters:n,callback:e,cancelled:!1,cancel(){this.cancelled=!0}};return qt.push(f),f}Ee++;let r=!1;const c=()=>{if(!r)for(r=!0,Ee--;qt.length&&Ee<A.MAX_PARALLEL_IMAGE_REQUESTS;){const f=qt.shift(),{requestParameters:g,callback:b,cancelled:w}=f;w||(f.cancel=at(g,b).cancel)}},d=St(n,(f,g,b,w)=>{c(),f?e(f):g&&(self.createImageBitmap?function(I,S){const N=new Blob([new Uint8Array(I)],{type:"image/png"});createImageBitmap(N).then(z=>{S(null,z)}).catch(z=>{S(new Error(`Could not load image because of ${z.message}. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported.`))})}(g,(I,S)=>e(I,S,b,w)):function(I,S){const N=new Image;N.onload=()=>{S(null,N),URL.revokeObjectURL(N.src),N.onload=null,requestAnimationFrame(()=>{N.src=en})},N.onerror=()=>S(new Error("Could not load image. Please make sure to use a supported image type such as PNG or JPEG. Note that SVGs are not supported."));const z=new Blob([new Uint8Array(I)],{type:"image/png"});N.src=I.byteLength?URL.createObjectURL(z):en}(g,(I,S)=>e(I,S,b,w)))});return{cancel:()=>{d.cancel(),c()}}},dt="01",Ct="NO_ACCESS_TOKEN",Rt=/^(\w+):\/\/([^/?]*)(\/[^?]+)?\??(.+)?/;function zt(n){const e=n.match(Rt);if(!e)throw new Error("Unable to parse URL object");return{protocol:e[1],authority:e[2],path:e[3]||"/",params:e[4]?e[4].split("&"):[]}}function sn(n){const e=n.params.length?`?${n.params.join("&")}`:"";return`${n.protocol}://${n.authority}${n.path}${e}`}const $t="mapbox.eventData";function Wn(n){if(!n)return null;const e=n.split(".");if(!e||e.length!==3)return null;try{return JSON.parse(decodeURIComponent(atob(e[1]).split("").map(r=>"%"+("00"+r.charCodeAt(0).toString(16)).slice(-2)).join("")))}catch{return null}}class Yn{constructor(e){this.type=e,this.anonId=null,this.eventData={},this.queue=[],this.pendingRequest=null}getStorageKey(e){const r=Wn(A.ACCESS_TOKEN);let c="";return c=r&&r.u?btoa(encodeURIComponent(r.u).replace(/%([0-9A-F]{2})/g,(d,f)=>String.fromCharCode(+("0x"+f)))):A.ACCESS_TOKEN||"",e?`${$t}.${e}:${c}`:`${$t}:${c}`}fetchEventData(){const e=se("localStorage"),r=this.getStorageKey(),c=this.getStorageKey("uuid");if(e)try{const d=localStorage.getItem(r);d&&(this.eventData=JSON.parse(d));const f=localStorage.getItem(c);f&&(this.anonId=f)}catch{Xe("Unable to read from LocalStorage")}}saveEventData(){const e=se("localStorage"),r=this.getStorageKey(),c=this.getStorageKey("uuid"),d=this.anonId;if(e&&d)try{localStorage.setItem(c,d),Object.keys(this.eventData).length>=1&&localStorage.setItem(r,JSON.stringify(this.eventData))}catch{Xe("Unable to write to LocalStorage")}}processRequests(e){}postEvent(e,r,c,d){if(!A.EVENTS_URL)return;const f=zt(A.EVENTS_URL);f.params.push(`access_token=${d||A.ACCESS_TOKEN||""}`);const g={event:this.type,created:new Date(e).toISOString()},b=r?ve(g,r):g,w={url:sn(f),headers:{"Content-Type":"text/plain"},body:JSON.stringify([b])};this.pendingRequest=function(I,S){return It(ve(I,{method:"POST"}),S)}(w,I=>{this.pendingRequest=null,c(I),this.saveEventData(),this.processRequests(d)})}queueRequest(e,r){this.queue.push(e),this.processRequests(r)}}const Bn=new class extends Yn{constructor(n){super("appUserTurnstile"),this._customAccessToken=n}postTurnstileEvent(n,e){A.EVENTS_URL&&A.ACCESS_TOKEN&&Array.isArray(n)&&n.some(r=>L(r)||C(r))&&this.queueRequest(Date.now(),e)}processRequests(n){if(this.pendingRequest||this.queue.length===0)return;this.anonId&&this.eventData.lastSuccess&&this.eventData.tokenU||this.fetchEventData();const e=Wn(A.ACCESS_TOKEN),r=e?e.u:A.ACCESS_TOKEN;let c=r!==this.eventData.tokenU;fe(this.anonId)||(this.anonId=X(),c=!0);const d=this.queue.shift();if(this.eventData.lastSuccess){const f=new Date(this.eventData.lastSuccess),g=new Date(d),b=(d-this.eventData.lastSuccess)/864e5;c=c||b>=1||b<-1||f.getDate()!==g.getDate()}else c=!0;c?this.postEvent(d,{sdkIdentifier:"mapbox-gl-js",sdkVersion:v,skuId:dt,"enabled.telemetry":!1,userId:this.anonId},f=>{f||(this.eventData.lastSuccess=d,this.eventData.tokenU=r)},n):this.processRequests()}},zi=Bn.postTurnstileEvent.bind(Bn),xr=new class extends Yn{constructor(){super("map.load"),this.success={},this.skuToken=""}postMapLoadEvent(n,e,r,c){this.skuToken=e,this.errorCb=c,A.EVENTS_URL&&(r||A.ACCESS_TOKEN?this.queueRequest({id:n,timestamp:Date.now()},r):this.errorCb(new Error(Ct)))}processRequests(n){if(this.pendingRequest||this.queue.length===0)return;const{id:e,timestamp:r}=this.queue.shift();e&&this.success[e]||(this.anonId||this.fetchEventData(),fe(this.anonId)||(this.anonId=X()),this.postEvent(r,{sdkIdentifier:"mapbox-gl-js",sdkVersion:v,skuId:dt,skuToken:this.skuToken,userId:this.anonId},c=>{c?this.errorCb(c):e&&(this.success[e]=!0)},n))}remove(){this.errorCb=null}},gi=xr.postMapLoadEvent.bind(xr),Er=new class extends Yn{constructor(){super("gljs.performance")}postPerformanceEvent(n,e){A.EVENTS_URL&&(n||A.ACCESS_TOKEN)&&this.queueRequest({timestamp:Date.now(),performanceData:e},n)}processRequests(n){if(this.pendingRequest||this.queue.length===0)return;const{timestamp:e,performanceData:r}=this.queue.shift(),c=function(d){const f=performance.getEntriesByType("resource"),g=performance.getEntriesByType("mark"),b=function(P){const F={};if(P){for(const $ in P)if($!=="other")for(const H of P[$]){const q=`${$}ResolveRangeMin`,he=`${$}ResolveRangeMax`,_e=`${$}RequestCount`,ye=`${$}RequestCachedCount`;F[q]=Math.min(F[q]||1/0,H.startTime),F[he]=Math.max(F[he]||-1/0,H.responseEnd);const De=Te=>{F[Te]===void 0&&(F[Te]=0),++F[Te]};H.transferSize!==void 0&&H.transferSize===0&&De(ye),De(_e)}}return F}(function(P,F){const $={};if(P)for(const H of P){const q=F(H);$[q]===void 0&&($[q]=[]),$[q].push(H)}return $}(f,ee)),w=window.devicePixelRatio,I=navigator.connection||navigator.mozConnection||navigator.webkitConnection,S=I?I.effectiveType:void 0,N={counters:[],metadata:[],attributes:[]},z=(P,F,$)=>{$!=null&&P.push({name:F,value:$.toString()})};for(const P in b)z(N.counters,P,b[P]);if(d.interactionRange[0]!==1/0&&d.interactionRange[1]!==-1/0&&(z(N.counters,"interactionRangeMin",d.interactionRange[0]),z(N.counters,"interactionRangeMax",d.interactionRange[1])),g)for(const P of Object.keys(Z)){const F=Z[P],$=g.find(H=>H.name===F);$&&z(N.counters,F,$.startTime)}return z(N.counters,"visibilityHidden",d.visibilityHidden),z(N.attributes,"style",function(P){if(P)for(const F of P){const $=F.name.split("?")[0];if(V($)){const H=$.split("/").slice(-2);if(H.length===2)return`mapbox://styles/${H[0]}/${H[1]}`}}}(f)),z(N.attributes,"terrainEnabled",d.terrainEnabled?"true":"false"),z(N.attributes,"fogEnabled",d.fogEnabled?"true":"false"),z(N.attributes,"projection",d.projection),z(N.attributes,"zoom",d.zoom),z(N.metadata,"devicePixelRatio",w),z(N.metadata,"connectionEffectiveType",S),z(N.metadata,"navigatorUserAgent",navigator.userAgent),z(N.metadata,"screenWidth",window.screen.width),z(N.metadata,"screenHeight",window.screen.height),z(N.metadata,"windowWidth",window.innerWidth),z(N.metadata,"windowHeight",window.innerHeight),z(N.metadata,"mapWidth",d.width/w),z(N.metadata,"mapHeight",d.height/w),z(N.metadata,"webglRenderer",d.renderer),z(N.metadata,"webglVendor",d.vendor),z(N.metadata,"sdkVersion",v),z(N.metadata,"sdkIdentifier","mapbox-gl-js"),N}(r);for(const d of c.metadata);for(const d of c.counters);for(const d of c.attributes);this.postEvent(e,c,()=>{},n)}},as=Er.postPerformanceEvent.bind(Er),to=new class extends Yn{constructor(){super("map.auth"),this.success={},this.skuToken=""}getSession(n,e,r,c){if(!A.API_URL||!A.SESSION_PATH)return;const d=zt(A.API_URL+A.SESSION_PATH);d.params.push(`sku=${e||""}`),d.params.push(`access_token=${c||A.ACCESS_TOKEN||""}`);const f={url:sn(d),headers:{"Content-Type":"text/plain"}};this.pendingRequest=function(g,b){return It(ve(g,{method:"GET"}),b)}(f,g=>{this.pendingRequest=null,r(g),this.saveEventData(),this.processRequests(c)})}getSessionAPI(n,e,r,c){this.skuToken=e,this.errorCb=c,A.SESSION_PATH&&A.API_URL&&(r||A.ACCESS_TOKEN?this.queueRequest({id:n,timestamp:Date.now()},r):this.errorCb(new Error(Ct)))}processRequests(n){if(this.pendingRequest||this.queue.length===0)return;const{id:e,timestamp:r}=this.queue.shift();e&&this.success[e]||this.getSession(r,this.skuToken,c=>{c?this.errorCb(c):e&&(this.success[e]=!0)},n)}remove(){this.errorCb=null}},Kc=to.getSessionAPI.bind(to),pa=new Set;function Vl(n,e,r){r[n]&&r[n].indexOf(e)!==-1||(r[n]=r[n]||[],r[n].push(e))}function ap(n,e,r){if(r&&r[n]){const c=r[n].indexOf(e);c!==-1&&r[n].splice(c,1)}}class Xa{constructor(e,r={}){ve(this,r),this.type=e}}class lp extends Xa{constructor(e,r={}){super("error",ve({error:e},r))}}class $l{on(e,r){return this._listeners=this._listeners||{},Vl(e,r,this._listeners),this}off(e,r){return ap(e,r,this._listeners),ap(e,r,this._oneTimeListeners),this}once(e,r){return r?(this._oneTimeListeners=this._oneTimeListeners||{},Vl(e,r,this._oneTimeListeners),this):new Promise(c=>this.once(e,c))}fire(e,r){typeof e=="string"&&(e=new Xa(e,r||{}));const c=e.type;if(this.listens(c)){e.target=this;const d=this._listeners&&this._listeners[c]?this._listeners[c].slice():[];for(const b of d)b.call(this,e);const f=this._oneTimeListeners&&this._oneTimeListeners[c]?this._oneTimeListeners[c].slice():[];for(const b of f)ap(c,b,this._oneTimeListeners),b.call(this,e);const g=this._eventedParent;g&&(ve(e,typeof this._eventedParentData=="function"?this._eventedParentData():this._eventedParentData),g.fire(e))}else e instanceof lp&&console.error(e.error);return this}listens(e){return!!(this._listeners&&this._listeners[e]&&this._listeners[e].length>0||this._oneTimeListeners&&this._oneTimeListeners[e]&&this._oneTimeListeners[e].length>0||this._eventedParent&&this._eventedParent.listens(e))}setEventedParent(e,r){return this._eventedParent=e,this._eventedParentData=r,this}}a.y=void 0;var Oy={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 Yh(n){return(n=Math.round(n))<0?0:n>255?255:n}function cp(n){return Yh(n[n.length-1]==="%"?parseFloat(n)/100*255:parseInt(n))}function Qh(n){return(e=n[n.length-1]==="%"?parseFloat(n)/100:parseFloat(n))<0?0:e>1?1:e;var e}function up(n,e,r){return r<0?r+=1:r>1&&(r-=1),6*r<1?n+(e-n)*r*6:2*r<1?e:3*r<2?n+(e-n)*(2/3-r)*6:n}try{a.y={}.parseCSSColor=function(n){var e,r=n.replace(/ /g,"").toLowerCase();if(r in Oy)return Oy[r].slice();if(r[0]==="#")return r.length===4?(e=parseInt(r.substr(1),16))>=0&&e<=4095?[(3840&e)>>4|(3840&e)>>8,240&e|(240&e)>>4,15&e|(15&e)<<4,1]:null:r.length===7&&(e=parseInt(r.substr(1),16))>=0&&e<=16777215?[(16711680&e)>>16,(65280&e)>>8,255&e,1]:null;var c=r.indexOf("("),d=r.indexOf(")");if(c!==-1&&d+1===r.length){var f=r.substr(0,c),g=r.substr(c+1,d-(c+1)).split(","),b=1;switch(f){case"rgba":if(g.length!==4)return null;b=Qh(g.pop());case"rgb":return g.length!==3?null:[cp(g[0]),cp(g[1]),cp(g[2]),b];case"hsla":if(g.length!==4)return null;b=Qh(g.pop());case"hsl":if(g.length!==3)return null;var w=(parseFloat(g[0])%360+360)%360/360,I=Qh(g[1]),S=Qh(g[2]),N=S<=.5?S*(I+1):S+I-S*I,z=2*S-N;return[Yh(255*up(z,N,w+1/3)),Yh(255*up(z,N,w)),Yh(255*up(z,N,w-1/3)),b];default:return null}}return null}}catch{}class wo{constructor(e,r,c,d=1){this.r=e,this.g=r,this.b=c,this.a=d}static parse(e){if(!e)return;if(e instanceof wo)return e;if(typeof e!="string")return;const r=a.y(e);return r?new wo(r[0]/255*r[3],r[1]/255*r[3],r[2]/255*r[3],r[3]):void 0}toString(){const[e,r,c,d]=this.toArray();return`rgba(${Math.round(e)},${Math.round(r)},${Math.round(c)},${d})`}toArray(){const{r:e,g:r,b:c,a:d}=this;return d===0?[0,0,0,0]:[255*e/d,255*r/d,255*c/d,d]}toArray01(){const{r:e,g:r,b:c,a:d}=this;return d===0?[0,0,0,0]:[e/d,r/d,c/d,d]}toArray01Scaled(e){const{r,g:c,b:d,a:f}=this;return f===0?[0,0,0]:[r/f*e,c/f*e,d/f*e]}toArray01PremultipliedAlpha(){const{r:e,g:r,b:c,a:d}=this;return[e,r,c,d]}toArray01Linear(){const{r:e,g:r,b:c,a:d}=this;return d===0?[0,0,0,0]:[Math.pow(e/d,2.2),Math.pow(r/d,2.2),Math.pow(c/d,2.2),d]}}wo.black=new wo(0,0,0,1),wo.white=new wo(1,1,1,1),wo.transparent=new wo(0,0,0,0),wo.red=new wo(1,0,0,1),wo.blue=new wo(0,0,1,1);var Sr=wo;function ui(n,e,r){return n*(1-r)+e*r}function zy(n,e,r){return n.map((c,d)=>ui(c,e[d],r))}var Hh=Object.freeze({__proto__:null,array:zy,color:function(n,e,r){return new Sr(ui(n.r,e.r,r),ui(n.g,e.g,r),ui(n.b,e.b,r),ui(n.a,e.a,r))},number:ui});function hp(n,...e){for(const r of e)for(const c in r)n[c]=r[c];return n}class c3 extends Error{constructor(e,r){super(r),this.message=r,this.key=e}}var Ts=c3;class dp{constructor(e,r=[]){this.parent=e,this.bindings={};for(const[c,d]of r)this.bindings[c]=d}concat(e){return new dp(this,e)}get(e){if(this.bindings[e])return this.bindings[e];if(this.parent)return this.parent.get(e);throw new Error(`${e} not found in scope.`)}has(e){return!!this.bindings[e]||!!this.parent&&this.parent.has(e)}}var u3=dp;const Yl={kind:"null"},fn={kind:"number"},Di={kind:"string"},Ai={kind:"boolean"},Zo={kind:"color"},Ql={kind:"object"},yi={kind:"value"},Gh={kind:"collator"},Hl={kind:"formatted"},Xc={kind:"resolvedImage"};function Io(n,e){return{kind:"array",itemType:n,N:e}}function Ir(n){if(n.kind==="array"){const e=Ir(n.itemType);return typeof n.N=="number"?`array<${e}, ${n.N}>`:n.itemType.kind==="value"?"array":`array<${e}>`}return n.kind}const Dn=[Yl,fn,Di,Ai,Zo,Hl,Ql,Io(yi),Xc];function Ja(n,e){if(e.kind==="error")return null;if(n.kind==="array"){if(e.kind==="array"&&(e.N===0&&e.itemType.kind==="value"||!Ja(n.itemType,e.itemType))&&(typeof n.N!="number"||n.N===e.N))return null}else{if(n.kind===e.kind)return null;if(n.kind==="value"){for(const r of Dn)if(!Ja(r,e))return null}}return`Expected ${Ir(n)} but found ${Ir(e)} instead.`}function Rn(n,e){return e.some(r=>r.kind===n.kind)}function ma(n,e){return e.some(r=>r==="null"?n===null:r==="array"?Array.isArray(n):r==="object"?n&&!Array.isArray(n)&&typeof n=="object":r===typeof n)}class ni{constructor(e,r,c){this.sensitivity=e?r?"variant":"case":r?"accent":"base",this.locale=c,this.collator=new Intl.Collator(this.locale?this.locale:[],{sensitivity:this.sensitivity,usage:"search"})}compare(e,r){return this.collator.compare(e,r)}resolvedLocale(){return new Intl.Collator(this.locale?this.locale:[]).resolvedOptions().locale}}class Gl{constructor(e,r,c,d,f){this.text=e.normalize?e.normalize():e,this.image=r,this.scale=c,this.fontStack=d,this.textColor=f}}class no{constructor(e){this.sections=e}static fromString(e){return new no([new Gl(e,null,null,null,null)])}isEmpty(){return this.sections.length===0||!this.sections.some(e=>e.text.length!==0||e.image&&e.image.namePrimary.length!==0)}static factory(e){return e instanceof no?e:no.fromString(e)}toString(){return this.sections.length===0?"":this.sections.map(e=>e.text).join("")}serialize(){const e=["format"];for(const r of this.sections){if(r.image){e.push(["image",r.image.namePrimary]);continue}e.push(r.text);const c={};r.fontStack&&(c["text-font"]=["literal",r.fontStack.split(",")]),r.scale&&(c["font-scale"]=r.scale),r.textColor&&(c["text-color"]=["rgba"].concat(r.textColor.toArray())),e.push(c)}return e}}class An{constructor(e){this.namePrimary=e.namePrimary,e.nameSecondary&&(this.nameSecondary=e.nameSecondary),this.available=e.available}toString(){return this.nameSecondary?`[${this.namePrimary},${this.nameSecondary}]`:this.namePrimary}static fromString(e,r){return e?new An({namePrimary:e,nameSecondary:r,available:!1}):null}serialize(){return this.nameSecondary?["image",this.namePrimary,this.nameSecondary]:["image",this.namePrimary]}}function ky(n,e,r,c){return typeof n=="number"&&n>=0&&n<=255&&typeof e=="number"&&e>=0&&e<=255&&typeof r=="number"&&r>=0&&r<=255?c===void 0||typeof c=="number"&&c>=0&&c<=1?null:`Invalid rgba value [${[n,e,r,c].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid rgba value [${(typeof c=="number"?[n,e,r,c]:[n,e,r]).join(", ")}]: 'r', 'g', and 'b' must be between 0 and 255.`}function el(n){if(n===null||typeof n=="string"||typeof n=="boolean"||typeof n=="number"||n instanceof Sr||n instanceof ni||n instanceof no||n instanceof An)return!0;if(Array.isArray(n)){for(const e of n)if(!el(e))return!1;return!0}if(typeof n=="object"){for(const e in n)if(!el(n[e]))return!1;return!0}return!1}function Nr(n){if(n===null)return Yl;if(typeof n=="string")return Di;if(typeof n=="boolean")return Ai;if(typeof n=="number")return fn;if(n instanceof Sr)return Zo;if(n instanceof ni)return Gh;if(n instanceof no)return Hl;if(n instanceof An)return Xc;if(Array.isArray(n)){const e=n.length;let r;for(const c of n){const d=Nr(c);if(r){if(r===d)continue;r=yi;break}r=d}return Io(r||yi,e)}return Ql}function Wo(n){const e=typeof n;return n===null?"":e==="string"||e==="number"||e==="boolean"?String(n):n instanceof Sr||n instanceof no||n instanceof An?n.toString():JSON.stringify(n)}class ga{constructor(e,r){this.type=e,this.value=r}static parse(e,r){if(e.length!==2)return r.error(`'literal' expression requires exactly one argument, but found ${e.length-1} instead.`);if(!el(e[1]))return r.error("invalid value");const c=e[1];let d=Nr(c);const f=r.expectedType;return d.kind!=="array"||d.N!==0||!f||f.kind!=="array"||typeof f.N=="number"&&f.N!==0||(d=f),new ga(d,c)}evaluate(){return this.value}eachChild(){}outputDefined(){return!0}serialize(){return this.type.kind==="array"||this.type.kind==="object"?["literal",this.value]:this.value instanceof Sr?["rgba"].concat(this.value.toArray()):this.value instanceof no?this.value.serialize():this.value}}var zs=ga,Cr=class{constructor(n){this.name="ExpressionEvaluationError",this.message=n}toJSON(){return this.message}};const fp={string:Di,number:fn,boolean:Ai,object:Ql};class pp{constructor(e,r){this.type=e,this.args=r}static parse(e,r){if(e.length<2)return r.error("Expected at least one argument.");let c,d=1;const f=e[0];if(f==="array"){let b,w;if(e.length>2){const I=e[1];if(typeof I!="string"||!(I in fp)||I==="object")return r.error('The item type argument of "array" must be one of string, number, boolean',1);b=fp[I],d++}else b=yi;if(e.length>3){if(e[2]!==null&&(typeof e[2]!="number"||e[2]<0||e[2]!==Math.floor(e[2])))return r.error('The length argument to "array" must be a positive integer literal',2);w=e[2],d++}c=Io(b,w)}else c=fp[f];const g=[];for(;d<e.length;d++){const b=r.parse(e[d],d,yi);if(!b)return null;g.push(b)}return new pp(c,g)}evaluate(e){for(let r=0;r<this.args.length;r++){const c=this.args[r].evaluate(e);if(!Ja(this.type,Nr(c)))return c;if(r===this.args.length-1)throw new Cr(`Expected value to be of type ${Ir(this.type)}, but found ${Ir(Nr(c))} instead.`)}return null}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every(e=>e.outputDefined())}serialize(){const e=this.type,r=[e.kind];if(e.kind==="array"){const c=e.itemType;if(c.kind==="string"||c.kind==="number"||c.kind==="boolean"){r.push(c.kind);const d=e.N;(typeof d=="number"||this.args.length>1)&&r.push(d)}}return r.concat(this.args.map(c=>c.serialize()))}}var ks=pp;class Zl{constructor(e){this.type=Hl,this.sections=e}static parse(e,r){if(e.length<2)return r.error("Expected at least one argument.");const c=e[1];if(!Array.isArray(c)&&typeof c=="object")return r.error("First argument must be an image or text section.");const d=[];let f=!1;for(let g=1;g<=e.length-1;++g){const b=e[g];if(f&&typeof b=="object"&&!Array.isArray(b)){f=!1;let w=null;if(b["font-scale"]&&(w=r.parse(b["font-scale"],1,fn),!w))return null;let I=null;if(b["text-font"]&&(I=r.parse(b["text-font"],1,Io(Di)),!I))return null;let S=null;if(b["text-color"]&&(S=r.parse(b["text-color"],1,Zo),!S))return null;const N=d[d.length-1];N.scale=w,N.font=I,N.textColor=S}else{const w=r.parse(e[g],1,yi);if(!w)return null;const I=w.type.kind;if(I!=="string"&&I!=="value"&&I!=="null"&&I!=="resolvedImage")return r.error("Formatted text type must be 'string', 'value', 'image' or 'null'.");f=!0,d.push({content:w,scale:null,font:null,textColor:null})}}return new Zl(d)}evaluate(e){return new no(this.sections.map(r=>{const c=r.content.evaluate(e);return Nr(c)===Xc?new Gl("",c,null,null,null):new Gl(Wo(c),null,r.scale?r.scale.evaluate(e):null,r.font?r.font.evaluate(e).join(","):null,r.textColor?r.textColor.evaluate(e):null)}))}eachChild(e){for(const r of this.sections)e(r.content),r.scale&&e(r.scale),r.font&&e(r.font),r.textColor&&e(r.textColor)}outputDefined(){return!1}serialize(){const e=["format"];for(const r of this.sections){e.push(r.content.serialize());const c={};r.scale&&(c["font-scale"]=r.scale.serialize()),r.font&&(c["text-font"]=r.font.serialize()),r.textColor&&(c["text-color"]=r.textColor.serialize()),e.push(c)}return e}}class tl{constructor(e,r){this.type=Xc,this.inputPrimary=e,this.inputSecondary=r}static parse(e,r){if(e.length<2)return r.error("Expected two or more arguments.");const c=r.parse(e[1],1,Di);if(!c)return r.error("No image name provided.");if(e.length===2)return new tl(c);const d=r.parse(e[2],1,Di);return d?new tl(c,d):r.error("Secondary image variant is not a string.")}evaluate(e){const r=An.fromString(this.inputPrimary.evaluate(e),this.inputSecondary?this.inputSecondary.evaluate(e):void 0);return r&&e.availableImages&&(r.available=e.availableImages.indexOf(r.namePrimary)>-1,r.nameSecondary&&r.available&&e.availableImages&&(r.available=e.availableImages.indexOf(r.nameSecondary)>-1)),r}eachChild(e){e(this.inputPrimary),this.inputSecondary&&e(this.inputSecondary)}outputDefined(){return!1}serialize(){return this.inputSecondary?["image",this.inputPrimary.serialize(),this.inputSecondary.serialize()]:["image",this.inputPrimary.serialize()]}}function Wl(n){return n instanceof Number?"number":n instanceof String?"string":n instanceof Boolean?"boolean":Array.isArray(n)?"array":n===null?"null":typeof n}const ls={"to-boolean":Ai,"to-color":Zo,"to-number":fn,"to-string":Di};class Zh{constructor(e,r){this.type=e,this.args=r}static parse(e,r){if(e.length<2)return r.error("Expected at least one argument.");const c=e[0],d=[];let f=Yl;if(c==="to-array"){if(!Array.isArray(e[1]))return null;const g=e[1].length;if(r.expectedType){if(r.expectedType.kind!=="array")return r.error(`Expected ${r.expectedType.kind} but found array.`);f=Io(r.expectedType.itemType,g)}else{if(!(g>0&&el(e[1][0])))return null;f=Io(Nr(e[1][0]),g)}for(let b=0;b<g;b++){const w=e[1][b];let I;if(Wl(w)==="array")I=r.parse(w,void 0,f.itemType);else{const S=Wl(w);if(S!==f.itemType.kind)return r.error(`Expected ${f.itemType.kind} but found ${S}.`);I=r.registry.literal.parse(["literal",w===void 0?null:w],r)}if(!I)return null;d.push(I)}}else{if((c==="to-boolean"||c==="to-string")&&e.length!==2)return r.error("Expected one argument.");f=ls[c];for(let g=1;g<e.length;g++){const b=r.parse(e[g],g,yi);if(!b)return null;d.push(b)}}return new Zh(f,d)}evaluate(e){if(this.type.kind==="boolean")return!!this.args[0].evaluate(e);if(this.type.kind==="color"){let r,c;for(const d of this.args){if(r=d.evaluate(e),c=null,r instanceof Sr)return r;if(typeof r=="string"){const f=e.parseColor(r);if(f)return f}else if(Array.isArray(r)&&(c=r.length<3||r.length>4?`Invalid rbga value ${JSON.stringify(r)}: expected an array containing either three or four numeric values.`:ky(r[0],r[1],r[2],r[3]),!c))return new Sr(r[0]/255,r[1]/255,r[2]/255,r[3])}throw new Cr(c||`Could not parse color from value '${typeof r=="string"?r:String(JSON.stringify(r))}'`)}if(this.type.kind==="number"){let r=null;for(const c of this.args){if(r=c.evaluate(e),r===null)return 0;const d=Number(r);if(!isNaN(d))return d}throw new Cr(`Could not convert ${JSON.stringify(r)} to number.`)}return this.type.kind==="formatted"?no.fromString(Wo(this.args[0].evaluate(e))):this.type.kind==="resolvedImage"?An.fromString(Wo(this.args[0].evaluate(e))):this.type.kind==="array"?this.args.map(r=>r.evaluate(e)):Wo(this.args[0].evaluate(e))}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every(e=>e.outputDefined())}serialize(){if(this.type.kind==="formatted")return new Zl([{content:this.args[0],scale:null,font:null,textColor:null}]).serialize();if(this.type.kind==="resolvedImage")return new tl(this.args[0]).serialize();const e=this.type.kind==="array"?[]:[`to-${this.type.kind}`];return this.eachChild(r=>{e.push(r.serialize())}),e}}var js=Zh;const Jc=["Unknown","Point","LineString","Polygon"];var jy=class{constructor(n,e){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,this.scope=n,this.options=e}id(){return this.feature&&this.feature.id!==void 0?this.feature.id:null}geometryType(){return this.feature?typeof this.feature.type=="number"?Jc[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||{}}measureLight(n){return this.globals.brightness||0}distanceFromCenter(){if(this.featureTileCoord&&this.featureDistanceData){const n=this.featureDistanceData.center,e=this.featureDistanceData.scale,{x:r,y:c}=this.featureTileCoord;return this.featureDistanceData.bearing[0]*(r*e-n[0])+this.featureDistanceData.bearing[1]*(c*e-n[1])}return 0}parseColor(n){let e=this._parseColorCache[n];return e||(e=this._parseColorCache[n]=Sr.parse(n)),e}getConfig(n){return this.options?this.options.get(n):null}};class nl{constructor(e,r,c,d,f){this.name=e,this.type=r,this._evaluate=c,this.args=d,this._overloadIndex=f}evaluate(e){if(!this._evaluate){const r=nl.definitions[this.name];this._evaluate=Array.isArray(r)?r[2]:r.overloads[this._overloadIndex][1]}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,r){const c=e[0],d=nl.definitions[c];if(!d)return r.error(`Unknown expression "${c}". If you wanted a literal array, use ["literal", [...]].`,0);const f=Array.isArray(d)?d[0]:d.type,g=Array.isArray(d)?[[d[1],d[2]]]:d.overloads,b=[];let w=null,I=-1;for(const[S,N]of g){if(Array.isArray(S)&&S.length!==e.length-1)continue;b.push(S),I++,w=new $y(r.registry,r.path,null,r.scope,void 0,r._scope,r.options);const z=[];let P=!1;for(let F=1;F<e.length;F++){const $=e[F],H=Array.isArray(S)?S[F-1]:S.type,q=w.parse($,1+z.length,H);if(!q){P=!0;break}z.push(q)}if(!P)if(Array.isArray(S)&&S.length!==z.length)w.error(`Expected ${S.length} arguments, but found ${z.length} instead.`);else{for(let F=0;F<z.length;F++){const $=Array.isArray(S)?S[F]:S.type,H=z[F];w.concat(F+1).checkSubtype($,H.type)}if(w.errors.length===0)return new nl(c,f,N,z,I)}}if(b.length===1)r.errors.push(...w.errors);else{const S=(b.length?b:g.map(([z])=>z)).map(Ry).join(" | "),N=[];for(let z=1;z<e.length;z++){const P=r.parse(e[z],1+N.length);if(!P)return null;N.push(Ir(P.type))}r.error(`Expected arguments of type ${S}, but found (${N.join(", ")}) instead.`)}return null}static register(e,r){nl.definitions=r;for(const c in r)e[c]=nl}}function Ry(n){return Array.isArray(n)?`(${n.map(Ir).join(", ")})`:`(${Ir(n.type)}...)`}var fi=nl;class eu{constructor(e,r,c){this.type=Gh,this.locale=c,this.caseSensitive=e,this.diacriticSensitive=r}static parse(e,r){if(e.length!==2)return r.error("Expected one argument.");const c=e[1];if(typeof c!="object"||Array.isArray(c))return r.error("Collator options argument must be an object.");const d=r.parse(c["case-sensitive"]!==void 0&&c["case-sensitive"],1,Ai);if(!d)return null;const f=r.parse(c["diacritic-sensitive"]!==void 0&&c["diacritic-sensitive"],1,Ai);if(!f)return null;let g=null;return c.locale&&(g=r.parse(c.locale,1,Di),!g)?null:new eu(d,f,g)}evaluate(e){return new ni(this.caseSensitive.evaluate(e),this.diacriticSensitive.evaluate(e),this.locale?this.locale.evaluate(e):null)}eachChild(e){e(this.caseSensitive),e(this.diacriticSensitive),this.locale&&e(this.locale)}outputDefined(){return!1}serialize(){const e={};return e["case-sensitive"]=this.caseSensitive.serialize(),e["diacritic-sensitive"]=this.diacriticSensitive.serialize(),this.locale&&(e.locale=this.locale.serialize()),["collator",e]}}var mp={exports:{}};mp.exports=function(){function n(c,d,f,g,b){for(;g>f;){if(g-f>600){var w=g-f+1,I=d-f+1,S=Math.log(w),N=.5*Math.exp(2*S/3),z=.5*Math.sqrt(S*N*(w-N)/w)*(I-w/2<0?-1:1);n(c,d,Math.max(f,Math.floor(d-I*N/w+z)),Math.min(g,Math.floor(d+(w-I)*N/w+z)),b)}var P=c[d],F=f,$=g;for(e(c,f,d),b(c[g],P)>0&&e(c,f,g);F<$;){for(e(c,F,$),F++,$--;b(c[F],P)<0;)F++;for(;b(c[$],P)>0;)$--}b(c[f],P)===0?e(c,f,$):e(c,++$,g),$<=d&&(f=$+1),d<=$&&(g=$-1)}}function e(c,d,f){var g=c[d];c[d]=c[f],c[f]=g}function r(c,d){return c<d?-1:c>d?1:0}return function(c,d,f,g,b){n(c,d,f||0,g||c.length-1,b||r)}}();var h3=ne(mp.exports);function d3(n){let e=0;for(let r,c,d=0,f=n.length,g=f-1;d<f;g=d++)r=n[d],c=n[g],e+=(c.x-r.x)*(r.y+c.y);return e}function ya(n,e){n[0]=Math.min(n[0],e[0]),n[1]=Math.min(n[1],e[1]),n[2]=Math.max(n[2],e[0]),n[3]=Math.max(n[3],e[1])}function _a(n,e){return!(n[0]<=e[0]||n[2]>=e[2]||n[1]<=e[1]||n[3]>=e[3])}function Wh(n,e,r){const c=n[0]-e[0],d=n[1]-e[1],f=n[0]-r[0],g=n[1]-r[1];return c*g-f*d==0&&c*f<=0&&d*g<=0}function ql(n,e,r=!1){let c=!1;for(let b=0,w=e.length;b<w;b++){const I=e[b];for(let S=0,N=I.length,z=N-1;S<N;z=S++){const P=I[z],F=I[S];if(Wh(n,P,F))return r;(f=P)[1]>(d=n)[1]!=(g=F)[1]>d[1]&&d[0]<(g[0]-f[0])*(d[1]-f[1])/(g[1]-f[1])+f[0]&&(c=!c)}}var d,f,g;return c}function gp(n,e,r,c){const d=c[0]-r[0],f=c[1]-r[1],g=(n[0]-r[0])*f-d*(n[1]-r[1]),b=(e[0]-r[0])*f-d*(e[1]-r[1]);return g>0&&b<0||g<0&&b>0}function Rs(n,e,r,c){return(d=[c[0]-r[0],c[1]-r[1]])[0]*(f=[e[0]-n[0],e[1]-n[1]])[1]-d[1]*f[0]!=0&&!(!gp(n,e,r,c)||!gp(r,c,n,e));var d,f}const va=8192;function tu(n,e){const r=(180+n[0])/360,c=(180-180/Math.PI*Math.log(Math.tan(Math.PI/4+n[1]*Math.PI/360)))/360,d=Math.pow(2,e.z);return[Math.round(r*d*va),Math.round(c*d*va)]}function yp(n,e){for(let r=0;r<e.length;r++)if(ql(n,e[r]))return!0;return!1}function _p(n,e,r){for(const c of r)for(let d=0,f=c.length,g=f-1;d<f;g=d++)if(Rs(n,e,c[g],c[d]))return!0;return!1}function qo(n,e){for(let r=0;r<n.length;++r)if(!ql(n[r],e))return!1;for(let r=0;r<n.length-1;++r)if(_p(n[r],n[r+1],e))return!1;return!0}function Py(n,e){for(let r=0;r<e.length;r++)if(qo(n,e[r]))return!0;return!1}function vp(n,e,r){const c=[];for(let d=0;d<n.length;d++){const f=[];for(let g=0;g<n[d].length;g++){const b=tu(n[d][g],r);ya(e,b),f.push(b)}c.push(f)}return c}function xp(n,e,r){const c=[];for(let d=0;d<n.length;d++){const f=vp(n[d],e,r);c.push(f)}return c}function bp(n,e,r,c){if(n[0]<r[0]||n[0]>r[2]){const d=.5*c;let f=n[0]-r[0]>d?-c:r[0]-n[0]>d?c:0;f===0&&(f=n[0]-r[2]>d?-c:r[2]-n[0]>d?c:0),n[0]+=f}ya(e,n)}function Mp(n,e,r,c){const d=Math.pow(2,c.z)*va,f=[c.x*va,c.y*va],g=[];if(!n)return g;for(const b of n)for(const w of b){const I=[w.x+f[0],w.y+f[1]];bp(I,e,r,d),g.push(I)}return g}function wp(n,e,r,c){const d=Math.pow(2,c.z)*va,f=[c.x*va,c.y*va],g=[];if(!n)return g;for(const w of n){const I=[];for(const S of w){const N=[S.x+f[0],S.y+f[1]];ya(e,N),I.push(N)}g.push(I)}if(e[2]-e[0]<=d/2){(b=e)[0]=b[1]=1/0,b[2]=b[3]=-1/0;for(const w of g)for(const I of w)bp(I,e,r,d)}var b;return g}class Kl{constructor(e,r){this.type=Ai,this.geojson=e,this.geometries=r}static parse(e,r){if(e.length!==2)return r.error(`'within' expression requires exactly one argument, but found ${e.length-1} instead.`);if(el(e[1])){const c=e[1];if(c.type==="FeatureCollection")for(let d=0;d<c.features.length;++d){const f=c.features[d].geometry.type;if(f==="Polygon"||f==="MultiPolygon")return new Kl(c,c.features[d].geometry)}else if(c.type==="Feature"){const d=c.geometry.type;if(d==="Polygon"||d==="MultiPolygon")return new Kl(c,c.geometry)}else if(c.type==="Polygon"||c.type==="MultiPolygon")return new Kl(c,c)}return r.error("'within' expression requires valid geojson object that contains polygon geometry type.")}evaluate(e){if(e.geometry()!=null&&e.canonicalID()!=null){if(e.geometryType()==="Point")return function(r,c){const d=[1/0,1/0,-1/0,-1/0],f=[1/0,1/0,-1/0,-1/0],g=r.canonicalID();if(!g)return!1;if(c.type==="Polygon"){const b=vp(c.coordinates,f,g),w=Mp(r.geometry(),d,f,g);if(!_a(d,f))return!1;for(const I of w)if(!ql(I,b))return!1}if(c.type==="MultiPolygon"){const b=xp(c.coordinates,f,g),w=Mp(r.geometry(),d,f,g);if(!_a(d,f))return!1;for(const I of w)if(!yp(I,b))return!1}return!0}(e,this.geometries);if(e.geometryType()==="LineString")return function(r,c){const d=[1/0,1/0,-1/0,-1/0],f=[1/0,1/0,-1/0,-1/0],g=r.canonicalID();if(!g)return!1;if(c.type==="Polygon"){const b=vp(c.coordinates,f,g),w=wp(r.geometry(),d,f,g);if(!_a(d,f))return!1;for(const I of w)if(!qo(I,b))return!1}if(c.type==="MultiPolygon"){const b=xp(c.coordinates,f,g),w=wp(r.geometry(),d,f,g);if(!_a(d,f))return!1;for(const I of w)if(!Py(I,b))return!1}return!0}(e,this.geometries)}return!1}eachChild(){}outputDefined(){return!0}serialize(){return["within",this.geojson]}}var qh=Kl,nu={exports:{}};nu.exports=function(){var n={kilometers:1,miles:.621371192237334,nauticalmiles:.5399568034557235,meters:1e3,metres:1e3,yards:1093.6132983377079,feet:3280.839895013123,inches:39370.078740157485},e=1/298.257223563,r=e*(2-e),c=Math.PI/180,d=function(I,S){if(I===void 0)throw new Error("No latitude given.");if(S&&!n[S])throw new Error("Unknown unit "+S+". Use one of: "+Object.keys(n).join(", "));var N=6378.137*c*(S?n[S]:1),z=Math.cos(I*c),P=1/(1-r*(1-z*z)),F=Math.sqrt(P);this.kx=N*F*z,this.ky=N*F*P*(1-r)},f={units:{configurable:!0}};function g(I,S){return I[0]===S[0]&&I[1]===S[1]}function b(I,S,N){var z=w(S[0]-I[0]);return[I[0]+z*N,I[1]+(S[1]-I[1])*N]}function w(I){for(;I<-180;)I+=360;for(;I>180;)I-=360;return I}return d.fromTile=function(I,S,N){var z=Math.PI*(1-2*(I+.5)/Math.pow(2,S)),P=Math.atan(.5*(Math.exp(z)-Math.exp(-z)))/c;return new d(P,N)},f.units.get=function(){return n},d.prototype.distance=function(I,S){var N=w(I[0]-S[0])*this.kx,z=(I[1]-S[1])*this.ky;return Math.sqrt(N*N+z*z)},d.prototype.bearing=function(I,S){var N=w(S[0]-I[0])*this.kx;return Math.atan2(N,(S[1]-I[1])*this.ky)/c},d.prototype.destination=function(I,S,N){var z=N*c;return this.offset(I,Math.sin(z)*S,Math.cos(z)*S)},d.prototype.offset=function(I,S,N){return[I[0]+S/this.kx,I[1]+N/this.ky]},d.prototype.lineDistance=function(I){for(var S=0,N=0;N<I.length-1;N++)S+=this.distance(I[N],I[N+1]);return S},d.prototype.area=function(I){for(var S=0,N=0;N<I.length;N++)for(var z=I[N],P=0,F=z.length,$=F-1;P<F;$=P++)S+=w(z[P][0]-z[$][0])*(z[P][1]+z[$][1])*(N?-1:1);return Math.abs(S)/2*this.kx*this.ky},d.prototype.along=function(I,S){var N=0;if(S<=0)return I[0];for(var z=0;z<I.length-1;z++){var P=I[z],F=I[z+1],$=this.distance(P,F);if((N+=$)>S)return b(P,F,(S-(N-$))/$)}return I[I.length-1]},d.prototype.pointToSegmentDistance=function(I,S,N){var z=S[0],P=S[1],F=w(N[0]-z)*this.kx,$=(N[1]-P)*this.ky,H=0;return F===0&&$===0||((H=(w(I[0]-z)*this.kx*F+(I[1]-P)*this.ky*$)/(F*F+$*$))>1?(z=N[0],P=N[1]):H>0&&(z+=F/this.kx*H,P+=$/this.ky*H)),F=w(I[0]-z)*this.kx,$=(I[1]-P)*this.ky,Math.sqrt(F*F+$*$)},d.prototype.pointOnLine=function(I,S){for(var N,z,P,F,$=1/0,H=0;H<I.length-1;H++){var q=I[H][0],he=I[H][1],_e=w(I[H+1][0]-q)*this.kx,ye=(I[H+1][1]-he)*this.ky,De=0;_e===0&&ye===0||((De=(w(S[0]-q)*this.kx*_e+(S[1]-he)*this.ky*ye)/(_e*_e+ye*ye))>1?(q=I[H+1][0],he=I[H+1][1]):De>0&&(q+=_e/this.kx*De,he+=ye/this.ky*De));var Te=(_e=w(S[0]-q)*this.kx)*_e+(ye=(S[1]-he)*this.ky)*ye;Te<$&&($=Te,N=q,z=he,P=H,F=De)}return{point:[N,z],index:P,t:Math.max(0,Math.min(1,F))}},d.prototype.lineSlice=function(I,S,N){var z=this.pointOnLine(N,I),P=this.pointOnLine(N,S);if(z.index>P.index||z.index===P.index&&z.t>P.t){var F=z;z=P,P=F}var $=[z.point],H=z.index+1,q=P.index;!g(N[H],$[0])&&H<=q&&$.push(N[H]);for(var he=H+1;he<=q;he++)$.push(N[he]);return g(N[q],P.point)||$.push(P.point),$},d.prototype.lineSliceAlong=function(I,S,N){for(var z=0,P=[],F=0;F<N.length-1;F++){var $=N[F],H=N[F+1],q=this.distance($,H);if((z+=q)>I&&P.length===0&&P.push(b($,H,(I-(z-q))/q)),z>=S)return P.push(b($,H,(S-(z-q))/q)),P;z>I&&P.push(H)}return P},d.prototype.bufferPoint=function(I,S){var N=S/this.ky,z=S/this.kx;return[I[0]-z,I[1]-N,I[0]+z,I[1]+N]},d.prototype.bufferBBox=function(I,S){var N=S/this.ky,z=S/this.kx;return[I[0]-z,I[1]-N,I[2]+z,I[3]+N]},d.prototype.insideBBox=function(I,S){return w(I[0]-S[0])>=0&&w(I[0]-S[2])<=0&&I[1]>=S[1]&&I[1]<=S[3]},Object.defineProperties(d,f),d}();var xa=ne(nu.exports),Ip={exports:{}};Ip.exports=function(){var n=function(r,c){if(r===void 0&&(r=[]),c===void 0&&(c=e),this.data=r,this.length=this.data.length,this.compare=c,this.length>0)for(var d=(this.length>>1)-1;d>=0;d--)this._down(d)};function e(r,c){return r<c?-1:r>c?1:0}return n.prototype.push=function(r){this.data.push(r),this.length++,this._up(this.length-1)},n.prototype.pop=function(){if(this.length!==0){var r=this.data[0],c=this.data.pop();return this.length--,this.length>0&&(this.data[0]=c,this._down(0)),r}},n.prototype.peek=function(){return this.data[0]},n.prototype._up=function(r){for(var c=this.data,d=this.compare,f=c[r];r>0;){var g=r-1>>1,b=c[g];if(d(f,b)>=0)break;c[r]=b,r=g}c[r]=f},n.prototype._down=function(r){for(var c=this.data,d=this.compare,f=this.length>>1,g=c[r];r<f;){var b=1+(r<<1),w=c[b],I=b+1;if(I<this.length&&d(c[I],w)<0&&(b=I,w=c[I]),d(w,g)>=0)break;c[r]=w,r=b}c[r]=g},n}();var Ko=ne(Ip.exports),un=8192;function Kh(n,e){return e.dist-n.dist}const Tp=100,iu=50;function Ep(n){const e=[1/0,1/0,-1/0,-1/0];if(e.length!==n.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==n[r])return!1;return!0}function ba(n){return n[1]-n[0]+1}function cs(n,e){const r=n[1]>=n[0]&&n[1]<e;return r||console.warn("Distance Expression: Index is out of range"),r}function Sp(n,e){if(n[0]>n[1])return[null,null];const r=ba(n);if(e){if(r===2)return[n,null];const c=Math.floor(r/2);return[[n[0],n[0]+c],[n[0]+c,n[1]]]}{if(r===1)return[n,null];const c=Math.floor(r/2)-1;return[[n[0],n[0]+c],[n[0]+c+1,n[1]]]}}function il(n,e){const r=[1/0,1/0,-1/0,-1/0];if(!cs(e,n.length))return r;for(let c=e[0];c<=e[1];++c)ya(r,n[c]);return r}function Xh(n){const e=[1/0,1/0,-1/0,-1/0];for(let r=0;r<n.length;++r)for(let c=0;c<n[r].length;++c)ya(e,n[r][c]);return e}function rl(n,e,r){if(Ep(n)||Ep(e))return NaN;let c=0,d=0;return n[2]<e[0]&&(c=e[0]-n[2]),n[0]>e[2]&&(c=n[0]-e[2]),n[1]>e[3]&&(d=n[1]-e[3]),n[3]<e[1]&&(d=e[1]-n[3]),r.distance([0,0],[c,d])}function Dp(n){return 360*n-180}function f3(n){return 360/Math.PI*Math.atan(Math.exp((180-360*n)*Math.PI/180))-90}function Xl(n,e){const r=Math.pow(2,e.z),c=(n.y/un+e.y)/r;return[Dp((n.x/un+e.x)/r),f3(c)]}function p3(n,e){const r=[];for(let c=0;c<n.length;++c)r.push(Xl(n[c],e));return r}function Uy(n,e,r){const c=r.pointOnLine(e,n).point;return r.distance(n,c)}function By(n,e,r,c,d){const f=r.slice(c[0],c[1]+1);let g=1/0;for(let b=e[0];b<=e[1];++b)if((g=Math.min(g,Uy(n[b],f,d)))===0)return 0;return g}function Ap(n,e,r,c,d){const f=Math.min(d.pointToSegmentDistance(n,r,c),d.pointToSegmentDistance(e,r,c)),g=Math.min(d.pointToSegmentDistance(r,n,e),d.pointToSegmentDistance(c,n,e));return Math.min(f,g)}function m3(n,e,r,c,d){if(!cs(e,n.length)||!cs(c,r.length))return NaN;let f=1/0;for(let g=e[0];g<e[1];++g)for(let b=c[0];b<c[1];++b){if(Rs(n[g],n[g+1],r[b],r[b+1]))return 0;f=Math.min(f,Ap(n[g],n[g+1],r[b],r[b+1],d))}return f}function g3(n,e,r,c,d){if(!cs(e,n.length)||!cs(c,r.length))return NaN;let f=1/0;for(let g=e[0];g<=e[1];++g)for(let b=c[0];b<=c[1];++b)if((f=Math.min(f,d.distance(n[g],r[b])))===0)return f;return f}function y3(n,e,r){if(ql(n,e,!0))return 0;let c=1/0;for(const d of e){const f=d.length;if(f<2)return console.warn("Distance Expression: Invalid polygon!"),NaN;if(d[0]!==d[f-1]&&(c=Math.min(c,r.pointToSegmentDistance(n,d[f-1],d[0])))===0||(c=Math.min(c,Uy(n,d,r)))===0)return c}return c}function Fy(n,e,r,c){if(!cs(e,n.length))return NaN;for(let f=e[0];f<=e[1];++f)if(ql(n[f],r,!0))return 0;let d=1/0;for(let f=e[0];f<e[1];++f)for(const g of r)for(let b=0,w=g.length,I=w-1;b<w;I=b++){if(Rs(n[f],n[f+1],g[I],g[b]))return 0;d=Math.min(d,Ap(n[f],n[f+1],g[I],g[b],c))}return d}function ru(n,e){for(const r of n)for(let c=0;c<=r.length-1;++c)if(ql(r[c],e,!0))return!0;return!1}function _3(n,e,r,c=1/0){const d=Xh(n),f=Xh(e);if(c!==1/0&&rl(d,f,r)>=c)return c;if(_a(d,f)){if(ru(n,e))return 0}else if(ru(e,n))return 0;let g=c;for(const b of n)for(let w=0,I=b.length,S=I-1;w<I;S=w++)for(const N of e)for(let z=0,P=N.length,F=P-1;z<P;F=z++){if(Rs(b[S],b[w],N[F],N[z]))return 0;g=Math.min(g,Ap(b[S],b[w],N[F],N[z],r))}return g}function Jh(n,e,r,c,d,f,g){if(f===null||g===null)return;const b=rl(il(c,f),il(d,g),r);b<e&&n.push({dist:b,range1:f,range2:g})}function Np(n,e,r,c,d=1/0){let f=Math.min(c.distance(n[0],r[0][0]),d);if(f===0)return f;const g=new Ko([{dist:0,range1:[0,n.length-1],range2:[0,0]}],Kh),b=e?iu:Tp,w=Xh(r);for(;g.length;){const I=g.pop();if(I.dist>=f)continue;const S=I.range1;if(ba(S)<=b){if(!cs(S,n.length))return NaN;if(e){const N=Fy(n,S,r,c);if((f=Math.min(f,N))===0)return f}else for(let N=S[0];N<=S[1];++N){const z=y3(n[N],r,c);if((f=Math.min(f,z))===0)return f}}else{const N=Sp(S,e);if(N[0]!==null){const z=rl(il(n,N[0]),w,c);z<f&&g.push({dist:z,range1:N[0],range2:[0,0]})}if(N[1]!==null){const z=rl(il(n,N[1]),w,c);z<f&&g.push({dist:z,range1:N[1],range2:[0,0]})}}}return f}function Vy(n,e,r,c,d,f=1/0){let g=Math.min(f,d.distance(n[0],r[0]));if(g===0)return g;const b=new Ko([{dist:0,range1:[0,n.length-1],range2:[0,r.length-1]}],Kh),w=e?iu:Tp,I=c?iu:Tp;for(;b.length;){const S=b.pop();if(S.dist>=g)continue;const N=S.range1,z=S.range2;if(ba(N)<=w&&ba(z)<=I){if(!cs(N,n.length)||!cs(z,r.length))return NaN;if(e&&c?g=Math.min(g,m3(n,N,r,z,d)):e||c?e&&!c?g=Math.min(g,By(r,z,n,N,d)):!e&&c&&(g=Math.min(g,By(n,N,r,z,d))):g=Math.min(g,g3(n,N,r,z,d)),g===0)return g}else{const P=Sp(N,e),F=Sp(z,c);Jh(b,g,d,n,r,P[0],F[0]),Jh(b,g,d,n,r,P[0],F[1]),Jh(b,g,d,n,r,P[1],F[0]),Jh(b,g,d,n,r,P[1],F[1])}}return g}function Cp(n,e,r,c,d=1/0){let f=d;const g=il(n,[0,n.length-1]);for(const b of r)if(!(f!==1/0&&rl(g,il(b,[0,b.length-1]),c)>=f)&&(f=Math.min(f,Vy(n,e,b,!0,c,f)),f===0))return f;return f}function ed(n,e,r,c,d=1/0){let f=d;const g=il(n,[0,n.length-1]);for(const b of r){if(f!==1/0&&rl(g,Xh(b),c)>=f)continue;const w=Np(n,e,b,c,f);if(isNaN(w))return w;if((f=Math.min(f,w))===0)return f}return f}function Lp(n){return n==="Point"||n==="MultiPoint"||n==="LineString"||n==="MultiLineString"||n==="Polygon"||n==="MultiPolygon"}class ol{constructor(e,r){this.type=fn,this.geojson=e,this.geometries=r}static parse(e,r){if(e.length!==2)return r.error(`'distance' expression requires either one argument, but found ' ${e.length-1} instead.`);if(el(e[1])){const c=e[1];if(c.type==="FeatureCollection"){for(let d=0;d<c.features.length;++d)if(Lp(c.features[d].geometry.type))return new ol(c,c.features[d].geometry)}else if(c.type==="Feature"){if(Lp(c.geometry.type))return new ol(c,c.geometry)}else if(Lp(c.type))return new ol(c,c)}return r.error("'distance' expression needs to be an array with format ['Distance', GeoJSONObj].")}evaluate(e){const r=e.geometry(),c=e.canonicalID();if(r!=null&&c!=null){if(e.geometryType()==="Point")return function(d,f,g){const b=[];for(const I of d)for(const S of I)b.push(Xl(S,f));const w=new xa(b[0][1],"meters");return g.type==="Point"||g.type==="MultiPoint"||g.type==="LineString"?Vy(b,!1,g.type==="Point"?[g.coordinates]:g.coordinates,g.type==="LineString",w):g.type==="MultiLineString"?Cp(b,!1,g.coordinates,w):g.type==="Polygon"||g.type==="MultiPolygon"?ed(b,!1,g.type==="Polygon"?[g.coordinates]:g.coordinates,w):null}(r,c,this.geometries);if(e.geometryType()==="LineString")return function(d,f,g){const b=[];for(const I of d){const S=[];for(const N of I)S.push(Xl(N,f));b.push(S)}const w=new xa(b[0][0][1],"meters");if(g.type==="Point"||g.type==="MultiPoint"||g.type==="LineString")return Cp(g.type==="Point"?[g.coordinates]:g.coordinates,g.type==="LineString",b,w);if(g.type==="MultiLineString"){let I=1/0;for(let S=0;S<g.coordinates.length;S++){const N=Cp(g.coordinates[S],!0,b,w,I);if(isNaN(N))return N;if((I=Math.min(I,N))===0)return I}return I}if(g.type==="Polygon"||g.type==="MultiPolygon"){let I=1/0;for(let S=0;S<b.length;S++){const N=ed(b[S],!0,g.type==="Polygon"?[g.coordinates]:g.coordinates,w,I);if(isNaN(N))return N;if((I=Math.min(I,N))===0)return I}return I}return null}(r,c,this.geometries);if(e.geometryType()==="Polygon")return function(d,f,g){const b=[];for(const I of function(S,N){const z=S.length;if(z<=1)return[S];const P=[];let F,$;for(let H=0;H<z;H++){const q=d3(S[H]);q!==0&&(S[H].area=Math.abs(q),$===void 0&&($=q<0),$===q<0?(F&&P.push(F),F=[S[H]]):F.push(S[H]))}return F&&P.push(F),P}(d)){const S=[];for(let N=0;N<I.length;++N)S.push(p3(I[N],f));b.push(S)}const w=new xa(b[0][0][0][1],"meters");if(g.type==="Point"||g.type==="MultiPoint"||g.type==="LineString")return ed(g.type==="Point"?[g.coordinates]:g.coordinates,g.type==="LineString",b,w);if(g.type==="MultiLineString"){let I=1/0;for(let S=0;S<g.coordinates.length;S++){const N=ed(g.coordinates[S],!0,b,w,I);if(isNaN(N))return N;if((I=Math.min(I,N))===0)return I}return I}return g.type==="Polygon"||g.type==="MultiPolygon"?function(I,S,N){let z=1/0;for(const P of I)for(const F of S){const $=_3(P,F,N,z);if(isNaN($))return $;if((z=Math.min(z,$))===0)return z}return z}(g.type==="Polygon"?[g.coordinates]:g.coordinates,b,w):null}(r,c,this.geometries);console.warn("Distance Expression: currently only evaluates valid Point/LineString/Polygon geometries.")}else console.warn("Distance Expression: requirs valid feature and canonical information.");return null}eachChild(){}outputDefined(){return!0}serialize(){return["distance",this.geojson]}}var td=ol;function ou(n,e){switch(n){case"string":return Wo(e);case"number":return+e;case"boolean":return!!e;case"color":return Sr.parse(e);case"formatted":return no.fromString(Wo(e));case"resolvedImage":return An.fromString(Wo(e))}return e}function Op(n,e,r,c){return c!==void 0&&(n=c*Math.round(n/c)),e!==void 0&&n<e&&(n=e),r!==void 0&&n>r&&(n=r),n}class su{constructor(e,r,c){this.type=e,this.key=r,this.scope=c}static parse(e,r){let c=r.expectedType;if(c==null&&(c=yi),e.length<2||e.length>3)return r.error("Invalid number of arguments for 'config' expression.");const d=r.parse(e[1],1);if(!(d instanceof zs))return r.error("Key name of 'config' expression must be a string literal.");if(e.length>=3){const f=r.parse(e[2],2);return f instanceof zs?new su(c,Wo(d.value),Wo(f.value)):r.error("Scope of 'config' expression must be a string literal.")}return new su(c,Wo(d.value))}evaluate(e){const r=[this.key,this.scope,e.scope].filter(Boolean).join(""),c=e.getConfig(r);if(!c)return null;const{type:d,value:f,values:g,minValue:b,maxValue:w,stepValue:I}=c,S=c.default.evaluate(e);let N=S;if(f){const z=e.scope;e.scope=(z||"").split("").slice(1).join(""),N=f.evaluate(e),e.scope=z}return d&&(N=ou(d,N)),N===void 0||b===void 0&&w===void 0&&I===void 0||(typeof N=="number"?N=Op(N,b,w,I):Array.isArray(N)&&(N=N.map(z=>typeof z=="number"?Op(z,b,w,I):z))),f!==void 0&&N!==void 0&&g&&!g.includes(N)&&(N=S,d&&(N=ou(d,N))),(d&&d!==this.type||N!==void 0&&Nr(N)!==this.type)&&(N=ou(this.type.kind,N)),N}eachChild(){}outputDefined(){return!1}serialize(){const e=["config",this.key];return this.scope&&e.concat(this.key),e}}var Jl=su;function ec(n){if(n instanceof fi&&(n.name==="get"&&n.args.length===1||n.name==="feature-state"||n.name==="has"&&n.args.length===1||n.name==="properties"||n.name==="geometry-type"||n.name==="id"||/^filter-/.test(n.name))||n instanceof qh||n instanceof td)return!1;let e=!0;return n.eachChild(r=>{e&&!ec(r)&&(e=!1)}),e}function au(n){if(n instanceof fi&&n.name==="feature-state")return!1;let e=!0;return n.eachChild(r=>{e&&!au(r)&&(e=!1)}),e}function lu(n){if(n instanceof Jl)return!1;let e=!0;return n.eachChild(r=>{e&&!lu(r)&&(e=!1)}),e}function io(n,e){if(n instanceof fi&&e.indexOf(n.name)>=0)return!1;let r=!0;return n.eachChild(c=>{r&&!io(c,e)&&(r=!1)}),r}class Ma{constructor(e,r){this.type=r.type,this.name=e,this.boundExpression=r}static parse(e,r){if(e.length!==2||typeof e[1]!="string")return r.error("'var' expression requires exactly one string literal argument.");const c=e[1];return r.scope.has(c)?new Ma(c,r.scope.get(c)):r.error(`Unknown variable "${c}". Make sure "${c}" 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 vo=Ma;class zp{constructor(e,r=[],c,d=new u3,f=[],g,b){this.registry=e,this.path=r,this.key=r.map(w=>`[${w}]`).join(""),this.scope=d,this.errors=f,this.expectedType=c,this._scope=g,this.options=b}parse(e,r,c,d,f={}){return r||c?this.concat(r,c,d)._parse(e,f):this._parse(e,f)}_parse(e,r){function c(d,f,g){return g==="assert"?new ks(f,[d]):g==="coerce"?new js(f,[d]):d}if(e!==null&&typeof e!="string"&&typeof e!="boolean"&&typeof e!="number"||(e=["literal",e]),Array.isArray(e)){if(e.length===0)return this.error('Expected an array with at least one element. If you wanted a literal array, use ["literal", []].');const d=typeof e[0]=="string"?this.registry[e[0]]:void 0;if(d){let f=d.parse(e,this);if(!f)return null;if(this.expectedType){const g=this.expectedType,b=f.type;if(g.kind!=="string"&&g.kind!=="number"&&g.kind!=="boolean"&&g.kind!=="object"&&g.kind!=="array"||b.kind!=="value")if(g.kind!=="color"&&g.kind!=="formatted"&&g.kind!=="resolvedImage"||b.kind!=="value"&&b.kind!=="string"){if(this.checkSubtype(g,b))return null}else f=c(f,g,r.typeAnnotation||"coerce");else f=c(f,g,r.typeAnnotation||"assert")}if(!(f instanceof zs)&&f.type.kind!=="resolvedImage"&&kp(f)){const g=new jy(this._scope,this.options);try{f=new zs(f.type,f.evaluate(g))}catch(b){return this.error(b.message),null}}return f}return js.parse(["to-array",e],this)}return this.error(e===void 0?"'undefined' value invalid. Use null instead.":typeof e=="object"?'Bare objects invalid. Use ["literal", {...}] instead.':`Expected an array, but found ${typeof e} instead.`)}concat(e,r,c){const d=typeof e=="number"?this.path.concat(e):this.path,f=c?this.scope.concat(c):this.scope;return new zp(this.registry,d,r||null,f,this.errors,this._scope,this.options)}error(e,...r){const c=`${this.key}${r.map(d=>`[${d}]`).join("")}`;this.errors.push(new Ts(c,e))}checkSubtype(e,r){const c=Ja(e,r);return c&&this.error(c),c}}var $y=zp;function kp(n){if(n instanceof vo)return kp(n.boundExpression);if(n instanceof fi&&n.name==="error"||n instanceof eu||n instanceof qh||n instanceof td||n instanceof Jl)return!1;const e=n instanceof js||n instanceof ks;let r=!0;return n.eachChild(c=>{r=e?r&&kp(c):r&&c instanceof zs}),!!r&&ec(n)&&io(n,["zoom","heatmap-density","line-progress","raster-value","sky-radial-progress","accumulated","is-supported-script","pitch","distance-from-center","measure-light","raster-particle-speed"])}function sl(n,e){const r=n.length-1;let c,d,f=0,g=r,b=0;for(;f<=g;)if(b=Math.floor((f+g)/2),c=n[b],d=n[b+1],c<=e){if(b===r||e<d)return b;f=b+1}else{if(!(c>e))throw new Cr("Input is not a number.");g=b-1}return 0}class nd{constructor(e,r,c){this.type=e,this.input=r,this.labels=[],this.outputs=[];for(const[d,f]of c)this.labels.push(d),this.outputs.push(f)}static parse(e,r){if(e.length-1<4)return r.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return r.error("Expected an even number of arguments.");const c=r.parse(e[1],1,fn);if(!c)return null;const d=[];let f=null;r.expectedType&&r.expectedType.kind!=="value"&&(f=r.expectedType);for(let g=1;g<e.length;g+=2){const b=g===1?-1/0:e[g],w=e[g+1],I=g,S=g+1;if(typeof b!="number")return r.error('Input/output pairs for "step" expressions must be defined using literal numeric values (not computed expressions) for the input values.',I);if(d.length&&d[d.length-1][0]>=b)return r.error('Input/output pairs for "step" expressions must be arranged with input values in strictly ascending order.',I);const N=r.parse(w,S,f);if(!N)return null;f=f||N.type,d.push([b,N])}return new nd(f,c,d)}evaluate(e){const r=this.labels,c=this.outputs;if(r.length===1)return c[0].evaluate(e);const d=this.input.evaluate(e);if(d<=r[0])return c[0].evaluate(e);const f=r.length;return d>=r[f-1]?c[f-1].evaluate(e):c[sl(r,d)].evaluate(e)}eachChild(e){e(this.input);for(const r of this.outputs)e(r)}outputDefined(){return this.outputs.every(e=>e.outputDefined())}serialize(){const e=["step",this.input.serialize()];for(let r=0;r<this.labels.length;r++)r>0&&e.push(this.labels[r]),e.push(this.outputs[r].serialize());return e}}var cu=nd;const Yy=.95047,wa=1.08883,Qy=4/29,tc=6/29,jp=3*tc*tc,Hy=tc*tc*tc,v3=Math.PI/180,us=180/Math.PI;function id(n){return n>Hy?Math.pow(n,1/3):n/jp+Qy}function rd(n){return n>tc?n*n*n:jp*(n-Qy)}function od(n){return 255*(n<=.0031308?12.92*n:1.055*Math.pow(n,1/2.4)-.055)}function sd(n){return(n/=255)<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4)}function Rp(n){const e=sd(n.r),r=sd(n.g),c=sd(n.b),d=id((.4124564*e+.3575761*r+.1804375*c)/Yy),f=id((.2126729*e+.7151522*r+.072175*c)/1);return{l:116*f-16,a:500*(d-f),b:200*(f-id((.0193339*e+.119192*r+.9503041*c)/wa)),alpha:n.a}}function Pp(n){let e=(n.l+16)/116,r=isNaN(n.a)?e:e+n.a/500,c=isNaN(n.b)?e:e-n.b/200;return e=1*rd(e),r=Yy*rd(r),c=wa*rd(c),new Sr(od(3.2404542*r-1.5371385*e-.4985314*c),od(-.969266*r+1.8760108*e+.041556*c),od(.0556434*r-.2040259*e+1.0572252*c),n.alpha)}function Gy(n,e,r){const c=e-n;return n+r*(c>180||c<-180?c-360*Math.round(c/360):c)}const nc={forward:Rp,reverse:Pp,interpolate:function(n,e,r){return{l:ui(n.l,e.l,r),a:ui(n.a,e.a,r),b:ui(n.b,e.b,r),alpha:ui(n.alpha,e.alpha,r)}}},ic={forward:function(n){const{l:e,a:r,b:c}=Rp(n),d=Math.atan2(c,r)*us;return{h:d<0?d+360:d,c:Math.sqrt(r*r+c*c),l:e,alpha:n.a}},reverse:function(n){const e=n.h*v3,r=n.c;return Pp({l:n.l,a:Math.cos(e)*r,b:Math.sin(e)*r,alpha:n.alpha})},interpolate:function(n,e,r){return{h:Gy(n.h,e.h,r),c:ui(n.c,e.c,r),l:ui(n.l,e.l,r),alpha:ui(n.alpha,e.alpha,r)}}};var Up=Object.freeze({__proto__:null,hcl:ic,lab:nc});class uu{constructor(e,r,c,d,f){this.type=e,this.operator=r,this.interpolation=c,this.input=d,this.labels=[],this.outputs=[];for(const[g,b]of f)this.labels.push(g),this.outputs.push(b)}static interpolationFactor(e,r,c,d){let f=0;if(e.name==="exponential")f=rc(r,e.base,c,d);else if(e.name==="linear")f=rc(r,1,c,d);else if(e.name==="cubic-bezier"){const g=e.controlPoints;f=new te(g[0],g[1],g[2],g[3]).solve(rc(r,1,c,d))}return f}static parse(e,r){let[c,d,f,...g]=e;if(!Array.isArray(d)||d.length===0)return r.error("Expected an interpolation type expression.",1);if(d[0]==="linear")d={name:"linear"};else if(d[0]==="exponential"){const I=d[1];if(typeof I!="number")return r.error("Exponential interpolation requires a numeric base.",1,1);d={name:"exponential",base:I}}else{if(d[0]!=="cubic-bezier")return r.error(`Unknown interpolation type ${String(d[0])}`,1,0);{const I=d.slice(1);if(I.length!==4||I.some(S=>typeof S!="number"||S<0||S>1))return r.error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1.",1);d={name:"cubic-bezier",controlPoints:I}}}if(e.length-1<4)return r.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if((e.length-1)%2!=0)return r.error("Expected an even number of arguments.");if(f=r.parse(f,2,fn),!f)return null;const b=[];let w=null;c==="interpolate-hcl"||c==="interpolate-lab"?w=Zo:r.expectedType&&r.expectedType.kind!=="value"&&(w=r.expectedType);for(let I=0;I<g.length;I+=2){const S=g[I],N=g[I+1],z=I+3,P=I+4;if(typeof S!="number")return r.error('Input/output pairs for "interpolate" expressions must be defined using literal numeric values (not computed expressions) for the input values.',z);if(b.length&&b[b.length-1][0]>=S)return r.error('Input/output pairs for "interpolate" expressions must be arranged with input values in strictly ascending order.',z);const F=r.parse(N,P,w);if(!F)return null;w=w||F.type,b.push([S,F])}return w.kind==="number"||w.kind==="color"||w.kind==="array"&&w.itemType.kind==="number"&&typeof w.N=="number"?new uu(w,c,d,f,b):r.error(`Type ${Ir(w)} is not interpolatable.`)}evaluate(e){const r=this.labels,c=this.outputs;if(r.length===1)return c[0].evaluate(e);const d=this.input.evaluate(e);if(d<=r[0])return c[0].evaluate(e);const f=r.length;if(d>=r[f-1])return c[f-1].evaluate(e);const g=sl(r,d),b=uu.interpolationFactor(this.interpolation,d,r[g],r[g+1]),w=c[g].evaluate(e),I=c[g+1].evaluate(e);return this.operator==="interpolate"?Hh[this.type.kind.toLowerCase()](w,I,b):this.operator==="interpolate-hcl"?ic.reverse(ic.interpolate(ic.forward(w),ic.forward(I),b)):nc.reverse(nc.interpolate(nc.forward(w),nc.forward(I),b))}eachChild(e){e(this.input);for(const r of this.outputs)e(r)}outputDefined(){return this.outputs.every(e=>e.outputDefined())}serialize(){let e;e=this.interpolation.name==="linear"?["linear"]:this.interpolation.name==="exponential"?this.interpolation.base===1?["linear"]:["exponential",this.interpolation.base]:["cubic-bezier"].concat(this.interpolation.controlPoints);const r=[this.operator,e,this.input.serialize()];for(let c=0;c<this.labels.length;c++)r.push(this.labels[c],this.outputs[c].serialize());return r}}function rc(n,e,r,c){const d=c-r,f=n-r;return d===0?0:e===1?f/d:(Math.pow(e,f)-1)/(Math.pow(e,d)-1)}var Po=uu;class oc{constructor(e,r){this.type=e,this.args=r}static parse(e,r){if(e.length<2)return r.error("Expectected at least one argument.");let c=null;const d=r.expectedType;d&&d.kind!=="value"&&(c=d);const f=[];for(const b of e.slice(1)){const w=r.parse(b,1+f.length,c,void 0,{typeAnnotation:"omit"});if(!w)return null;c=c||w.type,f.push(w)}const g=d&&f.some(b=>Ja(d,b.type));return new oc(g?yi:c,f)}evaluate(e){let r,c=null,d=0;for(const f of this.args){if(d++,c=f.evaluate(e),c&&c instanceof An&&!c.available&&(r||(r=c),c=null,d===this.args.length))return r;if(c!==null)break}return c}eachChild(e){this.args.forEach(e)}outputDefined(){return this.args.every(e=>e.outputDefined())}serialize(){const e=["coalesce"];return this.eachChild(r=>{e.push(r.serialize())}),e}}var Bp=oc;class ad{constructor(e,r){this.type=r.type,this.bindings=[].concat(e),this.result=r}evaluate(e){return this.result.evaluate(e)}eachChild(e){for(const r of this.bindings)e(r[1]);e(this.result)}static parse(e,r){if(e.length<4)return r.error(`Expected at least 3 arguments, but found ${e.length-1} instead.`);const c=[];for(let f=1;f<e.length-1;f+=2){const g=e[f];if(typeof g!="string")return r.error(`Expected string, but found ${typeof g} instead.`,f);if(/[^a-zA-Z0-9_]/.test(g))return r.error("Variable names must contain only alphanumeric characters or '_'.",f);const b=r.parse(e[f+1],f+1);if(!b)return null;c.push([g,b])}const d=r.parse(e[e.length-1],e.length-1,r.expectedType,c);return d?new ad(c,d):null}outputDefined(){return this.result.outputDefined()}serialize(){const e=["let"];for(const[r,c]of this.bindings)e.push(r,c.serialize());return e.push(this.result.serialize()),e}}var Fp=ad;class Ia{constructor(e,r,c){this.type=e,this.index=r,this.input=c}static parse(e,r){if(e.length!==3)return r.error(`Expected 2 arguments, but found ${e.length-1} instead.`);const c=r.parse(e[1],1,fn),d=r.parse(e[2],2,Io(r.expectedType||yi));return c&&d?new Ia(d.type.itemType,c,d):null}evaluate(e){const r=this.index.evaluate(e),c=this.input.evaluate(e);if(r<0)throw new Cr(`Array index out of bounds: ${r} < 0.`);if(r>=c.length)throw new Cr(`Array index out of bounds: ${r} > ${c.length-1}.`);if(r!==Math.floor(r))throw new Cr(`Array index must be an integer, but found ${r} instead.`);return c[r]}eachChild(e){e(this.index),e(this.input)}outputDefined(){return!1}serialize(){return["at",this.index.serialize(),this.input.serialize()]}}var _i=Ia;class Vp{constructor(e,r){this.type=Ai,this.needle=e,this.haystack=r}static parse(e,r){if(e.length!==3)return r.error(`Expected 2 arguments, but found ${e.length-1} instead.`);const c=r.parse(e[1],1,yi),d=r.parse(e[2],2,yi);return c&&d?Rn(c.type,[Ai,Di,fn,Yl,yi])?new Vp(c,d):r.error(`Expected first argument to be of type boolean, string, number or null, but found ${Ir(c.type)} instead`):null}evaluate(e){const r=this.needle.evaluate(e),c=this.haystack.evaluate(e);if(c==null)return!1;if(!ma(r,["boolean","string","number","null"]))throw new Cr(`Expected first argument to be of type boolean, string, number or null, but found ${Ir(Nr(r))} instead.`);if(!ma(c,["string","array"]))throw new Cr(`Expected second argument to be of type array or string, but found ${Ir(Nr(c))} instead.`);return c.indexOf(r)>=0}eachChild(e){e(this.needle),e(this.haystack)}outputDefined(){return!0}serialize(){return["in",this.needle.serialize(),this.haystack.serialize()]}}var x3=Vp;class ld{constructor(e,r,c){this.type=fn,this.needle=e,this.haystack=r,this.fromIndex=c}static parse(e,r){if(e.length<=2||e.length>=5)return r.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const c=r.parse(e[1],1,yi),d=r.parse(e[2],2,yi);if(!c||!d)return null;if(!Rn(c.type,[Ai,Di,fn,Yl,yi]))return r.error(`Expected first argument to be of type boolean, string, number or null, but found ${Ir(c.type)} instead`);if(e.length===4){const f=r.parse(e[3],3,fn);return f?new ld(c,d,f):null}return new ld(c,d)}evaluate(e){const r=this.needle.evaluate(e),c=this.haystack.evaluate(e);if(!ma(r,["boolean","string","number","null"]))throw new Cr(`Expected first argument to be of type boolean, string, number or null, but found ${Ir(Nr(r))} instead.`);if(!ma(c,["string","array"]))throw new Cr(`Expected second argument to be of type array or string, but found ${Ir(Nr(c))} instead.`);if(this.fromIndex){const d=this.fromIndex.evaluate(e);return c.indexOf(r,d)}return c.indexOf(r)}eachChild(e){e(this.needle),e(this.haystack),this.fromIndex&&e(this.fromIndex)}outputDefined(){return!1}serialize(){if(this.fromIndex!=null&&this.fromIndex!==void 0){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 Zy=ld;class $p{constructor(e,r,c,d,f,g){this.inputType=e,this.type=r,this.input=c,this.cases=d,this.outputs=f,this.otherwise=g}static parse(e,r){if(e.length<5)return r.error(`Expected at least 4 arguments, but found only ${e.length-1}.`);if(e.length%2!=1)return r.error("Expected an even number of arguments.");let c,d;r.expectedType&&r.expectedType.kind!=="value"&&(d=r.expectedType);const f={},g=[];for(let I=2;I<e.length-1;I+=2){let S=e[I];const N=e[I+1];Array.isArray(S)||(S=[S]);const z=r.concat(I);if(S.length===0)return z.error("Expected at least one branch label.");for(const F of S){if(typeof F!="number"&&typeof F!="string")return z.error("Branch labels must be numbers or strings.");if(typeof F=="number"&&Math.abs(F)>Number.MAX_SAFE_INTEGER)return z.error(`Branch labels must be integers no larger than ${Number.MAX_SAFE_INTEGER}.`);if(typeof F=="number"&&Math.floor(F)!==F)return z.error("Numeric branch labels must be integer values.");if(c){if(z.checkSubtype(c,Nr(F)))return null}else c=Nr(F);if(f[String(F)]!==void 0)return z.error("Branch labels must be unique.");f[String(F)]=g.length}const P=r.parse(N,I,d);if(!P)return null;d=d||P.type,g.push(P)}const b=r.parse(e[1],1,yi);if(!b)return null;const w=r.parse(e[e.length-1],e.length-1,d);return w?b.type.kind!=="value"&&r.concat(1).checkSubtype(c,b.type)?null:new $p(c,d,b,f,g,w):null}evaluate(e){const r=this.input.evaluate(e);return(Nr(r)===this.inputType&&this.outputs[this.cases[r]]||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()],r=Object.keys(this.cases).sort(),c=[],d={};for(const g of r){const b=d[this.cases[g]];b===void 0?(d[this.cases[g]]=c.length,c.push([this.cases[g],[g]])):c[b][1].push(g)}const f=g=>this.inputType.kind==="number"?Number(g):g;for(const[g,b]of c)e.push(b.length===1?f(b[0]):b.map(f)),e.push(this.outputs[g].serialize());return e.push(this.otherwise.serialize()),e}}var Wy=$p;class cd{constructor(e,r,c){this.type=e,this.branches=r,this.otherwise=c}static parse(e,r){if(e.length<4)return r.error(`Expected at least 3 arguments, but found only ${e.length-1}.`);if(e.length%2!=0)return r.error("Expected an odd number of arguments.");let c;r.expectedType&&r.expectedType.kind!=="value"&&(c=r.expectedType);const d=[];for(let g=1;g<e.length-1;g+=2){const b=r.parse(e[g],g,Ai);if(!b)return null;const w=r.parse(e[g+1],g+1,c);if(!w)return null;d.push([b,w]),c=c||w.type}const f=r.parse(e[e.length-1],e.length-1,c);return f?new cd(c,d,f):null}evaluate(e){for(const[r,c]of this.branches)if(r.evaluate(e))return c.evaluate(e);return this.otherwise.evaluate(e)}eachChild(e){for(const[r,c]of this.branches)e(r),e(c);e(this.otherwise)}outputDefined(){return this.branches.every(([e,r])=>r.outputDefined())&&this.otherwise.outputDefined()}serialize(){const e=["case"];return this.eachChild(r=>{e.push(r.serialize())}),e}}var qy=cd;class hu{constructor(e,r,c,d){this.type=e,this.input=r,this.beginIndex=c,this.endIndex=d}static parse(e,r){if(e.length<=2||e.length>=5)return r.error(`Expected 3 or 4 arguments, but found ${e.length-1} instead.`);const c=r.parse(e[1],1,yi),d=r.parse(e[2],2,fn);if(!c||!d)return null;if(!Rn(c.type,[Io(yi),Di,yi]))return r.error(`Expected first argument to be of type array or string, but found ${Ir(c.type)} instead`);if(e.length===4){const f=r.parse(e[3],3,fn);return f?new hu(c.type,c,d,f):null}return new hu(c.type,c,d)}evaluate(e){const r=this.input.evaluate(e),c=this.beginIndex.evaluate(e);if(!ma(r,["string","array"]))throw new Cr(`Expected first argument to be of type array or string, but found ${Ir(Nr(r))} instead.`);if(this.endIndex){const d=this.endIndex.evaluate(e);return r.slice(c,d)}return r.slice(c)}eachChild(e){e(this.input),e(this.beginIndex),this.endIndex&&e(this.endIndex)}outputDefined(){return!1}serialize(){if(this.endIndex!=null&&this.endIndex!==void 0){const e=this.endIndex.serialize();return["slice",this.input.serialize(),this.beginIndex.serialize(),e]}return["slice",this.input.serialize(),this.beginIndex.serialize()]}}var sc=hu;function Yp(n,e){return n==="=="||n==="!="?e.kind==="boolean"||e.kind==="string"||e.kind==="number"||e.kind==="null"||e.kind==="value":e.kind==="string"||e.kind==="number"||e.kind==="value"}function Qp(n,e,r,c){return c.compare(e,r)===0}function ac(n,e,r){const c=n!=="=="&&n!=="!=";return class o8{constructor(f,g,b){this.type=Ai,this.lhs=f,this.rhs=g,this.collator=b,this.hasUntypedArgument=f.type.kind==="value"||g.type.kind==="value"}static parse(f,g){if(f.length!==3&&f.length!==4)return g.error("Expected two or three arguments.");const b=f[0];let w=g.parse(f[1],1,yi);if(!w)return null;if(!Yp(b,w.type))return g.concat(1).error(`"${b}" comparisons are not supported for type '${Ir(w.type)}'.`);let I=g.parse(f[2],2,yi);if(!I)return null;if(!Yp(b,I.type))return g.concat(2).error(`"${b}" comparisons are not supported for type '${Ir(I.type)}'.`);if(w.type.kind!==I.type.kind&&w.type.kind!=="value"&&I.type.kind!=="value")return g.error(`Cannot compare types '${Ir(w.type)}' and '${Ir(I.type)}'.`);c&&(w.type.kind==="value"&&I.type.kind!=="value"?w=new ks(I.type,[w]):w.type.kind!=="value"&&I.type.kind==="value"&&(I=new ks(w.type,[I])));let S=null;if(f.length===4){if(w.type.kind!=="string"&&I.type.kind!=="string"&&w.type.kind!=="value"&&I.type.kind!=="value")return g.error("Cannot use collator to compare non-string types.");if(S=g.parse(f[3],3,Gh),!S)return null}return new o8(w,I,S)}evaluate(f){const g=this.lhs.evaluate(f),b=this.rhs.evaluate(f);if(c&&this.hasUntypedArgument){const w=Nr(g),I=Nr(b);if(w.kind!==I.kind||w.kind!=="string"&&w.kind!=="number")throw new Cr(`Expected arguments for "${n}" to be (string, string) or (number, number), but found (${w.kind}, ${I.kind}) instead.`)}if(this.collator&&!c&&this.hasUntypedArgument){const w=Nr(g),I=Nr(b);if(w.kind!=="string"||I.kind!=="string")return e(f,g,b)}return this.collator?r(f,g,b,this.collator.evaluate(f)):e(f,g,b)}eachChild(f){f(this.lhs),f(this.rhs),this.collator&&f(this.collator)}outputDefined(){return!0}serialize(){const f=[n];return this.eachChild(g=>{f.push(g.serialize())}),f}}}const Hp=ac("==",function(n,e,r){return e===r},Qp),Gp=ac("!=",function(n,e,r){return e!==r},function(n,e,r,c){return!Qp(0,e,r,c)}),b3=ac("<",function(n,e,r){return e<r},function(n,e,r,c){return c.compare(e,r)<0}),M3=ac(">",function(n,e,r){return e>r},function(n,e,r,c){return c.compare(e,r)>0}),Ky=ac("<=",function(n,e,r){return e<=r},function(n,e,r,c){return c.compare(e,r)<=0}),w3=ac(">=",function(n,e,r){return e>=r},function(n,e,r,c){return c.compare(e,r)>=0});class Zp{constructor(e,r,c,d,f,g){this.type=Di,this.number=e,this.locale=r,this.currency=c,this.unit=d,this.minFractionDigits=f,this.maxFractionDigits=g}static parse(e,r){if(e.length!==3)return r.error("Expected two arguments.");const c=r.parse(e[1],1,fn);if(!c)return null;const d=e[2];if(typeof d!="object"||Array.isArray(d))return r.error("NumberFormat options argument must be an object.");let f=null;if(d.locale&&(f=r.parse(d.locale,1,Di),!f))return null;let g=null;if(d.currency&&(g=r.parse(d.currency,1,Di),!g))return null;let b=null;if(d.unit&&(b=r.parse(d.unit,1,Di),!b))return null;let w=null;if(d["min-fraction-digits"]&&(w=r.parse(d["min-fraction-digits"],1,fn),!w))return null;let I=null;return d["max-fraction-digits"]&&(I=r.parse(d["max-fraction-digits"],1,fn),!I)?null:new Zp(c,f,g,b,w,I)}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 Wp{constructor(e){this.type=fn,this.input=e}static parse(e,r){if(e.length!==2)return r.error(`Expected 1 argument, but found ${e.length-1} instead.`);const c=r.parse(e[1],1);return c?c.type.kind!=="array"&&c.type.kind!=="string"&&c.type.kind!=="value"?r.error(`Expected argument of type string or array, but found ${Ir(c.type)} instead.`):new Wp(c):null}evaluate(e){const r=this.input.evaluate(e);if(typeof r=="string"||Array.isArray(r))return r.length;throw new Cr(`Expected value to be of type string or array, but found ${Ir(Nr(r))} instead.`)}eachChild(e){e(this.input)}outputDefined(){return!1}serialize(){const e=["length"];return this.eachChild(r=>{e.push(r.serialize())}),e}}function Xy(n){return function(){n=1831565813+(n|=0)|0;let e=Math.imul(n^n>>>15,1|n);return e=e+Math.imul(e^e>>>7,61|e)^e,((e^e>>>14)>>>0)/4294967296}}const qp={"==":Hp,"!=":Gp,">":M3,"<":b3,">=":w3,"<=":Ky,array:ks,at:_i,boolean:ks,case:qy,coalesce:Bp,collator:eu,format:Zl,image:tl,in:x3,"index-of":Zy,interpolate:Po,"interpolate-hcl":Po,"interpolate-lab":Po,length:Wp,let:Fp,literal:zs,match:Wy,number:ks,"number-format":Zp,object:ks,slice:sc,step:cu,string:ks,"to-boolean":js,"to-color":js,"to-number":js,"to-string":js,var:vo,within:qh,distance:td,config:Jl};function Kp(n,[e,r,c,d]){e=e.evaluate(n),r=r.evaluate(n),c=c.evaluate(n);const f=d?d.evaluate(n):1,g=ky(e,r,c,f);if(g)throw new Cr(g);return new Sr(e/255*f,r/255*f,c/255*f,f)}function Jy(n,[e,r,c,d]){e=e.evaluate(n),r=r.evaluate(n),c=c.evaluate(n);const f=d?d.evaluate(n):1,g=function(I,S,N,z){return typeof I=="number"&&I>=0&&I<=360?typeof S=="number"&&S>=0&&S<=100&&typeof N=="number"&&N>=0&&N<=100?z===void 0||typeof z=="number"&&z>=0&&z<=1?null:`Invalid hsla value [${[I,S,N,z].join(", ")}]: 'a' must be between 0 and 1.`:`Invalid hsla value [${(typeof z=="number"?[I,S,N,z]:[I,S,N]).join(", ")}]: 's', and 'l' must be between 0 and 100.`:`Invalid hsla value [${(typeof z=="number"?[I,S,N,z]:[I,S,N]).join(", ")}]: 'h' must be between 0 and 360.`}(e,r,c,f);if(g)throw new Cr(g);const b=`hsla(${e}, ${r}%, ${c}%, ${f})`,w=Sr.parse(b);if(!w)throw new Cr(`Failed to parse HSLA color: ${b}`);return w}function Xp(n,e){return n in e}function Jp(n,e){const r=e[n];return r===void 0?null:r}function al(n){return{type:n}}fi.register(qp,{error:[{kind:"error"},[Di],(n,[e])=>{throw new Cr(e.evaluate(n))}],typeof:[Di,[yi],(n,[e])=>Ir(Nr(e.evaluate(n)))],"to-rgba":[Io(fn,4),[Zo],(n,[e])=>e.evaluate(n).toArray()],rgb:[Zo,[fn,fn,fn],Kp],rgba:[Zo,[fn,fn,fn,fn],Kp],hsl:[Zo,[fn,fn,fn],Jy],hsla:[Zo,[fn,fn,fn,fn],Jy],has:{type:Ai,overloads:[[[Di],(n,[e])=>Xp(e.evaluate(n),n.properties())],[[Di,Ql],(n,[e,r])=>Xp(e.evaluate(n),r.evaluate(n))]]},get:{type:yi,overloads:[[[Di],(n,[e])=>Jp(e.evaluate(n),n.properties())],[[Di,Ql],(n,[e,r])=>Jp(e.evaluate(n),r.evaluate(n))]]},"feature-state":[yi,[Di],(n,[e])=>Jp(e.evaluate(n),n.featureState||{})],properties:[Ql,[],n=>n.properties()],"geometry-type":[Di,[],n=>n.geometryType()],id:[yi,[],n=>n.id()],zoom:[fn,[],n=>n.globals.zoom],pitch:[fn,[],n=>n.globals.pitch||0],"distance-from-center":[fn,[],n=>n.distanceFromCenter()],"measure-light":[fn,[Di],(n,[e])=>n.measureLight(e.evaluate(n))],"heatmap-density":[fn,[],n=>n.globals.heatmapDensity||0],"line-progress":[fn,[],n=>n.globals.lineProgress||0],"raster-value":[fn,[],n=>n.globals.rasterValue||0],"raster-particle-speed":[fn,[],n=>n.globals.rasterParticleSpeed||0],"sky-radial-progress":[fn,[],n=>n.globals.skyRadialProgress||0],accumulated:[yi,[],n=>n.globals.accumulated===void 0?null:n.globals.accumulated],"+":[fn,al(fn),(n,e)=>{let r=0;for(const c of e)r+=c.evaluate(n);return r}],"*":[fn,al(fn),(n,e)=>{let r=1;for(const c of e)r*=c.evaluate(n);return r}],"-":{type:fn,overloads:[[[fn,fn],(n,[e,r])=>e.evaluate(n)-r.evaluate(n)],[[fn],(n,[e])=>-e.evaluate(n)]]},"/":[fn,[fn,fn],(n,[e,r])=>e.evaluate(n)/r.evaluate(n)],"%":[fn,[fn,fn],(n,[e,r])=>e.evaluate(n)%r.evaluate(n)],ln2:[fn,[],()=>Math.LN2],pi:[fn,[],()=>Math.PI],e:[fn,[],()=>Math.E],"^":[fn,[fn,fn],(n,[e,r])=>Math.pow(e.evaluate(n),r.evaluate(n))],sqrt:[fn,[fn],(n,[e])=>Math.sqrt(e.evaluate(n))],log10:[fn,[fn],(n,[e])=>Math.log(e.evaluate(n))/Math.LN10],ln:[fn,[fn],(n,[e])=>Math.log(e.evaluate(n))],log2:[fn,[fn],(n,[e])=>Math.log(e.evaluate(n))/Math.LN2],sin:[fn,[fn],(n,[e])=>Math.sin(e.evaluate(n))],cos:[fn,[fn],(n,[e])=>Math.cos(e.evaluate(n))],tan:[fn,[fn],(n,[e])=>Math.tan(e.evaluate(n))],asin:[fn,[fn],(n,[e])=>Math.asin(e.evaluate(n))],acos:[fn,[fn],(n,[e])=>Math.acos(e.evaluate(n))],atan:[fn,[fn],(n,[e])=>Math.atan(e.evaluate(n))],min:[fn,al(fn),(n,e)=>Math.min(...e.map(r=>r.evaluate(n)))],max:[fn,al(fn),(n,e)=>Math.max(...e.map(r=>r.evaluate(n)))],abs:[fn,[fn],(n,[e])=>Math.abs(e.evaluate(n))],round:[fn,[fn],(n,[e])=>{const r=e.evaluate(n);return r<0?-Math.round(-r):Math.round(r)}],floor:[fn,[fn],(n,[e])=>Math.floor(e.evaluate(n))],ceil:[fn,[fn],(n,[e])=>Math.ceil(e.evaluate(n))],"filter-==":[Ai,[Di,yi],(n,[e,r])=>n.properties()[e.value]===r.value],"filter-id-==":[Ai,[yi],(n,[e])=>n.id()===e.value],"filter-type-==":[Ai,[Di],(n,[e])=>n.geometryType()===e.value],"filter-<":[Ai,[Di,yi],(n,[e,r])=>{const c=n.properties()[e.value],d=r.value;return typeof c==typeof d&&c<d}],"filter-id-<":[Ai,[yi],(n,[e])=>{const r=n.id(),c=e.value;return typeof r==typeof c&&r<c}],"filter->":[Ai,[Di,yi],(n,[e,r])=>{const c=n.properties()[e.value],d=r.value;return typeof c==typeof d&&c>d}],"filter-id->":[Ai,[yi],(n,[e])=>{const r=n.id(),c=e.value;return typeof r==typeof c&&r>c}],"filter-<=":[Ai,[Di,yi],(n,[e,r])=>{const c=n.properties()[e.value],d=r.value;return typeof c==typeof d&&c<=d}],"filter-id-<=":[Ai,[yi],(n,[e])=>{const r=n.id(),c=e.value;return typeof r==typeof c&&r<=c}],"filter->=":[Ai,[Di,yi],(n,[e,r])=>{const c=n.properties()[e.value],d=r.value;return typeof c==typeof d&&c>=d}],"filter-id->=":[Ai,[yi],(n,[e])=>{const r=n.id(),c=e.value;return typeof r==typeof c&&r>=c}],"filter-has":[Ai,[yi],(n,[e])=>e.value in n.properties()],"filter-has-id":[Ai,[],n=>n.id()!==null&&n.id()!==void 0],"filter-type-in":[Ai,[Io(Di)],(n,[e])=>e.value.indexOf(n.geometryType())>=0],"filter-id-in":[Ai,[Io(yi)],(n,[e])=>e.value.indexOf(n.id())>=0],"filter-in-small":[Ai,[Di,Io(yi)],(n,[e,r])=>r.value.indexOf(n.properties()[e.value])>=0],"filter-in-large":[Ai,[Di,Io(yi)],(n,[e,r])=>function(c,d,f,g){for(;f<=g;){const b=f+g>>1;if(d[b]===c)return!0;d[b]>c?g=b-1:f=b+1}return!1}(n.properties()[e.value],r.value,0,r.value.length-1)],all:{type:Ai,overloads:[[[Ai,Ai],(n,[e,r])=>e.evaluate(n)&&r.evaluate(n)],[al(Ai),(n,e)=>{for(const r of e)if(!r.evaluate(n))return!1;return!0}]]},any:{type:Ai,overloads:[[[Ai,Ai],(n,[e,r])=>e.evaluate(n)||r.evaluate(n)],[al(Ai),(n,e)=>{for(const r of e)if(r.evaluate(n))return!0;return!1}]]},"!":[Ai,[Ai],(n,[e])=>!e.evaluate(n)],"is-supported-script":[Ai,[Di],(n,[e])=>{const r=n.globals&&n.globals.isSupportedScript;return!r||r(e.evaluate(n))}],upcase:[Di,[Di],(n,[e])=>e.evaluate(n).toUpperCase()],downcase:[Di,[Di],(n,[e])=>e.evaluate(n).toLowerCase()],concat:[Di,al(yi),(n,e)=>e.map(r=>Wo(r.evaluate(n))).join("")],"resolved-locale":[Di,[Gh],(n,[e])=>e.evaluate(n).resolvedLocale()],random:[fn,[fn,fn,yi],(n,e)=>{const[r,c,d]=e.map(g=>g.evaluate(n));if(r>c||r===c)return r;let f;if(typeof d=="string")f=function(g){let b=0;if(g.length===0)return b;for(let w=0;w<g.length;w++)b=(b<<5)-b+g.charCodeAt(w),b|=0;return b}(d);else{if(typeof d!="number")throw new Cr(`Invalid seed input: ${d}`);f=d}return r+Xy(f)()*(c-r)}]});var lc=qp;function em(n){return{result:"success",value:n}}function ll(n){return{result:"error",value:n}}function e_(n,e){return!!n&&!!n.parameters&&n.parameters.indexOf(e)>-1}function ud(n){return n["property-type"]==="data-driven"}function tm(n){return e_(n.expression,"measure-light")}function t_(n){return e_(n.expression,"zoom")}function nm(n){return!!n.expression&&n.expression.interpolated}function hd(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)}function n_(n){return n}function im(n,e){const r=e.type==="color",c=n.stops&&typeof n.stops[0][0]=="object",d=c||!(c||n.property!==void 0),f=n.type||(nm(e)?"exponential":"interval");if(r&&((n=hp({},n)).stops&&(n.stops=n.stops.map(I=>[I[0],Sr.parse(I[1])])),n.default=Sr.parse(n.default?n.default:e.default)),n.colorSpace&&n.colorSpace!=="rgb"&&!Up[n.colorSpace])throw new Error(`Unknown color space: ${n.colorSpace}`);let g,b,w;if(f==="exponential")g=i_;else if(f==="interval")g=T3;else if(f==="categorical"){g=I3,b=Object.create(null);for(const I of n.stops)b[I[0]]=I[1];w=typeof n.stops[0][0]}else{if(f!=="identity")throw new Error(`Unknown function type "${f}"`);g=r_}if(c){const I={},S=[];for(let P=0;P<n.stops.length;P++){const F=n.stops[P],$=F[0].zoom;I[$]===void 0&&(I[$]={zoom:$,type:n.type,property:n.property,default:n.default,stops:[]},S.push($)),I[$].stops.push([F[0].value,F[1]])}const N=[];for(const P of S)N.push([I[P].zoom,im(I[P],e)]);const z={name:"linear"};return{kind:"composite",interpolationType:z,interpolationFactor:Po.interpolationFactor.bind(void 0,z),zoomStops:N.map(P=>P[0]),evaluate:({zoom:P},F)=>i_({stops:N,base:n.base},e,P).evaluate(P,F)}}if(d){const I=f==="exponential"?{name:"exponential",base:n.base!==void 0?n.base:1}:null;return{kind:"camera",interpolationType:I,interpolationFactor:Po.interpolationFactor.bind(void 0,I),zoomStops:n.stops.map(S=>S[0]),evaluate:({zoom:S})=>g(n,e,S,b,w)}}return{kind:"source",evaluate(I,S){const N=S&&S.properties?S.properties[n.property]:void 0;return N===void 0?du(n.default,e.default):g(n,e,N,b,w)}}}function du(n,e,r){return n!==void 0?n:e!==void 0?e:r!==void 0?r:void 0}function I3(n,e,r,c,d){return du(typeof r===d?c[r]:void 0,n.default,e.default)}function T3(n,e,r){if(Wl(r)!=="number")return du(n.default,e.default);const c=n.stops.length;if(c===1||r<=n.stops[0][0])return n.stops[0][1];if(r>=n.stops[c-1][0])return n.stops[c-1][1];const d=sl(n.stops.map(f=>f[0]),r);return n.stops[d][1]}function i_(n,e,r){const c=n.base!==void 0?n.base:1;if(Wl(r)!=="number")return du(n.default,e.default);const d=n.stops.length;if(d===1||r<=n.stops[0][0])return n.stops[0][1];if(r>=n.stops[d-1][0])return n.stops[d-1][1];const f=sl(n.stops.map(S=>S[0]),r),g=function(S,N,z,P){const F=P-z,$=S-z;return F===0?0:N===1?$/F:(Math.pow(N,$)-1)/(Math.pow(N,F)-1)}(r,c,n.stops[f][0],n.stops[f+1][0]),b=n.stops[f][1],w=n.stops[f+1][1];let I=Hh[e.type]||n_;if(n.colorSpace&&n.colorSpace!=="rgb"){const S=Up[n.colorSpace];I=(N,z)=>S.reverse(S.interpolate(S.forward(N),S.forward(z),g))}return typeof b.evaluate=="function"?{evaluate(...S){const N=b.evaluate.apply(void 0,S),z=w.evaluate.apply(void 0,S);if(N!==void 0&&z!==void 0)return I(N,z,g)}}:I(b,w,g)}function r_(n,e,r){return e.type==="color"?r=Sr.parse(r):e.type==="formatted"?r=no.fromString(r.toString()):e.type==="resolvedImage"?r=An.fromString(r.toString()):Wl(r)===e.type||e.type==="enum"&&e.values[r]||(r=void 0),du(r,n.default,e.default)}class dd{constructor(e,r,c,d){this.expression=e,this._warningHistory={},this._evaluator=new jy(c,d),this._defaultValue=r?function(f){return f.type==="color"&&(hd(f.default)||Array.isArray(f.default))?new Sr(0,0,0,0):f.type==="color"?Sr.parse(f.default)||null:f.default===void 0?null:f.default}(r):null,this._enumValues=r&&r.type==="enum"?r.values:null}evaluateWithoutErrorHandling(e,r,c,d,f,g,b,w){return this._evaluator.globals=e,this._evaluator.feature=r,this._evaluator.featureState=c,this._evaluator.canonical=d||null,this._evaluator.availableImages=f||null,this._evaluator.formattedSection=g,this._evaluator.featureTileCoord=b||null,this._evaluator.featureDistanceData=w||null,this.expression.evaluate(this._evaluator)}evaluate(e,r,c,d,f,g,b,w){this._evaluator.globals=e,this._evaluator.feature=r||null,this._evaluator.featureState=c||null,this._evaluator.canonical=d||null,this._evaluator.availableImages=f||null,this._evaluator.formattedSection=g||null,this._evaluator.featureTileCoord=b||null,this._evaluator.featureDistanceData=w||null;try{const I=this.expression.evaluate(this._evaluator);if(I==null||typeof I=="number"&&I!=I)return this._defaultValue;if(this._enumValues&&!(I in this._enumValues))throw new Cr(`Expected value to be one of ${Object.keys(this._enumValues).map(S=>JSON.stringify(S)).join(", ")}, but found ${JSON.stringify(I)} instead.`);return I}catch(I){return this._warningHistory[I.message]||(this._warningHistory[I.message]=!0,typeof console<"u"&&console.warn(I.message)),this._defaultValue}}}function fu(n){return Array.isArray(n)&&n.length>0&&typeof n[0]=="string"&&n[0]in lc}function fd(n,e,r,c){const d=new $y(lc,[],e?function(g){const b={color:Zo,string:Di,number:fn,enum:Di,boolean:Ai,formatted:Hl,resolvedImage:Xc};return g.type==="array"?Io(b[g.value]||yi,g.length):b[g.type]}(e):void 0,void 0,void 0,r,c),f=d.parse(n,void 0,void 0,void 0,e&&e.type==="string"?{typeAnnotation:"coerce"}:void 0);return f?em(new dd(f,e,r,c)):ll(d.errors)}class rm{constructor(e,r,c){this.kind=e,this._styleExpression=r,this.isLightConstant=c,this.isStateDependent=e!=="constant"&&!au(r.expression),this.isConfigDependent=!lu(r.expression)}evaluateWithoutErrorHandling(e,r,c,d,f,g){return this._styleExpression.evaluateWithoutErrorHandling(e,r,c,d,f,g)}evaluate(e,r,c,d,f,g){return this._styleExpression.evaluate(e,r,c,d,f,g)}}class pu{constructor(e,r,c,d,f){this.kind=e,this.zoomStops=c,this._styleExpression=r,this.isStateDependent=e!=="camera"&&!au(r.expression),this.isLightConstant=f,this.isConfigDependent=!lu(r.expression),this.interpolationType=d}evaluateWithoutErrorHandling(e,r,c,d,f,g){return this._styleExpression.evaluateWithoutErrorHandling(e,r,c,d,f,g)}evaluate(e,r,c,d,f,g){return this._styleExpression.evaluate(e,r,c,d,f,g)}interpolationFactor(e,r,c){return this.interpolationType?Po.interpolationFactor(this.interpolationType,e,r,c):0}}function pd(n,e,r,c){if((n=fd(n,e,r,c)).result==="error")return n;const d=n.value.expression,f=ec(d);if(!f&&!ud(e))return ll([new Ts("","data expressions not supported")]);const g=io(d,["zoom","pitch","distance-from-center"]);if(!g&&!t_(e))return ll([new Ts("","zoom expressions not supported")]);const b=io(d,["measure-light"]);if(!b&&!tm(e))return ll([new Ts("","measure-light expression not supported")]);const w=e.expression&&e.expression.relaxZoomRestriction,I=gu(d);return I||g||w?I instanceof Ts?ll([I]):I instanceof Po&&!nm(e)?ll([new Ts("",'"interpolate" expressions cannot be used with this property')]):em(I?new pu(f?"camera":"composite",n.value,I.labels,I instanceof Po?I.interpolation:void 0,b):new rm(f?"constant":"source",n.value,b)):ll([new Ts("",'"zoom" expression may only be used as input to a top-level "step" or "interpolate" expression, or in the properties of atmosphere.')])}class mu{constructor(e,r){this._parameters=e,this._specification=r,hp(this,im(this._parameters,this._specification))}static deserialize(e){return new mu(e._parameters,e._specification)}static serialize(e){return{_parameters:e._parameters,_specification:e._specification}}}function gu(n){let e=null;if(n instanceof Fp)e=gu(n.result);else if(n instanceof Bp){for(const r of n.args)if(e=gu(r),e)break}else(n instanceof cu||n instanceof Po)&&n.input instanceof fi&&n.input.name==="zoom"&&(e=n);return e instanceof Ts||n.eachChild(r=>{const c=gu(r);c instanceof Ts?e=c:e&&c&&e!==c&&(e=new Ts("",'Only one zoom-based "step" or "interpolate" subexpression may be used in an expression.'))}),e}var E3=ds,hs=3;function ds(n,e,r){var c=this.cells=[];if(n instanceof ArrayBuffer){this.arrayBuffer=n;var d=new Int32Array(this.arrayBuffer);n=d[0],this.d=(e=d[1])+2*(r=d[2]);for(var f=0;f<this.d*this.d;f++){var g=d[hs+f],b=d[hs+f+1];c.push(g===b?null:d.subarray(g,b))}var w=d[hs+c.length+1];this.keys=d.subarray(d[hs+c.length],w),this.bboxes=d.subarray(w),this.insert=this._insertReadonly}else{this.d=e+2*r;for(var I=0;I<this.d*this.d;I++)c.push([]);this.keys=[],this.bboxes=[]}this.n=e,this.extent=n,this.padding=r,this.scale=e/n,this.uid=0;var S=r/e*n;this.min=-S,this.max=n+S}ds.prototype.insert=function(n,e,r,c,d){this._forEachCell(e,r,c,d,this._insertCell,this.uid++),this.keys.push(n),this.bboxes.push(e),this.bboxes.push(r),this.bboxes.push(c),this.bboxes.push(d)},ds.prototype._insertReadonly=function(){throw"Cannot insert into a GridIndex created from an ArrayBuffer."},ds.prototype._insertCell=function(n,e,r,c,d,f){this.cells[d].push(f)},ds.prototype.query=function(n,e,r,c,d){var f=this.min,g=this.max;if(n<=f&&e<=f&&g<=r&&g<=c&&!d)return Array.prototype.slice.call(this.keys);var b=[];return this._forEachCell(n,e,r,c,this._queryCell,b,{},d),b},ds.prototype._queryCell=function(n,e,r,c,d,f,g,b){var w=this.cells[d];if(w!==null)for(var I=this.keys,S=this.bboxes,N=0;N<w.length;N++){var z=w[N];if(g[z]===void 0){var P=4*z;(b?b(S[P+0],S[P+1],S[P+2],S[P+3]):n<=S[P+2]&&e<=S[P+3]&&r>=S[P+0]&&c>=S[P+1])?(g[z]=!0,f.push(I[z])):g[z]=!1}}},ds.prototype._forEachCell=function(n,e,r,c,d,f,g,b){for(var w=this._convertToCellCoord(n),I=this._convertToCellCoord(e),S=this._convertToCellCoord(r),N=this._convertToCellCoord(c),z=w;z<=S;z++)for(var P=I;P<=N;P++){var F=this.d*P+z;if((!b||b(this._convertFromCellCoord(z),this._convertFromCellCoord(P),this._convertFromCellCoord(z+1),this._convertFromCellCoord(P+1)))&&d.call(this,n,e,r,c,F,f,g,b))return}},ds.prototype._convertFromCellCoord=function(n){return(n-this.padding)/this.scale},ds.prototype._convertToCellCoord=function(n){return Math.max(0,Math.min(this.d-1,Math.floor(n*this.scale)+this.padding))},ds.prototype.toArrayBuffer=function(){if(this.arrayBuffer)return this.arrayBuffer;for(var n=this.cells,e=hs+this.cells.length+1+1,r=0,c=0;c<this.cells.length;c++)r+=this.cells[c].length;var d=new Int32Array(e+r+this.keys.length+this.bboxes.length);d[0]=this.extent,d[1]=this.n,d[2]=this.padding;for(var f=e,g=0;g<n.length;g++){var b=n[g];d[hs+g]=f,d.set(b,f),f+=b.length}return d[hs+n.length]=f,d.set(this.keys,f),d[hs+n.length+1]=f+=this.keys.length,d.set(this.bboxes,f),f+=this.bboxes.length,d.buffer};var Ps=ne(E3);const yu={};function pn(n,e,r={}){Object.defineProperty(n,"_classRegistryKey",{value:e,writeable:!1}),yu[e]={klass:n,omit:r.omit||[]}}pn(Object,"Object"),Ps.serialize=function(n,e){const r=n.toArrayBuffer();return e&&e.add(r),{buffer:r}},Ps.deserialize=function(n){return new Ps(n.buffer)},Object.defineProperty(Ps,"name",{value:"Grid"}),pn(Ps,"Grid"),pn(Sr,"Color"),pn(Error,"Error"),pn(no,"Formatted"),pn(Gl,"FormattedSection"),pn(Gn,"AJAXError"),pn(An,"ResolvedImage"),pn(mu,"StylePropertyFunction"),pn(dd,"StyleExpression",{omit:["_evaluator"]}),pn(pu,"ZoomDependentExpression"),pn(rm,"ZoomConstantExpression"),pn(fi,"CompoundExpression",{omit:["_evaluate"]});for(const n in lc)yu[lc[n]._classRegistryKey]||pn(lc[n],`Expression${n}`);function o_(n){return n&&typeof ArrayBuffer<"u"&&(n instanceof ArrayBuffer||n.constructor&&n.constructor.name==="ArrayBuffer")}function md(n){return self.ImageBitmap&&n instanceof ImageBitmap}function Ta(n,e){if(n==null||typeof n=="boolean"||typeof n=="number"||typeof n=="string"||n instanceof Boolean||n instanceof Number||n instanceof String||n instanceof Date||n instanceof RegExp)return n;if(o_(n)||md(n))return e&&e.add(n),n;if(ArrayBuffer.isView(n)){const r=n;return e&&e.add(r.buffer),r}if(n instanceof ImageData)return e&&e.add(n.data.buffer),n;if(Array.isArray(n)){const r=[];for(const c of n)r.push(Ta(c,e));return r}if(n instanceof Map){const r={$name:"Map"};for(const[c,d]of n.entries())r[c]=Ta(d);return r}if(typeof n=="object"){const r=n.constructor,c=r._classRegistryKey;if(!c)throw new Error(`can't serialize object of unregistered class ${c}`);const d=r.serialize?r.serialize(n,e):{};if(!r.serialize){for(const f in n)n.hasOwnProperty(f)&&(yu[c].omit.indexOf(f)>=0||(d[f]=Ta(n[f],e)));n instanceof Error&&(d.message=n.message)}if(d.$name)throw new Error("$name property is reserved for worker serialization logic.");return c!=="Object"&&(d.$name=c),d}throw new Error("can't serialize object of type "+typeof n)}function cl(n){if(n==null||typeof n=="boolean"||typeof n=="number"||typeof n=="string"||n instanceof Boolean||n instanceof Number||n instanceof String||n instanceof Date||n instanceof RegExp||o_(n)||md(n)||ArrayBuffer.isView(n)||n instanceof ImageData)return n;if(Array.isArray(n))return n.map(cl);if(typeof n=="object"){const e=n.$name||"Object";if(e==="Map"){const d=new Map;for(const f of Object.keys(n))f!=="$name"&&d.set(f,cl(n[f]));return d}const{klass:r}=yu[e];if(!r)throw new Error(`can't deserialize unregistered class ${e}`);if(r.deserialize)return r.deserialize(n);const c=Object.create(r.prototype);for(const d of Object.keys(n))d!=="$name"&&(c[d]=cl(n[d]));return c}throw new Error("can't deserialize object of type "+typeof n)}const _n={"Latin-1 Supplement":n=>n>=128&&n<=255,Arabic:n=>n>=1536&&n<=1791,"Arabic Supplement":n=>n>=1872&&n<=1919,"Arabic Extended-A":n=>n>=2208&&n<=2303,"Hangul Jamo":n=>n>=4352&&n<=4607,"Unified Canadian Aboriginal Syllabics":n=>n>=5120&&n<=5759,Khmer:n=>n>=6016&&n<=6143,"Unified Canadian Aboriginal Syllabics Extended":n=>n>=6320&&n<=6399,"General Punctuation":n=>n>=8192&&n<=8303,"Letterlike Symbols":n=>n>=8448&&n<=8527,"Number Forms":n=>n>=8528&&n<=8591,"Miscellaneous Technical":n=>n>=8960&&n<=9215,"Control Pictures":n=>n>=9216&&n<=9279,"Optical Character Recognition":n=>n>=9280&&n<=9311,"Enclosed Alphanumerics":n=>n>=9312&&n<=9471,"Geometric Shapes":n=>n>=9632&&n<=9727,"Miscellaneous Symbols":n=>n>=9728&&n<=9983,"Miscellaneous Symbols and Arrows":n=>n>=11008&&n<=11263,"CJK Radicals Supplement":n=>n>=11904&&n<=12031,"Kangxi Radicals":n=>n>=12032&&n<=12255,"Ideographic Description Characters":n=>n>=12272&&n<=12287,"CJK Symbols and Punctuation":n=>n>=12288&&n<=12351,Hiragana:n=>n>=12352&&n<=12447,Katakana:n=>n>=12448&&n<=12543,Bopomofo:n=>n>=12544&&n<=12591,"Hangul Compatibility Jamo":n=>n>=12592&&n<=12687,Kanbun:n=>n>=12688&&n<=12703,"Bopomofo Extended":n=>n>=12704&&n<=12735,"CJK Strokes":n=>n>=12736&&n<=12783,"Katakana Phonetic Extensions":n=>n>=12784&&n<=12799,"Enclosed CJK Letters and Months":n=>n>=12800&&n<=13055,"CJK Compatibility":n=>n>=13056&&n<=13311,"CJK Unified Ideographs Extension A":n=>n>=13312&&n<=19903,"Yijing Hexagram Symbols":n=>n>=19904&&n<=19967,"CJK Unified Ideographs":n=>n>=19968&&n<=40959,"Yi Syllables":n=>n>=40960&&n<=42127,"Yi Radicals":n=>n>=42128&&n<=42191,"Hangul Jamo Extended-A":n=>n>=43360&&n<=43391,"Hangul Syllables":n=>n>=44032&&n<=55215,"Hangul Jamo Extended-B":n=>n>=55216&&n<=55295,"Private Use Area":n=>n>=57344&&n<=63743,"CJK Compatibility Ideographs":n=>n>=63744&&n<=64255,"Arabic Presentation Forms-A":n=>n>=64336&&n<=65023,"Vertical Forms":n=>n>=65040&&n<=65055,"CJK Compatibility Forms":n=>n>=65072&&n<=65103,"Small Form Variants":n=>n>=65104&&n<=65135,"Arabic Presentation Forms-B":n=>n>=65136&&n<=65279,"Halfwidth and Fullwidth Forms":n=>n>=65280&&n<=65519,"CJK Unified Ideographs Extension B":n=>n>=131072&&n<=173791};function Ea(n){for(const e of n)if(om(e.charCodeAt(0)))return!0;return!1}function S3(n){for(const e of n)if(!D3(e.charCodeAt(0)))return!1;return!0}function D3(n){return!(_n.Arabic(n)||_n["Arabic Supplement"](n)||_n["Arabic Extended-A"](n)||_n["Arabic Presentation Forms-A"](n)||_n["Arabic Presentation Forms-B"](n))}function om(n){return!(n!==746&&n!==747&&(n<4352||!(_n["Bopomofo Extended"](n)||_n.Bopomofo(n)||_n["CJK Compatibility Forms"](n)&&!(n>=65097&&n<=65103)||_n["CJK Compatibility Ideographs"](n)||_n["CJK Compatibility"](n)||_n["CJK Radicals Supplement"](n)||_n["CJK Strokes"](n)||!(!_n["CJK Symbols and Punctuation"](n)||n>=12296&&n<=12305||n>=12308&&n<=12319||n===12336)||_n["CJK Unified Ideographs Extension A"](n)||_n["CJK Unified Ideographs"](n)||_n["Enclosed CJK Letters and Months"](n)||_n["Hangul Compatibility Jamo"](n)||_n["Hangul Jamo Extended-A"](n)||_n["Hangul Jamo Extended-B"](n)||_n["Hangul Jamo"](n)||_n["Hangul Syllables"](n)||_n.Hiragana(n)||_n["Ideographic Description Characters"](n)||_n.Kanbun(n)||_n["Kangxi Radicals"](n)||_n["Katakana Phonetic Extensions"](n)||_n.Katakana(n)&&n!==12540||!(!_n["Halfwidth and Fullwidth Forms"](n)||n===65288||n===65289||n===65293||n>=65306&&n<=65310||n===65339||n===65341||n===65343||n>=65371&&n<=65503||n===65507||n>=65512&&n<=65519)||!(!_n["Small Form Variants"](n)||n>=65112&&n<=65118||n>=65123&&n<=65126)||_n["Unified Canadian Aboriginal Syllabics"](n)||_n["Unified Canadian Aboriginal Syllabics Extended"](n)||_n["Vertical Forms"](n)||_n["Yijing Hexagram Symbols"](n)||_n["Yi Syllables"](n)||_n["Yi Radicals"](n))))}function s_(n){return!(om(n)||function(e){return!!(_n["Latin-1 Supplement"](e)&&(e===167||e===169||e===174||e===177||e===188||e===189||e===190||e===215||e===247)||_n["General Punctuation"](e)&&(e===8214||e===8224||e===8225||e===8240||e===8241||e===8251||e===8252||e===8258||e===8263||e===8264||e===8265||e===8273)||_n["Letterlike Symbols"](e)||_n["Number Forms"](e)||_n["Miscellaneous Technical"](e)&&(e>=8960&&e<=8967||e>=8972&&e<=8991||e>=8996&&e<=9e3||e===9003||e>=9085&&e<=9114||e>=9150&&e<=9165||e===9167||e>=9169&&e<=9179||e>=9186&&e<=9215)||_n["Control Pictures"](e)&&e!==9251||_n["Optical Character Recognition"](e)||_n["Enclosed Alphanumerics"](e)||_n["Geometric Shapes"](e)||_n["Miscellaneous Symbols"](e)&&!(e>=9754&&e<=9759)||_n["Miscellaneous Symbols and Arrows"](e)&&(e>=11026&&e<=11055||e>=11088&&e<=11097||e>=11192&&e<=11243)||_n["CJK Symbols and Punctuation"](e)||_n.Katakana(e)||_n["Private Use Area"](e)||_n["CJK Compatibility Forms"](e)||_n["Small Form Variants"](e)||_n["Halfwidth and Fullwidth Forms"](e)||e===8734||e===8756||e===8757||e>=9984&&e<=10087||e>=10102&&e<=10131||e===65532||e===65533)}(n))}function a_(n){return n>=1424&&n<=2303||_n["Arabic Presentation Forms-A"](n)||_n["Arabic Presentation Forms-B"](n)}function l_(n,e){return!(!e&&a_(n)||n>=2304&&n<=3583||n>=3840&&n<=4255||_n.Khmer(n))}function sm(n){for(const e of n)if(a_(e.charCodeAt(0)))return!0;return!1}const am="deferred",lm="loading",cm="loaded";let um=null,To="unavailable",Sa=null;const c_=function(n){n&&typeof n=="string"&&n.indexOf("NetworkError")>-1&&(To="error"),um&&um(n)};function hm(){dm.fire(new Xa("pluginStateChange",{pluginStatus:To,pluginURL:Sa}))}const dm=new $l,Da=function(){return To},fm=function(){if(To!==am||!Sa)throw new Error("rtl-text-plugin cannot be downloaded unless a pluginURL is specified");To=lm,hm(),Sa&&St({url:Sa},n=>{n?c_(n):(To=cm,hm())})},Uo={applyArabicShaping:null,processBidirectionalText:null,processStyledBidirectionalText:null,isLoaded:()=>To===cm||Uo.applyArabicShaping!=null,isLoading:()=>To===lm,setState(n){To=n.pluginStatus,Sa=n.pluginURL},isParsed:()=>Uo.applyArabicShaping!=null&&Uo.processBidirectionalText!=null&&Uo.processStyledBidirectionalText!=null,getPluginURL:()=>Sa};class sr{constructor(e,r){this.zoom=e,r?(this.now=r.now,this.fadeDuration=r.fadeDuration,this.transition=r.transition,this.pitch=r.pitch,this.brightness=r.brightness):(this.now=0,this.fadeDuration=0,this.transition={},this.pitch=0,this.brightness=0)}isSupportedScript(e){return function(r,c){for(const d of r)if(!l_(d.charCodeAt(0),c))return!1;return!0}(e,Uo.isLoaded())}}class gd{constructor(e,r,c,d){this.property=e,this.value=r,this.expression=function(f,g,b,w){if(hd(f))return new mu(f,g);if(fu(f)||Array.isArray(f)&&f.length>0){const I=pd(f,g,b,w);if(I.result==="error")throw new Error(I.value.map(S=>`${S.key}: ${S.message}`).join(", "));return I.value}{let I=f;return typeof f=="string"&&g.type==="color"&&(I=Sr.parse(f)),{kind:"constant",isConfigDependent:!1,evaluate:()=>I}}}(r===void 0?e.specification.default:r,e.specification,c,d)}isDataDriven(){return this.expression.kind==="source"||this.expression.kind==="composite"}possiblyEvaluate(e,r,c){return this.property.possiblyEvaluate(this,e,r,c)}}class pm{constructor(e,r,c){this.property=e,this.value=new gd(e,void 0,r,c)}transitioned(e,r){return new mm(this.property,this.value,r,ve({},e.transition,this.transition),e.now)}untransitioned(){return new mm(this.property,this.value,null,{},0)}}class Us{constructor(e,r,c){this._properties=e,this._values=Object.create(e.defaultTransitionablePropertyValues),this._scope=r,this._options=c,this.isConfigDependent=!1}getValue(e){return st(this._values[e].value.value)}setValue(e,r){this._values.hasOwnProperty(e)||(this._values[e]=new pm(this._values[e].property,this._scope,this._options)),this._values[e].value=new gd(this._values[e].property,r===null?void 0:st(r),this._scope,this._options),this.isConfigDependent=this.isConfigDependent||this._values[e].value.expression.isConfigDependent}setTransitionOrValue(e,r){r&&(this._options=r);const c=this._properties.properties;if(e)for(const d in e){const f=e[d];if(Oe(d,"-transition")){const g=d.slice(0,-11);c[g]&&this.setTransition(g,f)}else c[d]&&this.setValue(d,f)}}getTransition(e){return st(this._values[e].transition)}setTransition(e,r){this._values.hasOwnProperty(e)||(this._values[e]=new pm(this._values[e].property)),this._values[e].transition=st(r)||void 0}serialize(){const e={};for(const r of Object.keys(this._values)){const c=this.getValue(r);c!==void 0&&(e[r]=c);const d=this.getTransition(r);d!==void 0&&(e[`${r}-transition`]=d)}return e}transitioned(e,r){const c=new ul(this._properties);for(const d of Object.keys(this._values))c._values[d]=this._values[d].transitioned(e,r._values[d]);return c}untransitioned(){const e=new ul(this._properties);for(const r of Object.keys(this._values))e._values[r]=this._values[r].untransitioned();return e}}class mm{constructor(e,r,c,d,f){const g=d.delay||0,b=d.duration||0;f=f||0,this.property=e,this.value=r,this.begin=f+g,this.end=this.begin+b,e.specification.transition&&(d.delay||d.duration)&&(this.prior=c)}possiblyEvaluate(e,r,c){const d=e.now||0,f=this.value.possiblyEvaluate(e,r,c),g=this.prior;if(g){if(d>this.end)return this.prior=null,f;if(this.value.isDataDriven())return this.prior=null,f;if(d<this.begin)return g.possiblyEvaluate(e,r,c);{const b=(d-this.begin)/(this.end-this.begin);return this.property.interpolate(g.possiblyEvaluate(e,r,c),f,Se(b))}}return f}}class ul{constructor(e){this._properties=e,this._values=Object.create(e.defaultTransitioningPropertyValues)}possiblyEvaluate(e,r,c){const d=new _u(this._properties);for(const f of Object.keys(this._values))d._values[f]=this._values[f].possiblyEvaluate(e,r,c);return d}hasTransition(){for(const e of Object.keys(this._values))if(this._values[e].prior)return!0;return!1}}class A3{constructor(e,r,c){this._properties=e,this._values=Object.create(e.defaultPropertyValues),this._scope=r,this._options=c,this.isConfigDependent=!1}getValue(e){return st(this._values[e].value)}setValue(e,r){this._values[e]=new gd(this._values[e].property,r===null?void 0:st(r),this._scope,this._options),this.isConfigDependent=this.isConfigDependent||this._values[e].expression.isConfigDependent}serialize(){const e={};for(const r of Object.keys(this._values)){const c=this.getValue(r);c!==void 0&&(e[r]=c)}return e}possiblyEvaluate(e,r,c){const d=new _u(this._properties);for(const f of Object.keys(this._values))d._values[f]=this._values[f].possiblyEvaluate(e,r,c);return d}}class cc{constructor(e,r,c){this.property=e,this.value=r,this.parameters=c}isConstant(){return this.value.kind==="constant"}constantOr(e){return this.value.kind==="constant"?this.value.value:e}evaluate(e,r,c,d){return this.property.evaluate(this.value,this.parameters,e,r,c,d)}}class _u{constructor(e){this._properties=e,this._values=Object.create(e.defaultPossiblyEvaluatedValues)}get(e){return this._values[e]}}class tn{constructor(e){this.specification=e}possiblyEvaluate(e,r){return e.expression.evaluate(r)}interpolate(e,r,c){const d=Hh[this.specification.type];return d?d(e,r,c):e}}class Tn{constructor(e,r){this.specification=e,this.overrides=r}possiblyEvaluate(e,r,c,d){return new cc(this,e.expression.kind==="constant"||e.expression.kind==="camera"?{kind:"constant",value:e.expression.evaluate(r,null,{},c,d)}:e.expression,r)}interpolate(e,r,c){if(e.value.kind!=="constant"||r.value.kind!=="constant")return e;if(e.value.value===void 0||r.value.value===void 0)return new cc(this,{kind:"constant",value:void 0},e.parameters);const d=Hh[this.specification.type];return d?new cc(this,{kind:"constant",value:d(e.value.value,r.value.value,c)},e.parameters):e}evaluate(e,r,c,d,f,g){return e.kind==="constant"?e.value:e.evaluate(r,c,d,f,g)}}class hl{constructor(e){this.specification=e}possiblyEvaluate(e,r,c,d){return!!e.expression.evaluate(r,null,{},c,d)}interpolate(){return!1}}class ar{constructor(e){this.properties=e,this.defaultPropertyValues={},this.defaultTransitionablePropertyValues={},this.defaultTransitioningPropertyValues={},this.defaultPossiblyEvaluatedValues={},this.overridableProperties=[];const r=new sr(0,{});for(const c in e){const d=e[c];d.specification.overridable&&this.overridableProperties.push(c);const f=this.defaultPropertyValues[c]=new gd(d,void 0),g=this.defaultTransitionablePropertyValues[c]=new pm(d);this.defaultTransitioningPropertyValues[c]=g.untransitioned(),this.defaultPossiblyEvaluatedValues[c]=f.possiblyEvaluate(r)}}}function vu(n){return n instanceof Number||n instanceof String||n instanceof Boolean?n.valueOf():n}function xu(n){if(Array.isArray(n))return n.map(xu);if(n instanceof Object&&!(n instanceof Number||n instanceof String||n instanceof Boolean)){const e={};for(const r in n)e[r]=xu(n[r]);return e}return vu(n)}pn(Tn,"DataDrivenProperty"),pn(tn,"DataConstantProperty"),pn(hl,"ColorRampProperty");var ut=JSON.parse('{"$version":8,"$root":{"version":{"required":true,"type":"enum","values":[8]},"fragment":{"type":"boolean"},"name":{"type":"string"},"metadata":{"type":"*"},"center":{"type":"array","value":"number"},"zoom":{"type":"number"},"bearing":{"type":"number","default":0,"period":360},"pitch":{"type":"number","default":0},"light":{"type":"light"},"lights":{"required":false,"type":"array","value":"light-3d"},"terrain":{"type":"terrain","optional":true},"fog":{"type":"fog"},"camera":{"type":"camera"},"imports":{"type":"array","value":"import"},"schema":{"type":"schema"},"sources":{"required":true,"type":"sources"},"sprite":{"type":"string"},"glyphs":{"type":"string","default":"mapbox://fonts/mapbox/{fontstack}/{range}.pbf"},"transition":{"type":"transition"},"projection":{"type":"projection"},"layers":{"required":true,"type":"array","value":"layer"},"models":{"type":"models"}},"model":{"type":"string","required":true},"import":{"id":{"type":"string","required":true},"url":{"type":"string","required":true},"config":{"type":"config"},"data":{"type":"$root"}},"config":{"*":{"type":"*"}},"schema":{"*":{"type":"option"}},"option":{"default":{"type":"*","required":true},"type":{"type":"enum","values":{"string":1,"number":1,"boolean":1,"color":1}},"array":{"type":"boolean"},"minValue":{"type":"number"},"maxValue":{"type":"number"},"stepValue":{"type":"number"},"values":{"type":"array","value":"*"},"metadata":{"type":"*"}},"models":{"*":{"type":"model"}},"light-3d":{"id":{"type":"string","required":true},"properties":{"type":"properties"},"type":{"type":"enum","values":{"ambient":{},"directional":{},"flat":{}}}},"properties":["properties_light_directional","properties_light_ambient","properties_light_flat"],"properties_light_directional":{"direction":{"type":"array","default":[210,30],"minimum":[0,0],"maximum":[360,90],"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"cast-shadows":{"type":"boolean","default":false,"expression":{},"property-type":"data-constant"},"shadow-intensity":{"type":"number","property-type":"data-constant","default":1,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"properties_light_ambient":{"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"properties_light_flat":{"anchor":{"type":"enum","default":"viewport","values":{"map":1,"viewport":1},"property-type":"data-constant","expression":{"parameters":["zoom"]}},"position":{"type":"array","default":[1.15,210,30],"length":3,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"sources":{"*":{"type":"source"}},"source":["source_vector","source_raster","source_raster_dem","source_raster_array","source_geojson","source_video","source_image","source_model"],"source_vector":{"type":{"required":true,"type":"enum","values":{"vector":1}},"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":1,"tms":1},"default":"xyz"},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"attribution":{"type":"string"},"promoteId":{"type":"promoteId"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster":{"type":{"required":true,"type":"enum","values":{"raster":1}},"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},"scheme":{"type":"enum","values":{"xyz":1,"tms":1},"default":"xyz"},"attribution":{"type":"string"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster_dem":{"type":{"required":true,"type":"enum","values":{"raster-dem":1}},"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},"attribution":{"type":"string"},"encoding":{"type":"enum","values":{"terrarium":1,"mapbox":1},"default":"mapbox"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_raster_array":{"type":{"required":true,"type":"enum","values":{"raster-array":1}},"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},"attribution":{"type":"string"},"rasterLayers":{"type":"*"},"volatile":{"type":"boolean","default":false},"*":{"type":"*"}},"source_geojson":{"type":{"required":true,"type":"enum","values":{"geojson":1}},"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":0.375},"cluster":{"type":"boolean","default":false},"clusterRadius":{"type":"number","default":50,"minimum":0},"clusterMaxZoom":{"type":"number"},"clusterMinPoints":{"type":"number"},"clusterProperties":{"type":"*"},"lineMetrics":{"type":"boolean","default":false},"generateId":{"type":"boolean","default":false},"promoteId":{"type":"promoteId"}},"source_video":{"type":{"required":true,"type":"enum","values":{"video":1}},"urls":{"required":true,"type":"array","value":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"source_image":{"type":{"required":true,"type":"enum","values":{"image":1}},"url":{"required":false,"type":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"source_model":{"type":{"required":true,"type":"enum","values":{"model":1,"batched-model":1}},"maxzoom":{"type":"number","default":18},"minzoom":{"type":"number","default":0},"tiles":{"type":"array","value":"string"}},"layer":{"id":{"type":"string","required":true},"type":{"type":"enum","values":{"fill":{},"line":{},"symbol":{},"circle":{},"heatmap":{},"fill-extrusion":{},"raster":{},"raster-particle":{},"hillshade":{},"model":{},"background":{},"sky":{},"slot":{}},"required":true},"metadata":{"type":"*"},"source":{"type":"string"},"source-layer":{"type":"string"},"slot":{"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_raster-particle","layout_hillshade","layout_background","layout_sky","layout_model"],"layout_background":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_sky":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_model":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"},"model-id":{"type":"string","default":"","property-type":"data-driven","expression":{"parameters":["zoom","feature"]}}},"layout_fill":{"fill-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_circle":{"circle-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_heatmap":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_fill-extrusion":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"},"fill-extrusion-edge-radius":{"type":"number","private":true,"default":0,"minimum":0,"maximum":1,"expression":{},"property-type":"constant"}},"layout_line":{"line-cap":{"type":"enum","values":{"butt":1,"round":1,"square":1},"default":"butt","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-join":{"type":"enum","values":{"bevel":1,"round":1,"miter":1},"default":"miter","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-miter-limit":{"type":"number","default":2,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-round-limit":{"type":"number","default":1.05,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_symbol":{"symbol-placement":{"type":"enum","values":{"point":1,"line":1,"line-center":1},"default":"point","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"symbol-spacing":{"type":"number","default":250,"minimum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"symbol-avoid-edges":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"symbol-sort-key":{"type":"number","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"symbol-z-order":{"type":"enum","values":{"auto":1,"viewport-y":1,"source":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"symbol-z-elevate":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-allow-overlap":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-ignore-placement":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-optional":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-rotation-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-size":{"type":"number","default":1,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit":{"type":"enum","values":{"none":1,"width":1,"height":1,"both":1},"default":"none","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-text-fit-padding":{"type":"array","value":"number","length":4,"default":[0,0,0,0],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-image":{"type":"resolvedImage","tokens":true,"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-rotate":{"type":"number","default":0,"period":360,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-padding":{"type":"number","default":2,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"icon-keep-upright":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-offset":{"type":"array","value":"number","length":2,"default":[0,0],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-anchor":{"type":"enum","values":{"center":1,"left":1,"right":1,"top":1,"bottom":1,"top-left":1,"top-right":1,"bottom-left":1,"bottom-right":1},"default":"center","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"icon-pitch-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-pitch-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-rotation-alignment":{"type":"enum","values":{"map":1,"viewport":1,"auto":1},"default":"auto","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-field":{"type":"formatted","default":"","tokens":true,"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-font":{"type":"array","value":"string","default":["Open Sans Regular","Arial Unicode MS Regular"],"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-size":{"type":"number","default":16,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-max-width":{"type":"number","default":10,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-line-height":{"type":"number","default":1.2,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-letter-spacing":{"type":"number","default":0,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-justify":{"type":"enum","values":{"auto":1,"left":1,"center":1,"right":1},"default":"center","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-radial-offset":{"type":"number","default":0,"property-type":"data-driven","expression":{"interpolated":true,"parameters":["zoom","feature"]}},"text-variable-anchor":{"type":"array","value":"enum","values":{"center":1,"left":1,"right":1,"top":1,"bottom":1,"top-left":1,"top-right":1,"bottom-left":1,"bottom-right":1},"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-anchor":{"type":"enum","values":{"center":1,"left":1,"right":1,"top":1,"bottom":1,"top-left":1,"top-right":1,"bottom-left":1,"bottom-right":1},"default":"center","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-max-angle":{"type":"number","default":45,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-writing-mode":{"type":"array","value":"enum","values":{"horizontal":1,"vertical":1},"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-rotate":{"type":"number","default":0,"period":360,"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-padding":{"type":"number","default":2,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-keep-upright":{"type":"boolean","default":true,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-transform":{"type":"enum","values":{"none":1,"uppercase":1,"lowercase":1},"default":"none","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-offset":{"type":"array","value":"number","length":2,"default":[0,0],"expression":{"interpolated":true,"parameters":["zoom","feature"]},"property-type":"data-driven"},"text-allow-overlap":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-ignore-placement":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"text-optional":{"type":"boolean","default":false,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_raster":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_raster-particle":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"layout_hillshade":{"visibility":{"type":"enum","values":{"visible":1,"none":1},"default":"visible","expression":{},"property-type":"constant"}},"filter":{"type":"array","value":"*"},"filter_symbol":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature","pitch","distance-from-center"]}},"filter_fill":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_line":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_circle":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_fill-extrusion":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_heatmap":{"type":"boolean","default":false,"property-type":"data-driven","expression":{"parameters":["zoom","feature"]}},"filter_operator":{"type":"enum","values":{"==":1,"!=":1,">":1,">=":1,"<":1,"<=":1,"in":1,"!in":1,"all":1,"any":1,"none":1,"has":1,"!has":1}},"geometry_type":{"type":"enum","values":{"Point":1,"LineString":1,"Polygon":1}},"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":1,"exponential":1,"interval":1,"categorical":1},"default":"exponential"},"colorSpace":{"type":"enum","values":{"rgb":1,"lab":1,"hcl":1},"default":"rgb"},"default":{"type":"*","required":false}},"function_stop":{"type":"array","minimum":0,"maximum":24,"value":["number","color"],"length":2},"expression":{"type":"array","value":"*","minimum":1},"fog":{"range":{"type":"array","default":[0.5,10],"minimum":-20,"maximum":20,"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"high-color":{"type":"color","property-type":"data-constant","default":"#245cdf","expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"space-color":{"type":"color","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],4,"#010b19",7,"#367ab9"],"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"horizon-blend":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],4,0.2,7,0.1],"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"star-intensity":{"type":"number","property-type":"data-constant","default":["interpolate",["linear"],["zoom"],5,0.35,6,0],"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true},"transition":true},"vertical-range":{"type":"array","default":[0,0],"minimum":0,"length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"],"relaxZoomRestriction":true}}},"camera":{"camera-projection":{"type":"enum","values":{"perspective":1,"orthographic":1},"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"default":"perspective","property-type":"data-constant"}},"light":{"anchor":{"type":"enum","default":"viewport","values":{"map":1,"viewport":1},"property-type":"data-constant","expression":{"parameters":["zoom"]}},"position":{"type":"array","default":[1.15,210,30],"length":3,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"color":{"type":"color","property-type":"data-constant","default":"#ffffff","expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"intensity":{"type":"number","property-type":"data-constant","default":0.5,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"projection":{"name":{"type":"enum","values":{"albers":1,"equalEarth":1,"equirectangular":1,"lambertConformalConic":1,"mercator":1,"naturalEarth":1,"winkelTripel":1,"globe":1},"default":"mercator","required":true},"center":{"type":"array","length":2,"value":"number","property-type":"data-constant","minimum":[-180,-90],"maximum":[180,90]},"parallels":{"type":"array","length":2,"value":"number","property-type":"data-constant","minimum":[-90,-90],"maximum":[90,90]}},"terrain":{"source":{"type":"string","required":true},"exaggeration":{"type":"number","property-type":"data-constant","default":1,"minimum":0,"maximum":1000,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true}},"paint":["paint_fill","paint_line","paint_circle","paint_heatmap","paint_fill-extrusion","paint_symbol","paint_raster","paint_hillshade","paint_background","paint_sky","paint_model"],"paint_fill":{"fill-antialias":{"type":"boolean","default":true,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-outline-color":{"type":"color","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"fill-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_fill-extrusion":{"fill-extrusion-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"fill-extrusion-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"fill-extrusion-height":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-base":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"fill-extrusion-vertical-gradient":{"type":"boolean","default":true,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"fill-extrusion-ambient-occlusion-intensity":{"property-type":"data-constant","type":"number","private":true,"default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-radius":{"property-type":"data-constant","type":"number","private":true,"default":3,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-wall-radius":{"property-type":"data-constant","type":"number","default":3,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-ground-radius":{"property-type":"data-constant","type":"number","default":3,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"transition":true},"fill-extrusion-ambient-occlusion-ground-attenuation":{"property-type":"data-constant","type":"number","default":0.69,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"fill-extrusion-flood-light-color":{"property-type":"data-constant","type":"color","default":"#ffffff","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]}},"fill-extrusion-flood-light-intensity":{"property-type":"data-constant","type":"number","default":0,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]}},"fill-extrusion-flood-light-wall-radius":{"property-type":"data-driven","type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["feature","feature-state"]}},"fill-extrusion-flood-light-ground-radius":{"property-type":"data-driven","type":"number","default":0,"transition":true,"expression":{"interpolated":true,"parameters":["feature","feature-state"]}},"fill-extrusion-flood-light-ground-attenuation":{"property-type":"data-constant","type":"number","default":0.69,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"fill-extrusion-vertical-scale":{"property-type":"data-constant","type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"fill-extrusion-rounded-roof":{"property-type":"data-constant","type":"boolean","default":true,"expression":{"parameters":["zoom"]}},"fill-extrusion-cutoff-fade-range":{"type":"number","default":0,"minimum":0,"maximum":1,"expression":{},"property-type":"data-constant"},"fill-extrusion-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_line":{"line-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"line-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"line-width":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-gap-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-offset":{"type":"number","default":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-blur":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"line-dasharray":{"type":"array","value":"number","minimum":0,"expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom","feature"]},"property-type":"data-driven"},"line-gradient":{"type":"color","expression":{"interpolated":true,"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],"property-type":"constant"},"line-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"line-border-width":{"type":"number","private":true,"default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"},"line-border-color":{"type":"color","private":true,"default":"rgba(0, 0, 0, 0)","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state"]},"property-type":"data-driven"}},"paint_circle":{"circle-radius":{"type":"number","default":5,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-blur":{"type":"number","default":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"circle-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"circle-pitch-scale":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"circle-pitch-alignment":{"type":"enum","values":{"map":1,"viewport":1},"default":"viewport","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"circle-stroke-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-stroke-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-stroke-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"circle-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_heatmap":{"heatmap-radius":{"type":"number","default":30,"minimum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"heatmap-weight":{"type":"number","default":1,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"heatmap-intensity":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"heatmap-color":{"type":"color","default":["interpolate",["linear"],["heatmap-density"],0,"rgba(0, 0, 255, 0)",0.1,"royalblue",0.3,"cyan",0.5,"lime",0.7,"yellow",1,"red"],"expression":{"interpolated":true,"parameters":["heatmap-density"]},"property-type":"color-ramp"},"heatmap-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_symbol":{"icon-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-emissive-strength":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-driven"},"text-emissive-strength":{"type":"number","default":1,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-driven"},"icon-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-halo-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-halo-blur":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"icon-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"icon-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-image-cross-fade":{"type":"number","property-type":"data-driven","default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"transition":true},"text-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-color":{"type":"color","default":"#000000","transition":true,"overridable":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-halo-width":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-halo-blur":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","feature","feature-state","measure-light"]},"property-type":"data-driven"},"text-translate":{"type":"array","value":"number","length":2,"default":[0,0],"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"text-translate-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"map","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"icon-color-saturation":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{},"property-type":"data-constant"}},"paint_raster":{"raster-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-color":{"type":"color","expression":{"interpolated":true,"parameters":["raster-value"]},"property-type":"color-ramp"},"raster-color-mix":{"type":"array","default":[0.2126,0.7152,0.0722,0],"length":4,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"raster-color-range":{"type":"array","length":2,"value":"number","property-type":"data-constant","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]}},"raster-hue-rotate":{"type":"number","default":0,"period":360,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-brightness-min":{"type":"number","default":0,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-brightness-max":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-saturation":{"type":"number","default":0,"minimum":-1,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-contrast":{"type":"number","default":0,"minimum":-1,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-resampling":{"type":"enum","values":{"linear":1,"nearest":1},"default":"linear","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"raster-fade-duration":{"type":"number","default":300,"minimum":0,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"raster-array-band":{"type":"string","required":false,"property-type":"data-constant"},"raster-elevation":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_raster-particle":{"raster-particle-array-band":{"type":"string","required":false,"property-type":"data-constant"},"raster-particle-count":{"type":"number","default":512,"minimum":1,"property-type":"data-constant"},"raster-particle-color":{"type":"color","expression":{"interpolated":true,"parameters":["raster-particle-speed"]},"property-type":"color-ramp"},"raster-particle-max-speed":{"type":"number","default":1,"minimum":1,"property-type":"data-constant"},"raster-particle-speed-factor":{"type":"number","default":0.2,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-particle-fade-opacity-factor":{"type":"number","default":0.98,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"raster-particle-reset-rate-factor":{"type":"number","default":0.8,"minimum":0,"maximum":1,"property-type":"data-constant"}},"paint_hillshade":{"hillshade-illumination-direction":{"type":"number","default":335,"minimum":0,"maximum":359,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-illumination-anchor":{"type":"enum","values":{"map":1,"viewport":1},"default":"viewport","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-exaggeration":{"type":"number","default":0.5,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"hillshade-shadow-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"hillshade-highlight-color":{"type":"color","default":"#FFFFFF","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"hillshade-accent-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"},"hillshade-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_background":{"background-color":{"type":"color","default":"#000000","transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"background-pattern":{"type":"resolvedImage","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"background-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"background-emissive-strength":{"type":"number","default":0,"minimum":0,"transition":true,"expression":{"interpolated":true,"parameters":["zoom","measure-light"]},"property-type":"data-constant"}},"paint_sky":{"sky-type":{"type":"enum","values":{"gradient":1,"atmosphere":1},"default":"atmosphere","expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun":{"type":"array","value":"number","length":2,"minimum":[0,0],"maximum":[360,180],"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-atmosphere-sun-intensity":{"type":"number","default":10,"minimum":0,"maximum":100,"property-type":"data-constant"},"sky-gradient-center":{"type":"array","value":"number","default":[0,0],"length":2,"minimum":[0,0],"maximum":[360,180],"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-gradient-radius":{"type":"number","default":90,"minimum":0,"maximum":180,"expression":{"parameters":["zoom"]},"property-type":"data-constant"},"sky-gradient":{"type":"color","default":["interpolate",["linear"],["sky-radial-progress"],0.8,"#87ceeb",1,"white"],"expression":{"interpolated":true,"parameters":["sky-radial-progress"]},"property-type":"color-ramp"},"sky-atmosphere-halo-color":{"type":"color","default":"white","property-type":"data-constant"},"sky-atmosphere-color":{"type":"color","default":"white","property-type":"data-constant"},"sky-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"}},"paint_model":{"model-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"transition":true,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant"},"model-rotation":{"type":"array","value":"number","length":3,"default":[0,0,0],"period":360,"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","zoom"]},"transition":true},"model-scale":{"type":"array","value":"number","length":3,"default":[1,1,1],"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","zoom"]},"transition":true},"model-translation":{"type":"array","value":"number","length":3,"default":[0,0,0],"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","zoom"]},"transition":true},"model-color":{"type":"color","default":"#ffffff","property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light","zoom"]},"transition":true},"model-color-mix-intensity":{"type":"number","property-type":"data-driven","default":0,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light"]},"transition":true},"model-type":{"type":"enum","values":{"common-3d":1,"location-indicator":1},"default":"common-3d","property-type":"data-constant"},"model-cast-shadows":{"type":"boolean","default":true,"expression":{},"property-type":"data-constant"},"model-receive-shadows":{"type":"boolean","default":true,"expression":{},"property-type":"data-constant"},"model-ambient-occlusion-intensity":{"type":"number","default":1,"minimum":0,"maximum":1,"expression":{"interpolated":true,"parameters":["zoom"]},"property-type":"data-constant","transition":true},"model-emissive-strength":{"type":"number","property-type":"data-driven","default":0,"minimum":0,"maximum":5,"expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light"]},"transition":true},"model-roughness":{"type":"number","default":1,"minimum":0,"maximum":1,"property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state"]},"transition":true},"model-height-based-emissive-strength-multiplier":{"type":"array","default":[1,1,1,1,0],"length":5,"value":"number","property-type":"data-driven","expression":{"interpolated":true,"parameters":["feature","feature-state","measure-light"]},"transition":true},"model-cutoff-fade-range":{"type":"number","default":0,"minimum":0,"maximum":1,"expression":{},"property-type":"data-constant"}},"transition":{"duration":{"type":"number","default":300,"minimum":0},"delay":{"type":"number","default":0,"minimum":0}},"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 gm(n){if(n===!0||n===!1)return!0;if(!Array.isArray(n)||n.length===0)return!1;switch(n[0]){case"has":return n.length>=2&&n[1]!=="$id"&&n[1]!=="$type";case"in":return n.length>=3&&(typeof n[1]!="string"||Array.isArray(n[2]));case"!in":case"!has":case"none":return!1;case"==":case"!=":case">":case">=":case"<":case"<=":return n.length!==3||Array.isArray(n[1])||Array.isArray(n[2]);case"any":case"all":for(const e of n.slice(1))if(!gm(e)&&typeof e!="boolean")return!1;return!0;default:return!0}}function Bo(n,e="fill"){if(n==null)return{filter:()=>!0,needGeometry:!1,needFeature:!1};gm(n)||(n=bu(n));const r=n;let c=!0;try{c=function(I){if(!uc(I))return I;let S=xu(I);return ym(S),S=u_(S),S}(r)}catch{console.warn(`Failed to extract static filter. Filter will continue working, but at higher memory usage and slower framerate.
|
|
88
88
|
This is most likely a bug, please report this via https://github.com/mapbox/mapbox-gl-js/issues/new?assignees=&labels=&template=Bug_report.md
|
|
89
89
|
and paste the contents of this message in the report.
|
|
90
90
|
Thank you!
|
|
@@ -2223,7 +2223,7 @@ Make sure your charset is UTF-8`);o=(o>>>8&255)*192+(o&255),t.put(o,13)}};var sK
|
|
|
2223
2223
|
The chosen QR Code version cannot contain this amount of data.
|
|
2224
2224
|
Minimum version required to store current data is: `+y+`.
|
|
2225
2225
|
`);const _=xK(i,o,h),a=f1.getSymbolSize(i),v=new cK(a);return mK(v,i),gK(v),yK(v,i),z2(v,o,0),i>=7&&_K(v,i),vK(v,_),isNaN(l)&&(l=C2.getBestMask(v,z2.bind(null,v,o))),C2.applyMask(l,v),z2(v,o,l),{modules:v,version:i,errorCorrectionLevel:o,maskPattern:l,segments:h}}TA.create=function(i,o){if(typeof i>"u"||i==="")throw new Error("No input text");let l=N2.M,h,y;return typeof o<"u"&&(l=N2.from(o.errorCorrectionLevel,N2.M),h=p1.from(o.version),y=C2.from(o.maskPattern),o.toSJISFunc&&f1.setToSJISFunction(o.toSJISFunc)),MK(i,h,l,y)};var BA={},k2={};(function(t){function i(o){if(typeof o=="number"&&(o=o.toString()),typeof o!="string")throw new Error("Color should be defined as hex string");let l=o.slice().replace("#","").split("");if(l.length<3||l.length===5||l.length>8)throw new Error("Invalid hex color: "+o);(l.length===3||l.length===4)&&(l=Array.prototype.concat.apply([],l.map(function(y){return[y,y]}))),l.length===6&&l.push("F","F");const h=parseInt(l.join(""),16);return{r:h>>24&255,g:h>>16&255,b:h>>8&255,a:h&255,hex:"#"+l.slice(0,6).join("")}}t.getOptions=function(l){l||(l={}),l.color||(l.color={});const h=typeof l.margin>"u"||l.margin===null||l.margin<0?4:l.margin,y=l.width&&l.width>=21?l.width:void 0,_=l.scale||4;return{width:y,scale:y?4:_,margin:h,color:{dark:i(l.color.dark||"#000000ff"),light:i(l.color.light||"#ffffffff")},type:l.type,rendererOpts:l.rendererOpts||{}}},t.getScale=function(l,h){return h.width&&h.width>=l+h.margin*2?h.width/(l+h.margin*2):h.scale},t.getImageWidth=function(l,h){const y=t.getScale(l,h);return Math.floor((l+h.margin*2)*y)},t.qrToImageData=function(l,h,y){const _=h.modules.size,a=h.modules.data,v=t.getScale(_,y),E=Math.floor((_+y.margin*2)*v),A=y.margin*v,C=[y.color.light,y.color.dark];for(let L=0;L<E;L++)for(let j=0;j<E;j++){let U=(L*E+j)*4,V=y.color.light;if(L>=A&&j>=A&&L<E-A&&j<E-A){const Z=Math.floor((L-A)/v),ee=Math.floor((j-A)/v);V=C[a[Z*_+ee]?1:0]}l[U++]=V.r,l[U++]=V.g,l[U++]=V.b,l[U]=V.a}}})(k2),function(t){const i=k2;function o(h,y,_){h.clearRect(0,0,y.width,y.height),y.style||(y.style={}),y.height=_,y.width=_,y.style.height=_+"px",y.style.width=_+"px"}function l(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}t.render=function(y,_,a){let v=a,E=_;typeof v>"u"&&(!_||!_.getContext)&&(v=_,_=void 0),_||(E=l()),v=i.getOptions(v);const A=i.getImageWidth(y.modules.size,v),C=E.getContext("2d"),L=C.createImageData(A,A);return i.qrToImageData(L.data,y,v),o(C,E,A),C.putImageData(L,0,0),E},t.renderToDataURL=function(y,_,a){let v=a;typeof v>"u"&&(!_||!_.getContext)&&(v=_,_=void 0),v||(v={});const E=t.render(y,_,v),A=v.type||"image/png",C=v.rendererOpts||{};return E.toDataURL(A,C.quality)}}(BA);var FA={};const wK=k2;function VA(t,i){const o=t.a/255,l=i+'="'+t.hex+'"';return o<1?l+" "+i+'-opacity="'+o.toFixed(2).slice(1)+'"':l}function j2(t,i,o){let l=t+i;return typeof o<"u"&&(l+=" "+o),l}function IK(t,i,o){let l="",h=0,y=!1,_=0;for(let a=0;a<t.length;a++){const v=Math.floor(a%i),E=Math.floor(a/i);!v&&!y&&(y=!0),t[a]?(_++,a>0&&v>0&&t[a-1]||(l+=y?j2("M",v+o,.5+E+o):j2("m",h,0),h=0,y=!1),v+1<i&&t[a+1]||(l+=j2("h",_),_=0)):h++}return l}FA.render=function(i,o,l){const h=wK.getOptions(o),y=i.modules.size,_=i.modules.data,a=y+h.margin*2,v=h.color.light.a?"<path "+VA(h.color.light,"fill")+' d="M0 0h'+a+"v"+a+'H0z"/>':"",E="<path "+VA(h.color.dark,"stroke")+' d="'+IK(_,y,h.margin)+'"/>',A='viewBox="0 0 '+a+" "+a+'"',L='<svg xmlns="http://www.w3.org/2000/svg" '+(h.width?'width="'+h.width+'" height="'+h.width+'" ':"")+A+' shape-rendering="crispEdges">'+v+E+`</svg>
|
|
2226
|
-
`;return typeof l=="function"&&l(null,L),L};const TK=Pq,R2=TA,$A=BA,EK=FA;function P2(t,i,o,l,h){const y=[].slice.call(arguments,1),_=y.length,a=typeof y[_-1]=="function";if(!a&&!TK())throw new Error("Callback required as last argument");if(a){if(_<2)throw new Error("Too few arguments provided");_===2?(h=o,o=i,i=l=void 0):_===3&&(i.getContext&&typeof h>"u"?(h=l,l=void 0):(h=l,l=o,o=i,i=void 0))}else{if(_<1)throw new Error("Too few arguments provided");return _===1?(o=i,i=l=void 0):_===2&&!i.getContext&&(l=o,o=i,i=void 0),new Promise(function(v,E){try{const A=R2.create(o,l);v(t(A,i,l))}catch(A){E(A)}})}try{const v=R2.create(o,l);h(null,t(v,i,l))}catch(v){h(v)}}Kf.create=R2.create,Kf.toCanvas=P2.bind(null,$A.render),Kf.toDataURL=P2.bind(null,$A.renderToDataURL),Kf.toString=P2.bind(null,function(t,i,o){return EK.render(t,o)});function SK(){const{t}=Ms(),[,i]=On(o1),o=Ze.useRef(),l=cn(Os),h=cn(Yb),y=cn(t2),_=cn(H0),a=cn($f),v=cn(qa),E=cn(Ul);return Ze.useEffect(()=>{if(v&&E){let A=window.location.origin+window.location.pathname.replace(/\/$/,"");const C=new URLSearchParams(window.location.search),L=new URLSearchParams;[["gmApiKey",_],["mapboxAccessToken",a],["apiKey",h],["primaryColor",l],["logo",y]].forEach(([Z,ee])=>{if(C.has(Z)){const ne=C.get(Z);L.append(Z,ne)}else ee&&(ee===l?L.append(Z,l.replace("#","")):L.append(Z,ee))});const j=L.toString();let U=`${A}/?${j}&directionsFrom=${v.id}&directionsTo=${E.id}`;const V={errorCorrectionLevel:"L",margin:0,width:"225"};Kf.toDataURL(U,V).then(Z=>{o.current.src=Z})}},[v,E]),et.jsxs(et.Fragment,{children:[et.jsx("div",{className:"background"}),et.jsxs("div",{className:"qr-code",children:[et.jsx("img",{alt:"",className:"qr-code__image",ref:o}),et.jsx("p",{children:t("Scan the QR code to see the route on your phone")}),et.jsx("button",{className:"qr-code__button",style:{background:l},onClick:()=>i(!1),children:t("Done")})]})]})}const DK=di({key:"supportsUrlParameters",default:!1}),pce="";function AK(){const{t}=Ms(),i=cn(Os),o=cn(bA),l=Wf(),h=Ze.useRef(),y=Ze.useRef(),_=Ze.useRef(),[a,v]=On(s1),[E,A]=Ze.useState(!1),C=Ze.useRef();let L=700;return Ze.useEffect(()=>{a&&l&&A(C.current.clientHeight>L)},[a,l]),Ze.useEffect(()=>{if(a&&l&&E){const j=document.querySelector(".legend__sections");_.current.scrollContainerElementRef=j}},[a,o,E]),et.jsxs(et.Fragment,{children:[et.jsx("div",{className:"legend__background"}),et.jsxs("div",{className:"legend",ref:h,children:[o.length>0&&et.jsx("div",{className:`legend__sections ${E?"legend__sections--scrollable":""}`,ref:C,style:{maxHeight:E?`${L}px`:"auto",overflowY:E?"scroll":"auto"},children:o.map((j,U)=>et.jsxs("div",{className:"legend__section",ref:y,children:[et.jsx("div",{className:"legend__heading",children:j.heading}),et.jsx("div",{className:"legend__content",children:j.content})]},U))}),et.jsx("button",{className:"legend__button",style:{background:i},onClick:()=>v(!1),children:t("Close")}),l&&a&&E&&et.jsx("div",{className:"scroll-buttons",children:et.jsx("mi-scroll-buttons",{ref:_})})]})]})}xZ();function NK({apiKey:t,gmApiKey:i,mapboxAccessToken:o,venue:l,locationId:h,primaryColor:y,logo:_,appUserRoles:a,directionsFrom:v,directionsTo:E,externalIDs:A,tileStyle:C,startZoomLevel:L,bearing:j,pitch:U,gmMapId:V,useMapProviderModule:Z,kioskOriginLocationId:ee,language:ne,supportsUrlParameters:re,useKeyboard:ie,timeout:te,miTransitionLevel:Ie,category:Me,searchAllVenues:de}){const[,qe]=On(Yb),[,Ve]=On(H0),[,je]=On($f),[We,tt]=On(Xb),[Se,He]=On(qb),[,Re]=On(OD),[Le,ht]=On(Ul),[ot,me]=On(Yf),[,ve]=On(X0),[,ae]=On(Os),[,G]=On(t2),[,X]=On(yD),ge=cn(Qo),[fe,Ne]=On(Gf),[,Oe]=On(qa),[,Ae]=On(CD),[,$e]=On(kD),st=jD(),[,Ce]=On(DK),[,Xe]=On(vA),[,yt]=On(MD),[,jt]=On(I2),[,Ft]=On(_2),[,hn]=On(xA),[jn,Dt]=Ze.useState(!0),[Cn,En]=Ze.useState(!0),In=IA(v),Un=IA(E),[ti,lt]=Ze.useState(!1),[,se]=On(q0),[ce,ke]=On(W0),[mt,Mt]=Ze.useState(),[gt,Ot]=Ze.useState(),[,xt]=On(Qb),[,ln]=On(wD),[,Ye]=On(LD),[,Be]=On(Ff),[,At]=On(Vf),nn=Za(),Nt=_D("(max-width: 991px)"),Bt=kq(),Qt=Jb(),Wt=cn(Qc),[on,wn,Zn,oi,Ti,Fi]=zq(),Vi=Ze.useRef(),[Gn,Gi]=Ze.useState(!1),It=cn(o1),St=cn(s1),[Zt,en]=Ze.useState(0);function qt(){return new Promise(zt=>{if(window.mapsindoors!==void 0)return zt();const sn=document.createElement("script");sn.setAttribute("type","text/javascript"),sn.setAttribute("src","https://app.mapsindoors.com/mapsindoors/js/sdk/4.32.0/mapsindoors-4.32.0.js.gz"),sn.setAttribute("integrity","sha384-pobsiCLAduarZklerr0Y1Yj0gkSVov1spL2XwAMLQ1lm3t6USIXIBAAMeJqiWXSc"),sn.setAttribute("crossorigin","anonymous"),document.body.appendChild(sn),sn.onload=()=>{zt()}})}Ze.useEffect(()=>{st&&Ct()},[st]),Ze.useEffect(()=>{qt().then(()=>{Gi(!0)})},[]),Ze.useEffect(()=>{if(Gn){const zt=ne||navigator.language;window.mapsindoors.MapsIndoors.setLanguage(zt),window.mapsindoors.services.LocationsService.once("update_completed",()=>{ot.length>0&&dt(l),Se.length>0&&window.mapsindoors.services.VenuesService.getVenues().then(sn=>{sn=sn.map($t=>($t.image=gt.venueImages[$t.name.toLowerCase()],$t)),He(sn)}),Le&&window.mapsindoors.services.LocationsService.getLocation(Le.id).then(sn=>ht(sn))}),fe?yo.changeLanguage(zt):oW(zt),Ne(zt)}},[ne,Gn]),Ze.useEffect(()=>{Gn&&(qe(t),tt(!1),window.mapsindoors.MapsIndoors.setMapsIndoorsApiKey(t),Promise.all([window.mapsindoors.services.VenuesService.getVenues(),window.mapsindoors.services.AppConfigService.getConfig().then(zt=>(Ot(zt),zt)),window.mapsindoors.services.SolutionsService.getSolution().then(zt=>(xt(zt),zt)),new Promise(zt=>setTimeout(zt,3e3))]).then(([zt,sn])=>{zt=zt.map($t=>($t.image=sn.venueImages[$t.name.toLowerCase()],$t)),He(zt)}),tt(!1))},[t,Gn]),Ze.useEffect(()=>{var zt,sn;Gn&>&&(je(o||((zt=gt.appSettings)==null?void 0:zt.mapboxAccessToken)),Ve(i||((sn=gt.appSettings)==null?void 0:sn.gmKey)))},[i,o,Gn,gt]),Ze.useEffect(()=>{Gn&&window.mapsindoors.services.SolutionsService.getUserRoles().then(zt=>{const sn=zt.filter($t=>a==null?void 0:a.includes($t.name));window.mapsindoors.MapsIndoors.setUserRoles(sn)})},[a,Gn]),Ze.useEffect(()=>{Gn&&(A?window.mapsindoors.services.LocationsService.getLocationsByExternalId(A).then(zt=>{se(zt)}):se([]))},[A,Gn]),Ze.useEffect(()=>{Gn&&(ve(h),h&&window.mapsindoors.services.LocationsService.getLocation(h).then(zt=>{zt&&(Qt(zt.properties.venueId),ht(zt))}))},[h,Gn,Zt]),Ze.useEffect(()=>{Gn&&X(V)},[V,Gn]),Ze.useEffect(()=>{Zn===Ti.LOCATION_DETAILS&&oi&&!Le&&ht(oi),Vi.current=Zn===Ti.DIRECTIONS,Vi.current?(Mt(ce),ke([])):ke(mt)},[Zn]),Ze.useEffect(()=>{Re(l),Qt(l)},[l]),Ze.useEffect(()=>{ln(C)},[C]),Ze.useEffect(()=>{ae(y)},[y]),Ze.useEffect(()=>{Ye(L)},[L]),Ze.useEffect(()=>{At(U)},[U]),Ze.useEffect(()=>{Be(j)},[j]),Ze.useEffect(()=>{G(_)},[_]),Ze.useEffect(()=>{yt(Ie)},[Ie]),Ze.useEffect(()=>{Le&&Le.id!==ee?ge!=null&&ge.selectLocation&&ge.selectLocation(Le):ge!=null&&ge.deselectLocation&&ge.deselectLocation()},[Le]),Ze.useEffect(()=>{Gn&&(Ae(ee),ee?window.mapsindoors.services.LocationsService.getLocation(ee).then(zt=>{Qt(zt.properties.venueId),Oe(zt)}):Oe(),ee&&nn?(Dt(!1),En(!1)):(Dt(!0),En(!0)))},[ee,Gn]),Ze.useEffect(()=>{$e(te)},[te]),Ze.useEffect(()=>{Ce(re)},[re]),Ze.useEffect(()=>{Gn&&ie&&ee&&Xe(ie)},[ie,ee,Gn]),Ze.useEffect(()=>{Gn&&Me&&ot.find(zt=>zt[0]===Me)&&jt(Me)},[Me,ot,Gn]),Ze.useEffect(()=>{Gn&&de&&Ft(de)},[de,Gn]),Ze.useEffect(()=>{Gn&&Wt&&dt(Wt)},[Wt,Gn]);function Ee(zt){We===!1&&tt(!0),dt(zt.name)}function at(zt){Vi.current!==!0&&zt.id!==ee&&ht(zt)}function dt(zt){window.mapsindoors.services.LocationsService.getLocations({}).then(sn=>{const $t=sn.filter(Wn=>Wn.properties.venueId===zt);Rt($t)})}function Ct(){Bt(),Fi(),en(zt=>zt+1)}function Rt(zt){let sn=new Map;for(const $t of zt){const Wn=Object.keys($t.properties.categories);for(const Yn of Wn){const Bn=gt==null?void 0:gt.menuInfo.mainmenu.find(zi=>zi.categoryKey===Yn);if(sn.has(Yn)){let zi=sn.get(Yn).count;sn.set(Yn,{count:++zi,displayName:$t.properties.categories[Yn],iconUrl:Bn==null?void 0:Bn.iconUrl})}else sn.set(Yn,{count:1,displayName:$t.properties.categories[Yn],iconUrl:Bn==null?void 0:Bn.iconUrl})}}sn=Array.from(sn).sort(($t,Wn)=>Wn[1].count-$t[1].count),me(sn)}return Ze.useEffect(()=>{Gn&&Me&&ot.find(zt=>zt[0]===Me)&&(jt(Me),hn(Me))},[Me,ot,Gn]),et.jsxs("div",{className:`mapsindoors-map ${Vi.current?"mapsindoors-map--hide-elements":"mapsindoors-map--show-elements"} ${Cn?"mapsindoors-map--show-my-position":"mapsindoors-map--hide-my-position"}`,"data-sentry-component":"MapTemplate","data-sentry-source-file":"MapTemplate.jsx",children:[et.jsx(Rq,{"data-sentry-element":"Notification","data-sentry-source-file":"MapTemplate.jsx"}),!We&&et.jsx(CW,{}),Se.length>1&&jn&&et.jsx(WW,{onOpen:()=>on(Ti.VENUE_SELECTOR),onClose:()=>wn(),active:Zn===Ti.VENUE_SELECTOR}),It&&et.jsx(SK,{}),St&&et.jsx(AK,{}),ti&&et.jsxs(Ze.Fragment,{children:[nn&&et.jsx(jq,{directionsFromLocation:In,directionsToLocation:Un,pushAppView:on,currentAppView:Zn,appViews:Ti,onRouteFinished:()=>Ct()}),Nt&&et.jsx(Lq,{directionsFromLocation:In,directionsToLocation:Un,pushAppView:on,currentAppView:Zn,appViews:Ti,onRouteFinished:()=>Ct()})]},Zt),et.jsx(AW,{useMapProviderModule:Z,onVenueChangedOnMap:zt=>Ee(zt),onMapPositionKnown:()=>lt(!0),onLocationClick:zt=>at(zt),"data-sentry-element":"MIMap","data-sentry-source-file":"MapTemplate.jsx"})]})}function CK(t){const[i,o]=Ze.useState();return Ze.useEffect(()=>{var Se,He;const l=window.location.search,h=new URLSearchParams(l),y={apiKey:"mapspeople3d",venue:"AUSTINOFFICE",logo:"https://app.mapsindoors.com/mapsindoors/gfx/mapspeople-logo/mapspeople-pin.svg",primaryColor:"#005655",useMapProviderModule:!1,useKeyboard:!1,searchAllVenues:!1},_=h.get("apiKey"),a=h.get("venue"),v=h.get("locationId"),E=h.get("logo"),A=h.get("directionsFrom"),C=h.get("directionsTo"),L=h.get("tileStyle"),j=h.get("startZoomLevel"),U=h.get("pitch"),V=h.get("bearing"),Z=h.get("gmApiKey"),ee=h.get("mapboxAccessToken"),ne=h.get("primaryColor"),re=(Se=h.get("appUserRoles"))==null?void 0:Se.split(","),ie=(He=h.get("externalIDs"))==null?void 0:He.split(","),te=h.get("gmMapId"),Ie=U2(h.get("useMapProviderModule")),Me=h.get("kioskOriginLocationId"),de=h.get("timeout"),qe=h.get("language"),Ve=U2(h.get("useKeyboard")),je=h.get("miTransitionLevel"),We=h.get("category"),tt=U2(h.get("searchAllVenues"));o({apiKey:t.supportsUrlParameters&&_?_:t.apiKey||y.apiKey,venue:t.supportsUrlParameters&&a?a:t.venue||y.venue,locationId:t.supportsUrlParameters&&v?v:t.locationId,logo:t.supportsUrlParameters&&E?E:t.logo||y.logo,directionsFrom:t.supportsUrlParameters&&A?A:t.directionsFrom,directionsTo:t.supportsUrlParameters&&C?C:t.directionsTo,tileStyle:t.supportsUrlParameters&&L?L:t.tileStyle,startZoomLevel:t.supportsUrlParameters&&j?j:t.startZoomLevel,pitch:t.supportsUrlParameters&&U?U:t.pitch,bearing:t.supportsUrlParameters&&V?V:t.bearing,gmApiKey:t.supportsUrlParameters&&Z?Z:t.gmApiKey,mapboxAccessToken:t.supportsUrlParameters&&ee?ee:t.mapboxAccessToken,primaryColor:t.supportsUrlParameters&&ne?"#"+ne:t.primaryColor||y.primaryColor,appUserRoles:t.supportsUrlParameters&&re?re:t.appUserRoles,externalIDs:t.supportsUrlParameters&&ie?ie:t.externalIDs,gmMapId:t.supportsUrlParameters&&te?te:t.gmMapId,useMapProviderModule:t.supportsUrlParameters&&Ie?Ie:t.useMapProviderModule||y.useMapProviderModule,kioskOriginLocationId:t.supportsUrlParameters&&Me?Me:t.kioskOriginLocationId,timeout:t.supportsUrlParameters&&de?de:t.timeout,language:t.supportsUrlParameters&&qe?qe:t.language,supportsUrlParameters:t.supportsUrlParameters,useKeyboard:t.supportsUrlParameters&&Ve?Ve:t.useKeyboard||y.useKeyboard,miTransitionLevel:t.supportsUrlParameters&&je?je:t.miTransitionLevel,category:t.supportsUrlParameters&&We?We:t.category,searchAllVenues:t.supportsUrlParameters&&tt?tt:t.searchAllVenues||y.searchAllVenues})},[t]),et.jsx(UG,{"data-sentry-element":"RecoilRoot","data-sentry-component":"MapsIndoorsMap","data-sentry-source-file":"MapsIndoorsMap.jsx",children:i&&et.jsx(NK,{...i})})}wB({dsn:"https://0ee7fa162023d958c96db25e99c8ff6c@o351128.ingest.sentry.io/4506851619831808",environment:window.location.hostname==="localhost"?"localhost":"production",integrations:[FB({useEffect:Ze.useEffect,useLocation:zl.useLocation,useNavigationType:zl.useNavigationType,createRoutesFromChildren:zl.createRoutesFromChildren,matchRoutes:zl.matchRoutes}),bB()],tracesSampleRate:1,tracePropagationTargets:["localhost",/^https:\/\/api\.mapsindoors\.com/],replaysSessionSampleRate:0,replaysOnErrorSampleRate:1});function U2(t){return t==="true"}const LK=Object.freeze(Object.defineProperty({__proto__:null,combo_box_item:class{constructor(t){Pi(this,t),this.selected=!1,this.value=void 0,this.text=void 0}get el(){return Ga(this)}}},Symbol.toStringTag,{value:"Module"})),OK=':host{box-sizing:border-box;display:block;font-family:Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background-color:#ffffff;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.16), 0px 2px 2px rgba(0, 0, 0, 0.18), 0px 1px 1px rgba(0, 0, 0, 0.2);border-radius:8px;padding-top:32px;padding-bottom:32px;padding-left:32px;padding-right:32px;margin:24px}',YA=class{constructor(t){Pi(this,t)}render(){return Pe("slot",null)}};YA.style=OK;const zK=".spinner{display:flex;justify-content:center;align-items:center}.spinner>div{width:16px;height:16px;background-color:#6b7280;margin:4px;border-radius:100%;display:inline-block;animation:bouncedelay 1.4s infinite ease-in-out both}.spinner.inverse>div{background-color:#ffffff}.spinner .bounce1{animation-delay:-0.32s}.spinner .bounce2{animation-delay:-0.16s}@keyframes bouncedelay{0%,80%,100%{transform:scale(0)}40%{transform:scale(1)}}",QA=class{constructor(t){Pi(this,t),this.inverse=!1}render(){return Pe(Jr,null,Pe("div",{class:`spinner ${this.inverse?"inverse":""}`},Pe("div",{class:"bounce1"}),Pe("div",{class:"bounce2"}),Pe("div",{class:"bounce3"})))}};QA.style=zK;const kK=Object.freeze(Object.defineProperty({__proto__:null,mi_card:YA,mi_spinner:QA},Symbol.toStringTag,{value:"Module"})),jK=':root{--z-index-top:999999;--z-index-popup:950;--z-index-modal:900;--z-index-spinner:800;--z-index-overlay:700;--z-index-dropdown:600;--z-index-toast:500;--z-index-header:400;--z-index-sticky:300;--z-index-mask:200;--z-index-masked:100;--z-index-default:1;--z-index-deep:-999999;--transition-slowly:600ms ease;--transition-quickly:300ms ease;--tailwind-colors-rose-900:#881337;--tailwind-colors-rose-800:#9f1239;--tailwind-colors-rose-700:#be123c;--tailwind-colors-rose-600:#e11d48;--tailwind-colors-rose-500:#f43f5e;--tailwind-colors-rose-400:#fb7185;--tailwind-colors-rose-300:#fda4af;--tailwind-colors-rose-200:#fecdd3;--tailwind-colors-rose-100:#ffe4e6;--tailwind-colors-rose-50:#fff1f2;--tailwind-colors-pink-900:#831843;--tailwind-colors-pink-800:#9d174d;--tailwind-colors-pink-700:#be185d;--tailwind-colors-pink-600:#db2777;--tailwind-colors-pink-500:#ec4899;--tailwind-colors-pink-400:#f472b6;--tailwind-colors-pink-300:#f9a8d4;--tailwind-colors-pink-200:#fbcfe8;--tailwind-colors-pink-100:#fce7f3;--tailwind-colors-pink-50:#fdf2f8;--tailwind-colors-fuchsia-900:#701a75;--tailwind-colors-fuchsia-800:#86198f;--tailwind-colors-fuchsia-700:#a21caf;--tailwind-colors-fuchsia-600:#c026d3;--tailwind-colors-fuchsia-500:#d946ef;--tailwind-colors-fuchsia-400:#e879f9;--tailwind-colors-fuchsia-300:#f0abfc;--tailwind-colors-fuchsia-200:#f5d0fe;--tailwind-colors-fuchsia-100:#fae8ff;--tailwind-colors-fuchsia-50:#fdf4ff;--tailwind-colors-purple-900:#581c87;--tailwind-colors-purple-800:#6b21a8;--tailwind-colors-purple-700:#7e22ce;--tailwind-colors-purple-600:#9333ea;--tailwind-colors-purple-500:#a855f7;--tailwind-colors-purple-400:#c084fc;--tailwind-colors-purple-300:#d8b4fe;--tailwind-colors-purple-200:#e9d5ff;--tailwind-colors-purple-100:#f3e8ff;--tailwind-colors-purple-50:#faf5ff;--tailwind-colors-violet-900:#4c1d95;--tailwind-colors-violet-800:#5b21b6;--tailwind-colors-violet-700:#6d28d9;--tailwind-colors-violet-600:#7c3aed;--tailwind-colors-violet-500:#8b5cf6;--tailwind-colors-violet-400:#a78bfa;--tailwind-colors-violet-300:#c4b5fd;--tailwind-colors-violet-200:#ddd6fe;--tailwind-colors-violet-100:#ede9fe;--tailwind-colors-violet-50:#f5f3ff;--tailwind-colors-indigo-900:#312e81;--tailwind-colors-indigo-800:#3730a3;--tailwind-colors-indigo-700:#4338ca;--tailwind-colors-indigo-600:#4f46e5;--tailwind-colors-indigo-500:#6366f1;--tailwind-colors-indigo-400:#818cf8;--tailwind-colors-indigo-300:#a5b4fc;--tailwind-colors-indigo-200:#c7d2fe;--tailwind-colors-indigo-100:#e0e7ff;--tailwind-colors-indigo-50:#eef2ff;--tailwind-colors-blue-900:#1e3a8a;--tailwind-colors-blue-800:#1e40af;--tailwind-colors-blue-700:#1d4ed8;--tailwind-colors-blue-600:#2563eb;--tailwind-colors-blue-500:#3b82f6;--tailwind-colors-blue-400:#60a5fa;--tailwind-colors-blue-300:#93c5fd;--tailwind-colors-blue-200:#bfdbfe;--tailwind-colors-blue-100:#dbeafe;--tailwind-colors-blue-50:#eff6ff;--tailwind-colors-sky-900:#0c4a6e;--tailwind-colors-sky-800:#075985;--tailwind-colors-sky-700:#0369a1;--tailwind-colors-sky-600:#0284c7;--tailwind-colors-sky-500:#0ea5e9;--tailwind-colors-sky-400:#38bdf8;--tailwind-colors-sky-300:#7dd3fc;--tailwind-colors-sky-200:#bae6fd;--tailwind-colors-sky-100:#e0f2fe;--tailwind-colors-sky-50:#f0f9ff;--tailwind-colors-cyan-900:#164e63;--tailwind-colors-cyan-800:#155e75;--tailwind-colors-cyan-700:#0e7490;--tailwind-colors-cyan-600:#0891b2;--tailwind-colors-cyan-500:#06b6d4;--tailwind-colors-cyan-400:#22d3ee;--tailwind-colors-cyan-300:#67e8f9;--tailwind-colors-cyan-200:#a5f3fc;--tailwind-colors-cyan-100:#cffafe;--tailwind-colors-cyan-50:#ecfeff;--tailwind-colors-teal-900:#134e4a;--tailwind-colors-teal-800:#115e59;--tailwind-colors-teal-700:#0f766e;--tailwind-colors-teal-600:#0d9488;--tailwind-colors-teal-500:#14b8a6;--tailwind-colors-teal-400:#2dd4bf;--tailwind-colors-teal-300:#5eead4;--tailwind-colors-teal-200:#99f6e4;--tailwind-colors-teal-100:#ccfbf1;--tailwind-colors-teal-50:#f0fdfa;--tailwind-colors-emerald-900:#064e3b;--tailwind-colors-emerald-800:#065f46;--tailwind-colors-emerald-700:#047857;--tailwind-colors-emerald-600:#059669;--tailwind-colors-emerald-500:#10b981;--tailwind-colors-emerald-400:#34d399;--tailwind-colors-emerald-300:#6ee7b7;--tailwind-colors-emerald-200:#a7f3d0;--tailwind-colors-emerald-100:#d1fae5;--tailwind-colors-emerald-50:#ecfdf5;--tailwind-colors-green-900:#14532d;--tailwind-colors-green-800:#166534;--tailwind-colors-green-700:#15803d;--tailwind-colors-green-600:#16a34a;--tailwind-colors-green-500:#22c55e;--tailwind-colors-green-400:#4ade80;--tailwind-colors-green-300:#86efac;--tailwind-colors-green-200:#bbf7d0;--tailwind-colors-green-100:#dcfce7;--tailwind-colors-green-50:#f0fdf4;--tailwind-colors-lime-900:#365314;--tailwind-colors-lime-800:#3f6212;--tailwind-colors-lime-700:#4d7c0f;--tailwind-colors-lime-600:#65a30d;--tailwind-colors-lime-500:#84cc16;--tailwind-colors-lime-400:#a3e635;--tailwind-colors-lime-300:#bef264;--tailwind-colors-lime-200:#d9f99d;--tailwind-colors-lime-100:#ecfccb;--tailwind-colors-lime-50:#f7fee7;--tailwind-colors-yellow-900:#713f12;--tailwind-colors-yellow-800:#854d0e;--tailwind-colors-yellow-700:#a16207;--tailwind-colors-yellow-600:#ca8a04;--tailwind-colors-yellow-500:#eab308;--tailwind-colors-yellow-400:#facc15;--tailwind-colors-yellow-300:#fde047;--tailwind-colors-yellow-200:#fef08a;--tailwind-colors-yellow-100:#fef9c3;--tailwind-colors-yellow-50:#fefce8;--tailwind-colors-amber-900:#78350f;--tailwind-colors-amber-800:#92400e;--tailwind-colors-amber-700:#b45309;--tailwind-colors-amber-600:#d97706;--tailwind-colors-amber-500:#f59e0b;--tailwind-colors-amber-400:#fbbf24;--tailwind-colors-amber-300:#fcd34d;--tailwind-colors-amber-200:#fde68a;--tailwind-colors-amber-100:#fef3c7;--tailwind-colors-amber-50:#fffbeb;--tailwind-colors-orange-900:#7c2d12;--tailwind-colors-orange-800:#9a3412;--tailwind-colors-orange-700:#c2410c;--tailwind-colors-orange-600:#ea580c;--tailwind-colors-orange-500:#f97316;--tailwind-colors-orange-400:#fb923c;--tailwind-colors-orange-300:#fdba74;--tailwind-colors-orange-200:#fed7aa;--tailwind-colors-orange-100:#ffedd5;--tailwind-colors-orange-50:#fff7ed;--tailwind-colors-red-900:#7f1d1d;--tailwind-colors-red-800:#991b1b;--tailwind-colors-red-700:#b91c1c;--tailwind-colors-red-600:#dc2626;--tailwind-colors-red-500:#ef4444;--tailwind-colors-red-400:#f87171;--tailwind-colors-red-300:#fca5a5;--tailwind-colors-red-200:#fecaca;--tailwind-colors-red-100:#fee2e2;--tailwind-colors-red-50:#fef2f2;--tailwind-colors-stone-900:#1c1917;--tailwind-colors-stone-800:#292524;--tailwind-colors-stone-700:#44403c;--tailwind-colors-stone-600:#57534e;--tailwind-colors-stone-500:#78716c;--tailwind-colors-stone-400:#a8a29e;--tailwind-colors-stone-300:#d6d3d1;--tailwind-colors-stone-200:#e7e5e4;--tailwind-colors-stone-100:#f5f5f4;--tailwind-colors-stone-50:#fafaf9;--tailwind-colors-neutral-900:#171717;--tailwind-colors-neutral-800:#262626;--tailwind-colors-neutral-700:#404040;--tailwind-colors-neutral-600:#525252;--tailwind-colors-neutral-500:#737373;--tailwind-colors-neutral-400:#a3a3a3;--tailwind-colors-neutral-300:#d4d4d4;--tailwind-colors-neutral-200:#e5e5e5;--tailwind-colors-neutral-100:#f5f5f5;--tailwind-colors-neutral-50:#fafafa;--tailwind-colors-zinc-900:#18181b;--tailwind-colors-zinc-800:#27272a;--tailwind-colors-zinc-700:#3f3f46;--tailwind-colors-zinc-600:#52525b;--tailwind-colors-zinc-500:#71717a;--tailwind-colors-zinc-400:#a1a1aa;--tailwind-colors-zinc-300:#d4d4d8;--tailwind-colors-zinc-200:#e4e4e7;--tailwind-colors-zinc-100:#f4f4f5;--tailwind-colors-zinc-50:#fafafa;--tailwind-colors-gray-900:#111827;--tailwind-colors-gray-800:#1f2937;--tailwind-colors-gray-700:#374151;--tailwind-colors-gray-600:#4b5563;--tailwind-colors-gray-500:#6b7280;--tailwind-colors-gray-400:#9ca3af;--tailwind-colors-gray-300:#d1d5db;--tailwind-colors-gray-200:#e5e7eb;--tailwind-colors-gray-100:#f3f4f6;--tailwind-colors-gray-50:#f9fafb;--tailwind-colors-slate-900:#0f172a;--tailwind-colors-slate-800:#1e293b;--tailwind-colors-slate-700:#334155;--tailwind-colors-slate-600:#475569;--tailwind-colors-slate-500:#64748b;--tailwind-colors-slate-400:#94a3b8;--tailwind-colors-slate-300:#cbd5e1;--tailwind-colors-slate-200:#e2e8f0;--tailwind-colors-slate-100:#f1f5f9;--tailwind-colors-slate-50:#f8fafc;--tailwind-colors-black:#000000;--tailwind-colors-white:#ffffff;--spacing-xxxx-large:64px;--spacing-xxx-large:48px;--spacing-xx-large:40px;--spacing-x-large:32px;--spacing-large:24px;--spacing-medium:16px;--spacing-small:12px;--spacing-x-small:8px;--spacing-xx-small:4px;--spacing-xxx-small:2px;--rounding-circle:50%;--rounding-pill:9999px;--rounding-x-large:16px;--rounding-large:8px;--rounding-medium:4px;--rounding-small:2px;--rounding-x-small:1px;--rounding-xx-small:0px;--opacity-xxx-large:1;--opacity-xx-large:0.88;--opacity-x-large:0.72;--opacity-large:0.48;--opacity-medium:0.24;--opacity-small:0.16;--opacity-x-small:0.08;--opacity-xx-small:0;--icon-size-xx-large:64px;--icon-size-x-large:48px;--icon-size-large:32px;--icon-size-medium:24px;--icon-size-small:16px;--font-measure-large:34rem;--font-measure-medium:30rem;--font-measure-small:20rem;--font-tracking-x-large:.25rem;--font-tracking-large:.1rem;--font-tracking-medium:normal;--font-tracking-small:-.05rem;--font-weight-xx-large:700;--font-weight-x-large:600;--font-weight-large:500;--font-weight-medium:400;--font-weight-small:300;--font-size-xxxx-large:4.5rem;--font-size-xxx-large:3rem;--font-size-xx-large:2.25rem;--font-size-x-large:1.5rem;--font-size-large:1.25rem;--font-size-medium:1rem;--font-size-small:0.875rem;--font-size-x-small:0.75rem;--font-family-serif:Georgia, Times, Times New Roman, serif;--font-family-monospace:Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;--font-family-system:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--elevation-x-large:0px 20px 20px rgba(0, 0, 0, 0.2), 0px 16px 16px rgba(0, 0, 0, 0.16), 0px 2px 2px rgba(0, 0, 0, 0.2), 0px 4px 4px rgba(0, 0, 0, 0.16), 0px 8px 8px rgba(0, 0, 0, 0.12);--elevation-large:0px 16px 16px rgba(0, 0, 0, 0.16), 0px 2px 2px rgba(0, 0, 0, 0.2), 0px 4px 4px rgba(0, 0, 0, 0.16), 0px 8px 8px rgba(0, 0, 0, 0.12);--elevation-medium:0px 2px 2px rgba(0, 0, 0, 0.2), 0px 4px 4px rgba(0, 0, 0, 0.18), 0px 8px 8px rgba(0, 0, 0, 0.16);--elevation-small:0px 4px 4px rgba(0, 0, 0, 0.16), 0px 2px 2px rgba(0, 0, 0, 0.18), 0px 1px 1px rgba(0, 0, 0, 0.2);--elevation-x-small:0px 2px 2px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.2);--color-transparent-base:rgba(0, 0, 0, 0);--color-white-base:#fcfcfc;--breakpoints-xx-large:only screen and (min-width: 1220px);--breakpoints-x-large:only screen and (min-width: 1025px);--breakpoints-large:only screen and (min-width: 992px);--breakpoints-medium:only screen and (min-width: 768px);--breakpoints-small:only screen and (min-width: 576px);--breakpoints-x-small:only screen and (max-width: 575px);--breakpoints-xx-small:only screen and (max-width: 360px);--brand-colors-black-100:#000000;--brand-colors-black-80:#323232;--brand-colors-black-60:#666666;--brand-colors-black-40:#999999;--brand-colors-black-20:#cccccc;--brand-colors-white-100:#ffffff;--brand-colors-dark-pine-100:#005655;--brand-colors-dark-pine-80:#327676;--brand-colors-dark-pine-60:#669999;--brand-colors-dark-pine-40:#99bbbb;--brand-colors-dark-pine-20:#ccdddd;--brand-colors-sky-blue-100:#abddff;--brand-colors-sky-blue-80:#c3e5ff;--brand-colors-sky-blue-60:#d2ebff;--brand-colors-sky-blue-40:#e1f2ff;--brand-colors-sky-blue-20:#f0f8ff;--brand-colors-sand-100:#ffefd7;--brand-colors-sand-80:#fff2df;--brand-colors-sand-60:#fff5e7;--brand-colors-brand-lime-100:#cdff00;--brand-colors-brand-lime-80:#d7ff32;--brand-colors-brand-lime-60:#e1ff66;--brand-colors-brand-lime-40:#ebff99;--brand-colors-brand-lime-20:#f5ffcc;--brand-colors-electric-purple-100:#7d49f3;--brand-colors-electric-purple-80:#976df5;--brand-colors-electric-purple-60:#b191f7;--brand-colors-electric-purple-40:#cbb6fa;--brand-colors-electric-purple-20:#e5dafc;--font-family-sans-serif:Figtree, var(--font-family-system);--color-dusk-base:var(--tailwind-colors-violet-500);--color-dusk-100:var(--tailwind-colors-violet-900);--color-dusk-90:var(--tailwind-colors-violet-800);--color-dusk-80:var(--tailwind-colors-violet-700);--color-dusk-70:var(--tailwind-colors-violet-600);--color-dusk-60:var(--tailwind-colors-violet-500);--color-dusk-50:var(--tailwind-colors-violet-400);--color-dusk-40:var(--tailwind-colors-violet-300);--color-dusk-30:var(--tailwind-colors-violet-200);--color-dusk-20:var(--tailwind-colors-violet-100);--color-dusk-10:var(--tailwind-colors-violet-50);--color-slate-base:var(--tailwind-colors-slate-500);--color-slate-100:var(--tailwind-colors-slate-900);--color-slate-90:var(--tailwind-colors-slate-800);--color-slate-80:var(--tailwind-colors-slate-700);--color-slate-70:var(--tailwind-colors-slate-600);--color-slate-60:var(--tailwind-colors-slate-500);--color-slate-50:var(--tailwind-colors-slate-400);--color-slate-40:var(--tailwind-colors-slate-300);--color-slate-30:var(--tailwind-colors-slate-200);--color-slate-20:var(--tailwind-colors-slate-100);--color-slate-10:var(--tailwind-colors-slate-50);--color-teal-base:var(--tailwind-colors-teal-500);--color-teal-100:var(--tailwind-colors-teal-900);--color-teal-90:var(--tailwind-colors-teal-800);--color-teal-80:var(--tailwind-colors-teal-700);--color-teal-70:var(--tailwind-colors-teal-600);--color-teal-60:var(--tailwind-colors-teal-500);--color-teal-50:var(--tailwind-colors-teal-400);--color-teal-40:var(--tailwind-colors-teal-300);--color-teal-30:var(--tailwind-colors-teal-200);--color-teal-20:var(--tailwind-colors-teal-100);--color-teal-10:var(--tailwind-colors-teal-50);--color-sky-base:var(--tailwind-colors-sky-500);--color-sky-100:var(--tailwind-colors-sky-900);--color-sky-90:var(--tailwind-colors-sky-800);--color-sky-80:var(--tailwind-colors-sky-700);--color-sky-70:var(--tailwind-colors-sky-600);--color-sky-60:var(--tailwind-colors-sky-500);--color-sky-50:var(--tailwind-colors-sky-400);--color-sky-40:var(--tailwind-colors-sky-300);--color-sky-30:var(--tailwind-colors-sky-200);--color-sky-20:var(--tailwind-colors-sky-100);--color-sky-10:var(--tailwind-colors-sky-50);--color-indigo-base:var(--tailwind-colors-indigo-500);--color-indigo-100:var(--tailwind-colors-indigo-900);--color-indigo-90:var(--tailwind-colors-indigo-800);--color-indigo-80:var(--tailwind-colors-indigo-700);--color-indigo-70:var(--tailwind-colors-indigo-600);--color-indigo-60:var(--tailwind-colors-indigo-500);--color-indigo-50:var(--tailwind-colors-indigo-400);--color-indigo-40:var(--tailwind-colors-indigo-300);--color-indigo-30:var(--tailwind-colors-indigo-200);--color-indigo-20:var(--tailwind-colors-indigo-100);--color-indigo-10:var(--tailwind-colors-indigo-50);--color-magenta-base:var(--tailwind-colors-pink-500);--color-magenta-100:var(--tailwind-colors-pink-900);--color-magenta-90:var(--tailwind-colors-pink-800);--color-magenta-80:var(--tailwind-colors-pink-700);--color-magenta-70:var(--tailwind-colors-pink-600);--color-magenta-60:var(--tailwind-colors-pink-500);--color-magenta-50:var(--tailwind-colors-pink-400);--color-magenta-40:var(--tailwind-colors-pink-300);--color-magenta-30:var(--tailwind-colors-pink-200);--color-magenta-20:var(--tailwind-colors-pink-100);--color-magenta-10:var(--tailwind-colors-pink-50);--color-purple-base:var(--tailwind-colors-purple-500);--color-purple-100:var(--tailwind-colors-purple-900);--color-purple-90:var(--tailwind-colors-purple-800);--color-purple-80:var(--tailwind-colors-purple-700);--color-purple-70:var(--tailwind-colors-purple-600);--color-purple-60:var(--tailwind-colors-purple-500);--color-purple-50:var(--tailwind-colors-purple-400);--color-purple-40:var(--tailwind-colors-purple-300);--color-purple-30:var(--tailwind-colors-purple-200);--color-purple-20:var(--tailwind-colors-purple-100);--color-purple-10:var(--tailwind-colors-purple-50);--color-bronze-base:var(--tailwind-colors-amber-500);--color-bronze-100:var(--tailwind-colors-amber-900);--color-bronze-90:var(--tailwind-colors-amber-800);--color-bronze-80:var(--tailwind-colors-amber-700);--color-bronze-70:var(--tailwind-colors-amber-600);--color-bronze-60:var(--tailwind-colors-amber-500);--color-bronze-50:var(--tailwind-colors-amber-400);--color-bronze-40:var(--tailwind-colors-amber-300);--color-bronze-30:var(--tailwind-colors-amber-200);--color-bronze-20:var(--tailwind-colors-amber-100);--color-bronze-10:var(--tailwind-colors-amber-50);--color-blue-base:var(--tailwind-colors-blue-500);--color-blue-100:var(--tailwind-colors-blue-900);--color-blue-90:var(--tailwind-colors-blue-800);--color-blue-80:var(--tailwind-colors-blue-700);--color-blue-70:var(--tailwind-colors-blue-600);--color-blue-60:var(--tailwind-colors-blue-500);--color-blue-50:var(--tailwind-colors-blue-400);--color-blue-40:var(--tailwind-colors-blue-300);--color-blue-30:var(--tailwind-colors-blue-200);--color-blue-20:var(--tailwind-colors-blue-100);--color-blue-10:var(--tailwind-colors-blue-50);--color-green-base:var(--tailwind-colors-green-500);--color-green-100:var(--tailwind-colors-green-900);--color-green-90:var(--tailwind-colors-green-800);--color-green-80:var(--tailwind-colors-green-700);--color-green-70:var(--tailwind-colors-green-600);--color-green-60:var(--tailwind-colors-green-500);--color-green-50:var(--tailwind-colors-green-400);--color-green-40:var(--tailwind-colors-green-300);--color-green-30:var(--tailwind-colors-green-200);--color-green-20:var(--tailwind-colors-green-100);--color-green-10:var(--tailwind-colors-green-50);--color-red-base:var(--tailwind-colors-red-500);--color-red-100:var(--tailwind-colors-red-900);--color-red-90:var(--tailwind-colors-red-800);--color-red-80:var(--tailwind-colors-red-700);--color-red-70:var(--tailwind-colors-red-600);--color-red-60:var(--tailwind-colors-red-500);--color-red-50:var(--tailwind-colors-red-400);--color-red-40:var(--tailwind-colors-red-300);--color-red-30:var(--tailwind-colors-red-200);--color-red-20:var(--tailwind-colors-red-100);--color-red-10:var(--tailwind-colors-red-50);--color-gray-base:var(--tailwind-colors-gray-500);--color-gray-100:var(--tailwind-colors-gray-900);--color-gray-90:var(--tailwind-colors-gray-800);--color-gray-80:var(--tailwind-colors-gray-700);--color-gray-70:var(--tailwind-colors-gray-600);--color-gray-60:var(--tailwind-colors-gray-500);--color-gray-50:var(--tailwind-colors-gray-400);--color-gray-40:var(--tailwind-colors-gray-300);--color-gray-30:var(--tailwind-colors-gray-200);--color-gray-20:var(--tailwind-colors-gray-100);--color-gray-10:var(--tailwind-colors-gray-50);--color-hotorchid-base:var(--tailwind-colors-pink-500);--color-white-white:var(--tailwind-colors-white);--color-black-black:var(--tailwind-colors-black);--color-black-base:var(--tailwind-colors-stone-900)}.chip{display:flex;background-color:var(--tailwind-colors-gray-50);border:1px solid var(--tailwind-colors-gray-200);padding:0 var(--spacing-xx-small);border-radius:var(--spacing-x-small);align-items:center;color:var(--tailwind-colors-neutral-500);font-family:var(--font-family-system);font-size:var(--font-size-medium);height:var(--spacing-xxx-large);width:-moz-fit-content;width:fit-content;cursor:default}.chip:hover{background-color:var(--tailwind-colors-gray-100)}.chip--active{color:var(--brand-colors-white-100)}.chip--active:hover{filter:brightness(90%)}.chip__content{padding:0 var(--spacing-small);white-space:nowrap}.chip__icon{width:var(--spacing-x-large);height:var(--spacing-x-large)}',HA=class{constructor(t){Pi(this,t),this.icon=void 0,this.content=void 0,this.backgroundColor="#005655",this.active=!1}render(){const t={background:this.active?this.backgroundColor:""};return Pe("div",{style:t,class:`chip ${this.active?"chip--active":""}`},this.icon&&Pe("img",{class:"chip__icon",src:this.icon}),Pe("div",{class:"chip__content"},this.content))}};HA.style=jK;const RK=Object.freeze(Object.defineProperty({__proto__:null,mi_chip:HA},Symbol.toStringTag,{value:"Module"})),PK=Object.freeze(Object.defineProperty({__proto__:null,mi_column:class{constructor(t){Pi(this,t),this.clicked=pr(this,"clicked",7),this.monospace=!1,this.alignContent="left",this.label=void 0,this.sortable=void 0,this.sort=void 0,this.binding=void 0,this.fitContent=!1,this.width="auto"}cellContentClickedHandler(t){this.clicked.emit(t.detail)}render(){}}},Symbol.toStringTag,{value:"Module"}));var B2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function GA(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function tp(t,i,o){return o={path:i,exports:{},require:function(l,h){return UK()}},t(o,o.exports),o.exports}function UK(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var ZA=tp(function(t){((i,o)=>{t.exports?t.exports=o():i.fuzzysort=o()})(B2,i=>{var o=(He,Re)=>{if(He=="farzher")return{target:"farzher was here (^-^*)/",score:0,_indexes:[0]};if(!He||!Re)return We;var Le=A(He);de(Re)||(Re=E(Re));var ht=Le.bitflags;return(ht&Re._bitflags)!==ht?We:L(Le,Re)},l=(He,Re,Le)=>{if(He=="farzher")return[{target:"farzher was here (^-^*)/",score:0,_indexes:[0],obj:Re?Re[0]:We}];if(!He)return Le&&Le.all?C(He,Re,Le):je;var ht=A(He),ot=ht.bitflags,me=Le&&Le.threshold||Ve,ve=Le&&Le.limit||qe,ae=0,G=0,X=Re.length;if(Le&&Le.key)for(var ge=Le.key,fe=0;fe<X;++fe){var Ne=Re[fe],Oe=Me(Ne,ge);if(Oe&&(de(Oe)||(Oe=E(Oe)),(ot&Oe._bitflags)===ot)){var Ae=L(ht,Oe);Ae!==We&&(Ae.score<me||(Ae={target:Ae.target,_targetLower:"",_targetLowerCodes:We,_nextBeginningIndexes:We,_bitflags:0,score:Ae.score,_indexes:Ae._indexes,obj:Ne},ae<ve?(Se.add(Ae),++ae):(++G,Ae.score>Se.peek().score&&Se.replaceTop(Ae))))}}else if(Le&&Le.keys)for(var $e=Le.scoreFn||Ie,st=Le.keys,Ce=st.length,fe=0;fe<X;++fe){for(var Ne=Re[fe],Xe=new Array(Ce),yt=0;yt<Ce;++yt){var ge=st[yt],Oe=Me(Ne,ge);if(!Oe){Xe[yt]=We;continue}de(Oe)||(Oe=E(Oe)),(ot&Oe._bitflags)!==ot?Xe[yt]=We:Xe[yt]=L(ht,Oe)}Xe.obj=Ne;var jt=$e(Xe);jt!==We&&(jt<me||(Xe.score=jt,ae<ve?(Se.add(Xe),++ae):(++G,jt>Se.peek().score&&Se.replaceTop(Xe))))}else for(var fe=0;fe<X;++fe){var Oe=Re[fe];if(Oe&&(de(Oe)||(Oe=E(Oe)),(ot&Oe._bitflags)===ot)){var Ae=L(ht,Oe);Ae!==We&&(Ae.score<me||(ae<ve?(Se.add(Ae),++ae):(++G,Ae.score>Se.peek().score&&Se.replaceTop(Ae))))}}if(ae===0)return je;for(var Ft=new Array(ae),fe=ae-1;fe>=0;--fe)Ft[fe]=Se.poll();return Ft.total=ae+G,Ft},h=(He,Re,Le)=>{if(typeof Re=="function")return y(He,Re);if(He===We)return We;Re===void 0&&(Re="<b>"),Le===void 0&&(Le="</b>");var ht="",ot=0,me=!1,ve=He.target,ae=ve.length,G=He._indexes;G=G.slice(0,G.len).sort((fe,Ne)=>fe-Ne);for(var X=0;X<ae;++X){var ge=ve[X];if(G[ot]===X){if(++ot,me||(me=!0,ht+=Re),ot===G.length){ht+=ge+Le+ve.substr(X+1);break}}else me&&(me=!1,ht+=Le);ht+=ge}return ht},y=(X,Re)=>{if(X===We)return We;var Le=X.target,ht=Le.length,ot=X._indexes;ot=ot.slice(0,ot.len).sort((Ne,Oe)=>Ne-Oe);for(var me="",ve=0,ae=0,G=!1,X=[],ge=0;ge<ht;++ge){var fe=Le[ge];if(ot[ae]===ge){if(++ae,G||(G=!0,X.push(me),me=""),ae===ot.length){me+=fe,X.push(Re(me,ve++)),me="",X.push(Le.substr(ge+1));break}}else G&&(G=!1,X.push(Re(me,ve++)),me="");me+=fe}return X},_=He=>He._indexes.slice(0,He._indexes.len).sort((Re,Le)=>Re-Le),a=He=>{typeof He!="string"&&(He="");var Re=U(He);return{target:He,_targetLower:Re._lower,_targetLowerCodes:Re.lowerCodes,_nextBeginningIndexes:We,_bitflags:Re.bitflags,score:We,_indexes:[0],obj:We}},v=He=>{typeof He!="string"&&(He=""),He=He.trim();var Re=U(He),Le=[];if(Re.containsSpace){var ht=He.split(/\s+/);ht=[...new Set(ht)];for(var ot=0;ot<ht.length;ot++)if(ht[ot]!==""){var me=U(ht[ot]);Le.push({lowerCodes:me.lowerCodes,_lower:ht[ot].toLowerCase(),containsSpace:!1})}}return{lowerCodes:Re.lowerCodes,bitflags:Re.bitflags,containsSpace:Re.containsSpace,_lower:Re._lower,spaceSearches:Le}},E=He=>{if(He.length>999)return a(He);var Re=ne.get(He);return Re!==void 0||(Re=a(He),ne.set(He,Re)),Re},A=He=>{if(He.length>999)return v(He);var Re=re.get(He);return Re!==void 0||(Re=v(He),re.set(He,Re)),Re},C=(He,Re,Le)=>{var ht=[];ht.total=Re.length;var ot=Le&&Le.limit||qe;if(Le&&Le.key)for(var me=0;me<Re.length;me++){var ve=Re[me],ae=Me(ve,Le.key);if(ae){de(ae)||(ae=E(ae)),ae.score=Ve,ae._indexes.len=0;var G=ae;if(G={target:G.target,_targetLower:"",_targetLowerCodes:We,_nextBeginningIndexes:We,_bitflags:0,score:ae.score,_indexes:We,obj:ve},ht.push(G),ht.length>=ot)return ht}}else if(Le&&Le.keys)for(var me=0;me<Re.length;me++){for(var ve=Re[me],X=new Array(Le.keys.length),ge=Le.keys.length-1;ge>=0;--ge){var ae=Me(ve,Le.keys[ge]);if(!ae){X[ge]=We;continue}de(ae)||(ae=E(ae)),ae.score=Ve,ae._indexes.len=0,X[ge]=ae}if(X.obj=ve,X.score=Ve,ht.push(X),ht.length>=ot)return ht}else for(var me=0;me<Re.length;me++){var ae=Re[me];if(ae&&(de(ae)||(ae=E(ae)),ae.score=Ve,ae._indexes.len=0,ht.push(ae),ht.length>=ot))return ht}return ht},L=(He,Re,Le=!1)=>{if(Le===!1&&He.containsSpace)return j(He,Re);for(var ht=He._lower,ot=He.lowerCodes,me=ot[0],ve=Re._targetLowerCodes,ae=ot.length,G=ve.length,Ne=0,X=0,ge=0;;){var fe=me===ve[X];if(fe){if(ie[ge++]=X,++Ne,Ne===ae)break;me=ot[Ne]}if(++X,X>=G)return We}var Ne=0,Oe=!1,Ae=0,$e=Re._nextBeginningIndexes;$e===We&&($e=Re._nextBeginningIndexes=Z(Re.target)),X=ie[0]===0?0:$e[ie[0]-1];var st=0;if(X!==G)for(;;)if(X>=G){if(Ne<=0||(++st,st>200))break;--Ne;var Ce=te[--Ae];X=$e[Ce]}else{var fe=ot[Ne]===ve[X];if(fe){if(te[Ae++]=X,++Ne,Ne===ae){Oe=!0;break}++X}else X=$e[X]}var Xe=Re._targetLower.indexOf(ht,ie[0]),yt=~Xe;if(yt&&!Oe)for(var jt=0;jt<ge;++jt)ie[jt]=Xe+jt;var Ft=!1;yt&&(Ft=Re._nextBeginningIndexes[Xe-1]===Xe);{if(Oe)var hn=te,jn=Ae;else var hn=ie,jn=ge;for(var Dt=0,Cn=0,jt=1;jt<ae;++jt)hn[jt]-hn[jt-1]!==1&&(Dt-=hn[jt],++Cn);var En=hn[ae-1]-hn[0]-(ae-1);if(Dt-=(12+En)*Cn,hn[0]!==0&&(Dt-=hn[0]*hn[0]*.2),!Oe)Dt*=1e3;else{for(var In=1,jt=$e[0];jt<G;jt=$e[jt])++In;In>24&&(Dt*=(In-24)*10)}yt&&(Dt/=1+ae*ae*1),Ft&&(Dt/=1+ae*ae*1),Dt-=G-ae,Re.score=Dt;for(var jt=0;jt<jn;++jt)Re._indexes[jt]=hn[jt];return Re._indexes.len=jn,Re}},j=(He,Re)=>{for(var Le=new Set,ht=0,ot=We,me=0,ve=He.spaceSearches,ge=0;ge<ve.length;++ge){var ae=ve[ge];if(ot=L(ae,Re),ot===We)return We;ht+=ot.score,ot._indexes[0]<me&&(ht-=me-ot._indexes[0]),me=ot._indexes[0];for(var G=0;G<ot._indexes.len;++G)Le.add(ot._indexes[G])}var X=L(He,Re,!0);if(X!==We&&X.score>ht)return X;ot.score=ht;var ge=0;for(let fe of Le)ot._indexes[ge++]=fe;return ot._indexes.len=ge,ot},U=He=>{for(var Re=He.length,Le=He.toLowerCase(),ht=[],ot=0,me=!1,ve=0;ve<Re;++ve){var ae=ht[ve]=Le.charCodeAt(ve);if(ae===32){me=!0;continue}var G=ae>=97&&ae<=122?ae-97:ae>=48&&ae<=57?26:ae<=127?30:31;ot|=1<<G}return{lowerCodes:ht,bitflags:ot,containsSpace:me,_lower:Le}},V=He=>{for(var Re=He.length,Le=[],ht=0,ot=!1,me=!1,ve=0;ve<Re;++ve){var ae=He.charCodeAt(ve),G=ae>=65&&ae<=90,X=G||ae>=97&&ae<=122||ae>=48&&ae<=57,ge=G&&!ot||!me||!X;ot=G,me=X,ge&&(Le[ht++]=ve)}return Le},Z=He=>{for(var Re=He.length,Le=V(He),ht=[],ot=Le[0],me=0,ve=0;ve<Re;++ve)ot>ve?ht[ve]=ot:(ot=Le[++me],ht[ve]=ot===void 0?Re:ot);return ht},ee=()=>{ne.clear(),re.clear(),ie=[],te=[]},ne=new Map,re=new Map,ie=[],te=[],Ie=He=>{for(var Re=Ve,Le=He.length,ht=0;ht<Le;++ht){var ot=He[ht];if(ot!==We){var me=ot.score;me>Re&&(Re=me)}}return Re===Ve?We:Re},Me=(He,Re)=>{var Le=He[Re];if(Le!==void 0)return Le;var ht=Re;Array.isArray(Re)||(ht=Re.split("."));for(var ot=ht.length,me=-1;He&&++me<ot;)He=He[ht[me]];return He},de=He=>typeof He=="object",qe=1/0,Ve=-qe,je=[];je.total=0;var We=null,tt=He=>{var Re=[],Le=0,ht={},ot=me=>{for(var ve=0,ae=Re[ve],G=1;G<Le;){var X=G+1;ve=G,X<Le&&Re[X].score<Re[G].score&&(ve=X),Re[ve-1>>1]=Re[ve],G=1+(ve<<1)}for(var ge=ve-1>>1;ve>0&&ae.score<Re[ge].score;ge=(ve=ge)-1>>1)Re[ve]=Re[ge];Re[ve]=ae};return ht.add=me=>{var ve=Le;Re[Le++]=me;for(var ae=ve-1>>1;ve>0&&me.score<Re[ae].score;ae=(ve=ae)-1>>1)Re[ve]=Re[ae];Re[ve]=me},ht.poll=me=>{if(Le!==0){var ve=Re[0];return Re[0]=Re[--Le],ot(),ve}},ht.peek=me=>{if(Le!==0)return Re[0]},ht.replaceTop=me=>{Re[0]=me,ot()},ht},Se=tt();return{single:o,go:l,highlight:h,prepare:a,indexes:_,cleanup:ee}})}),Uh;(function(t){t.Asc="asc",t.Desc="desc"})(Uh||(Uh={}));const BK=`.mi-input[type=text],.mi-input[type=search],.mi-input[type=number],.mi-input[type=password],.mi-input[type=tel]{font-size:1rem;padding:8px;border-style:solid;border-width:1px;border-color:#8d98aa;border-radius:4px}.mi-input[type=text],.mi-input[type=search],.mi-input[type=number],.mi-input[type=password],.mi-input[type=range],.mi-input[type=tel]{display:block}.mi-input[type=radio],.mi-input[type=checkbox]{margin:0px;transform:scale(1.2, 1.2)}.mi-input[type=search]{padding-left:32px;background:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.6267 8.43836C14.6267 11.8561 11.8561 14.6267 8.43836 14.6267C5.02062 14.6267 2.25 11.8561 2.25 8.43836C2.25 5.02062 5.02062 2.25 8.43836 2.25C11.8561 2.25 14.6267 5.02062 14.6267 8.43836Z' stroke='%23aeb9cb' stroke-width='2.5'/%3E%3Crect x='15.0979' y='14.1614' width='7.34678' height='1.32449' rx='0.662244' transform='rotate(45 15.0979 14.1614)' fill='%23aeb9cb' stroke='%23aeb9cb'/%3E%3Crect x='13.7847' y='13.2916' width='1.05276' height='0.697347' transform='rotate(45 13.7847 13.2916)' stroke='%23aeb9cb' stroke-width='0.697346'/%3E%3C/svg%3E%0A") no-repeat scroll 8px center, white}.mi-input:disabled{opacity:0.48;cursor:not-allowed}.mi-label{font-style:normal;display:block;font-size:1rem;font-weight:500;color:#1e2025}.mi-label>*{margin-top:4px}.mi-label>input[type=radio],.mi-label>input[type=checkbox],.mi-label>label.mi-toggle-btn{margin-right:8px}combo-box-item{display:none}:host{display:inline-block;position:relative;font-family:Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}:host(.open) .button::after{border-top-color:transparent;border-bottom-color:#1f2937;margin-top:-8px}:host(.open) section{display:flex}:host(.open) svg{transform:rotate(180deg)}.input{position:relative;display:flex;justify-content:flex-start;align-items:center;height:100%;width:100%;font-family:inherit;background:linear-gradient(#f9fafb, #f3f4f6);border-radius:4px;border-width:1px;border-style:solid;border-color:#d1d5db;color:#1c1917;font-size:1rem;font-weight:500;line-height:1rem;padding-right:40px;padding-left:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.input__svg{margin-left:auto;position:absolute;top:50%;right:-42px}.input__label{padding-top:12px;padding-bottom:12px;margin-right:8px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.input__label--from-inner-html{display:flex;flex-direction:row;align-items:center;gap:8px}.input:disabled{opacity:0.72;cursor:not-allowed}.content{padding-top:12px;padding-bottom:12px;margin-top:12px;margin-bottom:12px;border-radius:8px;color:#1c1917;font-size:1rem;font-weight:500;background-color:#fcfcfc;box-shadow:0px 2px 2px rgba(0, 0, 0, 0.2), 0px 4px 4px rgba(0, 0, 0, 0.18), 0px 8px 8px rgba(0, 0, 0, 0.16);min-width:320px;max-width:480px;max-height:580px;display:none;flex-direction:column;position:fixed;z-index:10000}.content .list{padding:0;margin:0;list-style:none;overflow-y:auto}.content .list__item{cursor:pointer}.content .list__item--highlighted{background-color:#f3f4f6}.empty-page{display:flex;align-items:left;flex-direction:column;margin-left:16px;margin-bottom:12px}.empty-page>*{margin:0}.empty-page__header{font-size:1rem;font-weight:400;color:#374151}.label{display:flex;flex-direction:row;align-items:center;padding-left:16px;padding-right:16px;padding-top:8px;padding-bottom:8px}.label__item{display:inline-block;margin-top:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label__item--from-inner-html{display:flex;flex-direction:row;align-items:center;gap:8px}.label__checkbox{margin-right:12px}.label__checkbox--hidden{display:none}`;var ha;(function(t){t.ArrowDown="ArrowDown",t.ArrowUp="ArrowUp",t.Enter="Enter",t.Esc="Escape"})(ha||(ha={}));const WA=class{constructor(t){Pi(this,t),this.change=pr(this,"change",3),this.isFilterSelectionDisabled=!1,this.isMouseOverEventDisabled=!1,this.currentItemIndex=0,this.selectedItemIndex=0,this.highlightedItemClassName="list__item--highlighted",this.open=!1,this.items=[],this.itemsOrder=void 0,this.filterable=!1,this.selected=[],this.noResultsMessage="No results found",this.currentItems=[],this.disabled=!1}onItemsChanged(t){if(t.some(i=>i.tagName.toLowerCase()!=="combo-box-item"))throw new Error("Items contains unknown element(s).");if(Object.values(Uh).includes(this.itemsOrder)&&(t=this.getSortedItems(t)),this.currentItems=[...t],this.filter(),!this.filterable){const i=this.currentItems.findIndex(o=>o.selected);this.currentItemIndex=i>-1?i:0,this.selectedItemIndex=this.currentItemIndex}this.items.forEach((i,o)=>{i.dataset.index=o.toString()}),this.selectFirstMiDropdownItem()}onCurrentItemsChange(){this.isFilterSelectionDisabled=this.currentItems.length===0}checkForClickOutside(t){var i;!this.hostElement.contains(t.target)&&this.noResultsMessage&&(this.clearFilter(),this.filterElement.value=(i=this.selected[0])===null||i===void 0?void 0:i.text,this.open=!1)}onClickExists(t){this.open=!0,t.target.type="text",this.filterElement.select()}mouseMoveEventHandler(){this.isMouseOverEventDisabled=!1}scrollEventHandler(t){const i=t.target;(!i||!this.hostElement.contains(i))&&(this.open=!1)}resizeEventHandler(){this.calculateDropDownPosition()}componentDidLoad(){this.createMiDropdownItemsFromDocument(),this.selectFirstMiDropdownItem(),this.enableKeyboardNavigationEvents();const t=new IntersectionObserver(i=>{i.forEach(o=>{o.isIntersecting===!0&&this.filterElement.blur()})});this.filterElement!==void 0&&(t.observe(this.filterElement),this.filterElement.addEventListener("keydown",i=>{(i.key===ha.ArrowDown||i.key===ha.ArrowUp)&&i.preventDefault()}))}componentDidRender(){this.calculateDropDownPosition(),this.filterable||this.highlightItem(this.currentItemIndex,!0)}createMiDropdownItemsFromDocument(){const t=this.items&&this.items.length>0?this.items:this.hostElement.querySelectorAll("combo-box-item");t.length>0&&(this.items=Array.from(t))}selectFirstMiDropdownItem(){var t;if(!this.filterable){const i=(t=this.items)===null||t===void 0?void 0:t.findIndex(o=>o.selected);this.selected=[this.items[i>-1?i:0]]}}enableKeyboardNavigationEvents(){this.hostElement.addEventListener("keydown",t=>{if(this.open===!1&&t.key===ha.ArrowDown){this.isMouseOverEventDisabled=!0,this.toggleContentWindow(),t.preventDefault();return}if(this.open===!0&&!this.filterable)switch(t.key){case(ha.ArrowDown||ha.ArrowUp):this.isMouseOverEventDisabled=!0,this.currentItemIndex=(this.currentItemIndex+1)%this.currentItems.length,this.highlightItem(this.currentItemIndex,!0),t.preventDefault();break;case ha.ArrowUp:this.isMouseOverEventDisabled=!0,this.currentItemIndex=(this.currentItemIndex+this.currentItems.length-1)%this.currentItems.length,this.highlightItem(this.currentItemIndex,!0),t.preventDefault();break;case ha.Enter:if(this.hostElement.shadowRoot.activeElement===this.clearButtonElement)return;this.currentItems[this.currentItemIndex]!==void 0&&this.onSelect(this.currentItems[this.currentItemIndex]),t.preventDefault();break}t.key===ha.Esc&&(this.filterable||(this.currentItemIndex=this.selectedItemIndex,this.highlightItem(this.currentItemIndex)),this.toggleContentWindow(),this.clearFilter())})}highlightItem(t,i=!1){var o,l;const h=this.hostElement.shadowRoot.querySelectorAll(".list__item");h.forEach(y=>{y.classList.remove(this.highlightedItemClassName)}),(o=h[t])===null||o===void 0||o.classList.add(this.highlightedItemClassName),i&&((l=h[t])===null||l===void 0||l.scrollIntoView({block:"nearest",inline:"nearest"}))}getSortedItems(t){return this.itemsOrder===Uh.Asc?t.sort((i,o)=>(i.text||i.innerText).trimStart().toLowerCase().localeCompare((o.text||o.innerText).trimStart().toLowerCase(),void 0,{numeric:!0})):t.sort((i,o)=>(o.text||o.innerText).trimStart().toLowerCase().localeCompare((i.text||i.innerText).trimStart().toLowerCase(),void 0,{numeric:!0})),t}onChangedHandler(){this.selected=[...this.items.filter(t=>t.selected)],this.change.emit(this.selected)}toggleContentWindow(){this.open=!this.open}onSelect(t){this.filterable||(this.open=!1,Array.from(this.items).forEach(o=>{o.selected=!1}),this.clearFilter()),t.selected=!t.selected,this.currentItemIndex=Number(t.dataset.index),this.selectedItemIndex=this.currentItemIndex,this.onChangedHandler()}onMouseOver(t){!this.isMouseOverEventDisabled&&!this.filterable&&(this.highlightItem(t),this.currentItemIndex=t)}filter(){if(this.filterElement){const t=this.filterElement.value,i=this.items.map(_=>_.text||_.innerText),o=this.currentItems.length;if(t==="")return this.currentItemIndex=this.selectedItemIndex,this.currentItems=[...this.items];const l={limit:50,allowTypo:!1,threshold:-1e4},y=ZA.go(t,i,l).map(_=>this.items.find(a=>(a.text||a.innerText)===_.target));this.currentItems=y,o!==this.currentItems.length&&(this.currentItemIndex=0)}}clearFilter(){var t;this.filterElement&&(this.filterElement.value=(t=this.selected[0])===null||t===void 0?void 0:t.text,this.filterElement.blur(),this.currentItems=this.items)}render(){var t;const i=Pe("ul",{class:"list"},this.currentItems.map((o,l)=>this.renderListItem(o,l,this.filterable)));return Pe(Jr,{class:{open:this.open}},Pe("input",{type:"text",class:"input",onFocus:o=>this.onClickExists(o),ref:o=>this.filterElement=o,onInput:()=>this.filter(),tabIndex:0,value:(t=this.selected[0])===null||t===void 0?void 0:t.text}),Pe("svg",{role:"button",class:"input__svg",part:"icon-down-arrow",width:"12",height:"6",viewBox:"0 0 18 10",xmlns:"http://www.w3.org/2000/svg",onClick:()=>this.toggleContentWindow()},Pe("path",{d:"M9.37165 9.58706C9.17303 9.80775 8.82697 9.80775 8.62835 9.58706L0.751035 0.834484C0.46145 0.512722 0.689796 7.73699e-08 1.12268 1.25924e-07L16.8773 1.89302e-06C17.3102 1.94157e-06 17.5386 0.512723 17.249 0.834484L9.37165 9.58706Z"})),Pe("section",{ref:o=>this.listElement=o,part:"dropdown-container",class:"content"},this.currentItems.length===0?this.renderNoResultsTemplate():i))}renderNoResultsTemplate(){return Pe("div",{class:"empty-page"},Pe("p",{class:"empty-page__header"},this.noResultsMessage))}renderListItem(t,i,o){let l;const h=t.getAttribute("title")||t.text||t.innerText;return t.innerText.length>0?l=Pe("div",{class:"label__item label__item--from-inner-html",innerHTML:t.innerHTML}):l=Pe("div",{class:"label__item",innerHTML:t.text}),Pe("li",{class:"list__item",title:h,onMouseOver:()=>{this.onMouseOver(i)}},Pe("label",{class:"mi-label label",tabindex:"-1"},Pe("input",{class:{label__checkbox:!0,"label__checkbox--hidden":!o,"mi-input":!0},type:"checkbox",value:i,checked:t.selected,onChange:()=>this.onSelect(t)}),l))}calculateDropDownPosition(){this.listElement.style.bottom=null,this.listElement.style.left=null,this.listElement.style.right=null,this.listElement.style.top=null,this.listElement.style.maxHeight=null,this.listElement.style.minWidth=null;const{clientWidth:t,clientHeight:i}=document.documentElement,o=this.hostElement.getBoundingClientRect(),l=this.listElement.getBoundingClientRect(),h=i-o.bottom,y=o.top,_=580,a=12;t<=l.width||o.right-l.width<0&&l.right>t?(this.listElement.style.right=`${a}px`,this.listElement.style.left=`${a}px`,this.listElement.style.minWidth="unset"):l.right>t?(this.listElement.style.left="unset",this.listElement.style.right=`${t-o.right}px`):(this.listElement.style.left=`${o.left}px`,this.listElement.style.right="unset"),y>h?(this.listElement.style.maxHeight=`${Math.min(y,_)}px`,this.listElement.style.top="unset",this.listElement.style.bottom=`${i-o.top}px`):(this.listElement.style.top=`${o.bottom}px`,this.listElement.style.bottom="unset",this.listElement.style.maxHeight=`${Math.min(h-a*2,_)}px`)}get hostElement(){return Ga(this)}static get watchers(){return{items:["onItemsChanged"],currentItems:["onCurrentItemsChange"]}}};WA.style=BK;const FK=Object.freeze(Object.defineProperty({__proto__:null,mi_combo_box:WA},Symbol.toStringTag,{value:"Module"}));function qA(t){return t!==null&&t>""&&!isNaN(Number(t))}function VK(t){return Number(t).toLocaleString(void 0,{minimumFractionDigits:0})}function m1(t){return t==null}function g1(){return!!(navigator.userAgent.match(/Trident/g)||navigator.userAgent.match(/MSIE/g))}function $K(t){try{return new URL(t),!0}catch{return!1}}function F2(t,i){if($K(t)===!1)return;const o=new URL(t),l=o.hostname;if(l==="image.mapsindoors.com"){const h=Math.max(2,window.devicePixelRatio||1),y=i*h,_=i*h;o.searchParams.set("width",y.toString()),o.searchParams.set("height",_.toString()),o.searchParams.set("fitMode","cover")}return["app.mapsindoors.com","v2.mapsindoors.com"].includes(l)&&o.searchParams.set("scale","2"),o.toString()}const YK=`a.mi-button{cursor:default}.mi-button{border-radius:4px;border-width:1px;border-style:solid;font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:500;padding-left:16px;padding-right:16px;padding-top:12px;padding-bottom:12px;display:inline-flex;align-items:center}.mi-button:disabled{opacity:0.48;cursor:not-allowed}.mi-button object{filter:invert(9%) sepia(13%) saturate(692%) hue-rotate(185deg) brightness(98%) contrast(91%);width:16px;height:16px}.mi-button--small{padding-left:12px;padding-right:12px;padding-top:8px;padding-bottom:8px;font-size:0.875rem;height:32px}.mi-button--small object{width:16px;height:16px}.mi-button--large{padding-left:16px;padding-right:16px;font-size:1.25rem}.mi-button--large object{width:20px;height:20px}.mi-button--full-width{width:100%;justify-content:center}.mi-button--icon-left{padding-left:12px}.mi-button--icon-left object{margin-right:8px}.mi-button--icon-right{padding-right:12px}.mi-button--icon-right object{margin-left:8px}.mi-button--icon-both{padding-top:12px;padding-bottom:12px}.mi-button--icon-both object:first-of-type{margin-right:8px}.mi-button--icon-both object:last-of-type{margin-left:8px}.mi-button--base{background:linear-gradient(#f5f7fa, #ebeff5);color:#1e2025;border-color:#c8d0e0}.mi-button--base:not(:disabled):hover{background:linear-gradient(#ebeff5, #dee3ed);border-color:#aeb9cb}.mi-button--base:not(:disabled):active{background:linear-gradient(#dee3ed, #ebeff5)}.mi-button--primary{color:#ffffff;border-color:#20693e;background:linear-gradient(#3ba064, #2a844e)}.mi-button--primary object{filter:invert(100%) sepia(93%) saturate(0%) hue-rotate(201deg) brightness(106%) contrast(106%)}.mi-button--primary:not(:disabled):hover{background:linear-gradient(#2a844e, #20693e)}.mi-button--primary:not(:disabled):active{background:linear-gradient(#20693e, #2a844e)}.mi-button--delete{background:linear-gradient(#f55151, #de1b1b);color:#ffffff;border-color:#ba0d0d}.mi-button--delete object{filter:invert(100%) sepia(93%) saturate(0%) hue-rotate(201deg) brightness(106%) contrast(106%)}.mi-button--delete:not(:disabled):hover{background:linear-gradient(#de1b1b, #ba0d0d)}.mi-button--delete:not(:disabled):active{background:linear-gradient(#ba0d0d, #de1b1b)}.mi-button--outline{color:#3071d9;border-color:#3071d9;background-color:transparent}.mi-button--outline object{filter:invert(38%) sepia(97%) saturate(742%) hue-rotate(188deg) brightness(86%) contrast(97%)}.mi-button--outline:not(:disabled):hover{color:#1d5bbf;border-color:#1d5bbf;background-color:#eef4fc}.mi-button--outline:not(:disabled):active{color:#1d5bbf;border-color:#1d5bbf;background-color:#cfe0fc}.mi-button--link{color:#3071d9;border-style:none;background-color:transparent;cursor:pointer}.mi-button--link object{filter:invert(38%) sepia(97%) saturate(742%) hue-rotate(188deg) brightness(86%) contrast(97%)}.mi-button--link:not(:disabled):hover{color:#1d5bbf;border-color:#1d5bbf;background-color:#eef4fc}.mi-button--link:disabled:hover{cursor:not-allowed}.mi-button--link:not(:disabled):active{color:#1d5bbf;border-color:#1d5bbf;background-color:#cfe0fc}.mi-input[type=text],.mi-input[type=search],.mi-input[type=number],.mi-input[type=password],.mi-input[type=tel]{font-size:1rem;padding:8px;border-style:solid;border-width:1px;border-color:#8d98aa;border-radius:4px}.mi-input[type=text],.mi-input[type=search],.mi-input[type=number],.mi-input[type=password],.mi-input[type=range],.mi-input[type=tel]{display:block}.mi-input[type=radio],.mi-input[type=checkbox]{margin:0px;transform:scale(1.2, 1.2)}.mi-input[type=search]{padding-left:32px;background:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.6267 8.43836C14.6267 11.8561 11.8561 14.6267 8.43836 14.6267C5.02062 14.6267 2.25 11.8561 2.25 8.43836C2.25 5.02062 5.02062 2.25 8.43836 2.25C11.8561 2.25 14.6267 5.02062 14.6267 8.43836Z' stroke='%23aeb9cb' stroke-width='2.5'/%3E%3Crect x='15.0979' y='14.1614' width='7.34678' height='1.32449' rx='0.662244' transform='rotate(45 15.0979 14.1614)' fill='%23aeb9cb' stroke='%23aeb9cb'/%3E%3Crect x='13.7847' y='13.2916' width='1.05276' height='0.697347' transform='rotate(45 13.7847 13.2916)' stroke='%23aeb9cb' stroke-width='0.697346'/%3E%3C/svg%3E%0A") no-repeat scroll 8px center, white}.mi-input:disabled{opacity:0.48;cursor:not-allowed}.mi-select{display:block;padding-top:8px;padding-bottom:8px;padding-left:8px;padding-right:32px;border-radius:4px;border-width:1px;border-style:solid;border-color:#c8d0e0;color:#1e2025;font-size:1rem;font-weight:500;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml;base64,PHN2ZyBmaWxsPScjNDQ0QjU1JyBoZWlnaHQ9JzI0JyB2aWV3Qm94PScwIDAgMjQgMjQnIHdpZHRoPScyNCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz4KPHBhdGggZD0nTTcgMTBsNSA1IDUtNXonLz4KPHBhdGggZD0nTTAgMGgyNHYyNEgweicgZmlsbD0nbm9uZScvPgo8L3N2Zz4=") 96%/24px no-repeat, linear-gradient(#f5f7fa, #ebeff5)}.mi-select:disabled{opacity:0.48;cursor:not-allowed}.mi-select:not(:disabled):hover{background:url("data:image/svg+xml;base64,PHN2ZyBmaWxsPScjNDQ0QjU1JyBoZWlnaHQ9JzI0JyB2aWV3Qm94PScwIDAgMjQgMjQnIHdpZHRoPScyNCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz4KPHBhdGggZD0nTTcgMTBsNSA1IDUtNXonLz4KPHBhdGggZD0nTTAgMGgyNHYyNEgweicgZmlsbD0nbm9uZScvPgo8L3N2Zz4=") 96%/24px no-repeat, linear-gradient(#ebeff5, #dee3ed);border-color:#aeb9cb}.mi-select:not(:disabled):active{background:url("data:image/svg+xml;base64,PHN2ZyBmaWxsPScjNDQ0QjU1JyBoZWlnaHQ9JzI0JyB2aWV3Qm94PScwIDAgMjQgMjQnIHdpZHRoPScyNCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz4KPHBhdGggZD0nTTcgMTBsNSA1IDUtNXonLz4KPHBhdGggZD0nTTAgMGgyNHYyNEgweicgZmlsbD0nbm9uZScvPgo8L3N2Zz4=") 96%/24px no-repeat, linear-gradient(#dee3ed, #ebeff5)}.mi-toggle{margin:0}.mi-toggle:disabled{cursor:not-allowed}.mi-toggle+.mi-label{margin-left:8px}@supports (appearance: none) or (-moz-appearance: none) or (-webkit-appearance: none){.mi-toggle{padding:2px;box-sizing:border-box;appearance:none;-moz-appearance:none;-webkit-appearance:none;width:48px;height:24px;border-radius:9999px;background-color:#8d98aa;transition:background-color 300ms ease}.mi-toggle:disabled{opacity:0.48}.mi-toggle:checked{background-color:#2a844e}.mi-toggle::after{content:"";display:inline-block;width:20px;height:20px;transform:translateX(0px);border-radius:50%;background-color:#fcfcfc;box-shadow:0 1px 1px rgba(0, 0, 0, 0.125), 0 2px 2px rgba(0, 0, 0, 0.125);transition:300ms ease}.mi-toggle:checked::after{transform:translateX(24px)}}.width-none{width:0}.width-xxx-small{width:2px}.width-xx-small{width:4px}.width-x-small{width:8px}.width-small{width:12px}.width-medium{width:16px}.width-large{width:24px}.width-x-large{width:32px}.width-xx-large{width:40px}.width-xxx-large{width:48px}.width-xxxx-large{width:64px}.min-width-none{min-width:0}.min-width-xxx-small{min-width:2px}.min-width-xx-small{min-width:4px}.min-width-x-small{min-width:8px}.min-width-small{min-width:12px}.min-width-medium{min-width:16px}.min-width-large{min-width:24px}.min-width-x-large{min-width:32px}.min-width-xx-large{min-width:40px}.min-width-xxx-large{min-width:48px}.min-width-xxxx-large{min-width:64px}.max-width-none{max-width:0}.max-width-xxx-small{max-width:2px}.max-width-xx-small{max-width:4px}.max-width-x-small{max-width:8px}.max-width-small{max-width:12px}.max-width-medium{max-width:16px}.max-width-large{max-width:24px}.max-width-x-large{max-width:32px}.max-width-xx-large{max-width:40px}.max-width-xxx-large{max-width:48px}.max-width-xxxx-large{max-width:64px}.height-none{height:0}.height-xxx-small{height:2px}.height-xx-small{height:4px}.height-x-small{height:8px}.height-small{height:12px}.height-medium{height:16px}.height-large{height:24px}.height-x-large{height:32px}.height-xx-large{height:40px}.height-xxx-large{height:48px}.height-xxxx-large{height:64px}.min-height-none{min-height:0}.min-height-xxx-small{min-height:2px}.min-height-xx-small{min-height:4px}.min-height-x-small{min-height:8px}.min-height-small{min-height:12px}.min-height-medium{min-height:16px}.min-height-large{min-height:24px}.min-height-x-large{min-height:32px}.min-height-xx-large{min-height:40px}.min-height-xxx-large{min-height:48px}.min-height-xxxx-large{min-height:64px}.max-height-none{max-height:0}.max-height-xxx-small{max-height:2px}.max-height-xx-small{max-height:4px}.max-height-x-small{max-height:8px}.max-height-small{max-height:12px}.max-height-medium{max-height:16px}.max-height-large{max-height:24px}.max-height-x-large{max-height:32px}.max-height-xx-large{max-height:40px}.max-height-xxx-large{max-height:48px}.max-height-xxxx-large{max-height:64px}.debug *{outline:1px solid gold}.flex{display:flex;flex:1}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.display-block{display:block}.display-inline-block{display:inline-block}.display-inline{display:inline}.display-none{display:none}.text-decoration-none{text-decoration:none}.text-right{text-align:right}.text-left{text-align:left}.text-center{text-align:center}.margin-auto{margin-left:auto;margin-right:auto}*{box-sizing:border-box}.table{width:100%;border-collapse:collapse;font-family:Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background-color:#ffffff;border-style:solid;border-width:1px;border-color:#d1d5db;border-top:none}.table__header-cell{position:relative;text-align:left;-webkit-user-select:none;-moz-user-select:none;user-select:none;min-width:48px;font-weight:500;font-size:1rem;line-height:1.25rem;color:#ffffff;background-color:#374151;padding-top:16px;padding-bottom:16px;padding-left:8px;padding-right:8px}.table__header-cell::before,.table__header-cell::after{content:"";display:block;position:absolute;right:16px;top:50%;border:7px solid transparent}.table__header-cell::before{border-bottom-color:#6b7280;margin-top:-15px}.table__header-cell::after{border-top-color:#6b7280;margin-top:3px}.table__header-cell.desc::after{border-top-color:#f9fafb}.table__header-cell.asc::before{border-bottom-color:#f9fafb}.table__header-cell--no-sort::before,.table__header-cell--no-sort::after{border:none}.table__header-cell:not(.table__header-cell--no-sort){padding-right:46px;cursor:pointer}.table__header-cell--fit-content{white-space:nowrap;width:1px}.table__header-cell--align-left{text-align:left}.table__header-cell--align-center{text-align:center}.table__header-cell--align-right{text-align:right}.table__header-cell--sticky{position:sticky;top:0;z-index:1}.table__row:nth-child(even):hover{background-color:#f3f4f6}.table__row:nth-child(odd){background-color:#f9fafb}.table__row:nth-child(odd):hover{background-color:#f3f4f6}.table__data{font-size:1rem;padding-left:8px;padding-right:8px;height:56px;border-right:1px solid #d1d5db}.table__data:last-child{border-right:none}.table__data--fit-content{white-space:nowrap;width:1px}.table__data--align-left{text-align:left}.table__data--align-center{text-align:center}.table__data--align-right{text-align:right}.table__data--monospace-font{font-family:Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace}.empty-page{display:flex;align-items:center;flex-direction:column;margin-top:72px;height:345px}.empty-page>*{margin:0}.empty-page__header{font-size:2.25rem}.empty-page__subheader{margin-top:32px;font-size:1.5rem}`,KA=class{constructor(t){Pi(this,t),this.selectionChanged=pr(this,"selectionChanged",7),this.columns=[],this.numberOfSelectedRows=void 0,this.rows=[],this.maxRows=void 0,this.page=void 0,this.selectable=!1,this.selected=new Set,this.emptyPageHeader="No results found",this.emptyPageSubheader=void 0,this.isHeaderSticky=!0,this.tableRows=[],this.currentPage=1,this.sortByColumn=null}onSelectionChangedHandler(){this.selectionChanged.emit(this.selected)}onRowsChangedHandler(){this.tableRows=Array.from(this.rows),this.setHeaderCheckboxState()}onPageChangedHandler(){this.currentPage=this.page,this.renderTableContent()}connectedCallback(){const t=this.el.querySelectorAll("mi-column");this.columns=Array.from(t).map(i=>{const o={alignContent:i.alignContent,monospace:i.monospace,label:m1(i.label)?i.binding:i.label,binding:i.binding||null,sortable:i.sortable,fitContent:!!i.fitContent,template:i.innerHTML.replace(/<!--[\s\S]*?-->/g,""),columnElement:i,width:i.width};return i.sort&&!this.sortByColumn&&(this.sortByColumn={column:o,sortOrder:i.sort==="asc"?"asc":"desc"}),o})}columnHeaderClickHandler(t,i){var o,l;if(!m1(i.sortable)){let h="asc";i===((o=this.sortByColumn)===null||o===void 0?void 0:o.column)&&(h=((l=this.sortByColumn)===null||l===void 0?void 0:l.sortOrder)==="asc"?"desc":"asc"),this.sortByColumn={column:i,sortOrder:h}}}sortTableRows(){var t,i,o;if(this.tableRows.length>0&&this.sortByColumn){let l;const h=(t=this.sortByColumn)===null||t===void 0?void 0:t.column,y=(i=this.sortByColumn)===null||i===void 0?void 0:i.sortOrder;if(h&&y)return((o=h.sortable)===null||o===void 0?void 0:o.toLowerCase())==="date"?l=y==="desc"?ZK(h.binding):GK(h.binding):l=y==="desc"?HK(h.binding):QK(h.binding),[...this.tableRows.sort(l)]}return this.tableRows}replaceVars(t,i){return t.replace(/\{(.*?)\}/g,(o,l)=>l.split(".").reduce((y,_)=>y?y[_]:null,i))}removeFalseBooleanAttributes(t,i){return t.replace(/ (checked|disabled|hidden|selected)="\{(.*?)\}"/,(o,l,h)=>i[h]===!1?"":l)}tableRowClicked(t,i){var o;const l=t.target,h=l.closest("td").cellIndex,y=this.selectable?h-1:h;if(l.tagName.toLowerCase()!=="td"&&this.columns[y]){const _={detail:i};(o=this.columns[y])===null||o===void 0||o.columnElement.dispatchEvent(new CustomEvent("cellContentClicked",_))}}async componentWillLoad(){this.rows.length>0&&(this.tableRows=Array.from(this.rows))}render(){return Pe(Jr,null,Pe("table",{class:"table"},Pe("thead",null,Pe("tr",null,this.renderSelectHeader(),this.columns.map(t=>{var i;const o=t.fitContent?"":t.width||"auto",l=((i=this.sortByColumn)===null||i===void 0?void 0:i.column)===t?this.sortByColumn.sortOrder:null;return Pe("th",{"data-binding":t.binding,style:{width:o,"max-width":o,"min-width":o},onClick:h=>this.columnHeaderClickHandler(h,t),class:`table__header-cell ${this.isHeaderSticky?"table__header-cell--sticky":""} ${m1(t.sortable)?"table__header-cell--no-sort":""} ${m1(l)?"":l} ${t.fitContent?"table__header-cell--fit-content":""}`},t.label)}))),Pe("tbody",null,this.renderTableContent())),this.tableRows.length===0?this.renderEmptyPage():null)}renderSelectHeader(){if(this.selectable)return Pe("th",{class:`table__header-cell ${this.isHeaderSticky?"table__header-cell--sticky":""} table__header-cell--fit-content table__header-cell--no-sort table__header-cell--align-center`},Pe("input",{type:"checkbox",class:"mi-input",ref:t=>this.selectAllCheckbox=t,onChange:()=>this.selectHeaderOnChangeHandler()}))}renderSelectRow(t){if(this.selectable)return Pe("td",{class:"table__data table__data--align-center"},Pe("input",{class:"mi-input",type:"checkbox",checked:this.selected.has(t),onChange:i=>this.selectOnChangeHandler(i,t)}))}renderTableContent(){let t=this.sortTableRows();return t=qA(this.maxRows)&&this.maxRows>0?t.slice(this.maxRows*(this.currentPage-1),this.maxRows*this.currentPage):t,t.map(i=>this.renderTableRow(i))}renderTableRow(t){const i=[];for(const o of this.columns){let l=o.template;l>""?(l=this.removeFalseBooleanAttributes(l,t),l=this.replaceVars(l,t),i.push(l)):i.push(t[o.binding])}return Pe("tr",{class:"table__row",onClick:o=>this.tableRowClicked(o,t)},this.renderSelectRow(t),i.map((o,l)=>Pe("td",{class:`table__data ${this.columns[l].fitContent?"table__data--fit-content":""} table__data--align-${this.columns[l].alignContent||"left"} ${this.columns[l].monospace?"table__data--monospace-font":""}`,innerHTML:o})))}renderEmptyPage(){return Pe("div",{class:"empty-page"},Pe("p",{class:"empty-page__header"},this.emptyPageHeader),Pe("p",{class:"empty-page__subheader"},this.emptyPageSubheader))}selectOnChangeHandler(t,i){t.target.checked?this.selected.add(i):this.selected.delete(i),this.setHeaderCheckboxState(),this.numberOfSelectedRows=this.selected.size,t.stopPropagation()}setHeaderCheckboxState(){this.selectAllCheckbox&&this.selectable&&(this.selectAllCheckbox.checked=this.selected.size===this.rows.length,this.selectAllCheckbox.indeterminate=this.selected.size>0&&this.selected.size<this.rows.length)}selectHeaderOnChangeHandler(){this.selected.size>0&&this.selected.size<=this.rows.length?(this.selected.clear(),this.selectAllCheckbox.checked=!1):(this.rows.forEach(t=>this.selected.add(t)),this.selectAllCheckbox.checked=!0),this.numberOfSelectedRows=this.selected.size}get el(){return Ga(this)}static get watchers(){return{numberOfSelectedRows:["onSelectionChangedHandler"],rows:["onRowsChangedHandler"],page:["onPageChangedHandler"]}}},QK=t=>(i,o)=>`${i[t]||""}`.localeCompare(`${o[t]||""}`.trimStart().toLowerCase(),void 0,{numeric:!0}),HK=t=>(i,o)=>`${o[t]||""}`.localeCompare(`${i[t]||""}`.trimStart().toLowerCase(),void 0,{numeric:!0}),GK=t=>(i,o)=>{const l=Date.parse(i[t]),h=Date.parse(o[t]);return l>h?1:l<h?-1:0},ZK=t=>(i,o)=>{const l=Date.parse(o[t]),h=Date.parse(i[t]);return l>h?1:l<h?-1:0};KA.style=YK;const WK=Object.freeze(Object.defineProperty({__proto__:null,mi_data_table:KA},Symbol.toStringTag,{value:"Module"}));var ws;(function(t){t.Imperial="imperial",t.Metric="metric"})(ws||(ws={}));const qK=class{constructor(t){Pi(this,t),this.meters=void 0,this.unit=navigator.language==="en-US"?ws.Imperial:ws.Metric}getMetricDisplayString(t){return Math.abs(t)<1e3?Math.round(t)>0?`${Math.round(t)} m`:"1 m":`${(t/1e3).toFixed(1)} km`}getImperialDisplayString(t){if(Math.abs(t)<1609.344){const l=t*3.28084;return Math.round(l)>0?`${Math.round(l)} ft`:"1 ft"}return`${(t/1609.344).toFixed(1)} mi`}render(){return this.meters>=0?this.renderDistance():null}renderDistance(){return Pe("span",null,this.unit===ws.Metric?this.getMetricDisplayString(this.meters):this.getImperialDisplayString(this.meters))}},KK=`/* Tool for generating the mask css from SVG: https://yoksel.github.io/url-encoder/ */
|
|
2226
|
+
`;return typeof l=="function"&&l(null,L),L};const TK=Pq,R2=TA,$A=BA,EK=FA;function P2(t,i,o,l,h){const y=[].slice.call(arguments,1),_=y.length,a=typeof y[_-1]=="function";if(!a&&!TK())throw new Error("Callback required as last argument");if(a){if(_<2)throw new Error("Too few arguments provided");_===2?(h=o,o=i,i=l=void 0):_===3&&(i.getContext&&typeof h>"u"?(h=l,l=void 0):(h=l,l=o,o=i,i=void 0))}else{if(_<1)throw new Error("Too few arguments provided");return _===1?(o=i,i=l=void 0):_===2&&!i.getContext&&(l=o,o=i,i=void 0),new Promise(function(v,E){try{const A=R2.create(o,l);v(t(A,i,l))}catch(A){E(A)}})}try{const v=R2.create(o,l);h(null,t(v,i,l))}catch(v){h(v)}}Kf.create=R2.create,Kf.toCanvas=P2.bind(null,$A.render),Kf.toDataURL=P2.bind(null,$A.renderToDataURL),Kf.toString=P2.bind(null,function(t,i,o){return EK.render(t,o)});function SK(){const{t}=Ms(),[,i]=On(o1),o=Ze.useRef(),l=cn(Os),h=cn(Yb),y=cn(t2),_=cn(H0),a=cn($f),v=cn(qa),E=cn(Ul);return Ze.useEffect(()=>{if(v&&E){let A=window.location.origin+window.location.pathname.replace(/\/$/,"");const C=new URLSearchParams(window.location.search),L=new URLSearchParams;[["gmApiKey",_],["mapboxAccessToken",a],["apiKey",h],["primaryColor",l],["logo",y]].forEach(([Z,ee])=>{if(C.has(Z)){const ne=C.get(Z);L.append(Z,ne)}else ee&&(ee===l?L.append(Z,l.replace("#","")):L.append(Z,ee))});const j=L.toString();let U=`${A}?${j}&directionsFrom=${v.id}&directionsTo=${E.id}`;const V={errorCorrectionLevel:"L",margin:0,width:"225"};Kf.toDataURL(U,V).then(Z=>{o.current.src=Z})}},[v,E]),et.jsxs(et.Fragment,{children:[et.jsx("div",{className:"background"}),et.jsxs("div",{className:"qr-code",children:[et.jsx("img",{alt:"",className:"qr-code__image",ref:o}),et.jsx("p",{children:t("Scan the QR code to see the route on your phone")}),et.jsx("button",{className:"qr-code__button",style:{background:l},onClick:()=>i(!1),children:t("Done")})]})]})}const DK=di({key:"supportsUrlParameters",default:!1}),pce="";function AK(){const{t}=Ms(),i=cn(Os),o=cn(bA),l=Wf(),h=Ze.useRef(),y=Ze.useRef(),_=Ze.useRef(),[a,v]=On(s1),[E,A]=Ze.useState(!1),C=Ze.useRef();let L=700;return Ze.useEffect(()=>{a&&l&&A(C.current.clientHeight>L)},[a,l]),Ze.useEffect(()=>{if(a&&l&&E){const j=document.querySelector(".legend__sections");_.current.scrollContainerElementRef=j}},[a,o,E]),et.jsxs(et.Fragment,{children:[et.jsx("div",{className:"legend__background"}),et.jsxs("div",{className:"legend",ref:h,children:[o.length>0&&et.jsx("div",{className:`legend__sections ${E?"legend__sections--scrollable":""}`,ref:C,style:{maxHeight:E?`${L}px`:"auto",overflowY:E?"scroll":"auto"},children:o.map((j,U)=>et.jsxs("div",{className:"legend__section",ref:y,children:[et.jsx("div",{className:"legend__heading",children:j.heading}),et.jsx("div",{className:"legend__content",children:j.content})]},U))}),et.jsx("button",{className:"legend__button",style:{background:i},onClick:()=>v(!1),children:t("Close")}),l&&a&&E&&et.jsx("div",{className:"scroll-buttons",children:et.jsx("mi-scroll-buttons",{ref:_})})]})]})}xZ();function NK({apiKey:t,gmApiKey:i,mapboxAccessToken:o,venue:l,locationId:h,primaryColor:y,logo:_,appUserRoles:a,directionsFrom:v,directionsTo:E,externalIDs:A,tileStyle:C,startZoomLevel:L,bearing:j,pitch:U,gmMapId:V,useMapProviderModule:Z,kioskOriginLocationId:ee,language:ne,supportsUrlParameters:re,useKeyboard:ie,timeout:te,miTransitionLevel:Ie,category:Me,searchAllVenues:de}){const[,qe]=On(Yb),[,Ve]=On(H0),[,je]=On($f),[We,tt]=On(Xb),[Se,He]=On(qb),[,Re]=On(OD),[Le,ht]=On(Ul),[ot,me]=On(Yf),[,ve]=On(X0),[,ae]=On(Os),[,G]=On(t2),[,X]=On(yD),ge=cn(Qo),[fe,Ne]=On(Gf),[,Oe]=On(qa),[,Ae]=On(CD),[,$e]=On(kD),st=jD(),[,Ce]=On(DK),[,Xe]=On(vA),[,yt]=On(MD),[,jt]=On(I2),[,Ft]=On(_2),[,hn]=On(xA),[jn,Dt]=Ze.useState(!0),[Cn,En]=Ze.useState(!0),In=IA(v),Un=IA(E),[ti,lt]=Ze.useState(!1),[,se]=On(q0),[ce,ke]=On(W0),[mt,Mt]=Ze.useState(),[gt,Ot]=Ze.useState(),[,xt]=On(Qb),[,ln]=On(wD),[,Ye]=On(LD),[,Be]=On(Ff),[,At]=On(Vf),nn=Za(),Nt=_D("(max-width: 991px)"),Bt=kq(),Qt=Jb(),Wt=cn(Qc),[on,wn,Zn,oi,Ti,Fi]=zq(),Vi=Ze.useRef(),[Gn,Gi]=Ze.useState(!1),It=cn(o1),St=cn(s1),[Zt,en]=Ze.useState(0);function qt(){return new Promise(zt=>{if(window.mapsindoors!==void 0)return zt();const sn=document.createElement("script");sn.setAttribute("type","text/javascript"),sn.setAttribute("src","https://app.mapsindoors.com/mapsindoors/js/sdk/4.32.0/mapsindoors-4.32.0.js.gz"),sn.setAttribute("integrity","sha384-pobsiCLAduarZklerr0Y1Yj0gkSVov1spL2XwAMLQ1lm3t6USIXIBAAMeJqiWXSc"),sn.setAttribute("crossorigin","anonymous"),document.body.appendChild(sn),sn.onload=()=>{zt()}})}Ze.useEffect(()=>{st&&Ct()},[st]),Ze.useEffect(()=>{qt().then(()=>{Gi(!0)})},[]),Ze.useEffect(()=>{if(Gn){const zt=ne||navigator.language;window.mapsindoors.MapsIndoors.setLanguage(zt),window.mapsindoors.services.LocationsService.once("update_completed",()=>{ot.length>0&&dt(l),Se.length>0&&window.mapsindoors.services.VenuesService.getVenues().then(sn=>{sn=sn.map($t=>($t.image=gt.venueImages[$t.name.toLowerCase()],$t)),He(sn)}),Le&&window.mapsindoors.services.LocationsService.getLocation(Le.id).then(sn=>ht(sn))}),fe?yo.changeLanguage(zt):oW(zt),Ne(zt)}},[ne,Gn]),Ze.useEffect(()=>{Gn&&(qe(t),tt(!1),window.mapsindoors.MapsIndoors.setMapsIndoorsApiKey(t),Promise.all([window.mapsindoors.services.VenuesService.getVenues(),window.mapsindoors.services.AppConfigService.getConfig().then(zt=>(Ot(zt),zt)),window.mapsindoors.services.SolutionsService.getSolution().then(zt=>(xt(zt),zt)),new Promise(zt=>setTimeout(zt,3e3))]).then(([zt,sn])=>{zt=zt.map($t=>($t.image=sn.venueImages[$t.name.toLowerCase()],$t)),He(zt)}),tt(!1))},[t,Gn]),Ze.useEffect(()=>{var zt,sn;Gn&>&&(je(o||((zt=gt.appSettings)==null?void 0:zt.mapboxAccessToken)),Ve(i||((sn=gt.appSettings)==null?void 0:sn.gmKey)))},[i,o,Gn,gt]),Ze.useEffect(()=>{Gn&&window.mapsindoors.services.SolutionsService.getUserRoles().then(zt=>{const sn=zt.filter($t=>a==null?void 0:a.includes($t.name));window.mapsindoors.MapsIndoors.setUserRoles(sn)})},[a,Gn]),Ze.useEffect(()=>{Gn&&(A?window.mapsindoors.services.LocationsService.getLocationsByExternalId(A).then(zt=>{se(zt)}):se([]))},[A,Gn]),Ze.useEffect(()=>{Gn&&(ve(h),h&&window.mapsindoors.services.LocationsService.getLocation(h).then(zt=>{zt&&(Qt(zt.properties.venueId),ht(zt))}))},[h,Gn,Zt]),Ze.useEffect(()=>{Gn&&X(V)},[V,Gn]),Ze.useEffect(()=>{Zn===Ti.LOCATION_DETAILS&&oi&&!Le&&ht(oi),Vi.current=Zn===Ti.DIRECTIONS,Vi.current?(Mt(ce),ke([])):ke(mt)},[Zn]),Ze.useEffect(()=>{Re(l),Qt(l)},[l]),Ze.useEffect(()=>{ln(C)},[C]),Ze.useEffect(()=>{ae(y)},[y]),Ze.useEffect(()=>{Ye(L)},[L]),Ze.useEffect(()=>{At(U)},[U]),Ze.useEffect(()=>{Be(j)},[j]),Ze.useEffect(()=>{G(_)},[_]),Ze.useEffect(()=>{yt(Ie)},[Ie]),Ze.useEffect(()=>{Le&&Le.id!==ee?ge!=null&&ge.selectLocation&&ge.selectLocation(Le):ge!=null&&ge.deselectLocation&&ge.deselectLocation()},[Le]),Ze.useEffect(()=>{Gn&&(Ae(ee),ee?window.mapsindoors.services.LocationsService.getLocation(ee).then(zt=>{Qt(zt.properties.venueId),Oe(zt)}):Oe(),ee&&nn?(Dt(!1),En(!1)):(Dt(!0),En(!0)))},[ee,Gn]),Ze.useEffect(()=>{$e(te)},[te]),Ze.useEffect(()=>{Ce(re)},[re]),Ze.useEffect(()=>{Gn&&ie&&ee&&Xe(ie)},[ie,ee,Gn]),Ze.useEffect(()=>{Gn&&Me&&ot.find(zt=>zt[0]===Me)&&jt(Me)},[Me,ot,Gn]),Ze.useEffect(()=>{Gn&&de&&Ft(de)},[de,Gn]),Ze.useEffect(()=>{Gn&&Wt&&dt(Wt)},[Wt,Gn]);function Ee(zt){We===!1&&tt(!0),dt(zt.name)}function at(zt){Vi.current!==!0&&zt.id!==ee&&ht(zt)}function dt(zt){window.mapsindoors.services.LocationsService.getLocations({}).then(sn=>{const $t=sn.filter(Wn=>Wn.properties.venueId===zt);Rt($t)})}function Ct(){Bt(),Fi(),en(zt=>zt+1)}function Rt(zt){let sn=new Map;for(const $t of zt){const Wn=Object.keys($t.properties.categories);for(const Yn of Wn){const Bn=gt==null?void 0:gt.menuInfo.mainmenu.find(zi=>zi.categoryKey===Yn);if(sn.has(Yn)){let zi=sn.get(Yn).count;sn.set(Yn,{count:++zi,displayName:$t.properties.categories[Yn],iconUrl:Bn==null?void 0:Bn.iconUrl})}else sn.set(Yn,{count:1,displayName:$t.properties.categories[Yn],iconUrl:Bn==null?void 0:Bn.iconUrl})}}sn=Array.from(sn).sort(($t,Wn)=>Wn[1].count-$t[1].count),me(sn)}return Ze.useEffect(()=>{Gn&&Me&&ot.find(zt=>zt[0]===Me)&&(jt(Me),hn(Me))},[Me,ot,Gn]),et.jsxs("div",{className:`mapsindoors-map ${Vi.current?"mapsindoors-map--hide-elements":"mapsindoors-map--show-elements"} ${Cn?"mapsindoors-map--show-my-position":"mapsindoors-map--hide-my-position"}`,"data-sentry-component":"MapTemplate","data-sentry-source-file":"MapTemplate.jsx",children:[et.jsx(Rq,{"data-sentry-element":"Notification","data-sentry-source-file":"MapTemplate.jsx"}),!We&&et.jsx(CW,{}),Se.length>1&&jn&&et.jsx(WW,{onOpen:()=>on(Ti.VENUE_SELECTOR),onClose:()=>wn(),active:Zn===Ti.VENUE_SELECTOR}),It&&et.jsx(SK,{}),St&&et.jsx(AK,{}),ti&&et.jsxs(Ze.Fragment,{children:[nn&&et.jsx(jq,{directionsFromLocation:In,directionsToLocation:Un,pushAppView:on,currentAppView:Zn,appViews:Ti,onRouteFinished:()=>Ct()}),Nt&&et.jsx(Lq,{directionsFromLocation:In,directionsToLocation:Un,pushAppView:on,currentAppView:Zn,appViews:Ti,onRouteFinished:()=>Ct()})]},Zt),et.jsx(AW,{useMapProviderModule:Z,onVenueChangedOnMap:zt=>Ee(zt),onMapPositionKnown:()=>lt(!0),onLocationClick:zt=>at(zt),"data-sentry-element":"MIMap","data-sentry-source-file":"MapTemplate.jsx"})]})}function CK(t){const[i,o]=Ze.useState();return Ze.useEffect(()=>{var Se,He;const l=window.location.search,h=new URLSearchParams(l),y={apiKey:"mapspeople3d",venue:"AUSTINOFFICE",logo:"https://app.mapsindoors.com/mapsindoors/gfx/mapspeople-logo/mapspeople-pin.svg",primaryColor:"#005655",useMapProviderModule:!1,useKeyboard:!1,searchAllVenues:!1},_=h.get("apiKey"),a=h.get("venue"),v=h.get("locationId"),E=h.get("logo"),A=h.get("directionsFrom"),C=h.get("directionsTo"),L=h.get("tileStyle"),j=h.get("startZoomLevel"),U=h.get("pitch"),V=h.get("bearing"),Z=h.get("gmApiKey"),ee=h.get("mapboxAccessToken"),ne=h.get("primaryColor"),re=(Se=h.get("appUserRoles"))==null?void 0:Se.split(","),ie=(He=h.get("externalIDs"))==null?void 0:He.split(","),te=h.get("gmMapId"),Ie=U2(h.get("useMapProviderModule")),Me=h.get("kioskOriginLocationId"),de=h.get("timeout"),qe=h.get("language"),Ve=U2(h.get("useKeyboard")),je=h.get("miTransitionLevel"),We=h.get("category"),tt=U2(h.get("searchAllVenues"));o({apiKey:t.supportsUrlParameters&&_?_:t.apiKey||y.apiKey,venue:t.supportsUrlParameters&&a?a:t.venue||y.venue,locationId:t.supportsUrlParameters&&v?v:t.locationId,logo:t.supportsUrlParameters&&E?E:t.logo||y.logo,directionsFrom:t.supportsUrlParameters&&A?A:t.directionsFrom,directionsTo:t.supportsUrlParameters&&C?C:t.directionsTo,tileStyle:t.supportsUrlParameters&&L?L:t.tileStyle,startZoomLevel:t.supportsUrlParameters&&j?j:t.startZoomLevel,pitch:t.supportsUrlParameters&&U?U:t.pitch,bearing:t.supportsUrlParameters&&V?V:t.bearing,gmApiKey:t.supportsUrlParameters&&Z?Z:t.gmApiKey,mapboxAccessToken:t.supportsUrlParameters&&ee?ee:t.mapboxAccessToken,primaryColor:t.supportsUrlParameters&&ne?"#"+ne:t.primaryColor||y.primaryColor,appUserRoles:t.supportsUrlParameters&&re?re:t.appUserRoles,externalIDs:t.supportsUrlParameters&&ie?ie:t.externalIDs,gmMapId:t.supportsUrlParameters&&te?te:t.gmMapId,useMapProviderModule:t.supportsUrlParameters&&Ie?Ie:t.useMapProviderModule||y.useMapProviderModule,kioskOriginLocationId:t.supportsUrlParameters&&Me?Me:t.kioskOriginLocationId,timeout:t.supportsUrlParameters&&de?de:t.timeout,language:t.supportsUrlParameters&&qe?qe:t.language,supportsUrlParameters:t.supportsUrlParameters,useKeyboard:t.supportsUrlParameters&&Ve?Ve:t.useKeyboard||y.useKeyboard,miTransitionLevel:t.supportsUrlParameters&&je?je:t.miTransitionLevel,category:t.supportsUrlParameters&&We?We:t.category,searchAllVenues:t.supportsUrlParameters&&tt?tt:t.searchAllVenues||y.searchAllVenues})},[t]),et.jsx(UG,{"data-sentry-element":"RecoilRoot","data-sentry-component":"MapsIndoorsMap","data-sentry-source-file":"MapsIndoorsMap.jsx",children:i&&et.jsx(NK,{...i})})}wB({dsn:"https://0ee7fa162023d958c96db25e99c8ff6c@o351128.ingest.sentry.io/4506851619831808",environment:window.location.hostname==="localhost"?"localhost":"production",integrations:[FB({useEffect:Ze.useEffect,useLocation:zl.useLocation,useNavigationType:zl.useNavigationType,createRoutesFromChildren:zl.createRoutesFromChildren,matchRoutes:zl.matchRoutes}),bB()],tracesSampleRate:1,tracePropagationTargets:["localhost",/^https:\/\/api\.mapsindoors\.com/],replaysSessionSampleRate:0,replaysOnErrorSampleRate:1});function U2(t){return t==="true"}const LK=Object.freeze(Object.defineProperty({__proto__:null,combo_box_item:class{constructor(t){Pi(this,t),this.selected=!1,this.disabled=!1,this.excludefromall=!1,this.value=void 0,this.text=void 0}get el(){return Ga(this)}}},Symbol.toStringTag,{value:"Module"})),OK=':host{box-sizing:border-box;display:block;font-family:Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background-color:#ffffff;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.16), 0px 2px 2px rgba(0, 0, 0, 0.18), 0px 1px 1px rgba(0, 0, 0, 0.2);border-radius:8px;padding-top:32px;padding-bottom:32px;padding-left:32px;padding-right:32px;margin:24px}',YA=class{constructor(t){Pi(this,t)}render(){return Pe("slot",null)}};YA.style=OK;const zK=".spinner{display:flex;justify-content:center;align-items:center}.spinner>div{width:16px;height:16px;background-color:#6b7280;margin:4px;border-radius:100%;display:inline-block;animation:bouncedelay 1.4s infinite ease-in-out both}.spinner.inverse>div{background-color:#ffffff}.spinner .bounce1{animation-delay:-0.32s}.spinner .bounce2{animation-delay:-0.16s}@keyframes bouncedelay{0%,80%,100%{transform:scale(0)}40%{transform:scale(1)}}",QA=class{constructor(t){Pi(this,t),this.inverse=!1}render(){return Pe(Jr,null,Pe("div",{class:`spinner ${this.inverse?"inverse":""}`},Pe("div",{class:"bounce1"}),Pe("div",{class:"bounce2"}),Pe("div",{class:"bounce3"})))}};QA.style=zK;const kK=Object.freeze(Object.defineProperty({__proto__:null,mi_card:YA,mi_spinner:QA},Symbol.toStringTag,{value:"Module"})),jK=':root{--z-index-top:999999;--z-index-popup:950;--z-index-modal:900;--z-index-spinner:800;--z-index-overlay:700;--z-index-dropdown:600;--z-index-toast:500;--z-index-header:400;--z-index-sticky:300;--z-index-mask:200;--z-index-masked:100;--z-index-default:1;--z-index-deep:-999999;--transition-slowly:600ms ease;--transition-quickly:300ms ease;--tailwind-colors-rose-900:#881337;--tailwind-colors-rose-800:#9f1239;--tailwind-colors-rose-700:#be123c;--tailwind-colors-rose-600:#e11d48;--tailwind-colors-rose-500:#f43f5e;--tailwind-colors-rose-400:#fb7185;--tailwind-colors-rose-300:#fda4af;--tailwind-colors-rose-200:#fecdd3;--tailwind-colors-rose-100:#ffe4e6;--tailwind-colors-rose-50:#fff1f2;--tailwind-colors-pink-900:#831843;--tailwind-colors-pink-800:#9d174d;--tailwind-colors-pink-700:#be185d;--tailwind-colors-pink-600:#db2777;--tailwind-colors-pink-500:#ec4899;--tailwind-colors-pink-400:#f472b6;--tailwind-colors-pink-300:#f9a8d4;--tailwind-colors-pink-200:#fbcfe8;--tailwind-colors-pink-100:#fce7f3;--tailwind-colors-pink-50:#fdf2f8;--tailwind-colors-fuchsia-900:#701a75;--tailwind-colors-fuchsia-800:#86198f;--tailwind-colors-fuchsia-700:#a21caf;--tailwind-colors-fuchsia-600:#c026d3;--tailwind-colors-fuchsia-500:#d946ef;--tailwind-colors-fuchsia-400:#e879f9;--tailwind-colors-fuchsia-300:#f0abfc;--tailwind-colors-fuchsia-200:#f5d0fe;--tailwind-colors-fuchsia-100:#fae8ff;--tailwind-colors-fuchsia-50:#fdf4ff;--tailwind-colors-purple-900:#581c87;--tailwind-colors-purple-800:#6b21a8;--tailwind-colors-purple-700:#7e22ce;--tailwind-colors-purple-600:#9333ea;--tailwind-colors-purple-500:#a855f7;--tailwind-colors-purple-400:#c084fc;--tailwind-colors-purple-300:#d8b4fe;--tailwind-colors-purple-200:#e9d5ff;--tailwind-colors-purple-100:#f3e8ff;--tailwind-colors-purple-50:#faf5ff;--tailwind-colors-violet-900:#4c1d95;--tailwind-colors-violet-800:#5b21b6;--tailwind-colors-violet-700:#6d28d9;--tailwind-colors-violet-600:#7c3aed;--tailwind-colors-violet-500:#8b5cf6;--tailwind-colors-violet-400:#a78bfa;--tailwind-colors-violet-300:#c4b5fd;--tailwind-colors-violet-200:#ddd6fe;--tailwind-colors-violet-100:#ede9fe;--tailwind-colors-violet-50:#f5f3ff;--tailwind-colors-indigo-900:#312e81;--tailwind-colors-indigo-800:#3730a3;--tailwind-colors-indigo-700:#4338ca;--tailwind-colors-indigo-600:#4f46e5;--tailwind-colors-indigo-500:#6366f1;--tailwind-colors-indigo-400:#818cf8;--tailwind-colors-indigo-300:#a5b4fc;--tailwind-colors-indigo-200:#c7d2fe;--tailwind-colors-indigo-100:#e0e7ff;--tailwind-colors-indigo-50:#eef2ff;--tailwind-colors-blue-900:#1e3a8a;--tailwind-colors-blue-800:#1e40af;--tailwind-colors-blue-700:#1d4ed8;--tailwind-colors-blue-600:#2563eb;--tailwind-colors-blue-500:#3b82f6;--tailwind-colors-blue-400:#60a5fa;--tailwind-colors-blue-300:#93c5fd;--tailwind-colors-blue-200:#bfdbfe;--tailwind-colors-blue-100:#dbeafe;--tailwind-colors-blue-50:#eff6ff;--tailwind-colors-sky-900:#0c4a6e;--tailwind-colors-sky-800:#075985;--tailwind-colors-sky-700:#0369a1;--tailwind-colors-sky-600:#0284c7;--tailwind-colors-sky-500:#0ea5e9;--tailwind-colors-sky-400:#38bdf8;--tailwind-colors-sky-300:#7dd3fc;--tailwind-colors-sky-200:#bae6fd;--tailwind-colors-sky-100:#e0f2fe;--tailwind-colors-sky-50:#f0f9ff;--tailwind-colors-cyan-900:#164e63;--tailwind-colors-cyan-800:#155e75;--tailwind-colors-cyan-700:#0e7490;--tailwind-colors-cyan-600:#0891b2;--tailwind-colors-cyan-500:#06b6d4;--tailwind-colors-cyan-400:#22d3ee;--tailwind-colors-cyan-300:#67e8f9;--tailwind-colors-cyan-200:#a5f3fc;--tailwind-colors-cyan-100:#cffafe;--tailwind-colors-cyan-50:#ecfeff;--tailwind-colors-teal-900:#134e4a;--tailwind-colors-teal-800:#115e59;--tailwind-colors-teal-700:#0f766e;--tailwind-colors-teal-600:#0d9488;--tailwind-colors-teal-500:#14b8a6;--tailwind-colors-teal-400:#2dd4bf;--tailwind-colors-teal-300:#5eead4;--tailwind-colors-teal-200:#99f6e4;--tailwind-colors-teal-100:#ccfbf1;--tailwind-colors-teal-50:#f0fdfa;--tailwind-colors-emerald-900:#064e3b;--tailwind-colors-emerald-800:#065f46;--tailwind-colors-emerald-700:#047857;--tailwind-colors-emerald-600:#059669;--tailwind-colors-emerald-500:#10b981;--tailwind-colors-emerald-400:#34d399;--tailwind-colors-emerald-300:#6ee7b7;--tailwind-colors-emerald-200:#a7f3d0;--tailwind-colors-emerald-100:#d1fae5;--tailwind-colors-emerald-50:#ecfdf5;--tailwind-colors-green-900:#14532d;--tailwind-colors-green-800:#166534;--tailwind-colors-green-700:#15803d;--tailwind-colors-green-600:#16a34a;--tailwind-colors-green-500:#22c55e;--tailwind-colors-green-400:#4ade80;--tailwind-colors-green-300:#86efac;--tailwind-colors-green-200:#bbf7d0;--tailwind-colors-green-100:#dcfce7;--tailwind-colors-green-50:#f0fdf4;--tailwind-colors-lime-900:#365314;--tailwind-colors-lime-800:#3f6212;--tailwind-colors-lime-700:#4d7c0f;--tailwind-colors-lime-600:#65a30d;--tailwind-colors-lime-500:#84cc16;--tailwind-colors-lime-400:#a3e635;--tailwind-colors-lime-300:#bef264;--tailwind-colors-lime-200:#d9f99d;--tailwind-colors-lime-100:#ecfccb;--tailwind-colors-lime-50:#f7fee7;--tailwind-colors-yellow-900:#713f12;--tailwind-colors-yellow-800:#854d0e;--tailwind-colors-yellow-700:#a16207;--tailwind-colors-yellow-600:#ca8a04;--tailwind-colors-yellow-500:#eab308;--tailwind-colors-yellow-400:#facc15;--tailwind-colors-yellow-300:#fde047;--tailwind-colors-yellow-200:#fef08a;--tailwind-colors-yellow-100:#fef9c3;--tailwind-colors-yellow-50:#fefce8;--tailwind-colors-amber-900:#78350f;--tailwind-colors-amber-800:#92400e;--tailwind-colors-amber-700:#b45309;--tailwind-colors-amber-600:#d97706;--tailwind-colors-amber-500:#f59e0b;--tailwind-colors-amber-400:#fbbf24;--tailwind-colors-amber-300:#fcd34d;--tailwind-colors-amber-200:#fde68a;--tailwind-colors-amber-100:#fef3c7;--tailwind-colors-amber-50:#fffbeb;--tailwind-colors-orange-900:#7c2d12;--tailwind-colors-orange-800:#9a3412;--tailwind-colors-orange-700:#c2410c;--tailwind-colors-orange-600:#ea580c;--tailwind-colors-orange-500:#f97316;--tailwind-colors-orange-400:#fb923c;--tailwind-colors-orange-300:#fdba74;--tailwind-colors-orange-200:#fed7aa;--tailwind-colors-orange-100:#ffedd5;--tailwind-colors-orange-50:#fff7ed;--tailwind-colors-red-900:#7f1d1d;--tailwind-colors-red-800:#991b1b;--tailwind-colors-red-700:#b91c1c;--tailwind-colors-red-600:#dc2626;--tailwind-colors-red-500:#ef4444;--tailwind-colors-red-400:#f87171;--tailwind-colors-red-300:#fca5a5;--tailwind-colors-red-200:#fecaca;--tailwind-colors-red-100:#fee2e2;--tailwind-colors-red-50:#fef2f2;--tailwind-colors-stone-900:#1c1917;--tailwind-colors-stone-800:#292524;--tailwind-colors-stone-700:#44403c;--tailwind-colors-stone-600:#57534e;--tailwind-colors-stone-500:#78716c;--tailwind-colors-stone-400:#a8a29e;--tailwind-colors-stone-300:#d6d3d1;--tailwind-colors-stone-200:#e7e5e4;--tailwind-colors-stone-100:#f5f5f4;--tailwind-colors-stone-50:#fafaf9;--tailwind-colors-neutral-900:#171717;--tailwind-colors-neutral-800:#262626;--tailwind-colors-neutral-700:#404040;--tailwind-colors-neutral-600:#525252;--tailwind-colors-neutral-500:#737373;--tailwind-colors-neutral-400:#a3a3a3;--tailwind-colors-neutral-300:#d4d4d4;--tailwind-colors-neutral-200:#e5e5e5;--tailwind-colors-neutral-100:#f5f5f5;--tailwind-colors-neutral-50:#fafafa;--tailwind-colors-zinc-900:#18181b;--tailwind-colors-zinc-800:#27272a;--tailwind-colors-zinc-700:#3f3f46;--tailwind-colors-zinc-600:#52525b;--tailwind-colors-zinc-500:#71717a;--tailwind-colors-zinc-400:#a1a1aa;--tailwind-colors-zinc-300:#d4d4d8;--tailwind-colors-zinc-200:#e4e4e7;--tailwind-colors-zinc-100:#f4f4f5;--tailwind-colors-zinc-50:#fafafa;--tailwind-colors-gray-900:#111827;--tailwind-colors-gray-800:#1f2937;--tailwind-colors-gray-700:#374151;--tailwind-colors-gray-600:#4b5563;--tailwind-colors-gray-500:#6b7280;--tailwind-colors-gray-400:#9ca3af;--tailwind-colors-gray-300:#d1d5db;--tailwind-colors-gray-200:#e5e7eb;--tailwind-colors-gray-100:#f3f4f6;--tailwind-colors-gray-50:#f9fafb;--tailwind-colors-slate-900:#0f172a;--tailwind-colors-slate-800:#1e293b;--tailwind-colors-slate-700:#334155;--tailwind-colors-slate-600:#475569;--tailwind-colors-slate-500:#64748b;--tailwind-colors-slate-400:#94a3b8;--tailwind-colors-slate-300:#cbd5e1;--tailwind-colors-slate-200:#e2e8f0;--tailwind-colors-slate-100:#f1f5f9;--tailwind-colors-slate-50:#f8fafc;--tailwind-colors-black:#000000;--tailwind-colors-white:#ffffff;--spacing-xxxx-large:64px;--spacing-xxx-large:48px;--spacing-xx-large:40px;--spacing-x-large:32px;--spacing-large:24px;--spacing-medium:16px;--spacing-small:12px;--spacing-x-small:8px;--spacing-xx-small:4px;--spacing-xxx-small:2px;--rounding-circle:50%;--rounding-pill:9999px;--rounding-x-large:16px;--rounding-large:8px;--rounding-medium:4px;--rounding-small:2px;--rounding-x-small:1px;--rounding-xx-small:0px;--opacity-xxx-large:1;--opacity-xx-large:0.88;--opacity-x-large:0.72;--opacity-large:0.48;--opacity-medium:0.24;--opacity-small:0.16;--opacity-x-small:0.08;--opacity-xx-small:0;--icon-size-xx-large:64px;--icon-size-x-large:48px;--icon-size-large:32px;--icon-size-medium:24px;--icon-size-small:16px;--font-measure-large:34rem;--font-measure-medium:30rem;--font-measure-small:20rem;--font-tracking-x-large:.25rem;--font-tracking-large:.1rem;--font-tracking-medium:normal;--font-tracking-small:-.05rem;--font-weight-xx-large:700;--font-weight-x-large:600;--font-weight-large:500;--font-weight-medium:400;--font-weight-small:300;--font-size-xxxx-large:4.5rem;--font-size-xxx-large:3rem;--font-size-xx-large:2.25rem;--font-size-x-large:1.5rem;--font-size-large:1.25rem;--font-size-medium:1rem;--font-size-small:0.875rem;--font-size-x-small:0.75rem;--font-family-serif:Georgia, Times, Times New Roman, serif;--font-family-monospace:Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;--font-family-system:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--elevation-x-large:0px 20px 20px rgba(0, 0, 0, 0.2), 0px 16px 16px rgba(0, 0, 0, 0.16), 0px 2px 2px rgba(0, 0, 0, 0.2), 0px 4px 4px rgba(0, 0, 0, 0.16), 0px 8px 8px rgba(0, 0, 0, 0.12);--elevation-large:0px 16px 16px rgba(0, 0, 0, 0.16), 0px 2px 2px rgba(0, 0, 0, 0.2), 0px 4px 4px rgba(0, 0, 0, 0.16), 0px 8px 8px rgba(0, 0, 0, 0.12);--elevation-medium:0px 2px 2px rgba(0, 0, 0, 0.2), 0px 4px 4px rgba(0, 0, 0, 0.18), 0px 8px 8px rgba(0, 0, 0, 0.16);--elevation-small:0px 4px 4px rgba(0, 0, 0, 0.16), 0px 2px 2px rgba(0, 0, 0, 0.18), 0px 1px 1px rgba(0, 0, 0, 0.2);--elevation-x-small:0px 2px 2px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.2);--color-transparent-base:rgba(0, 0, 0, 0);--color-white-base:#fcfcfc;--breakpoints-xx-large:only screen and (min-width: 1220px);--breakpoints-x-large:only screen and (min-width: 1025px);--breakpoints-large:only screen and (min-width: 992px);--breakpoints-medium:only screen and (min-width: 768px);--breakpoints-small:only screen and (min-width: 576px);--breakpoints-x-small:only screen and (max-width: 575px);--breakpoints-xx-small:only screen and (max-width: 360px);--brand-colors-black-100:#000000;--brand-colors-black-80:#323232;--brand-colors-black-60:#666666;--brand-colors-black-40:#999999;--brand-colors-black-20:#cccccc;--brand-colors-white-100:#ffffff;--brand-colors-dark-pine-100:#005655;--brand-colors-dark-pine-80:#327676;--brand-colors-dark-pine-60:#669999;--brand-colors-dark-pine-40:#99bbbb;--brand-colors-dark-pine-20:#ccdddd;--brand-colors-sky-blue-100:#abddff;--brand-colors-sky-blue-80:#c3e5ff;--brand-colors-sky-blue-60:#d2ebff;--brand-colors-sky-blue-40:#e1f2ff;--brand-colors-sky-blue-20:#f0f8ff;--brand-colors-sand-100:#ffefd7;--brand-colors-sand-80:#fff2df;--brand-colors-sand-60:#fff5e7;--brand-colors-brand-lime-100:#cdff00;--brand-colors-brand-lime-80:#d7ff32;--brand-colors-brand-lime-60:#e1ff66;--brand-colors-brand-lime-40:#ebff99;--brand-colors-brand-lime-20:#f5ffcc;--brand-colors-electric-purple-100:#7d49f3;--brand-colors-electric-purple-80:#976df5;--brand-colors-electric-purple-60:#b191f7;--brand-colors-electric-purple-40:#cbb6fa;--brand-colors-electric-purple-20:#e5dafc;--font-family-sans-serif:Figtree, var(--font-family-system);--color-dusk-base:var(--tailwind-colors-violet-500);--color-dusk-100:var(--tailwind-colors-violet-900);--color-dusk-90:var(--tailwind-colors-violet-800);--color-dusk-80:var(--tailwind-colors-violet-700);--color-dusk-70:var(--tailwind-colors-violet-600);--color-dusk-60:var(--tailwind-colors-violet-500);--color-dusk-50:var(--tailwind-colors-violet-400);--color-dusk-40:var(--tailwind-colors-violet-300);--color-dusk-30:var(--tailwind-colors-violet-200);--color-dusk-20:var(--tailwind-colors-violet-100);--color-dusk-10:var(--tailwind-colors-violet-50);--color-slate-base:var(--tailwind-colors-slate-500);--color-slate-100:var(--tailwind-colors-slate-900);--color-slate-90:var(--tailwind-colors-slate-800);--color-slate-80:var(--tailwind-colors-slate-700);--color-slate-70:var(--tailwind-colors-slate-600);--color-slate-60:var(--tailwind-colors-slate-500);--color-slate-50:var(--tailwind-colors-slate-400);--color-slate-40:var(--tailwind-colors-slate-300);--color-slate-30:var(--tailwind-colors-slate-200);--color-slate-20:var(--tailwind-colors-slate-100);--color-slate-10:var(--tailwind-colors-slate-50);--color-teal-base:var(--tailwind-colors-teal-500);--color-teal-100:var(--tailwind-colors-teal-900);--color-teal-90:var(--tailwind-colors-teal-800);--color-teal-80:var(--tailwind-colors-teal-700);--color-teal-70:var(--tailwind-colors-teal-600);--color-teal-60:var(--tailwind-colors-teal-500);--color-teal-50:var(--tailwind-colors-teal-400);--color-teal-40:var(--tailwind-colors-teal-300);--color-teal-30:var(--tailwind-colors-teal-200);--color-teal-20:var(--tailwind-colors-teal-100);--color-teal-10:var(--tailwind-colors-teal-50);--color-sky-base:var(--tailwind-colors-sky-500);--color-sky-100:var(--tailwind-colors-sky-900);--color-sky-90:var(--tailwind-colors-sky-800);--color-sky-80:var(--tailwind-colors-sky-700);--color-sky-70:var(--tailwind-colors-sky-600);--color-sky-60:var(--tailwind-colors-sky-500);--color-sky-50:var(--tailwind-colors-sky-400);--color-sky-40:var(--tailwind-colors-sky-300);--color-sky-30:var(--tailwind-colors-sky-200);--color-sky-20:var(--tailwind-colors-sky-100);--color-sky-10:var(--tailwind-colors-sky-50);--color-indigo-base:var(--tailwind-colors-indigo-500);--color-indigo-100:var(--tailwind-colors-indigo-900);--color-indigo-90:var(--tailwind-colors-indigo-800);--color-indigo-80:var(--tailwind-colors-indigo-700);--color-indigo-70:var(--tailwind-colors-indigo-600);--color-indigo-60:var(--tailwind-colors-indigo-500);--color-indigo-50:var(--tailwind-colors-indigo-400);--color-indigo-40:var(--tailwind-colors-indigo-300);--color-indigo-30:var(--tailwind-colors-indigo-200);--color-indigo-20:var(--tailwind-colors-indigo-100);--color-indigo-10:var(--tailwind-colors-indigo-50);--color-magenta-base:var(--tailwind-colors-pink-500);--color-magenta-100:var(--tailwind-colors-pink-900);--color-magenta-90:var(--tailwind-colors-pink-800);--color-magenta-80:var(--tailwind-colors-pink-700);--color-magenta-70:var(--tailwind-colors-pink-600);--color-magenta-60:var(--tailwind-colors-pink-500);--color-magenta-50:var(--tailwind-colors-pink-400);--color-magenta-40:var(--tailwind-colors-pink-300);--color-magenta-30:var(--tailwind-colors-pink-200);--color-magenta-20:var(--tailwind-colors-pink-100);--color-magenta-10:var(--tailwind-colors-pink-50);--color-purple-base:var(--tailwind-colors-purple-500);--color-purple-100:var(--tailwind-colors-purple-900);--color-purple-90:var(--tailwind-colors-purple-800);--color-purple-80:var(--tailwind-colors-purple-700);--color-purple-70:var(--tailwind-colors-purple-600);--color-purple-60:var(--tailwind-colors-purple-500);--color-purple-50:var(--tailwind-colors-purple-400);--color-purple-40:var(--tailwind-colors-purple-300);--color-purple-30:var(--tailwind-colors-purple-200);--color-purple-20:var(--tailwind-colors-purple-100);--color-purple-10:var(--tailwind-colors-purple-50);--color-bronze-base:var(--tailwind-colors-amber-500);--color-bronze-100:var(--tailwind-colors-amber-900);--color-bronze-90:var(--tailwind-colors-amber-800);--color-bronze-80:var(--tailwind-colors-amber-700);--color-bronze-70:var(--tailwind-colors-amber-600);--color-bronze-60:var(--tailwind-colors-amber-500);--color-bronze-50:var(--tailwind-colors-amber-400);--color-bronze-40:var(--tailwind-colors-amber-300);--color-bronze-30:var(--tailwind-colors-amber-200);--color-bronze-20:var(--tailwind-colors-amber-100);--color-bronze-10:var(--tailwind-colors-amber-50);--color-blue-base:var(--tailwind-colors-blue-500);--color-blue-100:var(--tailwind-colors-blue-900);--color-blue-90:var(--tailwind-colors-blue-800);--color-blue-80:var(--tailwind-colors-blue-700);--color-blue-70:var(--tailwind-colors-blue-600);--color-blue-60:var(--tailwind-colors-blue-500);--color-blue-50:var(--tailwind-colors-blue-400);--color-blue-40:var(--tailwind-colors-blue-300);--color-blue-30:var(--tailwind-colors-blue-200);--color-blue-20:var(--tailwind-colors-blue-100);--color-blue-10:var(--tailwind-colors-blue-50);--color-green-base:var(--tailwind-colors-green-500);--color-green-100:var(--tailwind-colors-green-900);--color-green-90:var(--tailwind-colors-green-800);--color-green-80:var(--tailwind-colors-green-700);--color-green-70:var(--tailwind-colors-green-600);--color-green-60:var(--tailwind-colors-green-500);--color-green-50:var(--tailwind-colors-green-400);--color-green-40:var(--tailwind-colors-green-300);--color-green-30:var(--tailwind-colors-green-200);--color-green-20:var(--tailwind-colors-green-100);--color-green-10:var(--tailwind-colors-green-50);--color-red-base:var(--tailwind-colors-red-500);--color-red-100:var(--tailwind-colors-red-900);--color-red-90:var(--tailwind-colors-red-800);--color-red-80:var(--tailwind-colors-red-700);--color-red-70:var(--tailwind-colors-red-600);--color-red-60:var(--tailwind-colors-red-500);--color-red-50:var(--tailwind-colors-red-400);--color-red-40:var(--tailwind-colors-red-300);--color-red-30:var(--tailwind-colors-red-200);--color-red-20:var(--tailwind-colors-red-100);--color-red-10:var(--tailwind-colors-red-50);--color-gray-base:var(--tailwind-colors-gray-500);--color-gray-100:var(--tailwind-colors-gray-900);--color-gray-90:var(--tailwind-colors-gray-800);--color-gray-80:var(--tailwind-colors-gray-700);--color-gray-70:var(--tailwind-colors-gray-600);--color-gray-60:var(--tailwind-colors-gray-500);--color-gray-50:var(--tailwind-colors-gray-400);--color-gray-40:var(--tailwind-colors-gray-300);--color-gray-30:var(--tailwind-colors-gray-200);--color-gray-20:var(--tailwind-colors-gray-100);--color-gray-10:var(--tailwind-colors-gray-50);--color-hotorchid-base:var(--tailwind-colors-pink-500);--color-white-white:var(--tailwind-colors-white);--color-black-black:var(--tailwind-colors-black);--color-black-base:var(--tailwind-colors-stone-900)}.chip{display:flex;background-color:var(--tailwind-colors-gray-50);border:1px solid var(--tailwind-colors-gray-200);padding:0 var(--spacing-xx-small);border-radius:var(--spacing-x-small);align-items:center;color:var(--tailwind-colors-neutral-500);font-family:var(--font-family-system);font-size:var(--font-size-medium);height:var(--spacing-xxx-large);width:-moz-fit-content;width:fit-content;cursor:default}.chip:hover{background-color:var(--tailwind-colors-gray-100)}.chip--active{color:var(--brand-colors-white-100)}.chip--active:hover{filter:brightness(90%)}.chip__content{padding:0 var(--spacing-small);white-space:nowrap}.chip__icon{width:var(--spacing-x-large);height:var(--spacing-x-large)}',HA=class{constructor(t){Pi(this,t),this.icon=void 0,this.content=void 0,this.backgroundColor="#005655",this.active=!1}render(){const t={background:this.active?this.backgroundColor:""};return Pe("div",{style:t,class:`chip ${this.active?"chip--active":""}`},this.icon&&Pe("img",{class:"chip__icon",src:this.icon}),Pe("div",{class:"chip__content"},this.content))}};HA.style=jK;const RK=Object.freeze(Object.defineProperty({__proto__:null,mi_chip:HA},Symbol.toStringTag,{value:"Module"})),PK=Object.freeze(Object.defineProperty({__proto__:null,mi_column:class{constructor(t){Pi(this,t),this.clicked=pr(this,"clicked",7),this.monospace=!1,this.alignContent="left",this.label=void 0,this.sortable=void 0,this.sort=void 0,this.binding=void 0,this.fitContent=!1,this.width="auto"}cellContentClickedHandler(t){this.clicked.emit(t.detail)}render(){}}},Symbol.toStringTag,{value:"Module"}));var B2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function GA(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function tp(t,i,o){return o={path:i,exports:{},require:function(l,h){return UK()}},t(o,o.exports),o.exports}function UK(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var ZA=tp(function(t){((i,o)=>{t.exports?t.exports=o():i.fuzzysort=o()})(B2,i=>{var o=(He,Re)=>{if(He=="farzher")return{target:"farzher was here (^-^*)/",score:0,_indexes:[0]};if(!He||!Re)return We;var Le=A(He);de(Re)||(Re=E(Re));var ht=Le.bitflags;return(ht&Re._bitflags)!==ht?We:L(Le,Re)},l=(He,Re,Le)=>{if(He=="farzher")return[{target:"farzher was here (^-^*)/",score:0,_indexes:[0],obj:Re?Re[0]:We}];if(!He)return Le&&Le.all?C(He,Re,Le):je;var ht=A(He),ot=ht.bitflags,me=Le&&Le.threshold||Ve,ve=Le&&Le.limit||qe,ae=0,G=0,X=Re.length;if(Le&&Le.key)for(var ge=Le.key,fe=0;fe<X;++fe){var Ne=Re[fe],Oe=Me(Ne,ge);if(Oe&&(de(Oe)||(Oe=E(Oe)),(ot&Oe._bitflags)===ot)){var Ae=L(ht,Oe);Ae!==We&&(Ae.score<me||(Ae={target:Ae.target,_targetLower:"",_targetLowerCodes:We,_nextBeginningIndexes:We,_bitflags:0,score:Ae.score,_indexes:Ae._indexes,obj:Ne},ae<ve?(Se.add(Ae),++ae):(++G,Ae.score>Se.peek().score&&Se.replaceTop(Ae))))}}else if(Le&&Le.keys)for(var $e=Le.scoreFn||Ie,st=Le.keys,Ce=st.length,fe=0;fe<X;++fe){for(var Ne=Re[fe],Xe=new Array(Ce),yt=0;yt<Ce;++yt){var ge=st[yt],Oe=Me(Ne,ge);if(!Oe){Xe[yt]=We;continue}de(Oe)||(Oe=E(Oe)),(ot&Oe._bitflags)!==ot?Xe[yt]=We:Xe[yt]=L(ht,Oe)}Xe.obj=Ne;var jt=$e(Xe);jt!==We&&(jt<me||(Xe.score=jt,ae<ve?(Se.add(Xe),++ae):(++G,jt>Se.peek().score&&Se.replaceTop(Xe))))}else for(var fe=0;fe<X;++fe){var Oe=Re[fe];if(Oe&&(de(Oe)||(Oe=E(Oe)),(ot&Oe._bitflags)===ot)){var Ae=L(ht,Oe);Ae!==We&&(Ae.score<me||(ae<ve?(Se.add(Ae),++ae):(++G,Ae.score>Se.peek().score&&Se.replaceTop(Ae))))}}if(ae===0)return je;for(var Ft=new Array(ae),fe=ae-1;fe>=0;--fe)Ft[fe]=Se.poll();return Ft.total=ae+G,Ft},h=(He,Re,Le)=>{if(typeof Re=="function")return y(He,Re);if(He===We)return We;Re===void 0&&(Re="<b>"),Le===void 0&&(Le="</b>");var ht="",ot=0,me=!1,ve=He.target,ae=ve.length,G=He._indexes;G=G.slice(0,G.len).sort((fe,Ne)=>fe-Ne);for(var X=0;X<ae;++X){var ge=ve[X];if(G[ot]===X){if(++ot,me||(me=!0,ht+=Re),ot===G.length){ht+=ge+Le+ve.substr(X+1);break}}else me&&(me=!1,ht+=Le);ht+=ge}return ht},y=(X,Re)=>{if(X===We)return We;var Le=X.target,ht=Le.length,ot=X._indexes;ot=ot.slice(0,ot.len).sort((Ne,Oe)=>Ne-Oe);for(var me="",ve=0,ae=0,G=!1,X=[],ge=0;ge<ht;++ge){var fe=Le[ge];if(ot[ae]===ge){if(++ae,G||(G=!0,X.push(me),me=""),ae===ot.length){me+=fe,X.push(Re(me,ve++)),me="",X.push(Le.substr(ge+1));break}}else G&&(G=!1,X.push(Re(me,ve++)),me="");me+=fe}return X},_=He=>He._indexes.slice(0,He._indexes.len).sort((Re,Le)=>Re-Le),a=He=>{typeof He!="string"&&(He="");var Re=U(He);return{target:He,_targetLower:Re._lower,_targetLowerCodes:Re.lowerCodes,_nextBeginningIndexes:We,_bitflags:Re.bitflags,score:We,_indexes:[0],obj:We}},v=He=>{typeof He!="string"&&(He=""),He=He.trim();var Re=U(He),Le=[];if(Re.containsSpace){var ht=He.split(/\s+/);ht=[...new Set(ht)];for(var ot=0;ot<ht.length;ot++)if(ht[ot]!==""){var me=U(ht[ot]);Le.push({lowerCodes:me.lowerCodes,_lower:ht[ot].toLowerCase(),containsSpace:!1})}}return{lowerCodes:Re.lowerCodes,bitflags:Re.bitflags,containsSpace:Re.containsSpace,_lower:Re._lower,spaceSearches:Le}},E=He=>{if(He.length>999)return a(He);var Re=ne.get(He);return Re!==void 0||(Re=a(He),ne.set(He,Re)),Re},A=He=>{if(He.length>999)return v(He);var Re=re.get(He);return Re!==void 0||(Re=v(He),re.set(He,Re)),Re},C=(He,Re,Le)=>{var ht=[];ht.total=Re.length;var ot=Le&&Le.limit||qe;if(Le&&Le.key)for(var me=0;me<Re.length;me++){var ve=Re[me],ae=Me(ve,Le.key);if(ae){de(ae)||(ae=E(ae)),ae.score=Ve,ae._indexes.len=0;var G=ae;if(G={target:G.target,_targetLower:"",_targetLowerCodes:We,_nextBeginningIndexes:We,_bitflags:0,score:ae.score,_indexes:We,obj:ve},ht.push(G),ht.length>=ot)return ht}}else if(Le&&Le.keys)for(var me=0;me<Re.length;me++){for(var ve=Re[me],X=new Array(Le.keys.length),ge=Le.keys.length-1;ge>=0;--ge){var ae=Me(ve,Le.keys[ge]);if(!ae){X[ge]=We;continue}de(ae)||(ae=E(ae)),ae.score=Ve,ae._indexes.len=0,X[ge]=ae}if(X.obj=ve,X.score=Ve,ht.push(X),ht.length>=ot)return ht}else for(var me=0;me<Re.length;me++){var ae=Re[me];if(ae&&(de(ae)||(ae=E(ae)),ae.score=Ve,ae._indexes.len=0,ht.push(ae),ht.length>=ot))return ht}return ht},L=(He,Re,Le=!1)=>{if(Le===!1&&He.containsSpace)return j(He,Re);for(var ht=He._lower,ot=He.lowerCodes,me=ot[0],ve=Re._targetLowerCodes,ae=ot.length,G=ve.length,Ne=0,X=0,ge=0;;){var fe=me===ve[X];if(fe){if(ie[ge++]=X,++Ne,Ne===ae)break;me=ot[Ne]}if(++X,X>=G)return We}var Ne=0,Oe=!1,Ae=0,$e=Re._nextBeginningIndexes;$e===We&&($e=Re._nextBeginningIndexes=Z(Re.target)),X=ie[0]===0?0:$e[ie[0]-1];var st=0;if(X!==G)for(;;)if(X>=G){if(Ne<=0||(++st,st>200))break;--Ne;var Ce=te[--Ae];X=$e[Ce]}else{var fe=ot[Ne]===ve[X];if(fe){if(te[Ae++]=X,++Ne,Ne===ae){Oe=!0;break}++X}else X=$e[X]}var Xe=Re._targetLower.indexOf(ht,ie[0]),yt=~Xe;if(yt&&!Oe)for(var jt=0;jt<ge;++jt)ie[jt]=Xe+jt;var Ft=!1;yt&&(Ft=Re._nextBeginningIndexes[Xe-1]===Xe);{if(Oe)var hn=te,jn=Ae;else var hn=ie,jn=ge;for(var Dt=0,Cn=0,jt=1;jt<ae;++jt)hn[jt]-hn[jt-1]!==1&&(Dt-=hn[jt],++Cn);var En=hn[ae-1]-hn[0]-(ae-1);if(Dt-=(12+En)*Cn,hn[0]!==0&&(Dt-=hn[0]*hn[0]*.2),!Oe)Dt*=1e3;else{for(var In=1,jt=$e[0];jt<G;jt=$e[jt])++In;In>24&&(Dt*=(In-24)*10)}yt&&(Dt/=1+ae*ae*1),Ft&&(Dt/=1+ae*ae*1),Dt-=G-ae,Re.score=Dt;for(var jt=0;jt<jn;++jt)Re._indexes[jt]=hn[jt];return Re._indexes.len=jn,Re}},j=(He,Re)=>{for(var Le=new Set,ht=0,ot=We,me=0,ve=He.spaceSearches,ge=0;ge<ve.length;++ge){var ae=ve[ge];if(ot=L(ae,Re),ot===We)return We;ht+=ot.score,ot._indexes[0]<me&&(ht-=me-ot._indexes[0]),me=ot._indexes[0];for(var G=0;G<ot._indexes.len;++G)Le.add(ot._indexes[G])}var X=L(He,Re,!0);if(X!==We&&X.score>ht)return X;ot.score=ht;var ge=0;for(let fe of Le)ot._indexes[ge++]=fe;return ot._indexes.len=ge,ot},U=He=>{for(var Re=He.length,Le=He.toLowerCase(),ht=[],ot=0,me=!1,ve=0;ve<Re;++ve){var ae=ht[ve]=Le.charCodeAt(ve);if(ae===32){me=!0;continue}var G=ae>=97&&ae<=122?ae-97:ae>=48&&ae<=57?26:ae<=127?30:31;ot|=1<<G}return{lowerCodes:ht,bitflags:ot,containsSpace:me,_lower:Le}},V=He=>{for(var Re=He.length,Le=[],ht=0,ot=!1,me=!1,ve=0;ve<Re;++ve){var ae=He.charCodeAt(ve),G=ae>=65&&ae<=90,X=G||ae>=97&&ae<=122||ae>=48&&ae<=57,ge=G&&!ot||!me||!X;ot=G,me=X,ge&&(Le[ht++]=ve)}return Le},Z=He=>{for(var Re=He.length,Le=V(He),ht=[],ot=Le[0],me=0,ve=0;ve<Re;++ve)ot>ve?ht[ve]=ot:(ot=Le[++me],ht[ve]=ot===void 0?Re:ot);return ht},ee=()=>{ne.clear(),re.clear(),ie=[],te=[]},ne=new Map,re=new Map,ie=[],te=[],Ie=He=>{for(var Re=Ve,Le=He.length,ht=0;ht<Le;++ht){var ot=He[ht];if(ot!==We){var me=ot.score;me>Re&&(Re=me)}}return Re===Ve?We:Re},Me=(He,Re)=>{var Le=He[Re];if(Le!==void 0)return Le;var ht=Re;Array.isArray(Re)||(ht=Re.split("."));for(var ot=ht.length,me=-1;He&&++me<ot;)He=He[ht[me]];return He},de=He=>typeof He=="object",qe=1/0,Ve=-qe,je=[];je.total=0;var We=null,tt=He=>{var Re=[],Le=0,ht={},ot=me=>{for(var ve=0,ae=Re[ve],G=1;G<Le;){var X=G+1;ve=G,X<Le&&Re[X].score<Re[G].score&&(ve=X),Re[ve-1>>1]=Re[ve],G=1+(ve<<1)}for(var ge=ve-1>>1;ve>0&&ae.score<Re[ge].score;ge=(ve=ge)-1>>1)Re[ve]=Re[ge];Re[ve]=ae};return ht.add=me=>{var ve=Le;Re[Le++]=me;for(var ae=ve-1>>1;ve>0&&me.score<Re[ae].score;ae=(ve=ae)-1>>1)Re[ve]=Re[ae];Re[ve]=me},ht.poll=me=>{if(Le!==0){var ve=Re[0];return Re[0]=Re[--Le],ot(),ve}},ht.peek=me=>{if(Le!==0)return Re[0]},ht.replaceTop=me=>{Re[0]=me,ot()},ht},Se=tt();return{single:o,go:l,highlight:h,prepare:a,indexes:_,cleanup:ee}})}),Uh;(function(t){t.Asc="asc",t.Desc="desc"})(Uh||(Uh={}));const BK=`.mi-input[type=text],.mi-input[type=search],.mi-input[type=number],.mi-input[type=password],.mi-input[type=tel]{font-size:1rem;padding:8px;border-style:solid;border-width:1px;border-color:#8d98aa;border-radius:4px}.mi-input[type=text],.mi-input[type=search],.mi-input[type=number],.mi-input[type=password],.mi-input[type=range],.mi-input[type=tel]{display:block}.mi-input[type=radio],.mi-input[type=checkbox]{margin:0px;transform:scale(1.2, 1.2)}.mi-input[type=search]{padding-left:32px;background:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.6267 8.43836C14.6267 11.8561 11.8561 14.6267 8.43836 14.6267C5.02062 14.6267 2.25 11.8561 2.25 8.43836C2.25 5.02062 5.02062 2.25 8.43836 2.25C11.8561 2.25 14.6267 5.02062 14.6267 8.43836Z' stroke='%23aeb9cb' stroke-width='2.5'/%3E%3Crect x='15.0979' y='14.1614' width='7.34678' height='1.32449' rx='0.662244' transform='rotate(45 15.0979 14.1614)' fill='%23aeb9cb' stroke='%23aeb9cb'/%3E%3Crect x='13.7847' y='13.2916' width='1.05276' height='0.697347' transform='rotate(45 13.7847 13.2916)' stroke='%23aeb9cb' stroke-width='0.697346'/%3E%3C/svg%3E%0A") no-repeat scroll 8px center, white}.mi-input:disabled{opacity:0.48;cursor:not-allowed}.mi-label{font-style:normal;display:block;font-size:1rem;font-weight:500;color:#1e2025}.mi-label>*{margin-top:4px}.mi-label>input[type=radio],.mi-label>input[type=checkbox],.mi-label>label.mi-toggle-btn{margin-right:8px}combo-box-item{display:none}:host{display:inline-block;position:relative;font-family:Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}:host(.open) .button::after{border-top-color:transparent;border-bottom-color:#1f2937;margin-top:-8px}:host(.open) section{display:flex}:host(.open) svg{transform:rotate(180deg)}.input{position:relative;display:flex;justify-content:flex-start;align-items:center;height:100%;width:100%;font-family:inherit;background:linear-gradient(#f9fafb, #f3f4f6);border-radius:4px;border-width:1px;border-style:solid;border-color:#d1d5db;color:#1c1917;font-size:1rem;font-weight:500;line-height:1rem;padding-right:40px;padding-left:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.input__svg{margin-left:auto;position:absolute;top:50%;right:-42px}.input__label{padding-top:12px;padding-bottom:12px;margin-right:8px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.input__label--from-inner-html{display:flex;flex-direction:row;align-items:center;gap:8px}.input:disabled{opacity:0.72;cursor:not-allowed}.content{padding-top:12px;padding-bottom:12px;margin-top:12px;margin-bottom:12px;border-radius:8px;color:#1c1917;font-size:1rem;font-weight:500;background-color:#fcfcfc;box-shadow:0px 2px 2px rgba(0, 0, 0, 0.2), 0px 4px 4px rgba(0, 0, 0, 0.18), 0px 8px 8px rgba(0, 0, 0, 0.16);min-width:320px;max-width:480px;max-height:580px;display:none;flex-direction:column;position:fixed;z-index:10000}.content .list{padding:0;margin:0;list-style:none;overflow-y:auto}.content .list__item{cursor:pointer}.content .list__item--highlighted{background-color:#f3f4f6}.empty-page{display:flex;align-items:left;flex-direction:column;margin-left:16px;margin-bottom:12px}.empty-page>*{margin:0}.empty-page__header{font-size:1rem;font-weight:400;color:#374151}.label{display:flex;flex-direction:row;align-items:center;padding-left:16px;padding-right:16px;padding-top:8px;padding-bottom:8px}.label__item{display:inline-block;margin-top:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label__item--from-inner-html{display:flex;flex-direction:row;align-items:center;gap:8px}.label__checkbox{margin-right:12px}.label__checkbox--hidden{display:none}`;var ha;(function(t){t.ArrowDown="ArrowDown",t.ArrowUp="ArrowUp",t.Enter="Enter",t.Esc="Escape"})(ha||(ha={}));const WA=class{constructor(t){Pi(this,t),this.change=pr(this,"change",3),this.isFilterSelectionDisabled=!1,this.isMouseOverEventDisabled=!1,this.currentItemIndex=0,this.selectedItemIndex=0,this.highlightedItemClassName="list__item--highlighted",this.open=!1,this.items=[],this.itemsOrder=void 0,this.filterable=!1,this.selected=[],this.noResultsMessage="No results found",this.currentItems=[],this.disabled=!1}onItemsChanged(t){if(t.some(i=>i.tagName.toLowerCase()!=="combo-box-item"))throw new Error("Items contains unknown element(s).");if(Object.values(Uh).includes(this.itemsOrder)&&(t=this.getSortedItems(t)),this.currentItems=[...t],this.filter(),!this.filterable){const i=this.currentItems.findIndex(o=>o.selected);this.currentItemIndex=i>-1?i:0,this.selectedItemIndex=this.currentItemIndex}this.items.forEach((i,o)=>{i.dataset.index=o.toString()}),this.selectFirstMiDropdownItem()}onCurrentItemsChange(){this.isFilterSelectionDisabled=this.currentItems.length===0}checkForClickOutside(t){var i;!this.hostElement.contains(t.target)&&this.noResultsMessage&&(this.clearFilter(),this.filterElement.value=(i=this.selected[0])===null||i===void 0?void 0:i.text,this.open=!1)}onClickExists(t){this.open=!0,t.target.type="text",this.filterElement.select()}mouseMoveEventHandler(){this.isMouseOverEventDisabled=!1}scrollEventHandler(t){const i=t.target;(!i||!this.hostElement.contains(i))&&(this.open=!1)}resizeEventHandler(){this.calculateDropDownPosition()}componentDidLoad(){this.createMiDropdownItemsFromDocument(),this.selectFirstMiDropdownItem(),this.enableKeyboardNavigationEvents();const t=new IntersectionObserver(i=>{i.forEach(o=>{o.isIntersecting===!0&&this.filterElement.blur()})});this.filterElement!==void 0&&(t.observe(this.filterElement),this.filterElement.addEventListener("keydown",i=>{(i.key===ha.ArrowDown||i.key===ha.ArrowUp)&&i.preventDefault()}))}componentDidRender(){this.calculateDropDownPosition(),this.filterable||this.highlightItem(this.currentItemIndex,!0)}createMiDropdownItemsFromDocument(){const t=this.items&&this.items.length>0?this.items:this.hostElement.querySelectorAll("combo-box-item");t.length>0&&(this.items=Array.from(t))}selectFirstMiDropdownItem(){var t;if(!this.filterable){const i=(t=this.items)===null||t===void 0?void 0:t.findIndex(o=>o.selected);this.selected=[this.items[i>-1?i:0]]}}enableKeyboardNavigationEvents(){this.hostElement.addEventListener("keydown",t=>{if(this.open===!1&&t.key===ha.ArrowDown){this.isMouseOverEventDisabled=!0,this.toggleContentWindow(),t.preventDefault();return}if(this.open===!0&&!this.filterable)switch(t.key){case(ha.ArrowDown||ha.ArrowUp):this.isMouseOverEventDisabled=!0,this.currentItemIndex=(this.currentItemIndex+1)%this.currentItems.length,this.highlightItem(this.currentItemIndex,!0),t.preventDefault();break;case ha.ArrowUp:this.isMouseOverEventDisabled=!0,this.currentItemIndex=(this.currentItemIndex+this.currentItems.length-1)%this.currentItems.length,this.highlightItem(this.currentItemIndex,!0),t.preventDefault();break;case ha.Enter:if(this.hostElement.shadowRoot.activeElement===this.clearButtonElement)return;this.currentItems[this.currentItemIndex]!==void 0&&this.onSelect(this.currentItems[this.currentItemIndex]),t.preventDefault();break}t.key===ha.Esc&&(this.filterable||(this.currentItemIndex=this.selectedItemIndex,this.highlightItem(this.currentItemIndex)),this.toggleContentWindow(),this.clearFilter())})}highlightItem(t,i=!1){var o,l;const h=this.hostElement.shadowRoot.querySelectorAll(".list__item");h.forEach(y=>{y.classList.remove(this.highlightedItemClassName)}),(o=h[t])===null||o===void 0||o.classList.add(this.highlightedItemClassName),i&&((l=h[t])===null||l===void 0||l.scrollIntoView({block:"nearest",inline:"nearest"}))}getSortedItems(t){return this.itemsOrder===Uh.Asc?t.sort((i,o)=>(i.text||i.innerText).trimStart().toLowerCase().localeCompare((o.text||o.innerText).trimStart().toLowerCase(),void 0,{numeric:!0})):t.sort((i,o)=>(o.text||o.innerText).trimStart().toLowerCase().localeCompare((i.text||i.innerText).trimStart().toLowerCase(),void 0,{numeric:!0})),t}onChangedHandler(){this.selected=[...this.items.filter(t=>t.selected)],this.change.emit(this.selected)}toggleContentWindow(){this.open=!this.open}onSelect(t){this.filterable||(this.open=!1,Array.from(this.items).forEach(o=>{o.selected=!1}),this.clearFilter()),t.selected=!t.selected,this.currentItemIndex=Number(t.dataset.index),this.selectedItemIndex=this.currentItemIndex,this.onChangedHandler()}onMouseOver(t){!this.isMouseOverEventDisabled&&!this.filterable&&(this.highlightItem(t),this.currentItemIndex=t)}filter(){if(this.filterElement){const t=this.filterElement.value,i=this.items.map(_=>_.text||_.innerText),o=this.currentItems.length;if(t==="")return this.currentItemIndex=this.selectedItemIndex,this.currentItems=[...this.items];const l={limit:50,allowTypo:!1,threshold:-1e4},y=ZA.go(t,i,l).map(_=>this.items.find(a=>(a.text||a.innerText)===_.target));this.currentItems=y,o!==this.currentItems.length&&(this.currentItemIndex=0)}}clearFilter(){var t;this.filterElement&&(this.filterElement.value=(t=this.selected[0])===null||t===void 0?void 0:t.text,this.filterElement.blur(),this.currentItems=this.items)}render(){var t;const i=Pe("ul",{class:"list"},this.currentItems.map((o,l)=>this.renderListItem(o,l,this.filterable)));return Pe(Jr,{class:{open:this.open}},Pe("input",{type:"text",class:"input",onFocus:o=>this.onClickExists(o),ref:o=>this.filterElement=o,onInput:()=>this.filter(),tabIndex:0,value:(t=this.selected[0])===null||t===void 0?void 0:t.text}),Pe("svg",{role:"button",class:"input__svg",part:"icon-down-arrow",width:"12",height:"6",viewBox:"0 0 18 10",xmlns:"http://www.w3.org/2000/svg",onClick:()=>this.toggleContentWindow()},Pe("path",{d:"M9.37165 9.58706C9.17303 9.80775 8.82697 9.80775 8.62835 9.58706L0.751035 0.834484C0.46145 0.512722 0.689796 7.73699e-08 1.12268 1.25924e-07L16.8773 1.89302e-06C17.3102 1.94157e-06 17.5386 0.512723 17.249 0.834484L9.37165 9.58706Z"})),Pe("section",{ref:o=>this.listElement=o,part:"dropdown-container",class:"content"},this.currentItems.length===0?this.renderNoResultsTemplate():i))}renderNoResultsTemplate(){return Pe("div",{class:"empty-page"},Pe("p",{class:"empty-page__header"},this.noResultsMessage))}renderListItem(t,i,o){let l;const h=t.getAttribute("title")||t.text||t.innerText;return t.innerText.length>0?l=Pe("div",{class:"label__item label__item--from-inner-html",innerHTML:t.innerHTML}):l=Pe("div",{class:"label__item",innerHTML:t.text}),Pe("li",{class:"list__item",title:h,onMouseOver:()=>{this.onMouseOver(i)}},Pe("label",{class:"mi-label label",tabindex:"-1"},Pe("input",{class:{label__checkbox:!0,"label__checkbox--hidden":!o,"mi-input":!0},type:"checkbox",value:i,checked:t.selected,onChange:()=>this.onSelect(t)}),l))}calculateDropDownPosition(){this.listElement.style.bottom=null,this.listElement.style.left=null,this.listElement.style.right=null,this.listElement.style.top=null,this.listElement.style.maxHeight=null,this.listElement.style.minWidth=null;const{clientWidth:t,clientHeight:i}=document.documentElement,o=this.hostElement.getBoundingClientRect(),l=this.listElement.getBoundingClientRect(),h=i-o.bottom,y=o.top,_=580,a=12;t<=l.width||o.right-l.width<0&&l.right>t?(this.listElement.style.right=`${a}px`,this.listElement.style.left=`${a}px`,this.listElement.style.minWidth="unset"):l.right>t?(this.listElement.style.left="unset",this.listElement.style.right=`${t-o.right}px`):(this.listElement.style.left=`${o.left}px`,this.listElement.style.right="unset"),y>h?(this.listElement.style.maxHeight=`${Math.min(y,_)}px`,this.listElement.style.top="unset",this.listElement.style.bottom=`${i-o.top}px`):(this.listElement.style.top=`${o.bottom}px`,this.listElement.style.bottom="unset",this.listElement.style.maxHeight=`${Math.min(h-a*2,_)}px`)}get hostElement(){return Ga(this)}static get watchers(){return{items:["onItemsChanged"],currentItems:["onCurrentItemsChange"]}}};WA.style=BK;const FK=Object.freeze(Object.defineProperty({__proto__:null,mi_combo_box:WA},Symbol.toStringTag,{value:"Module"}));function qA(t){return t!==null&&t>""&&!isNaN(Number(t))}function VK(t){return Number(t).toLocaleString(void 0,{minimumFractionDigits:0})}function m1(t){return t==null}function g1(){return!!(navigator.userAgent.match(/Trident/g)||navigator.userAgent.match(/MSIE/g))}function $K(t){try{return new URL(t),!0}catch{return!1}}function F2(t,i){if($K(t)===!1)return;const o=new URL(t),l=o.hostname;if(l==="image.mapsindoors.com"){const h=Math.max(2,window.devicePixelRatio||1),y=i*h,_=i*h;o.searchParams.set("width",y.toString()),o.searchParams.set("height",_.toString()),o.searchParams.set("fitMode","cover")}return["app.mapsindoors.com","v2.mapsindoors.com"].includes(l)&&o.searchParams.set("scale","2"),o.toString()}const YK=`a.mi-button{cursor:default}.mi-button{border-radius:4px;border-width:1px;border-style:solid;font-family:Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:500;padding-left:16px;padding-right:16px;padding-top:12px;padding-bottom:12px;display:inline-flex;align-items:center}.mi-button:disabled{opacity:0.48;cursor:not-allowed}.mi-button object{filter:invert(9%) sepia(13%) saturate(692%) hue-rotate(185deg) brightness(98%) contrast(91%);width:16px;height:16px}.mi-button--small{padding-left:12px;padding-right:12px;padding-top:8px;padding-bottom:8px;font-size:0.875rem;height:32px}.mi-button--small object{width:16px;height:16px}.mi-button--large{padding-left:16px;padding-right:16px;font-size:1.25rem}.mi-button--large object{width:20px;height:20px}.mi-button--full-width{width:100%;justify-content:center}.mi-button--icon-left{padding-left:12px}.mi-button--icon-left object{margin-right:8px}.mi-button--icon-right{padding-right:12px}.mi-button--icon-right object{margin-left:8px}.mi-button--icon-both{padding-top:12px;padding-bottom:12px}.mi-button--icon-both object:first-of-type{margin-right:8px}.mi-button--icon-both object:last-of-type{margin-left:8px}.mi-button--base{background:linear-gradient(#f5f7fa, #ebeff5);color:#1e2025;border-color:#c8d0e0}.mi-button--base:not(:disabled):hover{background:linear-gradient(#ebeff5, #dee3ed);border-color:#aeb9cb}.mi-button--base:not(:disabled):active{background:linear-gradient(#dee3ed, #ebeff5)}.mi-button--primary{color:#ffffff;border-color:#20693e;background:linear-gradient(#3ba064, #2a844e)}.mi-button--primary object{filter:invert(100%) sepia(93%) saturate(0%) hue-rotate(201deg) brightness(106%) contrast(106%)}.mi-button--primary:not(:disabled):hover{background:linear-gradient(#2a844e, #20693e)}.mi-button--primary:not(:disabled):active{background:linear-gradient(#20693e, #2a844e)}.mi-button--delete{background:linear-gradient(#f55151, #de1b1b);color:#ffffff;border-color:#ba0d0d}.mi-button--delete object{filter:invert(100%) sepia(93%) saturate(0%) hue-rotate(201deg) brightness(106%) contrast(106%)}.mi-button--delete:not(:disabled):hover{background:linear-gradient(#de1b1b, #ba0d0d)}.mi-button--delete:not(:disabled):active{background:linear-gradient(#ba0d0d, #de1b1b)}.mi-button--outline{color:#3071d9;border-color:#3071d9;background-color:transparent}.mi-button--outline object{filter:invert(38%) sepia(97%) saturate(742%) hue-rotate(188deg) brightness(86%) contrast(97%)}.mi-button--outline:not(:disabled):hover{color:#1d5bbf;border-color:#1d5bbf;background-color:#eef4fc}.mi-button--outline:not(:disabled):active{color:#1d5bbf;border-color:#1d5bbf;background-color:#cfe0fc}.mi-button--link{color:#3071d9;border-style:none;background-color:transparent;cursor:pointer}.mi-button--link object{filter:invert(38%) sepia(97%) saturate(742%) hue-rotate(188deg) brightness(86%) contrast(97%)}.mi-button--link:not(:disabled):hover{color:#1d5bbf;border-color:#1d5bbf;background-color:#eef4fc}.mi-button--link:disabled:hover{cursor:not-allowed}.mi-button--link:not(:disabled):active{color:#1d5bbf;border-color:#1d5bbf;background-color:#cfe0fc}.mi-input[type=text],.mi-input[type=search],.mi-input[type=number],.mi-input[type=password],.mi-input[type=tel]{font-size:1rem;padding:8px;border-style:solid;border-width:1px;border-color:#8d98aa;border-radius:4px}.mi-input[type=text],.mi-input[type=search],.mi-input[type=number],.mi-input[type=password],.mi-input[type=range],.mi-input[type=tel]{display:block}.mi-input[type=radio],.mi-input[type=checkbox]{margin:0px;transform:scale(1.2, 1.2)}.mi-input[type=search]{padding-left:32px;background:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.6267 8.43836C14.6267 11.8561 11.8561 14.6267 8.43836 14.6267C5.02062 14.6267 2.25 11.8561 2.25 8.43836C2.25 5.02062 5.02062 2.25 8.43836 2.25C11.8561 2.25 14.6267 5.02062 14.6267 8.43836Z' stroke='%23aeb9cb' stroke-width='2.5'/%3E%3Crect x='15.0979' y='14.1614' width='7.34678' height='1.32449' rx='0.662244' transform='rotate(45 15.0979 14.1614)' fill='%23aeb9cb' stroke='%23aeb9cb'/%3E%3Crect x='13.7847' y='13.2916' width='1.05276' height='0.697347' transform='rotate(45 13.7847 13.2916)' stroke='%23aeb9cb' stroke-width='0.697346'/%3E%3C/svg%3E%0A") no-repeat scroll 8px center, white}.mi-input:disabled{opacity:0.48;cursor:not-allowed}.mi-select{display:block;padding-top:8px;padding-bottom:8px;padding-left:8px;padding-right:32px;border-radius:4px;border-width:1px;border-style:solid;border-color:#c8d0e0;color:#1e2025;font-size:1rem;font-weight:500;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:url("data:image/svg+xml;base64,PHN2ZyBmaWxsPScjNDQ0QjU1JyBoZWlnaHQ9JzI0JyB2aWV3Qm94PScwIDAgMjQgMjQnIHdpZHRoPScyNCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz4KPHBhdGggZD0nTTcgMTBsNSA1IDUtNXonLz4KPHBhdGggZD0nTTAgMGgyNHYyNEgweicgZmlsbD0nbm9uZScvPgo8L3N2Zz4=") 96%/24px no-repeat, linear-gradient(#f5f7fa, #ebeff5)}.mi-select:disabled{opacity:0.48;cursor:not-allowed}.mi-select:not(:disabled):hover{background:url("data:image/svg+xml;base64,PHN2ZyBmaWxsPScjNDQ0QjU1JyBoZWlnaHQ9JzI0JyB2aWV3Qm94PScwIDAgMjQgMjQnIHdpZHRoPScyNCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz4KPHBhdGggZD0nTTcgMTBsNSA1IDUtNXonLz4KPHBhdGggZD0nTTAgMGgyNHYyNEgweicgZmlsbD0nbm9uZScvPgo8L3N2Zz4=") 96%/24px no-repeat, linear-gradient(#ebeff5, #dee3ed);border-color:#aeb9cb}.mi-select:not(:disabled):active{background:url("data:image/svg+xml;base64,PHN2ZyBmaWxsPScjNDQ0QjU1JyBoZWlnaHQ9JzI0JyB2aWV3Qm94PScwIDAgMjQgMjQnIHdpZHRoPScyNCcgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz4KPHBhdGggZD0nTTcgMTBsNSA1IDUtNXonLz4KPHBhdGggZD0nTTAgMGgyNHYyNEgweicgZmlsbD0nbm9uZScvPgo8L3N2Zz4=") 96%/24px no-repeat, linear-gradient(#dee3ed, #ebeff5)}.mi-toggle{margin:0}.mi-toggle:disabled{cursor:not-allowed}.mi-toggle+.mi-label{margin-left:8px}@supports (appearance: none) or (-moz-appearance: none) or (-webkit-appearance: none){.mi-toggle{padding:2px;box-sizing:border-box;appearance:none;-moz-appearance:none;-webkit-appearance:none;width:48px;height:24px;border-radius:9999px;background-color:#8d98aa;transition:background-color 300ms ease}.mi-toggle:disabled{opacity:0.48}.mi-toggle:checked{background-color:#2a844e}.mi-toggle::after{content:"";display:inline-block;width:20px;height:20px;transform:translateX(0px);border-radius:50%;background-color:#fcfcfc;box-shadow:0 1px 1px rgba(0, 0, 0, 0.125), 0 2px 2px rgba(0, 0, 0, 0.125);transition:300ms ease}.mi-toggle:checked::after{transform:translateX(24px)}}.width-none{width:0}.width-xxx-small{width:2px}.width-xx-small{width:4px}.width-x-small{width:8px}.width-small{width:12px}.width-medium{width:16px}.width-large{width:24px}.width-x-large{width:32px}.width-xx-large{width:40px}.width-xxx-large{width:48px}.width-xxxx-large{width:64px}.min-width-none{min-width:0}.min-width-xxx-small{min-width:2px}.min-width-xx-small{min-width:4px}.min-width-x-small{min-width:8px}.min-width-small{min-width:12px}.min-width-medium{min-width:16px}.min-width-large{min-width:24px}.min-width-x-large{min-width:32px}.min-width-xx-large{min-width:40px}.min-width-xxx-large{min-width:48px}.min-width-xxxx-large{min-width:64px}.max-width-none{max-width:0}.max-width-xxx-small{max-width:2px}.max-width-xx-small{max-width:4px}.max-width-x-small{max-width:8px}.max-width-small{max-width:12px}.max-width-medium{max-width:16px}.max-width-large{max-width:24px}.max-width-x-large{max-width:32px}.max-width-xx-large{max-width:40px}.max-width-xxx-large{max-width:48px}.max-width-xxxx-large{max-width:64px}.height-none{height:0}.height-xxx-small{height:2px}.height-xx-small{height:4px}.height-x-small{height:8px}.height-small{height:12px}.height-medium{height:16px}.height-large{height:24px}.height-x-large{height:32px}.height-xx-large{height:40px}.height-xxx-large{height:48px}.height-xxxx-large{height:64px}.min-height-none{min-height:0}.min-height-xxx-small{min-height:2px}.min-height-xx-small{min-height:4px}.min-height-x-small{min-height:8px}.min-height-small{min-height:12px}.min-height-medium{min-height:16px}.min-height-large{min-height:24px}.min-height-x-large{min-height:32px}.min-height-xx-large{min-height:40px}.min-height-xxx-large{min-height:48px}.min-height-xxxx-large{min-height:64px}.max-height-none{max-height:0}.max-height-xxx-small{max-height:2px}.max-height-xx-small{max-height:4px}.max-height-x-small{max-height:8px}.max-height-small{max-height:12px}.max-height-medium{max-height:16px}.max-height-large{max-height:24px}.max-height-x-large{max-height:32px}.max-height-xx-large{max-height:40px}.max-height-xxx-large{max-height:48px}.max-height-xxxx-large{max-height:64px}.debug *{outline:1px solid gold}.flex{display:flex;flex:1}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.display-block{display:block}.display-inline-block{display:inline-block}.display-inline{display:inline}.display-none{display:none}.text-decoration-none{text-decoration:none}.text-right{text-align:right}.text-left{text-align:left}.text-center{text-align:center}.margin-auto{margin-left:auto;margin-right:auto}*{box-sizing:border-box}.table{width:100%;border-collapse:collapse;font-family:Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";background-color:#ffffff;border-style:solid;border-width:1px;border-color:#d1d5db;border-top:none}.table__header-cell{position:relative;text-align:left;-webkit-user-select:none;-moz-user-select:none;user-select:none;min-width:48px;font-weight:500;font-size:1rem;line-height:1.25rem;color:#ffffff;background-color:#374151;padding-top:16px;padding-bottom:16px;padding-left:8px;padding-right:8px}.table__header-cell::before,.table__header-cell::after{content:"";display:block;position:absolute;right:16px;top:50%;border:7px solid transparent}.table__header-cell::before{border-bottom-color:#6b7280;margin-top:-15px}.table__header-cell::after{border-top-color:#6b7280;margin-top:3px}.table__header-cell.desc::after{border-top-color:#f9fafb}.table__header-cell.asc::before{border-bottom-color:#f9fafb}.table__header-cell--no-sort::before,.table__header-cell--no-sort::after{border:none}.table__header-cell:not(.table__header-cell--no-sort){padding-right:46px;cursor:pointer}.table__header-cell--fit-content{white-space:nowrap;width:1px}.table__header-cell--align-left{text-align:left}.table__header-cell--align-center{text-align:center}.table__header-cell--align-right{text-align:right}.table__header-cell--sticky{position:sticky;top:0;z-index:1}.table__row:nth-child(even):hover{background-color:#f3f4f6}.table__row:nth-child(odd){background-color:#f9fafb}.table__row:nth-child(odd):hover{background-color:#f3f4f6}.table__data{font-size:1rem;padding-left:8px;padding-right:8px;height:56px;border-right:1px solid #d1d5db}.table__data:last-child{border-right:none}.table__data--fit-content{white-space:nowrap;width:1px}.table__data--align-left{text-align:left}.table__data--align-center{text-align:center}.table__data--align-right{text-align:right}.table__data--monospace-font{font-family:Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace}.empty-page{display:flex;align-items:center;flex-direction:column;margin-top:72px;height:345px}.empty-page>*{margin:0}.empty-page__header{font-size:2.25rem}.empty-page__subheader{margin-top:32px;font-size:1.5rem}`,KA=class{constructor(t){Pi(this,t),this.selectionChanged=pr(this,"selectionChanged",7),this.columns=[],this.numberOfSelectedRows=void 0,this.rows=[],this.maxRows=void 0,this.page=void 0,this.selectable=!1,this.selected=new Set,this.emptyPageHeader="No results found",this.emptyPageSubheader=void 0,this.isHeaderSticky=!0,this.tableRows=[],this.currentPage=1,this.sortByColumn=null}onSelectionChangedHandler(){this.selectionChanged.emit(this.selected)}onRowsChangedHandler(){this.tableRows=Array.from(this.rows),this.setHeaderCheckboxState()}onPageChangedHandler(){this.currentPage=this.page,this.renderTableContent()}connectedCallback(){const t=this.el.querySelectorAll("mi-column");this.columns=Array.from(t).map(i=>{const o={alignContent:i.alignContent,monospace:i.monospace,label:m1(i.label)?i.binding:i.label,binding:i.binding||null,sortable:i.sortable,fitContent:!!i.fitContent,template:i.innerHTML.replace(/<!--[\s\S]*?-->/g,""),columnElement:i,width:i.width};return i.sort&&!this.sortByColumn&&(this.sortByColumn={column:o,sortOrder:i.sort==="asc"?"asc":"desc"}),o})}columnHeaderClickHandler(t,i){var o,l;if(!m1(i.sortable)){let h="asc";i===((o=this.sortByColumn)===null||o===void 0?void 0:o.column)&&(h=((l=this.sortByColumn)===null||l===void 0?void 0:l.sortOrder)==="asc"?"desc":"asc"),this.sortByColumn={column:i,sortOrder:h}}}sortTableRows(){var t,i,o;if(this.tableRows.length>0&&this.sortByColumn){let l;const h=(t=this.sortByColumn)===null||t===void 0?void 0:t.column,y=(i=this.sortByColumn)===null||i===void 0?void 0:i.sortOrder;if(h&&y)return((o=h.sortable)===null||o===void 0?void 0:o.toLowerCase())==="date"?l=y==="desc"?ZK(h.binding):GK(h.binding):l=y==="desc"?HK(h.binding):QK(h.binding),[...this.tableRows.sort(l)]}return this.tableRows}replaceVars(t,i){return t.replace(/\{(.*?)\}/g,(o,l)=>l.split(".").reduce((y,_)=>y?y[_]:null,i))}removeFalseBooleanAttributes(t,i){return t.replace(/ (checked|disabled|hidden|selected)="\{(.*?)\}"/,(o,l,h)=>i[h]===!1?"":l)}tableRowClicked(t,i){var o;const l=t.target,h=l.closest("td").cellIndex,y=this.selectable?h-1:h;if(l.tagName.toLowerCase()!=="td"&&this.columns[y]){const _={detail:i};(o=this.columns[y])===null||o===void 0||o.columnElement.dispatchEvent(new CustomEvent("cellContentClicked",_))}}async componentWillLoad(){this.rows.length>0&&(this.tableRows=Array.from(this.rows))}render(){return Pe(Jr,null,Pe("table",{class:"table"},Pe("thead",null,Pe("tr",null,this.renderSelectHeader(),this.columns.map(t=>{var i;const o=t.fitContent?"":t.width||"auto",l=((i=this.sortByColumn)===null||i===void 0?void 0:i.column)===t?this.sortByColumn.sortOrder:null;return Pe("th",{"data-binding":t.binding,style:{width:o,"max-width":o,"min-width":o},onClick:h=>this.columnHeaderClickHandler(h,t),class:`table__header-cell ${this.isHeaderSticky?"table__header-cell--sticky":""} ${m1(t.sortable)?"table__header-cell--no-sort":""} ${m1(l)?"":l} ${t.fitContent?"table__header-cell--fit-content":""}`},t.label)}))),Pe("tbody",null,this.renderTableContent())),this.tableRows.length===0?this.renderEmptyPage():null)}renderSelectHeader(){if(this.selectable)return Pe("th",{class:`table__header-cell ${this.isHeaderSticky?"table__header-cell--sticky":""} table__header-cell--fit-content table__header-cell--no-sort table__header-cell--align-center`},Pe("input",{type:"checkbox",class:"mi-input",ref:t=>this.selectAllCheckbox=t,onChange:()=>this.selectHeaderOnChangeHandler()}))}renderSelectRow(t){if(this.selectable)return Pe("td",{class:"table__data table__data--align-center"},Pe("input",{class:"mi-input",type:"checkbox",checked:this.selected.has(t),onChange:i=>this.selectOnChangeHandler(i,t)}))}renderTableContent(){let t=this.sortTableRows();return t=qA(this.maxRows)&&this.maxRows>0?t.slice(this.maxRows*(this.currentPage-1),this.maxRows*this.currentPage):t,t.map(i=>this.renderTableRow(i))}renderTableRow(t){const i=[];for(const o of this.columns){let l=o.template;l>""?(l=this.removeFalseBooleanAttributes(l,t),l=this.replaceVars(l,t),i.push(l)):i.push(t[o.binding])}return Pe("tr",{class:"table__row",onClick:o=>this.tableRowClicked(o,t)},this.renderSelectRow(t),i.map((o,l)=>Pe("td",{class:`table__data ${this.columns[l].fitContent?"table__data--fit-content":""} table__data--align-${this.columns[l].alignContent||"left"} ${this.columns[l].monospace?"table__data--monospace-font":""}`,innerHTML:o})))}renderEmptyPage(){return Pe("div",{class:"empty-page"},Pe("p",{class:"empty-page__header"},this.emptyPageHeader),Pe("p",{class:"empty-page__subheader"},this.emptyPageSubheader))}selectOnChangeHandler(t,i){t.target.checked?this.selected.add(i):this.selected.delete(i),this.setHeaderCheckboxState(),this.numberOfSelectedRows=this.selected.size,t.stopPropagation()}setHeaderCheckboxState(){this.selectAllCheckbox&&this.selectable&&(this.selectAllCheckbox.checked=this.selected.size===this.rows.length,this.selectAllCheckbox.indeterminate=this.selected.size>0&&this.selected.size<this.rows.length)}selectHeaderOnChangeHandler(){this.selected.size>0&&this.selected.size<=this.rows.length?(this.selected.clear(),this.selectAllCheckbox.checked=!1):(this.rows.forEach(t=>this.selected.add(t)),this.selectAllCheckbox.checked=!0),this.numberOfSelectedRows=this.selected.size}get el(){return Ga(this)}static get watchers(){return{numberOfSelectedRows:["onSelectionChangedHandler"],rows:["onRowsChangedHandler"],page:["onPageChangedHandler"]}}},QK=t=>(i,o)=>`${i[t]||""}`.localeCompare(`${o[t]||""}`.trimStart().toLowerCase(),void 0,{numeric:!0}),HK=t=>(i,o)=>`${o[t]||""}`.localeCompare(`${i[t]||""}`.trimStart().toLowerCase(),void 0,{numeric:!0}),GK=t=>(i,o)=>{const l=Date.parse(i[t]),h=Date.parse(o[t]);return l>h?1:l<h?-1:0},ZK=t=>(i,o)=>{const l=Date.parse(o[t]),h=Date.parse(i[t]);return l>h?1:l<h?-1:0};KA.style=YK;const WK=Object.freeze(Object.defineProperty({__proto__:null,mi_data_table:KA},Symbol.toStringTag,{value:"Module"}));var ws;(function(t){t.Imperial="imperial",t.Metric="metric"})(ws||(ws={}));const qK=class{constructor(t){Pi(this,t),this.meters=void 0,this.unit=navigator.language==="en-US"?ws.Imperial:ws.Metric}getMetricDisplayString(t){return Math.abs(t)<1e3?Math.round(t)>0?`${Math.round(t)} m`:"1 m":`${(t/1e3).toFixed(1)} km`}getImperialDisplayString(t){if(Math.abs(t)<1609.344){const l=t*3.28084;return Math.round(l)>0?`${Math.round(l)} ft`:"1 ft"}return`${(t/1609.344).toFixed(1)} mi`}render(){return this.meters>=0?this.renderDistance():null}renderDistance(){return Pe("span",null,this.unit===ws.Metric?this.getMetricDisplayString(this.meters):this.getImperialDisplayString(this.meters))}},KK=`/* Tool for generating the mask css from SVG: https://yoksel.github.io/url-encoder/ */
|
|
2227
2227
|
:host {
|
|
2228
2228
|
display: block;
|
|
2229
2229
|
}
|
|
@@ -2505,7 +2505,7 @@ Minimum version required to store current data is: `+y+`.
|
|
|
2505
2505
|
-webkit-mask-position: center center;
|
|
2506
2506
|
mask-position: center center;
|
|
2507
2507
|
background-color: black;
|
|
2508
|
-
}`,XA=class{constructor(t){Pi(this,t),this.iconName=void 0}render(){return Pe(Jr,{class:`icon-${this.iconName.toLowerCase()}`})}};XA.style=KK;const XK=Object.freeze(Object.defineProperty({__proto__:null,mi_distance:qK,mi_icon:XA},Symbol.toStringTag,{value:"Module"})),JK=Object.freeze(Object.defineProperty({__proto__:null,mi_dropdown_item:class{constructor(t){Pi(this,t),this.selected=!1,this.value=void 0,this.text=void 0}get el(){return Ga(this)}}},Symbol.toStringTag,{value:"Module"})),eX=`.mi-input[type=text],.mi-input[type=search],.mi-input[type=number],.mi-input[type=password],.mi-input[type=tel]{font-size:1rem;padding:8px;border-style:solid;border-width:1px;border-color:#8d98aa;border-radius:4px}.mi-input[type=text],.mi-input[type=search],.mi-input[type=number],.mi-input[type=password],.mi-input[type=range],.mi-input[type=tel]{display:block}.mi-input[type=radio],.mi-input[type=checkbox]{margin:0px;transform:scale(1.2, 1.2)}.mi-input[type=search]{padding-left:32px;background:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.6267 8.43836C14.6267 11.8561 11.8561 14.6267 8.43836 14.6267C5.02062 14.6267 2.25 11.8561 2.25 8.43836C2.25 5.02062 5.02062 2.25 8.43836 2.25C11.8561 2.25 14.6267 5.02062 14.6267 8.43836Z' stroke='%23aeb9cb' stroke-width='2.5'/%3E%3Crect x='15.0979' y='14.1614' width='7.34678' height='1.32449' rx='0.662244' transform='rotate(45 15.0979 14.1614)' fill='%23aeb9cb' stroke='%23aeb9cb'/%3E%3Crect x='13.7847' y='13.2916' width='1.05276' height='0.697347' transform='rotate(45 13.7847 13.2916)' stroke='%23aeb9cb' stroke-width='0.697346'/%3E%3C/svg%3E%0A") no-repeat scroll 8px center, white}.mi-input:disabled{opacity:0.48;cursor:not-allowed}.mi-label{font-style:normal;display:block;font-size:1rem;font-weight:500;color:#1e2025}.mi-label>*{margin-top:4px}.mi-label>input[type=radio],.mi-label>input[type=checkbox],.mi-label>label.mi-toggle-btn{margin-right:8px}mi-dropdown-item{display:none}:host{display:inline-block;position:relative;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-family:Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}:host(.open) .button::after{border-top-color:transparent;border-bottom-color:#1f2937;margin-top:-8px}:host(.open) section{display:flex}:host(.open) svg.arrow{transform:rotate(180deg)}.button{display:flex;justify-content:flex-start;align-items:center;height:100%;width:100%;font-family:inherit;background:linear-gradient(#f9fafb, #f3f4f6);padding:0;padding-left:16px;padding-right:16px;border-radius:4px;border-width:1px;border-style:solid;border-color:#d1d5db;color:#1c1917;font-size:1rem;font-weight:500;line-height:1rem}.button__left-icon{height:20px;width:20px;margin-right:8px}.button svg{margin-left:auto}.button__label{padding-top:12px;padding-bottom:12px;margin-right:8px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.button__label--from-inner-html{display:grid;grid-auto-flow:column;grid-template-columns:24px 1fr;gap:8px;place-items:center}.button:disabled{opacity:0.72;cursor:not-allowed}.content{padding-top:12px;padding-bottom:12px;margin-top:12px;margin-bottom:12px;border-radius:8px;color:#1c1917;font-size:1rem;font-weight:500;background-color:#fcfcfc;box-shadow:0px 2px 2px rgba(0, 0, 0, 0.2), 0px 4px 4px rgba(0, 0, 0, 0.18), 0px 8px 8px rgba(0, 0, 0, 0.16);min-width:320px;max-width:480px;max-height:580px;display:none;flex-direction:column;position:fixed;z-index:10000}.content .filter{margin-bottom:16px;padding-left:8px;padding-right:8px;display:flex;position:relative}.content .filter__input{width:100%}.content .filter__clear{width:20px;height:20px;padding:0;border-width:0;display:flex;align-items:center;justify-content:center;position:absolute;right:14px;top:50%;transform:translateY(-50%);background-color:#1f2937;border-radius:50%}.content .filter__clear:focus{outline:0}.content .filter__clear--hidden{opacity:0;pointer-events:none}.content .filter__clear svg{fill:#fcfcfc;width:10px;height:10px}.content .options{margin-bottom:16px;padding-left:16px;padding-right:16px}.content .options__item{padding:0;color:#3b82f6;font-size:0.75rem;font-weight:500;font-family:inherit;background-color:transparent;border:transparent}.content .options__item:hover{text-decoration:underline}.content .options__item:first-child{margin-right:16px}.content .options__item:disabled{color:rgba(48, 113, 217, 0.72);cursor:not-allowed;text-decoration:none}.content .list{padding:0;margin:0;list-style:none;overflow-y:auto}.content .list__item{cursor:pointer}.content .list__item--highlighted{background-color:#f3f4f6}.empty-page{display:flex;align-items:left;flex-direction:column;margin-left:16px;margin-bottom:12px}.empty-page>*{margin:0}.empty-page__header{font-size:1rem;font-weight:400;color:#374151}.label{display:flex;flex-direction:row;align-items:center;padding-left:16px;padding-right:16px;padding-top:8px;padding-bottom:8px}.label__item{display:inline-block;margin-top:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label__item--from-inner-html{display:grid;grid-auto-flow:column;grid-template-columns:24px 1fr;gap:8px;place-items:center}.label__checkbox{margin-right:12px}.label__checkbox--hidden{display:none}`;var Ka;(function(t){t.ArrowDown="ArrowDown",t.ArrowUp="ArrowUp",t.Enter="Enter",t.Esc="Escape"})(Ka||(Ka={}));const JA=class{constructor(t){Pi(this,t),this.change=pr(this,"change",3),this.isFilterSelectionDisabled=!1,this.isClearButtonVisible=!1,this.isMouseOverEventDisabled=!1,this.currentItemIndex=0,this.selectedItemIndex=0,this.highlightedItemClassName="list__item--highlighted",this.open=!1,this.items=[],this.itemsOrder=void 0,this.label=void 0,this.filterable=!1,this.multiple=!1,this.selected=[],this.noResultsMessage="No results found",this.iconSrc=void 0,this.iconAlt=void 0,this.currentItems=[],this.disabled=!1}onItemsChanged(t){if(t.some(i=>i.tagName.toLowerCase()!=="mi-dropdown-item"))throw new Error("Items contains unknown element(s).");if(Object.values(Uh).includes(this.itemsOrder)&&(t=this.getSortedItems(t)),this.currentItems=[...t],this.filter(),!this.multiple){const i=this.currentItems.findIndex(o=>o.selected);this.currentItemIndex=i>-1?i:0,this.selectedItemIndex=this.currentItemIndex}this.items.forEach((i,o)=>{i.dataset.index=o.toString()}),this.selectFirstMiDropdownItem()}onCurrentItemsChange(){this.isFilterSelectionDisabled=this.currentItems.length===0}focusOutEventHandler(t){const i=t.relatedTarget;(!i||!this.hostElement.contains(i))&&(this.open=!1)}checkForClickOutside(t){this.hostElement.contains(t.target)||(this.open=!1)}mouseMoveEventHandler(){this.isMouseOverEventDisabled=!1}scrollEventHandler(t){const i=t.target;(!i||!this.hostElement.contains(i))&&(this.open=!1)}resizeEventHandler(){this.calculateDropDownPosition()}componentDidLoad(){this.createMiDropdownItemsFromDocument(),this.selectFirstMiDropdownItem(),this.enableKeyboardNavigationEvents();const t=new IntersectionObserver((i,o)=>{i.forEach(l=>{l.isIntersecting===!0&&this.filterElement.focus()})});this.filterElement!==void 0&&(t.observe(this.filterElement),this.filterElement.addEventListener("keydown",i=>{(i.key===Ka.ArrowDown||i.key===Ka.ArrowUp)&&i.preventDefault()}))}componentDidRender(){this.calculateDropDownPosition(),this.multiple||this.highlightItem(this.currentItemIndex,!0)}createMiDropdownItemsFromDocument(){const t=this.items&&this.items.length>0?this.items:this.hostElement.querySelectorAll("mi-dropdown-item");t.length>0&&(this.items=Array.from(t))}selectFirstMiDropdownItem(){var t;if(!this.multiple){const i=(t=this.items)===null||t===void 0?void 0:t.findIndex(o=>o.selected);this.selected=[this.items[i>-1?i:0]]}}enableKeyboardNavigationEvents(){this.hostElement.addEventListener("keydown",t=>{if(this.open===!1&&t.key===Ka.ArrowDown){this.isMouseOverEventDisabled=!0,this.toggleContentWindow(),t.preventDefault();return}if(this.open===!0&&!this.multiple)switch(t.key){case Ka.ArrowDown:this.isMouseOverEventDisabled=!0,this.currentItemIndex=(this.currentItemIndex+1)%this.currentItems.length,this.highlightItem(this.currentItemIndex,!0),t.preventDefault();break;case Ka.ArrowUp:this.isMouseOverEventDisabled=!0,this.currentItemIndex=(this.currentItemIndex+this.currentItems.length-1)%this.currentItems.length,this.highlightItem(this.currentItemIndex,!0),t.preventDefault();break;case Ka.Enter:if(this.hostElement.shadowRoot.activeElement===this.clearButtonElement)return;this.currentItems[this.currentItemIndex]!==void 0&&this.onSelect(this.currentItems[this.currentItemIndex]),t.preventDefault();break}t.key===Ka.Esc&&(this.multiple||(this.currentItemIndex=this.selectedItemIndex,this.highlightItem(this.currentItemIndex)),this.toggleContentWindow(),this.clearFilter())})}highlightItem(t,i=!1){var o,l;const h=this.hostElement.shadowRoot.querySelectorAll(".list__item");h.forEach(y=>{y.classList.remove(this.highlightedItemClassName)}),(o=h[t])===null||o===void 0||o.classList.add(this.highlightedItemClassName),i&&((l=h[t])===null||l===void 0||l.scrollIntoView({block:"nearest",inline:"nearest"}))}getSortedItems(t){return this.itemsOrder===Uh.Asc?t.sort((i,o)=>(i.text||i.innerText).trimStart().toLowerCase().localeCompare((o.text||o.innerText).trimStart().toLowerCase(),void 0,{numeric:!0})):t.sort((i,o)=>(o.text||o.innerText).trimStart().toLowerCase().localeCompare((i.text||i.innerText).trimStart().toLowerCase(),void 0,{numeric:!0})),t}onChangedHandler(){this.selected=[...this.items.filter(t=>t.selected)],this.change.emit(this.selected)}toggleContentWindow(){this.open=!this.open}selectAll(){const t=Array.from(this.currentItems);for(const i of t)i.selected=!0;this.onChangedHandler()}selectNone(){const t=Array.from(this.currentItems);for(const i of t)i.selected=!1;this.onChangedHandler()}onSelect(t){this.multiple||(this.open=!1,Array.from(this.items).forEach(o=>{o.selected=!1}),this.clearFilter()),t.selected=!t.selected,this.currentItemIndex=Number(t.dataset.index),this.selectedItemIndex=this.currentItemIndex,this.onChangedHandler()}onMouseOver(t){!this.isMouseOverEventDisabled&&!this.multiple&&(this.highlightItem(t),this.currentItemIndex=t)}filter(){if(this.filterElement){const t=this.filterElement.value,i=this.items.map(_=>_.text||_.innerText),o=this.currentItems.length;if(t==="")return this.currentItemIndex=this.selectedItemIndex,this.isClearButtonVisible=!1,this.currentItems=[...this.items];this.isClearButtonVisible=!0;const l={limit:50,allowTypo:!1,threshold:-1e4},y=ZA.go(t,i,l).map(_=>this.items.find(a=>(a.text||a.innerText)===_.target));this.currentItems=y,o!==this.currentItems.length&&(this.currentItemIndex=0)}}clearFilter(){this.filterElement&&(this.filterElement.value="",this.filterElement.focus(),this.currentItems=this.items),this.isClearButtonVisible=!1}render(){const t=this.filterable?this.renderFiltering():null,i=this.multiple?this.renderMultipleOptions():null,o=this.iconSrc?this.renderLeftSideIcon():null,l=Pe("ul",{class:"list"},this.currentItems.map((h,y)=>this.renderListItem(h,y,!!i)));return Pe(Jr,{class:{open:this.open}},Pe("button",{part:"button",class:"button",disabled:this.disabled||this.items.length===0,onClick:()=>this.toggleContentWindow()},o,this.renderButtonLabel(),Pe("svg",{class:"arrow",part:"icon-down-arrow",width:"12",height:"6",viewBox:"0 0 18 10",xmlns:"http://www.w3.org/2000/svg"},Pe("path",{d:"M9.37165 9.58706C9.17303 9.80775 8.82697 9.80775 8.62835 9.58706L0.751035 0.834484C0.46145 0.512722 0.689796 7.73699e-08 1.12268 1.25924e-07L16.8773 1.89302e-06C17.3102 1.94157e-06 17.5386 0.512723 17.249 0.834484L9.37165 9.58706Z"}))),Pe("section",{ref:h=>this.listElement=h,part:"dropdown-container",class:"content"},t,i,this.currentItems.length===0?this.renderNoResultsTemplate():l))}renderNoResultsTemplate(){return Pe("div",{class:"empty-page"},Pe("p",{class:"empty-page__header"},this.noResultsMessage))}renderButtonLabel(){var t,i,o,l;return this.multiple?Pe("div",{part:"button-label",class:"button__label"},this.label):!((i=(t=this.selected)===null||t===void 0?void 0:t[0])===null||i===void 0)&&i.text?Pe("div",{part:"button-label",class:"button__label"},this.selected[0].text):!((l=(o=this.selected)===null||o===void 0?void 0:o[0])===null||l===void 0)&&l.innerHTML?Pe("div",{part:"button-label",class:"button__label button__label--from-inner-html",innerHTML:this.selected[0].innerHTML}):Pe("div",{part:"button-label",class:"button__label"})}renderLeftSideIcon(){return Pe("img",{part:"button-icon",class:"button__left-icon",src:this.iconSrc,alt:this.iconAlt?this.iconAlt:""})}renderFiltering(){return Pe("div",{class:"filter"},Pe("input",{type:"text",class:"mi-input filter__input",placeholder:"Type to filter",ref:t=>this.filterElement=t,onInput:()=>{this.filter()},tabIndex:this.open?0:-1}),Pe("button",{ref:t=>this.clearButtonElement=t,tabindex:this.isClearButtonVisible?0:-1,type:"button",onClick:()=>this.clearFilter(),class:`filter__clear ${this.isClearButtonVisible===!1?"filter__clear--hidden":""}`,"aria-label":"Clear"},Pe("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Pe("path",{d:"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z"}))))}renderMultipleOptions(){return Pe("div",{class:"options"},Pe("button",{class:"options__item",disabled:this.isFilterSelectionDisabled,onClick:()=>this.selectAll()},"Select all"),Pe("button",{class:"options__item",disabled:this.isFilterSelectionDisabled,onClick:()=>this.selectNone()},"Select none"))}renderListItem(t,i,o){let l;const h=t.getAttribute("title")||t.text||t.innerText;return t.innerText.length>0?l=Pe("div",{class:"label__item label__item--from-inner-html",innerHTML:t.innerHTML}):l=Pe("div",{class:"label__item",innerHTML:t.text}),Pe("li",{class:"list__item",title:h,onMouseOver:()=>{this.onMouseOver(i)}},Pe("label",{class:"mi-label label",tabindex:"-1"},Pe("input",{class:{label__checkbox:!0,"label__checkbox--hidden":!o,"mi-input":!0},type:"checkbox",value:i,checked:t.selected,onChange:()=>this.onSelect(t)}),l))}calculateDropDownPosition(){this.listElement.style.bottom=null,this.listElement.style.left=null,this.listElement.style.right=null,this.listElement.style.top=null,this.listElement.style.maxHeight=null,this.listElement.style.minWidth=null;const{clientWidth:t,clientHeight:i}=document.documentElement,o=this.hostElement.getBoundingClientRect(),l=this.listElement.getBoundingClientRect(),h=i-o.bottom,y=o.top,_=580,a=12;t<=l.width||o.right-l.width<0&&l.right>t?(this.listElement.style.right=`${a}px`,this.listElement.style.left=`${a}px`,this.listElement.style.minWidth="unset"):l.right>t?(this.listElement.style.left="unset",this.listElement.style.right=`${t-o.right}px`):(this.listElement.style.left=`${o.left}px`,this.listElement.style.right="unset"),y>h?(this.listElement.style.maxHeight=`${Math.min(y,_)}px`,this.listElement.style.top="unset",this.listElement.style.bottom=`${i-o.top}px`):(this.listElement.style.top=`${o.bottom}px`,this.listElement.style.bottom="unset",this.listElement.style.maxHeight=`${Math.min(h-a*2,_)}px`)}get hostElement(){return Ga(this)}static get watchers(){return{items:["onItemsChanged"],currentItems:["onCurrentItemsChange"]}}};JA.style=eX;const tX=Object.freeze(Object.defineProperty({__proto__:null,mi_dropdown:JA},Symbol.toStringTag,{value:"Module"})),nX='.mi-floor-selector{width:-moz-min-content;width:min-content;display:flex;align-items:flex-start;position:relative;margin:10px;overflow:hidden;animation-duration:0.15s;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:auto;border-radius:56px;border-width:1px;font-family:Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;border-color:#e5e7eb;border-style:solid;background-color:#fcfcfc}.mi-floor-selector--hidden{display:none}.mi-floor-selector__button{position:absolute;z-index:4;top:4px;right:4px;left:4px;background-position:center;background-repeat:no-repeat;border-width:1px;background-color:#f9fafb;border-color:#e5e7eb;border-style:solid;border-radius:50%;width:40px;height:40px}.mi-floor-selector__button:hover{background-color:#f3f4f6}.mi-floor-selector__button--open{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcuMTUwNDUgNi4wODk5OEM3LjEzODUgNi4wNzg3NiA3LjEyODk3IDYuMDY1MjEgNy4xMjI0NSA2LjA1MDE2QzcuMTE1OTQgNi4wMzUxMSA3LjExMjU3IDYuMDE4ODggNy4xMTI1NyA2LjAwMjQ4QzcuMTEyNTcgNS45ODYwOCA3LjExNTk0IDUuOTY5ODYgNy4xMjI0NSA1Ljk1NDgxQzcuMTI4OTcgNS45Mzk3NiA3LjEzODUgNS45MjYyIDcuMTUwNDUgNS45MTQ5OEwxMS43ODA1IDEuMjc5OThDMTEuODUwNiAxLjIxMDY5IDExLjkwNjMgMS4xMjgxNiAxMS45NDQzIDEuMDM3MThDMTEuOTgyMyAwLjk0NjIwMSAxMi4wMDE5IDAuODQ4NTgyIDEyLjAwMTkgMC43NDk5ODJDMTIuMDAxOSAwLjY1MTM4MiAxMS45ODIzIDAuNTUzNzYzIDExLjk0NDMgMC40NjI3ODRDMTEuOTA2MyAwLjM3MTgwNSAxMS44NTA2IDAuMjg5Mjc2IDExLjc4MDUgMC4yMTk5ODJDMTEuNjM5MiAwLjA4MDc0MTkgMTEuNDQ4OCAwLjAwMjY4NTU1IDExLjI1MDUgMC4wMDI2ODU1NUMxMS4wNTIxIDAuMDAyNjg1NTUgMTAuODYxNyAwLjA4MDc0MTkgMTAuNzIwNSAwLjIxOTk4Mkw2LjA5MDQ1IDQuODQ5OThDNi4wNzg3OSA0Ljg2MjA4IDYuMDY0ODEgNC44NzE3IDYuMDQ5MzUgNC44NzgyN0M2LjAzMzg5IDQuODg0ODUgNi4wMTcyNiA0Ljg4ODI0IDYuMDAwNDUgNC44ODgyNEM1Ljk4MzY1IDQuODg4MjQgNS45NjcwMiA0Ljg4NDg1IDUuOTUxNTYgNC44NzgyN0M1LjkzNjA5IDQuODcxNyA1LjkyMjExIDQuODYyMDggNS45MTA0NSA0Ljg0OTk4TDEuMjgwNDUgMC4yMTk5ODJDMS4xMzkxOSAwLjA4MDc0MTkgMC45NDg4MDUgMC4wMDI2ODU1NSAwLjc1MDQ1NCAwLjAwMjY4NTU1QzAuNTUyMTAyIDAuMDAyNjg1NTUgMC4zNjE3MTggMC4wODA3NDE5IDAuMjIwNDU0IDAuMjE5OTgyQzAuMTUwMzA5IDAuMjg5Mjc2IDAuMDk0NjE2OSAwLjM3MTgwNSAwLjA1NjYwNjQgMC40NjI3ODRDMC4wMTg1OTYgMC41NTM3NjMgLTAuMDAwOTc2NTYyIDAuNjUxMzgyIC0wLjAwMDk3NjU2MiAwLjc0OTk4MkMtMC4wMDA5NzY1NjIgMC44NDg1ODIgMC4wMTg1OTYgMC45NDYyMDEgMC4wNTY2MDY0IDEuMDM3MThDMC4wOTQ2MTY5IDEuMTI4MTYgMC4xNTAzMDkgMS4yMTA2OSAwLjIyMDQ1NCAxLjI3OTk4TDQuODUwNDUgNS45MTQ5OEM0Ljg2MjQxIDUuOTI2MiA0Ljg3MTk0IDUuOTM5NzYgNC44Nzg0NiA1Ljk1NDgxQzQuODg0OTcgNS45Njk4NiA0Ljg4ODMzIDUuOTg2MDggNC44ODgzMyA2LjAwMjQ4QzQuODg4MzMgNi4wMTg4OCA0Ljg4NDk3IDYuMDM1MTEgNC44Nzg0NiA2LjA1MDE2QzQuODcxOTQgNi4wNjUyMSA0Ljg2MjQxIDYuMDc4NzYgNC44NTA0NSA2LjA4OTk4TDAuMjIwNDU0IDEwLjcyQzAuMTUwMzA5IDEwLjc4OTMgMC4wOTQ2MTY5IDEwLjg3MTggMC4wNTY2MDY0IDEwLjk2MjhDMC4wMTg1OTYgMTEuMDUzOCAtMC4wMDA5NzY1NjIgMTEuMTUxNCAtMC4wMDA5NzY1NjIgMTEuMjVDLTAuMDAwOTc2NTYyIDExLjM0ODYgMC4wMTg1OTYgMTEuNDQ2MiAwLjA1NjYwNjQgMTEuNTM3MkMwLjA5NDYxNjkgMTEuNjI4MiAwLjE1MDMwOSAxMS43MTA3IDAuMjIwNDU0IDExLjc4QzAuMzYxNzE4IDExLjkxOTIgMC41NTIxMDIgMTEuOTk3MyAwLjc1MDQ1NCAxMS45OTczQzAuOTQ4ODA1IDExLjk5NzMgMS4xMzkxOSAxMS45MTkyIDEuMjgwNDUgMTEuNzhMNS45MTA0NSA3LjE0OTk4QzUuOTIyMTEgNy4xMzc4OCA1LjkzNjA5IDcuMTI4MjYgNS45NTE1NiA3LjEyMTY5QzUuOTY3MDIgNy4xMTUxMiA1Ljk4MzY1IDcuMTExNzMgNi4wMDA0NSA3LjExMTczQzYuMDE3MjYgNy4xMTE3MyA2LjAzMzg5IDcuMTE1MTIgNi4wNDkzNSA3LjEyMTY5QzYuMDY0ODEgNy4xMjgyNiA2LjA3ODc5IDcuMTM3ODggNi4wOTA0NSA3LjE0OTk4TDEwLjcyMDUgMTEuNzhDMTAuODYxNyAxMS45MTkyIDExLjA1MjEgMTEuOTk3MyAxMS4yNTA1IDExLjk5NzNDMTEuNDQ4OCAxMS45OTczIDExLjYzOTIgMTEuOTE5MiAxMS43ODA1IDExLjc4QzExLjg1MDYgMTEuNzEwNyAxMS45MDYzIDExLjYyODIgMTEuOTQ0MyAxMS41MzcyQzExLjk4MjMgMTEuNDQ2MiAxMi4wMDE5IDExLjM0ODYgMTIuMDAxOSAxMS4yNUMxMi4wMDE5IDExLjE1MTQgMTEuOTgyMyAxMS4wNTM4IDExLjk0NDMgMTAuOTYyOEMxMS45MDYzIDEwLjg3MTggMTEuODUwNiAxMC43ODkzIDExLjc4MDUgMTAuNzJMNy4xNTA0NSA2LjA4OTk4WiIgZmlsbD0iIzcwNzA3MCIvPgo8L3N2Zz4K)}.mi-floor-selector__button--open+.mi-floor-selector__list{max-height:300px;overflow:auto;flex-wrap:unset}.mi-floor-selector__button--closed{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTAuOTY3Mzc0IDYuMTY2NjRMOS4wMDA3MSA5LjY1ODMxQzkuMzE2MTIgOS43OTU5NiA5LjY1NjU2IDkuODY3MDIgMTAuMDAwNyA5Ljg2NzAyQzEwLjM0NDkgOS44NjcwMiAxMC42ODUzIDkuNzk1OTYgMTEuMDAwNyA5LjY1ODMxTDE5LjA0MjQgNi4xNjY2NEMxOS4yNjczIDYuMDY2MTcgMTkuNDU4IDUuOTAyMjkgMTkuNTkxMiA1LjY5NTA4QzE5LjcyNDUgNS40ODc4NiAxOS43OTQzIDUuMjQ2MyAxOS43OTI0IDQuOTk5OTdDMTkuNzkzMSA0Ljc1NjAxIDE5LjcyMTQgNC41MTczMiAxOS41ODY0IDQuMzE0MUMxOS40NTE0IDQuMTEwODggMTkuMjU5MiAzLjk1MjI2IDE5LjAzNCAzLjg1ODMxTDExLjAwMDcgMC4zNzQ5NzJDMTAuNjg1MyAwLjIzNzMxNCAxMC4zNDQ5IDAuMTY2MjYgMTAuMDAwNyAwLjE2NjI2QzkuNjU2NTYgMC4xNjYyNiA5LjMxNjEyIDAuMjM3MzE0IDkuMDAwNzEgMC4zNzQ5NzJMMC45NjczNzQgMy44NzQ5N0MwLjc0NDgzNiAzLjk2NzgzIDAuNTU0Mzk4IDQuMTIzODggMC40MTk2MTggNC4zMjM4M0MwLjI4NDgzNyA0LjUyMzc4IDAuMjExNjI2IDQuNzU4ODUgMC4yMDkwNDEgNC45OTk5N0MwLjIwNjY5OCA1LjI0NzQ2IDAuMjc3MzkxIDUuNDkwMTUgMC40MTIyNzYgNS42OTc2NkMwLjU0NzE2MSA1LjkwNTE4IDAuNzQwMjQ3IDYuMDY4MzEgMC45NjczNzQgNi4xNjY2NFoiIGZpbGw9IiM3MDcwNzAiLz4KPHBhdGggZD0iTTE5LjAzMzYgOC44NzQ5MUwxOC4wMDAzIDguNDI0OTFDMTcuODk5MiA4LjM3NDE5IDE3Ljc4ODggOC4zNDQ2IDE3LjY3NTkgOC4zMzc5NEMxNy41NjI5IDguMzMxMjcgMTcuNDQ5OCA4LjM0NzY3IDE3LjM0MzQgOC4zODYxNEMxNy4yMzcgOC40MjQ2IDE3LjEzOTYgOC40ODQzMyAxNy4wNTcgOC41NjE2N0MxNi45NzQ1IDguNjM5MDIgMTYuOTA4NSA4LjczMjM3IDE2Ljg2MzIgOC44MzYwM0MxNi44MTc5IDguOTM5NjkgMTYuNzk0MSA5LjA1MTQ5IDE2Ljc5MzQgOS4xNjQ2MkMxNi43OTI3IDkuMjc3NzUgMTYuODE1MSA5LjM4OTgzIDE2Ljg1OTEgOS40OTQwNUMxNi45MDMxIDkuNTk4MjcgMTYuOTY3OSA5LjY5MjQzIDE3LjA0OTUgOS43NzA4MUMxNy4xMzExIDkuODQ5MTggMTcuMjI3NyA5LjkxMDEyIDE3LjMzMzYgOS45NDk5MUwxNy41MDAzIDkuOTk5OTFMMTAuMzMzNiAxMy4xMzMyQzEwLjIyODUgMTMuMTc5MSAxMC4xMTUgMTMuMjAyOCAxMC4wMDAzIDEzLjIwMjhDOS44ODU2IDEzLjIwMjggOS43NzIxMiAxMy4xNzkxIDkuNjY2OTggMTMuMTMzMkwyLjUwMDMxIDkuOTk5OTFMMi42NTg2NSA5LjkzMzI0QzIuNzY0NTUgOS44OTM0NSAyLjg2MTI0IDkuODMyNTEgMi45NDI4MyA5Ljc1NDE0QzMuMDI0NDIgOS42NzU3NyAzLjA4OTE5IDkuNTgxNiAzLjEzMzIxIDkuNDc3MzlDMy4xNzcyMiA5LjM3MzE3IDMuMTk5NTYgOS4yNjEwOCAzLjE5ODg1IDkuMTQ3OTVDMy4xOTgxNSA5LjAzNDgyIDMuMTc0NDEgOC45MjMwMiAzLjEyOTEgOC44MTkzNkMzLjA4Mzc4IDguNzE1NyAzLjAxNzgzIDguNjIyMzUgMi45MzUyNyA4LjU0NTAxQzIuODUyNzEgOC40Njc2NiAyLjc1NTI3IDguNDA3OTQgMi42NDg4NyA4LjM2OTQ3QzIuNTQyNDggOC4zMzEwMSAyLjQyOTM3IDguMzE0NjEgMi4zMTY0NCA4LjMyMTI3QzIuMjAzNSA4LjMyNzk0IDIuMDkzMTEgOC4zNTc1MyAxLjk5MTk4IDguNDA4MjRMMC45NTg2NDcgOC44NTgyNEMwLjczMjU2MSA4Ljk1MjYyIDAuNTM5NDQ5IDkuMTExNzggMC40MDM2MTkgOS4zMTU2N0MwLjI2Nzc4OSA5LjUxOTU2IDAuMTk1MzEzIDkuNzU5MDggMC4xOTUzMTIgMTAuMDA0MUMwLjE5NTMxMyAxMC4yNDkxIDAuMjY3Nzg5IDEwLjQ4ODYgMC40MDM2MTkgMTAuNjkyNUMwLjUzOTQ0OSAxMC44OTY0IDAuNzMyNTYxIDExLjA1NTUgMC45NTg2NDcgMTEuMTQ5OUw4Ljk5MTk4IDE0LjY0MTZDOS4zMDczOSAxNC43NzkyIDkuNjQ3ODMgMTQuODUwMyA5Ljk5MTk4IDE0Ljg1MDNDMTAuMzM2MSAxNC44NTAzIDEwLjY3NjYgMTQuNzc5MiAxMC45OTIgMTQuNjQxNkwxOS4wMjUzIDExLjE0OTlDMTkuMjUxNCAxMS4wNTQgMTkuNDQ0NCAxMC44OTM5IDE5LjU4MDcgMTAuNjg5NkMxOS43MTY5IDEwLjQ4NTIgMTkuNzkwNCAxMC4yNDU1IDE5Ljc5MiA5Ljk5OTkxQzE5Ljc4OTQgOS43NTg3OSAxOS43MTYyIDkuNTIzNzEgMTkuNTgxNCA5LjMyMzc3QzE5LjQ0NjYgOS4xMjM4MiAxOS4yNTYyIDguOTY3NzYgMTkuMDMzNiA4Ljg3NDkxWiIgZmlsbD0iIzcwNzA3MCIvPgo8cGF0aCBkPSJNMTkuMDM0IDEzLjgzMzRMMTguMDAwNyAxMy4zODM0QzE3LjkgMTMuMzM5MyAxNy43OTE3IDEzLjMxNTUgMTcuNjgxOCAxMy4zMTM0QzE3LjU3MTkgMTMuMzExMyAxNy40NjI3IDEzLjMzMSAxNy4zNjA1IDEzLjM3MTJDMTcuMjU4MyAxMy40MTE1IDE3LjE2NSAxMy40NzE2IDE3LjA4NjEgMTMuNTQ4MUMxNy4wMDcyIDEzLjYyNDUgMTYuOTQ0MSAxMy43MTU4IDE2LjkwMDcgMTMuODE2N0MxNi44MTQxIDE0LjAxOTEgMTYuODExMSAxNC4yNDc0IDE2Ljg5MjMgMTQuNDUxOUMxNi45NzM1IDE0LjY1NjQgMTcuMTMyMyAxNC44MjA1IDE3LjMzNCAxNC45MDg0TDE3LjUwMDcgMTUuMDAwMUwxMC4zMzQgMTguMDkxN0MxMC4yMjg5IDE4LjEzNzYgMTAuMTE1NCAxOC4xNjEzIDEwLjAwMDcgMTguMTYxM0M5Ljg4NTk0IDE4LjE2MTMgOS43NzI0NiAxOC4xMzc2IDkuNjY3MzIgMTguMDkxN0wyLjUwMDY2IDE1LjAwMDFMMi42NTg5OSAxNC45MjUxQzIuODYwNzEgMTQuODM3MiAzLjAxOTQ5IDE0LjY3MzEgMy4xMDA2NyAxNC40Njg2QzMuMTgxODUgMTQuMjY0IDMuMTc4ODUgMTQuMDM1NyAzLjA5MjMyIDEzLjgzMzRDMy4wNDg4MyAxMy43MzI1IDIuOTg1ODEgMTMuNjQxMiAyLjkwNjg5IDEzLjU2NDdDMi44Mjc5NyAxMy40ODgzIDIuNzM0NzEgMTMuNDI4MiAyLjYzMjQ4IDEzLjM4NzlDMi41MzAyNCAxMy4zNDc2IDIuNDIxMDUgMTMuMzI4IDIuMzExMTggMTMuMzMwMUMyLjIwMTMyIDEzLjMzMjEgMi4wOTI5NSAxMy4zNTU5IDEuOTkyMzIgMTMuNDAwMUwwLjk1ODk4OSAxMy44NTAxQzAuNzM2MDMzIDEzLjk0ODUgMC41NDY0NyAxNC4xMDk2IDAuNDEzMzI5IDE0LjMxMzhDMC4yODAxODggMTQuNTE3OSAwLjIwOTIgMTQuNzU2MyAwLjIwODk4OSAxNS4wMDAxQzAuMjA4MzAzIDE1LjI0NCAwLjI3OTk4NSAxNS40ODI3IDAuNDE0OTcgMTUuNjg1OUMwLjU0OTk1NSAxNS44ODkyIDAuNzQyMTc3IDE2LjA0NzggMC45NjczMjMgMTYuMTQxN0w5LjAwMDY2IDE5LjY0MTdDOS4zMTYwNyAxOS43Nzk0IDkuNjU2NTEgMTkuODUwNSAxMC4wMDA3IDE5Ljg1MDVDMTAuMzQ0OCAxOS44NTA1IDEwLjY4NTIgMTkuNzc5NCAxMS4wMDA3IDE5LjY0MTdMMTkuMDM0IDE2LjE0MTdDMTkuMjU5MSAxNi4wNDc4IDE5LjQ1MTQgMTUuODg5MiAxOS41ODYzIDE1LjY4NTlDMTkuNzIxMyAxNS40ODI3IDE5Ljc5MyAxNS4yNDQgMTkuNzkyMyAxNS4wMDAxQzE5Ljc5NDcgMTQuNzUyNiAxOS43MjQgMTQuNTA5OSAxOS41ODkxIDE0LjMwMjRDMTkuNDU0MiAxNC4wOTQ5IDE5LjI2MTEgMTMuOTMxNyAxOS4wMzQgMTMuODMzNFoiIGZpbGw9IiM3MDcwNzAiLz4KPC9zdmc+Cg==)}.mi-floor-selector__button span{position:none}.mi-floor-selector__list{box-sizing:unset;display:flex;flex-direction:column;gap:4px;overflow-y:hidden;transition:max-height 0.25s;scroll-behavior:smooth;z-index:0;border-radius:9999px;padding:4px;padding-top:48px;max-height:40px}.mi-floor-selector__list::before,.mi-floor-selector__list::after{content:"";height:100%;position:absolute;pointer-events:none;z-index:3;left:-1px;right:-1px;transition:opacity 0.1s;opacity:0}.mi-floor-selector__list--fade-top::before{opacity:1;top:-1px;background:linear-gradient(180deg, white 39px, rgba(255, 255, 255, 0) 86px)}.mi-floor-selector__list--fade-bottom::after{opacity:1;bottom:-1px;background:linear-gradient(0deg, white 4px, rgba(255, 255, 255, 0) 40px)}.mi-floor-selector__list::-webkit-scrollbar{width:4px}.mi-floor-selector__list::-webkit-scrollbar-track{background:none}.mi-floor-selector__list::-webkit-scrollbar-thumb{background:#8D98AA;border-radius:5px}.mi-floor-selector__floor{position:relative;order:1;flex-shrink:0;margin-top:-1px;z-index:0;float:none;text-align:center;background:none;transition:translateY 0.25s;transform:translateY(0px);color:#666666;border-radius:50%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;border-style:none;width:40px;height:40px}.mi-floor-selector__floor:hover{z-index:2;background-color:#d1d5db}.mi-floor-selector__floor--active{z-index:2;transform:translateY(0px);color:#fcfcfc}.mi-floor-selector__floor-text{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-left:4px;padding-right:4px}',e6=class{constructor(t){Pi(this,t),this.maxListHeight=300,this.mapsindoors=void 0,this.primaryColor="#005655",this.floors=new Array,this.currentFloor=void 0,this.floorSelectorClosed=!0,this.fadeFloorSelectorOnTop=!1,this.fadeFloorSelectorOnBottom=!1}scrollToSelectedFloor(){const t=this.floorSelectorElement.clientHeight,i=this.floorListElement.scrollHeight,o=this.currentFloorElement.offsetTop,l=this.currentFloorElement.offsetHeight;let h;i>t?(h=o-t/2+l/2,h=Math.max(0,h),h=Math.min(h,i-t)):h=0,this.floorListElement.scrollTop=h}animateTranslateY(t,i,o){const l=[{transform:`translateY(${i}px)`}];t.animate(l,{duration:o,fill:"forwards"})}animateFloorSelector(){const t=this.el.querySelectorAll(".mi-floor-selector__floor"),i=[];for(let o=0;o<t.length&&t[o].getAttribute("data-floor")!==this.currentFloor;o++)i.push(t[o]);if(this.floorSelectorClosed){const o=this.floorListElement.scrollTop,l=parseInt(window.getComputedStyle(this.floorListElement).getPropertyValue("padding-top")),y=-(this.currentFloorElement.offsetTop-this.floorListElement.offsetTop-o-l);this.animateTranslateY(this.currentFloorElement,y,250),this.floorListElement.scrollTop>0?t.forEach(_=>{_.getAttribute("data-floor")!==this.currentFloor&&(i.indexOf(_)>-1?this.animateTranslateY(_,_.offsetTop+this.floorListElement.scrollTop,250):this.animateTranslateY(_,this.floorListElement.scrollTop,250))}):i.forEach(_=>{this.animateTranslateY(_,_.offsetTop,250)})}else this.animateTranslateY(this.currentFloorElement,0,250),t.forEach(o=>{o.getAttribute("data-floor")!==this.currentFloor&&this.animateTranslateY(o,0,250)})}onToggleFloorSelector(){this.floorSelectorClosed=!this.floorSelectorClosed,this.animateFloorSelector(),this.floorListElement.addEventListener("transitionend",()=>{this.floorSelectorClosed||this.scrollToSelectedFloor(),this.onScrollStyle()},{once:!0})}onScrollStyle(){const t=this.floorListElement.scrollHeight-this.floorListElement.clientHeight;if(this.floorSelectorClosed){this.fadeFloorSelectorOnTop=!1,this.fadeFloorSelectorOnBottom=!1;return}this.maxListHeight>this.floorListElement.clientHeight-48||(this.fadeFloorSelectorOnTop=this.floorListElement.scrollTop>0,this.fadeFloorSelectorOnBottom=this.floorListElement.scrollTop!==t)}onSelectFloor(t,i){this.mapsindoors.setFloor(i),this.currentFloor=this.mapsindoors.getFloor().toString(),this.currentFloorElement=t.currentTarget}connectedCallback(){this.mapsindoors.addListener("building_changed",()=>{this.floors=[];const t=this.mapsindoors.getBuilding();if(t){const i=()=>{this.currentFloor=this.mapsindoors.getFloor().toString(),this.mapsindoors.removeListener("floor_changed",i)};this.mapsindoors.getFloor()===null||this.mapsindoors.getFloor()===void 0?this.mapsindoors.addListener("floor_changed",i):this.currentFloor=this.mapsindoors.getFloor().toString(),Object.keys(t.floors).sort((o,l)=>l-o).forEach(o=>{t.floors[o].index=o,this.floors.push(t.floors[o])})}}),this.mapsindoors.addListener("floor_changed",()=>{this.currentFloor=this.mapsindoors.getFloor().toString()})}componentDidRender(){!this.mapsindoors.getBuilding()||this.mapsindoors.getFloor()===null||this.mapsindoors.getFloor()===void 0?this.floorSelectorElement.classList.add("mi-floor-selector--hidden"):this.floorSelectorElement.classList.remove("mi-floor-selector--hidden"),this.currentFloorElement=this.el.querySelector(".mi-floor-selector__floor--active"),this.currentFloorElement&&this.currentFloor&&this.animateFloorSelector()}render(){return Pe(Jr,null,Pe("div",{class:"mi-floor-selector",ref:t=>this.floorSelectorElement=t},Pe("button",{class:`mi-floor-selector__button mi-floor-selector__button--${this.floorSelectorClosed?"closed":"open"}`,onClick:()=>this.onToggleFloorSelector()}),Pe("div",{class:`mi-floor-selector__list ${this.fadeFloorSelectorOnTop?"mi-floor-selector__list--fade-top":""} ${this.fadeFloorSelectorOnBottom?"mi-floor-selector__list--fade-bottom":""}`,ref:t=>this.floorListElement=t,onScroll:()=>this.onScrollStyle()},this.floors.map(t=>Pe("button",{"data-floor":t.index,style:this.currentFloor===t.index?{backgroundColor:this.primaryColor}:{},class:`mi-floor-selector__floor ${this.currentFloor===t.index?"mi-floor-selector__floor--active":""}`,onClick:i=>this.onSelectFloor(i,t.index)},Pe("span",null,t.name))))))}get el(){return Ga(this)}};e6.style=nX;const iX=Object.freeze(Object.defineProperty({__proto__:null,mi_floor_selector:e6},Symbol.toStringTag,{value:"Module"}));var rX=tp(function(t,i){/*!
|
|
2508
|
+
}`,XA=class{constructor(t){Pi(this,t),this.iconName=void 0}render(){return Pe(Jr,{class:`icon-${this.iconName.toLowerCase()}`})}};XA.style=KK;const XK=Object.freeze(Object.defineProperty({__proto__:null,mi_distance:qK,mi_icon:XA},Symbol.toStringTag,{value:"Module"})),JK=Object.freeze(Object.defineProperty({__proto__:null,mi_dropdown_item:class{constructor(t){Pi(this,t),this.selected=!1,this.disabled=!1,this.excludefromall=!1,this.value=void 0,this.text=void 0}get el(){return Ga(this)}}},Symbol.toStringTag,{value:"Module"})),eX=`.mi-input[type=text],.mi-input[type=search],.mi-input[type=number],.mi-input[type=password],.mi-input[type=tel]{font-size:1rem;padding:8px;border-style:solid;border-width:1px;border-color:#8d98aa;border-radius:4px}.mi-input[type=text],.mi-input[type=search],.mi-input[type=number],.mi-input[type=password],.mi-input[type=range],.mi-input[type=tel]{display:block}.mi-input[type=radio],.mi-input[type=checkbox]{margin:0px;transform:scale(1.2, 1.2)}.mi-input[type=search]{padding-left:32px;background:url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.6267 8.43836C14.6267 11.8561 11.8561 14.6267 8.43836 14.6267C5.02062 14.6267 2.25 11.8561 2.25 8.43836C2.25 5.02062 5.02062 2.25 8.43836 2.25C11.8561 2.25 14.6267 5.02062 14.6267 8.43836Z' stroke='%23aeb9cb' stroke-width='2.5'/%3E%3Crect x='15.0979' y='14.1614' width='7.34678' height='1.32449' rx='0.662244' transform='rotate(45 15.0979 14.1614)' fill='%23aeb9cb' stroke='%23aeb9cb'/%3E%3Crect x='13.7847' y='13.2916' width='1.05276' height='0.697347' transform='rotate(45 13.7847 13.2916)' stroke='%23aeb9cb' stroke-width='0.697346'/%3E%3C/svg%3E%0A") no-repeat scroll 8px center, white}.mi-input:disabled{opacity:0.48;cursor:not-allowed}.mi-label{font-style:normal;display:block;font-size:1rem;font-weight:500;color:#1e2025}.mi-label>*{margin-top:4px}.mi-label>input[type=radio],.mi-label>input[type=checkbox],.mi-label>label.mi-toggle-btn{margin-right:8px}mi-dropdown-item{display:none}:host{display:inline-block;position:relative;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-family:Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"}:host(.open) .button::after{border-top-color:transparent;border-bottom-color:#1f2937;margin-top:-8px}:host(.open) section{display:flex}:host(.open) svg.arrow{transform:rotate(180deg)}.button{display:flex;justify-content:flex-start;align-items:center;height:100%;width:100%;font-family:inherit;background:linear-gradient(#f9fafb, #f3f4f6);padding:0;padding-left:16px;padding-right:16px;border-radius:4px;border-width:1px;border-style:solid;border-color:#d1d5db;color:#1c1917;font-size:1rem;font-weight:500;line-height:1rem}.button__left-icon{height:20px;width:20px;margin-right:8px}.button svg{margin-left:auto}.button__label{padding-top:12px;padding-bottom:12px;margin-right:8px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.button__label--from-inner-html{display:grid;grid-auto-flow:column;grid-template-columns:24px 1fr;gap:8px;place-items:center}.button:disabled{opacity:0.72;cursor:not-allowed}.content{padding-top:12px;padding-bottom:12px;margin-top:12px;margin-bottom:12px;border-radius:8px;color:#1c1917;font-size:1rem;font-weight:500;background-color:#fcfcfc;box-shadow:0px 2px 2px rgba(0, 0, 0, 0.2), 0px 4px 4px rgba(0, 0, 0, 0.18), 0px 8px 8px rgba(0, 0, 0, 0.16);min-width:320px;max-width:480px;max-height:580px;display:none;flex-direction:column;position:fixed;z-index:10000}.content .filter{margin-bottom:16px;padding-left:8px;padding-right:8px;display:flex;position:relative}.content .filter__input{width:100%}.content .filter__clear{width:20px;height:20px;padding:0;border-width:0;display:flex;align-items:center;justify-content:center;position:absolute;right:14px;top:50%;transform:translateY(-50%);background-color:#1f2937;border-radius:50%}.content .filter__clear:focus{outline:0}.content .filter__clear--hidden{opacity:0;pointer-events:none}.content .filter__clear svg{fill:#fcfcfc;width:10px;height:10px}.content .options{margin-bottom:16px;padding-left:16px;padding-right:16px}.content .options__item{padding:0;color:#3b82f6;font-size:0.75rem;font-weight:500;font-family:inherit;background-color:transparent;border:transparent}.content .options__item:hover{text-decoration:underline}.content .options__item:first-child{margin-right:16px}.content .options__item:disabled{color:rgba(48, 113, 217, 0.72);cursor:not-allowed;text-decoration:none}.content .list{padding:0;margin:0;list-style:none;overflow-y:auto}.content .list__item{cursor:pointer}.content .list__item--highlighted{background-color:#f3f4f6}.empty-page{display:flex;align-items:left;flex-direction:column;margin-left:16px;margin-bottom:12px}.empty-page>*{margin:0}.empty-page__header{font-size:1rem;font-weight:400;color:#374151}.label{display:flex;flex-direction:row;align-items:center;padding-left:16px;padding-right:16px;padding-top:8px;padding-bottom:8px}.label__item{display:inline-block;margin-top:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label__item--from-inner-html{display:grid;grid-auto-flow:column;grid-template-columns:24px 1fr;gap:8px;place-items:center}.label__checkbox{margin-right:12px}.label__checkbox--hidden{display:none}`;var Ka;(function(t){t.ArrowDown="ArrowDown",t.ArrowUp="ArrowUp",t.Enter="Enter",t.Esc="Escape"})(Ka||(Ka={}));const JA=class{constructor(t){Pi(this,t),this.change=pr(this,"change",3),this.isFilterSelectionDisabled=!1,this.isClearButtonVisible=!1,this.isMouseOverEventDisabled=!1,this.currentItemIndex=0,this.selectedItemIndex=0,this.highlightedItemClassName="list__item--highlighted",this.open=!1,this.items=[],this.itemsOrder=void 0,this.label=void 0,this.filterable=!1,this.multiple=!1,this.selected=[],this.noResultsMessage="No results found",this.iconSrc=void 0,this.iconAlt=void 0,this.currentItems=[],this.disabled=!1}onItemsChanged(t){if(t.some(i=>i.tagName.toLowerCase()!=="mi-dropdown-item"))throw new Error("Items contains unknown element(s).");if(Object.values(Uh).includes(this.itemsOrder)&&(t=this.getSortedItems(t)),this.currentItems=[...t],this.filter(),!this.multiple){const i=this.currentItems.findIndex(o=>o.selected);this.currentItemIndex=i>-1?i:0,this.selectedItemIndex=this.currentItemIndex}this.items.forEach((i,o)=>{i.dataset.index=o.toString(),i.dataset.excludefromall=`${i.excludefromall}`}),this.selectFirstMiDropdownItem()}onCurrentItemsChange(){this.isFilterSelectionDisabled=this.currentItems.length===0}focusOutEventHandler(t){const i=t.relatedTarget;(!i||!this.hostElement.contains(i))&&(this.open=!1)}checkForClickOutside(t){this.hostElement.contains(t.target)||(this.open=!1)}mouseMoveEventHandler(){this.isMouseOverEventDisabled=!1}scrollEventHandler(t){const i=t.target;(!i||!this.hostElement.contains(i))&&(this.open=!1)}resizeEventHandler(){this.calculateDropDownPosition()}componentDidLoad(){this.createMiDropdownItemsFromDocument(),this.selectFirstMiDropdownItem(),this.enableKeyboardNavigationEvents();const t=new IntersectionObserver((i,o)=>{i.forEach(l=>{l.isIntersecting===!0&&this.filterElement.focus()})});this.filterElement!==void 0&&(t.observe(this.filterElement),this.filterElement.addEventListener("keydown",i=>{(i.key===Ka.ArrowDown||i.key===Ka.ArrowUp)&&i.preventDefault()}))}componentDidRender(){this.calculateDropDownPosition(),this.multiple||this.highlightItem(this.currentItemIndex,!0)}createMiDropdownItemsFromDocument(){const t=this.items&&this.items.length>0?this.items:this.hostElement.querySelectorAll("mi-dropdown-item");t.length>0&&(this.items=Array.from(t))}selectFirstMiDropdownItem(){var t;if(!this.multiple){const i=(t=this.items)===null||t===void 0?void 0:t.findIndex(o=>o.selected);this.selected=[this.items[i>-1?i:0]]}}enableKeyboardNavigationEvents(){this.hostElement.addEventListener("keydown",t=>{if(this.open===!1&&t.key===Ka.ArrowDown){this.isMouseOverEventDisabled=!0,this.toggleContentWindow(),t.preventDefault();return}if(this.open===!0&&!this.multiple)switch(t.key){case Ka.ArrowDown:this.isMouseOverEventDisabled=!0,this.currentItemIndex=(this.currentItemIndex+1)%this.currentItems.length,this.highlightItem(this.currentItemIndex,!0),t.preventDefault();break;case Ka.ArrowUp:this.isMouseOverEventDisabled=!0,this.currentItemIndex=(this.currentItemIndex+this.currentItems.length-1)%this.currentItems.length,this.highlightItem(this.currentItemIndex,!0),t.preventDefault();break;case Ka.Enter:if(this.hostElement.shadowRoot.activeElement===this.clearButtonElement)return;this.currentItems[this.currentItemIndex]!==void 0&&this.onSelect(this.currentItems[this.currentItemIndex]),t.preventDefault();break}t.key===Ka.Esc&&(this.multiple||(this.currentItemIndex=this.selectedItemIndex,this.highlightItem(this.currentItemIndex)),this.toggleContentWindow(),this.clearFilter())})}highlightItem(t,i=!1){var o,l;const h=this.hostElement.shadowRoot.querySelectorAll(".list__item");h.forEach(y=>{y.classList.remove(this.highlightedItemClassName)}),(o=h[t])===null||o===void 0||o.classList.add(this.highlightedItemClassName),i&&((l=h[t])===null||l===void 0||l.scrollIntoView({block:"nearest",inline:"nearest"}))}getSortedItems(t){return this.itemsOrder===Uh.Asc?t.sort((i,o)=>(i.text||i.innerText).trimStart().toLowerCase().localeCompare((o.text||o.innerText).trimStart().toLowerCase(),void 0,{numeric:!0})):t.sort((i,o)=>(o.text||o.innerText).trimStart().toLowerCase().localeCompare((i.text||i.innerText).trimStart().toLowerCase(),void 0,{numeric:!0})),t}onChangedHandler(){this.selected=[...this.items.filter(t=>t.selected)],this.change.emit(this.selected)}toggleContentWindow(){this.open=!this.open}selectAll(){const t=Array.from(this.currentItems);for(const i of t)i.selected=!(`${i.dataset.excludefromall}`=="true"||i.disabled);this.onChangedHandler()}selectNone(){const t=Array.from(this.currentItems);for(const i of t)i.selected=!1;this.onChangedHandler()}onSelect(t){this.multiple||(this.open=!1,Array.from(this.items).forEach(o=>{o.selected=!1}),this.clearFilter()),t.selected=!t.selected,this.currentItemIndex=Number(t.dataset.index),this.selectedItemIndex=this.currentItemIndex,this.onChangedHandler()}onMouseOver(t){!this.isMouseOverEventDisabled&&!this.multiple&&(this.highlightItem(t),this.currentItemIndex=t)}filter(){if(this.filterElement){const t=this.filterElement.value,i=this.items.map(_=>_.text||_.innerText),o=this.currentItems.length;if(t==="")return this.currentItemIndex=this.selectedItemIndex,this.isClearButtonVisible=!1,this.currentItems=[...this.items];this.isClearButtonVisible=!0;const l={limit:50,allowTypo:!1,threshold:-1e4},y=ZA.go(t,i,l).map(_=>this.items.find(a=>(a.text||a.innerText)===_.target));this.currentItems=y,o!==this.currentItems.length&&(this.currentItemIndex=0)}}clearFilter(){this.filterElement&&(this.filterElement.value="",this.filterElement.focus(),this.currentItems=this.items),this.isClearButtonVisible=!1}render(){const t=this.filterable?this.renderFiltering():null,i=this.multiple?this.renderMultipleOptions():null,o=this.iconSrc?this.renderLeftSideIcon():null,l=Pe("ul",{class:"list"},this.currentItems.map((h,y)=>this.renderListItem(h,y,!!i)));return Pe(Jr,{class:{open:this.open}},Pe("button",{part:"button",class:"button",disabled:this.disabled||this.items.length===0,onClick:()=>this.toggleContentWindow()},o,this.renderButtonLabel(),Pe("svg",{class:"arrow",part:"icon-down-arrow",width:"12",height:"6",viewBox:"0 0 18 10",xmlns:"http://www.w3.org/2000/svg"},Pe("path",{d:"M9.37165 9.58706C9.17303 9.80775 8.82697 9.80775 8.62835 9.58706L0.751035 0.834484C0.46145 0.512722 0.689796 7.73699e-08 1.12268 1.25924e-07L16.8773 1.89302e-06C17.3102 1.94157e-06 17.5386 0.512723 17.249 0.834484L9.37165 9.58706Z"}))),Pe("section",{ref:h=>this.listElement=h,part:"dropdown-container",class:"content"},t,i,this.currentItems.length===0?this.renderNoResultsTemplate():l))}renderNoResultsTemplate(){return Pe("div",{class:"empty-page"},Pe("p",{class:"empty-page__header"},this.noResultsMessage))}renderButtonLabel(){var t,i,o,l;return this.multiple?Pe("div",{part:"button-label",class:"button__label"},this.label):!((i=(t=this.selected)===null||t===void 0?void 0:t[0])===null||i===void 0)&&i.text?Pe("div",{part:"button-label",class:"button__label"},this.selected[0].text):!((l=(o=this.selected)===null||o===void 0?void 0:o[0])===null||l===void 0)&&l.innerHTML?Pe("div",{part:"button-label",class:"button__label button__label--from-inner-html",innerHTML:this.selected[0].innerHTML}):Pe("div",{part:"button-label",class:"button__label"})}renderLeftSideIcon(){return Pe("img",{part:"button-icon",class:"button__left-icon",src:this.iconSrc,alt:this.iconAlt?this.iconAlt:""})}renderFiltering(){return Pe("div",{class:"filter"},Pe("input",{type:"text",class:"mi-input filter__input",placeholder:"Type to filter",ref:t=>this.filterElement=t,onInput:()=>{this.filter()},tabIndex:this.open?0:-1}),Pe("button",{ref:t=>this.clearButtonElement=t,tabindex:this.isClearButtonVisible?0:-1,type:"button",onClick:()=>this.clearFilter(),class:`filter__clear ${this.isClearButtonVisible===!1?"filter__clear--hidden":""}`,"aria-label":"Clear"},Pe("svg",{viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Pe("path",{d:"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z"}))))}renderMultipleOptions(){return Pe("div",{class:"options"},Pe("button",{class:"options__item",disabled:this.isFilterSelectionDisabled,onClick:()=>this.selectAll()},"Select all"),Pe("button",{class:"options__item",disabled:this.isFilterSelectionDisabled,onClick:()=>this.selectNone()},"Select none"))}renderListItem(t,i,o){let l;const h=t.getAttribute("title")||t.text||t.innerText;return t.innerText.length>0?l=Pe("div",{class:"label__item label__item--from-inner-html",innerHTML:t.innerHTML}):l=Pe("div",{class:"label__item",innerHTML:t.text}),Pe("li",{class:"list__item",title:h,onMouseOver:()=>{this.onMouseOver(i)}},Pe("label",{class:"mi-label label",tabindex:"-1"},Pe("input",{class:{label__checkbox:!0,"label__checkbox--hidden":!o,"mi-input":!0},type:"checkbox",value:i,checked:t.selected,disabled:t.disabled,"data-excludefromall":t.excludefromall,onChange:()=>this.onSelect(t)}),l))}calculateDropDownPosition(){this.listElement.style.bottom=null,this.listElement.style.left=null,this.listElement.style.right=null,this.listElement.style.top=null,this.listElement.style.maxHeight=null,this.listElement.style.minWidth=null;const{clientWidth:t,clientHeight:i}=document.documentElement,o=this.hostElement.getBoundingClientRect(),l=this.listElement.getBoundingClientRect(),h=i-o.bottom,y=o.top,_=580,a=12;t<=l.width||o.right-l.width<0&&l.right>t?(this.listElement.style.right=`${a}px`,this.listElement.style.left=`${a}px`,this.listElement.style.minWidth="unset"):l.right>t?(this.listElement.style.left="unset",this.listElement.style.right=`${t-o.right}px`):(this.listElement.style.left=`${o.left}px`,this.listElement.style.right="unset"),y>h?(this.listElement.style.maxHeight=`${Math.min(y,_)}px`,this.listElement.style.top="unset",this.listElement.style.bottom=`${i-o.top}px`):(this.listElement.style.top=`${o.bottom}px`,this.listElement.style.bottom="unset",this.listElement.style.maxHeight=`${Math.min(h-a*2,_)}px`)}get hostElement(){return Ga(this)}static get watchers(){return{items:["onItemsChanged"],currentItems:["onCurrentItemsChange"]}}};JA.style=eX;const tX=Object.freeze(Object.defineProperty({__proto__:null,mi_dropdown:JA},Symbol.toStringTag,{value:"Module"})),nX='.mi-floor-selector{width:-moz-min-content;width:min-content;display:flex;align-items:flex-start;position:relative;margin:10px;overflow:hidden;animation-duration:0.15s;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:auto;border-radius:56px;border-width:1px;font-family:Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:0.875rem;border-color:#e5e7eb;border-style:solid;background-color:#fcfcfc}.mi-floor-selector--hidden{display:none}.mi-floor-selector__button{position:absolute;z-index:4;top:4px;right:4px;left:4px;background-position:center;background-repeat:no-repeat;border-width:1px;background-color:#f9fafb;border-color:#e5e7eb;border-style:solid;border-radius:50%;width:40px;height:40px}.mi-floor-selector__button:hover{background-color:#f3f4f6}.mi-floor-selector__button--open{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcuMTUwNDUgNi4wODk5OEM3LjEzODUgNi4wNzg3NiA3LjEyODk3IDYuMDY1MjEgNy4xMjI0NSA2LjA1MDE2QzcuMTE1OTQgNi4wMzUxMSA3LjExMjU3IDYuMDE4ODggNy4xMTI1NyA2LjAwMjQ4QzcuMTEyNTcgNS45ODYwOCA3LjExNTk0IDUuOTY5ODYgNy4xMjI0NSA1Ljk1NDgxQzcuMTI4OTcgNS45Mzk3NiA3LjEzODUgNS45MjYyIDcuMTUwNDUgNS45MTQ5OEwxMS43ODA1IDEuMjc5OThDMTEuODUwNiAxLjIxMDY5IDExLjkwNjMgMS4xMjgxNiAxMS45NDQzIDEuMDM3MThDMTEuOTgyMyAwLjk0NjIwMSAxMi4wMDE5IDAuODQ4NTgyIDEyLjAwMTkgMC43NDk5ODJDMTIuMDAxOSAwLjY1MTM4MiAxMS45ODIzIDAuNTUzNzYzIDExLjk0NDMgMC40NjI3ODRDMTEuOTA2MyAwLjM3MTgwNSAxMS44NTA2IDAuMjg5Mjc2IDExLjc4MDUgMC4yMTk5ODJDMTEuNjM5MiAwLjA4MDc0MTkgMTEuNDQ4OCAwLjAwMjY4NTU1IDExLjI1MDUgMC4wMDI2ODU1NUMxMS4wNTIxIDAuMDAyNjg1NTUgMTAuODYxNyAwLjA4MDc0MTkgMTAuNzIwNSAwLjIxOTk4Mkw2LjA5MDQ1IDQuODQ5OThDNi4wNzg3OSA0Ljg2MjA4IDYuMDY0ODEgNC44NzE3IDYuMDQ5MzUgNC44NzgyN0M2LjAzMzg5IDQuODg0ODUgNi4wMTcyNiA0Ljg4ODI0IDYuMDAwNDUgNC44ODgyNEM1Ljk4MzY1IDQuODg4MjQgNS45NjcwMiA0Ljg4NDg1IDUuOTUxNTYgNC44NzgyN0M1LjkzNjA5IDQuODcxNyA1LjkyMjExIDQuODYyMDggNS45MTA0NSA0Ljg0OTk4TDEuMjgwNDUgMC4yMTk5ODJDMS4xMzkxOSAwLjA4MDc0MTkgMC45NDg4MDUgMC4wMDI2ODU1NSAwLjc1MDQ1NCAwLjAwMjY4NTU1QzAuNTUyMTAyIDAuMDAyNjg1NTUgMC4zNjE3MTggMC4wODA3NDE5IDAuMjIwNDU0IDAuMjE5OTgyQzAuMTUwMzA5IDAuMjg5Mjc2IDAuMDk0NjE2OSAwLjM3MTgwNSAwLjA1NjYwNjQgMC40NjI3ODRDMC4wMTg1OTYgMC41NTM3NjMgLTAuMDAwOTc2NTYyIDAuNjUxMzgyIC0wLjAwMDk3NjU2MiAwLjc0OTk4MkMtMC4wMDA5NzY1NjIgMC44NDg1ODIgMC4wMTg1OTYgMC45NDYyMDEgMC4wNTY2MDY0IDEuMDM3MThDMC4wOTQ2MTY5IDEuMTI4MTYgMC4xNTAzMDkgMS4yMTA2OSAwLjIyMDQ1NCAxLjI3OTk4TDQuODUwNDUgNS45MTQ5OEM0Ljg2MjQxIDUuOTI2MiA0Ljg3MTk0IDUuOTM5NzYgNC44Nzg0NiA1Ljk1NDgxQzQuODg0OTcgNS45Njk4NiA0Ljg4ODMzIDUuOTg2MDggNC44ODgzMyA2LjAwMjQ4QzQuODg4MzMgNi4wMTg4OCA0Ljg4NDk3IDYuMDM1MTEgNC44Nzg0NiA2LjA1MDE2QzQuODcxOTQgNi4wNjUyMSA0Ljg2MjQxIDYuMDc4NzYgNC44NTA0NSA2LjA4OTk4TDAuMjIwNDU0IDEwLjcyQzAuMTUwMzA5IDEwLjc4OTMgMC4wOTQ2MTY5IDEwLjg3MTggMC4wNTY2MDY0IDEwLjk2MjhDMC4wMTg1OTYgMTEuMDUzOCAtMC4wMDA5NzY1NjIgMTEuMTUxNCAtMC4wMDA5NzY1NjIgMTEuMjVDLTAuMDAwOTc2NTYyIDExLjM0ODYgMC4wMTg1OTYgMTEuNDQ2MiAwLjA1NjYwNjQgMTEuNTM3MkMwLjA5NDYxNjkgMTEuNjI4MiAwLjE1MDMwOSAxMS43MTA3IDAuMjIwNDU0IDExLjc4QzAuMzYxNzE4IDExLjkxOTIgMC41NTIxMDIgMTEuOTk3MyAwLjc1MDQ1NCAxMS45OTczQzAuOTQ4ODA1IDExLjk5NzMgMS4xMzkxOSAxMS45MTkyIDEuMjgwNDUgMTEuNzhMNS45MTA0NSA3LjE0OTk4QzUuOTIyMTEgNy4xMzc4OCA1LjkzNjA5IDcuMTI4MjYgNS45NTE1NiA3LjEyMTY5QzUuOTY3MDIgNy4xMTUxMiA1Ljk4MzY1IDcuMTExNzMgNi4wMDA0NSA3LjExMTczQzYuMDE3MjYgNy4xMTE3MyA2LjAzMzg5IDcuMTE1MTIgNi4wNDkzNSA3LjEyMTY5QzYuMDY0ODEgNy4xMjgyNiA2LjA3ODc5IDcuMTM3ODggNi4wOTA0NSA3LjE0OTk4TDEwLjcyMDUgMTEuNzhDMTAuODYxNyAxMS45MTkyIDExLjA1MjEgMTEuOTk3MyAxMS4yNTA1IDExLjk5NzNDMTEuNDQ4OCAxMS45OTczIDExLjYzOTIgMTEuOTE5MiAxMS43ODA1IDExLjc4QzExLjg1MDYgMTEuNzEwNyAxMS45MDYzIDExLjYyODIgMTEuOTQ0MyAxMS41MzcyQzExLjk4MjMgMTEuNDQ2MiAxMi4wMDE5IDExLjM0ODYgMTIuMDAxOSAxMS4yNUMxMi4wMDE5IDExLjE1MTQgMTEuOTgyMyAxMS4wNTM4IDExLjk0NDMgMTAuOTYyOEMxMS45MDYzIDEwLjg3MTggMTEuODUwNiAxMC43ODkzIDExLjc4MDUgMTAuNzJMNy4xNTA0NSA2LjA4OTk4WiIgZmlsbD0iIzcwNzA3MCIvPgo8L3N2Zz4K)}.mi-floor-selector__button--open+.mi-floor-selector__list{max-height:300px;overflow:auto;flex-wrap:unset}.mi-floor-selector__button--closed{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTAuOTY3Mzc0IDYuMTY2NjRMOS4wMDA3MSA5LjY1ODMxQzkuMzE2MTIgOS43OTU5NiA5LjY1NjU2IDkuODY3MDIgMTAuMDAwNyA5Ljg2NzAyQzEwLjM0NDkgOS44NjcwMiAxMC42ODUzIDkuNzk1OTYgMTEuMDAwNyA5LjY1ODMxTDE5LjA0MjQgNi4xNjY2NEMxOS4yNjczIDYuMDY2MTcgMTkuNDU4IDUuOTAyMjkgMTkuNTkxMiA1LjY5NTA4QzE5LjcyNDUgNS40ODc4NiAxOS43OTQzIDUuMjQ2MyAxOS43OTI0IDQuOTk5OTdDMTkuNzkzMSA0Ljc1NjAxIDE5LjcyMTQgNC41MTczMiAxOS41ODY0IDQuMzE0MUMxOS40NTE0IDQuMTEwODggMTkuMjU5MiAzLjk1MjI2IDE5LjAzNCAzLjg1ODMxTDExLjAwMDcgMC4zNzQ5NzJDMTAuNjg1MyAwLjIzNzMxNCAxMC4zNDQ5IDAuMTY2MjYgMTAuMDAwNyAwLjE2NjI2QzkuNjU2NTYgMC4xNjYyNiA5LjMxNjEyIDAuMjM3MzE0IDkuMDAwNzEgMC4zNzQ5NzJMMC45NjczNzQgMy44NzQ5N0MwLjc0NDgzNiAzLjk2NzgzIDAuNTU0Mzk4IDQuMTIzODggMC40MTk2MTggNC4zMjM4M0MwLjI4NDgzNyA0LjUyMzc4IDAuMjExNjI2IDQuNzU4ODUgMC4yMDkwNDEgNC45OTk5N0MwLjIwNjY5OCA1LjI0NzQ2IDAuMjc3MzkxIDUuNDkwMTUgMC40MTIyNzYgNS42OTc2NkMwLjU0NzE2MSA1LjkwNTE4IDAuNzQwMjQ3IDYuMDY4MzEgMC45NjczNzQgNi4xNjY2NFoiIGZpbGw9IiM3MDcwNzAiLz4KPHBhdGggZD0iTTE5LjAzMzYgOC44NzQ5MUwxOC4wMDAzIDguNDI0OTFDMTcuODk5MiA4LjM3NDE5IDE3Ljc4ODggOC4zNDQ2IDE3LjY3NTkgOC4zMzc5NEMxNy41NjI5IDguMzMxMjcgMTcuNDQ5OCA4LjM0NzY3IDE3LjM0MzQgOC4zODYxNEMxNy4yMzcgOC40MjQ2IDE3LjEzOTYgOC40ODQzMyAxNy4wNTcgOC41NjE2N0MxNi45NzQ1IDguNjM5MDIgMTYuOTA4NSA4LjczMjM3IDE2Ljg2MzIgOC44MzYwM0MxNi44MTc5IDguOTM5NjkgMTYuNzk0MSA5LjA1MTQ5IDE2Ljc5MzQgOS4xNjQ2MkMxNi43OTI3IDkuMjc3NzUgMTYuODE1MSA5LjM4OTgzIDE2Ljg1OTEgOS40OTQwNUMxNi45MDMxIDkuNTk4MjcgMTYuOTY3OSA5LjY5MjQzIDE3LjA0OTUgOS43NzA4MUMxNy4xMzExIDkuODQ5MTggMTcuMjI3NyA5LjkxMDEyIDE3LjMzMzYgOS45NDk5MUwxNy41MDAzIDkuOTk5OTFMMTAuMzMzNiAxMy4xMzMyQzEwLjIyODUgMTMuMTc5MSAxMC4xMTUgMTMuMjAyOCAxMC4wMDAzIDEzLjIwMjhDOS44ODU2IDEzLjIwMjggOS43NzIxMiAxMy4xNzkxIDkuNjY2OTggMTMuMTMzMkwyLjUwMDMxIDkuOTk5OTFMMi42NTg2NSA5LjkzMzI0QzIuNzY0NTUgOS44OTM0NSAyLjg2MTI0IDkuODMyNTEgMi45NDI4MyA5Ljc1NDE0QzMuMDI0NDIgOS42NzU3NyAzLjA4OTE5IDkuNTgxNiAzLjEzMzIxIDkuNDc3MzlDMy4xNzcyMiA5LjM3MzE3IDMuMTk5NTYgOS4yNjEwOCAzLjE5ODg1IDkuMTQ3OTVDMy4xOTgxNSA5LjAzNDgyIDMuMTc0NDEgOC45MjMwMiAzLjEyOTEgOC44MTkzNkMzLjA4Mzc4IDguNzE1NyAzLjAxNzgzIDguNjIyMzUgMi45MzUyNyA4LjU0NTAxQzIuODUyNzEgOC40Njc2NiAyLjc1NTI3IDguNDA3OTQgMi42NDg4NyA4LjM2OTQ3QzIuNTQyNDggOC4zMzEwMSAyLjQyOTM3IDguMzE0NjEgMi4zMTY0NCA4LjMyMTI3QzIuMjAzNSA4LjMyNzk0IDIuMDkzMTEgOC4zNTc1MyAxLjk5MTk4IDguNDA4MjRMMC45NTg2NDcgOC44NTgyNEMwLjczMjU2MSA4Ljk1MjYyIDAuNTM5NDQ5IDkuMTExNzggMC40MDM2MTkgOS4zMTU2N0MwLjI2Nzc4OSA5LjUxOTU2IDAuMTk1MzEzIDkuNzU5MDggMC4xOTUzMTIgMTAuMDA0MUMwLjE5NTMxMyAxMC4yNDkxIDAuMjY3Nzg5IDEwLjQ4ODYgMC40MDM2MTkgMTAuNjkyNUMwLjUzOTQ0OSAxMC44OTY0IDAuNzMyNTYxIDExLjA1NTUgMC45NTg2NDcgMTEuMTQ5OUw4Ljk5MTk4IDE0LjY0MTZDOS4zMDczOSAxNC43NzkyIDkuNjQ3ODMgMTQuODUwMyA5Ljk5MTk4IDE0Ljg1MDNDMTAuMzM2MSAxNC44NTAzIDEwLjY3NjYgMTQuNzc5MiAxMC45OTIgMTQuNjQxNkwxOS4wMjUzIDExLjE0OTlDMTkuMjUxNCAxMS4wNTQgMTkuNDQ0NCAxMC44OTM5IDE5LjU4MDcgMTAuNjg5NkMxOS43MTY5IDEwLjQ4NTIgMTkuNzkwNCAxMC4yNDU1IDE5Ljc5MiA5Ljk5OTkxQzE5Ljc4OTQgOS43NTg3OSAxOS43MTYyIDkuNTIzNzEgMTkuNTgxNCA5LjMyMzc3QzE5LjQ0NjYgOS4xMjM4MiAxOS4yNTYyIDguOTY3NzYgMTkuMDMzNiA4Ljg3NDkxWiIgZmlsbD0iIzcwNzA3MCIvPgo8cGF0aCBkPSJNMTkuMDM0IDEzLjgzMzRMMTguMDAwNyAxMy4zODM0QzE3LjkgMTMuMzM5MyAxNy43OTE3IDEzLjMxNTUgMTcuNjgxOCAxMy4zMTM0QzE3LjU3MTkgMTMuMzExMyAxNy40NjI3IDEzLjMzMSAxNy4zNjA1IDEzLjM3MTJDMTcuMjU4MyAxMy40MTE1IDE3LjE2NSAxMy40NzE2IDE3LjA4NjEgMTMuNTQ4MUMxNy4wMDcyIDEzLjYyNDUgMTYuOTQ0MSAxMy43MTU4IDE2LjkwMDcgMTMuODE2N0MxNi44MTQxIDE0LjAxOTEgMTYuODExMSAxNC4yNDc0IDE2Ljg5MjMgMTQuNDUxOUMxNi45NzM1IDE0LjY1NjQgMTcuMTMyMyAxNC44MjA1IDE3LjMzNCAxNC45MDg0TDE3LjUwMDcgMTUuMDAwMUwxMC4zMzQgMTguMDkxN0MxMC4yMjg5IDE4LjEzNzYgMTAuMTE1NCAxOC4xNjEzIDEwLjAwMDcgMTguMTYxM0M5Ljg4NTk0IDE4LjE2MTMgOS43NzI0NiAxOC4xMzc2IDkuNjY3MzIgMTguMDkxN0wyLjUwMDY2IDE1LjAwMDFMMi42NTg5OSAxNC45MjUxQzIuODYwNzEgMTQuODM3MiAzLjAxOTQ5IDE0LjY3MzEgMy4xMDA2NyAxNC40Njg2QzMuMTgxODUgMTQuMjY0IDMuMTc4ODUgMTQuMDM1NyAzLjA5MjMyIDEzLjgzMzRDMy4wNDg4MyAxMy43MzI1IDIuOTg1ODEgMTMuNjQxMiAyLjkwNjg5IDEzLjU2NDdDMi44Mjc5NyAxMy40ODgzIDIuNzM0NzEgMTMuNDI4MiAyLjYzMjQ4IDEzLjM4NzlDMi41MzAyNCAxMy4zNDc2IDIuNDIxMDUgMTMuMzI4IDIuMzExMTggMTMuMzMwMUMyLjIwMTMyIDEzLjMzMjEgMi4wOTI5NSAxMy4zNTU5IDEuOTkyMzIgMTMuNDAwMUwwLjk1ODk4OSAxMy44NTAxQzAuNzM2MDMzIDEzLjk0ODUgMC41NDY0NyAxNC4xMDk2IDAuNDEzMzI5IDE0LjMxMzhDMC4yODAxODggMTQuNTE3OSAwLjIwOTIgMTQuNzU2MyAwLjIwODk4OSAxNS4wMDAxQzAuMjA4MzAzIDE1LjI0NCAwLjI3OTk4NSAxNS40ODI3IDAuNDE0OTcgMTUuNjg1OUMwLjU0OTk1NSAxNS44ODkyIDAuNzQyMTc3IDE2LjA0NzggMC45NjczMjMgMTYuMTQxN0w5LjAwMDY2IDE5LjY0MTdDOS4zMTYwNyAxOS43Nzk0IDkuNjU2NTEgMTkuODUwNSAxMC4wMDA3IDE5Ljg1MDVDMTAuMzQ0OCAxOS44NTA1IDEwLjY4NTIgMTkuNzc5NCAxMS4wMDA3IDE5LjY0MTdMMTkuMDM0IDE2LjE0MTdDMTkuMjU5MSAxNi4wNDc4IDE5LjQ1MTQgMTUuODg5MiAxOS41ODYzIDE1LjY4NTlDMTkuNzIxMyAxNS40ODI3IDE5Ljc5MyAxNS4yNDQgMTkuNzkyMyAxNS4wMDAxQzE5Ljc5NDcgMTQuNzUyNiAxOS43MjQgMTQuNTA5OSAxOS41ODkxIDE0LjMwMjRDMTkuNDU0MiAxNC4wOTQ5IDE5LjI2MTEgMTMuOTMxNyAxOS4wMzQgMTMuODMzNFoiIGZpbGw9IiM3MDcwNzAiLz4KPC9zdmc+Cg==)}.mi-floor-selector__button span{position:none}.mi-floor-selector__list{box-sizing:unset;display:flex;flex-direction:column;gap:4px;overflow-y:hidden;transition:max-height 0.25s;scroll-behavior:smooth;z-index:0;border-radius:9999px;padding:4px;padding-top:48px;max-height:40px}.mi-floor-selector__list::before,.mi-floor-selector__list::after{content:"";height:100%;position:absolute;pointer-events:none;z-index:3;left:-1px;right:-1px;transition:opacity 0.1s;opacity:0}.mi-floor-selector__list--fade-top::before{opacity:1;top:-1px;background:linear-gradient(180deg, white 39px, rgba(255, 255, 255, 0) 86px)}.mi-floor-selector__list--fade-bottom::after{opacity:1;bottom:-1px;background:linear-gradient(0deg, white 4px, rgba(255, 255, 255, 0) 40px)}.mi-floor-selector__list::-webkit-scrollbar{width:4px}.mi-floor-selector__list::-webkit-scrollbar-track{background:none}.mi-floor-selector__list::-webkit-scrollbar-thumb{background:#8D98AA;border-radius:5px}.mi-floor-selector__floor{position:relative;order:1;flex-shrink:0;margin-top:-1px;z-index:0;float:none;text-align:center;background:none;transition:translateY 0.25s;transform:translateY(0px);color:#666666;border-radius:50%;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;border-style:none;width:40px;height:40px}.mi-floor-selector__floor:hover{z-index:2;background-color:#d1d5db}.mi-floor-selector__floor--active{z-index:2;transform:translateY(0px);color:#fcfcfc}.mi-floor-selector__floor-text{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding-left:4px;padding-right:4px}',e6=class{constructor(t){Pi(this,t),this.maxListHeight=300,this.mapsindoors=void 0,this.primaryColor="#005655",this.floors=new Array,this.currentFloor=void 0,this.floorSelectorClosed=!0,this.fadeFloorSelectorOnTop=!1,this.fadeFloorSelectorOnBottom=!1}scrollToSelectedFloor(){const t=this.floorSelectorElement.clientHeight,i=this.floorListElement.scrollHeight,o=this.currentFloorElement.offsetTop,l=this.currentFloorElement.offsetHeight;let h;i>t?(h=o-t/2+l/2,h=Math.max(0,h),h=Math.min(h,i-t)):h=0,this.floorListElement.scrollTop=h}animateTranslateY(t,i,o){const l=[{transform:`translateY(${i}px)`}];t.animate(l,{duration:o,fill:"forwards"})}animateFloorSelector(){const t=this.el.querySelectorAll(".mi-floor-selector__floor"),i=[];for(let o=0;o<t.length&&t[o].getAttribute("data-floor")!==this.currentFloor;o++)i.push(t[o]);if(this.floorSelectorClosed){const o=this.floorListElement.scrollTop,l=parseInt(window.getComputedStyle(this.floorListElement).getPropertyValue("padding-top")),y=-(this.currentFloorElement.offsetTop-this.floorListElement.offsetTop-o-l);this.animateTranslateY(this.currentFloorElement,y,250),this.floorListElement.scrollTop>0?t.forEach(_=>{_.getAttribute("data-floor")!==this.currentFloor&&(i.indexOf(_)>-1?this.animateTranslateY(_,_.offsetTop+this.floorListElement.scrollTop,250):this.animateTranslateY(_,this.floorListElement.scrollTop,250))}):i.forEach(_=>{this.animateTranslateY(_,_.offsetTop,250)})}else this.animateTranslateY(this.currentFloorElement,0,250),t.forEach(o=>{o.getAttribute("data-floor")!==this.currentFloor&&this.animateTranslateY(o,0,250)})}onToggleFloorSelector(){this.floorSelectorClosed=!this.floorSelectorClosed,this.animateFloorSelector(),this.floorListElement.addEventListener("transitionend",()=>{this.floorSelectorClosed||this.scrollToSelectedFloor(),this.onScrollStyle()},{once:!0})}onScrollStyle(){const t=this.floorListElement.scrollHeight-this.floorListElement.clientHeight;if(this.floorSelectorClosed){this.fadeFloorSelectorOnTop=!1,this.fadeFloorSelectorOnBottom=!1;return}this.maxListHeight>this.floorListElement.clientHeight-48||(this.fadeFloorSelectorOnTop=this.floorListElement.scrollTop>0,this.fadeFloorSelectorOnBottom=this.floorListElement.scrollTop!==t)}onSelectFloor(t,i){this.mapsindoors.setFloor(i),this.currentFloor=this.mapsindoors.getFloor().toString(),this.currentFloorElement=t.currentTarget}connectedCallback(){this.mapsindoors.addListener("building_changed",()=>{this.floors=[];const t=this.mapsindoors.getBuilding();if(t){const i=()=>{this.currentFloor=this.mapsindoors.getFloor().toString(),this.mapsindoors.removeListener("floor_changed",i)};this.mapsindoors.getFloor()===null||this.mapsindoors.getFloor()===void 0?this.mapsindoors.addListener("floor_changed",i):this.currentFloor=this.mapsindoors.getFloor().toString(),Object.keys(t.floors).sort((o,l)=>l-o).forEach(o=>{t.floors[o].index=o,this.floors.push(t.floors[o])})}}),this.mapsindoors.addListener("floor_changed",()=>{this.currentFloor=this.mapsindoors.getFloor().toString()})}componentDidRender(){!this.mapsindoors.getBuilding()||this.mapsindoors.getFloor()===null||this.mapsindoors.getFloor()===void 0?this.floorSelectorElement.classList.add("mi-floor-selector--hidden"):this.floorSelectorElement.classList.remove("mi-floor-selector--hidden"),this.currentFloorElement=this.el.querySelector(".mi-floor-selector__floor--active"),this.currentFloorElement&&this.currentFloor&&this.animateFloorSelector()}render(){return Pe(Jr,null,Pe("div",{class:"mi-floor-selector",ref:t=>this.floorSelectorElement=t},Pe("button",{class:`mi-floor-selector__button mi-floor-selector__button--${this.floorSelectorClosed?"closed":"open"}`,onClick:()=>this.onToggleFloorSelector()}),Pe("div",{class:`mi-floor-selector__list ${this.fadeFloorSelectorOnTop?"mi-floor-selector__list--fade-top":""} ${this.fadeFloorSelectorOnBottom?"mi-floor-selector__list--fade-bottom":""}`,ref:t=>this.floorListElement=t,onScroll:()=>this.onScrollStyle()},this.floors.map(t=>Pe("button",{"data-floor":t.index,style:this.currentFloor===t.index?{backgroundColor:this.primaryColor}:{},class:`mi-floor-selector__floor ${this.currentFloor===t.index?"mi-floor-selector__floor--active":""}`,onClick:i=>this.onSelectFloor(i,t.index)},Pe("span",null,t.name))))))}get el(){return Ga(this)}};e6.style=nX;const iX=Object.freeze(Object.defineProperty({__proto__:null,mi_floor_selector:e6},Symbol.toStringTag,{value:"Module"}));var rX=tp(function(t,i){/*!
|
|
2509
2509
|
*
|
|
2510
2510
|
* simple-keyboard v3.7.27
|
|
2511
2511
|
* https://github.com/hodgef/simple-keyboard
|